E40M Solving Circuits Using Nodal Analysis and Everycircuit: M. Horowitz, J. Plummer, R. Howe 1
E40M Solving Circuits Using Nodal Analysis and Everycircuit: M. Horowitz, J. Plummer, R. Howe 1
Diode
Solar Volt
Li Bat
R
Cell Conv
• Concepts
– Finite State Machines
– Digital Logic
– Binary numbers
– CMOS Gate
– Programming
• Devices
– Motors
In Lab 2, you’ll build more complex circuits
– Switches involving switches, motors and transistors. In
– nMOS this set of lecture notes, we develop a toolbox to
– pMOS analyze circuit voltages and currents and also,
introduce EveryCircuit, a circuit simulator.
• A&L
– 3.1 3.2 – Node voltages
– 3.3/3.3.1 – Nodal analysis
– 3.5 – Superposition
• Be lazy or efficient
– With the least work possible
• KVL means
– Not all device voltages are independent
– Can we formulate the problem differently
• Reduce the number of variables we need to deal with?
• So
– We can make any node a reference node
and define its voltage to be zero … choose
the lower node
– And measure the voltages of other nodes
with respect to the reference node’s
voltage, which is zero:
Vb – Vc à Vb – 0 = Vb
1. Label all the nodes (VA, VB, or V1, V2, etc.), after selecting the node
you choose to be Gnd.
2. Label all the branch currents (i1, i2, etc.) and choose directions for
each of them
3. Write the KCL equations for every node except the reference (Gnd)
• Sum of the device currents at each node must be zero
Step 1
Step 2
Io
Apply KCL at each of the nodes
R3 V1 R4 R6 you labeled in step 1
V3
V2
R2
R1 R5
Vo +-
Node 1
Node 2
Node 3
R1 R2
• Two resistors in series (“share a current”)
– The voltage across the combination is the
sum of the device voltages
– The current through the devices is the
same
– So the effective resistance of the series is
R = R1 + R2
+
Vs
-
Node A
R’ = ?
Node B
I=
R1
V + a
- R2 Va =
I1 I2
I R1 R2
1Ω 2Ω
5Ω
1Ω 2Ω
5Ω
Diode
Solar Volt
Li Bat
R
Cell Conv
• To connect two nodes, select one node, then select another node.
• To delete a single wire in a node, select the node, then select the
wire, then press Delete.
• http://everycircuit.com/licensekeyactivation
259825287547
• Reason:
– Resistors, voltage, and current sources are linear
– Resulting equations are linear
I V +
- = I
X
V +
- + I
X V +
-
short-circuited open-circuited
so V = 0 so I = 0
M. Horowitz, J. Plummer, R. Howe 47
Applying Superposition
I1 = I2 =
I = I1 + I2=