You are on page 1of 93

ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

Chapter 10
Time-Domain Analysis and
Design of Control Systems
A. Bazoune

10.1 INTRODUCTION

Block Diagram: Pictorial representation of functions performed by each


component of a system and that of flow of signals.

R (s ) C (s )

C (s ) =G(s ) R(s )

Figure 10-1. Single block diagram representation.

Terminology:

Disturbance U ( s )

R (s ) G1 (s ) G2 (s ) C (s )
E (s ) = R (s ) b (s ) M (s )
B (s )

H (s )

Figure 10-2. Block Diagram Components.

1. Plant: A physical object to be controlled. The Plant G 2 ( s ) , is the controlled system, of which
a particular quantity or condition is to be controlled.

1/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

2. Feedback Control System: A system which compares output to some reference input and
keeps output as close as possible to this reference.

3. Closed-loop Control System: same as feedback control system.

4. Open-loop Control System: Output of the system is not feedback to the system.

5. The Control Elements G 1 ( s ) , also called the controller, are the components required to
generate the appropriate control signal M ( s ) applied to the plant.

6. The Feedback Elements H (s ) is the components required to establish the functional


relationship between the primary feedback signal B ( s ) and the controlled output C ( s ) .

7. The Reference Input R ( s ) is an external signal applied to a feedback control system in order
to command a specified action of the plant. It often represents ideal plant output behavior.

8. The Controlled Output C ( s ) is that quantity or condition of the plant which is controlled.

9. The Primary Feedback signal B ( s ) is a signal which is a function of the controlled output
C ( s ) , and which is algebraically summed with the reference input R ( s ) to obtain the
actuating signal E (s ) .

( )
10. The Actuating Signal E s , also called the error or control action, is the algebraic sum

consisting of the reference input R ( s ) plus or minus (usually minus) the primary feedback
B (s ) .

11. The Manipulated Variable M ( s ) (control signal) is that quantity or condition which the
control elements G 1 ( s ) apply to the plant G 2 ( s ) .

12. A Disturbance U (s ) is an undesired input signal which affects the value of the controlled
output C ( s ) . It may enter the plant by summation with M ( s ) , or via an intermediate
point, as shown in the block diagram of the figure above.

13. The Forward Path is the transmission path from the actuating signal e to the controlled output
C (s ) .

14. The Feedback Path is the transmission path from the controlled output C ( s ) to the primary
feedback signal B (s ) .

15. Summing Point: A circle with a cross is the symbol that indicates a summing point. The (+)
or ( ) sign at each arrowhead indicates whether that signal is to be added or subtracted.
16. Branch Point: A branch point is a point from which the signal from a block goes concurrently
to other blocks or summing points.

2/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

10.2 BLOCK DIAGRAMS AND THEIR SIMPLIFICATION

Definitions:

E (s )
R (s ) G (s ) C (s )

B (s )
H (s )

Figure 10-3 Block diagram of a closed-loop system with a feedback element.

1. G ( s ) Direct transfer function = Forward transfer function


2. H ( s ) Feedback transfer function
3. G ( s ) H ( s ) Open-loop transfer function
4. C ( s ) R ( s ) Closed-loop transfer function = Control ratio
5. C ( s ) E ( s ) Feedforward transfer function

Closed Loop Transfer Function:

For the system shown in Figure 10-3, the output C ( s ) and input R ( s ) are related as follows:

C (s ) = G (s ) E (s )
where

E ( s ) = R ( s ) B ( s ) = R ( s ) H ( s )C ( s )
Eliminating E ( s ) from these equations gives

C ( s ) = G ( s ) [ R ( s ) H ( s ) C ( s )]

This can be written in the form

[1 + G ( s ) H ( s )]C ( s ) = G ( s ) R ( s )
or
C (s ) G (s )
=
R (s ) 1 + G (s ) H (s )

The Characteristic equation of the system is defined as an equation obtained by setting the
denominator polynomial of the transfer function to zero. The Characteristic equation for the above
system is 1+ G (s) H (s) = 0.

3/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

Block Diagram Reduction Rules


In many practical situations, the block diagram of a Single Input-Single Output (SISO),
feedback control system may involve several feedback loops and summing points. In
principle, the block diagram of (SISO) closed loop system, no matter how complicated it is, it
can be reduced to the standard single loop form shown in Figure 10-3. The basic approach to
simplify a block diagram can be summarized in Table 1:

TABLE 10-1 Block Diagram Reduction Rules

1 Combine all cascade blocks


2 Combine all parallel blocks
3 Eliminate all minor (interior) feedback loops
4 Shift summing points to left
5 Shift takeoff points to the right
6 Repeat Steps 1 to 5 until the canonical form is obtained

TABLE 10-2. Some Basic Rules with Block Diagram Transformation

X G1 G2 Y X G 1G 2 Y Y = (GG
1 2 )X

X G1
Y X G1 G 2 Y Y = (G1 G2 )X
G2

u G u G y y = Gu
y 1
u u 1/ G u = y
G
u G u G y
y y = Gu
y y G

u1 G u1 G y
y e2 = G ( u1 u2 )
u2 u2 G

u1 G u1 G y
y y = Gu1 u2
u2 1/ G u2
G2 1/ G2 G1 y
u y = ( G1 G2 ) u

4/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

Example 1

A feedback system is transformed into a unity feedback system

5/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

C G 1 GH
= = = Closed-loop Transfer function
R 1 GH H 1 GH

Example 2

Let us reduce the following block diagram to canonical form.


Step 4:


Example 3

6/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

7/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

Example 4

Use block diagram reduction to simplify the block diagram below into a single block relating
Y ( s ) to R ( s ) .

Solution

8/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

Example 5

Use block diagram algebra to solve the previous example.

Solution

Multiple-Inputs cases

In feedback control system, we often encounter multiple inputs (or even multiple output
cases). For a linear system, we can apply the superposition principle to solve this type of
problems, i.e. to treat each input one at a time while setting all other inputs to zeros, and then
algebraically add all the outputs as follows:

TABLE 10-3: Procedure For reducing Multiple Input Blocks

1 Set all inputs except one equal to zero


2 Transform the block diagram to solvable form.
3 Find the output response due to the chosen input action alone
4 Repeat Steps 1 to 3 for each of the remaining inputs.
5 Algebraically sum all the output responses found in Steps 1 to 5

9/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

Example 6

We shall determine the output C of the following system:

Solution

Step1: Put U 0
Step2: The system reduces to

