Sie sind auf Seite 1von 6

Outline

• State variables.
State Variables • State-space representation.
• Linear state-space equations.
M. Sami Fadali • Nonlinear state-space equations.
Professor of Electrical Engineering • Linearization of state-space equations.
UNR

1 2

Input-output Description Linear Systems


• Single-input-single-output (SISO)
௡ ௡ିଵ
The description is valid for
௡ ௡ିଵ ௡ିଵ ଵ ଴
a) time-varying systems: parameters are explicit functions
of time. ௡ ௡ିଵ
b) multi-input-multi-output (MIMO) systems: l input-output ௡ ௡ିଵ ଵ ଴
௡ ௡ିଵ
differential equations, l = # of outputs.
c) nonlinear systems: differential equations include • Time-dependent coefficients for time-
nonlinear terms.
varying system.

3 4
State Variables Definitions
To solve the differential equation we need System State: minimal set of numbers
(1) The system input for the period of interest. ௜ ଴ , needed together with
(2) A set of constant initial conditions. the input ଴ ௙ to uniquely
ଶ ௡ିଵ
଴ ଴ ଴ determine the behavior of the system in
଴ ଶ ௡ିଵ
the interval ଴ ௙ . = order of the system.
• Minimal set of initial conditions: incomplete
knowledge of the set prevents complete solution State Variables: As increases, the state of
but additional initial conditions are not needed to the system evolves and each of the
obtain the solution. numbers ௜ becomes a time variable.
• Initial conditions provide a summary of the history State Vector: vector of state variables
of the system up to the initial time.
5 6

Notation Definitions
• Column vector bolded State Space: -dimensional vector space where
் ௜ represent the coordinate axes
• Row vector bolded and transposed . State plane: state space for a 2nd order system
ଵ Phase plane: special case where the state
variables are proportional to the derivatives of
் ଶ .
ଵ ଶ ௡ ଵ
Phase variables: state variables in phase plane.
௡ State trajectories: Curves in state space
State portrait: plot of state trajectories in the plane
(phase portrait for the phase plane).

7 8
Example 7.1 Example 7.1
• State for equation of motion of a point mass Write state-space equations for the spring-
driven by a force mass-damper system driven by a force
= displacement of the point mass. = mass = spring constant
௧ ௧
= damper constant
଴ ଴ = displacement of the point mass.
௧బ ௧బ
଴ ଴
2  system is second order

9 10

Solution Solution (cont.)


• Obtain a complete solution given the • Two first order differential equations
force, if 2 initial conditions are known ଵ ଶ
଴ ଴ : state of the system at time
଴. ଶ ଵ ଶ
• 2 I.C.s  system is second order. ଵ
• State (phase)Variables: ଵ 1.First equation: from definitions of state
ଶ variables.
• State Vector: ் ଵ 2.Second equation: from equation of motion
ଵ ଶ

11 12
State-space Representation State Equations
• Set of first order equations governing the state
• Representation for the system described variables obtained from the input-output
by a differential equation in terms of state differential equation and the definitions of the state
variables.
and output equations.
• In general, n state equations for a nth order
• Linear Systems: More convenient to write system.
state (output) equations as a single matrix • The form of the state equations depends on the
equation. nature of the system (equations are time-varying
for time-varying systems, nonlinear for nonlinear
systems, etc.)
• State equations for linear time-invariant systems
can also be obtained from their transfer functions.
13 14

Output Equation Solution of State Equations


• Algebraic equation expressing the output For the spring-mass-damper system
in terms of the state variables and the • Solve the 1st order differential equations
input. then substitute in ଵ
• Multi-output systems: a scalar output • 2 differential equations + algebraic
equation is needed to define each output. expression are equivalent to the 2nd order
• Substitute from solution of state equation differential equation.
to obtain output. • Feedback Control Law 2nd order
underdamped system
ଶ ଵ
15 16
More on the Solution Phase Portrait
1.Solution depends only on initial conditions. x2 3

2.Obtain phase portrait using MATLAB 2

command lsim or initial 1

3.Time is an implicit parameter.


0

4.Arrows indicate the direction of increasing


time. -1

5.Choice of state variables is not unique. -2

-3 x1
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2

17 18

Example 7.2: Matrix Form General Form for Linear Systems


Scalar Eqns. Matrix Form

ଵ ଶ ଵ ଵ real vectors.
ଶ ଶ Matrices:
ଶ ଵ ଶ
state or system matrix
input or control matrix
output matrix



direct transmission or
feedforward matrix
19 20
State Space in MATLAB Linear Vs. Nonlinear State-Space
» a = [0, 1; 5, 4];b=[0;1];c=[1,1];d=0;
» p = ss(a,b,c,d) % State-space quadruple Example 7.3: The following are examples of
a=
x1 x2
state-space equations for linear systems
x1 0 1
x2 -5 -4
a) 3rd order 2-input-2-output (MIMO) LTI
b=
u1  x1   11 . 0.3 15.   x1  01 . 0
 x    01      u1 
x1 0
. 35. 2.2 x 2  0 11 .  
x2 1    2
    u 2 
c=  x 3  0.4 2.4 11
.   x 3  10 . 
. 10
x1 x2
y1 1 1  x1 
 y1  1 2 0   1 2  u1 
 y   0 0 1  x 2   0 1 u 
d=
u1  2     2 
y1 0  x 3 
21 22
Continuous-time system.

Example 7.3 (b)


2nd order 2-output-1-input (SIMO) linear
time-varying
ଵ ଵ
ିଷ௧
+
ଶ ଶ
ଵ ଵ
ଶ ଶ
1. Zero D, constant and .
2. Time-varying system: has entries that
are functions of .
23

Das könnte Ihnen auch gefallen