5 Modeling in State Space
5 Modeling in State Space
References:
[1] Nise, N. (2011). Control Systems Engineering ,
6th edition
[2] Ogata, K. (2010). Modern Control Engineering ,
5th edition
[3] Singh, Y. & Janardhanan, S. (2011). Modern
Control Engineering , 1st edition
FBCON-EE 1
Analysis & Design Approaches
of Feedback Control Systems
■ Classical or frequency domain approach
■ Modern or state-space approach
FBCON-EE 2
Analysis & Design Approaches
of Feedback Control Systems
■ Classical or frequency domain approach
➢ is based on converting a system’s
FBCON-EE 6
Definition
■ State vector. A vector whose elements are the
state variables.
➢ The components of the state vector must be
linearly independent.
➢ A set of variables is said to be linearly
FBCON-EE 9
Definition
■
FBCON-EE 10
State Equation
■
FBCON-EE 11
State Equation
■
FBCON-EE 12
Definition
■ Output equation. The algebraic
equation that expresses the output
variables of a system as linear
combinations of the state variables and
the inputs.
y = Cx + Du
FBCON-EE 13
Output Equation
■
FBCON-EE 14
Output Equation
■
FBCON-EE 15
Block Diagram of a Control System
Represented in State-Space
■
FBCON-EE 16
Steps in State-Space
Representation of Electrical
Networks
Step 1. Select the inductor current iL and
capacitor voltage vC as the state variables,
making sure they are consistent with the
passive sign convention.
Step 2. Apply KVL and KCL to the circuit and
obtain circuit variables (voltages and
currents) in terms of the state variables. This
should lead to a set of first-order differential
equations necessary and sufficient to
determine all state variables.
Step 3. Obtain the output equation
FBCON-EE
and put the 17
Example #1
■ Given the electrical network below, find
the state-space representation if the
output is the current through the resistor.
FBCON-EE 18
Example #2
■ Find the state-space representation of
the electrical network shown below.
The output is vo(t).
FBCON-EE 19
Example #3
■ Find the state-space representation of
the electrical network. The outputs are vo
and vx.
FBCON-EE 20
Example #4
■ Represent the electrical network in state
space. The outputs are vo and io.
FBCON-EE 21
FBCON-EE 22
State-Space Representation of
nth-Order Differential Equation
■ Phase variables – a set of state variables
where each subsequent state variable is
defined to be the derivative of the
previous state variable.
FBCON-EE 23
State-Space Representation of
nth-Order Differential Equation
FBCON-EE 24
State-Space Representation of
nth-Order Differential Equation
■ A
convenient
way to
choose state
variables is
to choose
the output,
y(t), and its
(n – 1)
derivatives
FBCON-EE 25
State-Space Representation of
nth-Order Differential Equation
■ The resulting state equations are
FBCON-EE 26
State-Space Representation of
nth-Order Differential Equation
■ In vector-matrix form,
FBCON-EE 27
State-Space Representation of
nth-Order Differential Equation
■ Since the solution to the differential
equation is y(t), or x 1, the output
equation is
FBCON-EE 28
State-Space Representation of nth-Order Differential Equation
FBCON-EE 30
Example #6
■ Find the state-space representation
FBCON-EE 31