際際滷

際際滷Share a Scribd company logo
INSPIRING CREATIVE AND INNOVATIVE MINDS
State-Space Realizations
Example 3.1
Consider:
x
(t)  Ax(t)  Bu(t)
y(t)  Cx(t)  Du(t)
x
(t)  Ax(t)  Bu(t)
y(t)  Cx(t)  Du(t)
x(t)  Px(t)
Equivalent
Transformation
Equivalent
Systems
Equivalent state equations
Given state-space description:
Let P be a nonsingular matrix s.t.:
x  Px  x  P-1
x
x
 Px  PAx  PBu  PAP1
x  PBu
y  Cx  Du  CP1
x  Du
A  PAP-1
, B  PB, C  CP-1
, D  D
x
(t)  Ax(t)  Bu(t); y(t)  Cx(t)  Du(t) (**)
 (*) and (**) are said to be equivalent to each other
and the procedure from (*) to (**) is called an
equivalent transformation.
x
(t)  Ax(t)  Bu(t) (*)
y(t)  Cx(t)  Du(t)
Let
()  I  A
The feedforward matrix D between the input and output has nothing
to do with the state space and is not affected by the equivalent
transformation.
The characteristic equation for (*) is:
For (**), we have
()  I  A  I P1
AP  P1
P P1
AP
 P1
(了I)P P1
AP  P1
(了I  A)P
 P P1
了I  A  I A
Equivalent state equations have the same characteristic polynomial
and hence the same set of eigenvalues.
Equivalent state equations
Recall: A  PAP-1
and A are similar to each other
 They have same eigenvalues, same stability perf.
 Similar transfer functions!!
G(s)  C(sI  A)1
B  D G(s)  C(sI  A)1
B  D
and
G(s)  G(s)
To verify,
G(s)  C(sI  A)1
B  D
(XYZ)1
 Z1
Y1
X1
 CP-1
(sPP1
 PAP1
)1
PB  D
 CP-1
(P(sI - A)P-1
)-1
PB  D
 CP1
P(sI  A)1
P1
PB  D
 C(sI  A)1
B  D  G(s)
Equivalent state equations
Example 3.2
Consider again Ex. 3.1:
x1  x1
 2   誌 2 
1削x 
0 刻x1 
x  1
x1 

1
x(t)  Px(t)
From the circuit (via observation):
x2  (x1  x2 )1
Or
 
 
   
1
1
1
1 1
1 0
x2 
x 
x2 
x 
  
1
削 
1
1
1誌x2 
0 刻x
Two state equations are said to be zero-state equivalent
if they have the same transfer matrix or
D  C(sI  A)1
B  D  C(sI  A)1
B
Note that:
(sI  A)1
 s1
I  s2
A s3
A2

Then,
D  CBs1
 CABs2
 CA2
Bs3
 D  CBs1
 CABs2
 CA2
Bs3

Zero-State Equivalent
Zero-State Equivalent
matrix iff
Theorem 3.1
Two LTI state equations{A,B,C,D} and {A,B, C, D}
are zero-state equivalent or have the same transfer
D  D and
CAm
B  CAm
B ; m  0,1,2,...
- In order for two state equations to be equivalent, they
must have the same dimension.
- This is, however, not the case for zero-state equivalence.
Example 3.3:
Consider:
A  B  C  0
y(t)  0.5u(t) x(t)  x(t)
y(t)  0.5x(t)  0.5u(t)
A 1 ; B  0 ; C  0.5 ; D  0.5
D  D  0.5
CAm
B  CAm
B  0
Note that:
 The two systems are zero-state equivalent.~ Theorem 3.1
Companion Form
 Consider:
0
 3 2 1
 1 0 x(t)  0u(t)  Ax(t)  bu(t)
  
 4 3 1 削 1削
x
(t)   2
 Then:
 It can be shown that:
 Can {b,Ab,A2
b} be used as the basis?
 YES!
Companion Form

5 


0
0 0 17 
0 15
1
A  1
 Then:
 Thus the representation ofA w.r.t. the basis {b,Ab,A2
b} is:
Companion Form


 0


0

0 
0 
 1
;

0
1
1  
 
3

 0
2   0 1
0
0 0 0 4  1 2 3 4 
 0 0 0
0 1 0 0
0 1 1


 0
0
;

1 

 0
0 
 0
 4
2
1
2
3
4

 0 1 0 0  1 1 0 0
0 1 0 1 
0 0 3 0 0 1
0 0
     
Transpose
All have similar
characteristic
polynomial:
2 3 4
1
4 3 2
()         
 Companion-form matrices:
 Any special?
 3
52
15 17  0
( 3)  2 1
2 ( 1) 0
 4 3 ( 1)
()  I  A 
A  1
(-1)
(-1)
0 0 17 
 0 15

0 1 5 

(-1)
Realizations
Q. What is "realization"?
space equation
 Implicitly implies LTI systems
 Shall start with multi-variable systems and will
sometimes specialize to single-variable systems
x
(t)  Ax(t)  Bu(t)
y(t)  Cx(t)  Du(t)
D(s)
 For a givenG(s) 
N(s)
, find a corresponding state-
Q. If (s) is realizable, how many possible
realizations?
 Infinite ~ in view of equivalent transformations and the
possibility of adding un-controllable or un-observable
components
Q. Which one is the "good" realization?
- A good realization is the one with the minimal order
~ Irreducible realization
 Will be discussed in Topic 6
