Professional Documents
Culture Documents
DR Lee Peng Hin: EE6203 Computer Control Systems 1 DR Lee Peng Hin: EE6203 Computer Control Systems 2
DR Lee Peng Hin: EE6203 Computer Control Systems 1 DR Lee Peng Hin: EE6203 Computer Control Systems 2
Typical specifications :
– rise time.
– overshoot.
– settling time.
Design approaches :
• The state variables x1(t), x2(t), . . . , Together with the output equation,
xn(t) repn the modes of the physical a LTI continuous time system can be
plant. represented in state space as,
•
• The initial values xi(to), i = 1, 2, . . . , x(t) = Ax(t) + Bu(t) (1.1)
n, and the input variables uj (t), j = y(t) = Cx(t) + Du(t) (1.2)
1, 2, . . . , r, are sufficient to describe
where
uniquely the system’s future output ⎡⎤ ⎡
⎤
x1(t) u1(t)
response yq (t), q = 1, 2, . . . , p for t ≥ ⎢ x (t) ⎥ ⎢ u (t) ⎥
x(t) = ⎣ 2.. ⎦ ; u(t) = ⎣ 2.. ⎦ ;
to . xn(t) ur (t)
⎡ ⎤
y1(t)
• A continuous time system can be mod- ⎢ y (t) ⎥
y(t) = ⎣ 2.. ⎦
eled using these states by a set of yp(t)
first-order differential equations, called
state equations.
Dr Lee Peng Hin : EE6203 Computer Control Systems 17 Dr Lee Peng Hin : EE6203 Computer Control Systems 18
1.1.2 Transfer function from SS model • The denominator of the transfer func-
tion is det(sI − A). Hence, the poles
Take Laplace transform of the SS model
of the system is identical to the eigen-
in (1.1) and (1.2), with x(0) = 0,
values of the matrix A.
sX(s) = AX(s) + BU(s)
• For single-input single-output systems,
⇒ X(s) = [sI − A]−1BU(s) (1.3)
r = 1; p=1
and
Example 1.1. Obtain a state space model The motor back e.m.f. is
of the servomotor system shown in Fig- d θ(t)
em(t) = Kbω(t) = Kb (1.7)
dt
ure 3.
where
τ (t) = KT i(t)
d2 θ(t) d θ(t)
= J + B (1.8)
d t2 dt
connected to shaft
B − total viscous friction
Dr Lee Peng Hin : EE6203 Computer Control Systems 29 Dr Lee Peng Hin : EE6203 Computer Control Systems 30
sX(s) − x(0)
= AX(s) + BU(s) (1.13)
x(t) = Φ(t)x(0) +
t
Φ(t − τ )Bu(τ ) d τ (1.15)
0
= Φ(t)x(0) + γ(t), t ≥ 0(1.16)
Dr Lee Peng Hin : EE6203 Computer Control Systems 33 Dr Lee Peng Hin : EE6203 Computer Control Systems 34
t
4. Φ−1(t) = Φ(−t).
γ(t) ≡ Φ(t − τ )Bu(τ ) d τ (1.17)
0
≡ L−1{Γ(s)} 5. Φk(t) = Φ(kT ), k = 0, 1, 2, 3, . . .
2. Φ(0) = I.
2 Discrete time models with sample and The outputs of the ZOH are
hold ui (t) = ui (kT ) (2.1)
Hence, Then
A pole is a value of z such that (3.1) has A system zero is a value of z such that
a nontrivial solution when the forcing the system output is zero even with a
input is zero. From (3.3), this implies nonzero state-and-input combination.
that That is, if we are able to find a nontriv-
[zI − A]X(z) = 0 ial solution for X(zo) and U(zo) such
has a nontrivial solution. This means that Y(zo) is zero, then zo is a zero of
which is the solution of (4.1) given the Example 4.1. Consider a discrete time model
initial state x(0) and the input u(i), for given by,
i = 0, 1, . . . , k − 1. 0 1
x(k + 1) = x(k)
(4.3) is defined as the state transition −2 −3
0
equation of the discrete-time system de- + u(k) (4.4)
1
scribed by (4.1).
y(k) = 3 1 x(k) (4.5)
1
1
x(2) = A(1−i)B = AB + B =
−2
i=0
y(2) = Cx(2) = 1
tions. Consider or
G(z)
bn−1z n−1 + · · · + b1z + b0
=
z n + · · · + a1z + a0
can have the state space model in
either the controllable or observable
canonical form written directly by
inspection.
Cc is given by
Cc = b0 b1 . . . bn−2 bn−1
and Bo by
T
Bo = b0 b1 . . . bn−2 bn−1