# LTspice not giving correct output

I'm trying to make a negative voltage power supply, mainly for opamps. I did some googling and found a circuit I like, so naturally before making it, I wanted to simulate it first.

It has 12V on the input and inputs around +12 and -12V or there about if you take the diode voltage drops into account. However LTspice just calculates that there's 12V at the output and the -12V output is at 0V as is the gnd. I've no clue if this is a bug or if I'm doing something wrong. I've tried electrolitic and nonpolarised capacitors and the default diodes as well as some randomly picked ones and some 1N4007 ones. The output is always the same apart from the +12V which obviously changes with the different voltage drops across the diodes. Does anyone know what's going on and why? Here's a picture of the circuit as well as the output I measure at the supposed -12V P.S. I've tried another simulation software and it worked properly.

Here's a picture of the circuit working properly with a 12V DC supply. The points measured are the two wires.

Here's a link to a video where a guy builds the circuit and it seemingly works. video He measures DC volts, but I'm not sure if he actually uses a DC source. That's why I wanted to simulate it.

• The input MUST be AC for that circuit to work. Also the capacitors need to be the non-polarized type.
– user105652
Jan 7, 2019 at 23:27
• Exactly, without an AC input the diodes just reach a steadystate as shown in your simulation. As a general rule of thumb, any voltage regulators that have passive semiconductors, with the exception of zener diodes, are generally meant to accept an AC input. If in doubt, imagine the outputs shorted, and then trace in your mind the path the current takes. Jan 7, 2019 at 23:40
• Would you like to make a -11V charge pump? Jan 8, 2019 at 3:06
• I was looking for a simple circuit that I could put on my designs that include opamps. So in general I just need a negative voltage supply. Doesn't have to be -11V, just low enough so I don't have to use a rail-to-rail opamp, so I suppose around -1V would be ok too. Jan 8, 2019 at 12:39
• @CrtSuznik You can also consider using a charge pump IC like ICL7660. Or if you have a microcontroller on board, you can make a charge pump with an unused IO pin. Alternately, see my answer below. If the +ve rail is not drawing too much current, a rail splitter can be a good option to also power the uC. Remember that if the opamp output has a big swing and goes near ground, it may be best to have a symmetrical supply to reduce errors. You can accept my answer if it resolves your issue. Jan 9, 2019 at 4:59