how to Design PID controller for second order untable process

 Risposta accettata

Not sure if that is what you are looking for, but here is how you could do it in Control System Toolbox:
>>a=1; % change to desired value
>>b=4; % change to desired value
>>s=tf('s');
>>plant=-a/(s^2-b);
>>C=pidtune(plant,'PID'); design pid controller
>>step(feedback(C*plant,1)); plot the step response of the closed-loop system
>>pidtool(plant); % open the GUI for interactive tuning
HTH. Arkadiy

2 Commenti

sir ,
after entering the command
"C=pidtune(plant,'PID');"
it is showing an error
"??? Undefined function or method 'pidtune' for input arguments of type 'tf'."
please guide me.
pidtune is new as of R2010b
http://www.mathworks.com/help/toolbox/control/rn/bsllzup-1.html

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Control System Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by