Documente Academic
Documente Profesional
Documente Cultură
Course goals: To learn the fundamentals of modeling, analysis and control of feedback
control systems.
1
What is a control system?
u (t ) P( s ) y (t )
Signal: something that conveys information, in this course, signal is a physical variable
that varies with time (function of time).
Control: manipulate certain signals such that the interested signal in a system is
maintained or altered in accordance with a desired manner.
2
Applications
3
History of Control
Water clock
float regulator
keep constant level
yield a constant
flow of water
Tank 1
Tank 2
4
Watt’s governor (~ 1780)
5
Airy 1840, British Astronomer
Developed a feedback device for pointing a telescope
A speed control system which turned the telescope automatically to compensate
for the earth’s rotation.
Discovered that improper design of the feedback control loop, wild oscillations
were introduced into the system.
The first to discuss the instability of closed-loop system.
The first to use differential equations in their analysis.
6
Maxwell (1868)
Gave a differential equation model of Watt’s fly ball governor.
Linearized the differential equations of motion to find the characteristic equation
of the system.
Studied the effect of the system parameters on stability.
System is stable if roots of the characteristic equation have negative real parts.
Posed question of stability of a high-order ( > 3) differential equation.
Answer given by Routh (1877). We will study Routh’s stability criterion in this class.
7
Frequency-Domain Analysis
The mathematical analysis of control systems had been carried out using differential
equations in time domain at Bell Telephone Lab during 1920’s and 1930’s.
Frequency domain approaches developed by
Laplace (1749 - 1827)
Fourier (1768 – 1830)
Cauchy (1789 – 1857)
Black (1927)
Invented the electronic feedback amplifier.
Demonstrated the usefulness of negative feedback.
Nyquist (1932)
Derived his Nyquist stability criterion based on the polar plot of a complex function.
8
Bode (1940)
Magnitude and phase frequency response plots of a complex function.
Investigated closed-loop stability using the notions of gain and phase margin.
Evans (1948)
Developed the root locus technique
Showing dependence of closed-loop system roots on a design parameter.
This is a quick historical account of “classical control”, the object of this class.
controlled output
referenced input
input negative feedback
(desired output yd ) (a tradition)
10
Practical situation
Open loop
d
u ua up y
r Controller actuator Plant sensor
Closed loop
d
+ e u ua up y
r Controller actuator Plant
_
sensor
11
Usually,
+ e u ua up y
r Controller actuator Plant sensor
_
Plant
12
Plant (or processor): the system to be controlled
Aircraft, missiles, CD player, …
Actuators: input devices (transducers) that convert control signals into plant variables, so
as to act on the plant.
Motors, solenoids, power amplifiers, heating elements, pump, …
Sensors: output devices (tranducers) that measure the plant outputs.
Position sensor (LVDT, RVDT, …), tachometer (revolution speed), speedometer,
thermometer, strain gauge, …
Controller (or control processor): process sensor signals to yield actuator signals.
Analog electronics, digital computers, human, …
Disturbance: signals that affect the system, but are beyond our control, usually unknown.
Fluctuations in operating condition, wind gusts, noise,…
13
Why feedback
Reduce effects of process disturbances
d d
+ e u y
r u y r K P
K P _
y Pu Pd PK (r y ) Pd
y Pu Pd PKr Pd PK P
r d
1 PK 1 PK
Choose K such that
No control on Choose K such that PK large in certain
PK = 1 (not always
the disturbance P
possible) frequency range, then y r , and
1 PK
then, y r if d 0
small
reject the disturbance
% change in T P 1 PK
1 1 PK
% change in P PK K
K 2
1 PK 1 PK 1 PK
2 2
T / T T P K P 1
P / P P T 1 PK 2 PK 1 PK
1 PK
If 1 PK 1 (usually true at certain frequency
range) closed-loop system is less sensitive to
the process variation.
15
Stabilize the unstable system
e y 2
r + u 1
y s 1
2 1
_ s 1
1
2 s 1
s 1
16
Controller structure
Proportional plus derivative plus derivative
On-off control
control (PID control):
t de
u u u u K P e K I edt K D
0 dt
e e e Phase lead/lag compensators
Internal model design
Many other controller structure
Proportional control (P control): - Modern control
u K P e , (u K Pe u0 ) - Robust control
Proportional plus integral control (PI - Nonlinear control
t
control): u K P e K I edt - Adaptive control
0 - Fuzzy control
Proportional plus derivative control - …
de
(PD control): u K P e K D
dt
17
Integral action
t
PI control: u (t ) K Pe( ) K I 0 e( )d
Assume that there is an equilibrium with constant e(t ) e0 , and constant u (t ) u0 ,
then e0 0 .
t
u K Pe K I e( )d K Pe0 K I e0t e0 0
0
integral action may eliminate the steady-state error.
Derivative action
de
eP e(t ) Td
e dt
predictive error
t t+Td
18
Basic steps in control engineering
1. Modeling /Identification
Translate engineering problem into Factors:
mathematical problem. Accuracy v.s. complexity
(2 modes? 10 modes?)
Mathematic description of the plant Ease of analysis
Physical law and assumptions Economic consideration (special
tool maybe needed to analyze a
Usually in differential equation form. complicated model)
Decide on model Model validation
linear model with parameters that are Validate model: how good the
nonlinear model
19
2. Analysis
How well does system (model) works
Stability
Performance: transient, steady state
Sensitivity to ambient conditions (disturbance).
Questions can be answered by the solution to the mathematic model or by
simulation.
20
3. Design (controller synthesis)
Based on the plant model and design specification.
Determine the control law (research)
Implement the control law (engineering)
Controller architecture
Hardware/software
4. Test performance of the closed-loop system
Implement the controller on the real system (not the model)
Performance validation
Design iterations are usually required.
21
This course, we will cover
Some modeling: electrical networks, mechanical systems elements, DC motors
Analysis
Only single-input-single-output, linear time-invariant systems (LTI).
Stability
Time domain analysis
Frequency domain analysis
Design
Root-locus
PID
22
Design example: water flow control
VC
VO
Water tank (plant)
Control objective:
Maintain y(t ) yd (t ) , whenever possible, by regulating the water supply via the
upstream control valve VC .
23
Open-loop control
yd VC y
Controller actuator Water tank
24
Closed-loop feedback control system
+ e u VC y
yd Controller actuator Water tank
_
sensor
Principle of operation
e yd y is evaluated continuously and used to adjust the control valve VC
e 0 , increase VC , e 0 decrease VC
for example, VC VC0 Ke(t )
mg
26
Mathematic model The closed-loop system
dv dv
m bv F mg sin Plant model: 0.02v u 10
dt dt
t
with reasonable parameters PI controller: u K P e K I e( )d
0
dv
0.02v u 10 e vr v
dt
where du de d 2v dv d
KP K I e 2 0.02 10
v : m/s dt dt dt dt dt
u : normalized throttle 0 u 1 dv dvr de de
v vr e , ( vr constant)
: slope (rad) dt dt dt dt
de d 2e de d
KP K I e 2 0.02 10
dt dt dt dt
d 2e de d
2 K P 0.02 K I e 10
dt dt dt
27
Dynamical system
d 2e de d
2
K P 0.02 K I e 10
dt dt dt
in steady state, and e are constant e 0 v vr
Questions?
how fast v vr ?
in what way v vr ?
d 2e de d
K P 0.02 K I e 10
dt 2 dt dt
influenced by the parameters K P and K I ?
28
Now, compare with the mass-spring-damper system
k
F
m
2
d x
b
dx
kx F
m
2 b
dt dt
x
We know the behavior of this equation quite well already. (check the lecture notes of
signals and systems)
Set F 0 , and convert into standard form
d 2x dx
2 2n n2 x 0 , : damping factor, n : undamped natural frequency
dt dt
The behavior of the equation depends on and n .
n gives the response speed.
gives the shape of the response.
29
For cruise control,
2n K P 0.02 , n2 K I
choose and n , ( K P and K I ) to see the response. (You are designing the controller
now) Do it.