PID controller, transfer function
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?
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')
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!