Professional Documents
Culture Documents
Rerespent the systems below in state space in phase variable form. Draw the signal –
flow graphs
Solution:
a.
s+3
G ( s )= 2
s + 2 s+7
Separate the block in two cascaded blocks
x 2= ẋ 1
Then,
ẋ 1=x 2
ẋ 2= ẍ 1=−2 x 2−7 x1 +r
[][
ẋ1
=
0 1 x1 0
+ r
ẋ2 −7 −2 x 2 1 ][ ] [ ]
x 1=[1 0]
[]
x1
x2
Taking the inverse Laplace transform with zero initial conditions, we get
c= ẋ 1 +3 x 1
But,
x 1=x 1
ẋ 1=x 2
Hence,
c=3 x 1 + x 2
y=c (t )=[3 1]
[]
x1
x2
b.
s 2+ 2 s+ 6
G ( s )=
3 s 3+5 s2 +2 s +1
Separate the block in two cascaded blocks
x 2= ẋ 1
x 3= ẍ 1
Then,
ẋ 1=x 2
ẋ 2=x 3
−1 2 5 1
ẋ 3= ⃛x 1= x 1 − x 2− x 3 + r
3 3 3 3
[][ ][ ] [ ]
0 1 0 0
ẋ1 x1
0 0 1 0
ẋ 2 = x2 + r
−1 −2 −5 1
ẋ3 3 3 3 x3 3
[]
x1
x 1=[1 0 0 ] x2
x3
Taking the inverse Laplace transform with zero initial conditions, we get
c= ẍ 1 +2 ẋ1 +6 x 1
But,
x 1=x 1
ẋ 1=x 2
ẍ 1=x 3
Hence,
c=x 3 +2 x 2+6 x 1
In vector – matrix form:
[]
x1
y=c (t )=[ 6 2 1] x2
x3
[ ] []
0 1 0 0
0 0 1 0
ẋ= x+ r ( t)
−1 −2 −5 1
3 3 3 3
y=[6 2 1]x
c.
s3 +2 s 2+ 7 s+ 1
G ( s )=
s 4 +3 s3 +5 s 2 +6 s +4
Separate the block in two cascaded blocks
Then,
'
x 1 =x2
'
x 2 =x3
'
x 3 =x 4
' '' ' '
x 4 =x 1 =−4 x1−6 x2−5 x 3−3 x 4 +r
[ ][ ][ ] [ ]
x 1' 0 1 0 0 x1 0
'
x2 0 x2 + 0 r
= 0 0 1
x3 '
0 0 0 1 x3 0
x4
' −4 −6 −5 −3 x 4 1
[]
x1
x
x 1=[1 0 0 0] 2
x3
x4
Taking the inverse Laplace transform with zero initial conditions, we get
c=x 1' ' ' +2 x1' ' +7 x 1' + x1
But,
x 1=x 1
'
x 1 =x2
x 1' ' =x 3
'' '
x 1 =x 4
Hence,
c=x 4 + 2 x 3 +7 x 2+ x 1
[]
x1
x
y=c (t)=[1 7 2 1] 2
x3
x4
[ ] []
0 1 0 0 0
0 0 1 0 0
ẋ= x+ r (t)
0 0 0 1 0
−4 −6 −5 −3 1
y=[1 7 2 1] x
5.39.
Given a unity feedback system with the forward-path TF
7
G ( s )=
s ( s+9)(s+12)
deng=poly([0 -9 -12]);
G=tf(numg,deng);
T=feedback(G,1)
[numt,dent]=tfdata(T,'v')
Computer response:
T =
------------------------
numt =
0 0 0 7
dent =
1 21 108 7
ans =
'(a)'
A =
0 1 0
0 0 1
-7 -108 -21
B =
C =
7 0 0
ans =
'(b)'
a =
-12.1807 0 0
0 -8.7537 0
0 0 -0.0657
b =
-5.9027
-5.3688
0.0767
c =
d =
[ ][]
−5 −5 4 −1
ẋ= 2 0 −2 x+ 2 r ; y=[ −1 1 2 ] x
0 −2 −1 −2
Solution:
Eigenvalues are -1, -2, and -3 since,
|λI − A|=( λ+3 ) ( λ+2 ) ( λ +1)
Solving for the eigenvectors, Ax=λx
4 x3 −5 x 2− ( λ+5 ) x 1=0
−2 x3 −λ x 2−2 x1=0
−2 x2 −( λ +1) x 3=0
For
λ=−1, x 2=0 , x 1=x 3.
x3
λ=−1 , x 1=x 2=
2
−x 2
λ=−3 , x 1= , x 2=x 3
2
Thus,
−1 −1
ż=P APz+ P Bu ; y=CPz
Where
( ) ( )
−1 0 0 −12
−1 −1
P AP= 0 −2 0 ; P B= 8 ;CP=¿
0 0 −3 −3