Is there any Steady-state error for Step input command?
조회 수: 112 (최근 30일)
이전 댓글 표시
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
답변 (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));
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!