G1G 2
Step 3: The output C R due to input R is C R = R
1 + G1G 2

Step 4a: Put R = 0.


Step 4b: Put -1 into a block, representing the negative feedback effect:

Rearrange the block diagram:

Let the -1 block be absorbed into the, summing point:

G2
Step 4c: By Equation (7.3), the output CU due to input U is CU = U
1 + G1G 2
Step 5: The total output is C:

10/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

G1G 2 G2 G2
C = C R + CU = R+ U = [G1 R + U ]
1 + G1G 2 1 + G1G 2 1 + G1G 2

Example 7

11/11
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

Chapter 10
Time-Domain Analysis and Design of
Control Systems
A. Bazoune

10.5 TRANSIENT RESPONSE SPECIFICATIONS


Because systems that stores energy cannot respond instantaneously, they exhibit a transient
response when they are subjected to inputs or disturbances. Consequently, the transient
response characteristics constitute one of the most important factors in system design.

In many practical cases, the desired performance characteristics of control systems can
be given in terms of transient-response specifications. Frequently, such performance
characteristics are specified in terms of the transient response to unit-step input, since such an
input is easy to generate and is sufficiently drastic. (If the response of a linear system to a step
input is known, it is mathematically possible to compute the systems response to any input).

The transient response of a system to a unit step-input depends on initial conditions.


For convenience in comparing the transient responses of various systems, it is common
practice to use standard initial conditions: The system is at rest initially, with its output and
all time derivatives thereof zero. Then the response characteristics can be easily compared.

Transient-Response Specifications. The transient response of a


practical control system often exhibits damped oscillations before reaching a steady state. In
specifying the transient-response characteristics of a control system to a unit-step input, it is
common to name the following:

1/10
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

1. Delay time, Td
2. Rise time, Tr
3. Peak time, Tp
4. Maximum overshoot, M p
5. Settling time, Ts

These specifications are defined next and are shown in graphically in Figure 10-21.

Delay Time. The delay time Td is the time needed for the response to reach half of
its final value the very first time.

Rise Time. The rise time Tr is the time required for the response to rise from 10%
to 90%, 5% to 95%, or 0% to 100% of its final value. For underdamped second order systems,
the 0% to 100% rise time is normally used. For overdamped systems, the 10% to 90% rise time
is common.

Peak Time. The peak time Tp is the time required for the response to reach the first
peak of the overshoot.

Maximum (percent Overshoot). The maximum percent overshoot M p is the


maximum peak value of the response curve [the curve of c ( t ) versus t ], measured from
c ( ) . If c ( ) = 1 , the maximum percent overshoot is M p 100% . If the final steady state
value c ( ) of the response differs from unity, then it is common practice to use the
following definition of the maximum percent overshoot:

Maximum percent overshoot =


( )
C tp C ( )
100%
C ()

Settling Time. The settling time Ts is the time required for the response curve to reach
and stay within 2% of the final value. In some cases, 5% instead of 2% , is used as the
percentage of the final value. The settling time is the largest time constant of the system.

Comments. If we specify the values of Td , Tr , Tp , Ts and M p , the shape of the


response curve is virtually fixed as shown in Figure 10.22.

Figure 10-22 Specifications of transient-response curve.

2/10
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

A Few Comments on Transient Response-Specifications.


