Control Systems: State-Space Analysis
Control Systems: State-Space Analysis
2
SystemModelli
ng
Mathematicalmodels Fundamen
talPrinciplesforModelling
:
for
ElectricalSystems
• Electricalsystems • Kirchhoff’svoltage¤tlaws
• Mechanicalsystems Mechanicalsystems
• Electromecha
nicalsystem • Newton’slaws
3
Introduction
Two approaches are available for the analysis and design of
feedback control systems.
§ The first one, which we had already studied is known as the classical, or
frequency-domain, technique. This approach is based on converting a
system's differential equation to a transfer function(using Laplace
Transforms), thus generating a mathematical model of the system which
algebraically relates a representation of the output to a representation of
the input.
4
Introduction
The primary disadvantage of the classical approach is its limited
applicability:
5
Introduction
• On the other hand , the time-domain or the state-space approach can be
used to represent nonlinear systems, time-varying systems, multiple-input,
multiple-output systems besides being used for the same class of systems
modelled by the classical approach.
• The methods are applicable for non-zero initial conditions cases as well.
6
Underlying facts
We proceed now to establish the state-space approach as
an alternate method for representing physical systems.
7
Definitions
State Variables
From the mathematical perspective, it is convenient to
define a set of state variables and state equations to
model dynamic systems.
8
The General State-Space Representation
State
Space Model
2. Output equation
9
The General State-Space Representation
10
The General State-Space Representation
Where
11
Example
Given 2nd order Diff Eq.
1
then Eq. (1) is decomposed into the following two first-order differential equations:
12
Example
13
General form of state Space model
In general, the differential equation of an nth-order system is written
let us define
then the nth-order differential equation is decomposed into n first-order differential equations:
14
Applying the State-Space Representation
15
Linearly Independent State Variables
16
Minimum Number of State Variables
17
Minimum Number of State Variables
• In most cases, another way to determine the number of state
variables is to count the number of independent energy-
storage elements in the system.
• The number of these energy-storage elements equals the
order of the differential equation and the number of state
variables.
18
Example
Find state model of
System shown in the Fig.
Solution
19
Example
The state equation:
OR
20
Example
Write the state equations of the electric network shown in the Fig.
Solution: The state equations of the network are obtained by writing the
voltages across the inductors and the currents in the capacitor in terms of the three
state variables. The state equations are
21
Example
In vector-matrix form, the state equations are written as
Where
22
Example
PROBLEM: Given the electrical network of Figure shown, find
a state-space representation if the output is the current through
the resistor.
Solution
Select the state variables by writing the derivative equation for all energy storage
elements, that is, the inductor and the capacitor. Thus,
1
2
23
Example
Apply network theory, such as Kirchhoffs voltage and current
laws, to obtain ic and vL in terms of the state variables, vc and iL.
At Node 1,
which yields ic in terms of the state variables, vc and iL . Around the outer
loop,
4
24
Example
Substitute the results of Eqs. (3) and (4) into Eqs. (1) and (2) to
obtain the following state equations:
OR
25
Example
Find the state eq. of the
mechanical system shown
Solution
26
Converting a Transfer Function to State
Space
In the last section, we applied the state-space representation to
electrical and mechanical systems. We learn how to convert a
transfer function representation to a state-space representation in
this section.
One advantage of the state-space representation is that it can be
used for the simulation of physical systems on the digital
computer. Thus, if we want to simulate a system that is
represented by a transfer function, we must first convert the
transfer function representation to state space.
27
Converting T.F to S.S
28
Converting T.F to S.S
There are many ways of converting T.F into S.S but the
most useful and famous are:
1. Direct Decomposition
2. Cascade Decomposition
3. Parallel Decomposition
29
Direct Decomposition
30
Direct Decomposition
31
Direct Decomposition
32
Direct Decomposition
From State diagram
In vector-matrix form,
33
Direct Decomposition
34
Cascade (Series) Decomposition
35
Cascade (Series) Decomposition
36
Cascade (Series) Decomposition
37
Cascade (Series) Decomposition
Now write the state equations for the new representation of the system.
38
Parallel Decomposition
Parallel subsystems have a common input and an output formed
by the algebraic sum of the outputs from all of the subsystems.
39
Parallel Decomposition
Example
40
Parallel Decomposition
41
Parallel Decomposition
42
Converting from State Space to a
Transfer Function
43
Converting From S.S to T.F
44
Example
45
Example
46
Example
PROBLEM: Given the system defined below, find the transfer
function, T(s) = Y(s)/U(s),
47
Example
48
Linearization
49
Why Linearization
• Lack of systematic design methodology for direct
design of nonlinear control system.
50
Linearization Steps
51
Linear Approximation
52
Example of Nonlinear
53
Linearization
where
54
Example
Given nonlinear system below, find linearized model
55
Example
56
Example
57
Example
Solution
58
Example
• Linearize the nonlinear state equation
• Equilibrium at 0
59
Example
Solution
60