When you move beyond simple single-loop circuits, calculating an example of dc current in a specific branch requires systematic network theorems. Guessing current directions or relying on basic Ohm's Law shortcuts will lead to sign errors and, in real-world prototyping, fried components. This walkthrough breaks down a dual-source DC circuit, demonstrating exactly how to set up the equations, solve the algebra without skipping steps, and verify the physical reality of the result.
The Problem Statement and Circuit Parameters
A 12V primary battery and a 5V backup USB supply are connected in parallel to feed a shared 470Ω load resistor. The 12V source has an internal/wiring resistance of 100Ω, and the 5V source has an internal resistance of 200Ω. Calculate the exact DC current flowing through the 470Ω load resistor, and determine the magnitude and direction of current in the 5V branch.
Before writing any equations, we must define our components using real-world benchtop equivalents. The table below maps the theoretical values to standard E24 series resistors and practical power sources you would find in an embedded systems lab.
| Designator | Nominal Value | Real-World Equivalent / Spec | Function in Circuit |
|---|---|---|---|
| V1 | 12.0V DC | Benchtop linear supply (e.g., Rigol DP811) | Primary high-voltage source |
| R1 | 100Ω | 1/4W Carbon Film, 5% tolerance, E24 series | Simulates V1 internal/wire resistance |
| V2 | 5.0V DC | USB 5V rail or linear LDO output | Secondary backup voltage source |
| R2 | 200Ω | 1/4W Carbon Film, 5% tolerance, E24 series | Simulates V2 internal/wire resistance |
| R3 (Load) | 470Ω | 1/2W Metal Film, 1% tolerance, E24 series | Shared system load (e.g., sensor array) |
Step-by-Step Algebraic Solution Using Nodal Analysis
Which method applies and why? While Mesh Analysis (KVL) works, Nodal Analysis (based on Kirchhoff's Current Law) is the optimal method here. The circuit has only one essential non-reference node (the top junction where R1, R2, and R3 meet). Mesh analysis would require solving a 2x2 matrix of simultaneous equations, whereas Nodal Analysis reduces the entire problem to a single 1x1 algebraic equation. For a deeper dive into why this works, refer to the foundational principles of Kirchhoff's Circuit Laws.
Step 1: Define the Node and Reference
Let the bottom wire be our ground reference (0V). Let the top junction be Node V. We assume all currents I1, I2, and I3 are flowing out of Node V. (If a current is actually flowing in, the math will yield a negative number, which is perfectly fine).
Step 2: Write the KCL Equation
The sum of all currents leaving Node V must equal zero:
I_R1 + I_R2 + I_R3 = 0
Step 3: Express Currents in Terms of Node Voltage (Ohm's Law)
((V - 12) / 100) + ((V - 5) / 200) + (V / 470) = 0
Step 4: Expand the Fractions
(V / 100) - (12 / 100) + (V / 200) - (5 / 200) + (V / 470) = 0
0.01V - 0.12 + 0.005V - 0.025 + 0.00212766V = 0
Step 5: Group the V Terms and Constants
V * (0.01 + 0.005 + 0.00212766) = 0.12 + 0.025
V * (0.01712766) = 0.145
Step 6: Solve for Node Voltage V
V = 0.145 / 0.01712766
V = 8.4658 Volts
Step 7: Calculate the Target DC Current (Through R3)
Now that we have the node voltage, finding our primary example of dc current through the load is trivial:
I_load = V / R3
I_load = 8.4658V / 470Ω
I_load = 0.018012 Amps (or 18.01 mA)
The Trap, Sanity Checks, and Independent Verification
The Trap: Back-Feeding the 5V Source
The most common mistake students make in this circuit is assuming both power supplies are delivering current to the load. Let's calculate the current in the 5V branch (I_R2) using our node voltage:
I_R2 = (V - 5) / 200 = (8.4658 - 5) / 200 = 3.4658 / 200 = 0.01733 A (or 17.33 mA).
Because we defined current as flowing out of the node, a positive result here means current is actually flowing from the node, through R2, and INTO the 5V source. The 12V source is overpowering the 5V source, back-feeding it. If V2 were a real-world 5V USB port or a linear regulator (like an LM7805) without a reverse-current blocking diode, this 17.33 mA back-feed could trigger latch-up, overvoltage faults, or permanent silicon damage. Always check branch current directions in dual-source designs.
Answer Sanity Check
- Order of Magnitude: We have roughly 8.5V across a ~500Ω resistor. 8.5 / 500 is roughly 0.017A (17mA). Our exact answer of 18.01 mA aligns perfectly with this mental estimate.
- Units: Volts divided by Ohms yields Amperes. The dimensional analysis holds.
- KCL Verification: Current in = Current out. I_R1 (from 12V) = (12 - 8.4658) / 100 = 35.34 mA. Current leaving the node is I_R2 (17.33 mA) + I_load (18.01 mA) = 35.34 mA. The math balances to the hundredth of a milliamp.
Independent Verification via Superposition
To prove our nodal result without relying on the same math pathway, we apply the Superposition Theorem. We calculate the load current contributed by each source independently, then sum them.
- Kill V2 (short the 5V source): R2 (200Ω) and R3 (470Ω) are now in parallel.
R_parallel = (200 * 470) / (200 + 470) = 140.3Ω. Total resistance seen by 12V source =100 + 140.3 = 240.3Ω. Total current from 12V =12 / 240.3 = 49.94 mA. Using the current divider rule, the portion going through R3 is49.94 * (200 / 670) = 14.91 mA. - Kill V1 (short the 12V source): R1 (100Ω) and R3 (470Ω) are in parallel.
R_parallel = (100 * 470) / (100 + 470) = 82.46Ω. Total resistance seen by 5V source =200 + 82.46 = 282.46Ω. Total current from 5V =5 / 282.46 = 17.70 mA. Current divider for R3:17.70 * (100 / 570) = 3.10 mA. - Sum the contributions:
14.91 mA + 3.10 mA = 18.01 mA.
The superposition result matches our nodal analysis exactly. For more on verifying complex networks, the All About Circuits DC textbook provides excellent cross-referencing examples.
Frequently Asked Questions
Q: Can I just use basic Ohm's Law (I = V/R) for this example of DC current?
A: No. Ohm's Law only applies to a single resistor with a known voltage drop. Because the two voltage sources interact and create a complex voltage divider network, the voltage across R3 is unknown until you solve the network using Nodal, Mesh, or Superposition methods.
Q: How do I prevent the back-feeding trap in a real PCB design?
A: Place a Schottky diode (e.g., BAT54 or 1N5817) in series with the 5V branch. The diode's low forward voltage drop (~0.3V) allows the 5V source to supply current when needed, but blocks the 12V source from pushing current backward into the sensitive 5V regulator when the 12V rail dominates.






