Electronic – Building a USB charger for camping

batterieschargerusb

I was looking into building a battery powered USB charger for camping. It occurred to me that car chargers are pre-built and run off 12 V. If I made a battery pack out of 8x 1.5 V batteries in series and wired them to the electronics in a car USB charger would that work as a simple cheap and effective solution?

Also can I calculate the charges from the pack by summing the mAh of the 8 batteries and dividing by the mAh of the unit to be charged or is the efficiency of the device non negligible?

Best Answer

You can use existing commercial 12V to USB (= 12V to 5V effectively) converters or ANY "X" Volt to USB converter already available.

Some 12v-USB units use a linear regulator so have efficiency of 5V/12V ~= 40% :-(.
Many use some form of switching regulator.
These are typically around 80 - 85% efficient but more or less is also possible. I have seen some which use the venerable MC34063, and there are many other choices.
MC34063 datasheet

Energy wasted:

At 80% you waste 20% of the energy.
At 40% see above) you waste 60%.
So a not overly efficient smps wastes 3 x less energy than a linear regulator.

Power input

For 1 unit of power output (say 1 Watt)
A 40% efficient unit needs 1W/0.40 = 2.5 Watts.
An 80% efficient unit needs 1W/0.8 = 1.25 W.
So a linear regulator needs 2.5 / 1.25 = twice the wattage

Note that power needed and energy wasted are related but not in the same ratio between linear and smps supplies.

If you want to try do-it-yourself the venerable MC34063 is not as efficient as some modern ICs but is reasonably close and is cheap and very flexible.
DIY MC34063 examples at end.

Lead acid battery: If you have complete control over the design then a good choice can be a 6V sealed lad acid gel cell. These give good energy per $ and can last quite well if treated well.
Even with a linear regulator a 6V battery will give and efficiency of 5V/6V ~= 83%- so you can do better with a smps but not vastly so in many cases.
eg a 90% efficient smps uses 83/90 =!~ 8% less Wattage than a linear supply from 6V. As voltage drops under 6V the linear regulator efficiency increases.
To use a 6V battery for 5V output you need a low low low dropout regulator. This can be achieved with a P Channel MOSFET and one opamp section.

Lead Acid discharge voltage: The curves below are indicative only of voltages expected from a lead acid battery. These were for one brand of large deep discharge cells and small gel cells will be different BUT it gives an idea of what can be expected. If you use a 6V 7Ah battery then if the USB output is 1A (= charge a 1000 mAh cellphone battery at max allowed rate. then the peak discharge rate of 1A = 1A/7 Ah = C/7.
End point voltage for a 6V battery would be ~= 5.25V = ample.
If you charge EyeFones or EyePadz with battery capacities of about 1600 mAh or even 3000 mAh then you may ant 1.6A and 3A peak. Even 3A is 3A/7Ah ~= C/2.5.
At C/2.5 battery voltage would be about 10.5V at about 70% of capacity expended - still very useful and it helps lifetime to not discharge deeply.
At 3Ah from a 7Ah battery you could notionally charge 2 x 3Ah batteries. Or maybe 5 or 6 x 1000 mAh cellphone batteries.

For lead acid, battery brand matters. Yuasa are excellent and actually have several grades aimed at different uses and price ranges and good data is available.
Panasonic are good. Just about anything made by Panasonic is good :-) (I have zero involvement with them). Some others are good but cheap batteries may be very bad. Or not.

enter image description here


MC34063: Datasheet & application guide {again}

Example below is 25 V in, 5V 500 mA out. Would take 12V in as is except halve Rsc and ensure inductor suitable core size. Efficiency of ~84% may be slightly lower at 12V in.
Count the external parts!.
While there may be a very few more than in some minimalist designs the same IC can do Boost, buck boost and anything else wanted.

PCB layouts - see data sheet for boost and inverting circuits.

enter image description here

enter image description here