Author Topic: Ripple Rejection of an LM317  (Read 6607 times)

0 Members and 1 Guest are viewing this topic.

Offline PotatoBoxTopic starter

  • Regular Contributor
  • *
  • Posts: 124
  • Country: ca
Ripple Rejection of an LM317
« on: July 28, 2017, 06:15:33 pm »
So, I'm designing a power supply with a 24v 1A transformer going through a bridge rectifier and now I'm trying to figure out what the value should be for the smoothing capacitor. I've done a little research and found the formula for the cap.

C = I*t/?V

Now, this is easy to figure out but I need to figure out the value for delta V. So, with the lm317, I'm trying to figure out what kind of ripple the lm317 can tolerate without the output voltage being affected.
 

Online alm

  • Super Contributor
  • ***
  • Posts: 2840
  • Country: 00
Re: Ripple Rejection of an LM317
« Reply #1 on: July 28, 2017, 06:34:04 pm »
Should be in the datasheets. Attached is a snippet from two datasheets (TI and OnSemi). Determine acceptable output ripple, divide by minimum ripple rejection, and you have the maximum ripple you should have at the input of the regulator.

Offline PotatoBoxTopic starter

  • Regular Contributor
  • *
  • Posts: 124
  • Country: ca
Re: Ripple Rejection of an LM317
« Reply #2 on: July 28, 2017, 06:51:28 pm »
Should be in the datasheets. Attached is a snippet from two datasheets (TI and OnSemi). Determine acceptable output ripple, divide by minimum ripple rejection, and you have the maximum ripple you should have at the input of the regulator.

Yes but this is in dB. How do I convert this to voltage?
 


Online Zero999

  • Super Contributor
  • ***
  • Posts: 19345
  • Country: gb
  • 0999
Re: Ripple Rejection of an LM317
« Reply #4 on: July 28, 2017, 06:59:18 pm »
Should be in the datasheets. Attached is a snippet from two datasheets (TI and OnSemi). Determine acceptable output ripple, divide by minimum ripple rejection, and you have the maximum ripple you should have at the input of the regulator.

Yes but this is in dB. How do I convert this to voltage?
Look it up using a search engine.
https://www.google.co.uk/search?q=db+to+voltage&oq=dB+&gs_l=psy-ab.3.0.0i67k1l3j0.3000.4273.0.6238.3.3.0.0.0.0.122.308.2j1.3.0....0...1.1.64.psy-ab..0.3.305...0i131k1j0i131i46k1j46i131k1.w4OEPvchbFc

The minimum voltage still needs to be above the output voltage plus the drop-out voltage. 3V is recommended, but lower may be acceptable at lower output currents.
« Last Edit: July 28, 2017, 07:31:03 pm by Hero999 »
 

Offline awallin

  • Frequent Contributor
  • **
  • Posts: 694
Re: Ripple Rejection of an LM317
« Reply #5 on: July 28, 2017, 07:02:27 pm »
Should be in the datasheets. Attached is a snippet from two datasheets (TI and OnSemi). Determine acceptable output ripple, divide by minimum ripple rejection, and you have the maximum ripple you should have at the input of the regulator.

Yes but this is in dB. How do I convert this to voltage?
maybe like so:
http://www.ti.com/lit/an/slyt202/slyt202.pdf

ripple_out = ripple_in / 10^(PSRR(dB)/20)

so a PSRR of 60 dB means three orders of magnitude reduction from ripple_in to ripple_out (e.g. 1 mV to 1 uV).
 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 6927
  • Country: ca
Re: Ripple Rejection of an LM317
« Reply #6 on: July 28, 2017, 07:12:01 pm »
The amount of ripple is very hard to calculate, and usually dictated by the load being driven.
Charging a battery, nobody cares about ripple but power a microphone preamplifier and 50mV of ripple can be audible.

You can instead simulate using LTSpice but your transformer can have 30% regulation and is a great unknown. In other works, its voltage moves around and there is sine-wave distortion, so the math does poorly.

My rule of thumb 1,000-2,000uF per A for filter capacitors. Bigger is better, if it fits.
10uF capacitor on the ADJ pin increases LM317's ripple rejection, per the datasheet.

A 35V filter cap might be too low, as I said transformer will put out more than 24VAC under light loads. Consider a 50V part and the associated size.
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5840
  • Country: de
Re: Ripple Rejection of an LM317
« Reply #7 on: July 28, 2017, 07:26:18 pm »
Forget the ripple rejection (in dB) for this calculation. It is good enough on the LM317 to avoid worrying. Filtering the output can improve it even more.
You should look at minimum input-output differential instead. As the desired output voltage is a secret, it's anybody's guess.
« Last Edit: July 28, 2017, 07:28:14 pm by Benta »
 

Offline PotatoBoxTopic starter

  • Regular Contributor
  • *
  • Posts: 124
  • Country: ca
Re: Ripple Rejection of an LM317
« Reply #8 on: July 28, 2017, 07:27:44 pm »
Also, another question about design, I was planning on using a 1N4007 (thats what I have in my parts box) for the bridge rectifier, but that only goes to 1A, and since I want my power supply to have a max of 1A, It seems that I'm cutting it a bit close. Should I grab something like a 1N5401 just to be safe?
 

Online Berni

  • Super Contributor
  • ***
  • Posts: 4923
  • Country: si
Re: Ripple Rejection of an LM317
« Reply #9 on: July 28, 2017, 07:31:30 pm »
Take notice that ripple rejection is specified at a frequency. This number tells you that if you put a small 120Hz sine wave on the output, then look at how much of it made it to the output. The dB are the ratio between the two as others have explained, its also heavily application dependent.

Those 50dB are decent for 120Hz, but with these old linear regulators only work at these low speeds. Once you get above a few KHz they go "Ripple rejection? Whats that?" and pass all of that ripple straight trough itself.

So some mains harmonics might have a easier time getting trough, any high frequency noise makes it trough and you also have to remember that regulators also have internal noise that they create due to there operation.

So if you are worried about how clean your output is then a LM317 might not be the place to look. They are good enough for most applications, but if low noise is a important factor (Such as powering sensitive high gain audio circuits or sensitive RF stuff) then there are more modern higher spec regulator chips out there.
 

Offline JFJ

  • Regular Contributor
  • *
  • Posts: 236
  • Country: gb
Re: Ripple Rejection of an LM317
« Reply #10 on: July 28, 2017, 08:20:13 pm »
... I was planning on using a 1N4007 (thats what I have in my parts box) for the bridge rectifier, but that only goes to 1A, and since I want my power supply to have a max of 1A, It seems that I'm cutting it a bit close.

Remember that each of the diodes in the bridge will only be conducting for half of the time. So their average current will be 0.5A (at the supply's 1A maximum output).
« Last Edit: July 28, 2017, 08:21:53 pm by JFJ »
 

Online alm

  • Super Contributor
  • ***
  • Posts: 2840
  • Country: 00
Re: Ripple Rejection of an LM317
« Reply #11 on: July 28, 2017, 08:34:57 pm »
If the transformer is rated for 24 V / 1 A AC, then drawing 1 A DC would be overloading the transformer. Something like 0.6 A DC might be a reasonable maximum with full bridge rectification (four diodes).


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf