Detection method, medium and equipment for partial discharge of lithium battery cells

By adopting the partial discharge detection method in the insulation performance test of lithium battery cells, using MOS tubes and pulse width modulation to generate excitation sources, and conducting charging and discharging detection of the battery cells, the problem of difficulty in identifying insulation damage in advance in the existing technology is solved. It provides fast and accurate insulation performance evaluation to meet the needs of rapid growth in battery production capacity.

CN118226214BActive Publication Date: 2024-09-13青岛艾诺仪器有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410549002.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-06
Publication Date
2024-09-13
Estimated Expiration
2044-05-06

AI Technical Summary

Technical Problem

Existing technology makes it difficult to identify insulation damage in advance during the insulation performance test of lithium battery cells, resulting in increased costs and environmental protection costs when poor insulation performance is discovered after liquid injection.

Method used

A lithium battery cell partial discharge detection method is adopted. By connecting the battery cell under test, setting the output voltage and starting the test program, driving the MOS tube and pulse width modulation, generating a symmetrical PWM wave, controlling the PWM wave output and forming an excitation source. Carry out battery charging and partial discharge detection, signal amplification and data collection, insulation performance judgment and recording, and optimize the test process to improve detection efficiency.

Benefits of technology

It achieves accurate assessment and efficient detection of the insulation performance of lithium battery cells, shortens test time, improves detection efficiency, and can identify damage before defects are formed but before obvious leakage current is formed, saving production line inspection time and adapting to the rapid growth of battery production capacity. requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118226214B
    Figure CN118226214B
Patent Text Reader

Abstract

The present invention relates to the field of lithium battery detection technology, and specifically to a detection method, medium and equipment for partial discharge of lithium battery core. The present invention includes the following steps: S1, connecting the battery core to be tested; S2, setting the output voltage and starting the test; S3, driving the MOS tube and pulse width modulation; S4, generating a symmetrical PWM wave; S5, controlling the PWM wave output and the formation of the excitation source; S6, battery cell charging and partial discharge detection; S7, signal amplification and data acquisition; S8, insulation performance judgment and recording; S9, completing the test and result analysis. The present invention is applied to the battery cell insulation performance test equipment before liquid injection through the circuit structure provided, which effectively solves the abnormal discharge caused by insulation damage in the battery cell insulation performance test. The damage can be identified before the defect is formed but no obvious leakage current is formed and after the charge movement occurs, thereby improving the detection efficiency and saving the production line detection time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lithium battery detection, and in particular to a method, medium and equipment for detecting partial discharge of a lithium battery core. Background Art

[0002] The sales of pure electric vehicles are increasing day by day, driving the surge in demand for power batteries. In addition to paying attention to the cruising range of electric vehicles, consumers also attach great importance to the safety of their battery systems. Timely and effective discovery of safety hazards of power batteries is an important measure to ensure the safety of consumers and the sustainable development of battery companies. During the production process of batteries, especially the cells before injection, the insulation performance status test is a key test item that companies pay attention to. The specific test methods include pulse voltage drop test and insulation resistance test. After injection, DC withstand voltage test, insulation resistance test, internal resistance test and open circuit voltage test will also be carried out to ensure the safety and reliability of the battery when it is put into use. For example, the Chinese patent publication number is CN116992264A, which discloses a method and device for processing partial discharge signals under high-frequency square wave voltage. It obtains the characteristic frequency band of partial discharge of the insulating sample according to the partial discharge signal, and the test voltage is the high-frequency square wave voltage of the test power supply; the partial discharge signal of the characteristic frequency band is modally decomposed to obtain multiple modal components, and several modal components that meet the preset conditions are selected for noise reduction and signal reconstruction to obtain the denoised partial discharge signal of the insulating sample under the high-frequency square wave voltage. However, although this solution can effectively identify battery products with insulation defects, it is mainly aimed at detecting obvious insulation failure or diaphragm damage. It is less effective in diagnosing insulation failure in the early stages and is almost impossible to detect the initial state of insulation damage in advance. The later the testing process is, the higher the cost loss will be, especially if poor insulation performance is discovered after liquid injection, which greatly increases the recycling cost and environmental protection cost. Summary of the invention

[0003] The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide a method, medium and device for detecting partial discharge of a lithium battery cell.

[0004] The technical solution adopted by the present invention is as follows:

[0005] A method for detecting partial discharge of a lithium battery cell comprises the following steps:

[0006] S1. Connect the battery cell under test: Connect the battery cell under test between the high voltage HVout and the loop RTN to prepare for partial discharge detection;

[0007] S2, set output voltage and start test: the MCU sets the output voltage value according to the preset parameters and starts the test program; outputs a square wave signal through the MCU output pin IO2;

[0008] S3, driving MOS tube and pulse width modulation: the square wave signal drives Q1 of MOS to turn on and off periodically, and enters the pulse width modulator U3 together with the voltage divider circuit signal composed of R1 and R2; U3 completes signal conditioning and performs decoupling filtering through C1 and C5;

[0009] S4, generate symmetrical PWM wave: the pulse width modulator U3 outputs symmetrical PWM wave through its 11th and 14th pins, drives the transformer T2 to work, and generates two PWM waves with positive and negative intervals;

[0010] S5, control PWM wave output and excitation source formation: the single chip microcomputer controls the PWM wave output of the pulse width modulator U3 by controlling the analog switch S1; drives Q2 and Q3 of MOS to be turned on and off periodically, provides excitation for the step-up transformer T1, and forms a stable high-voltage DC source as an excitation source for partial discharge detection inside the battery cell;

[0011] S6, battery cell charging and partial discharge detection: The excitation source charges the battery cell Cx, and the voltage rises according to the preset mode; if the internal insulation of the battery cell is good, the voltage rises steadily and maintains the charged energy; if there is an insulation performance defect, partial discharge gradually occurs during the charging process, resulting in a voltage drop △u;

[0012] S7, signal amplification and data acquisition: After the output voltage is divided and stepped down, it is amplified by the operational amplifiers IC1 and IC2, and then enters the ADC data acquisition system; the single-chip microcomputer reads the ADC signal in real time through the SPI communication mechanism, and calculates the output voltage value HVout and the drop voltage value △u;

[0013] S8, Insulation performance judgment and recording: The single chip collects and calculates HVout and △u in real time; when it is found that △u exceeds the upper limit allowed, the HVout output is stopped immediately, and the time of partial discharge and the corresponding HVout value are recorded to judge whether the insulation performance of the battery cell is qualified;

[0014] S9. Complete the test and result analysis: shorten the entire test time to within 50mS, improve the production line efficiency and test rhythm; the test results are used to analyze the insulation performance of the battery cells to meet the requirements of rapid growth in battery production capacity.

[0015] This technical solution uses a method for detecting partial discharge of lithium battery cells to achieve accurate evaluation and efficient detection of the insulation performance of battery cells. Specifically, this technical solution connects to the battery cell under test, sets the output voltage and starts the test program, drives the MOS tube and pulse width modulation, generates symmetrical PWM waves, controls the PWM wave output and forms an excitation source, performs battery cell charging and partial discharge detection, signal amplification and data collection, insulation performance judgment and recording, and finally completes the test and result analysis; the entire technical solution adapts to the rapid growth of battery production capacity by optimizing the test process and improving the detection efficiency, and helps to ensure the quality and safety of the battery cell.

[0016] In addition, the above-mentioned method for detecting partial discharge of lithium battery cells according to the present invention also has the following additional technical features:

[0017] According to one embodiment of the present invention, the detection method further includes the following preparatory steps:

[0018] S0. Preparation before testing and equipment inspection: Before connecting the battery cell to be tested, conduct a comprehensive inspection of the test equipment, including the high-voltage source, data acquisition system, and single-chip microcomputer, to ensure that all equipment is in normal working condition; conduct an appearance inspection of the battery cell to be tested to ensure that it has no obvious physical damage.

[0019] This technical solution is used to improve the operating procedures of the partial discharge detection method for lithium battery cells. The pre-steps include pre-test preparation and equipment inspection to ensure that the test equipment works normally and the battery cell under test has no physical damage.

[0020] According to one embodiment of the present invention, the detection method further includes the following post-processing steps:

[0021] S10. Safety protection mechanism setting: Set up corresponding overvoltage protection, overcurrent protection, and overheating protection mechanisms. When an abnormal situation occurs during the test, quickly cut off the power supply to prevent equipment damage or personal injury;

[0022] S11, test parameter adjustment and optimization: according to the specific type and specifications of the battery cell under test, the test parameters are adjusted and optimized, and the test parameters include output voltage value, test time, and sampling frequency;

