Lecture 6 State Space Modelling Analysis
Lecture 6 State Space Modelling Analysis
– State Equations
– State Diagram
– State Controllability
– State Observability
– Output Controllability
Introduction
• Modern control theory is contrasted with conventional
control theory in that the former is applicable to
multiple-input, multiple-output systems, which may be
linear or nonlinear, time invariant or time varying, while
the latter is applicable only to linear time invariant single-
input, single-output systems.
Definitions
• State of a system: We define the state of a system at time t0 as
the amount of information that must be provided at time t0,
which, together with the input signal u(t) for t t0, uniquely
determine the output of the system for all t t0.
𝑥ሶ 2 𝑡 = 𝑓2 (𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
𝑥ሶ 𝑛 𝑡 = 𝑓𝑛 (𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
State Space Equations
• The outputs 𝑦1 𝑡 , 𝑦2 𝑡 , ⋯ , 𝑦𝑚 𝑡 of the system may be given as.
𝑦1 𝑡 = 𝑔1 (𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
𝑦2 𝑡 = 𝑔2 (𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
𝑦𝑚 𝑡 = 𝑔𝑚 (𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
• If we define
𝑥1 𝑓1 (𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
𝑥2 𝑓 (𝑥 , 𝑥 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
𝒙 𝑡 = ⋮ 𝒇 𝒙, 𝒖, 𝑡 = 2 1 2
⋮
𝑢1
𝑥𝑛 𝑓𝑛 (𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
𝑢2
𝒖 𝑡 = ⋮
𝑦1 𝑢𝑟
𝑔1 (𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
𝑦2 𝑔2 (𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
𝒚 𝑡 = ⋮ 𝒈 𝒙, 𝒖, 𝑡 =
⋮
𝑦𝑚 𝑔𝑚 (𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 ; 𝑢1 , 𝑢2 , ⋯ , 𝑢𝑟 ; 𝑡)
State Space Modelling
B C
A
Example-1
• Consider the mechanical system shown in figure. We assume that
the system is linear. The external force u(t) is the input to the
system, and the displacement y(t) of the mass is the output. The
displacement y(t) is measured from the equilibrium position in the
absence of the external force. This system is a single-input, single-
output system.
𝑚𝑦(𝑡)
ሷ + 𝑏𝑦(𝑡)
ሶ + 𝑘𝑦(𝑡) = 𝑢(𝑡)
𝑥1 𝑡 = 𝑦(𝑡)
𝑥2 𝑡 = 𝑦(𝑡)
ሶ
Example-1
𝑥1 𝑡 = 𝑦(𝑡) 𝑥2 𝑡 = 𝑦(𝑡)
ሶ 𝑚𝑦(𝑡)
ሷ + 𝑏𝑦(𝑡)
ሶ + 𝑘𝑦(𝑡) = 𝑢(𝑡)
• Then we obtain
𝑥ሶ 1 𝑡 = 𝑥2 (𝑡)
𝑏 𝑘 1
𝑥ሶ 2 𝑡 = − 𝑦ሶ 𝑡 − 𝑦 𝑡 + 𝑢 (𝑡)
𝑚 𝑚 𝑚
• Or
𝑥ሶ 1 𝑡 = 𝑥2 (𝑡)
𝑏 𝑘 1
𝑥ሶ 2 𝑡 = − 𝑥2 𝑡 − 𝑥1 𝑡 + 𝑢 (𝑡)
𝑚 𝑚 𝑚
• The output equation is
𝑦 𝑡 = 𝑥1 𝑡
Example-1
𝑏 𝑘 1
𝑥ሶ 1 𝑡 = 𝑥2 (𝑡) 𝑥ሶ 2 𝑡 = − 𝑥2 𝑡 − 𝑥1 𝑡 + 𝑢 (𝑡) 𝑦 𝑡 = 𝑥1 𝑡
𝑚 𝑚 𝑚
• In a vector-matrix form,
x1 (t ) 0 1 x (t ) 0
x (t ) k b 1 1 u (t )
x2 (t )
2 m m m
x1 (t )
y (t ) 1 0
2
x (t )
Example-1
• State diagram of the system is
𝑥ሶ 1 𝑡 = 𝑥2 (𝑡)
𝑏 𝑘 1
𝑥ሶ 2 𝑡 = − 𝑥2 𝑡 − 𝑥1 𝑡 + 𝑢 (𝑡)
𝑚 𝑚 𝑚
𝑦 𝑡 = 𝑥1 𝑡
-k/m
-b/m
𝑥ሶ 2
𝑢(𝑡) 1/m 1/s 1/s
𝑥1
𝑦(𝑡)
𝑥2 = 𝑥ሶ 1
Example-1
• State diagram in signal flow and block diagram format
-k/m
-b/m
1/m 𝑥ሶ 2 𝑥1
𝑢(𝑡) 1/s 1/s 𝑦(𝑡)
𝑥2 = 𝑥ሶ 1
Example-2
• State space representation of armature Controlled D.C Motor.
Ra La
B
ia
ea eb T J
dia
ea Ra ia La eb
dt
T J B
Example-2
T K t ia eb K b
J B-K t ia 0
dia
La Ra ia K b ea
dt
• Choosing 𝜃, 𝜃ሶ 𝑎𝑛𝑑 𝑖𝑎 as state variables
10 0
𝐵 𝐾𝑡 0
𝑑 𝜃 0 − 𝜃
ሶ 0
𝜃 = 𝐽 𝐽 𝜃ሶ + 1 𝑒𝑎
𝑑𝑡 𝑖 𝐾𝑏 𝑅𝑎 𝑖𝑎
𝑎
0 − − 𝐿𝑎
𝐿𝑎 𝐿𝑎
• Since 𝜃 is output of the system therefore output equation is given as
𝜃
𝑦 𝑡 = 1 0 0 𝜃ሶ
𝑖𝑎
State Controllability
• A system is completely controllable if there exists an
unconstrained control u(t) that can transfer any initial
state x(to) to any other desired location x(t) in a finite
time, to ≤ t ≤ T.
uncontrollable
controllable
State Controllability
• Controllability Matrix CM
CM B AB A2 B An 1 B
rank (CM ) n
State Controllability (Example)
• Consider the system given below
1 0 1
x x u
0 3 0
y 1 2x
• Thus
1 1
CM
0 0
• Since 𝑟𝑎𝑛𝑘(𝐶𝑀) ≠ 𝑛 therefore system is not completely
state controllable.