watching PID controller output value at perticular point
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sam Chak
2023-9-14
@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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!