In addition of requiring a dynamic system to be stable, i.e., its response does not increase
unbounded with time (a condition that is satisfied for a second order system provided that
0 , we also require the response:
to be fast
does not excessively overshoot the desired value (i.e., relatively stable) and
to reach and remain close to the desired reference value in the minimum time
possible.

Second-Order Systems and Transient-Response-Specifications.


The response for a unit step input of an underdamped second order system (0 < < 1) is
given by
n t n t
c (t ) = 1 e sin d t e cos d t
2
1
(10-13)
n t

=1e sin d t + cos d t
1 2
or

e
n t
1
2

c (t ) = 1 sin d t + tan
1
(10-14)

2
1

A family of curves c ( t ) plotted against t with various values of is shown in Figure 10-24.

Step Response
1.6

= 0.2
1.4

1.2 0.5

0.7
u (t ) 1
1
Amplitude

0.8
n2 2
1
t s2 + 2 n s + n2 0.6


 
5
In p u t 0.4

0.2

0
0 2 4 6 8 10 12 14 16 18 20
Time (sec)

_______________
  
Output

Figure 10-24 Unit step response curves for a second order system.

3/10
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

Delay Time. We define the delay time by the following approximate


formula:
1 + 0.7
Td =
n

Rise Time. We find the rise time Tr by letting c (Tr ) = 1 in Equation (10-13), or

nT r

c (T r ) = 1 = 1 e sin dT r + cos dT r (10-15)
1
2

n t
Since e 0 , Equation (10-15) yields


sin dT r + cos dT r = 0
2
1
or
2
1
tan dT r =

Thus, the rise Tr is

1 1 2
T r = tan 1
= (10-16)
d d

where is defined in Figure 10-25. Clearly to obtain a large value of Tr we must have a
large value of .
j
S-plane
j d
= cos1 ( )

n
or = sin1 ( 1 2 )
n 1 2
1 2
or = tan1

O


n

Figure 10-25 Definition of angle

Peak Time. We obtain the peak time Tp by differentiating c ( t ) in Equation (10-13),


with respect to time and letting this derivative equal zero. That is,

4/10
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

dc (t ) n t
= e sin d t = 0
n

dt 1 2
It follows that
sin d t = 0
or
d t = 0, , 2 , 3 ,... = n , n = 0,1,2.....

Since the peak time Tp corresponds to the first peak overshoot ( n = 1) , we have dT p = .
Then

Tp = = (10-17)
d n 1 2

The peak time Tp corresponds to one half-cycle of the frequency damped oscillations.

Maximum Overshoot M p The maximum overshoot M p occurs at the peak


T p = d . Thus, from Equation (10-13),



n ( d )
( )
M p = c Tp 1 = e 2
sin + 
cos

1
  = 1
=0
or

1 2
M p = e (10-18)

Since c ( ) = 1 , the maximum percent overshoot is

1 2
M p% = e 100%

The relationship between the damping ratio and the maximum percent overshoot is
shown in Figure 10-26. Notice that no overshoot for 1 and overshoot becomes negligible
for > 0.7 .

5/10
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

Figure 10-26 Relationship between the maximum percent overshoot M p % and damping ratio
Settling Time Ts Based on 2% criterion the settling time Ts is defined as:

enTs = 0.02
ln ( 0.02 ) 4
nTs = ln ( 0.02 ) Ts =
n n

4
Ts = ( 2% Criterion ) (10-19)
n

Similarly for 5% we can get

3
Ts = ( 5% Criterion ) (10-20)
n

6/10
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

REVIEW AND SUMMARY

TRANSIENT RESPONSE SPECIFICATIONS OF A SECOND ORDER SYSTEM

TABLE 1. Useful Formulas and Step Response Specifications for the Linear
Second-Order Model m x + c x + k x = f (t ) where m, c, k constants

c c 2 4mk
1. Roots s1, 2 =
2m
2. Damping ratio or = c / 2 mk
k
3. Undamped natural frequency n =
m
4. Damped natural frequency d = n 1 2
5. Time constant = 2m / c = 1 / n if 1
2
6. Logarithmic decrement = or =
2
1 4 2 + 2

7. Stability Property Stable if, and only if, both roots have negative real parts, this
occurs if and only if , m, c, and k have the same sign.

8. Maximum Percent Overshoot: The maximum % overshoot M p is the maximum peak


1 2
value of the response curve. M p = 100e /

9. Peak time: Time needed for the response to reach the first peak of the overshoot
Tp = /n 1 2

10. Delay time: Time needed for the response to reach 50% of its final value the first time
1 + 0.7
Td
n

11. Settling time: Time needed for the response curve to reach and stay within 2% of the final
4
value Ts =
n
12. Rise time: Time needed for the response to rise from (10% to 90%) or (0% to 100%) or (5% to

95%) of its final value Tr = (See Figure 10-25)
d

7/10
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

SOLVED PROBLEMS
Example 1

Figure 4-20 (for Example 1)

Example 2

8/10
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

Figure 4-21 (for Example 2)

Solution

First The transfer function of the system is

Example 3 (Example 10-2in the Textbook Page 520-521)

Determine the values of Td , Tr , Tp , Ts when the control system shown in Figure 10-28 is
subject to a unit step input

9/10
ME 413 Systems Dynamics & Control Chapter 10: Time-Domain Analysis and Design of Control Systems

1
R( s) C (s)
s ( s + 1)

Figure 10-28 Control System

Solution

The closed-loop transfer function of the system is


1
C (s) s ( s + 1) 1
= = 2
R (s) 1+ 1 s + s +1
s ( s + 1)
2
Notice that n = 1 rad/s and = 0.5 for this system. So d = n 1 = 1 0.52 = 0.866

Rise Time. Tr =
d
where j
= sin 1 (d n ) = sin 1 ( 0.866 1) = 1.05 rad
or j d
= cos 1 (n n ) = cos 1 ( ) = cos 1 ( 0.5 )
= 1.05 rad n 1 2 n
Therfore,
1.05
Tr = = 2.41 s

0.866
n
Peak Time. Tp = = = 3.63 s
d 0.866
Delay Time.
1 + 0.7 1 + 0. 7 ( 0. 5 )
Td = = = 1.35 s
n 1

1 2 10.52
Maximum Overshoot : M p = e = e 0.5 = e 1.81 = 0.163 = 16.3%
4 4
Settling time: Ts = = = 8s
n 0.5 1

10/10
ME 413 Systems Dynamics & Control Section 10-4: Stability

Chapter 10 9

Time Domain Analysis and Design of


Control System
A. Bazoune
10.7 STABILITY ANALYSIS

Stability Conditions Using Rolling Ball

The base of the hollow is in equilibrium point. If the ball is displaced a small distance
from this position and released, it oscillates but ultimately returns to its rest position
at the base as it loses energy as a result of friction. This is therefore a stable
equilibrium point. (With no energy dissipation the ball would roll back and forth forever
and exhibit neutral stability).

The ball is in equilibrium if placed exactly at the top of the surface, but if it is displaced
an infinitesimal distance to either side, the net gravitational force acting on it will cause
it to roll down the surface and never return to the equilibrium point. This equilibrium is
therefore unstable.

The ball neither moves away nor returns to its equilibrium position. The flat portion
represents a neutrally stable region.

1/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

Stability Analysis in the Complex Plane

The stability of a linear closed-loop system can be determined from the location of the
closed-loop poles in the s-plane. If any of these poles lie in the Right-Half of the s-plane
(RHS), then with increasing time, they give rise to the dominant mode, and the transient
response increases monotonically or oscillates with increasing amplitude. Either of these
motions represents an unstable motion.

Location of roots of characteristic equations and the corresponding impulse response

For such a system, as soon as the power is turned on, the output may increase with time.
If no saturation takes place in the system and no mechanical stop is provided, then the
system may eventually be damaged and fail, since the response of a real physical system
cannot increase indefinitely.

Stability may be defined as the ability of a system to restore its equilibrium position
when disturbed or a system which has a bounded response for a bounded output.

Consider a simple feedback system

R (s) E (s) C ( s)
G (s)

H ( s)

The overall transfer function is given by

C (s) G (s)
=
R (s) 1+ G (s) H (s)

The denominator of the transfer function 1 + G ( s ) H ( s ) is known as the characteristic


polynomial. The characteristic equation is of the above system is

1+ G (s) H (s) = 0

What are the roots of the characteristic equation?

2/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

Let us write the characteristic equation in the form:

( s z1 )( s z2 ) ( s z3 ) ... ( s zn )
T (s) =
( s p1 )( s p2 )( s p3 ) ... ( s pm )

where z1 , z1 ,..., zn are the zeros of T ( s ) and p1 , p1 ,..., pm are the poles of T ( s ) . If the
input R ( s ) is given then
C (s) = T (s) R (s)
or

( s z1 )( s z2 ) ( s z3 ) ... ( s zn ) ( s zi )( s zii )( s ziii ) ... s z j


( )
C (s) =
( s p1 )( s p2 )( s p3 ) ... ( s pm ) ( s pi )( s pii )( s piii ) ... ( s pk )

In order to compute the output, we resort the above equation into partial fraction
expansion
K1 K2 K n K i1 Ki 2 K ij
C (s) = + + ... + + + + ... +
( s p1 ) ( s p2 ) ( s pm ) ( s pi ) ( s pii ) ( s pik )

The first bracket contains time that originates from the system itself. Terms in the
first bracket will give rise to time in the form

K1e p1t , K 2 e p2t ,..., K n e pnt

where p = + jt . The above expression can be rewritten as

K1e1 e j1t , K 2 e 2 e j2t ,..., K n e n e jnt

Terms of the imaginary exponent are basically sinusoidal functions(which will never die
away). Terms with real exponent must have negative values in order to force the
sinusoidal functions to approach a very small magnitude (die away). The location of the
roots of the characteristic equation on the s-plane will indicate the condition of
stability.
Im

Margin
Stability

Stable Unstable
region region Re

s-plane
s = + j

3/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

Routh Stability criterion

The characteristic equation of the simple feedback system can be written as

F ( s ) = 1 + G ( s ) H ( s ) = an sn + an1s n1 + an 2s n 2 +  + a1s + a0 = 0

Two Necessary But Insufficient Conditions

There are two necessary but insufficient conditions for the roots of the characteristic
equation to lie in Left Hand Side (LHS)-plane (i.e., stable system)

1. All the coefficients an , an 1 , an 2 ,... , a1 and a0 should have the same sign.
2. None of the coefficients vanish (All coefficients of the polynomial should exist).

Example 1 Given the characteristic equation,

a ( s ) = s6 + 4s5 + 3s 4 2s3 + s 2 + 4s + 4

Is the system described by this characteristic equation stable?

4/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

Solution

One coefficient (-2) is negative. Therefore, the system does not satisfy the necessary
condition for stability.

Example 2 Given the characteristic equation,

a ( s ) = s6 + 4s5 + 3s 4 + s 2 + 4s + 4

Is the system described by this characteristic equation stable?

Solution

3
The term s is missing. Therefore, the system does not satisfy the necessary condition
for stability.

Necessary and Sufficient Condition

The necessary and sufficient condition for the roots of the characteristic equation to
lie in Left Hand Side (LHS)-plane (i.e., stable system) is

Polynomial Hurwitz Determinant Dk > 0 , k = 1, 2 , 3... (4)

This criterion is an algebraic method that:

1. provides information on the absolute stability of a Linear Time Invariant (LTI)


system that has a characteristic equation with constant coefficients.
2. indicates whether any of the roots of the characteristic equation lie in (RHS)-
plane.
3. indicates the number of roots that lie on the j -axis and gives the range of
some system parameters over which the system can be stable.

How to Apply the Test

Let us write the characteristic equation in the form:

F ( s ) = 1 + G ( s ) H ( s ) = an sn + an1s n1 + an 2 s n 2 +  + a1s + a0 = 0

Step 1: Arrange the coefficients of the above equation into two rows. The
first row consists of the first, third, fifth, , coefficients. The
second row consists of the second, fourth, sixth,, coefficients, all
counting from the highest term as shown in the tabulation below
an an2 an4 an6 
an1 an3 an5 an7 

5/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

Step 2: Form the following array of numbers by the indicated operations,


illustrated here for a sixth-order equation:

a6 s 6 + a5 s5 + a4 s 4 + a3s3 + a2 s 2 + a1s + a0 = 0

s6 a6 a4 a2 a0

s5 a5 a3 a1 0
a5a4 a6a3 a a a6a1 a a a 0
s 4
a5
=A 5 2
a5
=B 5 0 6
a5
= a0 0
Aa3 a5B Aa1 a5a0 A 0 a5 0
s3 A
=C
A
=D
A
=0 0
BC AD Ca0 A 0 C 0A 0
s2 C
=E
C
= a0
C
=0 0
ED Ca0
s1 E
=F 0 0 0
Fa0 E 0
s0 F
= a0 0 0 0

The previous table can also be obtained as follows:

6/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

s6 a6 a4 a2 a0
s5 a5 a3 a1 0
a6 a 4 a a a a
6 2 6 0 0
s4 a5 a3
=A
a5 a1
=B
a5 0
= a0
a5 a5 a5
a5 a3 a a1 a5 0
5
s 3 A B
A
=C
A a0
A
=D
A 0
= 0 0
A
A C A C A C

s2 B D a0 0 0 0 0
=E = a0 =0
C C C
C E

s 1
D a0
= F
0 0 0
E
E F

s0 a0 0
= a0
0 0 0
F

Example 1 Given
2 ( s 2 + 2s + 25 )
H (s) =
s5 + s 4 + 3s3 + 9s 2 + 16s + 10

Check whether this system is stable or not.

Solution

The characteristic equation is: s5 + s 4 + 3s3 + 9s 2 + 16s + 10 = 0

Construct the Routh array

7/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

s5 1 3 16 0

s4 1 9 10 0
1 3 9 1 116 10 1
s3 1
= 6
1
=6 0 0

6 9 6 1 6 10 0 1
s2 6
= 10
6
= 10 0 0

10 6 10 ( 6 ) 10 0 0 ( 6 )
s1 10
= 12
10
=0 0 0

12 10 0 (10 )
s0 12
= 10 0 0 0

There are 2 sign changes. There are 2 poles on the right half of the s plane.
Therefore, the system is unstable.

Pole-Zero Map
5

1
Imaginary Axis

-1

-2

-3

-4

-5
-1.5 -1 -0.5 0 0.5 1
Real Axis

pzmap plot

Example 2 In the figure below, determine the range of K for the system to be
stable

R (s) E (s) K
C ( s)
s ( s + 1)( s + 2)

Solution: The characteristic equation is:


K
1 + G (s )H (s ) = 1 + =0
s ( s + 1)( s + 2 )
or s ( s + 1)( s + 2 ) + K = 0 s 3 + 3s 2 + 2s + K = 0

8/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

Construct the Routh array

s3 1 2 0

s2 3 K 0
2 3 K 1 6 K
s1 3
=
3
0 0

6 K K 3 0

3
s0 6K
=K 0 0

3

For the system to be stable we must have the following two conditions satisfied
simultaneously:

i) K >0
and
6K
ii) > 0 6K > 0 K < 6
3
The above two conditions can be shown graphically on the real line

