Path: EDN Asia >> Design Ideas >> IC/Board/Systems Design >> Multiplying voltage under software control
IC/Board/Systems Design Share print

Multiplying voltage under software control

15 Mar 2013  | William Grill

Share this page with your friends

The circuit in this article utilises a Microchip 12F10 controller to drive a voltage multiplier ladder and a single pin to output status and to input a trigger signal you supply (figure 1). When you trigger the signal, the software turns on a MOSFET to connect the multiplier output to a load. The microcontroller has an internal comparator with a 0.6V trip point. The circuit attenuates and feeds back the output voltage to this comparator.


Listing 1 shows the controller-based software, which stops the oscillator, driving the voltage multiplier when the internal comparator indicates that the output voltage has reached an upper limit. This circuit works in a wireless-monitor design, increasing the voltage, power, and range of a small periodic transmitter. It can provide 12 to 15V and 9 to 11 mA.


Processing begins when power is applied. The controller qualifies its Port 3 input on Pin 4. When at a logic high, logic is true, and the software code generates complementary PWM outputs on ports 4 and 5, which are pins 3 and 4, respectively.

These oscillations charge the ladder network. The controller outputs a low on the Port 2/Pin 5 status line, indicating that charging is under way. You choose the ratio of R1 and R2 so that the centre node of the ladder is at 0.6V when the output voltage reaches the desired value. When the output reaches the final value, the controller puts the status pin in tristate mode, and the 20-kΩ resistor pulls the pin up to the power-rail voltage. Port 2 on Pin 5 then becomes an input.

When you pull this pin low, the microcontroller asserts Port 1 and Pin 6 high, turning on the P-channel MOSFET through Q2, and applies the output voltage on C4 to the load. Meanwhile, Port 1 and Pin 6 go high, shifting the lower pin of output capacitor C4 from ground to the power rail and adding a few volts to the output of the voltage ladder.

The program drives the complementary outputs at pins 2 and 3 with a 700-µsec PWM period with a 50% duty cycle. You can change the software code to vary these parameters. The controller has an internal 4MHz oscillator and supports a user-settable reference block. The code continues to monitor the enable pin, C4's voltage feedback, and the pump operation during the discharge to the load. You must set certain bits in the processor configuration for this code to work (figure 2).


About the author
William Grill is from Riverhead Systems.

To download the PDF version of this article, click here.




Want to more of this to be delivered to you for FREE?

Subscribe to EDN Asia alerts and receive the latest design ideas and product news in your inbox.

Got to make sure you're not a robot. Please enter the code displayed on the right.

Time to activate your subscription - it's easy!

We have sent an activate request to your registerd e-email. Simply click on the link to activate your subscription.

We're doing this to protect your privacy and ensure you successfully receive your e-mail alerts.


Add New Comment
Visitor (To avoid code verification, simply login or register with us. It is fast and free!)
*Verify code:
Tech Impact

Regional Roundup
Control this smart glass with the blink of an eye
K-Glass 2 detects users' eye movements to point the cursor to recognise computer icons or objects in the Internet, and uses winks for commands. The researchers call this interface the "i-Mouse."

GlobalFoundries extends grants to Singapore students
ARM, Tencent Games team up to improve mobile gaming


News | Products | Design Features | Regional Roundup | Tech Impact