how to write PID function in .m file
이전 댓글 표시
i need a pid function in my m file. could anyone please write the function.
댓글 수: 2
Hero
2016년 3월 18일
I do have same question
PUJARI MURAGA
2016년 12월 1일
You are having state space model. Suppose I have differential equations then is it possible to do without converting them in state space/laplace ?
채택된 답변
추가 답변 (2개)
Krishnendu Mukherjee
2012년 5월 14일
0 개 추천
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.
Daniel
2014년 10월 24일
0 개 추천
Please where's the demo? I'm also trying to write a matlab function for pid using the user-defined function block
댓글 수: 3
Arkadiy Turevskiy
2014년 10월 27일
html link added back
Suyog
2023년 5월 11일
How to write pid function in m file
카테고리
도움말 센터 및 File Exchange에서 PID Controller Tuning에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!