Week11-First Order Circuits-EEF211E
Week11-First Order Circuits-EEF211E
Week11-First Order Circuits-EEF211E
First-Order Circuits
Week 11 (18th Dec 2023)
Fundamentals of Electric Circuits by C. Alexander and M. Sadiku, Seventh Edition (McGraw-Hill Education)
Introduction
• Study two types of simple circuits:
❑ Circuit: a resistor and capacitor RC circuit
❑ Circuit: a resistor and inductor RL circuit
• Analysis of RC and RL circuits by applying Kirchhoff’s law (KCL & KVL)
• Applying Kirchhoff’s law to pure resistive circuits: Algebraic equations
• Applying Kirchhoff’s law to RC & RL circuits: Differential equations
• Differential equations from RC & RL circuits are of the first-order circuit. Hence,
the circuits are known as first-order circuits.
• First-order circuit is characterized by a first-order differential equation.
• Two ways to excite these circuits:
❑ Initial conditions of the storage elements (source-free circuit). No independent element and
energy initially stored in the capacitive and inductive element. They may have dependent
sources.
❑ Exciting first-order circuits by independent sources.
The Source-Free RC Circuit
• Source-free RC circuit: dc source is suddenly disconnected.
• Energy already stored in the capacitor and released to the resistors.
• Objective: determine the circuit response
• Voltage across capacitor 𝑣(𝑡)
• Capacitor is initially charged. Assume 𝑡 = 0, the initial voltage is 𝑣 0 = 𝑉0
• Energy stored in the capacitor:
1 2
A source-free RC circuit
𝑤 0 = 𝐶 𝑉0 𝑎𝑡 𝑡 = 0 Initial energy stored
2
• Apply KCL to the top node: 𝑖𝐶 + 𝑖𝑅 = 0
𝑑𝑣 𝑣
• By definition: 𝑖𝐶 = 𝐶 and 𝑖𝑅 =
𝑑𝑡 𝑅
𝑑𝑣 𝑣 𝑑𝑣 𝑣 First-order
𝐶 + =0 ⇒ + =0 differential equation
𝑑𝑡 𝑅 𝑑𝑡 𝑅𝐶
The Source-Free RC Circuit
𝑑𝑣 𝑣 𝑑𝑣 𝑣 𝑑𝑣 1 Integrate both sides
+ =0 =− ⇒ =− 𝑑𝑡 of the equation
𝑑𝑡 𝑅𝐶 𝑑𝑡 𝑅𝐶 𝑣 𝑅𝐶
𝑑𝑣 1 𝑡 A is the constant of
න =− න 𝑑𝑡 𝑙𝑛𝑣 = − +𝐴
𝑣 𝑅𝐶 𝑅𝐶 the integral part
Constant
𝑡 𝑡
−𝑅𝐶 +𝐴
𝑡
−𝑅𝐶
𝑙𝑜𝑔𝑒 𝑣 = − +𝐴 𝑣 𝑡 = 𝑒 𝑣 𝑡 = 𝑒 𝑒𝐴
𝑅𝐶
𝑡
−𝑅𝐶
𝑣 𝑡 = 𝑉0 𝑒
The Source-Free RC Circuit
𝑡
− Voltage response of RC circuit is
𝑣 𝑡 = 𝑉0 𝑒 𝑅𝐶
exponential decay of the initial voltage
−
𝜏 𝜏
−𝑅𝐶 𝜏
At 𝑡 = 𝜏, 𝑣 𝑡 = 𝑉0 𝑒 𝑅𝐶 𝑉0 𝑒 = 𝑉0 𝑒 −1 ⇒ = 1 ⇒ 𝜏 = 𝑅𝐶
𝑅𝐶
𝑅 𝑖 𝑅𝑡
𝑙𝑛𝑖 − 𝑙𝑛𝐼0 = − 𝑡 + 0 ln( ) = −
𝐿 𝐼0 𝐿
𝑖 𝑅𝑡 𝑖 𝑅𝑡 𝑅𝑡 Natural response of RL
− −
𝑙𝑜𝑔𝑒 =− ⇒ =𝑒 𝐿 𝑖 𝑡 = 𝐼0 𝑒 𝐿 circuit is exponential
𝐼0 𝐿 𝐼0 decay of the initial current
𝐿 𝑡
−𝜏
𝜏= Time constant of inductor 𝑖 𝑡 = 𝐼0 𝑒
𝑅
The Source-Free RL Circuit
• When 𝑡 < 0, inductor is charged.
• When 𝑡 = 0, inductor excites the circuit by releasing the stored energy.
∞
−𝜏
• Inductor has an exponential decay due to 𝑒 term.
• Similar to capacitor, at time 𝑡 = 𝜏, current through the circuit is 36.8% smaller
than initial value.
𝑡
−𝜏
𝜏
−𝜏 𝐼0
𝑖 𝑡 = 𝐼0 𝑒 ⇒𝑖 𝜏 = 𝐼0 𝑒 = 1 = 0.368𝐼0
e
𝑡
−𝜏
𝑣𝑅 𝑡 = 𝑖𝑅 ⇒ 𝑣𝑅 𝑡 = 𝐼0 𝑅𝑒
• Power dissipated in the resistor:
2𝑡
𝑝 = 𝑣𝑅 𝑖 ⇒ 𝑝 = 𝐼0 2 𝑅𝑒 − 𝜏
The Source-Free RL Circuit
• Energy absorbed by the resistor:
𝑤 Take derivate of both
𝑝 = ⇒ 𝑤 = 𝑝𝑡 𝑑𝑤 = 𝑝𝑑𝑡 Integrate both sides
𝑡 sides of this equation
𝑡 𝑡 2𝑡 𝜏 2𝑡 𝐿
න 𝑑𝑤 = න 𝑝𝑑𝑡 𝑤𝑅 𝑡 = න 𝑝(𝑡)𝑑𝑡 ⇒ 𝑤𝑅 𝑡 = න 𝐼0 2 𝑅𝑒 − 𝜏 𝑑𝑡 2
= − 𝐼0 𝑅𝑒 −𝜏 , 𝜏=
0 0 2 𝑅
𝑡 1 2𝑡
1𝐿 2 −
2𝑡
2 −𝜏
𝑤𝑅 𝑡 = − 𝐼0 𝑅 𝑒 𝜏 𝑤𝑅 𝑡 = 𝐿 𝐼0 1 −𝑒
2𝑅 0 2
0 𝑡<0
𝑢 𝑡 =
1 𝑡>0
0 𝑡 < 𝑡0
𝑢 𝑡 − 𝑡0 = 𝑢 𝑡 is delayed
by 𝑡0 sec
1 𝑡 > 𝑡0
0 𝑡 < −𝑡0
𝑢 𝑡 + 𝑡0 = 𝑢 𝑡 is
advanced by
1 𝑡 > −𝑡0 𝑡0 sec
Unit Step Function
• An abrupt change in voltage and current can be represented by step function.
0 𝑡 < 𝑡0
𝑣 𝑡 = 𝑣 𝑡 = 𝑉0 𝑢 𝑡 − 𝑡0
1 𝑡 > 𝑡0
• If 𝑡0 = 0, 𝑣 𝑡 is simply
the step voltage 𝑉0 𝑢(𝑡)
Unit Impulse Function
• Derivative of the unit step function 𝑢(𝑡) is the unit impulse function which is represented by 𝛿(𝑡)
0 𝑡<0
𝑑
𝛿 𝑡 = 𝑢 𝑡 = undefined 𝑡=0
𝑑𝑡
0 𝑡>0
• The unit impulse function 𝛿(𝑡) is zero everywhere except at 𝑡=0, where it is undefined.
• The unit impulse may be regarded as an applied or resulting shock. It may be visualized
as a very short duration pulse of unit area.
• It can be expressed mathematically as:
0+
න 𝛿 𝑡 𝑑𝑡 = 1 The strength of the
0−
impulse function.
Unit Ramp Function
• Integral of the unit step function 𝑢(𝑡) is the unit ramp function r(𝑡):
𝑡
r 𝑡 = න 𝑢 𝑡 𝑑𝑡 = 𝑢 𝑡 . 𝑡
−∞
0 𝑡≤0
𝑟 𝑡 =
𝑡 𝑡≥0
Unit Ramp Function
• Delayed unit ramp function
0 𝑡 ≤ 𝑡0
𝑟 𝑡 − 𝑡0 =
𝑡 − 𝑡0 𝑡 ≥ 𝑡0
𝑡 𝑡
𝑑𝑢 𝑡 𝑑𝑟 𝑡
𝛿 𝑡 = 𝑢 𝑡 = 𝑢 𝑡 = න 𝛿 𝑡 . 𝑑𝑡 𝑟 𝑡 = න 𝑢 𝑡 . 𝑑𝑡
𝑑𝑡 𝑑𝑡 −∞ −∞
Step Response of an RC Circuit
• When the dc source of an RC circuit is suddenly applied, the voltage or current
source can be modeled as a step function, and the response is known as a step
response.
• The step response is the response of the circuit due to a sudden application of a
dc voltage or current source.
• Once the switch is closed, there is a sudden application of dc source. Thus, the
circuit can be replaced by the following circuit (on the right)
Step Response of an RC Circuit
• Assume 𝑉0 is the initial voltage on the capacitor.
• Voltage of a capacitor cannot change instantaneously,
0− : just before switching
𝑣 0− =𝑣 0+ = 𝑉0 0+ : just after switching
• Apply KCL after 𝑑𝑣 𝑣 − 𝑉𝑠 𝑢(𝑡) 𝑑𝑣 𝑣 𝑉𝑠 𝑢(𝑡)
switch is closed : 𝐶 𝑑𝑡 + 𝑅
=0 𝐶 + −
𝑑𝑡 𝑅 𝑅
=0
𝑑𝑣 𝑣 𝑉𝑠 𝑑𝑣 𝑣 − 𝑉𝑠 𝑑𝑣 dt
+ = =− =− Integrate
𝑑𝑡 𝑅𝐶 𝑅𝐶 𝑑𝑡 𝑅𝐶 𝑣 − 𝑉𝑠 𝑅𝐶
𝑣(𝑡) 𝑡 𝑣(𝑡) 𝑡
𝑑𝑣 1 t
න = −න 𝑑𝑡 ln 𝑣 − 𝑉𝑠 =−
𝑣(0) 𝑣 − 𝑉𝑠 0 𝑅𝐶 𝑉0 𝑅𝐶 0
𝑡 𝑣(𝑡) − 𝑉𝑠 𝑡
ln 𝑣(𝑡) − 𝑉𝑠 − ln 𝑉0 − 𝑉𝑠 = − +0 ln =−
𝑅𝐶 𝑉0 − 𝑉𝑠 𝑅𝐶
Step Response of an RC Circuit
𝑣(𝑡) − 𝑉𝑠 −
𝑡 𝑡
−𝑅𝐶
= 𝑒 𝑅𝐶 𝑣(𝑡) − 𝑉𝑠 = (𝑉0 − 𝑉𝑠 )𝑒 𝜏 = 𝑅𝐶
𝑉0 − 𝑉𝑠
𝑡
−𝜏
𝑣 𝑡 = 𝑉𝑠 + (𝑉0 − 𝑉𝑠 )𝑒 𝑡>0
𝑣 𝑡 : two components
Step Response of an RC Circuit
Assume 𝑉𝑠 > 𝑉0
Capacitor 𝑉0 𝑡<0
still charging 𝑣 𝑡 = 𝑡
−𝜏
𝑉𝑠 + (𝑉0 − 𝑉𝑠 )𝑒 𝑡>0
Initial Voltage
0 𝑡<0
If capacitor is initially 𝑣 𝑡 = 𝑡
uncharged, 𝑉0 = 0 𝑉𝑠 (1 − 𝑒 −𝜏
) 𝑡>0
When 𝑡 < 0, 𝑢 𝑡 = 0 𝑡
−𝜏
𝑣 𝑡 = 𝑉𝑠 1 − 𝑒 𝑢(𝑡)
When 𝑡 > 0, 𝑢 𝑡 = 1
Step Response of an RC Circuit
• Current through the capacitor (capacitor initially uncharged, 𝑉0 = 0 ):
𝑑𝑣 𝑑 𝑡
−𝜏 1 𝑡
−𝜏
𝑖 𝑡 =𝐶 =𝐶 𝑉 (1 − 𝑒 ) 𝑖 𝑡 = 𝐶 𝑉𝑠 𝑒 𝜏 = 𝑅𝐶 𝑡>0
𝑑𝑡 𝑑𝑡 𝑠 𝜏
1 𝑡
−𝜏 𝑉𝑠 −𝑡
𝑖 𝑡 =𝐶 𝑉𝑒 𝑖 𝑡 = 𝑒 𝜏 𝑢(𝑡)
𝑅𝐶 𝑠 𝑅
𝑡 𝑡 𝑡
−𝜏 −𝜏 −𝜏
𝑣 𝑡 = 𝑉𝑠 + (𝑉0 − 𝑉𝑠 )𝑒 𝑣 𝑡 = 𝑉𝑠 + 𝑉0 𝑒 − 𝑉𝑠 𝑒
𝑡 𝑡
− −
𝑣 𝑡 = 𝑉0 𝑒 𝜏 + 𝑉𝑠 (1 − 𝑒 𝜏) 𝑣 𝑡 : two components
𝑡
−𝜏
𝑣𝑛 :natural response 𝑣𝑛 = 𝑉0 𝑒 Storage energy in the capacitor
𝑣 = 𝑣𝑛 + 𝑣𝑓 𝑡
𝑣𝑓 :forced response −𝜏
𝑣𝑓 = 𝑉𝑠 (1 −𝑒 ) Independent source
𝑡
−𝜏
𝑣𝑡 :transient response 𝑣𝑡 = (𝑉0 −𝑉𝑠 )𝑒 Temporary part
𝑣 = 𝑣𝑡 + 𝑣𝑠𝑠
𝑣𝑠𝑠 :steady-state response 𝑣𝑠𝑠 = 𝑉𝑠 Permanent part
• 𝑣 0 : initial voltage
• 𝑣 ∞ : final or steady-state value.
• Step response of an RC circuit requires three parameters:
❑ The initial capacitor voltage 𝑣 0
❑ The final capacitor voltage 𝑣 ∞
❑ The time constant 𝜏 as 𝑣 0 reaches 𝑣 ∞
Complete response:
For 𝑡 > 0, the switch is at position B. Thevenin
resistance (equivalent resistance): 𝑅𝑇ℎ = 4 𝑘Ω
𝑡<0
𝑡>0
Apply KCL:
Step Response of an RL circuit
• When the switch is closed, there is a sudden of voltage source is applied and the circuit is
replaced by the following circuit (on the right)
• The voltage source (or current source) can be modeled as a step function (aka step response).
• Let the current response is sum of transient and steady-state response
𝑡
−𝜏 𝐿 𝑉𝑠 −
𝑡 𝑉𝑠
𝑖 = 𝑖𝑡 + 𝑖𝑠𝑠 𝑖𝑡 = 𝐴𝑒 𝜏= 𝑖𝑠𝑠 = 𝑖= 𝐴𝑒 𝜏 +
𝑅 𝑅 𝑅
• Current through inductor cannot change instantaneously: 𝑖 0+ = 𝑖 0− = 𝐼0
𝑉𝑠 𝑉𝑠 𝑉𝑠 𝑉𝑠 −𝑡
At 𝑡 = 0, 𝐼0 = 𝐴 + 𝐴 = 𝐼0 − 𝑖 𝑡 = + (𝐼0 − )𝑒 𝜏
𝑅 𝑅 𝑅 𝑅
Step Response of an RL circuit
• To find the complete response, RL circuit requires three parameters:
❑ The initial inductor current i 0
❑ The final inductor current i ∞
𝑡
−𝜏 Complete response
𝑖 𝑡 = 𝑖 ∞ + [𝑖 0 − 𝑖 ∞ ]𝑒
0 𝑡<0
If 𝐼0 = 0, 𝑖 𝑡 = 𝑉𝑠 𝑡
−𝜏
1−𝑒 𝑡>0
𝑅
When 𝑡 < 0, 𝑢 𝑡 = 0 𝑉𝑠 𝑡
−𝜏
𝑖 𝑡 = 1 − 𝑒 𝑢(𝑡)
When 𝑡 > 0, 𝑢 𝑡 = 1 𝑅
𝑑𝑖 𝑡
−𝜏
𝑣 𝑡 = 𝐿 ⇒ 𝑣 𝑡 = 𝑉𝑠 𝑒
𝑑𝑡
Example 8
Find 𝑖(𝑡) in the circuit of shown below for 𝑡 > 0. Assume that the switch has been
closed for a long time.
Solution:
When 𝑡 < 0, 3 Ω resistor is short-circuited and
inductor acts like short circuit (dc condition)
When 𝑡 > 0,
Example 9
At 𝑡 = 0, switch 1 in the circuit given below is closed, and switch 2 is closed 4 s
later. Find 𝑖(𝑡) for 𝑡 > 0. Calculate 𝑖 for 𝑡 = 2 𝑠 and 𝑡 = 5 𝑠 .
Solution:
Solution
First-Order Op Amp Circuit: Example 10
For the op amp circuit shown below, find 𝑣0 for 𝑡 > 0, given that 𝑣 0 = 3 𝑉. Let
𝑅𝑓 = 80 𝑘Ω, 𝑅1 = 20 𝑘Ω, and 𝐶 = 5 𝜇𝐹.
Solution:
Method 1: KCL at node 1:
Same equation as
source free RC
Solution
Method 2:
𝑡 > 0,
Capacitor acts like an open circuit
to dc and op amp circuit behaves
like an noninverting op amp.
Noninverting op amp:
𝑅𝑓
𝑣0 = (1 + )𝑣1
𝑅1
Example 12
Find the step response 𝑣0 (𝑡) for 𝑡 > 0 in the op amp circuit shown. Let
𝑣𝑖 = 2𝑢 𝑡 𝑉, 𝑅1 = 20 𝑘Ω, 𝑅𝑓 = 50 𝑘Ω, 𝑅2 = 𝑅3 = 10 𝑘Ω, and 𝐶 = 2 𝜇𝐹.
Solution:
Using Thevenin theorem, we may simplify the circuit.
Remove the capacitor and find the Thevenin equivalent
circuit