Implementation of PID Pole Placement
12 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Arkadiy Turevskiy
on 31 May 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
0 Comments
See Also
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!