# Confusion with Bode plot in LTspice when using a voltage regulator

To experiment(out of curiosity) the effect of a low pass filter for an SMPS switching noise I wanted to try a filter where an LC cascaded by a linear regulator as shown in below diagram, I obtained the AC analysis in LTspice.

I don't know anything about the output impedance of the SMPS so I chose is as 1 Ohm. Then I swept the input between 0.1Hz to 1 Meg Hz.

But why in the Bode plot Vout starts from -180dB but not 0dB?

EDIT:

Following some comments I superimposed the noise on a 24V DC as shown below:

The AC coupling caps C4 and C3 are there to view the noise component at the input and output.

Here is when 1V 100 kHz square wave noise(with 1p rising and falling edges) is superimposed on the 24V DC:

Here is when 1V 100 kHz sine wave noise is superimposed on the 24V DC:

Below is when 1V 0.1 Hz sine wave noise is superimposed on the 24V DC:

And finally here is the AC response when superimposed on the 24V DC:

It seems in the AC response at 0.1 Hz the y axis shows around -70dB. This corresponds to a voltage ratio of 3162 and for 1V the output would be expected as 320uV which almost matches to the 0.1 Hz transient response noise amplitude.

Are these results expected in practice? If so it seems to me the linear regulator works as a very very strong low pass filter.

• 0dB is unity gain; -180dB is a gain of $\small 10^{-9}$. Why is -180dB surprising? The idea of a regulator is to give pure direct voltage, or as close as possible. This one is pretty good at it.
– Chu
Commented Jan 18, 2019 at 14:06
• I interpret the dB vertical axis of the plot mathematically as 20*log10(Vout/Vin) verus the frequency axis. If not what is it? Commented Jan 18, 2019 at 14:21
• At 0 or 0.1Hz the regulator should not attenuate anything but it does. Very confusing to me. Commented Jan 18, 2019 at 14:27
• Yes that's correct for your first comment;volt/volt = gain . How have you checked it at 0 Hz? that frequency isn't on the Bode plot, also, the supply voltage must be greater than the intended output regulated voltage otherwise the regulator can't work.
– Chu
Commented Jan 18, 2019 at 14:37
• @Chu I will try to elaborate on my confusion very soon hope you can help me with this. Thanks Commented Jan 18, 2019 at 15:30

• The input source must be dc and ac: the dc fixes the operating point, for instance 15 V and then you add a 1-V ac modulation. Please make sure the operating point is correct, e.g. $V_{out}$ delivers the correct value before considering the results. I know LTspice can reflect the OP back to the schematic. It must always be done before considering any ac results. Commented Jan 18, 2019 at 19:20