Is there any Steady-state error for Step input command?
显示 更早的评论
clear all
clc
syms s;
K=1;
Gnum=(50/3)*K;
Gden=sym2poly((s+5)*(s+(10/3))*(s+1));
G=tf(Gnum,Gden);
Hnum=20;
Hden=sym2poly(s+20);
H=tf(Hnum,Hden);
figure
rlocus(G*H*K);
T=feedback(G*K,H);
figure
step(T)
figure
rlocus(T)
回答(1 个)
Nagasai Bharat
2021-1-19
编辑:Nagasai Bharat
2021-1-19
Hi,
From my understanding you are trying to find the Steady state error(SSE) for the step response. Steady state error is the absolute difference between the actual value and the desired value at the steady state i.e assuming the end of the plot in this case. SSE is meaningless for unstable closed loop systems.
Desired value appears to be 0.5 from the plot.
To get the SSE
[y,t] = step(T);
sse = abs(0.5 - y(end));
类别
在 帮助中心 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!