Lecture-9 State Space Lec 3 Abdelbast
Lecture-9 State Space Lec 3 Abdelbast
اﻛﺎدﯾﻣﯾﺔ اﻟﺷروق
اﻟﻣﻌﮭد اﻟﻌﺎﻟﻰ ﻟﻠﮭﻧدﺳﺔ
ﻗﺳم اﻟﻘوى واﻵﻻت اﻟﻛﮭرﺑﯾﺔ
Lecture 3
1
6/7/2021
2-Modal Forms
2.1 Diagonal Canonical Form.
Consider the transfer function system defined by the following Equation .
( ) + + ⋯+ +
=
( ) + + ⋯+ +
Here we consider the case where the denominator polynomial involves only distinct
roots. For the distinct-roots case, The equation can be written as
( ) + + ⋯+ +
=
( ) + + ⋯⋯⋯( + )
( )
= + + +⋯ ⋯+
( )
̇ − 0 ⋯ 0 0 1
̇ 0 − ⋯ 0 0 1
⋮ = ⋮ ⋮ ⋮ ⋯ ⋮ ⋮ + ⋮
̇ 0 0 ⋯ − 0 1
̇ 0 0 ⋯ 0 − 1
= … ⋮ +
2
6/7/2021
( ) +3
=
( ) +3 +2
3
6/7/2021
̇ − 0 1
= + = +
̇ 0 − 1
̇ − = −
= +
̇ −
Block diagram
4
6/7/2021
5
6/7/2021
+ + ⋯+ + = ( )
• Where y(t) is the plant output and u(t) is the plant input.
• A state model for this system is not unique but depends on the choice of a
set of state variables.
= , = ̇, = ̈, ⋯ , =
̇ =− − − ⋯− + ( )
x1 0 1 0 0 x1 0
x 0 0 1 0 x2 0
2
u
x n 1 0 0 0 1 xn 1 0
x n an an 1 an 3 a1 xn 1
6
6/7/2021
x1
x
2
y 1 0 0 0
xn 1
xn
u(t ) y(n) … y x2 y x1
∫ ∫ ∫ ∫
+
+
y(n2) xn1
a1
a2
an
7
6/7/2021
2 +4 +6 + 8 = 10 ( )
• The differential equation is third order, thus there are three state
variables:
= = ̇ = ̈
• And their derivatives are (i.e state equations)
̇ =
̇ =
̇ = −4 −3 −2 +5 ( )
x1 0 1 0 x1 0
x 0 0 1 x2 0u (t )
2
x3 4 3 2 x3 5
x1
y (t ) 1 0 0 x2
x3
Home Work: Draw Sate diagram
8
6/7/2021
( ) 1 ( )
( )
+ +
+ + +
• Denoting the output of the first block as W(s), we have the following
input/output relationships:
( ) 1
=
( ) + + +
( )
= + +
( )
( )= ̈ + ̇ + ( )
9
6/7/2021
( )=
10
6/7/2021
(Example-2)
• Consider the transfer function of a third-order system where the
numerator degree is lower than that of the denominator.
( ) +3 +2
=
( ) + 10 + 33 + 36
• Transfer function can be decomposed into cascade form
( ) 1 ( )
( )
+3 +2
+ 10 + 33 + 36
• Denoting the output of the first block as W(s), we have the following
input/output relationships:
( ) 1
=
( ) + 10 + 33 + 36
( )
= +3 +2
( )
(Example-2)
( ) 1 ( )
= = +3 +2
( ) + 10 + 33 + 36 ( )
• Re-arranging above equation yields
= −10 − 33 − 36 ( )+ ( )
( )= ( )+3 ( )+2 ( )
• Taking inverse Laplace transform of above equations.
⃛ = −10 ̈ − 33 ̇ − 36 ( )+ u( )
( )= ̈ +3 ̇ +2 ( )
11
6/7/2021
(Example-2)
• State Equations are given as
̇ = ̇ = ̇ = −36 − 33 − 10 + ( )
( )= 1 3 2
(Example-2)
• State Equations are given as
̇ = ̇ = ̇ = −36 − 33 − 10 + ( )
10
33
36
12
6/7/2021
׀λI-A = ׀0
The eigenvalues are also called the characteristic roots.
Consider, for example, the following matrix A
A=
− − −
The characteristic equation is
λ −
׀λI-A = ׀ λ −
λ+
3 2
= λ + 6 λ +11 λ + 6
=(λ + )(λ + )(λ + )
The eigenvalues of A are the roots of the characteristic equation, or -1, -2, and -3.
Diagonalization of n*n matrix (Derivation of state space (S.S) from another S.S)
Note that if an (n x n) matrix A with distinct eigenvalues is given by
0 1 0 ⋯ 0
0 0 1 ⋯ 0
= ⋮ ⋮ ⋮ ⋯ ⋮
0 0 0 ⋯ 1
− − − ⋯ −
13
6/7/2021
Example
Consider the following state-space representation of a system.
̇ 0 1 0 0
̇ = 0 0 1 + 0
̇ −6 −11 −6 6
= 1 0 0
Where
0 1 0 0
= 0 0 1 , = 0 , = 1 0 0
−6 −11 −6 6
14
6/7/2021
or
̇ 3 2.5 0.5 0 1 0 1 1 1 3 2.5 0.5 0
̇ = −3 −4 −1 0 0 1 −1 −2 −3 + −3 −4 −1 0
̇ 1 1.5 0.5 −6 −11 −6 1 4 9 1 1.5 0.5 6
Simplifying gives
̇ −
̇ = − + −
̇ −
Dr.Ahmed Abdelbaset
15