2nd_order.pdf

M
MUSTLecturer à MUST
S. Boyd EE102
Lecture 4
Natural response of first and second order
systems
• first order systems
• second order systems
– real distinct roots
– real equal roots
– complex roots
– harmonic oscillator
– stability
– decay rate
– critical damping
– parallel & series RLC circuits
4–1
First order systems
ay0
+ by = 0 (with a 6= 0)
righthand side is zero:
• called autonomous system
• solution is called natural or unforced response
can be expressed as
Ty0
+ y = 0 or y0
+ ry = 0
where
• T = a/b is a time (units: seconds)
• r = b/a = 1/T is a rate (units: 1/sec)
Natural response of first and second order systems 4–2
Solution by Laplace transform
take Laplace transform of Ty0
+ y = 0 to get
T(sY (s) − y(0)
| {z }
L(y0)
) + Y (s) = 0
solve for Y (s) (algebra!)
Y (s) =
Ty(0)
sT + 1
=
y(0)
s + 1/T
and so y(t) = y(0)e−t/T
Natural response of first and second order systems 4–3
solution of Ty0
+ y = 0: y(t) = y(0)e−t/T
if T > 0, y decays exponentially
• T gives time to decay by e−1
≈ 0.37
• 0.693T gives time to decay by half (0.693 = log 2)
• 4.6T gives time to decay by 0.01 (4.6 = log 100)
if T < 0, y grows exponentially
• |T| gives time to grow by e ≈ 2.72;
• 0.693|T| gives time to double
• 4.6|T| gives time to grow by 100
Natural response of first and second order systems 4–4
Examples
simple RC circuit:
ag replacements
v
R C
circuit equation: RCv0
+v = 0
solution: v(t) = v(0)e−t/(RC)
population dynamics:
• y(t) is population of some bacteria at time t
• growth (or decay if negative) rate is y0
= by − dy where b is birth rate,
d is death rate
• y(t) = y(0)e(b−d)t
(grows if b > d; decays if b < d)
Natural response of first and second order systems 4–5
thermal system:
• y(t) is temperature of a body (above ambient) at t
• heat loss proportional to temp (above ambient): ay
• heat in body is cy, where c is thermal capacity, so cy0
= −ay
• y(t) = y(0)e−at/c
; c/a is thermal time constant
Natural response of first and second order systems 4–6
Second order systems
ay00
+ by0
+ cy = 0
assume a > 0 (otherwise multiply equation by −1)
solution by Laplace transform:
a(s2
Y (s) − sy(0) − y0
(0)
| {z }
L(y00)
) + b(sY (s) − y(0)
| {z }
L(y0)
) + cY (s) = 0
solve for Y (just algebra!)
Y (s) =
asy(0) + ay0
(0) + by(0)
as2 + bs + c
=
αs + β
as2 + bs + c
where α = ay(0) and β = ay0
(0) + by(0)
Natural response of first and second order systems 4–7
so solution of ay00
+ by0
+ cy = 0 is
y(t) = L−1
µ
αs + β
as2 + bs + c
¶
• χ(s) = as2
+ bs + c is called characteristic polynomial of the system
• form of y = L−1
(Y ) depends on roots of characteristic polynomial χ
• coefficients of numerator αs + β come from initial conditions
Natural response of first and second order systems 4–8
Roots of χ
(two) roots of characteristic polynomial χ are
λ1,2 =
−b ±
√
b2 − 4ac
2a
i.e., we have as2
+ bs + c = a(s − λ1)(s − λ2)
three cases:
• roots are real and distinct: b2
> 4ac
λ1 =
−b +
√
b2 − 4ac
2a
, λ2 =
−b −
√
b2 − 4ac
2a
• roots are real and equal: b2
= 4ac
λ1 = λ2 = −b/(2a)
Natural response of first and second order systems 4–9
• roots are complex (and conjugates): b2
< 4ac
λ1 = σ + jω, λ2 = σ − jω,
where σ = −b/(2a) and
ω =
√
4ac − b2
2a
=
p
(c/a) − (b/2a)2
Natural response of first and second order systems 4–10
Real distinct roots (b2
> 4ac)
χ(s) = a(s − λ1)(s − λ2) (λ1, λ2 real)
from page 4-6,
Y (s) =
αs + β
a(s − λ1)(s − λ2)
where α, β depend on initial conditions
express Y as
Y (s) =
r1
s − λ1
+
r2
s − λ2
where r1 and r2 are found from
r1 + r2 = α/a, −λ2r1 − λ1r2 = β/a
which yields
r1 =
λ1α + β
√
b2 − 4ac
, r2 =
−λ2α − β
√
b2 − 4ac
Natural response of first and second order systems 4–11
now we can find the inverse Laplace tranform . . .
y(t) = r1eλ1t
+ r2eλ2t
a sum of two (real) exponentials
• coefficients of exponentials, i.e., λ1, λ2, depend only on a, b, c
• associated time constants T1 = 1/|λ1|, T2 = 1/|λ2|
• r1, r2 depend (linearly) on the initial conditions y(0), y0
(0)
• signs of λ1, λ2 determine whether solution grows or decays as t → ∞
• magnitudes of λ1, λ2 determine growth rate (if positive) or decay rate
(if negative)
Natural response of first and second order systems 4–12
Example: second-order RC circuit
PSfrag replacements
t = 0
y
1Ω 1Ω
1F 1F
at t = 0, the voltage across each capacitor is 1V
• for t ≥ 0, y satisfies LCCODE (from page 2-18)
y00
+ 3y0
+ y = 0
• initial conditions:
y(0) = 1, y0
(0) = 0
(at t = 0, voltage across righthand capacitor is one; current through
righthand resistor is zero)
Natural response of first and second order systems 4–13
solution using Laplace transform
• characteristic polynomial: χ(s) = s2
+ 3s + 1
• b2
= 9 > 4ac = 4, so roots are real & distinct: λ1 = −2.62, λ2 = −0.38
• hence, solution has form
y(t) = r1e−2.62 t
+ r2e−0.38 t
• initial conditions determine r1, r2:
y(0) = r1 + r2 = 1, y0
(0) = −2.62r1 − 0.38r2 = 0
yields r1 = −0.17, r2 = 1.17,
y(t) = −0.17e−2.62 t
+ 1.17e−0.38 t
Natural response of first and second order systems 4–14
• first exponential decays fast, within 2sec (T1 = 1/|λ1| = 0.38)
• second exponential decays slower (T2 = 1/|λ2| = 2.62)
expanded scale, for 0 ≤ t ≤ 2
0 5 10 15 20
0
0.2
0.4
0.6
0.8
1
placements
t
y
0 0.5 1 1.5 2
0.5
0.6
0.7
0.8
0.9
1
PSfrag replacements
t
y
Natural response of first and second order systems 4–15
Real equal roots (b2
= 4ac)
χ(s) = a(s − λ)2
with λ = −b/(2a)
from page 4-6,
Y (s) =
αs + β
a(s − λ)2
express Y as
Y (s) =
r1
s − λ
+
r2
(s − λ)2
where r1 and r2 are found from r1 = α/a, −λr1 + r2 = β/a, which yields
r1 = α/a, r2 = (β + λα)/a
inverse Laplace transform is
y(t) = r1eλt
+ r2teλt
Natural response of first and second order systems 4–16
Example: mass-spring-damper
PSfrag replacements
y
m
k b
mass m = 1, stiffness k = 1, damping b = 2
• LCCODE (from page 2-19):
y00
+ 2y0
+ y = 0
• initial conditions
y(0) = 0, y0
(0) = 1
Natural response of first and second order systems 4–17
solution using Laplace transform
• characteristic polynomial: s2
+ 2s + 1 = (s + 1)2
• solution has form y(t) = r1e−t
+ r2te−t
• initial conditions determine r1, r2: y(0) = r1 = 0, y0
(0) = −r1 + r2 = 1
yields r1 = 0, r2 = 1, i.e.,
y(t) = te−t
0 2 4 6 8 10
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
0.4
PSfrag replacements
t
y
called critically damped system (more later)
Natural response of first and second order systems 4–18
Complex roots (b2
< 4ac)
χ(s) = a(s − λ)(s − λ) with λ = σ + jω, λ = σ − jω
from page 4-6,
Y (s) =
αs + β
a(s − λ)(s − λ)
express Y as
Y (s) =
r1
s − λ
+
r2
s − λ
where r1 and r2 follow from r1 + r2 = α/a, −r1λ − r2λ = β/a:
r1 =
α
2a
+ j
αb − 2aβ
4a2ω
, r2 = r1
inverse Laplace transform is
y(t) = r1eλt
+ r1eλt
Natural response of first and second order systems 4–19
other useful forms:
y(t) = r1eλt
+ r1eλt
= r1eσt
(cos ωt + j sin ωt) + r1eσt
(cos ωt − j sin ωt)
= (<(r1) + j=(r1)) eσt
(cos ωt + j sin ωt)
+ (<(r1) − j=(r1))eσt
(cos ωt − j sin ωt)
= 2eσt
(<(r1) cos ωt − =(r1) sin ωt)
= Aeσt
cos(ωt + φ)
where A = 2|r1|, φ = arctan(=(r1)/<(r1))
• if σ > 0, y is an exponentially growing sinusoid; if σ < 0, y is an
exponentially decaying sinusoid; if σ = 0, y is a sinusoid
• <λ = σ gives exponential rate of decay or growth; =λ = ω gives
oscillation frequency
• amplitude A and phase φ determined by initial conditions
• Aeσt
is called the envelope of y
Natural response of first and second order systems 4–20
example
0 1 2 3 4 5 6 7 8
−1
−0.5
0
0.5
1
PSfrag replacements
t
y
what are σ and ω here?
• oscillation period is 2π/ω
• envelope decays exponentially with time constant −1/σ
Natural response of first and second order systems 4–21
• envelope gives |y| when sinusoid term is ±1
• if σ < 0, envelope decays by 1/e in −1/σ seconds
• if σ > 0, envelope doubles every 0.693/σ seconds
• growth/decay per period is e2π(σ/ω)
• if σ < 0, number of cycles to decay to 1% is
(4.6/2π)(ω/|σ|) = 0.73(ω/|σ|)
Natural response of first and second order systems 4–22
The harmonic oscillator
system described by LCCODE
y00
+ ω2
y = 0
• characteristic polynomial is s2
+ ω2
; roots are ±jω
• solutions are sinusoidal: y(t) = A cos(ωt + φ), where A and φ come
from initial conditions
LC circuit
• from i = Cv0
, v = −Li0
we get
v00
+ (1/LC)v = 0
• oscillation frequency is ω = 1/
√
LC
PSfrag replacements
C
L v
i
Natural response of first and second order systems 4–23
mass-spring system
• my00
+ ky = 0;
• oscillation frequency is ω =
p
k/m
PSfrag replacements
m
y
k
Natural response of first and second order systems 4–24
Stability of second order system
second order system
ay00
+ by0
+ cy = 0
(recall assumption a > 0)
we say the system is stable if y(t) → 0 as t → ∞ no matter what the
initial conditions are
when is a 2nd order system stable?
• for real distinct roots, solutions have the form y(t) = r1eλ1t
+ r2eλ2t
for stability, we need
λ1 =
−b +
√
b2 − 4ac
2a
< 0, λ2 =
−b −
√
b2 − 4ac
2a
< 0,
we must have b > 0 and 4ac > 0, i.e., c > 0
Natural response of first and second order systems 4–25
• for real equal roots, solutions have the form y(t) = r1eλt
+ r2teλt
for stability, we need
λ = −b/2a < 0
i.e., b > 0; since b2
= 4ac, we also have c > 0
• for complex roots, solutions have the form y(t) = Aeσt
cos(ωt + φ)
for stability, we need
σ = <λ = −b/2a < 0
i.e., b > 0; since b2
< 4ac we also have c > 0
summary: second order system with a > 0 is stable when
b > 0 and c > 0
Natural response of first and second order systems 4–26
Decay rate
assume system ay00
+ by0
+ cy = 0 is stable (a, b, c > 0); how fast do the
solutions decay?
• real distinct roots (b2
> 4ac)
since λ1 > λ2, for t large,
¯
¯r1eλ1t
¯
¯ À
¯
¯r2eλ2t
¯
¯
(assuming r1 is nonzero); hence asymptotic decay rate is given by
−λ1 =
b −
√
b2 − 4ac
2a
Natural response of first and second order systems 4–27
• real equal roots (b2
= 4ac)
solution is r1eλt
+ r2teλt
which decays like eλt
, so decay rate is
−λ = b/(2a) =
p
c/a
• complex roots (b2
< 4ac)
solution is Aeσt
cos(ωt + φ), so decay rate is
−σ = −<(λ) = b/(2a)
Natural response of first and second order systems 4–28
Critical damping
question: given a > 0 and c > 0, what value of b > 0 gives maximum
decay rate?
answer:
b = 2
√
ac
which corresponds to equal roots, and decay rate
p
c/a
• b = 2
√
ac is called critically damped (real, equal roots)
• b > 2
√
ac is called overdamped (real, distinct roots)
• b < 2
√
ac is called underdamped (complex roots)
justification:
• if the system is underdamped, the decay rate is worse than
p
c/a
because
b/(2a) <
p
c/a,
if b < 2
√
ac
Natural response of first and second order systems 4–29
• if the system is overdamped, the decay rate is worse than
p
c/a because
b −
√
b2 − 4ac
2a
<
p
c/a
to prove this, multiply by 2a and re-arrange to get
b − 2
√
ac
?
<
p
b2 − 4ac
rewrite as
b − 2
√
ac
?
<
q
(b − 2
√
ac)(b + 2
√
ac)
divide by b − 2
√
ac to get
1
?
<
p
b + 2
√
ac
p
b −
√
ac
which is true . . .
Natural response of first and second order systems 4–30
Parallel RLC circuit
PSfrag replacements
R
L C v
i
we have v = −Li0
and Cv0
= i − v/R, so
v00
+
1
RC
v0
+
1
LC
v = 0
• stable (assuming L, R, C > 0)
• overdamped if R <
p
L/(4C)
• critically damped if R =
p
L/(4C)
• underdamped if R >
p
L/4C; oscillation frequency is
ω =
p
1/LC − (1/2RC)2
Natural response of first and second order systems 4–31
Series RLC circuit
PSfrag replacements
R L C
v
i
by KVL, Ri + Li0
+ v = 0; also, i = Cv0
, so
v00
+
R
L
v0
+
1
LC
v = 0
• stable (assuming L, R, C > 0)
• overdamped if R > 2
p
L/C
• critically damped if R = 2
p
L/C
• underdamped if R < 2
p
L/C; oscillation frequency is
ω =
p
1/LC − (R/2L)2
Natural response of first and second order systems 4–32
1 sur 32

