State Space Representation
State Space Representation
Representation
Dr. Ajay Singh Raghuvanshi
Electronics & Telecommunication
Engineering, NIT, Raipur
State-Space Modeling
Alternative method of modeling a system than
Differential
/ difference equations
Transfer functions
State Space:
The n-dimensional space whose coordinate axes consist of the x1 axis,
x2 axis, ….., xn axis, where x1, x2,…… , xn are state variables, is called a
state space.
"State space" refers to the space whose axes are the state variables.
The state of the system can be represented as a vector within that space
• State-Space Analysis
x1 (t ) x2 (t )
x2 (t ) a0 x1 (t ) a1 x2 (t ) b0u (t )
y (t ) x1 (t )
x1 (t ) 0 1 x1 (t ) 0
We can write these in matrix form as u (t )
x2 (t ) a0 a1 x2 (t ) b0
x1 (t )
y (t ) 1 0
2
x (t )
To get the original equation, differentiate the last equation two time
This can be extended to an Nth-order differential equation of this type:
N 1
y N (t ) ai y i (t ) b0u (t )
i 0
The state variables are defined as
xi (t ) y (i 1) t , i 1, 2, ..., N
• The resulting state input output equations as:
x1 (t ) x2 (t ) 0 1 0 0 0
x2 (t ) x3 (t ) 0 0 1 0
A B
x N 1 (t ) xN (t ) 0 0 0 1 0
N 1 a0 a1 a2 a N 1 b0
x N (t ) ai xi 1 (t ) b0 v(t )
i 0 C 1 0 0 0 D0
y (t ) x1 (t )
Solution via the Laplace Transform
• State-Space Model Time domain
L1 sI A
1
e At
State Variables will be in exponent form
dy (t ) 1 1 d 2 y(t ) R dy(t ) 1 1
y (t ) v(t ) y (t ) v(t )
dt RC RC dt 2
L dt LC LC
1
A a0 0 1 0 1
RC A
a0 a1 1 / LC R / L
1
B b0 C 1 D 0 0 0
RC B
b0 1 / LC
x1 (t ) 1 x (t ) 1 C 1 0 D 0
RC
1
RC v(t )
x1 (t ) 0 1 x1 (t ) 0
x (t ) 1 / LC R / L x (t ) 1 / LC v(t )
x1 (t ) 2 2
y (t ) 1
x (t )
y (t ) 1 0 1
x2 (t )
Discrete-Time Systems
• The discrete-time equivalents of the state equations are:
xn 1 Axn Bun
yn Cxn Dun
• The process is completely analogous to CT systems, with one exception:
these equations are easy to implement and solve using difference equations
n 1
xn A x0 A n i 1Bui , n 1
n
i 0
H( z)
Example:
Consider the discrete-time LTI system shown in Figure. Find the state
space representation of the system by choosing the outputs of unit-delay
elements 1 and 2 as state variables q1[n] and q2[n], respectively.
Determine, A state matrix, B the input matrix, C the output matrix, and
D the direct transmission matrix.
Determine System transfer function H(z) and H[n] (Home Work)
Solution
0 1 0
A , B , C 2 3, D 1.
2 3 1
Thank You
Best of Luck for exam!
Practice Problems
Solve all solved and unsolved problems of