[0023] S12. Test environment control: Improve the stability and repeatability of the test by controlling the test environment, including temperature, humidity, and electromagnetic interference;

[0024] S13, test result output and report generation: output the test results to the specified device and generate a corresponding test report, including test data, analysis results and conclusions;

[0025] S14. Equipment maintenance and calibration: Calibrate the test equipment regularly to ensure its long-term stable operation and measurement accuracy. The calibration content includes cleaning the equipment, replacing wearing parts, and calibrating measuring instruments.

[0026] This technical solution is used to improve the operating procedures of the partial discharge detection method for lithium battery cells. The post-processing steps include setting up a safety protection mechanism, adjusting and optimizing test parameters, controlling the test environment, outputting test results and generating reports, and maintaining and calibrating equipment, which together ensure the safety, accuracy and stability of the test process, improve test efficiency and precision, and are used to better evaluate the insulation performance and safety of lithium battery cells.

[0027] According to an embodiment of the present invention, the setting of the output voltage and the test start in step S2 include the following steps:

[0028] S21, setting the output voltage value: the single chip microcomputer reads the preset output voltage value from the internal memory or the external interface; according to the read voltage value, the single chip microcomputer configures the corresponding digital-to-analog converter DAC module or pulse width modulation PWM module;

[0029] If it is a DAC module, set the corresponding voltage output value;

[0030] If it is a PWM module, the corresponding duty cycle is calculated to simulate the voltage output;

[0031] The MCU checks whether the configuration is correct and ensures that there are no errors or overflows;

[0032] S22, start the test program: the MCU initializes all variables, flags and counters required for the test process; if there is a predefined test script, the MCU loads and parses the script; configures the interrupt service routine of the MCU so that it can respond to external events or timer interrupts during the test;

[0033] S23. Output a square wave signal through the MCU output pin IO2: configure the MCU output pin IO2 to the general purpose input and output (GPIO) mode, and set it to the output state; set the frequency, duty cycle, and initial phase of the square wave according to the test requirements; start the square wave generator inside the MCU, or cyclically control the level change of the GPIO pin to simulate the square wave output; monitor the output of the square wave signal through the detection mechanism inside the MCU or external measuring equipment to ensure that the signal is stable and meets the preset requirements.

[0034] This technical solution achieves accurate execution of the partial discharge detection method of lithium battery cells by setting the output voltage and test start-up steps. Specifically, by setting the output voltage value in small steps, the microcontroller reads the preset voltage value and configures the corresponding digital-to-analog converter or pulse width modulation module to ensure the accuracy and reliability of the output voltage; in the small step of starting the test program, the microcontroller initializes the variables required for the test, loads the test script and configures the interrupt service program to provide necessary preparations for the subsequent test process; the microcontroller outputs a square wave signal through the output pin of the microcontroller, and the microcontroller configures the output pin and generates a square wave signal that meets the test requirements, and monitors the signal output to ensure its stability.

[0035] According to an embodiment of the present invention, the driving MOS tube and pulse width modulation in step S3 include the following steps:

[0036] S31. Prepare the square wave signal source: select a suitable signal generator or oscillator and set its output to a square wave signal; adjust the frequency and duty cycle of the square wave signal to meet the working requirements of the MOS tube Q1; connect the positive output of the square wave signal to the gate G of the MOS tube Q1, ensure that the source S and drain D of the MOS tube Q1 are correctly connected in the circuit, and check whether all connections are stable and reliable;

[0037] S32, construct a voltage divider circuit: select appropriate resistors R1 and R2, connect them according to the principle of the voltage divider circuit, and ensure that the resistance values ​​of R1 and R2 meet the input voltage range requirements of the pulse width modulator U3; connect the output end of the voltage divider circuit to the corresponding input port of the pulse width modulator U3;

[0038] S33, configure the pulse width modulator U3: according to the application requirements, set the relevant parameters of U3, including the modulation frequency and duty cycle, to ensure that U3 can correctly receive and process the input signal; perform signal conditioning inside U3, including amplification, shaping or adjustment, to meet the needs of pulse width modulation; use capacitors C1 and C5 for decoupling filtering to reduce the impact of power supply noise and interference on the signal; according to the circuit characteristics and requirements, select the appropriate capacitor value and correctly connect it in the circuit;

[0039] S34, test and verification: Power on and test the entire circuit, observe the on and off status of the MOS tube Q1, and ensure that the square wave signal can correctly drive the MOS tube; use an oscilloscope to check whether the output signal of the voltage divider circuit and the output signal of U3 meet expectations, and make necessary adjustments and optimizations based on the test results.

[0040] This technical solution ensures the accuracy and stability of the partial discharge detection method of lithium battery cells by driving MOS tubes and pulse width modulation steps. Specifically, by preparing the square wave signal source step, selecting a suitable signal generator and adjusting the square wave signal to adapt to the working requirements of the MOS tube, ensuring that the MOS tube can correctly respond to the drive of the square wave signal; in the step of building a voltage divider circuit, selecting appropriate resistors to build a voltage divider circuit, and connecting its output to the input port of the pulse width modulator to meet the input voltage range requirements of the modulator; in the step of configuring the pulse width modulator, setting the relevant parameters of the modulator according to application requirements, and performing signal conditioning inside it to meet the modulation requirements, and using capacitors for decoupling filtering to reduce interference; in the step of testing and verification, power on the entire circuit for testing, and use an oscilloscope to check the compliance of the signal, and make adjustments and optimizations based on the test results to ensure the accuracy and stability of the entire driving and modulation process.

[0041] According to an embodiment of the present invention, the step S5 of controlling the PWM wave output and the excitation source formation comprises the following steps:

[0042] S51, MCU initialization: Start the MCU and perform initialization settings, including IO port configuration, clock setting, interrupt configuration, initialize the control port of analog switch S1, and ensure that the MCU can correctly control its switch state; send configuration instructions to the pulse width modulator U3 through the MCU to set the frequency and duty cycle of the PWM wave, and ensure that U3 can output the corresponding PWM wave according to the instructions of the MCU;

[0043] S52, control analog switch S1: the single chip microcomputer controls the PWM wave output of the pulse width modulator U3 by controlling the switch state of the analog switch S1 according to the preset logic or conditions; when the PWM wave needs to be output, the single chip microcomputer sets the analog switch S1 to the on state; when the output is not required, it sets it to the off state;

[0044] S53, driving MOS tubes Q2 and Q3: connecting the output of the PWM wave to the gates G of the MOS tubes Q2 and Q3 to control their on and off, ensuring that the source S and drain D of the MOS tubes Q2 and Q3 are correctly connected in the circuit, so as to realize the driving of the boost transformer T1; when the MOS tubes Q2 and Q3 are periodically turned on and off under the control of the PWM wave, an alternating current is formed, thereby driving the boost transformer T1; the boost transformer T1 increases the input voltage and outputs a stable high-voltage DC source;

[0045] S54. Form an excitation source: The high-voltage DC source output by the step-up transformer T1 is used as the excitation source for partial discharge detection inside the battery cell to ensure the stability and reliability of the excitation source to meet the needs of partial discharge detection inside the battery cell; the single-chip microcomputer needs to monitor the state of the excitation source and the partial discharge situation inside the battery cell in real time. According to the monitoring results, the single-chip microcomputer adjusts the parameters of the PWM wave or controls the state of the analog switch S1 to optimize the performance of the excitation source or adapt to different detection needs.

[0046] This technical solution ensures the correct control of the switching state of the analog switch S1 by initializing the single-chip microcomputer, and sets the frequency and duty cycle of the PWM wave by sending configuration instructions to the pulse width modulator U3; controls the switching state of the analog switch S1 to control the PWM wave output; connects the PWM wave output to the gate G of the MOS tubes Q2 and Q3 to drive them to turn on and off, and then drives the step-up transformer T1 to generate a stable high-voltage DC source; uses the high-voltage DC source output by the step-up transformer T1 as an excitation source, and performs real-time monitoring and adjustment to meet the needs of partial discharge detection inside the battery cell.

[0047] According to one embodiment of the present invention, the cell charging and partial discharge detection in step S6 includes the following steps:

[0048] S61, connecting the excitation source and the battery Cx: connecting the positive and negative electrodes of the excitation source to the positive and negative electrodes of the battery Cx respectively, ensuring that the connection is stable and correct; setting the charging preset mode of the battery Cx in the control system, including the starting voltage, the ending voltage, and the charging rate;

[0049] S62, start the charging process: start the excitation source, and start charging the battery cell Cx according to the preset mode; monitor the voltage change during the charging process to ensure that the voltage rises steadily according to the preset mode; during the charging process, use the voltage sensor to detect the voltage change of the battery cell Cx in real time; if the insulation inside the battery cell is good, the voltage should rise steadily, and the charged energy can be maintained; if a voltage drop △u is observed during the charging process, it indicates that there is an insulation defect inside the battery cell, resulting in partial discharge; by recording the amplitude and frequency of the voltage drop, analyze the severity and location of the partial discharge;

[0050] S63. Record and analyze data: record and store the voltage change data during the charging process in the corresponding storage device or data management system; conduct a detailed analysis of the collected data, including the voltage change curve and partial discharge characteristics, to evaluate the insulation performance and health status of the battery cell; based on the data analysis results, determine whether the battery cell has insulation performance defects or partial discharge phenomena. If there are problems with the battery cell, take corresponding treatment measures, including replacing the battery cell and repairing the insulation; when the battery cell is charged to the preset termination voltage or reaches the predetermined detection time, stop the charging and detection process.

[0051] The technical solution ensures a stable and correct connection by connecting the excitation source and the battery cell Cx, and sets a preset charging mode for the battery cell Cx in the control system; charges the battery cell Cx according to the preset mode by starting the excitation source, and monitors the voltage change to ensure a stable rise; during the charging process, the voltage change is detected in real time by a voltage sensor, the voltage drop phenomenon is observed, and the partial discharge is analyzed; the voltage change data during the charging process is recorded and analyzed to evaluate the insulation performance and health status of the battery cell; the battery cell status is determined based on the analysis results, and corresponding treatment measures are taken if there is a problem; after the battery cell is charged to a preset termination voltage or reaches a predetermined detection time, the charging and detection process is stopped.

[0052] According to one embodiment of the present invention, the signal amplification and data acquisition in step S7 includes the following steps:

[0053] S71, output voltage division and step-down: Use a resistor voltage division network or a transformer to divide and step-down the output voltage so as to reduce it to a range suitable for processing by op amps IC1 and IC2, ensuring the stability and accuracy of the voltage division and step-down circuit to reduce signal distortion;

[0054] S72, signal amplification preparation: Check whether the power supply of op amps IC1 and IC2 is normal, and ensure that the bias voltage is set correctly, and select the appropriate amplification factor and bandwidth according to the needs to meet the requirements of signal amplification; input the divided and stepped-down signal into op amp IC1 for preliminary amplification, and then input the output signal of IC1 into op amp IC2 for amplification to obtain the required signal amplitude;

[0055] S73, ADC data acquisition preparation: ensure that the power supply and clock signal of the ADC data acquisition system are stable and reliable, configure the sampling rate, resolution and input range of the ADC to adapt to the characteristics of the amplified signal, and connect the signal amplified by the operational amplifier to the input of the ADC; start the ADC data acquisition system, start sampling and converting the input signal, convert the analog signal into a digital signal, and store it in the buffer of the ADC or in an external memory;

[0056] S74, MCU SPI communication configuration: configure the SPI communication interface on the MCU, set the communication rate, data format and communication protocol, and ensure that the SPI communication connection between the MCU and the ADC data acquisition system is correct; the MCU reads the digital signal from the ADC data acquisition system in real time through the SPI communication mechanism, and correctly parses and extracts the output voltage value HVout and the drop voltage value △u according to the ADC sampling rate and data format;

[0057] S75. Calculate the output voltage value and the drop voltage value: Calculate the output voltage value HVout according to the read ADC signal through the corresponding conversion formula or algorithm, analyze and calculate the drop voltage value △u according to the changes in the continuously read ADC signal, and perform data processing and analysis on the calculated output voltage value HVout and drop voltage value △u. According to the processing results, judge the working state, insulation performance or partial discharge of the battery cell, and take corresponding measures or issue a fault warning.

[0058] This technical solution divides and reduces the output voltage by using a resistor divider network or a transformer to ensure that the signal is within a range suitable for processing by operational amplifiers IC1 and IC2, thereby reducing signal distortion; prepares for signal amplification by checking the operational amplifier power supply and bias voltage settings, and selecting a suitable gain and bandwidth, and amplifies the divided and reduced signal through operational amplifiers IC1 and IC2; ensures the stability and reliability of the ADC data acquisition system, configures a suitable sampling rate, resolution and input range, and connects the amplified signal to the ADC for data acquisition; implements communication with the ADC data acquisition system by configuring the SPI communication interface of the single-chip microcomputer, reads the digital signal in real time, and parses and extracts the output voltage value and the drop voltage value; calculates the output voltage value and the drop voltage value based on the read ADC signal, and performs data processing and analysis to determine the working state, insulation performance or partial discharge of the battery cell, and takes corresponding measures or issues fault warnings accordingly.

[0059] According to one embodiment of the present invention, the insulation performance judgment and recording in step S8 includes the following steps:

[0060] S81, initializing the MCU and recording system: the MCU is powered on and initialized, the corresponding interrupt service program and data buffer are set, and the recording system is initialized, including EEPROM, SD card or external memory; the MCU continuously reads the latest HVout and △u values ​​from the ADC data acquisition system through the SPI communication mechanism, and temporarily stores the read data in the internal buffer of the MCU;

[0061] S82, calculation and judgment: the single-chip computer calculates and analyzes the read HVout and △u values ​​according to the preset algorithm or formula to judge whether △u exceeds the upper limit allowed. If it is found that △u exceeds the upper limit allowed, it means that partial discharge occurs in the battery cell; immediately stop the output of the excitation source to the battery cell, that is, stop the output of HVout, to prevent the battery cell from being damaged; record the specific time when the partial discharge occurs, and obtain it through the real-time clock function of the single-chip computer; record the HVout value corresponding to the partial discharge, that is, the output voltage value of the last normal operation;

[0062] S83. Store recorded data: store the recorded partial discharge time, corresponding HVout value, cell number, and test conditions in the recording system to ensure that the stored data is accurate and complete, and be read by subsequent analysis and processing programs. According to the recorded partial discharge information and HVout value, combined with the specifications and requirements of the cell, determine whether the insulation performance of the cell is qualified; if the number or degree of partial discharge exceeds the allowable range, it is considered that the insulation performance of the cell is unqualified, and the judgment result of the insulation performance is output through the display screen, indicator light or communication interface. If the insulation performance of the cell is unqualified, the alarm mechanism is triggered to notify the operator to take corresponding measures.

[0063] The technical solution initializes the single-chip microcomputer and the recording system, sets the interrupt service program and the data buffer, and reads the latest HVout and △u values ​​from the ADC data acquisition system for temporary storage; the single-chip microcomputer calculates and analyzes the HVout and △u values ​​according to a preset algorithm or formula to determine whether partial discharge occurs in the battery cell, and stops the output of the excitation source and records the occurrence time when partial discharge is found; the recorded partial discharge time, the corresponding HVout value and other data are stored in the recording system to ensure the accuracy and completeness of the data, and judges whether the insulation performance is qualified based on these data and the battery cell specification requirements; the judgment result of the insulation performance is output, and the alarm mechanism is triggered when the insulation performance is unqualified to notify the operator to take corresponding measures.

[0064] In addition, to achieve the above objective, the present invention also provides an electronic device.

[0065] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for detecting partial discharge of a lithium battery cell is implemented.

[0066] In addition, to achieve the above objective, the present invention also provides a computer-readable storage medium.

[0067] A computer-readable storage medium stores a computer program, which implements the method for detecting partial discharge of a lithium battery cell when executed by a processor.

[0068] Compared with the prior art, the present invention has the following beneficial effects:

[0069] (1) The provided circuit structure is applied to the insulation performance test equipment of battery cells before liquid injection, which effectively solves the abnormal discharge caused by insulation damage in the insulation performance test of battery cells. The damage can be identified before the defect is formed but before obvious leakage current is formed and after charge transfer occurs, thereby improving the detection efficiency and saving production line detection time.

[0070] (2) By changing the way the high voltage power supply is output, the voltage can be realizedFigure 2 The step-up mechanism shown can detect when a small partial discharge occurs in the cell. There is no need to wait until the boost is finished, nor is there a need to test the current as a physical quantity. The quality of the cell can be identified only by the change in voltage, which speeds up the detection time in the boost stage. After the cell is detected to be unqualified, the high voltage output can be stopped, and the initial appearance of the partial discharge position of the cell can be retained to the greatest extent. After the cell is disassembled, it is easy to analyze the cause, improve the process manufacturing technology, and increase the detection rate of unqualified cells. The entire test process can be completed in as fast as tens of milliseconds. The test speed is faster, the judgment is more reliable, and it can better meet the requirements of rapid testing of battery production lines. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 It is a flow diagram of the method of the present invention.

[0072] Figure 2 It is a detection excitation source and measurement principle diagram of partial discharge inside the battery cell of the present invention.

[0073] Figure 3 It is a schematic diagram of partial discharge occurring during the process of generating an excitation source in the present invention. DETAILED DESCRIPTION

[0074] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0075] Example 1

[0076] like Figure 1 As shown, this embodiment provides a method for detecting partial discharge of a lithium battery cell, comprising the following steps:

[0077] S1. Connect the battery cell under test: Connect the battery cell under test between the high voltage HVout and the loop RTN to prepare for partial discharge detection;

[0078] S2, set output voltage and start test: the MCU sets the output voltage value according to the preset parameters and starts the test program; outputs a square wave signal through the MCU output pin IO2;

[0079] S3, driving MOS tube and pulse width modulation: the square wave signal drives Q1 of MOS to turn on and off periodically, and enters the pulse width modulator U3 together with the voltage divider circuit signal composed of R1 and R2; U3 completes signal conditioning and performs decoupling filtering through C1 and C5;

[0080] S4, generate symmetrical PWM wave: the pulse width modulator U3 outputs symmetrical PWM wave through its 11th and 14th pins, drives the transformer T2 to work, and generates two PWM waves with positive and negative intervals;

[0081] S5, control PWM wave output and excitation source formation: the single chip microcomputer controls the PWM wave output of the pulse width modulator U3 by controlling the analog switch S1; drives Q2 and Q3 of MOS to be turned on and off periodically, provides excitation for the step-up transformer T1, and forms a stable high-voltage DC source as an excitation source for partial discharge detection inside the battery cell;

[0082] S6, battery cell charging and partial discharge detection: The excitation source charges the battery cell Cx, and the voltage rises according to the preset mode; if the internal insulation of the battery cell is good, the voltage rises steadily and maintains the charged energy; if there is an insulation performance defect, partial discharge gradually occurs during the charging process, resulting in a voltage drop △u;

[0083] S7, signal amplification and data acquisition: After the output voltage is divided and stepped down, it is amplified by the operational amplifiers IC1 and IC2, and then enters the ADC data acquisition system; the single-chip microcomputer reads the ADC signal in real time through the SPI communication mechanism, and calculates the output voltage value HVout and the drop voltage value △u;

[0084] S8, Insulation performance judgment and recording: The single chip collects and calculates HVout and △u in real time; when it is found that △u exceeds the upper limit allowed, the HVout output is stopped immediately, and the time of partial discharge and the corresponding HVout value are recorded to judge whether the insulation performance of the battery cell is qualified;

[0085] S9. Complete the test and result analysis: shorten the entire test time to within 50mS, improve the production line efficiency and test rhythm; the test results are used to analyze the insulation performance of the battery cells to meet the requirements of rapid growth in battery production capacity.

[0086] This technical solution uses a method for detecting partial discharge of lithium battery cells to achieve accurate evaluation and efficient detection of the insulation performance of battery cells. Specifically, this technical solution connects to the battery cell under test, sets the output voltage and starts the test program, drives the MOS tube and pulse width modulation, generates symmetrical PWM waves, controls the PWM wave output and forms an excitation source, performs battery cell charging and partial discharge detection, signal amplification and data collection, insulation performance judgment and recording, and finally completes the test and result analysis; the entire technical solution adapts to the rapid growth of battery production capacity by optimizing the test process and improving the detection efficiency, and helps to ensure the quality and safety of the battery cell.

[0087] Specifically, Figure 2As shown, the battery cell under test is connected between the high voltage HVout and the loop RTN. After the test starts, the single-chip microcomputer sets the output voltage value, and outputs a square wave through the single-chip microcomputer output pin IO2 to enter the gate G of MOS Q1, so that the drain D and source S of MOS Q1 are periodically turned on and off, and the drain D of MOS Q1 and the voltage divider circuit signal composed of R1 and R2 are input to the 9th pin of the pulse width modulator U3 together, and the conditioning is completed inside the pulse width modulator U3. Vcc supplies power to the pulse width modulator U3, and C5 provides decoupling filtering. Vref is the output signal of the pulse width modulator U3, which is decoupled and filtered by C1. Vref is input to the 9th pin of the pulse width modulator U3 after voltage division by R1 and R2. The pulse width modulator U3 outputs symmetrical PWM waves through the 11th and 14th pins. The PWM output from the 11th pin directly enters the 2nd pin of the driving transformer T2. The PWM output from the 14th pin passes through the DC blocking capacitor C2 and then connects to the 1st pin of the driving transformer T2. At this time, the driving transformer can work and output two PWM waves with positive and negative intervals. The single-chip microcomputer can control the output of the pulse width modulator U3 by controlling the analog switch S1. When S1 is closed, U3 turns off the output PWM wave, and when S1 is disconnected, U3 outputs the PWM wave normally. One PWM output of T2 is electrically connected to the gate G of Q2 of MOS through the resistor R4, driving the drain D and source S of Q2 of MOS to turn on and off periodically. The diode D1 connected in parallel to the resistor R4 is to accelerate the rapid reduction of the voltage difference between the gate G and the source S of MOS when Q2 of MOS is turned off, so as to achieve rapid shutdown. The resistor R5 protects the drain D and source S of Q2 of MOS. Similarly, another PWM output of T2 is electrically connected to the gate G of MOS Q3 through resistor R6, driving the drain D and source S of MOS Q3 to periodically turn on and off. The diode D2 connected in parallel to resistor R6 is to accelerate the rapid reduction of the voltage difference between the gate G and the source S when MOS Q2 is turned off, so as to achieve rapid shutdown. Resistor R7 protects the drain D and source S of MOS Q3. The Vin signal is used as the input voltage and divided by capacitors C3 and C4 in series. Resistors R8 and R9 are connected in parallel to capacitors C3 and C4, respectively, to ensure the stability of the voltage division ratio. The periodic turning on and off of MOS Q2 and MOS Q3 provide excitation for the primary of the step-up transformer T1, so that its secondary increases the voltage according to the designed step-up ratio, and forms a stable high-voltage DC source after rectification and filtering. The output waveform of the high-voltage DC source is as follows: Figure 3 As shown in Figure 1, it is the key excitation source signal for realizing partial discharge detection inside the battery cell. The excitation source first charges the battery cell Cx, and the rising process is as follows: Figure 3As shown, the voltage rises a step, remains unchanged for a period of time, and then continues to rise. This is repeated. If the insulation performance of the tested battery Cx is good, the voltage will smoothly rise to the set value. If at a certain moment, partial discharge occurs inside the battery, a drop will occur at the voltage step, and the drop size is △u. After the output voltage is divided and stepped down by resistors R10 and R11, it enters the positive input terminal of op amp IC1, and then enters the positive terminal of op amp IC2. Resistors R12 and R13 form a proportional amplification coefficient, so that the signal passing through IC2 is amplified by (1+R12 / R13) times and then enters the ADC data acquisition system. The ADC signal is read by the microcontroller through the SPI communication mechanism, and the output voltage value HVout and the drop voltage value △u are calculated to determine whether the insulation performance of the battery is qualified.

[0088] It should be noted that: when the internal insulation of the battery cell Cx is good, it can ensure the stable linearity of the high-voltage boost process, and stably maintain the charged energy after the voltage is reached. If the battery cell Cx has insulation defects, the defective position will gradually discharge during the HVout rise process. As HVout increases, the local discharge becomes more and more intense, eventually leading to the generation of a voltage drop △u. The microcontroller collects and calculates HVout and △u in real time. When it is found that △u exceeds the allowable upper limit, the HVout output is immediately stopped, and the time when the local discharge occurs and the corresponding HVout value are recorded. The entire test process can be completed in as fast as 50mS. Compared with the traditional insulation resistance test method, the test time is shortened several times, saving production line circulation time, speeding up the test cycle, and improving production capacity, which better meets the requirements of the rapid growth of battery production capacity.

[0089] Example 2

[0090] Based on Example 1, this example also provides the following pre-steps:

[0091] S0. Preparation before testing and equipment inspection: Before connecting the battery cell to be tested, conduct a comprehensive inspection of the test equipment, including the high-voltage source, data acquisition system, and single-chip microcomputer, to ensure that all equipment is in normal working condition; conduct an appearance inspection of the battery cell to be tested to ensure that it has no obvious physical damage.

