Download as pdf or txt
Download as pdf or txt
You are on page 1of 79

ADVANCED ELECTRICAL CIRCUIT

BETI 1333
FIRST ORDER SOURCE-FREE RC AND RL CIRCUIT
Halyani binti Mohd Yassim1, Nurul Ashikin binti Mohd Rais2,
1halyani@utem.edu.my, 2nurulashikin@utem.edu.my,
LESSON OUTCOMES

At the end of this chapter, students are able:

to describe first order source-free RC and RL circuit

to illustrate output response of first order source-free RC and RL


circuit

2
SUBTOPICS

Source-free RC
Circuit

Source-free RL
Circuit

3
INTRODUCTION
𝑑𝑣 𝑑𝑖
𝑜𝑟 2. contains a
𝑑𝑡 𝑑𝑡
storage
1. using first element
order
differential
equation First Order
Circuit

4
SOURCE-FREE RC CIRCUIT
1. No
external
sources of
excitation

What?
2. Contains
several
resistors and
a capacitor
3. Output vc(t)
response =
Natural
response

5
SOURCE-FREE RC CIRCUIT
SERIES RC CIRCUIT PARALLEL RC CIRCUIT

Figure 1 Figure 2

6
SOURCE-FREE RC CIRCUIT
Source-free RC Circuit: By applying Kirchhoff’s Current Law:

IA IB 𝐼𝐴 + 𝐼𝐵 = 0
𝑣 𝑑𝑣
+𝐶 =0
𝑅 𝑑𝑡
Capacitor Law
Ohm’s Law

Output response:
Time constant
𝜏 = 𝑅𝐶
𝑣 𝑡 = 𝑉0 𝑒 −𝑡 𝜏
Figure 3
Initial voltage
across Capacitor

7
EXAMPLE 1
The switch in Figure 1 is opened at t = 0. Find v(t) for t ≥ 0.

Figure 4

8
SOLUTION 1
Step 1: Find initial voltage across capacitor, V0 Tips 1:
when t < 0. Initially, capacitor is not charged. When t < 0, it
acts like an open circuit.

Tips 2:
𝑣 0− = 𝑣(0)

Figure 5

𝑅1 4Ω
𝑣 𝑡 = 𝑉0 = 𝑉 = = 2𝑉
𝑅1 + 𝑅2 2 (4 + 10)Ω

9
SOLUTION 1
Step 2: Find time constant, 𝜏 for t ≥ 0. Tips 3:
When t ≥ 0, circuit in Figure 4 is reduced to Figure
6.

Figure 6

𝜏 = 𝑅1 𝐶 = 4Ω ∗ 0.5𝐹 = 2s

10
SOLUTION 1
Step 3: Find voltage across capacitor, v(t) for t ≥ 0.

Figure 7

𝑣 𝑡 = 𝑉0 𝑒 −𝑡 𝜏 = 2𝑒 −0.5𝑡 V

11
OUTPUT RESPONSE 1
Natural response of an RC circuit in Figure 4: V(1): Voltage across capacitor
V(2): Voltage source

𝑣 𝑡 = 𝑉0 𝑒 −𝑡 𝜏

Graph 1

12
SOURCE-FREE RL CIRCUIT
1. No
external
sources of
excitation

What?
2. Contains
several
resistors and
an inductor
3. Output iL(t)
response =
Natural
response

13
SOURCE-FREE RL CIRCUIT
SERIES RL CIRCUIT PARALLEL RL CIRCUIT

Figure 8 Figure 9

14
SOURCE-FREE RL CIRCUIT
Source-free RL Circuit: By applying Kirchhoff’s Voltage Law:

𝑉𝐴 + 𝑉𝐵 = 0
𝑑𝑖
𝐿 + 𝑖𝑅 = 0
𝑑𝑡 Ohm’s Law

Inductor Law

Output response:

Time constant
𝑖 𝑡 = 𝐼0 𝑒 −𝑡 𝜏 𝜏=𝑅
𝐿