Recommandé

Fundamentals of Transport Phenomena ChE 715 par
Fundamentals of Transport Phenomena ChE 715Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715HelpWithAssignment.com
111 vues30 diapositives
Fundamentals of Transport Phenomena ChE 715 par
Fundamentals of Transport Phenomena ChE 715Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715HelpWithAssignment.com
96 vues16 diapositives
Week 8 [compatibility mode] par
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]Hazrul156
654 vues30 diapositives
Laplace transforms par
Laplace transformsLaplace transforms
Laplace transformsAwais Chaudhary
22.3K vues81 diapositives
Ch03 4 par
Ch03 4Ch03 4
Ch03 4Rendy Robert
1.1K vues10 diapositives
EC8352-Signals and Systems - Laplace transform par
EC8352-Signals and Systems - Laplace transformEC8352-Signals and Systems - Laplace transform
EC8352-Signals and Systems - Laplace transformNimithaSoman
601 vues53 diapositives

Contenu connexe

Similaire à 2nd_order.pdf

L11_VV (1).pdf par
L11_VV (1).pdfL11_VV (1).pdf
L11_VV (1).pdfOMSARDESAI225286
94 vues64 diapositives
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli... par
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...Waqas Afzal
194 vues36 diapositives
Copy of ctlti.pdf par
Copy of ctlti.pdfCopy of ctlti.pdf
Copy of ctlti.pdfmahmudnafiz
1 vue18 diapositives
BEC-26 control-systems_unit-III_pdf par
BEC-26 control-systems_unit-III_pdfBEC-26 control-systems_unit-III_pdf
BEC-26 control-systems_unit-III_pdfShadab Siddiqui
122 vues144 diapositives
APPGECET 2016 EC.pdf par
APPGECET 2016 EC.pdfAPPGECET 2016 EC.pdf
APPGECET 2016 EC.pdfSubramanyamAvvaru
4 vues18 diapositives
time response par
time responsetime response
time responseUniversity Malaya
614 vues22 diapositives

