# For an Op-amp with a single power supply, how do you get negative voltage

In my design, I am connecting an LM324 op-amp in the inverting mode and thus the output voltage would be negative of the input multiplied by th gain. But I am using a 5v and 0V power supply. So how is it possible to get a negative output when my power supply cannot have negative value. Do I need a dual power supply to achieve this?

The frequency range of both bandpass filters is from 0.7 hertz to 2.5 hertz. Both op amps should provide enough gain to raise my weak signal (+-0.3v) up to the TTL logic level of my microcontroller I.e around 4.7 v , if not I would add a comparator to do that.

• You can't, and yes you do. – brhans Jun 6 '16 at 19:58
• Is your input signal AC or DC? – EM Fields Jun 6 '16 at 20:00
• My input is a constant 2v with a regular +-0.3v fluctuation on top. – oziomajnr Jun 6 '16 at 20:06
• You could reference the output to the mid-rails (2.5V), but whether this makes sense depends on your whole circuit. – dim Jun 6 '16 at 20:10
• Do you need the output to go negative (below 0V) or can it be between 0V and +5V? – Bruce Abbott Jun 6 '16 at 21:39

You can use a voltage inverter like the LMC7660 to generate a negative rail for your op amp. It converts any voltage between 1.5V and 10V into its negative counterpart -- e.g. +5V in, -5V out. Only good for a few mA though.

• Why the down-vote? Perfectly acceptable answer! – Dwayne Reid Jun 7 '16 at 2:22
• @Sparky256 The OP specifically asked how to get a negative output -- that was the part of the question I was trying to answer (and that's also the way the title is phrased). – tcrosley Jun 7 '16 at 6:27
• You could always use a part with the charge pump already on board: maximintegrated.com/en/products/analog/amplifiers/MAX44267.html – Peter Smith Jun 7 '16 at 8:32
• @tcrosley. I missed that one, but the OP had not submitted a diagram yet. But I did miss-interpret the context of the question-and got it backwards. sigh... – user105652 Jun 9 '16 at 23:03

The inverting input of an op amp produces a negative output relative to the non inverting input. So if your signal is 2V +-0.3V then you can set the non inverting input's 'ground' reference to 2V and the output will also be relative to 2V.

simulate this circuit – Schematic created using CircuitLab

• The LM324 struggles to pull down below 0.6V, but without knowing the application we can't say that this will be a problem. The OP didn't specify gain or output voltage limits either, so I just went for the simplest answer. – Bruce Abbott Jun 7 '16 at 5:01
• I have added a schematic above – oziomajnr Jun 7 '16 at 8:03
• Signal is AC coupled so no 2VDC to worry about. Just bias each non-inverting input to 2.5V with a resistor divider (like in my circuit) and you are good to go. – Bruce Abbott Jun 7 '16 at 8:46