[0092] This technical solution is used to improve the operating procedures of the partial discharge detection method for lithium battery cells. The pre-steps include pre-test preparation and equipment inspection to ensure that the test equipment works normally and the battery cell under test has no physical damage.

[0093] According to one embodiment of the present invention, the detection method further includes the following post-processing steps:

[0094] S10. Safety protection mechanism setting: Set up corresponding overvoltage protection, overcurrent protection, and overheating protection mechanisms. When an abnormal situation occurs during the test, quickly cut off the power supply to prevent equipment damage or personal injury;

[0095] S11, test parameter adjustment and optimization: according to the specific type and specifications of the battery cell under test, the test parameters are adjusted and optimized, and the test parameters include output voltage value, test time, and sampling frequency;

[0096] S12. Test environment control: Improve the stability and repeatability of the test by controlling the test environment, including temperature, humidity, and electromagnetic interference;

[0097] S13, test result output and report generation: output the test results to the specified device and generate a corresponding test report, including test data, analysis results and conclusions;

[0098] S14. Equipment maintenance and calibration: Calibrate the test equipment regularly to ensure its long-term stable operation and measurement accuracy. The calibration content includes cleaning the equipment, replacing wearing parts, and calibrating measuring instruments.

[0099] This technical solution is used to improve the operating procedures of the partial discharge detection method for lithium battery cells. The post-processing steps include setting up a safety protection mechanism, adjusting and optimizing test parameters, controlling the test environment, outputting test results and generating reports, and maintaining and calibrating equipment, which together ensure the safety, accuracy and stability of the test process, improve test efficiency and precision, and are used to better evaluate the insulation performance and safety of lithium battery cells.

[0100] According to an embodiment of the present invention, the setting of the output voltage and the test start in step S2 include the following steps:

[0101] S21, setting the output voltage value: the single chip microcomputer reads the preset output voltage value from the internal memory or the external interface; according to the read voltage value, the single chip microcomputer configures the corresponding digital-to-analog converter DAC module or pulse width modulation PWM module;

[0102] If it is a DAC module, set the corresponding voltage output value;

[0103] If it is a PWM module, the corresponding duty cycle is calculated to simulate the voltage output;

[0104] The MCU checks whether the configuration is correct and ensures that there are no errors or overflows;

[0105] S22, start the test program: the MCU initializes all variables, flags and counters required for the test process; if there is a predefined test script, the MCU loads and parses the script; configures the interrupt service routine of the MCU so that it can respond to external events or timer interrupts during the test;

[0106] S23. Output a square wave signal through the MCU output pin IO2: configure the MCU output pin IO2 to the general purpose input and output (GPIO) mode, and set it to the output state; set the frequency, duty cycle, and initial phase of the square wave according to the test requirements; start the square wave generator inside the MCU, or cyclically control the level change of the GPIO pin to simulate the square wave output; monitor the output of the square wave signal through the detection mechanism inside the MCU or external measuring equipment to ensure that the signal is stable and meets the preset requirements.

[0107] This technical solution achieves accurate execution of the partial discharge detection method of lithium battery cells by setting the output voltage and test start-up steps. Specifically, by setting the output voltage value in small steps, the microcontroller reads the preset voltage value and configures the corresponding digital-to-analog converter or pulse width modulation module to ensure the accuracy and reliability of the output voltage; in the small step of starting the test program, the microcontroller initializes the variables required for the test, loads the test script and configures the interrupt service program to provide necessary preparations for the subsequent test process; the microcontroller outputs a square wave signal through the output pin of the microcontroller, and the microcontroller configures the output pin and generates a square wave signal that meets the test requirements, and monitors the signal output to ensure its stability.

[0108] According to an embodiment of the present invention, the driving MOS tube and pulse width modulation in step S3 include the following steps:

[0109] S31. Prepare the square wave signal source: select a suitable signal generator or oscillator and set its output to a square wave signal; adjust the frequency and duty cycle of the square wave signal to meet the working requirements of the MOS tube Q1; connect the positive output of the square wave signal to the gate G of the MOS tube Q1, ensure that the source S and drain D of the MOS tube Q1 are correctly connected in the circuit, and check whether all connections are stable and reliable;

[0110] S32, construct a voltage divider circuit: select appropriate resistors R1 and R2, connect them according to the principle of the voltage divider circuit, and ensure that the resistance values ​​of R1 and R2 meet the input voltage range requirements of the pulse width modulator U3; connect the output end of the voltage divider circuit to the corresponding input port of the pulse width modulator U3;

[0111] S33, configure the pulse width modulator U3: according to the application requirements, set the relevant parameters of U3, including the modulation frequency and duty cycle, to ensure that U3 can correctly receive and process the input signal; perform signal conditioning inside U3, including amplification, shaping or adjustment, to meet the needs of pulse width modulation; use capacitors C1 and C5 for decoupling filtering to reduce the impact of power supply noise and interference on the signal; according to the circuit characteristics and requirements, select the appropriate capacitor value and correctly connect it in the circuit;

[0112] S34, test and verification: Power on and test the entire circuit, observe the on and off status of the MOS tube Q1, and ensure that the square wave signal can correctly drive the MOS tube; use an oscilloscope to check whether the output signal of the voltage divider circuit and the output signal of U3 meet expectations, and make necessary adjustments and optimizations based on the test results.

[0113] This technical solution ensures the accuracy and stability of the partial discharge detection method of lithium battery cells by driving MOS tubes and pulse width modulation steps. Specifically, by preparing the square wave signal source step, selecting a suitable signal generator and adjusting the square wave signal to adapt to the working requirements of the MOS tube, ensuring that the MOS tube can correctly respond to the drive of the square wave signal; in the step of building a voltage divider circuit, selecting appropriate resistors to build a voltage divider circuit, and connecting its output to the input port of the pulse width modulator to meet the input voltage range requirements of the modulator; in the step of configuring the pulse width modulator, setting the relevant parameters of the modulator according to application requirements, and performing signal conditioning inside it to meet the modulation requirements, and using capacitors for decoupling filtering to reduce interference; in the step of testing and verification, power on the entire circuit for testing, and use an oscilloscope to check the compliance of the signal, and make adjustments and optimizations based on the test results to ensure the accuracy and stability of the entire driving and modulation process.

[0114] According to an embodiment of the present invention, the step S5 of controlling the PWM wave output and the excitation source formation comprises the following steps:

[0115] S51, MCU initialization: Start the MCU and perform initialization settings, including IO port configuration, clock setting, interrupt configuration, initialize the control port of analog switch S1, and ensure that the MCU can correctly control its switch state; send configuration instructions to the pulse width modulator U3 through the MCU to set the frequency and duty cycle of the PWM wave, and ensure that U3 can output the corresponding PWM wave according to the instructions of the MCU;

[0116] S52, control analog switch S1: the single chip microcomputer controls the PWM wave output of the pulse width modulator U3 by controlling the switch state of the analog switch S1 according to the preset logic or conditions; when the PWM wave needs to be output, the single chip microcomputer sets the analog switch S1 to the on state; when the output is not required, it sets it to the off state;

[0117] S53, driving MOS tubes Q2 and Q3: connecting the output of the PWM wave to the gates G of the MOS tubes Q2 and Q3 to control their on and off, ensuring that the source S and drain D of the MOS tubes Q2 and Q3 are correctly connected in the circuit, so as to realize the driving of the boost transformer T1; when the MOS tubes Q2 and Q3 are periodically turned on and off under the control of the PWM wave, an alternating current is formed, thereby driving the boost transformer T1; the boost transformer T1 increases the input voltage and outputs a stable high-voltage DC source;

[0118] S54. Form an excitation source: The high-voltage DC source output by the step-up transformer T1 is used as the excitation source for partial discharge detection inside the battery cell to ensure the stability and reliability of the excitation source to meet the needs of partial discharge detection inside the battery cell; the single-chip microcomputer needs to monitor the state of the excitation source and the partial discharge situation inside the battery cell in real time. According to the monitoring results, the single-chip microcomputer adjusts the parameters of the PWM wave or controls the state of the analog switch S1 to optimize the performance of the excitation source or adapt to different detection needs.