Similaire à 2nd_order.pdf(20)

time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli... par Waqas Afzal
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
Waqas Afzal194 vues
Applications laplace transform par Muhammad Fadli
Applications laplace transformApplications laplace transform
Applications laplace transform
Muhammad Fadli2.4K vues
Elementary Differential Equations 11th Edition Boyce Solutions Manual par MiriamKennedys
Elementary Differential Equations 11th Edition Boyce Solutions ManualElementary Differential Equations 11th Edition Boyce Solutions Manual
Elementary Differential Equations 11th Edition Boyce Solutions Manual
MiriamKennedys1.8K vues
Fourier and Laplace transforms in analysis of CT systems PDf.pdf par Dr.SHANTHI K.G
Fourier and Laplace transforms in analysis of CT systems PDf.pdfFourier and Laplace transforms in analysis of CT systems PDf.pdf
Fourier and Laplace transforms in analysis of CT systems PDf.pdf
Dr.SHANTHI K.G255 vues
Nonlinear Systems Term Project: Averaged Modeling of the Cardiovascular System par Philip Diette
Nonlinear Systems Term Project: Averaged Modeling of the Cardiovascular SystemNonlinear Systems Term Project: Averaged Modeling of the Cardiovascular System
Nonlinear Systems Term Project: Averaged Modeling of the Cardiovascular System
Philip Diette1.4K vues
Linear transformation.ppt par Raj Parekh
Linear transformation.pptLinear transformation.ppt
Linear transformation.ppt
Raj Parekh23.6K vues
Controllability of Linear Dynamical System par Purnima Pandit
Controllability of  Linear Dynamical SystemControllability of  Linear Dynamical System
Controllability of Linear Dynamical System
Purnima Pandit2.3K vues
Circuit Network Analysis - [Chapter4] Laplace Transform par Simen Li
Circuit Network Analysis - [Chapter4] Laplace TransformCircuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace Transform
Simen Li14.7K vues
Clase 02-modelado-de-sistemas-de-control (1) par ronald sanchez
Clase 02-modelado-de-sistemas-de-control (1)Clase 02-modelado-de-sistemas-de-control (1)
Clase 02-modelado-de-sistemas-de-control (1)
ronald sanchez322 vues

