Download - Analysis via State Space - gtu.edu.tr
![Page 1: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/1.jpg)
Analysis via State Space
● We were introduced to the concepts of state-space analysis and system modelling before. Where we showed that the state-space mothods, like transform methods, are simply tools for analysing feedback control systems.
● However, the state-space techniques can be applied to a wider class of systems. Such as nonlinear systems, multiple input and multiple output systems.
● In this lecture we aill concetrate on developing control solutions with state-space approaches in time domain (for linear systems only)
![Page 2: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/2.jpg)
A little reminder
A typical DE is in the form
This type of system (linear, causal time invariant) can also be represented in the form
}is
is
is
where y(t) denotes the system output, u(t) is the system inputx(t) is the state vector (used to account for the „derivatives“) in the system
![Page 3: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/3.jpg)
An Example
Rewrite the following differential equation in space-space form :
Notice that the transfer function of the system described by the given differential equation is
Using a similar representation as we have done before define
![Page 4: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/4.jpg)
We can then define and write the eqaution in matrix form as
Note that depending on the definition of the states there are infinite number of state space forms for a given differential equation
![Page 5: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/5.jpg)
Reachable Canonical Form
● While there are infinite number of state space forms for a given differential equation, the Reachable Cannonical Form (RCF) also called the Phase Variable Form is one of the easiest to setup
● Each subsequent state variable is defined to be the derivative of the previous state variable.
● Finally it is assembled in a matrix form.
![Page 6: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/6.jpg)
Another Example
Put into state space form
which can be written as
Input side of DE
Output side of DE
}}
The corresponding matrix entries can be obtained as :
![Page 7: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/7.jpg)
??? How
It can be done following these steps
● Step 1 : Insert zeros to all of the matrices except
– Super diagonal and last row of A
– Last entry of B
– The entire C matrix● Step 2: Put 1 to the super diagonal of A and the last entry of B
● Step 3: Take the last n coefficients of the output equation and put the negative values of them in the last row of A in reverse order
● Step 4 : Take the coefficients of the input side of the equation and put them in C in reverse order
![Page 8: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/8.jpg)
Example
● Find the state-space representation of the circuit below
for
● Start with the transfer function approach
where
![Page 9: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/9.jpg)
Example cont.
● Calculate Z(s)
● Then the transfer function
● Plug in for the values of capasitor inductor and resistors
![Page 10: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/10.jpg)
Example cont.
● Then
![Page 11: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/11.jpg)
Solution of Linear State Space equations
● The solution to the state equation
is
And the output y(t)
Note that is a matrix!!!
For details look at the slides from week 2
![Page 12: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/12.jpg)
State Transition Matrix
By definition
There are also some other ways for calculating the state transition matrix but we will stick with the above one
Lets try to calculate the state transition matrix for
So we need to calculate
![Page 13: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/13.jpg)
In steps
Taking inverse Laplace transsform leads
![Page 14: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/14.jpg)
Example
Find the output when the input is a unit step for
with
Solution : From the solution of the output we found before
that is
![Page 15: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/15.jpg)
From our previous calculations we know that
which yields
![Page 16: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/16.jpg)
Summary
![Page 17: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/17.jpg)
Definitions
Time Domain Solution
} State-space Eq
} State solution
} Output solution
} State Transition Matrix
![Page 18: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/18.jpg)
Definitions
Frequency Domain SolutionState-space Eq}
State solution
Output solution
Open loop transfer Function
![Page 19: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/19.jpg)
Defintions
Open loop transfer function in pole-zero form
Poles of the open loop system
Zeros of the open loop system
![Page 20: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/20.jpg)
More Definitions
● A state variable realization (A, B, C) can be obtained from the transfer function representation or directly from the differential equations representing the system
● The transfer function representation satisfies
– has real coefficients
– is Rational in s
– Strictly proper● A realization is minimal if it has the smallest possible
number of states
● A realization is minimal if has no pole-zero cancelation
![Page 21: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/21.jpg)
Cont.
● If the modes or the poles of the system can be arbitrary changed then it is controllable
● A realization is controllable if the n x n matrix
has full rank
● If the modes or the poles of the system can be observed at the output then the system is observable
● A realization is observable if the nxn matrix
has full rank
![Page 22: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/22.jpg)
● If a realization is both controllable and observable, then it is minimal
● If a realization is minimal it is both controllable and observable
![Page 23: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/23.jpg)
Back to our example
● The system
Full rank : controllable
Full rank : observable
![Page 24: Analysis via State Space - gtu.edu.tr](https://reader030.vdocuments.us/reader030/viewer/2022032915/6242bb0ae4eb9e1fa907720b/html5/thumbnails/24.jpg)
● The system is minimal (also from )
no pole-zero cancellation
● Note that if we have the transfer function the minimality test cab be used to determine controllability and observability as opposed to the matrix checks given in the previous slide