[0119] This technical solution ensures the correct control of the switching state of the analog switch S1 by initializing the single-chip microcomputer, and sets the frequency and duty cycle of the PWM wave by sending configuration instructions to the pulse width modulator U3; controls the switching state of the analog switch S1 to control the PWM wave output; connects the PWM wave output to the gate G of the MOS tubes Q2 and Q3 to drive them to turn on and off, and then drives the step-up transformer T1 to generate a stable high-voltage DC source; uses the high-voltage DC source output by the step-up transformer T1 as an excitation source, and performs real-time monitoring and adjustment to meet the needs of partial discharge detection inside the battery cell.

[0120] According to one embodiment of the present invention, the cell charging and partial discharge detection in step S6 includes the following steps:

[0121] S61, connecting the excitation source and the battery Cx: connecting the positive and negative electrodes of the excitation source to the positive and negative electrodes of the battery Cx respectively, ensuring that the connection is stable and correct; setting the charging preset mode of the battery Cx in the control system, including the starting voltage, the ending voltage, and the charging rate;

[0122] S62, start the charging process: start the excitation source, and start charging the battery cell Cx according to the preset mode; monitor the voltage change during the charging process to ensure that the voltage rises steadily according to the preset mode; during the charging process, use the voltage sensor to detect the voltage change of the battery cell Cx in real time; if the insulation inside the battery cell is good, the voltage should rise steadily, and the charged energy can be maintained; if a voltage drop △u is observed during the charging process, it indicates that there is an insulation defect inside the battery cell, resulting in partial discharge; by recording the amplitude and frequency of the voltage drop, analyze the severity and location of the partial discharge;

[0123] S63. Record and analyze data: record and store the voltage change data during the charging process in the corresponding storage device or data management system; conduct a detailed analysis of the collected data, including the voltage change curve and partial discharge characteristics, to evaluate the insulation performance and health status of the battery cell; based on the data analysis results, determine whether the battery cell has insulation performance defects or partial discharge phenomena. If there are problems with the battery cell, take corresponding treatment measures, including replacing the battery cell and repairing the insulation; when the battery cell is charged to the preset termination voltage or reaches the predetermined detection time, stop the charging and detection process.

[0124] The technical solution ensures a stable and correct connection by connecting the excitation source and the battery cell Cx, and sets a preset charging mode for the battery cell Cx in the control system; charges the battery cell Cx according to the preset mode by starting the excitation source, and monitors the voltage change to ensure a stable rise; during the charging process, the voltage change is detected in real time by a voltage sensor, the voltage drop phenomenon is observed, and the partial discharge is analyzed; the voltage change data during the charging process is recorded and analyzed to evaluate the insulation performance and health status of the battery cell; the battery cell status is determined based on the analysis results, and corresponding treatment measures are taken if there is a problem; after the battery cell is charged to a preset termination voltage or reaches a predetermined detection time, the charging and detection process is stopped.

[0125] According to one embodiment of the present invention, the signal amplification and data acquisition in step S7 includes the following steps:

[0126] S71, output voltage division and step-down: Use a resistor voltage division network or a transformer to divide and step-down the output voltage so as to reduce it to a range suitable for processing by op amps IC1 and IC2, ensuring the stability and accuracy of the voltage division and step-down circuit to reduce signal distortion;

[0127] S72, signal amplification preparation: Check whether the power supply of op amps IC1 and IC2 is normal, and ensure that the bias voltage is set correctly, and select the appropriate amplification factor and bandwidth according to the needs to meet the requirements of signal amplification; input the divided and stepped-down signal into op amp IC1 for preliminary amplification, and then input the output signal of IC1 into op amp IC2 for amplification to obtain the required signal amplitude;

[0128] S73, ADC data acquisition preparation: ensure that the power supply and clock signal of the ADC data acquisition system are stable and reliable, configure the sampling rate, resolution and input range of the ADC to adapt to the characteristics of the amplified signal, and connect the signal amplified by the operational amplifier to the input of the ADC; start the ADC data acquisition system, start sampling and converting the input signal, convert the analog signal into a digital signal, and store it in the buffer of the ADC or in an external memory;

[0129] S74, MCU SPI communication configuration: configure the SPI communication interface on the MCU, set the communication rate, data format and communication protocol, and ensure that the SPI communication connection between the MCU and the ADC data acquisition system is correct; the MCU reads the digital signal from the ADC data acquisition system in real time through the SPI communication mechanism, and correctly parses and extracts the output voltage value HVout and the drop voltage value △u according to the ADC sampling rate and data format;

[0130] S75. Calculate the output voltage value and the drop voltage value: Calculate the output voltage value HVout according to the read ADC signal through the corresponding conversion formula or algorithm, analyze and calculate the drop voltage value △u according to the changes in the continuously read ADC signal, and perform data processing and analysis on the calculated output voltage value HVout and drop voltage value △u. According to the processing results, judge the working state, insulation performance or partial discharge of the battery cell, and take corresponding measures or issue a fault warning.

[0131] This technical solution divides and reduces the output voltage by using a resistor divider network or a transformer to ensure that the signal is within a range suitable for processing by operational amplifiers IC1 and IC2, thereby reducing signal distortion; prepares for signal amplification by checking the operational amplifier power supply and bias voltage settings, and selecting a suitable gain and bandwidth, and amplifies the divided and reduced signal through operational amplifiers IC1 and IC2; ensures the stability and reliability of the ADC data acquisition system, configures a suitable sampling rate, resolution and input range, and connects the amplified signal to the ADC for data acquisition; implements communication with the ADC data acquisition system by configuring the SPI communication interface of the single-chip microcomputer, reads the digital signal in real time, and parses and extracts the output voltage value and the drop voltage value; calculates the output voltage value and the drop voltage value based on the read ADC signal, and performs data processing and analysis to determine the working state, insulation performance or partial discharge of the battery cell, and takes corresponding measures or issues fault warnings accordingly.

[0132] According to one embodiment of the present invention, the insulation performance judgment and recording in step S8 includes the following steps:

[0133] S81, initializing the MCU and recording system: the MCU is powered on and initialized, the corresponding interrupt service program and data buffer are set, and the recording system is initialized, including EEPROM, SD card or external memory; the MCU continuously reads the latest HVout and △u values ​​from the ADC data acquisition system through the SPI communication mechanism, and temporarily stores the read data in the internal buffer of the MCU;

[0134] S82, calculation and judgment: the single-chip computer calculates and analyzes the read HVout and △u values ​​according to the preset algorithm or formula to judge whether △u exceeds the upper limit allowed. If it is found that △u exceeds the upper limit allowed, it means that partial discharge occurs in the battery cell; immediately stop the output of the excitation source to the battery cell, that is, stop the output of HVout, to prevent the battery cell from being damaged; record the specific time when the partial discharge occurs, and obtain it through the real-time clock function of the single-chip computer; record the HVout value corresponding to the partial discharge, that is, the output voltage value of the last normal operation;

[0135] S83. Store recorded data: store the recorded partial discharge time, corresponding HVout value, cell number, and test conditions in the recording system to ensure that the stored data is accurate and complete, and be read by subsequent analysis and processing programs. According to the recorded partial discharge information and HVout value, combined with the specifications and requirements of the cell, determine whether the insulation performance of the cell is qualified; if the number or degree of partial discharge exceeds the allowable range, it is considered that the insulation performance of the cell is unqualified, and the judgment result of the insulation performance is output through the display screen, indicator light or communication interface. If the insulation performance of the cell is unqualified, the alarm mechanism is triggered to notify the operator to take corresponding measures.

[0136] The technical solution initializes the single-chip microcomputer and the recording system, sets the interrupt service program and the data buffer, and reads the latest HVout and △u values ​​from the ADC data acquisition system for temporary storage; the single-chip microcomputer calculates and analyzes the HVout and △u values ​​according to a preset algorithm or formula to determine whether partial discharge occurs in the battery cell, and stops the output of the excitation source and records the occurrence time when partial discharge is found; the recorded partial discharge time, the corresponding HVout value and other data are stored in the recording system to ensure the accuracy and completeness of the data, and judges whether the insulation performance is qualified based on these data and the battery cell specification requirements; the judgment result of the insulation performance is output, and the alarm mechanism is triggered when the insulation performance is unqualified to notify the operator to take corresponding measures.

[0137] In addition, to achieve the above objective, the present invention also provides an electronic device.

[0138] The electronic device of the embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for detecting partial discharge of a lithium battery cell is implemented.

