LiPo Balancer element
Description of the LiPo balancer element schematic.
The charge and discharge of the pack of rechargeable batteries in series (every chemistry) is a repetitive process that accentuate the differences between the cells. In practice the cells with lower capacity will deeply discharge than the higher ones, and during the charge the higher capacity cells will be overcharged. For the NiMh and NiCd cells is important to equalize each cell in order to prevent an eccessive difference of charge stored: for the LiPo cells is mandatory a balancer in order to avoid an overvoltage of some cells during the charge. In fact the LiPo cells of different capacity will discharge in different way and will reach a "discharge voltage" quite different: if charged in series the total voltage can be under a fixed (safe) threshold when a single cell voltage rises over the threshold with potential destructive effect. The LiPo balancer will limitate this voltage under a safe threshold bypassing a variable amount of charge current.
LiPo balancer basics
The LiPo balancer is composed by an "element" to be put in parallel to each LiPo cell or parallel of cells. You need a number of LiPo balancer elements equal to the number that preceed the "S" in the LiPo batteries terminology: for 3S2P pack (series of 3 sub-packs composed by a parallel of 2 cells) you need 3 LiPo balancer elements.
The LiPo balancer cell acts like a big and very accurate zener diode; when the cell voltage is under a threshold fixed by the user the system is in "idle state" and watch only for the voltage with a equivalent resistance of some KOhm and a negligible current shunt. When the voltage reaches the threshold the balancer element will start to shunt current from the cell with an internal power resistor: the amount of current sunk by the element is proportional to the cell overvoltage with respect the user "safe" threshold. If the voltage reaches a second (destructive) threshold the element communicate with a separate line to the charge the immediate charge stop in order to avoid any severe failure (at this point, from the point of view of the balancer element, the voltage is out of control). The last element is a power thermal control that avoid the over-temperature for the balancer element and prevent any over heating failure.
LiPo balancer schematic description
The possible modification to the schematic and components are below summarized:
LiPo Balancer base
Description of the LiPo Balancer base schematic.
The ALARM signal coming from the LiPo balancer element is in a "AND" gate with the others using the paralleling of the optocouplers output transitors. When at least on of these transistor is saturated, the gate of the power switch transistor Q1 is forced at 0.4V stopping the current flow. The zener diode prevent the gate overvoltage when the charger is used for high number of cells (above 20V).
In the Universal Charger (like in the Advanced) the stop of the current flow will give to the user the "Battery Disconnected" message.
Using the LiPo Balancer system the user can also recharge safely the LiPo batteries with a constant current charger (like the Advanced Charger) with some limitations. The charge process should follow these rules:
In this way the Advanced charger will deliver a constant current to the pack until the LiPo balancer will stops the process because at least one cell voltage will reach the ALARM threshold. In this way (without the constant voltage charge phase) the user can store in the cells about the 70-80% of the total capacity.
The PCB for the LiPo balancer base is easily adaptable to the number of the balancer element that the user uses: the silkscreen ha predefinet break lines for different number of cells.
Building the balancer
Tip and tricks to easily build the LiPo balancer system.
IMPORTANT: there are two wires that links a junction point between two batteries and the balancer, one for the negative pole of a battery one for the positive pole. The voltage in these wires is the same but the current path for the balancing process is different for the two cells.
LiPo balancer firmware
Description of the LiPo balancer firmware
This section describe in details the firmware for the PIC 12F683. This software is developed in Mikropascal (www.mikroe.com) and this tool can be downloaded for free from this website. The free edition of the software has the only limitation that the produced code must be less than 2K word. The LiPo balancer software is under this threshold and for this can be freely changed and recompiled from everyone.
Voltage sampling, power shunt and LED drive
The main loop for the LiPo balancer firmware has a duration of 100 msec. For this the shunt current is calculated (starting from the battery voltage) 10 times per second. The first part of the loop (first 25 msec time slot) samples (and averages) the battery voltage giving an accurate (millivolt) reading. This value is compared with two threshold: the first one (point of start) is externally trimmed to 4.200V by the user, the second is 40 mV above the first one and sets the alarm point. Under the start threshold the balancer is in idle and do not shunt any current (only the PIC supply and few mA for the voltage partitors), between the two thresholds the shunt is active, and over the alarm threshold the system is shut down and the alarm signal is issued (stop of the charge). The active interval is between 4.200V and 4.250V: these 50mV causes a linear variation in the shunt current from 0 to the maximum value (the maximum value is set by the MOSFET and R7 resistor). The LED stay OFF when the system is in idle state,it will lamp in the active interval from a duty of 1/16 (start of shunt) to 15/16 (maximum shunt) and will stay continuously ON in alarm.
The temperature is sampled with a period of 1 minute for a better reading accuracy. The averaged value is compared with a threshold value of 120-130 celsius degrees on the transistor. If the temperature exceed this point the alarm signal is issued and the LiPo balancer waits for a new power on. If the user want to disable the temperature control it is sufficient to do not mount the transistor 2N2222 on the PCB.
This function is activated when the cell voltage is out of control or when the LiPo balancer is overheated. From this state (the optocoupler transistor is saturated) the program cannot exit and must be restared disconnecting the battery pack.
LiPo Balancer calibration
Description of the calibration process for the LiPo balancer
The calibration of the LiPo balancer is very critical because the measured voltage should be very precise in order to minimize the errors in the cut-off threshold calculation. An error in the voltage measurement could traslate the point of start with a potential destructive problem. For the calibration there is the need of a small and stable voltage regulator capable to give with high accuracy the point of start (4.200V) and to give at least the current for the idle state (10-15mA).
LiPo element calibrator building
The LiPo calibrator built is a very simple circuit based on the LM317, one resistor and one trimmer that can give a voltage from 4 to 4.5V. The trimmering range (around the point of start) should be minimezed in order to have a very good and easy adjustement with a standard multiturn trimmer. If the user has a very precise and stable power supply or another adjustable power supply (capable to be trimmered at 4.200V) it can be used to calibrate the LiPo balancer element. We built also a receptacle that accomodate the LiPo balancer element for a better mechanical stability and more reliable operations, but this accessory is recommended but not necessary for the calibration process.
Calibration process description
The first step is the calibrator voltage adjust (with an accurate multimeter) in order to have a power supply set EXACTLY to 4.200V. Then the power supply will be removed and the LiPo balancer element is connected to the calibrator. When the power is off the trimmer on the balancer should be turned counter-clockwise in order to prevent an unwanted operation start when the power will be applied. Then apply the power supply, re-check the voltage (stable at 4.200V). The LiPo balancer element will turn on the led at the power on, the turn off it to indicate the "idle" state. At this point the second step is to turn VERY slowly the trimmer on the LiPo balancer element until the start to flash for the LED. At this point stop the turning and the balancer should be calibrated. If the user don't stop turning the trimmer, the overall operation must be repeated, removing the power supply and turning the trimmer in a "idle" position.
Battery Chargers >