Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Updated Chapter 2 Control Systems Lecture Notes

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 22

Chapter 2

Material We Will Cover Next


• We need to write differential equations representing the system or
subsystem.
• Then write the Laplace transform of the system.
• Then we will write the overall input-output relationship of the
interconnected components. That is the Transfer Function T(s), also
called G(s).
• Section 2.2 in the text includes tables, in particular Table 2.2, p. 44, of
various variables (elements) used in modeling physical systems and
differential equations describing ideal elements of physical systems.
• It is expected that the student is already familiar with these concepts.
In general the student will have access to this information for exams if
needed.
• We will investigate making linear approximations of non-linear
elements.
• We will briefly mention the Laplace Transform
• Get our first exposure to poles and zeros and to the Characteristic
Equation
• Discuss Partial Fraction Expansion
1
• Introduce Final and Initial Value Theorems
Control Systems are Often More
Complex Than Single Loops

• One forward path


• Four transfer functions in the forward path G1, G2, G3, G4.
• Three Feedback Loops.
• Three Summing Junctions 2
Block Diagram = Flow Graph
Besides Block diagrams, control systems are
often represented using Flow Graphs
Block Diagram

Flow Graph
H3

1 G1 G2 1 G3 G4 1 C(s)
R(s)

-H2
-H1

Note that two of the H transfer functions in the Flow Graph have
negative signs. This is necessary since the summing nodes do
not have any signs associated with them as in the block diagram.
3
Solve For The Transfer Function

R(S) + E
G1 C(s)

F
H

