How to get steady state error values of a closed loop negative feedback system

23 views (last 30 days)
How to get steady state error values of a closed loop negative feedback system using .m file command
for example,
s=tf('s');
G = 5/(s^2+2*s+25);
C = pidtune(G,'pid');
sys = feedback(C*G,1);
So now I want the values which is input to PID controller = steady state error values
How to do so ????
  2 Comments
izas
izas on 22 Nov 2019
Edited: izas on 22 Nov 2019
I am not sure if you are still interested in the answer.
Y/R = CG/ (1+CGH); where H=1 in this case
(Error* CG)/R = CG/ (1+CGH);
Error (s) = R/ (1+CGH)
This is to say, the error is:
(one divided by (one plus the open loop)) multiplied by the reference.
If you need the final value in time, you apply the final value theorem (FVT). The FVT states:
lim e(t) = lim s * E(s)
t->inf s->0

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!