0<K <6

0 1 2 3 4 5 6 +
K <6
K >0
The intersection of the two conditions above gives the condition for the stability
of the above system, that is 0 < K < 6 . What will happen if K = 0 or K = 6 ?

For K = 0 , the above characteristic equation becomes


s 3 + 3s 2 + 2s + 0 = 0
or
s = 0 The system is marginally stable

s ( s + 3s + 2 ) = 0
2
s = 1
s = 2

ForK = 6 , the above characteristic equation becomes


s + 3s 2 + 2s + 6 = 0
3
or s 2 ( s + 3) + 2 ( s + 3) = 0
or
s = 3

(s + 3) ( s 2 + 2 ) = 0 s = + j 2 The system is marginally stable

s = j 2 The system is marginally stable

9/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

The frequency of oscillations in the previous case is 2 rad/s.

Special Cases

i) Zero Coefficient in the First Column of the Rouths


Array

When the first term in a row is zero, the following element of (power-1) s will be
infinite. One of the following methods may be used.

1
1 Substitute for s = in the original equation The same
x
criterion applies for x . Then solve for x .

2 Multiply the original equation by ( s + a ) , a = 1, 2,3,..., This


introduces an additional negative root. Then follow the same procedure to check for
stability.

3 Substitute a small parameter for the 0 . Complete the


