Professional Documents
Culture Documents
Introduction To Control Engineering: Rafael E. Vásquez, PH.D
Introduction To Control Engineering: Rafael E. Vásquez, PH.D
Introduction To Control Engineering: Rafael E. Vásquez, PH.D
1/34
Introduction
Dynamic Systems Modeling
Differential Equations
Control System
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
2/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
3/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Automation
1. The automatic operation or control of equipment, a process,
or a system. 2. The techniques and equipment used to achieve
automatic operation or control.
www.thefreedictionary.com
4/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Automation
1. The automatic operation or control of equipment, a process,
or a system. 2. The techniques and equipment used to achieve
automatic operation or control.
www.thefreedictionary.com
4/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Automation
1. The automatic operation or control of equipment, a process,
or a system. 2. The techniques and equipment used to achieve
automatic operation or control.
www.thefreedictionary.com
4/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
5/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Power generation.
Manufacturing.
Plant operation.
Vehicle control.
Biological
systems.
6/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Power generation.
Manufacturing.
Plant operation.
Vehicle control.
Biological
systems.
6/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Power generation.
Manufacturing.
Plant operation.
Vehicle control.
Biological
systems.
Automated assembly requires control.
Source:
http://www.sta-gmbh.ch/artikel-en.php?catid=1104
6/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Power generation.
Manufacturing.
Plant operation.
Vehicle control.
Biological
systems.
Aircraft autopilots require control.
Source:
http://www.boeing.com/commercial/787family/
6/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Power generation.
Manufacturing.
Plant operation.
Vehicle control.
Biological
systems.
The pancreas controls blood sugar levels.
Source: http://www.umm.edu/imagepages/19264.htm
6/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
7/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Control Systems
8/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Control Systems
8/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Control Systems
8/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Open–loop control
9/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Open–loop control
Source: http://morningcamp.blogspot.com/2008/04/introduction-to-control-systems.html
9/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
10/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Source: http://morningcamp.blogspot.com/2008/04/introduction-to-control-systems.html
10/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Control Objectives
1 Safety
2 Environmental protection
3 Equipment protection
4 Smooth operation
5 Product quality
6 Profit
7 Monitoring and diagnosis
11/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Control Objectives
1 Safety
2 Environmental protection
3 Equipment protection
4 Smooth operation
5 Product quality
6 Profit
7 Monitoring and diagnosis
11/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Control Objectives
1 Safety
2 Environmental protection
3 Equipment protection
4 Smooth operation
5 Product quality
6 Profit
7 Monitoring and diagnosis
11/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Control Objectives
1 Safety
2 Environmental protection
3 Equipment protection
4 Smooth operation
5 Product quality
6 Profit
7 Monitoring and diagnosis
11/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Control Objectives
1 Safety
2 Environmental protection
3 Equipment protection
4 Smooth operation
5 Product quality
6 Profit
7 Monitoring and diagnosis
11/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Control Objectives
1 Safety
2 Environmental protection
3 Equipment protection
4 Smooth operation
5 Product quality
6 Profit
7 Monitoring and diagnosis
11/34
Introduction
Dynamic Systems Modeling
Motivation
Differential Equations
Control Systems
Control System
Cruise Control Example
Control Objectives
1 Safety
2 Environmental protection
3 Equipment protection
4 Smooth operation
5 Product quality
6 Profit
7 Monitoring and diagnosis
11/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
12/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Conservation Laws
Conservation of mass
Conservation of energy
Conservation of linear momentum
Conservation of angular momentum
Conservation of electric charge
13/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Conservation Laws
Conservation of mass
Conservation of energy
Conservation of linear momentum
Conservation of angular momentum
Conservation of electric charge
13/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Conservation Laws
Conservation of mass
Conservation of energy
Conservation of linear momentum
Conservation of angular momentum
Conservation of electric charge
13/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Conservation Laws
Conservation of mass
Conservation of energy
Conservation of linear momentum
Conservation of angular momentum
Conservation of electric charge
13/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Conservation Laws
Conservation of mass
Conservation of energy
Conservation of linear momentum
Conservation of angular momentum
Conservation of electric charge
13/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
14/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Definitions
15/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
16/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Mass–Spring–Damper System
Conservation of linear
momentum
X dP dẋ
F= =m = ma
dt dt
Source: http://control.me.cmu.edu/CTMS. Considering viscous friction
The input is the force
F − kx − bẋ = mẍ
F (t) and the output is
chosen as the mass Reorganizing, we get
position x(t).
mẍ + bẋ + kx = F (t)
17/34
Introduction
Dynamic Systems Modeling Conservation Laws
Differential Equations Definitions
Control System Examples
Cruise Control Example
Source: http://web.mit.edu/2.151/www/.
Conservation of electric
Source: http://web.mit.edu/2.151/www/.
charge
Conservation of mass X
Vi = 0
dm
ṁin − ṁout =
dt
dVc (t) 1
+ Vc (t) = V (t)
dQo (t) 1 dt RC
+ Qo (t) = Qi (t)
dt ARf
18/34
Introduction
Linear Time Invariant Systems
Dynamic Systems Modeling
Transfer Functions
Differential Equations
State–Space Models
Control System
Characteristic Equation
Cruise Control Example
19/34
Introduction
Linear Time Invariant Systems
Dynamic Systems Modeling
Transfer Functions
Differential Equations
State–Space Models
Control System
Characteristic Equation
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
20/34
Introduction
Linear Time Invariant Systems
Dynamic Systems Modeling
Transfer Functions
Differential Equations
State–Space Models
Control System
Characteristic Equation
Cruise Control Example
dn y dn−1 y dm u dm−1 u
+ a n−1 + · · · + a 0 y = + b m−1 + · · · + b0 u,
dtn dtn−1 dtm dtm−1
where: y(t) is the output and u(t) is the input.
ODE representation
There are several techniques to analyze the differential
equation. The most commonly used in classical and modern
control are:
Transfer functions
State–space models
21/34
Introduction
Linear Time Invariant Systems
Dynamic Systems Modeling
Transfer Functions
Differential Equations
State–Space Models
Control System
Characteristic Equation
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
22/34
Introduction
Linear Time Invariant Systems
Dynamic Systems Modeling
Transfer Functions
Differential Equations
State–Space Models
Control System
Characteristic Equation
Cruise Control Example
Transfer Functions
23/34
Introduction
Linear Time Invariant Systems
Dynamic Systems Modeling
Transfer Functions
Differential Equations
State–Space Models
Control System
Characteristic Equation
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
24/34
Introduction
Linear Time Invariant Systems
Dynamic Systems Modeling
Transfer Functions
Differential Equations
State–Space Models
Control System
Characteristic Equation
Cruise Control Example
State–Space Models
Any nth –order system can be represented by n first–order
differential equations provided a definition of n state variables
T
which form the state vector x = x1 x2 · · · xn .
ẋ1 a11 a12 ··· a1n x1
b1
ẋ1 a21 a22 a2n x2
.. u(t).
= +
.. .. .. .. .. .
. . . . .
bn
ẋn an1 an2 ··· ann xn
This equation is called the State Differential Equation. For a
SISO system, the state–space model:
ẋ = Ax + Bu.
y = Cx + Du.
25/34
Introduction
Linear Time Invariant Systems
Dynamic Systems Modeling
Transfer Functions
Differential Equations
State–Space Models
Control System
Characteristic Equation
Cruise Control Example
Mass–Spring–Damper System
X(s) 1
= ẋ1 0 1 x1 0
2 = k b + 1 F (t)
F (s) ms + bs + k ẋ2 −m −m x2 m
x1
y= 1 0
x2
26/34
Introduction
Linear Time Invariant Systems
Dynamic Systems Modeling
Transfer Functions
Differential Equations
State–Space Models
Control System
Characteristic Equation
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
27/34
Introduction
Linear Time Invariant Systems
Dynamic Systems Modeling
Transfer Functions
Differential Equations
State–Space Models
Control System
Characteristic Equation
Cruise Control Example
Characteristic Equation
The characteristic equation determines the behavior of the
dynamic system, depending on where the roots are located in
the complex plane.
sn + an−1 sn−1 + · · · + a0 = 0
s2 + 2ζωn s + ωn2 = 0
1.5
ζ = 0.25
ζ = 0.5
ζ > 1, overdamped
y(t)
ζ = 1, critically damped 0.5 ζ =1
28/34
Introduction
Dynamic Systems Modeling
Differential Equations Feedback PID Control
Control System
Cruise Control Example
Outline
1 Introduction
Motivation
Control Systems
2 Dynamic Systems Modeling
Conservation Laws
Definitions
Examples
3 Differential Equations
Linear Time Invariant Systems
Transfer Functions
State–Space Models
Characteristic Equation
4 Control System
Feedback PID Control
5 Cruise Control Example
29/34
Introduction
Dynamic Systems Modeling
Differential Equations Feedback PID Control
Control System
Cruise Control Example
30/34
Introduction
Dynamic Systems Modeling
Differential Equations
Control System
Cruise Control Example
V (s) 1
G(s) = =
U (s) ms + b
State–space model
Conservation of linear
momentum b 1
ẋ = v̇ = − [v] + [u] .
m m
mv̇(t) + bv(t) = u(t)
y = [1] [v] .
31/34
Introduction
Dynamic Systems Modeling
Differential Equations
Control System
Cruise Control Example
PI Control
Z
U (s) Kp s + Ki
u(t) = Kp e(t)+Ki e(t)dt Gc (s) = =
E(s) s
Closed–loop transfer function
This transfer functions relates the actual velocity v(t) and the
desired velocity vd (t) (set–point)
V (s) Gc (s)G(s) Kp s + Ki
= =
Vd (s) 1 + Gc (s)G(s) ms2 + (b + Kp )s + Ki
32/34
Introduction
Dynamic Systems Modeling
Differential Equations
Control System
Cruise Control Example
Car dynamics:
33/34
Introduction
Dynamic Systems Modeling
Differential Equations
Control System
Cruise Control Example
Simulation
b = 50 N s/m 10
8
Control parameters
v(t) (m/s)
6
vd = 10 m/s
4
Kp = 800
2
Ki = 40
0
0 2 4 6
Time (sec)
34/34