Sunteți pe pagina 1din 93

Illustrations

We use quantitative mathematical models of physical systems to design and


analyze control systems. The dynamic behavior is generally described by
ordinary differential equations. We will consider a wide range of systems,
including mechanical, hydraulic, and electrical. Since most physical systems are
nonlinear, we will discuss linearization approximations, which allow us to use
Laplace transform methods.

We will then proceed to obtain the inputoutput relationship for components and
subsystems in the form of transfer functions. The transfer function blocks can be
organized into block diagrams or signal-flow graphs to graphically depict the
interconnections. Block diagrams (and signal-flow graphs) are very convenient
and natural tools for designing and analyzing complicated control systems



Chapter 2: Mathematical Models of Systems
Objectives

Illustrations
Introduction
Six Step Approach to Dynamic System Problems
Define the system and its components
Formulate the mathematical model and list the necessary
assumptions
Write the differential equations describing the model
Solve the equations for the desired output variables
Examine the solutions and the assumptions
If necessary, reanalyze or redesign the system
Illustrations
Differential Equation of Physical Systems
T
a
t ( ) T
s
t ( ) 0
T
a
t ( ) T
s
t ( )
e t ( ) e
s
t ( ) e
a
t ( )
T
a
t ( ) = through - variable
angular rat e difference = across-variable
Illustrations
Differential Equation of Physical Systems
v
21
L
t
i
d
d
E
1
2
L i
2

v
21
1
k
t
F
d
d
E
1
2
F
2
k

e
21
1
k
t
T
d
d
E
1
2
T
2
k

P
21
I
t
Q
d
d
E
1
2
I Q
2

Electrical Inductance
Translational Spring
Rotational Spring
Fluid Inertia
Describing Equation Energy or Power
Illustrations
Differential Equation of Physical Systems
Electrical Capacitance
Translational Mass
Rotational Mass
Fluid Capacitance
Thermal Capacitance
i C
t
v
21
d
d
E
1
2
M v
21
2

F M
t
v
2
d
d
E
1
2
M v
2
2

T J
t
e
2
d
d
E
1
2
J e
2
2

Q C
f
t
P
21
d
d
E
1
2
C
f
P
21
2

q C
t
t
T
2
d
d
E C
t
T
2

Illustrations
Differential Equation of Physical Systems
Electrical Resistance
Translational Damper
Rotational Damper
Fluid Resistance
Thermal Resistance
F b v
21
P b v
21
2

i
1
R
v
21
P
1
R
v
21
2

T b e
21
P b e
21
2

Q
1
R
f
P
21
P
1
R
f
P
21
2

q
1
R
t
T
21
P
1
R
t
T
21

