This was written in response to a prior thread, before I realized you'd already posted this one. I'm moving it here, though [Jay_Diddy_B] already provided a good answer. And with a few quick additions to make sure all questions have been answered:
I looked up a sample LDO, a LT1763.
http://cds.linear.com/docs/en/datasheet/1763fh.pdfThis one does give detailed specs on input ripple rejection vs. frequency, at the bottom of page 10. Some others may not, in which case I would assume nothing, and use a Pi filter on the input unless I have experimentally verified it is not necessary.
For this part, assuming Cbyp is present at any value (and which I would always use regardless), the worst represented case (at 1Mhz) looks to be 23dB. Yes, lower on the graph is worse. Converting that into something that makes sense isn't too hard, so long as you know the formula:
10^(23/20) = 14.125x reduction
If you're running Windows, put the calculator in scientific mode. Do '23 / 20 =', then click the 10
x button. Voila. Now assuming 50mV input ripple at 1Mhz:
50/14.125 = 3.540mV output ripple
I'm not sure exactly how to calculate the response of a Pi filter. There's not only the normal capacitances/inductance to figure, but the parasitic ones too. I won't attempt such maths unless absolutely necessary!
But from experience, I know even a non-optimal Pi will reduce that to about 1mV or less. 0.5mV or less if you pick the ferrite bead to have good performance up to 1Mhz, as I earlier mentioned. Put a Pi filter on the output too, and double the ripple reduction, getting you down to less than 0.25mV or 0.125mV.
One more thing. If your switching regulator runs at 300Mhz, that's the frequency at which you'll find ripple, in the traditional sinusoidal sense. However, they can also emit some spikes too, which occur when the switch turns off, and which can go up to 1Mhz or more. Normally these spikes are of lesser amplitude than the ripple, but some cheap Chinese power supplies are an exception - I've seen documented cases of the spike exceeding 100mV in counterfeit iPhone chargers!