Plus de MUST

NYQUIST_PLOTS.pdf par
NYQUIST_PLOTS.pdfNYQUIST_PLOTS.pdf
NYQUIST_PLOTS.pdfMUST
3 vues92 diapositives
ME451_L10_RouthHurwitz.pdf par
ME451_L10_RouthHurwitz.pdfME451_L10_RouthHurwitz.pdf
ME451_L10_RouthHurwitz.pdfMUST
9 vues4 diapositives
LECTURE 1. Control Systems Engineering_MEB 4101.pdf par
LECTURE 1. Control Systems Engineering_MEB 4101.pdfLECTURE 1. Control Systems Engineering_MEB 4101.pdf
LECTURE 1. Control Systems Engineering_MEB 4101.pdfMUST
21 vues44 diapositives
Stability criteria and Analysis_Control Systems Engineering_MEB 4101.pdf par
Stability criteria and Analysis_Control Systems Engineering_MEB 4101.pdfStability criteria and Analysis_Control Systems Engineering_MEB 4101.pdf
Stability criteria and Analysis_Control Systems Engineering_MEB 4101.pdfMUST
13 vues13 diapositives
LECTURE 3_On-off_Control Systems Engineering_MEB 4101.pptx par
LECTURE 3_On-off_Control Systems Engineering_MEB 4101.pptxLECTURE 3_On-off_Control Systems Engineering_MEB 4101.pptx
LECTURE 3_On-off_Control Systems Engineering_MEB 4101.pptxMUST
4 vues9 diapositives
LECTURE 4. Stability criteria and Analysis_Control Systems Engineering_MEB 41... par
LECTURE 4. Stability criteria and Analysis_Control Systems Engineering_MEB 41...LECTURE 4. Stability criteria and Analysis_Control Systems Engineering_MEB 41...
LECTURE 4. Stability criteria and Analysis_Control Systems Engineering_MEB 41...MUST
16 vues13 diapositives

Plus de MUST(20)

