0% found this document useful (0 votes)
210 views8 pages

Control Systems - State Space Model

The document discusses state space models of linear time-invariant (LTI) systems. It provides the general state space model equations as Ẋ = AX + BU and Y = CX + DU. It then describes how to obtain a state space model from a system's differential equations or transfer function. Specifically, it shows converting a second order RLC circuit and a transfer function with a constant numerator term into state space models. Key concepts like state, state variable, and state vector are also defined.

Uploaded by

Vivek Patil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
210 views8 pages

Control Systems - State Space Model

The document discusses state space models of linear time-invariant (LTI) systems. It provides the general state space model equations as Ẋ = AX + BU and Y = CX + DU. It then describes how to obtain a state space model from a system's differential equations or transfer function. Specifically, it shows converting a second order RLC circuit and a transfer function with a constant numerator term into state space models. Key concepts like state, state variable, and state vector are also defined.

Uploaded by

Vivek Patil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

10/08/2022, 11:00 Control Systems - State Space Model

Control Systems - State Space Model

The state space model of Linear Time-Invariant (LTI) system can be represented as,

Ẋ = AX + BU

Y = CX + DU

The first and the second equations are known as state equation and output equation
respectively.

Where,

X and Ẋ are the state vector and the differential state vector respectively.

U and Y are input vector and output vector respectively.

A is the system matrix.

B and C are the input and the output matrices.

D is the feed-forward matrix.

Basic Concepts of State Space Model


The following basic terminology involved in this chapter.

State
It is a group of variables, which summarizes the history of the system in order to predict the
future values (outputs).

State Variable
The number of the state variables required is equal to the number of the storage elements
present in the system.

Examples − current flowing through inductor, voltage across capacitor

State Vector
It is a vector, which contains the state variables as elements.

In the earlier chapters, we have discussed two mathematical models of the control systems.
Those are the differential equation model and the transfer function model. The state space model

https://www.tutorialspoint.com/control_systems/control_systems_state_space_model.htm 1/8
10/08/2022, 11:00 Control Systems - State Space Model

can be obtained from any one of these two mathematical models. Let us now discuss these two
methods one by one.

State Space Model from Differential Equation


Consider the following series of the RLC circuit. It is having an input voltage, v i(t) and the current
flowing through the circuit is i(t).

There are two storage elements (inductor and capacitor) in this circuit. So, the number of the
state variables is equal to two and these state variables are the current flowing through the
inductor, i(t) and the voltage across capacitor, v c(t).

From the circuit, the output voltage, v 0(t) is equal to the voltage across capacitor, v c(t).

v 0(t) = v c(t)

Apply KVL around the loop.

di(t)
v i(t) = Ri(t) + L + v c(t)
dt

di(t) Ri(t) v c(t) v i(t)


⇒ = − − +
dt L L L

The voltage across the capacitor is -

1
C∫
v c(t) = i(t)dt

Differentiate the above equation with respect to time.

dv c(t) i(t)
=
dt C

State vector, X =
[ ]i(t)
v c(t)

https://www.tutorialspoint.com/control_systems/control_systems_state_space_model.htm 2/8
10/08/2022, 11:00 Control Systems - State Space Model

[ ]
di ( t )
dt
Differential state vector, Ẋ = dv c ( t )
dt

We can arrange the differential equations and output equation into the standard form of state
space model as,

[ ][ ] []
di ( t ) R 1

[ ]
−L −L 1
dt i(t)
Ẋ = dv c ( t ) = 1 v c(t) +
L
[ vi(t) ]
C
0 0
dt

Y = [0 1]
[ ]
i(t)
v c(t)

Where,

[ ] []
R 1
−L −L 1

A= 1 , B= L
, C = [0 1 ] and D = [ 0 ]
C
0 0

State Space Model from Transfer Function


Consider the two types of transfer functions based on the type of terms present in the numerator.

Transfer function having constant term in Numerator.


Transfer function having polynomial function of ‘s’ in Numerator.

Transfer function having constant term in Numerator


Consider the following transfer function of a system

Y(s) b0
= n
U(s) s + a n − 1 s n − 1 + . . . + a 1s + a 0

Rearrange, the above equation as

(s n + a n − 1s n − 1 + . . . + a 0)Y(s) = b 0U(s)

Apply inverse Laplace transform on both sides.

https://www.tutorialspoint.com/control_systems/control_systems_state_space_model.htm 3/8
10/08/2022, 11:00 Control Systems - State Space Model

d ny(t) d n − 1y(t) dy(t)


+ a n − 1 + . . . + a 1 + a 0y(t) = b 0u(t)
dt n dt n − 1 dt

Let

y(t) = x 1

dy(t)
= x 2 = ẋ 1
dt

d 2y(t)
= x 3 = ẋ 2
dt 2

d n − 1y(t)
= x n = ẋ n − 1
dt n − 1

d ny(t)
= ẋ n
dt n

and u(t) = u

Then,

ẋ n + a n − 1x n + . . . + a 1x 2 + a 0x 1 = b 0u

From the above equation, we can write the following state equation.

ẋ n = − a 0x 1 − a 1x 2 − . . . − a n − 1x n + b 0u

The output equation is -

y(t) = y = x 1

The state space model is -

[]
ẋ 1
ẋ 2
Ẋ = ⋮
ẋ n − 1
ẋ n