Illustrations
Differential Equation of Physical Systems
M
2
t
y t ( )
d
d
2
b
t
y t ( )
d
d
+ k y t ( ) + r t ( )
Illustrations
Differential Equation of Physical Systems
v t ( )
R
C
t
v t ( )
d
d
+
1
L
0
t
t v t ( )
(
(
]
d + r t ( )
y t ( ) K
1
e
o
1
t
sin |
1
t u
1
+
( )

Illustrations
Differential Equation of Physical Systems
Illustrations
Differential Equation of Physical Systems
K
2
1 := o
2
.5 := |
2
10 := u
2
2 :=
y t ( ) K
2
e
o
2
t
sin |
2
t u
2
+
( )
:=
y1 t ( ) K
2
e
o
2
t
:= y2 t ( ) K
2
e
o
2
t
:=
0 1 2 3 4 5 6 7
1
0
1
y t ( )
y1 t ( )
y2 t ( )
t
Illustrations
Linear Approximations
Illustrations
Linear Approximations
Linear Systems - Necessary condition


Principle of Superposition

Property of Homogeneity



Taylor Series
http://www.maths.abdn.ac.uk/%7Eigc/tch/ma2001/notes/node46.html


Illustrations
Linear Approximations Example 2.1
M 200gm := g 9.8
m
s
2
:= L 100cm := u
0
0rad := u t
15 t
16
, t .. :=
T
0
M g L sin u
0
( ) :=
T
1
u ( ) M g L sin u ( ) :=
T
2
u ( ) M g L cos u
0
( ) u u
0
( ) T
0
+ :=
4 3 2 1 0 1 2 3 4
10
5
0
5
10
T
1
u ( )
T
2
u ( )
u
Students are encouraged to investigate linear approximation accuracy f or dif ferent values of u
0
Illustrations
The Laplace Transform
Historical Perspective - Heavisides Operators

Origin of Operational Calculus (1887)

Illustrations
p
t
d
d
1
p
0
t
u 1
(
(
]
d
i
v
Z p ( )
Z p ( ) R L p +
i
1
R L p +
H t ( )
1
L p 1
R
L p
+
|

\
|
|
.

H t ( )
1
R
R
L
1
p

R
L
|

\
|
|
.
2
1
p
2

R
L
|

\
|
|
.
3
1
p
3
..... +

(
(
(

H t ( )
1
p
n
H t ( )
t
n
n!
i
1
R
R
L
t
R
L
|

\
|
|
.
2
t
2
2!

R
L
|

\
|
|
.
3
t
3
3!
+ ..

(
(

(
(

i
1
R
1 e
R
L
|

\
|
|
.
t

(
(

Expanded in a power series


v = H(t)
Historical Perspective - Heavisides Operators
Origin of Operational Calculus (1887)

(*) Oliver Heaviside: Sage in Solitude, Paul J. Nahin, IEEE Press 1987.
Illustrations
The Laplace Transform
Def inition
L f t ( ) ( )
0

t f t ( ) e
s t

(
(
]
d
= F(s)
Here the complex f requency is
s j w +
The Laplace Transf orm exists when
0

t f t ( ) e
s t

(
(
]
d <
this means that the integral converges
Illustrations
The Laplace Transform
Determine the Laplace transf orm f or the f unctions
a) f
1
t ( ) 1 := f or t 0 >
F
1
s ( )
0

t e
s t
(
(
]
d :=
=
1
s
e
s t ( )

1
s
b) f
2
t ( ) e
a t ( )
F
2
s ( )
0

t e
a t ( )
e
s t ( )

(
(
]
d
=
1
s 1 +
e
s a + ( ) t [ ]
F
2
s ( )
1
s a +
Illustrations
note that the initial condition is included in the transf ormation sF(s) - f(0+) =
L
t
f t ( )
d
d
|

\
|
|
.

s
0

t f t ( ) e
s t ( )

(
(
]
d -f(0+) + =
0

t f t ( ) s e
s t ( )

(
(
]
d f t ( ) e
s t ( )
=
0

v u
(
(
]
d
we obtain
v f t ( ) and
du s e
s t ( )
dt
and, f rom which
dv df t ( ) u e
s t ( )
where
u v u v
(
(
]
d = v u
(
(
]
d by the use of
L
t
f t ( )
d
d
|

\
|
|
.
0

t
t
f t ( ) e
s t ( )

d
d
(
(
(
]
d
Evaluate the laplace transf orm of the derivative of a f unction
The Laplace Transform
Illustrations
The Laplace Transform
Practical Example - Consider the circuit.
The KVL equation is
4 i t ( ) 2
t
i t ( )
d
d
+ 0 assume i(0+) = 5 A
Applying the Laplace Transf orm, we have
0

t 4 i t ( ) 2
t
i t ( )
d
d
+
|

\
|
|
.
e
s t ( )

(
(
(
]
d 0 4
0

t i t ( ) e
s t ( )

(
(
]
d 2
0

t
t
i t ( ) e
s t ( )

d
d
(
(
(
]
d + 0
4 I s ( ) 2 s I s ( ) i 0 ( ) ( ) + 0 4 I s ( ) 2 s I s ( ) + 10 0
transforming back to the time domain, with our present knowledge of
Laplace transf orm, we may say that
I s ( )
5
s 2 +
:=
0 1 2
0
2
4
6
i t ( )
t
t 0 0.01 , 2 .. ( )
i t ( ) 5 e
2 t ( )

Illustrations
The Partial-Fraction Expansion (or Heaviside expansion theorem)
Suppose that
The partial fraction expansion indicates that F(s) consists of
a sum of terms, each of which is a factor of the denominator.
The values of K1 and K2 are determined by combining the
individual fractions by means of the lowest common
denominator and comparing the resultant numerator
coefficients with those of the coefficients of the numerator
before separation in different terms.
F s ( )
s z1
+
s p1
+
( ) s p2
+
( )

or
F s ( )
K1
s p1
+
K2
s p2
+
+
Evaluation of Ki in the manner just described requires the simultaneous solution of n equations.
An alternative method is to multiply both sides of the equation by (s + pi) then setting s= - pi, the
right-hand side is zero except for Ki so that
Ki
s pi
+
( ) s z1
+
( )

s p1
+
( ) s p2
+
( )
+
s = - pi
The Laplace Transform
Illustrations
The Laplace Transform
s -> 0 t -> inf inite
Lims F s ( ) ( ) Limf t ( ) ( ) 7. Final-value Theorem
s -> inf inite t -> 0
Lims F s ( ) ( ) Limf t ( ) ( ) f 0 ( ) 6. Initial-value Theorem
0

s F s ( )
(
(
]
d
f t ( )
t
5. Frequency Integration
F s a + ( ) f t ( ) e
a t ( )
4. Frequency shifting
s
F s ( )
d
d
t f t ( ) 3. Frequency dif f erentiation
f at ( ) 2. Time scaling
1
a
F
s
a
|

\
|
|
.

f t T ( ) u t T ( ) 1. Time delay
e
s T ( )
F s ( )
Property Time Domain Frequency Domain
Illustrations
Useful Transform Pairs
The Laplace Transform
Illustrations
The Laplace Transform
y s ( )
s
b
M
+
|

\
|
|
.
y
o
( )

s
2 b
M
|

\
|
|
.
s +
k
M
+

(
(

s 2 , e
n
+
( )
s
2
2 , e
n
+ e
n
2
+
s1 , e
n

( )
e
n
,
2
1 +
e
n
k
M
,
b
2 k M ( )
s2 , e
n

( )
e
n
,
2
1
Roots
Real
Real repeated
Imaginary (conjugates)
Complex (conjugates)
s1 , e
n

( )
j e
n
1 ,
2
+
s2 , e
n

( )
j e
n
1 ,
2

Consider the mass-spring-damper system
Y s ( )
Ms b + ( ) yo
Ms
2
bs + k +
equation 2.21
Illustrations
The Laplace Transform
Illustrations
The Transfer Function of Linear Systems
V
1
s ( ) R
1
Cs
+
|

\
|
|
.
I s ( ) Z
1
s ( ) R
Z
2
s ( )
1
Cs
V
2
s ( )
1
Cs
|

\
|
|
.
I s ( )
V
2
s ( )
V
1
s ( )
1
Cs
R
1
Cs
+
Z
2
s ( )
Z
1
s ( ) Z
2
s ( ) +
Illustrations
The Transfer Function of Linear Systems
Example 2.2
2
t
y t ( )
d
d
2
4
t
y t ( )
d
d
+ 3 y t ( ) + 2 r t ( )
Initial Conditions:
Y 0 ( ) 1
t
y 0 ( )
d
d
0 r t ( ) 1
The Laplace transform yields:
s
2
Y s ( ) s y 0 ( )
( )
4 s Y s ( ) y 0 ( ) ( ) + 3Y s ( ) + 2 R s ( )
Since R(s)=1/s and y(0)=1, we obtain:
Y s ( )
s 4 + ( )
s
2
4s + 3 +
( )
2
s s
2
4s + 3 +
( )

+
The partial fraction expansion yields:
Y s ( )
3
2
s 1 + ( )
1
2
s 3 + ( )
+

(
(
(

1
s 1 + ( )
1
3
s 3 + ( )
+

(
(
(

+
2
3
s
+
Theref ore the transient response is:
y t ( )
3
2
e
t

1
2
e
3 t

|

\
|
|
.
1 e
t
1
3
e
3 t
+
|

\
|
|
.
+
2
3
+
The steady-state response is:
t
y t ( ) lim

2
3
Illustrations
The Transfer Function of Linear Systems
Illustrations
The Transfer Function of Linear Systems
Illustrations
The Transfer Function of Linear Systems
Illustrations
The Transfer Function of Linear Systems
Illustrations
| K
f
i
f

T
m
K
1
K
f
i
f
t ( ) i
a
t ( )
f ield controled motor - Lapalce Transf orm
T
m
s ( ) K
1
K
f
I
a

( )
I
f
s ( )
V
f
s ( ) R
f
L
f
s +
( )
I
f
s ( )
T
m
s ( ) T
L
s ( ) T
d
s ( ) +
T
L
s ( ) J s
2
u s ( ) b s u s ( ) +
rearranging equations
T
L
s ( ) T
m
s ( ) T
d
s ( )
T
m
s ( ) K
m
I
f
s ( )
I
f
s ( )
Vf s ( )
R
f
L
f
s +
The Transfer Function of Linear Systems
Td s ( ) 0
u s ( )
V
f
s ( )
K
m
s J s b + ( ) L
f
s R
f
+
( )

Illustrations
The Transfer Function of Linear Systems
Illustrations
The Transfer Function of Linear Systems
Illustrations
The Transfer Function of Linear Systems
Illustrations
The Transfer Function of Linear Systems
Illustrations
The Transfer Function of Linear Systems
V
2
s ( )
V
1
s ( )
1
RCs
V
2
s ( )
V
1
s ( )
RCs
Illustrations
The Transfer Function of Linear Systems
V
2
s ( )
V
1
s ( )
R
2
R
1
C s 1 +
( )
R
1
V
2
s ( )
V
1
s ( )
R
1
C
1
s 1 + ( ) R
2
C
2
s 1 + ( )
R
1
C
2
s
Illustrations
The Transfer Function of Linear Systems
u s ( )
V
f
s ( )
K
m
s J s b + ( ) L
f
s R
f
+
( )
u s ( )
V
a
s ( )
K
m
s R
a
L
a
s +
( )
J s b + ( ) K
b
K
m
+

Illustrations
The Transfer Function of Linear Systems
V
o
s ( )
V
c
s ( )
K
R
c
R
q

\
|
|
.
s t
c
1 + ( ) s t
q
1 + ( )
t
c
L
c
R
c
t
q
L
q
R
q
For the unloaded case:
i
d
0 t
c
t
q
0.05s t
c
< 0.5s <
V
12
V
q
V
34
V
d
u s ( )
V
c
s ( )
K
m
s t s 1 + ( )
t
J
b m ( )
m = slope of linearized
torque-speed curve
(normally negative)
Illustrations
The Transfer Function of Linear Systems
Y s ( )
X s ( )
K
s Ms B + ( )
K
A k
x

k
p
B b
A
2
k
p
+
|

\
|
|
.
k
x
x
g
d
d
k
p
P
g
d
d
g g x P , ( ) flow
A = area of piston
Gear Ratio = n = N1/N2
N
2
u
L
N
1
u
m

u
L
n u
m

e
L
n e
m

Illustrations
The Transfer Function of Linear Systems
V
2
s ( )
V
1
s ( )
R
2
R
R
2
R
1
R
2
+
R
2
R
u
u
max
V
2
s ( ) k
s
u
1
s ( ) u
2
s ( )
( )
V
2
s ( ) k
s
u
error
s ( )
k
s
V
battery
u
max
Illustrations
The Transfer Function of Linear Systems
V
2
s ( ) K
t
e s ( ) K
t
s u s ( )
K
t
constant
V
2
s ( )
V
1
s ( )
k
a
s t 1 +
Ro = output resistance
Co = output capacitance
t R
o
C
o
t 1s <
and is often negligible
f or controller amplifier
Illustrations
The Transfer Function of Linear Systems
T s ( )
q s ( )
1
C
t
s Q S
1
R
+
|

\
|
|
.
+
T T
o
T
e
= temperature dif ference due to thermal process
C
t
= thermal capacitance
= fluid flow rate = constant
= specif ic heat of water
= thermal resistance of insulation
= rate of heat f low of heating element
Q
S
R
t
q s ( )
x
o
t ( ) y t ( ) x
in
t ( )
X
o
s ( )
X
in
s ( )
s
2

s
2
b
M
|

\
|
|
.
s +
k
M
+
For low f requency oscillations, where e e
n
<
X
o
j e ( )
X
in
j e ( )
e
2
k
M
Illustrations
The Transfer Function of Linear Systems
x r u
converts radial motion to linear motion
Illustrations
Block Diagram Models
Illustrations
Block Diagram Models
Illustrations
Block Diagram Models
Original Diagram Equivalent Diagram
Original Diagram Equivalent Diagram
Illustrations
Block Diagram Models
Original Diagram Equivalent Diagram
Original Diagram Equivalent Diagram
Illustrations
Block Diagram Models
Original Diagram Equivalent Diagram
Original Diagram Equivalent Diagram
Illustrations
Block Diagram Models
Illustrations
Block Diagram Models
Example 2.7
Illustrations
Block Diagram Models Example 2.7
Illustrations
Signal-Flow Graph Models
For complex systems, the block diagram method can become
difficult to complete. By using the signal-flow graph model, the
reduction procedure (used in the block diagram method) is not
necessary to determine the relationship between system variables.
Illustrations
Signal-Flow Graph Models
Y
1
s ( ) G
11
s ( ) R
1
s ( ) G
12
s ( ) R
2
s ( ) +
Y
2
s ( ) G
21
s ( ) R
1
s ( ) G
22
s ( ) R
2
s ( ) +
Illustrations
Signal-Flow Graph Models
a
11
x
1
a
12
x
2
+ r
1
+ x
1
a
21
x
1
a
22
x
2
+ r
2
+ x
2
Illustrations
Signal-Flow Graph Models
Example 2.8
Y s ( )
R s ( )
G
1
G
2
G
3
G
4
1 L
3
L
4

( )

G
5
G
6
G
7
G
8
1 L
1
L
2

( )

+
1 L
1
L
2
L
3
L
4
L
1
L
3
+ L
1
L
4
+ L
2
L
3
+ L
2
L
4
+
Illustrations
Signal-Flow Graph Models
Example 2.10
Y s ( )
R s ( )
G
1
G
2
G
3
G
4

1 G
2
G
3
H
2
+ G
3
G
4
H
1
G
1
G
2
G
3
G
4
H
3
+
Illustrations
Signal-Flow Graph Models
Y s ( )
R s ( )
P
1
P
2
A
2
+ P
3
+
A
P
1
G
1
G
2
G
3
G
4
G
5
G
6
P
2
G
1
G
2
G
7
G
6
P
3
G
1
G
2
G
3
G
4
G
8

A 1 L
1
L
2
+ L
3
+ L
4
+ L
5
+ L
6
+ L
7
+ L
8
+
( )
L
5
L
7
L
5
L
4
+ L
3
L
4
+
( )
+
A
1
A
3
1 A
2
1 L
5
1 G
4
H
4
+
Illustrations
Design Examples
Illustrations
Speed control of an electric traction motor.
Design Examples
Illustrations
Design Examples
Illustrations
Design Examples
Illustrations
Design Examples
Illustrations
Design Examples
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
error
The Simulation of Systems Using MATLAB
Sys1 = sysh2 / sysg4
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
error
The Simulation of Systems Using MATLAB
Num4=[0.1];
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
The Simulation of Systems Using MATLAB
Illustrations
Sequential Design Example: Disk Drive Read System
Illustrations
Sequential Design Example: Disk Drive Read System
Illustrations
=
Sequential Design Example: Disk Drive Read System
Illustrations
P2.11
Illustrations
1
L
c
s R
c
+
Vc
Ic
K1
1
L
q
s R
q
+
Vq
K2
K3
-Vb
+Vd
Km
Id
1
L
d
L
a
+
( )
s R
d
R
a
+
( )
+
Tm
1
J s b +
1
s
u
P2.11
Illustrations
Illustrations
http://www.jhu.edu/%7Esignals/sensitivity/index.htm

Illustrations
http://www.jhu.edu/%7Esignals/

S-ar putea să vă placă și