how to write PID function in .m file
Mostrar comentarios más antiguos
i need a pid function in my m file. could anyone please write the function.
2 comentarios
Hero
el 18 de Mzo. de 2016
I do have same question
PUJARI MURAGA
el 1 de Dic. de 2016
You are having state space model. Suppose I have differential equations then is it possible to do without converting them in state space/laplace ?
Respuesta aceptada
Más respuestas (2)
Krishnendu Mukherjee
el 14 de Mayo de 2012
0 votos
a way is there : suppose ur tf is (1/a+s) which is to be fed to a pid controler. then the overall tf will be: (Kp+Ki/S+Kd.S).(i/S+a)/(1+(Kp+Ki/S+Kd.S).(i/S+a)). now if you want to give step input then : num=[............] den=[............] tf=num/den ster(tf) so you have to transfer the PID and the tf to a overall transfer function.
1 comentario
sujan
el 17 de Mayo de 2012
Daniel
el 24 de Oct. de 2014
0 votos
Please where's the demo? I'm also trying to write a matlab function for pid using the user-defined function block
3 comentarios
Arkadiy Turevskiy
el 27 de Oct. de 2014
html link added back
Suyog
el 11 de Mayo de 2023
How to write pid function in m file
Categorías
Más información sobre PID Controller Tuning en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!