DC-DC Voltage Doubler with Op-Amps

Okaghana

Joined Jan 14, 2017
9
Hello there!

Ok: In a school project I want to controll a light dimmer. The old dimmer needs a 0-10V signal to controll the lights. I have a Arduino Uno, but as probably known, the Arduino only have a system voltage of 5V. So I need to double the PWM Output signals from the board.

For this purpose I design a small circuit with an OP-AMP. But to Output a 10V signal, I also need a 10V supply Voltage. On the attached File, you can see the basic circuit. The two lower cables needs to be supplied by the 10V and a 0V Voltage. The right cable is the Output.

So my question is: what is the best way to supply the 2 supply Voltages?
1. The whole construct is supposed to be only powered by a USB-Port. But if I have to, I could power it by in an external powersupply with goes into a socket.
2. I take the 5V output from the Arduino and double it once using a method without Op-amps. Something like: convert the 5V to an AC signal and then double the Signal by an AC-DC Voltage Doubler like this
Okaghana

Attachments

• 17.5 KB Views: 77

DickCappels

Joined Aug 21, 2008
7,540
Your opamp circuit is fine, but make your resistors much larger than 100 ohms so a real life opamp can drive it. I suggest 10K to 100k for the two resistors. The LF351 was a great opamp in its time and it is still useful but it needs more power supply voltage than modern rail-to-rail opamps.

Suggestions: Use a modern rail-to-rail opamp, Make sure your power supply is sufficient to get the opamp's output to +10V, and make sure the opamp you select can work witih the input equal to the negative power supply rail.

The old standby, LM358 will do for working with the inputs at the negative supply rail, but you would need a converter to take the + power supply to more than 13V.

For that you can consider the MC34063, a simple enough switching regulator.

MisterBill2

Joined Jan 23, 2018
8,990
Hello there!

Ok: In a school project I want to controll a light dimmer. The old dimmer needs a 0-10V signal to controll the lights. I have a Arduino Uno, but as probably known, the Arduino only have a system voltage of 5V. So I need to double the PWM Output signals from the board.

For this purpose I design a small circuit with an OP-AMP. But to Output a 10V signal, I also need a 10V supply Voltage. On the attached File, you can see the basic circuit. The two lower cables needs to be supplied by the 10V and a 0V Voltage. The right cable is the Output.

So my question is: what is the best way to supply the 2 supply Voltages?
1. The whole construct is supposed to be only powered by a USB-Port. But if I have to, I could power it by in an external powersupply with goes into a socket.
2. I take the 5V output from the Arduino and double it once using a method without Op-amps. Something like: convert the 5V to an AC signal and then double the Signal by an AC-DC Voltage Doubler like this
Okaghana
The simple way to get the 10 volts is a circuit called a charge pump, which rapidly charges capacitors in parallel and then puts them in series to deliver the voltage. There are lots of the circuits around, and even ICs made for that purpose. AND you can use a clock signal from the processor board to drive it. Much more efficient and effective than using an op amp or two. And probably cheaper as well.

Okaghana

Joined Jan 14, 2017
9
The simple way to get the 10 volts is a circuit called a charge pump, which rapidly charges capacitors in parallel and then puts them in series to deliver the voltage.
Thanks! But.. could you send me the schematics, or a video for explonation, or something like this. I find lots and lots of thing, but many different versions of the circuit, some for AC, and I dont know which one is the right.

Much more efficient and effective than using an op amp or two. And probably cheaper as well.
What I didnt write (but should have) is, that I need to controll about 20 lights, so I need to double the PWM-Voltage of the Arduino about 20 (+1) times. Is this a problem?

Okaghana

Joined Jan 14, 2017
9
Your opamp circuit is fine, but make your resistors much larger than 100 ohms so a real life opamp can drive it. I suggest 10K to 100k for the two resistors. The LF351 was a great opamp in its time and it is still useful but it needs more power supply voltage than modern rail-to-rail opamps.

Suggestions: Use a modern rail-to-rail opamp, Make sure your power supply is sufficient to get the opamp's output to +10V, and make sure the opamp you select can work witih the input equal to the negative power supply rail.

The old standby, LM358 will do for working with the inputs at the negative supply rail, but you would need a converter to take the + power supply to more than 13V.

For that you can consider the MC34063, a simple enough switching regulator.
Ok. I get the thing with the LF351. I need to double 20 signals. Are there fitting opamps that are 14-pin or more??

About the thing with the MC34063 and the converting. I have no idea what you mean and what am I supposed to do. I understand the basics, but not more. Could you please explain this a little bit more?

DickCappels

