logo elektroda
logo elektroda
X
logo elektroda

Why Does My LM317 Power Supply Output High AC Voltage Ripple With 20VAC Input?

336 23
Best answers

Why does my LM317-based power supply show a very high AC ripple reading on the DC output when fed from a 20 VAC transformer and bridge rectifier?

No—the huge AC reading was a measurement artifact, not real ripple. The AC after a bridge rectifier and filter capacitor is not a sine wave, so ordinary AC ranges on a meter can give misleading results, especially with older or low-cost meters [#21661279] [#21661281] Several replies suspected the meter rather than the circuit and recommended checking it with a better DMM or an oscilloscope [#21661285] [#21661284] When the circuit was measured with a Fluke meter, the output showed only about 0.3 mV AC at low output and 0.5 mV AC at high output, confirming the supply was fine [#21661290] [#21661291] The practical fix is to trust a proper meter/scope and, if you only need 12 V, consider using a fixed 12 V regulator or a more suitable input source/capacitor setup [#21661271] [#21661281]
Generated by the language model.
ADVERTISEMENT
  • #1 21661268
    John Danna
    Anonymous  
  • ADVERTISEMENT
  • #2 21661269
    Kevin Parmenter
    Anonymous  
  • ADVERTISEMENT
  • #3 21661270
    John Danna
    Anonymous  
  • ADVERTISEMENT
  • #4 21661271
    Kevin Parmenter
    Anonymous  
  • #5 21661272
    John Danna
    Anonymous  
  • #6 21661273
    Steve Lawson
    Anonymous  
  • #7 21661274
    Kevin Parmenter
    Anonymous  
  • #8 21661275
    Steve Lawson
    Anonymous  
  • ADVERTISEMENT
  • #9 21661276
    John Danna
    Anonymous  
  • #10 21661277
    Douglas Bezaire
    Anonymous  
  • #11 21661278
    John Danna
    Anonymous  
  • #12 21661279
    Steve Lawson
    Anonymous  
  • #13 21661280
    Steve Lawson
    Anonymous  
  • #14 21661281
    Kevin Parmenter
    Anonymous  
  • #15 21661282
    John Danna
    Anonymous  
  • #16 21661283
    John Danna
    Anonymous  
  • #17 21661284
    Kevin Parmenter
    Anonymous  
  • #18 21661285
    DAVID CUTHBERT
    Anonymous  
  • #19 21661286
    Steve Lawson
    Anonymous  
  • #20 21661287
    John Danna
    Anonymous  
  • #21 21661288
    John Danna
    Anonymous  
  • #22 21661289
    Steve Lawson
    Anonymous  
  • #23 21661290
    John Danna
    Anonymous  
  • #24 21661291
    John Danna
    Anonymous  

Topic summary

✨ A variable DC power supply using an LM317 regulator and a 20VAC wall wart transformer with a full bridge rectifier exhibited unexpectedly high AC voltage ripple readings (up to 70VAC) on the output. The user measured AC ripple with an analog voltmeter and questioned the accuracy of these readings. Responses suggested potential measurement errors due to the analog meter's limitations and the non-sinusoidal nature of the ripple after rectification. It was recommended to use a digital multimeter (DMM) or an oscilloscope for accurate ripple measurement. The LM317 regulator can handle input voltages up to about 40V differential, suitable for the rectified 20VAC input, but the user was advised to consider a fixed 12V regulator (LM7812) for simplicity if a fixed voltage is acceptable. Additional suggestions included ensuring proper input and output decoupling capacitors, verifying diode orientation and integrity, and adding sufficient bulk capacitance after the bridge rectifier to reduce ripple. The user confirmed the wall wart outputs AC, not DC, and that the LM317 was heat-sinked. Final testing with a calibrated Fluke meter showed minimal AC ripple (millivolts), indicating the initial high AC readings were due to meter inaccuracies rather than circuit faults. The discussion emphasized the importance of proper measurement tools and techniques when evaluating power supply ripple and regulator performance.
Generated by the language model.

FAQ

TL;DR: Final ripple was only 0.3–0.5 mV; the scary 50–70 VAC readings were meter artifacts—“AC Volt meters are calibrated to a sinewave.” [Elektroda, Steve Lawson, post #21661279]

Why it matters: This FAQ helps DIY audio builders debug LM317/7812 supplies and avoid frying pedals from mis-measurements.

Quick Facts

Why did my meter show 50–70 VAC on the LM317 output?

Your meter was reading non‑sinusoidal ripple on top of DC using an AC scale calibrated for sinewaves. That over-reports. Some meters also leak DC through imperfect AC coupling, further skewing results. A better meter or an oscilloscope reveals the true ripple. “AC Volt meters are calibrated to a sinewave.” Use a modern Fluke-type DMM or scope for accuracy. [Elektroda, Steve Lawson, post #21661279]

What did accurate measurements show for ripple in this build?

Using a high‑end Fluke DMM on the DC output, ripple measured only 0.3 mV at low setting and 0.5 mV at high. That confirms the regulator and filtering worked correctly. The earlier high VAC numbers were measurement artifacts, not real output ripple. [Elektroda, John Danna, post #21661290]

How do I correctly measure AC ripple on a DC supply?

  1. Use a trusted DMM or an oscilloscope with AC coupling.
  2. Measure at the regulator output with load connected.
  3. Compare readings while sweeping the adjust pot; expect millivolts if filtering is correct. A Fluke confirmed 0.3–0.5 mV here. [Elektroda, John Danna, post #21661290]

Is an oscilloscope required to diagnose ripple issues?

A scope makes ripple shape obvious and avoids AC‑on‑DC meter errors. If you lack a scope, use a calibrated DMM to corroborate readings. Community experience showed a scope was recommended, and a Fluke DMM resolved the confusion. [Elektroda, DAVID CUTHBERT, post #21661285]

Should I use LM317 or a fixed LM7812 for pedal power?

LM7812 is simple and robust for a fixed 12 V pedal rail. Keep 0.1 µF decouplers close to pins and use adequate bulk caps. For adjustable outputs or higher input differential, LM317 offers more headroom. “The LM7812 circuit just can’t help but work.” [Elektroda, Kevin Parmenter, post #21661271]

Can my 20–22 VAC wall wart over‑stress a 7812?

Yes, rectified 22 VAC peaks near 31 V minus bridge drops, close to the 35 V 7812 limit. Open‑circuit secondaries can be higher. Verify secondary voltage under load, or choose a lower‑voltage transformer to maintain margin. [Elektroda, Steve Lawson, post #21661273]

What headroom can LM317 tolerate at its input?

LM317 can withstand about a 40 V differential between input and output. At 12 V out, it tolerates rectifier peaks well within that margin, assuming the transformer and load keep peaks reasonable. [Elektroda, Steve Lawson, post #21661273]

Why didn’t adding a reverse‑biased diode at the output remove AC?

A reverse‑biased diode blocks reverse current, not forward‑path ripple. Ripple originates from rectification and loading. It must be reduced by proper filtering, regulation, and measurement. The added diode made no difference in the reported readings. [Elektroda, John Danna, post #21661276]

What input and output capacitors should I prioritize?

Place 0.1 µF decouplers close to regulator input and output pins. Add adequate bulk capacitance after the bridge and, if needed, on the output. Good decoupling stabilizes audio supplies and lowers ripple. Keep leads short for best effect. [Elektroda, Kevin Parmenter, post #21661271]

Is my transformer actually AC or DC? How do I check?

Many wall warts are AC‑output types. Confirm the label and measure the secondary before the rectifier. In this thread, the unit was AC, followed by a diode bridge to make DC. Misidentifying this leads to wrong expectations. [Elektroda, John Danna, post #21661278]

Could a bad meter cause false high AC readings?

Yes. Old or cheap meters can misread AC on DC rails due to leaky coupling capacitors or calibration drift. Cross‑check with a Fluke or scope before redesigning the supply. The Fluke resolved the issue here immediately. [Elektroda, Kevin Parmenter, post #21661284]

What load and current should I design for in pedal projects?

Define your target voltage and current first. In this case, 12 VDC at about 25 mA was the design point. Validate with a resistive load near expected draw to observe regulation and ripple under realistic conditions. [Elektroda, John Danna, post #21661270]

What’s a safe quick fix if my secondary voltage runs high?

You can load the secondary to pull voltage down or add a zener with a series resistor after the bridge to clamp peaks. Include a correctly sized fuse ahead of the clamp. This is a stopgap, not a power‑efficient solution. [Elektroda, Steve Lawson, post #21661275]

Any simple transformer alternatives to save time?

Use a regulated 12 VDC wall adapter and skip mains rectification and bulk filtering. For adjustable outputs, feed a clean DC wall adapter into your LM317 board and trim as needed. This reduces debugging time. [Elektroda, Kevin Parmenter, post #21661281]

Edge case: Why didn’t the transformer voltage change under a 50 Ω load?

If your meter shows identical VAC with and without load, suspect the meter or range. One user saw 22 VAC in both cases, which raised doubts. Confirm with a known‑good meter or scope before concluding the transformer is stiff. [Elektroda, Steve Lawson, post #21661279]

What’s a practical safety checklist before powering pedals?

Fuse the mains input appropriately, heat‑sink the regulator, verify DC output with a calibrated DMM, and confirm ripple under load. Do not connect pedals until readings are sane and stable. Measurement first prevents damage. [Elektroda, Kevin Parmenter, post #21661281]
Generated by the language model.
ADVERTISEMENT