[0139] The electronic device according to the embodiment of the present invention can be effectively applied to the insulation performance test equipment of the battery cell before liquid injection through the designed circuit structure, so as to solve the problem of abnormal discharge, identify the damage, improve the detection efficiency, and reduce the detection time of the production line; by changing the output mode of the high-voltage power supply, a step-by-step voltage rise is achieved, and the detection can be carried out when a small local discharge occurs in the battery cell, without waiting for the end of the voltage boost, and the quality of the battery cell can be determined only by the voltage change, thereby speeding up the detection speed, retaining the initial appearance of the discharge position, facilitating the analysis of the cause, and improving the detection rate of unqualified batteries; the entire test process takes only tens of milliseconds, which is fast and reliable, and fully meets the efficient testing needs of the battery production line.

[0140] In addition, to achieve the above objective, the present invention also provides a computer-readable storage medium.

[0141] The computer-readable storage medium of the embodiment of the present invention stores a computer program, and when the computer program is executed by a processor, the method for detecting partial discharge of a lithium battery cell is implemented.

[0142] The computer-readable storage medium according to the embodiment of the present invention can be effectively applied to the insulation performance test equipment of the battery cell before liquid injection through the designed circuit structure, so as to solve the problem of abnormal discharge, identify the damage, improve the detection efficiency, and reduce the detection time of the production line; by changing the output mode of the high-voltage power supply, a step-by-step voltage rise is achieved, and the detection can be carried out when a small local discharge occurs in the battery cell, without waiting for the end of the voltage boost, and the quality of the battery cell can be determined only by the voltage change, thereby speeding up the detection speed, retaining the initial appearance of the discharge position, facilitating the analysis of the cause, and improving the detection rate of unqualified batteries; the entire test process takes only tens of milliseconds, which is fast and reliable, and fully meets the efficient testing needs of the battery production line.

[0143] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.

[0144] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, fixed connection, detachable connection, or integration; mechanical connection, electrical connection; direct connection, indirect connection through an intermediate medium, internal connection between two elements or interaction between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention will be understood according to specific circumstances.

[0145] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature means that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature means that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0146] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described are combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art will combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0147] Any process or method description in the flowchart or otherwise described herein is understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions are not performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0148] The logic and / or steps represented in the flowchart or otherwise described herein, for example, are considered to be an ordered list of executable instructions for implementing logical functions, specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that fetches instructions from an instruction execution system, device or apparatus and executes instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" is any device that contains, stores, communicates, propagates or transmits a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wirings (electronic device), a portable computer disk case (magnetic device), a random access memory (R), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium is even a paper or other suitable medium on which the program is printed, because the program is obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting or processing in other suitable ways if necessary, and then storing it in a computer memory.

[0149] It should be understood that the various parts of the present invention are implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, a plurality of steps or methods are implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combinational logic gate circuit, a programmable gate array (PG lithium battery cell partial discharge detection method, medium and device), a field programmable gate array (FPG lithium battery cell partial discharge detection method, medium and device), etc.

[0150] A person of ordinary skill in the art would understand that all or part of the steps carried out in the above-mentioned embodiment method are implemented by instructing related hardware through a program, and the program is stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0151] In addition, each functional unit in each embodiment of the present invention is integrated into a processing module, each unit exists physically separately, or two or more units are integrated into one module. The above-mentioned integrated module is implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it is also stored in a computer-readable storage medium.

[0152] Although the embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, substitute and modify the above embodiments within the scope of the present invention.

Claims

1. A method for detecting partial discharge of a lithium battery cell, characterized in that: The steps include: S1. Connect the battery cell under test: Connect the battery cell under test between the high voltage HVout and the loop RTN to prepare for partial discharge detection; S2, setting output voltage and starting test: the MCU sets the output voltage value according to the preset parameters and starts the test program; Output square wave signal through MCU output pin IO2; S3, driving MOS tube and pulse width modulation: the square wave signal drives Q1 of MOS to turn on and off periodically, and enters the pulse width modulator U3 together with the voltage divider circuit signal composed of R1 and R2; U3 completes signal conditioning and performs decoupling filtering through capacitors C1 and C5; S4, generate symmetrical PWM wave: the pulse width modulator U3 outputs symmetrical PWM wave through its 11th and 14th pins, drives the transformer T2 to work, and generates two PWM waves with positive and negative intervals; S5, control PWM wave output and excitation source formation: the single chip microcomputer controls the PWM wave output of the pulse width modulator U3 by controlling the analog switch S1; drives Q2 and Q3 of MOS to be turned on and off periodically, provides excitation for the step-up transformer T1, and forms a stable high-voltage DC source as an excitation source for partial discharge detection inside the battery cell; S6, battery cell charging and partial discharge detection: The excitation source charges the battery cell Cx, and the voltage rises according to the preset mode; if the internal insulation of the battery cell is good, the voltage rises steadily and maintains the charged energy; if there is an insulation performance defect, partial discharge gradually occurs during the charging process, resulting in a voltage drop △u; S7, signal amplification and data acquisition: After the output voltage is divided and stepped down, it is amplified by the operational amplifiers IC1 and IC2, and then enters the ADC data acquisition system; the single-chip microcomputer reads the ADC signal in real time through the SPI communication mechanism, and calculates the output voltage value HVout and the drop voltage value △u; S8, Insulation performance judgment and recording: The single chip collects and calculates HVout and △u in real time; when it is found that △u exceeds the upper limit allowed, the HVout output is stopped immediately, and the time of partial discharge and the corresponding HVout value are recorded to judge whether the insulation performance of the battery cell is qualified; S9. Complete the test and result analysis: shorten the entire test time to within 50mS, improve the production line efficiency and test rhythm; the test results are used to analyze the insulation performance of the battery cells to meet the requirements of rapid growth in battery production capacity.

2. The method for detecting partial discharge of a lithium battery cell according to claim 1, characterized in that: The detection method also includes the following pre-steps: S0. Preparation before testing and equipment inspection: Before connecting the battery cell to be tested, conduct a comprehensive inspection of the test equipment, including the high voltage source, data acquisition system, and single-chip microcomputer, to ensure that all equipment is in normal working condition; conduct an appearance inspection of the battery cell to be tested to ensure that it has no obvious physical damage; The detection method also includes the following post-processing steps: S10. Safety protection mechanism setting: Set up corresponding overvoltage protection, overcurrent protection, and overheating protection mechanisms. When an abnormal situation occurs during the test, quickly cut off the power supply to prevent equipment damage or personal injury; S11, test parameter adjustment and optimization: according to the specific type and specifications of the battery cell under test, the test parameters are adjusted and optimized, and the test parameters include output voltage value, test time, and sampling frequency; S12. Test environment control: Improve the stability and repeatability of the test by controlling the test environment, including temperature, humidity, and electromagnetic interference; S13, test result output and report generation: output the test results to the specified device and generate a corresponding test report, including test data, analysis results and conclusions; S14. Equipment maintenance and calibration: Calibrate the test equipment regularly to ensure its long-term stable operation and measurement accuracy. The calibration content includes cleaning the equipment, replacing wearing parts, and calibrating measuring instruments.

3. The method for detecting partial discharge of a lithium battery cell according to claim 1, characterized in that: The step S2 of setting the output voltage and starting the test includes the following steps: S21, setting the output voltage value: the single chip microcomputer reads the preset output voltage value from the internal memory or the external interface; according to the read voltage value, the single chip microcomputer configures the corresponding digital-to-analog converter DAC module or pulse width modulation PWM module; If it is a DAC module, set the corresponding voltage output value; If it is a PWM module, the corresponding duty cycle is calculated to simulate the voltage output; The MCU checks whether the configuration is correct and ensures that there are no errors or overflows; S22, start the test program: the MCU initializes all variables, flags and counters required for the test process; if there is a predefined test script, the MCU loads and parses the script; Configure the interrupt service routine of the microcontroller so that it can respond to external events or timer interrupts during the test; S23. Output a square wave signal through the MCU output pin IO2: configure the MCU output pin IO2 to the general purpose input and output (GPIO) mode, and set it to the output state; set the frequency, duty cycle, and initial phase of the square wave according to the test requirements; start the square wave generator inside the MCU, or cyclically control the level change of the GPIO pin to simulate the square wave output; monitor the output of the square wave signal through the detection mechanism inside the MCU or external measuring equipment to ensure that the signal is stable and meets the preset requirements.