https://www.tutorialspoint.com/control_systems/control_systems_state_space_model.htm 4/8
10/08/2022, 11:00 Control Systems - State Space Model

[ ][ ] [ ]
0 1 0 … 0 0 x1 0
0 0 1 … 0 0 x2 0
= ⋮ ⋮ ⋮ … ⋮ ⋮ ⋮ + ⋮ [u ]
0 0 0 … 0 1 xn − 1 0
− a0 − a1 − a2 … − an − 2 − an − 1 xn b0

[]
x1
x2

Y = [1 0 … 0 0] ⋮
xn − 1
xn

Here, D = [0].

Example
Find the state space model for the system having transfer function.

Y(s) 1
= 2
U(s) s +s+1

Rearrange, the above equation as,

(s 2 + s + 1)Y(s) = U(s)

Apply inverse Laplace transform on both the sides.

d 2y(t) dy(t)
+ + y(t) = u(t)
dt 2 dt

Let

y(t) = x 1

dy(t)
= x 2 = ẋ 1
dt

and u(t) = u

Then, the state equation is

ẋ 2 = − x 1 − x 2 + u

https://www.tutorialspoint.com/control_systems/control_systems_state_space_model.htm 5/8
10/08/2022, 11:00 Control Systems - State Space Model

The output equation is

y(t) = y = x 1

The state space model is

[] [ ][ ] [ ]
ẋ 1 0 1 x1 0
Ẋ = = + [u]
ẋ 2 −1 −1 x2 1

[]
x1
Y = [1 0]
x2

Transfer function having polynomial function of ‘s’ in Numerator


Consider the following transfer function of a system

Y(s) b ns n + b n − 1 s n − 1 + . . . + b 1s + b 0
= n
U(s) s + a n − 1 s n − 1 + . . . + a 1s + a 0


Y(s)
U(s)
=
( n
s + a n − 1s n−1
1
+ . . . + a 1s + a 0 ) (b ns n + b n − 1s n − 1 + . . . + b 1s + b 0)

The above equation is in the form of product of transfer functions of two blocks, which are
cascaded.

Y(s)
U(s)
=
( )( )
V(s)
U(s)
Y(s)
V(s)

Here,

V(s) 1
= n n − 1
U(s) s + a n − 1s + . . . + a 1s + a 0

Rearrange, the above equation as

(s n + a n − 1s n − 1 + . . . + a 0)V(s) = U(s)

Apply inverse Laplace transform on both the sides.

d nv(t) d n − 1v(t) dv(t)


+ a n−1 + . . . + a 1 dt + a 0v(t) = u(t)
dt n dt n − 1

Let

https://www.tutorialspoint.com/control_systems/control_systems_state_space_model.htm 6/8
10/08/2022, 11:00 Control Systems - State Space Model

v(t) = x 1

dv((t)
= x 2 = ẋ 1
dt

d 2v(t)
= x 3 = ẋ 2
dt 2

d n − 1v(t)
= x n = ẋ n − 1
dt n − 1

d nv(t)
= ẋ n
dt n

and u(t) = u

Then, the state equation is

ẋ n = − a 0x 1 − a 1x 2 − . . . − a n − 1x n + u

Consider,

Y(s)
= b ns n + b n − 1 s n − 1 + . . . + b 1s + b 0
V(s)

Rearrange, the above equation as

Y(s) = (b ns n + b n − 1s n − 1 + . . . + b 1s + b 0)V(s)

Apply inverse Laplace transform on both the sides.

d nv(t) d n − 1v(t) dv(t)


y(t) = b n + b n−1 + . . . + b 1 dt + b 0v(t)
dt n dt n − 1

By substituting the state variables and y(t) = y in the above equation, will get the output equation
as,

y = b nẋ n + b n − 1x n + . . . + b 1x 2 + b 0x 1

Substitute, ẋ n value in the above equation.

y = b n( − a 0x 1 − a 1x 2 − . . . − a n − 1x n + u) + b n − 1x n + . . . + b 1x 2 + b 0x 1

y = (b 0 − b na 0)x 1 + (b 1 − b na 1)x 2 + . . . + (b n − 1 − b na n − 1)x n + b nu

https://www.tutorialspoint.com/control_systems/control_systems_state_space_model.htm 7/8
10/08/2022, 11:00 Control Systems - State Space Model

The state space model is

[]
ẋ 1
ẋ 2

Ẋ = ⋮
ẋ n − 1
ẋ n

[ ][ ] [ ]
x1
0 1 0 … 0 0 0
0 0 1 … 0 0 x2 0
= ⋮ ⋮ ⋮ … ⋮ ⋮ ⋮ + ⋮ [u ]
0 0 0 … 0 1 xn − 1 0
− a0 − a1 − a2 … − an − 2 − an − 1 xn b0

[]
x1
x2

Y = [b 0 − b na 0 b 1 − b na 1 ... b n − 2 − b na n − 2 b n − 1 − b na n − 1 ] ⋮
xn − 1
xn

If b n = 0, then,

[]
x1
x2
Y = [b 0 b1 ... bn − 2 b n − 1] ⋮
xn − 1
xn

https://www.tutorialspoint.com/control_systems/control_systems_state_space_model.htm 8/8

You might also like