Electronics > Beginners
Microcontroller Charge Pump
(1/2) > >>
jram:
I watched the 'voltage doubler' videos with interest and would like to implement one in a project I have.  I need to boost a 13v supply to 15V or so - the current requirements are very low (I need to feed a load of R168k for a few seconds).

It occurred to me that I could use a clock from my 3.3v micro to 'shift' the voltage using the standard circuit in the video.  I modelled this in LTSpice and all was well.  However, The voltage at the capacitor between the micro and the 13V rail concerns me. The micro is a 3.3v device and I don't want to let the magic smoke out.  I attached a diode between the clock pin and the capacitor and LTSpice showed that the voltage shift does not occur.

Clearly I'm not understanding something. Any thoughts most welcome, thank you. :)
Ian.M:
Post your sim (.asc file).
jram:
Thanks Ian.  Here are two - the original and the one with the additional diode.
Zero999:

--- Quote from: jram on March 18, 2018, 08:49:56 pm ---Thanks Ian.  Here are two - the original and the one with the additional diode.

--- End quote ---
The second one with the extra diode won't work, because the MCU's output needs to be able to source, as well as sink current. Hopefully that should be evident from Dave's video.

The first circuit is working fine. What's needed, to protect the MCU's output from power on transients, is a Schottky diode, from the MCU's output, to its positive rail and a 220µF to soak up and transients.
Ian.M:
Also, in addition to the extra diode Hero999 recommended, if the boosted supply is ever heavily loaded, and the input 13V supply gets disconnected,  you'll need another Schottky diode from 0V to the MCU output.

Its fairly abusive to drive a large flying capacitor in a charge pump directly from a MCU pin, and if you don't add a series resistor, its likely to exceed the pin's Abs. Max. current limits.  With a series resistor to tame it, and Schottky clamps, however, its reasonably robust.  Unfortunately the series resistor to the flying capacitor increases the output impedance of the boosted supply.   

If the flying capacitor is small enough, the pin's current limits cant be exceeded for very long, and in combination with the output's internal resistance, it may be able to survive the transient without damage.  That's operating outside the MCU datasheet limits so you'll either have to do a lot of testing to qualify the part for this abuse, or discuss transient limits with the manufacturer's F.A.E.

Plot the current through the Schottky diodes and the source driving the pump to see why they are needed.

If you need to regulate the boosted rail, its possible do so in software by reading it with a potential divider to a MCU ADC input, and varying the PWM frequency accordingly (slower=less output), while maintaining approx 50% duty cycle.   Its also possible to regulate in hardware if the MCU's PWM peripheral supports auto-shutdown and auto-restart: Use a comparator to detect if the voltage is over your desired threshold and if so, force the PWM to shutdown.   
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod