PID controller, transfer function

1 visualizzazione (ultimi 30 giorni)
Kristoffer Brandsøy
Kristoffer Brandsøy il 29 Apr 2016
Risposto: Arkadiy Turevskiy il 29 Apr 2016
Anny idea how i can type in the transfer functions for P, PI, PD and PID and compare them in a bode plot together?

Risposte (1)

Arkadiy Turevskiy
Arkadiy Turevskiy il 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')

Categorie

Scopri di più su Get Started with Control System Toolbox in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by