Professional Documents
Culture Documents
Definition
A control system consists of subsystems and
processes assembled for the purpose of
controlling the outputs of the processes
1
4/28/2020
C ontrol Theory
• Branch of systems theory (study of
interactions and behavior of a complex
assemblage)
Control Open L oop
Manipulated System Control C ontrol System
Variable(s) Variable(s)
Feedback
function
3
2
4/28/2020
3
4/28/2020
4
4/28/2020
E xample
5
4/28/2020
6
4/28/2020
7
4/28/2020
8
Technological Studies Control Systems
Control Systems
1 Different types of systems
All our tools and machines need appropriate control to work, otherwise it will be difficult to
finish their designated tasks accurately. Therefore, we need control systems to guide, instruct and
regulate our tools and machines. Common control systems include mechanical, electronic,
pneumatic and computer aided. A system usually contains three main parts: input, process and
output.
2
Technological Studies Control Systems
3
Technological Studies Control Systems
2 Sub-systems
A system can be very simple, for example, a switch is only needed in controlling a light bulb to
work. However, with the advancement of technology, most of the control systems gradually become
complicated that various parts are involved. Take a lift as an example. It needs a number of parts to be
cooperative in operation, so as to transport passengers to different storeys safely and rapidly (Fig. 6).
A system may comprise some relatively small parts. They are known as sub-systems. For
instance, a lift system includes driving system, door opening system, control system, safety
system, lighting system, ventilation system and security system (Fig. 7). Fig. 8 shows a
diagram to illustrate those sub-systems in a lift.
4
Technological Studies Control Systems
In fact, each sub-system can be considered as an independent system that includes input,
process and output. While there exist relationships between the sub-systems that an output of one
sub-system may become the input of another. Take the lift as an example. The output generated
from the control system may affect the driving and door opening systems (Fig. 9). However,
attention should be paid in the complexity of relationships of some sub-systems.
Therefore, when analyzing a complicated control system, that system can be divided into
several comparatively simple sub-systems so as to familiar with the operation of the whole system
easily. Besides, based on the sub-system concept, we could understand the relationships of the parts
of the whole system much easier.
5
Technological Studies Control Systems
Fig. 10 shows a simple open loop control system. Its operation is very simple, when an input
signal directs the control element to respond, an output will be produced. Examples of the open
loop control systems include washing machines, light switches, gas ovens, etc.
A washing machine is an example of an open loop control system. Fig. 12 shows its block
diagram. The input and output of an open loop system are unrelated. An example is that the
operation of a washing machine does not depend on the cleanness of the clothes, but rather on the
preset time. Both the structure and the control process of an open loop control system are very
simple, but the result of the output depends on whether the input signal is appropriate or not.
More sophisticated example of an open loop control system is the burglar alarm system (Fig.
13). The function of the sensor is to collect data regarding the concerned house. When the
electronic sensor is triggered off (for example, by the entry of an unauthorized person), it will send
a signal to the receiver. The receiver will then activate the alarm, which will in turn generate an
alarm signal. The alarm signal will not cease until the alarm is stopped manually.
6
Technological Studies Control Systems
The drawback of an open loop control system is that it is incapable of making automatic
adjustments. Even when the magnitude of the output is too big or too small, the system will not
make the appropriate adjustments. For this reason, an open loop control system is not suitable for
use as a complex control system. Sometimes it may even require monitoring and response from the
user. For example, when a washing machine finishes cleaning the clothes, the user will need to
check whether the clothes are clean or not; if they are not, they have to be put back into the machine
and washed again.
One advantage of using the closed loop control system is that it is able to adjust its output
automatically by feeding the output signal back to the input. When the load changes, the error
signals generated by the system will adjust the output. However, closed loop control systems are
generally more complicated and thus more expensive to make.
7
Technological Studies Control Systems
8
Technological Studies Control Systems
Fig. 16 Block diagram of the open loop control system of the washing machine
Since the output of cool air by the air conditioner will affect its working, thus the control
system of the machine is a closed loop. Its block diagram of the control system is as shown in Fig.
18.
Fig. 18 Block diagram of the closed loop control system of the washing machine
9
Technological Studies Control Systems
1. Dirty clothes and an appropriate amount of detergent are put into the washing drum before the
machine is turned on.
2. The washing drum is filled with water.
3. If the water temperature deviates from the preset value, more hot water will be added.
4. The internal program causes the washing drum to rotate, so the detergent and water inside can
remove the dirt on the clothes.
5. The drum rotates at high speed controlled by the machine, so as to drain the excess water and
dry the clothes.
6. Finally, the machine stops.
As it would take much time to explain the process in words, in order to save time, we can use
an operation block diagram instead. Fig. 19 shows the operation block diagram of a washing
machine. It is hoped that the diagram can help you understand quickly the sequence and relation of
the main operational steps.
10
Technological Studies Control Systems
BLOCK DIAGRAM
11
Technological Studies Control Systems
The structure of the electric toothbrush can be designed according to its operation block
diagram. Fig. 23 shows the cross section of a typical electric toothbrush, the operation of which
should correspond with the block diagrams shown above.
12
Technological Studies Control Systems
Exercise
1. Which three parts are commonly involved in a control system? How to categorize this control
system?
3. What is the main difference between an open loop control system and a closed control system?
Use block diagram to elaborate.
4. Explain the positive and negative feedback in a closed loop control system. What are the
differences between them and how they affect the control system?
5. Draw the control block diagram for a household constant-temperature type (with double
metallic sheets) electric iron.
(a) Briefly describe the working principles of using refrigerant to absorb the heat in the
refrigerator.
(b) Draw the block diagram of the cooling system of the refrigerator, and clearly mark
the flow of the refrigerant.
(c) There is a temperature controller for the adjustment of the inner temperature of the
refrigerator.
(i) Draw the block diagram of the control system of the refrigerator.
(ii) Is the control system of the refrigerator classified as open loop or close loop
control system?
13
chp3 3
Inductive storage
Electrical inductance
Translational spring
Rotational spring
Fluid inertia
chp3 5
Capacitive Storage
Electrical capacitance
Translational mass
Rotational mass
chp3 6
Energy dissipators
Electrical resistance
Translational damper
Rotational damper
chp3 7
Springs
- Stiffness Element
- Stores potential energy
x
chp3 8
Spring Connections
• Spring in series: KEQ=K1K2/(K1+K2)
Dampers Connections
• Dampers in series: BEQ=B1B2/(B1+B2)
Modeling Methods
• State assumptions and their rationales
• Establish inertial coordinate system
• Identify and isolate discrete system elements (springs,
dampers, masses)
• Determine the minimum number of variables needed to
uniquely define the configuration of system (subtract
constraints from number of equations)
• Free body diagram for each element
• Write equations relating loading to deformation in system
elements
• Apply Newton’s 2nd Law:
– F = ma for translation motion
– T = Iα for rotational motion
chp3 14
d 2 y(t ) dy(t )
M 2
b ky(t ) r(t )
dt dt
chp3 15
Mason’s rule states that the input–output transfer function associated with a signal-‡ow graph is
given by Mason’s rule
Y (s) 1 X
G(s) = = Gi i ;
U (s) i
1 The derivation is based on Cramer’s rule for solving linear equations by determinants and is described in Mason’s
papers.
1
2 APPENDIX W. BLOCK DIAGRAM REDUCTION
where
Example W.1 Mason’s Rule in a Simple System Find the transfer function for the block diagram
in Fig. W.2.
SOLUTION From the block diagram shown in Fig. W.2 we have
Forward Path Path Gain
1236 G1 = 1 1s (b1 )(1)
12346 G2 = 1 1s 1 (b )(1)
s 2
123456 G3 = 1 s1 1 1
s s (b3 )(1)
Loop Path Gain
232 l1 = a1 =s
2342 l2 = a2 =s2
23452 l3 = a3 =s3
and the determinants are
a1 a2 a3
= 1 +0
s s2 s3
1 = 1 0
2 = 1 0
3 = 1 0:
Mason’s rule is particularly useful for more complex systems where there are several loops, some
of which do not sum into the same point.
Example W.2 Mason’s Rule in a Complex System Find the transfer function for the system shown
in Fig. W.3.
SOLUTION From the block diagram, we …nd that
Forward Path Path Gain
12456 G 1 = H 1 H2 H3
1236 G2 = H4
Loop Path Gain
242 l1 = H1 H5 (does not touch l3 )
4 APPENDIX W. BLOCK DIAGRAM REDUCTION
454 l 2 = H2 H 6
565 l3 = H3 H7 (does not touch l1 )
236542 l 4 = H4 H 7 H 6 H 5
and the determinants are
= 1 (H1 H5 + H2 H6 + H3 H7 + H4 H7 H6 H5 ) + (H1 H5 H3 H7 )
1 = 1 0
2 = 1 H2 H6 :
Therefore,
Y (s) H 1 H2 H3 + H4 H 4 H 2 H6
G(s) = = :
U (s) 1 H1 H 5 H 2 H 6 H3 H 7 H 4 H 7 H 6 H 5 + H 1 H 5 H 3 H 7
Mason’s rule is useful for solving relatively complicated block diagrams by hand. It yields the
solution in the sense that it provides an explicit input–output relationship for the system represented
by the diagram. The advantage compared with path-by-path block-diagram reduction is that it is
systematic and algorithmic rather than problem dependent. MATLAB and other control systems
computer-aided software allow you to specify a system in terms of individual blocks in an overall
W.3. 4MASON’S RULE AND THE SIGNAL-FLOW GRAPH 5
system, and the software algorithms perform the required block-diagram reduction; therefore, Ma-
son’s rule is less important today than in the past. However, there are some derivations that rely on
the concepts embodied by the rule, so it still has a role in the control designer’s toolbox.
1. 4 Find the transfer functions for the block diagrams in Fig. 3.53, using Mason’s rule.
2. 4 Use block-diagram algebra or Mason’s rule to determine the transfer function between R(s)
and Y(s) in Fig. W.4.
Block Diagram Reduction
Example 3:
Example 4:
Example5:
/ /
C o e ti g C as aded N l
okDiag a i to
a2 ig alFlo G aph:
C o e ti g P a al
lel2 ste Nl
okDiag a i toa2 ig al
Flo G aph:
/ /
C o e ti g Feed a k2 ste N l
okDiag a i toa
2 ig alFl
o G aph:
E a pl
e-:
C o e t the l
okdiag a i toasig alfl
o g aph:
/ /
e )fd esqred ,
sqm plqfy the sqgnal-
flow graph to the one show n qn Fqgu re c by
elqm qnatqng sqgnals that have a sqngle flow qn and a sqngle flow ou t,
su c h asV s ,
V s, V s, and V s .
a )npu t nod e
b C u tpu t nod e
c Forw ard paths
d Feed bac k paths
e Selfloop
f D eterm qne the loop gaqnsofthe feed bac k loops
g D eterm qne the path gaqnsofthe forw ard paths
/ /
E a pl
e-:
A s es
E a pl
e-:C o side the sig alfl
o g aph el
o a d ide tif the fol
lo i g;
e There are tw o forw ard path gaqns; e N ontou c hqng loop gaqns;
M aso ’
s Rul
e:
e The transferfu nc tqon,T =C s /
R s ,ofa system represented by a sqgnal-
flow graph
qs;
W here
E a pl
e-: Dete i e the o t ol atioC /R a d the a o i al
lokdiag a ofthe feed a k o t ols ste .
E a pl
e-:
C o ti ue.fi di g the o t ol atioC /
R
/ /
E a pl
e-:
C o ti ue.fi di g the a o i al l
okdiag a
+ + C(s)
Original Part
- -
Compensator
Introduction
• We have already discussed the affect of location of poles and zeros
on the transient response of 1st order systems.
1
04/05/2020
2
04/05/2020
3
04/05/2020
Introduction
• A general second-order system is characterized by
the following transfer function.
C( s ) n2
R( s ) s 2 2 n s n2
Introduction
C( s ) n2
R( s ) s 2 2 n s n2
n un-damped natural frequency of the second order system,
which is the frequency of oscillation of the system without
damping.
4
04/05/2020
Example#1
• Determine the un-damped natural frequency and damping ratio
of the following second order system.
C( s ) 4
2
R( s ) s 2 s 4
C( s ) n2
2
R( s ) s 2 n s n2
n2 4 n 2 rad / sec
2 n s 2 s
n 1
s 2 2 n s n2 s 2 2 s 4
0.5
Introduction
C( s ) n2
R( s ) s 2 2 n s n2
n n 2 1
n n 2 1
5
04/05/2020
Introduction
n n 2 1
n n 2 1
• According the value of , a second-order system can be set into
one of the four categories:
1. Overdamped - when the system has two real distinct poles ( >1).
jω
δ
-c -b -a
Introduction
n n 2 1
n n 2 1
• According the value of , a second-order system can be set into
one of the four categories:
2. Underdamped - when the system has two complex conjugate poles (0 < <1)
jω
δ
-c -b -a
6
04/05/2020
Introduction
n n 2 1
n n 2 1
• According the value of , a second-order system can be set into
one of the four categories:
δ
-c -b -a
Introduction
n n 2 1
n n 2 1
• According the value of , a second-order system can be set into
one of the four categories:
4. Critically damped - when the system has two real but equal poles ( = 1).
jω
δ
-c -b -a
7
04/05/2020
Time-Domain Specification
For 0< <1 and ωn > 0, the 2nd order system’s response due to a
unit step input looks like
15
Time-Domain Specification
• The delay (td) time is the time required for the response to
reach half the final value the very first time.
16
8
04/05/2020
• The rise time 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
commonly used.
Time-Domain Specification
• The peak time is the time required for the response to reach
the first peak of the overshoot.
18
18
9
04/05/2020
Time-Domain Specification
The maximum overshoot is the maximum peak value of the
response curve measured from unity. If the final steady-state
value of the response differs from unity, then it is common to
use the maximum percent overshoot. It is defined by
19
Time-Domain Specification
• The settling time is the time required for the response curve
to reach and stay within a range about the final value of size
specified by absolute percentage of the final value (usually 2%
or 5%).
20
10
04/05/2020
1 s 2 n
C( s ) 2
s s 2 n s n2
n2 1 2
1 s 2 n
C( s ) 2
s 2 n
2 s s 2 n s 2 n2 n2 2 n2
1 s 2 n
C( s )
s s n 2 n2 1 2
11
04/05/2020
n 1 2
1 s n 1 2
C( s )
s s n 2 d2 s n 2 d2
1 s n d
C( s )
s s n d
2 2
1 2 s n d
2 2
c( t ) 1 e n t cos d t e n t sin d t
2
1
c( t ) 1 e nt cos d t sin d t
1 2
• When 0
d n 1 2
n
c(t ) 1 cos n t
12
04/05/2020
1.6
1.4
1.2
0.8
0.6
0.4
0.2
0
0 2 4 6 8 10
1.2
0.8
0.6
0.4
0.2
0
0 2 4 6 8 10
13
04/05/2020
1.2
0.8
0.6
0.4
0.2
0
0 2 4 6 8 10
1.2
0.8
0.6
0.4
0.2
0
0 1 2 3 4 5 6 7 8 9 10
14
04/05/2020
1.2
0.8
wn=0.5
0.6 wn=1
wn=1.5
wn=2
0.4 wn=2.5
0.2
0
0 1 2 3 4 5 6 7 8 9 10
12
1. G ( s )
s 8 s 12
2
16
2. G ( s )
s 8s 16
2
20
3. G ( s )
s 8 s 20
2
30
15
04/05/2020
tr tp
d d 1 2
n 1 2 n
4
t s 4T Maximum Overshoot
n
3 Mp e
1 2
100
t s 3T
n
Settling Time (4%)
Example
• Consider the system shown in following figure, where
damping ratio is 0.6 and natural undamped frequency is 5
rad/sec. Obtain the rise time tr, peak time tp, maximum
overshoot Mp, and settling time 2% and 5% criterion ts when
the system is subjected to a unit-step input.
16
04/05/2020
Example
Rise Time Peak Time
tr tp
d d
4
t s 4T
n Mp e
1 2
100
3
t s 3T
n
Settling Time (4%)
Example
Rise Time
tr
d
3.141
tr
n 1 2
n 1 2
tan1( ) 0.93 rad
n
3.141 0.93
tr 0.55s
5 1 0. 6 2
17
04/05/2020
Example
Peak Time
Settling Time (2%)
4
tp ts
d n
4
3.141 ts 1.33s
tp 0.785s 0.6 5
4
Settling Time (4%)
3
ts
n
3
ts 1s
0. 6 5
Example
Maximum Overshoot
1 2
Mp e 100
3.1410.6
1 0.6 2
Mp e 100
M p 0.095 100
M p 9.5%
18
04/05/2020
Example
Step Response
1.4
1.2 Mp
0.8
Amplitude
0.6
0.4
Rise Time
0.2
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6
Time (sec)
Example
• For the system shown in Figure, determine the values of gain K and
velocity-feedback constant Kh so that the maximum overshoot in
the unit-step response is 0.2 and the peak time is 1 sec. With these
values of K and Kh, obtain the rise time and settling time. Assume
that J=1 kg-m2 and B=1 N-m/rad/sec.
19
04/05/2020
Example
Example
C( s ) n2
2
R( s ) s 2 n s n2
(1 KK h )
n K
2 K
20
04/05/2020
Example
(1 KK h )
n K
2 K
• Maximum overshoot is 0.2. • The peak time is 1 sec
tp
d
3.141
1
n 1 2
) ln 0.2
1 2
ln( e
3.141
n
1 0.456 2
n 3.53
Example
n 3.96
(1 KK h )
n K
2 K
3.53 K 0.456 2 12.5 (1 12.5 K h )
3.53 2 K K h 0.178
K 12.5
21
04/05/2020
Example
n 3.96
4
tr ts
n 1 2 n
t r 0.65s t s 2.48s
3
ts
n
t s 1.86s
Example
• Find the time domain specifications of a
control system having the closed loop transfer
( )
function = when the unit step
( )
signal is applied as an input to this control
system.
22
04/05/2020
Solution
Solution
23
04/05/2020
Introduction
• Steady-state error, ess: The difference between the input and the
output for a prescribed test input as time, t approaches ∞.
Step Input
Introduction
• Steady-state error, ess: The difference between the input and the
output for a prescribed test input as time, t approaches ∞.
Ramp Input
24
04/05/2020
Error: e(t ) r (t ) y (t )
Steady-state error: ess lim e(t )
t
25
04/05/2020
Test Inputs
• Test Inputs: Used for steady-state error analysis and design.
• Step Input:
– Represent a constant position.
– Useful in determining the ability of the control system to position itself
with respect to a stationary target.
• Ramp Input:
– Represent constant velocity input to a position control system by their
linearly increasing amplitude.
• Parabolic Input:
– Represent constant acceleration inputs to position control.
– Used to represent accelerating targets.
Test Inputs
26
04/05/2020
f () lim sF ( s )
• The following system has an open-loop
s 0 gain, G(s) and a unity feedback
since H(s) is 1. Thus to find E(s),
E ( s) R( s) C ( s) …(1)
C ( s ) R ( s )G ( s ) …(2)
• Substituting the (2) into (1) yields,
R(s )
E ( s)
1 G (s)
e() lim sE ( s)
s 0
sR ( s )
lim
s 0 1 G(s)
27
04/05/2020
1
1 lim G ( s )
s 0
• The term:
lim G ( s )
s 0
1
s lim sG ( s )
s 0
1
lim sG ( s )
s 0
28
04/05/2020
1
2
s lim s 2G ( s )
s 0
1
lim s 2G ( s )
s 0
5 5 5
estep () eramp ()
1 lim G ( s ) 21 lim sG ( s )
s 0 s 0
5
e para ()
lim s 2G ( s )
s 0
29
04/05/2020
System Type
• System Type: The value of n in the denominator or, the number of
pure integrations in the forward path.
• Therefore,
i. If n = 0, system is Type 0
ii. If n = 1, system is Type 1
iii. If n = 2, system is Type 2
System Type
• Example:
i. K s 2
G s Type 0
s 1s 3
ii. K 0.5s 1
G s Type 1
s s 12 s 1 s 2 s 1
iii. K 2 s 1
G s Type 3
s3
30
04/05/2020
• Position constant:
K p lim G ( s )
s0
• Velocity constant:
K v lim sG ( s )
s 0
• Acceleration constant:
K a lim s 2G ( s )
s 0
Thus,
R
ess
1 K p
31
04/05/2020
Thus,
R
ess
Kv
Thus,
R
ess
Ka
32
04/05/2020
K p 20, K v 0, K a 0
R 5 R
estep () eramp ()
1 K p 21 Kv
R
e para ()
Ka
33
04/05/2020
34
04/05/2020
35
04/05/2020
36
5/8/2020
1
5/8/2020
u( t ) M y( t ) N
Marginally stable/unstable
The impulse response of a system is absolutely
The definitions of (1), (2), and (3) are equivalent
integrable.
for LTI system.
2
5/8/2020
3
5/8/2020
Case - 1 Case - 2
No zero appear First element of a row is zero
4
5/8/2020
Case - 3 Case - 3
All elements of a row is zero Method 1
First factorized the polynomial and analyze each factor
Q(s)= s5 + s4 + s3 + s2 +2s +2 individually
s5 1 1 2 For the above polynomial we have
s4 1 1 2 s5 + s4 + s3 + s2 +2 s +2 = (s+1)(s4 +s2 +2)
s3 0 0 We then create Routh array for s+1 and for s4+s2+2
• A case 3 polynomial contains even polynomials, Method 2
called auxiliary polynomial, as a factor. Differentiate the aux polynomial
• Row above zero row indicates auxiliary polynomial Coefficient of the result replaces the zero row
• Auxiliary polynomial of s5 + s4 + s3 + s2 +2 s +2 is
Coefficient of 4s3 + 2s replaces the zero
Qa = s4 +s2 +2
s3 4 2
• Two method available to solve this problem.
12ε -14 s0
s4 1 0 4 s0 3
5
5/8/2020
Exercise Solution
Unstable System
Exercise Exercise
s3 3408.3s2 1204000s 1.5 107 K 0 K 273.57 A(s) 3408.3s2 4.1036 109 0
s3 1 1204000 s j1097 roots when K 273.57
s2 3408.3 1.5 107 K
410.36 107 1.5 107 K
s1 0
3408.3
s 0
1.5107 K
410.36 107 1.5 107 K
a.s. 0 & 1.5 107 K 0
3408.3
For the system to be stable
0 K 273.57
6
5/8/2020
Exercise Example
We have control system as follow
compensator plant
2
K
s 4 s 2 5s 2
3
2
K p lim K 3 K
s 0
s 4s2 5s 2
Steady state error is ess =1/(1+K) < 2%, thus K > 49.
Example Example
However we have to check the stability, and we will use To overcome the previous problem we have to
Routh-Hurwitz criterion
The CE is found to be
use PI controller
compensator plant
s3 + 4s2 +5s+ 2+2K = 0 2
KP+ KI /s
The array becomes s 4 s 2 5s 2
3
s3 1 5
s2 4 2+2K
s1 (18-2K)/4 K<9
• Using this controller ess= 0
s0 2 + 2K K>-1
Here for stability requirement we must have • We will find values of KP and KI to assure the
-1<K<9 stability
We conclude that, using proportional compensator, our • Characteristic equation is found to be
requirement to have ess<2% cannot be satisfied. s4 +4s3 + 5s2 +(2+2KP)5s+ 2KI = 0
7
5/8/2020
8
5/8/2020
Where N is the numerator polynomial and D is the And from the above equation we can manipulate
denominator polynomial of the transfer functions, an equation such as
respectively.
Now, we know that to find the poles of the
equation, we must set the denominator to 0, and And finally by converting to polar coordinates, we
solve the characteristic equation get
9
5/8/2020
10
5/8/2020
Rule 7: Root Locus Location on the Real Rule 9: Angle of Departure and Arrival
Axis Rule 10: Point of Intersection with the
The root loci may be found on portions of the Imaginary Axis
real axis to the left of an old number of open
loop poles and zeros.
Rule 11: Determination of K
11
5/8/2020
Step #1 Step #2
Draw the n poles and m zeros Determine the loci on the
of G(s)H(s) using x and o real axis:
respectively
Choose a arbitrary test
1 point.
G s
ss 1s 2 If the TOTAL number of
both real poles and zeros
3 poles:
is to the RIGHT of this
p1 = 0; p2 = -1; p3 = -2
point is ODD, then this
No zeros point is on the root locus
12
5/8/2020
Step #3 Step #4
Determine the n - m
asymptotes: Find the breakpoints.
Locate s = α on the real Express K such as:
axis: 1
K ss 1s 2
q 0, 1, 2,
G( s )H ( s )
K s 3 3s 2 2 s
Compute and draw
angles: Set dK/ds = 0 and solve
1800 2 0 1 for the
600 2 poles.
0 3 0 3s 6 s 2 0
180 2 1 1 1800 s1 1.5774, s2 0.4226
0
1
3 0
Exercise
Step #5
Points on imaginary axis
satisfy:
s j jω?
Points on root locus
satisfy:
1 KG s H s 0
- jω
Substitute s=jω into the
characteristic equation (-0.784,0)
and solve for ω. 0 or 2
13
5/8/2020
Exercise Exercise
Exercise Solution
14
5/8/2020
Exercise Exercise
15
5/8/2020
16
5/12/2020
2. F requency R esponse of the typical elements of
the linear systems Graphics
3. Bode, Polar diagram of the open loop system mode
4. Nyquistcriterion
5. System analysis based on the frequency
response A nalysis
6. F requency response of the closed loop systems
7. F requency domain specifications and its time
correlation
D tp ac
ay
c ys
T ime
ay Dt p
Ar f 360º
ac 2p
1
5/12/2020
Introduction Introduction
E xamples
The frequency characteristic :
a unity feedback control system, the openloop transfer function: 1 1
f ( j ) s j
1 0.5s 2 0.5 j 2
G ( s)
0.5s 1 T he magnitude and phase T he output response:
If : r ( t) 10sin(4t 60o ) 20cos(4t 45o )
response :
2
5/12/2020
Ar
j 0.5 1 10
1 4 0.1
1 f ( s) 1 E ( j) R ( j)
j 0.5 2 5
0.5s 2 4 20
0.5s 1
4 0.01
0
0.5s 2 j 0.5 1 0.01 0.1 1 10 100
E ( j ) R ( j) 90
T he error frequency response: j 0.5 2 4
Developing a Bode Plot from the Derivation of the Bode Plot for a
T ransfer F unction F irst Order Process
Kp Kp
G p ( s) G p ( i )
G p ( i ) R ( ) i I ( ) t ps 1 it p 1
A fter rationalization
Kp K p t p
Ar ( ) R 2 ( ) I 2 () G p ( i ) 2 2 i 2 2
tp 1 tp 1
K p2 K p2 2t 2p Kp
Ar ( )
I ( ) t 1
2 2
t 1
2 2
f () tan 1
p p
R ( ) f ( ) tan ( t p )
1
3
5/12/2020
frequency. 0.1
270
360
c
0.01 0.1 1 10 100
4
5/12/2020
Ar
0.01
45
90
135
PM
180
0.01 0.1 1 10 100
Introduction Introduction
T hree advantages: Uc ( j ) 1
Make: G ( j )
* F requency response(mathematical modeling) can be obtained Ur ( j ) j RC 1
directly by experimental approaches. then: U c ( j ) G ( j )U r ( j )
* easy to analyze the effects of the system ith sinusoidal voices.
* easy to analyze the stability of the systems ith a delay We have: uc ( t ) U cm sin( t j c )
element
R Here: U cm U c ( j ) G ( j ) U r ( j ) j c Uc ( j) G( j) U r ( j)
frequency response
1 tg1( RC) j 0
F or a R C circuit: A
C uc ( RC ) 2 1
If : u r A sin( t j 0 ) ur
We call: U c ( j ) 1
We have the steadystate response: G ( j )
U r ( j ) j RC 1
1
jC 1
U c ( j ) U r ( j ) U r ( j )
1 jRC 1 F requency Response(or frequency characteristic) of the electric
R
jC
circuit.
5
5/12/2020
6
5/12/2020
r ( t) A sin t y ( t) B sin( t f ) Y ( s) k ( s z1 )( s z2 ) 3
LT I system
R ( s) ( s p1 )( s p2 )( s2 as b) 3
B
Magnitude: Phase: f C ase I : k
GH (dB)
A
Magnitude:
r (t ) y (t )
G(s) 0.1 1 10
+
- k dB 20 log k ( dB)
H(s)
GH
Y ( s) G ( s) Phase: 1800
R ( s) 1 G ( s) H ( s)
s s j s j
0 o 900
,k 0
k o
Magnitude:
G ( j ) Phase: G ( j ) 180 , k B 0
1 G ( j ) H ( j ) [1 G ( j ) H ( j)] The gain term, 20logK B, is just so many dB and this is a straight line on
Bode paper, independent of omega (radian frequency).
1 p 1
( j ) p
20 p log ( dB) ( j ) p
dB
20 p log ( dB)
dB 0.1 1 10 0.1 1 10
GH GH
Phase: Phase: p 2
1800
p 1
1 900 900
( j) p
( 90o ) p
p 1
( j ) p (90o ) p
900 900
p 2
1800 1800
The term, 20log|j| 20log, hen plotted on semilog paper is a
straight line sloping at 20dB/decade
7
5/12/2020
a 1
C ase IV : or ( s 1) 1 C ase V : ( s a) 1
( s a) a or ( s 1)
a 1 a a a 1
Magnitude: Magnitude:
GH (dB) GH (dB)
(1 j )1 20 log 1 ( ) 2 (1 j ) 20 log 1 ( ) 2
a dB a a dB a
10 log[1 ( ) 2 ]
10 log[1 ( ) 2 ]
a 0.1 1 10 a 0.1 1 10
BB a 0 dB 10 log 1 0 BB a 0 dB 10 log 1 0
a a
a 1 j dB 20 log GH a 1 j dB 20 log GH
a a a
0
a 45 0
a a a a 450
dB [ 20 log 20 log a] 180 dB 20 log 20 log a 1800
a 1 j1 dB 10 log 2 3.01 900 a 1 j1 dB 10 log 2 3.01 900
Phase: Phase:
900 900
(1 j ) 00 tan 1 (1 j ) tan 1
a a 180 0 a a 1800
BB a 0 GH tan 1 0 0o BB a 0 GH tan 1 0 0o
a a
a GH tan 1 90o a GH tan 1 90o
a a
n2
C ase V I : T ( s)
s 2x ns n2
2
n2 2x n
T ( j ) 2
T ( j ) tan 1 2
( n 2 ) 2 j x n ( n 2 )
2x
1 n
T ( j ) T ( j ) tan 1
2
(1 ( ) ) j 2x 1 ( ) 2 n
n n n
0 , BB 1 , BB 1
n 0 0
n
1 T ( j ) 90 ,
0
T ( j ) 20 log( 2x ) , 1
n 180o n
40 log( ) , 1 , 1
n n n
8
5/12/2020
9
5/12/2020
Matlab
Procedure E xample
• C onsider the folloing transfer function
t 1 100 ns
10 5 j(1 jt 2 )
H ( j ) t 2 10 ns
(1 jt 1 )(1 jt 3 )
t 3 100 ps
• Break frequencies: invert time constants
1 10 Mrad/s 2 100 Mrad/s 3 10 Grad/s
j
(1 j )
105 2
H ( j )
(1 j )(1 j )
1 3
10
5/12/2020
Magnitude Bode Plot: DC Zero Magnitude Bode Plot: Add F irst P ole
80
j 80 1 10 Mrad/s
j
60
105 60
105 dB
40 40
20 0 dB 20
104 105 106 107 108 109 1010 1011 104 105 106 107 108 109 1010 1011
20 20
40 40
60 60
1
80 80
1 j
107 dB
11
5/12/2020
Magnitude Bode Plot: Add 2nd Magnitude Bode Plot: Add 2nd
80 100 Mrad/s
2
Zero 80 Pole
1 j 3 10 Grad/s
60 108 dB
60
40 40
20 20
104 105 106 107 108 109 1010 1011 104 105 106 107 108 109 1010 1011
20 20
1
40 40
1 j
60 60 1010 dB
80 80
45
104 105 106 107 108 109 1010 1011
45
90
135
180
12
5/12/2020
Phase Bode Plot: Add F irst Pole Phase Bode Plot: Add 2nd Zero
180 180
j
135 5 135
1 j
10 108
90 90
45 45
104 105 106 107 108 109 1010 1011 104 105 106 107 108 109 1010 1011
45 45
90 90
1
135 135
1 j
180
107 180
Phase Bode Plot: Add 2nd Pole C omparison to “Actual” Phase P lot
180
135
90
45
104 105 106 107 108 109 1010 1011
45
90
1 j
135
1010
180
13
5/12/2020
E xample : 50( s 2)
T ( s)
s( s 10)
1 s 2 10
T ( s) 10( )( )( )
s 2 s 10
14
5/12/2020
15
5/12/2020
16
5/12/2020
0dB
Gain and Phase Margin GH (dB) ( 1,0)
180
0
GH (dB)
G.M.<0
E xercise
Unstable system
g • S ketch Bode plot for the folloing transfer
function
GH • Determine the system gain K for the gain
1800 S table system cross over frequency to be 5 rad/sec
900
900
p
1800
P.M.<0
Unstable system
20
5/12/2020
S olution S olution
Magnitude Plot
Phase Plot
• Let ωl 0.5 rad/sec and ωh 100 rad/sec
• Let A |G(jω)|in db
• Let us calculate A at ωl, ωc1, ωc2 and ωh
21
5/12/2020
Determination of K
• At 5 rad/sec the gain is 28 db
Introduction Introduction
– T he polar plot of sinusoidal transfer function G(jω) – In the polar plot the magnitude of G(jω) is
is a plot of the magnitude of G(jω) verses the plotted as the distance from the origin hile
phase angle of G(jω) on polar coordinates as ωis phase angle is measured from positive real
varied from zero to infinity. G ( j ) G ( j )
axis.
– T herefore it is the locus of as ωis – + angle is taken for anticlockise direction.
varied
G( j)from
G( j)zero
Mejf (to
) infinity.
– Polar plot is also knon as Nyquist Plot.
– As Mejf ()
– So it is the plot of vector as ωis varied
from zero to infinity
22
5/12/2020
• Step 4: A t ω0 & ω∞ find G( j) by G ( j) lim G (&
lim j )
Steps to dra Polar Plot conti… Polar Plot for Type 0 System
• S tep 7: Put Im [G(jω) ]0, determine the • L et K
G ( s)
frequency at hich plot intersects the real axis (1 + sT1 )(1 + sT2 )
23
5/12/2020
K
• S tep 4: S eparate the real and Im part of
lim G ( j )
1+ (T1 )
2
1 + j (T2 )
2
K
G(jω ) K (1 T T ) K (T + T )
2
0
G ( j ) j 1 2 1 2
K (1 2T1T 2 ) 1
• Step 3: Taking the limit of the Phase A ngle of 0 &
• Step 5: 1Put
+ 2Re
T 22 +[G(jω
4T1T2 )]0
2 2
1 + T T1T 2
G(jω
lim)G ( j) tan T tan T 0
1
1
1
2 So (hen
0
24
5/12/2020
• Step
lim3:
G ( jTaking
) 90 the
tan limit
0
of the
T tan
1
T Phase
1 90 A ngle of
1
2
0
G(jω )
0
25
5/12/2020
Note E xercise
• Introduction of additional pole in denominator • S ketch the polar plot for
contributes a constant 1800 to the angle of G(s)20/s(s+1)(s+2)
G(jω) for all frequencies. See the Figure 1, 2 & • S olution:
3 • S tep 1: Put 20sjω
Figure 1+(1800 Rotation)Figure 2 G ( j)
j( j + 1)( j + 2)
20
Figure 2+(1800 Rotation)Figure 3
2 +1 2 + 4
900 tan 1 tan 1 / 2
26
5/12/2020
E xercise E xercise
• Step 2: Taking the limit for magnitude of • S tep 4: S eparate the real and Im part of
G(jω) G(jω)
20 60 2 j 20( 3 2)
lim G ( j ) G ( j ) +j 4
0 2 + 1 2 + 4 ( 4 + 2 )( 4 + 2 ) ( + 2 )( 4 + 2 )
20
lim
G ( j )
2 + 1 2 + 4
0
60 2
0
( + 2 )( 4 + 2 )
4
E xercise E xercise
• S tep 6: Put Im [G(jω)]0
j 20( 3 2)
0 0 2 & 0
( 4 + 2 )( 4 + 2 )
So for positivevalueof
10 0
2 G ( j ) 0
3
G ( j) 0 00
27
5/12/2020
Φ m1800+Φ
( here In terms of dB 1
GM in dB 20 log10 20 log10 |G ( jc) | 20 log10 ( x)
Φ ∠G jωg |G ( jc) |
if Φ m>0 > +PM (S table S ystem)
if Φ m<0 > PM (Unstable
S ystem)
28
5/12/2020
29
5/12/2020
�= /
In the polar plot, the radial line corresponding to
ϕgc ill cut the locus of ith K 1 at point A and
No the value of K is given by, K magnitude corresponding to that point be G A
E xercise S olution
• The open loop transfer function of a unity • Put s jω
feedback system is given by
� =
��
�� =
� +� + �
• S ketch the polar plot ��
� =
• Determine the gain margin and phase � + � + �
margin
∠��
� =−9 °−t°n � −t°n �
30
5/12/2020
S olution
• Magnitude and Phase of G(jω) at various
frequencies
S olution
• R eal and imaginary part of G(jω) at
various frequencies
31
5/12/2020
S olution E xercise
• Gain Margin, K g 1.4286 • C onsider a unity feedback system having
• Phase Margin, γ +12° an open loop transfer function
�
�� =
� + .� + . �
• S ketch the polar plot
• Determine the value of K so that
– Gain margin is 18db
– Phase margin is 60°
lim G ( j ) 1
0
0
lim G ( j ) 1
32
5/12/2020
E xercise
33