Sub topic 4
Choosing Voltage and Current Directions
Prerequisites and scope
This chapter assumes you know Ohm's law, Kirchhoff's voltage and current laws, and what a derivative is. It also assumes you have met the passive sign convention for resistors. The chapter applies that convention to inductors. The next chapter builds the full law v = L di/dt on top of it.
The inductor's law has a sign. If you pick the voltage and current directions carelessly, the sign comes out wrong, and every later result is wrong with it: stored energy, the transient response, the spike when a switch opens. Getting the directions right is a short step that prevents many errors.
Why directions matter at all
Voltage and current in a circuit are signed quantities. A reference direction is an arrow you draw for the current, and a pair of plus and minus marks you draw for the voltage. These are labels, not claims about what the circuit does. If the real current flows against your arrow, the computed value of the current is simply negative.
For a resistor the sign rarely causes trouble. Ohm's law v = R i has the same form as long as you label consistently, and a mislabel only flips the signs of both sides. For an inductor the relation involves a derivative, so a mislabel flips the sign of the whole right-hand side relative to the left. Then "the voltage rises when the current rises" becomes "the voltage falls when the current rises", which is physically backwards.
The passive sign convention
The passive sign convention says: draw the current arrow so that it enters the terminal marked plus on the voltage. Current flows into the positive terminal and out of the negative terminal.
With this choice, the product p = v i is the power absorbed by the element. A positive p means the element takes energy from the circuit. A negative p means it gives energy back.
For the inductor, the law that follows from this convention is:
v = L di/dt
Here v is the voltage across the inductor from plus to minus, and i is the current into the plus terminal. Both are measured in the directions shown above.
What the sign tells you physically
Faraday's law gives a voltage that opposes the change in flux. With the passive sign convention, the "opposes" part is already built into the sign of v = L di/dt, and you can read it directly.
- If i is increasing, then di/dt is positive, so v is positive. The plus terminal is at the higher potential. The inductor absorbs power, because v and i are both positive.
- If i is decreasing, then di/dt is negative, so v is negative. The terminal marked minus is at the higher potential. The inductor releases stored energy, because v is negative while i is positive.
- If i is constant, then di/dt is zero, so v is zero, whatever the value of i.
A common misreading is that the sign of v depends on the sign of i. It does not. It depends on the sign of di/dt. A large positive current that is holding steady gives zero voltage. A negative current that is moving toward zero has a positive di/dt, so it gives a positive voltage.
The convention in a circuit with a source
Consider a source driving an inductor through a resistor. The usual loop direction follows the source current. For the resistor and the inductor, which both consume or store energy, the current enters the terminal where the loop arrives. That terminal is then the plus terminal for the voltage.
For the source, the current leaves the plus terminal. This is the opposite orientation, and it is expected: a source delivers power. If you applied the passive convention to a source, you would find p = v i negative, which means delivered power.
| Element | Current direction relative to plus terminal | p = v i positive means |
|---|---|---|
| Resistor | Enters plus | Dissipating energy as heat |
| Inductor | Enters plus | Storing energy in the field |
| Voltage source (delivering) | Leaves plus | Source is absorbing (being charged) |
In the table's last row, a source delivering power with current leaving its plus terminal is drawn in the active orientation. If you keep the passive orientation on it instead, then p = v i comes out negative, which tells you it delivers power.
Applying the convention step by step
- Draw one current arrow through the inductor. Any direction is allowed.
- Place the plus mark on the terminal that the arrow points into.
- Write v = L di/dt with that v and that i.
- Write the loop equation with the same marks. When you walk around a loop and meet the plus mark first, you add the voltage as a drop.
- Solve. If a result is negative, the real direction is opposite to the arrow you drew.
If you want the opposite pairing for some reason, for example because the circuit's natural current arrow points out of a plus terminal, flip the sign in the law: v = −L di/dt. This is correct, and it is often where students misplace a minus sign. The safest habit is to always orient the arrow into the plus mark and keep the law positive.
Worked example
A 10 mH inductor carries a current that rises linearly from 0 to 2 A over 1 ms. The current arrow enters the plus terminal.
The rate of change is di/dt = 2 A / 1 ms = 2000 A/s. Then v = L di/dt = 0.010 × 2000 = 20 V. The sign is positive, so the plus terminal sits 20 V above the minus terminal.
Now suppose the current falls from 2 A back to 0 in 1 ms. The rate is −2000 A/s, and v = −20 V. The plus terminal is now 20 V below the minus terminal. The inductor is pushing current forward, resisting the decrease, and it behaves like a source.
L = 10e-3 # inductance in henries (10 mH)
def inductor_voltage(di, dt):
# Passive sign convention: current enters the plus terminal.
return L * di / dt
print(inductor_voltage(2.0, 1e-3)) # 20.0 V while current rises
print(inductor_voltage(-2.0, 1e-3)) # -20.0 V while current fallsThe code uses the same law for both cases. The sign of the result comes only from the sign of the change in current.
Common errors
- Mixing two conventions in one circuit. If you use passive orientation for the inductor and active orientation for the resistor in the same loop, the Kirchhoff equation has inconsistent signs. Fix one orientation rule for all passive elements.
- Dropping the minus sign after flipping the arrow. If you reverse the current arrow but leave the plus mark where it was, you now have the active orientation. The law becomes v = −L di/dt. Either reverse both marks together or add the minus sign.
- Reading the sign of v as the direction of the current. The voltage sign says how the energy flows (absorbing or releasing), not which way charge moves.
- Treating a negative power as an error. A negative p for an inductor is normal while its current is shrinking. It is returning energy to the circuit.
- Forgetting the initial current. The current arrow also defines the sign of the initial value i(0). A current that starts at −1 A against your arrow is entered as −1 A, not +1 A.
Checking your result
Two checks catch most sign errors. First, apply the physical rule: the inductor opposes change. If the current is increasing, the inductor voltage should oppose the source, which means a voltage drop in the direction of the current. Second, compute p = v i. When the current is rising from rest, p must be positive, because the inductor is taking in energy.
Exercise
A 4 mH inductor has current i flowing into its plus terminal. The current changes from 3 A to 1 A in 0.5 ms at a steady rate. What is the voltage v across the inductor, what is its sign, and is the inductor absorbing or releasing energy during this time?
Show answer
The rate is di/dt = (1 − 3) A / 0.5 ms = −4000 A/s. Then v = L di/dt = 0.004 × (−4000) = −16 V. The sign is negative, so the plus terminal is 16 V below the minus terminal. The power is p = v i, with i positive (between 3 A and 1 A) and v negative, so p is negative. The inductor is releasing stored energy to the circuit.
Exercise
You draw the current arrow so that it points out of the terminal you marked plus on a 25 mH inductor. The current is 0.5 A and rising at 100 A/s. Write the correct law for this labeling and find v.
Show answer
The arrow points out of the plus terminal, which is the active orientation, so the law is v = −L di/dt. Then v = −0.025 × 100 = −2.5 V. Equivalently, if you move the plus mark to the other terminal so the arrow enters it, the law is v = +L di/dt, and the voltage across that new plus terminal is +2.5 V.