Académique Documents
Professionnel Documents
Culture Documents
THEORY
INTRODUCTION
Objectives
Signal analysis
Concept of signal
System analysis
Concept of ‘system’
Dynamical system
Abstract system definition
OGATA, K., “Modern Control Engineering”, 5th edition. Ed. Prentice-Hall, 2010.
NISE, N. S., “Control Systems Engineering”, 6th edition. Ed. Wiley, 2011.
a toilet flush, a control mechanism that ensures that the toilet gets
flushed, and that the toilet cistern is automatically refilled to a set level.
Similar mechanisms are used in irrigation canals, and wherever a fluid
level needs to be regulated.
a cruise controller, a device that more or less keeps the car traveling at
a constant speed as set by the driver, despite variations in the
inclination of the road. More advanced, but in a similar vein, is the auto
pilot used in aircraft to fly from way point to way point and the auto
rudder used in ships to maintain a given heading.
Examples
In nature, feedback is at the core of
t
It seems the more representation
As a function of frequency
Example : Sound
intensity
Concept of ‘model’
Mathematical model
Differential equations
Example.
d 2 x dx dy
3 2 + +2=0
dt dt dt
Y2 (s)
Findthetransferfunction U 2 (s) ofsystemshowninthefigure,whereu1 y
u2areinputforcesandtheoutputsy1andy2arepositions.
k1 u1
m1 k2
y1
b1
u2
y2
m2
Example
Example:
Mechanical accelerometer
Rotational Systems
Rotational Systems: Example
Rotational Systems: Example
Example
Rotational Systems: Pendulum
Rotational Systems:
Inverted Pendulum
Rotational Systems: Longitudinal
dynamics of an aircraft
Rotational Systems: Satellite control.
Applying Kirchhoff's First Law to the circuit containing Rc and Cs, we have
Differentiating these equations with respect to time, and subsequently reducing the two
equations to one by eliminating QA , we obtain the equation relating Pao to Q:
Linear model of muscle mechanics.
First, consider the mechanical constraints placed on the model components as a result of the
parallel configuration.
If spring Cp is stretched by an incremental length x, the entire series combination of R
and Cs will also extend by the same length. Furthermore, the sum of the force transmitted
through the two branches of the parallel configuration must equal F. However, although the
sum of the extensions of Cs and R will have to equal x, the individual length contributions
from Cs and R need not be equal.
Thus, if we assume Cs is stretched a length x I' then the extension in the parallel
combination of R and Fo will be x –x1 . The velocity with which the dashpot represented by
R is extending is obtained by differentiating X- XI with respect to time, i.e., d(x –x1 )/dt.
Using the principle that the force transmitted through Cs must be equal to the force
transmitted through the parallel combination of Fo and R, we obtain the following equation:
Then, using the second principle, i.e., that the total force from both limbs of the parallel
combination must sum to F, we have
Eliminating x1 from these equations yields the following differential equation relating F to x
and Fo:
Linearization
Linearization
Concept of linearization
Linearization
du (t ) d 2 u (t ) dy (t ) d 2 y (t )
a0u (t ) + a1 + a2 2
+ ... = b0 y (t ) + b1 + b2 2
+ ...
dt dt dt dt
Transfer Function
u(t) y(t)
U(s) Y(s)
u(t) y(t)
G(s)
U(s) Y(s)
Y ( s ) = G ( s )U ( s ) ⇒ y ( t ) = g ( t )∗ u ( t )
Transfer Function
u(t) y(t)
G(s)
U(s) Y(s)
a 0 U ( s ) + a 1 sU ( s ) + a 2 s 2 U ( s )... = b 0 Y ( s ) + b 1 sY ( s ) + b 2 s 2 Y ( s )...
( a 0 + a 1 s + a 2 s 2 ...) U ( s ) = ( b 0 + b1 s + b 2 s 2 ...) Y ( s )
Y (s) a 0 + a 1 s + a 2 s 2 ...
= = G (s)
U (s) b 0 + b 1 s + b 2 s ...
2
Example: Impulse response
u(t) y(t)
G(s)
U(s) Y(s)
u( t ) = δ ( t ) ⇒ U ( s ) = 1
Y ( s ) = G ( s )U ( s ) = G ( s )
y(t ) = g(t )
Transfer Function
y (t ) = g (t ) ∗ u (t )
Block Diagram
The block diagram de bloques is a way to represent
gráfically the relations in between the variables of a
system
Block Diagrams
Example
Y(s)=A(s)X(s)+B(s)U(s)
X(s)=C(s)Z(s)-D(s)Y(s)
Z(s)=E(s)U(s)
+
B(s)
U(s) + Y(s)
A(s)
X(s)
Z(s)
E(s) C(s) D(s)
+ -
Level control of a tank
Example
Systems study
Operations with blocks
Operations with blocks
EXAMPLE: Simplify
EXAMPLE: Simplify
How to obtain transfer functions
Working on equations
Mason method
How to obtain transfer
functions: Mason’s Rule
If you don’t care to simplify a block diagram using block diagram
manipulation, you can use Mason’s Rule.
“Node” = Common input to several blocks, or output of summing
junction.
Mason’s formula
Y(s) ∑M k ∆k
= k
U(s) ∆
∆ = 1 − ∑ Bi + ∑ Bi Bj + ...
Operations with flow diagrams
Equivalence between block
diagrams and flow diagrams
Key Concept: Analogous Quantities
Mechanical
Electrical Mechanical Analog I
Analog II
Quantity (Force-Current)
(Force Voltage)
Voltage, e Velocity, v Force, f
Current, i Force, f Velocity, v
Lubricity, 1/B
Resistance, R Friction, B
(Inverse friction)
Compliance, 1/K
Capacitance, C Mass, M
(Inverse spring constant)
Compliance, 1/K
Inductance, L Mass, M
(Inverse spring constant)
• Control systems have been utilized in the biomedical field to create implanted
automatic drug-delivery systems to patients.
• Automatic systems can be used to regulate blood pressure, blood sugar level, and heart
rate.
• A common application of control engineering is in the field of open-loop system drug
delivery, in which mathematical models of the dose-effect relationship of the drugs are
used. A drug-delivery system implanted in the body uses an open-loop system, since
miniaturized glucose sensors are not yet available.
• The best solutions rely on individually programmable, pocket-sized insulin pumps that
can deliver insulin according to a preset time history.
• More complicated systems will use closed-loop control for the measured blood glucose
levels.
• Control Goal
Design a system to regulate the blood sugar concentration of a diabetic by controlled
dispensing of insulin.
• Variable to Be Controlled
Blood glucose concentration
• Control Design Specifications
Provide a blood glucose level for the diabetic that closely approximates (tracks) the
glucose level of a healthy person.
Simple Feedback System Example
Simple Feedback System Example
Simple Feedback System Example
Simple Feedback System Example
Simple Feedback System
Simple Feedback System
Simple Feedback System
Simple Feedback System
Simple Feedback System
Simple Feedback System
Simple Feedback System
Water clock
• Automatic control of water level
using a float level was used in
the Middle East for a water
clock.
−1
Y (s) = G(s)U (s) ⇒ y(t) = g(t ) ∗ u(t) = L (G(s)U (s))
Temporal Analysis Concept y(t) = yrt (t) + yrp (t)
lim yrt (t) = 0
t →∞
1 .8 0 .6
1 .6
0 .5
1 .4
1 .2 0 .4
Amplitude
Amplitude
1
0 .3
0 .8
0 .6 0 .2
0 .4
0 .1
0 .2
0 0
0 0 .1 0 .2 0 .3 0 .4 0 .5 0 .6 0 .7 0 .8 0 .9 1 0 2 4 6 8 10 12
Continuous
T im e ( s e c ) T im e ( s e c )
System
u(t) y(t)
Normalized input signals
Impulse u (t ) = δ (t ) ⇒ U (s) = 1
0, t<0 1
Step u (t ) = u 0 (t ) = ⇒ U (s) =
1, t>0 s
Ramp 1
u (t ) = tu 0 (t ) ⇒ U (s) = 2
s
Step Response of continuous time
system
u(t) y(t)
G(s)
U(s) Y(s)
G (s)
Y (s ) = U (s )G (s ) =
s
G (s) = t
∫
−1
y(t) = L g (τ ) d τ
s 0
Step Response of continuous time
systems
0 .9
12
10
σ > 0 0 .8
0 .7
e x p (-a * t )
8
0 .6
σ < 0
0 .5
6
0 .4
0 .3
4
0 .2
2
0 .1
0 0
0 0 .5 1 1.5 2 2.5 3 3 .5 4 4 .5 5 0 0.5 1 1.5 2 2.5 3 3 .5 4 4 .5 5
5 0.6
0.4
0 0.2
0
-5
-0 . 2
-0 . 4
-1 0
-0 . 6
-0 . 8
-1 5 0 0.5 1 1.5 2 2.5 3 3 .5 4 4 .5 5
0 0 .5 1 1.5 2 2.5 3 3 .5 4 4 .5 5
Complex Exponential
t=0:.1:100;
plot3(t,100*real(exp((-.02+.2*j)*t)),100*imag(exp((-.02+.2*j)*t)))
Relation between temporal response and poles and
zeroes in continuous time systems
Stability
Poles in negative semiplane
y rp ( t ) = lim y ( t ) = A
t→ ∞
G (s)
lim y ( t ) = lim s = G (0)
t→ ∞ s→ 0 s
Relation between temporal response and poles and
zeroes in continuous time systems
Speed
Poles Distances from imaginary axes
e σ it , e α it
e −200 t (t = 1) = e −200
e −2 t (t = 1 0 0 ) = e −200
Oscillations
Imaginary Poles
E i s e n ( β it + ϕ i )
Example: Spring Mass System
Example: Spring Mass System
Example: Spring Mass System
Example: Spring Mass System
Example: Spring Mass System
Longitudinal Motion Equations of an Aircraft
Longitudinal Modes of an Aircraft
Time Response
Time Response
Evaluating Response Using Poles
PROBLEM: Given the system of the figure, write the output, c(t), in
general terms. Specify the forced and natural parts of the solution.
Evaluating Response Using Poles
First order systems
K
G(s) =
1 + Ts
First order systems:
Impulse response
(t) y(t)
G(s)
1 Y(s)
−1 K k − t
y(t ) = g(t) = L = e T
t ≥ 0
1 + Ts T
First order systems:
Step response
u0(t) y(t)
G(s)
1/s Y(s)
G (s)
−1 −1 k −1 1 T
y(t ) = L = L = kL − =
s s (1 + T s ) s 1 + Ts
− tT
= k (1 − e ) t ≥ 0
Time Response
Time Response
0.632*0.72
τ
First order systems:
Step response
k
y ′(0 ) =
T
Stabilization time
π
ts ≈
σ
First order systems:
Ramp response
tu0(t) y(t)
G(s)
1/s2 Y(s)
−1 G ( s ) −1 k −1
T 1 T 2
y(t ) = L 2 = L 2 = kL − + 2 + =
s s (1 + Ts ) s s 1 + Ts
− tT − tT
= k ( − T + t + Te ) = k ( t − T ) + kTe t≥0
Second order systems
kω n 2
G(s) =
s 2 + 2ζω n s + ω n 2
k = Static gain.
ωn = undamped natural frequency
ζ = damping ratio
σ =ζωn = attenuation.
ωd = ωn 1 − ζ 2 = damped frequency.
ϑ = cos −1 (ζ )
Time Response
k = Static gain.
ω n = undamped natural frequency
ζ = damping ratio
σ = ζω n = attenuation.
ω d = ω n 1 − ζ 2 = damped frequency.
ϑ = cos −1 (ζ )
Second order systems
Poles
s 2 + 2ζ ω n s + ω n 2 = 0
s = −ζ ω n ± ζ 2ω n 2 − ω n2 = − ζ ω n ± ω n ζ 2 − 1 =
− ζ ω n ± jω n 1 − ζ 2
= − σ ± jω d
Time Response
Second order systems classification
Overdampened (ζ > 1)
s
s = −ζ ω n ± ω n ζ 2
−1
⌠
Critically dampened (ζ = 1)
⌠
s s = −ζ ω n
Second order systems classification
Oscillator (ζ = 0)
ζ = cosθ s = ± jω n
ωn s
Unstable (ζ < 0)
s = − ζ ω n ± jω n 1−ζ 2
ζ = 2.5
ζ = 1.5
2
G (s) =
Pendiente en el origen: s2 + 3s + 2
u0(t) y(t) s
G(s)
⌠
1/s Y(s)
y ( t ) = k (1 − e − σ t (1 + σ t ) ) t≥0
ζ =1
ζ = 1.5
2
G (s) =
s2 + 2s + 1
u0(t) y(t) ωn d s
G(s)
1/s Y(s)
⌠
e −σt
y ( t ) = k 1 − s e n ( ω d t + ϑ ) t ≥ 0
1−ζ 2
ζ = 0.2
ζ = 0.5
Oscillating second order systems
Step Response
u0(t) y(t)
G(s)
1/s Y(s) n
y ( t ) = k (1 − co s(ω n t )) t≥0
2
G (s) =
s2 + 1
Stabilization time:
π
ts ≈ , (with σ =ζω n )
σ
Rise time:
π −ϑ
tr ≈ , (with ϑ = cos −1 (ζ ))
ωd
Peak time: tp =
π
ωd
ζπ π
− −
Overshoot: M p = e 1−ζ 2
= e tg θ
Simplified Longitudinal Modes of
Motion of an Aircraft
Simplified Longitudinal Modes of
Motion of an Aircraft
Longitudinal Motion Equations of an Aircraft
Simplified Lateral Modes of Motion of an
Aircraft
Simplified Lateral Modes of Motion of an
Aircraft
Time Response
Design Synthesis
EXAMPLE: Converting specs. to s-plane
Equivalent reduced order system
Dominant
A
s
s
B A<<B
Equivalent reduced order system
Equivalent reduced order system
s s
A
B A<<B
1
T(s) =
(s+1+ 2.8 j )(s+1− 2.8 j )
Step response of a nonminimum-phase system
Algebraic methods for the
stability analysis
• Continuous time
– Routh-Hurwitz method
Routh table
Routh-Hurwitz Method
Routh-Hurwitz Method
Routh-Hurwitz Method
Routh-Hurwitz Method
Routh-Hurwitz Method
The system will be stable if all the coefficient of the first column
have the same sign.
Routh-Hurwitz Method
Example
In the first column we have two change of sign. For that we have
two roots in the rightside semiplane : the system is unstable
Special Cases
Special Cases
Unstable system
Special Cases
Special Cases