array and take the limit as 0 .

Example 3

Check whether the following system given by its characteristic equation is stable
or not
( s ) = 1 + G (s )H (s ) = s 4 + s 3 + 2s 2 + 2s + 5 = 0

Solution

Construct the Routh array

s4 1 2 5

s3 1 2 0
1 2 1 2 1 5 1 0
s2 1
=0
1
=5

s1 Zero element in the first column,


we cant continue as usual.
s0
1
Method 1: Substitute for s = in the original equation.
x
The above characteristic equation is:

10/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

( s ) = s 4 + s 3 + 2s 2 + 2s + 5 = 0
( s ) and
1
Substitute s = in the above B ( x ) have
x
4 3 2
B ( x ) = (1 x ) + (1 x ) + 2 (1 x ) + 2 (1 x ) + 5 = 0 same stability
characteristic

or B ( x ) = 5x 4 + 2x 3 + 2x 2 + x + 1 = 0

First Sign x4 5 2 1
Change.
x3 2 1 0

x2 2 2 1 5 1
= 1
Second Sign 2 2
Change.
( 1 2 ) 1 1 2 = 5
x1 ( 1 2 )
0

x0 1

There are two sign changes. Therefore, there are 2 roots that lie on the right half of the
s-plane. The system is unstable.

Method 2: Multiply by ( s + a ) in the original equation.

Let a = 1 an arbitrary value. Notice that if we get again a zero in the first column, this
means that a = 1 is a root of the polynomial. In this case change the value of a . For
a = 1 , the above polynomial becomes

B (s ) = s + 1)
( 
(
s + s + 2s + 2s + 5 )
4 3


2

We are multiplying Previous Polynomial


by this quantity

or
B ( s ) = s 5 + 2s 4 + 3s 3 + 4s 2 + 7s + 5

s5 1 3 7 0

s4 2 4 5 0

First Sign
s3 23 1 4
= +1
27 15 9
= 0 0
2 2 2
Change.
s2 1 4 ( 9 2) 2
= 5
15 2 0
=5 0 0
Second Sign 1 1
Change. 5 ( 9 2) 5 1
s1 5
= 11 2 0

(11 2) 5 0 5 = 5
s0 (11 2)

11/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

There are two sign changes. Therefore, there are 2 roots that lie on the right half of the
s-plane. The system is unstable.

Method 3: Substitute for the zero element

Remember the expression for ( s ) = s 4 + s 3 + 2s 2 + 2s + 5 . The Routh array is

s4 1 2 5

s3 1 2 0

First Sign s2 1 2 1 2
=0
1 5 1 0
=5
Change. 1 1
s1 2 51 5
= 2 =
0

Second Sign

0 is substituted by
Change. 5
5 2 0

s0 5
=5 Tends to
as 0
2

There are two sign changes. Therefore, there are 2 roots that lie on the right half of the
s-plane. The system is unstable.

The roots of ( s ) can be solved by MATLAB

MATLAB PROGRAM: 2 roots with positive real parts


0.5753. They will lie in the right
>> Q=[1 1 2 2 5]; half of the s-plane as shown in the
>> roots (Q) pzmap
ans = 0.5753 + 1.3544i
0.5753 - 1.3544i
-1.0753 + 1.0737i
-1.0753 - 1.0737i

Pole-Zero Map
1.5

0.5
Imaginary Axis

-0.5

-1

-1.5
-1.2 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6
Real Axis

12/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

ii) A Row of Zeros

This situation occurs when the characteristic equation has a pair of real roots with
opposite sign ( r ) , complex conjugate roots on the imaginary axis ( j ) , or a pair of
complex conjugate roots with opposite real parts ( a jb , a jb ) as shown in the
figure below.

The procedure to overcome this situation is as follows:

1. Form the auxiliary equation as shown in the example below from the preceding
row.

2. Complete Routh array by replacing the zero row with the coefficients obtained
by differentiating the auxiliary equation.

3. Roots of the auxiliary equation are also roots of the characteristic equation (i.e.,
Q ( s ) = 1 + G ( s ) H ( s ) = 0 ). The roots of the auxiliary equation occur in pairs
and are of opposite sign of each other. In addition the auxiliary equation is always
even order.

Example 3

Check whether the following system given by its characteristic equation is stable
or not
A ( s ) = 1 + G (s )H (s ) = s 5 + 5s 4 + 11s 3 + 23s 2 + 28s + 12 = 0

Solution

Step 1 Form the auxiliary equation a ( s ) = 0 by use of the coefficients


from the row just preceding the row of zeros.

13/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

d [a ( s ) ]
Step 2 Take the derivative of the auxiliary equation with
ds
respect to s .
d [a ( s ) ]
Step 3 Replace the row of zeros with the coefficients of .
ds

Step 4 Continue with Rouths tabulation in the usual manner with the
newly formed row of coefficients replacing the row of zeros.

Step 5 Interpret the change of signs, if any, of the coefficients in the


first column of Rouths tabulation in the usual manner.

s5 1 11 28

s4 5 23 12
5 11 1 23 5 28 12 1
s3 5
= 6.4
5
= 25.6 0

s2 6.4 23 25.6 5 6.4 12 0 5


=3 = 12 0
6.4 6.4
3 25.6 6.4 12 Row
s1 3
=0 0 of zeros

s0
d [a ( s ) ]
The auxiliary equation is a ( s ) = 3s 2 + 12 and = 6s
ds
The zeros in the row of s1 are replaced by the coefficient of the derivative
d [a ( s ) ]
of the auxiliary equation = 6s
ds

s1 6 0
6 12 0 3
s0 6
=6

There are no sign changes in the first column of the Routh array. All roots have
negative real parts except for a pair on the imaginary axis.

Roots of the auxiliary equation are

a1 ( s ) = 3s 2 + 12 = 3 ( s 2 + 4 ) = 0 s1,2 = j 2

