Unit - 5 - Part 1
Unit - 5 - Part 1
Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
Noting that the knowledge of y(0), y(0),….., 𝑦0𝑛−1, together with the input u(t) for t≥ 0, determines
completely the future behavior of the system, we may take y(t), y(t),…., 𝑦 𝑛−1 (t) as a set of n state variables.
Let us define
Or 𝑥̇ = Ax + Bu …..(2)
Y= Cx –––output equation
The first order differential equation,(2)is the state equation, and the algebraic equation (3) is the
output equation.
Explain in detail the state space representation for discrete time systems. (dec–10, 8 marks)
The discrete form of the state space representation is quite analogous to the continuous form.
The most general state space representation of linear discrete time system is
where x(k) is the state vector, U(k) is input vector and y(k) is the output vector .
The state equation of a discrete time system is a set of n–numbers of first order difference
equations.
𝑥1 (𝑘 + 1) = 𝑓1 (𝑥1 , 𝑥2 , … , 𝑥𝑛 ; 𝑢1 , 𝑢2 ,…., 𝑢𝑚 )
𝑥2 (𝑘 + 1) = 𝑓1 (𝑥1 , 𝑥2 , … , 𝑥𝑛 ; 𝑢1 , 𝑢2 ,…., 𝑢𝑚 )
1
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
𝑥𝑛 (𝑘 + 1) = 𝑓𝑛 (𝑥1 , 𝑥2 , … , 𝑥𝑛 ; 𝑢1 , 𝑢2 ,…., 𝑢𝑚 )
The output at any discrete time instant, k are functions of state variables and inputs. Hence the
output variables of linear time invariant system can be expressed as a linear combination of state
variables and inputs.
𝑑𝑦 𝑑2 𝑦 𝑑3 𝑦
Put y = 𝑥1 , = 𝑥2 and = 𝑥3 and = 𝑥̇ 3 in the given equation,
𝑑𝑡 𝑑𝑡 2 𝑑𝑡 3
∴ 𝑥̇ 3 + 6𝑥3 + 11𝑥2 + 6𝑥1 + u =0 (or) 𝑥̇ 3 = – 6𝑥3 – 11𝑥2 – 6𝑥1 – u
2
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
𝑥1
∴ The output equation is, y = [1 0 0] [ 𝑥2 ]
𝑥3
The state equation and output equation, constitutes the state model of the system.
The block diagram from of the state diagram of the system is shown in fig
u -u 𝑥̇ 3 x3 = 𝑥̇ 2 x2 = 𝑥̇ 1 y = x1
-1 ∫ ∫ ∫
6x3
6
11x2
11
6x1
6
𝒀(𝒔) 𝟏𝟎
2. Obtain the state model of the system whose transfer function is given as, =
𝑼(𝒔) 𝒔𝟑 +𝟒𝒔𝟐 +𝟐𝒔+𝟏
Solution:
𝑌(𝑠) 10
Given that = ......(1)
𝑈(𝑠) 𝑠3 +4𝑠2 +2𝑠+1
On cross multiplying the Eqn.(1) we get,
Y(s)[ s3 + 4s 2 + 2s + 1] = 10 U(s)
Y(s) s3 Y(s) + 4s 2 Y(s) + 2s Y(s) + Y(s) = 10 U(s) ......(2)
On taking inverse laplace transform of Eqn.(2) we get,
𝑦⃛ + 4𝑦̈ + 2𝑦̇ + y = 10u .......(3)
𝑥̇ 1 0 1 0 𝑥1 0
[ 𝑥̇ 2 ] = [0 0 𝑥
1 ] [ 2 ]+[ 0 ] [𝑢]
𝑥̇ 3 −1 −2 −4 𝑥3 10
𝑥1
Y = [1 0 0] [ 2 ] 𝑥
𝑥3
-----------------------------------------------------------------------
3. Determine the canonical state model of the system, whose transfer function is
T(s)=2(s+5)/[(s+2)(s+3)(s+4)]
Solution
By partial fraction expansion,
Y(s) 2(s+5) A B C
= (s+2)(s+3)(s+4)
= (s+2)
+ (s+3)
+ (s+4)
U(s)
3
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
1 1 1
Y(s) = [ 1
𝑠
x 3]U(s) – [ 𝑠
1 x 4]U(s) + [ 𝑠
1 ] U(s) .......(2)
1+ × 2 1+ ×3 1+ ×4
𝑠 𝑠 𝑠
Assign state variable at the output of the integrators as shown in fig. At the input of the integrators we
have first derivative of the state variables.
The state equations are formed by adding all the incoming signals to the integrator and equating to the
corresponding first derivative of state variable.
The state equations are: 𝑥1̇ = –2𝑥1 +u ; 𝑥2̇ = –3𝑥2 +u ; 𝑥3̇ = –4𝑥3 +u
𝑥1̇ 𝑥1
1⁄ 3
U(S) 𝑠 Y(s)
1⁄ 3
𝑠 4
𝑥3̇ 3 𝑥3
1⁄
𝑠
𝑥1̇ −2 0 0 𝑥1 1
[𝑥2̇ ] = [ 0 −3 0 ] [ 𝑥2 ]+[ 1] [𝑢]
𝑥3̇ 0 0 −4 𝑥3 1
𝑥1
Y = [3 −4 1] [ 𝑥2 ]
𝑥3
𝟎 𝟏
4. Consider the matric A = [ ]. Compute 𝒆𝑨𝒕 .
−𝟐 −𝟑
Solution
0 1
A = [ ]
−2 −3
eAt = 𝜑(t) = 𝐿−1 [(sI–A)−1]
1 0 0 1 𝑠 0 0 1 𝑠 −1
sI–A = s[ ]–[ ] = [ ] – [ ] = [ ]
0 1 −2 −3 0 𝑠 −2 −3 2 𝑠+3
Let, ∆ = |sI–A| = determinant of (sI–A)
𝑠 −1
∴ ∆ = |sI–A| = | | = s(s+3) + 2 = 𝑠 2 +3s+2 = (s+2)(s+1)
2 𝑠+3
[Confactor of (sI−A)]𝑇 [Confactor of (sI−A)]𝑇
𝜑(s) = [sI–a]−1 = =
𝑑𝑒𝑡𝑒𝑟𝑚𝑖𝑛𝑎𝑛𝑡 𝑜𝑓 (𝑠𝐼−𝐴) ∆
4
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
1 𝑠+3 1
𝜑(𝑠) = [ ]
(𝑠+1)(𝑠+2) −2 𝑠
𝑠+3 1
(𝑠+1)(𝑠+2) (𝑠+1)(𝑠+2)
𝜑(𝑠) = [ −2 𝑠 ]
(𝑠+1)(𝑠+2) (𝑠+1)(𝑠+2)
𝐴1 𝑩1 𝐴2 𝐵2
+ +
(𝑠+1) (𝑠+2) (𝑠+1) (𝑠+2)
𝜑(𝑠) = [ 𝐴3 𝐵3 𝐴4 𝐵4 ]
+ +
(𝑠+1) (𝑠+2) (𝑠+1) (𝑠+2)
s+3 𝐴1 𝐵1
= +
(s+1)(s+2) 𝑠+1 𝑠+2
𝑠+3
𝐴1 = |s=–1 = 2
𝑠+2
𝑠+3
𝐵1 = |s=–2 = –1
𝑠+1
1 𝐴2 𝐵2
= +
(s+1)(s+2) 𝑠+1 𝑠+2
1
𝐴2 = |s=–1 = 1
𝑠+2
1
𝐵2 = |s=–2 = –1
𝑠+1
−2 𝐴3 𝐵3
= +
(s+1)(s+2) 𝑠+1 𝑠+2
−2
𝐴3 = |s=–1 = –2
𝑠+2
−2
𝐵3 = |s=–2 = 2
𝑠+1
𝑠 𝐴4 𝐵4
= +
(s+1)(s+2) 𝑠+1 𝑠+2
𝑠
𝐴4 = |s= –1 = –1
𝑠+2
𝑠
𝐵4 = |s= –2 = 2
𝑠+1
2 1 1 1
− −
∴ 𝜑(𝑠) = [𝑠+1
−2
𝑠+2
2
𝑠+1
−1
𝑠+2
2 ]
+ +
𝑠+1 𝑠+2 𝑠+1 𝑠+2
5. For a system represented by state equation 𝐗̇(t) = AX(t). The response is X(t) = [
𝒆−𝟐𝒕 ] when X(0) = [ 𝟏 ]
−𝟐𝒆−𝟐𝒕 −𝟐
−𝒕 𝟏
and X(t) =[ 𝒆 −𝒕 ] when X(0) = [ ]. Determine the system matrix A and the state transition matrix.(Nov/Dec –10)
−𝒆 −𝟏
Solution
The solution of state equation is, X(t) = eAt X(0) ...........(1)
Premultiply the Eqn.(1) by e−At
e−At X(t) = e−At eAt X(0)
5
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
−t 1
e−At [ e −t ] = [ ] ......... (8)
−e −1
From Eqn.(4) and (8) we can write,
𝑒11 𝑒12 e−t ] = [ 1 ]
[𝑒 ] [ ......... (9)
21 𝑒22 −e−t −1
On multiplying the Eqn.(9) we get the following two equation,
𝑒11 e−t − 𝑒12 e−t = 1 ......... (10)
𝑒21 e−t − 𝑒22 e−t = –1 ......... (11)
𝑒 −𝑡 −1 𝑒 −𝑡 1
𝑒12 = = – 𝑒 −2𝑡 = 𝑒 𝑡 – 𝑒 2𝑡 ....... (13)
𝑒 −2𝑡 𝑒 −2𝑡
1+2𝑒12 𝑒 −2𝑡
From Eqn. (6), 𝑒11 = 𝑒 −2𝑡
−1+e22 e−t
From Eqn.(11): e21 = e−t
𝑒11 𝑒12 2𝑒 𝑡 − 𝑒 2𝑡 𝑒 𝑡 − 𝑒 2𝑡 ]
∴ e−At = [𝑒 𝑒22 ] = [
21 −2𝑒 𝑡 + 2𝑒 2𝑡 −𝑒 𝑡 + 2𝑒 2𝑡
−𝑡 −2𝑡
∴ eAt = [ 2𝑒 −𝑡 − 𝑒 −2𝑡 𝑒 −𝑡 − 𝑒 −2𝑡 ] ; where, eAt is the state transition matrix.
−2𝑒 + 2𝑒 −𝑒 −𝑡 + 2𝑒 −2𝑡
6
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
𝑠 −1
(𝑠+1)(𝑠+2) (𝑠+1)(𝑠+2) 𝑠 −1
𝜑(s)−1 = (s+1)(s+2) [ 2 𝑠+3 ] =[ ]
2 𝑠+3
(𝑠+1)(𝑠+2) (𝑠+1)(𝑠+2)
1 0 𝑠 −1 𝑠 0 𝑠 −1 0 1
A = sI – 𝜑(s)−1 =s[ ]–[ ] =[ ] –[ ]=[ ]
0 1 2 𝑠+3 0 𝑠 2 𝑠+3 −2 −3
Result
𝑡 −2𝑡
A=[
0 1
] ; eAt = [ 2𝑒−𝑡− 𝑒 −2𝑡 𝑒 −𝑡 − 𝑒 −2𝑡 ]
−2 −3 −2𝑒 + 2𝑒 −𝑒 −𝑡 + 2𝑒 −2𝑡
------------------------------------------------------------------------
Transformation of state model
1. A linear time invariant system is described by the following state model.
𝑥1 0 1 0 𝑥1 0 𝑥1
𝑥
[ 2] = [ 0 0 1] 𝑥
[ 2 ] + [0 ] u and y = [1 0 0] 𝑥
[ 2]
𝑥3 −6 −11 −6 𝑥3 2 𝑥3
Transform this state model into a canonical state model. Also compute the state transition matrix, 𝑒 𝐴𝑡 .
Solution
To find eigenvalues:
1 0 0 0 1 0 𝜆 0 0 0 1 0 𝜆 −1 0
[𝜆𝐼 − 𝐴] = λ [0 1 0] − [ 0 0 1 ] = [0 𝜆 0 ] − [ 0 0 1 ] = [0 𝜆 −1 ]
0 0 1 −6 −11 −6 0 0 𝜆 −6 −11 −6 6 11 𝜆 + 6
The characteristic equation is, |𝜆I – A| = 0
𝜆 −1 0
(𝜆𝐼 − 𝐴) = [0 𝜆 −1 ] = λ[λ(λ+6)+11]+1 × 6 = 0
6 11 𝜆 + 6
λ (λ2+6λ+11) +6 = 0 ; λ3 + 6λ2 +11λ+ 6 = 0
λ = –1 is one of the root of the above equation,
∴(λ+1)( λ2+5λ+6) = 0
(λ+1)( λ+2)( λ+3) = 0
(λ+1) = 0 ; ( λ+2) = 0 ; ( λ+3) = 0
The eigenvalues are: λ1 = –1 ; λ2 = –2 ; λ3 = – 3
To find modal matrix:
The system is given in the comparision form and therefore modal matrix, M is given by vander monde
matrix, v.
1 1 1 1 1 1
M=V =[ 1 𝜆 𝜆 2 𝜆 3 ] = [−1 −2 −3]
𝜆12 𝜆22 𝜆23 1 4 9
Alternatively model matrix can be found from eigen vectors. The alternate method is shown below,
1 0 0 0 1 0 −1 −1 0
(λ1I – A) = (–1) [0 1 0] − [ 0 0 1 ] = [ 0 −1 −1]
0 0 1 −6 −11 −6 6 11 5
Let the co factors of ( λII – A)alons 1 row be c11,c12, and c13
st
−1 −1 0 −1 0 −1
C11=(+1)| | = 6; C12=(–1)| | = −6; c13=(+1)| |=6
11 5 6 5 6 11
𝐶11 6 1
Eigen value corresponding to 𝜆1 = m11 = [𝐶12 ] = [ −6 ] = [−1]
𝐶13 6 1
Note: the elements of eigen vector can be divided by a constant.
7
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
1 0 0 0 1 0 −2 −1 0
(λ2I – A) = (–2) [0 1 0] − [ 0 0 1 ] = [ 0 −2 −1]
0 0 1 −6 −11 −6 6 11 4
Let the cofactors (λ2I – A) along 1st row be c11,c12, and c13
−2 −1 0 −1 0 −2
C11=(+1)| | = 3; C12=(–1)| | = −6; c13=(+1)| | = 12
11 4 6 4 6 11
𝐶11 3 1
Eigen vector corresponding toλ2 = m2 = [𝐶12 ] =[−6] =[−2]
𝐶13 12 4
1 0 0 0 1 0 −3 −1 0
(λ3I – A) = (–3) [0 1 0] − [ 0 0 1 ] = [ 0 −3 −1]
0 0 1 −6 −11 −6 6 11 3
Let the cofactors (λ3I – A) along 1st row be c11,c12, and c13
−3 −1 0 −1 0 −3
C11=(+1)| | = 2; C12=(–1)| | = −6; c13=(+1)| | = 18
11 3 6 3 6 11
𝐶11 2 1
Eigen vector corresponding toλ3 = m3 = [𝐶12 ] = [−6] = [−3]
𝐶13 18 9
1 1 1
The modal matrix, M=[𝑚1 𝑚2 𝑚3] = [−1 −2 −3]
1 4 9
It is observed that the modal matrix obtained from vander monde matrix and from eigen vectors are same.
To find M–1
(𝐂𝐨𝐟𝐚𝐜𝐭𝐨𝐫 𝐨𝐟 𝐌)𝐓 𝐌cof𝐓
M–1 = 𝐃𝐞𝐭𝐞𝐫𝐦𝐢𝐧𝐚𝐧𝐭 𝐨𝐟 𝐌 = ∆𝐦
1 1 1
∆M = |−1 −2 −3| = 1(–18+12)–1(–9+3)+1(–4+2)=–2
1 4 9
−6 6 −2 −6 −5 −1
𝑴𝑻𝒄𝒐𝒇 = transpose of [−5 8 −3] = [ 6 8 2]
−1 2 −1 −2 −3 −1
−6 −5 −1
–1 1
∵ 𝑴 = [6 8 2]
−2
−2 −3 −1
To find canonical form of state model
−6 −5 −1 0 1 0 1 1 1
–1 1
Grammian matrix( 𝚲 =M AM) = −2 [ 6 8 2][0 0 1 ] [−1 −2 −3]
−2 −3 −1 −6 −11 −6 1 4 9
6 5 1 1 1 1 −1 0 0
1
= −2 [−12 −16 −4] [−1 −2 −3] = [ 0 −2 0 ]
6 9 3 1 4 9 0 0 −3
−6 −5 −1 0 1
1
̃ =M–1 B
𝐁 = −2 [ 6 8 2 ] 0 = −2
−2 −3 −1 2 1
1 1 1
𝐂̃ = CM = [1 0 0] [−1 −2 −3] = [1 1 1]
1 4 9
The canonical form of state model is,
Ż = 𝚲Z+𝐁̃U
ż 1 −1 0 0 z1 1 z1
ż 2 = [ 0 −2 0 ] [z2] + [−2] [U] ; Y = [1 1 1] [z2]
ż 3 0 0 −3 z3 1 z3
8
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
𝑒 𝜆1𝑡 0 0 𝑒 −𝑡 0 0
𝑒 Λ𝑡 = [ 0 𝑒 𝜆2𝑡 0 ]= [ 0 𝑒 −2𝑡 0 ]
0 0 𝑒 𝜆3𝑡 0 0 𝑒 −3𝑡
1 1 1 𝑒 −𝑡 0 0 −6 −5 −1
𝐴𝑡 1
∴𝑒 =[−1 −2 −3] [ 0 𝑒 −2𝑡
0 ] (−2) [ 6 8 2]
1 4 9 −3𝑡 −2 −3 −1
0 0 𝑒
3𝑒 −𝑡 − 3𝑒 −2𝑡 + 𝑒 −3𝑡 2.5𝑒 −𝑡 −4𝑒 −2𝑡 +1.5𝑒 −3𝑡 0.5𝑒 −𝑡 − 𝑒 −2𝑡 +0.5𝑒 −3𝑡
= [−3𝑒 −𝑡 +6𝑒 −2𝑡 −3𝑒 −3𝑡 −2.5𝑒 −𝑡 +8𝑒 −2𝑡 −4.5𝑒 −3𝑡 −0.5𝑒 −𝑡 +2𝑒 −2𝑡 −1.5𝑒 −3𝑡 ]
3𝑒 −𝑡 −12𝑒 −2𝑡 +9𝑒 −3𝑡 2.5𝑒 −2𝑡 −16𝑒 −2𝑡 13.5𝑒 −3𝑡 0.5𝑒 −𝑡 −4𝑒 −2𝑡 +4.5𝑒 −3𝑡
2.Convert the following system matrix to canonical form and hence calculate the state transition matrix
𝒆𝑨𝒕 .
4 1 −2
A = [1 0 2]
1 −1 3
SOLUTION
To find eigenvalues
1 0 0 4 1 −2 𝜆 − 4 −1 2
(𝜆𝐼 − 𝐴) = λ [0 1 0] − [1 0 2 ] = [ −1 𝜆 −2 ]
0 0 1 1 −1 3 −1 1 𝜆−3
𝜆 − 4 −1 2
(𝜆𝐼 − 𝐴) = [ −1 𝜆 −2 ] = (𝜆 − 4)[λ(λ–3)+2]+1(–λ+3–2)+2(–1+λ)
−1 1 𝜆−3
= (λ–4)(λ2–3λ+2)–λ+1–2+2λ=(λ–4)(λ–1)(λ–2)+(λ–1)
= (λ–1)[(λ–4)(λ–2)+1]=(λ–1)[λ2=6λ+8+1]
= (λ–1)(λ2–6λ+9)=(λ–1)(λ–3)2
The eigen values are λ1 =1, λ2=3, λ3=3. Since one of the eigen value has a multiciplicity of 2(repeats two
times) the canonical form will be a Jordan canonical form.
1 0 0 4 1 −2 −3 −1 2
[λ1I–A]=(1) [0 1 0] − [1 0 2 ] = [−1 1 −2]
0 0 1 1 −1 3 −1 1 −2
Let the co factors of ( λ1I – A)alons 1st row be c11,c12, and c13.
1 −2 −1 −2 −1 −1
C11= (+1)| | = 0; C12= (–1)| | = 0; c13= (+1)| |=0
1 −2 −1 −2 −1 1
𝐶11 0
∴ m1=[𝐶12 ]= [ 0 ] the cofactors along 1st row gives null solution.
𝐶13 0
Let the co factors of ( λ1I – A) along the IInd row be c21,c22, and c23
−1 2 3 2 −3 −1
C21=(–1)| | = 0; C12=(+1)| | = 8; c13=(–1)| |=4
1 −2 −1 −2 −1 1
𝐶21 0
∴ m1=[𝐶22 ]= [ 8 ]
𝐶23 4
1 0 0 4 1 −2 𝜆−4 −1 2
[λ2I – A]= (λ2) [0 1 0] − [1 0 2 ] = [ −1 𝜆 −2 ]
0 0 1 1 −1 3 −1 1 𝜆−3
Let the cofactors (λ2I – A) along 1st row be c11,c12, and c13
9
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
𝜆 −2
C11=(+1)| 2 | =λ2(λ2–3)+2=λ22–3λ2+2 ;
1 𝜆2 − 3
−1 −2
C12=(–1)| | = (–1)[(–1)(λ2–3)–2]=λ2–1
−1 𝜆2 − 3
−1 𝜆2
c13=(+1)| | = –1+λ2=λ2–1
−1 1
Let m2 be the independent eigen vector corresponding to λ2=3.
0 2 3
–1 𝐌cof𝐓
M = ; ∆M = |8 2 1| = –8+24=16
∆𝒎
4 2 1
0 −4 8 T 0 4 −4
𝑴𝑻𝒄𝒐𝒇 = [ 4 −12 8 ] = [−4 −12 24 ]
−4 24 −16 8 8 −16
0 4 −4 0 1 −1
1 1
∴ 𝑴–1 = 16 [−4 −12 24 ] = [ −1 −3 6 ]
4
8 8 −16 2 2 −4
0 1 −1 4 1 −2 0 2 3
1
Grammian matrix(A=M–1 AM) = 4 [−1 −3 6 ] [1 0 2 ] [8 2 1 ]
2 2 −4 1 −1 3 4 2 1
0 1 −1 0 2 3 4 0 0 1 0 0
1 1
= 4 [−1 −7 14 ] [8 2 1] = 4 [0 −12 4 ] = [0 3 1]
6 6 −12 4 2 1 0 0 12 0 0 3
1 0 0
∴J = M–1 AM = [0 3 1 ] Jordan Block
0 0 3
𝑡2 𝑡
1 𝑡 𝑒 𝜆1 0 0 𝑒𝑡 0 0
2 𝚲𝒕 𝑡
Q(t) = [0 1 𝑡] ; 𝒆 = [ 0 𝑒 𝜆2 0 ]=[0 𝑒 3𝑡 0]
0 0 1 0 0
𝑡
𝑒 𝜆3 0 0 𝑒 3𝑡
𝑡2
0 2 3 1 𝑡 𝑒𝑡 0 0 0 1 −1
1
𝑨𝒕 2
∴𝒆 = [8 2 1] [0 1 𝑡][0 𝑒 3𝑡 0 ] [ −1 −3 6] * 4
4 2 1 0 3𝑡 2 2 −4
0 1 0 0 𝑒
0 2 2𝑡 + 3 𝑒𝑡 0 0 0 0.25 −0.25
2
=[8 8𝑡 + 2 4𝑡 + 2𝑡 + 1] [ 0 𝑒 3𝑡 0 ] [ −0.25 −0.75 1.5 ]
4 4𝑡 + 2 2𝑡 2 + 2𝑡 + 1 0 0 𝑒 3𝑡 0.5 0.5 −1
10
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
(𝑡 + 1)𝑒 3𝑡 𝑡𝑒 3𝑡 −2𝑡𝑒 3𝑡
=[(2𝑡 2 − 𝑡)𝑒 3𝑡 2𝑒 𝑡 + (2𝑡 2 − 5𝑡 − 1)𝑒 3𝑡 −2𝑒 𝑡 − (4𝑡 2 − 10𝑡 + 1)𝑒 3𝑡 ]
𝑡 2 𝑒 3𝑡 𝑒 𝑡 + (𝑡 2 − 2𝑡 − 1)𝑒 3𝑡 −𝑒 𝑡 − (2𝑡 2 − 4𝑡 − 1)𝑒 3𝑡
-------------------------------------------------------------------------------------------------------------------
Solution:
Cross multiplying the Eqn.(1):Y(s) (𝑠 3 + 5𝑠 2 + 11𝑠 + 6) = 3 U(s)
𝑑3 𝑦 𝑑2 𝑦 𝑑𝑦
The differential equation of the system is , +5 + 11 𝑑𝑡 + 6 𝑦 = 3 𝑢 ….(2)
𝑑𝑡 3 𝑑𝑡 2
𝑑3 𝑦 𝑑𝑦 𝑑2 𝑦
= − 6 𝑦 − 11 𝑑𝑡 − 5 +3𝑢 ….(3)
𝑑𝑡 3 𝑑𝑡 2
where y = output
𝑑𝑦 𝑑2 𝑦 𝑑3 𝑦
Let 𝑋1 = 𝑦 ; 𝑋1̇ = = 𝑋2 ; 𝑋2̇ = = 𝑋3 ; 𝑋3̇ = ….(4)
𝑑𝑡 𝑑𝑡 2 𝑑𝑡 3
11
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
0 0 −6 0 0
𝑻 𝟐 𝑻 𝑻 𝑻 𝑻
(𝑨 ) 𝑪 = 𝑨 (𝑨 𝑪 ) = [1 0 −11] [ 1 ] = [ 0 ]
0 1 −5 0 1
𝟏 𝟎 𝟎
Substitute the above terms in Eqn.(6): 𝑸𝑶 = [𝟎 𝟏 𝟎] = 1 ≠𝟎
𝟎 𝟎 𝟏
Result: rank of 𝑄𝐶 is 3 , hence the system is completely observable.
––––––––––––––––––––––––––––––––––––––––
2. Determine the controllability and observability of the following system. (dec–12, 8 marks)
𝑋1̇ 0 1 0 𝑋1 0 𝑋1
[𝑋2̇ ] = [ 0 0 1 ] [𝑋2 ] + [ 0 ] u ; y = [1 0 0] [𝑋2 ]
𝑋3̇ 0 −2 −3 𝑋3 10 𝑋3
0 0 0 0 0
𝑻 𝟐 𝑻 𝑻 𝑻 𝑻
(𝑨 ) 𝑪 = 𝑨 (𝑨 𝑪 ) = [1 0 −2] [ 1 ] = [ 0 ]
0 1 −3 0 1
12
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
𝟏 𝟎 𝟎
Substitute the above terms in Eqn.(6): 𝑸𝑶 = [𝟎 𝟏 𝟎] = 1 ≠𝟎
𝟎 𝟎 𝟏
Result: rank of 𝑄𝐶 is 3 , hence the system is completely observable.
–––––––––––––––––––––––––––––––––––––––
3. Determine the state controllability and observability of the following system. (dec–10, 16
marks)
−3 1 1 0 1 𝑋1
̇ 0 0 1 𝑋
[𝑋] = [ −1 0 1] X + [0 0] u ; y = [ ] [ 2]
1 1 0
0 0 1 2 1 𝑋3
𝑋̇ = AX + B U ––––––State Eqn. y = CX ––––––State Eqn
−3 1 1 0 1
0 0 1
A = [ −1 0 1] ; B = [0 0] ; 𝐶=[ ]
1 1 0
0 0 1 2 1
KALMAN’S TEST FOR CONTROLLABILITY, 𝑸𝑪 = [𝑩 ∶ 𝑨𝑩 ∶ 𝑨𝟐 𝑩] ….(5)
0 1 −3 1 1 0 1 2 −2
B = [0 0 ] ; 𝑨𝑩 = [ −1 0 1] [0 0] = [2 0 ] ;
2 1 0 0 1 2 1 2 1
−3 1 1 2 −2 2 7
𝑨𝟐 𝑩 = A[𝑨𝑩] =[ −1 0 1] [2 0 ] = [0 3 ]
0 0 1 2 1 2 1
𝟎 𝟏 𝟐 −𝟐 −𝟐 𝟕
Substitute the above terms in Eqn.(5): 𝑸𝑪 = [𝟎 𝟎 𝟐 𝟎 𝟎 𝟑]
𝟐 𝟏 𝟐 𝟏 𝟐 𝟏
𝟏 𝟐 −𝟐
Consider , [𝟎 𝟐 𝟎 ] =6 ≠𝟎
𝟏 𝟐 𝟏
Result: rank of 𝑄𝐶 is 3 , hence the system is completely observable.
KALMAN’S TEST FOR OBSERVABILITY, 𝑸𝒐 = [𝑪𝑻 ∶ 𝑨𝑻 𝑪𝑻 ∶ (𝑨𝑻 )𝟐 𝑪𝑻 ] ….(6)
𝟎 𝟏 −𝟑 −𝟏 𝟎 𝟎 𝟏 𝟎 −𝟒
𝑪 𝑻 = [𝟎 𝟏] ; 𝑨𝑻 𝑪𝑻 = [ 𝟏 𝟎 𝟎 ] [𝟎 𝟏] =[𝟎 𝟏 ]
𝟏 𝟎 𝟏 𝟏 𝟏 𝟏 𝟎 𝟏 𝟐
−𝟑 −𝟏 𝟎 𝟎 −𝟒 𝟎 −𝟏𝟏
(𝑨𝑻 )𝟐 𝑪𝑻 = 𝑨𝑻 (𝑨𝑻 𝑪𝑻 ) = [𝟏 𝟎 𝟎 ] [ 𝟎 𝟏 ] = [𝟎 −𝟒 ]
𝟏 𝟏 𝟏 𝟏 𝟐 𝟏 −𝟏
𝟎 𝟏 𝟎 −𝟒 𝟎 𝟏𝟏
Substitute the above terms in Eqn.(6): 𝑸𝟎 = [𝟎 𝟏 𝟎 𝟏 𝟎 −𝟒]
𝟏 𝟎 𝟏 𝟐 𝟏 −𝟏
−𝟒 𝟎 𝟏𝟏
Consider, [ 𝟏 𝟎 −𝟒] = -5 ≠ 𝟎
𝟐 𝟏 −𝟏
Result: rank of 𝑄𝐶 is 3 , hence the system is completely observable.
Home work :
−𝟐 𝟏 𝟏
(i) A=[ ] ; B=[ ] ; C = [𝟏 −𝟏] ans: Controllable, not observable
𝟏 −𝟐 𝟎
0 0 0 40
(ii). A=[ 1 0 −3] ; B = [10] ; 𝐶 = [0 0 1]
0 1 −4 0
ans: Controllable, observable
13
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
1 1 1 1 1 1
𝜆
M =[ 1 𝜆2 𝜆3 ] = [−1 −2 −3]
𝜆12 𝜆22 𝜆23 1 4 9
−6 6 −2 𝑇 −6 −5 −1
[−5 8 −3] [6 8 2] 3 2.5 0.5
𝐴𝑑𝑗[𝑀] −1 2 −1 −2 −3 −1
𝑀−1 = |𝑀|
= = = [−3 −4 −1]
−2 −2
1 1.5 0.5
3 2.5 0.5 0 0.5
̃ = M–1 B
𝐁 = [−3 −4 −1] [0] = [−1]
1 1.5 0.5 1 0.5
̃ , the system is completely controllable.
Result: As none of the element of 𝐁
--------------------------------------------------
Gilbert’s test for obsevrability: 𝐂̃ = CM
𝜆 −1 0
|𝜆𝐼 − 𝐴| = |0 𝜆 −1 | =0; 𝜆3 + 3𝜆2 + 2𝜆 = 0; 𝜆 ( 𝜆2 + 3𝜆 + 2)
0 2 𝜆+3
𝜆1 = -1, 𝜆1 = -2, 𝜆1 = -3
1 1 1 1 1 1
M = [𝜆1 𝜆2 𝜆3 ] = [0 −1 −2]
𝜆12 𝜆22 𝜆23 0 1 4
1 1 1
𝐂̃ = CM = [𝟑 𝟒 𝟏 ] [0 −1 −2] =[𝟑 𝟎 −𝟏]
0 1 4
Result: As there is one zero element in𝐂̃ , the system is not completely observable.
14
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
15
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
16
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
17
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
18
M.Renuga / AP – ECE / AAMEC UNIT -5 CONTROL SYSTEM ANALYSIS USING STATE VARIABLE METHODS EC8391 – Control System engg
19