Control System
Control System
1 __________________________ 2 _________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
What is a Model? Mathematical Models
3 __________________________ 4 _________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Mathematical Models Mathematical Models
Graphical Model
• numbers plotted instead of table presentation
• allow the reader to quickly draw conclusions
• can also be equivalent to mathematical models once a correct
mathematical equation has been derived
5 __________________________ 6 _________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Mathematical Models Mathematical Models
In our example:
• single bacterial culture introduced into and growing in a fixed volume
with a fixed (limited) amount of nutrient
• Lag phase:
• constant value of the number of cells due probably to initial addition of the
bacteria to the environment and for some time, these still do not reproduce
• Log(exponential) phase:
• point where the bacteria started to multiply and reproduce
• sudden increase in its population
Graphical Model
7 __________________________ 8 _________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Mathematical Models Mathematical Models
9 __________________________ 10 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Mathematical Models Review of Differential Equations
• where [A] and k are the concentration and the rate of decay of substance Wave equation in three dimensions: u(x,y,z,t)
A, respectively
• Thus, 2u 2u 2u 2u
c2
[A](t) = [A](0)bt 0<b<1 x 2 y 2 z 2 t 2
11 _________________________ 12 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Review of Differential Equations Review of Differential Equations
d2y dy
u(x) is the dependent variable a2 a1 a0 0 2nd order
dt 2 dt
13 _________________________ 14 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Review of Differential Equations Review of Differential Equations
dy t
y
dt
t2 0
non-linear dt dt
Summary of Linearity
15 _________________________ 16 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Review of Differential Equations Review of Differential Equations
• Put all the terms of the differential equation which involve the
dependent variable on the left hand side (LHS) of the equation. dy
y 0
1st Order
dx
Linear
• Homogeneous: If there is nothing left on the right-hand side (RHS),
Homogeneous
the equation is homogeneous. (unforced or free)
d2y
cos( x) y 2 sin( x) 2nd Order
• Nonhomogeneous: If there are terms left on the RHS involving dx 2
Non-linear
constants or the independent variable, the equation is
Non-homogeneous
nonhomogeneous (forced)
d 3y 3rd Order
5 4y cos( x )
dx 3
Linear
Non-homogeneous
17 _________________________ 18 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Review of Differential Equations Dynamic Systems
• A linear ordinary differential equation describing linear electric • plants where system variables (state variables) change with respect
circuits is of the form to time
• usually modeled with differential equations (or possibly, difference
d nx d n 1x dx equations)
an an 1 ... a1 a0 v(t )
dt n
dt n 1 dt • Example:
• Robotic Manipulator Model Dq q
C q, q Gq
Where
an, an-1,…,a0 constants Where:
x(t) dependent variable (i or v) q = joint angles or the robotic manipulator
= applied torque at the joints
t independent variable D = Moment of inertia matrix
C = Coriolis/ centrifugal matrix
v(t) voltage or current sources G = gravity matrix
19 _________________________ 20 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Electrical Systems Mechanical Systems
• important state variables are the voltages and currents (v and i) • Translational variables :
• passive components such as resistance, capacitance and – position, x
dx
inductance are also taken into consideration – velocity, x
– force, f
dt
• Mass: f Mx x
M f
21 _________________________ 22 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Mechanical Systems Mechanical Systems
f Mx kx Bx
B
x
• Spring (linear): f kx
x f
k
M
23 _________________________ 24 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Mechanical Systems Mechanical Systems
• Rotational Variables :
– angle,
– angular velocity, d/dt
– torque, T
• Inertia (rotational) :
25 _________________________ 26 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Mechanical Systems Mechanical Systems
27 _________________________ 28 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electrical Systems DE Representation of Electrical Systems
Find the differential equations that describe the mesh currents • First, write the mesh equations for the circuit.
i1 and i2 in the network shown.
Mesh 1:
8 1H 8i1 16
t
(i i2 )dt v(t )
1
+
1
v(t) i1 F i2 10 Mesh 2:
- 16
di2 t
10i2 16 (i2 i1 )dt 0
dt
29 _________________________ 30 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electrical Systems DE Representation of Electrical Systems
d
• Then, differentiate the mesh equations to eliminate the • Using operators, let D = . Substitution gives
dt
integrals.
(8D 16) i1 16i2 Dv(t ) (1)
31 _________________________ 32 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electrical Systems DE Representation of Electrical Systems
33 _________________________ 34 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electrical Systems DE Representation of Electrical Systems
4
d 2i1 di1 d 2 v(t ) dv(t )
2
12 36 i1 0.125 1.25 2v(t ) +
dt dt dt 2 dt
+ 6 vx +
v(t) - vC 1
iL F
- 1H - 4
35 _________________________ 36 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electrical Systems DE Representation of Electrical Systems
diL We get:
vC 6iL (1)
dt
dvC di d 2iL
6 L (3)
KCL for C: dt dt dt 2
dvC
25 cos 7.5t vC 1 dvC 25 cos 7.5t vC 4iL (4)
iL (2) dt
4 4 dt
37 _________________________ 38 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electrical Systems DE Representation of Electrical Systems
Substitute equations (1) and (3) into (4) Substitute into equation (5).
di di d 2i L
25 cos 7.5t 6iL L 4iL 6 L
dt dt dt 2 We get:
or 1 d 2vX 7 dv X 10
d 2i L di L 25 cos 7.5t vX
25 cos 7.5t 7 10i L (5) 6 dt 2 6 dt 6
dt 2 dt
Thus,
From the figure, we get v X 6iL
d 2vX dv X
Differentiate twice 7 10v X 150 cos 7.5t
2 2 dt 2 dt
dv X diL d vX d iL
6 6
dt dt dt 2 dt 2
39 _________________________ 40 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Mechanical Systems DE Representation of Mechanical Systems
• Find the mathematical model of the given mechanical system • The equation of motion of the mass mc, derived from the free
below, a precision slide. body diagram of the system as shown below, is given below.
Sliding
bd x p
Carriage Friction mc xp
Mc
bs kd x p
kd
bs x p
41 _________________________ 42 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electromechanical
DE Representation of Mechanical Systems Systems
• DC Servomotor
Notes:
– Small rotor inertia
• It is important to remember Newton’s 2nd Law of motion, i.e. F =
– High torque-to-inertia ratio
ma and Euler-Lagrange equations.
• Most mechanical systems are non-linear in nature, so linearization
must be done at a given operating point.
– Examples of non-linear systems are ball and beam, inverted
pendulum
• Not the main focus of this course, just an overview.
43 _________________________ 44 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electromechanical DE Representation of Electromechanical
Systems Systems
1 ea Ra ia La
dia
eb KVL
dt 3 Tm k i ia motor torque
d
2 eb k b back - EMF 4 Tm TL J
d 2
B
d
sum of torques
dt
dt 2 dt
where
where
Ra armature resi stance
Tm motor torque
La armature i nductance
TL l oad torque
ia armature current
k i torque constant
k b motor constant
J i nerti alconstant
shaft angul arposi ti on
B fri cti onconstant
45 _________________________ 46 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electromechanical DE Representation of Electromechanical
Systems Systems
47 _________________________ 48 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electromechanical DE Representation of Electromechanical
Systems Systems
Substitute 6 to 5
ea Ra 1 JD 2 BD TL
ea D 3 JL a D 2 JR a BLa DBR a DLa Ra
1 ki
D D TL
kb
La D
1
JD 2
BD T
L
k b kb ki kb ki
i
k
k b k i D D 3 JL a D 2 JR a BLa DBR a
e R
D a a JD 2 BD TL
kb kb ki kb ki
La
JD 3 BD 2 DTL
ea DLa Ra
TL
kb ki kb kb ki
D
e a Ra
kb kb ki
L
JD 2 BD a JD 3 BD 2
k i ea
kb ki
DLa Ra
k b k i D D 3 JL a D 2 JR a BLa DBR a
TL
kb ki
TL DLa Ra
ea JR a D 2 BRa D JL a D 3 BLa D 2 k b k i D D 3 JL a D 2 JR a BLa DBR a
D
k b kb ki
DLa Ra
TL
kb ki
49 _________________________ 50 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
DE Representation of Electromechanical
Systems Laplace Transforms
51 _________________________ 52 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Laplace Transforms Laplace Transforms
Some important properties related to differential equations: General procedures when using Laplace Transforms in circuit
applications:
1) Lkf t kF s – Transform the circuit from the time domain to the complex
2) L f1 t f 2 t F1 s F2 s frequency domain (s domain).
– Solve the circuit using any circuit analysis technique with which
dn
3) L n f t s n F s s n 1 f 0 you are familiar.
dt – Take the inverse transform of the solution to obtain the time
sf n2
0 f n 1
0 domain solution
t F s
4) L f d
0 s
53 _________________________ 54 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Circuit Transformation – Resistor Circuit Transformation – Capacitor
dvt
i t C
dt
vt Ri t
I s C sV s v 0 sCV s Cv 0
v0
V s RI s V s I s
1
sC s
55 _________________________ 56 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Circuit Transformation – Inductor Initial Conditions = 0
di t
vt L
dt
V s L sI s i 0 sLI s Li 0
I s
1
V s
i 0
sL s
57 _________________________ 58 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Impedances Example 1
Capacitor: Z s
1
sC
59 _________________________ 60 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Example 1 Example 1
Substituting
1 1 2
3
3
s 5 s 3 1 I 2 I 2
s 3 s s
61 _________________________ 62 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Example 2 Example 2
63 _________________________ 64 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Example 2 Board Work 1
Multiplying through by 10, we get: The network shown is initially unenergized. At t=0, the switch is
closed. Find the differential equation that describes the voltage
10 vC(t) for t 0. Let v(t)=10 cos 4t.
Vo
s 1 V
2 0. 5 o o
V
10 10 10
s
25 Vo s 2
10
s 1
25s 35
Vo 2
s 3s 2
65 _________________________ 66 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Board Work 2 Board Work 3
67 _________________________ 68 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
Board Work 4 Board Work 5
The potential of employing two or more helicopters for transporting payloads that are
too heavy for a single helicopter is a well-addressed issue in the civil and military
The network shown is initially unenergized. At t=0, the switch is
rotorcraft design arenas. Overall requirements can be satisfied more efficiently with a closed. Find the differential equation that describes the voltage
smaller aircraft using multi-lift for infrequent peak demands. Hence the principal vC(t) for t 0. Let v(t)=10 cos 4t. Use Laplace Transform to
motivation for using multi-lift can be attributed to the promise of obtaining increased
productivity without having to manufacture larger and more expensive helicopters. A
determine vC(t) for t 0.
specific case of a multi-lift arrangement where two helicopters jointly transport
payloads has been name twin lift.
69 _________________________ 70 ________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________
____________________________ ___________________________