Realizations (cont.)
Realizations (cont.)
Q. Under what condition is (s) realizable by an
LTI system?
-Recall that the transfer function of the dynamic equation is
G(s)  C(sI  A)1
B  D  C(sI  A)1
B  D
(s) is realizable by a dynamic equation iff it is a
proper rational function (order of numerator  order of
denominator)
 In fact, the part contributed by C(sI - A)-1B is
strictly proper
Theorem 3.2
Realizations (cont.)
as:
G
sI  A
(s) : C(sI  A)1
B 
1
CAdj.(sI  A)B
sp
To determine the realization of G(s) , decompose it
G(s)  G()Gsp (s)
where
r r1
1
d(s)  s  s  r1s r
Let
i.e. least common denominator of all entries of Gsp (s).
Nr 1
y  N1 N2  Nr xG()u
 
 0 
 

0 

x   0 u













0

0
x
 
Ip 
p
Realizations (cont.)
~Block companion form
1Ip 2I p  r1Ip rIp 
 I 0  0 0 
Ip  0 0
  
0  Ip 0
(rprp) (rpp)
(q rp)
where Ip is the p p unit matrix and every 0 is a p p zero matrix.
Then the realization of G(s) is given by
Realizations (cont.)
Proof:
Define,
Z1 
Z 
Z :  2  : (sI  A)1
B

Z

 r 
   i
where Z is the (pp) and Z is a (rpp).
Simplifying,
Then,
(sI  A)Z  B  sZ  AZ B (*)
 
  
削
削





 


0 

削Z   0 
0
削   
 

 0
0

0



Ip 
削誌Zr


p
sZr


sZ 
0 削Z3    0 
2 
sZ3   
2 
sZ1  rIp 刻Z1 
1Ip 2I p  r1Ip
 I 0  0
Ip  0
 
0 Ip
Realizations (cont.)
Using the shifting property of the companion form of A, we obtain
Substituting these into the 1st block of equation (*) yields
which implies
 Zr 1
sZ2  Z1 , sZ3  Z2 ,  , sZr
sZ1  1Z1 2Z2 rZr Ip
1
3
2 1 Z
1 r
1
sr 1
s2
s
Z 
1
Z , Z 
1
Z ,  , Z 
p
r
s
s





1
r1
2
1
 
     Z I
or
p
r
s
s





sr 1
1
r1
2
1
 Z 
d(s)
 I

s
Realizations (cont.)
Thus we have,
Then,

1
2
1
C(sI  A)1
B  G()  G()
r
r2
r1
 N s
Ns
d(s)
 N
1
Z1 
d(s)
Ip
sr 2
sr 1
, Z2 
d(s)
Ip ,  , Zr 
d(s)
Ip
 Gsp (s)G()
 G(s)
Special Case: p = 1
Realizations (cont.)
(For simplicity, let r = 4 and q =2.)
Then, the realization is
Consider a 21 proper rational matrix:



22 23
3
 21 24 
14

13
2
12
3
11
4
3
2
1 2
4 3
2

 s   s2
  s  
s  
s  
 s  
s  s 
s  s 
d 
d1  1
G(s)    
d 
 2 
24 
23
22
 21
 
 

14 
x 
d1 
u
y 
11 12 13
  0
1
0  0
0   
 0
 0
0  0
x   u
1 2 3 4 
 1 0 0
1 0
0 1
x
 
Note: The
controllable-
canonical-form
realization can be
read out from the
coefficients of G(s).
Realizations (cont.)
 A multi-input LTI system is the sum of many single-input
LTI systems, so can realize each single-input subsystem
and form the sum:
1st and 2nd column of




 
3
12
0 0
0



2
(s  2)2


s 1 
(2s1)(s  2)
s  2 
2s 1
1
 G()Gsp (s)
Example 3.3:
3




(s  2)2



s 1 
(2s1)(s  2)
s  2 
,
4s 10
2s 1
1
G(s) 

Consider a proper rational matrix

 

  

(2s 1)(s  2) (s  2)2


s  2 
2s 1
1 s 1
4s 10 3
G(s) 

Determine a realization of this transfer matrix.
Solution:
Decompose G(s) into a strictly proper rational matrix
d(s)  (s 0.5)(s  2)2
 s3
 4.5s2
6s  2
The monic least common denominator of Gsp (s) is




1

(s 1)(s0.5) 
0.5(s 2)
3(s 2)(s 0.5)
6(s 2)2
s3
4.5s2
6s 2
sp
G
Example (cont.)
Thus



 2
(s 1.5s 0.5)
3(s2
2.5s1) 
1 6(s2
4s 4)
d(s)  0.5(s 2)


 2
s 1.5s 0.5
3s2
7.5s3
1 6s2
24s 24
d(s)  0.5s 1
削
 
 
э

0.5誌
1.5  1
 0.5
24
 6 3
1 2
7.5
s
24 3 刻
s 
d(s)  0 1
刻 
 
 
 誌 2 
1
0.5
 0 0 0削u 
2 0 u
x
y 
6
Example (cont.)
Given,
 


  
  

 0 0削
0 1
0 1 0 0
0 0 1 0 0 

0
0
0
1


 1
0
0 6 0 2 0  1 0
0 4.5 0 6 0 2
4.5
0削u2 
0 0 0 0  0 0削u1 
0 0 0 0  0
 
