Nodal Analysis (3.1) Dr. Holbert February 22, 2006 ECE201 Lect-9 Example: A Summing Circuit • The output voltage V of this circuit is proportional to.

Download Report

Transcript Nodal Analysis (3.1) Dr. Holbert February 22, 2006 ECE201 Lect-9 Example: A Summing Circuit • The output voltage V of this circuit is proportional to.

Nodal Analysis (3.1)
Dr. Holbert
February 22, 2006
ECE201 Lect-9
1
Example: A Summing Circuit
• The output voltage V of this circuit is
proportional to the sum of the two input
currents I1 and I2.
• This circuit could be useful in audio
applications or in instrumentation.
• The output of this circuit would probably be
connected to an amplifier.
ECE201 Lect-9
2
Summing Circuit
500W
500W
+
I1
500W
V
1kW
500W
I2
–
Solution: V = 167I1 + 167I2
ECE201 Lect-9
3
Can you analyze this circuit using
the techniques of Chapter 2?
ECE201 Lect-9
4
Not This One!
• There are no series or parallel resistors to
combine.
• We do not have a single loop or a double
node circuit.
• We need a more powerful analysis
technique:
Nodal Analysis
ECE201 Lect-9
5
Why Nodal or Loop Analysis?
• The analysis techniques in Chapter 2
(voltage divider, equivalent resistance, etc.)
provide an intuitive approach to analyzing
circuits.
• They cannot analyze all circuits.
• They cannot be easily automated by a
computer.
ECE201 Lect-9
6
Node and Loop Analysis
• Node analysis and loop analysis are both
circuit analysis methods which are
systematic and apply to most circuits.
• Analysis of circuits using node or loop
analysis requires solutions of systems of
linear equations.
• These equations can usually be written by
inspection of the circuit.
ECE201 Lect-9
7
Steps of Nodal Analysis
1. Choose a reference node.
2. Assign node voltages to the other nodes.
3. Apply KCL to each node other than the
reference node; express currents in terms of
node voltages.
4. Solve the resulting system of linear
equations.
ECE201 Lect-9
8
Reference Node
500W
500W
+
I1
500W
V
1kW
500W
I2
–
The reference node is called the ground node.
ECE201 Lect-9
9
Steps of Nodal Analysis
1. Choose a reference node.
2. Assign node voltages to the other nodes.
3. Apply KCL to each node other than the
reference node; express currents in terms of
node voltages.
4. Solve the resulting system of linear
equations.
ECE201 Lect-9
10
Node Voltages
V1
500W V 500W
2
1
I1
2
500W
V3
3
1kW
500W
I2
V1, V2, and V3 are unknowns for which we
solve using KCL.
ECE201 Lect-9
11
Steps of Nodal Analysis
1. Choose a reference node.
2. Assign node voltages to the other nodes.
3. Apply KCL to each node other than the
reference node; express currents in
terms of node voltages.
4. Solve the resulting system of linear
equations.
ECE201 Lect-9
12
Currents and Node Voltages
V1
500W
V2
V1
V1
500 W
500W
V1  V2
500 W
ECE201 Lect-9
13
KCL at Node 1
V1
I1
500W
V2
V1  V2
V1
I1 

500 W 500 W
500W
ECE201 Lect-9
14
KCL at Node 2
V1
500W
V2 500W
V3
1kW
V2  V1 V2 V2  V3


0
500 W 1kW 500 W
ECE201 Lect-9
15
KCL at Node 3
V2 500W
V3
500W
I2
ECE201 Lect-9
V3  V2
V3

 I2
500 W 500 W
16
Steps of Nodal Analysis
1. Choose a reference node.
2. Assign node voltages to the other nodes.
3. Apply KCL to each node other than the
reference node; express currents in terms of
node voltages.
4. Solve the resulting system of linear
equations.
ECE201 Lect-9
17
System of Equations
• Node 1:
1 
V2
 1
V1 

 I1

 500W 500W  500W
• Node 2:
V3
V1
1
1 
 1

 V2 


0

500W
 500W 1kW 500W  500W
ECE201 Lect-9
18
System of Equations
• Node 3:
V2
1 
 1

 V3 

  I2
500W
 500W 500W 
ECE201 Lect-9
19
Equations
• These equations can be written by inspection.
• The left side of the equation:
– The node voltage is multiplied by the sum of
conductances of all resistors connected to the
node.
– Other node voltages are multiplied by the
conductance of the resistor(s) connecting to the
node and subtracted.
ECE201 Lect-9
20
Equations
• The right side of the equation:
– The right side of the equation is the sum
of currents from sources entering the
node.
ECE201 Lect-9
21
Matrix Notation
• The three equations can be combined into a
single matrix/vector equation.
1
 1
 500W  500W

1
 
500W


0

1

500W
1
1
1


500W 1kW 500W
1

500W
ECE201 Lect-9

 V
 1   I1 

1
 V2    0 

500W     
1
1  V3   I 2 

500W 500W 
0
22
Matrix Notation
• The equation can be written in matrixvector form as
Av = i
• The solution to the equation can be written
as
v = A-1 i
ECE201 Lect-9
23
Solving the Equation with
MATLAB
I1 = 3mA, I2 = 4mA
>> A = [1/500+1/500 -1/500 0;
-1/500 1/500+1/1000+1/500 -1/500;
0 -1/500 1/500+1/500];
>> i = [3e-3; 0; 4e-3];
ECE201 Lect-9
24
Solving the Equation
>> v = inv(A)*i
v =
1.3333
1.1667
1.5833
V1 = 1.33V, V2=1.17V, V3=1.58V
ECE201 Lect-9
25
Matrix Refresher
• Given the 2x2 matrix A
a b 
A

c d 
• The inverse of A is
 d  b
1
1
A 


a d  b c  c a 
ECE201 Lect-9
26
Class Examples
• Learning Extension E3.1
• Learning Extension E3.3
• Learning Extension E3.5
ECE201 Lect-9
27