NYQUIST_PLOTS.pdf par MUST
NYQUIST_PLOTS.pdfNYQUIST_PLOTS.pdf
NYQUIST_PLOTS.pdf
MUST3 vues
ME451_L10_RouthHurwitz.pdf par MUST
ME451_L10_RouthHurwitz.pdfME451_L10_RouthHurwitz.pdf
ME451_L10_RouthHurwitz.pdf
MUST9 vues
LECTURE 1. Control Systems Engineering_MEB 4101.pdf par MUST
LECTURE 1. Control Systems Engineering_MEB 4101.pdfLECTURE 1. Control Systems Engineering_MEB 4101.pdf
LECTURE 1. Control Systems Engineering_MEB 4101.pdf
MUST21 vues
Stability criteria and Analysis_Control Systems Engineering_MEB 4101.pdf par MUST
Stability criteria and Analysis_Control Systems Engineering_MEB 4101.pdfStability criteria and Analysis_Control Systems Engineering_MEB 4101.pdf
Stability criteria and Analysis_Control Systems Engineering_MEB 4101.pdf
MUST13 vues
LECTURE 3_On-off_Control Systems Engineering_MEB 4101.pptx par MUST
LECTURE 3_On-off_Control Systems Engineering_MEB 4101.pptxLECTURE 3_On-off_Control Systems Engineering_MEB 4101.pptx
LECTURE 3_On-off_Control Systems Engineering_MEB 4101.pptx
MUST4 vues
LECTURE 4. Stability criteria and Analysis_Control Systems Engineering_MEB 41... par MUST
LECTURE 4. Stability criteria and Analysis_Control Systems Engineering_MEB 41...LECTURE 4. Stability criteria and Analysis_Control Systems Engineering_MEB 41...
LECTURE 4. Stability criteria and Analysis_Control Systems Engineering_MEB 41...
MUST16 vues
2 Robot Actuators and drive systems.ppt par MUST
2 Robot Actuators and drive systems.ppt2 Robot Actuators and drive systems.ppt
2 Robot Actuators and drive systems.ppt
MUST45 vues
ON-OFF CONTROL (2).ppt par MUST
ON-OFF CONTROL (2).pptON-OFF CONTROL (2).ppt
ON-OFF CONTROL (2).ppt
MUST139 vues
L7_PROJECT PROCUREMENT Management.pdf par MUST
L7_PROJECT PROCUREMENT Management.pdfL7_PROJECT PROCUREMENT Management.pdf
L7_PROJECT PROCUREMENT Management.pdf
MUST48 vues
L4_Cost Management.ppt par MUST
L4_Cost Management.pptL4_Cost Management.ppt
L4_Cost Management.ppt
MUST11 vues
L8_PROJECT CONTRACT Management.ppt par MUST
L8_PROJECT CONTRACT Management.pptL8_PROJECT CONTRACT Management.ppt
L8_PROJECT CONTRACT Management.ppt
MUST26 vues
Project procurement Management.ppt par MUST
Project procurement Management.pptProject procurement Management.ppt
Project procurement Management.ppt
MUST45 vues
PROJECT RISK MANAGEMENT.pdf par MUST
PROJECT RISK MANAGEMENT.pdfPROJECT RISK MANAGEMENT.pdf
PROJECT RISK MANAGEMENT.pdf
MUST30 vues
pmp11-risk-180412035349-2.pdf par MUST
pmp11-risk-180412035349-2.pdfpmp11-risk-180412035349-2.pdf
pmp11-risk-180412035349-2.pdf
MUST9 vues
History of Robotics.ppt par MUST
History of Robotics.pptHistory of Robotics.ppt
History of Robotics.ppt
MUST130 vues
Project Human Resources Management.ppt par MUST
Project Human Resources Management.pptProject Human Resources Management.ppt
Project Human Resources Management.ppt
MUST90 vues
Robot actuation and feedback components.pptx par MUST
Robot actuation and feedback components.pptxRobot actuation and feedback components.pptx
Robot actuation and feedback components.pptx
MUST23 vues
Contract management.ppt par MUST
Contract management.pptContract management.ppt
Contract management.ppt
MUST791 vues
L2_Scope Management.ppt par MUST
L2_Scope Management.pptL2_Scope Management.ppt
L2_Scope Management.ppt
MUST4 vues
L1-Project Integration Management.pdf par MUST
L1-Project Integration Management.pdfL1-Project Integration Management.pdf
L1-Project Integration Management.pdf
MUST84 vues

Dernier

REACTJS.pdf par
REACTJS.pdfREACTJS.pdf
REACTJS.pdfArthyR3
39 vues16 diapositives
Robotics in construction enterprise par
Robotics in construction enterpriseRobotics in construction enterprise
Robotics in construction enterpriseKhalid Abdel Naser Abdel Rahim
5 vues1 diapositive
Different type of computer networks .pptx par
Different  type of computer networks .pptxDifferent  type of computer networks .pptx
Different type of computer networks .pptxnazmul1514788
20 vues22 diapositives
Global airborne satcom market report par
Global airborne satcom market reportGlobal airborne satcom market report
Global airborne satcom market reportdefencereport78
8 vues13 diapositives
Design_Discover_Develop_Campaign.pptx par
Design_Discover_Develop_Campaign.pptxDesign_Discover_Develop_Campaign.pptx
Design_Discover_Develop_Campaign.pptxShivanshSeth6
59 vues20 diapositives
Field Programmable Gate Arrays : Architecture par
Field Programmable Gate Arrays : ArchitectureField Programmable Gate Arrays : Architecture
Field Programmable Gate Arrays : ArchitectureUsha Mehta
33 vues74 diapositives

Dernier(20)