0  0 0
x
x
 



3




(s  2)2



s 1 
(2s1)(s  2)
s  2 
,
4s 10
2s 1
1
G(s) 

A B
3 24 7.5 24 3
1 0.5 C
1.5 1 D
G(s)
 A,B,C,D
B


C D
S 
A
Realization
the realization is,
Example 3.4:



 


(2s1)(s  2)

4s 10
2s 1
1

(s) 
c1
G
The 1st column is
Consider again the proper rational matrix in Ex. 3.3.





 3
(s  2)2


s 1
(2s 1)(s  2)
s  2 
4s 10
2s 1
1
G(s) 

1
 

 (2s 1)(s 2) 

(4s 10)(s  2)

 

 
 (2s 1)(s 2) 
   
1
2

2s2
5s 2 

2s 5s 2
4s2
2s 20
In Matlab: n1=[4 -2 -20;0 0 1]; d1=[2 5 2]; [a,b,c,d]=tf2ss(n1,d1)
Ex. 3.4 (cont.)
Using MATLAB: n1=[4 -2 -20;0 0 1];d1=[2 5 2];[a,b,c,d]=tf2ss(n1,d1)
yields the following realization for the 1st column of G(s):
1
1
1
c1 1 1 1 1 0
0.5 
 0
   
0  1 0 1
  
1 1 1 1 1 

12
x 
2
u
y  C x d u 
6
1
x 
1
u
x
  A x b u 
2.5
Similarly, the function tf2ss can generate the following realization for the
2nd column of G(s):
2
2
2
2
2 2 2 2 2
c2 2 2 2 2 0
1 1
   
  
 1 0  0

6
x 
0
u
y C x d u 
3
4
x 
1
u
x
  A x b u 
4
Example 3.4 (cont.)
Notice that:





 3
(s  2)2


s 1

(2s 1)(s  2)
s  2 
2s 1
1
4s 10
G(s)
Ex. 3.4 (cont.)
 2   2 誌 2   2 誌 2 
x   0 A 削x   0 b 削u 
These two realizations can be combined as
x1

A1 0 刻x1 

b1 0 刻u1 
y  yc1 yc2  C1 C2 xd1 d2 u
or
u





 
x

 




x u
0 0
y   0
6 12 3 6 2 0
1
0 1
0 0 4 4
0 0 
0  0 0
0
1
1 0 0  1 0
0
2.5
x
  

 

 










2 

0
0 1
0  0 0
0  0
1
0
2
0  1 0
0 6 0 2
0 4.5 0 6 0
 4.5
0削u 
0 0 0 0 0  0
x
1 0 0 0
x

削 



 誌 2 
0.5
 0
0 0 1 0 0
 
0 0 0 1 0 0 0
3 24 7.5 24
1 0.5 1.5 1 u


0刻u1 
3 
x 
2
y 
6
A
(4
0x4)
1
B
(

4
0x20)
0
C
.5 1
(2x4)
 
D
(2x2)
A
(6x6)
B0削u1
(6x2)
C
(2x6)
0
D
0
(2x2)
Example 3.4 (cont.)
 Can also focus on the realizations of single-output systems. Then treat
LTI systems with multi-outputs as combinations of single-outputs
subsystems.
 i-th row of
 Overall realization:

0

0
  
cq

 dq


  
Aq

 Bq


x    u
x
 
Realize with {Ai, Bi, ci, di}
c1 0  d1 
0  B1 
A1
 x    u ;y

More Related Content

Similar to State Space Realizations_new.pptx (20)

CAPE PURE MATHEMATICS UNIT 2 MODULE 1 PRACTICE QUESTIONS
CAPE PURE MATHEMATICS UNIT 2 MODULE 1 PRACTICE QUESTIONSCAPE PURE MATHEMATICS UNIT 2 MODULE 1 PRACTICE QUESTIONS
CAPE PURE MATHEMATICS UNIT 2 MODULE 1 PRACTICE QUESTIONS
Carlon Baird
Answers to Problems for Digital Control System Analysis & Design 4th Edition ...
Answers to Problems for Digital Control System Analysis & Design 4th Edition ...Answers to Problems for Digital Control System Analysis & Design 4th Edition ...
Answers to Problems for Digital Control System Analysis & Design 4th Edition ...
electricaleng2024
IIT Jam math 2016 solutions BY Trajectoryeducation
IIT Jam math 2016 solutions BY TrajectoryeducationIIT Jam math 2016 solutions BY Trajectoryeducation
IIT Jam math 2016 solutions BY Trajectoryeducation
Dev Singh
7-2.Nyquist Stability Criterion.ppt
7-2.Nyquist Stability Criterion.ppt7-2.Nyquist Stability Criterion.ppt
7-2.Nyquist Stability Criterion.ppt
DummyDummy74
State equationlecture
State equationlectureState equationlecture
State equationlecture
haymanotyehuala
Math formulas worksheet answers key to the way to pass easily
Math formulas worksheet answers key to the way to pass easilyMath formulas worksheet answers key to the way to pass easily
Math formulas worksheet answers key to the way to pass easily
saimakash965
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
MuhannadSaleh
Crib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsCrib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC exams
A Jorge Garcia
Mid term solution
Mid term solutionMid term solution
Mid term solution
Gopi Saiteja
17330361.ppt
17330361.ppt17330361.ppt
17330361.ppt
AffanWaheed6
Estimating structured vector autoregressive models
Estimating structured vector autoregressive modelsEstimating structured vector autoregressive models
Estimating structured vector autoregressive models
Akira Tanimoto
Control system topics, electronics and communication engineering
Control system topics, electronics and communication engineeringControl system topics, electronics and communication engineering
Control system topics, electronics and communication engineering
ghanishthanarang14
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
IOSR Journals
Ps02 cmth03 unit 1
Ps02 cmth03 unit 1Ps02 cmth03 unit 1
Ps02 cmth03 unit 1
Prakash Dabhi
Phase diagram at finite T & Mu in strong coupling limit of lattice QCD
Phase diagram at finite T & Mu in strong coupling limit of lattice QCDPhase diagram at finite T & Mu in strong coupling limit of lattice QCD
Phase diagram at finite T & Mu in strong coupling limit of lattice QCD
Benjamin Jaedon Choi
Existence of positive solutions for fractional q-difference equations involvi...
Existence of positive solutions for fractional q-difference equations involvi...Existence of positive solutions for fractional q-difference equations involvi...
Existence of positive solutions for fractional q-difference equations involvi...
IJRTEMJOURNAL
Kittel c. introduction to solid state physics 8 th edition - solution manual
Kittel c.  introduction to solid state physics 8 th edition - solution manualKittel c.  introduction to solid state physics 8 th edition - solution manual
Kittel c. introduction to solid state physics 8 th edition - solution manual
amnahnura
Laplace periodic function with graph
Laplace periodic function with graphLaplace periodic function with graph
Laplace periodic function with graph
Kaushal Surti
Trilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operatorsTrilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operators
VjekoslavKovac1
Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1
askiitians
CAPE PURE MATHEMATICS UNIT 2 MODULE 1 PRACTICE QUESTIONS
CAPE PURE MATHEMATICS UNIT 2 MODULE 1 PRACTICE QUESTIONSCAPE PURE MATHEMATICS UNIT 2 MODULE 1 PRACTICE QUESTIONS
CAPE PURE MATHEMATICS UNIT 2 MODULE 1 PRACTICE QUESTIONS
Carlon Baird
Answers to Problems for Digital Control System Analysis & Design 4th Edition ...
Answers to Problems for Digital Control System Analysis & Design 4th Edition ...Answers to Problems for Digital Control System Analysis & Design 4th Edition ...
Answers to Problems for Digital Control System Analysis & Design 4th Edition ...
electricaleng2024
IIT Jam math 2016 solutions BY Trajectoryeducation
IIT Jam math 2016 solutions BY TrajectoryeducationIIT Jam math 2016 solutions BY Trajectoryeducation
IIT Jam math 2016 solutions BY Trajectoryeducation
Dev Singh
7-2.Nyquist Stability Criterion.ppt
7-2.Nyquist Stability Criterion.ppt7-2.Nyquist Stability Criterion.ppt
7-2.Nyquist Stability Criterion.ppt
DummyDummy74
State equationlecture
State equationlectureState equationlecture
State equationlecture
haymanotyehuala
Math formulas worksheet answers key to the way to pass easily
Math formulas worksheet answers key to the way to pass easilyMath formulas worksheet answers key to the way to pass easily
Math formulas worksheet answers key to the way to pass easily
saimakash965
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
MuhannadSaleh
Crib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsCrib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC exams
A Jorge Garcia
Mid term solution
Mid term solutionMid term solution
Mid term solution
Gopi Saiteja
Estimating structured vector autoregressive models
Estimating structured vector autoregressive modelsEstimating structured vector autoregressive models
Estimating structured vector autoregressive models
Akira Tanimoto
Control system topics, electronics and communication engineering
Control system topics, electronics and communication engineeringControl system topics, electronics and communication engineering
Control system topics, electronics and communication engineering
ghanishthanarang14
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
IOSR Journals
Ps02 cmth03 unit 1
Ps02 cmth03 unit 1Ps02 cmth03 unit 1
Ps02 cmth03 unit 1
Prakash Dabhi
Phase diagram at finite T & Mu in strong coupling limit of lattice QCD
Phase diagram at finite T & Mu in strong coupling limit of lattice QCDPhase diagram at finite T & Mu in strong coupling limit of lattice QCD
Phase diagram at finite T & Mu in strong coupling limit of lattice QCD
Benjamin Jaedon Choi
Existence of positive solutions for fractional q-difference equations involvi...
Existence of positive solutions for fractional q-difference equations involvi...Existence of positive solutions for fractional q-difference equations involvi...
Existence of positive solutions for fractional q-difference equations involvi...
IJRTEMJOURNAL
Kittel c. introduction to solid state physics 8 th edition - solution manual
Kittel c.  introduction to solid state physics 8 th edition - solution manualKittel c.  introduction to solid state physics 8 th edition - solution manual
Kittel c. introduction to solid state physics 8 th edition - solution manual
amnahnura
Laplace periodic function with graph
Laplace periodic function with graphLaplace periodic function with graph
Laplace periodic function with graph
Kaushal Surti
Trilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operatorsTrilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operators
VjekoslavKovac1
Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1Triumph- JEE Advanced Maths - Paper 1
Triumph- JEE Advanced Maths - Paper 1
askiitians

