Skip to main content

Design LM317 regulator 5.2 V to 13 V

Short answer

Choose R1=240 Ω. For 5.2 V to 13 V output, R2 ranges from 758 Ω to 2256 Ω. Use a 750 Ω fixed resistor and a 2 kΩ pot. Input voltage Vin should be about 17 V (≥16 V for dropout). Add 0.1 µF input and 1 µF output capacitors.

Design a 5.2 V to 13 V variable DC voltage regulator using IC LM 317.

LM317 is a three-terminal adjustable positive regulator (1.25 V to 37 V, up to 1.5 A). Between OUT and ADJ it holds a constant reference Vref = 1.25 V, so with R1 from OUT to ADJ and R2 from ADJ to ground:

Vout = 1.25 (1 + R2/R1) + Iadj R2 (Iadj ≈ 50 µA, neglected)

Circuit

            +--------------+
 Vin o--+---| IN       OUT |---+------+--o Vout
        |   |    LM317     |   |      |
      [C1]  |     ADJ      | [R1]   [C2]
        |   +------+-------+   |      |
       GND         +-----------+     GND
                   |
                 [R2 = fixed + pot]
                   |
                  GND

C1 = 0.1 µF (input bypass), C2 = 1 µF (output).

Design for 5.2 V to 13 V

  1. Choose R1 = 240 Ω. The current in R1 is 1.25/240 = 5.2 mA, which is above the minimum load current of the LM317 (about 3.5 to 5 mA).
  2. R2 = R1 (Vout/1.25 − 1)
  3. Minimum output 5.2 V: R2(min) = 240 (5.2/1.25 − 1) = 758 Ω
  4. Maximum output 13 V: R2(max) = 240 (13/1.25 − 1) = 2256 Ω
  5. A potentiometer alone cannot give a minimum above 1.25 V, so use a fixed resistor in series with the pot:
    • Fixed resistor = 758 Ω (use the standard 750 Ω, which gives a minimum of 5.16 V)
    • Potentiometer = 2256 − 758 = 1498 Ω → use the next standard value, a 2 kΩ pot, and set it so that the maximum output is 13 V
  6. Input voltage: the LM317 needs a dropout of about 3 V, so Vin ≥ 13 + 3 = 16 V. Use an unregulated supply of about 17 V dc (the maximum Vin − Vout is 40 V).

The pass transistor inside the IC dissipates (Vin − Vout) IL, so a heat sink is needed at high current.

Answer: R1 = 240 Ω, R2 = 750 Ω fixed + 2 kΩ pot, Vin ≈ 17 V.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Electronics Devices and Circuit chapter 6 questions →