Control Systems
Control Systems
Professor
Mr. P. Venubabu, Asst. Professor,
EEE Dept., JBIET
1
UNIT - I
INTRODUCTION TO CONTROL
SYSTEMS
2
Introduction
3
Chapter 1: Introduction to Control Systems
Objectives
In this chapter we describe a general process for designing a control system.
Modern control engineering practice includes the use of control design strategies for
improving manufacturing processes, the efficiency of energy use, advanced
automobile control, including rapid transit, among others.
We also discuss the notion of a design gap. The gap exists between the complex
physical system under investigation and the model used in the control system
synthesis.
The iterative nature of design allows us to handle the design gap effectively while
accomplishing necessary tradeoffs in complexity, performance, and cost in order to
meet the design specifications. 4
Introduction
Open-Loop Control Systems
utilize a controller or control
actuator to obtain the desired
response.
5
History
6
History
7
History
8
History
18th Century James Watt’s centrifugal governor for the speed control of a steam
engine.
1920s Minorsky worked on automatic controllers for steering ships.
1930s Nyquist developed a method for analyzing the stability of controlled systems
1940s Frequency response methods made it possible to design linear closed-loop
control systems
1950s Root-locus method due to Evans was fully developed
1960s State space methods, optimal control, adaptive control and
1980s Learning controls are begun to investigated and developed.
Present and on-going research fields. Recent application of modern control theory
includes such non-engineering systems such as biological, biomedical, economic and
socio-economic systems
9
Examples of Modern Control Systems
(a)Automobile
steering control
system.
(b)The driver uses
the difference
between the actual
and the desired
direction of travel
to generate a
controlled adjustment
of the steering wheel.
(c) Typical direction-
of-travel response.
10
Examples of Modern Control Systems
11
Examples of Modern Control Systems
12
Examples of Modern Control Systems
13
Examples of Modern Control Systems
14
Examples of Modern Control Systems
15
Examples of Modern Control Systems
16
Examples of Modern Control Systems
17
Examples of Modern Control Systems
18
The Future of Control Systems
19
The Future of Control Systems
20
Control System Design
21
22
Design Example
23
Design Example
ELECTRIC SHIP CONCEPT
Vision
Electrically
Reconfigurable
All
Integrated Ship
Electric
Power Ship
System Technology
Insertion Increasing Affordability and Military Capability
Reduced manning
Electric Drive Warfighting
Reduce # of Prime Automation
Capabilities
Movers Eliminate auxiliary
Fuel savings systems (steam,
hydraulics, compressed Main Power
Reduced maintenance air) Distribution
Propulsion Motor Prime
Generator
Motor Drive Mover
Power Ship
Conversion Service
Module Power
24
Design Example
25
Design Example
26
Design Example
27
Design Example
28
Design Example
29
30
31
Design Example
32
Design Example
33
Sequential Design Example
34
35
Sequential Design Example
36
UNIT -II
37
Figure 5.2
38
Figure 5.3
a. Cascaded subsystems;
b. equivalent transfer function
39
Figure 5.5
a. Parallel subsystems;
b. equivalent transfer function
40
Figure 5.6
a. Feedback control system;
b. simplified model;
c. equivalent transfer function
41
Figure 5.7: Block diagram algebra for summing junctions
42
Figure 5.8: Block diagram algebra for pickoff points
equivalent forms for moving a block
a. to the left past a pickoff point;
b. to the right past a pickoff point
43
Block diagram reduction via familiar forms for Example5.1
44
Block diagram reduction via familiar forms for Example5.1 Cont.
45
Block diagram reduction by moving blocks Example 5.2
Problem: Reduce the block diagram shown in figure to a single transfer function
46
Steps in the block diagram reduction for Example 5.2
47
Second-order feedback control system
K
The closed loop transfer function is T (s ) 2
s as K
Note K is the amplifier gain, As K varies, the poles move through
the three ranges of operations OD, CD, and UD
0<K<a2/4 system is over damped
K = a2/4 system is critically damped
K > a2/4 system is under damped
48
Finding transient response Example 5.3
Problem: For the system shown, find peak time, percent overshot, and settling time.
25
Solution: The closed loop transfer function is T (s ) 2
s 5s 25
And n 25 5
2 n 5 s o = 0 . 5
using values for and n and equation in chapter 4 wefind
Tp 0.726 sec
n 12
% O S e / 1 X 1 0 0 1 6 . 3 0 3
2
4
Ts 1.6 sec
n 49
Gain design for transient response Example 5.4
Problem: Design the value of gain K, so that the system will respond with a 10%
overshot. K
Solution: The closed loop transfer function is T (s )
s 2 5s K
5
n K a n d 2 n 5 t h u s =
2 K
For 10% OS we find =0.591
We substitute this value in previous equation to find K = 17.9
50
Signal-flow graph components:
a. system;
b. signal;
c. interconnection of systems and signals
51
Building signal-flow graphs
52
Converting a block diagram to a signal-flow graph
53
Converting a block diagram to a signal-flow graph
Signal-flow graph development:
a. signal nodes;
b. signal-flow graph;
c. simplified signal-flow graph
54
Mason’s rule - Definitions
Loop gain: The product of branch gains found by traversing a path that starts at a node and ends at the
same node, following the direction of the signal flow, without passing through any other node more than
once. G2(s)H2(s), G4(s)H2(s), G4(s)G5(s)H3(s), G4(s)G6(s)H3(s)
Forward-path gain: The product of gains found by traversing a path from input node to output node in
the direction of signal flow. G1(s)G2(s)G3(s)G4(s)G5(s)G7(s), G1(s)G2(s)G3(s)G4(s)G5(s)G7(s)
Nontouching loops: loops that do not have any nodes in common. G2(s)H1(s) does not touch G4(s)H2(s),
G4(s)G5(s)H3(s), and G4(s)G6(s)H3(s)
Nontouching-loop gain: The product of loop gains from nontouching loops taken 2, 3,4, or more at a
time.
[G2(s)H1(s)][G4(s)H2(s)], [G2(s)H1(s)][G4(s)G5(s)H3(s)], [G2(s)H1(s)][G4(s)G6(s)H3(s)]
55
Mason’s Rule
The Transfer function. C(s)/ R(s), of a system represented by a signal-flow graph is
C (s) T k k
G (s ) k
Where
R (s )
K = number of forward paths
Tk = the kth forward-path gain
56
Transfer function via Mason’s rule
Problem: Find the transfer function for the signal flow graph
Solution:
forward path
G1(s)G2(s)G3(s)G4(s)G5(s)
Loop gains
G2(s)H1(s), G4(s)H2(s), G7(s)H4(s),
G2(s)G3(s)G4(s)G5(s)G6(s)G7(s)G8(s)
Nontouching loops
2at a time
G2(s)H1(s)G4(s)H2(s)
G2(s)H1(s)G7(s)H4(s)
G4(s)H2(s)G7(s)H4(s)
3 at a time G2(s)H1(s)G4(s)H2(s)G7(s)H4(s)
Now
= 1-[G2(s)H1(s)+G4(s)H2(s)+G7(s)H4(s)+ G2(s)G3(s)G4(s)G5(s)G6(s)G7(s)G8(s)] + [G2(s)H1(s)G4(s)H2(s) +
G2(s)H1(s)G7(s)H4(s) + G4(s)H2(s)G7(s)H4(s)] – [G2(s)H1(s)G4(s)H2(s)G7(s)H4(s)]
1 = 1 - G7(s)H4(s)
T 1 1 [G1(s)G 2(s)G (s)G (s)G (s)][1-G (s)H (s)]
G (s) 3 4 5 7 4
57
Signal-Flow Graphs of State Equations
P roblem: draw signal-flow graph for:
x 1 2x 1 5x 2 3x 3 2r
x 2 6x 1 2x 2 2x 3 5r
x 3 x 1 3x 2 4x 3 7 r
y 4x 1 6x 2 9x 3
a. placenodes;
b. interconnect state variables and
derivatives;
c. form dx1/dt ;
d. form dx2/dt
58
Signal-Flow Graphs of State Equations
(continued)
e. form dx3 /dt;
f. form output
59
Alternate Representation: Cascade Form
C (s ) 24
R (s ) (s 2)(s 3)(s 4)
60
Alternate Representation: Cascade Form
4 1 0 0
x 1 4 x 1 x 2 X 0 r
X 0 3 1
x2 3x 2 x 3
0 0 2 24
x3 2x 3 24r
y c (t ) x 1 y 1 0 0X
61
C (s ) Alternat2e4Representation1: P2arallel F2o4rm 12
R (s ) (s 2)(s 3)(s 4) (s 2) (s 3) (s 4)
x 1 2 x 1 12r
x 2 3x 2 24r
x 3 4x 3 12r
y c (t ) x 1 x 2 x 3
2 0 0 12
X 0 3 0 X 24 r
0 0 4 12
y 1 1 1X
62
Alternate Representation: Parallel Form Repeated roots
C (s) (s 3) 2 1 1
R (s ) (s 1) (s 2) (s 1)
2 2
(s 1) (s 2)
x 1 x 1 x2
x2 x2 +2r
x 3 2x 3 r
y c (t ) x 1 1 / 2 x 2 x 3
1 1 0 0
X 0 1 0 X 2 r
0 0 2 1
y 1 1 / 2 1X
63
Alternate Representation: controller canonical form
x x
1 0 1 0 x 1 0 1 9 26 24 x 1 1
x 2
0 0 1 x 2 0 r x 2 1 0 0 x 2 0 r
24 26 9 x 3 1 0 0 x 3 0
x 3
1
x 3
x1 x1
y 2 7 1x 2 y 1 7 2x 2
64
x 3 x 3
Alternate Representation: controller canonical form
System matrices that contain the coefficients of the characteristic polynomial are
called companion matrices to the characteristic polynomial.
Phase-variable form result in lower companion matrix
Controller canonical form results in upper companion matrix
65
Alternate Representation: observer canonical form
Observer canonical form so named for its use in the design of observers
G(s) = C(s)/R(s) = (s2 + 7s + 2)/(s3 + 9s2 + 26s + 24)
= (1/s+7/s2 +2/s3 )/(1+9/s+26/s2 +24/s3 )
Cross multiplying
(1/s+7/s2 +2/s3 )R(s) = (1+9/s+26/s2 +24/s3 ) C(s)
And C(s) = 1/s[R(s)-9C(s)] +1/s2[7R(s)-26C(s)]+1/s3[2R(s)-24C(s)]
= 1/s{ [R(s)-9C(s)] + 1/s {[7R(s)-26C(s)]+1/s [2R(s)-24C(s)]}}
66
Alternate Representation: observer canonical form
x 1 9x 1 x 2 r
x 2 26x 1 x 3 +7r
x 3 24x 1 2r
y c (t ) x 1
9 1 0 1
X 26 0 1 X 7 r
24 0 0 2
y 1 0 0X
Note that the observer form has A matrix that is transpose of the
controller canonical form, B vector is the transpose of the controller C
vector, and C vector is the transpose of the controller B vector. The 2
forms are called duals.
67
Feedback control system for Example 5.8
x 1 3x 1 x 2
x 2 - 2 x 2 100(r - c )
but c 5x 1 (x 2 3x 1 ) 2 x 1 x 2
68
Feedback control system for Example 5.8
x 1 3x 1 x 2
x 2 200x 1 1 0 2 x 2 100r
y c (t ) 2x 1 x 2
3 1
0
X 102 X 100 r
200
y 2 1X
69
State-space forms for
70
UNIT-III
TIME RESPONSE ANALYSIS
71
Transient vs Steady-State
The output of any differential equation can be broken up into two parts,
• a transient part (which decays to zero as t goes to infinity) and
• a steady-state part (which does not decay to zero as t goes to infinity).
72
Prototype systems
1st Order system 1
c(t) c(t) kr(t)
2nd ordersystem c(t) 2nc(t) n2 c(t) kr(t)
Agenda:
transfer function
response to test signals
impulse
step
ramp
parabolic
sinusoidal
73
1st order system C(s) 1T
G(s)
Impulse response
Step response R(s) s 1 T
Ramp response
Relationship between impulse, step and ramp
Relationship between impulse, step and ramp responses
1 t T
r(t) (t), R(s) 1, c (t) e 1(t)
T
1 cstep (t) 1e t T 1(t)
r(t) 1(t), R(s) ,
s
1 1(t)
r(t) t1(t), R(s) 2
, cramp (t) t T Te t T
s
74
1st Order system
Prototype parameter: Time constant
We learn that the time constant defines a problem specific time scale that is more
convenient than the arbitrary time scale of seconds, minutes, hours, days, etc, or
fractions thereof.
75
Transient vs Steady state
Consider the impulse, step, ramp responses computed earlier. Identify the steady
state and the transient parts.
76
1st order Consider the impulse, step, ramp responses computed
earlier. Identify the steady state and the transient
system parts.
Impulse response
Step response C(s) 1T
Ramp response G(s) , T0
Relationship between impulse, step and ramp R(s) s 1 T
Relationship between impulse, step and ramp responses
1 t T
r(t) (t), R(s) 1, c (t) e 1(t)
T
1 cstep (t) 1e t T 1(t)
r(t) 1(t), R(s) ,
s
1 1(t)
r(t) t1(t), R(s) 2
, cramp (t) t T Te t T
s
Compare steady-state part to input function, transient part to TF.
77
C(s) n K 2
2nd order system G(s) 2
R(s) s 2n s n2
Over damped
• (two real distinct roots = two 1st order systems with real poles)
Critically damped
• (a single pole of multiplicity two, highly unlikely, requires exact matching)
Underdamped
• (complex conjugate pair of poles, oscillatory behavior, most common)
step response
cstep (t) K 1
ent
1 2
sin d t tan 1
1 2
1(t)
c (t) K n
e nt sin d t 1(t)
1 2 78
2nd Order System
Prototype parameters:
undamped natural frequency,
damping ratio
79
Transient vs Steady state
Consider the step, responses computed earlier. Identify the steady state and the
transient parts.
80
C(s) n K 2
2nd order system G(s) 2
R(s) s 2n s n2
Over damped
• (two real distinct roots = two 1st order systems with real poles)
Critically damped
• (a single pole of multiplicity two, highly unlikely, requires exact matching)
Underdamped
• (complex conjugate pair of poles, oscillatory behavior, most common)
step response
cstep (t) K 1
ent
1 2
sin d t tan 1
1 2
1(t)
c (t) K n
e nt sin d t 1(t)
1 2 81
Use of Prototypes
82
Transient-Response Spedifications
1. Delay time, td: The time required for the response to reach half the final value the
very first time.
2. Rise time, tr: the time required for the response to rise from
10% to 90% (common for overdamped and 1st order systems);
5% to 95%;
or 0% to 100% (common for underdamped systems);
of its final value
1. Peak time, tp:
2. Maximum (percent) overshoot, Mp:
3. Settling time, ts
83
Derived relations for 2nd d n 1 2
Order Systems n
1 d
tr tp tan
d d
See book for details. (Pg. 232)
1 2
Mp e 100%
4 4 3 3
ts 4T 2% ts 3T 5%
n n
Allowable Mp determines dampingratio.
Settling time then determines undamped naturalfrequency.
Theory is used to derive relationships between design specifications andprototype
parameters.
Which are related to problem parameters.
84
Higher order system
•each complex conjugate pair of poles has a damping ratio and an undamped
natural frequency.
85
Proportional control of plant w
integrator
1
GC (s) K p , G(s)
s(Js b)
86
Integral control of Plant w disturbance
K 1
GC (s) , G(s)
s s(Js b)
87
Proportional Control of plant w/o
integrator
1
GC (s) K, G(s)
Ts 1
88
Integral control of plant w/o integrator
K 1
GC (s) , G(s)
s Ts 1
89
UNIT-IV
STABILITY ANALYSIS IN S- DOMAIN
90
Routh’s Stability Criterion
How do we determine stability without finding all poles?
Actual poles provide more info than is needed.
All we need to know if any poles are in LHP.
Routh’s stability criterion (Section 5-7).
K G(s)
G(s) , T(s)
s(s s 1)(s 2)
2
1 G(s) 91
The Stability of Linear Feedback Systems
The stability of a feedback system is directly related to the location of the roots
of the characteristic equation of the system transfer function. The Routh–
Hurwitz method is introduced as a useful tool for assessing system stability. The
technique allows us to compute the number of roots of the characteristic
equation in the right half-plane without actually computing the values of the
roots. Thus we can determine stability without the added computational burden
of determining characteristic root locations. This gives us a design method for
determining values of certain system parameters that will lead to closed-loop
stability. For stable systems we will introduce the notion of relative stability,
which allows us to characterize the degree of stability.
92
The Concept of Stability
93
The Concept of Stability
The concept of stability can be
illustrated by a cone placed on
a plane horizontal surface.
A necessary and
sufficient condition for a
feedback system to be
stable is that all the
poles of the system
transfer function have
negative real parts.
95
The Routh-Hurwitz Stability Criterion
Characteristic equation, q(s) ans n a n1 sn1 a n2 s n2 a1 s a0 0
2
The Routh array is written as:
s a2 a0
1
s a.1 0
0
w here: s b.1 0
a 1 a 0 (0)a 2
b1 a0
a1
q ( s ) s 5 2s 4 2s 3 4s 2 11s 1 0
s5 1 2 11
s4 2 4 10
s3 b1 6 0
s2 c1 10 0
s1 d1 0 0
s 0 10 0 0
w here:
22 14 4 2 6 1 2 6c 1 10
b1 0 c1 d1 6
2 c1
There are t w o sign c ha nge s in the f irst column d u e to the large negativ e number
calculated f o r c1. Thus , the s y s t e m is unstable be c a us e t w o roots lie in the
right half of the plane. 98
The Routh-Hurwitz Stability Criterion
Case Three: Zeros in the first column, and the other elements of the row containing
the zero are also zero.
This case occurs when the polynomial q(s) has zeros located sy metrically about the
origin of the s-plane, such as (s+)(s -) or (s+j)(s-j). This case is solved using
the auxiliary polynomial, U(s), w hich is located in the row above the row containing
the zero entry in the Routh array.
q(s) s3 2s2 4s K
Routh array: s3 1 4
s2 2 K
s1 8 K
0
2
s0 K 0
For a stable system we require that 0s8
For the marginally stable case, K=8, the s^1 row of the Routh array contains all zeros. The
auxiliary plynomial comes f rom the s^2 row.
U(s) 2s 2 Ks 0 2s 2 8
2 s2 4 2(s j2)(s j2)
q(s) s2
U(s) 2 Thus, w hen K=8, the factors of the characteristic polynomial are:
100
Example 6.4
101
Example 6.5 Welding control
103
Design Example: Tracked Vehicle Turning Control
Problem statement: Design the turning control for a tracked vehicle. Select K
and a so that the system is stable. The system is modeled below.
104
Design Example: Tracked Vehicle Turning Control
or
K(s a)
1 0
s(s 1)(s 2)(s 5)
Thus,
s(s 1)(s 2)(s 5) K(s a) 0
or
s 4 8s3 17s2 (K 10)s Ka 0
To determine a stable region for the system, we establish the Routh array as:
s4 1 17 Ka
s3 8 (K 10) 0
s2 b3 Ka
s1 c3
s0 Ka
where
126 K b 3 (K 10) 8Ka
b3 and c3
8 b3
105
Design Example: Tracked Vehicle Turning Control
s4 1 17 Ka
s3 8 (K 10) 0
s2 b3 Ka
s1 c3
s0 Ka
where
126 K b3(K 10) 8Ka
b3 and c3
8 b3
Therefore,
K 126
Ka 0
(K 10)(126 K) 64Ka 0
106
System Stability Using MATLAB
107
System Stability Using MATLAB
108
System Stability Using MATLAB
109
System Stability Using MATLAB
110
Root Locus
•Motivation
To satisfy transient performance requirements, it may be necessary to know how to
choose certain controller parameters so that the resulting closed-loop poles are in the
performance regions, which can be solved with Root Locus technique.
•Definition
A graph displaying the roots of a polynomial equation when one of the parameters in
the coefficients of the equation changes from 0 to .
111
Poles and zeros
k(s z1 )(s z2 )(s zm ) z1 , z2 , zm zeros
F (s) poles
(s p1 )(s p2 )(s pn ) p1 , p2 , p n
Im axis
pole
zero
Re axis
112
2
T (s) n
Closed-loop transfer function :
s 2n s n 2
2
e n t
y(t) 1 sin( n 1 2 t cos 1 )
1 2
j
Im axis cos
j n 1
2
Tp
n n 1 2
4
Ts
n Re axis n
1 2
m.o. e 100%
113
j
p3
1 2 3
p2 j n 1 2 1 2 3
p1 Tp1 Tp 2 Tp3
o.s.1 o.s.2 o.s.3
n
n3 n2 n1
Ts1 Ts2 Ts3
114
j
1 2 3
1 2 3
p3 p2 p1
115
j
0
Negative damped
0
0 1 1 0
0
Undamped
1 1 1
1 0 1
1 1 Underdamped
1 0
0 1 1
0 Critically damped
1
Overdamped
116
Root locus
r(t) y(t)
k G(s)
+
-
H(s)
y(s) kG(s)
T (s)
R(s) 1 kG(s)H (s)
117
1 kG(s)H (s) 0 Open loop transfer function
kG(s)H (s) 1
kG(s)H (s) 1
kG(s)H (s) (2n 1)
Using open loop transfer function + system parameters to analyze the
closed-loop system response
k 0
Draw the s-plan root locus
118
Root locus properties:
(i) The locus segments are symmetrical about the real axis.
(ii)
1
k ,k 0
G(s)H (s)
j s0
3
G(s0 )H (s0 ) 1 ( 2 3 4 )
1
4
2
119
Root locus construction
(1) nm 0
n m branches
(2) nm 0
120
(ii) Real axis segments
1800
kG(s)H(s) 1180 0
121
k (2k 1) , k 0,1,2,
(iii) Asymptotic angles
nm
180
if n 6,m 2 450
4
450
450
122
(iv) Centroid of the asymptotes
poles zeros
nm
example 3s
G(s)H (s)
(s 2)(s2 6s 18)
Zero : 0
(2 3 j3 3 j3) 0
Poles: -2, -3+j3, -3-j3 4
31
180 900
31
123
(v) Breakaway and entry points dk
0
ds
k
example kGH
s(s 1)(s 2)
s3 3s2 2s k
1 kGH 0
s(s 1)(s 2)
124
(vi) Angle of departure and approach
126
(vii) The cross point of root locus and Im-axis
k
example kGH
s(s 3)(s2 2s 2)
s(s 3)(s2 2s 2) k 0
s4 1 8 k
s 5s 8s 6s k 0
4 3 2
s3 5 6
204 25k
0 s2 34 k
34 5
k 8.16 204 25k
s1
34
34 2
s k 0 s0 k
5
s j1.095
127
R(s) k C(s)
+ s(1 0.5s)(10.1s)
-
k
kGH(s)
s(1 0.5s)(1 0.1s)
128
0.05s3 0.6s2 s k 0 k 12
s3 0.05 1
0.6s 2 12 0
s2 0.6 k
s1
0.6 0.05k s j4.5
0.6
s k
j4.5(k 12)
600 s 0.945
4
10 2 0
(k 0) (k 0) (k 0)
j4.5(k 12)
129
MATLAB method
k
kGH(s)
s(1 0.5s)(1 0.1s)
gh=zpk([],[0 –2 -10],[1])
rltool(gh)
k(3s 9)
kGH (s)
s 4 s3 s 2 15s
n=[-3 -9]
m=[1 –1 –1 –15 0]
gh=tf(n,m)
rltool(gh)
130
UNIT-V
BODE PLOT
131
Poles and Zeros and Transfer Functions
(s p )(s p ) ... (s p )
1 2 n
wlg 132
Poles, Zeros and the S-Plane
An Example: You are given the following transfer function. Show the
poles and zeros in the s-plane.
j axis
S - plane
origin
o x o x x
-14 -10 -8 -4 0 axis
wlg
133
Poles, Zeros and Bode Plots
G( jw) K ( jw / z 1)
B
( jw)( jw / p 1)
wlg
134
Poles, Zeros and Bode Plots
20logKB
20log|(jw/z +1)|
-20log|jw|
-20log|(jw/p + 1)|
wlg
135
1 1 1 1 1 1
dB Mag
Phase
(deg)
wlg
136
(rad/sec)
Poles, Zeros and Bode Plots
20
-20db/dec
-20
=1
wlg
137
Poles, Zeros and Bode Plots
2
0
0
-20db/dec
-20
-40
20
+20db/dec
0
-20
-40
=z
wlg
139
Example 1:
Second: When you have neither poles nor zeros at 0, start the Bode
at 20log10K = 20log10100 = 40 dB in this case.
wlg
149
Example 1: (continued)
Third: Observe the order in which the poles and zeros occur.
This is the secret of being able to quickly sketch the Bode.
In this example we first have a pole occurring at 1 which
causes the Bode to break at 1 and slope – 20 dB/dec.
Next, we see a zero occurs at 10 and this causes a
slope of +20 dB/dec which cancels out the – 20 dB/dec,
resulting in a flat line ( 0 db/dec). Finally, we have a
pole that occurs at w = 500 which causes the Bode
to slope down at – 20 dB/dec.
40
20
-20
-60
-60
0.1 1 10 100 1000 10000
(rad/sec)
(rad/sec)
wlg
142
Using Matlab For Frequency Response
wlg
143
Bode Diagrams
From: U(1)
40
30
20
Phase (deg); Magnitude (dB)
10
-10
1 10 100 500
0
-20
-40
To: Y(1)
-60
100(1 jw/10)
Bode for: G( jw)
-80 (1 jw)(1 jw/ 500)
-100
10-1 100 101 102 103 104
Frequency (rad/sec)
wlg
144
Phase for Bode Plots
Comment: Generally, the phase for a Bode plot is not as easy to draw
or approximate as the magnitude. In this course we will use
an analytical method for determining the phase if we want to
make a sketch of the phase.
wlg
145
Bode Plots
Example 2: Given the transfer function. Plot the Bode magnitude.
The is
40
-20db/dec a tentative line we use
dB 20 until we encounter the
first pole(s) or zero(s)
0
not at the origin.
-20
wlg
1 (rad/sec) 146
Bode Plots
Example 2: (continued) The completed plot is shown below.
1 1 1 1 1 1
60
-20db/dec
40
20
-20
-60
0.1 1 10 100 1000
wlg
147
(rad/sec)
Bode Plots
Example 3:
-60 dB/dec
60
dB Mag 40
-40 dB/dec
20
-20 .
10(1 jw /2)
Given: G( jw)
(1 j0.025w)(1 jw /500)2
1 1 1 1 1 1
60
40
+ 20 dB/dec
20 -40 dB/dec
-60
2
0.1 1 10 100 1000 wlg
149
(rad/sec)
Bode Plots
Given:
(1 jw / 30) (1 jw /100)
2 2
G( jw)
(1 jw / 2) (1 jw/1700)
2 2
Example 5
1 1 1 1 1 1
60
40
20
-40 dB/dec
-20 Sort of a low
pass filter
+ 40 dB/dec
-40
-60
0.1 1 10 100 1000 wlg
159
(rad/sec)
Bode Plots
Example 6
640( jw 1)(0.01jw 1) 64( jw 1)(0.01jw 1)
H ( jw)
( jw) ( jw 10)
2
( jw) (0.1jw 1) 2
.
-40dB/dec
40 .
-20db/dec
20 .
-40dB/dec
dB mag 0
-20 .
-20dB/dec
-40 .
Design Problem: Design a G(s) that has the following Bode plot.
Example 7
40
30 dB
20
+40 dB/dec
-40dB/dec
0
dB mag
? ?
30 900
0.1 1 10 100 1000 wlg
rad/sec 152
Bode Plots
Procedure: The two break frequencies need to be found.
Recall:
#dec = log10[w2/w1]
Then we have:
(#dec)( 40dB/dec) = 30 dB
Also:
wlg
153
Bode Plots
Procedure:
G(s) (1 s / 5.3) 2
(1 s / 5060) 2
(1 s / 30)2 (1 s / 900)2
Clearing:
G(s) (s 5.3) (s 5060)
2 2
(s 30)2 (s 900)2
s4 s3 s2 s1 s0
wlg
154
Bode Plots
Procedure: The final G(s) is given by;
G(s)
(s 1860s 9.189e s 5.022e s 7.29e )
4 3 2 2 7 8
Testing: We now want to test the filter. We will check it at = 5.3 rad/sec
And = 164. At = 5.3 the filter has a gain of 6 dB or about 2.
At = 164 the filter has a gain of 30 dB or about 31.6.
wlg
155
Matlab (Simulink) Model:
wlg
156
Filter Output at = 5.3 rad/sec
Not to scale
68
20 db/dec
-20 db/dec
30
20
db/dec
dB
1 110 850
wlg
159
Reverse Bode Plot
Required:
From the partial Bode diagram, determine the transfer function
Example 9 (Assume a minimum phase system)
100 dB
-40 dB/dec
Not to scale
50 dB
-20 dB/dec
-20 dB/dec
10 dB
-40 dB/dec
0.5 40 300
wlg
160
w (rad/sec)
THANK YOU
161