

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















Page 1 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
Time-domain techniques can be utilized for nonlinear, time-varying, and multivariable
systems. A time-varying control system is a system for which one or more of the
parameters of the system may vary as a function of time. We are interested in
reconsidering the time-domain description of dynamic systems as they are
represented by the system differential equation.
The time-domain analysis and design of control systems utilize the concept of the state of
a system. The state of a system is a set of variables such that the knowledge of these
variables and the input functions will, with the equations describing the dynamics,
provide the future state and output of the system.
This is also the equivalent of a multiple-input multiple-output (MIMO) system.
For a dynamic system, the state of a system is described in terms of a set of state
variables [x1 (t), x2 (t),...,xn (t)].
The state equations are defined using vector-matrix notation as
x & = A ⋅ x + B ⋅ u
with the output as a combination of states and inputs, represented as
y = C ⋅ x + D ⋅ u
The state variables are those variables that determine the future behavior of a system
when the present state of the system and the excitation signals are known.
Page 2 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
An example to demonstrate the concept:
A spring-mass damper system
dt
dy b dt
d y M (^) 2 + + =
2
2
dt
dyt x (^) 2 =
Substituting this into the system equation
dt
dx M + 2 + 1 =
2
Then we can describe the system using two equations having two state variables:
2
1 x dt
b x M
k
dt
dx = − 1 − 2 +
2
The state-variable matrix equation is
x
x
b
M
k
dt
dx
dt
dx
2
1
2
1
x
x y (^) ⎥+ ⋅ ⎦
2
1
Page 4 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
P2.3 (cont):
Then the four equations for the for state variables become:
3
1 x dt
4
2 x dt
Ft x M
k x M
k k
dt
dx
12 1
3 1 12 2 4
12 1
4 12 x M
b x M
k x M
k
dt
dx =+ − −
They can be put into a matrix form.
The state-variable matrix equation is
x
x
x
x
b
M
k
M
k
k
M
k k
dt
dx
dt
dx
dt
dx
dt
dx
4
3
2
1
12 12
1 12 12
4
3
2
1
With the two outputs being x 1 and x 2 , written as outputs in y as
x
x
x
x
y
y ⎥⋅ ⎦
4
3
2
1
2
1
OK, now that the form looks right, so what? …. Linear Algebra has a purpose!
Linear Algebra is used to solve systems of equations.
In state space systems, ee combine Laplace Transforms with Linear Algebra to solve
control system problems.
Page 5 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
In general we are interested in developing a set of state differential equations of the
form where dt
x &^ = dx.
n n n nn n n n nm m
n n m m
n n m m
x a x a x a x b u b u b u
x a x a x a x b u b u b u
x a x a x a x b u b u b u
1 1 2 2 1 1 2 2
2 21 1 22 2 2 21 1 22 2 2
1 11 1 12 2 1 11 1 12 2 1
using vector-matrix notation we have
x & = A ⋅ x + B ⋅ u
m n nm
m
m
n n nn n
n
n
n
u
u
b b
b b
b b
x
x
x
a a a
a a a
a a a
x
x
x
dt
d M
1
1
21 2
11 1
2
1
1 2
21 22 2
11 12 1
2
1
and
k k k kn n k k km m
n n m m
n n m m
y c x c x c x d u d u d u
y c x c x c x d u d u d u
y c x c x c x d u d u d u
1 1 2 2 1 1 2 2
2 21 1 22 2 2 21 1 22 2 2
1 11 1 12 2 1 11 1 12 2 1
m k km
m
m
k k kn n
n
n
k
u
u
d d
d d
d d
x
x
x
c c c
c c c
c c c
y
y
y
1
1
21 2
11 1
2
1
1 2
21 22 2
11 12 1
2
1
Page 7 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
Another way of thinking about this problem involves the inverse function. If we let
− 1 Φ s = sI − A
− 1 − 1 0
becomes
The matrix exponential function describes the unforced response of the system and for
the result
t
0
exp 0 exp
can be written as
t
0
2
1
1 2
21 22 2
11 12 1
2
1
n n nn n
n
n
n x
x
x
x t
x t
x t
Page 8 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
To determine the state transition matrix, we can go through a tedious procedure.
2
1
1 2
21 22 2
11 12 1
2
1
n n nn n
n
n
n x
x
x
x t
x t
x t
φ φ φ
φ φ φ
φ φ φ
(1) Set the initial conditions for all state variables to zero.
(2) Select one state variable, make it non-zero and evaluate the time response of all the
state variables. The resulting time response provides one column of the time domain state
transition matrix. That is, the term φ ij (t) is the response of the ith state variable due to
an initial condition on the jth state variable when there are zero initial conditions on all
the other states.
(3-n) Repeat for every state variable until the state transition matrix is complete.
If you don’t have access to set all of the initial conditions of the state …
your in the real world!
There are ways to perform “state estimation” … more advanced classes.
Page 10 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
The definition of an eigenvalue from Linear Algebra is:
We have been dwelling on the characteristic equation.
Can we define the characteristic equation based on the state transition matrix? Sure
Recognize something familiar?
The eigenvalues are the roots of the characteristic equation!
(Most of the really far out stuff in control systems, advanced signal processing, image
processing, etc. involves vectors, matrices, eigenvalues and eigenvectors.)
Page 11 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
Example
L
c c u i dt
dv i = C ⋅ = −
L
L c R i dt
di v = L ⋅ + ⋅
vo = R ⋅ i L
Let x 1 (^) = vc and x (^) 2 = iL and y (^) 1 = vo we get
u C
x dt C
dx = − ⋅ + ⋅
2
1
1 2
x L
x dt L
dx =+ ⋅ − ⋅
or
C^ u x
x
dt
dx
dt
dx
2
1
2
1
and
y 1 (^) = R ⋅ x 2
or
2
1 1 0 x
x y R
Page 13 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
Let
R = 3 , L = 1 , andC = 0. 5
s s s s
LC
s L
s
Gs
2 2 + ⋅ +
s s
s
s
s L
s
s L
s
s
2 2 + ⋅ +
s s
s
s
s s
s
s
s L
s
s L
s
s
− − − −
t t t t
t t t t
e e e e
e e e e t (^) 2 2
2 2
Initial Condition Response
2 2
2 2
x e e e e
e e e e x t t t t t
t t t t
⎥^ ⋅ ⎦
− − − −
Page 14 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
Making a Signal Flow Graph from the State Models
For some physical implementations it may be easier to write the state equations than it is
to define a single transfer function!
C^ u i
v
dt
di
dt
dv
L
c
L
c
C^ u x
x
dt
dx
dt
dx
2
1
2
1
L
c
i
v
2
1 1 0 x
x y R
The signal flow graph for this set of equations is
Using Mason’s signal-flow gain formula, we obtain the transfer function
sL s LC
s LC
s L s C s
C s L s
Us
V s
2
2 0
1 1 1 1 1 1 1 1
s sR
Us
0
Page 16 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
A closed population (no inputs) at the steady state
Let us consider a closed population so that u1(t) = u2(t) = 0. The equilibrium point in the
state space for this system is obtained by setting d x/dt = 0.
The equilibrium point in the state space is the point to which the system settles to the
steady state, or rest, condition.
We have
3
2
1
3
2
1
x
x
x
a g
b g
a b
x
x
x
dt
d
1 2
1 2
1 2
a x g x
b x g x
a x b x
Which requires that
1 2
1
2
a x g x
a b x
g b x
Î
⎥
x K
x
x
0
3
2
1
To determine whether the epidemic disease is eliminated from the population, we must
obtain the characteristic equation of the system and figure out if it is stable or unstable
Stable and the disease is eliminated, unstable and the disease wipes out the population.
a g s
b s g
s a b
a g
b g
a b
s
s
s
s I A 0
det
0
det det
3 2 2 det
Page 17 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
Or from Mason’s Flow, there are three loops, two of which are non-touching. Thus the
characteristic equation is
s
g
s
a
s
b
s
g
s
a s (^) 2
2 1
2 1 s
a g b
s
a g s
2 2 Δ s = s + s ⋅ a + g + a ⋅ g + b
2 a ⋅ g + b >
When roots are in the left-hand plane,
we expect the unforced response to decay to zero as t Æ infinity.
Page 19 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
To obtain the necessary first-order differential equations, we solve for dx4/dt and
substitute to obtain
since M>> m. Substituting dx2/dt, we have
Therefore the four first-order differential equations can be written as
Thus the system matrices are
At steady state,
x 0
d
x 0
x 0
dy
undertermined
4
3
2
1
dt
dt
y x
Anyone what to check stability? It isn’t! Poles at 0, 0, and ± l
g
Page 20 Notes and figures are based on or taken from materials in the ECE 371 course textbook: th
Note: It is often a difficult task to determine a series of first-order differential equations
describing the system. Therefore it can be simpler to derive the transfer function of the
system by the techniques of Chapter 2 and then derive the state model from the transfer
function.