You are on page 1of 7

MIT OpenCourseWare

http://ocw.mit.edu

2.004 Dynamics and Control II

Spring 2008

For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

Massachusetts Institute of Technology

Department of Mechanical Engineering

2.004 Dynamics and Control II


Spring Term 2008

Lecture 41
Reading:
Nise: Secs. 5.15.3

Block Diagram Algebra (Interconnection Rules)

a)Series (Cascade) Connection:


U (s )

X (s )

H 1 (s )

H 2(s )

Y (s )

H 1 (s )H 2(s )

U (s )

Y (s )

Since the output of the rst block is X(s) = H1 (s)U (s),


Y (s) = H2 (s)X(s) = H1 (s)H2 (s)U (s)
Note: This is only true if the connection of Hs (s) to H1 (s) does not alter the output of
H1 (s) known as the non-loading condition.
b)Parallel Connection In this case the input U (s) is applied to both inputs and the
outputs are summed:
U (s )
H

(s )

H 2 (s )

+
+

Y (s )

U (s )

H 1(s ) + H 2(s )

Y (s) = H1 (s)U (s) + H2 (s)U (s) = (H1 (s) + H2 (s))U (s)

Example 1
Express
H(s) =
1

s2

6
+ 5s + 6

c D.Rowell 2008
copyright

41

Y (s )

as (a) a series connection, and (b) a parallel connection of rst-order blocks


a) Series:
H(s) =

s2

6
3
2
=

+ 5s + 6
s+3 s+2

3
s + 3

U (s )

2
s + 2

Y (s )

o r d e r o f b lo c k s is a r b itr a r y

b) Parallel: Using partial fractions we nd


H(s) =

6
6

s+2 s+3

6
s + 3

U (s )

Y (s )
+

6
s + 2

Notes:

a) These two systems are equivalent.

b) A partial fraction expansion is eectively a parallel implementation.

c) A factored representation of H(s) is eectively a series implementation.

c)Associative Rule:
U

(s )

U
+
H (s )

(s )

H (s )

(s )
1

Y (s )
U
2

(s )

Y (s )
+

H (s )

Y (s) = (U1 (s) + U2 (s))H(s) U1 (s)H(s) + U2 (s)H(s)


d)Commutative Rule:
U (s )

(s )
H

(s )

Y (s )

U (s )

The order does not matter in a series connection.


42

(s )
H

(s )

Y (s )

The Closed-Loop Transfer Function

a) Unity feedback
+

R (s )

re fe re n c e
in p u t

E (s )

c o n tr o lle r

e rro r

p la n t

(s )
G

(s )

C (s )
c o n tr o lle d
o u tp u t

fe e d b a c k p a th

Notes:
(a) The term unity feedback means that the actual output value is used to generate the
error signal (the feedback gain is 1).
(b) In control theory transfer functions in the forward path are often designated by G(s)
(see below).
(c) It is common to use R(s) to designate the reference (desired) input, and C(s) to desig
nate the controlled (output) variable.
From the block diagram:
C(s) = (Gp (s)Gc (s))E(s)
and
E(s) = R(s) C(s)
or
C(s) = Gp (s)Gc (s)(R(s) C(s)
Rearranging:
Gcl (s) =

C(s)
Gc (s)Gp s
=
R(s)
1 + Gc (s)Gp s

is the unity feedback closed-loop transfer function.

Example 2
Find the closed-loop transfer function for the automobile cruise control example:

(s )

d e s ir e d
s p e e d

+
-

E (s )

e rro r

c o n tr o lle r

G c (s )

c a r d y n a m ic s
q (s )

fe e d b a c k p a th

43

(s )

V (s )
a c tu a l
s p e e d

For the car mv + Bv = Fp = Ke so that


Gp (s) =

V (s)
Ks
=
(s)
ms + B

For the controller (s) = Kc E(s)


Gc (s) =
Then from above
Gcl (s) =
Gcl (s) =

(s)
= Kc
E(s)

V (s)
Gc (s)Gp (s)
=
Vd (s)
1 + Gc (s)Gp (s)

Kc Ke
ms+B
Kc Ke
+ ms+B

Kc Ke
,
ms + (B + Kc Ke )

and by inspection the closed-loop dierential equation is


mv + (B + Kc Ke )v = Kc Ke vd .
Aside:
Use the Laplace transform nal value theorem to nd the steady state velocity to a
step input vd (t) = vd
For the step input
vd
vd (s) =
s
and in the Laplace domain
v(s) = Gc1 (s)Vd (s) =

Kc Ke
vd
ms + (B + Kc Ke ) s

The F.V. theorem states limt f (t) = lims0 sF (s) so that


vss = limt v(t) = lims0 s
vs s =

Kc Ke
vd
ms + (B + Kc Ke ) s

Kc Ke
B + Kc K e

which is same as we obtained before.

Closed-Loop Transfer Function With Sensor Dynamics:

Until now we have assumed that the output variable y(t) is measured instantaneously, and
without error. Frequently the sensor has its own dynamics - for example the sensor might
be temperature measuring device modeled as a rst-order system:
44

s y s te m
o u tp u t

fe e d b a c k
s ig n a l

s e n s o r
1

t ss + 1
t

where s is the sensor time constant.


The closed-loop block diagram is
+

R (s )

c o n tr o lle r

E (s )

re fe re n c e
in p u t

e rro r

p la n t

(s )
G

(s )

C (s )

in d ic a te d o u tp u t

s e n s o r

a c tu a l
o u tp u t

H (s )

where H(s) is the transfer function of the sensor. In this case:


C(s) = (Gc (s)Gp (s))E(s)
but now E(s) is the indicated error (as opposed to the actual error):
E(s) = R(s) H(s)C(s)
so
C(s) = Gc (s)Gp (s)(R(s) H(s)C(s))
or
C(s)(1 + Ge (s)Gp (s)H(s)) = Ge (s)Gp (s)H(s).
Gcl (s) =

C(s)
Gc (s)Gp (s)
=
R(s)
1 + Gc (s)Gp (s)H(s)

is the modied closed-loop transfer function.

Example 3
Suppose that velocity sensor in the cruise control is noisy, and a simple elec
trical lter is used to smooth the output. Find the eect of the lter on the
closed-loop dynamics.
filte r
R

fro m

s e n s o r

s e n s o r

45

o u t

to c o n tr o lle r

Using Kirchos Voltage Law (KVL) we nd


RC v out + vout = vsensor
so that
H(s) =

d (s )
re fe re n c e
in p u t

E (s )

c o n tr o lle r
K

e rro r

Vout (s)
1
=
Vsensor (s)
RCs + 1
p la n t
K e
m s + B

in d ic a te d s p e e d

V (s )

filte r

a c tu a l
s p e e d

R C s + 1

Then the closed-loop transfer function is


V (s)
Gc (s)Gp (s)
Gcl (s) =
=
=
Va (s)
1 + Gc (s)Gp (s)H(s)
1+
=

Kc Ke
ms+B
Kc Ke
(ms+B)(RCs+1)

Kc Ke (RCs + 1)
(ms + B)(RSs + 1) + Kc Ke

Gcl (s) =

mRCs2

Kc Ke (RCs + 1)
+ (BRC + m)s + (B + Kc Ke )

and the dierential equation relating the speed of the car to the desired speed
command is now
mRCv + (BRC + m)v + (B + Kc Ke )v = Kc Ke RC v d + Kc Ke vd
and we note:

1) we now have a second-order system - the dynamics may change signicantly,

2) we have derivative action on the RHS of the dierential equation.

46

You might also like