watching PID controller output value at perticular point
3 views (last 30 days)
Show older comments
I am implementing PID controller on the system 1/s......
My question is when I write the command pidtool and get the new window in that there are list of paramenters..... I want to see the output of controller at perticular point i.e. Pout=Kp*e(t)+P0....
other thing is if my system is 1/s then as in step response it becomes 1/s^2 and then Laplace inverse will give output equation.... in case of only P it would be Kp*e(t)*L^-1(1/s).... is it??
0 Comments
Answers (1)
Sam Chak
on 14 Sep 2023
@rathod ujjval rameshbhai, Since no performance requirements are specified, the pidtune() command can be used to automatically search for the control gains that stabilize the unstable open-loop system.
% Plant (unstable open loop system)
Gp = tf(1, [1 0])
% Compensator
% wc = 1;
% [Gc, info] = pidtune(Gp, 'pid', wc)
[Gc, info] = pidtune(Gp, 'pid')
% Closed-loop feedback system
Gcl = feedback(series(Gc, Gp), 1)
% step response
step(Gcl), grid on
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!