tomw said:
Could someone please direct me to the location in this thread that discusses how the charger current is controlled? Does this require a certain charger type with the proper input? I don't see the mechanism for interfacing between the charger and bms using HVC and PWM.
Thanks,
Tom
All you need is either a standard CC/CV charger, or a power supply that has a constant current limit. Many "lab"-type supplies have adjustable voltages and adjustable current, but can be expensive if bought new. You can usually find surplus units on ebay, though, that can be reasonably priced. Most of these can be pretty bulky.
One option many of us are using these days are inexpensive Meanwell power supplies sold by places like Sure-Electronics, in Hong Kong. The one I've been using is the S-350 model, which comes in a variety of voltage and current combos, but are rated for 350W. For my 24s LiPo setup I use four S-350-24 units in series. Each of these are 24V and 14A. There is a pot on the front that lets you adjust the voltage from about 18-27V. I have all of them set to 24.9V, so the total output voltage is 99.6V, or about 4.15V per cell for my 24s3p LiPo pack. The only problem with these Meanwell supplies is that although they do have constant current limiting, they have it set to 130% of the rated output. For the S-350-24, the rated current output is 14.8A, but the CC limit is set to about 20A. That's fine for applications where these might be used in stereo equipment that might have surge currents that spike up to 20A, but for use a charger, the limit needs to be lower. It turns out this is very easy to do, though, by simply tacking on an extra resistor inside, in the current limit section. There's a whole thread on this here:
http://endless-sphere.com/forums/viewtopic.php?f=14&t=4125.
In any case, whether you use a supply like this, or "regular" charger with a CC/CV profile, what you need is to have the voltage set to the number of cells x the max charge voltage per cell for the type of cells you are using. For LiFePO4 cells, 3.65V is the recommended "full" charge voltage and for LiPos it is 4.20V. The thinking these days is that it is better to undercharge the cells slightly, to increase longevity, so I use 3.60V for LiFePO4 and 4.15V for LiPo. For a "typical" 16-cell LiFePO4 48V pack, 16 x 3.60V is 57.6V. For a 12s LiPo-based pack, 12 x 4.15V is 49.8V.
In the BMS, the shunts are set to turn on at these same set points (3.60V for LiFePO4, or 4.15V for LiPo...). The HVC signal is set for just slightly above that (3.605V/4.155V...). When the cell's voltage hits the HVC point, the opto output for that channel is turned on. The control section looks at all of the opto outputs, which are all logically "OR'd" together. It uses this signal to control the duty cycle of a PWM circuit controlling a FET that interrupts the charge current. When the FET is off, the cell voltages will drop slightly, which turns off the optos, The cycle repeats at a fast rate and the net result is the current is limited to whatever it needs to be to keep all the cell voltages from going over the HVC set point. At some point, the high cells are going to reach the point that they just can't accept any more current with the voltage being allowed to go higher, so if the shunts were not there, the current would drop to zero. Since all the current has to go through all the cells, the cells that aren't full yet, would not get anymore current. What the shunts do is bypass current so that the cells that aren't quite full yet can continue to charge until they are full as well. The amount of current that the shunts can bypass is limited by the shunt resistor used. Typically, we've been using 6.8 ohm 5W shunt resistors, which limit the current to about 1/2A. With LiPos, I've been using 6.2 ohm 5W shunt resistors, which allow about 700mA of shunt current, but it does generate a fair amount of heat. With this version of the BMS, shunt currents can be higher, up to about 2A, which is why we've added a control for a fan.
The PWM-type control technique for limiting the current is basically what the charger/supply uses to limit current as well. Controllers do the same thing to limit battery current.
-- Gary