REACTJS.pdf par ArthyR3
REACTJS.pdfREACTJS.pdf
REACTJS.pdf
ArthyR339 vues
Different type of computer networks .pptx par nazmul1514788
Different  type of computer networks .pptxDifferent  type of computer networks .pptx
Different type of computer networks .pptx
nazmul151478820 vues
Design_Discover_Develop_Campaign.pptx par ShivanshSeth6
Design_Discover_Develop_Campaign.pptxDesign_Discover_Develop_Campaign.pptx
Design_Discover_Develop_Campaign.pptx
ShivanshSeth659 vues
Field Programmable Gate Arrays : Architecture par Usha Mehta
Field Programmable Gate Arrays : ArchitectureField Programmable Gate Arrays : Architecture
Field Programmable Gate Arrays : Architecture
Usha Mehta33 vues
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA par Demian Antony D'Mello
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVAMODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA
MODULE-1 CHAPTER 3- Operators - Object Oriented Programming with JAVA
REPORT Data Science EXPERT LECTURE.doc par Parulkhatri11
REPORT Data Science EXPERT LECTURE.docREPORT Data Science EXPERT LECTURE.doc
REPORT Data Science EXPERT LECTURE.doc
Parulkhatri117 vues
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... par csegroupvn
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
csegroupvn17 vues
IRJET-Productivity Enhancement Using Method Study.pdf par SahilBavdhankar
IRJET-Productivity Enhancement Using Method Study.pdfIRJET-Productivity Enhancement Using Method Study.pdf
IRJET-Productivity Enhancement Using Method Study.pdf
SahilBavdhankar11 vues
Solution Challenge Introduction.pptx par GDSCCEC
Solution Challenge Introduction.pptxSolution Challenge Introduction.pptx
Solution Challenge Introduction.pptx
GDSCCEC13 vues
Building source code level profiler for C++.pdf par ssuser28de9e
Building source code level profiler for C++.pdfBuilding source code level profiler for C++.pdf
Building source code level profiler for C++.pdf
ssuser28de9e12 vues