Initial current
Figure 10 through inductor

15
EXAMPLE 2
The switch in Figure 11 is opened for t = 0. Find i(t) for t > 0.

Figure 11

16
SOLUTION 2
Step 1: Find initial current through inductor, I0 Tips 1:
when t < 0. Initially, inductor is not charged. When t < 0, it
acts like a short circuit.

Tips 2:
Current will flow to the less resistance.

Tips 3:
𝑖 0− = 𝑖(0)
Figure 12

𝑉2 5𝑉
𝑖 𝑡 = 𝐼0 = = = 5𝐴
𝑅 1Ω

17
SOLUTION 2
Step 2: Find time constant, 𝜏 for t > 0. Tips 4:
When t > 0, circuit in Figure 11 is reduced to
Figure 13.

Figure 13

𝐿 4𝐻
𝜏= = = 1𝑠
𝑅1 4Ω

18
SOLUTION 2
Step 3: Find current through inductor, i(t) for t > 0.

Figure 14

𝑖 𝑡 = 𝐼0 𝑒 −𝑡 𝜏 = 5𝑒 −𝑡 𝐴

19
OUTPUT RESPONSE 2
Natural response of an RL circuit in Figure 11: I(L1): Current across inductor
V(2): Voltage source

𝑣 𝑖𝑡 𝑡 ==𝑉0𝐼𝑒𝑒−𝑡−𝑡𝜏 𝜏
0

𝜏𝜏

Graph 2

20
SELF REVIEW QUESTIONS
1. A source-free circuit has no external sources 4. Given R = 4 Ω and C = 5 F. What is the time
of excitation. constant for this RC circuit?
TRUE FALSE a) 1 s b) 3s
c) 10 s d) 20 s
2. Name a storage element in a first order
source-free RC circuit. 5. An inductor in a source-free RL circuit with
Answer: _____________ L = 2 H and R = 10 Ω is being charged. What is
the time required for the inductor current to
3. Forced response is the behavior of a first decay 50 % of its initial value?
order source-free circuit.
a) 0.20 s b) 0.05 s
TRUE FALSE
c) 0.14 s d) 0.35 s

21
ANSWERS
1. TRUE
2. Capacitor
3. FALSE
4. d
5. c

22
Circuit Analysis Practice Problems for First Order and Second Order Circuits Spring 2018

Page 1 of 4
Circuit Analysis Practice Problems for First Order and Second Order Circuits Spring 2018

Page 2 of 4
Circuit Analysis Practice Problems for First Order and Second Order Circuits Spring 2018

Page 3 of 4
Circuit Analysis Practice Problems for First Order and Second Order Circuits Spring 2018

Page 4 of 4
Chapter 7
Response of First-order RL
and RC Circuits

7.1-2 The Natural Response of RL and RC


Circuits
7.3 The Step Response of RL and RC
Circuits
7.4 A General Solution for Step and Natural
Responses
7.5 Sequential Switching
7.6 Unbounded Response

1
Overview

Ch9-10 discuss “steady-state response” of


linear circuits to “sinusoidal sources”. The math
treatment is the same as the “dc response”
except for introducing “phasors” and
“impedances” in the algebraic equations.
From now on, we will discuss “transient
response” of linear circuits to “step sources”
(Ch7-8) and general “time-varying sources”
(Ch12-13). The math treatment involves with
differential equations and Laplace transform.
2
First-order circuit

A circuit that can be simplified to a Thévenin (or


Norton) equivalent connected to either a single
equivalent inductor or capacitor.

In Ch7, the source is either none (natural


response) or step source.
3
Key points

Why an RC or RL circuit is charged or


discharged as an exponential function of time?

Why the charging and discharging speed of an


RC or RL circuit is determined by RC or L/R?

What could happen when an energy-storing


element (C or L) is connected to a circuit with
dependent source?

4
Section 7.1, 7.2
The Natural Response of RL
and RC Circuits

