30

What would be the least expensive way to boost a DC voltage?

The aim is to convert 1.2 V/1.5 V (from an AA/AAA cell) to 3.3 V to power a small 8-bit microprocessor, like Atmel ATtiny45 or ATtiny2313, and also (if possible) 6 V to power a buzzer.

Also, what would be the maximum current one could draw safely from an alkaline battery, after boosting it to 3.3 V/6 V?

Finally, how I could compute the duration for which the alkaline battery would last, given a certain consumption?

MicroservicesOnDDD
  • 2,790
  • 1
  • 14
  • 51
bdutta74
  • 3,534
  • 12
  • 47
  • 67
  • 4
    You probably find some of the answers in a datasheet for the alkaline battery. For a primer on DC-DC converters you could have a look here: http://www.eevblog.com/2011/01/17/eevblog-139-lets-select-a-dc-dc-boost-converter/ – 0x6d64 Nov 04 '11 at 13:10
  • 1
    Looks like the attiny45 can go down into the 1.8-2V range and depending in your application, you may be able to suspend into a low power mode at times to save some draw on the battery. There's cheap, small PIC and TI MSP430 chips in the starter range that offer crazy small power draws. – rfusca Nov 04 '11 at 16:40
  • 3
    Maybe I'm missing something obvious, but the simplest solution (and least expensive) is to just take two/four 1.5V batteries and put them in series to get your ~3.0V/6.0V to power your microcontrollers. – dr jimbob Nov 04 '11 at 17:53
  • Though the question itself is interesting, in practice, I would just use a Li-ion battery and use a buzzer that works in that voltage range. – Codism Nov 04 '11 at 21:53
  • @0x6d64 thanks. Are all Alkaline batteries rated similarly, because other than the top-line brands, for most of the drugstore kinds, I've never found datasheets. Thanks for the DC-DC converters. – bdutta74 Nov 05 '11 at 09:44
  • @rfusca thanks. The availability of the LV series is bit sketchy and the cost is higher. And anyway, I need to drive the buzzer as well. I've seen the MSP430 series, but I'm still in the Arduino domain. Bare metal MCU's are a bit hard for me. Thanks for suggesting those. – bdutta74 Nov 05 '11 at 09:47
  • 1
    @jimbob thanks. Sometimes we do overlook the obvious :-), but in this case I had considered series combination. However, the challenge for my application is also size/weight, apart from cost. – bdutta74 Nov 05 '11 at 09:53
  • 1
    @Codism thanks. "Lease expensive" was part of my question statement on purpose :-). Li-ion's cost along with charging/battery-mgt, LDO etc., is about 5x the target cost of my entire project. – bdutta74 Nov 05 '11 at 09:55
  • 1
    @icarus74 are you really that constrained that you can't add a second AA? What about a 9V and appropriate regulator(s)? That would be my preferred approach if I had to make something palm sized. – MBraedley Nov 08 '11 at 18:36
  • 1
    @MBraedley, my target application at that time, was something that fits snug with my bicycle handlebar. Initially it was a DIY pattern-changing warning lights, but later expanded to a DIY cyclo-comp based on MSP430. Challenge was to fit everything neatly, and yet for the battery to have enough juices to last for couple of weeks. – bdutta74 Jun 06 '13 at 06:35
  • 1
    Many microcontrollers will run on 1.5V directly these days, I’d hope, so this becomes a much easier problem. Sometimes problems get solved by the passage of time while the wheels of progress turn in the background. – Kuba hasn't forgotten Monica Apr 29 '22 at 04:34

7 Answers7

42

There's a technique called a charge pump with which you can make a voltage doubler, but that will only give you 3V from a 1.5V cell, and even less from the 1.2V cell. I'm still mentioning it because several microcontrollers these days will work with voltages down to 2V. A charge pump can only supply limited current, enough to power the microcontroller, but extra power devices like motors or relays are out. The voltage will also drop under load. So not ideal. The LM2660 is a switched capacitor charge pump.

The better solution is a switching regulator. These exist in two major topologies: "buck" to go from higher to lower voltage, and "boost" to go from lower voltage to higher. So you want a boost regulator. Major manufacturers include Linear Technologies (more expensive) and National Semiconductor (recently acquired by Texas Instruments). The LM2623 can operate on input voltages as low as 0.8V.

About current and battery life. I'll assume you're working with 1.5V batteries. The ones here on my table are rated for 2300mAh, so let's use that value. Also let's say your microcontroller plus extras need 100mA at 3.3V. That's 330mW. If the switcher is 85% efficient that means it draws 330mW/0.85 = 390mW from the battery. That's at 1.5V, so you'll draw 260mA from the battery. The battery is rated at 2300mAh, then your device can run for 2300mAh/260mA = 9 hour on one charge.
If you plan to load the battery rather heavily, I would remain below 2300mA, which will drain it in 1 hour.

Ed Peguillan III
  • 383
  • 1
  • 13