Solution:
C(s) = G1E (1)
F = C(s)H (2)
E = R(s)-F (3)
E = R(s)- C(s)H (4)
C(s) = G1[R(s)- C(s)H] (5)
C(s) +C(s)HG1 = G1(R(s)
C(s)[1 + HG1] = G1(R(s)

C(s)/R(s)=G1/(1+G1H)

4
Solve For The Transfer Function
G1 A
+ C(s)
R(S) + E G2 B +
_
F
H
Solution:
C(s) = A + B (1)
A = G1E (2)
B = G2E (3)
F = HB (4)
E = R(s)-F (5)

Substitute (2) and (3) into (1); C(s) = G 1E  G 2E  (G 1  G 2 )E (6)


Substitute (5) into (6); C(s) = (G 1  G 2 )[R(s)  F] (7)
Substitute (3) into (4); F = HG 2E (8)
Substitute (5) into (8); F = HG 2[R(s)  F] (9)
HG 2R(s)
Solve (9) for F; F = (10)
1  G 2H
HG 2R(s)
Substitute (10) into (7); C(s) = (G 1 +G 2 )[R(s)  ] (11)
1  G 2H
1  G 2H  HG 2
C(s) = (G 1  G 2 ) R(s)
1  G 2H
C(s) (G1  G 2 )
T(s) = 
R(s) 1  G 2H
5
Attempt to Solve For The Transfer Function
D

A B E F J
M

C K

6
Overall Transfer Function
Mason’s Gain Rule
The overall Transfer function can be obtained from the formula:
T (s) 
M k k
(1)

• Mk is the transmittance of each forward path between a source and a sink node
•   1   L1  L2   L3   (2)

• ∑L1 is the sum of the transmittances of each closed path.


• ∑L2 is the sum of the product of the transmittances of all possible
combinations of two non-touching loops.
• ∑L3 is the sum of the product of the transmittances of all possible
combinations of three non-touching loops.
• ∆k is the cofactor of Mk. It is the determinant of the remaining sub-graph
when the forward path which produces Mk is removed. Thus it does not
include any loops which touch the forward path in question. It is equal to
unity when the forward path touches all the loops in the graph of when the
graph contains no loops.
7
Applying Mason’s Gain Rule
H3

1 G1 G2 1 G3 G4 1 C(s)
R(s)

-H2
-H1

T ( s) 
 M k k

 M 1  G1G2G3G4 1  1 There is no M 2 or  2 or more.
 L 1  G1G2 H 1  G2G3 H 3  G3G4 H 2
 L 2  G1G2G3G4 H1 H 2
   1- L L
1 2  1 G1G2 H1  G2 G3 H 3  G3G4 H 2  G1G2 G3G4 H 1 H 2

 T(s) 
 M

1 1 G1G2 G3G4
 1  G1G2 H1  G2 G3 H 3  G3G4 H 2  G1G2 G3G4 H 1 H 2

8
Applying Mason’s Gain Rule
G9
-H2

G1 G2 G3 G4 G5 G6 G7 G8
R(s) C(s)
-H4
-H1 -H5
-H3

M 1  G 1G 2 G 3 G 4 G 5 G 6 G 7 G 8 1  1
M 2  G 1G 9 G 8  2  1  [  G 4 H 1  G 6 H 4  G 3 G 4 G 5 G 6 H 3  G 4 G 5 G 6 H 2 ]  G 4 H 1G 6 H 4
= 1  G 4 H 1  G 6 H 4  G 3 G 4 G 5 G 6 H 3  G 4 G 5 G 6 H 2  G 4 H 1G 6 H 4
  1  [ G 4 H 1  G 6 H 4  G 3G 4 G 5 G 6 H 3  G 4 G 5 G 6 H 2  G 8 H 5 ]
 G 4 H 1 G 6 H 4  G 4 H 1G 8 H 5  G 6 H 4 G 8 H 5  G 8 H 5 G 4 G 5 G 6 H 2  G 8 H 5 G 3 G 4 G 5 G 6 H 3
+ G 4 H 1G 6 H 4 G 8 H 5
  1  G 4 H 1  G 6 H 4  G 3G 4 G 5 G 6 H 3  G 4 G 5 G 6 H 2  G 8 H 5
+ G 4 H 1G 6 H 4  G 4 H 1G 8 H 5  G 6 H 4 G 8 H 5  G 8 H 5 G 4 G 5 G 6 H 2  G 8 H 5 G 3 G 4 G 5 G 6 H 3
+ G 4 H 1G 6 H 4 G 8 H 5
C ( s ) M 1  1  M 2  2 G1G 2G 3 G 4 G 5 G 6 G 7 G 8  G1G 9 G 8 [1  G 4 H 1  G 6 H 4  G 3 G 4 G 5 G 6 H 3  G 4 G 5 G 6 H 2  G 4 H 1G 6 H 4 ]
T (s)   
R( s )  

9
Using Mason’s Gain Rule
Solve for the Transfer Function – C/R
1 1

R A G1 1 B G2 G3 G4 C
1
-1 -1
-1

10
Applying Mason’s Gain Rule
1 1

R A G1 1 B G2 G3 G4 C
1
-1 -1
-1

M 1  G 1G 2 G 3 G 4 1  1
M 2  G1 2  1
M 3  G 3G 4  3  1  G1
M 4  1  4  1  G1
M 5   G 3G 4 G1 5  1

  1  (  G 1  G 2  G 1G 2 G 3 G 4 )  G 1 G 2  1  G 1  G 2  G 1 G 2 G 3 G 4  G 1 G 2

C G1G 2G 3G 4  G1  G 3G 4 (1  G1 )  (1)(1  G1 )  G1G 3G 4


a) 
M 1  (  G 1  G 2  G 1G 2 G 3 G 4 )  G 1 G 2
G 3 G 4  G 1G 2 G 3 G 4  1

1  G 1  G 2  G 1G 2 G 3 G 4  G 1 G 2
11
Derive Transfer Function for Previous Control System Example

Manipulated G 2( s )  4 C(s)
R(s) + Error G1( s )  K a
Ka Kb Variable s 2  4s  2
G1( s)  G2(s)  H(s)  0.5
-as  1 s  4s  6
2

Feedback
H = 0.5

Applying Mason's Rule


4
Ka 
C(s) G1( s )G 2( s ) s  4s  2 2 4K a
T (s)     2
R(s) 1  G1( s )G 2( s) H 1  K  4
a  0.5 ( s  4s  2)  2 K a
s  4s  2
2

Suppose we select K a  3 , then,


C(s) 12 12
T (s)   2 
R(s) s  4 s  8 ( s  2  j 2)( s  2  j 2)

Note: The denominator, set equal to zero, is called the


Characteristic Equation
12
Spring Mass System
Input = f(t) Output = y(t)
b Process
K
Block
Diagram
M f  Ma f (t )  My(t )  by (t )  Ky(t ) Differential Equation
y F ( s) = Y ( s) Ms 2  Y ( s)bs  Y ( s) K  Y ( s)( Ms 2 + bs + K )
f
Y ( s) 1
T ( s)  = Transfer Function
F ( s) Ms  bs  K
2

F(s) 1 Y(s) F(s) 1/ M Y(s)


Block Diagram
Ms 2  bs  K s2  b s  K
M M

F(s) 2 Y(s)
General Quadratic Form A n

s2  2 s  
n n
2

Natural Frequency Damping Ratio System Constant


K b 1
n  2 n   n2 A 
M M M
K b 1 1 1
2  A  
M M M n 2 M (K  M ) K
b

2 KM
13
More on the Characteristic Equation

F(s) 1 Y(s) F(s) 1/ M Y(s)


Block Diagram
Ms 2  bs  K s2  b s  K
M M

F(s) 2 Y(s)
General Quadratic Form A n

s2  2 s  
n n
2

Characteristic Equation (C.E.) s 2  2 n s   n 2  0


Roots of the C.E. are: s1 , s2   n   n  2  1   n  j n 1  2
If   1 Roots = s1 , s2   n Are the same
If  1 Roots are real but different
If  1 Roots are complex conjugates

Also many text books refer to   1   2

14
Characteristic Equation
• The denominator polynomial of the transfer function when set equal to zero
is called the characteristic equation C.E..
s 2  4 s  8  ( s  2  j 2)( s  2  j 2)  0
• The roots of the C.E. are the poles of the system.
• The roots of the transfer function’s numerator are the zeros of the system.
• Poles and zeros are critical frequencies
• At the poles, the transfer function becomes infinite
• At the zeros the transfer function becomes zero.
• The complex frequency s-plane plot of the poles and zeros graphically
portrays the character of the natural transient response of the jω system.
4( s  5) x
T (s)  4
4

( s  3  j 4)( s  3  j 4)
-6 -5 -4 -3 -2 -1

x -4 15
Root Location vs Stability of the 2nd order C.E.
• Any time the roots are equal and real, the system is
jω critically damped, no overshoot. Settling Time ~ Ts
1

Double 0.9

0.8

Root 0.7

0.6

Amplitude
X
0.5

 
0.4

0.3

0.2

0.1

0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7
Time (sec)


• Any time the roots are unequal and real, the system
is overdamped, no overshoot. Settling Time ~ Ts
1

0.9

0.8

X X 0.7

0.6
Amplitude

0.5

0.4

0.3

0.2

0.1

0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7
Time (sec)

16
Root Location vs Stability of the 2nd order C.E.
Continued

jω • Anytime the roots are complex conjugates,


the system experiences damped oscillation
X 1.4
Settling Time 2 ~ Ts

1.2

0.8

Amplitude
0.6

X 0.4

0.2

0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7
Time (sec)


• If the poles lie on the imaginary axis the
X system is marginally stable. It oscillates.
Settling Time ~ Ts
2

1.8

1.6

1.4

1.2
Amplitude

X 0.8

0.6

0.4

0.2

0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7
Time (sec)
17
Root Location vs Stability of the 2nd order C.E.
Continued

jω • Anytime the roots are in the RHP the


system is unstable and diverges
X 80
Unit Step Response

60

40

20

Amplitude
-20

X -40

-60

-80

-100
0 5 10 15 20 25
Time (sec)

Unit Step Res ponse #2


9

X
6

X 5
Amplitude

0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
Time (sec)

18
Deriving a Transfer Function for a Control System Component
Consider a DC Torque Motor

Ra La J, b
ea
Ia em
ө, ω

J = Motor Inertia, could also include load inertia


b = Friction
Ra = Motor winding resistance
La = Motor inductance
em = Back emf
KT = Motor Torque Sensitivity – A motor parameter
Km = Relates back emf to shaft speed, em = Kmω
Torque Developed : Tm ( s)  KT I a ( s ) (1)
Back emf : em  K B ; Assusme   constant then e m  K m or Em ( s)  K m s ( s) (2)

19
Deriving a Transfer Function for a DC Torque Motor
Continued

Ra La J, b
ea em
Ia
ө, ω
KVL around loop:
E ( s )  Em ( s ) (3)
ea  I a R a  LI a  e m or Ea ( s )  I a ( s )[ Ra  Ls ] E m ( s ) Solving for I a ( s )  a
Ra  Ls

Motor and Load Inertia


Tm ( s )
Tm  J  b or Js 2 ( s )  Tm ( s )  bs ( s) solving for  ( s )  (4)
Js 2  bs

Equations (1), (2), (3), and (4) are called Equilibrium Equations

20
Constructing Block Diagram for a DC Torque Motor
From Equilibrium Equations

Tm ( s)  KT I a ( s ) (1) Ia(s) Tm(s)


KT

T ( s)
Ia(s) Tm(s) 1  (s )
 ( s)  m2 (4) KT
Js  bs Js 2  bs

Ia(s) Tm(s) 1  (s)


E m ( s )  K m s ( s ) (2) KT
Js 2  bs
Em(s)
Km s
Ea - Em
E ( s )  Em ( S )
I a ( s)  a (3) Ea(s) + 1 Ia(s) Tm(s) 1  (s )
Ra  Ls KT
Ra  Ls Js 2  bs
-
Em(s)
Kms
21
Constructing DC Motor Transfer Function from Block Diagram Using
Mason’s Rule

Ea - Em
Ea(s) + 1 Ia(s) Tm(s) 1  (s )
KT
Ra  Ls Js 2  bs
-
Em(s)
Kms
1 1 KT
M1   KT  2  1  1
Ra  Ls Js  Bs ( Ra  Ls)( Js 2  Bs )
KT
  1  Kms
( Ra  Ls)( Js 2  Bs )
KT
1
 ( s ) M 11 ( Ra  Ls )( Js 2  Bs ) Kt
  
Ea ( s )  KT s[ JL s 2
 ( JRa  bLa ) s  Ra b  K t K m ]
1  Kms a
( Ra  Ls )( Js  Bs )
2

 (s) Kt

Ea ( s ) s[ JLa s  ( JRa  bLa ) s  Ra b  K t K m ]
2

22

You might also like