Linear Control Systems: Ali Karimpour Associate Professor Ferdowsi University of Mashhad
Linear Control Systems: Ali Karimpour Associate Professor Ferdowsi University of Mashhad
Linear Control Systems: Ali Karimpour Associate Professor Ferdowsi University of Mashhad
SYSTEMS
Ali Karimpour
Associate Professor
Ferdowsi University of Mashhad
lecture6
Lecture 6
Topics to be covered include:
State space representation.
State transition matrix.
Calculation of state transition matrix for time varying system.
Significance of state transition matrix and its property.
State transition equation.
State transition equation determined by state diagram.
Eigenvalues of the matrix A in state space form and
poles of transfer function
Similarity transformation.
2
Dr. Ali Karimpour Feb 2013
lecture6
LTI systems
x Ax x(t0 0) x(0)
x(t ) (t ) x(0)
sx(s) x0 Ax(s) x( s) ( sI A) x0 1
1
x(t ) L ( sI A) 1
x
0 x(t ) (t ) x0
(t ) L (sI A)
1 1
5
Dr. Ali Karimpour Feb 2013
lecture6
x(t ) e x0
At
x(t ) (t ) x0
(t ) e At
1 2 2 1
e I At
At
At A t ...
3 3
1.2 1.2.3 6
Dr. Ali Karimpour Feb 2013
lecture6
2 21
.
1
.
.
So ith column of Φ is the response of system to
0
7
Dr. Ali Karimpour Feb 2013
lecture6
2 1 2
x x x(0)
0 3 1
x(t ) L1 ( sI A) 1 x0
1
1
1 1
1 s 2
(t ) L1 (sI A) 1
( s 2)( s 3)
1 s 2
L L
s 3
0 0 1
s 3
e 2t e 2 t
e 3t
x1 (t ) e
2 t
e 2t e 3t 2 3e 2t e 3t
(t ) x (t ) 3t 3t
0 e 3t
2 0 e
1 e
8
Dr. Ali Karimpour Feb 2013
lecture6
1- Φ(0) = I
2- Φ-1(t)= Φ(-t)
3- Φ(t2-t1)Φ(t1-t0) = Φ(t2-t0)
4- Φk(t) = Φ(kt)
9
Dr. Ali Karimpour Feb 2013
lecture6
x1 (0) 1 1
x(0) x(t ) 2
x2 (0) 0 0.5t
x1 (0) 0 0
x(0) x(t )
x2 (0) 1 1
1 0
(t ) 2
0.5t 1 10
Dr. Ali Karimpour Feb 2013
lecture6
x Ax Bu x(t0 ) x0
1 1
x( s) ( sI A) x0 ( sI A) Bu ( s)
t
x(t ) (t ) x0 (t )Bu ( )d
Convolution
0 integral
Exampleواحد
2 Find stateفرض
اعمال پله transition equation
حالت را با :2 مثال
for unit
معادله انتقال step
.بیابید
2 1 0 x1 (0)
x x u x(0)
0 3 1 x2 (0)
x(t ) L1 ( sI A) 1 x0
1
1
1 1
1 s 2
(t ) L1 (sI A) 1
( s 2)( s 3)
1 s 2
L L
s 3
0 0 1
s 3
Exampleواحد
2 Find stateفرض
اعمال پله transition equation
حالت را با :2 مثال
for unit
معادله انتقال step
.بیابید
t
x(t ) (t ) x0 (t )bu( )d
0
2 ( t )
e 2t e 2t e 3t x1 (0) t e e 2 ( t ) e 3( t ) 0
x(t ) 3t 3( t ) u ( )d
0 e x2 (0) 0
0 e 1
2 1 0 x1 (0)
x x u x(0)
0 3 1 x2 (0)
x(s) (sI A) 1 x(0) (sI A) 1 Bu (s)
1 1
s 2 1 s 2 1 0
x( s ) x(0) u (s)
0 s3 0 s 3 1
1 1 1 1 1 1
x ( 0) x ( 0) u ( s )
x1 ( s) s 2
( s 2)( s 3) x1 (0) ( s 2)( s 3) s 2 1
( s 2)( s 3)
2
( s 2)( s 3)
x ( s ) u ( s )
2 0 1 x2 (0) 1 1 1
x2 (0) u ( s)
s3 s3 s3 s3 14
Dr. Ali Karimpour Feb 2013
lecture6
2 1 0
x x u
0 3 1
x2 (0) x1 (0)
s -1 s -1
1 x2 s -1 x2 1 x1 s -1 x1
u(s)
-3 x2 -2 x1
1 1 1
x1 ( s) x1 (0) x2 (0) u ( s)
s2 ( s 2)( s 3) ( s 2)( s 3)
15
Dr. Ali Karimpour Feb 2013
lecture6
Relation between SS model and TF model.
adj (sI A)
G( s) C BD
sI A
Poles of G(s) ? Eigenvalues of A (modes) ?
؟A ارتباط بین قطبهای تابع انتقال و مقادیر ویژه
Poles of G(s) Eigenvalues of A 16
Dr. Ali Karimpour Feb 2013
lecture6
s 1 0
SI A 0 s 1 s 3 6s 2 11s 6 ( s 1)( s 2)( s 3)
6 11 s 6 eig(A)
s 1 s 1 1
1
g ( s) d c( sI A) b 3
s 6s 11s 6
2
( s 1)( s 2)( s 3) ( s 2)( s 3)
17
[num,den]=ss2tf(A,b,c,0), g=tf(num,den) , g=minreal(g) Dr. Ali Karimpour Feb 2013
lecture6
Example5: Continue
ادامه:5مثال
0 1 0 0
x 0 0 1 x 0u
1
6 11 6 1 G( s)
( s 2)( s 3)
y [1 1 0]x
1 3 p1 3
2 2
p2 2
3 1
x Ax bu A is 3 3 b is 3 1
Let
y cx du c is 1 3 d is 11
1
w1 x1 x3 1 0 1 1 0 1
w2 x1 2 x2 w 1 2 0 x Px x P 1w 1 2 0 w
w3 x2 x3 0 1 1 0 1 1
x Ax bu 1
P 1w AP w bu w P A P 1w Pbu
y cx du
y cP 1w du y cP 1w du
w Aˆ w bˆu  b̂ ĉ d̂
y cˆw dˆu 19
Dr. Ali Karimpour Feb 2013
lecture6
3 6 4 6
1 2
x 1 2 2 x 3u Eigenvalues of A
2 4 A مقادیر ویژه
1 6 6 4
3 1
y [2 2 1]x
2 - 1 2 2 0 0 4.9 cˆ cP 1 [ 0.4 0.6 0]
P 1 1 1 - 1 Aˆ PAP1 0 1 0 bˆ Pb 0
- 1 - 1 2 0 0 4 3 dˆ d 0
Eigenvector corresponding to -2
2 0 0 4.9
1 2
w 0 1 w 0 u
0
Eigenvalues of Â
2 4 Â مقادیر ویژه
0 0 4 3
3 1
y [ 0.4 0.6 0]w
20
New system is very simpler than older Dr. Ali Karimpour Feb 2013
lecture6
Similarity transformation and eigenvalues
تغییر متغیرها و مقادیر ویژه
x Ax bu Eigenvalues of A
sI A 0
y cx du A مقادیر ویژه
Exercise
3- Find y(t) for initial condition [1 3 -1]T and the unit step as
2 1 3 0
input. x 0 3 2 x 1 u
1 4 1 22 0
y [1 2 Dr.0Ali
]x Karimpour Feb 2013
lecture6
Exercise (cont.)