Roots of the characteristic equation are

14/20
ME 413 Systems Dynamics & Control Section 10-4: Stability



s1 = 3 (real)
s = j 2
2
A ( s ) = s 5 + 5s 4 + 11s 3 + 23s 2 + 28s + 12 = 0 complex conjugates
s3 = + j 2
s = 1
4 real repeated
s5 = 1

Pole-Zero Map
2

1.5

0.5
Imaginary Axis

-0.5

-1

-1.5

-2
-3.5 -3 -2.5 -2 -1.5 -1 -0.5 0
Real Axis

Limitations

It should be reiterated that the Routh-Hurwitz criterion is valid only if the


characteristic equation is algebraic with real coefficients. If any one of the coefficients
is complex, or if the equation is not algebraic, such as containing exponential functions
or sinusoidal functions of s , the Routh-Hurwitz criterion simply cannot be applied.
Another limitation of the Routh-Hurwitz criterion is that it is valid only for the
determination of the roots of the characteristic equation with respect to the left half
or the right half of the s-plane. The stability boundary is just the j axis of the
s plane. The criterion cannot be applied to any other stability boundaries in a complex
plane, such as the unit circle in the z plane, which is the stability of discrete data
system.

15/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

Solved Problems

16/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

17/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

18/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

19/20
ME 413 Systems Dynamics & Control Section 10-4: Stability

20/20
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

Chapter 10
Time-Domain Analysis and Design of
Control Systems
A. Bazoune

10.5 STEADY STATE ERRORS AND SYSTEM TYPES


Steady-state errors constitute an extremely important aspect of the system performance, for it
would be meaningless to design for dynamic accuracy if the steady output differed
substantially from the desired value for one reason or another.

The steady state error is a measure of system accuracy. These errors arise from the
nature of the inputs, system type and from nonlinearities of system components such as static
friction, backlash, etc. These are generally aggravated by amplifiers drifts, aging or
deterioration. The steady-state performance of a stable control system is generally judged by
its steady state error to step, ramp and parabolic inputs.

Consider a unity feedback system as


shown in the Figure. The input is R ( s ) ,
the output is C ( s ) , the feedback signal R (s) E (s) C ( s)
G ( s)
H ( s ) and the difference between input
and output is the error signal E ( s ) . H ( s)

From the above Figure


C (s) G (s)
= (1)
R (s) 1+ G (s)
On the other hand
C (s) = E (s) G (s) (2)

Substitution of Equation (2) into (1) yields

1
E (s) = R (s) (3)
1+ G (s)

The steady-state error ess may be found by use of the Final Value Theorem (FVT) as follows:

sR ( s )
ess = lim e ( t ) = lim SE ( s ) = lim (4)
t s0 s0 1+ G (s)

Equation (4) shows that the steady state error depends upon the input R ( s ) and the forward
transfer function G ( s ) . The expression for steady-state errors for various types of standard
test signals are derived next.

1/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

1. Unit Step (Positional) Input.


Input r ( t ) = 1( t ) r ( t)
1
or R ( s ) = L r ( t ) =
s
From Equation (4) 1
sR ( s ) s (1 s ) 1 1 1
ess = lim = lim = lim = =
s0 1+ G (s) s 0 1+ G (s) s 0 1 + G (s) 1 + G (0) 1 + Kp t

where K p = G ( 0 ) is defined as the position error constant.

2. Unit Ramp (Velocity) Input.


Input r ( t ) = t or r ( t ) = 1 r ( t)
1
or R ( s ) = L r ( t ) = 2
s
From Equation (4)
1
sR ( s ) s (1 s 2 ) 1 1 1
ess = lim = lim = lim = lim = t
s0 1 + G ( s ) s 0 1 + G ( s ) s 0 s + sG ( s ) s 0 sG ( s ) Kv 1

where K v = lim sG ( s ) is defined as the velocity error constant.


s 0

3. Unit Parabolic (Acceleration) Input.


1 r ( t)
Input r (t ) = t2 r (t ) = 1
or 
2
1
or R ( s ) = L r ( t ) =
s3
From Equation (4)
sR ( s ) s (1 s3 ) 1 1 1 t
ess = lim = lim = lim 2 2 = lim 2 =
s0 1 + G ( s ) s0 1 + G ( s ) s0 s + s G ( s ) s 0 s G ( s ) Ka

where K a = lim s 2G ( s ) is defined as the acceleration error constant.


s 0

2/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

10.6 TYPES OF FEEDBACK CONTROL SYSTEMS


The open-loop transfer function of a unity feedback system can be written in two standard
forms:
The time constant form

G (s) =
(
K (Tz1s + 1)(Tz 2 s + 1) Tzj s + 1 )
(8)
n
( )
s Tp1s + 1 (Tz 2 s + 1) (Tzk s + 1)

where K and T are constants. The system type refers to the order of the pole of G ( s ) at s = 0 .
Equation (8) is of type n .

The pole-zero form

