Chapter 3
Chapter 3
1
Background
Two approaches for analysis and design
of any feedback control system:
◦ Classical or Frequency domain technique
(Chp-2)
Arrival of space exploration- technique
became obsolete.
State-space approach- Modern or time-
domain approach for modelling, analyzing
and designing a system.
Goals
Find mathematical models (known as
state-space representation) in time domain
Model electrical and mechanical systems
in time domain
Convert transfer function to state space
and vice versa
Introduction
Classical or frequency-domain technique is applicable to
linear time invariant systems only (a major disadvantage)
The major advantage of frequency-domain technique is
direct and quick insight into stability and transient response
of the system (see effects of varying system parameters until
expectation is met. )
where y (t ) is the plant output and u (t ) is the plant input. A state model for this system is
not unique but depends on the choice of a set of state variables. A useful set of state
variables, referred to as phase variables, is defined as
x1 y, x2 y , x3 y, , xn y n 1
14
Introduction
Taking the derivatives, we have
x1 x2 , x 2 x3 , x 3 x4 , , and x n is given by (2). (3)
x n a0 x1 a1 x2 an1 xn u (t )
or in matrix form
x1 0 1 0 0 x1 0
x 0 0 1 0 x2 0
2
u (t ) (4)
n 1 0
x 0 0 1 xn 1 0
x n a0 a1 a2 an1 xn 1
15
Example
Obtain the state equation in phase variable form for the following differential equation.
d3y d2y dy
2 3 4 2 6 8 y 10u (t )
dt dt dt
The differential equation is third order, thus there are three state variables as follows
x1 y, x2 y , x3 y
and the derivatives are
x1 x2 , x 2 x3 , and x 3 4 x1 3x2 2 x3 5u (t )
Or in matrix form
x1 0 1 0 x1 0
x 0 0 1 x 0 5u (t )
2 2
x 3 4 3 2 x3 1
x1
y 1 0 0 x2
x3
16
Minimum number of state variables
State variable should be linearly independent . Examples?
◦ Else we will not have enough information to solve to solve for all
system variables.
HOW??
◦ By determining the order of differential equations by cancelling out
the common factors in denominator and numerator
State variable
State equation
Step by Step Example
Consider the RL network with an initial current of
i(0)
Step by Step Example
Consider the RL network with an initial current of
i(0)
Output Equations
Hence knowing the state variable i(t), and the input, V(t), we can find the value
or state of any network variable at any time t>t0 solve the differential equation.
The above three equations are known as output equations.
Step by Step Example
Consider the RL network with an initial current of
i(0)
5. The state equation and the output equations together form the state-space
representation of the network.
State equation
Output Equations
Note
The state equation describes the dynamics of the network and is not unique. It
can be written in terms of any other network variable.
Knowing the initial condition VR(0)=Ri(0) and V(t), we can solve the differential
equation. The state variable here is VR(t).
Second Order Example
Second Order Example
Second Order Example
(1) (2)
Let’s convert the above equations into two simultaneous first order differential
equations in terms of i(t) and q(t) of the form below.
into equation 1
Second Order Example
(1) (2)
(2) and
Output Equation shows that
VL(t) is a linear combination of
state variables q(t), i(t) and the
input v(t)
Second Order Example
5. The two state equations and output equations form a viable state-space
representation of the second order network
State Equations
Output Equation
Notes
The number of state variable required to represent a system
should be at least equal to the order of the system’s differential
equation. More number of state variable can be chosen than
minimal, however they should be linearly independent.
State variable must ne linearly independent i.e. any state variable
cannot be written as a linear combination of other state variables
State equations can be solved if we know the initial conditions
and the input
All network variables can be represented as linear combination
of state variables and input.
State-Space Representation
In general, state and output equations are written in vector-matrix form
• State variables are Vc and iL but iC and VL are not state variables
• The next logical step is to represent iC and VL as linear combination of state
variables Vc and iL and input v(t).
Example 1
Find state-space representation if output is the
current through the resistor
State-Space Representation
Example 2