Recently uploaded (20)

Agile Project Management Infographics by 際際滷sgo.pptx
Agile Project Management Infographics by 際際滷sgo.pptxAgile Project Management Infographics by 際際滷sgo.pptx
Agile Project Management Infographics by 際際滷sgo.pptx
RestesaRahmayumita1
Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!
vanzan01
Unsafe act and unsafe conditions. .pptx
Unsafe act and unsafe conditions.  .pptxUnsafe act and unsafe conditions.  .pptx
Unsafe act and unsafe conditions. .pptx
likunsahoo8598823153
Adarsh Euphoria eBrochure near Bangalore India
Adarsh Euphoria eBrochure near Bangalore IndiaAdarsh Euphoria eBrochure near Bangalore India
Adarsh Euphoria eBrochure near Bangalore India
sudhirfriends2021
STOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan sSTOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan s
kfdpontianak2012
DEVIKA and Best you are asked to be done.pptx
DEVIKA and Best you are asked to be done.pptxDEVIKA and Best you are asked to be done.pptx
DEVIKA and Best you are asked to be done.pptx
TEAKADAITROLLS
lettering-grid-mk-plan. Design PPT, Persamaan dan Fungsi Kuadrat
lettering-grid-mk-plan. Design PPT, Persamaan dan Fungsi Kuadratlettering-grid-mk-plan. Design PPT, Persamaan dan Fungsi Kuadrat
lettering-grid-mk-plan. Design PPT, Persamaan dan Fungsi Kuadrat
sarindah1
Unsafe act and unsafe conditions. .pptx
Unsafe act and unsafe conditions.   .pptxUnsafe act and unsafe conditions.   .pptx
Unsafe act and unsafe conditions. .pptx
likunsahoo8598823153
What to Wear to Pride|What to Wear to Pride
What to Wear to Pride|What to Wear to PrideWhat to Wear to Pride|What to Wear to Pride
What to Wear to Pride|What to Wear to Pride
shava .co
Decision Trees Template - Design and Powerpoint
Decision Trees Template - Design and PowerpointDecision Trees Template - Design and Powerpoint
Decision Trees Template - Design and Powerpoint
ssuser23c420
The Irrational City | Unseen Forces of Placemaking
The Irrational City | Unseen Forces of PlacemakingThe Irrational City | Unseen Forces of Placemaking
The Irrational City | Unseen Forces of Placemaking
Leanne Munyori
Hi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a lookHi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a look
vanzan01
Design_Entrepreneurship_Presentation.pptx
Design_Entrepreneurship_Presentation.pptxDesign_Entrepreneurship_Presentation.pptx
Design_Entrepreneurship_Presentation.pptx
mishhouse00
Artificial_Lighting_Contextual_Observations.pdf
Artificial_Lighting_Contextual_Observations.pdfArtificial_Lighting_Contextual_Observations.pdf
Artificial_Lighting_Contextual_Observations.pdf
tsionasrat2
maquinas tolerancias fundamentales para agujeros
maquinas tolerancias fundamentales para agujerosmaquinas tolerancias fundamentales para agujeros
maquinas tolerancias fundamentales para agujeros
LuisCarlosCastaeda6
ACC Presentation Layoutfffffffffffg.pptx
ACC Presentation Layoutfffffffffffg.pptxACC Presentation Layoutfffffffffffg.pptx
ACC Presentation Layoutfffffffffffg.pptx
kvaishnavi3391
Lori Vanzant Portfolio. Please take a look !
Lori Vanzant  Portfolio. Please take a look !Lori Vanzant  Portfolio. Please take a look !
Lori Vanzant Portfolio. Please take a look !
vanzan01
(5)_Haematology_II.pptx system pptt theg
(5)_Haematology_II.pptx system pptt theg(5)_Haematology_II.pptx system pptt theg
(5)_Haematology_II.pptx system pptt theg
mekogo627
19 Best B,u,y Verified Cash App Accounts
19 Best B,u,y Verified Cash App Accounts19 Best B,u,y Verified Cash App Accounts
19 Best B,u,y Verified Cash App Accounts
https://sellsusa.com/product/buy-verified-cash-app-accounts/
Korean Simple Style Consulting Toolkit XL by 際際滷sgo.pptx
Korean Simple Style Consulting Toolkit XL by 際際滷sgo.pptxKorean Simple Style Consulting Toolkit XL by 際際滷sgo.pptx
Korean Simple Style Consulting Toolkit XL by 際際滷sgo.pptx
OsmarJRojas
Agile Project Management Infographics by 際際滷sgo.pptx
Agile Project Management Infographics by 際際滷sgo.pptxAgile Project Management Infographics by 際際滷sgo.pptx
Agile Project Management Infographics by 際際滷sgo.pptx
RestesaRahmayumita1
Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!
vanzan01
Unsafe act and unsafe conditions. .pptx
Unsafe act and unsafe conditions.  .pptxUnsafe act and unsafe conditions.  .pptx
Unsafe act and unsafe conditions. .pptx
likunsahoo8598823153
Adarsh Euphoria eBrochure near Bangalore India
Adarsh Euphoria eBrochure near Bangalore IndiaAdarsh Euphoria eBrochure near Bangalore India
Adarsh Euphoria eBrochure near Bangalore India
sudhirfriends2021
STOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan sSTOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan s
kfdpontianak2012
DEVIKA and Best you are asked to be done.pptx
DEVIKA and Best you are asked to be done.pptxDEVIKA and Best you are asked to be done.pptx
DEVIKA and Best you are asked to be done.pptx
TEAKADAITROLLS
lettering-grid-mk-plan. Design PPT, Persamaan dan Fungsi Kuadrat
lettering-grid-mk-plan. Design PPT, Persamaan dan Fungsi Kuadratlettering-grid-mk-plan. Design PPT, Persamaan dan Fungsi Kuadrat
lettering-grid-mk-plan. Design PPT, Persamaan dan Fungsi Kuadrat
sarindah1
Unsafe act and unsafe conditions. .pptx
Unsafe act and unsafe conditions.   .pptxUnsafe act and unsafe conditions.   .pptx
Unsafe act and unsafe conditions. .pptx
likunsahoo8598823153
What to Wear to Pride|What to Wear to Pride
What to Wear to Pride|What to Wear to PrideWhat to Wear to Pride|What to Wear to Pride
What to Wear to Pride|What to Wear to Pride
shava .co
Decision Trees Template - Design and Powerpoint
Decision Trees Template - Design and PowerpointDecision Trees Template - Design and Powerpoint
Decision Trees Template - Design and Powerpoint
ssuser23c420
The Irrational City | Unseen Forces of Placemaking
The Irrational City | Unseen Forces of PlacemakingThe Irrational City | Unseen Forces of Placemaking
The Irrational City | Unseen Forces of Placemaking
Leanne Munyori
Hi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a lookHi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a look
vanzan01
Design_Entrepreneurship_Presentation.pptx
Design_Entrepreneurship_Presentation.pptxDesign_Entrepreneurship_Presentation.pptx
Design_Entrepreneurship_Presentation.pptx
mishhouse00
Artificial_Lighting_Contextual_Observations.pdf
Artificial_Lighting_Contextual_Observations.pdfArtificial_Lighting_Contextual_Observations.pdf
Artificial_Lighting_Contextual_Observations.pdf
tsionasrat2
maquinas tolerancias fundamentales para agujeros
maquinas tolerancias fundamentales para agujerosmaquinas tolerancias fundamentales para agujeros
maquinas tolerancias fundamentales para agujeros
LuisCarlosCastaeda6
ACC Presentation Layoutfffffffffffg.pptx
ACC Presentation Layoutfffffffffffg.pptxACC Presentation Layoutfffffffffffg.pptx
ACC Presentation Layoutfffffffffffg.pptx
kvaishnavi3391
Lori Vanzant Portfolio. Please take a look !
Lori Vanzant  Portfolio. Please take a look !Lori Vanzant  Portfolio. Please take a look !
Lori Vanzant Portfolio. Please take a look !
vanzan01
(5)_Haematology_II.pptx system pptt theg
(5)_Haematology_II.pptx system pptt theg(5)_Haematology_II.pptx system pptt theg
(5)_Haematology_II.pptx system pptt theg
mekogo627
Korean Simple Style Consulting Toolkit XL by 際際滷sgo.pptx
Korean Simple Style Consulting Toolkit XL by 際際滷sgo.pptxKorean Simple Style Consulting Toolkit XL by 際際滷sgo.pptx
Korean Simple Style Consulting Toolkit XL by 際際滷sgo.pptx
OsmarJRojas

