Professional Documents
Culture Documents
discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/225075468
CITATIONS
READS
1,950
7,135
3 authors, including:
J.D. Powell
Abbas Emami-Naeini
Stanford University
SC Solutions Inc.
SEE PROFILE
SEE PROFILE
All content following this page was uploaded by J.D. Powell on 10 July 2014.
The user has requested enhancement of the downloaded file.
PME 3208
625
403
K(s)
u(t)
P(s)
y(t)
K(s)
P0(s)
(s)
where P( s ) = P0 ( s) + ( s )
2
y(t)
K(s)
P0(s)
y(t)
n(t)
And
u ( s ) = TUR ( s )r ( s ) + TUD ( s )d ( s ) + TUN ( s )n( s )
= P ( s ) 1 {TYR ( s )r ( s ) + TYD ( s )d ( s ) + TYN ( s )n( s )}
K(s)
uC
P(s)
y(t)
Credit
Two mid term tests, each accounts for 1/3 of the credit,
two term report, each accounts for 1/6 of the credit
6
Chapter 1. Review
1.1Objective of feedback control
r(t)
K(s)
u(t)
P(s)
y(t)
Fig. 1
Given a plant P(s), design a controller K(s) such that
the overall transfer function
y( s )
r (s) T (s )
meet design
T ( s)
Y (s)
P( s ) K ( s)
=
R( s ) 1 + P( s ) K ( s )
To
maintain
the
same
performance
K(s)
P(s)
y(t)
Fig. 2
y( s )
P(s )K (s )
r (s ) T (s ) = H 1 + P(s )K (s )H
P(s )K (s )
H
=H
H 1 + P(s )K (s )H
1 P(s )K (s )H
=H
H 1 + P(s )K (s )H
r(t)
K(s)
P(s)
y
(t)
Fig. 3
with an augmented plant P(s)H.
We shall come back to this issue with more details
later on.
The first issue to be addressed is: how is it possible to
obtain an accurate model of the plant? In general, we have
three types of plant models: ODE, transfer function and
Bode plot. They are closely related. First we shall examined
modeling by using O.D.E
1.2Modeling a dynamic system
u bx = mx
or
or
x+
b
u
x =
m
m
m2
tire
ks/2
m1
ks/2
10
b( y x ) + k s ( y x) k w ( x r ) = m1
x
b( y x ) ks ( y x) = m2
y
x+
k
k
k
b
( y x ) + s ( y x) + w x = w r
m1
m1
m1
m1
y+
k
b
( y x ) + s ( y x) = 0
m2
m2
11
I11 + b(1 2 ) + k (1 2 ) = M c + M d
I + b( ) + k ( ) = 0
2 2
Example 2.14
z In this type of motors, the magnetic field is held at
constant by applying a constant voltage, while the
voltage applied to the armature circuit
varies to drive the motor.
Mechanical dynamic:
J + b = T = K i
t
Circuit dynamic:
L di + Ri = va e = va K e
dt
input: va
12
( Js
+ bs ) ( s) = Kt I ( s)
1
1
I ( s) =
[va (s) Ke(s)] = ( Js2 + bs ) (s)
Kt
( Ls + R )
or
Js2 + bs
Ke
1
+
va (s) =
(s)
( Ls + R )
( Ls + R )
Kt
Hence
1
Ke
(s) Js2 + bs
1
=
+
Ls
R
va (s) Kt
+
(
) ( Ls + R )
Kt ( Ls + R )
1
2
( Js + bs ) ( Ls + R) + Kt Ke ( Ls + R)
Kt
= 2
( Js + bs ) ( Ls + R) + Kt Ke
z There are three approaches to determine the model
13
parameters J, b, L, R, Kt, Ke
(1) A series of direct measurements of model parameters.
For instance, J can be estimated from its geometric
shape, b can be measured from quasi-static experiment,
and so on.
(2) Curve fitting to the step responses (or other response
in the time domain) of the motor
Kt
(s)
= 2
va (s) ( Js + bs ) ( Lf s + R f )
14
Kt
(s)
(s)
= 2
=
because
va (s) ( Js + bs) ( Ls + R)
va (s) S=0
Hence model parameters have to be estimated in
closed-loop as shown below
r(t)
u(t)
P(s)
y(t)
plot
(3) Curve fitting to the Bode plot of the motor
u (t ) =
N
u sin ( t + )
i =0
y (t ) =
P(s)
i
y sin ( t + )
i =0
17
neglected
higher
order
dynamics
and
phase uncertainty
18
Unit circle
19
0.6(1 PO /100)
N 1.8
tr
wn 4.6 / ts
20
j
n
= wn
= wn
21
where
= wn
22
1
KP
K PL( s) S =0 = P( s) K ( S ) H
S =0
1l
K PL( s) S =0 = L
(s)
= eSS 1 = 0
,
s
KP
S =0
For system type II, there are 2 pure integrators, hence
K PL( s) S =0 =
1 l
L( s)
= eSS 1 = 0
2
,
s
KP
S =0
1
KV
K VsL( s) S =0 = sP( s) K ( S ) H
S =0
K PsL( s) S =0 =
s l
L( s)
= eSS 1 = 0
2
,
s
KP
S =0
1
Ka
K as L( s)
S =0
s2 l
= 2 L( s)
= constant
,
s
S =0
24
eSS
1
= limited > 0
Ka
system
Type 0
Type I
Type II
Step command
Ramp command
Parabolic commnad
KP
KV
0
1
Ka
25
(1.1)
y (t)+ a2(t)y(t)+ a1(t)y(t)= u(t)
(1.2)
y (t)+ a2y(t)+ a1y (t)= b1u (t)+ u(t)
(1.3)
(1.4)
Transfer function
Applying Laplace transform to Eq. (1), it gives
3
2
That is
b s+ 1
P(s) = Y(s) = 3 1 2
U(s) s + a2s + a1s
(1.5)
Zero polynomial
(1.6)
Pole polyno.
A transfer function description can be obtained from the
ODE by assuming zero initial conditions
Zero polynomial represents differential operators on the
input, while pole polynomial represents differential
operators on the output
To obtain an ODE from a transfer function, convert (6)
into (5), then convert (5) into (3).
However, a transfer function does not exist for a linear
time varying system since Laplace transform is not
applicable.
27
(1.7)
+a
+a
sn2Y(s)sn3y(0)...sy(n4)(0) y(n5)(0)
=b
+b
smU(s)sm1u(0)...su(m2)(0)u(m1)(0)
(8)
sm1U(s)sm2u(0)...su(m3)(0)u(m2)(0)
+b
sm2U(s)sm3u(0)...su(m4)(0)u(m5)(0)
m1
sU(s)u(0) + b U(s)
28
(10)
= b0smU(s)+b1sm1U(s)+...+bm1sU(s)+bmU(s)
+D(bi , u( j)(0), s j )
+0
(1.11)
+0
Therefore,
1
U(s) s + a s +...+ a s+ an
1
n1
To solve for the non-zero initial response,
(i) Convert (12) into (11),
(ii) then convert (11) into (7)
(iii)
29
P11 ( s )
Y1 ( s )
U1 ( s )
or Y1 ( s ) = P11 ( s )U1 ( s )
(1.25)
Y2 ( s )
U 2 ( s)
or Y2 ( s ) = P22 ( s )U 2 ( s )
(1.26)
Similarly,
P22 ( s )
P12 ( s )
Y1 ( s )
U 2 ( s)
or Y1 ( s ) = P12 ( s )U 2 ( s )
31
(1.27)
P21 ( s )
Y2 ( s )
U1 ( s )
or Y2 ( s ) = P21 ( s )U1 ( s )
(1.28)
Y1 ( s ) P11 ( s ) P12 ( s ) U1 ( s )
Y ( s ) = P ( s ) P ( s ) U ( s )
22
2 21
2
U 1 ( s )
P( s)
U
(
s
)
2
(1.29)
32