Mihai_F
Established
- Joined
- Oct 11, 2021
- Messages
- 234
Hello community, i present here my project that i built 3 years ago, not in its final form yet. It is a Lithium battery Charger with "active" balance, so here it is.
First the requirements:
1. Operate at 220-230Vac outlet 16A limited
2. Charge 22s LiPo (92.4V)
3. Charging current 32A max (12A at first)
4. Cell Balance function that balances from charge start to finish continuously, Balance current 1A max
5. Batt. temperature monitoring
6. Customizable charge parameters, like nr. of cells, voltage, current
7. Portable and compact
8. Based on AVR 8bit uC (when the design started 4years ago), now not a limiting factor anymore
The initial design (for learning) was to use a 1Kw transformer and rectifier to get 120Vdc (at first), as a supply, then make a strong Buck converter to be able to variate the output voltage for Constant Voltage and Constant Current modes. So i started with a big transformer from microwave oven, witch i rewinded to output 88Vac at first, the difficult part was finding out how much voltage over the max 22s 92,4V was needed to achieve charging 12A, at first 120Vdc from supply was not enough, then i increased it to 130Vdc witch could drive 12A in the batt at full charge. Then the buck design, inductor size for 12A, mosfets(IRFP260) and diodes (MUR860) 2 in parallel, highside gate drive (IR2110), hall current sensor(ACS714-30A).
Next part was figuring a way to measure all 22 cells individually, with minimal error possible/acceptable. So i started looking at some balance chargers how do they do it, and i found that a cost effective and also accurate enough is to use multiplexers (HC4067) and good op amp(OPA4196) to measure differentially across 2 cells at a time, now one issue is the cell voltages need to be scaled down (voltage divider, 0.1% tolerance res.), all with the same ratio, so that the input at the mux-es is no higher than its supply (9v), and then scaled back with the op amp gain. The next part was the mux setting and sampling time of the uC ADC, so the conversion for cell voltages was put between 2 other different conversions and the mux setting was done in previous of cell conversion in order to have time to set and settle, this works great and is also simple to calibrate since the only considerable variable is the cell voltage divider tolerance.
Next part is cell balancing circuit, basically is a resistive load (0612 3R 4pc. in parallel) switched with a transistor between each 2 cells, and that array activated with shift registers (HC595).
Some details on de SW side, charger works in Constant Current mode as long as each cell is below 4,2V , pack voltage is under the selected pack xxSeries, and after those thresholds are reached it switches in to Constant Voltage mode, the balance works by comparing each cell voltage to the average voltage of all the cells and all cells that are higher then average get balanced continuously from the moment the pack is connected to the charger to the point the charge is stopped.
So far it works great on 10S 7,5Ah , 16S6P 12Ah, 16S7P 17Ah and 22s12p 60Ah Lithium batteries, with the mention that the higher the capacity the longer the balance time, because of 1A balance current. And so far the maximum charging power is 1,1Kw maximum.
This is a brief description of the charger, i'l explain each module in greater detail with schematic in the next posts, and the further development of this charger to achieve 3Kw.
Here as some photos of the boards and the charger box.



First the requirements:
1. Operate at 220-230Vac outlet 16A limited
2. Charge 22s LiPo (92.4V)
3. Charging current 32A max (12A at first)
4. Cell Balance function that balances from charge start to finish continuously, Balance current 1A max
5. Batt. temperature monitoring
6. Customizable charge parameters, like nr. of cells, voltage, current
7. Portable and compact
8. Based on AVR 8bit uC (when the design started 4years ago), now not a limiting factor anymore
The initial design (for learning) was to use a 1Kw transformer and rectifier to get 120Vdc (at first), as a supply, then make a strong Buck converter to be able to variate the output voltage for Constant Voltage and Constant Current modes. So i started with a big transformer from microwave oven, witch i rewinded to output 88Vac at first, the difficult part was finding out how much voltage over the max 22s 92,4V was needed to achieve charging 12A, at first 120Vdc from supply was not enough, then i increased it to 130Vdc witch could drive 12A in the batt at full charge. Then the buck design, inductor size for 12A, mosfets(IRFP260) and diodes (MUR860) 2 in parallel, highside gate drive (IR2110), hall current sensor(ACS714-30A).
Next part was figuring a way to measure all 22 cells individually, with minimal error possible/acceptable. So i started looking at some balance chargers how do they do it, and i found that a cost effective and also accurate enough is to use multiplexers (HC4067) and good op amp(OPA4196) to measure differentially across 2 cells at a time, now one issue is the cell voltages need to be scaled down (voltage divider, 0.1% tolerance res.), all with the same ratio, so that the input at the mux-es is no higher than its supply (9v), and then scaled back with the op amp gain. The next part was the mux setting and sampling time of the uC ADC, so the conversion for cell voltages was put between 2 other different conversions and the mux setting was done in previous of cell conversion in order to have time to set and settle, this works great and is also simple to calibrate since the only considerable variable is the cell voltage divider tolerance.
Next part is cell balancing circuit, basically is a resistive load (0612 3R 4pc. in parallel) switched with a transistor between each 2 cells, and that array activated with shift registers (HC595).
Some details on de SW side, charger works in Constant Current mode as long as each cell is below 4,2V , pack voltage is under the selected pack xxSeries, and after those thresholds are reached it switches in to Constant Voltage mode, the balance works by comparing each cell voltage to the average voltage of all the cells and all cells that are higher then average get balanced continuously from the moment the pack is connected to the charger to the point the charge is stopped.
So far it works great on 10S 7,5Ah , 16S6P 12Ah, 16S7P 17Ah and 22s12p 60Ah Lithium batteries, with the mention that the higher the capacity the longer the balance time, because of 1A balance current. And so far the maximum charging power is 1,1Kw maximum.
This is a brief description of the charger, i'l explain each module in greater detail with schematic in the next posts, and the further development of this charger to achieve 3Kw.
Here as some photos of the boards and the charger box.


















































