DIY Modular Cell Grading Machine

Published  October 10, 2024   



Testing lithium-ion cells is critical for ensuring their performance, safety, and longevity, particularly in applications such as electric vehicles, energy storage systems, and portable electronics. As these cells can degrade over time, accurate grading tools are necessary to assess their charging, discharging, and overall capacity characteristics. This DIY modular cell grading tool addresses this need by providing a streamlined and scalable solution for testing multiple lithium-ion cells simultaneously while offering precise control over charging and discharging cycles. The tool’s modularity allows users to grade up to 250 cells in parallel, making it a versatile choice for both small and large-scale testing environments. At the heart of the tool is the STM32 G071KBU3 microcontroller, powered by an ADP7118 3.3V LDO regulator. The tool is designed to detect the voltage of each inserted cell and display it on a two-digit seven-segment display, providing instant feedback. When connected to the companion software, users can initiate a test, charging the cell at a constant current of 1A using the TP4056 IC. Upon reaching full charge, the system will disable the charging circuitry and transition into discharge mode, where the discharge current and voltage are monitored through the high-precision INA236 sensor. This setup ensures accurate tracking of both charging and discharging parameters, essential for detailed cell grading.

Communication between the tool and the PC is managed via the RS485 protocol, utilising the SP485REN transceiver IC. This allows us to connect multiple tools in parallel, with each module being independently controlled by the companion app. The discharge circuit uses an IRF540 MOSFET as a programmable DC load and a current control circuit built around the MCP6486 op-amp, ensuring precise current regulation. The DAC output from the STM32G071 is used for adjusting the discharge current, allowing for highly accurate measurements of cell performance under load conditions. The companion software, written in Processing, provides a user-friendly interface for controlling up to 8 modules, with the flexibility to expand to 250 modules. Users can set parameters such as discharge current and voltage limits for each module independently and start tests with a single button click. The software also includes a feature for graphing the discharge voltage curve, providing valuable insights into the cell’s behaviour over time. Even if the cell is removed, the tool retains the test data, ensuring no loss of critical information. With this tool, users can efficiently grade lithium-ion cells and make informed decisions about their suitability for various applications.

Code File

PCB Gerber File

Value Manufacturer Digikey Part Number Datasheet Link    Quantity
Battery_Cell Keystone Electronics 2449-CS1213AGF160CT-ND  Datasheet 1
10uF Cal-Chip Electronics, Inc 4713-GMC10X5R106M10NTCT-ND  Datasheet 1
2.2uF Samsung Electro-Mechanics 1276-1134-1-ND  Datasheet 1
7pf Samsung Electro-Mechanics 1276-2137-1-ND  Datasheet 2
100nF YAGEO 311-1088-1-ND  Datasheet 4
SDT30B100D1-13 Diodes Incorporated SDT30B100D1-13DICT-ND  Datasheet 1
TP4056 3peak 5503-TPB4056B2X-ES1RCT-ND  Datasheet 1
ADP7118AUJZ-3.3-R7 Analog Devices 505-ADP7118AUJZ-3.3-R7CT-ND  Datasheet 1
INA2336BIDDFR Texas Instruments 296-INA236BIDDFRCT-ND  Datasheet 1
MCP6486T-E-OT Microchip Technology 150-MCP6486  Datasheet 1
SP485REN-L_TR MaxLinear,Inc. 1016-SP485REN-L/TRCT-ND  Datasheet 1
Barrel_Jack_Switch GlobTek,Inc 1939-G-1005B-ND  Datasheet 1
Conn_01x0 JST Sales America 3147-B1911NB--20C005314U1930CT-ND  Datasheet 2
LED Red Harvatek Corporation 3147-B1911USD-20D000114U1930CT-ND  Datasheet 1
LED Blue Harvatek corporation 3147-F1961NB--20C001714U1930-ND  Datasheet 1

S8050
Micro Commercial Co 353-MMS8050-H-TPCT-ND  Datasheet 2
IRF540N Vishay Siliconix IRL540PBF-ND  Datasheet 2
1.3K YAGEO 311-1.3KGRCT-ND  Datasheet 2
10K Stackpole Electronics Inc RMCF0603JT10K0CT-ND  Datasheet 8
NTC 100K Eaton-Electronics Divition 283-NRSE105H3950B1H-ND  Datasheet 1
1k YAGEO 311-1.00KHRCT-ND    Datasheet 15
909R Panasonic Electronic Components P909DBCT-ND    Datasheet 1
207K YAGEO 311-270KHRCT-ND    Datasheet 2
100R
YAGEO

YAG1497CT-ND
 Datasheet 1
2.2k YAGEO
311-2.20KHRCT-ND
 Datasheet 2
.01 5w Vishay Dale 541-WSHP2818R1000FEBCT-ND  Datasheet 3
0R Stackpole Electronics Inc
RMCF0603ZT0R00CT-ND
 Datasheet 1
20k Panasonic Electronic Components P20.0KHCT-ND  Datasheet 2
120R Stackpole Electronics Inc RMCFF0603FT120RCT-ND  Datasheet 1
0.01R Vishay Dale WSHP2818R0100FEA  Datasheet 1
200R Bourns 3296Y-201LF-ND  Datasheet 1
1.2 K YAGEO 311-1.20KHRCT-ND  Datasheet 1
RST CIT Relay and Switch  2449-CS1213AGF160CT-ND  Datasheet 1
STM32G071KBUx STMicroelectronics 497-STM32G071KBU3-ND  Datasheet 1
LTD-2601G Lite-On Inc 160-1922-5-ND  Datasheet 1
24CS32 Microchip Technology AT34CS32-SSHM-TCT-ND  Datasheet 1
32.768KHz ECS Inc XC1948CT-ND  Datasheet 1