Académique Documents
Professionnel Documents
Culture Documents
Higher-Order Networks
Artemio P. Magabo
Professor of Electrical Engineering
Second-Order Transients
Consider the homogeneous differential equation
d2x
dx
a 2 +b
+ cx = 0
dt
dt
dx
with initial conditions x(0)=X0 and
(0)=X 0.
xt
The solution can be shown to be an exponential of
the form
x = K
st
as K
st
+ bsK
st
+ cK
st
=0
p2
as + bs + c = 0
Using the quadratic formula, we get the two roots
2
- b b - 4ac
s1, s2 =
2a
Assuming the roots are real and distinct, the
solution will consist of two exponentials. Thus
x(t) = K1
s1t
+ K2
s2 t
dx
K1 and K2 can be evaluated using x(0) and
(0).
dt
Department of Electrical and Electronics Engineering
p3
di
1
L + Ri + idt = 0
dt
C
t=0
E
+
-
L
+
vC
Differentiating, we get
2
di
di 1
L 2 +R
+ i=0
dt C
dt
This is a homogeneous second-order differential
equation.
Department of Electrical and Electronics Engineering
p4
1
Ls + Rs + = 0
C
R
1
2
s + s+
=0
L
LC
2
or
R
1
R
s1 , s2 =
2L
LC
2L
Note: There are three types of root depending on
the value of the term inside the square root sign.
Department of Electrical and Electronics Engineering
p5
1
R
>
LC
2L
The solution is the sum of two exponential terms
x(t) = K1
s1t
+ K2
s2 t
1
R
=
LC
2L
Department of Electrical and Electronics Engineering
p6
x(t) = (K1t + K2 )
st
1
R
<
LC
2L
If the roots are
be shown to be
x(t) =
- t
p7
Comparison of Responses
overdamped
critically damped
underdamped
e-t
p8
dt
12V
+
-
vC
-
di
L
+ Ri + v c = 0
dt
Since the circuit has reached steady-state at t=0, i
(0+)=0 and vC(0+)=12V. Substitution gives
vc ( 0+ )
di +
(0 ) =
= 12 A/s
dt
L
Department of Electrical and Electronics Engineering
p9
t=0 10
1H
+
vC
-
1
F
16
di
1 + 10i + 16 idt = 0
dt
Differentiating the
equation, we have
di
di
+ 10 + 16i = 0
2
dt
dt
s + 10s + 16 = 0
whose roots are s1=-2 and s2=-8.
Department of Electrical and Electronics Engineering
p10
i(t) = K1 - 2t + K2 - 8t
di
= 2K1 - 2t 8K2 - 8t
dt
dt
Substitution gives
i(0 ) = 0 = K1 + K2
di
(0+ ) = 12 = -2K1 - 8K 2
dt
+
p11
p12
t=0
1H
+
vC
-
1
F
16
s + 8s + 16 = 0
whose roots are s1=-4 and s2=-4. Thus, we get
i(t) = K1 - 4t + K2 - 4t = K3 - 4t
A single exponential solution will not work since the
original differential equation is second-order.
Department of Electrical and Electronics Engineering
p13
di
- 4t
- 4t
= -4y(t) + y' (t)
dt
d2i
- 4t
- 4t
- 4t
= 16 y(t) - 8 y' (t) + y' ' (t)
2
dt
d2i
di
+8
+ 16i = 0
2
dt
dt
Substitution gives
0 = 16y(t)
-4t
- 32y(t)
- 8y' (t)
- 4t
-4t
-4t
+ 8y' (t)
-4t
+ 16y(t)
p14
Simplifying, we get
or
- 4t
=0
y' (t) = K1
y(t) = K1t + K2
i(t) = y(t)
- 4t
p15
di
= -4K1t - 4t + K1 - 4t - 4K2 - 4t
dt
The initial conditions are
A/sec. Substitution gives
i(0+)=0
di +
and
(0 )=-12
dt
i(0+ ) = 0 = 0 + K2
di +
(0 ) = -12 = 0 + K1 - 4K2
dt
We get K1=-12 and K2=0. Thus
i ( t ) = -12t
-4t
Amp
t0
p16
t=0
1H
+
1
F
16
vC
s + 6s + 16 = 0
whose roots are s1, s2=-3 j2.65. Thus, we get
or
i(t) = K1
i(t) =
(-3 + j2.65)t
-3t
(K1
+ K2
j2.65 t
(-3 - j2.65)t
+ K2
- j2.65 t
)
p17
Euler s Identities:
(1)
(2)
jx = cos x + j sin x
jx = cos x - j sin x
dy
= -sin x + j cos x
dx
and since
as
dy
= j2 sin x + j cos x
dx
= j (cos x + j sin x)
p18
We get
or
dy
= jy
dx
1
dy = j dx
y
ln y = j x + K
Evaluate K. When x=0, y=1.
ln 1 = j0 + K
or
K=0
jx = cos x + j sin x
p19
i(t) =
3t
p20
Differentiate to get
di
3t
= [K3 sin t + K 4 cos t ]
dt
3 3t [ K3 cos t + K 4 sin t ]
i(0+)=0
di +
and
(0 )=-12
dt
i(0 ) = 0 = K 3
+
di +
(0 ) = 12 = K 4
dt
or K 4 = 4.54
We get
Amp t 0
p21
R=10
R=8
R=6
Overdamped
Critically damped
Underdamped
time
Department of Electrical and Electronics Engineering
p22
dv 1
1
C
+ v + vdt = 0
dt R
L
v L
Differentiating, we get
2
d v 1 dv 1
C 2 +
+ v=0
R dt L
dt
This is a homogeneous second-order differential
equation.
Department of Electrical and Electronics Engineering
p23
1
1
Cs + s + = 0
R
L
1
1
2
s +
s+
=0
RC
LC
2
or
1
1
1
s1, s2 =
2RC
2RC LC
Note: We get three types of root depending on the
value of the term inside the square root sign.
Department of Electrical and Electronics Engineering
p24
1
H
8
1A
2F
dv + .
(0 )
dt
1
iL(0-)
vC(0-)
-
p25
iL
1
H
8
v
-
dv
2
+ 8v + 8 vdt = 0
dt
2F
dt
+8
dt
+ 8v = 0
p26
dv
= -2K1 -2t + K2 -2t - 2K2t -2t
dt
dv +
(0 ) = - 0.5 V/s we get K1 = 0 and K2 = -0.5.
dt
Thus,
v(t) = -0.5t-2t
t>0
p27
End
Higher-Order Transients
Consider the homogeneous differential equation
dnx
dn1x
dx
an n + an1 n1 + ... + a1
+ a0x = 0
dt
dt
dt
dx
(0)=X
with initial conditions x(0)=X0,
xt
n 1
2
x
dx
'''''''
'' , d
(
0
)
=
X
(0) = X0
0
n 1
2
dx
dt
x = K
p29
Substitution gives
x = K1
s1t
+ K2
s2 t
+ ... + Kn 1
sn 1t
+ K n
snt
p30
d3v
d2v
dv
+ 14 2 + 56
+ 64v = 0
3
dt
dt
dt
dv
with initial conditions v(0)=7 volts,
(0)=-24 v/s
dt
d2v
2. Find v(t).
and
(0)=112
v/s
dt 2
The characteristic equation is
s3 + 14s2 + 56s + 64 = 0
The roots of the characteristic equation can be
shown to be s1=-2, s2=-4 and s3=-8.
Department of Electrical and Electronics Engineering
p31
v(t) = K1
-2t
+ K2
-4t
+ K 3
-8t
dv
= 2K1-2t 4K2- 4t 8K3-8t
dt
2
dv
-2t
- 4t
-8t
= 4K1 + 16K2 + 64K3
2
dt
2
dv
d
v at t=0
Evaluate the expressions for v,
and
2
dt
dt
and use the initial conditions.
p32
We get
v(0) = 7 = K1 + K2 + K3
dv
(0) = 24 = 2K1 4K 2 8K3
dt
d2v
(0) = 112 = 4K1 + 16K2 + 64K3
2
dt
Solving simultaneously, we get K1=4, K2=2 and
K3=1. The final solution is
v(t) = 4
-2t
+ 2
-4t
+ 1
-8t
V
p33
d3i
d2i
di
+ 10 2 + 32
+ 32i = 0
3
dt
dt
dt
The characteristic equation is
3
s + 10s + 32s + 32 = 0
The roots of the characteristic equation can be
shown to be s1=-2, s2=-4 and s3=-4. The solution
is
p34
d5i
d4i
d3i
d2i
di
+ 6 4 + 17 3 + 28 2 + 24
+ 8i = 0
5
dt
dt
dt
dt
dt
The characteristic equation is
5
s1 = -1, s2 = - 1, s3 = -2 and s4 , s5 = -1 j 3
The solution is of the form
p35
p36
8
i1
1H
1
F i2
16
10
t
di2
+ 10i2 + 16 (i2 i1 )dt = 0
dt
p37
We get
di1
d
8
+ 16i1 16i2 =
v(t)
dt
dt
d2i2
di2
16i1 + 2 + 10
+ 16i2 = 0
dt
dt
(a)
(b)
d
Using operators, let D= . Substitution gives
dt
(1)
(8D + 16) i1 16i2 = Dv(t)
(2)
p38
16
(8D+16)
(1)
(2)
We get
d2i2
di2
+ 12
+ 36 i2 = 2v(t)
2
dt
dt
Department of Electrical and Electronics Engineering
p39
d2i1
di1
d2v(t)
+ 12
+ 36 i1 = 0.125
2
dt
dt
dt 2
dv(t)
+ 1.25
+ 2v(t)
dt
p40
and
i1 =
1
16
di1
=
dt
1
16
d2i2
+
2
dt
d3i2
+
3
dt
5
8
5
8
di2
+ i2
dt
d2i2 di2
+
2
dt
dt
d2i2
di2
+ 12
+ 36 i2 = 2v(t)
2
dt
dt
A similar procedure, applied on equation (a), will
result in the differential equation for current i1.
Department of Electrical and Electronics Engineering
p41
8 v1
1H
1
F
16
v2
10
REF
First, write the node equations for the circuit.
Node 1:
1 (v
1
8
vS ) +
Node 2: (v2
1
16
dv1 t
+ (v1 v2 )dt = 0
dt
1 v = 0
v1 )dt + 10
2
p42
We get
or
2
d
d
v1
1
1
(v1 vS ) + 16
+ v1 v2 = 0
8
2
dt
dt
dvS
d2v1
dv1
+2
+ 16v1 16v2 = 2
dt
dt
dt
v2 v1 +
and
1
10
dv2
=0
dt
(a)
(b)
v1 + (0.1D + 1)v2 = 0
Department of Electrical and Electronics Engineering
(2)
p43
v1 = (0.1D + 1)v2
(3)
(4)
d v2
dv2
+ 12
+ 36v 2 = 20v S (t)
dt
dt
Department of Electrical and Electronics Engineering
p44
20v S
v2 = 2
D + 12D + 36
Substituting into equation (3) and re-arranging
terms we get
(D2 + 12D + 36)v1 = 2DvS + 20vS
Thus, the differential equation for v1 is
dvS (t)
d2v1
dv1
+ 12
+ 36v1 = 2
+ 20v S (t)
2
dt
dt
dt
Department of Electrical and Electronics Engineering
p45
x t = K1
s1t
+ K 2
s2 t
+ ... + Kn
snt
p46
Example: In our
previous example we
have found the
differential equations
for mesh currents i1
and i2 and node
voltages v1 and v2.
8 v1
+
vS(t)
1H
1
F i2
16
i1
v2
10
REF
d2i1
di1
+ 12
+ 36 i1 =
2
dt
dt
2
d
vS (t)
1
+
8
2
dt
1
0.8
dvS (t)
+ 2vS (t)
dt
d2i2
di2
+ 12
+ 36 i2 = 2vS (t)
2
dt
dt
Department of Electrical and Electronics Engineering
p47
dvS (t)
d2v1
dv1
+ 12
+ 36v1 = 2
+ 20v S (t)
dt
dt
dt
d2v2
dv2
+ 12
+ 36v 2 = 20v S (t)
dt
dt
The characteristic equation for this circuit is
S2 + 12s + 36 = 0
with repeated roots s1 = s2 = -6.
Thus, the transient response of all currents and
voltages in this circuit is of the form
x(t) = K1-6t + K2t-6t
Department of Electrical and Electronics Engineering
p48
v(t)
From KCL, we get
for t 0
Node 1:
Node 2:
b t=0
+
-
+v1
6
1H
REF
v1 - v2
+ v1dt = 0
6
v2 - v(t) v2 v1 1 dv 2
+
+
=0
4
6
4 dt
1
F
4
(1)
(2)
p49
1 dv1
1 dv2
+ v1
=0
6 dt
6 dt
1
1 dv 2
5
1
- v1 +
+
v2 = v(t)
6
4 dt
12
4
The equations can be simplified into
dv1
dv 2
+ 6v1
=0
(D + 6)v1 Dv2 = 0
dt
dt
dv 2
- 2v1 + 3
+ 5v2 = 3v(t)
dt
- 2v1 + (3D + 5)v2 = 3v(t)
Department of Electrical and Electronics Engineering
p50
(D + 6)v1 Dv2 = 0
- 2v1 + (3D + 5)v2 = 3v(t)
(1)
(2)
(D + 7D + 10)v1 = Dv(t)
which yields the differential equation for v1.
2
d v1
dv1
d
+7
+ 10v1 =
v(t)
2
dt
dt
dt
Department of Electrical and Electronics Engineering
p51
(D + 7D + 10) v2 = (D + 6)v(t)
or
d v2
dv 2
d
+7
+ 10v2 =
v(t) + 6v(t)
2
dt
dt
dt
p52
t=0
3
i1
1
F i2
20
1H
di2
+ 20 (i2 i1 ) dt = 0
4i1 + 20 (i1 i2 ) dt = v(t) and
dt
Differentiating,
di1
dv(t)
4
+ 20i1 20i2 =
dt
dt
d2i2
+ 20i2 20i1 = 0
2
dt
p53
(1)
(2)
(D + 5D + 20) i1 = ( D + 5) v(t)
1
4
d i1
di1
+5
+ 20 i1 =
2
dt
dt
1
4
d v(t)
+ 5 v(t)
2
dt
p54
(D + 5D + 20) i2 = 5v(t)
The differential equation for i2 is
2
d i2
di2
+5
+ 20 i2 = 5v(t)
2
dt
dt
p55
End
p57
p58
dt
dt
100V
100
i L ,ss (0 ) =
= 0 .1 A
1k
v C (0 ) = 0
0.1F
1H
1k
100V
+
-
iL,ss
p59
di
1
(1) L
+ Ri + idt = 0
dt
C
whose derivative is
0.1F
1k
i
1H
d2i
di 1
(2) L
+R
+ i=0
2
dt C
dt
At t=0+,
p60
0
di +
+
+
L
(0 ) + Ri(0 ) + vC (0 ) = 0
dt
which gives
di +
R +
(0 ) = i(0 ) = 100 A/s
dt
L
From (2), we get
d2i +
1
di +
1
+
(
0
)
=
[
R
(
0
)
+
i
(
0
)]
2
L
dt
C
dt
= -900 kA/s2
Department of Electrical and Electronics Engineering
p61
di1 +
di2 +
(0 ) and
(0 ) .
dt
dt
10
120V
At
t=0-,
we get
i1
20
1H
i2
20
1F
10
+
120V
20
iL(0-)
vC(0-)
-
120
iL (0 ) =
=4A
30
-
vC (0- ) = 20iL (0 ) = 80 V
p62
di1
(1)
+ 20i1 = 120
dt
6
(2) 20i2 + 10
120V
20
i1
i2dt = 120
1H
i2
20
1F
At t=0+, we get
i1(0+ ) = iL (0- ) = 4 A
v C (0 + ) = v C (0- ) = 80 V
From equation (2), we get
i2 (0+ ) =
1
20
[120 vC (0+ )] = 2 A
p63
di1
(1)
+ 20i1 = 120
dt
(2) 20i2 + 10
i2dt = 120
di1 +
(0 ) = 120 20i1(0+ ) = 40 A/s
dt
di2
To get an equation involving
, differentiate (2).
dt
We get
di2
20
+ 106 i2 = 0
dt
At t=0+, we get
di2 +
(0 ) = -100 kA/sec
dt
Department of Electrical and Electronics Engineering
p64
dt
dt
+
-
i1
R1
i2
1
i1dt + R1(i1 i2 ) = E
C
di2
L
+ (R 1 + R 2 )i2 R 1i1 = 0
dt
p65
(1)
(2)
1
i1dt + R1(i1 i2 ) = E
C
di2
L
+ (R 1 + R 2 )i2 R 1i1 = 0
dt
i2(0+ ) = 0
From (1), we get
E
i1(0 ) =
R1
+
p66
1
i1dt + R1(i1 i2 ) = E
(1)
C
di2
(2) L
+ (R 1 + R 2 )i2 R 1i1 = 0
dt
E
+
+
i1(0 ) =
i2(0 ) = 0
R1
di2 +
L
(0 ) + (R1 + R 2 )i2 (0+ ) R1i1(0+ ) = 0
dt
which gives
di2 +
R1
E
+
(0 ) =
i1(0 ) =
dt
L
L
p67
1
i1dt + R1(i1 i2 ) = E
(1)
C
di2
(2) L
+ (R 1 + R 2 )i2 R 1i1 = 0
dt
Differentiate equation (1). We get
1
di1
di2
i1 + R1
R1
=0
C
dt
dt
At t=0+, we get
1
di1 +
di2 +
+
i1(0 ) + R1
(0 ) R1
(0 ) = 0
C
dt
dt
or
di1 +
E
E
(0 ) = 2
dt
L R1 C
p68
R2=1k
i2
C1
i1 1H
i3
C2
vC1(0 ) + vC2 (0 ) = 18 V
C2=2C1=2F
R2
t=0-
iL (0 ) = 9 mA = iL (0 )
-
R1=2k
E=27V
+
-
R1
iL(0-)
vC1(0-)
vC2(0-)
-
p69
q=
idt
C1vC1(0- ) = C2vC2(0- )
vC1(0- ) = 2vC2 (0- )
vC1(0- ) = 12 V = vC1(0 + )
vC2 (0- ) = 6 V = vC2(0 + )
Department of Electrical and Electronics Engineering
p70
R2=1k
C2=2C1=2F
E
R1=2k
i2
C1
i1 1H
i3
C2
1
1
27 = R 2i1 +
i2dt +
i3dt
C1
C2
1
0 = R1(i2 i1 ) +
i2dt
C1
d
1
0=L
(i3 i1 ) +
i3dt
dt
C2
p71
(1)
27 = R 2i1 +
1
C1
i2dt +
1
C1
(2)
0 = R1(i2 i1 ) +
(3)
d
1
0 =L
(i3 i1 ) +
dt
C2
1
C2
i dt
3
i dt
2
i dt
3
1
+
+
i1(0 ) =
[27 vC1(0 ) vC2(0 )] = 9 mA
R2
+
p72
(1)
27 = R 2i1 +
1
C1
i2dt +
1
C1
(2)
0 = R1(i2 i1 ) +
(3)
d
1
0 =L
(i3 i1 ) +
dt
C2
1
C2
i dt
3
i dt
2
i dt
3
+
v
(
0
)
+
+
C1
i2 (0 ) = i1(0 )
= 3 mA
R1
p73
(1)
(2)
1
27 = R 2i1 +
C1
1
i2dt + C2 i3dt
1
0 = R1(i2 i1 ) +
i2dt
C1
di1
1
1
0 = R2
+
i2 +
i3
dt C1
C2
(5)
di2
di1
1
0 = R1
R1
+
i2
dt
dt C1
di1 +
1 1
1
+
(0 ) =
[ i2(0 ) +
i3(0+ )]
dt
R 2 C1
C2
= 3 A / s
Department of Electrical and Electronics Engineering
p74
(3)
(5)
d
1
(i3 i1 ) +
i3dt
dt
C2
di
di
1
0 = R1 2 R1 1 +
i2
dt
dt
C1
0 =L
di2 +
di1 +
1
(0 ) =
(0 )
i2 (0+ )
dt
dt
R1C1
= 4.5 A / s
At t=0+, we get from (3)
di3 +
di1 +
1
(0 ) =
(0 ) v C2 (0 + )
dt
dt
L
= 9 A / s
Department of Electrical and Electronics Engineering
p75
(4)
(5)
di1
1
1
+
i2 +
i3
dt C1
C2
di2
di1
1
0 = R1
R1
+
i2
dt
dt
C1
0 = R2
dt
C1 dt
C2 dt
d2i2
d2i1
1 di2 (7)
0 = R1
R1
+
2
2
C1 dt
dt
dt
From (6)
d2i1 +
2
(0
)
=
9
kA/sec
dt2
From (7)
d2i2 +
2
(0
)
=
11.25
kA/sec
dt2
p76
d
1
0 =L
(i3 i1 ) +
dt
C2
(3)
i dt
3
d2i3
d2i1
1
0 =L
L
+
i3
2
2
C2
dt
dt
or
d2i3 +
2
(0
)
=
9
kA/sec
dt2
p77
dv +
di +
(0 ) and
(0 ).
dt
dt
60V
20
1H
10
10-3F
60
iL (0 ) =
=3A
20
vC (0 ) = 60 V
60V
20
iL(0-)
10
vC(0-)
-
p78
di
+ 20i = v
dt
3
(2) 10i + 10
At t=0+, we get
20
i
1H
idt = v
+
v
- C
-
10
10-3F
i(0+ ) = iL (0 ) = 3 A
vC (0+ ) = vC (0 ) = 60 V
From equation (2), we get
10i(0 ) vC (0 ) = v(0 )
+
or
v(0 ) = 30 V
+
p79
(1)
di
+ 20i = v
dt
(2)
10i + 10
idt = v
di +
(0 ) = v(0+ ) 20i(0+ ) = 30 A/s
dt
Differentiate equation (2). We get
di
dv
3
10
+ 10 i =
dt
dt
At t=0+, we get
dv +
di +
(0 ) = 10 (0 ) 103 i(0 + ) = -2,700 V/s
dt
dt
Department of Electrical and Electronics Engineering
p80
iL (0 ) = 6 A = iL (0+ )
60V
vC (0 ) = 36 V = vC (0 )
4
+
-
6
iL(0-)
vC(0-)
-
p81
4 +v2
120V
v2 v1
= v1dt
(1)
6
120 v2
v2 v1
(2)
=
+
4
6
+v1
1
4
dv 2
dt
6
1H
1
F
4
REF
At t=0+,
v2 (0+ ) = vC (0+ ) = 36 V
From (1), we get
p82
(1)
v2 v1
=
6
v dt
1
120 v2
v2 v1
=
+
(2)
4
6
1
4
dv 2
dt
dv 2 +
(0 ) = 60 V/s
dt
Differentiate equation (1). We get
At t=0+,
dv1
dv 2
=
6v1
dt
dt
dv1 +
dv 2 +
(0 ) =
(0 ) 6v1(0 + ) = 60 V/s
dt
dt
Department of Electrical and Electronics Engineering
p83
End
p85
Trial Function
K (constant)
c (constant)
Ktm
Kt
ct
K cos t
K sin t
c1 cos t + c2 sin t
p86
p87
p88
dv
dv
+5
+ 4v = 2 sin 2t
2
dt
dt
p89
d2v
dv
+5
+ 4v = 2 sin 2t
2
dt
dt
Substituting the trial solution and its derivatives
into the differential equation, we get
-4c1 cos 2t - 4c2 sin 2t + 5(-2c1 sin 2t + 2c2 cos 2t)
+ 4(c1 cos 2t + c2 sin 2t) = 2 sin 2t
Department of Electrical and Electronics Engineering
p90
c1 = -0.2
and
c2 = 0
p91
d2i
di
2
+
3
+
2i
=
12t
dt
dt2
Find the steady-state response.
The characteristic equation is s2 + 3s + 2 = 0 with
roots s1 = -1 and s2 = -2.
The transient response is of the form
it(t) = K1-t + K2-2t
From the table, the trial solution for the steadystate response is
iss(t) = c1t2 + c2t + c3
Department of Electrical and Electronics Engineering
p92
diSS
= 2c1t + c2
dt
and
d2iSS
= 2c1
2
dt
Comparing coefficients,
2c1 = 12
6c1 + 2c2 = 0
2c3+ 3c2+ 2c1 = 0
Department of Electrical and Electronics Engineering
p93
di
(0) are known.
dt
p94
d2x
dx
+ 12
+ 36x = 18
2
dt
dt
Find the steady-state response.
The characteristic equation is
s2 + 12s + 36 = 0
with roots s1 = -6 and s2 = -6.
The transient response is of the form
xt(t) = K1-6t + K2t-6t
Department of Electrical and Electronics Engineering
p95
From the table, the trial solution for the steadystate response is
xss(t) = c1
and
d2xss dxss
=
=0
2
dt
dt
or c1 = 0.5
xSS = 0.5
p96
d2i
di
-4t
+
12
+
36i
=
18
dt
dt2
Formulate the complete response.
The transient response is of the form
it(t) = K1-6t + K2t-6t
The trial solution for an exponential is
iSS(t) = c-4t
and
diss
= 4c-4t
dt
d2iss
-4t
=
16c
dt2
p97
16c
4t
-4t
+ 12(-4c
-4t
) + 36(c
-4t
) = 18
4c = 18
or
c = 4.5
p98
d2i
di
-4t
+
12
+
36i
=
18
+
18
dt
dt2
Find the steady-state response.
The transient response is of the form
it(t) = K1-6t + K2t-6t
The right-hand side of the equation is the response
due to a constant source and an exponentially
decaying source. From the principle of
superposition, the trial solution is
iss(t) = K + c-4t
Department of Electrical and Electronics Engineering
p99
Differentiating, we get
diss
= 4c-4t
dt
and
d2iss
-4t
=
16c
dt2
p100
d2i
di
-6t
+
12
+
36i
=
18
dt
dt2
Formulate the steady-state response.
The transient response is of the form
it(t) = K1-6t + K2t-6t
The trial solution of the steady-state response is
iSS(t) = c-6t
This will not work as it is of the form as the first
term of the transient response.
Department of Electrical and Electronics Engineering
p101
diss
= 2ct-6t 6ct 2-6t
dt
d2iss
-6t
-6t
2 -6t
=
2c
24ct
+
36ct
2
dt
p102
p103
d2i
+ i = sin t
2
dt
d iss
= c1(-t cos t - 2sin t) + c2(-t sin t + 2cos t)
2
dt
Department of Electrical and Electronics Engineering
p104
p105
dnx
dn1x
dx
an n + an1 n1 + ... + a1
+ a0x = g(t)
dt
dt
dt
1. Find the transient response xt. This is generally
an exponential of the form
p106
d2x
dn1x
dx
values of x(0),
(0),
(0),
(0).
2
n 1
xt
dt
dx
x(t) = x ss + K1
s1t
+ K 2
s2 t
+ ... + Kn
snt
p107
t=0 4 1H
+
-
24V
i1
4
i2
2H
di1
+ 12i1 8i2 = 24
dt
di2
2
+ 12i2 8i1 = 0
dt
Department of Electrical and Electronics Engineering
(1)
(2)
p108
di1
+ 12i1 8i2 = 24
dt
(2)
di2
2
+ 12i2 8i1 = 0
dt
d2i1
di1
+ 18
+ 40i1 = 144
2
dt
dt
p109
d i2
di2
+ 18
+ 40i2 = 96
2
dt
dt
and
di1 3
i2 =
+ 2 i1 3
dt
di2 1 d2i1 3 di1
= 8 2 +2
dt
dt
dt
1
8
(3)
(4)
p110
d2i1
di1
+ 18
+ 40i1 = 144
2
dt
dt
This is the required differential equation for i1.
Solve for i1 in equation (2) and differentiate the
resulting equation. We get
i1 =
1
4
di2 3
di1
(5)
+ 2 i2
and
=
dt
dt
1
4
d2i2
+
2
dt
3
2
di2
dt
(6)
d2i2
di2
+ 18
+ 40i2 = 96
2
dt
dt
p111
s2 + 18s + 40 = 0
-2.6t
+ K 4
-15.4t
p112
d2i1ss
dt2
or
di1ss
+ 18
+ 40i1ss = 144
dt
i1,ss
144
=
= 3.6 A
40
d i2
di2
+ 18
+ 40i2 = 96
2
dt
dt
we get
96
i2,ss =
= 2.4 A
40
Department of Electrical and Electronics Engineering
forcing function
is a constant
(24V) the
steady-state
response of any
current or
voltage should
also be a
constant. Thus,
i1,ss = A
di1,ss/dt = 0
d2i1,ss/dt2 = 0
p113
12i1,ss 8i2,ss = 24
8i1,ss + 12i2,ss = 0
24V
i1,ss 8
i2,ss
p114
i1(0+ ) = i2 (0+ ) = 0
We ve previously formulated the mesh equations
di1
+ 12i1 8i2 = 24
dt
(1)
di2
(2)
2
+ 12i2 8i1 = 0
dt
di1 +
From (1), we get
(0 ) = 24 A/s
dt
di2 +
From (2), we get
(0 ) = 0
dt
Department of Electrical and Electronics Engineering
p115
di1
-2.6t
-15.4t
= !2.6K1"
! 15.4K 2"
dt
di2
-2.6t
-15.4t
= !2.6K 3"
! 15.4K 4"
dt
p116
i1(0 ) = 0 = 3.6 + K1 + K2
+
di1 +
(0 ) = 24 = 2.6K1 15.4K2
dt
-2.6t
1.14
-15.4t
-15.4t
+ 0.49
A
p117
I2
I1
t=0
+
-
24
4
i1
4
8
i2
p118
End
120V
-
b t=0
+
-
60V
+v1
6
1H
1
F
4
REF
p120
v(t)
From KCL, we get
for t 0
Node 1:
Node 2:
b t=0
+
-
+v1
6
1H
REF
v1 - v2
+ v1dt = 0
6
v2 - v(t) v2 v1 1 dv 2
+
+
=0
4
6
4 dt
1
F
4
(1)
(2)
p121
1 dv1
1 dv2
+ v1
=0
6 dt
6 dt
1
1 dv 2
5
1
- v1 +
+
v2 = v(t)
6
4 dt
12
4
The equations can be simplified into
dv1
dv 2
+ 6v1
=0
(D + 6)v1 Dv2 = 0
dt
dt
dv 2
- 2v1 + 3
+ 5v2 = 3v(t)
dt
- 2v1 + (3D + 5)v2 = 3v(t)
Department of Electrical and Electronics Engineering
p122
(D + 6)v1 Dv2 = 0
- 2v1 + (3D + 5)v2 = 3v(t)
(1)
(2)
(D + 7D + 10)v1 = Dv(t)
which yields the differential equation for v1.
2
d v1
dv1
d
+7
+ 10v1 =
v(t)
2
dt
dt
dt
Department of Electrical and Electronics Engineering
p123
(D + 7D + 10) v2 = (D + 6)v(t)
or
d v2
dv 2
d
+7
+ 10v2 =
v(t) + 6v(t)
2
dt
dt
dt
p124
iL (0 ) = 6 A = iL (0+ )
60V
vC (0 ) = 36 V = vC (0 )
4
+
-
6
iL(0-)
vC(0-)
-
p125
4 +v2
120V
v2 v1
= v1dt
(1)
6
120 v2
v2 v1
(2)
=
+
4
6
+v1
1
4
dv 2
dt
6
1H
1
F
4
REF
At t=0+,
v2 (0+ ) = vC (0+ ) = 36 V
From (1), we get
p126
(1)
v2 v1
=
6
v dt
1
120 v2
v2 v1
=
+
(2)
4
6
1
4
dv 2
dt
dv 2 +
(0 ) = 60 V/s
dt
Differentiate equation (1). We get
At t=0+,
dv1
dv 2
=
6v1
dt
dt
dv1 +
dv 2 +
(0 ) =
(0 ) 6v1(0 + ) = 60 V/s
dt
dt
Department of Electrical and Electronics Engineering
p127
d2v1
dv1
+7
+ 10v1 = 0
2
dt
dt
2
d v2
dv 2
+7
+ 10v2 = 720
2
dt
dt
(1)
(2)
v1(0+ ) = 0
v2(0+ ) = 36 V
dv1 +
dv 2 +
(0 ) =
(0 ) = 60 V/s
dt
dt
Department of Electrical and Electronics Engineering
p128
s + 7s + 10 = 0
v1t = K1
-2t
v2t = K 3
-2t
+ K2
-5t
+ K 4
-5t
Steady-state response:
We can draw the equivalent circuit at steady state.
4
v1,ss = 0
v2,ss
6
=
(120) = 72 V
10
+
-
120V
v1,ss
+
-
v2,ss
p129
d2v1
dv1
+7
+ 10v1 = 0
2
dt
dt
d2v2
dv 2
+7
+ 10v2 = 720
2
dt
dt
We get
v1,ss = 0
v2,ss
720
=
= 72 V
10
(1)
(2)
v1,ss = A
v2,ss = B
dv1,ss
=0
dt
dv2,ss
=0
dt
d2v1,ss
=0
2
dt
d2v1,ss
=0
2
dt
p130
dv1
= 2K1-2t 5K 2-5t
dt
dv 2
= 2K3-2t 5K 4-5t
dt
At t=0+, we get
v1(0 ) = 0 = K1 + K2
+
dv1 +
(0 ) = 60 = 2K1 5K 2
dt
p131
v2 (0 + ) = 36 = 72 + K3 + K 4
dv 2 +
(0 ) = 60 = 2K3 5K4
dt
Solving simultaneously, we get K3=-40 and
K4=4. The final expressions are
-2t
+ 4
V
-5t
t0
V
t 0
p132
V2
4
+
120
-
+
-
t=0
60V
+v2
+v1
6
1
1
F
4
REF
V1
p133
t=0 8 2H
+
-
v(t)
i1
i2
1H
di1
2
+ 12i1 4i2 = v(t)
dt
(1)
di2
+ 4i2 4i1 = 0
dt
(2)
p134
i1 =
and
di1
=
dt
1
4
di2
+ i2
dt
(3)
1
4
d2i2 di2
+
2
dt
dt
(4)
d2i2
di2
+ 10
+ 16i2 = 2v(t)
2
dt
dt
(5)
p135
d2i2
di2
+ 10
+ 16i2 = 40 cos 4t
2
dt
dt
(5)
s2 + 10s + 16 = 0
The roots are s1=-2 and s2=-8. Thus
i2,t = K1 2t + K2 8t
Forced Response: Since the source is sinusoidal,
= 4A sin 4t + 4B cos 4t
dt
d2i2,ss
= 16A cos 4t - 16B sin 4t
2
dt
Department of Electrical and Electronics Engineering
p136
d2i2
di2
+ 10
+ 16i2 = 40 cos 4t
2
dt
dt
(5)
i2,ss = sin 4t
Department of Electrical and Electronics Engineering
p137
Initial Conditions:
The circuit is initially
unenergized so
i1(0+)
i2(0+)
=0
t=0 8 2H
+
-
v(t)
i1
i2
1H
di1
2
+ 12i1 4i2 = 20 cos 4t
dt
di2
+ 4i2 4i1 = 0
dt
From (2), we get
(1)
(2)
di2
(0+) = 0
dt
p138
Complete response:
i2(t) = sin 4t + K1 2t + K2 8t
di2
= 4 cos 4t - 2K1 2t 8K2 8t
dt
0 = K1 + K2
0 = 4 - 2K1 8K2
Solving simultaneously, we get K1=-K2=-2/3. Thus
i2 (t) = sin 4t -
2
3
2 t
2
3
8 t
A t0
p139
i2
p140
10
+
-
vs(t)
2H
iL
8
+
vc
-
1
F
8
vs(t) = t2+3t+1
From KCL, we get
From KVL, we get
1 dv c 1
+ v c ! iL = 0
8 dt 8
diL
2
+ 10iL + vC = t2 + 3t + 1
dt
(1)
(2)
1 dvc 1
iL =
+ vc
8 dt 8
Department of Electrical and Electronics Engineering
p141
d2vc
dvc
2
+
6
+
9v
=
4t
+ 12t + 4
c
2
dt
dt
p142
d2vc
dvc
2
+
6
+
9v
=
4t
+ 12t + 4
c
2
dt
dt
(3)
dv c,ss
= 2c1t + c2
dt
and
d2vc,ss
dt
= 2c1
p143
We get
9c1t2 + (12c1+ 9c2)t + 2c1+ 6c2+9c3 = 4t2+12t+4
Comparing coefficients,
9c1 = 4
12c1+ 9c2 = 12
2c1+ 6c2+9c3 = 4
c1 = 0.4444
c2 = 0.7407
c3 = -0.1481
dvc
1
p144
Complete response:
vc(t) =0.4444t2 + 0.7407t 0.1481 + (K1 + K2t)-3t
dvc
= 0.8888t + 0.7407 + (-3K1 + K2 -3K2t)-3t
dt
Evaluating the complete response at t=0 and
substituting initial conditions
vc(0) = 1 = 0.1481 + K1
dv c
(0) = -1.5 = 0.7407-3K1 + K2
dt
K1 = 1.1481
K2 = 1.2036
p145
Numerical Methods
Solving differential equations is a fundamental
problem in science and engineering. Sometimes,
we can find closed-form solutions using calculus.
In general, however, there is no analytic solution
and the differential equation have to be solved
numerically.
Two methods for numerically approximating the
solution to ODEs are
w Euler Method
w Runge-Kutta Method
Department of Electrical and Electronics Engineering
p147
t2, y2
t3, y3
t1, y1
y(0)=b
t0, y0
t
t
p148
Euler Method
Consider the first-order differential equation
dx = f(x,t)
dt
with initial condition x(t0) = X0. Integration gives
x(t) =
=
or
t0
f(x, t) dt
f(x, t) dt +
x(t) = X0 +
t0
t0
f(x, t) dt
f(x, t) dt
p149
t 0 + t
f ( x , t )dt
t0
f ( x , t ) t0 ( t )
p150
v(t)
t=0
di
0.1
+ 10i = 20t
dt
di
or
= 200t 100i = f(i, t)
dt
0.1H
p151
= 0 + [200(0) 100(0)](0.001) = 0
= 0 + [200(0.001) 100(0)](0.001)
= 0.0002
i(0.003) = i(0.002) + f(i, t) t =0.002 (t)
p152
it = K
R
t
L
= K
-100t
diss
= K1
dt
p153
Substitution gives
10K1 = 20
and
0.1K1 + 10K2 = 0
iss = 2t 0.02 A
t0
t0
p154
Comparison of Results:
Time
Exact
Euler
Error
0.001
0.0000968
0.0000968
0.002
0.0003746
0.0002
0.0001746
0.003
0.0008164
0.00058
0.0002364
0.004
0.0014064
0.001122
0.0002844
0.005
0.0021306
0.0018098
0.0003208
p155
x = f(x, t) = A x + Bu
Substitution gives
Identity matrix
Step-size
p156
di1
2
+ 12i1 4i2 = v(t)
dt
di2
+ 4i2 4i1 = 0
dt
Department of Electrical and Electronics Engineering
p157
i L1
iL 2
iL1
iL 2
0 .5
0
v(t)
1 0
0 1
+ 0.02
0.88 0.04
0.08 0.92
p158
0.88 0.04
0.08 0.92
and
t=0.02
We get
iL1(t+t)
iL2(t+t)
0.88 0.04
iL1(t)
0.08 0.92
iL2(t)
0.88 0.04
iL1(0+)
0.08 0.92
iL2(0+)
0.2cos 4t
0
At t=0,
iL1(0.02)
iL2(0.02)
0.2
0
0.2
0
p159
iL1(t+t)
iL2(t+t)
0.88 0.04
iL1(t)
= 0.08 0.92
iL2(t)
0.2cos 4t
We ve found
iL1(0+)
iL2(0+)
0
0
At t=0.02 second:
iL1(0.04)
0.88 0.04
=
iL2(0.04)
0.08 0.92
iL1(0.02)
and
0.2
0
iL2(0.02)
0.1994
0
0.2
0
0.3754
0.016
At t=0.04 second:
iL1(0.06)
iL2(0.06)
0.88 0.04
0.3754
0.08 0.92
0.016
0.1974
0
0.5284
0.0448
p160
Comparison of Results
From a previous example, we got
i2 (t) = sin 4t - 23 2t + 23 8t A t 0
Comparing the actual value with the estimate,
Time
Actual
Euler
Error
0.02
0.00748
0.0
0.00748
0.04
0.02801
0.016
0.01201
0.06
0.05894
0.04475
0.01419
0.08
0.09800
0.08344
0.01456
p161
p162
Runge-Kutta Method
Euler s method is rarely used in practice because
truncation error per step size is relatively large. A
more popular method is the fourth-order RungeKutta method.
k1 = t f(xn, yn )
k 2 = t f(xn + 12 t, yn + 12 k1 )
k 3 = t f(xn + 12 t, yn + 12 k 2 )
and
k 4 = t f(xn + t, yn + k 3 )
yn+1 = yn + 16 k1 + 13 k 2 + 13 k 3 + 16 k 4
p163