Sunteți pe pagina 1din 32

Chapter 4

Circuit Analysis with Laplace Transforms

T
his chapter presents applications of the Laplace transform. Several examples are given to illus-
trate how the Laplace transformation is applied to circuit analysis. Complex impedance, com-
plex admittance, and transfer functions are also defined.

4.1 Circuit Transformation from Time to Complex Frequency


In this section we will derive the voltage-current relationships for the three basic passive circuit
devices, i.e., resistors, inductors, and capacitors in the complex frequency domain.
a. Resistor
The time and complex frequency domains for purely resistive circuits are shown in Figure 4.1.
Time Domain Complex Frequency Domain
+
iR t v R t = Ri R t + V R s = RI R s
vR t vR t IR s VR s
R
i R t = -----------
- VR s I R s = -------------
-
R R
 R


Figure 4.1. Resistive circuit in time domain and complex frequency domain
b. Inductor
The time and complex frequency domains for purely inductive circuits is shown in Figure 4.2.
Time Domain Complex Frequency Domain

di L + V L s = sLI L s – Li L 0
+ v L t = L -------
dt
`
sL 
iL t IL s VL s iL 0
vL t L
` I L s = ------------- + --------------
t
1 VL s
i L t = ---
L ³–f vL dt  
Ls s

 + Li L 0

Figure 4.2. Inductive circuit in time domain and complex frequency domain
c. Capacitor
The time and complex frequency domains for purely capacitive circuits is shown in Figure 4.3.

Signals and Systems with MATLAB Applications, Second Edition 4-1


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

Time Domain Complex Frequency Domain


dv C + 1- 
+ i C t = C --------- ----- I C s = sCV C s – Cv C 0
dt sC +
C + iC t
 IC s

vC t t IC s vC 0
1 VC s V C s = -----------
 v C t = ----
C ³–f iC dt 
sC
- + ----------------
s
 + vC 0
 ----------------
 s
Figure 4.3. Capacitive circuit in time domain and complex frequency domain
Note:
In the complex frequency domain, the terms sL and 1 e sC are called complex inductive impedance,
and complex capacitive impedance respectively. Likewise, the terms and sC and 1 e sL are called com-
plex capacitive admittance and complex inductive admittance respectively.
Example 4.1
Use the Laplace transform method to find the voltage v C t across the capacitor for the circuit of
Figure 4.4, given that v C 0  = 6 V .

vS :
+
C +
 
vC t
12u 0 t V 1F

Figure 4.4. Circuit for Example 4.1


Solution:
We apply KCL at node A as shown in Figure 4.5.

R iR A
vS :
+
C + iC
 
vC t
12u 0 t V 1F

Figure 4.5. Application of KCL for the circuit of Example 4.1


Then,
iR + iC = 0
or

4-2 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Circuit Transformation from Time to Complex Frequency

v C t – 12u 0 t dv C
------------------------------------- + 1 ˜ --------- = 0
1 dt
or
dv
--------C- + v C t = 12u 0 t (4.1)
dt
The Laplace transform of (4.1) is
sV C s – v C 0 + V C s = 12

------
s
or
12
s + 1 V C s = ------ + 6
s
or
6s + 12-
V C s = ------------------
s s + 1
By partial fraction expansion,
6s + 12 r r2
V C s = ------------------- = ----1 + ---------------
-
s s + 1 s s + 1

r 1 = 6s + 12-
----------------- = 12
s + 1 s=0

6s + 12
r 2 = ------------------ = –6
s s = –1
Therefore,
12 6 –t –t
V C s = ------ – ----------- œ 12 – 6e = 12 – 6e u 0 t = v C t
s s+1
Example 4.2
Use the Laplace transform method to find the current i C t through the capacitor for the circuit of
Figure 4.6, given that v C 0  = 6 V .

vS : iC t
+
C +
 
vC t
12u 0 t V 1F

Figure 4.6. Circuit for Example 4.2

Signals and Systems with MATLAB Applications, Second Edition 4-3


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

Solution:
This is the same circuit as in Example 4.1. We apply KVL for the loop shown in Figure 4.7.

R :
vS
+
C +
 iC t 
vC t
12u 0 t V 1F

Figure 4.7. Application of KVL for the circuit of Example 4.2


t
1
Ri C t + ----
C ³–f iC t dt = 12u 0 t

and with R = 1 and C = 1 , we get


t
iC t + ³–f iC t dt = 12u 0 t (4.2)

Next, taking the Laplace transform of both sides of (4.2), we get



IC s vC 0 12
I C s + -----------
- + ---------------- = ------
s s s

§1 + 1
--- · I C s = ------ – --- = ---
12 6 6
© s¹ s s s

§ ----------
s+1 ·
- I s = 6
---
© s ¹ C s
or
6 –t
I C s = ----------- œ i C t = 6e u 0 t
s+1
Check: From Example 4.1,
–t
v C t = 12 – 6e u 0 t
Then,
dv C dv d –t –t
i C t = C --------- = --------C- = 12 – 6e u 0 t = 6e u 0 t + 6G t (4.3)
dt dt dt

The presence of the delta function in (4.3) is a result of the unit step that is applied at t = 0 .

4-4 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Circuit Transformation from Time to Complex Frequency

Example 4.3
In the circuit of Figure 4.8, switch S 1 closes at t = 0 , while at the same time, switch S 2 opens. Use
the Laplace transform method to find v out t for t ! 0 .

is t
t = 0 2A
S2
t = 0 R1 L 1 0.5 H