State Space Realizations_new.pptx

  • 1. INSPIRING CREATIVE AND INNOVATIVE MINDS State-Space Realizations
  • 2. Example 3.1 Consider: x (t) Ax(t) Bu(t) y(t) Cx(t) Du(t) x (t) Ax(t) Bu(t) y(t) Cx(t) Du(t) x(t) Px(t) Equivalent Transformation Equivalent Systems
  • 3. Equivalent state equations Given state-space description: Let P be a nonsingular matrix s.t.: x Px x P-1 x x Px PAx PBu PAP1 x PBu y Cx Du CP1 x Du A PAP-1 , B PB, C CP-1 , D D x (t) Ax(t) Bu(t); y(t) Cx(t) Du(t) (**) (*) and (**) are said to be equivalent to each other and the procedure from (*) to (**) is called an equivalent transformation. x (t) Ax(t) Bu(t) (*) y(t) Cx(t) Du(t) Let
  • 4. () I A The feedforward matrix D between the input and output has nothing to do with the state space and is not affected by the equivalent transformation. The characteristic equation for (*) is: For (**), we have () I A I P1 AP P1 P P1 AP P1 (了I)P P1 AP P1 (了I A)P P P1 了I A I A Equivalent state equations have the same characteristic polynomial and hence the same set of eigenvalues. Equivalent state equations
  • 5. Recall: A PAP-1 and A are similar to each other They have same eigenvalues, same stability perf. Similar transfer functions!! G(s) C(sI A)1 B D G(s) C(sI A)1 B D and G(s) G(s) To verify, G(s) C(sI A)1 B D (XYZ)1 Z1 Y1 X1 CP-1 (sPP1 PAP1 )1 PB D CP-1 (P(sI - A)P-1 )-1 PB D CP1 P(sI A)1 P1 PB D C(sI A)1 B D G(s) Equivalent state equations
  • 6. Example 3.2 Consider again Ex. 3.1: x1 x1 2 誌 2 1削x 0 刻x1 x 1 x1 1 x(t) Px(t) From the circuit (via observation): x2 (x1 x2 )1 Or 1 1 1 1 1 1 0 x2 x x2 x 1 削 1 1 1誌x2 0 刻x
  • 7. Two state equations are said to be zero-state equivalent if they have the same transfer matrix or D C(sI A)1 B D C(sI A)1 B Note that: (sI A)1 s1 I s2 A s3 A2 Then, D CBs1 CABs2 CA2 Bs3 D CBs1 CABs2 CA2 Bs3 Zero-State Equivalent
  • 8. Zero-State Equivalent matrix iff Theorem 3.1 Two LTI state equations{A,B,C,D} and {A,B, C, D} are zero-state equivalent or have the same transfer D D and CAm B CAm B ; m 0,1,2,... - In order for two state equations to be equivalent, they must have the same dimension. - This is, however, not the case for zero-state equivalence.
  • 9. Example 3.3: Consider: A B C 0 y(t) 0.5u(t) x(t) x(t) y(t) 0.5x(t) 0.5u(t) A 1 ; B 0 ; C 0.5 ; D 0.5 D D 0.5 CAm B CAm B 0 Note that: The two systems are zero-state equivalent.~ Theorem 3.1
  • 10. Companion Form Consider: 0 3 2 1 1 0 x(t) 0u(t) Ax(t) bu(t) 4 3 1 削 1削 x (t) 2 Then: It can be shown that: Can {b,Ab,A2 b} be used as the basis? YES!
  • 11. Companion Form 5 0 0 0 17 0 15 1 A 1 Then: Thus the representation ofA w.r.t. the basis {b,Ab,A2 b} is:
  • 12. Companion Form 0 0 0 0 1 ; 0 1 1 3 0 2 0 1 0 0 0 0 4 1 2 3 4 0 0 0 0 1 0 0 0 1 1 0 0 ; 1 0 0 0 4 2 1 2 3 4 0 1 0 0 1 1 0 0 0 1 0 1 0 0 3 0 0 1 0 0 Transpose All have similar characteristic polynomial: 2 3 4 1 4 3 2 () Companion-form matrices: Any special? 3 52 15 17 0 ( 3) 2 1 2 ( 1) 0 4 3 ( 1) () I A A 1 (-1) (-1) 0 0 17 0 15 0 1 5 (-1)
  • 13. Realizations Q. What is "realization"? space equation Implicitly implies LTI systems Shall start with multi-variable systems and will sometimes specialize to single-variable systems x (t) Ax(t) Bu(t) y(t) Cx(t) Du(t) D(s) For a givenG(s) N(s) , find a corresponding state-
  • 14. Q. If (s) is realizable, how many possible realizations? Infinite ~ in view of equivalent transformations and the possibility of adding un-controllable or un-observable components Q. Which one is the "good" realization? - A good realization is the one with the minimal order ~ Irreducible realization Will be discussed in Topic 6 Realizations (cont.)
  • 15. Realizations (cont.) Q. Under what condition is (s) realizable by an LTI system? -Recall that the transfer function of the dynamic equation is G(s) C(sI A)1 B D C(sI A)1 B D (s) is realizable by a dynamic equation iff it is a proper rational function (order of numerator order of denominator) In fact, the part contributed by C(sI - A)-1B is strictly proper Theorem 3.2
  • 16. Realizations (cont.) as: G sI A (s) : C(sI A)1 B 1 CAdj.(sI A)B sp To determine the realization of G(s) , decompose it G(s) G()Gsp (s) where r r1 1 d(s) s s r1s r Let i.e. least common denominator of all entries of Gsp (s).
  • 17. Nr 1 y N1 N2 Nr xG()u 0 0 x 0 u 0 0 x Ip p Realizations (cont.) ~Block companion form 1Ip 2I p r1Ip rIp I 0 0 0 Ip 0 0 0 Ip 0 (rprp) (rpp) (q rp) where Ip is the p p unit matrix and every 0 is a p p zero matrix. Then the realization of G(s) is given by
  • 18. Realizations (cont.) Proof: Define, Z1 Z Z : 2 : (sI A)1 B Z r i where Z is the (pp) and Z is a (rpp). Simplifying, Then, (sI A)Z B sZ AZ B (*) 削 削 0 削Z 0 0 削 0 0 0 Ip 削誌Zr p sZr sZ 0 削Z3 0 2 sZ3 2 sZ1 rIp 刻Z1 1Ip 2I p r1Ip I 0 0 Ip 0 0 Ip
  • 19. Realizations (cont.) Using the shifting property of the companion form of A, we obtain Substituting these into the 1st block of equation (*) yields which implies Zr 1 sZ2 Z1 , sZ3 Z2 , , sZr sZ1 1Z1 2Z2 rZr Ip 1 3 2 1 Z 1 r 1 sr 1 s2 s Z 1 Z , Z 1 Z , , Z p r s s 1 r1 2 1 Z I or p r s s sr 1 1 r1 2 1 Z d(s) I s
  • 20. Realizations (cont.) Thus we have, Then, 1 2 1 C(sI A)1 B G() G() r r2 r1 N s Ns d(s) N 1 Z1 d(s) Ip sr 2 sr 1 , Z2 d(s) Ip , , Zr d(s) Ip Gsp (s)G() G(s)
  • 21. Special Case: p = 1 Realizations (cont.) (For simplicity, let r = 4 and q =2.) Then, the realization is Consider a 21 proper rational matrix: 22 23 3 21 24 14 13 2 12 3 11 4 3 2 1 2 4 3 2 s s2 s s s s s s s s d d1 1 G(s) d 2 24 23 22 21 14 x d1 u y 11 12 13 0 1 0 0 0 0 0 0 0 x u 1 2 3 4 1 0 0 1 0 0 1 x Note: The controllable- canonical-form realization can be read out from the coefficients of G(s).
  • 22. Realizations (cont.) A multi-input LTI system is the sum of many single-input LTI systems, so can realize each single-input subsystem and form the sum: 1st and 2nd column of
  • 23. 3 12 0 0 0 2 (s 2)2 s 1 (2s1)(s 2) s 2 2s 1 1 G()Gsp (s) Example 3.3: 3 (s 2)2 s 1 (2s1)(s 2) s 2 , 4s 10 2s 1 1 G(s) Consider a proper rational matrix (2s 1)(s 2) (s 2)2 s 2 2s 1 1 s 1 4s 10 3 G(s) Determine a realization of this transfer matrix. Solution: Decompose G(s) into a strictly proper rational matrix d(s) (s 0.5)(s 2)2 s3 4.5s2 6s 2 The monic least common denominator of Gsp (s) is
  • 24. 1 (s 1)(s0.5) 0.5(s 2) 3(s 2)(s 0.5) 6(s 2)2 s3 4.5s2 6s 2 sp G Example (cont.) Thus 2 (s 1.5s 0.5) 3(s2 2.5s1) 1 6(s2 4s 4) d(s) 0.5(s 2) 2 s 1.5s 0.5 3s2 7.5s3 1 6s2 24s 24 d(s) 0.5s 1 削 э 0.5誌 1.5 1 0.5 24 6 3 1 2 7.5 s 24 3 刻 s d(s) 0 1
  • 25. 誌 2 1 0.5 0 0 0削u 2 0 u x y 6 Example (cont.) Given, 0 0削 0 1 0 1 0 0 0 0 1 0 0 0 0 0 1 1 0 0 6 0 2 0 1 0 0 4.5 0 6 0 2 4.5 0削u2 0 0 0 0 0 0削u1 0 0 0 0 0 0 0 0 x x 3 (s 2)2 s 1 (2s1)(s 2) s 2 , 4s 10 2s 1 1 G(s) A B 3 24 7.5 24 3 1 0.5 C 1.5 1 D G(s) A,B,C,D B C D S A Realization the realization is,
  • 26. Example 3.4: (2s1)(s 2) 4s 10 2s 1 1 (s) c1 G The 1st column is Consider again the proper rational matrix in Ex. 3.3. 3 (s 2)2 s 1 (2s 1)(s 2) s 2 4s 10 2s 1 1 G(s) 1 (2s 1)(s 2) (4s 10)(s 2) (2s 1)(s 2) 1 2 2s2 5s 2 2s 5s 2 4s2 2s 20 In Matlab: n1=[4 -2 -20;0 0 1]; d1=[2 5 2]; [a,b,c,d]=tf2ss(n1,d1)
  • 27. Ex. 3.4 (cont.) Using MATLAB: n1=[4 -2 -20;0 0 1];d1=[2 5 2];[a,b,c,d]=tf2ss(n1,d1) yields the following realization for the 1st column of G(s): 1 1 1 c1 1 1 1 1 0 0.5 0 0 1 0 1 1 1 1 1 1 12 x 2 u y C x d u 6 1 x 1 u x A x b u 2.5 Similarly, the function tf2ss can generate the following realization for the 2nd column of G(s): 2 2 2 2 2 2 2 2 2 c2 2 2 2 2 0 1 1 1 0 0 6 x 0 u y C x d u 3 4 x 1 u x A x b u 4
  • 28. Example 3.4 (cont.) Notice that: 3 (s 2)2 s 1 (2s 1)(s 2) s 2 2s 1 1 4s 10 G(s)
  • 29. Ex. 3.4 (cont.) 2 2 誌 2 2 誌 2 x 0 A 削x 0 b 削u These two realizations can be combined as x1 A1 0 刻x1 b1 0 刻u1 y yc1 yc2 C1 C2 xd1 d2 u or u x x u 0 0 y 0 6 12 3 6 2 0 1 0 1 0 0 4 4 0 0 0 0 0 0 1 1 0 0 1 0 0 2.5 x 2 0 0 1 0 0 0 0 0 1 0 2 0 1 0 0 6 0 2 0 4.5 0 6 0 4.5 0削u 0 0 0 0 0 0 x 1 0 0 0 x 削 誌 2 0.5 0 0 0 1 0 0 0 0 0 1 0 0 0 3 24 7.5 24 1 0.5 1.5 1 u 0刻u1 3 x 2 y 6 A (4 0x4) 1 B ( 4 0x20) 0 C .5 1 (2x4) D (2x2) A (6x6) B0削u1 (6x2) C (2x6) 0 D 0 (2x2)
  • 30. Example 3.4 (cont.) Can also focus on the realizations of single-output systems. Then treat LTI systems with multi-outputs as combinations of single-outputs subsystems. i-th row of Overall realization: 0 0 cq dq Aq Bq x u x Realize with {Ai, Bi, ci, di} c1 0 d1 0 B1 A1 x u ;y