![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175866/image.jpeg)
how to measure PID parameters from PID tuning of SISOtool
8 次查看(过去 30 天)
显示 更早的评论
I have a discrete plant which I wanna find a PID controller:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158191/image.jpeg)
I used SISOtool and PID tuning to find a fine PID controller, result is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158193/image.jpeg)
How can I find PID parameters from that to program my microcontroller? Thank in advanced.
0 个评论
采纳的回答
Arkadiy Turevskiy
2016-12-6
Export the compensator you designed, C, to MATLAB workspace. Then in MATLAB type
C=pid(C)
This will convert the compensator from a transfer function to a PID object. You can then access the gains as shown below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175866/image.jpeg)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!