`
1F
+
S1 2: i L1 t
0.5 H
`
C +
R2 v out t
 v 0 = 3 V
C 1: L 2

Figure 4.8. Circuit for Example 4.3
Solution:
Since the circuit contains a capacitor and an inductor, we must consider two initial conditions One
is given as v C 0  = 3 V . The other initial condition is obtained by observing that there is an initial
current of 2 A in inductor L 1 ; this is provided by the 2 A current source just before switch S 2
opens. Therefore, our second initial condition is i L1 0  = 2 A .

For t ! 0 , we transform the circuit of Figure 4.8 into its s-domain* equivalent shown in Figure 4.9.

1
`

+
+


1/s 2 0.5s 1V

+
 3/s
1 0.5s
`V out s


Figure 4.9. Transformed circuit of Example 4.3
In Figure 4.9 the current in L 1 has been replaced by a voltage source of 1 V . This is found from the
relation
 1
L 1 i L1 0 = --- u 2 = 1 V (4.4)
2
The polarity of this voltage source is as shown in Figure 4.9 so that it is consistent with the direction
of the current i L1 t in the circuit of Figure 4.8 just before switch S 2 opens.

* Henceforth, for convenience, we will refer the time domain as t-domain and the complex frequency domain as s-
domain

Signals and Systems with MATLAB Applications, Second Edition 4-5


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

The initial capacitor voltage is replaced by a voltage source equal to 3 e s .


Applying KCL at node , we get
V out s – 1 – 3 e s V out s V out s
------------------------------------------ + ----------------- + ----------------- = 0 (4.5)
1es+2+se2 1 se2
and after simplification

2s s + 3 -
V out s = ------------------------------------------ (4.6)
3 2
s + 8s + 10s + 4

We will use MATLAB to factor the denominator D s of (4.6) into a linear and a quadratic factor.
p=[1 8 10 4]; r=roots(p) % Find the roots of D(s)
r =
-6.5708
-0.7146 + 0.3132i
-0.7146 - 0.3132i
y=expand((s + 0.7146  0.3132j)*(s + 0.7146 + 0.3132j))% Find quadratic form
y =
s^2+3573/2500*s+3043737/5000000
3573/2500 % Find coefficient of s
ans =
1.4292
3043737/5000000 % Find constant term
ans =
0.6087
Therefore,
2s s + 3 2s s + 3
V out s = ------------------------------------------- = ---------------------------------------------------------------------- (4.7)
3 2 2
s + 8s + 10s + 4 s + 6.57 s + 1.43s + 0.61
Now, we perform partial fraction expansion.
2s s + 3 r1 r2 s + r3
V out s = ---------------------------------------------------------------------- = ------------------
- + ----------------------------------------
- (4.8)
2 2
s + 6.57 s + 1.43s + 0.61 s + 6.57 s + 1.43s + 0.61

2s s + 3
r 1 = -----------------------------------------
2
= 1.36 (4.9)
s + 1.43s + 0.61 s = – 6.57

4-6 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Circuit Transformation from Time to Complex Frequency

The residues r 2 and r 3 are found from the equality


2
2s s + 3 = r 1 s + 1.43s + 0.61 + r 2 s + r 3 s + 6.57 (4.10)

Equating constant terms of (4.10), we get


0 = 0.61r 1 + 6.57r 3

and by substitution of the known value of r 1 from (4.9), we get

r 3 = – 0.12

Similarly, equating coefficients of s 2 , we get


2 = r1 + r2
and using the known value of r 1 , we get

r 2 = 0.64 (4.11)
By substitution into (4.8),
1.36 0.64s – 0.12 1.36 0.64s + 0.46 – 0.58
V out s = ------------------- + ----------------------------------------- = ------------------- + ------------------------------------------------------- *
s + 6.57 s 2 + 1.43s + 0.61 s + 6.57 s 2 + 1.43s + 0.51 + 0.1
or
s + 0.715 – 0.91 -
1.36 - + 0.64 -------------------------------------------------------
V out s = ------------------ 2 2
s + 6.57 s + 0.715 + 0.316
1.36 0.64 s + 0.715 0.58
= ------------------- + -------------------------------------------------------- – -------------------------------------------------------- (4.12)
s + 6.57 s + 0.715 2 + 0.316 2 s + 0.715 2 + 0.316 2
1.36 0.64 s + 0.715 1.84 u 0.316
= ------------------- + -------------------------------------------------------- – --------------------------------------------------------
s + 6.57 s + 0.715 + 0.316 s + 0.715 2 + 0.316 2
2 2

Taking the Inverse Laplace of (4.12), we get


– 6.57t – 0.715t – 0.715t
v out t = 1.36e + 0.64e cos 0.316t – 1.84e sin 0.316t u 0 t (4.13)

0.64s – 0.12 -
* We perform these steps to express the term ----------------------------------------
2
in a form that resembles the transform pairs
s + 1.43s + 0.61
– at s+a - – at Z
e cos Ztu 0 t œ -------------------------------
2 2
and e sin Ztu 0 t œ -------------------------------
2
- . The remaining steps are carried out in
2
s + a + Z s + a + Z
(4.12).

Signals and Systems with MATLAB Applications, Second Edition 4-7


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

4.2 Complex Impedance Z(s)


Consider the s – domain RLC series circuit of Figure 4.10, where the initial conditions are assumed
to be zero.
sL
R

