29.12.2014 Views

Digital Control Systems [MEE 4003] - Kckong.info

Digital Control Systems [MEE 4003] - Kckong.info

Digital Control Systems [MEE 4003] - Kckong.info

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.1. STATE SPACE REALIZATION OF DYNAMIC SYSTEMS 17<br />

[Example 2-3] The governing equation of the two-mass-spring system<br />

[ ][ ] [ ][ ] [ ][ ]<br />

m1 0 ẍ1 0 0 ẋ1 k −k x1<br />

+ + =<br />

0 m 2 ẍ 2 0 0 ẋ 2 −k k x 2<br />

where the outputs are x 1 andx 2 , is to be represented in a state space.<br />

i.e.,<br />

[<br />

u1<br />

u 2<br />

]<br />

Note that the original equation of motion consists of two differential equations,<br />

ẍ 1 = 1 m 1<br />

[−kx 1 +kx 2 ]+ 1 m 1<br />

u 1 (2.2)<br />

ẍ 2 = 1 m 2<br />

[kx 1 −kx 2 ]+ 1 m 2<br />

u 2 (2.3)<br />

The variables with the lowest order in the equation of motion and the output arex 1 and<br />

x 2 . Let them be y 1 and z 1 . New variables, y 2 and z 2 , are defined as the derivatives of<br />

y 1 and z 1 , respectively, i.e.<br />

d<br />

dt y 1 = y 2<br />

d<br />

dt z 1 = z 2<br />

Differentiating once more, the original differential equations in (2.2)–(2.3) appear, i.e.<br />

d<br />

dt y 2 = 1 m 1<br />

[−ky 1 +kz 1 ]+ 1 m 1<br />

u 1<br />

d<br />

dt z 2 = 1 m 2<br />

[ky 1 −kz 1 ]+ 1 m 2<br />

u 2<br />

Arranging the new first-order differential equations,<br />

⎡ ⎤ ⎡ ⎤⎡<br />

⎤ ⎡<br />

y 1 0 1 0 0 y 1<br />

d<br />

⎢ y 2<br />

⎥<br />

dt ⎣ z 1<br />

⎦ = −k k<br />

⎢ m 1<br />

0<br />

m 1<br />

0<br />

⎥⎢<br />

y 2<br />

⎥<br />

⎣ 0 0 0 1 ⎦⎣<br />

z 1<br />

⎦ + ⎢<br />

⎣<br />

z 2 0 −k<br />

m 2<br />

0 z 2<br />

k<br />

m 2<br />

0 0<br />

1<br />

m 1<br />

0<br />

0 0<br />

0<br />

1<br />

⎤<br />

[ ⎥ u1<br />

⎦<br />

m 2<br />

u 2<br />

]<br />

Since the outputs of the system arey 1 = x 1 and z 1 = x 2 ,<br />

⎡ ⎤<br />

[ ]<br />

x 1<br />

1 0 0 0<br />

y = ⎢ x 2<br />

⎥<br />

0 1 0 0 ⎣ x˙<br />

1<br />

⎦ ∈ R2<br />

x˙<br />

2<br />

<strong>Digital</strong> <strong>Control</strong> <strong>Systems</strong>, Sogang University<br />

Kyoungchul Kong

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!