stepping voltage up or down and its toll on batteries
rwgast_logicdesign
Posts: 1,464
Ok so ive been 5 steps ahead the whole time ive been building this robot, except for making a desisicion on how to power the thing and its at the point where i need batteries, having 20 ft of a cat5 twisted pair connected to an adjustable supply is lame.
now im pretty sure im going to be using nicad or nimh, probably nimh since the double a cells are 2000mah. after finding out my bot can hall around 15lbs im not to worried about how many cells ill be using with in reason.
i also still need to decide if im going to be running a 12v or 18v supply to my motors, but for the sake of this thread lets go with 18v. Now to male 18v with nimh aa cells im going to need to run 15 in series, so 2000mah @ 18v isnt to bad. I had originally planned on just running the max voltage i need then using buck regulators to power all my logic. a few days ago i started thinking i may want to run a boost regulator to make sure my mmotors always get a constant voltage even when the batteries drain.
so today i was on mdfly and saw a nice little boost unit that is 5-24v adjustable for 5 bucks. this got me thinking if im gonna have to load up 30nimh to get 4000mah at 18v maybe it would be better to just use 15 batteries in a 6v 6000mah configuration then boost from 6v to 18v for the motors. but i dont really understand how boosting works or what kind of toll it takes on the power source. I guess what im wondering is would it be better to use more series batteries and step down or use les batteries but in parallel and step up? how fast do boost regulators eat up your amp hours?
now im pretty sure im going to be using nicad or nimh, probably nimh since the double a cells are 2000mah. after finding out my bot can hall around 15lbs im not to worried about how many cells ill be using with in reason.
i also still need to decide if im going to be running a 12v or 18v supply to my motors, but for the sake of this thread lets go with 18v. Now to male 18v with nimh aa cells im going to need to run 15 in series, so 2000mah @ 18v isnt to bad. I had originally planned on just running the max voltage i need then using buck regulators to power all my logic. a few days ago i started thinking i may want to run a boost regulator to make sure my mmotors always get a constant voltage even when the batteries drain.
so today i was on mdfly and saw a nice little boost unit that is 5-24v adjustable for 5 bucks. this got me thinking if im gonna have to load up 30nimh to get 4000mah at 18v maybe it would be better to just use 15 batteries in a 6v 6000mah configuration then boost from 6v to 18v for the motors. but i dont really understand how boosting works or what kind of toll it takes on the power source. I guess what im wondering is would it be better to use more series batteries and step down or use les batteries but in parallel and step up? how fast do boost regulators eat up your amp hours?
Comments
The linear regulators just burn a lot to get the voltage regulated, but the other little switcher devices are more efficient. Still if a linear regulator wastes 30%, I still suspect the other switching devices to waste 10% (read the PDFs). After all, conversion is always wasteful.
Batteries always seem to come in sizes that don't quite fit the 5v or 3.3v logic - but you do have a bit of lee way. 10% tops on the high side and whatever the brownout voltage is on the low side.
For instance 5 volt logic can live between 5.5V and 4.2 or .3 volts and still operate. Regulation just makes a neater package. 3.3v logic will go to 3.6V on the high, maybe 2.7V on the low and this fits well with unregulated 3.0 Lithium cells (not 3.6 or 3.7v ones). And some 3.3V logic is 5V tolerant and even easier to exploit is battery direct power.
Properly designed and separate battery packs for the motors and the logic will work out best.
The other side of this is whatever you are driving. Direct logic driven power MOSfets or superBeta transistors are the best, but harder to come by. If you use a transistor to drive something, there is about 0.7 volts dropped, maybe more - like 1.0v actual. So a 6volt battery is really sending 5.3V to 5.0V to the relay. And batteries are never quite what they are labeled. They can range a bit higher and much lower. The think is that coils in relays and motors are much more tolerant of varied voltages, so you might be able to skip the regulations of those if you take measurements of the actual in use voltage provided after the voltage drops of the control circuit. Avoiding regulation wherever logic is not involved is an excellent way to eliminate a lot of wasted power.
Another thing is to revise all your logic to use much less power. Just because the Propeller can output 25ma per pin, doesn't mean that you have to use that much. insert currect limiting resistors and use higher values in pull up resistors. Often a transistor will saturate at 2-3ma, and the other side of its circuit can be unregulated. I use 100ma regulators in some contexts, 500ma regulators in others, and have the real work done by unregulated coils and motors.
So stop thinking about a particular voltage and think in doable ranges. Find out what batteries really put out when fully charged, not what the label nominally says. Someone recently mentioned that real micro-power designs don't use any regulation at all --- just a lot of real world investigation and planning.
Also a boost converter could happily drain your batteries well below the minimum recommended charge state - this usually means battery recharge cycle life will drop catastrophically - you don't want to do this. When you have direct battery supply you'll tend notice the signs of battery discharge early as the peak power fades.
Best practice (a lot of motor controllers do this) is to monitor battery voltage and switch to reduced power if it drops below a soft-limit, then cut-out on a hard voltage limit. If you measure current as well you can both detect over-current and compensate the measurement of "true" battery voltage for internal-resistance losses - otherwise you can't tell over-discharge from temporary high-load voltage drop.
When selecting your batteries you do need to make sure they can handle the current without excessive internal-resistance losses or over-stress to the batteries themselves - capacity by itself isn't enough information to choose.
So now i guess i need to figure out the best 18v power source i can use.
Yes, you'll have to supply over 18V to charge the battery pack. Figure on at least 24V.
Most 9V rechargable batteries are not anywhere near 9V. They typically have 6 NiMH cells in series internally and supply around 7.2V (6 x 1.2V). If you want a true 9V power pack, you need 7 or 8 NiMH cells in series to yield about 8.4V (7 x 1.2V) to 9.6V (8 x 1.2V).
While I have never used my cordless drill battery in a robot (not really into that) I have used it to extend the length of time I can use my laptop when AC power is not available. It works very well for that.
The NiMH PP3's I have are all 8.4V (ie 7 cell).
Whether a battery chemistry is happy to run in parallel depends on the discharge voltage curve - if the plateau is very flat the cells can't automatically balance and its not recommended. If the voltage plateau has a definite slope (like LiPo) then parallel is OK - certainly RC LiPo packs and LiFePO4 cell banks are available in series-parallel combination routinely. Lead-acid batteries have a very flat discharge curve and parallel is not recommended though.
High charge and discharge rates in parallel will act to balance the current because the voltage drops across the internal resistance of the cells - but only while the cell's internal resistances are well matched - older packs will balance less well.
And full charge requires a higher voltage than the rated output voltage, but NOT too high. So you have BOTH, regulate maximum voltage and regulate the charge rate. At least the current required is not too much for a wallwart in most cases. So this is very much a good DIY project.
http://en.wikipedia.org/wiki/Nickel-metal_hydride_battery
In addition to avoiding overcharging on the charger, you have to consider over-discharging when in use. That means a low voltage cut off of some sort.
this comes from the datasheets of major brand NiMh cells ..
Attachment not found.
Please see page 8 section 1.6
Every batt app sheet is specing this .....
for a 10 AH pack this works out to 300 mA not the 1/10c of 1 amp . to 500 ma and if my math is right at 7 AM .5 Outta 10 is 1/20th . there for 20/C cause 1/20 of 10 AH is .5 AH
A proper NiMH charger is a set to do Delta V and Delta T every AA NiMH charger I have popped open had a thermistor that some how contacted the batt.
Off Wiki
To Spec 1/10 C as a "dumb charge" with No feeback or timer Or controls .. may be still safe-ish but it is going to destroy the cells in a much faster fashon then a Real charger .........
This is Poor Engineering advice guys Serious !
On paper you can Do 1/10 C IF Mr end user plays the part of the TImer ..... but would you Really want to Sell or make a product that can go BOOM if the end user fails to do a action ........ can you say legal nightmare......
1/20C is the fastest you can charge with no feed back ... end of story .. and with that you are still not properly useing NiMh the correct way..
Peter..
I needed to get a better charge for me to have enough juce to get to clases so I used a lab PSU a monster of a unit and did 1A Limit at 30V
I came back in 4 Hours and the lab was . Well Yea the packs were oozing hot glue and the smell was badd! a few poped cells .. I ended up just burriung the bike and its batt as one t in the snow out side I figure if it goes cato It will be in a 3 foot snow bank .
I ended up with a post mortim of the charger never went over 1A . the CC mode was still OK . It was Thermal runaway.
there goes $200 in NiMH ...... I ended up on SLA AGMs and that was that .
a simple thing is a crowbar circuit to lock out a hot pack . this way at least one cant just BLow a pack up !
a small opamp and a Mosfet would do welll.
back on topic-ish .
Switching regs are SOP here . unless I cant afford any noise and I need to have a very smooth output , U have adpoted SMPS as the way to go . no more huge heat sinks . the lower loses are a huge plus in my book .
Esp when a batt is involved and you need to milk every mAh out of it .
the Any Volt Micro is a usefull pre made switcher . not cheap ! but works wonders .
I have a student here at OIT whom is doing a Ardiono conmtrolled bike light.
He is :
taking a 6V Alt for a normal bike light .
a charge Reg .
then tons of relays Cause He wants to use the MCU to charge eatch Li Po cell on its own . . then that feeds some LEDs at 3.X volts.....
the relays can series and parallal the cells to slect and charge them one at a time and the MCU keeps track of them
( I would use a PICAXE for such a mundane use . )
the class he is in is for controll systems so he has to use the MCU some how.
...
In the Real world the best way in his case is to take the Bike gen and get the thing set up to take a 10 ish V out Gen
Buck it to 5V ( SMPS ) ( has wide input specs ) use the 5V on a proper LiPo charge chip // then have that run the LEDs
Peter
Well, I like NiMH because.........
They come in an AA form factor AND you can buy a charger with them that does it all quite nicely.
If you are using DIY chargers, I keep suggesting a thermal cutout on anything. Using a DS1620 chip (sold by Parallax and can be programed with a BasicStamp) that senses when temperatures are over 35 degrees C and shuts off the AC Mains via a solid state relay will eliminate a lot of hazards.
Charging at 1/20 implies that at 150% of charge, you have to wait 30 hours to go from empty to full.
Trickle charging implies that you are going to leave the batteries unattended and connected to AC Mains. Is that wise without a thermal cut out?
I have had Lead Acid gel cells melt and warp due to charger problems and no thermal cut out. I have had new Lithium Ion packs swell up like a pregnant guppy on their second charge that may have been a fire ball in another hour of charging. All the hazards have one indicator in common as early warning --- excessive heat.
Admittedly NiCds do offer some greater simplicity and are more tolerant of abuse. But NiMH are getting cell densities that are reaching very close to Lithium Ions and still have the AA form factor and consumer charger. There are a lot of good reasons to consider them in battery weight is a factor.
Can we say 1/15AH for conservative NiMH? It is a figure no one mentions, but it is in the middle.
http://www.maximintegrated.com/datasheet/index.mvp/id/1666
it says it can do 16 cells in series i will be using 18. the thing that confuses me is i think it only outputs 100ma and 1/20 of 2450ma is 122.5. I also have 3 the 1620 chips, ive never used them so im not real sure how to physically mount it to the batteries. im assuming the ic needs to touch the battery pack.. if so ill be using 3 rows of 5 stacked togather, do i only need one chip or should i monitor both sides of the pack using two chips?
But I have notices that an awful lot of this battery charging chips are NOT recommended for new designs and nothing new is available. It seems that the chips didn't quite work as expected. The fact that 16 or 18 cells are in series makes for a lot of variablity that the logic cannot control.
In "theory" all the batteries would be perfectly matched by the manufacturer to assure a balanced charge, but some of the stuff I have read about lithium cells is that they are not easy to match. That may be true of just about any high-tech battery.
Earlier this year I read tons of stuff on how to ideally balance charges in 12 cells and above. It just is not that easy. I wonder how the Tesla auto does it. I think they use NiMH. I think I have read that they actually provide liquid cooling as part of their balancing system.
Yes, the DS1620 would need physical contact with the battery or the battery pack. With 18 batteries you would either need a lot of them or some sort of aluminum heat sink that touches all the batteries.
Of course, you could just get 18 10K thermistors and use 18 ADC inputs to track the temperature of each cell during charging individually. That would be better. I just use the DS1620 with commercial battery packs. And the temperature tigger is quite conservative.
This is a very ambitious DIY project.
I had also thought about using a heat sink or a thin piece of metal but that might be very accurate and does not account for the middle cells, would the a super high quality 15 thermoresistor or even a 1620 be needed with one of these charge ICs, I thought the point was they managed everything by reading voltage and current. Unfourtantly Im probably going to have to stack three rows of batteries for anything manageable. The reason I asked if 1amp was output on my wart was ok is becuase when I look at consumer nimh chargers they have a 1.8amp output mode for packs over 1500 or 2000mah not sure which but you get the point.
So, this is a chip. It cannot disappate much heat in such a tiny package 100ma and many volts is about right.
Ok so do you think this chip will work or is this not the best solution?
The simple fact is that battery charging is about controlling the peak Voltage and the rate of charge in Amps. Both are analog control and the digital logic is an add on feature.
The best I could figure, it you just can't make a chip to do it all and to do it all well.
That PDF doesn't make much sense to me as it is limited to about 12V at 100ma. That isn't going to charge 16 cells at 1/4C.
If you do find a chip, make sure if is one that write a PDF that makes clear sense.
The think about charging in series is the cell at the highest end of the chain is likely to get worked a lot harder than the others. When a sudden demand for voltage is created, it get most of the demand, the next one is a bit less worked and the resistance in that first cell protects and on down the line.
And when you go to charge, it is again pushing everything along and most likely gets more wear. More wear is more heat, so it may run hotter and fail sooner. Most of these newer batteries were developed for low voltage arrangements, but now with want high voltages and upset them as they are more fragile than good old lead acid.
Peter seems to thing NiCd tolerate more abuse as well, but I am not sure.