`
+
+ V out s
 I s 1-
-----
VS s sC

Figure 4.10. Series RLC circuit in s-domain
1
For this circuit, the sum R + sL + -----
- represents the total opposition to current flow. Then,
sC

VS s
I s = ----------------------------
- (4.14)
R + sL + ----- 1-
sC

and defining the ratio V s s e I s as Z s , we get

VS s 1-
Z s { ------------- = R + sL + ----- (4.15)
I s sC

and thus, the s – domain current I s can be found from

VS s
I s = ------------
- (4.16)
Z s

where

1
Z s = R + sL + ------ (4.17)
sC

We recall that s = V + j Z . Therefore, Z s is a complex quantity, and it is referred to as the complex


input impedance of an s – domain RLC series circuit. In other words, Z s is the ratio of the voltage
excitation V s s to the current response I s under zero state (zero initial conditions).

Example 4.4
Find Z s for the circuit of Figure 4.11. All values are in : (ohms).

4-8 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Complex Impedance Z(s)

+
1 1es
VS s s
` s
`

Figure 4.11. Circuit for Example 4.4
Solution:
First Method:
We will first find I s , and we will compute Z s from (4.15). We assign the voltage V A s at node
A as shown in Figure 4.12.
1 VA s 1es
+ A
I s
VS s s
` s
`

Figure 4.12. Circuit for finding I s in Example 4.4
By nodal analysis,
VA s – VS s VA s VA s
--------------------------------- + -------------- + ------------------ = 0
1 s s+1es

§ 1 + 1--- + -----------------
1
- · V s = VS s
© s s+1es ¹ A

3
s +1
V A s = ------------------------------------
3 2
- ˜ VS s
s + 2s + s + 1

The current I s is now found as

VS s – VA s § 3
s +1 · 2
2s + 1 -
I s = --------------------------------
- = ¨ 1 – ------------------------------------- ¸ V S s = ------------------------------------
3 2
˜ VS s
1 © s + 2s + s + 1 ¹
3 2
s + 2s + s + 1
and thus,
VS s 3
s + 2s + s + 1
2
Z s = ------------
- = ------------------------------------- (4.18)
I s 2s + 1
2

Second Method:

Signals and Systems with MATLAB Applications, Second Edition 4-9


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

We can also compute Z s by successive combinations of series and parallel impedances, as it is


done with series and parallel resistances. For this example, we denote the network devices as
Z 1 Z 2 Z 3 and Z 4 shown in Figure 4.13.

1 1es
a
Z1 Z3
Z s s
` Z2 s
`Z 4

b
Figure 4.13. Computation of the impedance of Example 4.4 by series  parallel combinations
To find the equivalent impedance Z s , looking to the right of terminals a and b , we start on the
right side of the network and we proceed to the left combining impedances as we combine resis-
tances. Then,
Z s = > Z 3 + Z 4 || Z 2 @ + Z 1

2 3 3 2
s s + 1 e s s +1 s +s s + 2s + s + 1
Z s = -------------------------- + 1 = ---------------------------- + 1 = ----------------- + 1 = ------------------------------------- (4.19)
s+s+1es 2
2s + 1 e s 2s + 1
2
2s + 1
2

We observe that (4.19) is the same as (4.18).

4.3 Complex Admittance Y(s)


Consider the s – domain GLC parallel circuit of Figure 4.14 where the initial conditions are zero.

+
1-

IS s
V s G -----
sL ` sC

Figure 4.14. Parallel GLC circuit in s-domain
For this circuit,
1
GV s + ------ V s + sCV s = I s
sL

§ G + -----
1
- + sC· V s = I s
© sL ¹

Defining the ratio I S s e V s as Y s , we get

