필터 지우기
필터 지우기

watching PID controller output value at perticular point

조회 수: 2 (최근 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 CenterFile Exchange에서 PID Controller Tuning에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by