1. Differential equation & solution of a


discharging RL circuit
2. Time constant
3. Discharging RC circuit

5
What is natural response?

It describes the “discharging” of inductors or


capacitors via a circuit of no dependent source.
No external source is involved, thus termed as
“natural” response.
The effect will vanish as t . The interval
within which the natural response matters
depends on the element parameters.

6
Circuit model of a discharging RL circuit

Consider the following circuit model:

For t < 0, the inductor L is short and carries a


current Is, while R0 and R carry no current.
For t > 0, the inductor current decreases and the
energy is dissipated via R.
7
Ordinary differential equation (ODE), initial condition (IC)

For t > 0, the circuit reduces to:

IC depends on initial
energy of the inductor:
i (0 ) i (0 ) I0 Is

By KVL, we got a first-order ODE for i(t):


d
L i(t ) Ri(t ) 0.
dt
where L, R are independent of both i, and t.
8
Solving the loop current

d
ODE : L i (t ) Ri (t ) 0, IC : i (0 ) I 0 I s ;
dt
di R
L(di ) Ri (dt ) 0, dt ,
i L
i ( t ) di R t i (t ) R t
dt , ln i i ( 0 ) t 0,
i (0) i L 0 L
i (t ) R
ln i (t ) ln i (0) ln t,
I0 L
t L
i (t ) I 0 e , where …time constant
R
9
Time constant describes the discharging speed

The loop current i(t) will drop to e-1 ( 37%) of its


initial value I0 within one time constant . It will
be <0.01I0 after elapsing 5 .
If i(t) is approximated by a linear function, it will
vanish in one time constant.

0.37 I 0

10
Solutions of the voltage, power, and energy

The voltage across R (or L) is:


0, for t 0 ,
v(t ) Ri(t ) t
…abrupt change at t = 0.
RI 0 e , for t 0.

The instantaneous power dissipated in R is:


p (t ) i 2 (t ) R I 02 Re 2t τ
, for t 0.

The energy dissipated in the resistor R is:


t t
2 2t τ
w p(t )dt I R e
0 dt
0 0
2t τ
w0 1 e , w0 LI 02 2 , for t 0.
initial energy stored in L
11
Example 7.2: Discharge of parallel inductors (1)

Q: Find i1(t), i2(t), i3(t), and the energies w1, w2


stored in L1, L2 in steady state (t ).

For t < 0: (1) L1, L2 are short, and (2) no current


flows through any of the 4 resistors,
i1 (0 ) 8 A, i2 (0 ) 4 A, i3 (0 ) 0,
w1 (0 ) (5 H)(8 A)2 2 160 J, w2 (0 ) (20)(4) 2 2 160 J.
12
Example 7.2: Solving the equivalent RL circuit (2)

For t > 0, switch is open, the initial energy stored


