Ec 1 Lecture Notes 2016 Final Version
Ec 1 Lecture Notes 2016 Final Version
LECTURE NOTES
ELECTRIC CIRCUITS I
(Basic Electrical Engineering)
COURSE INFORMATION
Level: Bachelor 2
ECTS: 04
Semester/Year: 1/ 2016-2017
[1] J. David Irwin, R. Mark Nelms, Basic Engineering Circuit Analysis, 2008 John Wiley & Sons
Inc.
[2] John O'Malley, Schaum's Outline of Theory and Problems of Basic Circuit Analysis,
Second edition, McGraw-Hill
[3] Charles K. Alexander, Matthew N. O. Sadiku, Fundamentals of Electric Circuits, fifth
edition, McGraw-Hill, ISBN 978-0-07-338057-5.
INSTRUCTOR
NGUYEN Xuan Truong (1983) was born in Thanh Hoa, Vietnam. He received his Engineer
diploma degree in electrical engineering from the Hanoi University of Science and
Technology, Vietnam in 2007; M.S degree in electrical engineering from the Grenoble
Institute of Technology, Grenoble, France, in 2009 and Ph.D. degree in electrical
engineering from the Paul Sabatier University, Toulouse, France, in 01/2014. He is
currently lecturer and researcher of the Energy department, at the University of Science and
Technology of Hanoi (USTH), Vietnam. His research interests are in the fields: distributed
generation (particularly photovoltaics), building energy management, energy conservation
and efficiency, micro smart-grid; electric vehicle charging station, electric vehicle-grid
integration and its services. He works also in the Clean Energy and Sustainable
Development Laboratory, co-founded the electrical engineering research team.
CONTENT
COURSE INFORMATION ................................................................................................................. 1
TEXT BOOK AND REFERENCE...................................................................................................... 1
INSTRUCTOR..................................................................................................................................... 1
THEORETICAL COURSE CONTENTS ........................................................................................... 4
EXPERIMENTAL COURSE CONTENTS ........................................................................................ 4
GRADING SYSTEM (…/20) .............................................................................................................. 4
IMPORTANAT RULES ...................................................................................................................... 4
Introduction ...................................................................................................................................... 5
CHAPTER 1: Fundamental Circuits Quantities and Basic Laws .................................................... 6
1. Electric Circuit ................................................................................................................... 6
2. Circuit Variables ................................................................................................................ 6
a. Electric Charge ...................................................................................................................... 6
b. Electric Current .................................................................................................................. 6
c. Voltage (or potential difference) ........................................................................................... 9
d. Electrical Power ............................................................................................................... 10
e. Energy ................................................................................................................................. 11
3. Circuit Elements .............................................................................................................. 11
a. Active Elements .................................................................................................................. 12
b. Passive Elements ............................................................................................................. 13
c. Measuring Devices .............................................................................................................. 15
4. Basic Laws ....................................................................................................................... 16
4.1. Ohm’s Law ...................................................................................................................... 16
4.2. Kirchhoff’s Laws ............................................................................................................. 17
5. EXERCISES .................................................................................................................... 19
6. PROBLEMS (homework) ............................................................................................... 21
CHAPTER 2: DC CIRCUIT ANALYSIS TECHNIQUES ........................................................... 22
1. NODAL ANALYSIS....................................................................................................... 22
EXERCISES .............................................................................................................................. 23
PROBLEM (homework) ............................................................................................................ 29
2. LOOP ANALYSIS .......................................................................................................... 30
EXERCISES .............................................................................................................................. 31
NOTE: ........................................................................................................................................ 36
PROBLEM (homework) ............................................................................................................ 37
CHAPTER 3: OPERATIONAL AMPLIFIERS CIRCUITS ......................................................... 38
1. INTRODUCTION ........................................................................................................... 38
2. ANALYSING OP-AMP CIRCUITS ............................................................................... 41
a. Nodal analysis is simplified by making some assumptions ................................................ 41
b. Ideal Op-amp ................................................................................................................... 41
3. PUPULART OP-AMP CIRCUITS ................................................................................. 42
3.1. Inverting Amplifiers ........................................................................................................ 42
3.2. Non-Inverting Amplifier .................................................................................................. 44
4. CIRCUITS WITH MULTIPLE OPERATIONAL AMPLIFIERS .................................. 46
5. PROBLEMS .................................................................................................................... 49
CHAPTER 4: NETWORK THEOREMS ...................................................................................... 50
1. INTRODUCTION ........................................................................................................... 50
2. SUPERPOSITION ........................................................................................................... 51
3. THEVENIN’S AND NORTON’S THEOREMS ............................................................ 52
4. MAXIMUM POWER TRANSFER THEOREM ............................................................ 59
Fundamental Circuits Quantities, (Charge, Current, Voltage, Energy, Power, Sources; Circuit elements
1
(active and passive)
Basic Law: Ohm’s Law, Kirchhoff’s Current Law (KCL), & Kirchhoff’s Voltage Law (KVL), Series &
2
Parallel Resistance and Voltage & Current Division
3 DC Circuit Analysis: Nodal Analysis (Node voltage method), Loop Analysis (mesh current method)
Operational Amplifier: Op-Amp Operation, Popular Op-Amp Circuit, Circuit with Multiple Operational
4
Amplifiers
Network Theorems: Superposition, Thevenin and Norton equivalent circuits, Maximum Power Transfer
5
Theorem
6 First-order circuits (RC, RL circuits)
7 Second-order circuits (RLC circuits)
Basic Measurement Techniques. Series Circuits and KVL. Parallel Circuits and KCL. Loading Effect and Whetstone
Bridge, R/2R Ladder Network. Internal Resistance, Thevenin Theorem and Norton Theorem. Power Transfer Theorem.
Voltage/Current behavior in Capacitors. Voltage Current behaviors in Inductors.
1 Attendance/Attitude 10 %
2 Exercise(s) 10 %
3 Practical (+ report) 15 %
4 Homework (+ report) 25 %
5 Final exam 40 %
IMPORTANAT RULES
You must attend AT LEAST 90% of the Practical Part (Lab.) TO PASS the course. If you missed the attendance of an
experiment, the result of its Report, Quiz and Other Works would be ZERO. The failure in the Practical and
Assignment Parts of the Course results in an F (<10/20) in the OVERALL GRADE.
Introduction
The lecture notes are written for internal use only (USTH – lecturer and student).
The following lecture notes are based on the topics described in the official syllabus of
ELECTRICAL CIRCUITS I. The target audience for these lecture notes is students in the B2 in
Energy major of the Undergraduate school in USTH.
These lecture notes contain five main chapters. They cover most of the major topic areas, but are far
from comprehensive in scope. Students are still encouraged to consult one of the recommended text
books of [1], [2], and [3] for in depth explanations.
These lecture notes are devoted to DC circuits. The first two chapters, it covers the passive and
active elements, fundamental laws (Ohm, Kirchhoff) and theorems, circuit analysis techniques. An
introduction to operational amplifiers is presented in Chapter 3. A few examples and homework
problems in later chapters must be skipped. In the last chapter we perform what is normally referred
to as a transient analysis. We begin the analysis with first-order circuits—that is, those that contain
only a single storage element. When only a single storage element is present in the network, the
network can be described by a first-order differential equation. The analysis of first-order circuits
begins with the presentation of two techniques for performing a transient analysis: the differential
equation approach, in which a differential equation is written and solved for each network, and a
step-by-step approach, which takes advantage of the known form of the solution in every case. In
the second-order case, both an inductor and a capacitor are present simultaneously, and the network
is described by a second-order differential equation. Although the RLC circuits are more
complicated than the first-order single storage circuits, we will follow a development like that used
in the first-order case.
These lecture notes are a labor of Dr. Nguyen Xuan Truong, lecturer at Energy department of
University of Science and Technology of Hanoi. Many people have contributed, and I would like to
thank Dr. Tran Thanh Son from Electric Power University, Dr. Nguyen Dinh Quang from Institute
Energy Science/VAST (Co-Director, Energy department – USTH). This is a first version and I hope
these lecture notes will be improved with the contributions of additional instructors in the 2nd
version.
Hanoi, October 2016 – revised, October 2017.
Instructor
1. Electric Circuit
In electrical engineering, we are often interested in communicating or transferring energy from one
point to another. To do this requires an interconnection of electrical devices. Such interconnection
is referred to as an electric circuit, and each component of the circuit is known as an element.
Definition: An electric circuit is an interconnection of electrical elements.
Basic quantities: current, voltage, power and energy.
Scientists usually draw electric circuits using symbols:
Note 1:
• 1 ampere (A) = 1 coulomb/second (C/s).
• The charge transferred between time t1 and t 2 is obtained by:
t2
q(t ) idt
t1
Voltage is the energy absorbed or expended as a unit charge moves from one point to the other.
- Sometimes called potential difference.
- Can be created by a separation of charge.
- Is a measure of the potential between two points.
- Voltage pushes charge in one direction.
- We use polarity (+ and – on batteries) to indicates which direction the charge is being pushed
Voltage is the energy required to move a unit charge through an element, measured in volts (V).
The voltage between two points a and b in a circuit is denoted by v ab can be interpreted in two
ways:
+ point a is at a potential of v ab volts higher than point b,
dw
vab ; w is the energy in joules [J] and q is charge in coulombs [C]
dq
The ‘electrical push’ which the cell (battery) gives to the current is called the voltage. It is measured
in volts (V) on a voltmeter
To talk about voltage, we need to specify: polarity (+, -); and value (positive or negative number)
The (+) and (-) signs at the point a and b are used to define reference direction or voltage polarity.
For example:
d. Electrical Power
Is: time rate of expending or absorbing energy, measured in watts (W). Mathematically, the
instantaneous power:
dw dw dq
p * v * i ; Where p power in watts; w = energy in Joules; t = time in seconds.
dt dq dt
Note 1: Sign of power
• Plus sign: Power is absorbed by the element (resistor, inductor)
• Minus sign: Power is supplied by the element (battery, generator)
negative area.
The electric power utility companies measure energy in kilowatt-hours [kWh].
3. Circuit Elements
There are 2 types of elements found in electrical circuits.
a. Active Elements
The most important active elements are voltage and current sources: (a) Voltage source provides
the circuit with a specified voltage; (b) Current source provides the circuit with a specified current.
Independent source: An active element that provides a specified voltage or current that is
completely independent of other circuit elements.
Dependent source: An active element in which the source quantity is controlled by another voltage
or current.
For example:
b. Passive Elements
1) Resistors
The ability of a material to resist the flow charge is called its resistivity. It is represented by the
letter R.
A resistor is a circuit element that dissipates electrical energy (usually as heat)
Real-world devices that are modeled by resistors: incandescent light bulbs, heating elements, long
wires.
Resistance is measured in Ohms (Ω)
Resistance of a wire depends on some factors like as length L [m], cross- sectional area A [m2] and
L
resistivity of material ρ [Ω.m]: R [Ω]
A
The conductance [G] of a pure resistor is the reciprocal of its resistance. The unit of conductance is
1
the Siemens [S]: G
R
A resistor is either fixed or variable. Most resistors are of the fixed type, meaning their resistance
remains constant.
A common variable resistor is known as a potentiometer or pot for short.
2) Inductors
The circuit element that stores energy in a magnetic field is an inductor (also called an inductance).
With time-variable current, the energy is generally stored during some parts of the cycle and then
returned to the source during others.
Inductance L [H] results from the magnetic field around a current-carrying conductor; the electric
current through the conductor creates a magnetic flux. Inductance is determined by how much
d
magnetic flux through the circuit is created by a given current: L
di
Voltage:
d(t ) d di
v L (t ) *
dt di dt
di
L*
dt
di
Power: p (t ) v(t ) * i (t ) L * * i (t )
dt
t
1
Stored energy: WL p(t )dt 2 L * i
2
(t ) , is equal to the amount of work required to establish the
in the dielectric which is the mechanism of the energy storage. In the simple parallel-plate capacitor
there is an excess of charge on one plate and a deficiency on the other. It is the equalization of these
charges that takes place when the capacitor is discharged. The power and energy relationships for
the capacitance are as follows.
dq(t ) dq dv
iC (t ) *
dt dv dt dq
;C
dv dv
C*
dt
t
1
C
vC (t ) idt
dv(t )
p (t ) C * v(t )
dt
t
1
WC p(t )dt 2C * v
2
(t )
Voltmeter: connected in parallel with an element to measure voltage across that element. Since an
ideal voltmeter should not draw current away from the element, an ideal voltmeter has infinite
internal resistance.
4. Basic Laws
Here we explore two fundamental laws that govern electric circuits (Ohm’s law and Kirchhoff’s
laws) and discuss some techniques commonly applied in circuit design and analysis.
Ohm’s law coupled with Kirchhoff’s two laws gives a sufficient, powerful set of tools for analyzing
a large variety of electric circuits.
4.1. Ohm’s Law
Ohm’s law shows a relationship between voltage and current of a resistive element such as
conducting wire or light bulb. The voltage v(t ) across a resistor is directly proportional to the
current i (t ) flowing through the resistor.
v i * R ; Where R = resistance of the resistor, denoting its ability to resist the flow of electric
current. The resistance is measured in ohms (Ω).
Note 1: To apply Ohm’s law, the direction of current i and the polarity of voltage v must conform
to the passive sign convention. This implies that current flows from a higher potential to a lower
potential in order for v i * R . If current flows from a lower potential to a higher potential,
v i * R .
Not all resistors obey Ohms law. A resistor that obeys Ohms law is known as a linear resistor
+ A nonlinear resistor does not obey Ohms law:
Examples of devices with nonlinear resistance are the lightbulb and the diode. Although all
practical resistors may exhibit nonlinear behavior under certain conditions, we will assume in this
class that all elements actually designated as resistors are linear.
Note 3: Current through a resistor causes power dissipation
V2
P I *V I2 *R
R
The power rating is the maximum allowable power dissipation in the resistor. Exceeding this
power rating leads to overheating and can cause the resistor to burn up.
4.2. Kirchhoff’s Laws
a) Concept: Node, Branch and Loop
Since the elements of an electric circuit can be interconnected in several ways, we need to
understand some basic concept of network topology.
• Network = interconnection of elements or devices
• Circuit = a network with closed paths
Branch: A branch (b) represents a single element such as a voltage source or a resistor. A branch
represents any two-terminal element. On the Figure: branches AF, AB, BE, BC, CD
Node: A node (n) is the point of connection between two or more branches. It is usually indicated
by a dot in a circuit. On the Figure: nodes A, B, C and E
If a short circuit (a connecting wire) connects two nodes, the two nodes constitute a single node.
Loop: A loop (l) is any closed path in a circuit. A closed path is formed by starting at a node,
passing through a set of nodes and return. On the Figure: the paths ABEFA, BCDEB
and ABCDEFA are loops
Mesh: a loop that contains no other loop a loop is said to be independent. Independent loops or
paths result in independent sets of equations. A network with b branches, n nodes, and l or m
independent loops will satisfy the fundamental theorem of network topology:
b = l + n −−1.
The algebraic sum of current entering a node (or a closed boundary) is zero: i 0
n 1
KCL is based on the law of conservation of charge. An alternative form of KCL is “Sum of
currents (or charges) entering a node = Sum of the currents (charges) leaving the node”.
The algebraic sum of all voltages around a closed path (or loop) is zero: v 0
n 1
KVL is based on the law of conservation of energy. An alternative form of KVL is “Sum of
voltage drops = Sum of voltage rises”.
v1 v2 v3 v4 v5 0
When voltage sources are connected in series, KVL can be applied to obtain the total voltage.
5. EXERCISES
All student have to do this part, after 15 minutes, student will be asked to resolve the problems.
Example 1.
Solution:
- Ohm’s Law:
v1 R1 * I 4 I and v 2 R 2 * I 2 I
- KVL: clockwise around the loop, the sum of the voltage drops is:
V 1 v1 V 2 v 2 0
10 4 * I 8 2 * I 0 I = 9A; v1 4 I 36V ; v2 2 I 18V
Example 2.
From the summing of voltage drops across the right-hand branch, the voltage drop, top to bottom
across the middle branch is: 5(5) - 20 + 5(9) = 50 V. Consequently, Vab = 50 – 30 = 20 V; because
there is zero volts across the 10Ω resistor.
6. PROBLEMS (homework)
We have seen that using Kirchhoff’s laws and Ohm’s law we can analyze any circuit to determine
the operating conditions (the currents and voltages). The challenge of formal circuit analysis is to
derive the smallest set of simultaneous equations that completely define the operating
characteristics of a circuit.
Here we apply the fundamental laws of circuit theory (Ohm’s Law & Kirchhoff’s Laws) to develop
two powerful techniques for circuit analysis.
1. NODAL ANALYSIS
• Concept:
- Developed based on the systematic approach of Kirchhoff’s Current Law (KCL) to find all circuit
variables without having to sacrifice any of the elements.
- General procedure which is making use of node voltages in circuit analysis as key solutions.
• Importance terms
- Node Voltage: Potential difference between a marked node and the selected reference node.
- Element Voltage: Potential difference across any element or branch in the circuit.
When Node Voltage = Element Voltage?
• Why use Node Voltage?
- Further reduce the number of equations to be solved simultaneously.
- No of independent equations = No of the marked nodes exclusive of the reference node.
- Element voltages and currents can be obtained in few steps using the solved node voltages.
• NODAL ANALYSIS PROCEDURES: 8 STEPS (DETAIL) --- OR MAYBE 03 STEPS
1) Clearly label all circuit parameters and distinguish the unknown parameters from the known.
2) Identify all nodes of the circuit
3) Select a node as the reference node also called the ground and assign to it a potential of 0
Volts. All other voltages in the circuit are measured with respect to the reference node.
4) Label the voltages at all other nodes.
5) Assign and label polarities.
6) Apply KCL at each non-reference nodes and express the branch currents in terms of the
node voltages.
7) Solve the resulting simultaneous equations for the node voltages.
8) Now that the node voltages are known, the branch currents may be obtained from Ohm’s
law.
EXERCISES
Example 1:
Applying Nodal analysis on simple circuit, find the power dissipated by the 10Ω resistor, Is2 =
3mA; R1=10k Ω; R2=5k Ω; R3=4k Ω; R4=2k Ω
Solution:
- Mark all essential nodes
- Assign unknown node voltages
- Indicate the reference node
- Perform KCL at each marked non-reference nodes using Ohm’s law to formulate the equations in
terms of the node voltages.
V1 V2
• KCL at V1 : I s1 I s 2 (1)
R1
V2 V1 V2 01 V2 V3
• KCL at V2 : 0 (2)
R1 R3 R2
V3 V2 V3 0
• KCL at V3 : I s2 0 (3)
R2 R4
3 mA
10 k V2 5 k
V1 V3
2 mA 4 k 2 k
2A
v1 • v2
•
5
10 20 4A
Case 2: Voltage source between a reference essential node and a non-reference essential node.
DE
NO
N GE
OW TA Vs
KN OL
V
Nonreference Reference
essential node V1 0 V essential node
FI
NO ND N
N- OD
E E
Vs TE SSE VO
RM NT L T
S IA A
Nonreference VO OF L N GE A
LT NO OD T
essential node V1 Va AG D E IN
E E
Non-essential
node
R1 v1 v2
R3
E + R2 R4
_
Example 4: Find the power of the 10-V voltage source? Is it supplying energy to the circuit or
absorbing energy from the circuit? Show your work according to the nodal analysis procedure.
10 V
40 5
50 8
3A
25
- Mark essential nodes and assign unknown node voltages and indicate the reference node
- Perform KCL at each marked non-reference nodes using Ohm’s law to formulate the
equations in terms of node voltages.
At Node V1
V2 V1 V
i 1
40 80
At Node V2:
V2 V2 V1
3i 10V2 V1 240 ; and Super-Node Equation: V1 V2 10
8 40
We obtain: V1 30.91; V2 20.91
V2 V1 V
Finding current through the voltage source: i 1 ; i 0.636 [ A]
40 80
Hence: Pvoltagesource i *V (0.636) *10 6.36 [W ] , negative sign Delivering energy
4 k 15 V 4 k
10 k
1 k 5 k
25 V
Solution:
Mark essential nodes and assign unknown node voltages and indicate the reference node. For
voltage sources, indicate the node voltages at both ends with respect to the assigned unknown node
voltages at the essential nodes
- Perform KCL at each marked non-reference nodes using Ohm’s law to formulate the equations in
terms of node voltages
At Node V1:
V1 V1 (V2 15)
8 mA 0
1k 4k
5V1 V2 17
At Node V2
V2 25 V1 (V2 15) V2 V3
0 mA
10k 4k 4k
10V1 18V2 10V3 250
At Node V3
V3 V3 V2
8 mA 0
5k 4k
5V2 9V3 160
Use the node-voltage method to find both dependent terms i0 and Vx of the dependent sources of the
10 io 8
+ Vx -
12 V
10 2
io
- Mark essential nodes and assign unknown node voltages and indicate the reference node
3 Vx
E
N OD
R
PE
SU 8 V3
KNOWN
10 io V2
V1
+ Vx -
12 V
10 2
io
- Perform KCL at each marked non-reference nodes using Ohm’s law to formulate the equations in
terms of node voltages.
V3 12V
V2 V2 12
KCL at Node V2: 10 i0 5V2 80 i0 12
2 8
V2 12 V1
Constraint equation: Vx V2 ; and i0 10 i0 720 i0 8V1 10V2 120
8 10
PROBLEM (homework)
Problem 1:
Determine the node voltages for this circuit, given the following parameters: 2 ;
Problem 2:
2. LOOP ANALYSIS
Loop analysis provides another general procedure for analyzing circuits, using loop/mesh currents
as the circuit variables.
Loop analysis is a special application of KVL on a circuit. We use a special kind of loop called a
'mesh' which is a loop that does not have any other loops inside of it. A mesh starts at a node and
traces a path around a circuit, returning to the original node without hitting any nodes more than
once. We can only apply mesh analysis to planar circuits that is circuits without crossover
connections. If a circuit cannot be redrawn without the intersecting disconnected lines then we
cannot use mesh analysis.
IMPORTANCE TERMS
Mesh Current: Assigned unknown current flows around the perimeter of the mesh/loop.
Element Current: Actual current through any element or branch in the circuit.
When Mesh Current = Element Current?
The mesh method uses the MESH CURRENTS AS THE CIRCUIT VARIABLES. The various
steps are given below.
1. Clearly label all circuit parameters and distinguish the unknown parameters from the known.
2. Identify all meshes of the circuit.
3. Assign mesh currents and label polarities.
4. Apply KVL at each mesh and express the voltages in terms of the mesh currents.
5. Solve the resulting simultaneous equations for the mesh currents.
6. Now that the mesh currents are known, the voltages may be obtained from Ohm’s law.
EXERCISES
Example 1:
Consider the following circuit. A voltmeter reads -7.2 volts across the dependent source. Find the
gain A of the current-controlled voltage source.
Solution: First draw the meshes to be examined in the circuit. They are labelled in green with
current i1 and red i2 with below.
Consider the dependent source. It is supplying a voltage in the opposite direction to the reading
from the voltmeter. From this, we can infer the voltage of the source element:
Aia (7.2) Aia 7.2 [V ]
The dependent current is between both meshes. We can represent this current in terms of the mesh
currents:
ia i1 i2
Now that we can represent the dependent source in terms of the mesh currents, apply KVL to obtain
the equations. Mesh analysis on the green loop shows:
Vs R1i1 0 ; 36 10i1 0 i1 3.6 [ A]
On the second mesh with the dependent source, the mesh equation will be:
Aia R2i2 0 ; 7.2 4i2 0 i2 1.8 [ A] ;
Using the values for and from the mesh equations, the dependent source gain can finally be found:
ia i1 i2 ; ia 1.8 [ A] ; Aia 7.2 A 4
Example 2:
2 9
12 8V
12 V
4 3
12
12 V
I1 I2 8V
4 3
R1
R2 I1 R3
Is I2 12 V I3 R4
Although it appears that there are 02 unknown mesh currents, the current goes directly through the
current source and, therefore, is constrained to be I1 2 mA . Hence, only the current is unknown.
KVL for the rightmost mesh I2 is:
2 * ( I 2 I1 ) 2 6 * I 2 0 ; I1 3 / 4 mA
V0 I 2 * 6 9 / 2 [V ]
To obtain V1 (voltage across the current source), we apply KVL around any closed path. If we use
the outer loop, the KVL equation is:
V1 4 * I1 2 6 * I 2 0 ; V1 21 / 2 [V ]
Enclose the current source and combine the two meshes to form a SUPER-MESH.
KVL is performed around the super-mesh; do not consider voltage across current source.
Formulate simultaneous mesh equation – express the relationship between mesh currents
that form the s/mesh and current source that it encloses
Example:
R1
I1
R2 R3
I2 I3 R4
12 V
3 mA
Super-Mesh: I 3 I 2 I s
Example 3:
Find the branch currents I1, I2, and I3, Vx using mesh analysis
Example 4:
Find V0: using mesh analysis.
Example 5:
Solution:
Note that:
Va VS1 ; Vb VS 2 ; Vc VS 3 ;
a) Write the nodal equations describing the circuit + b) Determine the branch currents by nodal
voltages.
Mark essential nodes and assign unknown node voltages V1 ; V1 ; reference node.
Ohm’s law:
Va V1 VS 1 V1 V1 Vb V1 VS 2 V V V Vc V2 VS 3
I R1 ; I R2 ; I R 4 1 2 ; I R3 2
R1 R1 R2 R2 R4 R3 R2
1 1 1 1 1 1
( ) *V1 *V2 VS 1 * VS 2 2 ; 40V1 15V2 3040 (1)
R1 R2 R4 R4 R1 R2
- At node 2:
V1 V2 V2 V VS 3
I R 4 I R5 I S I R3 0; IS 2 0;
R4 R5 R2
1 1 1 1 1
* V1 ( ) * V2 I S VS 3 2 ; 15V1 43V2 672 (2)
R4 R5 R2 R4 R2
First draw the meshes to be examined in the circuit. They are labelled in figure with current I1 ; I 2 ;
I 3 ; I 4 ; I 5 with below.
Super-Mesh: I 4 I 3 I S
So: R3 * I 2 R3 * I3 R5 * I 4 VS 3
NOTE:
(a) Nodal analysis applies KCL to find unknown voltages in a given circuit, while mesh analysis
applies KVL to find unknown currents.
(b) Using mesh currents instead of element currents as circuit variables is convenient and reduces
the number of equations that must be solved simultaneously.
(c) Mesh analysis is not quite as general as nodal analysis because it is only applicable to a circuit
that is planar. A planar circuit is one that can be drawn in a plane with no branches crossing one
another; otherwise it is nonplanar.
(d) Given a network to be analyzed, how do we know which method is better or more efficient?
Suggestion: Choose the method that results in smaller number of variables or equations.
• A circuit with fewer nodes than meshes is better analyzed using nodal analysis, while a circuit
with fewer meshes than nodes is better analyzed using mesh analysis.
PROBLEM (homework)
Problem 1:
Let us find V x in the network in:
Problem 2:
Let us find all parameters: I x ; V0 in the network in:
1. INTRODUCTION
Operational Amplifiers: electronic device that can amplify (increase/ decrease) the amplitude of
signal. They are represented both schematically and realistically below, they are integrated circuits
(ICs):
• An op-amp is a high voltage gain, DC amplifier with high input impedance, low output
impedance, and differential inputs.
• Positive input at the non-inverting input produces positive output, positive input at the inverting
input produces negative output.
Notation: The basic op amp with supply voltage included is shown in the diagram below.
Where:
V+ : non-inverting input
V- : inverting input
Vout: output
VS+: positive power supply (sometimes also VDD, VCC, or VCC + )
VS- : negative power supply (sometimes also VSS, VEE, or VCC - )
The power supply pins (VS+ and VS-) can be labeled in different ways
The operational amplifier (op-amp) is a voltage controlled voltage source with very high gain. It is a
five terminal four port active element. The symbol of the op-amp with the associated terminals and
ports is shown:
The power supply voltages VCC and VEE power the operational amplifier and in general define the
output voltage range of the amplifier. The terminals labeled with the “+” and the “-” signs are called
non-inverting and inverting respectively. The input voltage Vp and Vn and the output voltage Vo are
referenced to ground. The five terminals of the op-amp form one (complicated) node and if the
currents are defined as shown on figure, the KCL requires that:
I n I p I c I 0 0
Therefore, for current balance we must include all currents. This is what defines an active element.
If we just consider the signal terminals, then there is no relationship between their currents. In
particular: I n I p I 0 # 0
The voltage Vi is the differential input voltage: Vi Vp Vn . Ri is the input resistance of the device
and Ro is the output resistance. The gain parameter A is called the open loop gain. The open loop
configuration of an op-amp is defined as an op-amp circuit without any circuit loops that connect
the output to any of the inputs.
In the absence of any load at the output, the output voltage is: V0 AVi A(Vp Vn )
Which indicates that the output voltage Vo is a function of the difference between the input voltages
Use of OP-AMP
+ Op amps can be configured in many ways using resistors and other components.
+ Operational amplifiers are almost always used with negative feedback, in which part of the output
signal is returned to the input in opposition to the source signal.
+ Amplifiers provide gains in voltage or current.
+ Op amps can convert current to voltage
With two resistors we can construct the fundamental feedback network of a negative feedback
amplifier. Depending on the terminal at which the signal is applied, the fundamental negative
feedback configuration can be:
- in the inverting amplifier arrangement, where the input signal, Vin , is applied to the inverting
terminal,
- or in the non-inverting amplifier arrangement, where the input signal, Vin , is applied to the non-
inverting terminal.
We will perform the analysis by considering both the effect of finite open loop gain A is finite; and
the ideal op-amp model for which A → ∞ .
1. Check for negative feedback: to ensure that an increase in Y makes (V+ − V−) decrease, Y
must be connected (usually via other components) to V−, example: resistance
2. Assume V+ = V−: Since (V+ − V−) = Y/A, this is the same as assuming that A = ∞.
Requires negative feedback.
3. Assume zero input current: in most circuits, the current at the op-amp input terminals is
much smaller than the other currents in the circuit, so we assume it is zero.
4. Apply KCL at each op-amp input node separately (input currents = 0).
5. Do not apply KCL at output node (output current is unknown).
Note: The op-amp needs two power supply connections; usually +15 V and −15 V. These are
almost always omitted from the circuit diagram. The currents only sum to zero (KCL) if all five
connections are included:
VS+: positive power supply (sometimes also VDD, VCC, or VCC + )
VS- : negative power supply (sometimes also VSS, VEE, or VCC - )
b. Ideal Op-amp
From a practical point of view, an ideal op-amp is a device which acts as an ideal voltage controlled
voltage source. The device will have the following characteristics:
o No current flows into the input terminals of the device. This is equivalent to having an
infinite input resistance: Ri . In practical terms this implies that the amplifier device will
to the inverting terminal and the balance of the circuit consists of resistors R1 and R2.
Let’s analyze this circuit, i.e determine the output voltage V0 as a function of the input voltage Vin
and the circuit parameters, by assuming infinite input resistance at the inverting and non-inverting
terminals, zero output resistance and finite open loop gain A. The equivalent circuit of this model is
shown on:
Example:
Ex 1.
Rf
Gain, G
R1
Ex 2.
This picture shows the basic non-inverting amplifier configuration. The negative feedback is
maintained, and the input signal is now applied to the non-inverting terminal.
The equivalent circuit of the Non-Inverting amplifier with a finite open-loop gain is shown on this
figure. Here we have assumed an infinite input resistance and a zero output resistance for the op-
amp.
R2
1
V R1
V0 A(Vin Vn ) ; with G 0 ,
Vin R2
1 (1 )/ A
R1
The gain is positive and unlike the inverting amplifier, the output voltage V0 is in phase with the
input Vin and the gain is always greater than 1.
V0 R2
G 1
Vin R1
Example:
2. Non-inverting Summer
Since a difference must reject a signal common to the two inputs, the amplifier must have the
property that V0 0 when V1 V2 . This implies that:
5. PROBLEMS
Ex1. Derive an expression for V0 in terms of V S 1 and VS 2
1. INTRODUCTION
Network Theorems:
- The fundamental laws that govern electric circuits are the Ohm’s Law and the Kirchoff’s Laws.
- Technique to analyze a circuit: Node and Mesh
Linearity
Example:
Suppose we use variables instead of fixed values for all of the independent voltage and current
sources. We can then use nodal analysis to find all node voltages in terms of the source values.
1 1 1
( )V VS I S ; we have two kind of sources: VS , I S
R1 R2 R1
V2
+ Note: the power is not linear function: P I R 2
R
2. SUPERPOSITION
Total current through or voltage across a resistor or branch
+ Determine by adding effects due to each source acting independently
+ Replace a voltage source with a short-circuit
+ Replace a current source with an open-circuit
+ Find results of branches using each source independently
+ Algebraically combine results
• Power
– Not a linear quantity
– Found by squaring voltage or current
• Theorem does not apply to power
– To find power using superposition
– Determine voltage or current
– Calculate power
Example 1:
Example 2: Given the circuit below. Find the current I by using superposition
12
IS = 3 A 6 +
_ VS = 54 V
IVs
6 +
_ VS = 54 V
IVs = 3 A
Step 2: Short-source VS
Is 12
IS = 3 A 6
3 x12
IS 2 A
(3 12)
Total current I: I = IS + Ivs = 5 A
A linear two-terminal circuit can be replaced with an equivalent circuit of an ideal voltage
source, VTh, in series with a resistor, RTh.
VTh is equal to the open-circuit voltage at the terminals.
RTh is the equivalent or input resistance when the independent sources in the linear circuit are
turned off
6
V AB 30 10 V
6 12
Notice that there is no current flowing in the 4 resistor (A-B) is open. Thus there can be no
voltage across the resistor.
We now deactivate the sources to the left of A-B and find the resistance seen looking in these
terminals.
10V .2
VX 2V
2 8
Ex2. For the circuit below, find VAB by first finding the Thevenin circuit to the left of terminals A-
B.
20V .20
V AB VTH (1,5 A).10 31 V
20 5
Next, we find RTH by looking into terminals A-B with the sources deactivated.
5(20)
RTH 10 14
(5 20)
VAB 17V
Ex3. Find the voltage across the 100 load resistor by first finding the Thevenin circuit to the left
of terminals A-B.
First remove the 100 load resistor and find VAB = VTH to the left of terminals A-B.
86 80 I S 6 I S 0 I S 1 A
VAB 6 I S 30 I S 36V
To find RTH we deactivate all independent sources but retain all dependent sources as shown in this
figure
We cannot find RTH of the above circuit, as it stands. We must apply either a voltage or current
source at the load and calculate the ratio of this voltage to current to find RTH.
The Thevenin equivalent circuit tied to the 100 load resistor is shown below.
36 x100
V100 22.9 V
57.4 100
Ex4.
Finding the Thevenin circuit when only resistors and dependent sources are present. Consider the
circuit below. Find Vxy by first finding the Thevenin circuit to the left of x-y.
For this circuit, it would probably be easier to use mesh or nodal analysis to find Vxy. However, the
purpose is to illustrate Thevenin’s theorem.
We first reconcile that the Thevenin voltage for this circuit must be zero. There is no “juice” in the
circuit so there cannot be any open circuit voltage except zero. This is always true when the circuit
is made up of only dependent sources and resistors.
To find RTH we apply a 1A source and determine V for the circuit below.
Write KVL around the loop at the left, starting at “m”, going cw, using drops:
50(1 I X ) 10 I X 20(1 I X ) 60 I X 0
I X 0.5 A
We write KVL for the loop to the right, starting at n, using drops and find;
60(0.5) 1x20 V 0 V 50 volts
UNIVERSITY OF SCIENCE AND TECHNOLOGY OF HANOI 57 | P a g e
V
RTH ; where V 50V ; I 1A ;
I
Thus, RTH = 50. The Thevenin circuit tied to the load is given below.
So, VXY = 50 V
Norton’s Theorem states that this network can be replaced by a current source shunted by a
resistance R.
In the Norton circuit, the current source is the short circuit current of the network, that is, the
current obtained by shorting the output of the network. The resistance is the resistance seen looking
into the network with all sources deactivated. This is the same as RTH.
In view of the above, if we have the Thevenin equivalent circuit of a network, we can obtain the
Norton equivalent by using source transformation. However, this is not how we normally go about
finding the Norton equivalent circuit.
Ex.
Find the Norton equivalent circuit to the left of terminals A-B for the network shown below.
Connect the Norton equivalent circuit to the load and find the current in the 50 resistor.
The Maximum Power Transfer Theorem is not so much a means of analysis as it is an aid to system
design. Simply stated, the maximum amount of power will be dissipated by a load resistance when
that load resistance is equal to the Thevenin/Norton resistance of the network supplying the power.
If the load resistance is lower or higher than the Thevenin/Norton resistance of the source network,
its dissipated power will be less than maximum.
UNIVERSITY OF SCIENCE AND TECHNOLOGY OF HANOI 59 | P a g e
In our Thevenin equivalent circuit above, the maximum power transfer theorem states that “the
maximum amount of power will be dissipated in the load resistance if it is equal in value to the
Thevenin or Norton source resistance of the network supplying the power“.
The process used to make is RL RTH RS called impedance matching.
Problem statements:
• What is the maximum power that can be delivered to a load?
• What is the value of R L that maximizes the power?
2 ( RTH RL ) 2 RL ( RTH RL )
2
dPL
VTH 0
dRL ( RTH RL ) 4
( RL RTH ) 2 2RL ( RL RTH ) RL RTH
Results of maximum power transfer:
• The maximum power transfer takes place when the load resistance match to the Thevenin’s
resistance
V 2 TH
• The maximum power transferred to the load: Pmax PL , ( RL RTH )
4 RTH
V 2 TH V 2 TH
PSource I 2 L ( RL RTH ) ( RL RTH ) ; ( when : RTH RL )
4 RTH 2 RTH
PL
50%
PSource
Example 1: Find the maximum power delivered to the load R in the given circuit
Solution:
Step 1: Find VTH
VTH 50 VTH
0 0 ; VTH 33.3V
5 10
Step 2: Find RTH
V 2 TH
Pmax PL , ( RL RTH ) 33.28W
4 RTH
Example 2:
Pmax ; R1 6 ; R2 4 ; VS 6V
First, we use the circuit (b) to obtain the Thévenin equivalent circuit.
1. INTRODUCTION
We perform what is normally referred to as a transient analysis. Beginning with first-order circuits
that is, those that contain only a single storage element. When only a single storage element is
present in the network, the network can be described by a first-order differential equation.
Our analysis involves an examination and description of the behavior of a circuit as a function of
time after a sudden change in the network occurs due to switches opening or closing. Because of the
presence of one or more storage elements, the circuit response to a sudden change will go through a
transition period prior to settling down to a steady-state value. It is this transition period that we will
examine carefully in our transient analysis.
2. FIRST-ORDER CIRCUITS
2.1. INTRODUCTION
• A first order circuit is characterized by a first order differential equation.
• There are two types of first order circuits:
+ Resistive capacitive, called RC
+ Resistive inductive, called RL
• There are also two ways to excite the circuits:
+ Initial conditions
+ Independent sources
1. Contents
+ The Natural Response of an RC Circuit, an RL Circuit
+ The Step Response of RC and RL Circuit
2. Notion
The time-varying currents and voltages resulting from the sudden application of sources, usually
due to switching, are called transients. By writing circuit equations, we obtain integro-differential
equations.
The Canonical Charging and Discharging RC Circuits
Consider two different circuits containing both a resistor R and a capacitor C. One circuit also
contains a constant voltage source VS; here, the capacitor C is initially uncharged. In the other
circuit, there is no voltage source and the capacitor is initially charged to V0.
If we follow the same methodology as with resistive circuits, then we’d solve for v C (t ) both before
and after the switch closes. Well, before the switch closes, both circuits are in an open state. So
vC (0 ) for the uncharged capacitor is just 0, while it is V0 for the charged capacitor.
After the switch closes, we have complete circuits in both cases. KCL at the node v gives us the two
equations for the charging and discharging circuits, respectively:
Notice that we cannot simply solve an algebraic equation and end up with a single value for v C (t )
anymore. Instead, v C (t ) is given by an ordinary differential equation that depends on time. Hence,
the function v C (t ) describes the transient response after the switch closes; it is not instantaneous.
The other observation you should make is that the equations for both cases are strikingly similar.
The task that is now left to us is to solve these ODEs.
The Canonical Charging and Discharging RL Circuits
First-order circuits with inductors can be analyzed in much the same way. Consider the “charging”
and “dis- charging” RL circuits:
Aside from the time constant, these equations are exactly the same as those for the voltage in a RC
circuit. Furthermore, the boundary conditions are analogous; in the charging case, i L (0) 0 and
where the Thevenin and Norton circuits are those as seen by the capacitor or inductor.
3. Solution
Step 1:
Choose nodal analysis or mesh analysis approach
The solution of a linear circuit, called dynamic response, can be decomposed into:
Natural Response + Forced Response
Or: Steady Response + Transient Response
The natural response is due to the initial condition of the storage component (C or L).
The forced response is resulted from external input (or force).
In this chapter, a constant input (DC input) will be considered and the forced response is called step
response
Step 2:
Differentiate the equation as many times as required to get the standard form of a first order
differential equation (D.E)
Step 3: Solving the differential equation
x(t ) xh (t ) x p (t )
Or x(t ) xn (t ) x f (t )
x p (t ) and x f (t ) is due to the forcing functions (independent voltage and current sources for t > 0)
For: t 0
t 0
It is customary to assume that the capacitor is fully discharged after five time constants t 5
2 2t
V0
The power dissipated in R is: p(t ) viR e
R
Example:
Find: vC (t ) , vx (t ) , ix (t ) , for t 0
vC (0) 15 V
Solution
Step 1. Use Thevenin theorem to find the equivalent RTH looking into a-b terminals.
RTH (8 12) parallel 5 RTH 4
Step 2. Find vC (t )
Step 3. Replace vC (t ) as a voltage source in the original circuit and solve the resistive circuit.
VS
t 0, i i (0 ) I 0
RS
t0
L
; , time constant
R
Example:
The switch has been closed for time. At
t=0, it is opened.
Find:
ix (t ) , i (t ) , for t 0
Solution:
Step 1: At, t 0
Step 2: At, t 0
Step 3
Replace L with an equivalent current source, and find ix (t ) solve the resistive circuit
Step 1:
Example:
Solution:
Step 1: At, t 0
Step 2: At, t 0
SUMMARY:
3. SECOND-ORDER CIRCUITS
3.1. INTRODUCTION
1. Contents
- Linear Second Order Circuits
- Solution Steps
- Finding Initial Values
- The RLC Circuit
- The Natural Response of a Series/Parallel RLC Circuit
- The Step Response of a Series/Parallel RLC Circuit
2. Notion
- Circuits containing two energy storage: Inductor and Capacitor
- Described by differential equations that contain second order derivatives
Or x(t ) xn (t ) x f (t )
x p (t ) and x f (t ) is due to the forcing functions (independent voltage and current sources for t > 0)
The forced response is due to the independent sources in the circuit for t > 0. Since the natural
response will die out once the circuit reaches steady-state (under DC conditions), the forced
response can be found by analyzing the circuit at t = ∞: x f (t ) x()
d 2x dx
a 2
b x 0
dt dt
4. Finding initial values
- Under DC steady state, L is like a short circuit and C is like an open circuit.
- Under transient condition, L is like an open circuit and C is like a short circuit because iL (t ) and
vC (t ) are continuous functions if the input is bounded.
EXAMPLES
Example 1.
The circuit is under steady state. The switch is
opened at t = 0, determine the initial values:
di (0 ) dv (0 )
i (0 ) , , v(0 ) ,
dt dt
i() , v()
Solution:
- t 0 , the circuit is under DC steady state. L is like a short circuit and C is like an open circuit.
t 0
KVL:
di (0 ) v L (0 )
2 A.4 vL (0 ) 4V 12V ; v L (0 ) 0V ; 0
dt L
KCL:
dvC (0 ) iC (0 )
iC (0 ) iC (0 ) 2 A ; 20 V / S
dt C
- t ; L is short circuit, C is open
i () 0 A ; v () 12V
Example 2
Find:
diL (0 ) dv (0 )
iL (0 ) , , vC (0 ) , C
dt dt
iL () , vC ( ) , v R (0 ) , vR () ,
dvC (0 )
dt
Solution:
- t 0 , the circuit is under DC steady state. L is like a short circuit and C is like an open circuit.
vR (0 ) 0V
t 0
- t 0 , the switch is closed at t = 0. The circuit is under transient condition, L is like an open
circuit and C is like a short circuit
i L ( 0 ) i L (0 ) 0 A
vC (0 ) vC (0 ) 20V
4 2
i2 (0 ) 3 A. 2 A ; vR (0 ) 2 A.2 4V ; iC (0 ) 3 A. 1A
2 4 2 4
diL (0 ) vL (0 ) dv (0 ) iC (0 )
0A / S ; C 2V / S
dt L dt C
From KVL:
vR v0 vC 20 0
2 2.4
iL () 3 A. 1A ; vC () 20V ; vR () 3 A. 4V
2 4 2 4
+ Step 1:
t
di(t ) 1
Mesh analysis: Ri L idt 0 ;
dt C
d 2i di i d 2i R di 1
To eliminate the integral, we take derivative: L 2
R 0 2
i0
dt dt C dt L dt LC
+ Step 2:
Homogeneous solution, characteristic equation
R 1
S 2 2S 02 0 ; where ; Damping factor; and 02 ; 0 , Resonant frequency (or
2L LC
undamped natural frequency)
Characteristic roots (natural frequencies):
di(0 )
Where A1 and A2 are determined from the initial conditions: i (0 ) ;
dt
Three cases discussed
Overdamped case (distinct real roots): 0
S1 j d ; S2 jd ; d 02 2
Note: once i(t ) is obtained, solutions of other variables can be obtained from this mesh current.
+ Step 3:
Initial Condition: t 0 ; i(0 ) i(0 ) I 0 ; from mesh equation, let t 0 ;
0
di(0 ) 1 di(0 ) R V R V
Ri (0 ) L idt 0 ; i (0 ) 0 I 0 0
dt C dt L L L L
di(0 )
L vL ( I 0 R V0 )
dt
di(0 ) ( I R V0 )
0
dt L
Example 1: find i (t )
- t 0 , the circuit is under DC steady state. L is like a short circuit and C is like an open circuit.
10V
i (0 ) 1A ; v(0 ) i(0 ).6 6V ;
4 6
R 9 1 1
- t 0 ; 9 ; 02 100 ; 0 , Underdamped case
2 L 2 * 0 .5 H LC 0.5 * 0.02
d 2i 9 di 1
2
i 0;
dt 0.5 dt 0.5 * 0.02
Characteristic equation:
S 2 18S 100 0 ; S1 jd 9 j 4.359 ; S2 jd 9 j 4.359
i(t ) A1et cos(d t ) A2et sin( d t ) ; i(t ) A1e9t cos(4.359t ) A2e9t sin( 4.359t )
- Initial conditions:
i (0 ) i (0 ) 1A ; vC (0 ) v(0 ) 6V
di(0 )
i(0 ) i(0 ) 1A A1 ; 9 A1 4.359 A2 6 A2 0.6882
dt
i(t ) e9t cos(4.359t ) 0.6882e9t sin( 4.359t )
Summary
NOTE:
Example:
Solution
t 0,
Get x() : i() , v()
dx (0)
And ; S1, 2 ; A1, 2
dt
Characteristic Equation:
Summary:
Characteristic Equation:
Summary:
Solution:
Steps:
Method (a)
t 0
4. PROBLEMS
Exercise 1.
Consider the circuit shown in Fig. Give Vs1 = 50V, R1 = 5 Ω, Vs2 = 30V, R2 = 10 Ω, R3 = 4 Ω, R
= 4 Ω, L = 2mH, C = 5mF. Determine the transient currents and voltages of the inductor L and
capacitor C.
Exercise 3.
Determine i(t) in the circuit shown below for t > 0
Exercise 4.
Let us determine the output voltage v(t). R1 = 10 Ω, R2 =2 Ω, L = 2 H, C = 0.25 F