Is there any Steady-state error for Step input command?
29 views (last 30 days)
Show older comments
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)
0 Comments
Answers (1)
Nagasai Bharat
on 19 Jan 2021
Edited: Nagasai Bharat
on 19 Jan 2021
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));
0 Comments
See Also
Categories
Find more on Dialog Boxes 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!