EE 312 Lecture 4
EE 312 Lecture 4
EE 312 Lecture 4
4/
4 Steady state
s error derivation
Definition of
o Steady
y State Errror and Test
T Inpu
uts
Steaady-state errror is the difference
d b
between me input and the
t output ffor a prescrribed
test input as t → ∞ , see Figure (1). Test inputts used for steady-statee error anallysis
and design are summarized in Table (1).
(
Tabble(1)
--------------------------------------------------------------------------------------------------------------
1
EE 312/ leecture no. 4/
4 Steady state
s error derivation
p inputs represent
Step r constant position and thus are useful
u in ddetermining
g the
abillity of me control sysstem to possition itselff with respect to a staationary tarrget,
suchh as a satellite in geosstationary orbit
o
2
EE 312/ lecture no. 4/ Steady state error derivation
Figure (2), closed loop control system error: (a) general representation;
(b) representation for unity feedback systems
In Figure (2) if c (t ) equals r (t ) , e(t ) will be zero. But with a pure gain (K) the
error e(t ) cannot be zero if c (t ) is to be finite and nonzero. Thus with a pure gain
of K in the forward path, an error must exist.
The larger the value of K the smaller the value of steady state ( ess ) would have
3
EE 312/ lecture no. 4/ Steady state error derivation
Figure (3)
E ( s) = R( s) − C ( s) (1)
C ( s) = R( s)T ( s) (2)
4
EE 312/ lecture no. 4/ Steady state error derivation
[ ] ∫ f& (t )e
∞
L f& (t ) = − st
dt = SF ( s ) − F (0−) (5)
0−
As s → 0
∞
∫ f& (t )dt =
0−
f (∞) − f (0−) = limSF ( s ) − F (0−)
s →0
(6)
Or
f (∞) = lim SF ( s ) (7)
s→ 0
Example:
Find the steady state error for the system given by:
5
T (s) =
S + 7 S + 10
2
Solution
the steady state error can be evaluated by eq. (9), and R(s) is a unit step then
e(∞ ) = lim S R ( s ) [1 − T ( s )]
s →0
1 5
Or e(∞) = lim S [1 − 2 ]
s →0 S S + 7 S + 10
S 2 + 7 S + 10 5
Or e(∞) = lim [ 2 − 2 ]
s →0 S + 7 S + 10 S + 7 S + 10
S 2 + 7S + 5
Or e(∞ ) = lim [ 2 ]
s → 0 S + 7 S + 10
5 1
Then e( ∞ ) = = #
10 2
5
EE 312/ lecture no. 4/ Steady state error derivation
Figure (4)
E ( s) = R( s ) − C ( s) (10)
and
C ( s) = E ( s)G( s) (11)
E ( s) = R( s) − E ( s)G( s) (12)
Or
E ( s)[1 + G ( s)] = R( s) (13)
Or
R( s )
E ( s) = (14)
1 + G( s)
The last equation allows to calculate the e (∞) given the input signal and the
ss
open loop system transfer function, G(s). Three different input signals will be
tested to draw conclusions about the relationships that exist between the open loop
system, G(s), and the nature of the steady state error, e (∞) .
ss
1
Step function input ( R ( s ) = )
S
6
EE 312/ lecture no. 4/ Steady state error derivation
1
S 1 1
e (∞ ) = e (∞) = lim S = lim =
ss step s → 0 1 + G(s) s → 0 1 + G ( s ) 1 + lim G ( s )
s →0
In order to have a zero steady state error lim G ( s ) = ∞ . This should satisfy the
s →0
following:
1 1 1
e (∞ ) = = = =0#
step 1 + lim G ( s ) 1 + ∞ ∞
s →0
1
Ramp input ( R ( s ) = )
S2
1
2 1 1
e (∞ ) = e (∞) = lim S S = lim =
ss ramp s →0 1 + G( s ) s→0 S + SG( s) lim SG( s)
s →0
To have a zero steady state error for a ramp input, lim SG ( s ) = ∞ , that yields
s →0
1 1
e (∞ ) = = =0
ramp lim SG ( s) ∞
s →0
1
Parabolic input ( R ( s ) = )
S3
1
3 1 1
e (∞ ) = e (∞) = lim S S = lim 2 =
ss parabola s →0 1 + G ( s) s→0 S + S G ( s) lim S 2 G ( s)
2
s →0
1 1
e (∞ ) = = =0#
parabola lim S G ( s) ∞
2
s →0
7
EE 312/ lecture no. 4/ Steady state error derivation
For the limit of G(s) to be infinite, the denominator must be equal to zero as S
goes to zero. Thus n ≥ 1; that is at least one pole must be at the origin. Since
division by S in the frequency domain is integration in the time domain.
z1 z 2 ....
lim G ( s ) = ( is finite)
s →0 p1 p 2 ...
• Therefore for a step input to a unity feedback system, the steady
state error will be zero if there is at least one pure integrator in the
forward path ( that means n ≥ 1, the system type must be one or
larger).
• If there is no pure integration in the path, then there will be a
nonzero finite error.
8
EE 312/ lecture no. 4/ Steady state error derivation
z1 z 2 ...
lim SG ( s ) = and the error is finite.
s →0 p1 p 2 ...
• If there are no integrators in the path then lim SG ( s ) = 0 , which leads to an
s →0
infinite e .
ss
• to have a zero steady state error there must be at least 3 poles at the origin
(the system must be type three or larger; n ≥ 3 ).
z1 z 2 ...
• If n = 2 , then lim S 2 G ( s ) = , that means e = finite value.
s →0 p1 p 2 .. ss
Example:
For the system given in Figure (5), find the steady state errors for inputs of 5u (t )
, 5tu (t ) and 5t 2 u (t ) . The function u (t ) is the unit step.
Figure (5)
Solution
Note: there is no pole (no pure integrator) at the origin, then system is type zero.
9
EE 312/ lecture no. 4/ Steady state error derivation
5
For 5u (t ) → ( step input)
s
sR ( s ) s (5 / s )
e(∞) = estep (∞) = lim =
s →0 1 + G ( s ) 1 + lim G ( s )
s →0
120(0 + 2) 240
lim G ( s ) = = = 20
s →0 (0 + 3)(0 + 4) 12
Then
5 5
e( ∞ ) = = #
1 + 20 21
5
For 5tu (t ) → (ramp input)
s2
sR ( s ) s (5 / s 2 )
e(∞) = eramp (∞) = lim = lim
s →0 1 + G ( s ) s →0 1 + G ( s )
5 5 5
e(∞) = lim = = =∞ #
s →0 s + sG ( s ) lim sG ( s ) 0
s →0
10
For 5t 2 u (t ) → (parabola input)
s3
sR ( s ) s (10 / s 3 )
e(∞) = e parabola (∞) = lim = lim
s →0 1 + G ( s ) s →0 1 + G ( s )
10 10 10
e(∞) = lim 2 = = =∞ #
s →0 s + s G ( s )
2 2
lim s G ( s ) 0
s →0
Example:
Evaluate the steady state errors for the system given in the next block diagram,
Figure (6), if the input signal:
5
5u (t ) → ( step input)
s
5
5tu (t ) → 2 (ramp input)
s
10
5t 2 u (t ) → 3 (parabola input)
s
10
EE 312/ lecture no. 4/ Steady state error derivation
Figure(6)
Solution
Note: the system has a pole at the origin ( a pure integrator in the forward path ).
Then the system is type one.
sR( s ) s (5 / s ) 5
e(∞) = estep (∞) = lim = lim = lim
s →0 1 + G ( s ) s →0 1 + G ( s ) s →0 1 + lim G ( s )
s →0
Provided
100(0 + 2)(0 + 6) 1200
lim G ( s ) = = =∞
s →0 0(0 + 3)(0 + 4) 0
Then
5 5
e(∞) = estep (∞) = = =0#
s →0 1 + lim G ( s ) ∞
s →0
9 (remember that type one system and step input yields a zero ess )
*************************
sR ( s ) s (5 / s 2 )
e(∞) = eramp (∞) = lim = lim
s →0 1 + G ( s ) s →0 1 + G ( s )
5 5
e(∞) = lim =
s →0 s + sG ( s ) lim sG ( s )
s →0
Since
s100( s + 2)( s + 6) 1200
lim sG ( s ) = = = 100
s →0 s ( s + 3)( s + 4) 12
Then
5 5 5 1
e(∞) = lim = = = #
s →0 s + sG ( s) lim sG ( s) 100 20
s →0
9 (remember that type one system with ramp input gives a finite ess )
*************************************
11
EE 312/ lecture no. 4/ Steady state error derivation
sR( s) s(10 / s 3 )
e(∞) = e parabola (∞) = lim = lim
s →0 1 + G ( s ) s →0 1 + G ( s )
10 10
e(∞) = lim 2 =
s →0 s + s G ( s )
2
lim s 2 G ( s)
s →0
Where:
Then
10 10 10
e(∞) = lim = = = ∞#
s →0 s + s G ( s ) lim s G ( s ) 0
2 2 2
s →0
9 (remember that for type one system excited by parabola input results an
infinite ess )
Then
K p = lim G ( s )
s →0
Or
12
EE 312/ lecture no. 4/ Steady state error derivation
Then
K a = lim s 2 G ( s )
s →0
Example:
For the system shown in figure (7) find the static error constants and expected
error for the standard step, ramp, and parabolic inputs.
Figure (7)
Solution
9 Remember this system is type zero.
1 1
Step input: e(∞) = estep (∞) = = = 0.161
1 + lim G ( s) 1 + K p
s →0
1 1
Ramp input: e(∞) = e ramp (∞) = = =∞
lim sG ( s ) K v
s →0
1 1
Parabolic input e(∞) = e parabola (∞) = 2
= =∞
lim s G ( s) K a
s →0
13
EE 312/ lecture no. 4/ Steady state error derivation
Table (2) finalizes the general conclusion for the general system form that shown
in Figure (8).
Figure (8)
Table (2), shows the relationships between input, system type, static error
constants, and steady state errors
Static error constants can be used to specify the steady-stare error characteristics
of control systems that denoted by damping ratio,( ζ ), settling time, ( Ts ), peak
time, ( T p ), and percentage of over shoot,( OS % ). The static error constants can
provide in control system design a wealth information.
Example
If a control system has the K v = 1000 , the following points about the system can be
concluded:
• The system is stable.
• The system type 1 since K v = const.
• A ramp input is the test signal.
1 1
• ess = = = 0.001
K v 1000
14
EE 312/ lecture no. 4/ Steady state error derivation
Example
Given the control system in Figure (9), find the value of K so that there is 10% error
in the steady state.
Figure (9)
(From the figure it is clear that the system is type one).
Solution
Since the system is type 1 the error stated in the problem must apply to a ramp
input; only a ramp yields a finite error in a type 1system. Thus
1
e(∞) = e ramp (∞) = = 0. 1
Kv
( S ) K (0 + 5) ( K )(5)
K v = 10 = lim sG ( s ) = =
s →0 ( s )(0 + 6)(0 + 7)(0 + 8) (6)(7)(8)
K = 672 #
Feedback systems are used to compensate for disturbances or unwanted inputs that
come in a system. Figure (10) illustrates the plant, input, controller, and disturbance.
Figure (10)
15
EE 312/ lecture no. 4/ Steady state error derivation
S SG2 ( s )
e(∞) = lim SE ( s ) = lim R ( s ) − lim D( s ) (25)
s →0 s → 0 1 + G ( s )G ( s ) s → 0 1 + G ( s )G ( s )
1 2 1 2
The first term in eq.(25) is the ess due to the input signal, R(s), whereas the second
term is the ess due to the disturbance, D(s).
Equation (25) can be expressed as:
e(∞ ) = e R (∞ ) + e D (∞ ) (26)
Where
S
eR (∞) = lim R(s) (27)
s → 0 1 + G ( s )G ( s )
1 2
And
SG2 ( s )
eD (∞) = − lim D( s) (28)
s → 0 1 + G ( s )G ( s )
1 2
Equation (27) is the steady state error due to R(s), which we have already
obtained. Equation (28) denotes the steady state error due to the disturbance D(s).
At this point, some facts should be highlighted in order to show how e D (∞ ) can
be minimized.
Assume D(s) is a step disturbance this allows to have e D (∞ ) as follows:
sG2 ( s ) 1 1
eD (∞) = − lim =− (29)
s →0 1 + G ( s )G ( s ) s 1
1 2 lim + lim G1 ( s )
s →0 G ( s ) s →0
2
16
EE 312/ lecture no. 4/ Steady state error derivation
Example:
Find the steady state error component due to a step disturbance for the system of
Figure (11).
Figure (11)
Solution
1 1 1 1
e D (∞ ) = − =− =− =− #
1 1 0 + 1000 1000
lim + lim G1 ( s ) + 1000
s →0 G ( s )
2
s →0 0(0 + 25)
Remark :
the results show that the e D (∞) induced by the step disturbance is
inversely proportional to the dc gain of G1 ( s ) . In this example the dc gain
of G2 ( s ) is infinite.
17