in the 2 inductors is dissipated via the 4 resistors.
The equivalent circuit becomes:
I0 = (8+4) = 12 A
Req =
Leq = (5H//20H) = 4 H v(0-) = 0 8

The solutions to i(t), v(t) are:


t 2t
Leq 4 i (t ) I 0e 12e A,
0.5 s,
Req 8 v(t ) Ri (t ) 96e 2t
V.
13
Example 7.2: Solving the inductor currents (3)

The two inductor currents i1(t), i2(t) can be


calculated by v(t):

2t
96e V

1 t 1 t
i1 (t ) i1 (0) v(t )dt 8 96e 2t dt 1.6 9.6e 2t
A.
L1 0 5 0
1 t 1 t
i2 (t ) i2 (0) v(t )dt 4 96e 2t dt 1.6 2.4e 2t
A.
L2 0 20 0
14
Example 7.2: Solutions in steady state (4)

Since 2t
i1 (t ) 1.6 9.6e 1.6 A,
2t
i2 (t ) 1.6 2.4e 1.6 A,
the two inductors form a closed current loop!

The energies stored in the two inductors are:


1
w1 (t ) (5 H)(1.6 A) 2 6.4 J,
2
1
w2 (t ) (20)( 1.6) 2 25.6 J,
2
which is ~10% of the initial energy in total.
15
Example 7.2: Solving the resistor current (5)

By current division, i3(t) = 0.6i4 (t), while i4 (t) can


be calculated by v(t):

i4

v(t ) 96e 2t 2t
i4 (t ) 9.6e A.
4 (15 // 10 ) 10
3 2t
i3 (t ) i4 (t ) 5.76e A.
5
16
Circuit model of a discharging RC circuit

Consider the following circuit model:

For t < 0, C is open and biased by a voltage Vg,


while R1 and R carry no current.
For t > 0, the capacitor voltage decreases and the
energy is dissipated via R.
17
ODE & IC

For t > 0, the circuit reduces to:

IC depends on initial
energy of the capacitor:
v (0 ) v (0 ) V0 Vg

By KCL, we got a first-order ODE for v(t):


d v(t )
C v(t ) 0.
dt R
where C, R are independent of both v, and t.
18
Solving the parallel voltage

d v(t )
ODE : C v(t ) 0, IC : v(0 ) V0 Vg ;
dt R
t
v(t ) V0 e , where RC …time constant

Reducing R (loss)
and parasitic C is
critical for high-
speed circuits.

19
Solutions of the current, power, and energy

The loop current is:


v(t ) 0, for t 0 ,
i (t ) …abrupt change at t = 0.
R V0 R e t
, for t 0.

The instantaneous power dissipated in R is:


v 2 (t ) V02 2t τ
p(t ) e , for t 0.
R R
The energy dissipated in the resistor R is:
t
2t τ CV02
w p (t )dt w0 1 e , w0 , for t 0.
0 2
initial energy stored in C
20
Procedures to get natural response of RL, RC circuits

1. Find the equivalent circuit.


2. Find the initial conditions: initial current I0
through the equivalent inductor, or initial voltage
V0 across the equivalent capacitor.
3. Find the time constant of the circuit by the
values of the equivalent R, L, C:
L R , or RC ;
4. Directly write down the solutions:
t t
i (t ) I 0e , v(t ) V0 e .
21
Section 7.3
The Step Response of
RL and RC Circuits

1. Charging an RC circuit
2. Charging an RL circuit

22
What is step response?

The response of a circuit to the sudden


application of a constant voltage or current
source, describing the charging behavior of the
circuit.
Step (charging) response and natural
(discharging) response show how the signal in a
digital circuit switches between Low and High
with time.

23
ODE and IC of a charging RC circuit

IC depends on
initial energy of
the capacitor:
v (0 ) v (0 ) V0

Derive the governing ODE by KCL:


v (t ) d dv 1
Is C v (t ), v Vf ,
R dt dt
where RC , V f I s R are the time constant
and final (steady-state) parallel voltage. 24
Solving the parallel voltage, branch currents

dv 1 dv 1
v Vf , dt ,
dt v Vf
v(t ) dv 1 t v (t ) V f t v (t ) V f t
dt , ln , e ,
V0 v IsR 0 V0 V f V0 V f
t
v (t ) V f V0 V f e .
The charging and discharging processes have
the same speed (same time constant = RC).
The branch currents through C and R are:
d V0 t v(t )
iC (t ) C v(t ) Is e , iR (t ) , for t 0.
dt R R 25
Example 7.6 (1)

Q: Find vo(t), io(t) for t 0.

For t < 0, the switch is connected to Terminal 1


for long, the capacitor is an open circuit:
60 k
vo (0 ) ( 40 V) 30 V, io (0 ) 0.
( 20 60) k
26
Example 7.6 (2)

At t 0+, the “charging circuit” with two terminals


2 and G can be reduced to a Norton equivalent:

vo (0 ) vo (0 ) +
v0
V0 30 V
Is 1.5 mA
27
Example 7.6 (3)

The time constant and the final capacitor


voltage of the charging circuit are:
RC (40 k )(0.25 F) 10 ms,
Vf IsR ( 1.5 mA)(40 k ) 60 V.
t 100 t
vo (t ) V f V0 V f e 60 90e V.
t 100 t
io (t ) I s V0 R e 2.25e mA.

At the time of switching, the capacitor voltage


is continuous: vo (0 ) 30 V v0 (0 ) ( 60 90) V ,
while the current io jumps from 0 to -2.25 mA.
28
Charging an RL circuit

IC depends on
initial energy of
the inductor:
i (0 ) i (0 ) I0
d t
Vs Ri (t ) L i (t ), i (t ) If I0 If e ,
dt
L Vs
where , If .
R R
The charging and discharging processes have
the same speed (same time constant =L/R). 29
Section 7.5
Sequential Switching

30
What is and how to solve sequential switching?

Sequential switching means switching occurs n ( 2)


times.
It is analyzed by dividing the process into n+1 time
intervals. Each of them corresponds to a specific
circuit.
Initial conditions of a particular interval are determined
from the solution of the preceding interval. Inductive
currents and capacitive voltages are particularly
important for they cannot change abruptly.
Laplace transform (Ch12) can solve it easily.

31
Example 7.12: Charging and discharging a capacitor (1)

Q: v (t) = ? for t ≥ 0.

t =0
t =15 ms IC: V0 v (0 ) 0

For 0 t 15 ms, the 400-V source charges the


capacitor via the 100-k resistor, Vf = 400 V,
= RC =10 ms, and the capacitor voltage is:
t 100 t
v1 (t ) V f (V0 V f )e 400 400e V.
32
Example 7.12 (2)

For t > 15 ms, the capacitor is disconnected from


the 400-V source and is discharged via the 50-
k resistor, V0 = v1(15 ms) = 310.75 V, Vf = 0,
= RC = 5 ms. The capacitor voltage is:
( t t0 ) 200 ( t 0.015 )
v2 (t ) V0e 310.75e V.

33
Section 7.6
Unbounded Response

34
Definition and reason of unbounded response

An unbounded response means the voltages or


currents increase with time without limit.
It occurs when the Thévenin resistance is
negative (RTh < 0), which is possible when the
first-order circuit contains dependent sources.

35
Example 7.13: (1)

Q: vo(t) = ? for t ≥ 0.

For t > 0, the capacitor seems to “discharge”


(not really, to be discussed) via a circuit with a
current-controlled current source, which can be
represented by a Thévenin equivalent. 36
Example 7.13 (2)

Since there is no independent source, VTh = 0,


while RTh can be determined by the test source
method:

vT vT vT
iT 7 ,
10 k 20 k 20 k
RTh vT iT -5 k 0.
37
Example 7.13 (3)

For t 0, the equivalent circuit and governing


differential equation become:

V0 vo (0 ) 10 V, RC 25 ms 0,
t 40 t
vo (t ) V0e 10e V. ..grow without limit.
38
Why the voltage is unbounded?
Since 10-k , 20-k resistors are in parallel,
i10k = 2i , the capacitor is actually charged (not
discharged) by a current of 4i !
Charging effect will increase vo, which will in turn
increase the charging current (i = vo/20 k ) and
vo itself. The positive feedback makes vo soaring.
6i

2i
39
Lesson for circuit designers & device fabrication
engineers

Undesired interconnection between a capacitor


and a sub-circuit with dependent source (e.g.
transistor) could be catastrophic!

40
Key points

Why an RC or RL circuit is charged or


discharged as an exponential function of time?

Why the charging and discharging speed of an


RC or RL circuit is determined by RC or L/R?

What could happen when an energy-storing


element (C or L) is connected to a circuit with
dependent source?

41
1

Understanding Energy Transfer between capacitor and inductor


>>rlc_gui
2
3
4
5
6
7
8
9
10

n=0:1:1000;
nts=0.1*n;
vc=exp(-0.05*nts).*(10*cos(0.6304*nts)+0.7931*sin(0.6304*nts));
ic=0.5*(-0.05*exp(-0.05*nts).*(10*cos(0.6304*nts)+0.7931*sin(0.6304*nts))+exp(-0.05*nts).*(-
6.304*sin(0.6304*nts)+0.5*cos(0.6304*nts)));
wc=0.25*(vc.*vc);
il=exp(-0.05*nts).*(-3.172*sin(0.6304*nts));
wl=2.5*(il.*il);
vl=5*(-0.05*exp(-0.05*nts).*(-3.172*sin(0.6304*nts))+exp(-0.05*nts).*(-2*cos(0.6304*nts)));

figure
subplot(6,1,1)
plot(ic)
grid on;
grid minor;
title('Capacitor Current')

subplot(6,1,2)
plot(vc)
grid on;
grid minor;
title('Capacitor Voltage')

subplot(6,1,3)
plot(wc)
grid on;
grid minor;
title('Capacitor Energy')

subplot(6,1,4)
plot(vl)
grid on;
grid minor;
title('Inductor Voltage')

subplot(6,1,5)
plot(il)
grid on;
grid minor;
title('Inductor Current')

subplot(6,1,6)
plot(wl)
grid on;
11

grid minor;
title('Inductor Energy')

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////

n=0:1:1000;
nts=0.1*n;
vc=exp(-0.05*nts).*(10*cos(0.6304*nts)+0.7931*sin(0.6304*nts));
ic=0.5*(-0.05*exp(-0.05*nts).*(10*cos(0.6304*nts)+0.7931*sin(0.6304*nts))+exp(-0.05*nts).*(-
6.304*sin(0.6304*nts)+0.5*cos(0.6304*nts)));
wc=0.25*(vc.*vc);
il=exp(-0.05*nts).*(-3.172*sin(0.6304*nts));
wl=2.5*(il.*il);
vl=5*(-0.05*exp(-0.05*nts).*(-3.172*sin(0.6304*nts))+exp(-0.05*nts).*(-2*cos(0.6304*nts)));

figure
plot(ic, 'LineWidth',2)
grid on;
grid minor;
hold on;
plot(vc, 'LineWidth',2)
plot(wc, 'LineWidth',3)
legend('Capacitor Current','Capacitor Voltage','Capacitor Energy')
hold off;

figure
plot(vl,'LineWidth',2)
hold on;
grid on;
grid minor;
plot(il,'LineWidth',2)
plot(wl,'LineWidth',3)
legend('Inductor Voltage','Inductor Current','Inductor Energy')
hold off;

figure
plot(vc, 'LineWidth',2)
grid on;
grid minor;
hold on;
plot(wc, 'LineWidth',3)
12

legend('Capacitor Voltage','Capacitor Energy')


hold off;

figure
plot(il,'LineWidth',2)
hold on;
grid on;
grid minor;
plot(wl,'LineWidth',3)
legend('Inductor Current','Inductor Energy')
hold off;

figure
plot(wc, 'LineWidth',3)
grid on;
grid minor;
hold on
plot(wl,'LineWidth',3)
hold off
legend('Capacitor Energy','Inductor Energy')
hold off;

figure
plot(ic, 'LineWidth',2)
hold on;
grid on;
grid minor;
plot(vc, 'LineWidth',2)
plot(wc, 'LineWidth',3)
plot(vl, 'LineWidth',2)
plot(il, 'LineWidth',2)
plot(wl, 'LineWidth',3)
legend('Capacitor Current','Capacitor Voltage','Capacitor Energy','Inductor Voltage','Inductor Current','Inductor Energy')
hold off;

figure
plot(vc, 'LineWidth',2)
hold on;
grid on;
grid minor;
plot(il, 'LineWidth',2)
legend('Capacitor Voltage','Inductor Current')
hold off;

You might also like