Joined Aug 21, 2008
7,540
If you want the output to go all the way to 10 volts you will need a power supply of more than 10 volts. If there is no significant load on the opamp and you can tolerate a maximum output of a little less than 10 volts you can use a 10 volt supply and a rail-to-rail opamp like the TLC22272 from Texas Instruments. http://www.es.co.th/Schemetic/PDF/TLC2272.PDF

Then you can use a simple voltage doubler that takes in 5V and outputs 10V. The MAX1682 is such a chip.

If you really need to get all the way to 10 volts then you are going to have to power the opamp from more than 10 volts. One such solution is to use a switching regulator to more than double the 5 volt power supply. Using on of many different switching regulators, the MC34063 from On Semiconductor is one possibility.

Or something like the LT1026 as a voltage quadrupler.

Search for voltage multiplier circuits on the internet and you will find many options.

Getting the output to go all the way to ground can be done by just placing a resistor from the output to ground for some types of opamps, others will need a negative power supply.

The ICL7660 can convert +5 to -5 with very few parts

Depending upon how close you need to get to +10V and ground you have some options.

Attachments

• 14.7 KB Views: 7

MrAl

Joined Jun 17, 2014
8,353
Hello,

A voltage doubler is usually good for low current applications where the power requirement isnt too great.
A boost circuit though, like the one with the inductor in the previous post, is made for higher output current.

The drawback to any of the voltage increasing circuits is that the current available to the output is always less than the input current. With ideal elements, the current available on the output is equal to the inverse voltage ratio of the input to output of the current available on the input. So if you have 5v and 500ma available on the input then the max output current you can get at 10v output is 250ma. That's why some USB hubs are called "powered" USB hubs because they use an external wall wart to power the USB devices rather than take the power from the host computer USB port directly.
5v 500ma to 10v 250ma is also an "ideal" condition, where all the parts are perfect and have no losses. Efficiency usually lowers that and it can be significant. For example, with 5v 500ma input and 10v output at 80 percent efficiency leads to 10v 200ma output max.
Also, diodes drop voltage so you loose some top end voltage unless you compensate somehow. This leads to less efficiency but that has to be done. Schottkey diodes work well for this kind of app because they drop less voltage than regular Si diodes. Regular rectifier diodes like 1N4001 should never be used for this kind of application.

Okaghana

Joined Jan 14, 2017
9
If you want the output to go all the way to 10 volts you will need a power supply of more than 10 volts. If there is no significant load on the opamp and you can tolerate a maximum output of a little less than 10 volts you can use a 10 volt supply and a rail-to-rail opamp like the TLC22272 from Texas Instruments. http://www.es.co.th/Schemetic/PDF/TLC2272.PDF
View attachment 147415
Then you can use a simple voltage doubler that takes in 5V and outputs 10V. The MAX1682 is such a chip.

View attachment 147423

If you really need to get all the way to 10 volts then you are going to have to power the opamp from more than 10 volts. One such solution is to use a switching regulator to more than double the 5 volt power supply. Using on of many different switching regulators, the MC34063 from On Semiconductor is one possibility.

View attachment 147416

Or something like the LT1026 as a voltage quadrupler.
View attachment 147418
Search for voltage multiplier circuits on the internet and you will find many options.

Getting the output to go all the way to ground can be done by just placing a resistor from the output to ground for some types of opamps, others will need a negative power supply.

The ICL7660 can convert +5 to -5 with very few parts

View attachment 147421

Depending upon how close you need to get to +10V and ground you have some options.
Ok. That explains it much better. But now I have another question: Could I use 20 MAX1682 to amplify the 5V PWM signal in the first Place and just Ignore the rest with the Op-Amps?

If Yes: Is that practical and affordable (I have to double a Voltage 20x on an arduino shield)?

If no: Ok. I can just quadruple the 3.3V output of the Arduino. But why do some Op-Amps need negative Voltage, even if they are only supposed to output positive Voltage?

ebp

Joined Feb 8, 2018
2,332
My advice is don't even think about building a switch mode power supply. They can be nasty things to get working properly. You could spend more time messing with trying to get the switcher to work well than with building the rest of your circuit.

The simplest thing to do is buy a 5 volt to 12 volt (or 15 volt) regulated DC-DC converter module rated at about watt. They are switch mode converters internally, but they are easy to use. Power your op amps with12 volts or 15 volts, set them for a gain of +2, and off you go. Depending on the amplifier you use and how much current the dimmer input requires, you might need more than 1 watt. There are lots of 2 W modules available (a typical ordinary op amp will require only about 1 mA or less; 20 x 1 mA x 15 V = 300 mW) Don't forget you have to have enough power from your 5 V supply to run the converter - check the efficiency data for the converter; most are reasonably good but not great.