PID controller, transfer function
2 views (last 30 days)
Show older comments
Anny idea how i can type in the transfer functions for P, PI, PD and PID and compare them in a bode plot together?
0 Comments
Answers (1)
Arkadiy Turevskiy
on 29 Apr 2016
Something like this would do:(note that this requires Control System Toolbox).
P=pid(1)
PI=pid(1,1)
PD=pid(1,0,1)
PID=pid(1,1,1)
bode(P,PI,PD,PID)
legend('P','PI','PD','PID')
0 Comments
See Also
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!