Azzera filtri
Azzera filtri

Implementation of PID Pole Placement

40 visualizzazioni (ultimi 30 giorni)
Darryll Bachoo
Darryll Bachoo il 22 Mag 2016
Risposto: Arkadiy Turevskiy il 31 Mag 2016
Hi all,
Can someone help me?
Trying to implement PID Control for Pole placement of the following TF.
Tf = (-1.41)/(s^2-1.5s-2.25)
Having trouble tuning the controller. Any methods or MATLAB code you can recommend?
Thanks

Risposte (1)

Arkadiy Turevskiy
Arkadiy Turevskiy il 31 Mag 2016
So which one are you trying to do: tune a PID controller or design a controller using pole placement. Pole placement is done on a full state feedback, PID would act on just the system output.
To design a PID controller:
Tf = (-1.41)/(s^2-1.5*s-2.25); %define plant transfer function
C=pidtune(Tf,'pidf') % design a PID controller with filter derivative
step(feedback(C*Tf,1)); % compute and plot the step response
To design pole placement controller:
sys=ss(Tf); % convert to state-space form
K=place(sys.A,sys.B,[-1 -2]); % design pole placement full state feedback gain to place poles at -1 and -2

Community Treasure Hunt

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

Start Hunting!

Translated by