G (s) =
(
K ' ( s + z1 )( s + z2 ) s + z j )
n (9)
s ( s + p1 )( s + p2 ) ( s + pk )

The gains in the two forms are related by

z
j
j

K = K' (10)
p
k
k

with the gain relation of Equation (10) for the two forms of G ( s ) , it is sufficient to obtain
steady state errors in terms of the gains of any one of the forms. We shall use the time
constant form in the discussion below.

Equation (8) involves the term sn in the denominator which corresponds to number of
integrations in the system. As s 0 , this term dominates in determining the steady-state
error. Control systems are therefore classified in accordance with the number of integration in
the open loop transfer function G ( s ) as described below.

1. Type-0 System.
K
If n = 0, G ( s ) = = K the steady-state errors to various standard inputs, obtained from
s0
Equations (5), (6), (7) and (8) are

1 1 1
ess ( Position ) = = =
1 + G (0) 1 + K 1 + Kp
1 1
ess ( Velocity ) = lim = lim = (11)
s 0 sG ( s ) s 0 sK
1 1
ess ( Acceleration ) = lim 2
= lim 2 =
s 0 s G ( s ) s0 s K

3/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

Thus a system with n = 0, or no integration in G ( s ) has


a constant position error,
infinite velocity error and
infinite acceleration error

2. Type-1 System.
K
If n = 1, G ( s ) = , the steady-state errors to various standard inputs, obtained from
s1
Equations (5), (6), (7) and (8) are

1 1 1
ess ( Position ) = = lim = =0
1 + G (0) s 0 K 1+
1+
s
1 1 1 1
ess ( Velocity ) = lim = lim = = (12)
s 0 sG ( s ) s0 K K Kv
s
s
1 1 1
ess ( Acceleration ) = lim 2 = lim = =
s 0 s G ( s ) s0 2 K 0
s
s

Thus a system with n = 1, or with one integration in G ( s ) has


a zero position error,
a constant velocity error and
infinite acceleration error

3. Type-2 System.
K
If n = 1, G ( s ) = , the steady-state errors to various standard inputs, obtained from
s2
Equations (5), (6), (7) and (8) are

1 1 1
ess ( Position ) = = lim = =0
1 + G ( 0 ) s0 1 + K 1 +
s2
1 1 1
ess ( Velocity ) = lim = lim = =0 (13)
s 0 sG ( s ) s 0 K
s 2
s
1 1 1 1
ess ( Acceleration ) = lim 2 = lim = =
s 0 s G ( s ) s 0 2 K
s 2 K Ka
s

Thus a system with n = 2, or with one integration in G ( s ) has


a zero position error,
a zero velocity error and
a constant acceleration error

4/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

TABLE 1. Steady-state errors in closed loop systems

r(t) = A
Type-0 system

A ess =
ess =
1 + Kp ess =

r(t ) = At
Type-1 system

A ess =
ess = 0 ess =
Kv
Type-2 system

1 2
r(t ) = At
2
ess = 0 A
ess = 0 ess =
Ka

K p = lim G(s) Kv = lim sG(s) Ka = lim s2G(s)


s 0 s0 s0

where K p = G ( 0 ) is defined as the position error constant.


where K v = lim sG ( s ) is defined as the velocity error constant.
s 0

where K a = lim s 2G ( s ) is defined as the acceleration error constant.


s0

5/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

10.7 STEADY STATE ERROR FOR NON-UNITY FEEDBACK


SYSTEMS

R (s) E (s) C ( s)
G ( s)

H( s)

Add to the previous block two feedback blocks H1 ( s ) = 1 and H1 ( s ) = 1

R (s) E (s) C ( s)
G ( s)

H( s)
Parallel blocks. Can
be combined in one

R (s) E (s) C ( s)
G ( s)

H ( s) 1

Ge ( s)

R (s) E (s) G( s)
1+ G( s) H( s) G( s)
C ( s)

6/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

Example 1

For the system shown below, find


The system type
Appropriate error constant associated with the system type, and
The steady state error for unit step input

R (s) E (s) 100


s ( s + 10 )
C ( s)

1
s+5

Solution

7/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

8/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

9/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

10/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

11/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

12/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

13/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

14/15
ME 413 Systems Dynamics & Control Section 10-5: Steady State Errors and System Types

15/15
MCEN 467 Control Systems

Chapter 4:
Basic Properties of Feedback

Part D: The Classical Three-


Term Controllers
MCEN 467 Control Systems

Basic Operations of a Feedback Control


Think of what goes on in domestic hot water thermostat:
The temperature of the water is measured.
Comparison of the measured and the required values
provides an error, e.g. too hot or too cold.
On the basis of error, a control algorithm decides what to do.
Such an algorithm might be:
If the temperature is too high then turn the heater off.
If it is too low then turn the heater on
The adjustment chosen by the control algorithm is applied to
some adjustable variable, such as the power input to the
water heater.
MCEN 467 Control Systems

Feedback Control Properties


A feedback control system seeks to bring the measured
quantity to its required value or set-point.

The control system does not need to know why the measured
value is not currently what is required, only that is so.

There are two possible causes of such a disparity:


The system has been disturbed.
The set point has changed. In the absence of external
disturbance, a change in set point will introduce an error.
The control system will act until the measured quantity
reach its new set point.
MCEN 467 Control Systems

The PID Algorithm


The PID algorithm is the most popular feedback controller
algorithm used. It is a robust easily understood algorithm
that can provide excellent control performance despite the
varied dynamic characteristics of processes.

As the name suggests, the PID algorithm consists of three


basic modes:
the Proportional mode,
the Integral mode
& the Derivative mode.
MCEN 467 Control Systems

P, PI or PID Controller
When utilizing the PID algorithm, it is necessary to decide
which modes are to be used (P, I or D) and then specify the
parameters (or settings) for each mode used.

Generally, three basic algorithms are used: P, PI or PID.

Controllers are designed to eliminate the need for


continuous operator attention.
Cruise control in a car and a house thermostat
are common examples of how controllers are used to
automatically adjust some variable to hold a measurement
(or process variable) to a desired variable (or set-point)
MCEN 467 Control Systems

Controller Output

The variable being controlled is the output of the controller


(and the input of the plant):

provides excitation to the plant system to be controlled


The output of the controller will change in response to a change
in measurement or set-point (that said a change in the tracking
error)
MCEN 467 Control Systems

PID Controller

In the s-domain, the PID controller may be represented as:


K
U ( s) = K p + i + K d s E ( s)
s
In the time domain:
t de(t )
u (t ) = K p e(t ) + K i e(t )dt + K d
0 dt
proportional gain integral gain derivative gain
MCEN 467 Control Systems

PID Controller

In the time domain:


t de(t )
u (t ) = K p e(t ) + K i e(t )dt + K d
0 dt
The signal u(t) will be sent to the plant, and a new output y(t)
will be obtained. This new output y(t) will be sent back to
the sensor again to find the new error signal e(t). The
controllers takes this new error signal and computes its
derivative and its integral gain. This process goes on and on.
MCEN 467 Control Systems

Definitions
In the time domain:
t de(t )
u (t ) = K p e(t ) + K i e(t ) dt + K d
0 dt
1 t de(t )
= K p e(t ) + e(t )dt + Td
Ti 0 dt
integral time constant derivative time constant
Kp Kd
where Ti = , Td =
Ki Ki derivative gain

proportional gain integral gain


MCEN 467 Control Systems

Controller Effects
A proportional controller (P) reduces error responses to
disturbances, but still allows a steady-state error.

When the controller includes a term proportional to the


integral of the error (I), then the steady state error to a
constant input is eliminated, although typically at the cost
of deterioration in the dynamic response.

A derivative control typically makes the system better


damped and more stable.
MCEN 467 Control Systems

Closed-loop Response
Rise time Maximum Settling Steady-
overshoot time state error
P Decrease Increase Small Decrease
change
I Decrease Increase Increase Eliminate

D Small Decrease Decrease Small


change change

Note that these correlations may not be exactly accurate,


because P, I and D gains are dependent of each other.
MCEN 467 Control Systems

Example problem of PID


Suppose we have a simple mass, spring, damper problem.

The dynamic model is such as:


mx + bx + kx = f
Taking the Laplace Transform, we obtain:
ms 2 X ( s ) + bsX ( s ) + kX ( s ) = F ( s )
The Transfer function is then given by:
X (s) 1
= 2
F ( s ) ms + bs + k
MCEN 467 Control Systems

Example problem (contd)


Let
m = 1kg , b = 10 N .s / m , k = 20 N / m , f = 1N
By plugging these values in the transfer function:
X (s) 1
= 2
F ( s ) s + 10 s + 20
The goal of this problem is to show you how each of
K p , K i and K d contribute to obtain:
fast rise time,
minimum overshoot,
no steady-state error.
MCEN 467 Control Systems

Ex (contd): No controller

The (open) loop transfer function is given by:


X (s) 1
= 2
F ( s ) s + 10s + 20

The steady-state value for the output is:


X (s) 1
xss = lim x(t ) = lim sX ( s ) = lim sF ( s ) =
t s 0 s 0 F ( s ) 20
MCEN 467 Control Systems

Ex (contd): Open-loop step response

1/20=0.05 is the final value


of the output to an unit step
input.

This corresponds to a
steady-state error of 95%,
quite large!

The settling time is about


1.5 sec.
MCEN 467 Control Systems

Ex (contd): Proportional Controller

The closed loop transfer function is given by:


Kp
X (s) s 2 + 10s + 20 = Kp
=
F (s) Kp s 2 + 10 s + (20 + K p )
1+ 2
s + 10s + 20
MCEN 467 Control Systems

Ex (contd): Proportional control

Let K p = 300

The above plot shows that


the proportional controller
reduced both the rise time
and the steady-state error,
increased the overshoot, and
decreased the settling time
by small amount.
MCEN 467 Control Systems

Ex (contd): PD Controller

The closed loop transfer function is given by:


K p + Kd s
X (s) s 2 + 10s + 20 = K p + Kd s
=
F (s) K p + Kd s s 2 + (10 + K d ) s + (20 + K p )
1+ 2
s + 10s + 20
MCEN 467 Control Systems

Ex (contd): PD control

Let K p = 300, K d = 10

This plot shows that the


proportional derivative
controller reduced both
the overshoot and the
settling time, and had
small effect on the rise
time and the steady-state
error.
MCEN 467 Control Systems

Ex (contd): PI Controller

The closed loop transfer function is given by:


K p + Ki / s
X (s) s 2 + 10s + 20 = K p s + Ki
=
F (s) K p + Ki / s s 3 + 10s 2 + (20 + K p ) s + K i
1+ 2
s + 10s + 20
MCEN 467 Control Systems

Ex (contd): PI Controller

Let K p = 30, K i = 70

We have reduced the proportional


gain because the integral controller
also reduces the rise time and
increases the overshoot as the
proportional controller does
(double effect).

The above response shows that the


integral controller eliminated the
steady-state error.
MCEN 467 Control Systems

Ex (contd): PID Controller

The closed loop transfer function is given by:


K p + K d s + Ki / s
X (s) 2
s + 10s + 20 K d s 2 + K p s + Ki
= =
F (s) K p + K d s + K i / s s 3 + (10 + K d ) s 2 + (20 + K p ) s + K i
1+
s 2 + 10s + 20
MCEN 467 Control Systems

Ex (contd): PID Controller

Let K p = 350, K i = 300,


K d = 5500

Now, we have obtained


the system with no
overshoot, fast rise time,
and no steady-state
error.
MCEN 467 Control Systems

Ex (contd): Summary

P PD

PI PID
MCEN 467 Control Systems

PID Controller Functions


Output feedback
from Proportional action
compare output with set-point

Eliminate steady-state offset (=error)


from Integral action
apply constant control even when error is zero

Anticipation
From Derivative action
react to rapid rate of change before errors grows too big
MCEN 467 Control Systems

Effect of Proportional,
Integral & Derivative Gains on the
Dynamic Response
MCEN 467 Control Systems

Proportional Controller
Pure gain (or attenuation) since:
the controller input is error
the controller output is a proportional gain

E ( s) K p = U ( s) u (t ) = K p e(t )
MCEN 467 Control Systems

Change in gain in P controller


Increase in gain:

Upgrade both steady-


state and transient
responses
Reduce steady-state
error

Reduce stability!
MCEN 467 Control Systems

P Controller with high gain


MCEN 467 Control Systems

Integral Controller
Integral of error with a constant gain
increase the system type by 1
eliminate steady-state error for a unit step input
amplify overshoot and oscillations

t
Ki
E (s) = U ( s ) u (t ) = K i e(t )dt
s 0
MCEN 467 Control Systems

Change in gain for PI controller


Increase in gain:

Do not upgrade steady-


state responses
Increase slightly
settling time

Increase oscillations
and overshoot!
MCEN 467 Control Systems

Derivative Controller
Differentiation of error with a constant gain
detect rapid change in output
reduce overshoot and oscillation
do not affect the steady-state response

de(t )
E ( s ) K d s = U ( s ) u (t ) = K d
dt
MCEN 467 Control Systems

Effect of change for gain PD controller


Increase in gain:

Upgrade transient
response
Decrease the peak and
rise time

Increase overshoot
and settling time!
MCEN 467 Control Systems

Changes in gains for PID Controller


MCEN 467 Control Systems

Conclusions
Increasing the proportional feedback gain reduces steady-
state errors, but high gains almost always destabilize the
system.
Integral control provides robust reduction in steady-state
errors, but often makes the system less stable.
Derivative control usually increases damping and
improves stability, but has almost no effect on the steady
state error
These 3 kinds of control combined from the classical PID
controller
MCEN 467 Control Systems

Conclusion - PID

The standard PID controller is described by the


equation:

Ki
U (s) = K p + + K d s E (s)
s
1
or U ( s ) = K p 1 + s + Td s E ( s )
Ti
MCEN 467 Control Systems

Application of PID Control


PID regulators provide reasonable control of most
industrial processes, provided that the performance
demands is not too high.

PI control are generally adequate when plant/process


dynamics are essentially of 1st-order.

PID control are generally ok if dominant plant dynamics


are of 2nd-order.

More elaborate control strategies needed if process has long


time delays, or lightly-damped vibrational modes

You might also like