stevenvh
  • 145,832
  • 21
  • 457
  • 668
  • 2
    Another topology to consider for some applications is the flyback converter. Generally flyback converters are used to convert from one polarity to another, but if the power source is 'floating' (as would be the case with batteries) they have the advantage that one can use the same transistors regardless of whether the input voltage is higher or lower than the desired output. One disadvantage is that all of the energy has to be handled by the coil. By comparison, if converting from 2 volts to 3 volts, only 1/3 of the energy would have to be handled by the coil. – supercat Nov 04 '11 at 16:55
  • Thanks @stevenvh, for a very comprehensive answer, with options. You've mentioned 2300mAh... are these the Duracell, Energizer kinds ? I am finding it hard to figure out the mAh rating of regular drugstore (non long-life kind) Alkaline batteries. – bdutta74 Nov 05 '11 at 10:11
  • @supercat, thanks for suggesting the option. Need to read up some more on the flyback converter option. – bdutta74 Nov 05 '11 at 10:12
  • @icarus74 - The 2300mAh is a Memorex NiMH AA rechargeable. I also have a pack of Duracell Plus Alkaline AAs (MN1500), but those don't have capacity info. – stevenvh Nov 05 '11 at 10:54
  • hmm. Alkaline battery discharge curves / full data-sheets are something I've never managed to find for the drug-store AA cells. I did find this generic Magnesium Alkaline dry-cell whitepaper, which gives some good information. – bdutta74 Nov 07 '11 at 19:21
24

To make a higher power voltage from a battery like that takes a particular type of switching power supply called a "boost converter". This uses a inductor to make spurts of higher voltage. The concept is the same how a hammer makes spurts of much higher pressure than your arm can deliver to the nail directly.

There are chips out there that integrate much of this. Linear Technologies, ST Micro, TI, and various others make such chips. Some of the offerings from Microchip are quite nice within a narrow voltage range as you have.

Making higher voltage is OK, but these chips are still limited to the basic laws of physics. They can't provide more power out than in. Since power is voltage times current, the output current must go down as the voltage goes up. Just like with the hammer, your arm has to put in much more motion than is imparted to the nail in return for higher force out. Of course there will be some loss too. Anything over 90% is quite good. Let's say for purpose of example that your boost switcher is 80% efficient and it is making 3.3V at 100mA out from 1.3V in. 3.3V * 100mA = 330mW. Accounting for the loss in the switcher, 330mW / 80% = 413mW in. 413mW / 1.3V = 317mA, which is the current that will be drawn from the battery.

In this example, the battery current is 317mA, which is within range of what a AA type can sustain for a while. To get some idea how long the battery will last, you have to look at the battery capacity. This is expressed in current*time, like mA-hours. Let's say your AA battery has a capacity of 2 A-h. At first approximation, 2 A-h / 317 mA = 6.3 hours run time. However, there are a lot of things that mess up this basic analisys. For one thing, the current won't be 317mA over the whole discharge life of the battery. As the battery voltage gets lower, the switching power supply will draw more current. Temperature also greatly effects battery capacity. If this is meant to run outdoors in a cold environment, you might only get 1/2 or less of the rated battery capacity. The current itself effects capacity too. 300mA for a AA is probably not to the point where it degrades capacity significantly, but 1A certainly would be. You might get 2.0 A-h at 300mA, but only 1.6 A-h at 800mA. I'm making up numbers. These are probably not totally ridiculous for most AA batteries, but you really have to look at the battery datasheet yourself.

Olin Lathrop
  • 313,258
  • 36
  • 434
  • 925
  • 1
    Thank you @Olin. Have upvoted, and I wish I could accept 2 answers. Your explanation is detailed and clear, and between Steven & your answers I learnt a lot. I just picked the answer order to be fair. – bdutta74 Nov 05 '11 at 10:06
11

Answers given will either not work in the real world versions of what you describe or are far from lowest cost.

Steven's LM2623 datasheet is a reasonable choice and will start on 1.1V and run on 0.9V but the IC costs about 60 cents.

If you genuinely want lowest cost then a properly engineered version of the Joule Thief is a good candidate. I use that name as it will lead you to many many variants but the original form is not very efficient. However, once you have the idea you can look at the options and choose one.

The "Joule Thief" is a one transistor self oscillating boost converter using an inductor main winding plus an inductor feedback winding. For DIY use you could build one for free from almost any modern scrapped electronic device or if buying new or surplus parts could build one with 10 to 20 cents of parts.

Here is a good example of a DIY Joule Thief page

The composite image below is made of 3 images from the above page:

enter image description here

Others - You can build boost converters with one transistor and two separate inductors - advantage is no need for two windings. And The classic Colpitts oscillator uses an untapped inductor.
A number here and


Other versions:

Good

A few zillion others


Wikipedia:

enter image description here


Added:

The basic Joule thief is not a marvellous design. It's outstanding feature is that it does work in many cases, thereby introducing energy conversions, SMPS, boost converters and more to many relatively inexperienced and uneducated electronics dabblers.

Various thoughts on regulated versions can be found by looking throiugh this collection (YMWV).

I stumbled upon a few prior stack exchange Joule Thief answers that seem to have some relevance. Searching for "Joule Thief" on this site will turn up a few more.

How can I calculate a Joule Thief

alternative fix to: How can I calculate a Joule Thief

Both December 2012


Various one cell to LED drivers here

Russell McMahon
  • 150,303
  • 18
  • 213
  • 391
  • Thanks Russell. I really like this true-blue DIY approach. Got a few questions though, will post each as a comment here, and hope taht you could answer. – bdutta74 Jun 06 '13 at 05:01
  • In the tutorials I didn't find any explanation about the ratio of turns, number of turns for the inductor main + feedback windings. Do the no. of turns have to be same for main & feedback ?
  • – bdutta74 Jun 06 '13 at 05:02
  • Is there a way to determine the voltage that the input is boosted to, via the number of turns ? Or number of turns only determine the amount of current that could be drawn ?
  • – bdutta74 Jun 06 '13 at 05:03
  • Should I assume that the boosted output is unregulated, and the boost is a nearly constant factor, applied to the input voltage ?
  • – bdutta74 Jun 06 '13 at 05:04