4. The method for detecting partial discharge of a lithium battery cell according to claim 3, characterized in that: The driving MOS tube and pulse width modulation of step S3 include the following steps: S31. Prepare the square wave signal source: select a suitable signal generator or oscillator and set its output to a square wave signal; adjust the frequency and duty cycle of the square wave signal to meet the working requirements of the MOS tube Q1; connect the positive output of the square wave signal to the gate G of the MOS tube Q1, ensure that the source S and drain D of the MOS tube Q1 are correctly connected in the circuit, and check whether all connections are stable and reliable; S32, construct a voltage divider circuit: select appropriate resistors R1 and R2, connect them according to the principle of the voltage divider circuit, and ensure that the resistance values ​​of R1 and R2 meet the input voltage range requirements of the pulse width modulator U3; connect the output end of the voltage divider circuit to the corresponding input port of the pulse width modulator U3; S33, configure the pulse width modulator U3: according to the application requirements, set the relevant parameters of U3, including the modulation frequency and duty cycle, to ensure that U3 can correctly receive and process the input signal; perform signal conditioning inside U3, including amplification, shaping or adjustment, to meet the needs of pulse width modulation; Use capacitors C1 and C5 for decoupling filtering to reduce the impact of power supply noise and interference on the signal; select appropriate capacitor values ​​and connect them correctly in the circuit according to circuit characteristics and requirements; S34, test and verification: Power on and test the entire circuit, observe the on and off status of the MOS tube Q1, and ensure that the square wave signal can correctly drive the MOS tube; use an oscilloscope to check whether the output signal of the voltage divider circuit and the output signal of U3 meet expectations, and make necessary adjustments and optimizations based on the test results.

5. The method for detecting partial discharge of a lithium battery cell according to claim 4, characterized in that: The step S5 of controlling the PWM wave output and the excitation source formation comprises the following steps: S51, MCU initialization: Start the MCU and perform initialization settings, including IO port configuration, clock setting, interrupt configuration, initialize the control port of analog switch S1, and ensure that the MCU can correctly control its switch state; send configuration instructions to the pulse width modulator U3 through the MCU to set the frequency and duty cycle of the PWM wave, and ensure that U3 can output the corresponding PWM wave according to the instructions of the MCU; S52, control analog switch S1: the single chip microcomputer controls the PWM wave output of the pulse width modulator U3 by controlling the switch state of the analog switch S1 according to the preset logic or conditions; when the PWM wave needs to be output, the single chip microcomputer sets the analog switch S1 to the on state; when the output is not required, it sets it to the off state; S53, driving MOS tubes Q2 and Q3: connecting the output of the PWM wave to the gates G of the MOS tubes Q2 and Q3 to control their on and off, ensuring that the source S and drain D of the MOS tubes Q2 and Q3 are correctly connected in the circuit, so as to realize the driving of the boost transformer T1; when the MOS tubes Q2 and Q3 are periodically turned on and off under the control of the PWM wave, an alternating current is formed, thereby driving the boost transformer T1; the boost transformer T1 increases the input voltage and outputs a stable high-voltage DC source; S54. Form an excitation source: The high-voltage DC source output by the step-up transformer T1 is used as the excitation source for partial discharge detection inside the battery cell to ensure the stability and reliability of the excitation source to meet the needs of partial discharge detection inside the battery cell; the single-chip microcomputer needs to monitor the state of the excitation source and the partial discharge situation inside the battery cell in real time. According to the monitoring results, the single-chip microcomputer adjusts the parameters of the PWM wave or controls the state of the analog switch S1 to optimize the performance of the excitation source or adapt to different detection needs.

6. The method for detecting partial discharge of a lithium battery cell according to claim 5, characterized in that: The cell charging and partial discharge detection in step S6 includes the following steps: S61, connecting the excitation source and the battery Cx: connecting the positive and negative electrodes of the excitation source to the positive and negative electrodes of the battery Cx respectively, ensuring that the connection is stable and correct; setting the charging preset mode of the battery Cx in the control system, including the starting voltage, the ending voltage, and the charging rate; S62, start the charging process: start the excitation source, and start charging the battery cell Cx according to the preset mode; monitor the voltage change during the charging process to ensure that the voltage rises steadily according to the preset mode; during the charging process, use the voltage sensor to detect the voltage change of the battery cell Cx in real time; if the insulation inside the battery cell is good, the voltage should rise steadily, and the charged energy can be maintained; if a voltage drop △u is observed during the charging process, it indicates that there is an insulation defect inside the battery cell, resulting in partial discharge; by recording the amplitude and frequency of the voltage drop, the severity and location of the partial discharge are analyzed; S63. Record and analyze data: record and store the voltage change data during the charging process in the corresponding storage device or data management system; conduct a detailed analysis of the collected data, including the voltage change curve and partial discharge characteristics, to evaluate the insulation performance and health status of the battery cell; based on the data analysis results, determine whether the battery cell has insulation performance defects or partial discharge phenomena. If there are problems with the battery cell, take corresponding treatment measures, including replacing the battery cell and repairing the insulation; when the battery cell is charged to the preset termination voltage or reaches the predetermined detection time, stop the charging and detection process.

7. The method for detecting partial discharge of a lithium battery cell according to claim 6, characterized in that: The signal amplification and data acquisition of step S7 includes the following steps: S71, output voltage division and step-down: Use a resistor voltage division network or a transformer to divide and step-down the output voltage so as to reduce it to a range suitable for processing by op amps IC1 and IC2, ensuring the stability and accuracy of the voltage division and step-down circuit to reduce signal distortion; S72, signal amplification preparation: Check whether the power supply of op amps IC1 and IC2 is normal, and ensure that the bias voltage is set correctly, and select the appropriate amplification factor and bandwidth according to the needs to meet the requirements of signal amplification; input the divided and stepped-down signal into op amp IC1 for preliminary amplification, and then input the output signal of IC1 into op amp IC2 for amplification to obtain the required signal amplitude; S73, ADC data acquisition preparation: Ensure that the power supply and clock signal of the ADC data acquisition system are stable and reliable, configure the sampling rate, resolution and input range of the ADC to adapt to the characteristics of the amplified signal, and connect the signal amplified by the operational amplifier to the input of the ADC; Start the ADC data acquisition system, start sampling and converting the input signal, convert the analog signal into a digital signal, and store it in the ADC buffer or external memory; S74, MCU SPI communication configuration: configure the SPI communication interface on the MCU, set the communication rate, data format and communication protocol, and ensure that the SPI communication connection between the MCU and the ADC data acquisition system is correct; The single-chip microcomputer reads the digital signal from the ADC data acquisition system in real time through the SPI communication mechanism, and correctly parses and extracts the output voltage value HVout and the drop voltage value △u according to the ADC sampling rate and data format; S75. Calculate the output voltage value and the drop voltage value: Calculate the output voltage value HVout according to the read ADC signal through the corresponding conversion formula or algorithm, analyze and calculate the drop voltage value △u according to the changes in the continuously read ADC signal, and perform data processing and analysis on the calculated output voltage value HVout and drop voltage value △u. According to the processing results, judge the working state, insulation performance or partial discharge of the battery cell, and take corresponding measures or issue a fault warning.

8. The method for detecting partial discharge of a lithium battery cell according to claim 7, characterized in that: The insulation performance judgment and recording of step S8 includes the following steps: S81, initializing the MCU and recording system: the MCU is powered on and initialized, the corresponding interrupt service program and data buffer are set, and the recording system is initialized, including EEPROM, SD card or external memory; the MCU continuously reads the latest HVout and △u values ​​from the ADC data acquisition system through the SPI communication mechanism, and temporarily stores the read data in the internal buffer of the MCU; S82, calculation and judgment: the single-chip computer calculates and analyzes the read HVout and △u values ​​according to the preset algorithm or formula to judge whether △u exceeds the upper limit allowed. If it is found that △u exceeds the upper limit allowed, it means that partial discharge occurs in the battery cell; immediately stop the output of the excitation source to the battery cell, that is, stop the output of HVout, to prevent the battery cell from being damaged; record the specific time when the partial discharge occurs, and obtain it through the real-time clock function of the single-chip computer; record the HVout value corresponding to the partial discharge, that is, the output voltage value of the last normal operation; S83. Store recorded data: store the recorded partial discharge time, corresponding HVout value, cell number, and test conditions in the recording system to ensure that the stored data is accurate and complete, and be read by subsequent analysis and processing programs. According to the recorded partial discharge information and HVout value, combined with the specifications and requirements of the cell, determine whether the insulation performance of the cell is qualified; if the number or degree of partial discharge exceeds the allowable range, it is considered that the insulation performance of the cell is unqualified, and the judgment result of the insulation performance is output through the display screen, indicator light or communication interface. If the insulation performance of the cell is unqualified, the alarm mechanism is triggered to notify the operator to take corresponding measures.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for detecting partial discharge of a lithium battery cell according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting partial discharge of a lithium battery cell according to any one of claims 1 to 8 is implemented.