Chapter 3 Modeling in The Time Domain
Chapter 3 Modeling in The Time Domain
Chapter 3 Modeling in The Time Domain
2
Two Approaches for Analysis and
Design of Control Systems
The classical, or frequency-domain, technique
3
Loop Eq
State Equation
State-space representation
All other variables can be
Taking LT expressed in terms of :
i(t) (the state variable) and
v(t) (the input)
For step input
Output Equations
Inverse LT
representation
vR(t), vC(t), vL(t), i(t), q(t),
State-space
di (t ) dq(t )
,
dt dt
7
State Equation The state and output equations can be
written in vector-matrix form,
8
Graphic representation of state
space and a state vector
9
Observations
• For a system with many variables,
we need to use differential
equations only to solve for a System variables:
selected subset of system
variables vR(t), vC(t), vL(t), i(t), q(t),
di (t ) dq(t )
• The remaining system variables ,
dt dt
can be evaluated algebraically
from the variables in the subset
Selected subset of system
• The selected subset of system variables
variable are the state variables i(t) and q(t)
10
• For an nth-order system, we write n simultaneous, first-order
differential equations in terms of the state variables.
11
• The state variables are algebraically combined with the
system's input to find the remaining system variables for t >
t0.
13
Terminologies and the Concepts used
in State-space Technique
4. State variables
1. Linear combination 5. State vector
2. Linear independence 6. State space
3. System variable 7. State equations
8. Output equation
14
The General State-Space Representation
x = state vector
x = time derivative of the state vector
u = input or control vector
A = system matrix D
B = input matrix
u x x y
B C
y = output vector
A
C = output matrix
D = feed-forward matrix
15
The General State-Space Representation
x1
y c1 c2 d1v(t )
x2
16
Applying the State-Space Representation
Select the state vector, which must be chosen according to the
following considerations:
1. A minimum number of state variables must be selected as
components of the state vector. This minimum number of state
variables is sufficient to completely describe the state of the
system.
17
Linear Independence
• If x3 can be expressed in terms of x1 and x2 as:
x3 = 5x1 + 4x2
then x3 is not linearly independent of x1 and x2
• Variables and their successive derivatives are linearly
independent.
For example, the voltage across an inductor, vL, is linearly
independent of the current through the inductor, iL.
diL
vL is linearly dependent on diL/dt vL L
dt
vL cannot be evaluated as a linear combination of the current, iL
diL diL
iL , vL , i L vL ,
dt dt
18
Example 3.1 Representing an Electrical Network
PROBLEM: Given the electrical network shown in the Figure, find a
state-space representation if the output is the current through the resistor.
SOLUTION:
• Label all of the branch
currents
• Write the derivative equation for all
energy storage elements
choose the state variables as the quantities
that are differentiated.
Writing loop eq
for outer loop
20
Example 3.3 Representing a Translational Mechanical System
PROBLEM: Find the state equations for the translational mechanical
system shown in the Figure.
SOLUTION:
dx1 d 2 x1 dv1
v1
dt dt 2
dt
dx1
v1
dt dx2 d 2 x2 dv2
v2
dt dt 2
dt
dx2
v2
dt x1, v1, x2, v2 are the state
variables
21
dx1
v1
dt
dx2
v2
dt
23
Obtaining State equations from an
nth order differential equation
24
Dynamic Equations
= x3
= x4
25
x1
x
2 State vector
x
x 3
xn 1
xn
phase-variable form of
the state equations
26
Converting a Transfer Function to
State Space
27
Dynamic Equations Transfer Function
Y ( s) b0
n
U ( s ) s an 1s n 1 a1s a0
= x3
= x4
28
x1
x
2 State vector
x
x 3
xn 1
phase-variable form of
xn
the state equations
Y ( s) b0
n
U ( s) s an 1s n 1 a1s a0
29
Example 3.4 Converting a Transfer Function with
Constant Term in Numerator
PROBLEM: Find the state-space representation in phase-variable form
for the system shown in the figure
SOLUTION:
By cross-multiplying we get
30
Choosing the state variables as successive derivatives
x1 c
x c
2
x 3 c
x 2 (t ) x 1 (t )
32
Transfer Function with a polynomial in numerator
33
The second transfer function may be expressed as
x1 x2
or x 2 x3
34
b2
C(t)
b1
r(t) x 3 x3 x2 x1
1/a3 b0
- -- 0 1 0
a2/a3 A 0 0 1
a1/a3 a0 a3 a1 a3 a2 a3
a0/a3
0
B 0
1 a3
C b0 b1 b2
35
Converting from State Space to a
Transfer Function
36
The state and output equations are given
as
Substituting for X(s) in Eq (2)
37
Example 3.6 State-Space Representation to Transfer
Function
SOLUTION:
The transfer function matrix
is:
38
= ???
39
Home Assignment
Q #1
Convert the given transfer
function for the mechanical
translational system to the
state-space representation
in phase-variable form.
Draw equivalent block
diagram showing the phase
variables.
40
Assignment
Q #2
Convert the following transfer function to the state-space
representation in phase-variable form and clearly write matrices
A, B, C, and D.
C (s) s 2 2s 7
T (s) 4
R ( s ) s 7 s 3 3s 2 5 s 9
41
???