2nd_order.pdf

  • 1. S. Boyd EE102 Lecture 4 Natural response of first and second order systems • first order systems • second order systems – real distinct roots – real equal roots – complex roots – harmonic oscillator – stability – decay rate – critical damping – parallel & series RLC circuits 4–1
  • 2. First order systems ay0 + by = 0 (with a 6= 0) righthand side is zero: • called autonomous system • solution is called natural or unforced response can be expressed as Ty0 + y = 0 or y0 + ry = 0 where • T = a/b is a time (units: seconds) • r = b/a = 1/T is a rate (units: 1/sec) Natural response of first and second order systems 4–2
  • 3. Solution by Laplace transform take Laplace transform of Ty0 + y = 0 to get T(sY (s) − y(0) | {z } L(y0) ) + Y (s) = 0 solve for Y (s) (algebra!) Y (s) = Ty(0) sT + 1 = y(0) s + 1/T and so y(t) = y(0)e−t/T Natural response of first and second order systems 4–3
  • 4. solution of Ty0 + y = 0: y(t) = y(0)e−t/T if T > 0, y decays exponentially • T gives time to decay by e−1 ≈ 0.37 • 0.693T gives time to decay by half (0.693 = log 2) • 4.6T gives time to decay by 0.01 (4.6 = log 100) if T < 0, y grows exponentially • |T| gives time to grow by e ≈ 2.72; • 0.693|T| gives time to double • 4.6|T| gives time to grow by 100 Natural response of first and second order systems 4–4
  • 5. Examples simple RC circuit: ag replacements v R C circuit equation: RCv0 +v = 0 solution: v(t) = v(0)e−t/(RC) population dynamics: • y(t) is population of some bacteria at time t • growth (or decay if negative) rate is y0 = by − dy where b is birth rate, d is death rate • y(t) = y(0)e(b−d)t (grows if b > d; decays if b < d) Natural response of first and second order systems 4–5
  • 6. thermal system: • y(t) is temperature of a body (above ambient) at t • heat loss proportional to temp (above ambient): ay • heat in body is cy, where c is thermal capacity, so cy0 = −ay • y(t) = y(0)e−at/c ; c/a is thermal time constant Natural response of first and second order systems 4–6
  • 7. Second order systems ay00 + by0 + cy = 0 assume a > 0 (otherwise multiply equation by −1) solution by Laplace transform: a(s2 Y (s) − sy(0) − y0 (0) | {z } L(y00) ) + b(sY (s) − y(0) | {z } L(y0) ) + cY (s) = 0 solve for Y (just algebra!) Y (s) = asy(0) + ay0 (0) + by(0) as2 + bs + c = αs + β as2 + bs + c where α = ay(0) and β = ay0 (0) + by(0) Natural response of first and second order systems 4–7
  • 8. so solution of ay00 + by0 + cy = 0 is y(t) = L−1 µ αs + β as2 + bs + c ¶ • χ(s) = as2 + bs + c is called characteristic polynomial of the system • form of y = L−1 (Y ) depends on roots of characteristic polynomial χ • coefficients of numerator αs + β come from initial conditions Natural response of first and second order systems 4–8
  • 9. Roots of χ (two) roots of characteristic polynomial χ are λ1,2 = −b ± √ b2 − 4ac 2a i.e., we have as2 + bs + c = a(s − λ1)(s − λ2) three cases: • roots are real and distinct: b2 > 4ac λ1 = −b + √ b2 − 4ac 2a , λ2 = −b − √ b2 − 4ac 2a • roots are real and equal: b2 = 4ac λ1 = λ2 = −b/(2a) Natural response of first and second order systems 4–9
  • 10. • roots are complex (and conjugates): b2 < 4ac λ1 = σ + jω, λ2 = σ − jω, where σ = −b/(2a) and ω = √ 4ac − b2 2a = p (c/a) − (b/2a)2 Natural response of first and second order systems 4–10
  • 11. Real distinct roots (b2 > 4ac) χ(s) = a(s − λ1)(s − λ2) (λ1, λ2 real) from page 4-6, Y (s) = αs + β a(s − λ1)(s − λ2) where α, β depend on initial conditions express Y as Y (s) = r1 s − λ1 + r2 s − λ2 where r1 and r2 are found from r1 + r2 = α/a, −λ2r1 − λ1r2 = β/a which yields r1 = λ1α + β √ b2 − 4ac , r2 = −λ2α − β √ b2 − 4ac Natural response of first and second order systems 4–11
  • 12. now we can find the inverse Laplace tranform . . . y(t) = r1eλ1t + r2eλ2t a sum of two (real) exponentials • coefficients of exponentials, i.e., λ1, λ2, depend only on a, b, c • associated time constants T1 = 1/|λ1|, T2 = 1/|λ2| • r1, r2 depend (linearly) on the initial conditions y(0), y0 (0) • signs of λ1, λ2 determine whether solution grows or decays as t → ∞ • magnitudes of λ1, λ2 determine growth rate (if positive) or decay rate (if negative) Natural response of first and second order systems 4–12
  • 13. Example: second-order RC circuit PSfrag replacements t = 0 y 1Ω 1Ω 1F 1F at t = 0, the voltage across each capacitor is 1V • for t ≥ 0, y satisfies LCCODE (from page 2-18) y00 + 3y0 + y = 0 • initial conditions: y(0) = 1, y0 (0) = 0 (at t = 0, voltage across righthand capacitor is one; current through righthand resistor is zero) Natural response of first and second order systems 4–13
  • 14. solution using Laplace transform • characteristic polynomial: χ(s) = s2 + 3s + 1 • b2 = 9 > 4ac = 4, so roots are real & distinct: λ1 = −2.62, λ2 = −0.38 • hence, solution has form y(t) = r1e−2.62 t + r2e−0.38 t • initial conditions determine r1, r2: y(0) = r1 + r2 = 1, y0 (0) = −2.62r1 − 0.38r2 = 0 yields r1 = −0.17, r2 = 1.17, y(t) = −0.17e−2.62 t + 1.17e−0.38 t Natural response of first and second order systems 4–14
  • 15. • first exponential decays fast, within 2sec (T1 = 1/|λ1| = 0.38) • second exponential decays slower (T2 = 1/|λ2| = 2.62) expanded scale, for 0 ≤ t ≤ 2 0 5 10 15 20 0 0.2 0.4 0.6 0.8 1 placements t y 0 0.5 1 1.5 2 0.5 0.6 0.7 0.8 0.9 1 PSfrag replacements t y Natural response of first and second order systems 4–15
  • 16. Real equal roots (b2 = 4ac) χ(s) = a(s − λ)2 with λ = −b/(2a) from page 4-6, Y (s) = αs + β a(s − λ)2 express Y as Y (s) = r1 s − λ + r2 (s − λ)2 where r1 and r2 are found from r1 = α/a, −λr1 + r2 = β/a, which yields r1 = α/a, r2 = (β + λα)/a inverse Laplace transform is y(t) = r1eλt + r2teλt Natural response of first and second order systems 4–16
  • 17. Example: mass-spring-damper PSfrag replacements y m k b mass m = 1, stiffness k = 1, damping b = 2 • LCCODE (from page 2-19): y00 + 2y0 + y = 0 • initial conditions y(0) = 0, y0 (0) = 1 Natural response of first and second order systems 4–17
  • 18. solution using Laplace transform • characteristic polynomial: s2 + 2s + 1 = (s + 1)2 • solution has form y(t) = r1e−t + r2te−t • initial conditions determine r1, r2: y(0) = r1 = 0, y0 (0) = −r1 + r2 = 1 yields r1 = 0, r2 = 1, i.e., y(t) = te−t 0 2 4 6 8 10 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 PSfrag replacements t y called critically damped system (more later) Natural response of first and second order systems 4–18
  • 19. Complex roots (b2 < 4ac) χ(s) = a(s − λ)(s − λ) with λ = σ + jω, λ = σ − jω from page 4-6, Y (s) = αs + β a(s − λ)(s − λ) express Y as Y (s) = r1 s − λ + r2 s − λ where r1 and r2 follow from r1 + r2 = α/a, −r1λ − r2λ = β/a: r1 = α 2a + j αb − 2aβ 4a2ω , r2 = r1 inverse Laplace transform is y(t) = r1eλt + r1eλt Natural response of first and second order systems 4–19
  • 20. other useful forms: y(t) = r1eλt + r1eλt = r1eσt (cos ωt + j sin ωt) + r1eσt (cos ωt − j sin ωt) = (<(r1) + j=(r1)) eσt (cos ωt + j sin ωt) + (<(r1) − j=(r1))eσt (cos ωt − j sin ωt) = 2eσt (<(r1) cos ωt − =(r1) sin ωt) = Aeσt cos(ωt + φ) where A = 2|r1|, φ = arctan(=(r1)/<(r1)) • if σ > 0, y is an exponentially growing sinusoid; if σ < 0, y is an exponentially decaying sinusoid; if σ = 0, y is a sinusoid • <λ = σ gives exponential rate of decay or growth; =λ = ω gives oscillation frequency • amplitude A and phase φ determined by initial conditions • Aeσt is called the envelope of y Natural response of first and second order systems 4–20
  • 21. example 0 1 2 3 4 5 6 7 8 −1 −0.5 0 0.5 1 PSfrag replacements t y what are σ and ω here? • oscillation period is 2π/ω • envelope decays exponentially with time constant −1/σ Natural response of first and second order systems 4–21
  • 22. • envelope gives |y| when sinusoid term is ±1 • if σ < 0, envelope decays by 1/e in −1/σ seconds • if σ > 0, envelope doubles every 0.693/σ seconds • growth/decay per period is e2π(σ/ω) • if σ < 0, number of cycles to decay to 1% is (4.6/2π)(ω/|σ|) = 0.73(ω/|σ|) Natural response of first and second order systems 4–22
  • 23. The harmonic oscillator system described by LCCODE y00 + ω2 y = 0 • characteristic polynomial is s2 + ω2 ; roots are ±jω • solutions are sinusoidal: y(t) = A cos(ωt + φ), where A and φ come from initial conditions LC circuit • from i = Cv0 , v = −Li0 we get v00 + (1/LC)v = 0 • oscillation frequency is ω = 1/ √ LC PSfrag replacements C L v i Natural response of first and second order systems 4–23
  • 24. mass-spring system • my00 + ky = 0; • oscillation frequency is ω = p k/m PSfrag replacements m y k Natural response of first and second order systems 4–24
  • 25. Stability of second order system second order system ay00 + by0 + cy = 0 (recall assumption a > 0) we say the system is stable if y(t) → 0 as t → ∞ no matter what the initial conditions are when is a 2nd order system stable? • for real distinct roots, solutions have the form y(t) = r1eλ1t + r2eλ2t for stability, we need λ1 = −b + √ b2 − 4ac 2a < 0, λ2 = −b − √ b2 − 4ac 2a < 0, we must have b > 0 and 4ac > 0, i.e., c > 0 Natural response of first and second order systems 4–25
  • 26. • for real equal roots, solutions have the form y(t) = r1eλt + r2teλt for stability, we need λ = −b/2a < 0 i.e., b > 0; since b2 = 4ac, we also have c > 0 • for complex roots, solutions have the form y(t) = Aeσt cos(ωt + φ) for stability, we need σ = <λ = −b/2a < 0 i.e., b > 0; since b2 < 4ac we also have c > 0 summary: second order system with a > 0 is stable when b > 0 and c > 0 Natural response of first and second order systems 4–26
  • 27. Decay rate assume system ay00 + by0 + cy = 0 is stable (a, b, c > 0); how fast do the solutions decay? • real distinct roots (b2 > 4ac) since λ1 > λ2, for t large, ¯ ¯r1eλ1t ¯ ¯ À ¯ ¯r2eλ2t ¯ ¯ (assuming r1 is nonzero); hence asymptotic decay rate is given by −λ1 = b − √ b2 − 4ac 2a Natural response of first and second order systems 4–27
  • 28. • real equal roots (b2 = 4ac) solution is r1eλt + r2teλt which decays like eλt , so decay rate is −λ = b/(2a) = p c/a • complex roots (b2 < 4ac) solution is Aeσt cos(ωt + φ), so decay rate is −σ = −<(λ) = b/(2a) Natural response of first and second order systems 4–28
  • 29. Critical damping question: given a > 0 and c > 0, what value of b > 0 gives maximum decay rate? answer: b = 2 √ ac which corresponds to equal roots, and decay rate p c/a • b = 2 √ ac is called critically damped (real, equal roots) • b > 2 √ ac is called overdamped (real, distinct roots) • b < 2 √ ac is called underdamped (complex roots) justification: • if the system is underdamped, the decay rate is worse than p c/a because b/(2a) < p c/a, if b < 2 √ ac Natural response of first and second order systems 4–29
  • 30. • if the system is overdamped, the decay rate is worse than p c/a because b − √ b2 − 4ac 2a < p c/a to prove this, multiply by 2a and re-arrange to get b − 2 √ ac ? < p b2 − 4ac rewrite as b − 2 √ ac ? < q (b − 2 √ ac)(b + 2 √ ac) divide by b − 2 √ ac to get 1 ? < p b + 2 √ ac p b − √ ac which is true . . . Natural response of first and second order systems 4–30
  • 31. Parallel RLC circuit PSfrag replacements R L C v i we have v = −Li0 and Cv0 = i − v/R, so v00 + 1 RC v0 + 1 LC v = 0 • stable (assuming L, R, C > 0) • overdamped if R < p L/(4C) • critically damped if R = p L/(4C) • underdamped if R > p L/4C; oscillation frequency is ω = p 1/LC − (1/2RC)2 Natural response of first and second order systems 4–31
  • 32. Series RLC circuit PSfrag replacements R L C v i by KVL, Ri + Li0 + v = 0; also, i = Cv0 , so v00 + R L v0 + 1 LC v = 0 • stable (assuming L, R, C > 0) • overdamped if R > 2 p L/C • critically damped if R = 2 p L/C • underdamped if R < 2 p L/C; oscillation frequency is ω = p 1/LC − (R/2L)2 Natural response of first and second order systems 4–32