Control System Analysis
Control System Analysis
Workbook Contents
Tab 5. Routh-Hurwitz
1 Time Response
First order system: impulse, step and ramp responses, gain and time constant
Additional poles
Second order system: damping factor and natural frequency
Second order system with additional zero: non-minimum phase zero
2 Steady-State Error
Steady state error of closed-loop of type-0, type-1 and type-2 systems
Steady state error regarding step, ramp and acceleration inputs
3 Poles Locations and Stability
The effect of pole locations on the impulse response of a second order system
Stability and marginal stability
4 Routh-Hurwitz Stability Criterion
Tabular tool to test stability of characteristic polynomial up to the 5th degree.
Handling special cases: zero in the first column or zeros in complete row
5 Frequency Response
Lead/lag compensator submitted to sinusoidal input.
Bode plots used to select the frequency of the input,
Sinusoidal time response
6 Bode Diagrams
Bode plots of constant gain, simple integrator, double integrator, differentiator, double differentiator.
Bode plots of first order low-pass filter, first order high-pass filter, second order system and second orde
Bandwidth, resonant frequency and resonant peak
7 Relative Stability
Bode plots of first, second and third order systems.
Gain and phase margins calculation
tiator, double differentiator.
order system and second order system with an additional pole.
Time Response
1. First order system: impulse, step and ramp responses, gain and time constant. Calculation of se
2. First order system with additional pole.
3. Second order system: damping factor, natural frequency. Calculation of rise time, peak time, ove
4. Second order system with additional zero, non-minimal phase zero.
Use the radio buttons to select one of the different options, and use the sliders to change the syste
1st order
K
1.600
T 2.300
Performances Characteristics
Ts = 1.25s
4
12
0.2
0.24
8
16
0.28
0.32
0.36
0.4
0.44
0.48
0.52
0.56
0.6
0.64
0.68
0.72
0.76
0.8
0.84
0.88
0.92
0.96
1.04
1.08
11.12
1.16
1.2
1.24
1.28
1.32
1.36
1.4
1.44
1.48
1.52
1.56
1.6
1.64
1.68
1.72
1.76
1.8
1.84
1.88
1.92
1.96
2.04
2.08
22.12
2.16
2.2
2.24
2.28
2.32
2.36
2.4
2.44
2.48
2.52
2.56
2.6
2.64
2.68
2.72
2.76
2.8
2.84
2.88
2.92
2.96
3.04
3.08
33.12
3.16
3.2
3.24
3.28
3.32
3.36
3.4
3.44
3.48
3.52
3.56
3.6
3.64
3.68
3.72
3.76
3.8
3.84
3.88
3.92
3.96
4
Time (sec)
Fi
Fi
References:
Schaum’s Out
Automatic Control S
NSE
e is defined as the output of a system when subjected to standard input. Time response is used to analyze dynam
to assess the performance of closed-loop control systems. First and second order systems are essentia
ow dynamical systems behave and how some of their intrinsic parameters affect their time responses.
ystem
order system is represented by its transfer function G(s)=K/(Ts+1), where K is the system gain and T is the
e responses of first order systems to standards inputs are summarized as follow:
t and gain are important parameters of a first order system. Time constant T is the time needed for the
each approximately 63% of its final value, and therefore, it is considered the speed of system response. The DC
of the output of a system to its input after all transients have decayed. The settling time ts is the time needed by
e to reach and stay within a specified tolerance range of the final value. In general, it is a tolerance of 2%
approximation for the settling time is defined as: ts = 4T. Figure 1 shows step responses at different values of T
Figure 1a: The step response at different values of T. Figure 1b: The step response at different values of K.
r system
e system gain, ξ the damping factor and ωn the natural frequency. The poles of the system are:
es of second order system to inputs, such as impulse or step, depends on the damping factor ξ.
e system gain, ξ the damping factor and ωn the natural frequency. The poles of the system are:
es of second order system to inputs, such as impulse or step, depends on the damping factor ξ.
es to unit step input are summarized in the following table, and a family of curves with various values of ξ are sh
ponse specification
s, control performances are defined in terms of time response to step input, using some specifications such as
e, overshoot, or settling time (see Figure 3).
or underdamped systems, the rise time is defined as the time for the response to rise from 0% to 100% of its
culated by
amped systems, rise time is normally defined as the time needed for the response to rise from 10% to 90% o
ime needed for the response to reach the maximum overshoot, tp=π/ωd
ershoot: Defined as the maximum deviation at peak time from the final value and measured from unity
: Time required for the response to reach and stay within a range of the final value. Usually, it uses the band of 2%
tor (0 < ξ < 0.9), and the settling time is approximated as ts ≈ 4/ξωn.
umped (ξ = 1), the approximation of the settling time is ts≈5.834/ωn
of a stable pole tends to slow down the system response, but this effect becomes irrelevant as pole location is far
inary axis. The addition of a zero lying in the left-half s-plane makes the system response in general faster, and it
overshoot. Transfer functions with positive zeros, known as non-minimum phase zeros, have an undershoot wher
comes first negative before changing direction towards the input reference. This causes a delay in the system
make it respond slower. In frequency domain, the non-minimum phase zeros, instead of adding phase advance,
lag. Figure 4 shows an example of a step response of a second order system with a non-minimum phase zero.
make it respond slower. In frequency domain, the non-minimum phase zeros, instead of adding phase advance,
lag. Figure 4 shows an example of a step response of a second order system with a non-minimum phase zero.
Schaum’s Outline of Feedback and Control Systems, Second Edition, Section 3.13
Singularity functions: steps, ramps, impulses
Schaum’s Outline of Feedback and Control Systems, Second Edition, Section 3.14, Second-order Systems
Automatic Control Systems, Tenth Edition, Section 3-1, Introduction to Differential Equations
nse is used to analyze dynamical
order systems are essential to
r time responses.
ystem are:
ng factor ξ.
ystem are:
ng factor ξ.
2+0.5s+1).
13
order Systems
quations
Steady-State Error
1. Steady-state error of closed-loop system versus system type and inputs (step, ramp, parabolic)
2. Calculation of steady-state error.
Use the radio buttons to select one of different options and the sliders to change system parameters
K
0.400 20.0
T 2.200
15.0
F
Type 0:
10.0
Type 1:
5.0
Type 2: 0.0
0.0
0.2
0.4
0.6
0.8
1.0
1.2
1.4
1.6
1.8
2.0
2.2
2.4
2.6
2.8
3.0
3.2
3.4
3.6
3.8
4.0
4.2
4.4
4.6
4.8
5.0
5.2
5.4
5.6
5.8
6.0
6.2
6.4
6.6
6.8
7.0
7.2
7.4
7.6
7.8
8.0
8.2
8.4
8.6
8.8
9.0
9.2
9.4
9.6
9.8
10.0
10.2
10.4
10.6
10.8
11.0
11.2
11.4
11.6
11.8
12.0
12.2
12.4
12.6
12.8
13.0
13.2
13.4
13.6
13.8
14.0
14.2
14.4
14.6
14.8
15.0
15.2
15.4
15.6
15.8
16.0
16.2
16.
16
16
1
System type
Systems are classified according to their ability to track dif
Sse: Steady state error
defined as the number of integrators in the forward path of
Type0: No integrator
Type1: One integrator
Parabolic Sse = 2.5
Type2: Two integrators
48.0
6
.8.2
88.4
8.6
8.8
9.0
9.2
9.4
9.6
9.8
10.0
10.2
10.4
10.6
10.8
11.0
11.2
11.4
11.6
11.8
12.0
12.2
12.4
12.6
12.8
13.0
13.2
13.4
13.6
13.8
14.0
14.2
14.4
14.6
14.8
15.0
15.2
15.4
15.6
15.8
16.0
16.2
16.4
16.6
16.8
17.0
17.2
17.4
17.6
17.8
18.0
18.2
18.4
18.6
18.8
19.0
19.2
19.4
19.6
19.8
20.0
Time (sec)
20
The steady-state error is calculated using the final value th
Steady-state error
Steady-state error with respect to system type and inputs a
References:
Automatic Control Systems,
eir ability to track different kinds of input signals with the concept of system type, which is
n the forward path of its unity-feedback system.
rror constants, known as position constant Kp, velocity constant Kv, and acceleration
Control Systems, Second Edition, Section 9.4, Classification of Continuous Feedback Systems by Type
Poles
-0.2-0.8i -0.2+0.8i
1.0
4.0
0.8
0.6
2.0
0.4
0.2
0.0
0.0
-0.2
-2.0
-0.4
-0.6
-4.0 0.2
00.4
0.6
0.8
1.2
11.4
1.6
1.8
2.2
22.4
2.6
2.8
3.2
33.4
3.6
3.8
4.2
44.4
4.6
4.8
5.2
55.4
5.6
5.8
6.2
66.4
6.6
6.8
7.2
77.4
7.6
7.8
8.2
88.4
8.6
8.8
9.2
99.4
9.6
9.8
10.2
10
10.4
10.6
10.8
11.2
11
11.4
11.6
11.8
12.2
12
12.4
12.6
12.8
13.2
13
13.4
13.6
13.8
14.2
14
14.4
14.6
14.8
15
15
11
-4.0 -2.0 0.0 2.0
#3 #2 #1
given by: G(s) = 1/(s+a). The system has a unique pole at s = -a.
system is y(t) = e-atu(t).
ing facts:
he origin), the quicker it decays.
the origin), the longer it takes to decay.
ative, the output grows indefinitely.
he quicker it grows.
sponses, and positive poles yield unstable ones.
e of a linear system with a complex conjugate pole pair s1,2 = –σ ± jω is a decaying sinusoid
ere A the amplitude of the sinusoid, φ its initial phase, σ decaying factor, and ω the
s of the system are strictly inside the left half s-plane. That is, all the poles have negative real
e of the system is in the right half s-plane. That is, a pole with a positive real part ( s = – σ +
e on the imaginary axis (s = ± jω, with σ = 0) independently of other possible poles, the
ristics, and it is said to be marginally stable.
Control Systems, Second Edition, Section 5.2, Characteristic Root Locations for Continuous Systems
Routh-Hurwitz Stability Criterion
1. Routh-Hurwitz criterion to investigate the stability of systems up to 5th degree.
2. The tool handles the special cases:
a) Zeros in the first column. b) Entire row of zeros.
3. Enter coefficients of the characteristic equation ordered by descending powers on the yellow a
Leave lasts cells empty if necessary.
sn sn-1 sn-2 .. .. ..
→ 1 4 8 8 7 4
Legend
0.01 Replacing "0" by "0.01"
1 Sign Change where the elements bi and ci are calculated as follow:
<- Row of zeros recalculated
Special cases
Case 2:
When all the numbers of a row in the Routh table are
with the power of s corresponding to that row, differen
where its coefficients are then used to replace the zer
Consider the characteristic equation: s5+4s4+8s3+8s2+
The fifth row in the table is a complete row of zeros. In
4 is 8s + 0 and is used in the fifth row. The final Routh’s
63 stable.
References:
Automatic Control System
a tabular method for determining if all the roots of a polynomial have negative real parts. Let us consider
c equation: ansn + an-1sn-1 + ... + a1s + a0 = 0
ming the Routh’s table
e right half plane is equal to the number of sign changes in the first column of the table. Stability can be
s in the first column.
any one row, but the other elements are not. When building the Routh table, zeros in the first column are
ber and then continue normally.
c equation: s5+2s4+3s3+6s2+5s+3=0.
rd row is zero, and by replacing it (ε = 0.01), the final Routh’s table shows 2 sign changes in its first
ystem is unstable.
a row in the Routh table are zeros, a polynomial is formed using the row before the row of zeros. Starting
ponding to that row, differentiate the formed polynomial with respect to s to obtain an auxiliary polynomial
hen used to replace the zeros.
c equation: s5+4s4+8s3+8s2+7s+4=0.
s a complete row of zeros. In this case, consider the previous row, that is 4s2 + 4. Its auxiliary polynomial
e fifth row. The final Routh’s table has no sign changes in its first column. In this case, the system is
um’s Outline of Feedback and Control Systems, Second Edition, Section 5.3, Routh Stability Criterion
arts. Let us consider
ow of zeros. Starting
n auxiliary polynomial
auxiliary polynomial
e, the system is
Frequency Response
1. Lead/Lag Filter with a sinusoidal input.
2. Plot Bode diagrams as well as the time response.
3. Calculation of the magnitude and phase angle of the output for a selected frequency from the Bod
Use the sliders to change filter parameters as well as the frequency for plotting the corresponding ti
Freq
0.398
Bode Diagrams
As it is seen before, M and φ are functions of the angul
diagrams through two graphs: the magnitude and the p
and the phase in degrees.
8.3
4
8.6
7
9.0
.7
0
9.3
.0
4
10.2
9.6
10.6
9.9
10.9
11.2
11.5
11.8
12.2
12.5
12.8
13.1
13.4
13.8
14.1
14.4
14.7
15.0
15.4
15.7
16.0
16.3
16.6
17.0
17.3
17.6
17.9
18.2
18.6
18.9
19.2
19.5
19.8
20.2
20.5
20.8
21.1
21.4
21.8
22.1
22.4
22.7
23.0
23.4
23.7
24.0
24.3
24.6
25.0
25.3
25.6
25.9
26.2
26.6
26.9
27.2
27.5
27.8
28.2
28.5
28.8
29.1
29.4
29.8
30.1
30.4
30.7
31.0
31.4
31.7
32.0
32.3
32.6
33.0
33.3
33.6
33.9
34.2
34.6
34.9
35.2
35.5
35.8
36.2
36.5
36.8
37.1
37.4
37.8
38.1
38.4
38.7
39.0
39.4
39.7
40.0
40.3
40.6
41.0
41.3
41.6
41.9
42.2
42.6
42.9
43.2
43.5
43.8
44.2
44.5
44.8
45.1
45.4
45.8
46.1
46.4
46.7
47.0
47.4
47.7
48.0
48.3
48.6
49.0
49.3
49.6
49.9
50.2
50.6
50.9
51.2
51.5
51.8
52.2
52.5
52.8
53.1
53.4
53.8
54.1
54.4
54.7
55.0
55.4
55.7
56.0
56.3
56.6
57.0
57.3
57.6
57.9
58.2
58.6
58.9
59.2
59.5
59.8
60.2
60.5
60.8
61.1
61.4
61.8
62.1
62.4
62.7
63.0
63.4
63.7
64.0
Time (sec)
64.000 References:
Automatic Control Systems, Tenth
of a linear system describes how the system reacts to sinusoidal inputs at varying frequencies. The
omplementary way of characterizing how a system behaves. Even though the frequency response of a
nsient and steady state responses, the frequency response is referring to the steady-state response. If a
ain frequency is applied as an input to a linear system, the output is also a sinusoid of the same
ent magnitude and phase.
tem described by its transfer function G(s), and let's consider the input as: r(t) = Rsin(ωt),
mplitude and the angular frequency of the sinusoidal input.
the system is y(t) = Ysin(ωt + φ), a sinusoid with the same angular frequency but possibly with a
ase.
of the system is the transfer function of the system evaluated at s = jω and taken as complex number,
ejφ, where
jω)| = Y/R
(jω) = tan-1( Im(G(jω))/Re(G(jω)) ),
d φ are functions of the angular frequency ω. One way to represent these two functions is by using Bode
phs: the magnitude and the phase diagrams. The magnitude is plotted in decibels, that is 20log|G(jω)|,
Automatic Control Systems, Tenth Edition, Section 10-1, Introduction to Frequency Response
line of Feedback and Control Systems, Second Edition, Section 6.5, Continuous System Frequency Response
quencies. The
ency response of a
y-state response. If a
of the same
n(ωt),
possibly with a
complex number,
esponse
Bode Diagrams
1. Bode plots of simple systems: simple or double integrator, constant gain, differentiator, and double differentiator.
2. Bode plots of low & high pass filters: Calculation of bandwidth.
3. Second order system. Calculation of bandwidth, resonant frequency, and resonant peak in decibels.
4. Second order system + an additional pole: Calculation of bandwidth.
Use the radio buttons to select a system, and set system parameters using yellow cells.
Phase
Phase (Deg)(Deg)
K 1 0
ξ 0.1 -20
ωn 4 -40
-60
a 20 -80
-100
-120
-140
-160
-180
-200
0.01 0.10 1.00 10.00 100.00
Bode diagrams map the frequency response of linear systems through two graphs: the magnitude and the phase
magnitude is plotted in decibels, that is 20log|G(jω)|, and the phase in degrees. Both functions are plotted v
(rad/s) on a logarithmic scale (see Figure 1).
BW
10.00 100.00
(rad/s)
Figure 1: Magnitude and phase curves of G(s)=1/(s+1).
(Deg) Logarithmic scale is used when plotting functions varying over many orders of magnitude. In control engineering,
know the frequency response of a system over a wide range of frequencies.
Bandwidth
The bandwidth of a system is defined as the frequency BW where the magnitude of its transfer function drops belo
DC gain. That is : 20log|G(ωb)| = 20log|G(0)| − 3dB.
In the Figure 1, the bandwidth of the system corresponds to (BW = 1rad/s). Furthermore, it can be seen from the B
frequencies well below the bandwidth BW, the magnitude has no important attenuation, and the phase is shifted b
Consequently, we can say that, within this range of frequencies, the system will properly track the inputs. At freq
than BW, the frequency response of the system will be attenuated and lagged with respect to input. The higher the
higher the attenuation is. First and second order systems bandwidth are given by:
Bandwidth is a measure of speed of a system time response like rise time. In fact, bandwidth is also used for the
specification. Concretely, the bandwidth is inversely proportional to the rise time.
Figure 2: The Bode plots of the second order system G(s)=4/(s^2 + 0.8s + 4).
References:
Automatic Control Systems, Tenth Edition, Section 10-1, Introduction to Frequency Response
Schaum’s Outline of Feedback and Control Systems, Second Edition, Section 15.4
Bode Plots of Simple Continuous-Time Frequency Response Functions and their Asymptotic Approximations
Schaum’s Outline of Feedback and Control Systems, Second Edition, Section 15.5 Construction of Bode Plots for Continuous-Tim
Schaum’s Outline of Feedback and Control Systems, Second Edition, Section 10.4, Design Objectives
lacing s=jω. G(jω) evaluated versus a range of
e s-plane to obtain the Nyquist plots. However,
grams.
s)=1/(s+1).
on to Frequency Response
ncy-Domain Specifications
GM = inf
K 20
a 2
-40.0
b 1 0.01 0.10 1
c 0.5
Phase (Deg
0
-45
-90
-135
-180
-225
0.01 0.10 1
Gain margin
The gain margin is the amount of additiona
unstable. Consider the proportional feedback
0.0
-40.0
0.01 0.10 1.00 10.00 100.00
(rad/s)
The gain margin GM is defined as the factor b
Phase (Deg) PM instability. That is KG(jωp) = −1 and the pha
0
gain K has to be set so that |KG(jωp)| = 1, wh
-45
The gain margin GM expressed in dB is: Gm
-90
-135
Phase margin
-180
The phase margin PM is the phase shift need
the forward path of the unity-feedback phase
-225 open-loop is unitary. Hence, |G(jωg)| = 1.
0.01 0.10 1.00 10.00 100.00
(rad/s) The phase margin, measured in degrees, is: P
References:
Automatic Control Systems, T
ity indicates how much the gain of the system can be increased and how its phase can be lagged before it become
y, limit of stability occurs when 1 + G(jω) = 0, or G(jω) = -1. The transfer function, taken as a complex value
s G(jω) = -1 + 0j. In this case, we have a magnitude of |G(jω)| = 1 and the argument ∠G(ıω) = −180º.
ns measure how far the complex quantity G(jω) passes from the point (-1, 0).
gin is the amount of additional gain allowed in the forward path of the unity-feedback system before it become
sider the proportional feedback control shown in Figure 1.
gin GM is defined as the factor by which the gain of the open-loop transfer function can be multiplied before reachin
at is KG(jωp) = −1 and the phase ∠G(jωp) = −180° at phase-crossover frequency ωp. In terms of magnitude, th
be set so that |KG(jωp)| = 1, which leads to K = 1/|G(jωp)|.
n
argin PM is the phase shift needed to make the closed-loop system unstable. It is defined as the difference betwee
ath of the unity-feedback phase and -180º at gain-crossover frequency ωg, the frequency where the module of th
nitary. Hence, |G(jωg)| = 1.
Automatic Control Systems, Tenth Edition, Section 10-9, Relative Stability: Gain Margin and Phase Margin
atic Control Systems, Tenth Edition, Section 10-11, Relative Stability Related to the Slope of the Magnitude Curve of the Bode Plot
Automatic Control Systems, Tenth Edition, Section 10-10, Stability Analysis With The Bode Plot
Schaum’s Outline of Feedback and Control Systems, Second Edition, Section 15.7, Relative Stability
ed before it becomes
as a complex valued
−180º.
m before it becomes
e difference between
ere the module of the
consequently, lead to
arge enough without
-dB corresponds to a
model uncertainties,
on ξ = PM/100, which