Sub topic 2
Independent Sources as the Inputs of a Circuit
This chapter assumes you know Ohm's law, Kirchhoff's current and voltage laws, series and parallel resistor combinations, and voltage and current dividers. It looks closely at independent sources, the elements that drive every circuit you will analyze with superposition. Later chapters build the method on the behavior described here.
What "independent" means
An independent source is an element whose value is set by the source itself. The rest of the circuit does not change it. A 12 V independent voltage source stays at 12 V whether you connect a 1 Ω resistor, a 1 MΩ resistor, or nothing at all.
A dependent source is different. Its value is a function of some other voltage or current in the circuit, for example 3·Ix. A later chapter covers dependent sources. For now, remember that independent sources are the only elements that can start current flowing in a circuit made of resistors and other passive parts. Resistors, capacitors, and inductors only respond to what the sources apply.
That is why independent sources are called the inputs of a circuit. Everything else is the network that turns those inputs into voltages and currents elsewhere. Those voltages and currents are the outputs, also called responses.
The ideal independent voltage source
An ideal independent voltage source holds a fixed voltage across its two terminals. The current through it is not fixed. The attached circuit decides the current, and the source supplies whatever is needed to keep the voltage constant.
- The terminal voltage is the source value, for any current.
- The current can be positive or negative. A source can deliver power or absorb it, for instance when it is a battery being charged.
- The source has zero internal resistance. If you set its value to 0 V, it becomes a wire between its terminals, which is a short circuit.
The ideal independent current source
An ideal independent current source forces a fixed current through its branch. The voltage across it is not fixed. The attached circuit decides the voltage, and the source develops whatever voltage is needed to push that current.
- The branch current is the source value, for any voltage.
- The terminal voltage can be positive or negative.
- The source has infinite internal resistance. If you set its value to 0 A, no current can flow through it, so it becomes a gap in the wire, which is an open circuit.
The last bullet in each list is the basis of source deactivation, the topic of the next chapter. Setting a source to zero is the same as replacing it with a short (voltage source) or an open (current source).
The two sources side by side
| Property | Ideal voltage source | Ideal current source |
|---|---|---|
| Fixed quantity | Terminal voltage | Branch current |
| Quantity set by the circuit | Current | Voltage |
| Value set to zero acts as | Short circuit | Open circuit |
| Internal resistance | 0 Ω | Infinite |
| Cannot be connected | Across a short circuit | In a branch that is open |
Seeing the behavior in numbers
The script below connects a 12 V source and a 2 A source to resistors of different sizes. Notice which quantity stays fixed and which one moves.
loads = [2.0, 6.0, 12.0, 1000.0] # ohms
V_SOURCE = 12.0 # volts
I_SOURCE = 2.0 # amperes
print("Voltage source of 12 V across a load R")
print(f"{'R (ohm)':>10} {'V (V)':>8} {'I (A)':>10} {'P (W)':>10}")
for r in loads:
i = V_SOURCE / r
p = V_SOURCE * i
print(f"{r:>10.1f} {V_SOURCE:>8.2f} {i:>10.4f} {p:>10.3f}")
print()
print("Current source of 2 A into a load R")
print(f"{'R (ohm)':>10} {'I (A)':>8} {'V (V)':>10} {'P (W)':>10}")
for r in loads:
v = I_SOURCE * r
p = v * I_SOURCE
print(f"{r:>10.1f} {I_SOURCE:>8.2f} {v:>10.3f} {p:>10.3f}")For the voltage source, the V column never changes, while the current drops as the load grows. For the current source, the I column never changes, while the voltage rises with the load. A 1 kΩ load on the 2 A source needs 2000 V, which shows why an ideal current source is a model and not a real device. A real source reaches a voltage limit long before that.
Sources as a set of independent inputs
Take the circuit that this tutorial uses as its running example. A 12 V source V1 in series with R1 = 4 Ω feeds node A. R2 = 6 Ω connects node A to ground. A current source I1 = 2 A injects current into node A.
The circuit has two independent sources, so it has two inputs. In a circuit made of linear elements, the voltage at node A depends on those inputs in a simple way:
VA = a·V1 + b·I1
Here a and b are constants set by the resistor values. They do not depend on V1 or I1. For this circuit, a = R2/(R1 + R2) = 0.6 (dimensionless), and b = R1·R2/(R1 + R2) = 2.4 Ω. Later chapters derive these constants by analyzing one source at a time. With the given values:
- 0.6 × 12 V = 7.2 V from V1.
- 2.4 Ω × 2 A = 4.8 V from I1.
- Total VA = 12 V.
This weighted-sum form is why independent sources matter for the whole method. The output is a sum of terms, and each term belongs to exactly one source. Superposition is the practice of computing those terms one at a time.
Reference directions and signs
A source value only has meaning together with its reference direction.
- A voltage source has a + and a − terminal. Reversing the terminals changes the sign of every term that source contributes.
- A current source has an arrow. Reversing the arrow changes the sign of every term that source contributes.
When you combine partial results later, a sign mistake in one source's direction produces a wrong answer that looks plausible. Before analyzing anything, mark on the schematic the polarity of each voltage source and the arrow of each current source. Then decide the reference direction of the output you want, such as the polarity of VA or the direction of a branch current. Keep that reference the same in every single-source analysis.
Illegal and problematic connections
Ideal sources impose constraints that can contradict each other. Check for these before you start solving.
- Two ideal voltage sources in parallel with different values. Both claim to set the same voltage. Kirchhoff's voltage law fails, and the circuit has no solution. With equal values, the split of current between them is undetermined.
- Two ideal current sources in series with different values. Both claim to set the same current. Kirchhoff's current law fails at the node between them.
- An ideal voltage source across a wire or other short. The model demands infinite current.
- An ideal current source in a branch with no path for current, such as an open branch. The model demands infinite voltage.
Real sources never reach these extremes because they have internal resistance. The failures above are errors in the model. When they appear in a textbook circuit, the problem statement usually contains a mistake or a missing resistor.
Real sources as ideal sources plus a resistor
A battery or bench supply is not ideal. A common model is an ideal voltage source with a small series resistance, and the matching model for a current source is an ideal current source with a large parallel resistance. Treat that resistance as an ordinary resistor that stays in the circuit.
This matters for superposition because only the ideal source is "turned off". When you later replace an ideal voltage source with a short, the series resistance of that real supply stays in place. Forgetting it changes the answer. If a problem gives a source resistance, draw it as a separate resistor from the start.
DC and AC sources
An independent source can be constant (DC) or time-varying, such as a sinusoid. Superposition applies to both, but with a caution you will meet in the AC chapter. If sources run at different frequencies, you must analyze each frequency separately and add the results in the time domain, not as phasors. For now, every source in this tutorial's DC examples is a constant, and the algebra is ordinary resistor arithmetic.
Common errors
- Treating a voltage source as supplying a fixed current. Its current depends on the rest of the circuit.
- Treating a current source as having a fixed voltage. Its voltage depends on the rest of the circuit.
- Forgetting to mark polarities. The sign of a partial result flips silently.
- Mistaking a dependent source for an independent one. If a diamond-shaped source has a label like 2·Vx, it is dependent and must not be turned off. It is covered later.
- Dropping a series resistor with a real source when you model it as ideal.
Exercises
Exercise
A 9 V ideal voltage source is connected across a 3 Ω resistor, and later across a 9 Ω resistor. What current does the source deliver in each case, and which quantity stays the same?
Show answer
With 3 Ω the current is 9 V / 3 Ω = 3 A. With 9 Ω the current is 9 V / 9 Ω = 1 A. The terminal voltage stays at 9 V in both cases, because an ideal voltage source fixes voltage and lets the circuit set the current.
Exercise
A 0.5 A ideal current source drives a 40 Ω resistor. What voltage appears across the source? If the resistor is changed to 10 Ω, what are the new voltage and current?
Show answer
With 40 Ω the voltage is 0.5 A × 40 Ω = 20 V. With 10 Ω the voltage is 0.5 A × 10 Ω = 5 V. The current stays at 0.5 A, because an ideal current source fixes current and lets the circuit set the voltage.
Exercise
In the running circuit, the output is VA = 0.6·V1 + 2.4·I1 (V1 in volts, I1 in amperes, result in volts). What is VA if V1 is raised to 20 V and I1 stays at 2 A? Which input does each term belong to?
Show answer
VA = 0.6 × 20 + 2.4 × 2 = 12 + 4.8 = 16.8 V. The term 0.6·V1 belongs to the voltage source, and the term 2.4·I1 belongs to the current source. Changing V1 alone changes only the first term.