watching PID controller output value at perticular point

3 ビュー (過去 30 日間)
rathod ujjval rameshbhai
rathod ujjval rameshbhai 2016 年 1 月 12 日
回答済み: Sam Chak 2023 年 9 月 14 日
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??

回答 (1 件)

Sam Chak
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])
Gp = 1 - s Continuous-time transfer function.
% Compensator
% wc = 1;
% [Gc, info] = pidtune(Gp, 'pid', wc)
[Gc, info] = pidtune(Gp, 'pid')
Gc = 1 Kp + Ki * --- s with Kp = 0.981, Ki = 0.193 Continuous-time PI controller in parallel form.
info = struct with fields:
Stable: 1 CrossoverFrequency: 1 PhaseMargin: 78.8791
% Closed-loop feedback system
Gcl = feedback(series(Gc, Gp), 1)
Gcl = 0.9812 s + 0.1929 ----------------------- s^2 + 0.9812 s + 0.1929 Continuous-time transfer function.
% step response
step(Gcl), grid on

カテゴリ

Help Center および File ExchangePID Controller Tuning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by