Circuit Analysis I With MATLAB Applications
Circuit Analysis I With MATLAB Applications
Steven T. Karris is the president and founder of Orchard Publications. He earned a bachelors
degree in electrical engineering at Christian Brothers University, Memphis, Tennessee, a mas-
ters degree in electrical engineering at Florida Institute of Technology, Melbourne, Florida, and
has done post-master work at the latter. He is a registered professional engineer in California
and Florida. He has over 30 years of professional engineering experience in industry. In addi-
tion, he has over 25 years of teaching experience that he acquired at several educational insti-
tutions as an adjunct professor. He is currently with UC Berkeley Extension.
Orchard Publications
Visit us on the Internet
www.orchardpublications.com
or email us: [email protected]
ISBN 0-9744239-3-9
$39.95
Circuit Analysis I
with MATLAB® Applications
Steven T. Karris
Orchard Publications
www.orchardpublications.com
Circuit Analysis I with MATLAB® Applications
Copyright © 2004 Orchard Publications. All rights reserved. Printed in Canada. No part of this publication may be
reproduced or distributed in any form or by any means, or stored in a data base or retrieval system, without the prior
written permission of the publisher.
Direct all inquiries to Orchard Publications, 39510 Paseo Padre Parkway, Fremont, California 94538, U.S.A.
URL: http://www.orchardpublications.com
Product and corporate names are trademarks or registered trademarks of the MathWorks®, Inc., and Microsoft®
Corporation. They are used only for identification and explanation, without intent to infringe.
ISBN 0-9744239-3-9
Disclaimer
The author has made every effort to make this text as complete and accurate as possible, but no warranty is implied.
The author and publisher shall have neither liability nor responsibility to any person or entity with respect to any loss
or damages arising from the information contained in this text.
This text is an introduction to the basic principles of electrical engineering. It is the outgrowth of
lecture notes prepared by this author while teaching for the electrical engineering and computer
engineering departments at San José State University, DeAnza college, and the College of San Mateo,
all in California. Many of the examples and problems are based on the author’s industrial experience.
It can be used as a primary text or supplementary text. It is also ideal for self-study.
This book is intended for students of college grade, both community colleges and universities. It
presumes knowledge of first year differential and integral calculus and physics. While some
knowledge of differential equations would be helpful, it is not absolutely necessary. Chapters 9 and 10
include step-by-step procedures for the solutions of simple differential equations used in the
derivation of the natural and forces responses. Appendices B and C provide a thorough review of
complex numbers and matrices respectively.
There are several textbooks on the subject that have been used for years. The material of this book is
not new, and this author claims no originality of its content. This book was written to fit the needs of
the average student. Moreover, it is not restricted to computer oriented circuit analysis. While it is true
that there is a great demand for electrical and computer engineers, especially in the internet field, the
demand also exists for power engineers to work in electric utility companies, and facility engineers to
work in the industrial areas.
Circuit analysis is comprised of numerous topics. It would be impractical to include all related topics
in a single text. This book, Circuit Analysis I with MATLAB® Applications, contains the standard
subject matter of electrical engineering. Accordingly, it is intended as a first course in circuits and the
material can be covered in one semester or two quarters. A sequel, Circuit Analysis II with MATLAB®
Applications, is intended for use in a subsequent semester or two subsequent quarters.
It is not necessary that the reader has previous knowledge of MATLAB®. The material of this text
can be learned without MATLAB. However, this author highly recommends that the reader studies
this material in conjunction with the inexpensive MATLAB Student Version package that is available
at most college and university bookstores. Appendix A of this text provides a practical introduction
to MATLAB. As shown on the front cover, a system of equations with complex coefficients can be
solved with MATLAB very accurately and rapidly. MATLAB will be invaluable in later studies such as
the design of analog and digital filters.
In addition to several problems provided at the end of each chapter, this text includes multiple-choice
questions to test and enhance the reader’s knowledge of this subject. Moreover, answers to these
questions and detailed solutions of all problems are provided at the end of each chapter. The rationale
is to encourage the reader to solve all problems and check his effort for correct solutions and
appropriate steps in obtaining the correct solution. And since this text was written to serve as a
self-study or supplementary textbook, it provides the reader with a resource to test his
knowledge.
The author has accumulated many additional problems for homework assignment and these are
available to those instructors who adopt this text either as primary or supplementary text, and
prefer to assign problems without the solutions. He also has accumulated many sample exams.
Like any other new book, this text may contain some grammar and typographical errors.
Accordingly, all feedback for errors, advice and comments will be most welcomed and greatly
appreciated.
Orchard Publications
Fremont, California
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Exercises ........................................................................................................................................................4-34
Answers to Exercises...................................................................................................................................4-43
Chapter 5
Chapter 6
Chapter 7
Phasor Circuit Analysis
Nodal Analysis ................................................................................................................................................ 7-1
Mesh Analysis ................................................................................................................................................. 7-5
Application of Superposition Principle.......................................................................................................7-7
Thevenin’s and Norton’s Theorems ...........................................................................................................7-8
Phasor Analysis in Amplifier Circuits .......................................................................................................7-12
Chapter 8
Chapter 9
Natural Response
The Natural Response of a Series RL circuit............................................................................................. 9-1
The Natural Response of a Series RC Circuit ......................................................................................... 9-10
Summary........................................................................................................................................................ 9-17
Exercises........................................................................................................................................................ 9-19
Answers to Exercises................................................................................................................................... 9-25
Chapter 10
Appendix A
Introduction to MATLAB®
MATLAB® and Simulink® ........................................................................................................................ A-1
Command Window....................................................................................................................................... A-1
Roots of Polynomials.................................................................................................................................... A-3
Polynomial Construction from Known Roots ......................................................................................... A-4
Evaluation of a Polynomial at Specified Values ....................................................................................... A-6
Rational Polynomials .................................................................................................................................... A-8
Using MATLAB to Make Plots ................................................................................................................ A-10
Subplots ........................................................................................................................................................ A-19
Multiplication, Division and Exponentiation.......................................................................................... A-20
Script and Function Files ........................................................................................................................... A-26
Display Formats .......................................................................................................................................... A-31
Appendix B
Appendix C
T
his chapter begins with the basic definitions in electric circuit analysis. It introduces the con-
cepts and conventions used in introductory circuit analysis, the unit and quantities used in cir-
cuit analysis, and includes several practical examples to illustrate these concepts.
q 1m q
Vacuum –7
F = 10 c 2 N
q=1 coulomb
The coulomb, abbreviated as C , is the fundamental unit of charge. In terms of this unit, the charge
– 19 18
of an electron is 1.6 × 10 C and one negative coulomb is equal to 6.24 × 10 electrons. Charge,
positive or negative, is denoted by the letter q or Q .
------ = lim ∆
i = dq -----q- (1.1)
dt ∆t → 0 ∆t
The unit of current is the ampere abbreviated as A and corresponds to charge q moving at the rate of
one coulomb per second. In other words,
1 ampere = 1----------------------------
coulomb- (1.2)
1 sec ond
Note: Although it is known that current flow results from electron motion, it is customary to think
of current as the motion of positive charge; this is known as conventional current flow.
To find an expression of the charge q in terms of the current i , let us consider the charge q trans-
ferred from some reference time t 0 to some future time t . Then, since
i = dq
------
dt
the charge q is
t
∫ t i dt
t
q t0
=
0
or
t
q( t ) – q ( t0 ) = ∫t i dt
0
or
t
q(t) = ∫t i d t + q ( t 0 )
0
(1.3)
Example 1.1
For the waveform of current i shown in Figure 1.2, compute the total charge q transferred between
a. t = 0 and t = 3 s
b. t = 0 and t = 9 s
i ( mA )
30
20
10
9
0
1 2 3 4 5 6 7 8 t (s)
−10
−20
−30
Figure 1.2. Waveform for Example 1.1
Solution:
We know that
t
∫0 i d t
t t
q t=0
= = Area 0
Convention: We denote the current i by placing an arrow with the numerical value of the current
next to the device in which the current flows. For example, the designation shown in Figure 1.3
indicates either a current of 2 A is flowing from left to right, or that a current of – 2 A is moving
from right to left.
2A −2 A
Device
Caution: The arrow may or may not indicate the actual conventional current flow. We will see later
in Chapters 2 and 3 that in some circuits (to be defined shortly), the actual direction of
the current cannot be determined by inspection. In such a case, we assume a direction
with an arrow for said current i ; then, if the current with the assumed direction turns out
to be negative, we conclude that the actual direction of the current flow is opposite to the
direction of the arrow. Obviously, reversing the direction reverses the algebraic sign of
the current as shown in Figure 1.3.
In the case of time-varying currents which change direction from time-to-time, it is convenient to
think or consider the instantaneous current, that is, the direction of the current which flows at some
particular instant. As before, we assume a direction by placing an arrow next to the device in which
the current flows, and if a negative value for the current i is obtained, we conclude that the actual
direction is opposite of that of the arrow.
Terminal A Terminal B
Figure 1.4. Current entering and leaving a two-terminal device
Let us assume that a constant value current (commonly known as Direct Current and abbreviated as
DC) enters terminal A and leaves the device through terminal B in Figure 1.4. The passage of cur-
rent (or charge) through the device requires some expenditure of energy, and thus we say that a poten-
tial difference or voltage exists “across” the device. This voltage across the terminals of the device is a
measure of the work required to move the current (or charge) through the device.
Example 1.2
In a two-terminal device, a current i ( t ) = 20 cos 100 π t mA enters the left (first) terminal.
a. What is the amount of current which enters that terminal in the time interval – 10 ≤ t ≤ 20 ms ?
b. What is the current at t = 40 ms ?
c. What is the charge q at t = 5 ms given that q ( 0 ) = 0 ?
Solution:
a.
–3
t 20 × 10 –3 –3
i = 20 cos 100 πt = 20 cos 100 π ( 20 × 10 ) – 20 cos 100 π ( – 10 × 10 )
t0 –3
– 10 × 10
= 20 cos 2π – 20 cos ( – π ) = 40 mA
b.
i t = 0.4 ms
= 20 cos 100 πt t = 0.4 ms
= 20 cos 40π = 20 mA
c.
–3 –3
5 × 10 5 × 10
q( t) = ∫0 i dt + q ( 0 ) = ∫0 20 cos 100 πt dt + 0
0.2 5 × 10
–3
0.2 π 0.2
= ------- sin 100πt = ------- sin --- – 0 = ------- C
π 0 π 2 π
* We will see in Chapter 5 that a two terminal device known as capacitor is capable of storing energy.
1 joule -
1 volt = ---------------------------- (1.4)
1 coulomb
Convention: We denote the voltage v by a plus (+) minus (−) pair. For example, in Figure 1.5, we
say that terminal A is 10 V positive with respect to terminal B or there is a potential
difference of 10 V between points A and B . We can also say that there is a voltage
drop of 10 V in going from point A to point B . Alternately, we can say that there is a
voltage rise of 10 V in going from B to A .
A
+
Two terminal
device
10 v
B −
Caution: The (+) and (−) pair may or may not indicate the actual voltage drop or voltage rise. As in
the case with the current, in some circuits the actual polarity cannot be determined by
inspection. In such a case, again we assume a voltage reference polarity for the voltage; if
this reference polarity turns out to be negative, this means that the potential at the (+)
sign terminal is at a lower potential than the potential at the (−) sign terminal.
In the case of time-varying voltages which change (+) and (−) polarity from time-to-time, it is con-
venient to think the instantaneous voltage, that is, the voltage reference polarity at some particular
instance. As before, we assume a voltage reference polarity by placing (+) and (−) polarity signs at
the terminals of the device, and if a negative value of the voltage is obtained, we conclude that the
actual polarity is opposite to that of the assumed reference polarity. We must remember that revers-
ing the reference polarity reverses the algebraic sign of the voltage as shown in Figure 1.6.
A
+ Two terminal device
−
B
= A
−
Same device
+
B
−12 v 12 v
Example 1.3
The i – v (current-voltage) relation of a non-linear electrical device is given by
0.2 sin 3t
i ( t ) = 0.1 ( e – 1) (10.5)
∫t ∫0 ( e
0.2 sin 3t
q(t) = i ( t ) dt = 0.1 – 1 ) dt (1.6)
0
* MATLAB and SIMULINK are registered marks of The MathWorks, Inc., 3 Apple Hill Drive, Natick, MA, 01760,
www.mathworks.com. An introduction to MATLAB is given in Appendix A.
We will use the MATLAB int(f,a,b) integration function where f is a symbolic expression, and a
and b are the lower and upper limits of integration respectively.
Note
When MATLAB cannot find a solution, it returns a warning. For this example, MATLAB returns
the following message when integration is attempted with the symbolic expression of (1.6).
t=sym('t');
s=int(0.1*(exp(0.2*sin(3*t))−1),0,10)
When this code is executed, MATLAB displays the following message:
Warning: Explicit integral could not be found.
In C:\MATLAB 12\toolbox\symbolic\@sym\int.m at line 58
s = int(1/10*exp(1/5*sin(3*t))-1/10,t = 0. . 10)
We will use numerical integration with Simpson’s rule. MATLAB has two quadrature functions for
performing numerical integration, the quad* and quad8. The description of these can be seen by
typing help quad or help quad8. Both of these functions use adaptive quadrature methods; this means
that these methods can handle irregularities such as singularities. When such irregularities occur,
MATLAB displays a warning message but still provides an answer.
For this example, we will use the quad function. It has the syntax q=quad(‘f’,a,b,tol), and per-
forms an integration to a relative error tol which we must specify. If tol is omitted, it is understood
–3
to be the standard tolerance of 10 . The string ‘f’ is the name of a user defined function, and a and
b are the lower and upper limits of integration respectively.
First, we need to create and save a function m-file. We define it as shown below, and we save it as
CA_1_Ex_1_3.m. This is a mnemonic for Circuit Analysis I, Example 1.3.
function t = fcn_example_1_3(t); t = 0.1*(exp(0.2*sin(3*t))-1);
With this file saved as CA_1_Ex_1_3.m, we write and execute the following code.
charge=quad('CA_1_Ex_1_3',0,5)
and MATLAB returns
charge =
0.0170
* For a detailed discussion on numerical analysis and the MATLAB functions quad and quad8, the reader may
refer to Numerical Analysis Using MATLAB® and Spreadsheets by this author, Orchard Publications, ISBN 0-
9709511-1-6.
Power = p = dW
-------- (1.7)
dt
Absorbed power is proportional both to the current and the voltage needed to transfer one coulomb
through the device. The unit of power is the watt . Then,
joul coul
Power = p = volts × amperes = vi = ----------- × ----------- = joul
---------- = watts (1.8)
coul sec sec
and
Passive Sign Convention: Consider the two-terminal device shown in Figure 1.8.
i
A Two terminal device B
+ −
v
In Figure 1.8, terminal A is v volts positive with respect to terminal B and current i enters the device
through the positive terminal A . In this case, we satisfy the passive sign convention and power = p = vi
is said to be absorbed by the device.
The passive sign convention states that if the arrow representing the current i and the (+) (−) pair are
placed at the device terminals in such a way that the current enters the device terminal marked with
the (+) sign, and if both the arrow and the sign pair are labeled with the appropriate algebraic quanti-
ties, the power absorbed or delivered to the device can be expressed as p = vi . If the numerical
value of this product is positive, we say that the device is absorbing power which is equivalent to saying
that power is delivered to the device. If, on the other hand, the numerical value of the product
p = vi is negative, we say that the device delivers power to some other device. The passive sign con-
vention is illustrated with the examples in Figures 1.9 and 1.10.
−2 A 2A
A
+ Two terminal device
−
B
= A
−
Same device B
+
−12 v 12 v
Power = p = (−12)(−2) = 24 w Power = p = (12)(2) = 24 w
Figure 1.9. Examples where power is absorbed by a two-terminal device
i=6cos3t i=−5sin5t
A B A B
Two terminal device 1 − − Two terminal device 2
+ +
v=−18sin3t v=cos5t
p = (−18sin3t)(6cos3t) = −54sin6t w p = (cos5t)(−5sin5t) = −2.5sin10t w
Figure 1.10. Examples where power is delivered to a two-terminal device
In Figure 1.9, power is absorbed by the device, whereas in Figure 1.10, power is delivered to the
device.
Example 1.4
It is assumed a 12-volt automotive battery is completely discharged and at some reference time
t = 0 , is connected to a battery charger to trickle charge it for the next 8 hours. It is also assumed
that the charging rate is
⎧ 8e – t ⁄ 3600 A 0 ≤ t ≤ 8 hr
i(t) = ⎨
⎩0 otherwise
t (s)
28800
Figure 1.11. Decaying exponential for Example 1.4
Then,
a.
15000 28800 28800
– t ⁄ 3600 8 – t ⁄ 3600
∫0 ∫0
15000
q = i dt = 8e dt = ---------------------- e
t=0 – 1 ⁄ 3600 0
–8
= – 8 × 3600 ( e – 1 ) ≈ 28800 C or 28.8 kC
b.
i max = 8 A (occurs at t=0)
Therefore,
p max = vi max = 12 × 8 = 96 w
c.
28800 28800 28800
– t ⁄ 3600 96 – t ⁄ 3600
W = ∫ p dt = ∫0 vi dt = ∫0 12 × 8e dt = ---------------------- e
– 1 ⁄ 3600 0
5 –8
= 3.456 × 10 ( 1 – e ) ≈ 345.6 KJ.
d.
T 28800 3
1 1 – t ⁄ 3600 345.6 × 10
P ave = ---
T ∫0 p dt = ---------------
28800 ∫0 12 × 8e dt = ---------------------------- = 12 w.
28.8 × 10
3
Example 1.5
2
0.16t 0.4t
The power absorbed by a non-linear device is p = 9 ( e – 1 ) . If v = 3 ( e + 1 ) , how much
charge goes through this device in two seconds?
Solution:
The power is
2
0.16t
p 9( e – 1) 0.4t
9(e + 1 )(e – 1)
0.4t
0.4t
p = vi, i = --- = ------------------------------- = --------------------------------------------------- = 3 ( e – 1 ) A
v 0.4t
3( e + 1) 3(e + 1)
0.4t
The two-terminal devices which we will be concerned with in this text are shown in Figure 1.12.
Linear devices are those in which there is a linear relationship between the voltage across that device
and the current that flows through that device. Diodes and Transistors are non-linear devices, that is,
their voltage-current relationship is non-linear. These will not be discussed in this text. A simple cir-
cuit with a diode is presented in Chapter 3.
+
−
regardless of the amount of current that flows through it.
v or v(t)
Its value is either constant (DC) or sinusoidal (AC).
Linear Devices
Resistance R vR Conductance G iG
iR iG
R
sl ope G p e
R= slo
+ vR − + vG − G=
iR vG
v R = Ri R i G = Gv G
Inductance L Capacitance C
vL iC iC
iL L C
p e p e
slo − slo
`
+ vL − = + =
L diL vC C
dvC
diL dt dv dt
vL = L iC = C C
dt dt
`
R L C
vS
+
−
A circuit is a network which contains at least one closed path. Thus every circuit is a network but not
all networks are circuits. An example is shown in Figure 1.14.
`
R1 L C
vS
+ R2
−
1. There must be a voltage source (potential difference) present to provide the electrical work which
will force current to flow.
2. The circuit must be closed.
These conditions are illustrated in Figures 1.15 through 1.17.
Figure 1.15 shows a network which contains a voltage source but it is not closed and therefore, cur-
rent will not flow.
`
vS R L C
+
−
Figure 1.16 shows a closed circuit but there is no voltage present to provide the electrical work for
current to flow.
R2
R1 R3
R4
Figure 1.17 shows a voltage source present and the circuit is closed. Therefore, both conditions are
satisfied and current will flow.
`
R L
vS
+ C
−
I
The SI uses larger and smaller units by various powers of 10 known as standard prefixes. The common
prefixes are listed in Table 1.2 and the less frequently in Table 1.3. Table 1.4 shows some conversion
factors between the SI and the English system. Table 1.5 shows typical temperature values in degrees
Fahrenheit and the equivalent temperature values in degrees Celsius and degrees Kelvin. Other units
used in physical sciences and electronics are derived from the SI base units and the most common
are listed in Table 1.6.
°F °C °K
–523.4 –273 0
32 0 273
0 –17.8 255.2
77 25 298
98.6 37 310
212 100 373
Example 1.6
A certain type of wood used in the generation of electric energy and we can get 12,000 BTUs from
a pound (lb) of that wood when burned. Suppose that a computer system that includes a monitor, a
printer, and other peripherals absorbs an average power of 500 w gets its energy from that burned
wood and it is turned on for 8 hours. It is known that 1 BTU is equivalent to 778.3 ft-lb of energy,
and 1 joule is equivalent to 0.7376 ft-lb.
Compute:
a. the energy consumption during this 8-hour interval
b. the cost for this energy consumption if the rate is $0.15 per kw-hr
c. the amount of wood in lbs burned during this time interval.
Solution:
a. Energy consumption for 8 hours is
3600 s
Energy W = P ave t = 500 w × 8 hrs × ---------------- = 14.4 Mjoules
1 hr
6
b. Since 1 kilowatt – hour = 3.6 × 10 joules ,
$0.15 1 kw – hr
- × 14.4 × 10 6 = $0.60
Cost = ------------------ × ---------------------------------------
kw – hr 3.6 × 10 joules 6
1.12 Summary
• Two identically charged (both positive or both negative) particles possess a charge of one coulomb
–7
when being separated by one meter in a vacuum, repel each other with a force of 10 c 2 newton
8
where c = velocity of light ≈ 3 × 10 m ⁄ s . Thus, the force with which two electrically charged
bodies attract or repel one another depends on the product of the charges (in coulombs) in both
objects, and also on the distance between the objects. If the polarities are the same (negative/
negative or positive/positive), the so-called coulumb force is repulsive; if the polarities are
opposite (negative/positive or positive/negative), the force is attractive. For any two charged
bodies, the coulomb force decreases in proportion to the square of the distance between their
charge centers.
• Electric current is defined as the instantaneous rate at which net positive charge is moving past
this point in that specified direction, that is,
i = ------ = lim ∆
dq q
------
dt ∆ t → 0 ∆t
• The unit of current is the ampere, abbreviated as A, and corresponds to charge q moving at the
rate of one coulomb per second.
• In a two-terminal device the current entering one terminal is the same as the current leaving the
other terminal.
• The voltage (potential difference) across a two-terminal device is defined as the work required to
move a positive charge of one coulomb from one terminal of the device to the other terminal.
• The unit of voltage is the volt (abbreviated as V or v) and it is defined as
1 joule
1 volt = -----------------------------
1 coulomb
• Power p is the rate at which energy (or work) W is expended. That is,
Power = p = dW
--------
dt
• Absorbed power is proportional both to the current and the voltage needed to transfer one cou-
lomb through the device. The unit of power is the watt and
1 watt = 1 volt × 1 ampere
• The passive sign convention states that if the arrow representing the current i and the plus (+)
minus (−) pair are placed at the device terminals in such a way that the current enters the device
terminal marked with the plus (+) sign, and if both the arrow and the sign pair are labeled with
the appropriate algebraic quantities, the power absorbed or delivered to the device can be
expressed as p = vi . If the numerical value of this product is positive, we say that the device is
absorbing power which is equivalent to saying that power is delivered to the device. If, on the
other hand, the numerical value of the product p = vi is negative, we say that the device delivers
power to some other device.
• An ideal independent voltage source maintains the same voltage regardless of the amount of cur-
rent that flows through it.
• An ideal independent current source maintains the same current regardless of the amount of volt-
age that appears across its terminals.
• The value of an dependent voltage source depends on another voltage or current elsewhere in the
circuit.
• The value of an dependent current source depends on another current or voltage elsewhere in
the circuit.
• Ideal voltage and current sources are just mathematical models. We will discuss practical voltage
and current sources in Chapter 3.
• Independent and Dependent voltage and current sources are active devices; they normally (but
not always) deliver power to some external device.
• Resistors, inductors, and capacitors are passive devices; they normally receive (absorb) power
from an active device.
• A network is the interconnection of two or more simple devices.
• A circuit is a network which contains at least one closed path. Thus every circuit is a network but
not all networks are circuits.
• An active network is a network which contains at least one active device (voltage or current
source).
• A passive network is a network which does not contain any active device.
• To set up and maintain a flow of current in a network or circuit there must be a voltage source
(potential difference) present to provide the electrical work which will force current to flow and
the circuit must be closed.
• Linear devices are those in which there is a linear relationship between the voltage across that
device and the current that flows through that device.
• The International System of Units is used extensively by the international scientific community. It
was formerly known as the Metric System.
• The principal sources of energy are from chemical processes (coal, fuel oil, natural gas, wood etc.)
and from mechanical forms (water falls, wind, etc.). Other sources include nuclear and solar
energy.
1.13 Exercises
Multiple choice
1. The unit of charge is the
A. ampere
B. volt
C. watt
D. coulomb
E. none of the above
2. The unit of current is the
A. ampere
B. coulomb
C. watt
D. joule
E. none of the above
3. The unit of electric power is the
A. ampere
B. coulomb
C. watt
D. joule
E. none of the above
4. The unit of energy is the
A. ampere
B. volt
C. watt
D. joule
E. none of the above
5. Power is
A. the integral of energy
Problems
1. A two terminal device consumes energy as shown by the waveform of Figure 1.18 below, and the
current through this device is i ( t ) = 2 cos 4000πt A . Find the voltage across this device at t =
0.5, 1.5, 4.75 and 6.5 ms. Answers: 2.5 V, 0 V, 2.5 V, – 2.5 V
W (mJ)
10
0
1 2 3 4 5 6 7 t (ms)
2. A household light bulb is rated 75 watts at 120 volts. Compute the number of electrons per sec-
ond that flow through this bulb when it is connected to a 120 volt source.
18
Answer: 3.9 × 10 electrons ⁄ s
3. An airplane, whose total mass is 50,000 metric tons, reaches a height of 32,808 feet in 20 minutes
after takeoff.
a. Compute the potential energy that the airplane has gained at this height. Answer: 1, 736 MJ
b. If this energy could be converted to electric energy with a conversion loss of 10%, how much
would this energy be worth at $0.15 per kilowatt-hour? Answer: $65.10
c. If this energy were converted into electric energy during the period of 20 minutes, what aver-
age number of kilowatts would be generated? Answer: 1, 450 Kw
4. The power input to a television station transmitter is 125 kw and the output is 100 kw which is
transmitted as radio frequency power. The remaining 25 kw of power is converted into heat.
a. How many BTUs per hour does this transmitter release as heat? 1 BTU = 1054.8 J
Answer: 85, 234 BTU ⁄ hr
b. How many electron-volts per second is this heat equivalent to?
– 19 23 electron – volts
1 electron – volt = 1.6 × 10 J Answer: 1.56 × 10 ------------------------------------------
sec.
Multiple choice
1. D
2. A
3. C
4. D
5. B
6. B
7. A
8. B
9. B
10. A
Problems
1.
p dW ⁄ dt slope
v = --- = ----------------- = --------------
i i i
a.
slope
1 ms 5 mJ- = 5 J ⁄ s
= -----------
0 1 ms
v 5 J⁄s
= --------------------------------------------------------------
- = ------------------------ J ⁄ s- = 2.5 V
5 J ⁄ s = 5-------------
t = 0.5 ms –3 2 cos 2π A 2 A
2 cos 4000π ( 0.5 × 10 ) A
b.
2 ms
slope 1
= 0
v t = 1.5 ms
= 0
--- = 0 V
i
c.
5 ms – 5 mJ
slope 4
= --------------- = – 5 J ⁄ s
1 ms
–5 J ⁄ s –5 J ⁄ s –5 J ⁄ s –5 J ⁄ s
v = ------------------------------------------------------------------ = --------------------------- = --------------------- = ----------------- = 2.5 V
t = 4.75 ms
2 cos 4000π ( 4.75 × 10 ) A
–3 2 cos 19π A 2 cos π A –2 A
d.
= – 5 mJ- = – 5 J ⁄ s
7 ms
slope 6
--------------
1 ms
v –5 J ⁄ s
= --------------------------------------------------------------
- = --------------------------- 5 J ⁄ s- = – 2.5 V
– 5 J ⁄ s = –----------------
t = 6.5 ms –3 2 cos 26π A 2A
2 cos 4000π ( 6.5 × 10 ) A
2.
p 75 w 5
i = --- = -------------- = --- A
v 120 V 8
t
q = ∫t i dt
0
1 s 1 s
5 5 5
q t=1 s
= ∫0 --- dt = --- t
8 8 0
= --- C ⁄ s
8
18
5 6.24 × 10 electrons
--- C ⁄ s × ------------------------------------------------------ = 3.9 × 10 18 electrons ⁄ s
8 1C
3.
1 2
W p = W k = --- mv
2
60 sec.
20 minutes × ----------------- = 1, 200 sec.
min
10, 000 m 25
v = -------------------------- = ------ m ⁄ s
1, 200 sec. 3
1, 000 Kg 7
50, 000 metric tons × --------------------------- = 5 × 10 Kg
metric ton
Then,
a.
2
1 7 25
W p = W k = --- ( 5 × 10 ) ⎛ ------ ⎞ = 173.61 × 10 J ≈ 1, 736 MJ
7
2 ⎝ 3 ⎠
b.
1 joule = 1 watt-sec
6 1 watt-sec 1 Kw 1 hr
1, 736 × 10 J × -------------------------- × --------------------- × -------------------------- = 482.22 Kw-hr
1 joule 1, 000 w 3, 600 sec.
and with 10% conversion loss, the useful energy is
482.22 × 0.9 = 482.22 × 0.9 = 434 Kw-hr
$0.15
Cost of Energy = ---------------- × 434 Kw-hr = $65.10
Kw-hr
c.
W 1, 736 MJ
P ave = ----- = ---------------------------------------- = 1.45 Mw = 1450 Kw
t 60 sec
20 min × ---------------
min
4.
a.
1 BTU = 1054.8 J
T
his chapter defines constant and instantaneous values, Ohm’s law, and Kirchhoff ’s Current
and Voltage laws. Series and parallel circuits are also defined and nodal, mesh, and loop analy-
ses are introduced. Combinations of voltage and current sources and resistance combinations
are discussed, and the voltage and current division formulas are derived.
2.1 Conventions
We will use lower case letters such as v , i , and p to denote instantaneous values of voltage, current,
and power respectively, and we will use subscripts to denote specific voltages, currents, resistances,
etc. For example, v S and i S will be used to denote voltage and current sources respectively. Nota-
tions like v R1 and i R2 will be used to denote the voltage across resistance R 1 and the current
through resistance R 2 respectively. Other notations like v A or v 1 will represent the voltage (poten-
tial difference) between point A or point 1 with respect to some arbitrarily chosen reference point
taken as “zero” volts or “ground”.
The designations v AB or v 12 will be used to denote the voltage between point A or point 1 with
respect to point B or 2 respectively. We will denote voltages as v ( t ) and i ( t ) whenever we wish to
emphasize that these quantities are time dependent. Thus, sinusoidal (AC) voltages and currents will
be denoted as v ( t ) and i ( t ) respectively. Phasor quantities, to be inroduced in Chapter 6, will be rep-
resented with bold capital letters, V for phasor voltage and I for phasor current.
v R = Ri R (2.1)
1V
1 Ω = -------- (2.2)
1A
Physically, a resistor is a device that opposes current flow. Resistors are used as a current limiting devices
and as voltage dividers.
In the previous chapter we defined conductance G as the constant that relates the current and the volt-
age as
i G = Gv G (2.3)
G = --1- (2.4)
R
–1
The unit of conductance is the siemens or mho (ohm spelled backwards) and its symbol is S or Ω
Thus,
–1 1A
1Ω = -------- (2.5)
1V
Resistances (or conductances) are commonly used to define an “open circuit” or a “short circuit”.
An open circuit is an adjective describing the “open space” between a pair of terminals, and can be
thought of as an “infinite resistance” or “zero conductance”. In contrast, a short circuit is an adjective
describing the connection of a pair of terminals by a piece of wire of “infinite conductance” or a
piece of wire of “zero” resistance.
The current through an “open circuit” is always zero but the voltage across the open circuit terminals
may or may not be zero. Likewise, the voltage across a short circuit terminals is always zero but the
current through it may or may not be zero. The open and short circuit concepts and their equivalent
resistances or conductances are shown in Figure 2.1.
A+ A+ A + A+
Open R=∞ Short R=0
Circuit G=0 i Circuit i G=∞
i=0 i=0 v AB = 0 v AB = 0
B− B− B− B−
Figure 2.1. The concepts of open and short circuits
The fact that current does not flow through an open circuit and that zero voltage exists across the
terminals of a short circuit, can also be observed from the expressions v R = Ri R and i G = Gv G .
That is, since G = --1- , infinite R means zero G and zero R means infinite G . Then, for a finite volt-
R
age, say v G , and an open circuit,
Reminder:
We must remember that the expressions
v R = Ri R
and
i G = Gv G
are true only when the passive sign convention is observed. This is consistent with our classification
of R and G being passive devices and thus v R = Ri R implies the current direction and voltage
polarity are as shown in Figure 2.2.
IR R IR
R
+ vR − − v +
R
Figure 2.2. Voltage polarity and current direction in accordance to passive sign convention
But if the voltage polarities and current directions are as shown in Figure 2.3, then,
vR = –R iR (2.8)
IR IR
R R
− vR + + vR −
Figure 2.3. Voltage polarity and current direction not in accordance to passive sign convention
Note: “Negative resistance,” as shown in (2.8), can be thought of as being a math model that sup-
plies energy.
pR = vR iR
Then,
vR v2
p R = v R i R = ( Ri R ) i R = Ri R2 = v R ⎛ -----⎞ = ----R- (2.9)
⎝ R⎠ R
The voltage, current, resistance and power relations are arranged in the pie chart shown in Figure 2.4.
CU
ts)
RR
at
EN
(W
T
V2 V
ER
(A
P
W
I2R R R
m
pe
PO
re
s)
VI P I P⁄R
PR V R V
I
s)
P V2
VO
hm
I IR P
(O
LT
I2
AG
C E
E
AN
(V
ST
ol
SI
ts)
RE
Figure 2.4. Pie chart for showing relations among voltage, current, resistance, and power
Note:
A resistor, besides its resistance rating (ohms) has a power rating in watts commonly referred to as
the wattage of the resistor. Common resistor wattage values are ¼ watt, ½ watt, 1 watt, 2 watts, 5 watts
and so on. This topic will be discussed in Section 2.16.
Alternately, if the energy is known, we can find the power by taking the derivative of the energy, that
is,
d
pR = W (2.12)
d t R diss
Reminder:
When using all formulas, we must express the quantities involved in their primary units. For
instance in (2.11) above, the energy is in joules when the power is in watts and the time is in seconds.
`
Node
Figure 2.5. Definition of node
Definition 2.2
A branch is a simple path composed of one single device as shown in Figure 2.6.
−
+
R C vS
Node Branch
Figure 2.6. Definition of branch
Definition 2.3
A loop is a closed path formed by the interconnection of simple devices. For example, the network
shown in Figure 2.7 is a loop.
vS R
+
−
L
`
C
Figure 2.7. Definition of a loop
Definition 2.4
A mesh is a loop which does not enclose any other loops. For example, in the circuit shown in Figure
2.8, ABEF is both a loop and a mesh, but ABCDEF is a loop but not a mesh.
A B
C
vS
R1
` L C
+
−
R2
F E D
Figure 2.8. Example showing the difference between mesh and loop
i1 i2
i4
i3
Figure 2.9. Node to illustrate KCL
But if we assign a plus (+) sign to the currents entering the node and minus (−) sign to the currents
leaving the node, then by KCL,
i1 + i2 – i3 – i4 = 0 (2.14)
or
– i1 – i2 + i3 + i4 = 0 (2.15)
We observe that (2.13) and (2.15) are the same; therefore, it does not matter which we choose as
plus (+).
Convention:
In our subsequent discussion we will assign plus (+) signs to the currents leaving the node.
Device 2
− +
+ v2 +
Device 1 v 1 v 3 Device 3
− v4 −
− Device 4 +
A
Now, if we assign a (+) sign to the voltage drops, we must assign a (−) sign to the voltage rises. Then,
by KVL starting at node A and going clockwise we get:
– v1 – v2 + v3 + v4 = 0 (2.16)
Alternately, if we assign a (+) sign to the voltage rises, we must assign a (−) sign to the voltage drops.
Then, by KVL starting again at node A and going clockwise we get:
v1 + v2 – v3 – v4 = 0 (2.18)
Convention:
In our subsequent discussion we will assign plus (+) signs to voltage drops.
Definition 2.5
Two or more devices are said to be connected in series if and only if the same current flows through
them. For example, in the circuit of Figure 2.11, the same current i flows through the voltage source,
the resistance, the inductance and the capacitance. Accordingly, this is classified as a series circuit.
vS R
+
−
L
`
C
Figure 2.11. A simple series circuit
Definition 2.6
Two or more devices are said to be connected in parallel if and only if the same voltage exists across each
of the devices. For example, in the circuit of Figure 2.12, the same voltage v AB exists across the cur-
rent source, the conductance, the inductance, and the capacitance and therefore it is classified as a
parallel circuit
A A A A A
iS iS
C
G `L G `L C
B B B B B
Figure 2.12. A simple parallel circuit
Convention:
In our subsequent discussion we will adopt the conventional current flow, i.e., the current that flows
from a higher (+) to a lower (−) potential. For example, if in Figure 2.13 we are given the indicated
polarity,
R
+ vR −
Figure 2.13. Device with established voltage polarity
then, the current arrow will be pointing to the right direction as shown in Figure 2.14.
R
+ vR −
Figure 2.14. Direction of conventional current flow in device with established voltage polarity
Alternately, if current flows in an assumed specific direction through a device thus producing a volt-
age, we will assign a (+) sign at the terminal of the device at which the current enters. For example,
if we are given this designation a device in which the current direction has been established as
shown in Figure 2.15,
R
Note: Active devices, such as voltage and current sources, have their voltage polarity and current
direction respectively, established as part of their notation. The current through and the volt-
age across these devices can easily be determined if these devices deliver power to the rest of the cir-
cuit. Thus with the voltage polarity as given in the circuit of Figure 2.17 (a), we assign a clock-
wise direction to the current as shown in Figure 2.17 (b). This is consistent with the passive
sign convention since we have assumed that the voltage source delivers power to the rest of
the circuit.
i
vS vS
+ Rest of the + Rest of the
− −
Circuit Circuit
(a) (b)
Likewise, in the circuit of Figure 2.18 (a) below, the direction of the current source is clockwise, and
assuming that this source delivers power to the rest of the circuit, we assign the voltage polarity
shown in Figure 2.18 (b) to be consistent with the passive sign convention.
+
iS iS
Rest of the Rest of the
v
Circuit Circuit
−
(a) (b)
Figure 2.18. Voltage polarity across current sources
The following facts were discussed in the previous chapter but they are repeated here for emphasis.
There are two conditions required to setup and maintain the flow of an electric current:
1. There must be some voltage (potential difference) to provide the energy (work) which will force electric cur-
rent to flow in a specific direction in accordance with the conventional current flow (from a higher to a lower
potential).
2. There must be a continuous (closed) external path for current to flow around this path (mesh or loop).
The external path is usually made of two parts: (a) the metallic wires and (b) the load to which the elec-
tric power is to be delivered in order to accomplish some useful purpose or effect. The load may be a
resistive, an inductive, or a capacitive circuit, or a combination of these.
Example 2.1
For the series circuit shown in Figure 2.19, we want to find:
a. The current i which flows through each device
b. The voltage drop across each resistor
c. The power absorbed or delivered by each device
4Ω 64 V 6Ω
−
+
R1 v S2 R2
v S1
v S3
+ +
− −
200 V 80 V
R4 R3
10 Ω 8Ω
Figure 2.19. Circuit for Example 2.1
Solution:
a. Step 1: We do not know which voltage source(s) deliver power to the other sources, so let us
assume that the current i flows in the clockwise direction* as shown in Figure 2.20.
4Ω − 64 V 6Ω
+
+ R − v S2 + R −
1 2
v S1 v S3
+ +
− −
200 V i 80 V
R4 + R3 +
− −
A
10 Ω 8Ω
Figure 2.20. Circuit for Example 2.1 with assumed current direction
Step 2: We assign (+) and (−) polarities at each resistor’s terminal in accordance with the estab-
lished passive sign convention.
Step 3: By application of KVL and the adopted conventions, starting at node A and going clock-
wise, we get:
– v S1 + v R1 + v S2 + v R2 + v S3 + v R3 + v R4 = 0 (2.20)
* Henceforth, the current direction will be assumed to be that of the conventional current flow.
– 200 + 4i + 64 + 6i + 80 + 8i + 10i = 0
or
28i = 56
or
i = 2A (2.21)
b. Knowing the current i from part (a), we can now compute the voltage drop across each resistor
using Ohm’s law v = Ri .
v R1 = 4 × 2 = 8 V v R2 = 6 × 2 = 12 V
(2.22)
vR3 = 8 × 2 = 16 V v R4 = 10 × 2 = 20 V
c. The power absorbed (or delivered) by each device can be found from the power relation p = vi .
Then, the power absorbed by each resistor is
p R1 = 8 × 2 = 16 w p R2 = 12 × 2 = 24 w
(2.23)
p R3 = 16 × 2 = 32 w p R4 = 20 × 2 = 40 w
From (2.24), we observe that the 200 volt source absorbs −400 watts of power. This means that this
source delivers (supplies) 400 watts to the rest of the circuit. However, the other two voltage sources
receive (absorb) power from the 200 volt source. Table 2.1 shows that the conservation of energy
principle is satisfied since the total absorbed power is equal to the power delivered.
Example 2.2
Repeat Example 2.1 with the assumption that the current i flows counterclockwise.
Solution:
We denote the current as i ' (i prime) for this example. Then, starting at Node A and going counter-
clockwise, the voltage drops across each resistor are as indicated in Figure 2.21.
Repeating Steps 2 and 3 of Example 2.1, we get:
v R4 + v R3 – v S3 + v R2 – v S2 + v R1 + v S1 = 0 (2.25)
TABLE 2.1 Power delivered or absorbed by each device on the circuit of Figure 2.19
4Ω 64 V 6Ω
−
+
− − R2 +
R1 +
v S2
v S1 v S3
i'
+ +
− −
200 V 80 V
R3
+ R4 − + −
A
10 Ω 8Ω
Figure 2.21. Circuit for Example 2.2
i' = – 2 A (2.26)
Definition 2.7
A single node-pair circuit is one in which any number of simple elements are connected between the
same pair of nodes. For example, the circuit of Figure 2.22 (a), which is more conveniently shown as
Figure 2.22 (b), is a single node-pair circuit.
A A A A A
iS
iS C
G `L G `L C
B B B B B
(a) (b)
I1 I2 I3
G1 G2 G3
12 A 4Ω
–1 18 A 6Ω
–1 24 A 8Ω
–1
Solution:
a. Step 1: We denote the single node-pair with the letters A and B as shown in Figure 2.24. It is
important to observe that the same voltage (or potential difference) exists across each
device. Node B is chosen as our reference node and it is convenient to assume that this
reference node is at zero potential (ground) as indicated by the symbol
A A A A A A
i S1 i G1 i G2 i G3
i S2 i S3
v AB G1 G2 G3
12 A 4Ω
–1 18 A 6Ω
–1 24 A 8Ω
–1
B B B B B
B
Figure 2.24. Circuit for Example 2.3 with assumed current directions
Step 3: By application of KCL and in accordance with our established convention, we choose
node A which is the plus (+) reference point and we form the algebraic sum of the cur-
rents leaving (or entering) this node. Then, with plus (+) assigned to the currents leaving
this node and with minus (−) entering this node we get
–i + i G1 + i + i G2 – i + i G3 = 0 (2.27)
S1 S2 S3
and since
i G1 = G 1 v AB i G2 = G 2 v AB i G3 = G 3 v AB (2.28)
i S1 – i S2 + i S3
v AB = -------------------------------
- (2.30)
G1 + G2 + G3
12 – 18 + 24
v AB = ------------------------------ (2.31)
4+6+8
or
v AB = 1 V (2.32)
b. From (2.28),
i G1 = 4 i G2 = 6 i G3 = 8 (2.33)
c. The power absorbed (or delivered) by each device can be found from the power relation p = vi .
Then, the power absorbed by each conductance is
p G1 = 1 × 4 = 4 w
p G2 = 1 × 6 = 6 w (2.34)
p G3 = 1 × 8 = 8 w
From (2.35) we observe that the 12 A and 24 A current sources absorb – 12 w and – 24 w
respectively. This means that these sources deliver (supply) a total of 36 w to the rest of the cir-
cuit. The 18 A source absorbs power.
Table 2.2 shows that the conservation of energy principle is satisfied since the absorbed power is
equal to the power delivered.
4Ω
–1
Conductance 4
6Ω
–1
Conductance 6
8Ω
–1
Conductance 8
Total 36 36
A 200 V 64 V 80 V B
−
−
+
−
+
+
v1 v2 v3
v AB = v 1 + v 2 + v 3
+ 200 + 64 + 80 = 344 V −
Figure 2.25. Addition of voltage sources in series when all have same polarity
A good example of combining voltage sources as series aiding is when we connect several AA size
batteries each rated at 1.5 v to power up a hand calculator, or a small flashlight.
Definition 2.9
Two or more voltage sources connected in series are said to be series opposing when the plus (+) ter-
minal of one voltage source is connected to the plus (+) terminal of the other voltage source or
when the minus (−) of one voltage source is connected to the minus (−) terminal of the other volt-
age source. Two series opposing voltage sources may be replaced by an equivalent voltage source
whose value is the algebraic difference of the individual voltage sources as shown in Figure 2.26.
Definition 2.10
Two or more current sources connected in parallel are said to be parallel aiding when the arrows indi-
cating the direction of the current flow have the same direction. They can be combined into a single
current source as shown in Figure 2.27.
A 200 V 64 V B
+
−
−
+
v1 v2
v AB = v 1 – v 2
+ 200 − 64 = 136 V −
Figure 2.26. Addition of voltage sources in series when they have different polarity
iT = i1 + i2 + i3
i1 i2 i3 iT
12 A 18 A 24 A 54 A
Figure 2.27. Addition of current sources in parallel when all have same direction
Definition 2.11
Two or more current sources connected in parallel are said to be parallel opposing when the arrows
indicating the direction of the current flow have opposite direction. They can be replaced by an
equivalent current source whose value is the algebraic difference of the individual current sources as
shown in Figure 2.28.
iT = –i1 + i2
i1 i2 iT
18 A 24 A 6A
Figure 2.28. Addition of current sources in parallel when they have opposite direction
.... B
A
R1 R2 R3 RN
i
v AB v R1 v R2 v R3 vR n
R eq = ------- - + ------- + ------- + … + -------
- = ------ -
i i i i i
or
n
R eq = R 1 + R 2 + R 3 + … + R n = ∑ RK (2.36)
k=1
For Resistors in Series
Example 2.4
For the circuit of Figure 2.30, find the value of the current i after combining the voltage sources to
a single voltage source and the resistances to a single resistor.
4Ω 64 V 6Ω
−
+
v2 R2
R1
v1 v3
+ +
− i −
200 V 80 V
R4 R3
10 Ω 8Ω
Figure 2.30. Circuit for Example 2.4
Solution:
We add the values of the voltage sources as indicated in Definitions 8 and 9, we add the resistances
in accordance with (2.36), and we apply Ohm’s law. Then,
Σv 200 – ( 64 + 80 ) 56
i = -------
- = -------------------------------------- = ------ = 2 A (2.37)
ΣR 28 28
Next, we consider thecase where n resistors are connected in parallel as shown in Figure 2.31.
R1
i1
R2
iT . . iT
A . i2 . . B
..
Rn
in
v AB
Figure 2.31. Addition of resistances in parallel
By KCL,
iT = i1 + i2 + … + in (2.38)
The same voltage exists across each resistor; therefore, dividing each term of (2.38) by V AB , we get
iT i1 i2 in
- = -------
------- - + … + -------
- + ------- - (2.39)
v AB v AB v AB v AB
1 1 1 1
--------- = ----- + ----- + … + ------
R AB R1 R2 Rn
or
1 1 1 1
-------- = ----- + ----- + … + ------
R eq R1 R2 Rn (2.40)
For Resistors in Parallel
For the special case of two parallel resistors, (2.40) reduces to
1 1 1
-------- = ----- + -----
R eq R1 R2
or
R1 ⋅ R2
R eq = R 1 ||R 2 = -----------------
- (2.41)
R1 + R2
n
G eq = G 1 + G 2 + … + G n =
∑ Gk
k=1
(2.42)
Example 2.5
In the circuit of Figure 2.32,
a. Replace all resistors with a single equivalent resistance R eq
R3 R4 R5
i R1 R2
v AB 3Ω 12 Ω 4Ω 20 Ω 5Ω
11
------ A
6
Solution:
a. We could use (2.40) to find the equivalent resistance R eq . However, it is easier to form groups of
two parallel resistors as shown in Figure 2.33 and use (2.41) instead.
R1 R2 R3 R4 R5
i
v AB 3Ω 12 Ω 4Ω 20 Ω 5Ω
11
------ A
6
Figure 2.33. Groups of parallel combinations for the circuit of Example 2.5.
Then,
12 × 4
R 2 ||R 3 = --------------- = 3 Ω
12 + 4
Also,
20 × 5
R 4 ||R 5 = --------------- = 4 Ω
20 + 5
and the circuit reduces to that shown in Figure 2.34.
R1
i
v AB 3Ω 4Ω
11 3Ω
------ A
6
Next,
3×3
3||3 = ------------ = 1.5 Ω
3+3
Finally,
1.5 × 4 = 12
R eq = 1.5||4 = ---------------- ------ Ω
1.5 + 4 11
and the circuit reduces to that shown in Figure 2.35
R eq
i
v AB
12
11 ------ Ω
------ A 11
6
Figure 2.35. Reduction of the circuit of Example 2.5 to its simplest form
11 12
v AB = IR eq = ------ ⋅ ------ = 2 V (2.43)
6 11
vS R1
+ R2
−
Figure 2.36. Circuit for the derivation of the voltage division expressions
For the circuit of Figure 2.36, we will derive the voltage division expressions which state that:
R1 R2
v R1 = -----------------
- v S and v R2 = -----------------
-v
R1 + R2 R1 + R2 S
These expressions enable us to obtain the voltage drops across the resistors in a series circuit simply
by observation.
Derivation:
By Ohm’s law in the circuit of Figure 2.36 where i is the current flowing through i, we get
v R1 = R 1 i and v R2 = R 2 i (2.44)
Also,
( R 1 + R 2 )i = v S
or
vS
i = -----------------
- (2.45)
R1 + R2
and by substitution of (2.45) into (2.44) we obtain the voltage division expressions below.
R1 R2
v R1 = -----------------
-v and v R2 = -----------------
-v
R1 + R2 S R1 + R2 S (2.46)
VOLTAGE DIVISION EXPRESSIONS
Example 2.6
In the network of Figure 2.37, the arrows indicate that resistors R 1 and R 2 are variable and that the
power supply is set for 12 V .
+
+ v R1 R1
Power −
Supply
(Voltage 12 V +
Source) v R2 R2
− −
Solution:
a. Using the voltage division expressions of (2.46), we get
R1 7
- v S = ------------ × 12 = 7 V
v R1 = -----------------
R1 + R2 7+5
and
R2 5
- v = ------------ × 12 = 5 V
v R2 = -----------------
R1 + R2 S 7+5
iS
i G1 i G2
G1 G2
v
( R1 ) ( R2 )
Figure 2.38. Circuit for the derivation of the current division expressions
For the circuit of Figure 2.38, we will derive the current division expressions which state that
G1 G2
i G1 = ------------------
-i and i G2 = ------------------
-i
G1 + G2 S G1 + G2 S
and these expressions enable us to obtain the currents through the conductances (or resistances) in
a parallel circuit simply by observation.
Derivation:
By Ohm’s law for conductances, we get
i G1 = G 1 v and i G2 = G 2 v (2.47)
Also,
( G1 + G2 ) v = iS
or
iS
v = ------------------
- (2.48)
G1 + G2
Also, since
1 1
R 1 = ------ R 2 = ------
G1 G2
by substitution into (2.49) we get
R2 R1
i R1 = -----------------
- i S and i R2 = -----------------
-i
R1 + R2 R1 + R2 S (2.50)
CURRENT DIVISION EXPRESSIONS
Example 2.7
For the circuit of figure 2.39, compute the voltage drop v
Solution:
The current source i S divides into currents i 1 and i 2 as shown in Figure 2.40.
+
R2 4 Ω
R1 iS
R3 5Ω 12 Ω
v
3A
R 4 20 Ω
−
+
R2 4 Ω
R1 iS
R3 5Ω 12 Ω
v
i2 i1
3A
R 4 20 Ω
−
Figure 2.40. Application of current division expressions for the circuit of Example 2.7
We observe that the voltage v is the voltage across the resistor R 1 . Therefore, we are only interested
in current i 1 . This is found by the current division expression as
R2 + R3 + R4 4 + 5 + 20 87
i 1 = ------------------------------------------- ⋅ i S = ------------------------------------- ⋅ 3 = ------ A
R1 + R2 + R3 + R4 12 + 4 + 5 + 20 41
as Military Standards, or simply MIL-stds. All of the aforementioned standards are updated periodi-
cally. The interested reader may find the latest revisions in the Internet or the local library.
In a color coded scheme, each color represents a single digit number, or conversely, a single digit
number can be represented by a particular color band as shown in Table 2.3 that is based on MIL-
STD-1285A color code.
As shown in Figure 2.42, the first and second bands designate the first and second significant digits
respectively, the third represents the multiplier, that is, the number by which the first two digits are
multiplied, and the fourth and fifth bands, if they exist, indicate the tolerance and failure rate respec-
tively. The tolerance is the maximum deviation from the specified nominal value and it is given as a
percentage. The failure rate is the percent probability of failure in a 1000-hour time interval.
Let A and B represent the first and second significant digits and C represent the multiplier. Then the
resistance value is found from the expression
C
R = ( 10 × A + B ) ×10 (2.51)
Example 2.8
The value of a resistor is coded with the following colored band code, left to right: Brown, Green,
Blue, Gold, Red. What is the value, tolerance, and probability of failure for that resistor?
Solution:
Table 2.3 yields the following data: Brown (1st significant digit) = 1, Green (2nd significant digit) =
5, and Blue (multiplier) = 1,000,000. Therefore, the nominal value of this resistor is 15,000,000
Ohms or 15 MΩ. The 4th band is Gold indicating a ±5% tolerance meaning that the maximum devi-
ation from the nominal value is 15,000,000 ±5% = 15,000,000 × ±0.05 = ±750,000 Ohms or ±0.75
MΩ. That is, this resistor can have a value anywhere between 14.25 MΩ and 15.75 MΩ. Since the 5th
band is Red, there is a 0.1% probability that this resistor will fail after 1000 hours of operation.
5 Ω resistors would be 7 watts and 5 watts respectively. We could also divide the 12 volt source into
two voltages of 7 V and 5 V using a 7 kΩ and a 5 kΩ resistor. Then, with this arrangement the cur-
rent would be 12 V ⁄ 12 kΩ = 1 mA . The wattage of the 7 kΩ and 5 kΩ resistors would then be
–3 2 3 –3 –3 2 3
( 10 ) × 7 × 10 = 7 × 10 W = 7 mW and ( 10 ) × 5 × 10 = 5 mW respectively.
Example 2.9
The resistance of a long piece of copper wire is 48 Ω at 20 °C .
a. What would the resistance be at 50°C ?
b. Construct a curve showing the relation between resistance and temperature.
Solution:
a. The temperature rise is 50 – 20 = 30 degrees Celsius and the resistance increases 0.393% for
every degree rise. Therefore the resistance increases by 30 × 0.393 = 11.79% . This represents an
increase of 0.1179 × 48 Ω in resistance or 5.66 Ω. Therefore, the resistance at 50 degrees Celsius
is 48 + 5.66 = 53.66 Ω .
b. The relation of (2.52) is an equation of a straight line with slope = R 20 α 20 . This straight line is
easily constructed with the Microsoft Excel spreadsheet shown in Figure 2.43.
From Figure 2.43, we observe that the resistance reaches zero value at approximately – 235 °C .
Temp Resistance
(deg C) (Ohms) Resistance of Copper Wire versus Temperature
-250 -2.9328
-240 -1.0464 100
-230 0.84 80
-220 2.7264
60
Ohms
-210 4.6128
-200 6.4992 40
-190 8.3856 20
-180 10.272
0
-170 12.1584 -250 -200 -150 -100 -50 0 50 100 150 200 250
-160 14.0448
Degrees Celsius
-150 15.9312
-140 17.8176
Figure 2.43. Spreadsheet for construction of equation (2.52)
Table 2.4 shows the NEC allowable current-carrying capacities for copper conductors based on the
type of insulation.
The ratings in Table 2.4 are for copper wires. The ratings for aluminum wires are typically 84% of
these values. Also, these rating are for not more than three conductors in a cable with temperature
30°C or 86°F . The NEC contains tables with correction factors at higher temperatures.
RH, RHW,
RUH, TA, TBS, SA,
(14-2) FEP, FEPB,
Size RUH(14-2) THW, THWN, RHH, THHN
(AWG) T, TW, UF XHHW XHHW† TFE‡
14 15 15 25 40
12 20 20 30 55
10 30 30 40 75
8 40 45 50 95
6 55 65 70 120
4 70 85 90 145
3 80 100 105 170
2 95 115 120 195
1 110 130 140 220
0 125 150 155 250
00 145 175 185 280
000 165 200 210 315
0000 195 230 235 370
† Dry Locations Only ‡ Nickel or nickel-coated copper only
TABLE 2.5 Current Ratings for Electronic Equipment and Chassis Copper Wires
Nominal
Resistance
(Ohms/1000 ft) Wire in Free Wire Confined
AWG Circular Mils at 100 °C Air in Insulation
where ρ = resistance per mil-foot, l = length of wire in feet, d = diameter of wire in mils, and R is
the resistance at 20 °C .
Example 2.10
Compute the resistance per mile of a copper conductor 1 ⁄ 8 inch in diameter given that the resis-
tance per mil-foot of copper is 10.4 Ω at 20 °C .
Solution:
( 1 ⁄ 8 ) in = 0.125 in = 125 mils
and from (2.53)
ρl
R = ---- 10.4 × 5280 = 3.51 Ω
- = ----------------------------
2 2
d 125
Column 3 of Table 2.5 shows the copper wire resistance at 100°C . Correction factors must be
applied to determine the resistance at other temperatures or for other materials. For copper, the
conversion equation is
R T = R 100 [ 1 + 0.004 ( T – 100 ) ] (2.54)
where R T is the resistance at the desired temperature, R 100 is the resistance at 100°C for copper,
and T is the desired temperature.
Example 2.11
Compute the resistance of 1000 ft of size AWG 12 copper wire at 30°C .
Solution:
From Table 2.5 we find that the resistance of 1000 ft of size AWG 12 copper wire at 100°C is
2.02 Ω . Then, by (2.54), the resistance of the same wire at 30°C is
b. The voltage drop throughout the electrical system must then be computed to ensure that it does
not exceed certain specifications. For instance, in the lighting part of the system referred to as the
lighting load, a variation of more than 5% in the voltage across each lamp causes an unpleasant
variation in the illumination. Also, the voltage variation in the heating and air conditioning load
must not exceed 10% .
Important! The requirements stated here are for instructional purposes only. They change from
time to time. It is, therefore, imperative that the designer consults the latest publications
of the applicable codes for compliance.
Example 2.12
Figure 2.44 shows a lighting load distribution diagram for an interior electric installation.
Lighting
L1
kw-hr Load
Utility Meter
Panel L2
Company Circuit Board
Switch
Breaker
Main
Lines
Branch
Lines
L3
The panel board is 200 feet from the meter. Each of the three branches has 12 outlets for 75 w, 120
volt lamps. The load center is that point on the branch line at which all lighting loads may be consid-
ered to be concentrated. For this example, assume that the distance from the panel to the load center
is 60 ft. Compute the size of the main lines. Use T (thermoplastic insulation) type copper conductor
and base your calculations on 25°C temperature environment.
Solution:
It is best to use a spreadsheet for the calculations so that we can compute sizes for more and differ-
ent branches if need be.
The computations for Parts I and II are shown on the spreadsheet of Figure 2.45 where from the last
line of Part II we see that the percent line drop is 12.29 and this is more than twice the allowable 5%
drop. With the 12.29% voltage variation the brightness of the lamps would vary through wide
ranges, depending on how many lamps were in use at one time.
A much higher voltage than the rated 120 V would cause these lamps to glow far above their rated
candle power and would either burn them immediately, or shorten their life considerably. It is there-
fore necessary to install larger than 12 AWG main line. The computations in Parts III through V of
the spreadsheet of Figures 2.45 and 2.46 indicate that we should not use a conductor less than size
6 AWG .
27 Next larger conductor size for main line Table 2.4 10 AWG Carries up to 30 A
0
28 Resistance of 1000 ft 10 AWG wire at 100 C Table 2.5 1.310 Ω
Orchard Publications
29 Resistance of 1000 ft 10 AWG wire at Spec. Temp Equation (2.54) 0.917 Ω
30 Resistance of actual length of wire (Step 20 x Step 29)/1000 0.367 Ω
31 Voltage drop in main line Step 9 x Step 30 8.25 V
32 Voltage drop from meter to load center Step 18 + Step 24 10.27 V
41 Next larger conductor size for main line Table 2.4 6 AWG Carries up to 55 A
0
42 Resistance of 1000 ft 6 AWG wire at 100 C Table 2.5 0.459 Ω
43 Resistance of 1000 ft 6 AWG wire at Spec. Temp Equation (2.54) 0.321 Ω
Figure 2.46. Spreadsheet for Example 2.12, Parts III, IV, and V
44 Resistance of actual length of wire (Step 20 x Step 43)/1000 0.129 Ω
45 Voltage drop in main line Step 9 x Step 44 2.89 V
46 Voltage drop from meter to load center Step 18 + Step 45 4.91 V
2-37
Chapter 2 Analysis of Simple Circuits
2.21 Summary
• Ohm’s Law states that the voltage across a device is proportional to the current through that
device and the resistance is the constant of proportionality.
• Open circuit refers to an open branch (defined below) in a network. It can be thought of as a resis-
tor with infinite resistance (or zero conductance). The voltage across the terminals of an open
may have a finite value or may be zero whereas the current is always zero.
• Short circuit refers to a branch (defined below) in a network that contains no device between its
terminals, that is, a piece of wire with zero resistance. The voltage across the terminals of a short is
always zero whereas the current may have a finite value or may be zero.
• A resistor absorbs power.
• A resistor does not store energy. The energy is dissipated in the form of heat.
• A node is a common point where one end of two or more devices are connected.
• A branch is part of a network that contains a device and its nodes.
• A mesh is a closed path that does not contain other closed paths
• A loop contains two or more closed paths.
• Kirchoff ’s Current Law (KCL) states that the algebraic sum of the currents entering (or leaving) a
node is zero.
• Kirchoff ’s Voltage Law (KVL) states that the algebraic sum of the voltage drops (or voltage rises)
around a closed mesh or loop is zero.
• Two or more devices are said to be connected in series if and only if the same current flows
through them.
• Two or more devices are said to be connected in parallel if and only if the same voltage exists
across their terminals.
• A series circuit with a single mesh can be easily analyzed by KVL.
• A parallel circuit with a single node pair can be easily analyzed by KCL.
• If two or more voltage sources are in series, they can be replaced by a single voltage source with
the proper polarity.
• If two or more current sources are in parallel, they can be replaced by a single current source with
the proper current direction.
• If two or more resistors are connected in series, they can be replaced by an equivalent resistance
whose value is
• If two or more resistors are connected in parallel, they can be replaced by an equivalent resis-
tance whose value is
1 1 1 1
-------- = ----- + ----- + … + ------
R eq R1 R2 Rn
• For the special case of two parallel resistors, the equivalent resistance is found from the relation
R1 ⋅ R2
R eq = R 1 ||R 2 = -----------------
-
R1 + R2
vS R1
+ R2
−
iS
i R1 i R2
v R1 R2
• In the United States, the Electronics Industries Association (EIA) and the American National
Standards Institute (ANSI) have established and published several standards for electrical and elec-
tronic devices to provide interchangeability among similar products made by different manufactur-
ers.
• The resistor color code is used for marking and identifying pertinent data for standard resistors.
Two standards are the EIA Standard RS-279 and MIL-STD-1285A.
• Besides their resistance value, resistors have a power rating.
• The resistance of a wire increases with increased temperature and decreases with decreased tem-
perature.
• The current ratings for wires and electronic equipment are established by national standards and
codes.
2.22 Exercises
Multiple Choice
1. Ohm’s Law states that
A. the conductance is the reciprocal of resistance
B. the resistance is the slope of the straight line in a voltage versus current plot
C. the resistance is the sum of the voltages across all the devices in a closed path divided by the
sum of the currents through all the devices in the closed path
D. the sum of the resistances around a closed loop is zero
E. none of the above
2. Kirchoff ’s Current Law (KCL) states that
A. the sum of the currents in a closed path is zero
B. the current that flows through a device is inversely proportional to the voltage across that
device
C. the sum of the currents through all the devices in a closed path is equal to the sum of the volt-
ages across all the devices
D. the sum of the currents entering a node is equal to the sum of the currents leaving that node
E. none of the above
3. Kirchoff ’s Voltage Law (KCL) states that
A. the voltage across a device is directly proportional to the current through that device
B. the voltage across a device is inversely proportional to the current through that device
C. the sum of the voltages across all the devices in a closed path is equal to the sum of the cur-
rents through all the devices
D. the sum of the voltages in a node is equal to the sum of the currents at that node
E. none of the above
4. For the three resistors connected as shown on the network of Figure 2.47, the equivalent resis-
tance R AB is computed with the formula
A. R AB = R1 + R2 + R3
2 2 2
B. R AB = R1 + R2 + R3
R R R
1 2 3
C. R AB = ------------------------------
-
R1 + R2 + R3
R1 R2 R3
D. R AB = ------------------------------
-
R1 + R2 + R3
A B
R1 R2 R3
R AB
Figure 2.47. Network for Question 4
5. For the three conductances connected as shown on the network of Figure 2.48, the equivalent
conductance G AB is computed with the formula
A. G AB = G1 + G2 + G3
2 2 2
B. G AB = G1 + G2 + G3
G G G
1 2 3
C. G AB = --------------------------------
-
G1 + G2 + G3
1 - = -----
D. --------- 1- + -----
1- + -----
1-
G AB G1 G2 G3
A B
G1 G2 G3
G AB
6. For the three resistances connected as shown on the network of Figure 2.49, the equivalent con-
ductance G AB is
–1
A. 21 Ω
–1
B. 1.5 Ω
A
R1 R2 R3
G AB 4Ω 12 Ω 3Ω
B
Figure 2.49. Network for Question 6
iR
+
Rest of the vR R
Circuit
−
8. The node voltages shown in the partial network of Figure 2.51 are relative to some reference
node not shown. The value of the voltage v X is
A. – 6 V
B. 16 V
C. 0 V
D. 10 V
10 V
2A 3Ω
2V 8V
+
−
vX
8Ω
6V 2A
4Ω
20 V
Figure 2.51. Network for Question 8
+
4Ω
+ v
−
8V −
10. For the circuit of Figure 2.53 the value of the current i is
A. 2 A
B. 0 A
C. ∞ A
D. 1 A
E. none of the above
4Ω
+ 12 Ω
− i
8V
Problems
1. In the circuit of Figure 2.54, the voltage source and both resistors are variable.
+
+ R1
Power −
Supply
(Voltage +
Source) R2
− v −
S
2. In the circuit of Figure 2.55, R LOAD represents the load of that circuit.
3A
+
−
5Ω 5A 24 V 2Ω i LOAD
+
+ 10 Ω v LOAD p LOAD
−
75 V −
R LOAD
Compute:
a. i LOAD Answer: 8 A
b. v LOAD Answer: 20 V
3. For the circuit of Figure 2.56, compute the power supplied or absorbed by each device.
24 A 6A
B D
+ + +
A 12 V C 60 V E 36 V
− − −
4. In the circuit of Figure 2.57, compute the power delivered or absorbed by the dependent voltage
source.
R1 2Ω R 3 10 Ω
10 A R4
R2 +
+ − 10 Ω
− 6Ω
5i R V
50 V iR 2
2
Answer: 62.5 w
5. In the network of Figure 2.58, each resistor is 10 Ω. Compute the equivalent resistance R eq .
Req
Answer: 360 ⁄ 21 Ω
6. In the network of Figure 2.59, R 1 = 10 Ω and R 2 = 20 Ω . Compute the current i supplied by
the 15 V source.
R1 R1 R1 R1 R1 R1 R1
i
+ R2 R2 R2 R2 R2 R2 R1
−
15 V
Hint: Start at the right end and by series and parallel combinations of the resistors, reduce the cir-
cuit to a simple series circuit. This method is known as analysis by network reduction.
Answer: 0.75 A
7. In the circuit of Figure 2.60, use the voltage division expression to compute v X and v Y .
+ 24 V
+
vX 20 Ω −
5Ω
−
−
+ 10 Ω vY 40 Ω
−
16 V +
Figure 2.60. Circuit for Problem 7
Answers: v X = 8 ⁄ 3 V , v Y = – 16 ⁄ 3 V
8. In the circuit of Figure 2.61, use the current division expression to compute i X and i Y .
iX 5Ω iY 10 Ω
16 A 20 Ω 24 A 40 Ω
Answers: i X = – 16 ⁄ 3 V , i Y = – 8 ⁄ 3 V
9. A transformer consists of two separate coils (inductors) wound around an iron core as shown in Figure
2.62. There are many turns in both the primary and secondary coils but, for simplicity, only few
are shown. It is known that the primary coil has a resistance of 5.48 Ω at 20 degrees Celsius. After
two hours of operation, it is found that the primary coil resistance has risen to 6.32 Ω. Compute
the temperature rise of this coil.
Primary Secondary
Coil Coil
Iron Core
Answer: 36°C
10. A new facility is to be constructed at a site which is 1.5 miles away from the nearest electric utility
company substation. The electrical contractor and the utility company have made load calcula-
tions, and decided that the main lines from the substation to the facility will require several cop-
per conductors in parallel. Each of these conductors must have insulation type THHN and must
carry a maximum current of 220 A in a 20 °C temperature environment.
a. Compute the voltage drop on each of these conductors from the substation to the facility when
they carry the maximum required current of 220 A in a 20 °C temperature environment.
Answer: 70 V
b. The power absorbed by each conductor under the conditions stated above.
Answer: 15.4 Kw
c. The power absorbed per square cm of the surface area of each conductor under the conditions
stated above.
2
Answer: 0.02 w ⁄ cm
and it is denoted as v R = ∞ in the figure below. Now, we observe that the triangles abc and dbe
2.0 – 1.5
are similar. Then be de 6
------ = ------ or --------------------- = -------------- and thus v R = ∞ = 24 V
bc ac 2.0 vR = ∞
vR ( V )
vR = ∞ a
d
6.0
e b
c
0.5 1.0 1.5 2.0 iR ( A )
8. D We denote the voltage at the common node as v A shown on the figure of the next page. Then,
A v – 10
from the branch that contains the 3 Ω resistor, we observe that ----------------
- = 2 or v A = 16 and
3
thus v X = – 6 + 16 = 10 V
10 V
2A 3Ω
vA
2V 8V
+
−
vX
8Ω
6V 2A
4Ω
20 V
9. A This is an open circuit and therefore no current flows through the resistor. Accordingly, there
is no voltage drop across the resistor and thus v = 8 V .
10. A The 12 Ω resistor is shorted out by the short on the right side of the circuit and thus the only
resistance in the circuit is the 4 Ω resistor.
Problems
1. a. With v S = 120 V , R 1 = 70 Ω , and R 2 = 50 Ω , the circuit is as shown below.
70 Ω
vS R1
+ R2 50 Ω
−
120 V
0Ω
vS R1
+ R2 50 Ω
−
120 V
We observe that
v R = v s = 120V
2
and
2
vR
-------2 = 200 w
R2
or
2
120 = 200 w
-----------
R2
or
2
120
R 2 = ----------- = 72 Ω
200
Then,
2
v
-----S- = 100 w
R2
or
2
vS
- = 100 w
--------
100
or
2
v S = 100 × 100 = 10, 000
or
vS = 10, 000 = 100 V
i LOAD
3A A
+
−
5Ω 5A 24 V 2Ω i LOAD
+
+ 10 Ω v LOAD p LOAD
−
75 V −
Mesh 1 Mesh 2 R LOAD
B
or
v AB = 60 V
3. Where not shown, we assign plus (+) and minus (−) polarities and current directions in accor-
dance with the passive sign convention as shown below.
iB iD
24 A 6A
− + X+ −
B D
+ iA vB iC + vD iE +
vA A vC C vE E
− 12 V − 60 V − 36 V
i C = i B + i D = 24 + 6 = 30 A
Then,
p A = v A i A = 12 × 24 = 288 w ( absorbed )
p E = v E i E = 36 × 6 = 216 w ( absorbed )
p C = v C ( – i C ) = 60 × ( – 30 ) = – 1800 w ( supplied )
By KVL
vA + vB = vC
or
v B = v C – v A = 60 – 12 = 48 V
and thus
p B = v B i B = 48 × 24 = 1152 w ( absorbed )
Also by KVL
vD + vE = vC
or
v D = v C – v E = 60 – 36 = 24 V
and thus
p D = v D i D = 24 × 6 = 144 w ( absorbed )
R1 2Ω R 3 10 Ω X iR
4
iR
3
10 A
+ + + R4
R2 vR
+ vR
− 4 10 Ω
− 6Ω 2
− 5i R V −
50 V iR 2
2
iD
By KVL,
v R = 50 – 2 × 10 = 30 V
2
and by Ohm’s law,
vR
i R = -------2 = 30
------ = 5 A
2 R2 6
and
v R = 5i R = 25 V
4 2
Then,
vR
i R = -------4 = 25
------ = 2.5 A
4 R4 10
By KCL at Node X
iD = iR – iR
3 4
where
i R = 10 – i R = 10 – 5 = 5 A
3 2
and thus
i D = i R – i R = 5 – 2.5 = 2.5 A
3 4
5. The simplification procedure starts with the resistors in parallel which are indicated below.
10 10
10 10 10
10 10 5 10 5
10 10
Req Req
10 10
5 10 5
10 10
10 10 10
10 10
10 10
5 10 15 5 6
Req Req
5 10 15 5 6
10 10
5 16 180 ⁄ 21
5 16 180 ⁄ 21
6. We start with the right side of the circuit where the last two resistors are in series as shown below.
R1 R1 R1 R1 R1 R1 R1
i
+ R2 R2 R2 R2 R2 R2 R1
−
15 V
Then,
R 1 + R 1 = 10 + 10 = 20 Ω
Next,
20 || 20 = 10 Ω
10 + 10 = 20 Ω
and so on. Finally, addition of the left most resistor with its series equivalent yields
10 + 10 = 20 Ω
and thus
i = 15 ⁄ 20 = 0.75 A
7. We first simplify the given circuit by replacing the parallel resistors by their equivalents. Thus,
5 × 20- = 4 Ω
5 || 20 = --------------
5 + 20
and
10 × 40
10 || 40 = ------------------ = 8 Ω
10 + 40
The voltage sources are in series opposing connection and they can be replaced by a single volt-
age source with value 24 – 16 = 8 V . The simplified circuit is shown below.
A
+ i 8V
+
vX 4Ω −
−
−
8Ω vY
25 Ω 50 Ω
8A iX iY
R 20 = 5.48 Ω R (Ω) c
RX = 6.32 Ω
b
T 20 = 20°C
TX = ∆T RX
R 20
R0
a e d
−234.5 0 T ( °C )
T 20 TX
or
RX 6.32
∆T = T X = -------- × 254.5 – 254.5 = ---------- × 254.5 – 254.5 = 36°C
R 20 5.48
10. a. From Table 2.4 we find that the cable size must be 0000 AWG and this can carry up to 235 A .
Also, from Table 2.5 we find that the resistance of this conductor is 0.059 Ω ⁄ 1000 ft at
100°C . Then, the resistance of this conductor that is 1.5 miles long is
Ω 5280
0.059 ---------------- × ---------------- × 1.5 miles = 0.4673 Ω at 100°C
1000ft 1 mile
To find the resistance of this cable at 20°C , we use the relation of (2.54). Thus,
R 20 = R 100 [ 1 + 0.004 ( 20 – 100 ) ] = 0.4673 ( 1 – 0.32 ) = 0.3178 Ω
From Table 2.5 we find that the cross section of a 0000 AWG cable is 211,600 circular mils.
2
Then, the cross-section of this cable in cm is
–6 2
5.067 × 10 cm 2
211, 600 circular mils × ------------------------------------------ = 1.072 cm
circular mil
Therefore, the cable diameter in cm is
d= 1.072 = 1.035 cm
The cross-section circumference of the cable is
πd = π × 1.035 = 3.253 cm
and the surface area of the cable is
5
1.609 Km 10 cm 5 2
Surface area = πdl = 3.253 cm × 1.5 miles × ------------------------ × ----------------- = 7.851 × 10 cm
1 mile 1 Km
2
Then, the power absorbed per cm is
Total power 15, 400 w 2
p 2 = -------------------------------- = ---------------------------------------- = 0.02 w ⁄ cm
cm 2 5 2
cm 7.851 × 10 cm
NOTES
T
his chapter begins with nodal, loop and mesh equations and how they are applied to the solu-
tion of circuits containing two or more node-pairs and two or more loops or meshes. Other
topics included in this chapter are the voltage-to-current source transformations and vice
versa, Thevenin’s and Norton’s theorems, the maximum power transfer theorem, linearity, superposi-
tion, efficiency, and regulation.
Theorem 3.1
Let N = number of nodes in a circuit ; then N – 1 independent nodal equations are required to
completely describe that circuit. These equations are obtained by setting the algebraic sum of the
currents leaving each of the N – 1 nodes equal to zero.
Theorem 3.2
Let L = M = number of loops or meshes , B = number of branches , N = number of nodes in
a circuit; then L = M = B – N + 1 independent loop or mesh equations are required to completely
describe that circuit. These equations are obtained by setting the algebraic sum of the voltage drops
around each of the L = M = B – N + 1 loops or meshes equal to zero.
4. If the circuit contains a voltage source between two nodes, say nodes j and k denoted as node vari-
ables v j and v k , we replace the voltage source with a short circuit thus forming a combined node
and we write a nodal equation for this common node in terms of both v j and v k ; then we relate
the voltage source to the node variables v j and v k .
Example 3.1
Write nodal equations for the circuit shown in Figure 3.1, and solve for the unknowns of these equa-
tions using matrix theory, Cramer’s rule, or the substitution method. Verify your answers with
Excel® or MATLAB®. Please refer to Appendix A for discussion and examples.
8Ω 10 Ω
4Ω 6Ω
12 A 18 A 24 A
Solution:
We observe that there are 4 nodes and we denote these as , , , and G (for ground) as shown in
Figure 3.2.
v1 8Ω v2 10 Ω v3
i8
i 10
i6
4Ω i4 6Ω
12 A 18 A 24 A
G
Figure 3.2. Circuit for Example 3.1
For convenience, we have denoted the currents with a subscript that corresponds to the resistor
value through which it flows through; thus, the current that flows through the 4 Ω resistor is
denoted as i 4 , the current through the 8 Ω resistor is denoted as i 8 , and so on. We will follow this
practice in the subsequent examples.
For the circuit of Figure 3.2, we need N – 1 = 4 – 1 = 3 nodal equations. Let us choose node G
(ground) as our reference node, and we assign voltages v 1, v 2 , and v 3 at nodes , , and respec-
tively; these are to be measured with respect to the ground node G. Now, application of KCL at
node yields
i 4 + i 8 – 12 = 0
or
i 4 + i 8 = 12 (3.1)
where i 8 is the current flowing from left to right. Expressing (3.1) in terms of the node voltages, we
get
v v1 – v2
----1- + ---------------
- = 12
4 8
or
⎛1 1 1
--- + --- ⎞ v – --- v = 12
⎝ 4 8⎠ 1 8 2
or
3v 1 – v 2 = 96 (3.2)
where i 8 is the current flowing from right to left * and i 10 is the current that flows from left to
right.
* The direction of the current through the 8 Ω resistor from left to right in writing the nodal equation at Node 1,
and from right to left in writing the nodal equation at Node 2, should not be confusing. Remember that we wrote
independent node equations at independent nodes and, therefore, any assumptions made in writing the first
equation need not be held in writing the second since the latter is independent of the first. Of course, we could
have assumed that the current through the 8 Ω resistor flows in the same direction in both nodal equations. It is
advantageous, however, to assign a (+) sign to all currents leaving the node in which we apply KCL. The advan-
tage is that we can check, or even write the node equations by inspection. With reference to the above circuit and
equation (3.1) for example, since G = 1/R, we denote the coefficients of v1 (1/4 and 1/8 siemens) as self conduc-
tances and the coefficient of v2 (−1/8) as mutual conductance. Likewise, in equation (3.3) the coefficients of v2
(1/8 and 1/10 siemens) are the self conductances and the coefficients of v1 (−1/8) and v3 (−1/10) are the mutual
conductances. Therefore, we can write a nodal equation at a particular node by inspection, that is, we assign
plus (+) values to self conductances and minus (−) to mutual conductances.
5v 1 – 9v 2 + 4v 3 = 720 (3.4)
where i 10 is the current flowing from right to left. Then, in terms of node voltages,
v3 – v2 v3
- + ----- = 24
--------------- (3.5)
10 6
or
1 1- + 1
– ------ v 2 + ⎛ ----- --- ⎞ v = 24
10 ⎝ 10 6 ⎠ 3
or
– 3v 2 + 18v 3 = 720
or
v 2 – 6 v3 = – 240 (3.6)
Equations (3.2), (3.4), and (3.6) constitute a set of three simultaneous equations with three
unknowns. We write them in matrix form as follows:
3 –1 0 v1 96
5 –9 4 v2 720
= (3.7)
0 1 –6 v3 – 240
⎧
⎪
⎨
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
G V I
We can use Cramer’s rule or Gauss’s elimination method as discussed in Appendix A, to solve (3.7)
for the unknowns. Simultaneous solution yields v 1 = 12 V , v 2 = – 60 V , and v 3 = 30 V . With
these values we can determine the current in each resistor, and the power absorbed or delivered by
each device.
Check with MATLAB®:
G=[3 −1 0; 5 −9 4; 0 1 −6]; I=[96 720 -240]'; V=G\I;...
fprintf(' \n'); fprintf('v1 = %5.2f volts \t', V(1)); ...
fprintf('v2 = %5.2f volts \t', V(2)); fprintf('v3 = %5.2f volts', V(3)); fprintf(' \n')
v1 = 12.00 volts v2 = -60.00 volts v3 = 30.00 volts
Check with Excel®:
The spreadsheet of Figure 3.3 shows the solution of the equations of (3.7). The procedure is dis-
cussed in Appendix A.
A B C D E F G H
1 Spreadsheet for Matrix Inversion and Matrix Multiplication
2
3 3 -1 0 96
4 G= 5 -9 4 I= 720
5 0 1 -6 -240
6
7 0.417 -0.050 -0.033 12
-1
8 G = 0.250 -0.150 -0.100 V= -60
9 0.042 -0.025 -0.183 30
Example 3.2
For the circuit of Figure 3.4, write nodal equations in matrix form and solve for the unknowns using
matrix theory, Cramer’s rule, or Gauss’s elimination method. Verify your answers with Excel or
MATLAB. Please refer to Appendix A for procedures and examples. Then construct a table show-
ing the voltages across, the currents through and the power absorbed or delivered by each device.
Solution:
We observe that there are 4 nodes and we denote these as , , , and G (for ground) as shown in
Figure 3.5.
− +
8Ω 10 V
+ 4Ω 6Ω
−
18 A 24 A
12 V
v1 v2 v3
− +
8Ω
10 V
+ 4Ω 6Ω
−
18 A 24 A
12 V
G
Figure 3.5. Circuit for Example 3.2 with assigned nodes and voltages
We assign voltages v 1, v 2 , and v 3 at nodes , , and respectively; these are to be measured with
respect to the ground node G . We observe that v 1 is a known voltage, that is, v 1 = 12 V and thus
our first equation is
v 1 = 12 (3.8)
Next, we move to node where we observe that there are three currents flowing out of this node,
one to the left, one to the right, and one down. Therefore, our next nodal equation will contain three
terms. We have no difficulty writing the term for the current flowing from node to node , and
for the 18 A source; however, we encounter a problem with the third term because we cannot express
it as term representing the current flowing from node to node . To work around this problem,
we temporarily remove the 10 V voltage source and we replace it with a “short” thereby creating a
combined node (or generalized node or supernode as some textbooks call it), and the circuit now looks as
shown in Figure 3.6.
Combined Node
v1 8Ω v2 v3
− +
i8
10 V
+ 4Ω 6Ω
− i6 Removed and
18 A 24 A
12 V replaced by a
short
G
Figure 3.6. Circuit for Example 3.2 with a combined node
– 3v 1 + 3v 2 + 4v 3 = 144 (3.10)
To obtain the third equation, we reinsert the 10 V source between nodes and . Then,
v 3 – v 2 = 10 (3.11)
* The combined node technique allows us to combine two nodal equations into one but requires that we use the
proper node designations. In this example, to retain the designation of node 2, we express the current i 8 as
v2 – v1 v
---------------- . Likewise, at node 3, we express the current i 6 as ----3- .
8 6
1 0 0 v1 12
–3 3 4 v2 144
= (3.12)
0 –1 1 v3 10
⎧
⎪
⎪
⎨
⎪
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
G V I
A B C D E F G H
1 Spreadsheet for Matrix Inversion and Matrix Multiplication
2
3 1 0 0 12
4 G= -3 3 4 I= 144
5 0 -1 1 10
6
7 1.000 0.000 0.000 12
-1
8 G = 0.429 0.143 -0.571 V= 20
9 0.429 0.143 0.429 30
Table 3.1 shows that the power delivered is equal to the power absorbed.
2. If the circuit does not contain any current sources, we apply KVL around each mesh or loop.
Power (watts)
Device Voltage (volts) Current (amps) Delivered Absorbed
12 V Source 12 2 24
10 V Source 10 19 190
18 A Source 20 18 360
24 A Source 30 24 720
4 Ω Resistor 12 3 36
6 Ω Resistor 30 5 150
8 Ω Resistor 8 1 8
Total 744 744
3. If the circuit contains a current source between two meshes or loops, say meshes or loops j and k
denoted as mesh variables i j and i k , we replace the current source with an open circuit thus
forming a common mesh or loop, and we write a mesh or loop equation for this common mesh
or loop in terms of both i j and i k . Then, we relate the current source to the mesh or loop vari-
ables i j and i k .
Example 3.3
For the circuit of Figure 3.8, write mesh equations in matrix form and solve for the unknowns using
matrix theory, Cramer’s rule, or Gauss’s elimination method. Verify your answers with Excel or
MATLAB. Please refer to Appendix A for procedures and examples. Then construct a table show-
ing the voltages across, the currents through, and the power absorbed or delivered by each device.
2Ω 36 V 8Ω
−
+
+ 6Ω 12 Ω
−− 4Ω
12 V
+
−
24 V
Figure 3.8. Circuit for Example 3.3
Solution:
For this circuit we need M = L = B – N + 1 = 9 – 7 + 1 = 3 mesh or loop equations and we arbi-
trarily assign currents i 1 , i 2 , and i 3 all in a clockwise direction as shown in Figure 3.9.
2Ω 36 V 8Ω 10 Ω
−
+
+ 6Ω 12 Ω
−− 4Ω
i1 i3
12 V i2
+
−
24 V
6i 1 – 4i 2 = 12 (3.13)
Mesh #2: Starting with the lower end of the 4 Ω resistor, going clockwise, and observing the pas-
sive sign convention, we get the equation
4 ( i 2 – i 1 ) + 36 + 8i 2 + 6 ( i 2 – i 3 ) = 0
or
– 4i 1 + 18i 2 – 6i 3 = – 36 (3.14)
Mesh #3: Starting with the lower end of the 6 Ω resistor, going clockwise, and observing the pas-
sive sign convention, we get:
6 ( i 3 – i 2 ) + 10i 3 + 12i 3 + 24 = 0
or
– 6i 2 + 28i 3 = – 24 (3.15)
Note: For this example, we assigned all three currents with the same direction, i.e., clockwise. This,
of course, was not mandatory; we could have assigned any direction in any mesh. It is advantageous,
however, to assign the same direction to all currents. The advantage here is that we can check, or
even write the mesh equations by inspection. This is best explained with the following observations:
1. With reference to the circuit of Figure 3.9 and equation (3.13), we see that current i 1 flows
through the 2 Ω and 4 Ω resistors. We call these the self resistances of the first mesh. Their sum,
i.e., 2 + 4 = 6 is the coefficient of current i 1 in that equation. We observe that current i 2 also
flows through the 4 Ω resistor. We call this resistance the mutual resistance between the first and
the second mesh. Since i 2 enters the lower end of the 4 Ω resistor, and in writing equation
(3.13) we have assumed that the upper end of this resistor has the plus (+) polarity, then in
accordance with the passive sign convention, the voltage drop due to current i 2 is – 4i 2 and this
is the second term on the left side of (3.13).
2. In Mesh 2, the self resistances are the 4 Ω , 8 Ω , and 6 Ω resistors whose sum, 18, is the coeffi-
cient of i 2 in equation (3.14). The 4 Ω and 6 Ω resistors are also the mutual resistances between
the first and second, and the second and the third meshes respectively. Accordingly, the voltage
drops due to the mutual resistances in the second equation have a minus (-) sign, i.e, – 4i 1 and
– 6i 3 .
3. The signs of the coefficients of i 2 and i 3 in (3.15) are similarly related to the self and mutual
resistances in the third mesh.
Simplifying and rearranging (3.13), (3.14) and (3.15) we get:
3i 1 – 2i 2 = 6 (3.16)
2i 1 – 9 i 2 + 3i 3 = 18 (3.17)
3i 2 – 14 i 3 = 12 (3.18)
3 –2 0 i1 6
2 –9 3 i2 18
= (3.19)
0 3 – 14 i3 12
⎧
⎪
⎪
⎨
⎪
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
R I V
Simultaneous solution yields i 1 = 0.4271 , i 2 = – 2.3593 , and i 3 = – 1.3627 where the negative val-
ues for i 2 and i 3 indicate that the actual direction for these currents is counterclockwise.
Table 3.2 shows that the power delivered by the voltage sources is equal to the power absorbed by
the resistors.
Example 3.4
For the circuit of Figure 3.11, write loop equations in matrix form, and solve for the unknowns
using matrix theory, Cramer’s rule, or Gauss’s elimination method. Verify your answers with Excel
or MATLAB. Please refer to Appendix A for procedures and examples. Then, construct a table
showing the voltages across, the currents through and the power absorbed or delivered by each
device.
2Ω 36 V 8Ω 10 Ω
−
+
+ 4Ω 6Ω 12 Ω
−
12 V
+
−
24 V
Solution:
This is the same circuit as that of the previous example where we found that we need 3 mesh or
loop equations. We choose our loops as shown in Figure 3.12, and we assign currents i 1 , i 2 , and i 3 ,
all in a clockwise direction.
2Ω 36 V 8Ω 10 Ω
a
−
+
b c d
+ 4Ω 6Ω 12 Ω
−
12 V i3 i2 i1
h e
+
−
g f 24 V
Loop 1 (abgh): Starting with the left side of the 2 Ω resistor and complying with the passive sign
convention, we get:
2 ( i 1 + i 2 + i 3 ) + 4i 1 – 12 = 0
or
6i 1 + 2i 2 + 2i 3 = 12
or
3i 1 + i 2 + i 3 = 6 (3.20)
Loop 2 (abcfgh): As before, starting with the left side of the 2 Ω resistor and complying with the
passive sign convention, we get:
2 ( i 1 + i 2 + i 3 ) + 36 + 8 ( i 2 + i 3 ) + 6i 2 – 12 = 0
or
2i 1 + 16i 2 + 10i 3 = – 24
or
i 1 + 8i 2 + 5i 3 = – 12 (3.21)
Loop 3 (abcdefgh): Likewise, starting with the left side of the 2 Ω resistor and complying with the
passive sign convention, we get:
2 ( i 1 + i 2 + i 3 ) + 36 + 8 ( i 2 + i 3 ) + 10i 3 + 12i 3 + 24 – 12 = 0
or
2i 1 + 10i 2 + 32i 3 = – 48
or
i 1 + 5i 2 + 16i 3 = – 24 (3.22)
3 1 1 i1 6
1 8 5 i2 – 12
= (3.23)
1 5 16 i3 – 24
⎧
⎪
⎨
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
R I V
Power (watts)
Device Voltage (volts) Current (amps) Delivered Absorbed
12 V Source 12.000 0.427 5.124
36 V Source 36.000 2.359 84.924
24 V Source 24.000 1.363 32.712
2 Ω Resistor 0.854 0.427 0.365
4 Ω Resistor 11.146 2.786 31.053
8 Ω Resistor 18.872 2.359 44.519
6 Ω Resistor 5.982 0.997 5.964
10 Ω Resistor 13.627 1.363 18.574
12 Ω Resistor 16.352 1.363 22.283
Total 122.760 122.758
Example 3.5
For the circuit of figure 3.13, write mesh equations in matrix form and solve for the unknowns
using matrix theory, Cramer’s rule, or the substitution method. Verify your answers with Excel or
MATLAB. Please refer to Appendix A for procedures and examples.
2Ω 36 V 8Ω 10 Ω
+
−
+ 6Ω 12 Ω
−− 4Ω
12 V
5A
Solution:
This is the same circuit as those of the two previous examples except that the 24 V voltage source
has been replaced by a 5 A current source. As before, we need M = L = B – N + 1 = 9 – 7 + 1 = 3
mesh or loop equations, and we assign currents i 1 , i 2 , and i 3 all in a clockwise direction as shown in
Figure 3.14.
2Ω 36 V 8Ω 10 Ω
+
−
+ 6Ω 12 Ω
−− 4Ω
12 V i1 i3
i2
5A
For Meshes 1 and 2, the equations are the same as in Example 3.3 where we found them to be
6i 1 – 4i 2 = 12
or
3i 1 – 2i 2 = 6 (3.24)
and
– 4i 1 + 18i 2 – 6i 3 = – 36
or
2i 1 – 9 i 2 + 3i 3 = 18 (3.25)
For Mesh 3, we observe that the current i 3 is just the current of the 5 A current source and thus our
third equation is simply
i3 = 5 (3.26)
3 –2 0 i1 6
2 –9 3 i2 18
= (3.27)
0 0 1 i3 5
⎧
⎪
⎨
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
R I V
Example 3.6
Write mesh equations for the circuit of Figure 3.15 and solve for the unknowns using MATLAB or
Excel. Then, compute the voltage drop across the 5 A source.
2Ω 36 V 8Ω
−
+
4Ω
+ 6Ω
−
12 V
5A
10 Ω 16 Ω
+ 20 Ω
− 12 Ω
12 V
18 Ω 24 V
−
+
Solution:
Here, we would be tempted to assign mesh currents as shown in Figure 3.16. However, we will
encounter a problem as explained below.
The currents i 3 and i 4 for Meshes 3 and 4 respectively present no problem; but for Meshes 1 and 2
we cannot write mesh equations for the currents i 1 and i 2 as shown because we cannot write a
term which represents the voltage across the 5 A current source. To work around this problem we
temporarily remove (open) the 5 A current source and we form a “combined mesh” (or generalized mesh
or supermesh as some textbooks call it) and the current that flows around this combined mesh is as
shown in Figure 3.17.
2Ω 36 V 8Ω
−
+
4Ω
+ 6Ω
− i2
12 V i1
5A
10 Ω 16 Ω
+
− 12 Ω
12 V 20 Ω
i3 i4
18 Ω − 24 V
+
Figure 3.16. Circuit for Example 3.6 with erroneous current assignments
2Ω 36 V 8Ω
−
+
Combined 4Ω
+ 6Ω
−− Mesh
12 V
10 Ω 16 Ω
+
− 12 Ω 20 Ω
12 V i4
i3
18 Ω 24 V
−
+
Figure 3.17. Circuit for Example 3.6 with correct current assignments
Now, we apply KVL around this combined mesh. We start at the left end of the 2 Ω resistor, and we
express the voltage drop across this resistor as 2i 1 since in Mesh 1 the current is essentially i 1 .
Continuing, we observe that there is no voltage drop across the 4 Ω resistor since no current flows
through it. The current now enters Mesh 2 where we encounter the 36 V drop due to the voltage
source there, and the voltage drops across the 8 Ω and 6 Ω resistors are 8i 2 and 6i 2 respectively
since in Mesh 2 the current now is really i 2 . The voltage drops across the 16 Ω and 10 Ω resistors
are expressed as in the previous examples and thus our first mesh equation is
2i 1 + 36 + 8i 2 + 6i 2 + 16 ( i 2 – i 4 ) + 10 ( i 1 – i 3 ) – 12 = 0
or
12i 1 + 30i 2 – 10 i 3 – 16 i 4 = – 24
or
6i 1 + 15i 2 – 5 i 3 – 8 i 4 = – 12 (3.28)
Now, we reinsert the 5 A current source between Meshes 1 and 2 and we obtain our second equa-
tion as
i1 – i2 = 5 (3.29)
5i 1 – 20 i 3 + 6i 4 = – 6 (3.30)
and
16 ( i 4 – i 2 ) + 20i 4 – 24 + 12 ( i 4 – i 3 ) = 0
or
4i 2 + 3i 3 – 12 i 4 = – 6 (3.31)
6 15 – 5 – 8 i1 – 12
1 –1 0 0 i2 5
5 0 – 20 6 i3 = –6 (3.32)
0 4 3 – 12 i4 –6
⎧
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
R I V
We can verify this value by application of KVL around Mesh 2 where starting with the lower end of
the 6 w resistor and going counterclockwise we get
( 6 + 8 ) × 1.6025 – 36 + 4 × ( 3.3975 + 1.6025 ) – 36.455 + 16 × ( 1.6025 + 0.2737 ) = 0
With these values, we can also compute the power delivered or absorbed by each of the voltage
sources and the current source.
a a
RS
+ Rp
−−
vS iS
(a) (b)
b b
In Figure 3.18 (a), the voltage of the source will always be v S but the terminal voltage v ab will be
v ab = v S – v R if a load is connected at points a and b . Likewise, in Figure 3.18 (b) the current of
s
the source will always be i S but the terminal current i ab will be i ab = i S – i RP if a load is connected
at points a and b .
Now, we will show that the networks of Figures 3.18 (a) and 3.18 (b) can be made equivalent to each
other.
In the networks of Figures 3.19 (a) and 3.19 (b), the load resistor R L is the same in both.
a a
RS + +
i ab i ab
+ v ab RP v ab
−−
vS RL iS RL
− −
b b
(a) (b)
and
vS
i ab = ------------------
- (3.34)
RS + RL
and
RP
i ab = ------------------- i S (3.36)
Rp + RL
Since we want v ab to be the same in both circuits 3.19 (a) and 3.19 (b), from (3.33) and (3.35) we get:
RL RP RL
- v S = ------------------- i S
v ab = ------------------ (3.37)
RS + RL Rp + RL
Likewise, we want i ab to be the same in both circuits 3.19 (a) and 3.19 (b). Then, from (3.34) and
(3.36) we get:
vS Rp
- = ------------------- i S
i ab = ------------------ (3.38)
RS + RL Rp + RL
vS = Rp iS (3.39)
and
Rp = RS (3.40)
Therefore, a voltage source v S in series with a resistance R S can be transformed to a current source
i S whose value is equal to v S ⁄ R S , in parallel with a resistance R p whose value is the same as R S .
Likewise, a current source i S in parallel with a resistance R p can be transformed to a voltage source
v S whose value is equal to i S × R S , in series with a resistance whose value is the same as R p .
Example 3.7
Find the current i 10 through the 10 Ω resistor in the circuit of Figure 3.20.
2Ω
4Ω i 10
+
−− 10 Ω
12 V
32 V −
+
Solution:
This problem can be solved either by nodal or by mesh analysis; however, we will transform the
voltage sources to current sources and we will replace the resistances with conductances except the
10 Ω resistor. We will treat the 10 Ω resistor as the load of this circuit so that we can compute the
current i 10 through it. Then, the circuit becomes as shown in Figure 3.21.
8A i 10
10 Ω
6A –1 –1
0.5 Ω 0.25 Ω
Figure 3.21. Circuit for Example 3.7 where voltage sources have been transformed to current sources
Combination of the two current sources and their conductances yields the circuit shown in Figure
3.22.
i 10
–1
0.75 Ω 10 Ω
2A
Figure 3.22. Circuit for Example 3.7 after combinations of current sources and conductances
–1
Converting the 0.75 Ω conductance to a resistance and performing current-to-voltage source
transformation, we get the circuit of Figure 3.23.
4/3 Ω
i 10
−
+
+− 10 Ω
8/3 V
x
x ×
× Load R TH Load
Network
to be replaced (Rest
v xy + v xy (Rest
by a Thevenin of the
equivalent − of the
circuit) v TH circuit)
circuit
×
y ×
y
(a) (b)
The network of Figure 3.24 (b) will be equivalent to the network of Figure 3.24 (a) if the load is
removed in which case both networks will have the same open circuit voltages v xy and consequently,
v TH = v xy
Therefore,
v TH = v xy open (3.41)
The Thevenin resistance R TH represents the equivalent resistance of the network being replaced by
the Thevenin equivalent, and it is found from the relation
v xy open v TH
R TH = --------------------
- = -------- (3.42)
i xy short i SC
If the network to be replaced by a Thevenin equivalent contains independent sources only, we can
find the Thevenin resistance R TH by first shorting all (independent) voltage sources, opening all
(independent) current sources, and calculating the resistance looking into the direction that is opposite to
the load when it has been disconnected from the rest of the circuit at terminals x and y .
Example 3.8
Use Thevenin’s theorem to find i LOAD and v LOAD for the circuit of Figure 3.25.
3Ω 3Ω 7Ω
i LOAD
+
+ 6Ω v LOAD
−− RLOAD
10 Ω
12 V − 8Ω
5Ω
Solution:
We will apply Thevenin’s theorem twice; first at terminals x and y and then at x' and y' as shown in
Figure 3.26.
× × ×
R TH x
x 7Ω x'
3Ω 3Ω i LOAD
+
+ 6Ω v LOAD RLOAD +
+
−− 10 Ω −
12 V − v TH
y 5Ω y' 8 Ω y
× × ×
Figure 3.26. First step in finding the Thevenin equivalent of the circuit of Example 3.8
Breaking the circuit at x – y , we are left with the circuit shown in Figure 3.27.
× x
3Ω
+ 6Ω R TH
−
12 V
×y
Figure 3.27. Second step in finding the Thevenin equivalent of the circuit of Example 3.8
Applying Thevenin’s theorem at x and y and using the voltage division expression, we get
6
v TH = v xy = ------------- × 12 = 8 V
3+6
(3.43)
R TH 3 × 6- = 2 Ω
= ------------
V =0
s 3+6
and thus the equivalent circuit to the left of points x and x is as shown in Figure 3.28.
R TH
× x
2Ω
v TH
+
−
8V
× y
Figure 3.28. First Thevenin equivalent for the circuit of Example 3.8
Next, we attach the remaining part of the given circuit to the Thevenin equivalent of Figure 3.28, and
the new circuit now is as shown in Figure 3.29.
R TH
×
2Ω 3Ω 7Ω x′
v TH i LOAD
+
+ v LOAD RLOAD
−−
8V 10 Ω − 8Ω
5Ω y′
×
Figure 3.29. Circuit for Example 3.8 with first Thevenin equivalent
Now, we apply Thevenin’s theorem at points x' and y' and we get the circuit of Figure 3.30.
R TH
× x′
2Ω 3Ω 7Ω
v TH
+ 10 Ω
−−
8V
5Ω
× y′
Figure 3.30. Applying Thevenin’s theorem at points x' and y' for the circuit for Example 3.8
This Thevenin equivalent with the load resistor attached to it, is shown in Figure 3.31.
R' TH
x′
12 Ω
v' TH i LOAD
+
+ v LOAD RLOAD
−−
4V − 8Ω
y′
The voltage v LOAD is found by application of the voltage division expression, and the current
i LOAD by Ohm’s law as shown below.
8
v LOAD = --------------- × 4 = 1.6 V
12 + 8
4 - = 0.2 A
i LOAD = --------------
12 + 8
It is imperative to remember that when we compute the Thevenin equivalent resistance, we must
always look towards the network portion which remains after disconnectinf the load at the x and y
terminals. This is illustrated with the two examples that follow.
Figure 3.32. Computation of the Thevenin equivalent resistance when the load is to the right
This network contains no dependent sources; therefore, we can find the Thevenin equivalent by
shorting the 240 V voltage source, and computing the equivalent resistance looking to the left of
points x and y as indicated in Figure 3.32 (b). Thus,
300 × 100- = 75 Ω
R TH = ( 250 + 50 ) 100 = ------------------------
300 + 100
Now, let us consider the network of Figure 3.33 (a).
Begin with
this series
combination
× x ×
x Then, compute the
50 Ω 50 Ω equivalent resistance
100 Ω looking to the right of
250 Ω RTH points x and y
Load 100 Ω
+ 250 Ω
−
y 240 V
× y×
(a) (b)
Figure 3.33. Computation of the Thevenin equivalent resistance when the load is to the left
This network contains no dependent sources; therefore, we can find the Thevenin equivalent by
shorting the 240 V voltage source, and computing the equivalent resistance looking to the right of
points x and y as indicated in Figure 3.33 (b). Thus,
150 × 250- = 93.75 Ω
R TH = ( 50 + 100 ) 250 = ------------------------
150 + 250
We observe that, although the resistors in the networks of Figures 3.32 (a) and 3.33 (b) have the
same values, the Thevenin resistance is different since it depends on the direction in which we look
into (left or right).
Example 3.9
Use Thevenin’s theorem to find i LOAD and v LOAD for the circuit of Figure 3.34.
24 V
−−
+
3Ω 3Ω 7Ω
i LOAD
+
+ 10 Ω v LOAD
6Ω RLOAD
−−
12 V − 8Ω
5Ω
Solution:
This is the same circuit as the previous example except that a voltage source of 24 V has been
placed in series with the 7 Ω resistor. By application of Thevenin’s theorem at points x and y as
before, and connecting the rest of the circuit, we get the circuit of Figure 3.35.
RTH x 24 V x′
× ×
−−
+
2Ω 3Ω 7Ω
v TH i LOAD
+
+ 10 Ω v LOAD RLOAD
−−
8V − 8Ω
y 5Ω y′
× ×
Figure 3.35. Circuit for Example 3.9 with first Thevenin equivalent
Next, disconnecting the load resistor and applying Thevenin’s theorem at points x' and y' we get
the circuit of Figure 3.36.
There is no current flow in the 7 Ω resistor; therefore, the Thevenin voltage across the x' and y'
points is the algebraic sum of the voltage drop across the 10 Ω resistor and the 24 V source, that is,
10
v' TH = v x 'y ' = ------------------------------------ × 8 – 24 = – 20 V
2 + 3 + 10 + 5
RTH x 24 V x′
× ×
−−
+
2Ω 3Ω 7Ω
v TH
+ 10 Ω
−−
8V
y 5Ω y′
× ×
Figure 3.36. Applying Thevenin’s theorem at points x' and y' for the circuit for Example 3.9
and the Thevenin resistance is the same as in the previous example, that is,
R' TH = [ ( 2 + 3 + 5 ) 10 ] + 7 = 12 Ω
V TH = 0
Finally, connecting the load R LOAD as shown in Figure 3.37, we compute v LOAD and i LOAD as fol-
lows:
R′TH
x′
12 Ω
v' TH
i LOAD
+ v LOAD
−− RLOAD
−20 V 8Ω
y′
Figure 3.37. Final form of Thevenin equivalent with load connected for circuit of Example 3.9
8
v LOAD = ---------------- × ( – 20 ) = – 8 V
12 + 8
– 20 - = – 1 A
i LOAD = ---------------
12 + 8
Example 3.10
For the circuit of Figure 3.38, use Thevenin’s theorem to find i LOAD and v LOAD .
Solution:
This circuit contains a dependent voltage source whose value is twenty times the current through the
6 Ω resistor. We will apply Thevenin’s theorem at points a and b as shown in Figure 3.39.
+
−
3Ω 3Ω 7Ω
20i X
+ i LOAD
+ 6Ω 10 Ω 4Ω v LOAD RLOAD
−− iX
12 V − 8Ω
5Ω
+
−
3Ω 7Ω a
3Ω 20i X
+ i LOAD
+ 6Ω 10 Ω 4Ω v LOAD RLOAD
−− iX
12 V − 8Ω
5Ω b
×
For the circuit of Figure 3.39, we cannot short the dependent source; therefore, we will find the
Thevenin resistance from the relation
v LOAD
v OC RL → ∞
R TH = --------
- = -------------------------------
- (3.44)
i SC i LOAD
RL → 0
To find the open circuit voltage v OC = v ab , we disconnect the load resistor and our circuit now is
as shown in Figure 3.40.
×
+
−
3Ω 7Ω a
3Ω 20i X
+ 6Ω 10 Ω 4Ω
−− iX i2 i3
12 V i1 5Ω
b
×
Figure 3.40. Circuit for finding v OC = v ab of Example 3.10
We will use mesh analysis to find v OC which is the voltage across the 4 Ω resistor. We chose mesh
analysis since we only need three mesh equations whereas we would need five equations had we cho-
sen nodal analysis. Please refer to Exercise 16 at the end of this chapter for a solution requiring nodal
analysis.
Observing that i X = i 1 – i 2 , we write the three mesh equations for this network as
9i 1 – 6i 2 = 12
– 6i 1 + 24i 2 – 10i 3 = 0 (3.45)
20 ( i 1 – i 2 ) + 4i 3 + 10 ( i 3 – i 2 ) = 0
and after simplification and combination of like terms, we write them in matrix form as
3 –2 0 I1 4
3 – 12 5 I2 0
= (3.46)
10 – 15 7 I3 0
⎧
⎪
⎪
⎨
⎪
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
R I V
A B C D E F G H
1
2 Spreadsheet for Matrix Inversion and Matrix Multiplication
3 3 -2 0 4
4 R= 3 -12 5 V= 0
5
6 10 -15 7 0
Next, to find the Thevenin resistance R TH , we must first compute the short circuit current I SC .
Accordingly, we place a short across points a and b and the circuit now is as shown in Figure 3.42
and we can find the short circuit current i SC from the circuit of Figure 3.43 where i SC = i 4
+
−
3Ω 7Ω a
3Ω 20i X
+ 6Ω 10 Ω 4Ω
i SC
−− iX
12 V 5Ω
b
×
+
−
3Ω 7Ω
a
3Ω 20i X
+ 6Ω 10 Ω 4Ω
i SC
−− iX i2 i4
i3
12 V i1 5Ω
b
×
and after simplification and combination of like terms, we write them in matrix form as
3 –2 0 0 i1 4
3 – 12 5 0 i2 0
10 – 15 7 –2 i3 = 0 (3.48)
0 0 –4 11 i4 0
⎧
⎪
⎪
⎨
⎪
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
R I V
8.2 Ω a
×
RTH
vTH
+
−
−14.18 V
b
×
Figure 3.44. Final form of Thevenin’s equivalent for the circuit of Example 3.10
Finally, with the load RLOAD attached to points a and b, the circuit is as shown in Figure 3.45.
8.2 Ω a
×
RTH
vTH i LOAD
+ +
v LOAD RLOAD
−−
−14.18 V − 8Ω
×
b
Figure 3.45. Circuit for finding v LOAD and i LOAD in Example 3.10
Therefore, using the voltage division expression and Ohm’s law we get
8
v LOAD = ----------------- × ( – 14.18 ) = – 7.00 V
8.2 + 8
– 14.18- = – 0.875 A
i LOAD = ----------------
8.2 + 8
x
x ×
× Load Load
Network
to be replaced (Rest
v xy + v xy (Rest
by a Norton of the
equivalent − of the
circuit) iN RN circuit)
circuit
×
y ×
(a) (b) y
The current source i N has the value of the short circuit current which would flow if a short were
connected between the terminals x and y, where the Norton equivalent is inserted, and the resis-
tance R N is found from the relation
v OC
R N = --------
- (3.49)
i SC
where v OC is the open circuit voltage which appears across the open terminals x and y.
Like Thevenin’s, Norton’s theorem is most useful when a series of computations involves changing
the load of a network while the rest of the circuit remains unchanged.
Comparing the Thevenin’s and Norton’s equivalent circuits, we see that one can be derived from the
other by replacing the Thevenin voltage and its series resistance with the Norton current source and
its parallel resistance. Therefore, there is no need to perform separate computations for each of
these equivalents; once we know Thevenin’s equivalent we can easily draw the Norton equivalent
and vice versa.
Example 3.11
Replace the network shown in Figure 3.47 by its Thevenin and Norton equivalents.
iX
x
3Ω 3Ω
+ 6Ω
−
20i X V
y
Figure 3.47. Network for Example 3.11
Solution:
We observe that no current flows through the 3 Ω resistor; Therefore, i X = 0 and the dependent
current source is zero, i.e., a short circuit. Thus,
v TH = v OC = v xy = 0
and also
i SC = 0
This means that the given network is some mathematical model representing a resistance, but we
cannot find this resistance from the expression
v OC
R TH = R N = --------
-
i SC
since this results in the indeterminate form 0 ⁄ 0 . In this type of situations, we connect an external
source (voltage or current) across the terminals x and y. For this example, we arbitrarily choose to
connect a 1 volt source as shown in Figure 3.48.
iX
x
3Ω 3Ω
1V
+ 6Ω −−
− +
20i X V i
y
Figure 3.48. Network for Example 3.11 with an external voltage source connected to it.
In the circuit of Figure 3.48, the 1 V source represents the open circuit voltage v OC and the current
i represents the short circuit current i SC . Therefore, the Thevenin (or Norton) resistance will be
found from the expression
v OC
- = 1
R TH = R N = -------- V = 1--------
-------- V (3.50)
i SC i iX
Now, we can find i from the circuit of Figure 3.49 by application of KCL at Node {.
v1 iX
x
3Ω { 3Ω
1V
+ 6Ω −−
− +
20i X V i
y
Figure 3.49. Circuit for finding i X in Example 3.11
v 1 – 20i X v 1
- + ----- + i X = 0
--------------------- (3.51)
3 6
where
v1 – 1
i X = -------------
- (3.52)
3
Simultaneous solution of (3.51) and (3.52) yields v 1 = 34 ⁄ 25 and i X = 3 ⁄ 25 . Then, from (3.50),
1 - = 25
R TH = R N = ------------ ------
3 ⁄ 25 3
and the Thevenin and Norton equivalents are shown in Figure 3.50.
R TH
RN
25/3 Ω
v TH = 0 iN = 0 25/3 Ω
RS
i LOAD
+ +
− v LOAD R LOAD
vS −
−
Figure 3.51. Circuit for computation of maximum power delivered to the load R LOAD
R LOAD vS
p LOAD = v LOAD × i LOAD = ⎛ ----------------------------- v S⎞ ⎛ ----------------------------- ⎞
⎝ R S + R LOAD ⎠ ⎝ R S + R LOAD ⎠
or
R LOAD 2
p LOAD = -----------------------------------2- v S (3.53)
( R S + R LOAD )
To find the value of R LOAD which will make p LOAD maximum, we differentiate (3.53) with respect to
R LOAD . Recalling that
d d
v (u) – u (v)
d ⎛u dx dx -
---⎞ = ---------------------------------------
d x ⎝ v⎠ v 2
and (3.54) will be zero if the numerator is set equal to zero, that is,
2 2 2
( R S + R LOAD ) v S – v S R LOAD ( 2 ) ( R S + R LOAD ) = 0
or
R S + R LOAD = 2R LOAD
or
R LOAD = R S (3.55)
Therefore, we conclude that a voltage source with internal series resistance R S or a current source
with internal parallel resistance R P delivers maximum power to a load R LOAD when R LOAD = R S or
R LOAD = R P . For example, in the circuits of 3.52, the voltage source v S and current source i N
deliver maximum power to the adjustable* load when R LOAD = R S = R P = 5 Ω
RS 5 Ω
+ R LOAD + RN R LOAD 5Ω
5Ω −
−
vS iS 5Ω
We can use Excel or MATLAB to see that the load receives maximum power when it is set to the
same value as that of the resistance of the source. Figure 3.53 shows a spreadsheet with various val-
ues of an adjustable resistive load. We observe that the power is maximum when R LOAD = 5 Ω .
The condition of maximum power transfer is also referred to as resistance matching or impedance match-
ing. We will define the term “impedance” in Chapter 6.
The maximum power transfer theorem is of great importance in electronics and communications
applications where it is desirable to receive maximum power from a given circuit and efficiency is
not an important consideration. On the other hand, in power systems, this application is of no use
since the intent is to supply a large amount of power to a given load by making the internal resis-
tance R S as small as possible.
3.8 Linearity
A linear passive element is one in which there is a linear voltage-current relationship such as
d d
v R = Ri R vL = L iL iC = C vC (3.56)
dt dt
RLOAD PLOAD
Maximum Power Transfer
0 0.00 6
1 2.78 5
2 4.08 4
Power (Watts)
3 4.69 3
4 4.94 2
5 5.00 1
6 4.96 0
0 5 10 15 20
7 4.86 Resistance (Ohms) - Linear Scale
8 4.73
9 4.59
Maximum Power Transfer
10 4.44 6
11 4.30 5
Power (Watts)
4
12 4.15 3
2
13 4.01 1
0
14 3.88 1 10 100
Resistance (Ohms) - Log Scale
15 3.75
16 3.63
Definition 3.1
A linear dependent source is a dependent voltage or current source whose output voltage or current is
proportional only to the first power of some voltage or current variable in the circuit or a linear com-
bination (the sum or difference of such variables). For example, v xy = 2v1 – 3i 2 is a linear relation-
v ⁄ nV T
ship but p = vi = Ri 2 = v 2 ⁄ R and i = I S e are non-linear.
Definition 3.2
A linear circuit is a circuit which is composed entirely of independent sources, linear dependent
sources and linear passive elements or a combination of these.
Note: Dependent sources (voltage or current) must not be superimposed since their values depend on the volt-
age across or the current through some other branch of the circuit. Therefore, all dependent
sources must always be left intact in the circuit while superposition is applied.
Example 3.12
For the circuit of Figure 3.54, compute i 6 by application of the superposition principle.
2Ω 36 V 8Ω 10 Ω
−
+
+ 4Ω 6Ω 12 Ω
−
i6
12 V
5A
Solution:
Let i' 6 represent the current due to the 12 V source acting alone, i'' 6 the current due to the 36 V
source acting alone, and i''' 6 the current due to the 5 A source acting alone. Then, by the principle
of superposition,
i 6 = i' 6 + i'' 6 + i''' 6
First, to find i' 6 we short the 36 V voltage source and open the 5 A current source. The circuit
then reduces to that shown in Figure 3.55.
Applying Thevenin’s theorem at points x and y of Figure 3.55, we obtain the circuit of Figure 3.56
and from it we get
4 × 12- = 8 V
v xy = v TH = --------------
2+4
2Ω 8Ω x 10 Ω
×
+ 4Ω 6Ω 12 Ω
−
12 V i' 6
×
y
Figure 3.55. Circuit for finding i' 6 in Example 3.12
2Ω 8Ω x
×
+ 4Ω
−−
12 V
×
y
Figure 3.56. Circuit for computing the Thevenin voltage to find i' 6 in Example 3.12
Next, we will use the circuit of Figure 3.57 to find the Thevenin resistance.
2Ω 8Ω x
×
RTH
4Ω
×
y
Figure 3.57. Circuit for computing the Thevenin resistance to find i' 6 in Example 3.12
4 × 2- = 28
R TH = 8 + ------------ ------ Ω
4+2 3
RTH 10 Ω
vTH
+ 6Ω
− 12 Ω
8V i' 6
8 - = 12
i' 6 = ---------------------- ------ A (3.57)
28 ⁄ 3 + 6 23
Next, the current i'' 6 due to the 36 V source acting alone is found from the circuit of Figure 3.59.
2Ω 36 V 8Ω 10 Ω
−
+
4Ω 6Ω 12 Ω
i'' 6
and after combination of the 2 Ω and 4 Ω parallel resistors to a single resistor, the circuit simplifies
to that shown in Figure 3.60.
36 V 8Ω 10 Ω
−
+
+
4
--- Ω
3 6Ω
12 Ω
i'' 6 −
Figure 3.60. Simplification of the circuit of Figure 3.59 to compute i'' 6 for Example 3.12
Finally, to find i''' 6 , we short the voltage sources, and with the 5 A current source acting alone the
circuit reduces to that shown in Figure 3.61.
2Ω 8Ω 10 Ω
4Ω 6Ω 12 Ω
i''' 6
5A
Figure 3.61. Circuit for finding i''' 6 in Example 3.12
and the circuit of Figure 3.61 reduces to that shown in Figure 3.62.
10 Ω
28
------ Ω 6Ω 12 Ω
3
i''' 6
5A
Figure 3.62. Simplification of the circuit of Figure 3.59 to compute i''' 6 for Example 3.12
We will use the current division expression in the circuit of Figure 3.62 to find i''' 6 . Thus,
28 ⁄ 3 70
i''' 6 = ----------------------- × ( – 5 ) = – ------ (3.59)
28 ⁄ 3 + 6 23
Therefore, from (3.57), (3.58), and (3.59) we get
112
i 6 = i' 6 + i'' 6 + i''' 6 = 12 ------ – 70
------ – 54 ------ = – ---------
23 23 23 23
or
i 6 = – 4.87 A (3.60)
If a circuit contains only one non-linear device, such as a diode, and all the other devices are linear,
we can apply Thevenin’s theorem to reduce the circuit to a Thevenin equivalent in series with the
non-linear element. Then, we can analyze the circuit using a graphical solution. The procedure is
illustrated with the following example.
Example 3.13
For the circuit of Figure 3.63, the i – v characteristics of the diode D are shown in figure 3.64. We
wish to find the voltage v D across the diode and the current i D through this diode using a graphical
solution.
1 KΩ
vTH
+ vD
−− D
1V
iD
Solution:
The current i D through the diode is also the current through the resistor. Then, by KVL
1.4
1.2
1.0
i D (milliamps)
0.8
0.6
0.4
0.2
0.0
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
vD (volts)
vR + vD = 1 V
or
Ri D = – v D + 1
or
1
i D = – --- v D + --1- (3.61)
R R
We observe that (3.61) is an equation of a straight line and the two points are obtained from it by first
letting v D = 0 , then, i D = 0 . We obtain the straight line shown in Figure 3.65 which is plotted on
the same graph as the given diode i – v characteristics.
The intersection of the non-linear curve and the straight line yields the voltage and the current of the
diode where we find that v D = 0.665V and i D = 0.335 mA .
Check:
Since this is a series circuit, i R = 0.335 mA also. Therefore, the voltage drop v R across the resistor is
v R = 1 kΩ × 0.335 mA = 0.335 V . Then, by KVL
v R + v D = 0.335 + 0.665 = 1 V
ID (milliamps)
0.12 0.000 1.0
ID=−(1/R)VD+1/R
0.14 0.000 0.8 Diode
0.16 0.000 0.6
0.18 0.000 0.4
0.20 0.000 0.2
0.22 0.000 0.0
0.24 0.000 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
0.26 0.000 VD (volts)
0.28 0.000
0.30 0.000
3.11 Efficiency
2
We have learned that the power absorbed by a resistor can be found from p R = i R and this power
is transformed into heat. In a long length of a conductive material, such as copper, this lost power is
2
known as i R loss and thus the energy received by the load is equal to the energy transmitted minus
2
the i R loss. Accordingly, we define efficiency η as
Output Output
% Efficiency = % η = ------------------ × 100 = ------------------------------------- × 100 (3.62)
Input Output + Loss
Example 3.14
In a two-story industrial building, the total load on the first floor draws an average of 60 amperes
during peak activity, while the total load of the second floor draws 40 amperes at the same time. The
building receives its electric power from a 480 V source. Assuming that the total resistance of the
cables (copper conductors) on the first floor is 1 Ω and on the second floor is 1.6 Ω , compute the
efficiency of transmission.
Solution:
First, we draw a circuit that represents the electrical system of this building. This is shown in Figure
3.66.
0.8 Ω
0.5 Ω
vS i1 60 A i2 40 A
+ 1st Floor 2nd Floor
−− Load Load
480 V
0.5 Ω
0.8 Ω
Output 41.84
% Efficiency = % η = ------------------ × 100 = ------------- × 100 = 87.17 % (3.68)
Input 48.00
3.12 Regulation
The regulation is defined as the ratio of the change in load voltage when the load changes from no
load (NL) to full load (FL) divided by the full load. Thus, denoting the no-load voltage as v NL and
the full-load voltage as v FL , the regulation is defined as In other words,
v NL – v FL
Regulation = ----------------------
v FL
v NL – v FL
%Regulation = ---------------------- × 100 (3.69)
v FL
Example 3.15
Compute the regulation for the 1st floor load of the previous example.
Solution:
The current drawn by 1st floor load is given as 60 A and the total resistance from the source to the
load as 1 Ω . Then, the total voltage drop in the conductors is 60 × 1 = 60 V . Therefore, the full-
load voltage of the load is v FL = ( 480 – 60 = 420 V ) and the percent regulation is
v NL – v FL 480 – 420
% Regulation = ---------------------- × 100 = ------------------------ × 100 = 14.3 %
v FL 420
3.13 Summary
• When using nodal analysis, for a circuit that contains N nodes, we must write N – 1 independent
nodal equations in order to completely describe that circuit. When the presence of voltage
sources in a circuit seem to complicate the nodal analysis because we do not know the current
through those voltage sources, we create combined nodes as illustrated in Example 3.2.
• When using nodal analysis, for a circuit that contains M meshes or L loops, B branches, and N
nodes, we must write L = M = B – N + 1 independent loop or mesh equations in order to com-
pletely describe that circuit. When the presence of current sources in a circuit seem to complicate
the mesh or loop analysis because we do not know the voltage across those current sources, we
create combined meshes as illustrated in Example 3.6.
• A practical voltage source has an internal resistance and it is represented by a voltage source whose
value is the value of the ideal voltage source in series with a resistance whose value is the value of
the internal resistance.
• A practical current source has an internal conductance and it is represented by a current source
whose value is the value of the ideal current source in parallel with a conductance whose value is
the value of the internal conductance.
• A practical voltage source v S in series with a resistance R S can be replaced by a current source i S
whose value is v S ⁄ i S in parallel with a resistance R P whose value is the same as R S
• A practical current source i S in parallel with a resistance R P can be replaced by a voltage source
v S whose value is equal to i S × R S in series with a resistance R S whose value is the same as R P
• Thevenin’s theorem states that in a two terminal network we can be replace everything except the
load, by a voltage source denoted as v TH in series with a resistance denoted as R TH . The value of
v TH represents the open circuit voltage where the circuit is isolated from the load and R TH is the
equivalent resistance of that part of the isolated circuit. If a given circuit contains independent
voltage and independent current sources only, the value of R TH can be found by first shorting all
independent voltage sources, opening all independent current sources, and calculating the resis-
tance looking into the direction which is opposite to the disconnected load. If the circuit contains
dependent sources, the value of R TH must be computed from the relation R TH = v OC ⁄ i SC
• Norton’s theorem states that in a two terminal network we can be replace everything except the
load, by a current source denoted as i N in parallel with a resistance denoted as R N . The value of
i N represents the short circuit current where the circuit is isolated from the load and R N is the
equivalent resistance of that part of the isolated circuit. If the circuit contains independent voltage
and independent current sources only, the value of R N can be found by first shorting all indepen-
dent voltage sources, opening all independent current sources, and calculating the resistance look-
ing into the direction which is opposite to the disconnected load. If the circuit contains dependent
sources, the value of R N must be computed from the relation R N = v OC ⁄ i SC
• The maximum power transfer theorem states that a voltage source with a series resistance R S or a
current source with parallel resistance R S delivers maximum power to a load R LOAD when
R LOAD = R S or R LOAD = R N
• The principle of superposition states that the response (a desired voltage or current) in any
branch of a linear circuit having more than one independent source can be obtained as the sum
of the responses caused by each independent source acting alone with all other independent volt-
age sources replaced by short circuits and all other independent current sources replaced by open
circuits.
• Efficiency is defined as the ratio of output to input and thus it is never greater than unity. It is
normally expressed as a percentage.
• Regulation is defined as the ratio of v NL – v FL to v FL and ideally should be close to zero. It is
normally expressed as a percentage.
3.14 Exercises
Multiple Choice
1. The voltage across the 2 Ω resistor in the circuit of Figure 3.67 is
A. 6 V
B. 16 V
C. – 8 V
D. 32 V
E. none of the above −
+
6V
+ 2Ω
−
8A 8A
4V
−
+
2Ω 2Ω
+
− 2Ω 2Ω
10 V i
3. The node voltages shown in the partial network of Figure 3.69 are relative to some reference
node which is not shown. The current i is
A. – 4 A
B. 8 ⁄ 3 A
C. – 5 A
D. – 6 A
E. none of the above
6V 8V
4V 8V
−
+
2Ω
− 12 V
+ 2Ω
i 8V
6V 13 V
−
+
2Ω
Figure 3.69. Circuit for Question 3
6Ω 3Ω
i
12 V
+ 6Ω 8A 3Ω
−
6. For the circuit of Figure 3.72, the value of k is dimensionless. For that circuit, no solution is pos-
sible if the value of k is
A. 2
B. 1
C. ∞
D. 0
E. none of the above
4Ω
+
+ kv
2A 4Ω v −
−
7. For the network of Figure 3.73, the Thevenin equivalent resistance R TH to the right of terminals
a and b is
A. 1
B. 2
C. 5
D. 10
E. none of the above
a 2Ω
2Ω
3Ω
R TH 4Ω
2Ω 2Ω
b 2Ω
8. For the network of Figure 3.74, the Thevenin equivalent voltage V TH across terminals a and b is
A. – 3 V
B. – 2 V
C. 1 V
D. 5 V
E. none of the above
a
+
−
2V
2Ω 2Ω 2A
9. For the network of Figure 3.75, the Norton equivalent current source I N and equivalent parallel
resistance R N across terminals a and b are
A. 1 A, 2 Ω
B. 1.5 A, 25 Ω
C. 4 A, 2.5 Ω
D. 0 A, 5Ω
E. none of the above
a
5Ω
5Ω 2A 2A
10. In applying the superposition principle to the circuit of Figure 3.76, the current i due to the 4 V
source acting alone is
A. 8 A
B. – 1 A
C. 4 A
D. – 2 A
E. none of the above
i
2Ω 2Ω
+ 4V
8A 2Ω −
Problems
1. Use nodal analysis to compute the voltage across the 18 A current source in the circuit of Figure
3.77. Answer: 1.12 V
–1 –1
4Ω 5Ω
–1 –1
8Ω 10 Ω
+
–1 –1
4Ω v 18 A 6Ω
12 A 18 A −
24 A
2. Use nodal analysis to compute the voltage v 6 Ω in the circuit of Figure 3.78. Answer: 21.6 V
36 V
+
−
12 Ω 15 Ω
+
6Ω v6 Ω
4Ω
12 A 18 A −
24 A
3. Use nodal analysis to compute the current through the 6 Ω resistor and the power supplied (or
absorbed) by the dependent source shown in Figure 3.79. Answers: – 3.9 A, – 499.17 w
4. Use mesh analysis to compute the voltage v 36A in Figure 3.80. Answer: 86.34 V
5. Use mesh analysis to compute the current through the i 6 Ω resistor, and the power supplied (or
absorbed) by the dependent source shown in Figure 3.81. Answers: – 3.9 A, – 499.33 w
6. Use mesh analysis to compute the voltage v 10 Ω in Figure 3.82. Answer: 0.5 V
18 A
12 Ω 15 Ω
iX
6Ω +
5i X
4Ω i6 Ω −
12 A 24 A
+
− 36 V
120 V 240 V
+ +
−
−
4Ω 3Ω
8Ω 12 Ω
+
4Ω v 36A
12 A 36 A − 6Ω
24 A
18 A
12 Ω 15 Ω
iX
6Ω +
i6 Ω 5i X
4Ω −
12 A
+
24 A
− 36 V
10i X
12 Ω 15 Ω
4Ω +
8Ω
iX v 10 Ω
6Ω
− −
+ 10 Ω
−
+
12 V 24 V
7. Compute the power absorbed by the 10 Ω resistor in the circuit of Figure 3.83 using any method.
Answer: 1.32 w
2Ω
3Ω 6Ω
+
10 Ω
−
12 V −
+
−
+
24 V 36 V
8. Compute the power absorbed by the 20 Ω resistor in the circuit of Figure 3.84 using any
method. Answer: 73.73 w
+
−
20 Ω 12 V
3Ω
6A 8A
2Ω
b. What would then the power absorbed by R LOAD be? Answer: 135 w
36 V
+
−
12 Ω 15 Ω
6Ω R LOAD
4Ω
12 A 18 A
10. Replace the network shown in Figure 3.86 by its Norton equivalent.
Answers: i N = 0, R N = 23.75 Ω
a
15 Ω
4Ω 5Ω iX
5iX
b
Figure 3.86. Circuit for Problem 10
11. Use the superposition principle to compute the voltage v 18A in the circuit of Figure 3.87.
Answer: 1.12 V
–1 –1
4Ω 5Ω
–1 –1
8Ω 10 Ω
+
–1 –1
4Ω v 18 A 6Ω
12 A 18 A − 24 A
12. Use the superposition principle to compute voltage v 6 Ω in the circuit of Figure 3.88.
Answer: 21.6 V
36 V
+
−
12 Ω 15 Ω
+
6Ω v6 Ω
4Ω
12 A 18 A −
24 A
13.In the circuit of Figure 3.89, v S1 and v S2 are adjustable voltage sources in the range
– 50 ≤ V ≤ 50 V, and R S1 and R S2 represent their internal resistances. Table 3.4 shows the results
of several measurements. In Measurement 3 the load resistance is adjusted to the same value as
Measurement 1, and in Measurement 4 the load resistance is adjusted to the same value as Mea-
surement 2. For Measurements 5 and 6 the load resistance is adjusted to 1 Ω . Make the neces-
sary computations to fill-in the blank cells of this table.
Answers: – 15 V , – 7 A , 11 A , – 24 V
+
R S1 1 Ω
i LOAD
R S2 1Ω Adjustable
+
−
v LOAD Resistive
v S1
+
− v Load
S2
S1 S2
−
14. Compute the efficiency of the electrical system of Figure 3.90. Answer: 76.6%
0.8 Ω
0.5 Ω
vS i1 100 A i2 80 A
+ 1st Floor 2nd Floor
−− Load Load
480 V
0.5 Ω
0.8 Ω
15. Compute the regulation for the 2st floor load of the electrical system of Figure 3.91.
Answer: 36.4%
0.8 Ω
0.5 Ω
VS i1 i2 80 A
100 A
+ 1st Floor 2nd Floor
−− Load Load
480 V
0.5 Ω
0.8 Ω
16. Write a set of nodal equations and then use MATLAB to compute i LOAD and v LOAD for the cir-
cuit of Example 3.10 which is repeated as Figure 3.92 for convenience.
Answers: – 0.96 A, – 7.68 V
+
−
3Ω 3Ω 7Ω
20i X
+ i LOAD
+ iX 10 Ω 4Ω v LOAD
−− 6Ω RL
12 V − 8Ω
5Ω
−
+
6V
+ 2Ω
−
8A 8A
8A 8A
4V
−
+
2Ω B 2Ω
A C
+
− 2Ω 2Ω
10 V i
D
3. A From the figure below we observe that the node voltage at A is 6 V relative to the reference
node which is not shown. Therefore, the node voltage at B is 6 + 12 = 18 V relative to the
same reference node. The voltage across the resistor is V BC = 18 – 6 = 12 V and the direc-
tion of current through the 3 Ω resistor is opposite to that shown since Node B is at a higher
potential than Node C. Thus i = – 12 ⁄ 3 = – 4 A
6V 8V
4V 8V
−
+
A
2Ω
− 12 V
+ 2Ω
C i B 8V
6V 13 V
−
+
3Ω
A B
6Ω 3Ω
i
12 V
+ 6Ω 8A 3Ω
−
At Node A
V A – 12 V A V A – V B
- + ------ + ------------------- = 0
-----------------
6 6 3
and at Node B
VB – VA VB
------------------- + ------ = 8
3 3
These simplify to
2
--- V A – 1
--- V B = 2
3 3
and
1 2
– --- V A + --- V B = 8
3 3
Multiplication of the last equation by 2 and addition with the first yields V B = 18 and thus
i = – 18 ⁄ 3 = – 6 A .
5. E Application of KCL at Node A of the circuit below yields
A + vX −
2Ω
+
+ 2v
2A 2Ω v − X
v – 2v
--v- + ----------------X- = 2
2 2
or
v – vX = 2
Also by KVL
v = v X + 2v X
and by substitution
v X + 2v X – v X = 2
or
vX = 1
and thus
v = v X + 2v X = 1 + 2 × 1 = 3 V
A
4Ω
+
+ kv
2A 4Ω v −
−
v v – kv
--- + -------------- = 2
4 4
or
1
--- ( 2v – kv ) = 2
4
and this relation is meaningless if k = 2 . Thus, this circuit has solutions only if k ≠ 2 .
7. B The two 2 Ω resistors on the right are in series and the two 2 Ω resistors on the left shown in
the figure below are in parallel.
a 2Ω 2Ω
3Ω
R TH 4Ω
2Ω 2Ω
b 2Ω
8. A Replacing the current source and its 2 Ω parallel resistance with an equivalent voltage source
in series with a 2 Ω resistance we get the network shown below.
2V
a
+
−
2Ω
2Ω i −
+ 4V
b
By Ohm’s law,
4–2
i = ------------ = 0.5 A
2+2
and thus
v TH = v ab = 2 × 0.5 + ( – 4 ) = – 3 V
9. D The Norton equivalent current source I N is found by placing a short across the terminals a
and b. This short shorts out the 5 Ω resistor and thus the circuit reduces to the one shown
below.
a
5Ω
2A 2A
I SC = I N A
b
By KCL at Node A,
IN + 2 = 2
and thus I N = 0
The Norton equivalent resistance R N is found by opening the current sources and looking to
the right of terminals a and b. When this is done, the circuit reduces to the one shown below.
a
5Ω
5Ω
b
Therefore, R N = 5 Ω and the Norton equivalent circuit consists of just a 5 Ω resistor.
10. B With the 4 V source acting alone, the circuit is as shown below.
i A
− +
2Ω 2Ω
+
+ 4V
2Ω −
−
B
We observe that v AB = 4 V and thus the voltage drop across each of the 2 Ω resistors to the
left of the 4 V source is 2 V with the indicated polarities. Therefore,
i = –2 ⁄ 2 = –1 A
Problems
1. We first replace the parallel conductances with their equivalents and the circuit simplifies to that
shown below.
–1 –1
v 1 12 Ω v 2 15 Ω v3
1 2 3
+
–1 –1
4Ω v 18 A 6Ω
12 A 18 A − 24 A
Node 3:
– 15 v 2 + 21v 3 = 24
For this problem we are only interested in v 2 = v 18 A . Therefore, we will use Cramer’s rule to
solve for v 2 . Thus,
D
v 2 = -----2- D 2 = – 3 – 5 = – 21 + 40 = 19 ∆ = 6 – 5 = 42 – 25 = 17
∆ 8 7 –5 7
and
v 2 = v 18 A = 19 ⁄ 17 = 1.12 V
2. Since we cannot write an expression for the current through the 36 V source, we form a com-
bined node as shown on the circuit below.
36 V
+
−
v1 v3
1 12 Ω 2 v 2 15 Ω 3
+
6Ω v6 Ω
4Ω
12 A 18 A −
24 A
and at Node 2,
v2 – v1 v2 – v3
- + ---------------- = – 18
---------------
12 15
Also,
v 1 – v 3 = 36
Addition of the first two equations above and multiplication of the third by – 1 ⁄ 4 yields
--- v 1 + 1
1 --- v 3 = 18
4 6
1 1
– --- v 1 + --- v 3 = – 9
4 4
v v1 – v2
----1- + ---------------
- + 18 – 12 = 0
4 12
and
v2 – v1 v2 – v3 v2 – v4
- + ---------------- + ---------------- = 0
---------------
12 12 6
18 A
v1 12 Ω v 2 15 Ω v3
iX
6Ω +
5i X
4Ω v4 i6 Ω −
12 A +
24 A
− 36 V iY
1 v –v 2 5
- , v 3 = 5i X and v 4 = 36 V . Then v 3 = ------ ( v 1 – v 2 ) and by
Next, we observe that i X = ---------------
12 12
substitution into the last equation above, we get
1 19 1 5 1
– ------ v 1 + ------ v 2 – ------ × ------ ( v 1 – v 2 ) – --- 36 = 0
12 60 15 12 6
or
1 31
– --- v 1 + ------ v 2 = 6
9 90
Thus, we have two equations with two unknowns, that is,
1 1
--- v 1 – ------ v 2 = – 6
3 12
1 31
– --- v 1 + ------ v 2 = 6
9 90
Multiplication of the first equation above by 1 ⁄ 3 and addition with the second yields
19
------ v 2 = 4
60
or
v 2 = 240 ⁄ 19
We find v 1 from
1 1
--- v 1 – ------ v 2 = – 6
3 12
Thus,
1 1- 240
--- v 1 – ----- × --------- = – 6
3 12 19
or
v 1 = – 282 ⁄ 19
Now, we find v 3 from
5 5 282 240⎞
v 3 = ------ ( v 1 – v 2 ) = ------ ⎛ –
------------ – --------- = – 435
---------
12 12 ⎝ 19 19 ⎠ 38
To compute the power supplied (or absorbed) by the dependent source, we must first find the
current i Y . It is found by application of KCL at node voltage v 3 . Thus,
v3 – v2
i Y – 24 – 18 + ---------------
- = 0
15
or
– 435 ⁄ 38 – 240 ⁄ 19
i Y = 42 – -----------------------------------------------
15
915 ⁄ 38 1657
= 42 + ------------------- = ------------
15 38
and
1657
--------- × ------------ = – 72379
p = v 3 i Y = – 435 --------------- = – 499.17 w
38 38 145
that is, the dependent source supplies power to the circuit.
4. Since we cannot write an expression for the 36 A current source, we temporarily remove it and
we form a combined mesh for Meshes 2 and 3 as shown below.
120 V 240 V
+ +
−
−
4Ω i6 i5 3Ω
8Ω 12 Ω
4Ω
12 A i1 i3 6Ω
i2 i4 24 A
Mesh 1:
i 1 = 12
Combined mesh (2 and 3):
– 4i 1 + 12i 2 + 18i 3 – 6i 4 – 8i 5 – 12i 6 = 0
or
– 2i 1 + 6i 2 + 9i 3 – 3i 4 – 4i 5 – 6i 6 = 0
We now re-insert the 36 A current source and we write the third equation as
i 2 – i 3 = 36
Mesh 4:
i 4 = – 24
Mesh 5:
– 8 i 2 + 12i 5 = 120
or
– 2 i 2 + 3i 5 = 30
Mesh 6:
– 12 i 3 + 15i 6 = – 240
or
– 4 i 3 + 5i 6 = – 80
i1 = 12
– 2i 1 + 6i 2 + 9i 3 – 3i 4 – 4i 5 – 6i 6 = 0
i2 – i3 = 36
i4 = – 24
–2 i2 + 3i 5 = 30
–4 i3 + 5i 6 = – 80
i1
1 0 0 0 0 0 12
–2 6 9 –3 –4 –6 i2 0
0 1 –1 0 0 0 i3 36
0 0 0 1 0 0 ⋅ i4 = – 24
0 –2 0 0 3 0 i5 30
0 0 –4 0 0 5 i6 – 80
⎧
⎪
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
R V
I
120 V 240 V
+ +
−
4Ω i6 3Ω
i5
8Ω 12 Ω
+
4Ω v 36 A
36 A 6Ω
12 A i1 − 24 A
i2 i3 i4
or
v 36 A = 86.34 V
To verify that this value is correct, we apply KVL around Mesh 2. Thus, we must show that
v 4 Ω + v 8 Ω + v 36 A = 0
5. This is the same circuit as that of Problem 3. We will show that we obtain the same answers using
mesh analysis.
We assign mesh currents as shown below.
18 A
i5
12 Ω 15 Ω
iX
6Ω +
i6 Ω 5i X
4Ω −
i3
12 A i4
+
i1 i2 24 A
− 36 V
Mesh 1:
i 1 = 12
Mesh 2:
– 4i 1 + 22i 2 – 6i 3 – 12i 5 = – 36
or
– 2i 1 + 11i 2 – 3i 3 – 6i 5 = – 18
Mesh 3:
– 6 i 2 + 21i 3 – 15i 5 + 5i X = 36
– 6 i 2 + 21i 3 – 15i 5 + 5i 2 – 5i 5 = 36
or
– i 2 + 21i 3 – 20i 5 = 36
Mesh 4:
i 4 = – 24
Mesh 5:
i 5 = 18
i1
1 0 0 0 0 12
–2 11 –3 0 –6 i2 – 18
0 –1 21 0 – 20 i3 36
⋅ =
0 0 0 1 0 i4 – 24
0 0 0 0 1 i5 18
⎧
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
R V
I
Next,
p 5i = 5i X ( i 3 – i 4 ) = 5 ( i 2 – i 5 ) ( i 3 – i 4 )
X
10i X
i4
12 Ω 15 Ω
4Ω +
8Ω
iX v 10 Ω
6Ω
i1 i2 i3 −
+ − 10 Ω
−
+
12 V 24 V
Mesh 1:
24i 1 – 8i 2 – 12i 4 – 24 – 12 = 0
or
6i 1 – 2i 2 – 3i 4 = 9
Mesh 2:
– 8 i 1 + 29i 2 – 6i 3 – 15i 4 = – 24
Mesh 3:
– 6 i 2 + 16i 3 = 0
or
– 3 i 2 + 8i 3 = 0
Mesh 4:
i 4 = 10i X = 10 ( i 2 – i 3 )
or
10i 2 – 10i 3 – i 4 = 0
6 –2 0 –3 i1
9
–8 29 – 6 – 15 i2 – 24
0 –3 8 0 ⋅ i3 = 0
0 10 – 10 – 1 i4 0
⎧
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎩
⎧
⎨
⎩
⎧
⎨
⎩
R I V
The same value is obtained by computing the voltage across the 6 Ω resistor, that is,
v 6 Ω = 6 ( i 2 – i 3 ) = 6 ( 0.13 – 0.05 ) = 0.48 V
2Ω 3Ω 6Ω 10 Ω
6A 8A 6A
By combining all current sources and all parallel resistors except the 10 Ω resistor, we obtain the
simplified circuit below.
1Ω 10 Ω
4A
and thus
4 2 16
p 10 Ω = i 10 Ω ( 10 ) = ⎛ ------ ⎞ × 10 = --------- × 10 = 160
2
--------- = 1.32 w
⎝ 11 ⎠ 121 121
−
−
+
−
+ i 24 V
12 V
9. We remove R LOAD from the rest of the rest of the circuit and we assign node voltages v 1 , v 2 , and
v 3 . We also form the combined node as shown on the circuit below.
36 V
+
−
1 3
× x
v1 2 v 2 15 Ω v3
12 Ω
4Ω 6Ω
12 A 18 A
× y
Node 1:
v v1 – v2 v3 – v2 v3
----1- + ---------------
- – 12 + ---------------
- + ----- = 0
4 12 15 6
or
1 3 7
--- v 1 – ------ v 2 + ------ v 3 = 12
3 20 30
Node 2:
v2 – v1 v2 – v3
- + ---------------- = – 18
---------------
12 15
or
3-
1- v + ----- 1- v = – 18
– ----- 1 v 2 – -----
12 20 15 3
Also,
v 1 – v 3 = 36
For this problem, we are interested only in the value of v 3 which is the Thevenin voltage v TH ,
and we could find it by Gauss’s elimination method. However, for convenience, we will group
these three independent equations, express these in matrix form, and use MATLAB for their
solution.
1 3 7
--- v 1 – ------ v 2 + ------ v 3 = 12
3 20 30
3-
1- v + ----- 1- v = – 18
– ----- v – -----
12 1 20 2 15 3
v1 – v 3 = 36
V I
⎧
⎪
⎪
⎨
⎪
⎪
⎩
G
We find the voltages v 1 through v 3 with the following MATLAB code:
G=[1/3 −3/20 7/30; −1/12 3/20 −1/15; 1 0 −1];
I=[12 −18 36]'; V=G\I;
fprintf('\n');...
fprintf('v1=%7.2f V \t', V(1)); fprintf('v2=%7.2f V \t', V(2)); fprintf('v3=%7.2f V \t', V(3));
fprintf('\n')
v1= 0.00 V v2= -136.00 V v3= -36.00 V
Thus,
v TH = v 3 = – 36 V
To find R TH we short circuit the voltage source and we open the current sources. The circuit then
reduces to the resistive network below.
× x
12 Ω 15 Ω
4Ω 6Ω R TH
× y
We observe that the resistors in series are shorted out and thus the Thevenin resistance is the par-
allel combination of the 4 Ω and 6 Ω resistors, that is,
4 Ω || 6 Ω = 2.4 Ω
and the Thevenin equivalent circuit is as shown below.
−
+
36 V 2.4 Ω
Now, we connect the load resistor R LOAD at the open terminals and we get the simple series cir-
cuit shown below.
− R LOAD = 2.4 Ω
+
36 V 2.4 Ω
10. We assign a node voltage Node 1 and a mesh current for the mesh on the right as shown below.
v1 iX
a
1
15 Ω
4Ω 5Ω iX
5iX iX
At Node 1:
v
----1- + i X = 5i X
4
Mesh on the right:
( 15 + 5 )i X = v 1
Then,
v OC v ab 5×i 5×0
i N = -------- - = -------------X = ------------ = 0
- = ------
RN RN RN RN
RN iX
b
To find R N we insert a 1 A current source as shown below.
vA iX v B a
A B
15 Ω
4Ω 5Ω iX
5iX iX 1A
At Node A:
vA vA – vB
----- + ----------------- = 5i X
4 15
But
v B = ( 5 Ω ) × i X = 5i X
v vA – vB
----A- + ----------------
- = vB
4 15
or
19 16
------ v A – ------ v B = 0
60 15
At Node B:
vB – vA vB
- + ----- = 1
----------------
15 5
or
1 4
– ------ v A + ------ v B = 1
15 15
For this problem, we are interested only in the value of v B which we could find by Gauss’s elimi-
nation method. However, for convenience, we will use MATLAB for their solution.
19
------ v A – 16
------ v B = 0
60 15
1 4
– ------ v A + ------ v B = 1
15 15
⎧
⎨
⎩
⎧
⎨
⎩
V I
⎧
⎪
⎨
⎪
⎩
G
–1 –1
4Ω v' 18A 6Ω
12 A
−
The nodal equations at the three nodes are
16v 1 – 12v 2 = 12
– 12v 1 + 27v 2 – 15v 3 = 0
– 15 v 2 + 21v 3 = 0
or
4v 1 – 3v 2 = 3
– 4v 1 + 9v 2 – 5v 3 = 0
– 5 v 2 + 7v 3 = 0
Since v 2 = v' 18A , we only need to solve for v 2 . Adding the first 2 equations above and grouping
with the third we obtain
6v 2 – 5v 3 = 3
– 5 v 2 + 7v 3 = 0
Next, we let v'' 18A be the voltage due to the 18 A current source acting alone. The simplified cir-
cuit with assigned node voltages is shown below where the parallel conductances have been
replaced by their equivalents.
–1 –1
vA 12 Ω v B 15 Ω vC
+
–1 –1
4Ω v'' 18A 6Ω
18 A −
4v A – 3v B = 0
– 4v A + 9v B – 5v C = – 6
– 5 v B + 7v C = 0
Since v B = v'' 18A , we only need to solve for v B . Adding the first 2 equations above and group-
ing with the third we obtain
6v B – 5v C = – 6
– 5 v B + 7v C = 0
Finally, we let v''' 18A be the voltage due to the 24 A current source acting alone. The simplified
circuit with assigned node voltages is shown below where the parallel conductances have been
replaced by their equivalents.
–1 –1
v X 12 Ω v Y 15 Ω vZ
+
–1 –1
4Ω v''' 18A 6Ω
24 A
−
4v X – 3v Y = 0
– 4v X + 9v Y – 5v Z = 0
– 5 v Y + 7v Z = 8
Since v Y = v''' 18A , we only need to solve for v Y . Adding the first 2 equations above and grouping
with the third we obtain
6v Y – 5v Z = 0
– 5 v Y + 7v Z = 0
------ + –
v 18A = v' 18A + v'' 18A + v''' 18A = 21 42- + 40
-------- ------ = 19
------ = 1.12 V
17 17 17 17
This is the same answer as in Problem 1.
12. This is the same circuit as that of Problem 2. Let v' 6 Ω be the voltage due to the 12 A current
source acting alone. The simplified circuit is shown below.
12 Ω 15 Ω
+
6Ω v' 6 Ω
4Ω
12 A −
The 12 Ω and 15 Ω resistors are shorted out and the circuit is further simplified to the one
shown below.
+
6Ω v' 6 Ω
4Ω
12 A −
The voltage v' 6 Ω is computed easily by application of the current division expression and mul-
tiplication by the 6 Ω resistor. Thus,
4 144
v' 6 Ω = ⎛ ------------ × 12⎞ × 6 = --------- V
⎝4 + 6 ⎠ 5
Next, we let v'' 6 Ω be the voltage due to the 18 A current source acting alone. The simplified
circuit is shown below. The letters A, B, and C are shown to visualize the circuit simplification
process.
15 Ω
A 12 Ω B 15 Ω A B A B
A
12 Ω 12 || 15 Ω
+ + +
6Ω v'' 6 Ω v'' 6 Ω 4Ω v'' 6 Ω 4Ω
4Ω
18 A − − 18 A − 18 A
6Ω 6Ω
C C C
The voltage v'' 6 Ω is computed easily by application of the current division expression and mul-
tiplication by the 6 Ω resistor. Thus,
4 – 216
v'' 6 Ω = ------------ × ( – 18 ) × 6 = ------------ V
4+6 5
Now, we let v''' 6 Ω be the voltage due to the 24 A current source acting alone. The simplified
circuit is shown below.
12 Ω 15 Ω
+
6Ω v''' 6 Ω
4Ω
−
24 A
The 12 Ω and 15 Ω resistors are shorted out and voltage v''' 6 Ω is computed by application of
the current division expression and multiplication by the 6 Ω resistor. Thus,
4 288
v''' 6 Ω = ⎛ ------------ × 24⎞ × 6 = --------- V
⎝4 + 6 ⎠ 5
iv
Finally, we let v 6 Ω be the voltage due to the 36 V voltage source acting alone. The simplified
circuit is shown below.
36 V
+ A
−
A 12 Ω 15 Ω B
4Ω 12 Ω
+ C
+
+ 36 V
iv −
4Ω 6Ω v 6 Ω iv
6Ω v 6 Ω 15 Ω
−
−
C
B
R S1
v S1 1Ω
i LOAD1
+ 16 A
−
R LOAD1
48 V
v S1
R eq1 = ---------------- = 48
------ = 3 Ω
i LOAD1 16
For Measurement 3 the load resistance is the same as for Measurement 1 and the load current is
given as – 5 A . Therefore, for Measurement 3 we find that
v S1 = R eq1 ( – 5 ) = 3 × ( – 5 ) = – 15 V
v S2 1Ω
i LOAD2
+ 6A
−
R LOAD2
36 V
v S2 36
R eq2 = ---------------- = ------ = 6 Ω
i LOAD2 6
For Measurement 4 the load resistance is the same as for Measurement 2 and v S2 is given as
– 42 V . Therefore, for Measurement 4 we find that
v S2 42
i LOAD2 = ---------- = – ------ = – 7 A
R eq2 6
R S1
+
1Ω
R S2 i LOAD
v S1 1Ω
+
− v S2 v LOAD R LOAD
15 V 1Ω
+
−
18 V
−
Replacing the voltage sources with their series resistances to their equivalent current sources
with their parallel resistances and simplifying, we get the circuit below.
i LOAD
0.5 Ω R LOAD
33 A 1Ω
0.5
i LOAD = ---------------- × 33 = 11 A
0.5 + 1
and we enter this value in the table below.
The circuit for Measurement 6 is shown below.
R S1 A
vA
1Ω
R S2 i LOAD
v S1 1Ω
+
− v S2 R LOAD
1Ω
+
−
24 V
We observe that i LOAD will be zero if v A = 0 and this will occur when v S1 = – 24 . This can be
shown to be true by writing a nodal equation at Node A. Thus,
v A – ( – 24 ) v A – 24
------------------------- + ----------------- + 0 = 0
1 1
or v A = 0
0.8 Ω
0.5 Ω
vS i1 100 A i2 80 A
+ 1st Floor 2nd Floor
−− Load Load
480 V
0.5 Ω
0.8 Ω
Then,
0.8 Ω
0.5 Ω
VS i1 i2 80 A
100 A
+ 1st Floor 2nd Floor
−− Load Load
480 V
0.5 Ω
0.8 Ω
16. We assign node voltages and we write nodal equations as shown below.
+
−
3Ω 3Ω 7Ω
+ i LOAD
+ iX 10 Ω 4Ω
−− 6Ω v LOAD RL
12 V − 8Ω
5Ω
v5
v 1 = 12
v2 – v1 v2 v2 – v3
---------------- + ----- + ---------------- = 0
3 6 3
v3 – v2 v3 – v5 v4 – v5 v4 – v5
- + ---------------- + ---------------- + ---------------- = 0
---------------
3 10 4 7+8
v 3 – v 4 = 20i X
v
where i X = ----2- and thus
6
10
v 5 = ------ v 2
3
v v5 – v3 v5 – v4 v5 – v4
----5- + ---------------
- + ---------------- + ---------------- = 0
5 10 4 7+8
Collecting like terms and rearranging we get
v1 = 12
–1 5 –1
------ v 1 + --- v 2 + ------ v 3 = 0
3 6 3
–
-----1- v 2 + 13
------ v 3 + 19
------ v 4 – 19
------ v 5 = 0
3 30 60 60
10
– ------ v 2 + v3 – v4 = 0
3
1 19 37
– ------ v 3 – ------ v 4 + ------ v 5 = 0
10 60 60
1 0 0 0 0
–
-----1- 5
--- –
-----1- 0 0 v1
3 6 3 12
–1 13 v2 0
0 ------ ------ 19
------ – 19
------
3 30 60 60 v3 0
⋅ =
0 – 10
------ 1 –1 0 v4 0
3 v5 0
1- – 19 37
⎧
⎨
⎩
0 0 – ----- ------ ------
⎧
⎨
⎩
10 60 60 V I
⎧
⎪
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎪
⎩
G
We will use MATLAB to solve the above.
G=[1 0 0 0 0;...
−1/3 5/6 −1/3 0 0;...
0 −1/3 13/30 19/60 −19/60;...
0 −10/3 1 −1 0;...
0 0 −1/10 −19/60 37/60];
I=[12 0 0 0 0]'; V=G\I;
fprintf('\n');...
fprintf('v1 = %7.2f V \n',V(1));...
fprintf('v2 = %7.2f V \n',V(2));...
fprintf('v3 = %7.2f V \n',V(3));...
fprintf('v4 = %7.2f V \n',V(4));...
fprintf('v5 = %7.2f V \n',V(5));...
fprintf('\n'); fprintf('\n')
v1 = 12.00 V
v2 = 13.04 V
v3 = 20.60 V
v4 = -22.87 V
v5 = -8.40 V
Now,
v4 – v5 22.87 – ( – 8.40 -) = – 0.96 A
- = –-----------------------------------------
i LOAD = ---------------
8+7 15
and
v LOAD = 8i LOAD = 8 × ( – 0.96 ) = – 7.68 V
T
his chapter is an introduction to amplifiers. It discusses amplifier gain in terms of decibels (dB)
and provides an overview of operational amplifiers, their characteristics and applications.
Numerous formulas for the computation of the gain are derived and several practical examples
are provided.
4.1 Signals
A signal is any waveform that serves as a means of communication. It represents a fluctuating electric
quantity, such as voltage, current, electric or magnetic field strength, sound, image, or any message
transmitted or received in telegraphy, telephony, radio, television, or radar. A typical signal which var-
ies with time is shown in figure 4.1 where f ( t ) can be any physical quantity such as voltage, current,
temperature, pressure, and so on.
f (t)
4.2 Amplifiers
An amplifier is an electronic circuit which increases the magnitude of the input signal. The symbol of
a typical amplifier is a triangle as shown in Figure 4.2.
vin vout
Electronic Amplifier
Figure 4.2. Symbol for electronic amplifier
An electronic (or electric) circuit which produces an output that is smaller than the input is called an
attenuator. A resistive voltage divider is a typical attenuator.
Note 1: Throughout this text, the common (base 10) logarithm of a number x will be denoted as
log ( x ) while its natural (base e) logarithm will be denoted as ln ( x ) .
4.3 Decibels
The ratio of any two values of the same quantity (power, voltage or current) can be expressed in
decibels ( dB ) . For instance, we say that an amplifier has 10 dB power gain or a transmission line
has a power loss of 7 dB (or gain – 7 dB ). If the gain (or loss) is 0 dB , the output is equal to the
input.
We must remember that a negative voltage or current gain G v or G i indicates that there is a 180°
phase difference between the input and the output waveforms. For instance, if an amplifier has a
gain of −100 (dimensionless number), it means that the output is 180 degrees out-of-phase with the
input. Therefore, to avoid misinterpretation of gain or loss, we use absolute values of power, voltage
and current when these are expressed in dB.
By definition,
p out
dB = 10 log ---------
- (4.2)
p in
Therefore,
10 dB represents a power ratio of 10
n
10n dB represents a power ratio of 10
It is useful to remember that
20 dB represents a power ratio of 100
30 dB represents a power ratio of 1000
60 dB represents a power ratio of 1000000
Also,
1 dB represents a power ratio of approximately 1.25
3 dB represents a power ratio of approximately 2
7 dB represents a power ratio of approximately 5
From these, we can estimate other values. For instance, 4 dB = 3 dB + 1 dB which is equivalent to
a power ratio of approximately 2 × 1.25 = 2.5 . Likewise, 27 dB = 20 dB + 7 dB and this is equiv-
alent to a power ratio of approximately 100 × 5 = 500 .
2
Since y = log x = 2 log x and p = v 2 ⁄ R = i 2 R , if we let R = 1 , the dB values for voltage and cur-
rent ratios become:
v out 2 v out
dB v = 10 log --------
- = 20 log --------
- (4.3)
v in v in
and
i out 2 i out
dB i = 10 log -------
- = 20 log -------
- (4.4)
i in i in
Example 4.1
Compute the gain in dB w for the amplifier shown in Figure 4.3.
p in p out
1w 10 w
Figure 4.3. Amplifier for Example 4.1
Solution:
p out 10
- = 10 log ------ = 10 log 10 = 10 × 1 = 10 dBw
dB w = 10 log ---------
p in 1
Example 4.2
Compute the gain in dB v for the amplifier shown in Figure 4.4, given that log 2 = 0.3 .
v in v out
1v 2v
Solution:
v out 2
- = 20 log --- = 20 log 0.3 = 20 × 0.3 = 6 dBv
dB v = 20 log --------
v in 1
1 v out
0.707
Bandwidth
ω
ω1 ω2
Figure 4.5. Typical bandwidth of an amplifier
As shown above, the bandwidth is BW = ω 2 – ω 1 where ω 1 and ω 2 are the lower and upper cutoff fre-
quencies respectively. At these frequencies, v out = 2 ⁄ 2 = 0.707 and these two points are known
as the 3-dB down or half-power points. They derive their name from the fact that power
p = v 2 ⁄ R = i 2 R , and for R = 1 and v = 2 ⁄ 2 = 0.707 or i = 2 ⁄ 2 = 0.707 , the power is
1 ⁄ 2 , that is, the power is “halved”. Alternately, we can define the bandwidth as the frequency band
between half-power points.
Most amplifiers are used with a feedback path which returns (feeds) some or all its output to the input
as shown in Figure 4.6.
Σ Σ
In Out In Out
Gain Amplifier Gain Amplifier
+− +
−
Feedback Path
Feedback Circuit
In Figure 4.6, the symbol Σ (Greek capital letter sigma) inside the circle denotes the summing point
where the output signal, or portion of it, is combined with the input signal. This summing point may
be also indicated with a large plus (+) symbol inside the circle. The positive (+) sign below the sum-
ming point implies positive feedback which means that the output, or portion of it, is added to the
input. On the other hand, the negative (−) sign implies negative feedback which means that the output,
or portion of it, is subtracted from the input. Practically, all amplifiers use used with negative feed-
back since positive feedback causes circuit instability.
1 −
3
2 +
Figure 4.7. Symbol for operational amplifier
As shown above the op amp has two inputs but only one output. For this reason it is referred to as
differential input, single ended output amplifier. Figure 4.8 shows the internal construction of a typical op
amp. This figure also shows terminals V CC and V EE . These are the voltage sources required to
power up the op amp. Typically, V CC is +15 volts and V EE is −15 volts. These terminals are not
shown in op amp circuits since they just provide power, and do not reveal any other useful informa-
tion for the op amp’s circuit analysis.
VCC
1 NON-INVERTING INPUT
2 INVERTING INPUT
3 OUTPUT
1 2
VEE
An op amp is said to be connected in the inverting mode when an input signal is connected to the
inverting (−) input through an external resistor R in whose value along with the feedback resistor R f
determine the op amp’s gain. The non-inverting (+) input is grounded through an external resistor R
as shown in Figure 4.9.
For the circuit of Figure 4.9, the voltage gain G v is
v out R
- = – -------f-
G v = -------- (4.5)
v in R in
Rf
R in
−
v in +
− + + v out
−
R
Note 2: The resistor R connected between the non-inverting (+) input and ground serves only as a
current limiting device, and thus it does not influence the op amp’s gain. It will be omitted
in our subsequent discussion.
Note 3: The input voltage v in and the output voltage v out as indicated in the circuit of Figure
4.9, should not be interpreted as open circuits; these designations imply that an input
voltage of any waveform may be applied at the input terminals and the corresponding
output voltage appears at the output terminals.
As shown in the formula of (4.5), the gain for this op amp configuration is the ratio – R f ⁄ R in where
R f is the feedback resistor which allows portion of the output to be fed back to the input. The
minus (−) sign in the gain ratio – R f ⁄ R in implies that the output signal has opposite polarity from
that of the input signal; hence the name inverting amplifier. Therefore, when the input signal is pos-
itive (+) the output will be negative (−) and vice versa. For example, if the input is +1 volt DC and
the op amp gain is 100, the output will be −100 volts DC. For AC (sinusoidal) signals, the output will
be 180 degrees out-of-phase with the input. Thus, if the input is 1 volt AC and the op amp gain is 5,
the output will be −5 volts AC or 5 volts AC with 180 degrees out-of-phase with the input.
Example 4.3
Compute the voltage gain G v and then the output voltage v out for the inverting op amp circuit
shown in Figure 4.10, given that v in = 1 mV . Plot v in and v out as mV versus time on the same set
of axes.
Rf
R in 120 KΩ
−
v in +
20 KΩ + + v out
−
−
Solution:
This is an inverting amplifier and thus the voltage gain G v is
R 120 KΩ-
G v = – -------f- = – -------------------
R in 20 KΩ
or
Gv = –6
and since
v out
G v = --------
-
v in
the output voltage is
v out = G v v in = – 6 × 1
or
v out = – 6 mV
2
vOUT / vIN (millivolts)
1
0
-1 vIN = 1 mV
-2
-3
vOUT = −6 mV
-4
-5
-6
-7 Time
Figure 4.11. Input and output waveforms for the circuit of Example 4.3
Example 4.4
Compute the voltage gain G v and then the output voltage v out for the inverting op amp circuit
shown in Figure 4.12, given that v in = sin t mV . Plot v in and v out as mV versus time on the same
set of axes.
Rf
R in 120 KΩ
−
v in + 20 KΩ
− + + v out
−
Solution:
This is the same circuit as that of the previous example except that the input is a sine wave with
unity amplitude and the voltage gain G v is the same as before, that is,
R 120 KΩ- = – 6
G v = – -------f- = – -------------------
R in 20 KΩ
and the output voltage is
v out = G v v in = – 6 × sin t = – 6 sin t mV
6
vOUT = −6sint
v OUT / v IN (millivolts)
2 vin = sint
0 Time
-2
-4
-6
-8
Figure 4.13. Input and output waveforms for the circuit of Example 4.4
An op amp is said to be connected in the non-inverting mode when an input signal is connected to the
non-inverting (+) input through an external resistor R which serves as a current limiter, and the
inverting (−) input is grounded through an external resistor R in as shown in Figure 4.14. In our sub-
sequent discussion, the resistor R will represent the internal resistance of the applied voltage v in .
Rf
R in
−
+ + v out
v in + R −
−
Figure 4.14. Circuit of non-inverting op amp
v out R
- = 1 + -------f-
G v = -------- (4.6)
v in R in
As indicated by the relation of (4.6), the gain for this op amp configuration is 1 + R f ⁄ R in and there-
fore, in the non-inverting mode the op amp output signal has the same polarity as the input signal;
hence, the name non-inverting amplifier. Thus, when the input signal is positive (+) the output will
be also positive and if the input is negative, the output will be also negative. For example, if the input
is +1 mV DC and the op amp gain is 75 , the output will be +75 mV DC . For AC signals the output
will be in-phase with the input. For example, if the input is 0.5 V AC and the op amp gain is
G v = 1 + 19 KΩ ⁄ 1 KΩ = 20 , the output will be 10 V AC and in-phase with the input.
Example 4.5
Compute the voltage gain G v and then the output voltage v out for the non-inverting op amp circuit
shown in Figure 4.15, given that v in = 1 mV . Plot v in and v out as mV versus time on the same set
of axes.
Rf
R in 20 KΩ 120 KΩ
−
+ + v out
v in + R −
−
Figure 4.15. Circuit for Example 4.5
Solution:
The voltage gain G v is
v out R 120 KΩ
- = 1 + -------f- = 1 + -------------------- = 1 + 6 = 7
G v = --------
v in R in 20 KΩ
and thus
v out = G v v in = 7 × 1 mV = 7 mV
Figure 4.16. Input and output waveforms for the circuit of Example 4.5
Example 4.6
Compute the voltage gain G v and then the output voltage v out for the non-inverting op amp circuit
shown in Figure 4.17, given that v in = sin t mV . Plot v in and v out as mV versus time on the same
set of axes.
Rf
R in 20 KΩ 120 KΩ
−
+ + v out
v in + R −
−
Figure 4.17. Circuit for Example 4.6
Solution:
This is the same circuit as in the previous example except that the input is a sinusoid. Therefore, the
voltage gain G v is the same as before, that is,
v out R 120 KΩ
- = 1 + -------f- = 1 + -------------------- = 1 + 6 = 7
G v = --------
v in R in 20 KΩ
8
vOUT = 7sint
vOUT / vIN (millivolts) 6
0 Time
-2
vIN = sint
-4
-6
-8
Figure 4.18. Input and output waveforms for the circuit of Example 4.6
−
+ + v out
+ R −
v in
−
Figure 4.19. Circuit of unity gain op amp
v out
G v = --------
- = 1 (4.7)
v in
and thus
v out = v in (4.8)
For this reason, the op amp circuit of Figure 4.19 it is called unity gain amplifier. For example, if the
input voltage is 5 mV DC the output will also be 5 mV DC , and if the input voltage is 2 mV AC ,
the output will also be 2 mV AC . The unity gain op amp is used to provide a very high resistance
between a voltage source and the load connected to it. An example will be given in Section 4.8.
vin vout
1
Ideal
0.8
Half-Power Point
|vOUT / vIN|
0.6
0.4 Realizable
0.2
0 ωc ω
In Figure 4.21, the straight vertical and horizontal lines represent the ideal (unrealizable) and the
smooth curve represents the practical (realizable) low-pass filter characteristics. The vertical scale
represents the magnitude of the ratio of output-to-input voltage v out ⁄ v in , that is, the gain G v . The
cutoff frequency ω c is the frequency at which the maximum value of v out ⁄ v in which is unity, falls
to 0.707 × Gv , and as mentioned before, this is the half power or the – 3 dB point.
A high-pass filter transmits (passes) all frequencies above a critical (cutoff) frequency ω c , and attenu-
ates (blocks) all frequencies below the cutoff frequency. An op amp high-pass filter is shown in Fig-
ure 4.22 and its frequency response in Figure 4.23.
vin vout
0.6
Realizable
0.4
0.2
0.0 ω
ωc
Radian Frequency (log scale)
In Figure 4.23, the straight vertical and horizontal lines represent the ideal (unrealizable) and the
smooth curve represents the practical (realizable) high-pass filter characteristics. The vertical scale
represents the magnitude of the ratio of output-to-input voltage v out ⁄ v in , that is, the gain G v . The
cutoff frequency ω c is the frequency at which the maximum value of v out ⁄ v in which is unity, falls to
0.707 × G v , i.e., the half power or the – 3 dB point.
A band-pass filter transmits (passes) the band (range) of frequencies between the critical (cutoff) fre-
quencies denoted as ω 1 and ω 2 , where the maximum value of G v which is unity, falls to 0.707 × Gv ,
while it attenuates (blocks) all frequencies outside this band. An op amp band-pass filter and its fre-
quency response are shown below. An op amp band-pass filter is shown in Figure 4.24 and its fre-
quency response in Figure 4.25.
vin vout
1
0.9 Ideal
0.8
0.7 Half-Power
Half-PowerPoints
Point
|vOUT / vIN|
0.6
0.5
0.4
0.3
Realizable
0.2
0.1
0 ω
ωcω1 ω2 ω
A band-elimination or band-stop or band-rejection filter attenuates (rejects) the band (range) of frequen-
cies between the critical (cutoff) frequencies denoted as ω 1 and ω 2 , where the maximum value of
G v which is unity, falls to 0.707 × G v , while it transmits (passes) all frequencies outside this band.
An op amp band-stop filter is shown in Figure 4.26 and its frequency response in Figure 4.27.
vin vout
1
0.9 Ideal
0.8
0.7 Half-Power
Half-Power PointPoints
|vOUT / vIN|
0.6
0.5
Realizable
0.4
0.3
0.2
0.1
0 ω
ω1 ωc ω2 ω
We will provide several examples to illustrate the analysis of op amp circuits without being con-
cerned about its internal operation; this is discussed in electronic circuit analysis books.
Example 4.7
The op amp circuit shown in Figure 4.28 is called inverting op amp. Prove that the voltage gain G v is
as given in (4.9) below, and draw its equivalent circuit showing the output as a dependent source.
Rf
R in i
−
v in + i
− + + v out
−
R
v out R
- = – -------f-
G v = -------- (4.9)
v in R in
Proof:
No current flows through the (−) input terminal of the op amp; therefore the current i which flows
through resistor R in flows also through resistor R f . Also, since the (+) input terminal is grounded
and there is no voltage drop between the (−) and (+) terminals, the (−) input is said to be at virtual
ground. From the circuit of Figure 4.28,
v out = – R f i
where
v in
i = -------
-
R in
and thus
R
v out = – -------f- v in
R in
or
v out R
- = – -------f-
G v = --------
v in R in
The input and output parts of the circuit are shown in Figure 4.29 with the virtual ground being the
same as the circuit ground.
−
+
v in+ R in
i
+ v
Rf out
− i −
− +
These two circuits are normally drawn with the output as a dependent source as shown in Figure
4.30. This is the equivalent circuit of the inverting op amp and, as mentioned in Chapter 1, the dependent
source is a Voltage Controlled Voltage Source (VCVS).
+ R in +
− R
− -------f- v in v out
v in + R in
−
Example 4.8
The op amp circuit shown in Figure 4.31 is called non-inverting op amp. Prove that the voltage gain G v
is as given in (4.10) below, and draw its equivalent circuit showing the output as a dependent source.
Rf
R in
−
+ + + v out
v in
−
−
v out R
- = 1 + -------f-
G v = -------- (4.10)
v in R in
Proof:
Let the voltages at the (−) and (+) terminals be denoted as v 1 and v 2 respectively as shown in Figure
4.32.
Rf
+ −
R in v1 i2
−
v2
i1 + + v out
+ −
v in
−
By application of KCL at v 1
i1 + i2 = 0
or
v 1 v 1 – v out
- + -------------------- = 0
------- (4.11)
R in Rf
There is no potential difference between the (−) and (+) terminals; therefore, v 1 – v 2 = 0 or
v 1 = v 2 = v in . Relation (4.11) then can be written as
v in v in – v out
- + ---------------------- = 0
-------
R in Rf
or
1
⎛ ------- 1 v out
- + ----- ⎞ v in = --------
-
⎝R ⎠
in R f Rf
Rearranging, we get
v out R
- = 1 + -------f-
G v = --------
v in R in
and its equivalent circuit is as shown in Figure 4.33. The dependent source of this equivalent circuit
is also a VCVS.
+ + ⎛⎜ 1 + -------
Rf ⎞ +
− - ⎟ v in v out
v in − ⎝ R in ⎠
−
Example 4.9
If, in the non-inverting op amp circuit of the previous example, we replace R in with an open circuit
( R in → ∞ ) and R f with a short circuit ( R f → 0 ), prove that the voltage gain G v is
v out
G v = --------
- = 1 (4.12)
v in
and thus
v out = v in (4.13)
Proof:
With R in open and R f shorted, the non-inverting amplifier of the previous example reduces to the
circuit of Figure 4.34.
−
+ + v out
+ −
v in
−
The voltage difference between the (+) and (−) terminals is zero; then v out = v in .
out v R
- = 1 + -------f- .
We will obtain the same result if we consider the non-inverting op amp gain G v = --------
v in R in
Then, letting R f → 0 , the gain reduces to G v = 1 and for this reason this circuit is called unity gain
amplifier or voltage follower. It is also called buffer amplifier because it can be used to “buffer” (isolate)
one circuit from another when one “loads” the other as we will see on the next example.
Example 4.10
For the circuit of Figure4.35
a. With the load R LOAD disconnected, compute the open circuit voltage v ab
b. With the load connected, compute the voltage v LOAD across the load R LOAD
c. Insert a buffer amplifier between a and b and compute the new voltage v LOAD across the same
load R LOAD
a
×
12 V 7 KΩ
+ R LOAD
5 KΩ
−
v in 5 KΩ
b
×
Solution:
a. With the load R LOAD disconnected the circuit is as shown in Figure 4.36.
a
×
12 V 7 KΩ
+ R LOAD
5 KΩ
−
v in 5KΩ
b
×
Figure 4.36. Circuit for Example 4.10 with the load disconnected
b. With the load R LOAD reconnected the circuit is as shown in Figure 4.37.
a
×
12 V 7 KΩ
+ R LOAD
5 KΩ
−
v in 5KΩ
b
×
Figure 4.37. Circuit for Example 4.10 with the load reconnected
5 KΩ || 5 KΩ - × 12 = 3.16 V
v LOAD = ------------------------------------------------------
7 KΩ + 5 KΩ || 5 KΩ
Here, we observe that the load R LOAD “loads down” the load voltage from 5 V to 3.16 V and
this voltage may not be sufficient for proper operation of the load.
c. With the insertion of the buffer amplifier between points a and b and the load, the circuit now is
as shown in Figure 4.38.
−
a
× +
7 KΩ
+
12 V R LOAD
+ v LOAD = v ab = 5 V
5 KΩ 5V 5 KΩ
−
v in −
×
b
Figure 4.38. Circuit for Example 4.10 with the insertion of a buffer op amp
From the circuit of Figure 4.38, we observe that the voltage across the load is 5 V as desired.
Example 4.11
The op amp circuit shown in Figure 4.39 is called summing circuit or summer because the output is the
summation of the weighted inputs. Prove that for this circuit,
⎛ v in 1 v in 2 ⎞
v out = – R f ⎜ ---------
- + ---------- ⎟ (4.14)
⎝ R in 1 R in 2 ⎠
R in 1 Rf
−
+
R in 2
+
+ v out
− + −
v in 1
v in 2 −
Proof:
We recall that the voltage across the (−) and (+) terminals is zero. We also observe that the (+) input
is grounded, and thus the voltage at the (−) terminal is at “virtual ground”. Then, by application of
KCL at the (−) terminal, we get
v in 1 v in 2 v out
- + ---------- + --------- = 0
---------
R in 1 R in 2 R f
and solving for v out we get (4.14). Alternately, we can apply the principle of superposition to derive
this relation.
Example 4.12
Compute the output voltage v out for the amplifier circuit shown in Figure 4.40.
R in 1 Rf 1 MΩ
−
10 KΩ +
v in 1 R in 2 R in 3 +
+ 20 KΩ v out
30 KΩ
− v in 2 v in 3 −
1 mV + +
− −
4 mV 10 mV
Solution:
Let v out 1 be the output due to v in 1 acting alone, v out 2 be the output due to v in 2 acting alone, and
v out 3 be the output due to v in 3 acting alone. Then by superposition,
First, with v in 1 acting alone and v in 2 and v in 3 shorted, the circuit becomes as shown in Figure 4.41.
Rf
R in 1 1 MΩ
−
10 KΩ +
v in 1
R in 2 +
+ R in 3 v out 1
− 20 KΩ −
30 KΩ
1 mV
G v = 1 MΩ ⁄ 10 KΩ = 100
and thus
v out 1 = ( 100 ) ( – 1 mV ) = – 100 mV (4.15)
Next, with v in 2 acting alone and v in 1 and v in 3 shorted, the circuit becomes as shown in Figure
4.42.
G v = 1 + 1 MΩ ⁄ 10 KΩ = 101
and the voltage at the plus (+) input is computed from the voltage divider circuit shown in Figure
4.43.
Rf
R in 1 1 MΩ
−
10 KΩ +
R in 2 R in 3 +
20 KΩ v out 2
30 KΩ −
v in 2 +
4 mV
−
+ To v ( + )
R in 2
R in 3
20 KΩ
v in 2 30 KΩ
+
−
4 mV −
Figure 4.43. Voltage divider circuit for the computation of v ( + ) with v in 2 acting alone
Then,
R in 3 30 KΩ
v ( + ) = --------------------------- × v in 2 = ----------------- × 4 mV = 2.4 mV
R in 2 + R in 3 50 KΩ
and thus
v out 2 = 101 × 2.4 mV = 242.4 mV (4.16)
Finally, with v in 3 acting alone and v in 1 and v in 2 shorted, the circuit becomes as shown in Figure
4.44.
The circuit of Figure 4.44 is also a non-inverting op amp whose voltage gain G v is
G v = 1 + 1 MΩ ⁄ 10 KΩ = 101
and the voltage at the plus (+) input is computed from the voltage divider circuit shown in Figure
4.45.
Rf
R in 1 1 MΩ
−
10 KΩ +
R in 3 +
R in 2
30 KΩ v out 3
20 KΩ
+ v in 3 −
− 10 mV
To v ( + )
R in 2 R in 3 +
20 KΩ 30 KΩ
+ v in 3
− 10 mV
−
Figure 4.45. Voltage divider circuit for the computation of v ( + ) with v in 3 acting alone
Then,
R in 2 20 KΩ
v ( + ) = --------------------------- × v in 2 = ----------------- × 10 mV = 4 mV
R in 2 + R in 3 50 KΩ
and thus
v out 3 = 101 × 4 mV = 404 mV (4.17)
Example 4.13
For the circuit shown in Figure 4.46, derive an expression for the voltage gain G v in terms of the
external resistors R 1 , R 2 , R 3 , and R f .
R1 Rf
−
+
v in R2 +
+ v out
R3 −
−
Solution:
We apply KCL at nodes v 1 and v 2 as shown in Figure 4.47.
R1 v1 Rf
−
v2
+
v in R2 +
+ v out
R3 −
−
At node v 1 :
v 1 – v in v 1 – v out
----------------- + -------------------- = 0
R1 Rf
or
1- ⎞ v = v-----
1- + ----
⎛ ----- in
v out
- + --------
-
⎝R Rf ⎠ 1
R1 Rf
1
or
⎛ R 1 + R f⎞ R f v in + R 1 v out
⎜ -----------------⎟ v 1 = -----------------------------------
⎝ R1 Rf ⎠ R1 Rf
or
R f v in + R 1 v out
v 1 = ----------------------------------- (4.18)
R1 + Rf
At node v 2 :
v 2 – v in v 2
----------------- + ------ = 0
R2 R3
or
R 3 v in
v 2 = -----------------
- (4.19)
R2 + R3
R 3 v in
v 1 = -----------------
- (4.20)
R2 + R3
v out R 3 ( R 1 + R f ) R f
--------- = ----------------------------- – ------
v in R1 ( R2 + R3 ) R1
and after simplification
v out R1 R3 – R2 R
- = ------------------------------f
G v = -------- (4.21)
v in R1 ( R2 + R3 )
Therefore, in an op amp circuit the input resistance provides a measure of the current i S which the
amplifier draws from the voltage source v S . Of course, we want i S to be as small as possible;
accordingly, we must make the input resistance R in as high as possible.
Example 4.14
Compute the input resistance R in of the inverting op amp amplifier shown in Figure 4.47 in terms
of R 1 and R f .
R1 Rf
+ −
vS iS
+ + v out
− −
Figure 4.48. Circuit for Example 4.14
Solution:
By definition,
v
R in = ----S- (4.23)
iS
and since no current flows into the minus (−) terminal of the op amp and this terminal is at virtual
ground, it follows that
v
i S = -----S- (4.24)
R1
R in = R 1 (4.25)
It is therefore, desirable to make R 1 as high as possible. However, if we make R 1 very high such as
10 MΩ , for a large gain, say 100 , the value of the feedback resistor R f should be 1 GΩ . Obviously,
this is an impractical value. Fortunately, a large gain can be achieved with the circuit of Problem 8.
Example 4.15
Compute the input resistance R in of the op amp shown in Figure 4.49.
Rf
100 KΩ
v in −
+ + v out
−
Figure 4.49. Circuit for Example 4.15
Solution:
In the circuit of Figure 4.49, v in is the voltage at the minus (−) terminal; not the source voltage v S .
Therefore, there is no current i S drawn by the op amp. In this case, we apply a test (hypothetical)
current i X as shown in Figure 4.49, and we treat v in as the source voltage.
Rf
v in 100 KΩ
iX −
+ + v out
−
Figure 4.50. Circuit for Example 4.15 with a test current source
v in 0
R in = ------
- = ---- = 0
iX iX
By definition, the output resistance R out is the ratio of the open circuit voltage to the short circuit current, that is,
v OC
R out = --------
- (4.26)
i SC
The output resistance R out is not the same as the load resistance. The output resistance provides a mea-
sure of the change in output voltage when a load which is connected at the output terminals draws
current from the circuit. It is desirable to have an op amp with very low output resistance as illus-
trated by the following example.
Example 4.16
The output voltage of an op amp decreases by 10% when a 5 KΩ load is connected at the output
terminals. Compute the output resistance R out .
Solution:
Consider the output portion of the op amp shown in Figure 4.51.
R out
−
+ +v
out
−
Figure 4.51. Partial circuit for Example 4.16
With a load R LOAD connected at the output terminals, the load voltage v LOAD is
R LOAD
v LOAD = --------------------------------- × v out (4.28)
R out + R LOAD
Therefore,
v LOAD 5 KΩ
- = 0.9 = -------------------------------
--------------
v OC R out + 5 KΩ
and solving for R out we get
R out = 555 Ω
We observe from (4.29) that as R out → 0 , relation (4.29) reduces to v LOAD = G v v in and by compar-
ison with (4.27), we see that v LOAD = v OC
4.10 Summary
• A signal is any waveform representing a fluctuating electric quantity, such as voltage, current, elec-
tric or magnetic field strength, sound, image, or any message transmitted or received in telegraphy,
telephony, radio, television, or radar. al that changes with time.
• An amplifier is an electronic circuit which increases the magnitude of the input signal.
• The gain of an amplifier is the ratio of the output to the input. It is normally expressed in decibel
(dB) units where by definition dB = 10 log p out ⁄ p in
• Frequency response is the band of frequencies over which the output remains fairly constant.
• The lower and upper cutoff frequencies are those where the output is 0.707 of its maximum
value. They are also known as half-power points.
• Most amplifiers are used with feedback where the output, or portion of it, is fed back to the input.
• The operational amplifier (op amp) is the most versatile amplifier and its main features are:
1. Very high input impedance (resistance)
2. Very low output impedance (resistance)
3. Capable of producing a very large gain that can be set to any value by connection of external
resistors of appropriate values
4. Frequency response from DC to frequencies in the MHz range
5. Very good stability
6. Operation to be performed, i.e., addition, integration etc. is done externally with proper selec-
tion of passive devices such as resistors, capacitors, diodes, and so on.
• The gain of an inverting op amp is the ratio – R f ⁄ R in where R f is the feedback resistor which
allows portion of the output to be fed back to the minus (−) input. The minus (−) sign implies that
the output signal has opposite polarity from that of the input signal.
• The gain of an non-inverting op amp is 1 + R f ⁄ R in where R f is the feedback resistor which
allows portion of the output to be fed back to the minus (−) input which is grounded through the
R in resistor. The output signal has the same polarity from that of the input signal.
• In a unity gain op amp the output is the same as the input. A unity gain op amp is used to provide
a very high resistance between a voltage source and the load connected to it.
• Op amps are also used as active filters.
• A low-pass filter transmits (passes) all frequencies below a critical (cutoff) frequency denoted as
ω C and attenuates (blocks) all frequencies above this cutoff frequency.
• A high-pass filter transmits (passes) all frequencies above a critical (cutoff) frequency ω c , and
attenuates (blocks) all frequencies below the cutoff frequency.
• A band-pass filter transmits (passes) the band (range) of frequencies between the critical (cutoff)
frequencies denoted as ω 1 and ω 2 , where the maximum value of G v which is unity, falls to
0.707 × G v , while it attenuates (blocks) all frequencies outside this band.
• The input resistance is the ratio of the applied voltage v S to the current i S drawn by the circuit,
that is, R in = v S ⁄ i S
• The output resistance (not to be confused with the load resistance) is the ratio of the open circuit
voltage when the load is removed from the circuit, to the short circuit current which is the cur-
rent that flows through a short circuit connected at the output terminals, that is, R o = v OC ⁄ i SC
4.11 Exercises
Multiple Choice
1. In the op amp circuit of Figure 4.52 v in = 2 V , R in = 1 KΩ , and it is desired to have
v out = 8 V . This will be obtained if the feedback resistor R f has a value of
A. 1 KΩ
B. 2 KΩ
C. 3 KΩ
D. 4 KΩ
E. none of the above
R in Rf
−
+ + + v out
v in R −
−
A. – 9 V
B. 9 V
C. – 4 V
D. 4 V
E. none of the above
R in Rf
−
v in +
− + + v out
−
A. ∞ V
B. 0 V
C. 10 V
D. – 10 V
E. none of the above
Rf
−
iS + + v out
−
A. ∞ V
B. 0 V
C. indeterminate
D. – 12 V
E. none of the above
−
+ + v out
−
R
iS
A. – 1 mA
B. 1 mA
C. – 4 ⁄ 3 mA
D. 4 ⁄ 3 mA
E. none of the above
R in Rf
− i
v in +
+ +
−
v out
R LOAD
−
6. In the circuit of Figure 4.57 v in = 1 V and all resistors have the same value. Then v out will be
A. – 2 V
B. 2 V
C. – 4 V
D. 4 V
E. none of the above
R in Rf
R in Rf 2 2
1 1
−
− +
+ v out
+ +
v in −
−
7. In the circuit of Figure 4.58 v in1 = 2 V , v in2 = 4 V , and R in = R f = 1 KΩ . Then v out will be
A. – 2 V
B. 2 V
C. – 8 V
D. 8 V
E. none of the above
R in Rf
+v −
in 1 +
− + + v out
v in −
2
−
A. – 5 V
B. – 10 V
C. – 15 V
D. – 90 V
E. none of the above
10 KΩ
10 KΩ 10 KΩ 20 KΩ
−
v in +
− + + v out
10 KΩ −
A. 1 KΩ
B. 2 KΩ
C. 4 KΩ
D. 8 KΩ
E. none of the above
4 KΩ 4 KΩ
−
v in +
− R in + +
2 KΩ
v out
2 KΩ −
1 KΩ
+
10 Ω
+ i
5Ω vX
− 40v X
2A −
Problems
1. For the circuit of Figure 4.62, compute v out 2 . Answer: – 0.9 V
10 KΩ 90 KΩ
3 KΩ 27 KΩ
v in 1 −
− + v out 2
+ +
10 mV + + + −
v ou t1 v in 2
− −
−
−
+
4 KΩ i 5KΩ
60 mV
+
3 KΩ 6 KΩ 5 KΩ
−
3. For the circuit of Figure 4.64, R in 1 , R in 2 , and R in 3 represent the internal resistances of the input
voltages v in 1 , v in 2 , and v in 3 respectively. Derive an expression for v out in terms of the input
voltage sources and their internal resistances, and the feedback resistance R f .
v v v
Answer: v out = R f ⎛⎝ ---------
in3 in2
- – --------- in1 ⎞
- – ---------
-
R in3 R in2 R in1 ⎠
R in1 Rf
−
+
R in2 R in3 +
+ vout
− + −
v in1 −
− +
v in2 v in3
10 KΩ 50 KΩ
−
+ +
20 KΩ
+ 40 mV v out
40 KΩ
− −
5. The op-amp circuit of Figure 4.66 (a) can be represented by its equivalent circuit shown in Figure
4.66 (b). For the circuit of Figure 4.67 (c), compute the value of R L so that it will receive maxi-
mum power. Answer: 3.75 KΩ
R2 v out
R1 + +
−
R1 − R
-----2- v v out
− + R 1 in
v in+ + +
v in −
v out
−
−
(a) (b)
Figure 4.66.
20 KΩ
2 KΩ
5 KΩ
−
v in+ +
+
− 15 KΩ v out
R LOAD
(c) −
6. For the circuit of Figure 4.68, compute v 5KΩ using Thevenin’s theorem. Answer: 20 mV
84 KΩ
100 KΩ
12 KΩ 4 KΩ −
+ +
v out
+ + −
− v 5KΩ
72 mV 5 KΩ 20 KΩ
7. For the circuit of Figure 4.69, compute the gain G v = v out ⁄ v in . Answer: – ( 2 ⁄ 37 )
R3
R2 40 KΩ 40 KΩ
R1 R4
+ +
200 KΩ 50 KΩ
v in R5 v out
50 KΩ
− −
8. For the circuit of Figure 4.70, show that the gain is given by
v out 1 R
G v = --------- = – ------ R 5 + R 3 ⎛ -----5- + 1⎞
v in R1 ⎝ R4 ⎠
R3 R5
R4
R1
+ +
v in v out
R2
− −
2. A v out = – R f ⁄ R in × v in = – 9 V
4. E All current flows through R and the voltage drop across it is 4 mA × 3 KΩ = 12 V . Since
this circuit is a unity gain amplifier, it follows that v out = 12 V also.
–6 V –6 V–4 V 1 4
i = -------------- + ---------------------------------------- = – 1 – --- = – --- mA
6 KΩ 18 KΩ + 12 KΩ 3 3
6. D The gain of each of the non-inverting op amps is 2. Thus, the output of the first op amp is
2 V and the output of the second is 4 V .
7. E By superposition, v out 1 due to v in1 acting alone is – 2 V and v out 2 due to v in2 acting alone is
8 V . Therefore, v out = – 2 + 8 = 6 V
8. B We assign node voltage v A as shown below and we replace the encircled port by its equiva-
lent. v in = 30 V . Then v out will be
10 KΩ
10 KΩ v 10 KΩ 20 KΩ
A
−
v in +
− + + v out
10 KΩ −
We now attach the remaining resistors and the entire equivalent circuit is shown below.
A
+ +
10 KΩ 10 KΩ
+ vA + v out
− 5 KΩ −
v in 30 V 2v A
− −
and thus v A = 30 ⁄ 6 = 5 V
Therefore,
v out = – 2v A = – 10V
NOTE: For this circuit, the magnitude of the voltage is less than the magnitude of the input
voltage. Therefore, this circuit is an attenuator, not an amplifier. Op amps are not
configured for attenuation. This circuit is presented just for instructional purposes.
A better and simpler attenuator is a voltage divider circuit.
9. C The voltage gain for this circuit is 4 KΩ ⁄ 4 KΩ = 1 and thus v out = – v in . The voltage v at
the minus (−) input of the op amp is zero as proved below.
4 KΩ 4 KΩ
v
−
v in + i
− + +
R in 2 KΩ
v out
2 KΩ −
1 KΩ
v – v in v – ( – v in )
- + ----------------------- = 0
--------------
4 4
or
v = 0
Then
v in
i = -------------
-
4 KΩ
and
v in
R in = ------------------------ = 4 KΩ
v in ⁄ 4 KΩ
10. A For this circuit, v X = – 10 V and thus 40v X = – 400 V . Then, i = – 400 ⁄ 10 = – 40 A
Problems
1.
v out1 = – ( 27 ⁄ 3 ) × 10 = – 90 mV
and thus
v in2 = v out1 = – 90 mV
Then
90
v out2 = ⎛ 1 + ------ ⎞ × ( – 90 ) = – 0.9 V
⎝ 10 ⎠
−
+
4 KΩ + i 5KΩ
60 mV +
+ v LOAD
3 KΩ 6 KΩ v1
−
5 KΩ
− −
3 KΩ || 6 KΩ = 2 KΩ
and by the voltage division expression
2 KΩ
v 1 = ---------------------------------- × 60 mV = 20 mV
4 KΩ + 2 KΩ
and since this is a unity gain amplifier, we get
v LOAD = v 1 = 20 mV
Then
v LOAD –3
20 mV 20 × 10 –6
- = ---------------- = ----------------------- = 4 × 10 A = 4 µA
i 5KΩ = ---------------
R LOAD 5 KΩ 5 × 10
3
3. By superposition
v out = v out1 + v out2 + v out3
where
Rf
v out1 = – ---------- v in1
v in2 = 0 R in1
v in3 = 0
We observe that the minus (−) is a virtual ground and thus there is no current flow in R in1 and
R in2 . Also,
Rf
v out2 = – ---------- v in2
v in1 = 0 R in2
v in3 = 0
and
Rf
v out3 = – ---------- ( – v in3 )
v in1 = 0 R in3
v in2 = 0
Then,
v in3 v in2 v in1 ⎞
v out = R f ⎛ ---------
- – ---------- – ----------
⎝R R in2 R in1 ⎠
in3
10 KΩ v − 50 KΩ
−
v+
+ +
20 KΩ
+ 40 mV v out
40 KΩ
− −
–3
6 - ⎛ 80 × 10 - ⎞ -------------------
1 - –6
-------------------
3⎝
---------------------- – v = 4 × 10
3 ⎠ 3 out
50 × 10 50 × 10
3
Multiplication by 50 × 10 yields
–3 3
2 × 80 × 10 × 50 × 10 - – v –6 3
----------------------------------------------------------
3 out = 4 × 10 × 50 × 10
50 × 10
or
v out = – 40 mV
5. We attach the 5 KΩ , 15 KΩ , and R LOAD resistors to the equivalent circuit as shown below. By
Thevenin’s theorem
×
a
5 KΩ
+
− 10v 15 KΩ
− + in
v in
2 KΩ
b
×
15 KΩ
v TH = v OC = v ab = ------------------------------------- ( – 10v in )
5 KΩ + 15 KΩ
or
v TH = – 7.5v in
Because the circuit contains a dependent source, we must compute the Thevenin resistance using
the relation R TH = v TH ⁄ i SC where i SC is found from the circuit below.
×
a
5 KΩ
− 10v 15 KΩ
+ in i SC
b
×
We observe that the short circuit shorts out the 15 KΩ and thus
– 10v in –3
- = – 2 × 10 v in
i SC = ---------------
5 KΩ
Then
– 7.5v in
R TH = -----------------------------
- = 3.75 KΩ
–3
– 2 × 10 v in
R TH = 3.75 KΩ
−
+ R LOAD
v TH
+ + ⎛⎜ 1 + -------
Rf ⎞ +
− - ⎟ v in v out
v in − ⎝ R in ⎠
−
⎛ Rf ⎞ 100
⎜ 1 + -------- ⎟ v 5KΩ = ⎛⎝ 1 + --------- ⎞⎠ v 5KΩ = 6v 5KΩ
⎝ R in ⎠ 20
Attaching the external resistors to the equivalent circuit above we get the circuit below.
84 KΩ
12 KΩ
×a
4 KΩ + +
+ v 5KΩ −
5 KΩ 6v 5KΩ
−
72 mV −
×b
To find the Thevenin equivalent at points a and b we disconnect the 5 KΩ resistor. When this is
done there is no current in the 4 KΩ and the circuit simplifies to the one shown below.
12 KΩ a 84 KΩ
+
+ v ab + 6v 5KΩ
− i −
−
72 mV
b
By KVL
( 12 KΩ + 84 KΩ )i + 6v 5KΩ = 72 mV
or
72 mV – 6v 5KΩ
i = --------------------------------------------
-
( 12 KΩ + 84 KΩ )
Also
72 mV – 6v 5KΩ
v TH = v ab = v 5KΩ = 72 mV – ( 12 KΩ )i = 72 mV – 12 KΩ ⎛ -------------------------------------⎞
⎝ 96 KΩ ⎠
3
= 72 mV – 9 mV + --- v 5KΩ
4
or
3
v 5KΩ – --- v 5KΩ = 63 mV
4
and thus
v TH = v ab = v 5KΩ = 252 mV
The Thevenin resistance is found from R TH = v OC ⁄ i SC where i SC is computed with the termi-
nals a and b shorted making v 5KΩ = 0 and the circuit is as shown on the left below. We also per-
form voltage-source to current-source transformation and we get the circuit on the right below.
12 KΩ
4 KΩ 12 KΩ
+ 4 KΩ
84 KΩ
− a a
84 KΩ
72 mV 6 µA
i SC b i SC b
Now
12 KΩ || 84 KΩ = 10.5 KΩ
and by the current division expression
10.5 KΩ 126
i SC = i ab = ------------------------------------------ × 6 µA = --------- µA
10.5 KΩ + 4 KΩ 29
Therefore,
v OC 252
R TH = --------
- = ------------------- = 58 KΩ
i SC 126 ⁄ 29
and the Thevenin equivalent circuit with the 5 KΩ resistor is shown below.
a
R TH = 12 KΩ
+
5 KΩ
−
v TH = 252 mV
b
Finally,
5
v 5KΩ = --------------- × 252 = 20 mV
58 + 5
7. We assign node voltages v 1 and v 2 as shown below and we write node equations observing that
v 2 = 0 (virtual ground).
R3
R2 40 KΩ 40 KΩ
R1 v R4 v
1 2
+ +
200 KΩ 50 KΩ
v in R5 v out
50 KΩ
− −
Node 1:
v 1 – v in v 1 – v out v 1 – 0 v1
- + -------------------- + ----------------- + ----------------
------------------- - = 0
200 KΩ 40 KΩ 50 KΩ 50 KΩ
or
1
⎛ ------------------- 1 1 1 v in v out
- + ----------------- + ----------------- + ----------------- ⎞ v = -------------------
- + ----------------
-
⎝ 200 KΩ 40 KΩ 50 KΩ 50 KΩ ⎠ 1 200 KΩ 40 KΩ
1 5
------ ( v in + 5v out ) = – --- v out
14 4
or
37 1
------ v out = – ------ v in
28 14
v out 2
G v = --------
- = – ------
v in 37
8. We assign node voltages v 1 and v 2 as shown below and we write node equations observing that
v 1 = 0 (virtual ground).
v2
R3 R5
R4
R1
+ v1 +
v in v out
R2
− −
Node 1:
0 – v in 0 – v 2
--------------- + -------------- = 0
R1 R3
or
R3
v 2 = – ------ v in
R1
Node 2:
v 2 – 0 v 2 v 2 – v out
-------------- + ------ + -------------------- = 0
R3 R4 R5
or
1
⎛ ----- 1 1 v out
- + ------ + ------ ⎞ v 2 = --------
-
⎝R R4 R5 ⎠ R5
3
or
1
v 2 = ------------------------------------------------ v out
R5 ⁄ R3 + R5 ⁄ R4 + 1
1 R
- v out = – -----3- v in
-----------------------------------------------
R5 ⁄ R3 + R5 ⁄ R4 + 1 R1
v out 1- R + R ⎛ R 5 ⎞
G v = --------- = – ----- 3 ⎝ ------ + 1⎠
v in R1 5 R4
NOTES
T
his chapter is an introduction to inductance and capacitance, their voltage-current relation-
ships, power absorbed, and energy stored in inductors and capacitors. Procedures for analyz-
ing circuits with inductors and capacitors are presented along with several examples.
5.2 Inductance
Inductance is associated with the magnetic field which is always present when there is an electric cur-
rent. Thus, when current flows in an electric circuit the conductors (wires) connecting the devices in
the circuit are surrounded by a magnetic field. Figure 5.1 shows a simple loop of wire and its mag-
netic field represented by the small loops.
The direction of the magnetic field (not shown) can be determined by the left-hand rule if conven-
tional current flow is assumed, or by the right-hand rule if electron current flow is assumed. The
magnetic field loops are circular in form and are referred to as lines of magnetic flux. The unit of mag-
netic flux is the weber (Wb).
In a loosely wound coil of wire such as the one shown in Figure 5.2, the current through the wound
coil produces a denser magnetic field and many of the magnetic lines link the coil several times.
v = d-----λ- (5.3)
dt
and from (5.2) and (5.3),
di
v = L ----- (5.4)
dt
Alternately, the inductance L is defined as the constant which relates the voltage across and the cur-
rent through a device called inductor by the relation of (5.4).
The symbol and the voltage-current* designations for the inductor are shown in Figure 5.3.
vL
+ −
`
iL L
* In the first four chapters we have used the subscript LOAD to denote a voltage across a load, a current through
a load, and the resistance of a such load as R LOAD to avoid confusion with the subscript L which henceforth will
denote inductance. We will continue using the subscript LOAD for any load connected to a circuit.
di L
v L = L ------- (5.5)
dt
where v L and i L have the indicated polarity and direction. Obviously, v L has a non-zero value only
when i L changes with time.
vL volts
L = ------
- = ---------------------- (5.6)
di L amperes
----------------------
dt sec onds
we can say that one henry is the inductance in a circuit in which a voltage of one volt is induced by a current
changing at the rate of one ampere per second.
By separation of the variables we rewrite (5.5) as
1
di L = --L- v L dt (5.7)
or
t
1
i L ( t ) – i L ( t 0 ) = ---
L ∫t 0
v L dt
or
t
1
iL ( t ) = --L- ∫ t0
v L dt + iL ( t0 ) (5.8)
where i L ( t 0 ) , more often denoted as i L ( 0 ) , is the current flowing through the inductor at some ref-
erence time usually taken as t = 0 , and it is referred to as the initial condition.
We can also express (5.8) as
t 0 t
1 1 1
i L ( t ) = ---
L ∫ –∞
v L dt = ---
L ∫ –∞
v L dt + ---
L ∫0 vL dt (5.9)
where the first integral on the right side represents the initial condition.
Example 5.1
The current i L ( t ) passing through a 50 mH inductor is shown in Figure 5.4.
iL ( t )
(mA)
25
20
15
10
5
3 8
0 t (ms)
6 10 12 14
−5
−10
−15
−20
m = – 20 – 25- = – 15
---------------------
3–0
and thus
3 ms
i t=0
= – 15 t + 25 (5.10)
Also,
10 ms
i t = 8 ms
= 7.5t – 70 (5.15)
Likewise,
12 ms
i t = 10 ms
= – 2.5 t + 30 (5.17)
b. Since
di L
v L = L -------
dt
to compute and sketch the voltage v L ( t ) for the time interval – ∞ < t < 14 ms , we only need to
differentiate, that is, compute the slope of the straight line segments for this interval. These were
found in part (a) as (5.10), (5.12), (5.14), (5.15), and (5.17). Then,
vL = L × slope = 0 (5.19)
–∞ < t < 0
–3 v-
vL = L × slope = 50 × 10 --------- × ( – 15 A ⁄ s ) = – 750 mV (5.20)
0 < t < 3 ms A⁄s
–3
vL = L × slope = 50 × 10 × ( 35 ⁄ 3 ) = 583.3 mV (5.21)
3 < t < 6 ms
–3
vL = L × slope = 50 × 10 × ( – 12.5 ) = – 625 mV (5.22)
6 < t < 8 ms
–3
vL = L × slope = 50 × 10 × 7.5 = 375 mV (5.23)
8 < t < 10 ms
–3
vL = L × slope = 50 × 10 × ( – 2.5 ) = – 125 mV (5.24)
10 < t < 12 ms
vL = L × slope = 0 (5.25)
12 < t < 14 ms
We now have all values given by (5.19) through (5.25) to sketch v L as a function of time. We can
do this easily with a spreadsheet such as Excel as shown in Figure 5.5.
t vL(t)
Voltage waveform for Example 5.1
-5.000 0 800
-4.950 0
-4.900 0 400
Voltage (mV)
-4.850 0
-4.800 0 0
t (ms)
-4.750 0
-4.700 0 -400
-4.650 0
-800
-4.600 0 0 2 4 6 8 10 12 14
-4.550 0
-4.500 0
Figure 5.5. Voltage waveform for Example 5.1
Example 5.2
The voltage across a 50 mH inductor is as shown on the waveform of Figure 5.6, and it is given that
the initial condition is i L ( t 0 ) = i L ( 0 ) = 25 mA . Compute and sketch the current which flows
through this inductor in the interval – 5 < t < 5 ms
vL ( t ) (V) 1.75 ⁄ 3
0.625
0.500
0.375
0.250
0.125
2 4 6 8 10 12 14
t (ms)
0
−0.125
−0.250
−0.375
−0.500
−0.625
−0.750
Solution:
The current i L ( t ) in an inductor is related to the voltage v L ( t ) by (5.8) which is repeated here for
convenience.
t
1
i L ( t ) = ---
L ∫t 0
v L dt + i L ( t 0 )
iL = 25 mA
–∞ < t < 0
–3
× 10 ⎞
= 20 ⎛ – 0.75t
3 –3 –3 –3
+ 25 × 10 = 20 ( – 2.25 × 10 ) + 20 × 0 + 25 × 10
⎝ 0 ⎠
–3 –3 –3
= – 45 × 10 + 25 × 10 = – 20 × 10 = – 20 mA
20
15
10
5
3
0 t (ms)
−5
−10
−15
−20
1 3 ms
iL = --- ( Area t = 0 ) + initial condition
t = 3 ms L
–3 –3
= 20 ( – 0.750 × 3 × 10 ) + 25 × 10 = – 20 mA
and the value of i L = – 20 mA now becomes our initial condition for the time interval
t = 3 ms
3 < t < 6 ms .
Continuing with graphical integration, we get
1 6 ms
iL = --- ( Area t = 3 ) + initial condition
t = 6 ms L
1.75
= 20 ⎛ ---------- × 3 × 10 ⎞ – 20 × 10 = 15 mA
–3 –3
⎝ 3 ⎠
and now the current has increased linearly from – 20 mA at t = 3 ms to 15 mA at t = 6 ms as
shown in Figure 5.8.
iL ( t )
(mA)
25
20
15
10
5
3
0 t (ms)
6
−5
−10
−15
−20
iL ( t ) (mA)
25
20
15
10
5
3 8
0 t (ms)
6
−5
−10
−15
−20
1 12 ms
iL = --- ( Area t = 10 ) + initial condition
t = 12 ms L
–3 –3
= 20 ( – 0.125 × 2 × 10 ) + 5 × 10 =0
iL ( t ) (mA)
25
20
15
10
5
3 8
0 t (ms)
6 10
−5
−10
−15
−20
iL ( t )
(mA)
25
20
15
10
5
3 8
0 t (ms)
6 10 12 14
−5
−10
−15
−20
Example 5.2 confirms the well known fact that the current through an inductor cannot change instanta-
neously. This can be observed from the voltage and current waveforms for this and the previous
example. We observe that the voltage across the inductor can change instantaneously as shown by
the discontinuities at t = 0, 3, 6, 8, 10, and 12 ms . However, the current through the inductor
never changes instantaneously, that is, it displays no discontinuities since its value is explicitly
defined at all instances of time.
di L di L
p L = v L i L = ⎛ L ⎞ i L = Li L (5.26)
⎝ dt ⎠ dt
and the energy in an inductor, designated as W L is the integral of the power, that is,
t t i ( t ) di L i(t)
WL
t0
=
t0
∫
p L dt = L
i ( t0 ) d t
∫
i L dt = L
i ( t0 )
i L di L ∫
or
i(t)
t 1 2 1
= --- L [ i L ( t ) – i L ( t 0 ) ]
2 2
WL = --- Li L
t0 2 i ( t0 )
2
or
1
W L ( t ) – W L ( t 0 ) = --- L [ i L ( t ) – i L ( t 0 ) ]
2 2
2
1 2
W L ( t ) = --- Li L ( t ) (5.27)
2
Unlike the resistor which dissipates energy (in the form of heat), the (ideal) inductor is a physical
device capable of storing energy in analogy to the potential energy of a stretched spring.
Electric circuits that contain inductors can be simplified if the applied voltage and current sources
are constant as shown by the following example.
Example 5.3
For the circuit shown in Figure 5.12, compute v 1 , v 2 , and v 3 , after steady-state*conditions have
been reached. Then, compute the power absorbed and the energy consumed by the 5 mH inductor.
Solution:
Since both the voltage and the current sources are constant, the voltages and the currents in all
branches of the circuit will be constant after steady-state conditions have been reached.
Since
di d
vL = L ------L- = L ( cons tan t ) = 0
dt dt
* By steady state conditions we mean the condition (state) where the voltages and currents, after some transient dis-
turbances, have subsided. Transients will be in Chapter 10.
`
6Ω 40 mH
`
25 mH 3Ω +
4Ω 5Ω 8Ω
9Ω + v2 −
+ v3
−
24 V
` 35 mH 15 A ` 5 mH
30 mH 20 mH
+ v1 − −
`
` `
12 Ω 10 Ω
`
60 mH 15 mH
then, all voltages across the inductors will be zero and therefore we can replace all inductors by
short circuits. The given circuit then reduces to the one shown in Figure 5.13 where the 3 Ω and
6 Ω parallel resistors have been combined into a single 2 Ω resistor.
vA 2 Ω vB
+ v2 − +
4Ω 5Ω 8Ω
9Ω
+ v3
−
24 V 15 A
+ v1 − −
Figure 5.13. Circuit for Example 5.3 after steady-state conditions have been reached
Now, in Figure 5.13, by inspection, v 1 = 0 since the 12 Ω resistor was shorted out by the 60 mH
inductor. To find v 2 and v 2 , let us first find v A and v B using nodal analysis.
At Node v A ,
v A – 24 v A v A – v B
----------------- + ----- + ----------------- = 0
4 9 5+2
or
⎛1 1
--- + 1
--- + 1 ---⎞ v – --- v = 6 (5.28)
⎝ 4 9 7⎠ A 7 B
At Node v B
vB – vA v
- – 15 + ----B- = 0
----------------
5+2 8
or
1 1 1
– --- v A + ⎛ --- + ---⎞ v B = 15 (5.29)
7 ⎝ 7 8⎠
We will use the MATLAB code below to find the solution of (5.28) and (5.29).
format rat % Express answers in rational form
G=[1/4+1/9+1/7 −1/7; −1/7 1/7+1/8]; I=[6 15]'; V=G\I;
disp('vA='); disp(V(1)); disp('vB='); disp(V(2))
vA=
360/11
vB=
808/11
Therefore,
v A = 360 ⁄ 11 V
v B = 808 ⁄ 11 V
v 2 = v A – v 2 = – 448 ⁄ 11 V
v 3 = v 2 = 808 ⁄ 11 V
and
p 5 mH = v 5 mH × i 5 mH = 0 × i 5 mH = 0
that is,
p 5 mH = 0 watts
Also,
1 2 1 v3 2 808 ⁄ 11 2
W 5 mH = --- Li 5 mH = --- L ⎛ ----- ⎞ = 0.5 × 5 × 10 × ⎛ -------------------⎞
–3
2 2 ⎝8⎠ ⎝ 8 ⎠
or
W 5 mH = 0.211 J
+ − + −
−
`
vS L1 L2 vS +
+
+
− i
`−L N
+
−
i `− L Seq
(a) (b)
Figure 5.14. Circuits for derivation of equivalent inductance for inductors in series
L Seq = L 1 + L 2 + … + L N (5.32)
iS + +
iS
i1 i2
v
`L `L `i N v
`
1 2 LN L Peq
− −
(a) (b)
Figure 5.15. Circuits for derivation of equivalent inductance for inductors in parallel
i1 + i2 + … + iN = iS
or
1- t 1 t 1 t
∫
----
L1 –∞
v dt + -----
L2 –∞ ∫
v dt + … + ------
LN –∞
v dt = i S ∫
or
1- + ----
⎛ ---- 1-⎞ t v dt = i
1- + … + -----
⎝L
1 L2 L N⎠ – ∞ S ∫ (5.33)
1 - = ----
---------- 1- + ----
1- + … + -----
1- (5.35)
L Peq L1 L2 LN
Example 5.4
For the network of Figure 5.16, replace all inductors by a single equivalent inductor.
`
35 mH 40 mH
L eq
` `
125 mH 120 mH
60 mH
`
45 mH 30 mH
` `
` `
90 mH 15 mH
Figure 5.16. Network for Example 5.4
Solution:
Starting at the right end of the network and moving towards the left end, we find that
60 mH || 120 mH = 40 mH , 30 mH || 15 mH = 10 mH , 40 mH + 35 mH = 75 mH , a n d a l s o
45 mH || 90 mH = 30 mH . The network then reduces to that shown in Figure 5.17.
`
75 mH
L eq
` 125 mH `
40 mH
`
30 mH 10 mH
Figure 5.17. First step in combination of inductances
Finally, with reference to Figure 5.17, ( 40 mH + 35 mH + 10 mH ) || 125 mH = 62.5 mH , and
L eq = 30 mH + 62.5 mH = 92.5 mH as shown in Figure 5.18.
L eq
` 92.5 mH
Figure 5.18. Network showing the equivalent inductance of Figure 5.16
5.5 Capacitance
In Section 5.2 we learned that inductance is associated with a magnetic field which is created when-
ever there is current flow. Similarly, capacitance is associated with an electric field. In a simple circuit we
can represent the entire capacitance with a device called capacitor, just as we considered the entire
inductance to be concentrated in a single inductor. A capacitor consists of two parallel metal plates
separated by an air space or by a sheet of some type of insulating material called the dielectric.
Now, let us consider the simple series circuit of Figure 5.19 where the device denoted as C , is the
standard symbol for a capacitor.
RS S
vS
C
+
−
When the switch S closes in the circuit of Figure 5.19, the voltage source will force electrons from
its negative terminal through the conductor to the lower plate of the capacitor and it will accumulate
negative charge. At the same time, electrons which were present in the upper plate of the capacitor will
move towards the positive terminal of the voltage source. This action leaves the upper plate of the
capacitor deficient in electrons and thus it becomes positively charged. Therefore, an electric field has
been established between the plates of the capacitor.
The distribution of the electric field set up in a capacitor is usually represented by lines of force sim-
ilar to the lines of force in a magnetic field. However, in an electric field the lines of force start at the
positive plate and terminate at the negative plate, whereas magnetic lines of force are always com-
plete loops.
Figure 5.20 shows the distribution of the electric field between the two plates of a capacitor.
+ + + + + +
− − − − − −
We observe that the electric field has an almost uniform density in the area directly between the
plates, but it decreases in density beyond the edges of the plates.
The charge q on the plates is directly proportional to the voltage between the plates and the capaci-
tance C is the constant of proportionality. Thus,
q = Cv (5.37)
and recalling that the current i is the rate of change of the charge q, we have the relation
dq d
i = ------ = ( Cv )
dt dt
or
dv C
i C = C --------- (5.38)
dt
iC amperes
C = -------
- = ---------------------- (5.39)
dv C volts
---------------------
dt sec onds
we can say that one farad is the capacitance in a circuit in which a current of one ampere flows when the volt-
age is changing at the rate of a one volt per second.
By separation of the variables we rewrite (5.38) as
1
dv C = ---- i C dt (5.40)
C
and integrating both sides we get:
vC ( t ) t
1
∫ vC ( t0 )
dv C = ----
C ∫t 0
i C dt
or
t
1
v C ( t ) – v C ( t 0 ) = ----
C ∫t 0
i C dt
or
t
1
v C ( t ) = ----
C ∫t 0
i C dt + v C ( t 0 ) (5.41)
where v C ( t 0 ) is the initial condition, that is, the voltage across a capacitor at some reference time
usually taken as t = 0 , and denoted as v C ( 0 ) .
Example 5.5
The waveform shown in Figure 5.21 represents the current flowing through a 1 µF capacitor.
Compute and sketch the voltage across this capacitor for the time interval 0 < t < 4 ms given that
the initial condition is v C ( 0 ) = 0 .
iC ( t )
(mA)
1.00
0.75
0.50
0.25
1 2 3 4
t (ms)
0
−0.25
−0.50
−0.75
−1.00
Next,
–3
1 1 × 10 vC ( 0 )
vC = ---- ∫0 i C dt +
⎧
⎨
t = 1 ms C ⎩
0
or
–3
1 1 -
= ---- ⎛ Area ⎞ = -------------------
1 × 10 –3 –3
vC ( 1 × 10 × 1 × 10 ) = 1 volt
t = 1 ms C⎝ t=0 ⎠
1 × 10
–6
and this value establishes the second point of the straight line segment passing through the origin as
shown in Figure 5.22.
vC ( t ) (V)
1.00
0.75
0.50
0.25
t (ms)
0
−0.25 1 2 3 4
−0.50
−0.75
−1.00
Figure 5.22. Straight line segment for 0 < t < 1 ms of the voltage waveform for Example 5.5
This value of 1 volt at t = 1 ms becomes our initial condition for the time interval 1 < t < 2 . Con-
tinuing, we get
–3
1
= ---- ⎛ Area ⎞ +1
1 × 10
vC
t = 2 ms C⎝ t=0 ⎠
1
- ( – 1 × 10 – 3 × ( 2 – 1 ) × 10 –3 ) + 1 = 0 volts
= -------------------
–6
1 × 10
Thus, the capacitor voltage then decreases linearly from 1 volt at t = 1 ms to 0 volts at t = 2 ms
as shown in Figure 5.23.
vC ( t )
(V)
1.00
0.75
0.50
0.25
0 t (ms)
−0.25 1 2 3 4
−0.50
−0.75
−1.00
Example 5.5 has illustrated the well known fact that the voltage across a capacitor cannot change instan-
taneously. Referring to the current and voltage waveforms for this example, we observe that the cur-
rent through the capacitor can change instantaneously as shown by the discontinuities at
t = 1, 2, 3, and 4 ms in Figure 5.21. However, the voltage across the capacitor never changes
instantaneously, that is, it displays no discontinuities since its value is explicitly defined at all instances
of time as shown in Figure 5.24.
dv C ⎞
pC = vC iC = vC ⎛ C
⎝ dt ⎠
and the energy in a capacitor, denoted as W C is the integral of the power, that is,
t v(t) dv C v(t)
∫t ∫ v(t ) ∫ v (t ) vC dvc
t
WC = p C dt = C vC dt = C
t0
0 0
dt 0
i(t)
1 2 1 2 2
= --- Cv c = --- C [ v c ( t ) – v c ( t 0 ) ]
2 i ( t0 )
2
or
1 2 2
W C ( t ) – W C ( t 0 ) = --- C [ v c ( t ) – v c ( t 0 ) ]
2
1 2
W C ( t ) = --- Cv C ( t ) (5.42)
2
It was stated earlier that the current through an inductor and the voltage across a capacitor cannot
change instantaneously. These facts can also be seen from the expressions of the energy in an induc-
tor and in a capacitor, equations (5.27) and (5.42) where we observe that if the current in an inductor
or the voltage across a capacitor could change instantaneously, then the energies W L and W C would
also change instantaneously but this is, of course, a physical impossibility.
Example 5.6
In the circuit of figure 5.25, the voltage and current sources are constant.
a. Compute i L1 and v C2
4Ω 2Ω C3 3 µF
30 mH
`
C1 L3
1 µF
R2 i L1 5Ω 15 A R7 5Ω
` 8Ω
L 1 40 mH R 4 R8
7Ω
C2
+
24 V
−
L2 R5 6 Ω
R6
v C2 +
−
2 µF
L4
L5
` 25 mH
`
`
60 mH 10 Ω 20 mH
R1 R3
4Ω 2Ω
R2 i L1 5Ω 15 A
R4 R8 8Ω
7Ω
+
v C2 +
R6
−
24 V R5 6 Ω −
10 Ω
We can simplify the circuit of figure 5.26 by first exchanging the 15 A current source and resistor
R 8 for a voltage source of 15 × 8 = 120 V in series with R 8 as shown in Figure 5.27. We also
combine the series-parallel resistors R 1 through R 4 . Thus, R eq = ( 4 + 2 ) || ( 7 + 5 ) = 4 Ω . But
now we observe that the branch in which the current i L1 flows has disappeared; however, this
presents no problem since we can apply the current division expression once i, shown in Figure
5.27, is found. The simplified circuit then is
R eq R8
i
4Ω 8Ω
R6 +
+ v C2 +
− i1 −
24 V i2 120 V
R5 6Ω −
10 Ω
20 – 6 i 1 = 24
– 6 14 i 2 – 120
Solution using MATLAB:
format rat; R=[20 −6; −6 14]; V=[24 −120]'; I=R\V; disp(‘i1=’); disp(I(1)); disp(‘i2=’); disp(I(2))
i1=
-96/61
i2=
-564/61
Therefore, with reference to the circuit of Figure 5.28
R1 R3
4Ω 2Ω
R2 i L1 5Ω 15 A
R4 R8 8Ω
7Ω
+ R6 + v
− C2
24 V −
R5 10 Ω 6Ω
(4 + 2)
------⎞ = – 32
i L1 = ---------------------------------------- × ⎛ – 96 ------ = – 0.525 A
( 4 + 2 ) + ( 7 + 5 ) ⎝ 61⎠ 61
and
96 564 2808
v C2 = 6 ⎛ – ------ + --------- ⎞ = ------------ = 46.03 V
⎝ 61 61 ⎠ 61
b.
p 2 µF = v 2 µF × i 2 µF = v C2 × 0 = 0
and
1 2 2808 2
W 2 µF = --- Cv 2 µF = 0.5 × 2 × 10 × ⎛ ------------⎞ = 2 mJ
–6
2 ⎝ 61 ⎠
+ − + −
vS C1 C2 vS
+ + + +
CN C Seq
− i − − i −
(a) (b)
Figure 5.29. Circuits for derivation of equivalent capacitance for capacitors in series
From the circuit of Figure 5.29 (a),
v C1 + v C2 + … + v CN = v S
or
t t t
1 1 1
------
C1 ∫ –∞
i dt + ------
C2 ∫ –∞
i dt + … + -------
CN ∫–∞ i dt = vS
or
t
1
⎛ ----- 1 1
- + ------ + … + ------- ⎞ ∫– ∞ i d t = vS (5.43)
⎝C C C ⎠
1 2 N
t
1-
----------
C Seq ∫–∞ i dt = vS (5.44)
1 1 1 1
----------- = ------ + ------ + … + ------- (5.45)
C Seq C1 C2 CN
iS
+ +
i1 i2 iN
v v
C1 C2 CN C Peq
iS
− −
(a) (b)
Figure 5.30. Circuits for derivation of equivalent capacitance for capacitors in parallel
From the circuit of Figure 5.30 (a),
i1 + i2 + … + iN = iS
or
dv dv dv
C 1 ------ + C 2 ------ + … + C N ------ = i S
dt dt dt
or
dv
( C 1 + C 2 + … + C N ) ------ = i S (5.47)
dt
From the circuit of Figure 5.30 (b),
dv
C Peq ------ = i S (5.48)
dt
Equating the left sides of (5.47) and (5.48) we get:
C Peq = C 1 + C 2 + … + C N (5.49)
Example 5.7
For the network of Figure 5.31, replace all capacitors by a single equivalent capacitor.
15 µF 30 µF
C eq
560 1 µF 3 µF
--------- µF
31
8 µF 2 µF
12 µF 4 µF
C eq 10 µF
560
--------- µF 4 µF
31
6 µF
20 µF
C eq 20 µF
Example 5.8
Write nodal and mesh equations for the circuit shown in Figure 5.34.
`
R1 L
C
+ R2
−
v S1 −
v S2 +
v1 v2 v3
`
R1 L
C
+ v4
R2
−
v S1 −
v S2 +
v0
At Node 3:
t v3
1
---
L ∫–∞ ( v3 – v2 ) dt + -----
R2
- = 0
At Node 4:
v 4 = – v S2
Mesh Analysis:
We need M = B – 1 = 6 – 5 + 1 = 2 mesh equations. Thus, we assign currents i 1 and i 2 as
shown in Figure 5.36.
`
R1 L
C
+ R2
−
v S1 − i1
i2
v S2 +
For Mesh 2:
t
d 1
L ----- i 2 + R 2 i 2 + v S2 + ----
dt C ∫– ∞ ( i 2 – i 1 ) d t = 0
In both the nodal and mesh equations, the initial conditions are included in the limits of integration.
Alternately, we can add the initial condition terms and replace the lower limit of integration – ∞ with
zero in the integrodifferential equations above.
5.9 Summary
• Inductance is associated with a magnetic field which is created whenever there is current flow.
• The magnetic field loops are circular in form and are called lines of magnetic flux. The unit of
magnetic flux is the weber (Wb).
• The magnetic flux is denoted as ϕ and, if there are N turns and we assume that the flux ϕ passes
through each turn, the total flux, denoted as λ , is called flux linkage. Then, λ = N ϕ
2
• The energy stored in an inductor is W L ( t ) = ( 1 ⁄ 2 )Li L ( t )
5.10 Exercises
Multiple Choice
1. The unit of inductance is the
A. Farad
B. Ohm
C. mH
D. Weber
E. None of the above
2. The unit of capacitance is the
A. µF
B. Ohm
C. Farad
D. Coulomb
E. None of the above
3. Faraday’s law of electromagnetic induction states that
A. λ = Nϕ
B. λ = Li
C. v = L ( di ⁄ dt )
D. v = dλ ⁄ dt
E. None of the above
4. In an electric field of a capacitor, the lines of force
A. are complete loops
B. start at the positive plate and end at the negative plate
C. start at the negative plate and end at the positive plate
D. are unpredictable
E. None of the above
iL
iS 5 A
5Ω
` 5 mH
Figure 5.37. Circuit for Question 9
A. 0 A
B. ∞ A
C. 2.5 A
D. 5 A
E. None of the above
10. In the circuit of Figure 5.38 after steady-state conditions have been established, the voltage v C
across the capacitor will be
+ −
C 2 µF R
+ 5Ω
vS −
10 V
Problems
1. The current i L flowing through a 10 mH inductor is shown by the waveform of Figure 5.39.
a. Compute and sketch the voltage v L across this inductor for t > 0
b. Compute the first time after t = 0 when the power p L absorbed by this inductor is
p L = 50 µw Answer: t = 5 ms
c. Compute the first time after t = 0 when the power p L absorbed by this inductor is
p L = – 50 µw Answer: t = 25 ms
iL (mA)
10
40 50
t (ms)
0 10 20 30 60
−10
a. Compute and sketch the voltage v C across this capacitor for t > 0
b. Compute the first time after t = 0 when the power p C absorbed by this capacitor is
p C = 5 mw . Answer: 7.85 ms
c. Compute the first time after t = 0 when the power p C absorbed by this capacitor is
p C = – 5 mw . Answer: 23.56 ms
3. For the network of Figure 5.40, compute the total energy stored in the series combination of the
resistor, capacitor, and inductor at t = 10 ms if:
– 100t
a. i ( t ) = 0.1e mA and it is known that v C ( 0 ) = – 10 V . Answer: 3.4 mJ
vC ( t )
+ −
`
i(t) R L C
5Ω 0.4 mH 100 µF
4. For the circuit of Figure 5.41, compute the energy stored in the 5 mH inductor at t = 1 s given
that i ( 0 ) = 0 . Answer: 1 mJ
i(t )
`
5 mH 3 mH
+
−
v S ( t ) 10e – t mV ` 10 mH ` 7 mH
Figure 5.41. Circuit for Problem 4
5. For the circuit of Figure 5.42, replace all capacitors with an equivalent capacitance C eq and then
compute the energy stored in C eq at t = 1 ms given that v C ( 0 ) = 0 in all capacitors.
Answer: 10 pJ
10 µF 3 µF
6 µF
iS ( t ) 10 µA 8 µF
C1 R2
+
− C2
vS ( t ) R1
`L
Figure 5.43. Circuit for Problem 6
7. Write mesh equations for the circuit of Figure 5.44.
C1
+
R1
`L 1
`
− L2
vS ( t ) R2
C2
need to compute the slope of each segment of the given waveform and multiply it by L .
∆i L –3
10 ms – 3 10 × 10 A
vL = L × slope = L -------- = 10 × 10 × ---------------------------- = 10 mV
0 ∆t 10 × 10 s
– 3
Likewise,
20 ms
vL = L × slope = L × 0 = 0 mV
10
–3
40 ms –3 [ – 10 – ( 10 ) ] × 10 A
vL = L × slope = 10 × 10 × --------------------------------------------------
–3
- = – 10 mV
20
( 40 – 20 ) × 10 s
50 ms
vL = L × slope = L × 0 = 0 mV
40
–3
10 ms –3 [ 0 – ( – 10 ) ] × 10 A
vL = L × slope = 10 × 10 × --------------------------------------------------
–3
= 10 mV
0
( 60 – 50 ) × 10 s
iL (mA)
10
10 mH 40 50
t (ms)
0 20
`
10 30 60
iL ( t )
−10
vL (mV)
10
+ −
`
t (ms)
vL ( t ) 0 10 20 30 40 50 60
−10
pL ( µ w )
100
A
pL = vL iL 20
30 40 t (ms)
0 10 50 60
B
−100
b. From the power waveform above, we observe that p L = v L i L = 50 µw occurs for the first
time at point A where t = 5 ms
c. From the power waveform above, we observe that p L = v L i L = – 50 µw occurs for the first
time at point A where t = 25 ms
–6
2. a. For this problem C = 1 µF = 10 F and the current i C is a sinusoid given as
i C ( t ) = cos 100t mA as shown below. The voltage v C ( t ) across this capacitor is found from
t t
1 –3
∫0 ∫0 ( 10
6
v C ( t ) = ---- i C dτ + v C ( 0 ) = 10 ) cos 100τ dτ + 0
C
3 t
t
10
∫0
3
= 10 cos 100τ dτ = --------- sin 100τ = 10 sin 100t
100 0
iC ( t )
cos 100t
( mA )
t (s)
vC ( t )
(V)
10 10 sin 100t
π π
--------- ------
100 50
– 10
T
2π
Now, ωT = 2π or ω = 2π ⁄ T . Then, 10 sin ------ t = 10 sin 100t or 2π ⁄ T = 100 and
T
T = 2π ⁄ 100 or T = π ⁄ 50
b. Since v C ( t ) is a sine function and i C ( t ) a cosine function, the first time after zero that their
product will be positive is in the interval 0 < t < π ⁄ 200 where we want p C = v C i C = 5 mw or
–3 –3
p C = ( 10 sin 100t ) ( 10 cos 100t ) = 5 × 10 w
or
p C = ( 10 sin 100t ) ( cos 100t ) = 5 w
Recalling that
c. The time where p C = – 5 mw will occur for the first time is 7.85 ms after t = π ⁄ 200 s or
after t = 1000π ⁄ 200 ms = 5π ms . Therefore, p C = – 5 mw will occur for the first time at
t = 7.85 + 5π = 7.85 + 15.71 = 23.56 ms
3. a. There is no energy stored in the resistor; it is dissipated in the form of heat. Thus, the total
energy is stored in the capacitor and the inductor, that is,
1 2 1 2
W T = W L + W C = --- Li L + --- Cv C
2 2
where
– 100t
i L = i ( t ) = 0.1e
and
t t
1 – 100τ
∫0 ∫0 0.1e
4
v C ( t ) = ---- i C dτ + v C ( 0 ) = 10 dτ – 10
C
4 t
10 × 0.1 – 100τ – 100τ 0 – 100t
= ---------------------- e – 10 = 10e = 10 – 10e – 10
– 100 0
t
or
– 100t
v C ( t ) = – 10e
Then,
1 –3 – 100t 2 1 –4 – 100t 2
WT = --- × 0.4 × 10 × ( 0.1e ) + --- × 10 × ( – 10e )
t = 10 ms 2 2
–4 –1 2 –1 2
= 2.5 × 10 [ ( 0.1e ) + ( – 10e ) ] = 3.4 mJ
i L = i ( t ) = 0.5 cos 5t mA
and
t t
1 –4
∫0 ∫0 5 cos 5τ dτ + 0
4
v C ( t ) = ---- i C dτ + v C ( 0 ) = 10 × 10
C
t
= sin 5τ 0
= sin 5t
Then,
1 –4 2 1 –4 2
W T = W L + W C = --- × 0.4 × 10 × ( 0.5 cos 5t ) + --- × 10 × ( sin 5t )
2 2
2 2
–4 cos 5 t + sin 5 t
= 0.5 × 10 = 0.05 mJ = 50 µJ
⎧
⎪
⎪
⎨
⎪
⎪
⎩
1
iL ( t )
+
v S ( t ) 10e
−
–t
mV
` 10 mH
The current i L ( t ) is
t t
1 1 - –3 –τ –τ t –τ 0 –t
i L ( t ) = ---
L ∫0 v S dτ + i L ( 0 ) = ----------------------
10 × 10
–3
× 10 × 10 ∫0 e dτ = – e 0
=e t
= 1–e
Then,
1 –3 –t 2 –3 –1 2
W 5 mH = --- × 5 × 10 ( 1 – e ) t=1 s
= 2.5 × 10 × ( 1 – e ) ≈ 1 mJ
t=1 s 2
v1
C1 R2
+ v2 v3
− C2
vS ( t ) R1
`L
Then,
v1 = vS
d d v
C 1 ----- ( v 2 – v 1 ) + C 2 ----- ( v 2 – v 3 ) + -----2- = 0
dt dt R1
v3 – v1 t
d 1
- + C 2 ----- ( v 3 – v 2 ) + ---
---------------
R2 dt L ∫–∞ v3 dτ = 0
C1
`
R1 L1
i2
+
`
− L2
vS ( t ) i1 R2
C2
i3
Then,
t t
1- 1
-----
C1 ∫ –∞
i 1 dτ + R 1 ( i 1 – i 2 ) + ------
C 2
∫– ∞ ( i 1 – i 3 ) d τ = vS
di 2 d
R 1 ( i 2 – i 1 ) + L 1 ------- + L 2 ----- ( i 2 – i 3 ) = 0
dt dt
t
1 d
------
C2 ∫–∞ ( i3 – i1 ) dτ + L2 ----
- ( i – i ) + R2 i3
dt 3 2
= 0
NOTES
T
his chapter is an introduction to circuits in which the applied voltage or current are sinusoidal.
The time and frequency domains are defined and phasor relationships are developed for resis-
tive, inductive and capacitive circuits. Reactance, susceptance, impedance and admittance are
also defined. It is assumed that the reader is familiar with sinusoids and complex numbers. If not, it
is strongly recommended that Appendix B is reviewed thoroughly before reading this chapter.
Example 6.1
For the circuit shown in Figure 6.1, derive an expression for v C ( t ) in terms of V p , R , C , and ω
where the subscript p is used to denote the peak or maximum value of a time varying function, and the
sine symbol inside the circle denotes that the excitation is a sinusoidal function.
R
C
+
i( t) − vC ( t )
v S = V p cos ωt
where
v R = Ri = Ri C
and
dv C
i C = C ---------
dt
Then,
dv C
v R = RC ---------
dt
and by substitution into (6.1) we get
dv C
RC --------- + v C = v S = V p cos ωt (6.2)
dt
where the amplitude A and phase angle θ are constants to be determined from the circuit parame-
ters of V p , R , C , and ω . Substitution of (6.3) into (6.2) yields
we rewrite (6.4) as
– AωRC sin ωt cos θ – AωRC cos ωt sin θ + A cos ωt cos θ – A sin ωt sin θ = V p cos ωt
Collecting sine and cosine terms, equating like terms and, after some more tedious work, solving for
amplitude A and phase angle θ we get:
Vp
–1
v C ( t ) = --------------------------------- cos ( ωt – tan ( ωRC ) ) (6.5)
2
1 + ( ωRC )
Obviously, analyzing circuits with sinusoidal excitations when they contain capacitors and/or induc-
tors, using the above procedure is impractical. We will see on the next section that the complex excita-
tion function greatly simplifies the procedure of analyzing such circuits. Complex numbers are dis-
cussed in Appendix B.
The complex excitation function does not imply complexity of a circuit; it just entails the use of
complex numbers. We should remember also that when we say that the imaginary part of a complex
number is some value, there is nothing “imaginary” about this value. In other words, the imaginary
part is just as “real” as the real part of the complex number but it is defined on a different axis. Thus
we display the real part of a complex function on the axis of the reals (usually the x-axis), and the
imaginary part on the imaginary axis or the y-axis.
i LOAD ( t )
Excitation Linear Network +
Consisting of
v LOAD ( t )
LOAD
Resistors,
vS ( t ) Inductors and
Capacitors −
jωt
A cos ω t + jA sin ω t = Ae (6.6)
and therefore, the real component is the response due to cos ω t and the imaginary component is the
response to sin ω t We will use Example 6.2 to illustrate the ease by which we can obtain the
response of a circuit, which is excited by a sinusoidal source, using the complex function
jωt
Ae approach. In this text, we will represent all sinusoidal variations in terms of the cosine func-
tion.
Example 6.2
Repeat Example 6.1, that is, find the capacitor voltage v C ( t ) for the circuit of Figure 6.3 using the
complex excitation method.
R
C
+
i( t) − vC ( t )
v S = V p cos ωt
* Some textbooks denote the voltage across and the current through the load as v L and i L respectively. As we stated
previously, in this text, we use the v LOAD and i LOAD notations to avoid confusion with the voltage v L across and
the current i L through an inductor.
† This topic is also discussed in Circuit Analysis II with MATLAB® Applications by this author
Solution:
Since
jωt
cos ωt = Re { e }
we let the excitation be
jωt
vS ( t ) = Vp e
The last expression above shows that radian frequency ω is the same for the response as it is for the
excitation; therefore we only need to be concerned with the magnitude and the phase angle of the
response. Accordingly, we can eliminate the radian frequency ω by dividing both sides of that
jωt
expression by e and thus the input-output (excitation-response) relation reduces to
jϕ
( jωRC + 1 )V C e = Vp
from which
jϕ Vp Vp Vp –1
– j [ tan ( ωRC ) ]
VC e = ----------------------
- = ---------------------------------------------------------------
- = -------------------------------- e
j ω RC + 1 2 2 2 j [ tan ( ωRC ) ]
–1
2 2 2
1+ω R C e 1+ω R C
This expression above shows the response as a function of the maximum value of the excitation, its
radian frequency and the circuit constants R and C .
jωt
If we wish to express the response in complete form, we simply multiply both sides by e and
we get
j ( ωt + ϕ ) Vp –1
j [ ωt – tan ( ωRC ) ]
VC e = --------------------------------- e
2 2 2
1+ω R C
Finally, since the excitation is the real part of the complex excitation, we use Euler’s identity on both
Example 6.3
Transform the sinusoid v ( t ) = 10 sin ( 100t – 60° ) to its equivalent jω – domain expression.
Solution:
For this example, we have
v ( t ) = 10 sin ( 100t – 60° ) = 10 cos ( 100t – 60° – 90° )
or
°
⎧ j ( 100t – 150 ) ⎫
v ( t ) = 10 cos ( 100t – 150° ) = Re ⎨ 10e ⎬
⎩ ⎭
Since the jω – domain contains only the amplitude and phase, we extract these from the bracketed
term on the right side of the above expression, and we get the phasor V as
°
– j150
V = 10e = 10 ∠– 150°
Example 6.4
Transform the phasor I = 120 ∠– 90° to its equivalent time-domain expression.
Solution:
First, we express the given phasor in exponential form, that is,
°
– j90
I = 120 ∠– 90° = 120e
Next, adding the radian frequency ω multiplied by t to the exponent of the above expression we
get
°
j ( ωt – 90 )
i ( t ) = 120e
°
⎧ j ( ωt – 90 ) ⎫
i ( t ) = Re ⎨ 120e ⎬ = 120 cos ( ω t – 90° ) = 120 sin ω t
⎩ ⎭
We can add, subtract, multiply and divide sinusoids of the same frequency using phasors as illus-
trated by the following example.
Example 6.5
It is given that i 1 ( t ) = 10 cos ( 120 π t + 45° ) and i 2 ( t ) = 5 sin ( 120 π t – 45 ° ) . Compute the sum
i ( t ) = i1 ( t ) + i2 ( t ) .
Solution:
As a first step, we express i 2 ( t ) as a cosine function, that is,
Next, we perform the t – domain to jω – domain transformation and we obtain the phasors
I 1 = 10 ∠45° and I 2 = 5 ∠– 135 °
and by addition,
2 2 2 2
I = I 1 + I 2 = 10 ∠45° + 5 ∠– 135 ° = 10 ⎛⎝ ------- + j -------⎞⎠ + 5 ⎛⎝ – ------- – j -------⎞⎠
2 2 2 2
or
2
I = 5 ⎛⎝ ------2- + j -------⎞⎠ = 5 ∠45°
2 2
and finally transforming the phasor I into the t – domain , we get
i ( t ) = 5 cos ( 120 π t + 45° )
Also, for brevity, in our subsequent discussion we will designate resistive, inductive and capacitive
circuits as R , L , and C respectively.
Consider circuit 6.4 (a) below where the load is purely resistive. We know from Ohm’s law that
v R ( t ) = Ri R ( t ) where the resistance R is a constant. We will show that this relationship also holds
for the phasors V R and I R shown in circuit 6.4 (b), that is, we will prove that
V R = RI R
Proof:
In circuit 6.4 (a) we let v R ( t ) be a complex voltage, that is,
vS ( t ) + VS +
iR ( t ) vR ( t ) IR
`
VR
`
− −
v R ( t ) = Ri R ( t ) = V p cos ( ω t + θ ) V R = RI R
( a ) t – domain network ( b ) jω – domain ( phasor ) network
j ( ωt + φ )
Vp e = V p cos ( ω t + φ ) + jV p sin ( ω t + φ ) (6.10)
and since R is a constant, it will produce a current of the same frequency ω and the same phase φ *
whose form will be
j ( ωt + φ )
Ip e = I p cos ( ω t + φ ) + jI p sin ( ω t + φ )
and by Ohm’s law,
j ( ωt + φ ) j ( ωt + φ )
Vp e = RI p e (6.11)
Since the phasor current I is in-phase with the voltage V (both I and V have the same phase φ ), we
let
V p ∠φ = V R and I p ∠φ = I R
and it follows that
V R = RI R (6.12)
Therefore, the phasor V and I relationship in resistors, obeys Ohm’s law also, and the current
through a resistor is always in−phase with the voltage across that resistor.
Example 6.6
For the network of Figure 6.5, find i R ( t ) when v R ( t ) = 40 sin ( 377t – 75° ) .
* The phase will be the same since neither differentiation nor integration is performed here.
vS ( t ) +
iR ( t ) vR ( t )
`
−
R=5Ω
v R ( t ) = 40 sin ( 377t – 75° )
⎧
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎩
jω – domain t – domain
Alternately, since the resistance R is a constant, we can compute i R ( t ) directly from the t – domain
expression for v R ( t ) , that is,
vS ( t ) + VS +
iL ( t ) vL ( t )
`− IL
`−V
`
di L V L = j ω LI L
v L ( t ) = L -------
dt
( a ) t – domain network ( b ) jω – domain ( phasor ) network
We will prove that the relationship between the phasors V L and I L shown in circuit 6.6 (b) is
V L = j ω LI L (6.13)
Proof:
In circuit 6.6 (a) we let v L ( t ) be a complex voltage, that is,
j ( ωt + φ )
Vp e = V p cos ( ω t + φ ) + jV p sin ( ω t + φ ) (6.14)
and recalling that if x ( t ) = sin ( ωt + φ ) then dx ⁄ dt = ω cos ( ωt + φ ) , that is, differentiation (or inte-
gration) does not change the radian frequency ω or the phase angle φ , the current through the
inductor will have the form
j ( ωt + φ )
Ip e = I p cos ( ω t + φ ) + jI p sin ( ω t + φ ) (6.15)
and since
di L
v L ( t ) = L -------
dt
then,
j ( ωt + φ ) d j ( ωt + φ ) j ( ωt + φ )
Vp e = L ----- ( I p e ) = jωLI p e (6.16)
dt
V L = j ω LI L (6.17)
The presence of the j operator in (6.17) indicates that the voltage across an inductor leads the cur-
rent through it by 90° .
Example 6.7
For the network of Figure 6.7, find i L ( t ) when v L ( t ) = 40 sin ( 2t – 75° ) .
Solution:
We first perform the t – domain to jω – domain i.e., v L ( t ) ⇔ V L transformation as follows:
vS ( t ) +
vL ( t )
iL ( t )
`−
`
L = 5 mH
v L ( t ) = 40 sin ( 2t – 75° )
⎧
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎩
jω – domain t – domain
vS ( t ) + VS +
vC ( t )
iC ( t ) IC
`
VC
`
− −
dv C I C = j ω CV C
i C ( t ) = C ---------
dt
( a ) t – domain network ( b ) jω – domain ( phasor ) network
We will prove that the relationship between the phasors V C and I C shown in the network of Figure
6.8 (b) is
I C = jωCV C (6.18)
Proof:
In circuit 6.8 (a) we let v C ( t ) be a complex voltage, that is,
j ( ωt + φ )
Vp e = V p cos ( ω t + φ ) + jV p sin ( ω t + φ )
then the current through the capacitor will have the form
j ( ωt + φ )
Ip e = I p cos ( ω t + φ ) + jI p sin ( ω t + φ )
and since
dv
i C ( t ) = --------C-
dt
then
j ( ωt + φ ) d j ( ωt + φ ) j ( ωt + φ )
Ip e = C ----- ( V p e ) = j ω CV p e (6.19)
dt
I C = j ω CV C (6.20)
The presence of the j operator in (6.26) indicates that the current through a capacitor leads the volt-
age across it by 90° .
Example 6.8
For the circuit shown below, find i C ( t ) when v C ( t ) = 170 cos ( 60 π t – 45° ) .
vS ( t ) +
vC ( t )
iC ( t )
`
−
C=106 nF
v C ( t ) = 170 cos ( 60 π t – 45° )
⎧
⎪
⎪
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎪
⎪
⎩
jω – domain t – domain
6.5 Impedance
Consider the t – domain circuit in Figure 6.10 (a) and its equivalent phasor circuit shown in Figure
6.10 (b).
L R L
R
`
−
`
vS ( t ) + v (t) − + v (t) − C V + −+ VL
R L + v (t) S VR C +
C VC
− −
i (t) I
vR ( t ) + vL ( t ) + vC ( t ) = vS ( t ) VR + VL + VC = VS
di 1 t 1
Ri ( t ) + L ----- + ---- ∫ i dt = v S ( t ) RI + jωLI + ---------- I = V S
dt C – ∞ jωC
⎧
⎪
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎪
⎩
⎧
⎪
⎪
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎪
⎪
⎩
Figure 6.10. The t – domain and jω – domain relationships in a series RLC circuit
1 -⎞ I = V
⎛ R + jωL + ---------
⎝ jωC⎠ S
and dividing both sides of (6.26) by I we obtain the impedance which, by definition, is
Phasor Voltage V 1
Impedance = Z = --------------------------------------- = ------S = R + jωL + ---------- (6.21)
Phasor Current I jωC
1 -⎞
Z = R + j ⎛ ω L – ------- (6.22)
⎝ ω C⎠
1 2 –1 1 ⎞
R + ⎛ ω L – --------⎞ ∠ tan ⎛ ω L – -------
2
Z = - ⁄R (6.23)
⎝ ω C⎠ ⎝ ωC ⎠
We must remember that the impedance is not a phasor; it is a complex quantity whose real part is the
resistance R and the imaginary part is ω L – 1 ⁄ ω C , that is,
1
Re { Z } = R and Im { Z } = ω L – -------- (6.24)
ωC
The imaginary part of the impedance Z is called reactance and it is denoted with the letter X . The
two components of reactance are the inductive reactance X L and the capacitive reactance X C , i.e.,
X = X L + X C = ωL – 1 ⁄ ω C (6.25)
XL = ω L (6.26)
XC = 1 ⁄ ω C (6.27)
The unit of the inductive and capacitive reactances is also the Ohm (Ω).
2 2 –1
Z = R + jX = R + j ( X L – X C ) = R + ( X L – X C ) ∠ tan [ ( X L – X C ) ⁄ R ] (6.28)
By a procedure similar to that of Chapter 2, we can show that impedances combine as resistances do.
Example 6.9
For the circuit below, find the current i ( t ) given that v S ( t ) = 100 cos ( 100t – 30° ) .
L
R
`
vS ( t ) + 5Ω − + −
100 mH C +
−
i (t)
100 µF
Also,
V S = 100 ∠– 30°
VS 5Ω j10 Ω C +
−
I −j100 Ω
2 2 –1
Z = 5 + j10 – j100 = 5 – j90 = 5 + 90 ∠ tan ( – 90 ⁄ 5 ) = 90.14 ∠– 86.82°
and
V 100 ∠– 30°
I = ------S = ------------------------------------- = 1.11 ∠[ – 30° – ( – 86.82° ) ]
Z 90.14 ∠– 86.82°
Therefore,
I = 1.11 ∠56.82° ⇔ i ( t ) = 1.11 cos ( 100t + 56.82 )
6.6 Admittance
Consider the t – domain circuit in Figure 6.13 (a) and its equivalent phasor circuit shown in Figure
6.13 (b).
+ R L C + R L C
iS ( t )
v (t)
`i ( t ) iC ( t )
V
IR
`
− LiR ( t ) IS
−
IL IC
( a ) t – domain network ( b ) jω – domain ( phasor ) network
i G ( t ) = Gv ( t ) I G = GV
dv I C = jωCV
i C ( t ) = C ------
dt
1
1 t I L = --------- V
i L ( t ) = --- ∫ v dt jωL
L –∞
iG ( t ) + iL ( t ) + iC ( t ) = iS ( t ) IR + IL + IC = IS
dv 1 t 1
Gv ( t ) + C ------ + --- ∫ v dt = i S ( t ) GV + jωCV + --------- V = I S
dt L – ∞ jωL
⎧
⎪
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎪
⎩
⎧
⎪
⎪
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎪
⎪
⎩
Figure 6.13. The t – domain and jω – domain relationships in a parallel RLC circuit
1 + jωC⎞ V = I
⎛ G + --------- (6.29)
⎝ jωL ⎠ S
Dividing both sides of (6.29) by V , we obtain the admittance, that is, by definition
Phasor Current I 1 1
Admit tan ce = Y = --------------------------------------- = ----S- = G + --------- + jωC = --- (6.30)
Phasor Voltage V jωL Z
Here we observe that the admittance Y is the reciprocal of the impedance Z as conductance G is
the reciprocal of the resistance R .
–1
Like conductance, the unit of admittance is the siemens or mho ( Ω ) .
As with the impedance Z , we can express the admittance Y as the sum of a real component and an
imaginary component as follows:
1 -⎞
Y = G + j ⎛ ω C – ------ (6.31)
⎝ ω L⎠
2 –1
1 1⎞
G + ⎛ ω C – -------⎞ ∠ tan ⎛ ω C – ------
2
Y = - ⁄G (6.32)
⎝ ω L⎠ ⎝ ω L⎠
Like the impedance Z , the admittance Y it is not a phasor; it is a complex quantity whose real part is the
1
- , that is,
conductance G and the imaginary part is ω C – ------
ωL
1
Re { Y } = G and Im { Y } = ωC – ------- (6.33)
ωL
The imaginary part of the admittance Y is called susceptance and it is denoted with the letter B . The
two components of susceptance are the capacitive susceptance B C and the inductive susceptance B L , that is,
B = BC + BL = ω C – 1 ⁄ ω L (6.34)
BC = ω C (6.35)
BL = 1 ⁄ ω L (6.36)
–1
The unit of the susceptances B C and B L is also the siemens ( Ω ) .
2 2 –1
Y = G + jB = G + j ( B C – B L ) = G + ( B C – B L ) ∠ tan [ ( B C – B L ) ⁄ G ] (6.37)
By a procedure similar to that of Chapter 2, we can show that admittances combine as conductances
do.
Duality is a term meaning that there is a similarity in which some quantities are related to others.
The dual quantities we have encountered thus far are listed in Table 6.1.
Example 6.10
Consider the series and parallel networks shown in Figure 6.14. How should their real and imaginary
terms be related so that they will be equivalent?
`
R L
`L
C G
Z Y C
R -
G = ------------------ and –X -
B = ------------------ (6.38)
2 2 2 2
R +X R +X
Relation (6.38) is worth memorizing.
Example 6.11
Compute Z and Y for the network of Figure 6.15.
Z, Y
4Ω
G
–1 ` –Lj2 Ω –1
C
j5 Ω
–1
Example 6.12
Compute Z and Y for the circuit shown below. Verify your answers with MATLAB.
L1 C1
`
j13 Ω
−j8 Ω 10 Ω 20 Ω
R1 R2
Z, Y
L2
` j5 Ω C 2
−j16 Ω
Then,
Z1
Z, Y Z2 Z3
6.7 Summary
• Excitations or driving functions refer to the applied voltages and currents in electric circuits.
• A response is anything we define it as a response. Typically response is the voltage or current in
the “load” part of the circuit or any other part of it.
• If the excitation is a constant voltage or current, the response will also be some constant value.
• If the excitation is a sinusoidal voltage or current, in general, the response will also be sinusoidal
with the same frequency but with different amplitude and phase.
• If the excitation is a time-varying function such as a sinusoid, inductors and capacitors do not
behave like short circuits and open circuits respectively as they do when the excitation is a con-
stant and steady-state conditions are reached. They behave entirely different.
• Circuit analysis in circuits where the excitation is a time-varying quantity such as a sinusoid is very
difficult and thus impractical in the t – domain .
• The complex excitation function greatly simplifies the procedure of analyzing such circuits when
excitation is a time-varying quantity such as a sinusoid.
• The procedure where the excitation-response relation is simplified to amplitude and phase rela-
tionship is known as time-domain to frequency-domain transformation.
• The procedure where the excitation-response is put back to its sinusoidal form is known as fre-
quency-domain to time-domain transformation.
• For brevity, we denote the time domain as the t – domain , and the frequency domain as the
jω – domain .
• If a sinusoid is given in terms of the sine function, it is convenient to convert it to a cosine function
using the identity m ( t ) = A sin ( ω t + θ ) = A cos ( ω t + θ – 90° ) before converting it to the
jω – domain .
• In the jω – domain the current through a resistor is always in−phase with the voltage across that
resistor
• In the jω – domain the current through an inductor lags the voltage across that inductor by 90°
• In the jω – domain the current through a capacitor leads the voltage across that capacitor by 90°
Phasor Voltage V 1
Impedance = Z = --------------------------------------- = ------S = R + jωL + ----------
Phasor Current I jωC
• Like resistance, the unit of impedance is the Ohm (Ω).
• Impedance is a complex quantity whose real part is the resistance R , and the imaginary part is
ω L – 1 ⁄ ω C , that is,
1
Re { Z } = R and Im { Z } = ω L – --------
ωC
1 2 –1 1
R + ⎛ ω L – --------⎞ ∠ tan ⎛ ω L – --------⎞ ⁄ R
2
Z =
⎝ ωC ⎠ ⎝ ω C⎠
• The imaginary part of the impedance Z is called reactance and it is denoted with the letter X . The
two components of reactance are the inductive reactance X L and the capacitive reactance X C , i.e.,
1
X = X L – X C = ωL – --------
ωC
• The unit of the inductive and capacitive reactances is also the Ohm (Ω).
Phasor Current I 1 1
Admit tan ce = Y = --------------------------------------- = ----S- = G + --------- + jωC = ---
Phasor Voltage V jωL Z
• The admittance Y is the reciprocal of the impedance Z as conductance G is the reciprocal of the
resistance R .
–1
• The unit of admittance is the siemens or mho ( Ω ) .
• The admittance Y is a complex quantity whose real part is the conductance G and the imaginary
1 - , that is,
part is ω C – ------
ωL
1
Re { Y } = G and Im { Y } = ωC – -------
ωL
• The imaginary part of the admittance Y is called susceptance and it is denoted with the letter B .
The two components of susceptance are the capacitive susceptance B C and the inductive suscep-
tance B L , that is,
1-
B = B C – B L = ω C – ------
ωL
2 –1
1 1⎞
G + ⎛ ω C – -------⎞ ∠ tan ⎛ ω C – ------
2
Y = - ⁄G
⎝ ω L⎠ ⎝ ω L⎠
–1
• The unit of the susceptances B C and B L is also the siemens ( Ω ) .
6.8 Exercises
Multiple Choice
1. Phasor voltages and phasor currents can be used in the t – domain if a circuit contains
A. independent and dependent sources with resistors only
B. independent and dependent sources with resistors and inductors only
C. independent and dependent sources with resistors and capacitors only
D. independent and dependent sources with resistors, inductors, and capacitors
E. none of the above
2. If the excitation in a circuit is a single sinusoidal source with amplitude A , radian frequency ω ,
and phase angle θ , and the circuit contains resistors, inductors, and capacitors, all voltages and all
currents in that circuit will be of the same
A. amplitude A but different radian frequency ω and different phase angle θ
B. radian frequency ω but different amplitude A and different phase angle θ
C. phase angle θ but different amplitude A and different radian frequency ω
D. amplitude A same radian frequency ω and same phase angle θ
E. none of the above
3. The sinusoid v ( t ) = 120 sin ( ω t + 90° ) in the jω – domain is expressed as
j ( ωt + 90° )
A. V = 120e
jωt
B. V = 120e
j90°
C. V = 120e
j0°
D. V = 120e
E. none of the above
4. A series RLC circuit contains two voltage sources with values v 1 ( t ) = 100 cos ( 10t + 45° ) and
v 2 ( t ) = 200 sin ( 5t – 60 ° ) . We can transform this circuit to a phasor equivalent to find the cur-
rent by first replacing these with a single voltage source v ( t ) = v 1 ( t ) + v 2 ( t ) whose value is
A. 1 + j1
B. 1 – j1
C. – j1
D. 2 + j0
E. none of the above
`
2Ω j0.5 Ω
Z eq −j2 Ω 2Ω
2
C. 12
------ + j ------
37 37
D. 2 – j2
E. none of the above
7. The resistance of a coil is R = 1.5 Ω and the inductance of that coil is L = 5.3 mH . If a current
of i ( t ) = 4 cos ωt A flows through that coil and operates at the frequency of f = 60Hz , the pha-
sor voltage V across that coil is
A. 10 ∠53.1° V
B. 6 ∠0° V
–3
C. 5.3 × 10 ∠90° V
D. 6.8 ∠45° V
E. none of the above
8. A resistor with value R = 5 Ω is in series with a capacitor whose capacitive reactance at some
particular frequency ω is – jX C = – 5 Ω . A phasor current with value I = 8 ∠0° A is flowing
through this series combination. The t – domain voltage across this series combination is
A. 80 cos ωt
B. 80 sin ωt
C. 56.6 cos ( ωt – 45° )
D. 56.6 cos ( ωt + 45° )
E. none of the above
–1
9. A conductance with value G = 0.3 Ω is in parallel with a capacitor whose capacitive suscep-
–1
tance at some particular frequency ω is jB C = j0.3 Ω . A phasor voltage with value
V = 10 ∠0° is applied across this parallel combination. The t – domain total current through
this parallel combination is
A. 3 cos ωt + j3 sin ωt
B. 3 cos ωt – j 3 sin ωt
C. 5 sin ( ωt + 53.2° )
D. 5 cos ( ωt + 53.2° )
E. none of the above
j(π ⁄ 2)
10. If the phasor I = je , then in the t – domain i ( t ) is
A. cos ( ωt + π ⁄ 2 )
B. sin ( ωt + π ⁄ 2 )
C. – cos ωt
D. – sin ωt
E. none of the above
Problems
1. Express the sinusoidal voltage waveform of Figure 6.18 as v ( t ) = A cos ( ω t + θ ) , that is, find A ,
ω , and θ . Answer: v ( t ) = 2 cos ( 1000t + 36.1° )
v (V) 1.62 V
−2.2 ms
0.94 ms
0 t (ms)
i (mA)
I
i = 15.00 mA at 1.605 ms
I = 5.27 mA at 3.000 ms
0 1 2 3 4 5 6
t (ms)
R L
`
8Ω 1 mH
C
vS i 1 µF
4. In the circuit of Figure 6.22, v S = V cos ( 2000t + θ ) V and the symbols V and A inside the cir-
cles denote an AC voltmeter* and ammeter respectively. Assume that the ammeter has negligible
internal resistance. The variable capacitor C is adjusted until the voltmeter reads 25 V and the
ammeter 5 A. Find the value of the capacitor. Answer: C = 89.6 µF
A
R 2Ω
vS
Other Part
of the
Network
V L
` 0.5 mH
C
1H
vS Other Part
of the
ZIN
L
` C
Network
YIN R1 R2 1Ω
* Voltmeters and Ammeters are discussed in Chapter 8. For this exercise, it will suffice to say that these
instruments indicate the magnitude (absolute) values of voltage and current.
Next, we find the phase angle θ from the figure above observing that π ⁄ 2 + θ = 2.2 ms
v (V) 1.62 V
−2.2 ms
0.94 ms
0 t (ms)
or
θ = 2.2ms – π - × -------------- – π
–3 2π rad 180°
--- = 2.2 × 10 s × ------------------------------- ---
2 6.28 × 10 s
–3 π rad 2
= 2.2 × 2 × 180° – π
---------------------------------- --- = 126.1° – 90° = 36.1°
6.28 2
–3
– 750 × 3 × 10
5.27 = Ae
or
–3
A = 5.27 × 10 -
--------------------------
– 2.25
e
or
A = 0.050 A = 50mA
Therefore,
– 750t
i ( t ) = 50e mA
and
–3
– 750 × 10
i t = 1 ms
= 50e = 23.62 mA
–3 6
In the jω – domain V S = 120 ∠0° V , I = 12 ∠– 36.9° A , jωL = j10 ω , and – j ⁄ ωC = – j10 ⁄ ω
Then,
V 120 ∠0° V
Z = -----S- = --------------------------------- = 10 ∠36.9°
I 12 ∠– 36.9° A
and
2 2
Z = 10 = R + ( ωL – 1 ⁄ ωC )
or
2 2
R + ( ωL – 1 ⁄ ωC ) = 100
or
2 2
8 + ( ωL – 1 ⁄ ωC ) = 100
or
2
( ωL – 1 ⁄ ωC ) = 36
or
ωL – 1 ⁄ ωC = 6
or
2 6 1- = 0
ω – --- ω – ------
L LC
or
2 3 9
ω – 6 × 10 ω – 10 = 0
3 6 9
× 10 + 36 × 10 + 4 × 10 - = 34, 765 r ⁄ s
ω = 6------------------------------------------------------------------------
2
and
ω 34, 765 r ⁄ s
f = ------ = ---------------------------- = 5, 533 Hz = 5.533 KHz
2π 2π
1H
ZIN
L
` C
YIN R1 R2 1Ω
Z1 Z2
Thus Z 1 = R 1 + jω , Z 2 = 1 – j ⁄ ( ωC ) , and
Z1 ⋅ Z2 ( R 1 + jω ) ( 1 – j ⁄ ωC )
Z IN = ----------------- = ---------------------------------------------------
Z1 + Z2 R 1 + jω + 1 – j ⁄ ωC
1 R 1 + jω + 1 – j ⁄ ωC
Y IN = -------- = ---------------------------------------------------
Z IN ( R 1 + jω ) ( 1 – j ⁄ ωC )
Therefore, if the condition Y IN = Z IN is to hold for all frequencies, the right sides of Z IN and
Y IN must be equal, that is,
( R 1 + jω ) ( 1 – j ⁄ ωC ) R 1 + jω + 1 – j ⁄ ωC
--------------------------------------------------- = ---------------------------------------------------
R 1 + jω + 1 – j ⁄ ωC ( R 1 + jω ) ( 1 – j ⁄ ωC )
2 2
[ ( R 1 + jω ) ( 1 – j ⁄ ωC ) ] = [ R 1 + jω + 1 – j ⁄ ωC ]
( R 1 + jω ) ( 1 – j ⁄ ωC ) = R 1 + jω + 1 – j ⁄ ωC
R1 1- ⎞
1- = R + 1 + j ⎛ ω – -------
R 1 – j -------- + jω + ---
ωC C 1 ⎝ ωC ⎠
⎛ R + --- R1 ⎞
1- ⎞ + j ⎛ ω – ------- 1- ⎞
- + jω = ( R 1 + 1 ) + j ⎛ ω – -------
⎝ 1 C⎠ ⎝ ωC ⎠ ⎝ ωC ⎠
1- = R + 1 R 1-
R 1 + --- 1 ω – -------1- = ω – -------
C ωC ωC
From the first equation above we get C = 1 F and by substitution of this value into the second
equation we get R 1 = 1 Ω
T
his chapter begins with the application of nodal analysis, mesh analysis, superposition, and
Thevenin’s and Norton’s theorems in phasor circuits. Then, phasor diagrams are introduced,
and the input-output relationships for an RC low-pass filter and an RC high-pass filter are
developed.
Example 7.1
Use nodal analysis to compute the phasor voltage V AB = V A – V B for the circuit of Figure 7.1.
VA VB
`
2Ω j3 Ω
4Ω
8Ω
5 ∠0° A –j 6 Ω –j 3 Ω
10 ∠0° A
Z 1 = 4 – j6 = 7.211 ∠–56.3°
Z 2 = 2 + j3 = 3.606 ∠56.3°
Z 3 = 8 – j3 = 8.544 ∠– 20.6°
VA VB
`
2Ω j3 Ω
4Ω
Z2 8Ω
5 ∠0° A –j 6 Ω Z1 –j 3 Ω Z3
10 ∠0° A
Figure 7.2. Nodal analysis for the circuit for Example 7.1
By application of KCL at V A ,
VA VA – VB
------ + ------------------- = 5 ∠0°
Z1 Z2
or
1
⎛ ---- 1 1
- + ----- ⎞ V A – ----- V B = 5 ∠0° (7.1)
⎝Z Z ⎠ Z2
1 2
or
⎛Z 1 + Z 2⎞ 1
----------------- V – ------ V = 5 ∠0°
⎝ Z1 Z2 ⎠ A Z B
2
4 – j6 + 2 + j3
------------------------------------------------------------------------- 1 - V = 5 ∠0°
- V – ------------------------------
( 7.211 ∠– 56.3 ) ( 3.606 ∠56.3° ) A 3.606 ∠56.3° B
6 – j3
--------------------- V – ( 0.277 ∠– 56.3° )V B = 5 ∠0°
26.0 ∠0° A
6.708 ∠– 26.6°
---------------------------------- V A – ( 0.277 ∠– 56.3° )V B = 5 ∠0°
26 ∠0°
Next, at V B :
VB – VA VB
------------------- + ------ = – 10 ∠0°
Z2 Z3
or
1 1- + ----
1- ⎞ V = – 10 ∠0°
– ----- V A + ⎛ ---- (7.3)
Z2 ⎝Z Z ⎠ B
2 3
1
⎛ ---- 1 1
- + ----- ⎞ – -----
⎝Z Z ⎠ Z2 VA
1 2
= 5 (7.4)
1 1
⎛ ---- 1 VB – 10
– ----- - + ----- ⎞
Z2 ⎝Z Z ⎠
2 3
We will follow a step-by-step procedure to solve these equations using Cramer’s rule, and we will
use MATLAB®* to verify the results.
We rewrite (7.3) as
1 Z2 + Z3
– ----- V A + ⎛ -----------------⎞ V B = 10 ∠180°
Z2 ⎝ Z2 Z3 ⎠
1 2 + j3 + 8 – j3
– ------------------------------- V A + ---------------------------------------------------------------------------- V B = 10 ∠180°
3.606 ∠56.3° ( 3.606 ∠56.3° ) ( 8.544 ∠–20.6° )
10
– ( 0.277 ∠– 56.3° )V A + ---------------------------------- V B = 10 ∠180°
30.810 ∠35.7°
D
V A = -----1- (7.7)
∆
and
D
V B = -----2- (7.8)
∆
The determinant ∆ is
Va = -4.1379 + 19.6552i
Vb = -22.4138 - 1.0345i
Vab = 18.2759 + 20.6897i
These values differ by about 10% from the values we obtained with Cramer’s rule where we
rounded the values to three decimal places. MATLAB performs calculations with accuracy of 15
decimal places, although it only displays four decimal places in the short (default) number display
format. Accordingly, we should accept the MATLAB values as more accurate.
Example 7.2
For the circuit of Figure 7.3, use mesh analysis to find the voltage V 10A , that is, the voltage across
the 10 ∠0° current source.
2Ω j3 Ω
`
+
4Ω
8Ω
V 10A
5 ∠0° A –j 6 Ω –j 3 Ω
−
10 ∠0° A
Z2 2Ω j3 Ω
`
+
4Ω
8Ω
V 10A
Z1 Z3
5 ∠0° A –j 6 Ω –j 3 Ω I3
I1 I2 −
10 ∠0° A
1 0 0 I1 5
– ( 4 – j6 ) ( 14 – j6 ) –– ( 8 – j3 ) I 2 = 0 (7.12)
0 0 1 I3 10
We observe that this is the same value as that of the voltage V B in the previous example.
* As we experienced with Example 7.1, the computation of phasor voltages and currents becomes quite tedious.
Accordingly, in our subsequent discussion we will use MATLAB for the solution of simultaneous equations with
complex coefficients.
Example 7.3
Use the superposition principle to find the phasor voltage across capacitor C 2 in the circuit of Fig-
ure 7.5.
`
2Ω j3 Ω
4Ω
8Ω
5 ∠0° A –j 6 Ω –j 3 Ω
C2 10 ∠0° A
V C2 = V ' C2 + V '' C2
With the 5 ∠0° A current source acting alone, the circuit reduces to that shown in Figure 7.6.
`
2Ω j3 Ω
4Ω
8Ω
5 ∠0° A –j 6 Ω –j 3 Ω V ' C2
C2
Figure 7.6. Circuit for Example 7.3 with the 5 ∠0° A current source acting alone
By application of the current division expression, the current I ' C2 through C 2 is
4 – j6 7.211 ∠–56.3°
I ' C2 = ------------------------------------------------------- 5 ∠0° = ------------------------------------- 5 ∠0° = 2.367 ∠– 33.1°
4 – j6 + 2 + j3 + 8 – j3 15.232 ∠– 23.2°
The voltage across C 2 with the 5 ∠0° current source acting alone is
Next, with the 10 ∠0° A current source acting alone, the circuit reduces to that shown in Figure 7.7.
`
2Ω j3 Ω
4Ω
8Ω
–j 6 Ω –j 3 Ω V '' C2
C2 10 ∠0° A
Figure 7.7. Circuit for Example 7.3 with the 10 ∠0° A current source acting alone
and by application of the current division expression, the current I '' C2 through C 2 is
4 – j6 + 2 + j3
I '' C2 = ------------------------------------------------------- ( – 10 ∠0° )
4 – j6 + 2 + j3 + 8 – j3
6.708 ∠– 26.6°
= ------------------------------------- 10 ∠180° = 4.404 ∠176.6°
15.232 ∠– 23.2°
The voltage across C 2 with the 10 ∠0° current source acting alone is
Example 7.4
For the circuit of Figure 7.8, apply Thevenin’s theorem to compute I X and then draw Norton’s
equivalent circuit.
85 Ω – j100 Ω
IX
100 Ω
`
170 ∠0° V
j200 Ω 50 Ω
85 Ω – j100 Ω
V1 V2
170 ∠0° V
`
j200 Ω 50 Ω
Figure 7.9. Circuit for Example 7.4 with the 100 Ω resistor disconnected
By application of the voltage division expression,
j200 200 ∠90°
V 1 = ----------------------- 170 ∠0° = ------------------------------ 170 ∠0° = 156.46 ∠23° = 144 + j61.13 (7.16)
85 + j200 217.31 ∠67°
and
50 50
V 2 = ----------------------- 170 ∠0° = --------------------------------------- 170 ∠0° = 76 ∠63.4° = 34 + j68 (7.17)
50 – j100 111.8 ∠( – 63.4 )°
Then, from (7.16) and (7.17),
V TH = V OC = V 12 = V 1 – V 2 = 144 + j61.13 – ( 34 + j68 )
or
V TH = 110 – j6.87 = 110.21 ∠– 3.6 ° (7.18)
Next, we find the Thevenin equivalent impedance Z TH by shorting the 170 ∠0° V voltage source.
The circuit then reduces to that shown in Figure 7.10.
X
85 Ω – j100 Ω 85 Ω – j100 Ω
j200 Ω 85 Ω
`
X Y X Y
ZTH
`
`
j200 Ω 50 Ω j200 Ω 50 Ω
50 Ω
– j100 Ω
Y
Figure 7.10. Circuit for Example 7.4 with the voltage source shorted
We observe that the parallel combinations j200 || 85 and 50 || j100 are in series as shown in Figure
7.11.
X
`
j200 Ω 85 Ω
ZTH
50 Ω −j100 Ω
ZTH
`
112 Ω j10.6 Ω
VTH = 110.21∠−3.6°
Y
= 110−j6.87
`
112 Ω j10.6 Ω
IX
VTH = 110−j6.87 100 Ω
Y
Figure 7.13. Simplified circuit for computation of I X in Example 7.4
The same answer is found in Example C.18 of Appendix C where we applied nodal analysis to find
IX .
Norton’s equivalent is obtained from Thevenin’s circuit by exchanging V TH and its series Z TH with
I N in parallel with Z N as shown in Figure 7.14. Thus,
V TH 110.21 ∠– 3.6°
- = ---------------------------------- = 0.98 ∠– 9° A
I N = ---------
Z TH 112.5 ∠5.4°
and
Z N = Z TH = 112.5 ∠5.4° Ω
ZN
IN `
Example 7.5
Compute i X ( t ) for the circuit below where v in ( t ) = 2 cos ( 30000 ω t ) V .
2Ω 50 Ω iX ( t )
10 Ω
v in ( t ) 8Ω
+ +
vC ( t ) 4Ω
− − 5v ( t )
0.2 mH
` 10 ⁄ 3 µF C
V1 V2 50 Ω V3 IX
2Ω 10 Ω
VC
V IN 8Ω +
+ +
−j10 Ω 4Ω
− − 5V
−
2 ∠0° ` j6 Ω C
⎛ 35 3 1
------ – j ------⎞ V – --- V = 1 ∠0° (7.21)
⎝ 50 50⎠ 1 5 C
At Node :
VC – V1 VC
------------------- + ----------- = 0
10 – j10
or
1 1 1
– ------ V 1 + ⎛ ------ + j ------⎞ V C = 0 (7.22)
10 ⎝ 10 10⎠
At Node :
V 3 = 5V C
Therefore,
I = 2.75 ∠– 39.6° ⇔ i ( t ) = 2.75 cos ( 30000t – 39.6° )
Example 7.6
Compute the phasor V out for the op amp circuit of Figure 7.17.
−j5 Ω
4Ω
5Ω
V in = 4 ∠0° V V out
−j10 Ω 10 Ω
V1
+
4Ω 5Ω V
V in = 4 ∠0° V V out
−j10 Ω 10 Ω
9
⎛ ----- 3 1 1
- + j ------⎞ V – ⎛ --- + j --- ⎞ V = 1 ∠0° (7.23)
⎝ 20 10⎠ 1 ⎝ 5 5 ⎠ out
At Node ,
1 1 3 1
– ⎛ --- + j --- ⎞ V 1 + ⎛ ------ + j --- ⎞ V out = 0 (7.24)
⎝5 5 ⎠ ⎝ 10 5 ⎠
Example 7.7
Compute and sketch all phasor quantities for the circuit of Figure 7.19.
2Ω j3 Ω
+ − + −
`
VR VL
VS
+
VC
−
−j5 Ω
I
Solution:
Since this is a series circuit, the phasor current I is common to all circuit devices. Therefore, we
assign to this phasor current the value I = 1 ∠0° and use it as our reference as shown in the phasor
diagram of Figure 7.20. Then,
V R = ( 2 Ω ) ( 1 ∠0° ) = 2 ∠0° V
V L = ( j3 Ω ) ( 1 ∠0° ) = j3 = 3 ∠90° V
V C = ( – j 5 Ω ) ( 1 ∠0° ) = – j5 = 5 ∠– 90 ° V
V S = V R + ( V L + V C ) = 2 – j2 = 2 2 ∠– 45°
VL
VR I = 1∠0°
VL+VC
VS=VR+(VL+VC)
VC
Example 7.8
Compute and sketch all phasor quantities for the circuit of Figure 7.21.
+
IR IL IC
V
10 Ω
`j20 Ω −j10 Ω
IS −
IC
IS=IR+(IC+IL)
IC+IL
V = 1∠0°
IR
IL
Example 7.9
Compute and sketch all phasor voltages for the circuit of Figure 7.23. Then, use MATLAB to plot
these quantities in the t – domain .
VR1 VL
+ − + −
`
2Ω j3 Ω IR2
VS +
+ VR2
VC 5Ω
−j5 Ω − −
VC ∠31°- + 5 ∠0° ⎞
- + I R2⎞ = 2 ⎛ 5.83
V R1 = 2 Ω × I R1 = 2 ( I C + I R2 ) = 2 ⎛ ------- -----------------------
⎝ – j5 ⎠ ⎝ 5 ∠– 90° ⎠
= 2.33 ∠121° + 10 ∠0° = – 1.2 + j2 + 10 = 8.8 + j2 = 9 ∠12.8°
and
V S = V R1 + V C = 8.8 + j2 + 5 + j3 = 13.8 + j5 = 14.7 ∠20°
V C = 5.83 ∠31°
V S = 14.7 ∠20°
V L = 3 ∠90°
V R1 = 9 ∠12.8°
V R2 = 5 ∠0° I R2 = 1 ∠0° A
V1 + VR1 − V2 + VL − V3
`
2Ω j3 Ω IR2
VS +
+
VC 5Ω VR2
− −
1 ∠0° V −j5 Ω
Figure 7.25. Circuit for Example 7.9 with the voltage source taken as reference
The node equations are shown below in matrix form.
1 0 0
V1
–1
--- ⎛1--- + ------- 1- ⎞
1 - + ---- 1-
– ---- 1
2 ⎝ 2 – j5 j3 ⎠ j3 V2 0
=
1- 1- + 1
⎛ ---- V3 0
0 – ---- --- ⎞
⎝ j3 5 ⎠
⎧
⎨
⎩
j3
⎧
⎨
⎩
V I
⎧
⎪
⎪
⎪
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎪
⎪
⎪
⎩
V3 = 0.4945 - 0.4263i
VR1 = 0.2497 + 0.1296i
VL = 0.2558 + 0.2967i
magV1 = 1.00 V magV2 = 0.76 V magV3 = 0.65 V
phaseV1 = 0.00 deg phaseV2 = -9.80 deg phaseV3 = -40.76 deg
magVR1 = 0.28 V phaseVR1 = 27.43 deg
magVL = 0.39 V phaseVL = 49.24 deg
and with these values we have
v S ( t ) = v 1 ( t ) = cos ω t v 2 ( t ) = 0.76 cos ( ω t – 9.8° ) v 3 ( t ) = 0.65 cos ( ω t – 40.8° )
1
v1 ( t ) = vS ( t )
0 .8
0 .6
v2 ( t )
v3 ( t )
0 .4
v R1 ( t )
0 .2
-0 .2 vL ( t )
-0 .4
-0 .6
-0 .8
-1
0 50 100 150 200 250 300 350 400
or phase shift filter. It has a constant amplitude response but is phase varies with frequency. This is
discussed in Signals and Systems with MATLAB Applications, ISBN 0-9709511-3-2, by this author.
The ideal amplitude characteristics of each are shown in Figure 7.27. The ideal characteristics are
not physically realizable; we will see that practical filters can be designed to approximate these char-
acteristics. In this section we will derive the passive RC low and high-pass filter characteristics and
those of an active low-pass filter using phasor analysis.
V out V out
---------- ----------
V in V in
1 STOP 1
PASS (CUTOFF) STOP PASS
BAND BAND BAND BAND
ω ω
ωc ωc
Ideal low− pass filter Ideal high− pass filter
V out V out
---------- ----------
V in V in
1 1
STOP PASS STOP PASS STOP PASS
BAND BAND BAND BAND BAND BAND
ω ω
ω1 ω2 ω1 ω2
Ideal band− pass Filter Ideal band − elimination filter
Example 7.10
Derive expressions for the magnitude and phase responses of the series RC network of Figure 7.28,
and sketch their characteristics.
+ R +
V in C V out
−
−
V out 1 1
G ( jω ) = ---------
- = ----------------------- = -----------------------------------------------------------------------
-
V in 1 + jωRC 2 2 2
( 1 + ω R C ) ∠ atan ( ωRC )
(7.26)
1
= --------------------------------- ∠– atan ( ωRC )
2 2 2
1+ω R C
V out 1
G ( jω ) = ---------
- = --------------------------------- (7.27)
V in 1+ω R C
2 2 2
V out
θ = arg { G ( jω ) } = arg ⎛ ----------⎞ = – atan ( ωRC ) (7.28)
⎝ V in ⎠
We can obtain a quick sketch for the magnitude G ( jω ) versus ω by evaluating (7.27) at ω = 0 ,
ω = 1 ⁄ RC , and ω → ∞ . Thus,
as ω → 0 , G ( j ω ) ≅ 1
for ω = 1 ⁄ RC , G ( j ω ) = 1 ⁄ 2 = 0.707
and as ω → ∞ , G ( j ω ) ≅ 0
To obtain a smooth curve, we will use a spreadsheet such as Microsoft Excel to plot G ( jω ) versus
radian frequency for several values of ω . This is shown in Figure 7.29 where, for convenience, we let
RC = 1 . The plot shows that this circuit is an approximation, although not a good one, to the
amplitude characteristics of a low-pass filter.
ω |G(jω)|
Series RC Low-pass Filter Frequency
0.000 1
Response
0.020 0.9998
0.040 0.9992
0.060 0.9982 1
|G(jω)|
0.080 0.99682 0.8 Half-power point
0.100 0.99504 0.6 (|G(jω)|=0.707)
0.120 0.99288 0.4
RC=1
0.140 0.99034 0.2
0.160 0.98744 0
0.180 0.98418 1/RC Radian Frequency (ω)
0.200 0.98058
0.220 0.97664
and as ω → ∞ , θ = – atan ( ∞ ) = – 90 °
We use Excel to plot θ versus radian frequency for several values of ω . This is shown in Figure
7.31 where, again for convenience, we let RC = 1
Example 7.11
The network of Figure 7.30 is also a series RC circuit, where the positions of the resistor and capac-
itor have been interchanged. Derive expressions for the magnitude and phase responses, and sketch
their characteristics.
+ C +
V in R V out
− −
ω θ
-12.00 85.24 Series RC Low-Pass Filter
-11.98 85.23 Phase Angle θ versus ω
-11.96 85.22 90.00
-11.94 85.21 1-
1
ωRC 1 + ω R C ∠ atan ⎛ ------------⎞ (7.29)
2 2 2
⎝ ωRC⎠ 1 1
= --------------------------------------------------------------------------------- = --------------------------------- ∠ atan ⎛ ------------⎞
2 2 2
1 - ⎝ ωRC ⎠
1+ω R C 1 + ------------------
2 2 2
ω R C
The magnitude of (7.29) is
1
G ( j ω ) = --------------------------------
- (7.30)
1
1 + -------------------
2 2 2
ω R C
1
θ = arg { G ( j ω ) } = atan ⎛ ------------⎞ (7.31)
⎝ ωRC⎠
We can obtain a quick sketch for the magnitude G ( j ω ) versus ω by evaluating (7.30) at ω = 0 ,
ω = 1 ⁄ RC , and ω → ∞ . Thus,
as ω → 0 , G ( j ω ) ≅ 0
for ω = 1 ⁄ RC , G ( j ω ) = 1 ⁄ 2 = 0.707
and as ω → ∞ , G ( j ω ) ≅ 1
Figure 7.32 shows G ( j ω ) versus radian frequency for several values of ω where RC = 1 . The
plot shows that this circuit is an approximation, although not a good one, to the amplitude charac-
teristics of a high-pass filter.
ω |G(jω)|
0.000 1E-07 Series RC High-Pass Filter
0.020 0.02 |G(jω)| versus ω
0.040 0.03997
0.060 0.05989 1
|G(jω)|
as ω → 0 , θ ≅ – atan 0 ≅ 0°
as ω → – ∞ , θ = – atan ( – ∞ ) = 90°
and as ω → ∞ , θ = – atan ( ∞ ) = – 90 °
Figure 7.33 shows the phase angle θ versus radian frequency for several values of ω , where
RC = 1
ω θ
Series RC High-pass Filter
-12.000 -4.7636417
Phase Angle θ versus ω
-11.980 -4.7715577
-11.960 -4.7794999 90
Example 7.12
Compute the approximate cut-off frequency of the circuit of Figure 7.34 which is known as a Multi-
ple Feed Back (MFB) active low-pass filter.
C 2 10 nF
R2 40 kΩ
R1 v1 R3 v2
200 kΩ 50 kΩ
v in v out
C1
25 nF
At node :
v2 – v1 C2
---------------- = -----------------------
- (7.33)
R3 1 ⁄ ( j ω C2 )
v 1 = ( – j ω R 3 C 2 ) v out (7.34)
and by substitution of (7.34) into (7.32), rearranging, and collecting like terms, we get:
1
⎛ ----- 1 1 1 1
- + ------ + ------ + j ω C 1 ⎞ ( – j ω R 3 C 2 ) – ------ v out = ------ v in (7.35)
⎝ R R R ⎠ R R 1
1 2 3 2
or
v out 1
---------- = ---------------------------------------------------------------------------------------------------------------
- (7.36)
v in R 1 ⎛ ----- 1- + ----- 1- + ----- 1- + j ω C ⎞ ( – j ω R C ) – ----- 1-
⎝ R R2 R3 1 ⎠ 3 2
R2
1
v out 1
---------- = ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
-
v in 2 × 10 ⎛ --------------------
5 1 - + j2.5 × 10 ω ⎞ ( – j5 × 10 4 × 10 – 8 ω ) – -----------------
– 8 1 -
⎝ 3 ⎠ 4
20 × 10 4 × 10
or
v out –1
G ( j ω ) = ---------
- = ------------------------------------------------------------------------- (7.37)
–
v in 2.5 × 10 ω – j5 × 10 –3 ω + 56 2
and now we can use MATLAB to find and plot the magnitude of (7.37) with the following code.
w=1:10:10000; Gjw=−1./(2.5.*10.^(−6).*w.^2−5.*j.*10.^(−3).*w+5);
semilogx(w,abs(Gjw)); grid; hold on
xlabel('Radian Frequency w'); ylabel('|Vout/Vin|');
title('Magnitude Vout/Vin vs. Radian Frequency')
The plot is shown in Figure 7.35 where we see that the cutoff frequency occurs at about
700 rad ⁄ s . We observe that the half-power point for this plot is 0.2 × 0.707 = 0.141 .
0.18
0.16
0.14
|Vout/Vin|
0.12
0.1
0.08
0.06
0.04
0.02
0
0 1 2 3 4
10 10 10 10 10
Radian Frequency w
Figure 7.35. Plot for the magnitude of the low-pass filter circuit of Example 7.12
7.10 Summary
• In Chapter 3 we were concerned with constant voltage and constant current sources, resistances
and conductances. In this chapter we were concerned with alternating voltage and alternating cur-
rent sources, impedances, and admittances.
• Nodal analysis, mesh analysis, the principle of superposition, Thevenin’s theorem, and Norton’s
theorem can also be applied to phasor circuits.
• The use of complex numbers make the phasor circuit analysis much easier.
• MATLAB can be used very effectively to perform the computations since it does not require any
special procedures for manipulation of complex numbers.
• Whenever a branch in a circuit contains two or more devices in series or two or more devices in
parallel, it is highly recommended that they are grouped and denoted as z 1 , z 2 , and so on before
writing nodal or mesh equations.
• Phasor diagrams are sketches that show the magnitude and phase relationships among several pha-
sor voltages and currents. When constructing a phasor diagram, the first step is to select one pha-
sor as a reference, usually with zero phase angle, and all other phasors must be drawn with the cor-
rect relative angles.
• The RC low-pass and RC high-pass filters are rudimentary types of filters and are not used in prac-
tice. They serve as a good introduction to electric filters.
7.11 Exercises
Multiple Choice
1. In the circuit of Figure 7.36 the phasor voltage V is
A. 2 + j0 V
B. 1 + j0 V
C. 1 – j 0 V
D. 1 + j V
E. none of the above
`
IS + j0.5 Ω
V −j Ω 1Ω
1 ∠0° A −
Figure 7.36. Circuit for Question 1
2. In the circuit of Figure 7.37 the phasor current I is
A. 0 + j2 A
B. 0 – j2 A
C. 1 + j0 A
D. 2 + j2 A
E. none of the above
I 1Ω
VS 1Ω 1Ω
2 ∠0° V −j1 Ω
` j1 Ω
Figure 7.37. Circuit for Question 2
3. In the circuit of Figure 7.38 the voltage across the capacitor C 2 is
–4
A. 8 × 10 sin ( 2000t + 90° ) V
`
3 mH L2
4Ω
vS ( t ) 500 µF
`C2 mH
2
8 sin ( 2000t + 90° )
100 µF
A. 4 sin 2000t
B. 4 sin ( 2000t + 180° )
iS ( t )
iC
1Ω
`
500 µF 0.5 mH
i S ( t ) = 4 cos 2000t
A. 10 ∠– 90° V
B. 10 ∠– 53.13° V
C. 10 ∠53.13° V
D. 10 ∠– 45° V
E. none of the above
`
A
4Ω j2 Ω
VS
−j5 Ω
10 ∠0° V
B
A. 2 + j4 Ω
B. 4 + j2 Ω
C. 4 – j 2 Ω
D. – j 5 Ω
E. none of the above
7. In the circuit of Figure 7.41 the phasor voltage V C is
A. 5 ∠– 90° V
B. 5 ∠– 45° V
C. 4 ∠– 53.1° V
D. 4 ∠53.1° V
E. none of the above
VS IX 4Ω IX
+ +
− −
−j4 Ω
20 ∠0° V
` j3 Ω 4IX V
A. 20 + j0 V
B. 0 + j20 V
C. 20 + j20 V
D. 80 – j80 V
E. none of the above
IS + +
4 ∠0° A
4Ω j4 Ω
` −V X
5 Ω VR
− 5Ω
2V X A
A. 2 + j0 V
B. 4 + j0 V
C. 4 – j 0 V
D. 1 + j1 V
E. none of the above
j5 Ω 10 Ω
–j 5 Ω 10 Ω
`
V IN
V OUT 1
− V OUT 2
1 ∠0°
`
A j2 Ω
VS −j Ω
2Ω 2Ω
2 ∠0° V
B
A
8Ω 6Ω
iC ( t )
`
20 mH 1000 ⁄ 6 µF
5Ω
iS ( t )
2Ω
7Ω
4Ω 2Ω
vS ( t ) 10 Ω 5Ω
+
` iC ( t )
− 5 mH
20 Ω
100 µF
4Ω 2Ω
10 Ω 5Ω
+
iL ( t )
`
− v (t) 2 mH 10 µF
S 20 Ω
L1 R1 R2 L2
`
`
2 mH 10 Ω 25 Ω 5 mH
+ + +
vC ( t )
20 µF
−
− v S2 ( t )
v S1 ( t ) −
1 mH 2 mH
10 Ω
v S1 +
+ vC ( t )
− 5Ω
− 500 µF iS ( t )
+
v S2 ( t ) −
ZS
+
Z LD
vS −
Z LD
4Ω
10 Ω 5Ω
+
`
− j5
20 Ω
−j10
170 ∠0°
+ VS `
20 Ω j5
−
−j10
9. For the op amp circuit of Figure 7.53, v in ( t ) = 3 cos 1000t V . Find v out ( t ) .
R2
R1 3 KΩ
1 KΩ
v in ( t ) v out ( t )
V V 1 1–j 1–j 1 1
tion ------C- + ------C- = 1 + j0 or ( 1 + j )V C = 1 or V C = ----------- × ---------- = ---------
- = --- – j --- V . Therefore,
1 –j 1+j 1–j 2 2 2
V = j1 ⁄ 2 + 1 ⁄ 2 – j1 ⁄ 2 = 1 ⁄ 2 + j0 V
2. C Denoting the resistor in series with the voltage source as z 1 , the resistor in series with the
capacitor as z 2 , and the resistor in series with the capacitor as z 3 , the equivalent impedance is
z2 ⋅ z3 ( 1 – j1 ) ( 1 + j1 -) = 1 + 2
Z eq = z 1 + --------------- = 1 + ------------------------------------- --- = 2 + j0
z2 + z3 1 – j1 + 1 + j1 2
and
V 2 + j0
I = -----S- = -------------- = 1 + j0 A
Z 2 + j0
L1 C1
`
j6 Ω L2
4Ω −j1 Ω
VS +
`Cj4 Ω
2
− −j5 Ω
8 ∠0° V I
V 8 + j0 8 + j0 4 – j4 32 – j32
Z = 4 + j6 – j1 + j4 – j5 = 4 + j4 , I = -----S- = -------------- = -------------- ⋅ -------------- = -------------------- = 1 – j1 ,
Z 4 + j4 4 + j4 4 – j4 32
and thus V C = – j5 × ( 1 – j ) = 5 – j5 = 50 ∠– 45° ⇔ 50 cos ( 2000t – 45° ) V
2
–1 –1 –1
4. D 4 cos 2000t ⇔ 4 ∠0° , G = 1 ⁄ R = 1 Ω , jωC = j1 Ω , – j ⁄ ωL = – j1 Ω , and the pha-
sor equivalent circuit is shown below.
IS 1Ω
–1
IC –1
4 ∠0° A j1 Ω
–1 ` – j1 Ω
and thus
i S ( t ) = 4 cos ( 2000t + 90° ) A
Z TH = (-------------------------------
– j5 ) ( 4 + j2 -) = 10 – j20- = 10 – j20- 4 + j3 100 – j50- = 4 – j2
------------------- ------------------- ⋅ -------------- = ----------------------
4 + j2 – j5 4 – j3 4 – j3 4 + j3 25
20 ∠0° 20 ∠0°
- = --------------------- = 4 ∠– 36.9° , 4I X = 16 ∠– 36.9°
7. D I X = ---------------
4 + j3 5 ∠36.9°
and
4I ∠– 36.9°- = 4 ∠53.1°
I C = -------X- = 16
--------------------------
– j4 4 ∠– 90°
4 64 ∠90° 64 × 32
8. E V X = -------------- × 4 ∠0° × j4 = ----------------------- = ---------------------- ∠45° = 2 32 ∠45°
4 + j4 32 ∠45° 32
and
2
VR = 2V X × 5 = 20 × 32 ∠45° = 20 32 ⎛ ------2- + j -------⎞ = 80 + j80
5Ω ⎝ 2 2⎠
10
9. B V OUT 1 = – ------ × 1 ∠0° = j2 × 1 ∠0° = 2 ∠90° × 1 ∠0° = 2 ∠90°
j5
and
10
V OUT 2 = – -------- × V OUT 1 = – j 2 × 2 ∠0° = 2 ∠– 90 ° × 2 ∠90° = 4 ∠0° = 4 + j0
–j 5
V AB – 2 ∠0° V AB V AB
- + --------- + -------------- = 0
----------------------------
–j 2 2 + j2
⎛1 1 - ⎞ V = 2 ∠90°
--- + j + -------------
⎝2 2 + j2 ⎠ AB
Problems
1. We transform the current source and its parallel resistance to a voltage source series resistance,
we combine the series resistors, and we draw the phasor circuit below.
z2 8Ω z1 6Ω IC z3
5Ω
`
– j6 Ω
j20 Ω C
+ VS 8Ω
15 Ω
−
10 ∠0° V
3 –3
For this phasor circuit, V S = 2 ∠0° × 5 = 10 ∠0° V , jωL = j10 × 20 × 10 = j20 Ω and
3 3 –6
– j ⁄ ωC = – j ⁄ ( 10 × 10 ⁄ 6 × 10 ) = – j6 , z 1 = 5 Ω , z 2 = ( 15 + j20 ) Ω , and z 3 = ( 8 – j 6 ) Ω
V A – V B V A – 10 ∠0° V A – V B
------------------- + ----------------------------- + ------------------- = 0
z2 z1 z3
1 1 1 ⎞
⎛ --- 10 ∠0°
- + ---- + ---- V A = ----------------
⎝z z z ⎠ z1
1 2 3
⎛1 1 1 10 ∠0°
--- + -------------------- + ----------- ⎞ V = ---------------- = 2 ∠0°
⎝ 5 15 + j20 8 – j 6 ⎠ A 5
and
2 ∠0° 2 ∠0°
V A = ------------------------------------------------------------------------ = ------------------------------------------------------------------------------
1 - + --------------------------
0.2 + ----------------------- 1 - 0.2 + 0.04 ∠– 53.1 ° + 0.1 ∠36.9°
25 ∠53.1° 10 ∠– 36.9°
2 ∠0°
= -----------------------------------------------------------------------------------------------------------------------------------------------------------------
0.2 + 0.04 cos 53.1° – j0.04 sin 53.1° + 0.1 cos 36.9° + j0.1 sin 36.9°
2 ∠0°
= ------------------------------------------------------------------------------------------------------------------------------ 2 ∠0° -
= ----------------------------------
0.2 + 0.04 × 0.6 – j0.04 × 0.8 + 0.1 × 0.8 + j0.1 × 0.6 0.304 + j0.028
2 ∠0°
= ------------------------------- = 6.55 ∠– 5.26°
0.305 ∠5.26°
Also,
V ∠– 5.26° = 0.655 ∠31.7°
I C = ------A = 6.55
-------------------------------
z3 10 ∠– 36.9°
and
i C ( t ) = 0.655 cos ( 1000 + 31.7° )
z1 z7
4Ω 2Ω
z3 V2 z5
VS V1 V3
+ 10 Ω 5Ω
IC
`
− 12 ∠45° j5 Ω
20 Ω
z2 z4
z 6 – j 10 Ω
Node V 1 :
V1 – VS V1 – V2 V1 V1 – V3
------------------ + ------------------ + ------ + ------------------
z1 z3 z2 z7
or
1 1 1 1 ⎞
⎛ --- 1 1 1
- + ---- + ---- + ---- V 1 – ---- V 2 – ---- V 3 = ---- V S
⎝z z2 z3 z7 ⎠ z 3 z 7 z 1
1
Node V 2 :
V2 – V1 V2 V2 – V3
------------------ + ------ + ------------------ = 0
z3 z4 z5
or
1 1 1 1 1
– ---- V 1 + ⎛ ---- + ---- + ---- ⎞ V 2 – ---- V 3 = 0
z3 ⎝z z4 z5 ⎠ z 5
3
Node V 3 :
V3 – V2 V3 – V1 V2 – V3
------------------ + ------------------ + ------------------ = 0
z5 z7 z6
or
1 1 1- + ---
1- + ---
1- ⎞ V = 0
– ---- V 1 – ---- V 2 + ⎛ ---
z7 z5 ⎝z z6 z7 ⎠ 3
5
and in matrix form
1 1 1 1 ⎞
⎛ --- 1 1
- + ---- + ---- + ---- – ---- – ----
⎝z z z z ⎠ z3 z7
1 2 3 7
V1 1
---- V S
1 1 1 1 ⎞
⎛ --- 1 z1
– ---- - + ---- + ---- – ---- ⋅ V2 =
z3 ⎝z z z ⎠ z5 0
3 4 5
V3
1- 1- 1- + ---
⎛ --- 1- + ---
1- ⎞ 0
– --- – ---
z7 z5 ⎝z z z ⎠
5 6 7
V2 = 5.9658 - 0.5960i
V3 = 5.3552 - 4.4203i
Ic = 0.4420 + 0.5355i
magIc = 0.69
phaseIc = 50.46
z1 z7
4Ω I2 z 2Ω
3 z5
+ 10 Ω 5Ω
IL
`
− I1 z2 I3 z6
j20 Ω
z4 I4
V S = 100 ∠60° 20 Ω – j10 Ω
Mesh I 1 :
( z 1 + z 2 )I 1 – z 2 I 3 = V S
Mesh I 2 :
( z 1 + z 2 + z 7 )I 2 – z 3 I 3 – z 5 I 4 = 0
Mesh I 3 :
– z 2 I 1 – z 3 I 2 + ( z 2 + z 3 + z 4 )I 3 – z 4 I 4 = 0
Mesh I 4 :
– z 5 I 2 – z 4 I 3 + ( z 4 + z 5 + z 6 )I 4 = 0
and in matrix form
z1 + z2 0 –z2 0 I1 VS
0 z1 + z2 + z7 –z3 –z5 I2 0
⋅ =
–z2 –z3 z2 + z3 + z4 –z4 I3 0
0 –z5 –z4 z4 + z5 + z6 I4 0
3 –3
jωL 2 = j5 × 10 × 5 × 10 = j25
3 –6
– j ⁄ ωC = – j ⁄ ( 5 × 10 × 20 × 10 ) = – j10
`
`
j10 Ω 10 Ω 25 Ω j25 Ω
V S1 + V S2
+ +
VC
– j 10 Ω −
−
− 60 ∠( – 30 )° V
40 ∠60° V
We let V C = V'C + V'' C where V'C is the capacitor voltage due to V S1 acting alone, and V'' C is the
capacitor voltage due to V S2 acting alone. With V S1 acting alone the circuit reduces to that
shown below.
z1 z2
`
`
j10 Ω 10 Ω 25 Ω j25 Ω
V S1
+ +
z3
V'C
– j 10 Ω −
−
40 ∠60° V
By KCL
V'C – V S1 V'C V'C
--------------------- + ------ + ------ = 0
z1 z2 z3
⎛ --- 1- ⎞ V' = V
1- + ---
1- + --- S1
--------
⎝z z2 z3 ⎠ C z1
1
V S1 V S1
V'C = --------------------------------------------
- = ---------------------------------
-
⎛ 1 1 1 ⎞ ⎛ z1 z1 ⎞
z 1 ⋅ ---- + ---- + ---- 1 + ---- + ----
⎝z z2 z3 ⎠ ⎝ z2 z3 ⎠
1
Next, with V S2 acting alone the circuit reduces to that shown below.
z1 z2
`
`
j10 Ω 10 Ω 25 Ω j25 Ω
+ + V S2
z3 V''C
– j 10 Ω −
−
60 ∠( – 30 )° V
By KCL
V''C V''C V''C – V S2
------- + ------- + ---------------------- = 0
z1 z2 z3
1 1 1 ⎞
⎛ --- V S2
- + ---- + ---- V''C = --------
⎝z z2 z3 ⎠ z3
1
V S2 V S2
V''C = --------------------------------------------
- = ---------------------------------
-
1 1 1
z 3 ⋅ ⎛ ---- + ---- + ---- ⎞ ⎛ z---3- + --- z3
-+1 ⎞
⎝z z2 z3 ⎠ ⎝z z2 ⎠
1 1
and with MATLAB
Vs2=60*(cos(pi/6)−j*sin(pi/6));...
z1=10+10j; z2=−10j; z3=25+25j; V1c=36.7595−5.2962j;...
V2c=Vs2/(z3/z1+z3/z2+1); Vc=V1c+V2c; fprintf(' \n');...
disp('V1c = '); disp(V1c); disp('V2c = '); disp(V2c);...
disp('Vc=V1c+V2c'); fprintf(' \n'); disp('Vc = '); disp(Vc);...
fprintf('magVc = %4.2f V \t',abs(Vc));...
fprintf('phaseVc = %4.2f deg \t',angle(Vc)*180/pi);...
fprintf(' \n'); fprintf(' \n');
V1c = 36.7595 - 5.2962i
V2c = -3.1777 - 22.0557i
Vc = V1c+V2c
Vc = 33.5818 - 27.3519i
magVc = 43.31 V phaseVc = -39.16 deg
Then,
V C = V'C + V'' C = 33.58 – j27.35 = 43.31 ∠27.35°
and
v C ( t ) = 43.31 cos ( 5000t – 27.35° )
5. This circuit is excited by a DC (constant) voltage source, an AC (sinusoidal) voltage source, and
an AC current source of different frequency. Therefore, we will apply the superposition principle.
Let V'C be the capacitor voltage due to v S1 acting alone, V''C the capacitor voltage due to v S2 ( t )
acting alone, and V'''C the capacitor voltage due to i S ( t ) acting alone. Then, the capacitor voltage
due to all three sources acting simultaneously will be V C = V'C + V''C + V'''C
With the DC voltage source acting alone, after steady-state conditions have been reached the
inductors behave like short circuits and the capacitor as an open circuit and thus the circuit is sim-
plified as shown below.
10 Ω
+
+
+ V'C VR 5Ω
5Ω
−
15 V −
−
5
V'C = V R = --------------- ⋅ 15 = 5 V DC
5Ω 10 +5
and
v'C ( t ) = 5 V DC
Next, with the sinusoidal voltage source v S2 ( t ) acting alone the reactances are
3 –3
jω 1 L 1 = j10 × 1 × 10 = j1 Ω
3 –3
jω 1 L 2 = j10 × 2 × 10 = j2 Ω
3 –4
– j ⁄ ω 1 C = – j ⁄ ( 10 × 5 × 10 ) = – j 2 Ω
z1 z3
`
`
j1 Ω 10 Ω 25 Ω j2 Ω
V S2
+ +
z2
V''C
– j 10 Ω −
−
20 ∠0° V
By KCL
V''C – V S2 V''C V''C
---------------------- + ------- + ------- = 0
z1 z2 z3
⎛ --- 1- ⎞ V'' = V
1- + ---
1- + --- S2
--------
⎝z z z ⎠ C z
1 2 3 1
V S2 V S2
V''C = --------------------------------------------
- = ----------------------------------
-
⎛ 1 1 1 ⎞ ⎛ z1 z1 ⎞
z 1 ⋅ ---- + ---- + ---- 1 + ---- + ----
⎝z z2 z3 ⎠ ⎝ z2 z3 ⎠
1
Finally, with the sinusoidal current source i S ( t ) acting alone the reactances are
3 –3
jω 2 L 1 = j2 × 10 × 1 × 10 = j2 Ω
3 –3
jω 2 L 2 = j2 × 10 × 2 × 10 = j4 Ω
3 –4
– j ⁄ ω 2 C = – j ⁄ ( 2 × 10 × 5 × 10 ) = – j 1 Ω
and the equivalent phasor circuit is as shown below where the current source and its parallel resis-
tance have been replaced with a voltage source with a series resistor.
z1 z3
`
`
j2 Ω 10 Ω 5Ω j4 Ω
+ + V S3
z2
V'''C
–j 1 Ω − −
20 ∠0° V
By KCL
V'''C V'''C V'''C – V S3
-------- + -------- + ----------------------- = 0
z1 z2 z3
1 1 1 ⎞
⎛ --- V S3
- + ---- + ---- V'''C = --------
⎝z z2 z3 ⎠ z3
1
V S3 V S3
V'''C = --------------------------------------------
- = ---------------------------------
-
⎛ 1 1 1 ⎞ ⎛ z3 z3 ⎞
z 3 ⋅ ---- + ---- + ---- ---- + ---- + 1
⎝z z2 z3 ⎠ ⎝z z2 ⎠
1 1
These waveforms are plotted below using the following MATLAB code:
wt=linspace(0,2*2*pi); deg=wt*180/pi; V1c=5;
V2c=3.97.*cos(wt−62.9.*pi./180);
14
12
10 vC ( t )
6 v' C = 5 V DC
-2
v'''C ( t ) v''C ( t )
-4
0 100 200 300 400 500 600 700 800
6. Since Z S and Z LOAD are complex quantities, we will express them as Z S = Re { Z S } + jIm { Z S }
and Z LOAD = Re { Z LOAD } + jIm { Z LOAD } where Re and Im denote the real and imaginary com-
ponents respectively.
We want to maximize
2
2 vS
p LOAD = i LOAD ⋅ Z LOAD = ----------------------------------2- ⋅ Z LOAD
( Z S + Z LOAD )
2
v S ⋅ Z LOAD
= --------------------------------------------------------------------------------------------------------------------------------------
-
2
[ Re { Z S } + jIm { Z S } + j ( Re { Z LOAD } + jIm { Z LOAD } ) ]
The only that can vary are Re { Z LOAD } and Im { Z LOAD } and we must consider them indepen-
dently from each other.
From the above expression we observe that p LOAD will be maximum when the denominator is
minimum and this will occur when Im { Z LOAD } = – Im { Z S } , that is, when the imaginary parts of
Z LOAD and Z S cancel each other. Under this condition, p LOAD simplifies to
2
v S ⋅ R LOAD
p LOAD = -----------------------------------
-
2
( R S + R LOAD )
and, as we found in Chapter 3, for maximum power transfer R LOAD = R S . Therefore, the load
impedance Z LOAD will receive maximum power when
Z LOAD = Z S∗
7. For this, and other similar problems involving the maximum power transfer theorem, it is best to
replace the circuit with its Thevenin equivalent. Moreover, we only need to compute Z TH .
For this problem, to find Z TH we remove Z LOAD and we short the voltage source. The remaining
circuit then is as shown below.
X Y
z3 z5
z1 z2 z4 z6
We observe that z 1 is in parallel with z 2 and this combination is shown as z 12 in the simplified cir-
cuit below.
X Y
z3 z5
z 12 z4 z6
But this circuit cannot be simplified further unless we perform Wye to Delta transformation
which we have not discussed. This and the Delta to Wye transformation are very useful in three-
phase circuits and are discussed in Circuit Analysis II with MATLAB Applications by this author.
Therefore, we will compute Z TH using the relation Z TH = V OC ⁄ I SC where V OC is the open circuit
voltage, that is, V TH and I SC is the current that would flow between the terminals when the load is
replaced by a short. Thus, we will begin our computations with the Thevenin voltage.
We disconnect Z LOAD from the circuit at points X and Y as shown below.
X Y
Z LD
4Ω
10 Ω 5Ω
+
`
− j5
20 Ω
−j10
170 ∠0°
We will replace the remaining circuit with its Thevenin equivalent. Thus, with Z LOAD discon-
nected the circuit simplifies to that shown below.
4Ω X 10 Ω 5Ω Y
z1 1 V z3 2 V2 VY z5
1
+ VS `
z2 20 Ω j5 Ω
− z4
170 ∠0° – j 10 Ω
At Node 1:
V1 – VS V1 V1 – V2
------------------ + ------ + ------------------ = 0
z1 z2 z3
1 1 1 ⎞
⎛ --- 1 V
- + ---- + ---- V 1 – ---- V 2 = -----S-
⎝z z2 z3 ⎠ z3 z1
1
At Node 2:
V2 – V1 V2 V2
------------------ + ------ + ------ = 0
z3 z4 z5
1 1 1 1
– ---- V 1 + ⎛ ---- + ---- + ---- ⎞ V 2
z3 ⎝z z4 z5 ⎠
3
and with MATLAB
Vs=170; z1=4; z2=20; z3=10; z4=5j; z5=5−10j;...
z1 X I SC Y
a
4Ω I4
10 Ω 5Ω
VS
+ b z3 z5
z6
`
− I 20 Ω z2 z4 j5
1
170 ∠0° I2 I3 −j10
We will write four mesh equations as shown above but we only are interested in phasor current I 4 .
Observing that a and b are the same point the mesh equations are
( z1 + z2 ) I1 – z2 I2 = VS
– z2 I1 + ( z2 + z3 + z4 ) I2 – z4 I3 – z3 I4 = 0
– z4 I2 + ( z4 + z5 + z6 ) I3 – z5 I4 = 0
– z3 I2 – z5 I3 + ( z3 + z5 ) I4 = 0
With MATLAB
Vs=170; VTH=126.92−15.39j; z1=4; z2=20; z3=10; z4=5j; z5=5; z6=−10j;...
Z=[z1+z2 −z2 0 0; −z2 z2+z3+z4 −z4 −z3; 0 −z4 z4+z5+z6 −z5; 0 −z3 −z5 z3+z5];...
V=[Vs 0 0 0]'; I=Z\V; I1=I(1); I2=I(2); I3=I(3); I4=I(4);...
ZTH=VTH/I4; fprintf(' \n'); disp('I1 = '); disp(I1); disp('I2 = '); disp(I2);...
disp('I3 = '); disp(I3); disp('I4 ='); disp(I4); disp('ZTH ='); disp(ZTH); fprintf(' \n');
I1 = 15.6745 - 2.6300i
I2 = 10.3094 - 3.1559i
I3 = -1.0520 + 10.7302i
I4 = 6.5223 + 1.4728i
ZTH = 18.0084 - 6.4260i
Thus, Z TH = 18.09 – j6.43 Ω and by Problem 6, for maximum power transfer there must be
Z LOAD = Z∗TH or
Z LOAD = 18.09 + j6.43 Ω
4Ω 10 Ω 5Ω
I5
+ VS I4 I 10 ` IC
20 Ω j5
− IL
I 20 −j10
I 5 = 1 ∠0° A
Then,
V 5 = 5 ∠0° V
and since I C = I 5
Next,
V L = V 5 + V C = 5 ∠0° + 10 ∠– 90° = 5 + ( – j10 ) = 5 – j10 = 11.18 ∠– 63.4° V
and
Continuing we find
V 20 = V 10 + V L = – 10 – j10 + 5 – j10 = – 5 – j20 V
and
I 20 = V 20 ⁄ 20 = ( – 5 – j20 ) ⁄ 20 = – 0.25 – j A
Also,
I 4 = I 20 + I 10 = – 0.25 – j – 1 – j = – 1.25 – j2 A
and
V 4 = 4I 4 = 4 × ( – 1.25 – j2 ) = – 5 – j8 V
Finally,
V S = V 4 + V 20 = – 5 – j8 – 5 – j20 = – 10 – j28 = 29.73 ∠– 109.7° V
The magnitudes (not to scale) and the phase angles are shown below.
I5 = IC
I10
I4
I20
IL
V 10
V4 VL
V 20 V C
VS
The phasor diagram above is acceptable. However, it would be more practical if we rotate it by
109.7° to show the voltage source V S as reference at 0° as shown below.
I5 = IC VL
I20 VC
I4 V 20
I10 VS
V4
V 10
IL
z3
z2
3 KΩ
1 KΩ V
z1
V IN = 3 ∠0° V V OUT
1 1 ⎞
⎛ --- – V IN
- + ---- V OUT = -----------
-
⎝z z3 ⎠ z1
2
or
– V IN – V IN
V OUT = ---------------------------------
- = ------------------------
-
z 1 ⋅ ⎛ --- 1- + --- 1- ⎞ ⎛ z---1- + z---1- ⎞
⎝z z3 ⎠ ⎝z z3 ⎠
2 2
and with MATLAB
Vin=3; z1=1000; z2=3000; z3=−4000j; Vout=−Vin/(z1/z2+z1/z3);...
fprintf(' \n'); disp('Vout = '); disp(Vout); fprintf('magVout = %5.2f V \t',abs(Vout));...
fprintf('phaseVout = %5.2f deg \t',angle(Vout)*180/pi); fprintf(' \n'); fprintf(' \n');
Thus,
V OUT = – 5.76 + j4.32 = 7.2 ∠143.13° V
and
v out ( t ) = 7.2 cos ( 1000t + 143.13° ) V
NOTES
T
his chapter defines average and effective values of voltages and currents, instantaneous and
average power, power factor, the power triangle, and complex power. It also discusses electri-
cal instruments that are used to measure current, voltage, resistance, power, and energy.
f ( t ) = f ( t + nT ) (8.1)
where n is a positive integer and T is the period of the periodic time function. The sinusoidal and
sawtooth waveforms of Figure 8.1 are examples of periodic functions of time.
cos(ωt+θ)
cosωt
T T
T T
T T T T
Other periodic functions of interest are the square and the triangular waveforms.
t
a b
is defined as
b
1 1
∫a f ( t ) d t
b
f ( t ) ave = ------------ = ------------ ( area a ) (8.2)
b–a b–a
The average value of a periodic time function f ( t ) is defined as the average of the function over one period.
Example 8.1
Compute the average value of the sinusoid shown in Figure 8.3, where V p denotes the peak (maxi-
mum) value of the sinusoidal voltage.
v(t)
Vp V p sin ω t
π 3π /2 ω t (r)
0
π /2 2π
−V p
T
Solution:
By definition,
T ωT Vp 2π
1 1
V ave = ---
T ∫0 v ( t ) dt = -------
ωT ∫0 V p sin ω t d( ωt ) = ------
2π ∫0 sin ω t d( ω t )
2π 0
Vp Vp Vp
= ------ ( – cos ω t ) = ------ ( cos ω t ) = ------ ( 1 – 1 ) = 0
2π 0
2π 2π
2π
as expected since the net area of the positive and negative half cycles is zero.
Example 8.2
Compute the average value of the half-wave rectification waveform shown in Figure 8.4.
π 2π
T Radians
Solution:
This waveform is defined as
In other words, the average value of the half-wave rectification waveform is equal to its peak value
divided by π .
2 2
Average Power = P ave = RI eff = RI dc (8.5)
∫ ∫ ∫
1 1 R
2 2
P ave = --- p ( t ) dt = --- Ri dt = --- i dt (8.7)
T T T
0 0 0
∫
2 R 2
RI eff = --- i dt
T
0
or
T
1
∫0 i
2 2
I eff = --- dt
T
or
∫
1 2 2
I eff = --- i dt = I Root Mean Square = I RMS = Ave ( i ) (8.8)
T
0
Caution 1: In general, ave ( i 2 ) ≠ ( i ave ) 2 since the expression ave ( i 2 ) implies that the function i
must first be squared and the average of the squared value is then to be found. On the
other hand, ( i ave ) 2 implies that the average value of the function must first be found
and then the average must be squared. The waveform of Figure 8.5 illustrates this point.
sqrt(ave(i2)) ≠ 0 ave(i2) ≠ 0
i2
i
T T T
∫ ∫ ∫
1 1 1
P ave = --- p ( t ) dt = --- v ( t )i ( t ) dt = --- ( V p cos ωt ) [ I p cos ( ωt + ϕ ) ] dt ≠ 0
T T T
0 0 0
Let
i = I p cos ( ω t – θ )
then,
T 2π
1 2 1 2 2
∫0 ∫0
2
I RMS = --- i dt = ------ I p cos ( ω t – θ ) d( ω t )
T 2π
and using the identity
2 1
cos φ = --- ( cos 2 φ + 1 )
2
we get
2
2 Ip 2π 2π
I RMS = ------
4π ∫0 cos ( 2 ω t – θ ) d( ω t ) + ∫0 d( ω t )
2 2
(8.9)
I p sin ( 2 ω t – θ ) 2π I p sin ( 4 π – θ ) – sin ( – θ )
2π
= ------ -----------------------------
- + ( ω t 0 ) = ------ ---------------------------------------------------- + 2π
4π 2 0
4π 2
and therefore,
Ip
I RMS = ------
- = 0.707I p
2 (8.10)
FOR SINUSOIDS ONLY
We observe that the RMS value of a sinusoid is independent of the frequency and phase angle, in
other words, it is dependent on the amplitude of the sinusoid only.
Example 8.3
Compute the I ave and I RMS for the sawtooth waveform shown in Figure 8.7.
i(t)
10 A
t
Figure 8.7. Waveform for Example 8.3
Solution:
By inspection, the period T is as shown in Figure 8.8.
i(t)
10 A
t
T
Figure 8.8. Defining the period for the waveform of Example 8.3
To find I RMS we cannot use (8.10); this is for sinusoids only. Accordingly, we must use the definition
of the RMS value as derived in (8.8). Then,
T
3 3
1 T
1 T
⎛ 10
2 1 ⎛ 100 t ⎞ 1 ⎛ 100 T ⎞
------ t⎞ dt = --- ⎜ --------- ⋅ ---- ⎟ = --- ⎜ --------- ⋅ ------ ⎟ = 100
2 2
I RMS = ---
T ∫0 i ( t ) dt = ---
T ∫0 ⎝T ⎠ T ⎝ T2 3 ⎠ T ⎝ T2 3 ⎠
---------
3
0
or
I RMS = 100 10- = 5.77 A
--------- = ------
3 3
where I 0 represents a constant current, and I 1, I 2 …, I N represent the amplitudes of the sinusoids.
Then, the RMS value of i is found from
2 2 2 2
I RMS = I 0 + I 1 RMS + I 2 RMS + … + I N RMS (8.12)
or
2 1 2 1 2 1 2
I RMS = I 0 + --- I + --- I + … + --- I (8.13)
2 1p 2 2p 2 Np
Example 8.4
Find the I RMS value of the square waveform of Figure 8.9 by application of (8.12)
ωt
−1
ωt
π 2π
−1
1 π 2π 1
= ------ [ ω t 0 + ω t π
] = ------ [ π + 2 π – π ] = 1
2π 2π
or
I RMS = 1 (8.14)
b. Fourier series analysis textbooks* show that the square waveform above can be expressed as
4 1 1
i ( t ) = --- ⎛ sin ω t + --- sin 3 ω t + --- sin 5 ω t + …⎞ (8.15)
π⎝ 3 5 ⎠
* Such a textbook is Signals and Systems with MATLAB Applications, ISBN 0-9709511-3-2 by this author.
and as we know, the RMS value of a sinusoid is a real number independent of the frequency
and the phase angle, and it is equal to 0.707 times its peak value, that is, I RMS = 0.707 × I p .
Then from (8.12) and (8.15),
4 1 2 1 1 2 1 1 2
I RMS = --- 0 + --- ( 1 ) + --- ⎛ --- ⎞ + --- ⎛ --- ⎞ + … = 0.97 (8.16)
π 2 2⎝ 3 ⎠ 2⎝ 5 ⎠
The numerical accuracy of (8.16) is good considering that higher harmonics have been
neglected.
R i LOAD ( t )
Rest of +
Load v LOAD ( t )
the Circuit
vS ( t ) −
Figure 8.11. Network where it is assumed that i LOAD ( t ) and v LOAD ( t ) are out-of-phase
We will assume that the load current i LOAD ( t ) is θ degrees out-of-phase with the voltage v LOAD ( t ) ,
i.e., if v LOAD ( t ) = V p cos ω t , then i LOAD ( t ) = I p cos ( ω t + θ ) . We want to find an expression for the
average power absorbed by the load.
As we know
p = vi
that is,
ins tan tan eous power = ins tan tan eous voltage × ins tan tan eous current
Vp Ip
p LOAD ( t ) = ----------- [ cos ( 2 ω t + θ ) + cos θ ] (8.18)
2
and the average power is
1 T
1 T Vp Ip
⎛ ----------
- [ cos ( 2 ω t + θ ) + cos θ ]⎞ dt
P ave LOAD = ---
T ∫0 p LD dt = ---
T ∫0 ⎝ 2 ⎠
(8.19)
Vp Ip T Vp Ip T
= -----------
2T ∫0 ( [ cos ( 2 ω t + θ ) ] ) dt + -----------
2T ∫0 cos θ dt
We observe that the first integral on the right side of (8.19) is zero, and the second integral, being a
constant, has an average value of that constant. Then,
V p Ip
P ave LOAD = ---------- cos θ (8.20)
2
P ave LOAD
= V RMS LOAD I RMS LOAD cos θ (8.21)
and it is imperative that we remember that these relations are valid for circuits with sinusoidal excitations.
The term cos θ in (8.20) and (8.21) is known as the power factor and thus
P ave LOAD
Power FactorLOAD = PF LOAD = cos θ LOAD = ------------------------------------------------------ (8.22)
V RMS LOAD I RMS LOAD
or
2 2
V RMS R 2 1 Vm R 1 2
P ave R - = I RMS R R = --- ----------- = --- I p R R
= ---------------- (8.24)
R 2 R 2
Example 8.5
For the circuit of Figure 8.11, find the average power supplied by the voltage source, the average
power absorbed by the resistor, the inductor, and the capacitor.
10 Ω j20 Ω
`
V S = 170 ∠0° – j 10 Ω
Example 8.6
For the circuit of Figure 8.13, find the power absorbed by each resistor, and the power supplied (or
absorbed) by the current sources.
Solution:
This is the same circuit as in Example 7.1 where we found that
V A = – 4.138 + j19.655 = 20.086 ∠101.9° (8.28)
VA 2Ω j3 Ω VB
`
4Ω 8Ω
and
V B = – 22.414 – j1.035 = 22.440 ∠– 177.4 ° (8.29)
Then,
1 2 1 2
P ave 4 Ω = --- I ( 4 Ω ) = --- × 2.786 × 4 = 15.52 w (8.31)
2 p4Ω 2
Likewise,
VB 22.440 ∠– 177.4 °
- = ---------------------------------------- = 2.627 ∠– 156.7 °
I 8 Ω = -------------
8 – j3 8.54 ∠– 20.6°
and
1 2 1 2
P ave 8 Ω = --- I ( 8 Ω ) = --- × 2.627 × 8 = 27.61 w (8.32)
2 p8Ω 2
The voltages across the current sources are the same as VA and VB but they are 101.9° and – 177.4°
out-of-phase respectively with the current sources as shown by (8.28) and (8.29). Therefore, we let
θ 1 = 101.9° and θ 2 = – 177.4 ° . Then, the power absorbed by the 5 A source is
Vp Ip VA 5 A
P ave 5 A = ----------- cos θ 1 = --------------------- cos ( 101.9° )
2 2
(8.33)
20.086 × 5
= ------------------------- × ( – 0.206 ) = – 10.35 w
2
T T T
1 1 v2 1
∫0 ∫0 ∫0 i R dt
2
P ave = --- p dt = --- ------ dt = --- (8.35)
T T R T
Example 8.7
Compute the average power absorbed by a 5 Ω resistor when the voltage across it is the half-wave
rectification waveform shown in Figure 8.14.
10sinωt
1 2
t (ms)
Solution:
We first need to find the numerical value of ω . It is found as follows:
–3 2π 3
T = 2 ms = 2 × 10 s ωT = 2π ω = ------ = 10 π
T
and thus
3
10 sin ωt = 10 sin 10 π
Then,
T –3 2 2 3 –3
1 v2 1 10 10 sin 10 π t 2 × 10
P ave = ---
T ∫0 ------ dt = --------------------
R 2 × 10
–3 ∫0 ---------------------------------- +
5 ∫ 10 –3
0 dt
or
–3 –3 –3
100 10 1 10 10 3
P ave = ----------------------
10 × 10
–3
-
∫0 --- ( 1 – cos 2 × 10 3 πt )dt = 5 × 10 3
2 ∫0 dt – ∫0 cos 2 × 10 π t dt
–3
10
⎛ 3 3 –3 ⎞
sin 2 × 10 π t sin 2 × 10 π × 10
= ⎜ 5 × 10 t – ------------------------------- – ---------------------------------------------- ⎟
3 3 –3
= 5 × 10 10
⎜ 3 3 ⎟
⎝ 2 × 10 π 2 × 10 π ⎠
0
and since sin 2n π = 0 for n = integer , the last term of the expression above reduces to
P ave = 5 w
θ1
V LOAD
I LOAD
In Figure 8.14, the cosine of the angle θ 1 , that is, cos θ 1 is referred to as lagging power factor and it is
denoted as pf lag.
The term “inductive load” means that the load is more “inductive” (with some resistance) than it is
“capacitive”. But in a “purely inductive load” θ 1 = 90° and thus the power factor is
By definition a capacitive load is said to have a leading power factor. Again, this refers to the phase angle
of the current through the load with respect to the voltage across this load as shown in Figure 8.16.
I LOAD
θ2
V LOAD
In Figure 8.16, the cosine of the angle θ 2 , that is, cos θ 2 is referred to as leading power factor and it is
denoted as pf lead.
The term “capacitive load” means that the load is more “capacitive” (with some resistance) than it is
“inductive”. But in a “purely capacitive load” θ 2 = 90° and thus the power factor is
This relation can be represented by the so-called power triangle. Figure 8.17 (a) shows the power tri-
angle of an inductive load, and Figure 8.16 (b) shows the power triangle for both a capacitive load.
P real = P ave
θ Pa
−Q
Q
Pa θ
P real = P ave
(a) Power Triangle for Inductive Load (b) Power Triangle for Capacitive Load
In a power triangle, the product V RMS × I RMS is referred to as the apparent power, and it is denoted as
P a . The apparent power is expressed in volt – amperes or VA . The product V RMS × I RMS × sin θ is
referred to as the reactive power, and it is denoted as Q . The reactive power is expressed in
volt – amperes reactive or VAR . Thus, for either triangle of Figure 8.17,
The apparent power P a is the vector sum of the real and reactive power components, that is,
where the (+) sign is used for inductive loads and the (−) sign for capacitive loads. For this reason,
the relation of (8.41) is known as the complex power.
Example 8.8
For the circuit shown in Figure 8.18, find:
a. the average power delivered to the load
b. the average power absorbed by the line
c. the apparent power supplied by the voltage source
d. the power factor of the load
e. the power factor of the line plus the load
R line = 1 Ω
VS
Load
10 + j10
480 ∠0° V RMS
R line = 1 Ω
Figure 8.18. Circuit for Example 8.8
Solution:
For simplicity, we redraw the circuit as shown in Figure 8.19 where the line resistances have been
combined into a single 2 Ω resistor.
R line = 2 Ω
VS Z LD
Load
I RMS
10 + j10
480 ∠0° V RMS
Figure 8.19. Circuit for Example 8.8 with the line resistances combined
and therefore, the current lags the voltage as shown on the phasor diagram of Figure 8.20.
VS
– 39.8°
I
Figure 8.20. Phasor diagram for the circuit of Example 8.8
Then,
a. The average power delivered to the load is
2 2
P ave LOAD = I RMS Re { Z LOAD } = ( 30.73 ) × 10 = 9443 w = 9.443 Kw
losses in the utility’s transmission and distribution system. For this reason, electric utility companies
impose a penalty on industrial facility customers who operate at a low power factor, typically lower
than 0.85 . Accordingly, facility engineers must install the appropriate equipment to raise the power
factor.
The power factor correction procedure is illustrated with the following example.
Example 8.9
In the circuit shown in Figure 8.21, the resistance of the lines between the voltage source and the
load and the internal resistance of the source are considered small, and thus can be neglected.
VS
1 Kw Load
@ pf =0.8 lag
480 ∠0° V RMS 60 Hz
It is desired to “raise” the power factor of the load to 0.95 lagging. Compute the size and the rating
of a capacitor which, when added across the load, will accomplish this.
Solution:
The power triangles for the existing and desired power factors are shown in Figure 8.22.
1 Kw 1 Kw
θ2 Q2
θ1
Q1
–1 –1
θ 1 = cos 0.8 = 36.9° θ 2 = cos 0.95 = 18.2°
Figure 8.22. Power triangles for existing and desired power factors
Since the voltage across the given load must not change (otherwise it will affect the operation of it),
it is evident that a load, say Q 3 , in opposite direction of Q 1 must be added, and must be connected
in parallel with the existing load. Obviously, the Q 3 load must be capacitive. Accordingly, the circuit
of Figure 8.21 must be modified as shown in Figure 8.23.
IC
VS
1 Kw Load Capacitive
@ pf =0.8 lag Load with
Leading pf
480 ∠0° V RMS 60 Hz
and for the desired pf = cos θ 2 = 0.95 , the VAR value of Q 2 must be reduced to
Q3 = IC VC = IC VS
Then,
Q3 421
I C = ----------------
- = --------- = 0.88 A
V S RMS 480
and
V 480- = 547 Ω
X C = ------C = ---------
IC 0.88
Therefore, the capacitive load must consist of a capacitor with the value
1 1 1
C = ---------- = ---------------- = ------------------------------- = 4.85 µF
ω XC 2 π f XC 2 π ( 60 ) ( 547 )
However, not any 4.85 µF capacitor will do; the capacitor must be capable of withstanding a maxi-
mum voltage of
V C max = 2 × 480 = 679 V
and for all practical purposes, we can choose a 5 µF capacitor rated at 700 volts or higher.
8.13 Instruments
Ammeters are electrical instruments used to measure current in electric circuits, voltmeters measure
voltage, ohmmeters measure resistance, wattmeters measure power, and watt-hour meters measure elec-
tric energy. Voltmeters, Ohmmeters, and Milliammeters (ammeters which measure current in milli-
amperes) are normally combined into one instrument called VOM. Figure 8.24 shows a typical ana-
log type VOM, and Figure 8.25 shows a typical digital type VOM. We will see how a digital VOM
can be constructed from an analog VOM equivalent at the end of this section. An oscilloscope is an
electronic instrument that produces an instantaneous trace on the screen of a cathode-ray tube cor-
responding to oscillations of voltage and current. A typical oscilloscope is shown in Figure 8.26.
DC ammeters and voltmeters read average values whereas AC ammeters and voltmeters read RMS values.
The basic meter movement consists of a permanent horse shoe magnet, an electromagnet which
typically is a metal cylinder with very thin wire wound around it which is referred to as the coil, and
a control spring. The coil is free to move on pivots, and when there is current in the coil, a torque is
produced that tends to rotate the coil. Rotation of the coil is restrained by a helical spring so that the
motion of the coil and the pointer which is attached to it, is proportional to the current in the coil.
An ammeter measures current in amperes. For currents less than one ampere, a milliammeter or
microammeter may be used where the former measures current in milliamperes and the latter in
microamperes.
Ammeters, milliammeters, and microammeters must always be connected in series with the circuits in which
they are used.
Often, the electric current to be measured, exceeds the range of the instrument. For example, we
cannot directly measure a current of 5 to 10 milliamperes with a milliammeter whose range is 0 to
1 milliampere. In such a case, we can use a low range milliammeter with a shunt (parallel) resistor as
shown in Figure 8.27, where the circle with mA represents an ideal milliammeter (a milliammeter
with zero resistance). In Figure 8.27 I T is the total current to be measured, I M is the current through
the meter, I S is the current through the shunt resistor, R M is the milliammeter internal resistance,
and R S is the shunt resistance.
IT IM IT
mA
RM
RS
IS
Figure 8.27. Milliammeter with shunt resistor R S
From the circuit of Figure 8.27, we observe that the sum of the current flowing through the mil-
liammeter I M and the current I S through the shunt resistor is equal to the total current I S , that is,
IT = IM + IS (8.41)
Also, the shunt resistor R S is in parallel with the milliammeter branch; therefore, the voltages across
these parallel branches are equal, that is,
RM IM = RS IS
IM
R S = ----- R M (8.42)
IS
Example 8.10
In the circuit of Figure 8.28, the total current entering the circuit is 5 mA and the milliammeter
range is 0 to 1 milliampere, that is, the milliammeter has a full-scale current I fs of 1 mA , and its
internal resistance is 40 Ω . Compute the value of the shunt resistor R S .
Solution:
The maximum current that the milliammeter can allow to flow through it is 1 mA and since the total
current is 5 milliamperes, the remaining 4 milliamperes must flow through the shunt resistor, that
is,
I S = I T – I M = 5 – 1 = 4 mA
The required value of the shunt resistor is found from (8.42), i.e.,
IM 1
R S = ----- R M = --- × 40 = 10 Ω
IS 4
Check: The calculated value of the shunt resistor is 10 Ω ; this is one-fourth the value of the mil-
liammeter internal resistor of 40 Ω . Therefore, the 10 Ω resistor will allow four times as
much current as the milliammeter to flow through it.
A multi-range ammeter/milliammeter is an instrument with two or more scales. Figure 8.29 shows the
circuit of a typical multi-range ammeter/milliammeter.
IM
IT A
+
RS
RM
IT IS
−
Figure 8.29. Circuit for a multi-range ammeter/milliammeter
A voltmeter, as stated earlier, measures voltage in volts. Typically, a voltmeter is a modified milliam-
meter where an external resistor R V is connected in series with the milliammeter as shown in Figure
8.30 where
I = current through circuit
+ −
VM
VM
R V = ------
- – RM (8.43)
IM
Voltmeters must always be connected in parallel with those devices of the circuit whose voltage is to be mea-
sured.
Example 8.11
Design a voltmeter which will have a 1 volt full-scale using a milliammeter with 1 milliampere full-
scale and internal resistance 100 Ω .
Solution:
The voltmeter circuit consists of the milliammeter circuit and the external resistance R V as shown in
Figure 8.31.
IM 100 Ω
mA
RM RV
+ −
VM
Here, we only need to compute the value of the external resistor R V so that the voltage across the
series combination will be 1 volt full scale. Then, from (8.43),
VM 1
- – R M = ---------- – 100 = 1000 – 100 = 900 Ω
R V = ------ (8.44)
IM 10
–3
99.9 kΩ
100 V
9.9 kΩ I 100 Ω
mA
10 V RM
IM = 1 mA fs
900 Ω
1V
VM
−
+
An Ohmmeter measures resistance in Ohms. In the series type Ohmmeter, the resistor R X whose
resistance is to be measured, is connected in series with the Ohmmeter circuit shown in Figure 8.33.
I
VS mA
RM Zero ∞ 0
+ Adjust RX
−
We observe from Figure 8.33 that for the series type Ohmmeter, the current I is maximum when
the resistor R X is zero (short circuit), and the current is zero when R X is infinite (open circuit). For
this reason, the 0 (zero) point appears on the right-most point of the Ohmmeter scale, and the
infinity symbol appears on the left-most point of the scale.
Figure 8.34 shows the circuit of a shunt (parallel) type Ohmmeter where the resistor R X whose value
is to be measured, is in parallel with the Ohmmeter circuit.
VS
+ Zero ∞
− 0
Adjust
I
mA
RM
RX
From Figure 8.34 we see that, for the shunt type Ohmmeter, the current through the milliammeter
circuit is zero when the resistor R X is zero (short circuit) since all current flows through that short.
However, when R X is infinite (open circuit), the current through the milliammeter branch is maxi-
mum. For this reason, the 0 (zero) point appears on the left-most point of the Ohmmeter scale, and
the infinity symbol appears on the right-most point of the scale.
An instrument which can measure unknown resistance values very accurately is the Wheatstone Bridge
shown in Figure 8.35.
R1
VS R3 0 µA
VA VB − +
+ µA
−
R2 R4
One of the resistors, say R 4 , is the unknown resistor whose value is to be measured, and another
resistor, say R 3 is adjusted until the bridge is balanced, that is, until there is no current flow through
the meter of this circuit. This balance occurs when
R1 R
------ = -----3-
R2 R
4
Example 8.12
In the Wheatstone Bridge circuit of Figure 8.36, resistor R 3 is adjusted until the meter reads zero,
and when this occurs, its value is 120 Ω . Compute the value of the unknown resistor R 4 .
R1 R3
VS 600 Ω 120 Ω 0 µA
VA VB − +
+ µA
−
R2
200 Ω R4
Solution:
When the bridge is balanced, that is, when the current through the meter is zero, relation (8.45)
holds. Then,
R2 200
R 4 = ------ R 3 = --------- × 120 = 40 Ω
R1 600
When measuring resistance values, the voltage sources in the circuit to which the unknown resistance is con-
nected must be turned off, and one end of the resistor whose value is to be measured must be disconnected from
the circuit.
Because of their great accuracy, Wheatstone Bridges are also used to accept or reject resistors whose
values exceed a given tolerance.
A wattmeter is an instrument which measures power in watts or kilowatts. It is constructed with two
sets of coils, a current coil and a voltage coil where the interacting magnetic fields of these coils pro-
duce a torque which is proportional to the V × I product.
A watt-hour meter is an instrument which measures electric energy W , where W is the product of the
average power P in watts and time t in hours, that is, W = Pt in watt-hours. Electric utility compa-
nies use kilowatt-hour meters to bill their customers for the use of electricity.
Digital meters include an additional circuit called analog-to-digital converter (ADC).
There are different types of analog-to-digital converters such as the flash converter, the time-window
converter, slope converter and tracking converter. We will discuss the flash converter only because of its
simplicity. This and the other types are discussed in digital circuits textbooks.
As shown in Figure 8.37, the flash type ADC consists of a resistive network, comparators (denoted as tri-
angles), and an eight-to-three line encoder.
ANALOG-TO-DIGITAL CONVERTER
12 V Supply
Overflow
12 V −
+ A8
10.5 V − Comparator
+ A7 VX −
9V − + Ai
+ A6 VY
Analog Input A8 A7 A6 A5 A4 A3 A2 A1 A0 B2 B1 B0
Less than 0 V 0 0 0 0 0 0 0 0 0 x x x†
0 to less than 1.5 V 0 0 0 0 0 0 0 0 1 0 0 0
1.5 to less than 3.0 V 0 0 0 0 0 0 0 1 1 0 0 1
3.0 to less than 4.5 V 0 0 0 0 0 0 1 1 1 0 1 0
4.5 to less than 6.0 V 0 0 0 0 0 1 1 1 1 0 1 1
6.0 to less than 7.5 V 0 0 0 0 1 1 1 1 1 1 0 0
7.5 to less than 9.0 V 0 0 0 1 1 1 1 1 1 1 0 1
9.0 to less than 10.5 V 0 0 1 1 1 1 1 1 1 1 1 0
10.5 to 12 V 0 1 1 1 1 1 1 1 1 1 1 1
Greater than 12 V 1 1 1 1 1 1 1 1 1 x x x‡
† Underflow
‡ Overflow
A digital-to-analog converter (DAC) performs the inverse operation, that is, it converts digital values to
equivalent analog values.
Figure 8.38 shows a four-bit R-2R ladder network and an op-amp connected to form a DAC.
DIGITAL-TO-ANALOG CONVERTER
2R R R R 2R
−
+ +
V out
2R 2R 2R 2R −
(lsb) B0 B1 B2 B3 (msb)
− 1 Volt
8.14 Summary
• A periodic time function is one which satisfies the relation f ( t ) = f ( t + nT ) where n is a positive
integer and T is the period of the periodic time function.
• The average value of any continuous function f ( t ) over an interval a ≤ t ≤ b ,is defined as
b
1 1
∫a f ( t ) dt
b
f ( t ) ave = ------------ = ------------ ( area a )
b–a b–a
• The average value of a periodic time function f ( t ) is defined as the average of the function over
one period.
• A half-wave rectification waveform is defined as
∫
1 2 2
I eff = --- i dt = I Root Mean Square = I RMS = Ave ( i )
T
0
2 2 2 2
• For sinusoids of different frequencies, I RMS = I 0 + I 1 RMS + I 2 RMS + … + I N RMS
• For circuits with sinusoidal excitations the average power delivered to a load is
Vp Ip
P ave LOAD = ---------- cos θ = V RMS LOAD I RMS LOAD cos θ
2
where θ is the phase angle between V LOAD and I LOAD and it is within the range 0 ≤ θ ≤ 90° , and
cos θ is known as the power factor defined within the range 0 ≤ cos θ ≤ 1 .
• The average power in a resistive load is
2
V RMS R 2
P ave R = ----------------
- = I RMS R R
R
• The average power in inductive and capacitive loads is
• If the excitation in a circuit is non-sinusoidal, we can compute the average power absorbed by a
resistor from the relations
T T T
1 1 v-----2- 1
∫0 ∫0 ∫0 i R dt
2
P ave = --- p dt = --- dt = ---
T T R T
• An inductive load is said to have a lagging power factor and a capacitive load is said to have a
leading power factor.
• In a power triangle
• The apparent power P a , also known as complex power, is the vector sum of the real and reactive
power components, that is,
where the (+) sign is used for inductive loads and the (−) sign for capacitive loads.
• A power factor can be corrected by placing a capacitive load in parallel with the load of the cir-
cuit.
• Ammeters are instruments used to measure current in electric circuits. Ammeters, milliammeters,
and microammeters must always be connected in series with the circuits in which they are used.
• Voltmeters are instruments used to measure voltage. Voltmeters must always be connected in par-
allel with those devices of the circuit whose voltage is to be measured.
• Ohmmeters are instruments used to measure resistance. When measuring resistance values, the
voltage sources in the circuit to which the unknown resistance is connected must be turned off,
and one end of the resistor whose value is to be measured must be disconnected from the circuit.
• A Wheatstone Bridge is an instrument which can measure unknown resistance values very accu-
rately.
• Voltmeters, Ohmmeters, and Milliammeters (ammeters which measure current in milliamperes)
are normally combined into one instrument called VOM.
• Wattmeters are instruments used to measure power.
• Watt-Hour meters are instruments used to measure energy.
• An oscilloscope is an electronic instrument that produces an instantaneous trace on the screen of
a cathode-ray tube corresponding to oscillations of voltage and current.
• DC ammeters and DC voltmeters read average values
• AC ammeters and AC voltmeters read RMS values.
• Digital meters include an additional circuit called analog-to-digital converter (ADC).
8.15 Exercises
Multiple Choice
1. The average value of a constant (DC) voltage of 12 V is
A. 6 V
B. 12 V
C. 12 ⁄ 2 V
D. 12 × 2 V
E. none of the above
2. The average value of i = 5 + cos 100t A is
A. 5 + 2 ⁄ 2 A
B. 5 × 2 A
C. 5 ⁄ 2 A
D. 5 A
E. none of the above
3. The RMS value of a constant (DC) voltage of 12 V is
A. 12 ⁄ 2 V
B. 6 × 2 ⁄ 2 V
C. 12 V
D. 12 × 2 V
E. none of the above
4. The RMS value of i = 5 + cos 100t A is
A. 5 + 2 ⁄ 2 A
B. 5 × 2 A
C. 5 ⁄ 2 A
D. 5 A
4 8 12
Figure 8.39. Waveform for Question 6
A. 24 V
B. 16 V
C. 12 V
D. 6 V
E. none of the above
7. The RMS value of the waveform of Figure 8.40 is
i (A)
10
t (s)
1 3
Figure 8.40. Waveform for Question 7
A. 10 ⁄ 2 V
B. 10 × 2 V
C. 10 ⁄ 3 V
D. 10 × 3 V
E. none of the above
8. A current with a value of i = 5 cos 10000t A is flowing through a load that consists of the series
combination of R = 2 Ω , L = 1 mH , and C = 10 µF . The average power absorbed by this
load is
A. 25 w
B. 10 w
C. 5 w
D. 0 w
E. none of the above
9. If the average power absorbed by a load is 500 watts and the reactive power is 500 VAR , the
apparent power is
A. 0 VA
B. 500 VA
C. 250 VA
D. 500 × 2 VA
E. none of the above
10. A load with a leading power factor of 0.60 can be corrected to a lagging power factor of 0.85
by adding
A. a capacitor in parallel with the load
B. an inductor in parallel with the load
C. an inductor is series with the load
D. a capacitor in series with the load
E. none of the above
Problems
a. The average values of the current, voltage and power for this inductor.
b. The RMS values of the current and voltage.
2. Compute the average and RMS values of the voltage waveform of Figure 8.41.
v( t) V
15
t(s)
0
Figure 8.41. Waveform for Problem 2
v( t)
V
A
t(s)
0
Figure 8.42. Waveform for Problem 3
6. For the circuit of Figure 8.43, v s ( t ) = 100 cos 1000t V. Compute the average power delivered (or
absorbed) by each device.
`
2Ω 3 mH
vS ( t )
5Ω
200 µF
7. For the circuit of Figure 8.44, the input impedance of the PCB (Printed Circuit Board) is
Z IN = 100 – j100 Ω and the board must not absorb more that 200 mw of power; otherwise it
will be damaged. Compute the largest RMS value that the variable voltage source V S can be
adjusted to.
VS
ZIN PCB
8. For the multi-range ammeter/milliammeter shown in Figure 8.45, the meter full scale is 1 mA .
Compute the values of R 1, R 2, R 3, and R 4 so that the instrument will display the indicated values.
10 mA
980 Ω
IM
R1 mA
IT
+ 100 mA R2
RM =20 Ω
1A
R3
IT
−
9. The circuit of Figure 8.46 is known as full-wave rectifier. The input and output voltage waveforms
are shown in Figure 8.47. During the positive input half cycle, current flows from point A to
point B , through D 2 to point C , through the resistor R to point D , through diode D 3 to point
E , and returns to the other terminal point F of the input voltage source. During the negative
input half cycle, current flows from point F to point E, through diode D 4 to point C , through the
resistor R to point D , through the diode D 1 to point B , and returns to the other terminal point
A of the input voltage source. There is a small voltage drop v D across each diode* but it can be
neglected if v in » v D . Compute the value indicated by the DC voltmeter.
ω t (r)
0
Figure 8.47. Input and output waveforms for the network of Problem 9
* For silicon type diodes, the voltage drop is approximately 0.7 volt.
6. B
7. C
8. A
9. D
10. B
Problems
di d
1. i L = 5 + 10 sin t , v L = L ------L- = 0.5 ----- ( 5 + 10 sin t ) = 5 cos t
dt dt
a.
1 T 1 T 1 T
i L ave = ---
T ∫0 i L dt = ---
T ∫0 ( 5 + 10 sin t ) dt and since --- ∫ 10 sin t dt = 0 , it follows that
T 0
1 T 1 1 T
---
T ∫0 5 dt = --- 5T = 5 A . Likewise, v L ave = ---
T T ∫0 5 cos t dt = 0 . Also,
T T T
1 1 1 1 T
p L ave = ---
T ∫0 p L dt = ---
T ∫0 v L i L dt = ---
T ∫0 5 cos t ( 5 + 10 sin t ) dt = ---
T ∫0 ( 25 cos t + 50 sin t cos t ) dt
and using sin 2x = 2 sin x cos x it follows that 50 sin t cos t = 25 sin 2t and thus
1 T
p L ave = ---
T ∫0 ( 25 cos t + 25 sin 2t ) dt = 0
b.
1 T 2 1 T
∫0 ∫0
2 2
I L RMS = --- i L dt = --- ( 5 + 10 sin t ) dt
T T
1 T 25 T 2
∫0 ∫0
2
= --- [ 5 ( 1 + 2 sin t ) ] dt = ------ ( 1 + 4 sin t + 4 sin t ) dt
T T
T T
– cos 2x and observing that --1- 4 sin t dt = 0 and --1- cos 2t dt = 0 we get
Using sin x = 1-----------------------
2
2 ∫ ∫ T 0 T 0
25 4 T 25
I L RMS = ------ ⎛ t + --- t 0⎞ = ------ ( T + 2T ) = 75 and I L RMS =
2 T
75 = 8.66 A
T⎝ 0 2 ⎠ T
Also,
v( t) V
15
τ 4τ
5
T t(s)
0
τ 5τ
1 T 1 1
∫0 ∫0 ∫τ
2 2 2 2
V RMS = --- v dt = ----- ( 15 ) dt + ( 5 ) dt = ----- ( 225τ + 125τ – 25τ ) = 65
T 5τ 5τ
v( t)
V 2A
v ( t ) = -------
A T
t(s)
0 T
2A
Using the straight line equation y = mx + b we find that for 0 < t < T ⁄ 2 , v ( t ) = ------- t . Then,
T
T T⁄2 2 T 2 T⁄2
1 1 ⎛ 2A 1 4A
------- t⎞ dt + ---
∫0 ∫0 ∫ ∫0
2 2 2
V RMS = --- v dt = --- 0 ⋅ dt = --------
- t dt
T T ⎝T ⎠ T 3
T⁄2 T
2 T⁄2
2
4A 3 4A 2
= --------3- t = --------- = A ⁄ 6
3T 24
0
and
2 6
V RMS = A ⁄ 6 = ------- A = 0.41A
6
4. The effective (RMS) value of a sinusoid is a real number that is independent of frequency and
phase angle and for current it is equal to I RMS = I p ⁄ 2 . The RMS value of sinusoids with differ-
ent frequencies is given by (8.13). For this problem
2 1 2 1 2
I RMS = 10 + --- 2 + --- 5 = 100 + 2 + 12.5 = 10.7 A
2 2
5 µs
t(s)
1 2
For this problem we do no know the amplitude A of each 5 µs pulse but we know the average
power of one period T = 1 s . Since
Area Area
P ave = 750 w = ------------------ = ------------
Period 1s
it follows that
a. Energy transmitted during each pulse is
Area of each pulse = 750 w ⋅ s
b. The power during the transmission of a pulse is
–6 6
P = W ⁄ t = 750 w ⋅ s ⁄ 5 µs = 750 w ⋅ s ⁄ 5 × 10 = 150 × 10 w = 150 Mw
3 –3
6. The phasor equivalent circuit is shown below where jωL = j10 × 3 × 10 = j3 Ω and
3 –4
– j ⁄ ωC = – j ⁄ 10 × 2 × 10 = – j5 Ω
z1 2 Ω VC j3 Ω
`
I2 Ω IL z3
VS IC z2
5Ω
– j5 Ω
100 ∠0°
By application of KCL
VC – VS VC VC
------------------- + ------- + ------- = 0
z1 z2 z2
or
1 1 1⎞
⎛ --- V
- + ---- + ---- V C = -----S-
⎝z z2 z3 ⎠ z1
1
or
VS
V C = --------------------------------
⎛ 1 + --- z1 z1 ⎞
- + ----
⎝ z z ⎠
2 3
Also,
VS – VC V V
I 2 Ω = ------------------
- I C = ------C- I L = ------C-
z1 z1 z3
and with MATLAB
Vs=100; z1=2; z2=−5j; z3=5+3j;...
Vc=Vs/(1+z1/z2+z1/z3); I2=(Vs−Vc)/z1; Ic=Vc/z2; IL=Vc/z3; fprintf(' \n');...
disp('Vc = '); disp(Vc); disp('magVc = '); disp(abs(Vc));...
disp('phaseVc = '); disp(angle(Vc)*180/pi);...
disp('I2 = '); disp(I2); disp('magI2 = '); disp(abs(I2));...
disp('phaseI2 = '); disp(angle(I2)*180/pi);...
1
P ave = V RMS I RMS cos θ = --- V p I p cos θ
2
Therefore,
1
P S ave = --- × V S × I 2 Ω cos θ = 0.5 × 100 × 14.07 × cos 27.43° = 624.4 w
2
Also,
1 2 2
P 2 Ω ave = --- I p R 2 Ω = 0.5 × ( 14.07 ) × 2 = 197.97 w
2
and
1 2 2
P 5 Ω ave = --- I L R 5 Ω = 0.5 × ( 13.06 ) × 5 = 426.41 w
2
Check:
P 2 Ω ave + P 5 Ω ave = 197.97 + 426.41 = P S ave = 624.4 w
The average power in the capacitor and the inductor is zero since θ = 90° and cos θ = 0
7. Let us consider the t – domain network below.
i(t)
ZIN PCB
vS ( t )
Let
v S = V p cos ωt
and
i = I p cos ( ωt + θ )
Then,
p = v S i = V p I p cos ωt ⋅ cos ( ωt + θ )
and using
1
cos x ⋅ cos y = --- [ cos ( x + y ) + cos ( x – y ) ]
2
we get
Vp Ip
p = ---------- [ cos ( 2ωt + θ ) + cos θ ]
2
We require that the power p does not exceed 200 mw or 0.2 w , that is, we must satisfy the con-
dition
Vp Ip
p = ---------- [ cos ( 2ωt + θ ) + cos θ ] ≤ 0.2 w
2
and therefore we must find the phase angle θ . Since θ appears also in the jω – domain , we can
find its value from the given input impedance, that is, Z IN = 100 – j100 Ω or
2 2 – 1( – 100 )
Z IN = Z IN ∠θ = 100 + 100 ∠ tan --------------------
- = 100 2 ∠– 45°
100
The maximum power p occurs when cos ( 2ωt – 45° ) = 1 , that is,
Vp Ip 2
p max = ---------- ⎛ 1 + -------⎞ = 0.2 w
2 ⎝ 2⎠
Then,
V p I p = 0.4 ⁄ 1.707
and now we can express I p in terms of V p using the relation Z IN = 100 2 and I p = V p ⁄ Z IN
and by substitution
V p = 0.4
2 × 100 2- = 33.14
-----------------------------
1.707
or
Vp = 33.14 = 5.76
and
V 5.76- = 4.07 V
V RMS = ------p- = ------------
2 1.414
980 Ω
1 mA
R1 mA
10 mA
9 mA
+
R2
20 Ω
R3
10 mA
−
Then,
–3 –3
9 × 10 ( R 1 + R 2 + R 3 ) = ( 980 + 20 ) × 10
or
R 1 + R 2 + R 3 = 1000
------------ (1)
9
With the switch at the 100 mA position, the circuit is as shown below.
980 Ω
1 mA
1 mA R1 mA
100 mA
+
R2
20 Ω
99 mA
R3
10 mA
−
Then,
–3 –3
99 × 10 ( R 2 + R 3 ) = ( R 1 + 980 + 20 ) × 10
or
– R 1 + 99R 2 + 99R 3 = 1000 (2)
980 Ω
1 mA
1 mA R1 mA
1A
+
R2
20 Ω
R3
1A 999 mA
−
Then,
–3 –3
999 × 10 R 3 = ( R 1 + R 2 + 980 + 20 ) × 10
or
– R 1 – R 2 + 999R 3 = 1000 (3)
10
R 3 = ------ Ω (4)
9
Addition of (1) and (2) yields
1000 10000
100R 2 + 100R 3 = ------------ + 1000 = ---------------
9 9
or
R 2 + R 3 = 100
--------- (5)
9
Substitution of (4) into (5) yields
R 2 = 10 Ω (6)
9. DC instruments indicate average values. Therefore, the DC voltmeter will read the average value
of the voltage v OUT across the resistor. The period of the full-wave rectifier waveform is taken as
π.
π 2π
Then,
π π
1 Vp
v OUT ave = ---
π ∫ 0
V p sin ωt d( ωt ) = ------ ( – cos ωt )
π ωt = 0
0
Vp Vp 2V
= ------ cos ωt = ------ ( 1 + 1 ) = --------p-
π π
π π
As expected, this average is twice the average value of the half-wave rectifier waveform of Exam-
ple 8.2.
NOTES
T
his chapter discusses the natural response of electric circuits.The term natural implies that there is
no excitation in the circuit, that is, the circuit is source-free, and we seek the circuit’s natural
response. The natural response is also referred to as the transient response.
− +
R `−L
i
+
Figure 9.1. Circuit for determining the natural response of a series RL circuit
Application of KVL yields
vL + vR = 0
or
di
L ----- + Ri = 0 (9.1)
dt
Here, we seek a value of i which satisfies the differential equation of (9.1), that is, we need to find the
natural response which in differential equations terminology is the complementary function. As we know,
two common methods are the separation of variables method and the assumed solution method. We
will consider both.
1. Separation of Variables Method
Rearranging (9.1), so that the variables i and t are separated, we get
di R
----- = – --- dt
i L
Next, integrating both sides and using the initial condition, we get
i1 t
--- di = – R
∫0I i
--- dσ
L 0 ∫
where σ is a dummy variable. Integration yields
i R t
ln i = – --- σ 0
I0 L
or
R
ln i – ln I 0 = – --- t
L
or
R
ln ---i- = – --- t
I0 L
x
Recalling that x = ln y implies y = e , we get
–( R ⁄ L ) t
i ( t ) = I0 e (9.2)
Substitution of (9.2) into (9.1) yields 0 = 0 and that at t = 0 , i ( 0 ) = I 0 . Thus, both the differential
equation and the initial condition are satisfied.
2. Assumed Solution Method
Relation (9.1) indicates that the solution must be a function which, when added to its first derivative
will become zero. An exponential function will accomplish that and therefore, we assume a solution
of the form
st
i ( t ) = Ae (9.3)
where A and s are constants to be determined. Now, if (9.3) is a solution, it must satisfy the differen-
tial equation (9.1). Then, by substitution, we get:
st st
RAe + sLAe = 0
or
⎛s + R
--- ⎞ Ae = 0
st
⎝ L ⎠
The left side of the last expression above will be zero if A = 0 , or if s = – ∞ , or if s = – R ⁄ L . But,
if A = 0 or s = – ∞ , then every response is zero and this represents a trivial solution. Therefore,
s = – R ⁄ L is the only logical solution, and by substitution into (9.3) we get
–( R ⁄ L ) t
i ( t ) = Ae
We must now evaluate the constant A . This is done with the use of the initial condition i ( 0 ) = I 0 .
0
Thus, I 0 = Ae or A = I 0 and therefore,
–( R ⁄ L ) t
i ( t ) = I0 e
as before. Next, we rewrite it as
( t -) = e –( R ⁄ L ) t
i------- (9.4)
I0
1.0
0.9
0.8
t
e−(R/L)
Percent i(t) / I 0
0.7
i(t) / I 0 = −(R / L) t +1
0.6
0.5 36.8%
0.4
0.3
13.5% 5%
0.2
0.1
0.0
0 1 2 3 4 5
Time Constants
The initial rate (slope) of decay is found from the derivative of i ⁄ I 0 evaluated at t = 0 , that is,
d i R –( R ⁄ L ) t R
----- ⎛ ---- ⎞ = – --- e = – ---
dt ⎝ I 0 ⎠ L L
t=0 t=0
R
0 = – --- τ + 1
L
or
τ = --L-
R (9.5)
Time Cons tan t for RL Circuit
i ( τ ) = 0.368I 0 (9.6)
Therefore, in one time constant, the response has dropped to approximately 36.8% of its initial value.
If we express the rate of decay in time constant intervals as shown in Figure 9.2, we find that
i ( t ) ⁄ I 0 ≈ 0 after t = 5τ , that is, it reaches its final value after five time constants.
Example 9.1
For the circuit shown in Figure 9.3, in how many seconds after t = 0 has the
a. current i ( t ) has reached ½ of its initial value?
b. energy stored in L has reached ¼ of its initial value?
c. power dissipated in R has reached ¾ of its initial value?
− +
L
10 Ω
R
`− 10 mH
i
+
Figure 9.3. Circuit for Example 9.1
Solution:
From (9.2),
–( R ⁄ L ) t
i ( t ) = I0 e
where I 0 = i L ( 0 ) . Then,
b. To find the energy stored in L which reaches ¼ of its initial value, we start with
1 2
W L ( t ) = --- Li ( t )
2
and at t = 0 , I 0 = i L ( 0 ) . Then,
1 2
W L ( 0 ) = --- LI 0
2
and
1 1 1 2
--- W L ( 0 ) = --- ⎛ --- LI 0 ⎞
4 4⎝ 2 ⎠
Therefore,
1 1 2 1 –( R ⁄ L ) t 2 1 1
) = --- ⎛ --- LI 0 ⎞
2
--- W L ( t ) = --- Li ( t ) = --- L ( I 0 e
4 2 2 4⎝ 2 ⎠
or
–2 ( R ⁄ L ) t
e = 1⁄4
– 2000t
e = 1⁄4
2 –2 ( R ⁄ L ) t
p R = I 0 Re
and the energy dissipated (in the form of heat) in the resistor is
∞ ∞ ∞
L –2 ( R ⁄ L ) t 1 2
dt = I 0 R ⎛ – -------⎞ e
2 –2 ( R ⁄ L ) t 2
WR = ∫0 p R dt = I 0 R ∫0 e
⎝ 2R⎠
= --- LI 0
2
0
− +
where i L ( 0 ) will be used to denote the time just before a switch is opened or closed, and i L ( 0 ) will
be used to denote the time just after the change has occurred.
Also, in our subsequent discussion, the expression “long time” will mean that sufficient time has
elapsed so that the circuit has reached its steady-state conditions. As we know from Chapter 5, when
the excitations are constant, at steady state conditions the inductor behaves as a short circuit, and the
capacitor behaves as an open circuit.
Example 9.2
In the circuit of Figure 9.4, the switch S has been in the closed position for a long time and opens at
− +
t = 0 . Find i L ( t ) for t > 0 , v R ( 0 ) , and v R ( 0 )
t = 0
S
+ 10 Ω
+
vR ( t ) iL ( t ) ` 1 mH −
32 V
−
20 Ω
+ 10 Ω
vR ( t ) +
−
− iL ( t ) 32 V
−
Figure 9.5. Circuit for Example 9.2 at t = 0
From the circuit of Figure 9.5, we see that
− +
i L ( 0 ) = i L ( 0 ) = i L ( 0 ) = 32 ⁄ 10 = 3.2A
and thus the initial condition has now been established as I 0 = 3.2 A
+
At t = 0 , the 32 V source and the 10 Ω resistor are disconnected from the circuit which now is as
shown in Figure 9.6.
+
Circuit at t = 0
+ 1 mH
vR ( t )
− 20 Ω
`i ( t )
L
+
Figure 9.6. Circuit for Example 9.2 at t = 0
+ −
We observe that v R ( 0 ) ≠ v R ( 0 )
Example 9.3
In the circuit shown in Figure 9.7, the switch S has been closed for a long time and opens at t = 0 .
Find:
a. i L ( t ) for t > 0
b. i 60 ( t ) at t = 100 µs
c. i 48 ( t ) at t = 200 µs
t = 0 30 Ω 24 Ω
4Ω
S
+
−
60 Ω
1 mH
`i ( t ) 48 Ω
L
72 V i 60 ( t ) i 48 ( t )
−
iT ( 0 )
+ 60 Ω
− iL ( 0 )
−
72 V
−
Figure 9.8. Circuit for Example 9.3 at t = 0
and by the current division expression,
− 60 − 6
i L ( 0 ) = ------------------ ⋅ i T ( 0 ) = --- × 3 = 2 A
30 + 60 9
60 Ω 1 mH
i 60 ( t )
`i ( t ) 48 Ω
L i 48 ( t )
+
Figure 9.9. Circuit for Example 9.3 at t = 0
From (9.2),
– ( R eq ⁄ L ) t
iL ( t ) = I0 e
where
R eq = ( 60 + 30 ) || (24+48) = 40 Ω
and thus
–3
– ( 40 ⁄ 10 )t
i L ( t ) = 2e
or
– 40000t
i L ( t ) = 2e
Also,
( 24 + 48 )
i 60 ( t ) = ---------------------------------------------------- [ – i L ( t ) ]
t = 100 µs ( 30 + 60 ) + ( 24 + 48 ) t = 100 µs
or
12 – 40000t 8 –4
i 60 ( t ) = ------ ( – 2e ) = – --- e = – 16.3 mA
t = 100 µs 27 t = 100 µs
9
and
( 30 + 60 )
i 48 ( t ) = ---------------------------------------------------- [ – i L ( t ) ]
t = 200 µs ( 30 + 60 ) + ( 24 + 48 ) t = 200 µs
or
15 – 40000t 10 – 8
i 48 ( t ) = ------ ( – 2e ) = – ------ e = – 0.373 mA
t = 200 µs 27 t = 200 µs
9
iR
+
C vC ( t ) R
−
Figure 9.10. Circuit for determining the natural response of a series RC circuit
By KCL,
iC + iR = 0 (9.8)
and with
dv C
i C = C ---------
dt
and
v
i R = -----C
R
by substitution into (9.8), we obtain the differential equation
dv vC
--------C- + -------
- = 0 (9.9)
dt RC
As before, we assume a solution of the form
st
v C ( t ) = Ae
and by substitution into (9.9)
st
Ae - = 0
st
Ase + ---------
RC
or
1 -⎞ Ae st = 0
⎛ s + ------- (9.10)
⎝ RC⎠
Following the same reasoning as with the RL circuit, (9.10) will be satisfied when s = – 1 ⁄ RC and
therefore,
– ( 1 ⁄ RC ) t
v C ( t ) = Ae
0
The constant A is evaluated from the initial condition, i.e., v C ( 0 ) = V 0 = Ae or A = V 0 . There-
fore, the natural response of the RC circuit is
– ( 1 ⁄ RC ) t
vC ( t ) = V0 e (9.11)
We express (9.11) as
vC ( t ) – ( 1 ⁄ RC )t
------------ = e
V0
The initial rate (slope) of decay is found from the derivative of v C ( t ) ⁄ V 0 evaluated at t = 0 , that is,
d v 1 – ( 1 ⁄ RC ) t 1
----- ⎛ -----C- ⎞ = – -------- e = – --------
dt ⎝ V 0 ⎠ RC RC
t=0 t=0
1.0
0.9
0.8
Percent vc(t) / V0
t
0.7 e−(1/RC) vc(t) / V0 = −(1/RC) t +1
0.6
0.5 36.8%
0.4
0.3 13.5% 5%
0.2
0.1
0.0
0 1 2 3 4 5
Time Constants
Figure 9.11. Circuit for determining the natural response of a series RC circuit
vC ( t ) 1
------------- = – -------- t + 1 (9.12)
V0 RC
and at t = τ , v C ( t ) ⁄ V 0 = 0 . Then,
1
0 = – -------- τ + 1
RC
or
τ = RC
(9.13)
Time Cons tan t for R C Circuit
v C ( τ ) = 0.368V 0 (9.14)
Therefore, in one time constant, the response has dropped to approximately 36.8% of its initial value.
If we express the rate of decay in time constant intervals as shown in Figure 9.11, we find that
v C ( t ) ⁄ V 0 ≈ 0 after t = 5 τ , that is, it reaches its final value after five time constants.
In the examples that follow, we will make use of the fact that
− +
vC ( 0 ) = vC ( 0 ) = vC ( 0 ) (9.15)
Example 9.4
In the circuit of Figure 9.12, the switch S has been in the closed position for a long time, and opens
− +
at t = 0 . Find v C ( t ) for t > 0 , i ( 0 ) , and i ( 0 ) .
t = 0
10 µF S 10 KΩ
+ +
i (t) vC ( t ) −
−
50 KΩ 60 V
−
Circuit at t = 0
10 KΩ
vC ( t ) +
i (t) −
50 KΩ 60 V
−
Figure 9.13. Circuit for Example 9.4 at t = 0
From the circuit of Figure 9.13 we see that
− + − 60 V
v C ( 0 ) = v C ( 0 ) = 50 KΩ × i ( 0 ) = 50 × ---------------------------------------- = 50 V
10 KΩ + 50 KΩ
and thus the initial condition has been established as V 0 = 50 V . We also observe that
− 60 V
i ( 0 ) = ---------------------------------------- = 1 mA
10 KΩ + 50 KΩ
+
At t = 0 the 60 V source and the 10 KΩ resistor are disconnected from the circuit which now is
as shown in Figure 9.14.
From (9.11),
– ( 1 ⁄ RC ) t
vC ( t ) = V0 e
+
Circuit at t = 0
10 µF
+ vC ( t )
i (t) −
50 KΩ
+
Figure 9.14. Circuit for Example 9.4 at t = 0
where
3 –6
RC = 50 × 10 × 10 × 10 = 0.5
Then,
– ( 1 ⁄ 0.5 )t – 2t
v C ( t ) = 50e = 50e
and
+ V 50 V
i ( 0 ) = -----0- = ----------------- = 1 mA
R 50 KΩ
+ −
We observe that i ( 0 ) = i ( 0 ) . This is true because the voltage across the capacitor cannot change
− +
instantaneously; hence, the voltage across the resistor must be the same at t = 0 and at t = 0 .
Example 9.5
In the circuit of Figure 9.15, the switch S has been in the closed position for a long time and opens
at t = 0 . Find:
a. v C ( t ) for t > 0
b. v 60 ( t ) at t = 100 µs
c. v 10 ( t ) at t = 200 µs
t = 0
6 KΩ 30 KΩ 20 KΩ
S
+ 40 +
------ µF +
+ 9 v 10 ( t )
60 KΩ
v 60 ( t ) vC ( t )
− −
72 V − 10 KΩ −
Solution:
−
a. At t = 0 the capacitor acts as an open and the circuit then is as shown in Figure 9.16.
−
Circuit at t = 0
6 KΩ 30 KΩ 20 KΩ
i 10 ( t )
iT ( t ) + +
+
+ 60 KΩ v 60 ( t ) v C ( t ) v 10 ( t )
− −
72 V − −
10 KΩ
−
Figure 9.16. Circuit for Example 9.5 at t = 0
From the circuit of Figure 9.16,
− 72 V 72 V
i T ( 0 ) = ------------------------------------------------------------ = ------------------------------------- = 2 mA
6 KΩ + 60 KΩ || 60 KΩ 6 KΩ + 30 KΩ
and using the current division expression, we get
− 60 KΩ − 1
i 10 ( 0 ) = ---------------------------------------- ⋅ i T ( 0 ) = --- × 2 = 1 mA
60 KΩ + 60 KΩ 2
Then,
− −
v C ( 0 ) = ( 20 KΩ + 10 KΩ ) ⋅ i 10 ( 0 ) = 30 V
+ 40 +
------ µF +
9 v 10 ( t )
v 60 ( t ) vC ( t )
−
− 60 KΩ 10 KΩ −
+
Figure 9.17. Circuit for Example 9.5 at t = 0
From (9.11),
– ( 1 ⁄ R eq C ) t
vC ( t ) = V0 e
where
R eq = ( 60 KΩ + 30 KΩ ) || ( 20 KΩ + 10 KΩ ) = 22.5 KΩ
Then,
3 40 –6
R eq C = 22.5 × 10 × ------ × 10 = 0.1
9
and
– ( 1 ⁄ 0.1 )t – 10t
v C ( t ) = 30e = 30e
b.
60 KΩ
v 60 ( t ) = ---------------------------------------- ⋅ v C ( t )
t = 100 ms 30 KΩ + 60 KΩ t = 100 ms
or
2 – 10t –1
v 60 ( t ) = --- ( 30e ) = 20e = 7.36 V
t = 100 ms 3 t = 100 ms
c.
10 KΩ
v 10 ( t ) = ---------------------------------------- ⋅ v C ( t )
t = 200 ms 10 KΩ + 20 KΩ t = 200 ms
or
1 – 10t –2
v 10 ( t ) = --- ( 30e ) = 10e = 1.35 V
t = 200 ms 3 t = 200 ms
Example 9.6
For the circuit of Figure 9.18, it is known that v C ( 0 ) = V 0 = 25 V .
a. To what value should the resistor R be adjusted so that the initial rate of change would be
– 200 V ⁄ s ?
b. What would then the energy in the capacitor be after two time constants?
C
+
vC ( t ) R
−
10 µF
Solution:
a. The capacitor voltage decays exponentially as
– ( 1 ⁄ RC )t
vC ( t ) = V0 e
dv C 6
100000 2.5 × 10
= ⎛ – ------------------ ⎞ 25e
– ( 100000 ⁄ R )t
--------- = – ---------------------- = – 200
dt ⎝ R ⎠ R
t=0 t=0
9.3 Summary
• The natural response of the inductor current i L ( t ) in a simple RL circuit has the form
–( R ⁄ L ) t
iL ( t ) = I0 e where I 0 denotes the value of the current in the inductor at t = 0
• In a simple RL circuit the time constant τ is the time required for i L ( t ) ⁄ I 0 to drop from unity to
zero assuming that the initial rate of decay remains constant, and its value is τ = L ⁄ R
• In one time constant the natural response of the inductor current in a simple RL circuit has
dropped to approximately 36.8% of its initial value.
• The natural response of the inductor current in a simple RL circuit reaches its final value, that is,
it decays to zero, after approximately 5 time constants.
• The initial condition I 0 can be established from the fact that the current through an inductor
− +
cannot change instantaneously and thus i L ( 0 ) = i L ( 0 ) = i L ( 0 )
• The natural response of the capacitor voltage v C ( t ) in a simple RC circuit has the form
– ( 1 ⁄ RC ) t
vC ( t ) = V0 e where V 0 denotes the value of the voltage across the capacitor at t = 0
• In a simple RC circuit the time constant τ is the time required for v C ( t ) ⁄ V 0 to drop from unity to
zero assuming that the initial rate of decay remains constant, and its value is τ = RC
• In one time constant the natural response of the capacitor voltage in a simple RC circuit has
dropped to approximately 36.8% of its initial value.
• The natural response of capacitor voltage in a simple RC circuit reaches its final value, that is, it
decays to zero after approximately 5 time constants.
• The initial condition V 0 can be established from the fact that the voltage across a capacitor cannot
− +
change instantaneously and thus v C ( 0 ) = v C ( 0 ) = v C ( 0 )
9.4 Exercises
Multiple Choice
1. In a simple RL circuit the unit of the time constant τ is
A. dimensionless
B. the millisecond
C. the microsecond
–1
D. the reciprocal of second, i.e., s
E. none of the above
2. In a simple RC circuit the unit of the term 1 ⁄ RC is
A. the second
–1
B. the reciprocal of second, i.e., s
C. the millisecond
D. the microsecond
E. none of the above
3. In the circuit of Figure 9.19 Switch S 1 has been closed for a long time while Switch S 2 has been
open for a long time. At t = 0 . Switch S 1 opens and Switch S 2 closes. The current i L ( t ) for all
t > 0 is
A. 2 A
– 100t
B. 2e A
– 50t
C. 2e A
– 50t
D. e A
E. none of the above
S1 5Ω
2A t = 0
5Ω S2
t = 0
`
i L ( t ) 100 mH
4. In the circuit of Figure 9.20 Switch S 1 has been closed for a long time while Switch S 2 has been
open for a long time. At t = 0 . Switch S 1 opens and Switch S 2 closes. The voltage v C ( t ) for all
t > 0 is
A. 10 V
– 10t
B. 10e V
–t
C. 10e V
– 0.1t
D. 10e V
E. none of the above
50 KΩ S1 50 KΩ
t = 0
+ +
S2 vC ( t )
− t = 0 −
10 V 20 µF
S1 5Ω
2A t = 0
5Ω S2
t = 0
`
i L ( t ) 100 mH
6. In the circuit of Figure 9.22 Switch S 1 has been closed for a long time while Switch S 2 has been
open for a long time. At t = 0 . Switch S 1 opens and Switch S 2 closes. The power absorbed by
the capacitor at t = +∞ will be
A. 0 w
B. 10 w
C. 5 w
D. 10 mw
E. none of the above
50 KΩ S1 50 KΩ
t = 0
+ +
S2 vC ( t )
− t = 0 −
10 V 20 µF
− + − +
A. i L ( 0 ) = i L ( 0 ) = i L ( 0 ) and v L ( 0 ) = v L ( 0 ) = v L ( 0 )
− + − +
B. i L ( 0 ) = i L ( 0 ) = i L ( 0 ) and i R ( 0 ) = i R ( 0 ) = i R ( 0 )
− + − +
C. i L ( 0 ) = i L ( 0 ) = i L ( 0 ) and v R ( 0 ) = v R ( 0 ) = v R ( 0 )
− +
D. i L ( 0 ) = i L ( 0 ) = i L ( 0 )
Problems
1. In the circuit of Figure 9.23, switch S 1 has been closed for a long time and switch S 2 has been
open for a long time. Then, at t = 0 switch S 1 opens while S 2 closes. Compute the current
i S2 ( t ) through switch S 2 for t > 0
3Ω t = 0 8Ω 5Ω
S1
i S2 ( t )
+
15 V
−
6Ω 10 Ω t = 0
S2 ` 2.5 mH
2. In the circuit of Figure 9.24, both switches S 1 and S 2 have been closed for a long time and both
are opened at t = 0 . Compute and sketch the current i L ( t ) for the time interval 0 ≤ t ≤ 1 ms
12 V 2Ω S2
+
−
t = 0
16 Ω S1 6Ω 8Ω
t = 0
iL ( t )
+
4Ω 10 ⁄ 3 mH
`
−
12 Ω
24 V
10 Ω
4. In the circuit of Figure 9.25, both switches S 1 and S 2 have been closed for a long time, while
switch S 3 has been open for a long time. At t = 0 S 1 and S 2 are opened and S 3 is closed.
Compute the current i L ( t ) for t > 0 .
10 KΩ
1 KΩ S1 3 mH
−
t = 0
`
t = 0
S2 + iL ( t )
t = 0 S3
v in1 +
+ 2 KΩ
5 KΩ v out
− v in2
10 KΩ
10 mV + −
− 20 mV
5. In the circuit of Figure 9.26, switch S 1 has been closed and S 2 has been open for a long time. At
t = 0 switch S 1 is opened and S 2 is closed. Compute the voltage v C2 ( t ) for t > 0 .
10 KΩ S1 S2
t = 0 t = 0
+ + +
v C1 ( t ) v C2 ( t )
− − −
12 V 6 µF 3 µF
10 KΩ 50 KΩ
2 KΩ S 4 KΩ 16 KΩ
A
t = 0 B +
5 µF
+ 6 KΩ vC ( t )
− 8 KΩ −
24 V
7. In the circuit of Figure 9.28, switch S has been open for a long time and closes at t = 0 . Compute
i SW ( t ) for t > 0
6Ω 100 Ω
` S
6 mH
10 µF
+
− t = 0
i SW ( t )
36 V
3Ω
×
3Ω 8Ω x 5Ω
+ 10 Ω
− 6Ω −
iL ( 0 )
15 V y
×
Replacing the circuit above with its Thevenin equivalent to the left of points x and y we find
6 3×6
that v TH = ------------ ⋅ 15 = 10 V and R TH = -----------
- + 8 = 10 Ω and attaching the rest of the circuit
3+6 3+6
to it we get the circuit below.
10 Ω
v TH R TH
+ 10 Ω 5Ω
−
10 V −
iL ( 0 )
10 Ω 10 Ω
−
1A iL ( 0 )
5Ω 5Ω
−
and by inspection, i L ( 0 ) = 0.5 A , that is, the initial condition has been established as
− +
i L ( 0 ) = i L ( 0 ) = i L ( 0 ) = I 0 = 0.5 A
+
The circuit at t = 0 is as shown below.
8Ω 5Ω
6Ω Closed +
i S2 ( t )
Switch `2.5 mH
i L ( 0 ) = 0.5 A
We observe that the closed shorts out the 6 Ω and 8 Ω resistors and the circuit simplifies to that
shown below.
5Ω
`2.5 mH
+
i L ( 0 ) = I 0 = 0.5 A
i S2 ( t )
–3
– ( R ⁄ L )t – ( 5 ⁄ 2.5 × 10 )t – 2000t
Thus for t > 0 , i S2 ( t ) = – i L ( t ) = – I 0 e = – 0.5e = – 0.5e A
−
2. The circuit at t = 0 is as shown below and the mesh equations are
20i 1 – 4i 3 = 24
16i 2 – 6i 3 – 8i 4 = – 12
– 4i 1 – 6i 2 + 20i 3 – 10i 4 = 0
8i 2 – 10i 3 + 30i 4 = 0
−
Then, i L ( 0 ) = i 3 – i 4
12 V 2Ω
+
−
i2
16 Ω
6Ω 8Ω
−
iL ( 0 )
+
− 4Ω
i3 12 Ω
24 V i1
10 Ω i4
+
Shown below is the circuit at t = 0 and the steps of simplification.
20/3 Ω 10
6Ω 8Ω
i ( 0 ) ` ------ mH
L
+ 10 iL ( 0 )
+ ` ------ mH
3
+
10
------ mH
3
4Ω 3 iL ( 0 )
10 Ω
12 Ω 10 Ω `
10 Ω 20 Ω 20/3 Ω
To compute and sketch the current i L ( t ) for the time interval 0 ≤ t ≤ 1 ms we use MATLAB as
shown below.
t=(0: 0.01: 1)*10^(−3);...
iLt=0.1.*10.^(−3).*exp(−5000.*t);...
plot(t,iLt); grid
-4
x 10
1
0.8
0.6
0.4
0.2
0
0 0.1 0.2 0.3 0.4 0. 5 0.6 0.7 0.8 0.9 1
-3
x 10
– 2000t
3. From the figure below v L = Ri L = 0.2e for t > 0
+ iL +
−
R L
`− v L
–3 –0
and with i L ( 0 ) = 10 mA , by substitution R ( 10 × 10 ) = 0.2e = 0.2
–2
or R = 0.2 ⁄ 10 = 20 Ω Also, from R ⁄ L = 2000 , L = 20 ⁄ 2000 = 0.01 = 10 mH
−
4. The circuit at t = 0 is as shown below and using the relation
⎛ v in 1 v in 2 ⎞
v out = – R f ⎜ ---------
- + ---------- ⎟
⎝ R in 1 R in 2 ⎠
10 KΩ
1 KΩ
−
+ iL
v in1 +
+ 2 KΩ
5 KΩ v out
− v in2
10 mV + −
− 20 mV
–2 –2
10 2 × 10
v out = – 10 KΩ ⎛ -------------- + -------------------- ⎞ = – 10 × 2 × 10 = – 0.2 V
–2
⎝ 1 KΩ 2 KΩ ⎠
and
i L ( 0 ) = I 0 = i 5 KΩ = – 0.2 V- = – 40 × 10 – 6 A = – 40 µA
−
---------------
5 KΩ
+ +
The circuit at t = 0 is as shown below where i L ( 0 ) = 40 µA with the direction shown.
3 mH
+ −
`
+
iL ( 0 ) − − 3 mH
` −
10 KΩ 5 KΩ 0.2V 15 KΩ
+ + i ( 0+ ) +
L
10 KΩ
C1
+ + −
6 µF v C1 ( 0 ) = 12V
− −
12 V
10 KΩ
+
The circuit at t = 0 is as shown below where the 12 V represents the voltage across capacitor
C1 .
12 V v C1
+
− 3 µF
+
C1 + v C2 ( t )
−
− 50 KΩ C2
6 µF
– ( 1 ⁄ RC eq ) C1 ⋅ C2 6×3
Now, v C2 ( t ) = v C1 e - = ------------ = 2 µF
where v C1 = 12 V and C eq = -----------------
C1 + C2 6+3
4 –6 – 10t
Then, 1 ⁄ RCeq = 1 ⁄ ( 5 × 10 × 2 × 10 ) = 10 and thus v C2 ( t ) = 12e
−
6. The circuit at t = 0 is as shown below.
2 KΩ 4 KΩ 16 KΩ
5 µF +
−
+ 6 KΩ vC ( 0 )
− −
24 V
Then,
− 6 KΩ
v C ( 0 ) = V 0 = v 6KΩ = ---------------------------------- × 24 = 12 V
6 KΩ + 6 KΩ
+ +
The circuit at t = 0 is as shown below where v C ( 0 ) = 12 V .
4 KΩ 16 KΩ
5 µF +
+
vC ( 0 )
8 KΩ 6 KΩ −
and the circuit for t > 0 reduces to the one shown below.
5 µF +
20 KΩ −
vC ( t )
4 –6 – 10t – 10t
Now, R eq C = 2 × 10 × 5 × 10 = 0.1 , 1 ⁄ R eq C = 10 and v C ( t ) = V 0 e = 12e . Also,
1 2 –6 – 20t
WC = --- Cv C ( t ) = 0.5 × 5 × 10 × 144e t = 1 ms
1 ms 2 1 ms
– 6 – 20t
= 360 × 10 e t = 1 ms
= 0.35 mJ
−
7. The circuit at t = 0 is as shown below.
6Ω 100 Ω
+
−
+ iL ( 0 ) −
vC ( 0 )
−
36 V −
3Ω
− 36 V − −
Then, i L ( 0 ) = -----------------------
- = 4 A and v C ( 0 ) = 3 × i L ( 0 ) = 3 × 4 = 12 V
(6 + 3) Ω
+
The circuit at t = 0 is as shown below and the current i SW ( t ) through the switch is the sum of
+ +
the currents due to the 36 V voltage source, due to i L ( 0 ) = 4 A , and due to v C ( 0 ) = 12 V .
6Ω 100 Ω
`
10 µF +
+ +
i L ( 0 ) = 4 A 6 mH
+
v C ( 0 ) = 12 V
− i SW ( t )
−
36 V
3Ω
6Ω 100 Ω
iL ( t ) = 0
+ 6 mH
− i' SW ( t )
36 V vC ( t ) = 0
3Ω
+
II. With the i L ( 0 ) = 4 A current source acting alone the circuit is as shown below where we
observe that the 6 Ω and 100 Ω resistors are shorted out and thus i'' SW ( t ) = – i L ( t ) where
– ( R ⁄ L )t –3
iL ( t ) = I0 e , I 0 = 4 A , R = 3 Ω , L = 6 mH , R ⁄ L = 3 ⁄ ( 6 × 10 ) = 500 and thus
– 500t
i'' SW ( t ) = – i L ( t ) = – 4e
6Ω 100 Ω
`
+
i L ( 0 ) = 4 A 6 mH i SW ( t )
3Ω vC ( t ) = 0 V
+
III. With the v C ( 0 ) = V 0 = 12 V voltage source acting alone the circuit is as shown below
where we observe that the 6 Ω resistor is shorted out.
6Ω 100 Ω
iL ( t ) = 0
6 mH i''' SW ( t )
+
v C ( 0 ) = 12 V
3Ω
and thus
–5
– ( 1 ⁄ RC )t – [ 1 ⁄ ( 100 × 10 ) ]t – 1000t
vC ( t ) = V0 e = 12e = 12e .
Then,
– 1000t
i''' SW ( t ) = v C ( t ) ⁄ 100 Ω = 0.12e
Therefore, the total current through the closed switch for t > 0 is
– 500t – 1000t
i SW ( t ) = i' SW ( t ) + i'' SW ( t ) + i''' SW ( t ) = 6 – 4e + 0.12e A
NOTES
T
his chapter discusses the forced response of electric circuits.The term “forced” here implies
that the circuit is excited by a voltage or current source, and its response to that excitation is
analyzed. Then, the forced response is added to the natural response to form the total
response.
⎧0 t<0
u0 ( t ) = ⎨ (10.1)
⎩1 t>0
u0 ( t )
1
0
In the waveform of Figure 10.1, the unit step function u 0 ( t ) changes abruptly from 0 to 1 at t = 0 .
But if it changes at t = t 0 instead, its waveform and definition are as shown in Figure 10.2.
1 t < t0
u0 ( t – t0 ) ⎧0
u0 ( t – t0 ) = ⎨
t ⎩1 t > t0
0 t0
* In some books, the unit step function is denoted as u ( t ) ,that is, without the subscript 0. In this text we will reserve
this designation for any input.
Likewise, if the unit step function changes from 0 to 1 at t = – t 0 as shown in Figure 10.3, it is
denoted as u 0 ( t + t 0 )
u0 ( t + t0 )
1
⎧0 t < –t0
u0 ( t + t0 ) = ⎨
t ⎩1 t > –t0
−t0 0
Τ −Τ
t t t
0 0 0
(a) (b) (c)
−A −A −A
–A u0 ( t ) –A u0 ( t – T ) –A u0 ( t + T )
Au 0 ( – t ) Au 0 ( – t + T ) Au 0 ( – t – T )
A A A
t t −Τ 0
t
0 0 Τ (e) (f)
(d)
Τ −Τ
t t 0 t
0 (g) 0 (h) (i)
−A −A −A
–A u0 ( –t ) –A u0 ( – t + T ) –A u0 ( – t – T )
u0 ( t )
1 u0 ( t ) – u0 ( t – 1 )
1
t t t
0 1 0 0
–u0 ( t – 1 )
Figure 10.5. A rectangular pulse expressed as the sum of two unit step functions
The unit step function offers a convenient method of describing the sudden application of a voltage
or current source. For example, a constant voltage source of 24 V applied at t = 0 , can be denoted
as 24u 0 ( t ) V . Likewise, a sinusoidal voltage source v ( t ) = V m cos ωt V that is applied to a circuit at
t = t 0 , can be described as v ( t ) = ( V m cos ωt )u 0 ( t – t 0 ) V . Also, if the excitation in a circuit is a
rectangular, or triangular, or sawtooth, or any other recurring pulse, it can be represented as a sum
(difference) of unit step functions.
Example 10.1
Express the square waveform of Figure 10.6 as a sum of unit step functions. The vertical dotted
lines indicate the discontinuities at T, 2T, 3T , and so on.
v(t)
A
{ }
T 2T 3T
t
0
−A | ~
The line segment | has height – A , starts at t = T , on the time axis, and terminates at t = 2T . This
segment can be expressed as
v 2 ( t ) = – A [ u 0 ( t – T ) – u 0 ( t – 2T ) ] (10.3)
Line segment } has height A , starts at t = 2T , and terminates at t = 3T . This segment can be
expressed as
v 3 ( t ) = A [ u 0 ( t – 2T ) – u 0 ( t – 3T ) ] (10.4)
Line segment ~ has height – A , starts at t = 3T , and terminates at t = 4T . This segment can be
expressed as
v 4 ( t ) = – A [ u 0 ( t – 3T ) – u 0 ( t – 4T ) ] (10.5)
Thus, the square waveform of Figure 10.6 can be expressed as the summation of (10.2) through
(10.5), that is,
v ( t ) = v1 ( t ) + v2 ( t ) + v3 ( t ) + v4 ( t )
= A [ u 0 ( t ) – u 0 ( t – T ) ] – A [ u 0 ( t – T ) – u 0 ( t – 2T ) ] (10.6)
+A [ u 0 ( t – 2T ) – u 0 ( t – 3T ) ] – A [ u 0 ( t – 3T ) – u 0 ( t – 4T ) ]
Example 10.2
Express the symmetric rectangular pulse of Figure 10.7 as a sum of unit step functions.
i(t)
A
t
−T/2 0 T/2
i ( t ) = Au 0 ⎛ t + T
--- ⎞ – Au 0 ⎛ t – T
--- ⎞ = A u 0 ⎛ t + T
--- ⎞ – u 0 ⎛ t – T
--- ⎞ (10.8)
⎝ 2 ⎠ ⎝ 2 ⎠ ⎝ 2 ⎠ ⎝ 2 ⎠
Example 10.3
Express the symmetric triangular waveform shown in Figure 10.8 as a sum of unit step functions.
v(t)
1
t
−T/2 0 T/2
v(t)
2 1 2
--- t + 1 – --- t + 1
T T
{ |
t
−T/2 0 T/2
2
v 1 ( t ) = ⎛ --- t + 1⎞ u 0 ⎛ t + T
--- ⎞ – u 0 ( t ) (10.9)
⎝T ⎠ ⎝ 2⎠
v 2 ( t ) = ⎛ – --2- t + 1⎞ u 0 ( t ) – u 0 ⎛ t – T
--- ⎞ (10.10)
⎝ T ⎠ ⎝ 2⎠
v ( t ) = v1 ( t ) + v2 ( t )
2 T 2 T (10.11)
= ⎛ --- t + 1⎞ u 0 ⎛ t + --- ⎞ – u 0 ( t ) + ⎛ – --- t + 1⎞ u 0 ( t ) – u 0 ⎛ t – --- ⎞
⎝T ⎠ ⎝ 2⎠ ⎝ T ⎠ ⎝ 2⎠
Example 10.4
Express the waveform shown in Figure 10.10 as a sum of unit step functions.
v(t)
3
t
0 1 2 3
v(t)
3
{
2
2t + 1 –t+3
1
|
t
0 1 2 3
or
v ( t ) = ( 2t + 1 )u 0 ( t ) + [ – ( 2t + 1 ) + 3 ]u 0 ( t – 1 )
+ [ – 3 + ( – t + 3 ) ]u 0 ( t – 2 ) – ( – t + 3 )u 0 ( t – 3 )
Two other functions of interest are the unit ramp function and the unit impulse or delta function. We
will discuss the unit ramp function first.
t
u1 ( t ) = ∫– ∞ u 0 ( τ ) d τ (10.13)
We can evaluate the integral of (10.13) by considering the area under the unit step function u 0 ( t )
from – ∞ to t as shown in Figure 10.12.
Area = 1τ = τ = t
1
t
τ
⎧0 t<0
u1 ( t ) = ⎨ (10.14)
⎩t t≥0
d
----- u 1 ( t ) = u 0 ( t ) (10.15)
dt
Higher order functions of t can be generated by repeated integration of the unit step function. For
example, integrating u 0 ( t ) twice and multiplying by 2 , we define u 2 ( t ) as
⎧0 t<0 t
u2 ( t ) = ⎨ 2
⎩t t≥0
or u2 ( t ) = 2 ∫– ∞ u 1 ( τ ) d τ (10.16)
Similarly,
⎧0 t<0 t
u3 ( t ) = ⎨ 3
⎩t t≥0
or u3 ( t ) = 3 ∫– ∞ u 2 ( τ ) d τ (10.17)
and in general,
⎧0 t<0 t
un ( t ) = ⎨ n
⎩t t≥0
or un ( t ) = 3 ∫– ∞ u n – 1 ( τ ) d τ (10.18)
Also,
1d
u n – 1 ( t ) = --- ----- u n ( t ) (10.19)
n dt
∫– ∞ δ ( τ ) d τ = u0 ( t ) (10.20)
where
To better understand the delta function δ ( t ) , let us represent the unit step u 0 ( t ) as shown in Figure
10.13 (a).
1
Figure (a)
0
−ε ε
t
1
Area =1 2ε Figure (b)
0
−ε ε t
f ( t )δ ( t ) = f ( 0 )δ ( t ) (10.22)
or
f ( t )δ ( t – a ) = f ( a )δ ( t ) (10.23)
that is, multiplication of any function f ( t ) by the delta function δ ( t ) results in sampling the function
at the time instants where the delta function is not zero. The study of discrete-time systems is based
on this property.
∞
∫–∞ f ( t )δ ( t – α ) dt = f(α ) (10.24)
that is, if we multiply any function f ( t ) by δ ( t – α ) and integrate from −∞ to +∞, we will obtain the
value of f ( t ) evaluated at t – α .
The proofs of (10.22) through (10.24) and additional properties of the delta function are beyond the
scope of this book. They are provided in Signals and Systems with MATLAB Applications, ISBN 0-
9709511-3-2 by this author, Orchard Publications 2001.
MATLAB has two built-in functions for the unit step and the delta functions. These are designated
by the names of the mathematicians who used them in their work. The unit step u 0 ( t ) is called
Heavyside(t) and the delta function δ ( t ) is called Dirac(t). Shown below are examples of how they
are being used.
syms k a t
u=k*sym('Heaviside(t-a)') % Create unit step function at t=a
u =
k*Heaviside(t-a)
d=diff(u) % Compute the derivative of the unit step function
d =
k*Dirac(t-a)
int(d) % Integrate the delta function
ans =
Heaviside(t-a)*k
Example 10.5
For the circuit shown in Figure 10.14, the inputs are applied at different times as indicated. Com-
pute v out at:
a. t = – 0.5 s
b. t = 1.5 s
c. t = 5 s
v in 1 = 0.8u 0 ( t – 3 ) V
v in 2 = 0.5u 0 ( t – 1 ) V
i in = 0.14 [ u 0 ( t + 1 ) + u 0 ( t – 2 ) ] mA
50 KΩ
3 KΩ Rf
−
+
+
6 KΩ
+ 5 KΩ
v out
− +
v in 1 i in −
v in 2 −
u0 ( t – 3 )
v in 1 = 0.8u 0 ( t – 3 ) V
t(s)
0 1 2 3
v in 2 = 0.5u 0 ( t – 1 ) V
u0 ( t – 1 )
t(s)
0 1
i in = 0.14 [ u 0 ( t + 1 ) + u 0 ( t – 2 ) ] mA
[ u0 ( t + 1 ) + u0 ( t – 2 ) ]
t(s)
−1 0 1 2
a. At t = – 0.5 s only the signal due to i in is active; therefore, exchanging the current source and its
parallel resistance with an equivalent voltage source with a series resistance, the input circuit
becomes as shown in Figure 10.15.
5 KΩ
3 KΩ 6 KΩ
+
−
−0.7 V
Figure 10.15. Input to the circuit of Example 10.5 when i in is acting alone
Replacing the circuit of Figure 10.15 with its Thevenin equivalent, we get the network of Figure
10.16.
3 KΩ 6 KΩ = 2 KΩ
2 KΩ 5 KΩ 10 ⁄ 7 K Ω
v TH1 = V 2 KΩ = ----------------------------------- ( – 0.7 ) = – 0.2 V
2 KΩ + 5 KΩ 2 KΩ
+ +
2 KΩ × 5 KΩ − −
R TH1 = ----------------------------------- = 10 ⁄ 7 K Ω −0.7 V v TH1
7 KΩ −0.2 V
Figure 10.16. Simplified input to the circuit of Example 10.5 when i in is acting alone
10 ⁄ 7 K Ω Rf 50 K Ω
−
+ +
+ v TH1 v out 1
− −0.2 V −
50
v out 1 = – ⎛ -------------⎞ v TH1 = – 35 × ( – 0.2 mV ) = 7 V (10.25)
⎝ 10 ⁄ 7⎠
v in 2 = 0.5u 0 ( t – 1 ) V
Since we already know the output due to i in acting alone, we will find the output due to v in 2 act-
ing alone and then apply superposition to find the output when both of these inputs are present.
Thus, with the input v in 2 acting alone, the input circuit is as shown in Figure 10.18.
6 KΩ
3 KΩ 5 KΩ
+
−
0.5 V
Figure 10.18. Input to the circuit of Example 10.5 when v in 2 is acting alone
Replacing this circuit of Figure 10.18 with its Thevenin equivalent, we get the network of Figure
10.19.
3 KΩ 5 K Ω = 15 ⁄ 8 K Ω
6 KΩ
15 ⁄ 8 5 10 ⁄ 7 K Ω
v TH2 = v ( 15 ⁄ 8 ) KΩ = ---------------------- ( 0.5 ) = ------ V
15 ⁄ 8 + 6 42 15/8 KΩ
+ +
R TH 2 = R TH 1 = 10 ⁄ 7 K Ω − − -----
5
0.5 V - V
42
Figure 10.19. Simplified input to the circuit of Example 10.5 when v in 2 is acting alone
10 ⁄ 7 K Ω Rf 50 KΩ
−
+ +
+ v TH2 v out 2
− 5- −
----- V
42
50 5
v out 2 = – ⎛ -------------⎞ v TH2 = – 35 × ⎛ ------ ⎞ = – 25
------ V (10.26)
⎝ 10 ⁄ 7⎠ ⎝ 42 ⎠ 6
Therefore, from (10.25) and (10.26) the op amp’s output voltage at t = 1.5 s is
17
v out 1 + v out 2 = 7 – 25
------ = ------ V (10.27)
6 6
Since we already know the output due to v in 2 acting alone, we will find the output due to v in 1
acting alone and then apply superposition to find the output when both of these inputs are
present. Thus, with the input v in 1 acting alone, the input circuit is as shown in Figure 10.21.
3 KΩ
6 KΩ 5 KΩ
+
−
0.8 V
Figure 10.21. Input to the circuit of Example 10.5 when v in 1 is acting alone
Replacing this circuit of Figure 10.21 with its Thevenin equivalent, we get the network of Figure
10.22.
6 KΩ 5 K Ω = 30 ⁄ 11 kΩ
3 KΩ
30 ⁄ 11 10 10 ⁄ 7 K Ω
v TH3 = v ( 30 ⁄ 11 ) KΩ = ------------------------- ( 0.8 ) = ------ V
30 ⁄ 11 + 3 21 30 /11 KΩ
R TH 3 = R TH 2 = R TH 1 = 10 ⁄ 7 K Ω + +
− − 10
0.8 V ------ V
21
Figure 10.22. Simplified input to the circuit of Example 10.5 when v in 1 is acting alone
10 ⁄ 7 K Ω Rf 50 KΩ
−
+ +
+ v TH3 v out 3
− 10 −
------ V
21
50 10 50
v out 3 = – ⎛ -------------⎞ v TH3 = – 35 × ⎛ ------ ⎞ = – ------ V (10.28)
⎝ 10 ⁄ 7⎠ ⎝ 21 ⎠ 3
The switch in Figure 10.24 (a) can be omitted if we multiply the excitation V S by the unit step func-
tion u 0 ( t ) as shown in Figure 10.24 (b).
R t = 0
R
VS
+
− i(t) `L VS u0 ( t )
+
− i(t) `L
(a) (b)
The constant k in (10.32) represents the constant of integration of both sides and it can be evalu-
ated from the initial condition, and as we stated in the previous chapter
− +
iL ( 0 ) = iL ( 0 ) = iL ( 0 ) (10.33)
+
Therefore, at t = 0
L
– --- ln ( V S – 0 ) = 0 + k
R
or
L
k = – --- ln V S
R
and by substitution into (10.32), we get
L L
– --- ln ( V S – Ri ) = t – --- ln V S
R R
or
L
– --- [ ln ( V S – Ri ) – ln V S ] = t
R
or
L V S – Ri
– --- ln ----------------
- = t
R VS
or
V S – Ri R
- = – --- t
ln ----------------
VS L
or
V S – Ri –( R ⁄ L ) t
- = e
-----------------
VS
or
–( R ⁄ L ) t
Ri = V S – V S e
or
V VS –( R ⁄ L ) t
i ( t ) = -----S- – ------ e
R R
The general expression for all t is
V V S – ( R ⁄ L ) t⎞
i ( t ) = ⎛ -----S- – ------ e u (t) (10.34)
⎝R R ⎠ 0
We observe that the right side of (10.34) consists of two terms, V S ⁄ R which is constant called the
V
forced response, and the exponential term – -----S- e – ( R ⁄ L )t that has the same form as that of the previous
R
chapter which we call the natural response.
The forced response V S ⁄ R is a result of the application of the excitation (forcing) function V S u 0 ( t )
applied to the RL circuit. This value represents the steady-state condition reached as t → ∞ since the
inductor L at this state behaves as a short circuit.
The amplitude of the natural response is – V S ⁄ R and depends on the values of V S and R .
The summation of the forced response and the natural response constitutes the total response or com-
plete response, that is,
i ( t ) total = i ( t ) forced response + i ( t ) natural response
or
i total = i f + i n (10.35)
Now, let us return to the RL circuit of Figure 10.24 to find the complete (total) response i total by
the summation of the forced and the natural responses as indicated in (10.35).
The forced response i f is found from the circuit of Figure 10.25 where we let t → ∞
R Short
VS u0 ( t )
+
− if
L
` Circuit
as t → ∞
V
i f = -----S- (10.36)
R
Next, we need to find the natural response. This is found by letting the excitation (forcing function)
V S u 0 ( t ) go to zero as shown in the circuit of Figure 10.26.
R
VS u0 ( t ) = 0 in L
`
Figure 10.26. Circuit for derivation of the natural response i n
We found in Chapter 9 that the natural response i n has the exponential form
– ( R ⁄ L )t
i n = Ae (10.37)
Figure 10.27. Curves for forced, natural, and total responses in a series RL circuit
The time constant τ is defined as before, and its numerical value can be found from the circuit con-
stants R and L as follows:
The equation of the straight line with slope = V S ⁄ L is found from
d- R V S –( R ⁄ L ) t V
---- (i ) = --- ⋅ ------ e = -----S-
dt total L R L
t=0 t=0
V S V –( R ⁄ L ) ( L ⁄ R ) VS –1 VS
i ( τ ) = ------ – -----S- e = ------ ( 1 – e ) = ------ ( 1 – 0.368 )
R R R R
or
VS
i ( τ ) = 0.632 ------ (10.40)
R
Therefore, the current in a series RL circuit which has been excited by a constant source, in one
time constant has reached 63.2% of its final value.
Example 10.6
For the circuit of Figure 10.28, compute the energy stored in the 10 mH inductor at t = 100 ms .
6Ω
+ iL ( t )
−
12 V
10 mH
` 3Ω 5u 0 ( t ) A
6Ω
+
− iL ( t )
12 V
6Ω
+ iL ( t )
−
12 V
10 mH
` 3Ω 5A
iL ( t ) = if + in
The forced component i f is found from the circuit at steady state conditions. It is shown in Figure
10.31 where the voltage source and its series resistance have been exchanged for an equivalent cur-
rent source with a parallel resistor. The resistors have been shorted out by the inductor.
2A 5A
10 mH
` if
if = –3 A (10.42)
To find i n we short the voltage source and open the current source. The circuit then reduces to that
shown in Figure 10.32.
6Ω 3 Ω || 6 Ω = 2 Ω
10 mH
`
in
3Ω
`10i mH
n 2Ω
Figure 10.32. Circuit of Example 10.6 for determining the natural response
or
– 200t
i n = Ae (10.43)
The total response is the summation of (10.42) and (10.43), that is,
– 200t
i total = i f + i n = – 3 + Ae (10.44)
R t = 0 R
VS + v (t) −
C + R
C +
+ +
− −v ( t ) −
−
C VS u0 ( t ) vC ( t )
(a) (b)
The switch in Figure 10.33 (a) can be omitted if we multiply the excitation V S by the unit step func-
tion u 0 ( t ) as shown in Figure 10.33 (b).
or
1
ln ( v C – V S ) = – -------- t + k
RC
or
– ( 1 ⁄ RC ) t
vC = VS – k1 e (10.51)
+ −
The constant k 1 can be evaluated from the initial condition v C ( 0 ) = v C ( 0 ) = 0 where by substi-
tution into (10.51) we get
+ 0
vC ( 0 ) = 0 = VS – k1 e
or
k1 = VS
Therefore, the solution of (10.49) is
– ( 1 ⁄ RC ) t
vC ( t ) = ( VS – VS e )u 0 ( t ) (10.52)
As with the RL circuit of the previous section, we observe that the solution consists of a forced
response and a natural response. The constant term V S is the voltage attained across the capacitor as
t → ∞ and represents the steady-state condition since the capacitor C at this state behaves as an
open circuit.
The amplitude of the exponential term natural response is – V S .
The summation of the forced response and the natural response constitutes the total response, i.e.,
v C ( t ) complete response = v C ( t ) forced response + v C ( t ) natural response
or
v C total = v C f + v C n (10.53)
Now, let us return to the RC circuit of Figure 10.33 to find the complete (total) response by sum-
ming the forced and the natural responses indicated in (10.53).
The forced response v C f is found from the circuit of Figure 10.34 where we let t → ∞
R Open
+ vCf Circuit
−
VS u0 ( t ) as t → ∞
vCf = VS (10.54)
Next, we need to find the natural response and this is found by letting the excitation (forcing func-
tion) V S u 0 ( t ) go to zero as shown in Figure 10.35.
R C
VS u0 ( t ) = 0 vCn
We found in Chapter 9 that the natural response v C n has the exponential form
– ( 1 ⁄ RC )t
v C n = Ae
− +
where the constant A is evaluated from the initial condition v C ( 0 ) = v C ( 0 ) = v C ( 0 ) = 0
Percent VC / V S
0.2 vC(t) = VS − VS e−t / RC
0.632VC / V S
0.0
τ
-0.2 Time Constants
-0.4
-0.6 −VS e−t / RC
-0.8
-1.0
Figure 10.36. Curves for forced, natural, and total responses in a series RC circuit
d 1 – ( 1 ⁄ RC ) t VS
----- v C ( t ) = -------- ⋅ V S e = -------
-
dt RC RC
t=0 t=0
v C ( τ ) = 0.632V S (10.57)
Therefore, the voltage across a capacitor in a series RC circuit which has been excited by a constant
source, in one time constant has reached 63.2% of its final value.
Example 10.7
For the circuit shown in Figure 10.37 find:
− −
a. v C ( 1 ) and i C ( 1 )
+ +
b. v C ( 1 ) and i C ( 1 )
d. i C ( t ) for t > 1
9u 0 ( t – 1 ) mA
iC ( t )
10 µF
+ 10 KΩ
vC ( t )
− 60 KΩ 20 KΩ
C
b. Exchanging the current source and the 10 KΩ resistor with a voltage source with a 10 KΩ series
+
resistor, the circuit at t = 1 is as shown in Figure 10. 38.
9u 0 ( t – 1 ) V
iC ( t ) + −
10 µF 10 KΩ
+
vC ( t )
C − 60 KΩ 20 KΩ
+
Figure 10.38. Circuit for Example 10.7 at t = 1
+ 90 V
i C ( 1 ) = ---------------------------------- = 3 mA (10.58)
( 20 + 10 ) KΩ
c. The time t = 10 min is the essentially the same as t = ∞ , and at this time the capacitor voltage
v C ( t = 10 min ) is constant and equal to the voltage across the 60 KΩ resistor, i.e.,
90 V
v C ( t = 10 min ) = v C ( ∞ ) = v 60 KΩ = ---------------------------------------------- ⋅ 60 KΩ = 60 V
( 20 + 10 + 60 ) KΩ
Also,
dv
iC ( t ) = C --------C = 0
t=∞ dt
d. For t > 1
iC ( t ) = iC f + iC n
t>1
where from part (c)
iC f ( ∞ ) = 0
and
–( 1 ⁄ R C) t
eq
i C n = Ae
With the voltage source shorted in the circuit of Figure 10.38, the equivalent resistance is
R eq = ( 10 KΩ + 20 KΩ ) || 60 KΩ = 20 KΩ
or
3 –6
R eq C = 20 × 10 × 10 × 10 = 0.2 s
Therefore,
– ( 1 ⁄ 0.2 ) t – 5t
i C n = Ae = Ae (10.59)
–3
× 10 - = 0.445
A = 3-------------------
e–5
Example 10.8
In the circuit shown in Figure 10.39, the switch is actually an electronic switch and it is open for
15 µs and closed for 15 µs . Initially, the capacitor is discharged, i.e., v C ( 0 ) = 0 . Compute and
sketch the voltage across the capacitor for two repetitive cycles.
VS 1 KΩ 250 Ω
C +
+ 350 Ω
− −v ( t )
6V C
0.02 µF
VS 1 KΩ 250 Ω C +
+
− −
6V
vC ( t )
0.02 µF
Switch open
Figure 10.40. Circuit for Example 10.8 with the switch in the open position
For the time period 0 < t open < 15 µs the time constant for the circuit of Figure 10.40 is
–6
τ open = R eq C = ( 1 KΩ + 0.25 KΩ ) × 0.02 × 10 = 25 µs
Thus, at the end of the first period when the switch is open, the voltage across the capacitor is
4
– t ⁄ RC – 4 × 10 t – 0.6
vC ( t ) = vC f + vC n = VS – VS e = 6 – 6e = 6 – 6e = 2.71 V (10.61)
t = 15 µs
Next, with the switch closed for 15 < t closed < 30 µs the circuit is as shown in Figure 10.41.
×
x 250 Ω
VS 1 KΩ C +
+ 350 Ω
− −v ( t )
C
6V
0.02 µF
Switch closed y
×
Figure 10.41. Circuit for Example 10.8 with the switch in the closed position
Replacing the circuit to the left of points x and y by its Thevenin equivalent, we get the circuit shown
in Figure 10.42.
350
VTH RTH 259 Ω 250 Ω V TH = ------------ × 6 = 1.56 V
C + 1350
+ −
−
0.02 µF v C ( t ) 350 × 1000
1.56 V R TH = --------------------------- = 259 Ω
1350
Figure 10.42. Thevenin equivalent circuit for the circuit of Figure 10.41
The time constant for the circuit of Figure 10.42 where the switch is closed, is
–6
τ closed = R eq C = ( 259 Ω + 250 Ω ) × 0.02 × 10 = 10.2 µs
– ( 1 ⁄ RC ) ( t – 15 ) – ( 1 ⁄ 10.2 ) ( t – 15 )
v C ( t ) = v C f + v C n = V TH + A 1 e = 1.56 + A 1 e (10.62)
vC ( t ) = 2.71 V
t = 15 µs
Then,
– ( 1 ⁄ 10.2 ) ( 15 – 15 )
vC ( t ) = 2.71 = 1.56 + A 1 e
15 < t < 30 µs
or
A 1 = 1.15
and by substitution into (10.62)
– ( 1 ⁄ 10.2 ) ( t – 15 )
vC ( t ) = 1.56 + 1.15e (10.63)
15 < t < 30 µs
At the end of the first period when the switch is closed, the voltage across the capacitor is
– ( 1 ⁄ 10.2 ) ( 30 – 15 )
vC ( t ) = 1.56 + 1.15e = 1.82 V (10.64)
t = 30 µs
For the next cycle, that is, for 30 < t open < 45 µs when the switch is open, the time constant τ open is
the same as before, i.e., τ open = 25 µs and the capacitor voltage is
– ( 1 ⁄ 25 ) ( t – 30 )
vC ( t ) = vC f + vCn = 6 + A2 e (10.65)
– ( 1 ⁄ 25 ) ( 30 – 30 )
vC ( t ) = 1.82 = 6 + A 2 e
t = 30 µs
or
A 2 = – 4.18
At the end of the second period when the switch is open, the voltage across the capacitor is
– ( 1 ⁄ 25 ) ( 45 – 30 )
vC ( t ) = 6 – 4.18 e = 3.71 V (10.67)
t = 45 µs
The second period when the switch is closed is 45 < t closed < 60 µs
Then,
– ( 1 ⁄ RC ) ( t – 45 ) – ( 1 ⁄ 10.2 ) ( t – 45 )
vC ( t ) = v C f + v C n = V TH + A 3 e = 1.56 + A 3 e (10.68)
45 < t < 60 µs
and
– ( 1 ⁄ 10.2 ) ( 60 – 45 )
vC ( t ) = 1.56 + 2.15e = 2.05 V (10.70)
t = 60 µs
Repeating the above steps for the third open and closed switch periods, we get
– ( 1 ⁄ 25 ) ( t – 60 )
vC ( t ) = 6 – 3.95e (10.71)
60 < t < 75 µs
and
vC ( t ) = 3.83 V (10.72)
t = 75 µs
Likewise,
– ( 1 ⁄ 10.2 ) ( t – 75 )
vC ( t ) = 1.56 + 2.27e (10.73)
75 < t < 90 µs
and
vC ( t ) = 2.08 V (10.74)
t = 90 µs
4
Capacitor Voltage (V)
0
0 15 30 45 60 75 90
Time (µs)
Figure 10.43. Voltage across the capacitor for the circuit of Example 10.8
10.6 Summary
• The unit step function u 0 ( t ) is defined as
⎧0 t<0
u0 ( t ) = ⎨
⎩1 t>0
u0 ( t )
1
0
• The unit ramp function u 1 ( t ) , is defined as the integral of the unit step function, that is,
t
u1 ( t ) = ∫– ∞ u 0 ( τ ) d τ
where τ is a dummy variable. It is also expressed as
⎧0 t<0
u1 ( t ) = ⎨
⎩t t≥0
• The unit impulse or delta function, denoted as δ ( t ) , is the derivative of the unit step u 0 ( t ) . It is
defined as
d
δ ( τ ) = ----- u 0 ( t )
dt
or
t
∫– ∞ δ ( τ ) d τ = u0 ( t )
and
δ ( t ) = 0 for all t ≠ 0
V V S – ( R ⁄ L ) t⎞
i ( t ) = i f + i n = ⎛ -----S- – ------ e u (t)
⎝R R ⎠ 0
where the forced response i f represents the steady-state condition reached as t → ∞ . Since the
inductor L at this state behaves as a short circuit, i f = V S ⁄ R . The natural response i n is the sec-
–( R ⁄ L ) t
ond term in the parenthesis of the above expression, that is, i n = ( – V S ⁄ R )e
• In a simple RC circuit that is excited by a voltage source V S u 0 ( t ) the voltage across the capacitor
is
– ( 1 ⁄ RC )t
v C ( t ) = v C f + v C n = ( V S + Ae )u 0 ( t )
where the forced response v C f represents the steady-state condition reached as t → ∞ . Since the
capacitor C at this state behaves as an open circuit, v C f = V S . The natural response v C n is the
– ( 1 ⁄ RC )t
second term in the parenthesis of the above expression, that is, v C n = Ae . The constant A
must be evaluated from the total response.
10.7 Exercises
Multiple Choice
1. For the circuit of Figure 10.44 the time constant is
A. 0.5 ms
B. 71.43 µs
C. 2, 000 s
D. 0.2 ms
E. none of the above
4Ω 2Ω
+
12u 0 ( t ) V
− 12 Ω 1 mH
`
Figure 10.44. Circuit for Question 1
2. For the circuit of Figure 10.45 the time constant is
A. 50 ms
B. 100 ms
C. 190 ms
D. 78.6 ms
E. none of the above
4 KΩ 5 KΩ
6 KΩ 10 KΩ 10 µF
5u 0 ( t ) A
3. The forced response component i Lf of the inductor current for the circuit of Figure 10.46 is
A. 16 A
B. 10 A
C. 6 A
D. 2 A
E. none of the above
5Ω
4Ω 12 Ω
16u 0 ( t ) A
1 mH
`
Figure 10.46. Circuit for Question 3
4. The forced response component v Cf of the capacitor voltage for the circuit of Figure 10.47 is
A. 10 V
B. 2 V
C. 32 ⁄ 3 V
D. 8 V
E. none of the above
4 KΩ 2 KΩ
+ 12 KΩ 1 µF
−
16u 0 ( t ) V
−
5. For the circuit of Figure 10.48 i L ( 0 ) = 2 A . For t > 0 the total response of i L ( t ) is
A. 6 A
B. 6e –5000t A
– 5000t
C. 6 + 6e A
D. 6 – 4 e –5000t A
E. none of the above
5Ω
4Ω 12 Ω
16u 0 ( t ) A
1 mH
` i (t)
L
A. 12 V
– 500t
B. 10 – 5e V
– 200t
C. 12 – 7e V
– 200t
D. 12 + 7e V
E. none of the above
4 KΩ 2 KΩ
+ +
− 12 KΩ 1 µF vC ( t )
−
16u 0 ( t ) V
– 5000t
A. 20e V
– 5000t
B. 20e V
– 8000t
C. – 32e V
– 8000t
D. 32e V
E. none of the above
5Ω
+
4Ω 12 Ω
16u 0 ( t ) A
1 mH
` −v ( t ) L
4 KΩ 2 KΩ
+ 12 KΩ 1 µF iC ( t )
−
16u 0 ( t ) V
B. 3 [ u 0 ( t ) ] – 3 [ u 0 ( t – 3 ) ] A
C. 3t [ u 0 ( t ) – u 0 ( t – 1 ) ] + ( – 1.5t + 4.5 ) [ u 0 ( t – 1 ) – u 0 ( t – 3 ) ] A
D. 3t [ u 0 ( t ) – u 0 ( t – 3 ) ] + ( – 1.5t + 4.5 ) [ u 0 ( t ) – u 0 ( t – 3 ) ] A
iL ( t ) A
3
t (s)
1 2 3
– αt – βt
B. ( 2 – 2e ) [ u 0 ( t ) – u 0 ( t – 2 ) ] + ( 2e ) [ u0 ( t – 2 ) – u0 ( t – 3 ) ] V
– αt – βt
C. ( 2 – 2e ) [ u 0 ( t ) – u 0 ( t – 2 ) ] – ( 2e ) [ u0 ( t – 2 ) – u0 ( t – 3 ) ] V
– αt – βt
D. ( 2 – 2e ) [ u 0 ( t ) ] – ( 2e ) [ u0 ( t – 3 ) ] V
Problems
1. In the circuit of Figure 10.54, the voltage source v S ( t ) varies with time as shown by the wave-
form of Figure 10.55. Compute, sketch, and express v LOAD ( t ) as a sum of unit step functions for
0 ≤ t ≤ 5 s.
6Ω 6Ω +
+ 12 Ω v LOAD ( t )
−
vS ( t ) 10 Ω
−
v S ( t ) (V)
120
60
0 1 2 3 4 5 6 t(s)
−60
3 KΩ
L
+
−
vS ( t ) 1 mH
` i (t) L
3. In the circuit of Figure 10.57 (a), the excitation v S ( t ) is a pulse as shown in Figure 10.57 (b).
iL ( t ) vS ( t ) V
`
3Ω 1 mH 24
+ 6Ω
− 6Ω
vS ( t )
0.3 t (ms)
(a) (b)
4. In the circuit of Figure 10.58, switch S has been open for a very long time and closes at t = 0 .
Compute and sketch i L ( t ) and i SW ( t ) for t > 0 .
4Ω i SW ( t )
6Ω
vS t = 0
S
+
−
20 V 8Ω 1H
` i (t)
L
10u 0 ( t ) A
vS 38 Ω
2Ω +
+ 50 µF vC ( t )
− −
24 V
6. For the circuit of Figure 10.60, compute v out ( t ) for t > 0 in terms of R , C , and v in u 0 ( t ) given
−
that v C ( 0 ) = 0
C
R
v in u 0 ( t )
v out ( t )
7. In the circuit of Figure 10.61, switch S has been open for a very long time and closes at t = 0 .
Compute and sketch v C ( t ) and v R3 ( t ) for t > 0 .
R1 v S2 R2
−
+ C
+
50 KΩ 25 KΩ vC ( t )
v S1 50 V
1 µF
−
+
+ t = 0
− R3 v R3 ( t )
S
100u 0 ( – t ) V −
100 KΩ
−
8. For the circuit of Figure 10.62, it is given that v C ( 0 ) = 5 V . Compute i C ( t ) for t > 0 . Hint: Be
careful in deriving the time constant for this circuit.
iC ( t ) R1 18 Ω
C R2 12 Ω
+
vC ( t )
1F − +
− 10i ( t )
C
×
x
6Ω 6Ω + 10 Ω +
+ 12 Ω v LOAD ( t ) + v LOAD ( t )
− 10 Ω − 10 Ω
vS ( t ) − v TH ( t ) −
y
×
v S ( t ) (V)
120
60
0 1 2 3 4 5 6 t(s)
−60
For the Thevenin equivalent voltage at different time intervals is as shown below.
⎛ 12
------ v ( t )
2
= --- × 60 = 40 V 0<t<1 s
⎜ 18 s 3
⎜
⎜ 12
------ v ( t ) 2
= --- × 120 = 80 V 1<t<3 s
⎜ 18 s 3
v TH ( t ) = ⎜
⎜ 12 -v (t)
2
= --- × ( – 60 ) = – 40 V 3<t<4 s
⎜ -----
18 s 3
⎜
⎜ 12 2
⎝ ------v (t) = --- × 60 = 40 V t>4 s
18 s 3
and
⎛ 0.5 × 40 = 20 V 0<t<1 s
⎜
10 0.5 × 80 = 40 V 1<t<3 s
v LOAD ( t ) = ------ v TH ( t ) = 0.5v TH ( t ) = ⎜
20 ⎜ 0.5 × ( – 40 ) = – 20 V 3<t<4 s
⎜
⎝ 0.5 × 40 = 20 V t>4 s
v LOAD ( t ) (V)
40
20
0 1 2 3 4 5 t (s)
– 20
The waveform above can now be expressed as a sum of unit step functions as follows:
v LOAD ( t ) = 20u 0 ( t ) – 20u 0 ( t – 1 ) + 40u 0 ( t – 1 ) – 40u 0 ( t – 3 ) + 20u 0 ( t – 4 )
– 20u 0 ( t – 3 ) + 20u 0 ( t – 4 ) + 20u 0 ( t – 4 )
= 20u 0 ( t ) + 20u 0 ( t – 1 ) – 60u 0 ( t – 3 ) + 40u 0 ( t – 4 )
−
2. The circuit at t = 0 is as shown below and since we are not told otherwise, we will assume that
−
iL ( 0 ) = 0
For t > 0 we let i L1 ( t ) be the inductor current when the 15u 0 ( t ) voltage source acts alone and
i L2 ( t ) when the 30u 0 ( t – 2 ) voltage source acts alone. Then, i L TOTAL ( t ) = i L1 ( t ) + i L2 ( t )
3 kΩ
1 mH
` i (0 ) = 0
− −
vS ( 0 ) = 0 L
3 KΩ
+
−
15 V 1 mH
` i L1 ( t )
6
15 - = 5 mA and i
Then, i L1 ( t ) = i L1f + i L1n where i L1f = -------------
– ( R ⁄ L )t – 3 × 10 t
L1n = A 1 e = Ae
3 KΩ
6
– 3 × 10 t − +
Thus, i L1 ( t ) = 5 + A 1 e mA and using the initial condition i L ( 0 ) = i L ( 0 ) = 0 , we get
0
i L1 ( 0 ) = 5 + A 1 e mA or A 1 = – 5 . Therefore,
6
– 3 × 10 t
i L1 ( t ) = 5 – 5e (1)
Next, with the 30u 0 ( t – 2 ) voltage source acts alone the circuit is as shown below.
3 KΩ
−
+
30 V 1 mH
` i (t) L
6
– 30 - = – 10 mA and i
Then, i L2 ( t ) = i L2f + i L2n , i L2f = -------------
–( R ⁄ L ) ( t – 2 ) – 3 × 10 ( t – 2 )
L2n = A 2 e = Be
3 KΩ
6
– 3 × 10 ( t – 2 )
Thus, i L2 ( t ) = – 10 + A 2 e mA and the initial condition at t = 2 is found from (1)
6
– 6 × 10 t
above as i L1 = 5 – 5e ≈ 5 mA . Therefore,
t=2 s
6
– 3 × 10 ( 2 – 2 )
i L2 = i L1 = 5 = – 10 + A 2 e mA or A 2 = 15 and
t=2 s t=2 s
6
– 3 × 10 ( t – 2 )
i L2 ( t ) = – 10 + 15e mA (2)
Therefore, the total current when both voltage sources are present is the summation of (1) and
(2), that is,
6 6
– 3 × 10 t – 3 × 10 ( t – 2 )
i L TOTAL ( t ) = i L1 ( t ) + i L2 ( t ) = 5 – 5e – 10 + 15e mA
6 6
– 3 × 10 t – 3 × 10 ( t – 2 )
= – 5 – 5e + 15e mA
3.
a. For this circuit v S ( t ) = 24 [ u 0 ( t ) – u 0 ( t – 0.3 ) ] and since we are not told otherwise, we will
−
assume that i L ( 0 ) = 0 . For 0 < t < 0.3 ms the circuit and its Thevenin equivalent are as
shown below.
×
3Ω 6Ω 8Ω
+
−
vS ( t )
6Ω 1 mH
` i (t)L +
−
v TH ( t )
1 mH
` i (t)
L
×
v S ( t ) = 24 [ u 0 ( t ) – u 0 ( t – 0.3 ) ] v TH ( t ) = 16 [ u 0 ( t ) – u 0 ( t – 0.3 ) ]
Then,
– ( R ⁄ L )t – 8000t
i L ( t ) = i Lf + i Ln = 16 ⁄ 8 + A 1 e = 2 + Ae
and at t = 0
− 0
iL ( 0 ) = iL ( 0 ) = 0 = 2 + A1 e
b. For t > 0.3 ms the circuit is as shown below. For this circuit
– ( R ⁄ L ) ( t – 0.3 ) – 8000 ( t – 0.3 )
iL ( t ) = A2 e = A2 e (2)
and A 2 is found from the initial condition at t = 0.3 ms , that is, with (1) above we get
×
3Ω 6Ω
vS ( t ) = 0
6Ω 1 mH
` i (t) L 8Ω 1 mH
` i (t)
L
The waveform for the inductor current i L ( t ) for all t > 0 is shown below.
iL ( A )
1.82
t ( ms )
0.3
− −
4. At t = 0 the circuit is as shown below where i L ( 0 ) = 20 ⁄ ( 4 + 6 ) = 2 A and thus the initial
condition has been established.
4Ω
6Ω
vS
+
−
20 V
−
iL ( 0 )
For t > 0 the circuit and its Thevenin equivalent are as shown below where
8
v TH = ------------ × 20 = 40 ⁄ 3 V
4+8
and
8 × 4- + 6 = 26 ⁄ 3 Ω
R TH = -----------
8+4
4Ω Closed R TH 26 ⁄ 3 Ω
Switch
vS v TH
6Ω
+ +
−
20 V
− 1H
` i (t)
L
8Ω 1H
` i (t)L
40 ⁄ 3 V
Then,
i L ( t ) = i Lf + i Ln = 40 ⁄ 3- + Ae – ( R ⁄ L )t = 20 ⁄ 13 + Ae –( 26 ⁄ 3 )t
------------
26 ⁄ 3
Next, to find i SW ( t ) we observe that this current flows also through the 8 Ω resistor and this can
be found from v 8 Ω shown on the circuit below.
4Ω
vS i SW ( t )
6Ω
+
− +
20 V 8Ω v8 Ω
−
1H
` i (t)L
Now,
di L
v 8 Ω = v 6 Ω + v L ( t ) = 6i L ( t ) + L -------
dt
– 8.67t d – 8.67t
= 6 ( 1.54 + 0.46e ) + 1 × ----- ( 1.54 + 0.46e )
dt
– 8.67t – 8.67t
= 9.24 + 2.76e – 8.67 × 0.46e
– 8.67t
= 9.24 – 1.23e
and
v8 Ω – 8.67t
9.24 – 1.23e – 8.67t
i SW ( t ) = i 8 Ω = ---------
- = ----------------------------------------- = 1.16 – 0.15e (2)
8 8
Therefore, from the initial condition, (1) and (2) above we have
+ +
iL ( 0 ) = 2 i L ( ∞ ) = 1.54 i SW ( 0 ) = 1.16 – 0.15 = 1.01 i SW ( ∞ ) = 1.16
iL ( t ) A i SW ( t ) A
2.0 1.16
1.5
1.01
1.0
0.5
t t
− −
5. At t = 0 the circuit is as shown below where v C ( 0 ) = 24 V and thus the initial condition has
been established.
vS 38 Ω 2Ω
+ +
− vC ( t )
−
24 V 50 µF
The circuit for t > 0 is shown below where the current source has been replaced with a voltage
source.
−
+
vS 38 Ω 2Ω 40 Ω
20 V +
+ vC ( t ) + +
− − vC ( t )
− −
24 V 50 µF 4V 50 µF
Now,
– 1 ⁄ ( RC ) t – 500t
v C ( t ) = v Cf + v Cn = 4 + Ae = 4 + Ae
− + 0
and with the initial condition v C ( 0 ) = v C ( 0 ) = 24 V = 4 + Ae from which A = 20 we get
– 500t
v C ( t ) = 4 + 20e
+ −
C
R v−
+
v in ( t ) +
v out ( t )
−
−
v in
v out ( t ) = – -------- t + k
RC
where k is the constant of integration of both sides and it is evaluated from the given initial condi-
tion. Then,
− +
vC ( 0 ) = vC ( 0 ) = 0 = 0 + k
or k = 0 . Therefore,
v in
v out ( t ) = – ⎛ -------- t ⎞ u 0 ( t )
⎝ RC ⎠
slope = – v in ⁄ RC
− −
7. At t = 0 the circuit is as shown below where v C ( 0 ) = 150 V and thus the initial condition has
been established.
175 KΩ
+
−
+ vC ( 0 )
− −
150 V 1 µF
The circuit for t > 0 is shown below where the voltage source v S1 is absent for all positive time
and the 50 KΩ is shorted out by the closed switch.
125 KΩ
+
+ vC ( t )
− −
50 V 1 µF
dv C –6 – 4 – 8t
i C ( t ) = C --------- = 10 × ( – 8 × 10 e )
dt
25 KΩ
+
vC ( t )
1 µF −
+
+
− v R3 ( t )
50 V 100 KΩ
−
Then,
5 – 4 – 8t – 8t
v R3 ( t ) = ( 100 KΩ )i C = 10 ( – 8 × 10 e ) = – 80e V
The sketches below show v C ( t ) and v R3 ( t ) as they approach their final values.
vC ( t ) V
150 v R3 ( t ) V
0 t
100
50 – 80
t
0
8. For this circuit we cannot short the dependent source and therefore we cannot find R eq by com-
bining the resistances R 1 and R 2 in parallel combination in order to find the time constant
τ = RC . Instead, we will derive the time constant from the differential equation of (9.9) of the
previous chapter, that is,
dv vC
--------C- + -------
- = 0
dt RC
From the given circuit shown below
vC
iC ( t ) R1 18 Ω
C R2 12 Ω
+
vC ( t )
1F − +
− 10i ( t )
C
v C – 10i C v C
i C + ---------------------- + ------
R1 R2
or
dv C 1 1 10 dv C
C --------- + ⎛ ------ + ------ ⎞ v C – ------ C --------- = 0
dt ⎝ R1 R2 ⎠ R 1 dt
or
10 ⎞ ⎛ dv
⎛ 1 – ----- R1 + R2
- C ---------⎞ + ⎛ ------------------⎞ v C = 0
C
⎝ R ⎠ ⎝ dt ⎠ ⎝ R 1 ⋅ R 2 ⎠
1
or
R 1 + R 2⎞
⎛ ----------------- -
dv C ⎝ R1 ⋅ R2 ⎠
--------- + ------------------------------ v C = 0
dt ⎛ 1 – ----- 10- ⎞ ⋅ C
⎝ R1 ⎠
1 - = 1
----------- 30 ⁄ 216 - = 30
--- = ---------------------------- ------------------ 15 × 9- = 135
⁄ 216- = ----------------- 5- = 0.3125
--------- = -----
R eq C τ ⎛ 1 – 10 8 ⁄ 18 4 × 108 432 16
------ ⎞ ⋅ 1
⎝ 18 ⎠
and thus
– 0.3125t
v C ( t ) = Ae
−
and with the given initial condition v C ( 0 ) = V 0 = A = 5 V we get
– 0.3125t
v C ( t ) = 5e
Then, using
dv C
i C = C ---------
dt
we find that for t > 0
– 0.3125t – 0.3125t
i C ( t ) = ( 1 ) ( – 0.3125 × 5e ) = – 1.5625e
and the minus (−) sign indicates that the i C ( t ) direction is opposite to that shown.
NOTES
T
his appendix serves as an introduction to the basic MATLAB commands and functions, proce-
dures for naming and saving the user generated files, comment lines, access to MATLAB’s Edi-
tor/Debugger, finding the roots of a polynomial, and making plots. Several examples are pro-
vided with detailed explanations.
Helvetica Font: User inputs at MATLAB’s command window prompt >> or EDU>>*
Window where we can type our code (list of statements) for a new file, or open a previously saved
file. We must save our program with a file name which starts with a letter. Important! MATLAB is
case sensitive, that is, it distinguishes between upper- and lower-case letters. Thus, t and T are two dif-
ferent letters in MATLAB language. The files that we create are saved with the file name we use
and the extension .m; for example, myfile01.m. It is a good practice to save the code in a file
name that is descriptive of our code content. For instance, if the code performs some matrix oper-
ations, we ought to name and save that file as matrices01.m or any other similar name. We should
also use a floppy disk to backup our files.
2. Once the code is written and saved as an m-file, we may exit the Editor/Debugger window by clicking
on Exit Editor/Debugger of the File menu. MATLAB then returns to the command window.
3. To execute a program, we type the file name without the .m extension at the >> prompt; then, we
press <enter> and observe the execution and the values obtained from it. If we have saved our file
in drive a or any other drive, we must make sure that it is added it to the desired directory in MAT-
LAB’s search path. The MATLAB User’s Guide provides more information on this topic.
Henceforth, it will be understood that each input command is typed after the >> prompt and fol-
lowed by the <enter> key.
The command help matlab\iofun will display input/output information. To get help with other
MATLAB topics, we can type help followed by any topic from the displayed menu. For example, to
get information on graphics, we type help matlab\graphics. The MATLAB User’s Guide contains
numerous help topics.
To appreciate MATLAB’s capabilities, we type demo and we see the MATLAB Demos menu. We
can do this periodically to become familiar with them. Whenever we want to return to the command
window, we click on the Close button.
When we are done and want to leave MATLAB, we type quit or exit. But if we want to clear all pre-
vious values, variables, and equations without exiting, we should use the command clear. This com-
mand erases everything; it is like exiting MATLAB and starting it again. The command clc clears the
screen but MATLAB still remembers all values, variables and equations that we have already used. In
other words, if we want to clear all previously entered commands, leaving only the >> prompt on the
upper left of the screen, we use the clc command.
All text after the % (percent) symbol is interpreted as a comment line by MATLAB, and thus it is
ignored during the execution of a program. A comment can be typed on the same line as the function
or command or as a separate line. For instance,
conv(p,q) % performs multiplication of polynomials p and q.
% The next statement performs partial fraction expansion of p(x) / q(x)
are both correct.
One of the most powerful features of MATLAB is the ability to do computations involving complex
numbers. We can use either i , or j to denote the imaginary part of a complex number, such as 3-4i
or 3-4j. For example, the statement
z=3−4j
displays
z = 3.0000-4.0000i
In the above example, a multiplication (*) sign between 4 and j was not necessary because the com-
plex number consists of numerical constants. However, if the imaginary part is a function, or variable
such as cos ( x ) , we must use the multiplication sign, that is, we must type cos(x)*j or j*cos(x) for the
imaginary part of the complex number.
Solution:
The roots are found with the following two statements where we have denoted the polynomial as p1,
and the roots as roots_ p1.
p1=[1 −10 35 −50 24] % Specify and display the coefficients of p1(x)
p1 =
1 -10 35 -50 24
roots_ p1=roots(p1) % Find the roots of p1(x)
roots_p1 =
4.0000
3.0000
2.0000
1.0000
We observe that MATLAB displays the polynomial coefficients as a row vector, and the roots as a
column vector.
Example A.2
Find the roots of the polynomial
5 4 2
p 2 ( x ) = x – 7x + 16x + 25x + 52
Solution:
There is no cube term; therefore, we must enter zero as its coefficient. The roots are found with the
statements below, where we have defined the polynomial as p2, and the roots of this polynomial as
roots_ p2. The result indicates that this polynomial has three real roots, and two complex roots. Of
course, complex roots always occur in complex conjugate* pairs.
p2=[1 −7 0 16 25 52]
p2 =
1 -7 0 16 25 52
roots_ p2=roots(p2)
roots_ p2 =
6.5014
2.7428
-1.5711
-0.3366+ 1.3202i
-0.3366- 1.3202i
Example A.3
It is known that the roots of a polynomial are 1, 2, 3, and 4 . Compute the coefficients of this poly-
nomial.
Solution:
We first define a row vector, say r3 , with the given roots as elements of this vector; then, we find the
coefficients with the poly(r) function as shown below.
r3=[1 2 3 4] % Specify the roots of the polynomial
r3 =
1 2 3 4
poly_r3=poly(r3) % Find the polynomial coefficients
poly_r3 =
1 -10 35 -50 24
We observe that these are the coefficients of the polynomial p 1 ( x ) of Example A.1.
Example A.4
It is known that the roots of a polynomial are – 1, – 2, – 3, 4 + j5 and 4 – j5 . Find the coefficients
of this polynomial.
Solution:
We form a row vector, say r4 , with the given roots, and we find the polynomial coefficients with the
poly(r) function as shown below.
r4=[ −1 −2 −3 −4+5j −4−5j ]
r4 =
Columns 1 through 4
-1.0000 -2.0000 -3.0000 -4.0000+ 5.0000i
Column 5
-4.0000- 5.0000i
poly_r4=poly(r4)
poly_r4 =
1 14 100 340 499 246
[q,r]=deconv(c,d) −divides polynomial c by polynomial d and displays the quotient q and remain-
der r.
polyder(p) − produces the coefficients of the derivative of a polynomial p.
Example A.6
Let
5 4 2
p 1 = x – 3x + 5x + 7x + 9
and
Solution:
p1=[1 −3 0 5 7 9]; % The coefficients of p1
p2=[2 0 −8 0 4 10 12]; % The coefficients of p2
p1p2=conv(p1,p2) % Multiply p1 by p2 to compute coefficients of the product p1p2
p1p2 =
2 -6 -8 34 18 -24 -74 -88 78 166 174 108
Therefore,
11 10 9 8 7 6
p 1 ⋅ p 2 = 2x – 6x – 8x + 34x + 18x – 24x
5 4 3 2
– 74x – 88x + 78x + 166x + 174x + 108
Example A.7
Let
7 5 3
p 3 = x – 3x + 5x + 7x + 9
and
6 5 2
p 4 = 2x – 8x + 4x + 10x + 12
Solution:
% It is permissible to write two or more statements in one line separated by semicolons
p3=[1 0 −3 0 5 7 9]; p4=[2 −8 0 0 4 10 12]; [q,r]=deconv(p3,p4)
q =
0.5000
r =
0 4 -3 0 3 2 3
Therefore,
5 4 2
q = 0.5 r = 4x – 3x + 3x + 2x + 3
Example A.8
Let
6 4 2
p 5 = 2x – 8x + 4x + 10x + 12
d
Compute the derivative ------ p 5 using the polyder(p) function.
dx
Solution:
p5=[2 0 −8 0 4 10 12]; % The coefficients of p5
der_p5=polyder(p5) % Compute the coefficients of the derivative of p5
der_p5 =
12 0 -32 0 8 10
Therefore,
d-
----- 5 3 2
p = 12x – 32x + 4x + 8x + 10
dx 5
where some of the terms in the numerator and/or denominator may be zero. We can find the roots
of the numerator and denominator with the roots(p) function as before.
As noted in the comment line of Example A.7, we can write MATLAB statements in one line, if we
separate them by commas or semicolons. Commas will display the results whereas semicolons will
suppress the display.
Example A.9
Let
p num 5 4 2
R ( x ) = ----------- x – 3x + 5x + 7x + 9-
- = -------------------------------------------------------
p den 6 4
x – 4x + 2x + 5x + 6
2
Express the numerator and denominator in factored form, using the roots(p) function.
Solution:
num=[1 −3 0 5 7 9]; den=[1 0 −4 0 2 5 6]; % Do not display num and den coefficients
roots_num=roots(num), roots_den=roots(den) % Display num and den roots
roots_num =
2.4186+ 1.0712i 2.4186- 1.0712i -1.1633
-0.3370+ 0.9961i -0.3370- 0.9961i
roots_den =
1.6760+0.4922i 1.6760-0.4922i -1.9304
-0.2108+0.9870i -0.2108-0.9870i -1.0000
As expected, the complex roots occur in complex conjugate pairs.
For the numerator, we have the factored form
p num = ( x – 2.4186 – j1.0712 ) ( x – 2.4186 + j1.0712 ) ( x + 1.1633 )
( x + 0.3370 – j0.9961 ) ( x + 0.3370 + j0.9961 )
We can also express the numerator and denominator of this rational function as a combination of lin-
ear and quadratic factors. We recall that, in a quadratic equation of the form x 2 + bx + c = 0 whose
roots are x 1 and x 2 , the negative sum of the roots is equal to the coefficient b of the x term, that is,
– ( x 1 + x 2 ) = b , while the product of the roots is equal to the constant term c , that is, x 1 ⋅ x 2 = c .
Accordingly, we form the coefficient b by addition of the complex conjugate roots and this is done
by inspection; then we multiply the complex conjugate roots to obtain the constant term c using
MATLAB as follows:
p num 2
( x – 4.8372x + 6.9971 ) ( x + 0.6740x + 1.1058 ) ( x + 1.1633 )
2
R ( x ) = -----------
- = ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-
p den 2 2
( x – 3.3520x + 3.0512 ) ( x + 0.4216x + 1.0186 ) ( x + 1.0000 ) ( x + 1.9304 )
We can check this result with MATLAB’s Symbolic Math Toolbox which is a collection of tools (func-
tions) used in solving symbolic expressions. They are discussed in detail in MATLAB’s Users Manual.
For the present, our interest is in using the collect(s) function that is used to multiply two or more
symbolic expressions to obtain the result in polynomial form. We must remember that the conv(p,q)
function is used with numeric expressions only, that is, polynomial coefficients.
Before using a symbolic expression, we must create one or more symbolic variables such as x, y, t,
and so on. For our example, we use the following code:
syms x % Define a symbolic variable and use collect(s) to express numerator in polynomial form
collect((x^2−4.8372*x+6.9971)*(x^2+0.6740*x+1.1058)*(x+1.1633))
ans =
x^5-29999/10000*x^4-1323/3125000*x^3+7813277909/
1562500000*x^2+1750276323053/250000000000*x+4500454743147/
500000000000
and if we simplify this, we find that is the same as the numerator of the given rational expression in
polynomial form. We can use the same procedure to verify the denominator.
Example A.10
Consider the electric circuit of Figure A.1, where the radian frequency ω (radians/second) of the
applied voltage was varied from 300 to 3000 in steps of 100 radians/second, while the amplitude was
held constant. The ammeter readings were then recorded for each frequency. The magnitude of the
impedance |Z| was computed as Z = V ⁄ A and the data were tabulated on Table A.1.
<
1 V
<R C
`L F
Figure A.1. Electric circuit for Example A.10
Plot the magnitude of the impedance, that is, |Z| versus radian frequency ω .
Solution:
We cannot type ω (omega) in the MATLAB command window, so we will use the English letter w
instead.
If a statement, or a row vector is too long to fit in one line, it can be continued to the next line by typ-
ing three or more periods, then pressing <enter> to start a new line, and continue to enter data. This
is illustrated below for the data of w and z. Also, as mentioned before, we use the semicolon (;) to
suppress the display of numbers that we do not care to see on the screen.
The data are entered as follows:
w=[300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900....
2000 2100 2200 2300 2400 2500 2600 2700 2800 2900 3000];
%
z=[39.339 52.789 71.104 97.665 140.437 222.182 436.056....
1014.938 469.830 266.032 187.052 145.751 120.353 103.111....
90.603 81.088 73.588 67.513 62.481 58.240 54.611 51.468....
48.717 46.286 44.122 42.182 40.432 38.845];
Of course, if we want to see the values of w or z or both, we simply type w or z, and we press
<enter>. To plot z (y-axis) versus w (x-axis), we use the plot(x,y) command. For this example, we
use plot(w,z). When this command is executed, MATLAB displays the plot on MATLAB’s graph
screen. This plot is shown in Figure A.2.
1200
1000
800
600
400
200
0
0 500 1000 1500 2000 2500
xlabel(‘string’) and ylabel(‘string’) are used to label the x- and y-axis respectively.
The amplitude frequency response is usually represented with the x-axis in a logarithmic scale. We
can use the semilogx(x,y) command that is similar to the plot(x,y) command, except that the x-axis
is represented as a log scale, and the y-axis as a linear scale. Likewise, the semilogy(x,y) command is
similar to the plot(x,y) command, except that the y-axis is represented as a log scale, and the x-axis as
a linear scale. The loglog(x,y) command uses logarithmic scales for both axes.
Throughout this text it will be understood that log is the common (base 10) logarithm, and ln is the
natural (base e) logarithm. We must remember, however, the function log(x) in MATLAB is the nat-
ural logarithm, whereas the common logarithm is expressed as log10(x), and the logarithm to the
base 2 as log2(x).
Let us now redraw the plot with the above options by adding the following statements:
semilogx(w,z); grid; % Replaces the plot(w,z) command
title('Magnitude of Impedance vs. Radian Frequency');
xlabel('w in rads/sec'); ylabel('|Z| in Ohms')
After execution of these commands, our plot is as shown in Figure A.3.
If the y-axis represents power, voltage or current, the x-axis of the frequency response is more often
shown in a logarithmic scale, and the y-axis in dB (decibels). The decibel unit is defined in Chapter 4.
* A default is a particular value for a variable that is assigned automatically by an operating system and remains
in effect unless canceled or overridden by the operator.
1200
1000
800
600
400
200
0
2 3 4
10 10 10
To display the voltage v in a dB scale on the y-axis, we add the relation dB=20*log10(v), and we
replace the semilogx(w,z) command with semilogx(w,dB).
The command gtext(‘string’)* switches to the current Figure Window, and displays a cross-hair that
can be moved around with the mouse. For instance, we can use the command gtext(‘Impedance |Z|
versus Frequency’), and this will place a cross-hair in the Figure window. Then, using the mouse, we
can move the cross-hair to the position where we want our label to begin, and we press <enter>.
The command text(x,y,’string’) is similar to gtext(‘string’). It places a label on a plot in some spe-
cific location specified by x and y, and string is the label which we want to place at that location. We
will illustrate its use with the following example that plots a 3-phase sinusoidal waveform.
The first line of the code below has the form
linspace(first_value, last_value, number_of_values)
* With MATLAB Versions 6 and 7 we can add text, lines and arrows directly into the graph using the tools provided
on the Figure Window.
This function specifies the number of data points but not the increments between data points. An
alternate function is
x=first: increment: last
and this specifies the increments between points but not the number of data points.
The code for the 3-phase plot is as follows:
x=linspace(0, 2*pi, 60); % pi is a built-in function in MATLAB;
% we could have used x=0:0.02*pi:2*pi or x = (0: 0.02: 2)*pi instead;
y=sin(x); u=sin(x+2*pi/3); v=sin(x+4*pi/3);
plot(x,y,x,u,x,v); % The x-axis must be specified for each function
grid on, box on, % turn grid and axes box on
text(0.75, 0.65, 'sin(x)'); text(2.85, 0.65, 'sin(x+2*pi/3)'); text(4.95, 0.65, 'sin(x+4*pi/3)')
These three waveforms are shown on the same plot of Figure A.4.
0.8
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
0 1 2 3 4 5 6 7
In our previous examples, we did not specify line styles, markers, and colors for our plots. However,
MATLAB allows us to specify various line types, plot symbols, and colors. These, or a combination
of these, can be added with the plot(x,y,s) command, where s is a character string containing one or
more characters shown on the three columns of Table A.2. MATLAB has no default color; it starts
with blue and cycles through the first seven colors listed in Table A.2 for each additional line in the
plot. Also, there is no default marker; no markers are drawn unless they are selected. The default line
is the solid line.
For example, plot(x,y,'m*:') plots a magenta dotted line with a star at each data point, and
plot(x,y,'rs') plots a red square at each data point, but does not draw any line because no line was
selected. If we want to connect the data points with a solid line, we must type plot(x,y,'rs−'). For
additional information we can type help plot in MATLAB’s command screen.
The plots we have discussed thus far are two-dimensional, that is, they are drawn on two axes. MAT-
LAB has also a three-dimensional (three-axes) capability and this is discussed next.
The plot3(x,y,z) command plots a line in 3-space through the points whose coordinates are the ele-
ments of x, y and z, where x, y and z are three vectors of the same length.
The general format is plot3(x1,y1,z1,s1,x2,y2,z2,s2,x3,y3,z3,s3,...) where xn, yn and zn are vectors
or matrices, and sn are strings specifying color, marker symbol, or line style. These strings are the
same as those of the two-dimensional plots.
Example A.11
Plot the function
3 2
z = – 2x + x + 3y – 1 (A.3)
Solution:
We arbitrarily choose the interval (length) shown on the code below.
x= -10: 0.5: 10; % Length of vector x
y= x; % Length of vector y must be same as x
3000
2000
1000
-1000
-2000
10
5 10
0 5
0
-5
-5
-10 -10
Figure A.5. Three dimensional plot for Example A.11
In a two-dimensional plot, we can set the limits of the x- and y-axes with the axis([xmin xmax ymin
ymax]) command. Likewise, in a three-dimensional plot we can set the limits of all three axes with
* This statement uses the so called dot multiplication, dot division, and dot exponentiation where the multiplication,
division, and exponential operators are preceded by a dot. These operations will be explained in Section A.8.
the axis([xmin xmax ymin ymax zmin zmax]) command. It must be placed after the plot(x,y) or
plot3(x,y,z) commands, or on the same line without first executing the plot command. This must be
done for each plot. The three-dimensional text(x,y,z,’string’) command will place string beginning
at the co-ordinate (x,y,z) on the plot.
For three-dimensional plots, grid on and box off are the default states.
We can also use the mesh(x,y,z) command with two vector arguments. These must be defined as
length ( x ) = n and length ( y ) = m where [ m, n ] = size ( Z ) . In this case, the vertices of the mesh
lines are the triples { x ( j ), y ( i ), Z ( i, j ) } . We observe that x corresponds to the columns of Z, and y
corresponds to the rows.
To produce a mesh plot of a function of two variables, say z = f ( x, y ) , we must first generate the X
and Y matrices that consist of repeated rows and columns over the range of the variables x and y. We
can generate the matrices X and Y with the [X,Y]=meshgrid(x,y) function that creates the matrix X
whose rows are copies of the vector x, and the matrix Y whose columns are copies of the vector y.
Example A.12
The volume V of a right circular cone of radius r and height h is given by
1 2
V = --- πr h (A.4)
3
Plot the volume of the cone as r and h vary on the intervals 0 ≤ r ≤ 4 and 0 ≤ h ≤ 6 meters.
Solution:
The volume of the cone is a function of both the radius r and the height h, that is,
V = f ( r, h )
The three-dimensional plot is created with the following MATLAB code where, as in the previous
example, in the second line we have used the dot multiplication, dot division, and dot exponentiation.
This will be explained in Section A.8.
[R,H]=meshgrid(0: 4, 0: 6); % Creates R and H matrices from vectors r and h
V=(pi .* R .^ 2 .* H) ./ 3; mesh(R, H, V)
xlabel('x-axis, radius r (meters)'); ylabel('y-axis, altitude h (meters)');
zlabel('z-axis, volume (cubic meters)'); title('Volume of Right Circular Cone'); box on
The three-dimensional plot of Figure A.6, shows how the volume of the cone increases as the radius
and height are increased.
120
80
60
40
20
0
6
4
4
3
2 2
1
y-axis, altitude h (meters) 0 0
x-axis, radius r (meters)
A.8 Subplots
MATLAB can display up to four windows of different plots on the Figure window using the com-
mand subplot(m,n,p). This command divides the window into an m × n matrix of plotting areas and
chooses the pth area to be active. No spaces or commas are required between the three integers m, n
and p. The possible combinations are shown in Figure A.7.
We will illustrate the use of the subplot(m,n,p) command following the discussion on multiplica-
tion, division and exponentiation that follows.
111
Default
Full Screen
be two vectors. We observe that A is defined as a row vector whereas B is defined as a column vector,
as indicated by the transpose operator (′). Here, multiplication of the row vector A by the column
vector B, is performed with the matrix multiplication operator (*). Then,
A*B = [ a 1 b 1 + a 2 b 2 + a 3 b 3 + … + a n b n ] = sin gle value (A.5)
For example, if
A = [1 2 3 4 5]
and
B = [ – 2 6 – 3 8 7 ]'
the matrix multiplication A*B produces the single value 68, that is,
A∗ B = 1 × ( – 2 ) + 2 × 6 + 3 × ( – 3 ) + 4 × 8 + 5 × 7 = 68
be two row vectors. Here, multiplication of the row vector C by the row vector D is performed with
the dot multiplication operator (.*). There is no space between the dot and the multiplication sym-
bol. Thus,
C.∗ D = [ c 1 d 1 c2 d2 c3 d3 … cn dn ] (A.6)
This product is another row vector with the same number of elements, as the elements of C and D.
As an example, let
C = [1 2 3 4 5]
and
D = [ –2 6 –3 8 7 ]
Dot multiplication of these two row vectors produce the following result.
C.∗ D = 1 × ( – 2 ) 2 × 6 3 × ( – 3 ) 4 × 8 5 × 7 = – 2 12 – 9 32 35
Similarly, the division (/) and exponentiation (^) operators, are used for matrix division and exponen-
tiation, whereas dot division (./) and dot exponentiation (.^) are used for element-by-element divi-
sion and exponentiation.
We must remember that no space is allowed between the dot (.) and the multiplication, divi-
sion, and exponentiation operators.
Note: A dot (.) is never required with the plus (+) and minus (−) operators.
Example A.13
Write the MATLAB code that produces a simple plot for the waveform defined as
2
–4 t –3 t t
y = f ( t ) = 3e cos 5t – 2e sin 2t + ----------- (A.7)
t+1
3
y=f(t)
-1
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
t
in the interval 0 ≤ x ≤ 2π using 100 data points. Use the subplot command to display these func-
tions on four windows on the same graph.
Solution:
The MATLAB code to produce the four subplots is as follows:
x=linspace(0,2*pi,100); % Interval with 100 data points
y=(sin(x).^ 2); z=(cos(x).^ 2);
w=y.* z;
v=y./ (z+eps); % add eps to avoid division by zero
subplot(221);% upper left of four subplots
plot(x,y); axis([0 2*pi 0 1]);
title('y=(sinx)^2');
subplot(222); % upper right of four subplots
plot(x,z); axis([0 2*pi 0 1]);
title('z=(cosx)^2');
subplot(223); % lower left of four subplots
plot(x,w); axis([0 2*pi 0 0.3]);
title('w=(sinx)^2*(cosx)^2');
subplot(224); % lower right of four subplots
plot(x,v); axis([0 2*pi 0 400]);
title('v=(sinx)^2/(cosx)^2');
These subplots are shown in Figure A.9.
y=(sinx)2 z=(cosx)2
1 1
0.8 0.8
0.6 0.6
0.4 0.4
0.2 0.2
0 0
0 2 4 6 0 2 4 6
The next example illustrates MATLAB’s capabilities with imaginary numbers. We will introduce the
real(z) and imag(z) functions that display the real and imaginary parts of the complex quantity z =
x + iy, the abs(z), and the angle(z) functions that compute the absolute value (magnitude) and
phase angle of the complex quantity z = x + iy = r∠θ. We will also use the polar(theta,r) function
that produces a plot in polar coordinates, where r is the magnitude, theta is the angle in radians, and
the round(n) function that rounds a number to its nearest integer.
Example A.15
Consider the electric circuit of Figure A.10.
<
10 Ω
Z ab 10 Ω
< 10 µF
b
0.1 H
` F
Figure A.10. Electric circuit for Example A.15
With the given values of resistance, inductance, and capacitance, the impedance Z ab as a function of
the radian frequency ω can be computed from the following expression:
4 6
10 – j ( 10 ⁄ ω ) -
Z ab = Z = 10 + ------------------------------------------------------- (A.8)
5
10 + j ( 0.1ω – 10 ⁄ ω )
a. Plot Re { Z } (the real part of the impedance Z) versus frequency ω.
% The next five statements (next two lines) compute and plot Im{z}
imag_part=imag(z); plot(w,imag_part); grid;
xlabel('radian frequency w'); ylabel('Imaginary part of Z');
% The last six statements (next six lines) below produce the polar plot of z
mag=abs(z); % Computes |Z|
rndz=round(abs(z)); % Rounds |Z| to read polar plot easier
theta=angle(z); % Computes the phase angle of impedance Z
polar(theta,rndz); % Angle is the first argument
grid;
ylabel('Polar Plot of Z');
The real, imaginary, and polar plots are shown in Figures A.11, A.12, and A.13 respectively.
Example A.15 clearly illustrates how powerful, fast, accurate, and flexible MATLAB is.
1200
1000
800
Real part of Z
600
400
200
0
0 200 400 600 800 1000 1200 1400 1600 1800 2000
radian frequency w
Figure A.11. Plot for the real part of the impedance in Example A.15
600
400
200
Imaginary part of Z
0
-200
-400
-600
0 200 400 600 800 1000 1200 1400 1600 1800 2000
radian frequency w
Figure A.12. Plot for the imaginary part of the impedance in Example A.15
90
1015
120 60
812
609
150 30
406
203
Polar Plot of Z
180 0
210 330
240 300
270
A function file is a user-defined function using MATLAB. We use function files for repetitive tasks.
The first line of a function file must contain the word function, followed by the output argument, the
equal sign ( = ), and the input argument enclosed in parentheses. The function name and file name
must be the same, but the file name must have the extension .m. For example, the function file con-
sisting of the two lines below
function y = myfunction(x)
y=x.^ 3 + cos(3.* x)
is a function file and must be saved as myfunction.m
For the next example, we will use the following MATLAB functions.
fzero(f,x) tries to find a zero of a function of one variable, where f is a string containing the name of
a real-valued function of a single real variable. MATLAB searches for a value near a point where the
function f changes sign, and returns that value, or returns NaN if the search fails.
Important: We must remember that we use roots(p) to find the roots of polynomials only, such as
those in Examples A.1 and A.2.
fmin(f,x1,x2) minimizes a function of one variable. It attempts to return a value of x where f ( x ) is
minimum in the interval x 1 < x < x 2 . The string f contains the name of the function to be minimized.
Note: MATLAB does not have a function to maximize a function of one variable, that is, there is no
fmax(f,x1,x2) function in MATLAB; but since a maximum of f ( x ) is equal to a minimum of – f ( x ) ,
we can use fmin(f,x1,x2) to find both minimum and maximum values of a function.
fplot(fcn,lims) plots the function specified by the string fcn between the x-axis limits specified by
lims = [xmin xmax]. Using lims = [xmin xmax ymin ymax] also controls the y-axis limits. The
string fcn must be the name of an m-file function or a string with variable x .
Note: NaN (Not-a-Number) is not a function; it is MATLAB’s response to an undefined expression
such as 0 ⁄ 0 , ∞ ⁄ ∞ , or inability to produce a result as described on the next paragraph. We can avoid
division by zero using the eps number, that we mentioned earlier.
Example A.16
Find the zeros, maxima and minima of the function
1
f ( x ) = --------------------------------------- 1
- + ---------------------------------------
- – 10
2 2
( x – 0.1 ) + 0.01 ( x – 1.2 ) + 0.04
Solution:
We first plot this function to observe the approximate zeros, maxima, and minima using the follow-
ing code.
100
80
60
40
20
-20
-40
-1.5 -1 -0.5 0 0.5 1 1.5
Figure A.14. Plot for Example A.16 using the plot command
The roots (zeros) of this function appear to be in the neighborhood of x = – 0.2 and x = 0.3 . The
maximum occurs at approximately x = 0.1 where, approximately, y max = 90 , and the minimum
occurs at approximately x = 1.2 where, approximately, y min = – 34 .
Next, we define and save f(x) as the funczero01.m function m-file with the following code:
function y=funczero01(x)
% Finding the zeros of the function shown below
y=1/((x−0.1)^2+0.01)−1/((x−1.2)^2+0.04)-10;
Now, we can use the fplot(fcn,lims) command to plot f ( x ) as follows.
fplot('funczero01', [−1.5 1.5]); grid
This plot is shown in Figure A.15. As expected, this plot is identical to the plot of Figure A.14 that
was obtained with the plot(x,y) command.
100
80
60
40
20
-20
-40
-1.5 -1 -0.5 0 0.5 1 1.5
Figure A.15. Plot for Example A.16 using the fplot command
We will use the fzero(f,x) function to compute the roots of f ( x ) in (A.20) more precisely. The code
below must be saved with a file name, and then invoked with that file name.
x1= fzero('funczero01', -0.2);
x2= fzero('funczero01', 0.3);
fprintf('The roots (zeros) of this function are r1= %3.4f', x1);
fprintf(' and r2= %3.4f \n', x2)
MATLAB displays the following:
The roots (zeros) of this function are r1= -0.1919 and r2= 0.3788
Whenever we use the fmin(f,x1,x2) function, we must remember that this function searches for a
minimum and it may display the values of local minima* , if any, before displaying the function mini-
mum. It is, therefore, advisable to plot the function with either the plot(x,y) or the fplot(fcn,lims)
command to find the smallest possible interval within which the function minimum lies. For this
example, we specify the range 0 ≤ x ≤ 1.5 rather than the interval – 1.5 ≤ x ≤ 1.5 .
The minimum of f(x) is found with the fmin(f,x1,x2) function as follows.
min_val=fmin('funczero01', 0, 1.5)
min_val = 1.2012
* Local maxima or local minima, are the maximum or minimum values of a function within a restricted range of
values in the independent variable. When the entire range is considered, the maxima and minima are considered
be to the maximum and minimum values in the entire range in which the function is defined.
This is the value of x at which y = f ( x ) is minimum. To find the value of y corresponding to this
value of x, we substitute it into f ( x ) , that is,
x=1.2012; y=1 / ((x−0.1) ^ 2 + 0.01) −1 / ((x−1.2) ^ 2 + 0.04) −10
y = -34.1812
To find the maximum value, we must first define a new function m-file that will produce – f ( x ) . We
define it as follows:
function y=minusfunczero01(x)
% It is used to find maximum value from -f(x)
y=−(1/((x−0.1)^2+0.01)−1/((x−1.2)^2+0.04)−10);
We have placed the minus (−) sign in front of the right side of the last expression above, so that the
maximum value will be displayed. Of course, this is equivalent to the negative of the funczero01
function.
Now, we execute the following code to get the value of x where the maximum y = f ( x ) occurs.
max_val=fmin('minusfunczero01', 0,1)
max_val = 0.0999
x=0.0999;% Using this value find the corresponding value of y
y=1 / ((x−0.1) ^ 2 + 0.01) −1 / ((x−1.2) ^ 2 + 0.04) −10
y = 89.2000
The disp(X) command displays the array X without printing the array name. If X is a string, the text
is displayed.
The fprintf(format,array) command displays and prints both text and arrays. It uses specifiers to
indicate where and in which format the values would be displayed and printed. Thus, if %f is used,
the values will be displayed and printed in fixed decimal format, and if %e is used, the values will be
displayed and printed in scientific notation format. With this command only the real part of each
parameter is processed.
T
his appendix is a review of the algebra of complex numbers. The basic operations are defined
and illustrated by several examples. Applications using Euler’s identities are presented, and the
exponential and polar forms are discussed and illustrated with examples.
y
jA
j ( j A ) = j2 A = –A A
x
2
j ( –j A ) = –j A = A
j ( –A ) = j 3 A = –j A
Note: In our subsequent discussion, we will designate the x-axis (abscissa) as the real axis, and the y-
axis (ordinate) as the imaginary axis with the understanding that the “imaginary” axis is just as “real”
as the real axis. In other words, the imaginary axis is just as important as the real axis.*
An imaginary number is the product of a real number, say r , by the operator j . Thus, r is a real number
and jr is an imaginary number.
A complex number is the sum (or difference) of a real number and an imaginary number. For example,
the number A = a + jb where a and b are both real numbers, is a complex number. Then,
a = Re { A } and b = Im { A } where Re { A } denotes real part of A, and b = Im { A } the imagi-
nary part of A.
By definition, two complex numbers A and B where A = a + jb and B = c + jd , are equal if and
only if their real parts are equal, and also their imaginary parts are equal. Thus, A = B if and only if
a = c and b = d .
Example B.1
It is given that A = 3 + j 4 , and B = 4 – j 2 . Find A + B and A – B
Solution:
A + B = (3 + j4) + (4 – j2) = (3 + 4) + j(4 – 2) = 7 + j2
and
A – B = (3 + j4) – (4 – j2) = (3 – 4) + j(4 + 2) = – 1 + j6
* We may think the real axis as the cosine axis and the imaginary axis as the sine axis.
A = a + jb and B = c + jd
then
A ⋅ B = ( a + jb ) ⋅ ( c + jd ) = ac + jad + jbc + j 2 bd
A ⋅ B = ac + jad + jbc – b d
(B.1)
= ( ac – bd ) + j ( ad + bc )
Example B.2
It is given that A = 3 + j 4 and B = 4 – j 2 . Find A ⋅ B
Solution:
A ⋅ B = ( 3 + j 4 ) ⋅ ( 4 – j 2 ) = 12 – j 6 + j 16 – j 2 8 = 20 + j 10
The conjugate of a complex number, denoted as A∗ , is another complex number with the same real
component, and with an imaginary component of opposite sign. Thus, if A = a + jb , then
A∗ = a – j b .
Example B.3
It is given that A = 3 + j 5 . Find A∗
Solution:
The conjugate of the complex number A has the same real component, but the imaginary compo-
nent has opposite sign. Then, A∗ = 3 – j 5
If a complex number A is multiplied by its conjugate, the result is a real number. Thus, if A = a + jb , then
2 2
A ⋅ A∗ = ( a + jb ) ( a – jb ) = a 2 – jab + jab – j 2 b 2 = a + b
Example B.4
It is given that A = 3 + j 5 . Find A ⋅ A∗
Solution:
2 2
A ⋅ A∗ = ( 3 + j 5 ) ( 3 – j 5 ) = 3 + 5 = 9 + 25 = 34
A a + jb ( a + jb ) ( c – jd ) A B∗ ( ac + bd ) + j ( bc – ad )
--- = -------------- = -------------------------------------- = --- ⋅ ------ = -------------------------------------------------------
B c + jd ( c + jd ) ( c – jd ) B B∗ 2
c +d
2
(B.2)
( ac + bd -) j (----------------------
bc – ad )
-
= ----------------------
2 2
+ 2 2
c +d c + d
In (B.2), we multiplied both the numerator and denominator by the conjugate of the denominator to
eliminate the j operator from the denominator of the quotient. Using this procedure, we see that the
quotient is easily separated into a real and an imaginary part.
Example B.5
It is given that A = 3 + j 4 , and B = 4 + j 3 . Find A ⁄ B
Solution:
Using the procedure of (B.2), we get
A 3 + j 4 ( 3 + j 4 ) ( 4 – j 3 ) 12 – j 9 + j 16 + 12 24 + j 7 7
--- = -------------- = -------------------------------------- = -------------------------------------------- = ----------------- = 24
------ + j ------ = 0.96 + j 0.28
B 4 + j3 (4 + j3)(4 – j3) 4 +3
2 2 25 25 25
jθ
e = cos θ + j sin θ (B.3)
and
– jθ
e = cos θ – j sin θ (B.4)
2 2
C = a +b (B.8)
–1 b
θ = tan ⎛ --- ⎞ (B.9)
⎝a⎠
To convert a complex number from rectangular to exponential form, we use the expression
b⎞
j ⎛ tan
–1
---
2 2 ⎝ a⎠
a + jb = a +b e (B.10)
To convert a complex number from exponential to rectangular form, we use the expressions
jθ
Ce = C cos θ + j C sin θ
– jθ
(B.11)
Ce = C cos θ – j C sin θ
The polar form is essentially the same as the exponential form but the notation is different, that is,
jθ
Ce = C ∠θ (B.12)
where the left side of (B.12) is the exponential form, and the right side is the polar form.
We must remember that the phase angle θ is always measured with respect to the positive real axis, and rotates in
the counterclockwise direction.
Example B.6
Convert the following complex numbers to exponential and polar forms:
a. 3 + j 4
b. – 1 + j 2
c. – 2 – j
d. 4 – j 3
Solution:
a. The real and imaginary components of this complex number are shown in Figure B.2.
Im
4
53.1°
Re
3
Then,
–1
2⎞
j ⎛ tan -----
⎝ - j116.6 °
– 1 + j2 =
2
1 +2 e
2 – 1⎠ = 5e = 5 ∠116.6°
Im
2
5
116.6°
63.4°
Re
−1
Im
206.6°
−2 Re
26.6°
−153.4°(Measured
5 Clockwise)
−1
Then,
–1
j ⎛tan – -----3-⎞⎠
4 –j 3 =
2 2
4 +3 e ⎝ 4 = 5e j323.1 ° = 5 ∠323.1° = 5e –j36.9 ° = 5 ∠– 36.9 °
Im
323.1° 4
Re
−36.9°
5
−3
Example B.7
Express the complex number – 2 ∠30° in exponential and in rectangular forms.
Solution:
We recall that – 1 = j 2 . Since each j rotates a vector by 90 ° counterclockwise, then – 2 ∠30° is the
same as 2 ∠30° rotated counterclockwise by 180 ° . Therefore,
– 2 ∠30° = 2 ∠( 30° + 180° ) = 2 ∠210° = 2 ∠– 150°
The components of this complex number are shown in Figure B.6.
Im
210°
−1.73 Re
30°
−150°(Measured
2 Clockwise)
−1
then,
jθ jφ j(θ + φ)
AB = MN ∠( θ + φ ) = M e Ne = MN e (B.13)
Example B.8
Multiply A = 10 ∠53.1° by B = 5 ∠– 36.9°
Solution:
Multiplication in polar form yields
AB = ( 10 × 5 ) ∠[ 53.1° + ( – 36.9° ) ] = 50 ∠16.2°
and multiplication in exponential form yields
j53.1° – j 36.9° j ( 53.1° – 36.9° ) j16.2°
AB = ( 10 e ) ( 5e ) = 50 e = 50 e
To divide one complex number by another when both are expressed in exponential or polar form,
we divide the magnitude of the dividend by the magnitude of the divisor, and we subtract the phase
angle of the divisor from the phase angle of the dividend, that is, if
A = M ∠θ and B = N ∠φ
then,
jθ
A M Me M j(θ – φ )
--- = ----- ∠( θ – φ ) = ------------- = ---- e (B.14)
B N jφ N
Ne
Example B.9
Divide A = 10 ∠53.1° by B = 5 ∠– 36.9°
Solution:
Division in polar form yields
A 10 ∠53.1°
--- = ------------------------ = 2 ∠[ 53.1° – ( – 36.9° ) ] = 2 ∠90°
B 5 ∠– 36.9°
Division in exponential form yields
j53.1°
A 10 e j53.1° j36.9° j90°
--- = --------------------- = 2e e = 2e
B 5e
– j36.9°
NOTES
T
his chapter is an introduction to matrices and matrix operations. Determinants, Cramer’s rule,
and Gauss’s elimination method are reviewed. Some definitions and examples are not applica-
ble to subsequent material presented in this text, but are included for subject continuity, and
reference to more advance topics in matrix theory. These are denoted with a dagger (†) and may be
skipped.
1 3 1
2 3 7 or –2 1 –5
1 –1 5
4 –7 6
a 11 a 12 a 13 … a 1 n
a 21 a 22 a 23 … a 2 n
A = a 31 a 32 a 33 … a 3 n (C.1)
… … … … …
a m 1 a m 2 a m 3 … a mn
The numbers a ij are the elements of the matrix where the index i indicates the row, and j indicates the
column in which each element is positioned. Thus, a 43 indicates the element positioned in the
fourth row and third column.
A matrix of m rows and n columns is said to be of m × n order matrix.
If m = n , the matrix is said to be a square matrix of order m (or n). Thus, if a matrix has five rows and
five columns, it is said to be a square matrix of order 5.
In a square matrix, the elements a 11, a 22, a 33, …, a nn are called the main diagonal elements. Alter-
nately, we say that the matrix elements a 11, a 22, a 33, …, a nn , are located on the main diagonal.
† The sum of the diagonal elements of a square matrix A is called the trace* of A .
† A matrix in which every element is zero, is called a zero matrix.
a ij = b ij i = 1 , 2 , 3 , …, m j = 1, 2, 3, …, n (C.2)
Two matrices are said to be conformable for addition (subtraction), if they are of the same order m × n.
If A = a ij and B = b ij are conformable for addition (subtraction), their sum (difference) will be
another matrix C with the same order as A and B , where each element of C is the sum (difference)
of the corresponding elements of A and B , that is,
C = A ± B = [ a ij ± b ij ] (C.3)
Example C.1
Compute A + B and A – B given that
A = 1 2 3 and B = 2 3 0
0 1 4 –1 2 5
Solution:
A–B = 1–2 2 – 3 3 – 0 = –1 –1 3
0+1 1–2 4–5 1 –1 –1
Check with MATLAB:
A=[1 2 3; 0 1 4]; B=[2 3 0; −1 2 5]; % Define matrices A and B
A+B % Add A and B
* Henceforth, all paragraphs and topics preceded by a dagger ( † ) may be skipped. These are discussed in matrix
theory textbooks.
ans =
3 5 3
-1 3 9
If k is any scalar (a positive or negative number), and not [k] which is a 1 × 1 matrix, then multipli-
cation of a matrix A by the scalar k is the multiplication of every element of A by k .
Example C.2
Multiply the matrix
A = 1 –2
2 3
by
a. k 1 = 5
b. k 2 = – 3 + j2
Solution:
a.
k 1 ⋅ A = 5 × 1 – 2 = 5 × 1 5 × ( – 2 ) = 5 – 10
2 3 5×2 5×3 10 15
b.
k 2 ⋅ A = ( – 3 + j2 ) × 1 – 2 = ( – 3 + j2 ) × 1 ( – 3 + j2 ) × ( – 2 ) = – 3 + j2 6 – j4
2 3 ( – 3 + j2 ) × 2 ( – 3 + j2 ) × 3 – 6 + j4 – 9 + j6
10 15
k2*A %Multiply matrix A by constant k2
ans =
-3.0000+ 2.0000i 6.0000- 4.0000i
-6.0000+ 4.0000i -9.0000+ 6.0000i
Two matrices A and B are said to be conformable for multiplication A ⋅ B in that order, only when the
number of columns of matrix A is equal to the number of rows of matrix B . That is, the product
A ⋅ B (but not B ⋅ A ) is conformable for multiplication only if A is an m × p matrix and matrix B is
an p × n matrix. The product A ⋅ B will then be an m × n matrix. A convenient way to determine if
two matrices are conformable for multiplication is to write the dimensions of the two matrices side-
by-side as shown below.
Shows that A and B are conformable for multiplication
A B
m×p p×n
B A
p×n m×p
For matrix multiplication, the operation is row by column. Thus, to obtain the product A ⋅ B , we
multiply each element of a row of A by the corresponding element of a column of B ; then, we add
these products.
Example C.3
Matrices C and D are defined as
1
C = 2 3 4 and D = – 1
2
Compute the products C ⋅ D and D ⋅ C
Solution:
The dimensions of matrices C and D are respectively 1 × 3 3 × 1 ; therefore the product C ⋅ D is
feasible, and will result in a 1 × 1 , that is,
1
C ⋅ D = 2 3 4 –1 = ( 2 ) ⋅ ( 1 ) + ( 3 ) ⋅ ( –1 ) + ( 4 ) ⋅ ( 2 ) = 7
2
The dimensions for D and C are respectively 3 × 1 1 × 3 and therefore, the product D ⋅ C is also
feasible. Multiplication of these will produce a 3 × 3 matrix as follows:
a 11 a 12 a 13 … a 1 n
0 a 22 a 23 … a 2 n
A = 0 0 … … … (C.4)
… … 0 … …
0 0 0 … a mn
† A square matrix is said to be lower triangular, when all the elements above the diagonal are zero. The
matrix B of (C.5) is a lower triangular matrix.
a 11 0 0 … 0
a 21 a 22 0 … 0
B = … … … 0 0 (C.5)
… … … … 0
am1 am 2 a m 3 … a mn
In a lower triangular matrix, not all elements below the diagonal need to be non-zero.
† A square matrix is said to be diagonal, if all elements are zero, except those in the diagonal. The
matrix C of (C.6) is a diagonal matrix.
a 11 0 0 … 0
0 a 22 0 … 0
C = 0 0 … 0 0 (C.6)
0 0 0 … 0
0 0 0 … a mn
4 0 0 0
D = 0 4 0 0 (C.7)
0 0 4 0
0 0 0 4
A scalar matrix with k = 1 , is called an identity matrix I . Shown below are 2 × 2 , 3 × 3 , and 4 × 4
identity matrices.
1 0 0 0
1 0 0
1 0 0 1 0 0 (C.8)
0 1 0
0 1 0 0 1 0
0 0 1
0 0 0 1
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
Likewise, the eye(size(A)) function, produces an identity matrix whose size is the same as matrix
A . For example, let matrix A be defined as
A=[1 3 1; −2 1 −5; 4 −7 6] % Define matrix A
A =
1 3 1
-2 1 -5
4 -7 6
then,
eye(size(A))
displays
ans =
1 0 0
0 1 0
0 0 1
† The transpose of a matrix A , denoted as A T , is the matrix that is obtained when the rows and col-
umns of matrix A are interchanged. For example, if
1 4
A=
1 2 3 then A T = (C.9)
2 5
4 5 6
3 6
In MATLAB we use the apostrophe (′) symbol to denote and obtain the transpose of a matrix. Thus,
for the above example,
A=[1 2 3; 4 5 6] % Define matrix A
A =
1 2 3
4 5 6
A' % Display the transpose of A
ans =
1 4
2 5
3 6
† A symmetric matrix A is a matrix such that A T = A , that is, the transpose of a matrix A is the same
as A . An example of a symmetric matrix is shown below.
1 2 3 1 2 3
T
A = 2 4 –5 A = 2 4 –5 = A (C.10)
3 –5 6 3 –5 6
† If a matrix A has complex numbers as elements, the matrix obtained from A by replacing each
element by its conjugate, is called the conjugate of A , and it is denoted as A∗
An example is shown below.
A = 1 + j2 j A∗ = 1 – j 2 –j
3 2 – j3 3 2 + j3
MATLAB has two built-in functions which compute the complex conjugate of a number. The
first, conj(x), computes the complex conjugate of any complex number, and the second, conj(A),
computes the conjugate of a matrix A . Using MATLAB with the matrix A defined as above, we
get
A = [1+2j j; 3 2−3j] % Define and display matrix A
A =
1.0000+ 2.0000i 0+ 1.0000i
3.0000 2.0000- 3.0000i
conj_A=conj(A) % Compute and display the conjugate of A
conj_A =
0 2 –3 0 –2 3
T
A = –2 0 –4 A = 2 0 4 = –A
3 4 0 –3 –4 0
C.4 Determinants
Let matrix A be defined as the square matrix
a 11 a 12 a 13 … a 1 n
a 21 a 22 a 23 … a 2 n
A = a a a … a (C.11)
31 32 33 3n
… … … … …
a n 1 a n 2 a n 3 … a nn
detA = a 11 a 22 a 33 …a nn + a 12 a 23 a 34 …a n 1 + a 13 a 24 a 35 …a n 2 + … (C.12)
– a n 1 …a 22 a 13 … – a n 2 …a 23 a 14 – a n 3 …a 24 a 15 – …
a 11 a 12
A = (C.13)
a 21 a 22
Then,
detA = a 11 a 22 – a 21 a 12 (C.14)
Example C.4
Matrices A and B are defined as
A = 1 2 and B = 2 – 1
3 4 2 0
Compute detA and detB .
Solution:
detA = 1 ⋅ 4 – 3 ⋅ 2 = 4 – 6 = – 2
detB = 2 ⋅ 0 – 2 ⋅ ( – 1 ) = 0 – ( – 2 ) = 2
Check with MATLAB:
A=[1 2; 3 4]; B=[2 −1; 2 0]; % Define matrices A and B
det(A) % Compute the determinant of A
ans =
-2
det(B) % Compute the determinant of B
ans =
2
Let A be a matrix of order 3, that is,
a 11 a 12 a 13
A = a 21 a 22 a 23 (C.15)
a 31 a 32 a 33
A convenient method to evaluate the determinant of order 3, is to write the first two columns to the
right of the 3 × 3 matrix, and add the products formed by the diagonals from upper left to lower
right; then subtract the products formed by the diagonals from lower left to upper right as shown
on the diagram of the next page. When this is done properly, we obtain (C.16) above.
−
a 11 a 12 a 13 a 11 a 12
a 21 a 22 a 23 a 21 a 22
a 31 a 32 a 33 a 31 a 32 +
This method works only with second and third order determinants. To evaluate higher order deter-
minants, we must first compute the cofactors; these will be defined shortly.
Example C.5
Compute detA and detB if matrices A and B are defined as
2 3 5 2 –3 –4
A = 1 0 1 and B = 1 0 –2
2 1 0 0 –5 –6
Solution:
2 3 5 2 3
detA = 1 0 1 1 0
2 1 0 2 1
or
detA = ( 2 × 0 × 0 ) + ( 3 × 1 × 1 ) + ( 5 × 1 × 1 )
– ( 2 × 0 × 5 ) – ( 1 × 1 × 2 ) – ( 0 × 1 × 3 ) = 11 – 2 = 9
Likewise,
2 –3 –4 2 –3
detB = 1 0 – 2 1 – 2
0 –5 –6 2 –6
or
detB = [ 2 × 0 × ( – 6 ) ] + [ ( – 3 ) × ( – 2 ) × 0 ] + [ ( – 4 ) × 1 × ( – 5 ) ]
– [ 0 × 0 × ( – 4 ) ] – [ ( – 5 ) × ( – 2 ) × 2 ] – [ ( – 6 ) × 1 × ( – 3 ) ] = 20 – 38 = – 18
a 11 a 12 a 13 … a 1 n
a 21 a 22 a 23 … a 2 n
A = a a a … a (C.17)
31 32 33 3n
… … … … …
a n 1 a n 2 a n 3 … a nn
If we remove the elements of its ith row, and jth column, the remaining n – 1 square matrix is called
the minor of A , and it is denoted as M ij .
i+j
The signed minor ( – 1 ) M ij is called the cofactor of a ij and it is denoted as α ij .
Example C.6
Matrix A is defined as
a 11 a 12 a 13
A = a 21 a 22 a 23 (C.18)
a 31 a 32 a 33
Solution:
a 22 a 23 a 21 a 23 a 21 a 22
M 11 = M 12 = M 11 =
a 32 a 33 a 31 a 33 a 31 a 32
and
1+1 1+2 1+3
α 11 = ( – 1 ) M 11 = M 11 α 12 = ( – 1 ) M 12 = – M 12 α 13 = M 13 = ( – 1 ) M 13
Example C.7
Compute the cofactors of matrix A defined as
1 2 –3
A = 2 –4 2 (C.19)
–1 2 –6
Solution:
α 11 = ( – 1 )
1+1 – 4 2 = 20 α 12 = ( – 1 )
1+2 2 2 = 10 (C.20)
2 –6 –1 –6
α 13 = ( – 1 )
1+3 2 –4 = 0 α 21 = ( – 1 )
2+1 2 –3 = 6 (C.21)
–1 2 2 –6
α 22 = ( – 1 )
2+2 1 –3 = –9 α 23 = ( – 1 )
2+3 1 2 = –4 (C.22)
–1 –6 –1 2
α 31 = ( – 1 )
3+1 2 – 3 = – 8, α 32 = ( – 1 )
3+2 1 –3 = –8 (C.23)
–4 2 2 2
α 33 = ( – 1 )
3+3 1 2 = –8 (C.24)
2 –4
It is useful to remember that the signs of the cofactors follow the pattern
+ − + − +
− + − + −
+ − + − +
− + − + −
+ − + − +
that is, the cofactors on the diagonals have the same sign as their minors.
Let A be a square matrix of any size; the value of the determinant of A is the sum of the products
obtained by multiplying each element of any row or any column by its cofactor.
Example C.8
Matrix A is defined as
1 2 –3
A = 2 –4 2 (C.25)
–1 2 –6
detA = 1 – 4 2 – 2 2 2 – 3 2 – 4 = 1 × 20 – 2 × ( – 10 ) – 3 × 0 = 40
2 –6 –1 –6 –1 2
a 11 a 12 a 13 a 14
a 22 a 23 a 24 a 12 a 13 a 14
a 21 a 22 a 23 a 24
A = = a 11 a 32 a 33 a 34 – a 21 a 32 a 33 a 34 (C.26)
a 31 a 32 a 33 a 34
a 42 a 43 a 44 a 42 a 43 a 44
a 41 a 42 a 43 a 44
a 12 a 13 a 14 a 12 a 13 a 14
+a 31 a 22 a 23 a 24 – a 41 a 22 a 23 a 24
a 42 a 43 a 44 a 32 a 33 a 34
Example C.9
Compute the value of the determinant of the matrix A defined as
2 –1 0 –3
A = –1 1 0 –1 (C.27)
4 0 3 –2
–3 0 0 1
Solution:
Using the above procedure, we will multiply each element of the first column by its cofactor. Then,
1 0 –1 –1 0 –3 –1 0 –3 –1 0 –3
A=2 0 3 – 2 –( –1 ) 0 3 –2 +4 1 0 – 1 –( –3 ) 1 0 –1
0 0 1 0 0 1 0 0 1 0 3 –2
⎧
⎪
⎪
⎨
⎪
⎪
⎩
⎧
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎩
⎧
⎪
⎪
⎨
⎪
⎪
⎩
⎧
⎪
⎪
⎪
⎨
⎪
⎪
⎪
⎩
[ a ] = 6 , [ b ] = – 3 , [ c ] = 0 , [ d ] = – 36
and thus
detA = [ a ] + [ b ] + [ c ] + [ d ] = 6 – 3 + 0 – 36 = – 33
2 4 1
A = 3 6 1 (C.28)
1 2 1
then,
2 4 1 2 4
detA = 3 6 1 3 6 = 12 + 4 + 6 – 6 – 4 – 12 = 0 (C.29)
1 2 1 1 2
Here, detA is zero because the second column in A is 2 times the first column.
Check with MATLAB:
A=[2 4 1; 3 6 1; 1 2 1];det(A)
ans =
0
Property 3: If two rows or two columns of a matrix are identical, the determinant is zero. This follows from
Property 2 with m = 1 .
and let
a 11 a 12 a 13 A a 11 a 13 a 11 A a 13 a 11 a 12 A
∆ = a 21 a 22 a 23 D1 = B a 21 a 23 D2 = a 21 B a 23 D3 = a 21 a 22 B
a 31 a 32 a 33 C a 31 a 33 a 31 C a 33 a 31 a 32 C
Cramer’s rule states that the unknowns x, y, and z can be found from the relations
D D D
x = -----1- y = -----2- z = -----3- (C.31)
∆ ∆ ∆
provided that the determinant ∆ (delta) is not zero.
We observe that the numerators of (C.31) are determinants that are formed from ∆ by the substitu-
tion of the known values A , B , and C , for the coefficients of the desired unknown.
Cramer’s rule applies to systems of two or more equations.
If (C.30) is a homogeneous set of equations, that is, if A = B = C = 0 , then, D 1, D 2, and D 3 are
all zero as we found in Property 1 above. Then, x = y = z = 0 also.
Example C.10
Use Cramer’s rule to find v 1 , v 2 , and v 3 if
2v 1 – 5 – v 2 + 3v 3 = 0
– 2v 3 – 3v 2 – 4v 1 = 8 (C.32)
v 2 + 3v 1 – 4 – v 3 = 0
2 –1 3 2 –1
∆ = –4 –3 –2 – 4 – 3 = 6 + 6 – 12 + 27 + 4 + 4 = 35
3 1 –1 3 1
5 –1 3 5 –1
D1 = 8 –3 –2 8 – 3 = 15 + 8 + 24 + 36 + 10 – 8 = 85
4 1 –1 4 1
2 5 3 2 5
D2 = –4 8 –2 –4 8 = – 16 – 30 – 48 – 72 + 16 – 20 = – 170
3 4 –1 3 4
2 –1 5 2 –1
D3 = –4 –3 8 – 4 – 3 = – 24 – 24 – 20 + 45 – 16 – 16 = – 55
3 1 4 3 1
D D D
------ = 17
x 1 = -----1- = 85 ------ --------- = – 34
x 2 = -----2- = – 170 ------ ------ = – 11
x 3 = -----3- = – 55 ------ (C.34)
∆ 35 7 ∆ 35 7 ∆ 35 7
v1=
17/7
v2=
-34/7
v3=
-11/7
These are the same values as in (C.34)
2v 1 – v 2 + 3v 3 = 5
– 4v 1 – 3v 2 – 2v 3 = 8 (C.35)
3v 1 + v 2 – v 3 = 4
Solution:
As a first step, we add the first equation of (C.35) with the third to eliminate the unknown v2 and we
obtain the following equation.
5v 1 + 2v 3 = 9 (C.36)
Next, we multiply the third equation of (C.35) by 3, and we add it with the second to eliminate v 2 .
Then, we obtain the following equation.
5v 1 – 5v 3 = 20 (C.37)
7v 3 = – 11 or v 3 = – 11
------ (C.38)
7
Now, we can find the unknown v 1 from either (C.36) or (C.37). By substitution of (C.38) into (C.36)
we get
11 17
5v 1 + 2 ⋅ ⎛ – ------⎞ = 9 or v 1 = ------ (C.39)
⎝ 7⎠ 7
Finally, we can find the last unknown v 2 from any of the three equations of (C.35). By substitution
into the first equation we get
34 33 35 34
v 2 = 2v 1 + 3v 3 – 5 = ------ – ------ – ------ = – ------ (C.40)
7 7 7 7
These are the same values as those we found in Example C.10.
The Gaussian elimination method works well if the coefficients of the unknowns are small integers,
as in Example C.11. However, it becomes impractical if the coefficients are large or fractional num-
bers.
α 11 α 21 α 31 … α n 1
α 12 α 22 α 32 … α n 2
adjA = α α α … α (C.41)
13 23 33 n3
… … … … …
α 1 n α 2 n α 3 n … α nn
We observe that the cofactors of the elements of the ith row (column) of A are the elements of the
ith column (row) of adjA .
Example C.12
Compute adjA if Matrix A is defined as
1 2 3
A = 1 3 4 (C.42)
1 4 3
Solution:
3 4 – 2 3 2 3
4 3 4 3 3 4
–7 6 –1
adjA = – 1 4 1 3 – 2 3 = 1 0 –1
1 3 1 3 3 4 1 –2 1
1 3 – 1 2 1 2
1 4 1 4 1 3
Example C.13
Matrix A is defined as
1 2 3
A = 2 3 4 (C.43)
3 5 7
1 2 3 1 2
detA = 2 3 4 2 3 = 21 + 24 + 30 – 27 – 20 – 28 = 0
3 5 7 3 5
–1 1
A = ------------ adjA (C.44)
detA
Example C.14
Matrix A is defined as
1 2 3
A = 1 3 4 (C.45)
1 4 3
Solution:
Here, detA = 9 + 8 + 12 – 9 – 16 – 6 = – 2 , and since this is a non-zero value, it is possible to com-
pute the inverse of A using (C.44).
From Example C.12,
–7 6 –1
adjA = 1 0 – 1
1 –2 1
Then,
–7 6 –1 3.5 – 3 0.5
–1 1 1
A = ------------ adjA = ------ 1 0 – 1 = – 0.5 0 0.5 (C.46)
detA –2
1 –2 1 – 0.5 1 – 0.5
Multiplication of a matrix A by its inverse A –1 produces the identity matrix I , that is,
–1 –1
AA = I or A A = I (C.47)
Example C.15
Prove the validity of (C.47) for the Matrix A defined as
A = 4 3
2 2
Proof:
Then,
A
–1 1 1
= ------------ adjA = --- 2 – 3 = 1 –3 ⁄ 2
detA 2 –2 4 –1 2
and
AA
–1
= 4 3 1 –3 ⁄ 2 = 4 – 3 –6+6 = 1 0 = I
2 2 –1 2 2–2 –3+4 0 1
Therefore, we can use (C.50) to solve any set of simultaneous equations that have solutions. We will
refer to this method as the inverse matrix method of solution of simultaneous equations.
Example C.16
For the system of the equations
⎧ 2x 1 + 3x 2 + x 3 = 9 ⎫
⎪ ⎪
⎨ x 1 + 2x 2 + 3x 3 = 6 ⎬ (C.51)
⎪ ⎪
⎩ 3x 1 + x 2 + 2x 3 = 8 ⎭
Solution:
In matrix form, the given set of equations is AX = B where
2 3 1 x1 9
A= 1 2 3 , X = x 2
, B = 6 (C.52)
3 1 2 x3 8
Then,
–1
X = A B (C.53)
or
–1
x1 2 3 1 9
x2 = 1 2 3 6 (C.54)
x3 3 1 2 8
1 –5 7
detA = 18 and adjA = 7 1 –5
–5 7 1
Therefore,
1 –5 7
–1 1 1
A = ------------ adjA = ------ 7 1 – 5
detA 18
–5 7 1
x1 1 –5 7 9 35 35 ⁄ 18 1.94
1- 1-
X = x2 = ----- = ----- = 29 ⁄ 18 = 1.61 (C.55)
18 7 1 – 5 6 18 29
x3 –5 7 1 8 5 5 ⁄ 18 0.28
To verify our results, we could use the MATLAB’s inv(A) function, and then multiply A –1 by B.
However, it is easier to use the matrix left division operation X = A \ B ; this is MATLAB’s solution of
–1
A B for the matrix equation A ⋅ X = B , where matrix X is the same size as matrix B. For this exam-
ple,
A=[2 3 1; 1 2 3; 3 1 2]; B=[9 6 8]';
X=A \ B
X =
1.9444
1.6111
0.2778
Example C.17
For the electric circuit of Figure C.1,
1Ω 2Ω 2Ω
V = 100 v
+ 9Ω 4Ω
− 9Ω
I1 I3
I2
Use the inverse matrix method to compute the values of the currents I 1 , I 2 , and I 3
Solution:
10 – 9 0 100 I1
R = – 9 20 – 9 , V = 0 and I = I 2
0 – 9 15 0 I3
Therefore, we find the determinant and the adjoint of R . For this example, we find that
219 135 81
detR = 975, adjR = 135 150 90 (C.58)
81 90 119
Then,
219 135 81
–1 1 1
R = ------------ adjR = --------- 135 150 90
detR 975
81 90 119
and
I1 219 135 81 100 219 22.46
1 100
I = I 2 = --------- 135 150 90 0 = --------
- =
975 975 135 13.85
I3 81 90 119 0 81 8.31
2. Next, we compute and display the inverse of R, that is, R – 1 . We choose B7:D9 for the elements
of this inverted matrix. We format this block for number display with three decimal places. With
this range highlighted and making sure that the cell marker is in B7, we type the formula
=MININVERSE(B3:D5)
and we press the Crtl-Shift-Enter keys simultaneously.
We observe that R – 1 appears in these cells.
3. Now, we choose the block of cells G7:G9 for the values of the current I. As before, we highlight
them, and with the cell marker positioned in G7, we type the formula
=MMULT(B7:D9,G3:G5)
and we press the Crtl-Shift-Enter keys simultaneously. The values of I then appear in G7:G9.
A B C D E F G H
1 Spreadsheet for Matrix Inversion and Matrix Multiplication
2
3 10 -9 0 100
4 R= -9 20 -9 V= 0
5 0 -9 15 0
6
7 0.225 0.138 0.083 22.462
-1
8 R = 0.138 0.154 0.092 I= 13.846
9 0.083 0.092 0.122 8.3077
10
Example C.18
For the phasor circuit of Figure C.18
85 Ω C
R1 −j100 Ω
170∠0° +
IX
V1 V2
− R3 = 100 Ω
VS
`
L R2 50 Ω
j200 Ω
V1 – V2
I X = -----------------
- (C.59)
R3
and the voltages V1 and V2 can be computed from the nodal equations
V 1 – 170 ∠0° V 1 – V 2 V 1 – 0
------------------------------- + ------------------ + --------------- = 0 (C.60)
85 100 j200
and
V 2 – 170 ∠0° V 2 – V 1 V 2 – 0
------------------------------- + ------------------ + --------------- = 0 (C.61)
– j100 100 50
Compute, and express the current I x in both rectangular and polar forms by first simplifying like
terms, collecting, and then writing the above relations in matrix form as YV = I , where
Y = Admit tan ce , V = Voltage , and I = Current
Solution:
The Y matrix elements are the coefficients of V 1 and V 2 . Simplifying and rearranging the nodal
equations of (C.60) and (C.61), we get
( 0.0218 – j0.005 )V 1 – 0.01V 2 = 2
(C.62)
– 0.01 V 1 + ( 0.03 + j0.01 )V 2 = j1.7
⎧
⎨
⎩
⎧
⎨
⎩
Y V I
V1 =
1.0490e+002 + 4.9448e+001i
V2 =
53.4162 + 55.3439i
Next, we find I X from
R3=100; IX=(V(1)−V(2))/R3 % Compute the value of IX
IX =
0.5149- 0.0590i
This is the rectangular form of I X . For the polar form we use
magIX=abs(IX) % Compute the magnitude of IX
magIX =
0.5183
thetaIX=angle(IX)*180/pi % Compute angle theta in degrees
thetaIX =
-6.5326
Therefore, in polar form
I X = 0.518 ∠– 6.53°
Spreadsheets have limited capabilities with complex numbers, and thus we cannot use them to com-
pute matrices that include complex numbers in their elements as in Example C.18
C.12 Exercises
For Problems 1 through 3 below, the matrices A , B , C , and D are defined as:
1 –1 –4 5 9 –3 4 6
A = 5 7 –2 B = –2 8 2 C= – 3 8 D = 1 –2 3
–3 6 –4
3 –5 6 7 –4 6 5 –2
1. Perform the following computations, if possible. Verify your answers with MATLAB.
a. A + B b. A + C c. B + D d. C + D
e. A – B f. A – C g. B – D h. C – D
2. Perform the following computations, if possible. Verify your answers with MATLAB.
a. A ⋅ B b. A ⋅ C c. B ⋅ D d. C ⋅ D
e. B ⋅ A f. C ⋅ A g. D ⋅ A h. D· ⋅ C
3. Perform the following computations, if possible. Verify your answers with MATLAB.
a. detA b. detB c. detC d. detD
e. det ( A ⋅ B ) f. det ( A ⋅ C )
4. Solve the following systems of equations using Cramer’s rule. Verify your answers with MATLAB.
– x 1 + 2x 2 – 3x 3 + 5x 4 = 14
x 1 – 2x 2 + x 3 = – 4
x 1 + 3x 2 + 2x 3 – x 4 = 9
a. – 2x 1 + 3x 2 + x 3 = 9 b.
3x 1 – 3 x 2 + 2x 3 + 4x 4 = 19
3x 1 + 4x 2 – 5x 3 = 0
4x 1 + 2x 2 + 5x 3 + x 4 = 27
2 4 3 –2 x1 1
1 3 4 x1 –3
a. 3 1 – 2 ⋅ x 2 = – 2 b. 2 – 4 1 3 ⋅ x 2 = 10
–1 3 –4 2 x3 – 14
2 3 5 x3 0
2 –2 2 1 x4 7
watt 1-8
watt-hour meter 8-28
wattmeter 8-28
weber 5-1, 5-29
Wheatstone bridge 8-27, 8-32