2. Limit supply current

Circuit

Loading simulator…

Design Approach

The challenge is to limit the current as VIN varies from 5 V to 12 V. Instead of selecting a resistor for just one voltage, we must calculate a resistance that satisfies the current limits at both extremes.

How the Circuit Works

  1. Calculate the minimum resistance.

    The maximum allowed current is 2 mA at 12 V. Using Ohm's law:Rmin⁡=12 V0.002 A=6 kΩR_{\min}=\frac{12\text{ V}}{0.002\text{ A}}=6\text{ k}\Omega

    The resistance must be at least 6 kΩ to prevent current from exceeding 2 mA.

  2. Check the minimum current requirement.

    At 5 V, the circuit must draw at least 0.5 mA.Rmax⁡=5 V0.0005 A=10 kΩR_{\max}=\frac{5\text{ V}}{0.0005\text{ A}}=10\text{ k}\Omega

    Therefore, any resistance between 6 kΩ and 10 kΩ satisfies both requirements.

  3. Select and connect the resistor.

    The solution uses R1 = 6.8 kΩ, connected in series with the existing ammeter I_OUT, between VIN and GND.

    With this resistance:

    • At 5 V: I_OUT ≈ 0.735 mA
    • At 8 V: I_OUT ≈ 1.176 mA
    • At 12 V: I_OUT ≈ 1.765 mA

    The current remains within the specified limits across the entire voltage range.

Verify the Circuit

In EWsim, vary VIN from 5 V to 12 V. Check that I_OUT stays below 2 mA, while remaining above 0.5 mA at 5 V.

Try changing R1 to 4.7 kΩ. At 12 V, the current would rise to approximately 2.55 mA, exceeding the limit.

Key Learnings

  • When a supply voltage varies, calculate resistance limits using the worst-case operating conditions.
  • A larger resistance reduces current but may also prevent the circuit from drawing the required minimum current.
  • This approach is useful for current-limiting circuits where the supply voltage is not constant.