I'm working on making a microprocessor controlled battery charger. I need the output to be able to go from 0V to ~24VDC at around 5A. I'm wanting to use a switching regulator for efficiency. The best idea I have come up with so far is to use a D/A (or filtered PWM) for a reference voltage and an op-amp comparitor circuit with hysteresis. The feedback voltage would be scaled down with a voltage divider. If the output voltage was below the reference voltage, the output transistor would turn on, when the output gets above the reference voltage, the transistor is turned off. An inductor and a fast rectifier used in buck mode would be used in the output.
Any better, simpler, cheaper ideas? I have looked at switching regulators and most only go down to ~1.2V and I don't know an easy way to control them from a microprocessor. I have looked at battery charging chips from many companies but they don't even scratch the surface for what I want to be able to do with this programmable multi-chemistry charger, cycler, battery managment and maintenance system.
The end product I'm trying to come up with will charge, discharge, measure capacity, of 1-12 Cells NiCd, NimH, 1-6 cell Lead Acid or gell Cell, 1-4 Cell Li-ion or Li-Poly. It will use memory and a real time clock to determine when the battery packs should be tested or replaced (based on age/number of recharges, etc.). And, it will have at least 4 ports, each independently programmable.
Thanks!