I s 1 1
Y s { ----------- = G + ------ + sC = ---------- (4.20)
V s sL Z s

4-10 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Complex Admittance Y(s)

and thus the s – domain voltage V s can be found from

IS s
V s = ----------- (4.21)
Y s

where

1
Y s = G + ------ + sC (4.22)
sL

We recall that s = V + j Z . Therefore, Y s is a complex quantity, and it is referred to as the complex


input admittance of an s – domain GLC parallel circuit. In other words, Y s is the ratio of the cur-
rent excitation I S s to the voltage response V s under zero state (zero initial conditions).

Example 4.5
Compute Z s and Y s for the circuit of Figure 4.15. All values are in : (ohms). Verify your
answers with MATLAB.
`

13s
8es 10 20

Z s
Y s
` 5s 16 e s

Figure 4.15. Circuit for Example 4.5


Solution:
It is convenient to represent the given circuit as shown in Figure 4.16.

Z1

Z s  Y s Z2 Z3

Figure 4.16. Simplified circuit for Example 4.5


where

Signals and Systems with MATLAB Applications, Second Edition 4-11


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

2
Z 1 = 13s + 8 13s + 8-
--- = -------------------
s s

Z 2 = 10 + 5s

16 4 5s + 4
Z 3 = 20 + ------ = -----------------------
s s
Then,
4 5s + 4
10 + 5s § -----------------------·
Z2 Z3 2 © s ¹
13s + 8- + ---------------------------------------------------
Z s = Z1 + ----------------- = ------------------- -
Z2 + Z3 s 4 5s + 4
10 + 5s + -----------------------
s
4 5s + 4
10 + 5s § -----------------------·
2 © s
13s + 8- + ---------------------------------------------------- ¹ 13s 2 + 8 20 5s 2 + 14s + 8
= ------------------- - = -------------------- + -------------------------------------------
s 2 s 2
5s + 10s + 4 5s + 4
---------------------------------------------------- 5s + 30s + 16
s
4 3 2
65s + 490s + 528s + 400s + 128
= -------------------------------------------------------------------------------------
2
s 5s + 30s + 16
Check with MATLAB:
syms s; z1 = 13*s + 8/s; z2 = 5*s + 10; z3 = 20 + 16/s; z = z1 + z2 * z3 / (z2+z3)
z =
13*s+8/s+(5*s+10)*(20+16/s)/(5*s+30+16/s)
z10 = simplify(z)
z10 =
(65*s^4+490*s^3+528*s^2+400*s+128)/s/(5*s^2+30*s+16)
pretty(z10)
4 3 2
65 s + 490 s + 528 s + 400 s + 128
-------------------------------------
2
s (5 s + 30 s + 16)
The complex input admittance Y s is found by taking the reciprocal of Z s , that is,
2
Y s = ---------- s 5s + 30s + 16
1 = ------------------------------------------------------------------------------------
- (4.23)
Z s 4 3
65s + 490s + 528s + 400s + 128
2

4-12 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Transfer Functions

4.4 Transfer Functions


In an s – domain circuit, the ratio of the output voltage V out s to the input voltage V in s under
zero state conditions, is of great interest in network analysis. This ratio is referred to as the voltage
transfer function and it is denoted as G v s , that is,

V out s
G v s { ----------------- (4.24)
V in s

Similarly, the ratio of the output current I out s to the input current I in s under zero state condi-
tions, is called the current transfer function denoted as G i s , that is,

I out s
G i s { ---------------- (4.25)
I in s

The current transfer function of (4.25) is rarely used; therefore, from now on, the transfer function
will have the meaning of the voltage transfer function, i.e.,

V out s
G s { ----------------- (4.26)
V in s

Example 4.6
Derive an expression for the transfer function G s for the circuit of Figure 4.17, where R g repre-
sents the internal resistance of the applied (source) voltage V S , and R L represents the resistance of
the load that consists of R L , L , and C .

+
RL

Rg

`
L v out
vg
+ C



Figure 4.17. Circuit for Example 4.6
Solution:
No initial conditions are given, and even if they were, we would disregard them since the transfer
function was defined as the ratio of the output voltage V out s to the input voltage V in s under

Signals and Systems with MATLAB Applications, Second Edition 4-13


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

zero initial conditions. The s – domain circuit is shown in Figure 4.18.

+
RL
Rg

V in s
sL
`V out s

+
 1
------
sC

Figure 4.18. The s-domain circuit for Example 4.6
The transfer function G s is readily found by application of the voltage division expression of the
s – domain circuit of Figure 4.18, i.e.,
R L + sL + 1 e sC
V out s = --------------------------------------------------- V in s
R g + R L + sL + 1 e sC
Then,
V out s R L + Ls + 1 e sC
G s = ----------------
- = --------------------------------------------------
- (4.27)
V in s R g + R L + Ls + 1 e sC

Example 4.7
Compute the transfer function G s for the circuit of Figure 4.19 in terms of the circuit constants
R 1 R 2 R 3 C 1 and C 2 Then, replace the complex variable s with jZ , and the circuit constants with
their numerical values and plot the magnitude G s = V out s e V in s versus radian frequency Z .

C2 10 nF
R2 40 K
R1 R3

200 K 50K
vin vout
C1
25 nF

Figure 4.19. Circuit for Example 4.7


Solution:
The complex frequency domain equivalent circuit is shown in Figure 4.20.

4-14 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Transfer Functions

1/sC2
R2
R1 R3
1 2
V1 s V2 s
Vin (s) Vout (s)
1/sC1

Figure 4.20. The s-domain circuit for Example 4.7


Next, we write nodal equations at nodes 1 and 2.
At node 1,
V 1 s – V in s V1 V 1 s – V out s V 1 s – V 2 s
---------------------------------- + --------------
- + ------------------------------------
- + -------------------------------- = 0 (4.28)
R1 1 e sC 1 R2 R3
At node 2,

V2 s – V1 s V out s
- = -----------------
------------------------------- - (4.29)
R3 1 e sC 2

Since V 2 s = 0 (virtual ground), we express (4.29) as

V 1 s = – sR 3 C 2 V out s (4.30)

and by substitution of (4.30) into (4.28), rearranging, and collecting like terms, we get:

§ ----
1 1
- + ---- 1
- + sC 1 · – sR 3 C 2 – ----
- + ---- 1 1
- V s = ----- V in s
© R1 R2 R3 ¹ R 2 out R1
or
V out s –1
G s = -----------------
- = ----------------------------------------------------------------------------------------------------
- (4.31)
V in s § 1 1 1 · 1
R1 ----- + ----- + ----- + sC 1 sR 3 C 2 + -----
© R1 R2 R3 ¹ R2

By substitution of s with jZ and the given values for resistors and capacitors, we get
–1
G j Z = -------------------------------------------------------------------------------------------------------------------------------------------------------------
-
5 § 1 –8 · 4 –8 1
2 u 10 ------------------- + j 2.5 u 10 Z j 5 u 10 u 10 Z + ----------------4
© 20 u 10 3 ¹ 4 u 10
or

Signals and Systems with MATLAB Applications, Second Edition 4-15


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

V out j Z –1
G j Z = --------------------- = ------------------------------------------------------------------------ (4.32)
V in j Z – 6
2.5 u 10 Z – j5 u 10 Z + 5
2 –3

We use MATLAB to plot the magnitude of (4.32) on a semilog scale with the following code:
w=1:10:10000; Gs=1./(2.5.*10.^(6).*w.^25.*j.*10.^(3).*w+5);
semilogx(w,abs(Gs)); grid; hold on
xlabel('Radian Frequency w'); ylabel('|Vout/Vin|');
title('Magnitude Vout/Vin vs. Radian Frequency')
The plot is shown in Figure 4.21. We observe that the given op amp circuit is a second order low-
pass filter whose cutoff frequency ( – 3 dB ) occurs at about 700 r e s .

Figure 4.21. G jZ versus Z for the circuit of Example 4.7

4-16 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Summary

4.5 Summary
x The Laplace transformation provides a convenient method of analyzing electric circuits since
integrodifferential equations in the t – domain are transformed to algebraic equations in the
s – domain .

x In the s – domain the terms sL and 1 e sC are called complex inductive impedance, and com-
plex capacitive impedance respectively. Likewise, the terms and sC and 1 e sL are called complex
capacitive admittance and complex inductive admittance respectively.
x The expression
1
Z s = R + sL + ------
sC
is a complex quantity, and it is referred to as the complex input impedance of an s – domain
RLC series circuit.

x In the s – domain the current I s can be found from

VS s
I s = ------------
-
Z s
x The expression
1
Y s = G + ------ + sC
sL
is a complex quantity, and it is referred to as the complex input admittance of an s – domain
GLC parallel circuit.

x In the s – domain the voltage V s can be found from

IS s
V s = -----------
Y s

x In an s – domain circuit, the ratio of the output voltage V out s to the input voltage V in s
under zero state conditions is referred to as the voltage transfer function and it is denoted as
G s , that is,
V out s
G s { -----------------
V in s

Signals and Systems with MATLAB Applications, Second Edition 4-17


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

4.6 Exercises
1. In the circuit of Figure 4.22, switch S has been closed for a long time, and opens at t = 0 . Use
the Laplace transform method to compute i L t for t ! 0 .

t = 0 R1

S 10 :
L
20 :
i t `
1 mH +
R2 
L 32 V

Figure 4.22. Circuit for Exercise 1


2. In the circuit of Figure 4.23, switch S has been closed for a long time, and opens at t = 0 . Use
the Laplace transform method to compute v c t for t ! 0 .

R1 t = 0 R3 R4

6 K: S 30 K: 20 K:

60 K: C +
+ R2 v t R5
 40  C
72 V ------ PF 10 K:
9

Figure 4.23. Circuit for Exercise 2


3. Use mesh analysis and the Laplace transform method, to compute i 1 t and i 2 t for the circuit
of Figure 4.24, given that i L (0  = 0 and v c (0  = 0 .

L1 R2
`

2H 3:

`1 H
R1 1: L2
+
 C +
i1 t i2 t
+
v1 t = u0 t  
1F
v 2 t = 2u 0 t

Figure 4.24. Circuit for Exercise 3

4-18 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Exercises

4. For the s – domain circuit of Figure 4.25,


a. compute the admittance Y s = I 1 s e V 1 s

b. compute the t – domain value of i 1 t when v 1 t = u 0 t , and all initial conditions are zero.

I1 s VC s
R1  R3

+
1: 1es 3:

+
+ R2 1:
 

V1 s R4 2: V 2 s = 2V C s

Figure 4.25. Circuit for Exercise 4

5. Derive the transfer functions for the networks (a) and (b) of Figure 4.26.

R L

+ + +
` +
C
V in s V out s V in s R V out s

 (b)
 (a)
 

Figure 4.26. Networks for Exercise 5

6. Derive the transfer functions for the networks (a) and (b) of Figure 4.27.

C R

+ + + +

V in s V out s
`V out s
R V in s L

(b)
 (a)   

Figure 4.27. Networks for Exercise 6

7. Derive the transfer functions for the networks (a) and (b) of Figure 4.28.

Signals and Systems with MATLAB Applications, Second Edition 4-19


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

`
+ L C + + R +
V in s R V out s V in s
L
`V out s

(a) (b)
   

Figure 4.28. Networks for Exercise 7

8. Derive the transfer function for the networks (a) and (b) of Figure 4.29.

R2
C

R1 R2 R1 C

V in s V in s V out s
V out s

(a) (b)
Figure 4.29. Networks for Exercise 8
9. Derive the transfer function for the network of Figure 4.30. Using MATLAB, plot G s versus
frequency in Hertz, on a semilog scale.

R4 R1 = 11.3 k:
R2 = 22.6 k:
R3 R3=R4 = 68.1 k:

R1 R2 C1=C2 = 0.01 PF

V out s
V in s C1

C2

Figure 4.30. Network for Exercise 9

4-20 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Solutions to Exercises

4.7 Solutions to Exercises



1. At t = 0 the t – domain circuit is as shown below and the 20 : resistor is shorted out by the
inductor.
S 10 :
L
20 :
i t `
1 mH +

L 32 V

Then,
32
iL t = ------ = 3.2 A
t=0
- 10


and thus the initial condition has been established as i L 0 = 3.2 A

For all t ! 0 the t – domain and s – domain circuits are as shown below.

IL s

`
–3
10 s

i L 0 = 3.2 A
20 :
` 20 :

1 mH +
 –3
Li L 0 = 3.2 u 10 V

From the s – domain circuit above we get


–3
3.2 u 10 3.2 – 20000t
I L s = ------------------------- = ----------------------- œ 3.2e u0 t = iL t
–3
20 + 10 s s + 20000


2. At t = 0 the t – domain circuit is as shown below.

iT t
6 K: 30 K: + 20 K:
i2 t
+ 60 K: vC t 10 K:

72 V


Then,

Signals and Systems with MATLAB Applications, Second Edition 4-21


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

 72 V 72 V 72 V
i T 0 = ------------------------------------------------------------ = ------------------------------------- = ----------------- = 2 mA
6 K: + 60 K: __ 60 K: 6 K: + 30 K: 36 K:
and
 1 
i 2 0 = --- i T 0 = 1 mA
2
Therefore, the initial condition is
 
v C 0 = 20 K: + 10 K: ˜ i 2 0 = 30 K: ˜ 1 mA = 30 V

For all t ! 0 the s – domain circuit is as shown below.

30 K:
VR = VC s
20 K: 6
1 VC s 9 u 10
-------------------
---------------------------------
–6 - 40s +
60 K: 40 e 9 u 10 s 10 K:
+ VR 22.5 K:
 +
 
30 e s 30 e s

60 K: + 30 K: __ 20 K: + 10 K: = 22.5 K:

3 3
22.5 u 10 30 30 u 22.5 u 10
6
- ˜ ------ = ------------------------------------------------------------
V C s = V R = ------------------------------------------------------------
3
-
9 u 10 e 40s + 22.5 u 10 s 6
9 u 10 e 40 + 22.5 u 10 s
3

3 3
30 u 22.5 u 10 e 22.5 u 10 30 30
= ---------------------------------------------------------------------------- = --------------------------------------------------- = --------------
6 3 6 4 10 +s
9 u 10 e 40 u 22.5 u 10 + s 9 u 10 e 90 u 10 + s
Then,
30 – 10t
V C s = -------------- œ 30e u 0 t V = v C t
s + 10

3. The s – domain circuit is shown below where z 1 = 2s , z 2 = 1 + 1 e s , and z 3 = s + 3

z3
z1
`

2s 3

+

1
z2 `s
1es + +
1es I1 s I2 s 

2es

4-22 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Solutions to Exercises

Then,
z 1 + z 2 I 1 s – z 2 I 2 s = 1 e s
– z 2 I 1 s + z 2 + z 3 I 2 s = – 2 e s
and in matrix form
z1 + z2 –z2 I1 s 1es
˜ =
–z2 z2 + z3 I2 s –2 e s
Using MATLAB we get
Z=[z1+z2 z2; z2 z2+z3]; Vs=[1/s 2/s]'; Is=Z\Vs; fprintf(' \n');...
disp('Is1 = '); pretty(Is(1)); disp('Is2 = '); pretty(Is(2))
Is1 =

2
2 s - 1 + s
-------------------------------
2 3
(6 s + 3 + 9 s + 2 s ) conj(s)
Is2 =

2
4 s + s + 1
- -------------------------------
2 3
(6 s + 3 + 9 s + 2 s ) conj(s)
Therefore,
2
s + 2s – 1 - (1)
I 1 s = -------------------------------------------
3 2
2s + 9s + 6s + 3
2
4s + s + 1
I 2 s = – -------------------------------------------- (2)
3 2
2s + 9s + 6s + 3
We express the denominator of (1) as a product of a linear and quadratic term using MATLAB.
p=[2 9 6 3]; r=roots(p); fprintf(' \n'); disp('root1 ='); disp(r(1));...
disp('root2 ='); disp(r(2)); disp('root3 ='); disp(r(3)); disp('root2 + root3 =');
disp(r(2)+r(3));...
disp('root2 * root3 ='); disp(r(2)*r(3))
root1 =
-3.8170

Signals and Systems with MATLAB Applications, Second Edition 4-23


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

root2 =
-0.3415 + 0.5257i
root3 =
-0.3415 - 0.5257i
root2 + root3 =
-0.6830
root2 * root3 =
0.3930
and with these values (1) is written as
2 r1 r2 s + r3
s + 2s – 1
I 1 s = ----------------------------------------------------------------------------------- = -------------------------- - (3)
- + ---------------------------------------------------
2
s + 3.817 ˜ s + 0.683s + 0.393 s + 3.817 s + 0.683s + 0.393
2

Multiplying every term by the denominator and equating numerators we get


2 2
s + 2s – 1 = r 1 s + 0.683s + 0.393 + r 2 s + r 3 s + 3.817

2
Equating s , s , and constant terms we get
r1 + r2 = 1
0.683r 1 + 3.817r 2 + r 3 = 2
0.393r 1 + 3.817r 3 = – 1

We will use MATLAB to find these residues.


A=[1 1 0; 0.683 3.817 1; 0.393 0 3.817]; B=[1 2 1]'; r=A\B; fprintf(' \n');...
fprintf('r1 = %5.2f \t',r(1)); fprintf('r2 = %5.2f \t',r(2)); fprintf('r3 = %5.2f',r(3))
r1 = 0.48 r2 = 0.52 r3 = -0.31
By substitution of these values into (3) we get
r1 r2 s + r3 0.52s – 0.31
0.48 - + ---------------------------------------------------
I 1 s = --------------------------
- + ---------------------------------------------------
- = -------------------------- - (4)
s + 3.817 s + 0.683s + 0.393
2 s + 3.817 s + 0.683s + 0.393
2

By inspection, the Inverse Laplace of first term on the right side of (4) is
0.48
------------------------ œ 0.48e – 3.82t (5)
s + 3.82
The second term on the right side of (4) requires some manipulation. Therefore, we will use the
MATLAB ilaplace(s) function to find the Inverse Laplace as shown below.
syms s t

4-24 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Solutions to Exercises

IL=ilaplace((0.52*s0.31)/(s^2+0.68*s+0.39));
pretty(IL)
1217 17 1/2 1/2
- ---- exp(- -- t) 14 sin(7/50 14 t)
4900 50

13 17 1/2
+ -- exp(- -- t) cos(7/50 14 t)
25 50
Thus,
– 3.82t – 0.34t – 0.34t
i 1 t = 0.48e – 0.93e sin 0.53t + 0.52e cos 0.53t

Next, we will find I 2 s . We found earlier that


2
4s + s + 1 -
I 2 s = – -------------------------------------------
3 2
2s + 9s + 6s + 3
and following the same procedure we have
2 r1 r2 s + r3
– 4s – s – 1
I 2 s = ----------------------------------------------------------------------------------- = -------------------------- - (6)
- + ---------------------------------------------------
2
s + 3.817 ˜ s + 0.683s + 0.393 s + 3.817 s 2 + 0.683s + 0.393

Multiplying every term by the denominator and equating numerators we get


2 2
– 4s – s – 1 = r 1 s + 0.683s + 0.393 + r 2 s + r 3 s + 3.817

2
Equating s , s , and constant terms we get
r1 + r2 = –4
0.683r 1 + 3.817r 2 + r 3 = – 1
0.393r 1 + 3.817r 3 = – 1

We will use MATLAB to find these residues.


A=[1 1 0; 0.683 3.817 1; 0.393 0 3.817]; B=[4 1 1]'; r=A\B; fprintf(' \n');...
fprintf('r1 = %5.2f \t',r(1)); fprintf('r2 = %5.2f \t',r(2)); fprintf('r3 = %5.2f',r(3))
r1 = -4.49 r2 = 0.49 r3 = 0.20
By substitution of these values into (6) we get
r1 r2 s + r3 0.49s + 0.20
– 4.49 - + ---------------------------------------------------
I 1 s = --------------------------
- + ---------------------------------------------------
- = -------------------------- - (7)
s + 3.817 s + 0.683s + 0.393
2 s + 3.817 s + 0.683s + 0.393
2

Signals and Systems with MATLAB Applications, Second Edition 4-25


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

By inspection, the Inverse Laplace of first term on the right side of (7) is
0.48
------------------------ œ – 4.47 e – 3.82t (8)
s + 3.82
The second term on the right side of (7) requires some manipulation. Therefore, we will use the
MATLAB ilaplace(s) function to find the Inverse Laplace as shown below.
syms s t
IL=ilaplace((0.49*s0.20)/(s^2+0.68*s+0.39)); pretty(IL)
167 17 1/2 1/2
---- exp(- -- t) 14 sin(7/50 14 t)
9800 50

49 17 1/2
+ --- exp(- -- t) cos(7/50 14 t)
100 50
Thus,
– 3.82t – 0.34t – 0.34t
i 2 t = – 4.47 e + 0.06e sin 0.53t + 0.49e cos 0.53t

4.

VC s

+

1 3
1es
+

+ 1
 
I1 s I2 s
V1 s 2 V 2 s = 2V C s

a. Mesh 1:
2 + 1 e s ˜ I1 s – I2 s = V1 s
or
6 2 + 1 e s ˜ I 1 s – 6I 2 s = 6V 1 s (1)
Mesh 2:
– I 1 s + 6I 2 s = – V 2 s = – 2 e s I 1 s (2)

Addition of (1) and (2) yields


12 + 6 e s ˜ I 1 s + 2 e s – 1 ˜ I 1 s = 6V 1 s
or

4-26 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Solutions to Exercises

11 + 8 e s ˜ I 1 s = 6V 1 s
and thus
I1 s 6 6s
Y s = ------------
- = --------------------- = ------------------
V 1 s 11 + 8 e s 11s + 8

b. With V 1 s = 1 e s we get

6s 1 6 6 e 11 6 – 8 e 11 t
I 1 s = Y s ˜ V 1 s = ------------------ ˜ --- = ------------------ = --------------------- œ ------ e = i1 t
11s + 8 s 11s + 8 s + 8 e 11 11

5.
Circuit (a):
R

+ +
1 e Cs
V in s V out s

 

1 e Cs
V out s = ----------------------- ˜ V in s
R + 1 e Cs
and
V out s 1 e Cs 1 e Cs 1 1 e RC
G s = ----------------
- = ----------------------- = ---------------------------------------- = -------------------- = -----------------------
V in s R + 1 e Cs RCs + 1 e Cs RCs + 1 s + 1 e RC

Circuit (b):
L
`

+ +

V in s R V out s

 

R
V out s = ---------------- ˜ V in s
Ls + R
and
V out s ReL -
R - = ------------------
G s = ----------------
- = ---------------
V in s Ls + R s+ReL

Both of these circuits are first-order low-pass filters.

Signals and Systems with MATLAB Applications, Second Edition 4-27


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

6.
Circuit (a):
C

+ +

V in s R V out s

 

R
V out s = ----------------------- ˜ V in s
1 e Cs + R
and
V out s R RCs s
G s = ----------------
- = ----------------------- = ------------------------ = -----------------------
V in s 1 e Cs + R RCs + 1 s + 1 e RC

Circuit (b):
R

+
+
V in s L
` V out s


Ls
V out s = ---------------- ˜ V in s
R + Ls
and
V out s Ls s
G s = ----------------
- = ---------------- = -------------------
V in s R + Ls s+ReL

Both of these circuits are first-order high-pass filters.


7.
Circuit (a):
`

+ L C +

V in s R V out s

 

R
V out s = ------------------------------------ ˜ V in s
Ls + 1 e Cs + R

4-28 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Solutions to Exercises

and
V out s R RCs R e L s
G s = ----------------
- = ------------------------------------ = --------------------------------------- = --------------------------------------------------
V in s Ls + 1 e Cs + R 2
LCs + 1 + RCs
2
s + R e L s + 1 e LC
This circuit is a second-order band-pass filter.
Circuit (b):
+ R +

V in s
L
`V out s

 

Ls + 1 e Cs
V out s = ------------------------------------ ˜ V in s
R + Ls + 1 e Cs
and
V out s Ls + 1 e Cs LCs + 1
2 2
s + 1 e LC
G s = ----------------
- = ------------------------------------ = --------------------------------------- = --------------------------------------------------
V in s R + Ls + 1 e Cs 2
LCs + RCs + 1
2
s + R e L s + 1 e LC
This circuit is a second-order band-elimination (band-reject) filter.
8.
Circuit (a):

R1 R2

V in s
V out s

2 R u 1 e Cs out V s z
Let z 1 = R 1 and z 2 = ------------------------- - = – ---2- , for this circuit
- and since for inverting op-amp ----------------
R 2 + 1 e Cs V in s z1

V out s – > R 2 u 1 e Cs e R 2 + 1 e Cs @ – R 2 u 1 e Cs –R1 C


G s = ----------------
- = -------------------------------------------------------------------------
- = ----------------------------------------
- = -------------------------
-
V in s R1 R 1 ˜ R 2 + 1 e Cs s + 1 e R2 C

This circuit is a first-order active low-pass filter.

Signals and Systems with MATLAB Applications, Second Edition 4-29


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

Circuit (b):
R2

R1 C

V in s V out s

V s z
Let z 1 = R 1 + 1 e Cs and z 2 = R 2 and since for inverting op-amp ----------------
out
- = – ---2- , for this circuit
V in s z1

V out s –R2 – R 2 e R 1 s
G s = ----------------
- = -------------------------
- = --------------------------
V in s R 1 + 1 e Cs s + 1 e R1C

This circuit is a first-order active high-pass filter.


9.
R4 R1 = 11.3 K:
R2 = 22.6 K:
R3 V1 R3=R4 = 68.1 K:

R1 R2 V3 C1=C2 = 0.01 PF

V2
V out s
V in s C1

C2

At Node V 1 :
V 1 s V 1 s – V out s
------------- + ------------------------------------- = 0
R3 R4
or
§ ----- 1- · V s = -----
1- + ----- 1
- V s (1)
©R R4 ¹ 1
R 4 out
3
At Node V 3 :
V3 s – V2 s V3 s
--------------------------------- + ---------------- = 0
R2 1 e C1 s

4-30 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications
Solutions to Exercises

and since V 3 s = V 1 s we express the last relation above as

V1 s – V2 s
- + C 1 sV 1 s = 0
--------------------------------
R2
or
§ -----
1
- + C 1 s· V 1 s = ------ V 2 s (2)
1
©R ¹ R 2
2

At Node V 2 :
V 2 s – V in s V 2 s – V 1 s V 2 s – V out s
---------------------------------- + --------------------------------- + ------------------------------------- = 0
R1 R2 1 e C2 s
or
§ ----- V in s V 1 s
- + ------ + C 2 s· V 2 s = --------------
1 1
- + ------------- + C 2 sV out s (3)
©R R2 ¹ R1 R2
1
From (1)
1 e R4 R3
V 1 s = --------------------------------------- V out s = ----------------------- V out s (4)
R3 + R4 e R3 R4 R3 + R4

From (2)
V 2 s = R 2 § ------ + C 1 s· V 1 s = 1 + R 2 C 1 s V 1 s
1
©R ¹
2

and with (4)


R3 1 + R2 C1 s
V 2 s = ------------------------------------ V out s (5)
R3 + R4

By substitution of (4) and (5) into (3) we get


R3 1 + R2 C1 s V in s 1 R3
§ -----
1
- + ------ + C 2 s· ------------------------------------ V out s = --------------
1
- + ------ ----------------------- V out s + C 2 sV out s
©R R2 ¹ R3 + R4 R1 R2 R3 + R4
1
or
§ ----- 1- + C s· R
1- + ----- 3 1 + R2 C1 s 1 R3 1
----------------------------------- - – C 2 s V out s = ------ V in s
- – ------ ----------------------
©R R 2 ¹ R3 + R4 R 2 R 3 + R 4 R 1
1 2

and thus
V out s 1
G s = ----------------
- = --------------------------------------------------------------------------------------------------------------------------------------------
V in s R3 1 + R2 C1 s 1 R3
R 1 § ------ + ------ + C 2 s· ------------------------------------ – ------ ----------------------- – C 2 s
1 1
©R R2 ¹ R3 + R4 R2 R3 + R4
1

By substitution of the given values and after simplification we get

Signals and Systems with MATLAB Applications, Second Edition 4-31


Orchard Publications
Chapter 4 Circuit Analysis with Laplace Transforms

7
7.83 u 10
G s = ---------------------------------------------------------------------
-
2 4 7
s + 1.77 u 10 s + 5.87 u 10
w=1:10:10000; s=j.*w; Gs=7.83.*10.^7./(s.^2+1.77.*10.^4.*s+5.87.*10.^7);...
semilogx(w,abs(Gs)); grid; hold on
xlabel('Radian Frequency w'); ylabel('|Vout/Vin|');
title('Magnitude Vout/Vin vs. Radian Frequency')

The plot above indicates that this circuit is a second-order low-pass filter.

4-32 Signals and Systems with MATLAB Applications, Second Edition


Orchard Publications

S-ar putea să vă placă și