Battery detection apparatus, method and system, device, model training apparatus and method
By constructing a feature library based on the battery electrochemical characteristic curves and the time-series voltage deviation during the formation stage, the collaborative verification of lithium-ion battery capacity prediction and moisture detection models is achieved. This solves the problems of missed moisture detection and high hardware costs in existing technologies, and improves the accuracy and efficiency of battery testing.
Patent Information
- Application Number
- CN202611406930.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-10
- Publication Date
- 2026-11-24
AI Technical Summary
In existing lithium-ion battery manufacturing, moisture content detection methods cannot achieve full inspection of the production line, posing a risk of missed detection. Furthermore, capacity prediction and moisture detection are usually deployed as independent tasks, resulting in high hardware costs, repeated data collection, and inconsistent results, making it difficult to meet the requirements for high-efficiency battery quality control.
By constructing a feature library based on battery electrochemical characteristic curves and combining it with the time-series voltage deviation during the formation stage, a capacity prediction and moisture detection model is built to achieve cross-task system collaboration and mutual verification, thereby shortening the detection time and improving detection accuracy and reliability.
Without increasing hardware costs, the capacity setting time is shortened, the production line's ability to intercept high moisture content batteries is improved, the risk of batch failure is reduced, and the simultaneous and accurate detection of battery capacity prediction and moisture anomaly detection is achieved.
Smart Images

Figure CN123156031A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery testing technology, and in particular to a battery testing device, method and system, equipment, model training device and method. Background Technology
[0002] In the field of lithium-ion battery manufacturing, capacity sorting and moisture control are two key aspects to ensure battery quality and safety. Excessive moisture content inside the battery can react with lithium salts and solvents in the electrolyte, causing electrolyte decomposition, gas production and expansion, and increased internal resistance. In severe cases, it can even lead to thermal runaway. However, current moisture content detection methods often employ destructive offline sampling, which cannot achieve full inspection of the production line and carries the risk of missed detections. Some production lines also use post-production judgment, which is significantly lagging behind the actual cell production process. Summary of the Invention
[0003] This application provides a battery testing device, method, system, equipment, and model training device and method to solve one or more of the above-mentioned technical problems.
[0004] In a first aspect, embodiments of this application provide a battery testing device applied in the cloud. The device is configured to: receive operating parameters of a battery cell under test during the charging and discharging process from a production line; perform statistical analysis on the operating parameters to obtain capacity prediction features and moisture detection features; input the capacity prediction features into a pre-trained capacity prediction model to obtain a capacity prediction result for the battery cell under test; input the moisture detection features into a pre-trained moisture detection model to obtain a moisture content voltage threshold for the battery cell under test within a target time period; determine whether the capacity prediction result meets a preset capacity threshold range to obtain a capacity judgment result, wherein the capacity judgment result is a normal state or an abnormal state; compare the moisture content voltage threshold with the voltage value of the battery cell under test within the target time period to obtain a moisture detection result, wherein the moisture detection result is a normal state or an abnormal state; and determine a battery testing result based on the capacity judgment result and the moisture detection result, wherein the battery testing result includes consistent testing results and inconsistent testing results.
[0005] Battery cell under test.
[0006] Secondly, embodiments of this application provide a moisture detection model training device, the device being configured to: acquire a first voltage time series of a battery cell under an abnormal moisture content state and a second voltage time series under a normal moisture content state during the formation process; determine a voltage difference sequence based on the first voltage time series and the second voltage time series, and determine a target time based on the voltage difference sequence; the voltage difference corresponding to the target time is greater than the voltage difference corresponding to other times in the formation process; determine a target time period based on the target time, and determine a moisture content voltage threshold based on the second time series corresponding to the target time period; determine training data based on the second time series and the moisture content voltage threshold, and use the training data to train the model to obtain a moisture detection model; the moisture detection model is used in the aforementioned battery detection device.
[0007] Thirdly, embodiments of this application provide a battery testing system, including a cloud and a user terminal; the cloud and the user terminal are communicatively connected; the cloud includes the aforementioned battery testing device.
[0008] Fourthly, embodiments of this application provide a battery testing method, comprising: receiving operating parameters of a cell under test from a production line during a charging and discharging process; statistically analyzing the operating parameters to obtain capacity prediction features and moisture detection features; inputting the capacity prediction features into a pre-trained capacity prediction model to obtain a capacity prediction result for the cell under test; inputting the moisture detection features into a pre-trained moisture detection model to obtain a moisture content voltage threshold for the cell under test within a target time period; determining whether the capacity prediction result meets a preset capacity threshold range to obtain a capacity judgment result, wherein the capacity judgment result is a normal state or an abnormal state; comparing the moisture content voltage threshold and the voltage value of the cell under test within the target time period to obtain a moisture detection result, wherein the moisture detection result is a normal state or an abnormal state; and determining a battery testing result based on the capacity judgment result and the moisture detection result, wherein the battery testing result includes consistent detection results and inconsistent detection results.
[0009] Fifthly, embodiments of this application provide a method for training a moisture detection model, comprising: acquiring a first voltage time series under an abnormal moisture content state and a second voltage time series under a normal moisture content state in a battery cell during the formation process; determining a voltage difference sequence based on the first voltage time series and the second voltage time series, and determining a target time based on the voltage difference sequence; the voltage difference corresponding to the target time is greater than the voltage difference corresponding to other times in the formation process; determining a target time period based on the target time, and determining a moisture content voltage threshold based on the second time series corresponding to the target time period; determining training data based on the second time series and the moisture content voltage threshold, and using the training data to train the model to obtain a moisture detection model; the moisture detection model is used in the aforementioned battery detection device.
[0010] Sixthly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor, when executing the computer program, implements the method described in any of the above-mentioned embodiments.
[0011] Compared with related technologies, this application has the following advantages:
[0012] According to the embodiments of this application, while calculating the capacity judgment result, the moisture detection result is also calculated. When the two results are consistent, the battery detection result is obtained. Through cross-task system collaboration and mutual verification, the capacity determination time is shortened while ensuring the accuracy of the capacity. Without increasing the hardware cost, the production line's ability to intercept high moisture batteries is improved, effectively reducing the risk of batch failure.
[0013] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application, it can be implemented according to the contents of the specification. In order to make the above and other objects, features and advantages of this application more obvious and understandable, specific embodiments of this application are given below. Attached Figure Description
[0014] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the various drawings denote the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments according to this application and should not be construed as limiting the scope of this application.
[0015] Figure 1 This paper shows a structural block diagram of a battery detection device provided in an embodiment of this application;
[0016] Figure 2 This illustration shows a schematic diagram of a battery detection process for abnormal moisture content provided in an embodiment of this application.
[0017] Figure 3 A schematic diagram illustrating the mapping relationship between ICA curve characteristics and cell capacity provided in an embodiment of this application is shown.
[0018] Figure 4 (1) shows a battery characteristic curve analysis diagram provided in an embodiment of this application;
[0019] Figure 4(2) shows a schematic diagram of battery characteristic curve feature extraction provided in an embodiment of this application;
[0020] Figure 4 (3) shows a flowchart of a battery feature curve feature selection provided in an embodiment of this application;
[0021] Figure 4 (4) shows a schematic diagram of a model building, evaluation and optimization process provided in an embodiment of this application;
[0022] Figure 4 (5) shows a schematic diagram comparing a sampled formula with a predicted formula provided in an embodiment of this application;
[0023] Figure 4 (6) shows a schematic diagram of a voltage-time curve of a formation charging (HC) stage provided in an embodiment of this application;
[0024] Figure 4 (7) shows a voltage range incremental capacity curve provided in an embodiment of this application;
[0025] Figure 4 (8) shows a schematic diagram of the voltage-time curve of a multi-cell battery cell during the constant capacity discharge (DR) stage provided in an embodiment of this application;
[0026] Figure 4 (9) shows a schematic diagram of the temperature-time curve of a multi-cell formation process provided in an embodiment of this application;
[0027] Figure 5 This paper shows a structural block diagram of a moisture detection model training device provided in an embodiment of this application;
[0028] Figure 6 A flowchart of a battery detection method provided in an embodiment of this application is shown;
[0029] Figure 7 A flowchart of a moisture detection model training method provided in an embodiment of this application is shown;
[0030] Figure 8 A block diagram of an electronic device used to implement embodiments of this application is shown. Detailed Implementation
[0031] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the concept or scope of this application. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.
[0032] To facilitate understanding of the technical solutions of the embodiments of this application, the relevant technologies of the embodiments of this application are described below. The following relevant technologies are optional solutions and can be combined with the technical solutions of the embodiments of this application in any way, and all of them fall within the protection scope of the embodiments of this application.
[0033] Traditional battery capacity prediction methods typically require lengthy charge-discharge testing times (generally over 4 hours) to obtain sufficient capacity data. This not only consumes significant production line equipment resources (formation cabinets / capacity testing cabinets) but also depletes electrical energy. Existing technologies, while ensuring high accuracy, struggle to significantly reduce capacity testing time, leading to high production line costs and low energy efficiency, failing to meet the urgent need for cost reduction and efficiency improvement in large-scale intelligent manufacturing. Furthermore, the feature selection process in existing capacity prediction technologies is generally cumbersome and subjective, making it difficult to quickly and accurately identify key health factors strongly correlated with capacity decay from complex voltage, current, and temperature curves. Moreover, most existing solutions remain at the algorithm research level, with data processing, model training, deployment, and monitoring often handled by different systems in a fragmented manner. This lack of end-to-end engineering implementation capabilities from data access to model monitoring makes it difficult to form a complete, robust, and scalable production line application system, resulting in extremely high maintenance costs for the models on actual production lines.
[0034] Furthermore, with customers' increasing demands for battery quality control, production lines, while deploying capacity prediction functions, have for the first time been explicitly required to simultaneously implement online detection of batteries with abnormal moisture content. However, existing capacity prediction solutions do not consider integration with moisture anomaly detection in their architecture design, making it difficult to directly meet this new requirement. The industry urgently needs to determine the moisture content of each cell during the formation stage. Currently, capacity prediction and moisture detection are typically modeled, deployed, and data collected separately as two independent tasks on the production line, resulting in issues such as duplicate data collection, redundant computing power investment, and inconsistent results. Therefore, it is imperative to build upon existing data processing and model building processes by incorporating moisture detection logic based on timing voltage deviations during the formation stage, and simultaneously expanding the data interface to add moisture anomaly identification outputs. This would improve the production line's ability to intercept high-moisture batteries without increasing hardware costs, effectively reducing the risk of batch failures.
[0035] This application provides a battery testing device, method, system, equipment, and model training device and method. The device, based on a feature library construction and feature selection scheme for battery electrochemical characteristic curves, can quickly support the construction of capacity prediction models and perform short-term and long-term electrical performance characterization and product safety characterization of battery cells, forming a complete standardized characterization system. Furthermore, this application constructs a complete technical solution covering data access, model construction and optimization, model deployment, and model monitoring, forming an efficient, robust, and highly replicable engineering implementation solution for real-time battery capacity prediction. This solution can significantly shorten testing time, reduce production line equipment resource consumption and energy consumption while ensuring prediction accuracy, and possesses good interpretability and adaptive iteration capabilities, thereby continuously improving the quality control level and production efficiency of the battery manufacturing process. This application aims to provide a lithium battery capacity prediction and moisture anomaly detection scheme based on a collaborative closed-loop formation data system. It addresses how to use a single set of formation data to simultaneously drive both capacity prediction and moisture detection tasks, and how to enable cross-task mutual verification and feedback optimization of the output results, thereby simultaneously improving the technical problem of capacity prediction accuracy and moisture detection reliability without increasing additional testing time.
[0036] The technical solution of this application and how it solves the aforementioned technical problems are described in detail below with specific embodiments. The listed specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0037] This application provides a battery detection device. For example... Figure 1 The diagram shown is a structural block diagram of a battery detection device 100 according to an embodiment of this application. This device is applied in the cloud and is configured as follows:
[0038] The system receives operating parameters of the battery cell under test during the charging and discharging process from the production line. Statistical analysis is performed on these parameters to obtain capacity prediction features and moisture detection features. The capacity prediction features are input into a pre-trained capacity prediction model to obtain the capacity prediction result of the battery cell under test. The moisture detection features are input into a pre-trained moisture detection model to obtain the moisture content voltage threshold of the battery cell under test within a target time period. It determines whether the capacity prediction result meets a preset capacity threshold range to obtain a capacity judgment result, which is either normal or abnormal. The moisture content voltage threshold and the voltage value of the battery cell under test within the target time period are compared to obtain a moisture detection result, which is also either normal or abnormal. Based on the capacity judgment result and the moisture detection result, a battery testing result is determined, including both consistent and inconsistent test results for the battery cell under test.
[0039] In this application embodiment, the production line end refers to the equipment and systems on one side of the production line used to perform charge and discharge processes such as cell formation and capacity setting during the cell production process. This may include, but is not limited to, charge and discharge testing devices such as formation equipment and capacity setting equipment (capacity setting machine), as well as a production line host computer system connected to the charge and discharge testing device for collecting and outputting the operating parameters of the cell during the charge and discharge process. After completing the cell formation and / or capacity setting process, the production line end outputs the collected operating parameters in a preset format (such as CSV format) and uploads them to backend systems such as a relay server, big data platform, or algorithm model deployment server via SFTP, etc., for subsequent feature extraction, capacity prediction, and moisture anomaly detection. It should be understood that in this application, the production line end corresponds to cloud systems such as cloud big data platforms and algorithm model deployment servers, and generally refers to the overall hardware and software system on one side of the cell production site. Its specific equipment configuration may vary depending on the actual production line configuration, and this application does not limit it. The battery testing device can be set up in the cloud, and the battery testing device receives the operating parameters of the cell under test during the charge and discharge process from the production line end. The charging and discharging process refers to the process of charging and / or discharging the battery; the operating parameters refer to the measurable parameters generated by the battery during the charging and discharging process, such as current, voltage, and temperature; the statistical analysis of the operating parameters refers to the statistical calculation of the changes in the values of the above operating parameters within the corresponding time period of the charging and discharging process, and extracting capacity prediction features related to battery capacity prediction and moisture detection features related to battery moisture status.
[0040] The capacity prediction model is a model pre-trained based on the capacity prediction characteristics of historical batteries and their corresponding actual capacity values. It is used to establish the mapping relationship between capacity prediction characteristics and battery capacity. After inputting the capacity prediction characteristics of the cell under test into this model, the capacity prediction result corresponding to the cell under test can be obtained. The moisture detection model is used to establish the mapping relationship between moisture detection characteristics and moisture content voltage thresholds. The target time period refers to the time period used for moisture state judgment in the charging and discharging process. After inputting the moisture detection characteristics of the cell under test into this model, the moisture content voltage threshold corresponding to the preset moisture content level of the cell under test within the target time period can be obtained.
[0041] The capacity prediction result is determined by checking whether it meets a preset capacity threshold range, resulting in a capacity judgment result that is either normal or abnormal. The preset capacity threshold range is a pre-defined range of capacity values based on battery design capacity and product quality control requirements. If the capacity prediction result falls within this threshold range, the capacity judgment result is considered normal; otherwise, it is considered abnormal. If the voltage value of the tested cell exceeds the range defined by the moisture content voltage threshold during the target time period, the moisture detection result is considered abnormal, indicating that the tested cell may have excessive moisture content; if it does not exceed the threshold, the moisture detection result is considered normal.
[0042] Based on the capacity prediction model's output capacity judgment result (used to characterize whether the predicted capacity of the tested cell is within the normal range, i.e., whether there is an abnormal prediction deviation) and the moisture detection module's output moisture detection result (used to characterize whether the tested cell has an abnormal moisture content), the tested cell is jointly judged to obtain the battery detection result. Specifically, if the capacity judgment result and the moisture detection result are consistent, i.e., both indicate that the tested cell is normal, or both indicate that the tested cell is abnormal, then the battery detection result is determined to be consistent, and the consistent judgment conclusion (normal or abnormal) is taken as the final detection result of the tested cell; if the capacity judgment result and the moisture detection result are inconsistent, i.e., one indicates that the tested cell is normal and the other indicates that the tested cell is abnormal, then the battery detection result is determined to be inconsistent. Through the above cross-comparison mechanism of capacity judgment result and moisture detection result, the misjudgment that may occur if only a single detection dimension is relied upon (such as only capacity prediction, or only moisture detection) can be avoided, thereby improving the accuracy of identifying abnormal cells.
[0043] In this embodiment of the battery cell under test, the capacity prediction features and moisture detection features are obtained simultaneously by uniformly collecting and statistically analyzing the operating parameters in the charging and discharging process. This eliminates the need for separate data collection for capacity and moisture detection, reducing redundant investment in the testing process. By processing the capacity prediction features through a pre-trained capacity prediction model, the capacity prediction results can be obtained without fully acquiring the actual capacity data of the battery cell, thereby judging the battery capacity status. By establishing a mapping relationship between moisture detection features and voltage thresholds through a pre-trained moisture detection model and comparing it with the actual voltage value of the battery cell under test within the target time period, the judgment of abnormal moisture status of the battery is realized. By comparing the consistency of the capacity judgment result and the moisture detection result before outputting the battery test result, the reliability of the battery test result is improved, and the risk of misjudgment that may be caused by a single-dimensional judgment is reduced.
[0044] It should be noted that, in the embodiments of this application, the above functions can be based on Figure 1 The functional units shown in the dashed box are implemented. It should be noted that... Figure 1 The division of functional units shown is merely illustrative. Those skilled in the art can implement the above functions through more or fewer functional units or through a single integrated processor, depending on actual needs.
[0045] According to the embodiments of this application, while calculating the capacity judgment result, the moisture detection result is also calculated. When the two results are consistent, the capacity prediction result and the moisture detection result are obtained. Through cross-task system collaboration and mutual verification, the capacity determination time is shortened while ensuring the accuracy of the capacity. Without increasing the hardware cost, the production line's ability to intercept high moisture batteries is improved, effectively reducing the risk of batch failure.
[0046] It should also be noted that in the embodiments of this application, the capacity prediction step and the moisture detection step are both processed based on the same formation process data (or formation and capacity determination process data), and there is no necessary sequential dependency between them. Specifically, in one possible implementation, the capacity prediction step can be executed first, followed by the moisture detection step; in another possible implementation, the moisture detection step can be executed first, followed by the capacity prediction step; in yet another possible implementation, the capacity prediction step and the moisture detection step can be executed in parallel based on the same original data, without dependence on or interference between them, and after obtaining the capacity judgment result and the moisture detection result respectively, they are used together for subsequent joint judgment. This application does not limit the specific execution order between the capacity prediction step and the moisture detection step, and those skilled in the art can flexibly choose any of the above execution methods according to the actual system architecture, computing resources, and real-time requirements.
[0047] This application provides a battery testing device. According to this application, while calculating the capacity judgment result, the moisture detection result is also calculated. When the two results are consistent, the battery testing result is obtained. Through cross-task system collaboration and mutual verification, the capacity determination time is shortened while ensuring the accuracy of the capacity. Without increasing the hardware cost, the production line's ability to intercept batteries with high moisture content is improved, effectively reducing the risk of batch failure.
[0048] In one possible implementation, statistical analysis of the operating parameters to obtain capacity prediction features and moisture detection features can be performed according to the following steps: feature extraction is performed on the operating parameters in the charging and discharging process according to each step to obtain feature extraction results; feature expansion is performed on the feature extraction results to obtain feature expansion results; the feature expansion results are ranked by importance, and capacity prediction features and moisture detection features are determined based on the ranking results.
[0049] In this possible implementation, the operating parameters in the charging and discharging process are feature extracted according to each step to obtain feature extraction results. Here, a step refers to several continuous operation stages in the charging and discharging process divided according to set control conditions such as current and voltage; feature extraction according to each step means extracting features that characterize the data characteristics of each step for the operating parameters within the corresponding time period, such as statistical features and electrochemical features, thereby obtaining the feature extraction results for each step.
[0050] The feature extraction results are then augmented to obtain the augmented feature results. Feature augmentation refers to generating new features based on the extracted features using a preset feature calculation method. These new features are then combined with the original feature extraction results to form an augmented feature set, thereby enriching the range of candidate features that can be used for subsequent screening.
[0051] The feature expansion results are ranked by importance, and capacity prediction features and moisture detection features are determined based on the ranking results. The importance ranking refers to sorting the features in the feature expansion results according to their correlation or contribution to the prediction target. Based on the ranking results, features with high correlation to capacity prediction are selected as capacity prediction features, and features with high correlation to moisture detection are selected as moisture detection features.
[0052] In this embodiment, by extracting features from the operating parameters according to each step, targeted feature characterization can be achieved for the data characteristics of different steps, avoiding unclear feature expression caused by the mixing of data from different steps. By expanding the feature extraction results, the dimensions and number of candidate features are enriched, reducing the risk of missing key information due to incomplete manual feature design. By ranking the importance of the expanded features and determining the capacity prediction features and moisture detection features accordingly, the feature selection process is automated, reducing the subjectivity and workload of manual feature selection and improving the efficiency and accuracy of capacity prediction feature and moisture detection feature extraction.
[0053] In one possible implementation, the charge-discharge process includes a formation process and a capacity stabilization process; the feature expansion results are ranked by importance, and capacity prediction features and moisture detection features are determined based on the ranking results, which can be performed according to the following steps: based on the correlation between the feature expansion results and battery capacity, capacity prediction features are determined from the feature expansion results of the formation process and the capacity stabilization process; based on the correlation between the feature expansion results and battery moisture content, moisture detection features are determined from the feature expansion results of the formation process.
[0054] In this possible implementation, the charge-discharge process includes a formation process and a capacity stabilization process. The formation process refers to the initial charge-discharge of the battery after assembly to activate the electrode materials; the capacity stabilization process refers to the charge-discharge of the battery after the formation process to determine its capacity. The importance of the feature expansion results is ranked, and the capacity prediction features and moisture detection features are determined based on the ranking results, which can be performed as follows.
[0055] Based on the correlation between the feature expansion results and battery capacity, capacity prediction features are determined from the feature expansion results of the formation process and the capacity stabilization process. The correlation between the feature expansion results and battery capacity refers to the degree of association between each feature in the feature expansion results and the actual battery capacity. Based on this correlation, features with high correlation are selected from the feature expansion results corresponding to the formation process and the capacity stabilization process, respectively, to jointly constitute the capacity prediction features.
[0056] Based on the correlation between the feature expansion results and the battery moisture content, moisture detection features are determined from the feature expansion results of the formation process. The correlation between the feature expansion results and the battery moisture content refers to the degree of association between each feature in the feature expansion results and the battery moisture content. Based on this correlation, features with high correlation are selected from the feature expansion results corresponding to the formation process as moisture detection features.
[0057] In this embodiment, the capacity prediction feature is derived from the feature expansion results of the formation process and the capacity setting process. It can combine the data information of the battery activation stage and the capacity detection stage to improve the capacity prediction feature's ability to characterize the battery capacity. The moisture detection feature is derived only from the feature expansion results of the formation process. It can determine the moisture detection feature without relying on the data of the capacity setting process. This allows the detection of moisture anomalies to be achieved in an earlier production stage before the start of the capacity setting process, which is beneficial for the early identification and interception of batteries with excessive moisture.
[0058] In one possible implementation, the operating parameters include at least one or more of current, voltage, temperature, accumulated charging energy, and accumulated discharging energy; for the operating parameters in the charging and discharging process, feature extraction is performed according to each step to obtain feature extraction results, which can be performed according to the following steps: based on any operating parameter in each step of the charging and discharging process, one or more of the following features are extracted respectively: maximum value, minimum value, mean, variance, kurtosis, skewness, and range to obtain feature extraction results.
[0059] In this possible implementation, the accumulated charging energy and accumulated discharging energy refer to the charging energy or discharging energy data that the test equipment collects in real time during the charging and discharging process of the cell under test in the formation process or the capacity setting process, and which changes cumulatively over time. Specifically, it can be obtained by integrating the product of voltage and current in the process over time. It belongs to the time series data sampled during the charging and discharging process, along with operating parameters such as current, voltage, and temperature.
[0060] After obtaining the above operating parameters, feature extraction is performed on the operating parameters in the charging and discharging process according to each step, and the feature extraction results are obtained. Specifically, for each step in the charging and discharging process (such as the formation process or the capacity stabilization process), based on any operating parameter under that step (current, voltage, temperature, accumulated charging energy or accumulated discharging energy), one or more of the following statistical features are extracted: maximum value, minimum value, mean, variance, kurtosis, skewness and range, thereby obtaining the feature extraction results corresponding to that step and that operating parameter.
[0061] As an example, for a specific step in the formation process (such as step 2), statistical characteristics such as the maximum, minimum, mean, variance, kurtosis, skewness, and range of the current collected in that step can be extracted. The same statistical characteristics can be extracted for other operating parameters such as voltage, temperature, and cumulative charging energy collected in that step. Similarly, for the corresponding step in the capacity stabilization process, the same statistical characteristics can be extracted for the operating parameters such as current, voltage, temperature, and cumulative discharge energy in that step.
[0062] It should be noted that the feature extraction process in this embodiment is carried out separately according to different work steps and different types of operating parameters. That is, for each type of operating parameter under each work step, one or more of the above statistical features such as maximum value, minimum value, mean, variance, kurtosis, skewness, and range can be extracted independently, thereby forming feature extraction results covering different work steps and different dimensions of operating parameters, providing basic feature inputs for subsequent feature fusion, feature screening and capacity prediction model construction.
[0063] In the embodiments of this application, the maximum value and minimum value refer to the maximum and minimum values of the operating parameters within the time period corresponding to a certain work step, respectively; the mean refers to the arithmetic mean of the operating parameters within the time period corresponding to the work step; the variance refers to the statistical measure of the degree to which the operating parameters deviate from the mean within the time period corresponding to the work step; the kurtosis refers to the statistical measure of the steepness or flatness of the distribution pattern of the operating parameters within the time period corresponding to the work step; the skewness refers to the statistical measure of the symmetry of the distribution pattern of the operating parameters within the time period corresponding to the work step; and the range refers to the difference between the maximum and minimum values of the operating parameters within the time period corresponding to the work step.
[0064] This implementation method extracts statistical features such as maximum value, minimum value, mean, variance, kurtosis, skewness, and range from any operating parameter of each step. It can characterize the variation law of the operating parameters of each step from multiple dimensions such as numerical magnitude, degree of dispersion, and distribution pattern, providing a more comprehensive and discriminative basic data support for the subsequent determination of capacity prediction features and moisture detection features.
[0065] In one possible implementation, the feature extraction result includes statistical features, set features, and electrochemical features; feature expansion of the feature extraction result to obtain the feature expansion result can be performed according to the following steps: performing combined operations on the time series data corresponding to the statistical features, the geometric features, and the electrochemical features to obtain new features; determining the feature expansion result based on the statistical features, the geometric features, the electrochemical features, and the new features.
[0066] In this possible implementation, statistical features refer to the aforementioned features extracted based on operating parameters, such as maximum value, minimum value, mean, variance, kurtosis, skewness, and range; geometric features refer to features characterizing the shape of the curve corresponding to the operating parameters, such as the area under the curve; electrochemical features refer to features extracted based on the battery's electrochemical characteristic curves, such as the peak voltage and peak position of the capacity increment curve. Feature expansion of the extracted features can be performed as follows.
[0067] New features are obtained by combining and processing the time series data corresponding to statistical, geometric, and electrochemical features. Specifically, the combination operation refers to processing the time series data corresponding to the statistical, geometric, and electrochemical features to generate new features beyond the original features. The feature expansion result is determined based on the statistical, geometric, electrochemical, and new features. In other words, the statistical, geometric, and electrochemical features, together with the new features, constitute the feature expansion result.
[0068] In this application embodiment, the combination operation specifically includes, but is not limited to, one or more of the following operation methods:
[0069] I. Transformation Operations at the Time Series Level. For the original time series data (such as time series of current, voltage, temperature, cumulative charging energy, and cumulative discharging energy) corresponding to statistical, geometric, and electrochemical characteristics, first-order and second-order difference operations are performed respectively to obtain new features characterizing the rate of change and acceleration of change of the time series; rolling window statistical operations are performed on the time series (such as calculating the mean, variance, maximum, and minimum values within a preset sliding window) to obtain new features characterizing the local statistical properties of the time series; autocorrelation operations are performed on the time series to obtain new features characterizing the degree of autocorrelation of the time series under different time delays; Fourier transform or wavelet transform is performed on the time series, and the transformed coefficients are extracted as new features to characterize the frequency domain characteristics of the time series.
[0070] II. Combinatorial Operations at the Feature Level. For any two or more features extracted from statistical, geometric, and electrochemical features, perform addition, subtraction, multiplication, and division operations to obtain new features characterizing the relative relationships between features. For example, subtracting the maximum and minimum values of the current in a certain step yields the range-derived feature of the current in that step; similarly, dividing the peak value of the ICA curve with the area under the curve yields a new feature characterizing the relative relationship between the peak value and the area under the curve.
[0071] III. Nonlinear Transformation Operations at the Feature Level. For the extracted statistical, geometric, and electrochemical features, nonlinear operations such as logarithmic transformation, square transformation, and square root transformation are performed to obtain new features characterizing the nonlinear changes in these features.
[0072] It should be noted that the specific operation methods and selection of operation objects for the above-mentioned combined operations can be achieved through a preset automatic feature expansion tool (such as tsfresh). This tool has built-in feature calculators for time series data, which can automatically perform one or more of the above-mentioned combined operations on the time series data corresponding to the input statistical features, geometric features, and electrochemical features according to preset operation rules, and output the results as new features. Based on the statistical features, geometric features, electrochemical features, and the new features obtained through the above combined operations, the feature expansion result is determined together. That is, the feature expansion result includes the originally extracted statistical features, geometric features, and electrochemical features, as well as the features added through combined operations. The two together constitute the feature expansion result used for subsequent feature selection and model training.
[0073] In this embodiment, the feature extraction results cover three dimensions: statistical features, geometric features, and electrochemical features. This allows for a more comprehensive characterization of operating parameters from different perspectives, such as numerical statistics, curve shape, and electrochemical mechanisms. By combining and processing the time series data corresponding to the above three types of features, new features are obtained. These new features are then combined with the original feature extraction results to form the feature expansion results. This expands the scale and dimensions of the candidate features, providing a richer feature foundation for subsequently determining capacity prediction features and moisture detection features based on importance ranking. This is beneficial for improving the correlation between the determined features and battery capacity and moisture content.
[0074] In one possible implementation, the device is further configured to: determine that the battery detection result is inconsistent when the capacity judgment result is normal and the moisture detection result is abnormal, or when the capacity judgment result is abnormal and the moisture detection result is normal; generate an abnormality prompt message, re-examine the result corresponding to the abnormality, and obtain a re-examination result.
[0075] After obtaining the capacity assessment result and moisture detection result of the battery cell under test, the two are cross-compared, and two specific situations where the two are inconsistent are handled separately:
[0076] If the capacity assessment result is normal, but the moisture detection result is abnormal, then the battery test result for the cell under test is determined to be inconsistent. In this case, the system generates an error message and triggers the corresponding re-inspection process for the abnormal moisture detection result, i.e., performs a moisture re-inspection on the cell under test, obtaining the moisture re-inspection result of the cell under test, which is then used as the re-inspection result.
[0077] If the capacity assessment result is abnormal, while the moisture detection result is normal, then the battery test result for the cell under test is also determined to be inconsistent. In this case, the system generates an abnormality alert and triggers the corresponding re-inspection process for the abnormal capacity assessment result. This involves performing a capacity re-inspection on the cell under test (e.g., arranging for the cell to undergo a full discharge test to obtain its true capacity), and obtaining the capacity re-inspection result for the cell under test, which is then used as the re-inspection result.
[0078] It should be noted that the abnormal prompt information described in this embodiment is used to notify relevant responsible personnel (such as algorithm engineers, production line process personnel, etc.) that there are currently test cells with inconsistent test results, so that they can pay attention to and handle them in a timely manner; the abnormal prompt information may include, but is not limited to, the identification information of the test cell, the capacity judgment result, the moisture detection result, and the specific re-inspection type triggered (moisture re-inspection or capacity re-inspection), etc., and the specific sending method may be, but is not limited to, email, system alarm pop-up, etc.
[0079] Furthermore, in this embodiment, "re-inspecting the results corresponding to the abnormal state" means that the system triggers a re-inspection process specifically for the abnormal state based on which of the two results, capacity judgment and moisture detection, is abnormal, rather than re-inspecting all test items of the cell under test. This ensures that the abnormal cell is effectively verified while avoiding unnecessary repeated testing of test items that have been determined to be normal, thus improving the efficiency of the re-inspection process.
[0080] The retest results can be further used to update and optimize the judgment criteria of the corresponding detection branches (for example, the moisture retest results can be used to update the sensitive time window and judgment threshold used for moisture detection; the capacity retest results can be used to optimize the prediction accuracy of the capacity prediction model in the abnormal range), thereby forming a closed-loop feedback mechanism between the detection results and the judgment criteria.
[0081] In one possible implementation, the device is further configured to determine that the battery detection result is consistent with the detection result if both the capacity determination result and the moisture detection result are in a normal state or both are in an abnormal state.
[0082] In this possible implementation, if both the capacity prediction result and the moisture detection result are normal, it indicates that the cell under test does not show any abnormalities in either the capacity prediction dimension or the moisture detection dimension. Based on this, the device determines that the battery test result of the cell under test is consistent with the test result and judges the cell under test as normal, without triggering the retest process.
[0083] If both the capacity prediction result and the moisture detection result are abnormal, it indicates that the cell under test is abnormal in both the capacity prediction dimension and the moisture detection dimension. The device also determines that the battery test result of the cell under test is consistent with the test result. At this time, the cell under test can be judged as abnormal and output as the final test result.
[0084] It should be noted that the above-mentioned consistency of test results refers to whether the judgment directions of the capacity judgment result and the moisture detection result are the same. That is, regardless of whether the judgment direction is normal or abnormal, as long as the two judgment results are the same, the test results are considered to be consistent. This corresponds to the aforementioned situation of inconsistent test results (that is, the judgment directions of the capacity judgment result and the moisture detection result are opposite, one is normal and the other is abnormal). Together, the two constitute the complete judgment logic of the battery test results in this application.
[0085] In one possible implementation, if both the capacity determination result and the moisture detection result are normal, the device is further configured to: continue testing the next cell to be tested until all cells to be tested in the current batch are tested.
[0086] In this possible implementation, if both the capacity judgment result and the moisture detection result are normal, that is, if the battery test result of the current cell under test is consistent and determined to be normal, the device does not need to trigger the retest process for the cell under test. Instead, it continues to perform the aforementioned capacity prediction, moisture detection and joint judgment processing on the next cell under test in the current batch, and so on, until the test of all cells under test in the current batch is completed. Specifically, according to preset batch division rules, multiple battery cells coming off and off the production line can be divided into one or more batches to be tested, and the battery cells in each batch can be numbered or queued sequentially. For each battery cell to be tested in the current batch, its operating parameters are obtained, features are extracted and expanded, the capacity prediction model is input to obtain the capacity judgment result, and the moisture detection result is obtained based on the formation stage voltage data, and the two are jointly judged. If the judgment result is that both are normal, the device records the test result of the battery cell to be tested as normal and automatically switches to the next battery cell to be tested in the batch, repeating the above process. The above process is executed cyclically until all battery cells to be tested in the current batch have been tested.
[0087] In one possible implementation, the preset capacity threshold range is the rated capacity range or the theoretical capacity range; determining whether the capacity prediction result meets the preset capacity threshold range to obtain the capacity judgment result can be performed according to the following steps: when the capacity prediction result meets the preset capacity threshold range, the capacity judgment result is determined to be in a normal state; when the capacity prediction result does not meet the preset capacity threshold range, the capacity judgment result is determined to be in an abnormal state.
[0088] In this possible implementation, the preset capacity threshold range is either the rated capacity range or the theoretical capacity range. The rated capacity range refers to the range of capacity values specified according to the battery design specifications; the theoretical capacity range refers to the range of capacity values calculated theoretically based on the electrode materials, structural parameters, etc., used in the battery. Determining whether the capacity prediction result meets the preset capacity threshold range to obtain the capacity judgment result can be performed as follows: When the capacity prediction result meets the preset capacity threshold range, the capacity judgment result is determined to be in a normal state; when the capacity prediction result does not meet the preset capacity threshold range, the capacity judgment result is determined to be in an abnormal state.
[0089] In this embodiment, by setting the preset capacity threshold range to the rated capacity range or the theoretical capacity range, the determination of the capacity judgment result has a clear quantitative basis, avoiding the subjective arbitrariness of the threshold setting and improving the accuracy and reference value of the capacity judgment result.
[0090] In one possible implementation, the moisture content voltage threshold and the voltage value of the battery cell under test during the target time period are compared to obtain the moisture detection result. This can be performed according to the following steps: if the voltage value of the battery cell under test during the target time period is less than the moisture content voltage threshold, the moisture detection result is determined to be abnormal; if the voltage value of the battery cell under test during the target time period is greater than or equal to the moisture content voltage threshold, the moisture detection result is determined to be normal.
[0091] In this possible implementation, if the voltage value of the cell under test during the target time period is less than the moisture content voltage threshold, the moisture detection result is determined to be abnormal. Excessive moisture content inside the battery can lead to electrolyte decomposition and intensified side reactions, resulting in a lower-than-normal voltage value for the battery during the target time period. Therefore, when the voltage value of the cell under test during the target time period is lower than the moisture content voltage threshold, it indicates that the cell may have excessive moisture content, and the moisture detection result is determined to be abnormal. If the voltage value of the cell under test during the target time period is greater than or equal to the moisture content voltage threshold, the moisture detection result is determined to be normal.
[0092] In this embodiment, by comparing the voltage value of the battery cell under test within the target time period with the voltage threshold for moisture content, the specific determination method for moisture detection results is clarified, so that the determination of moisture detection results has a clear quantitative basis, which facilitates the implementation of this method in actual production line testing.
[0093] In one possible implementation, the device is further configured to: generate a feedback instruction corresponding to the battery detection result; the feedback instruction is used to instruct the cloud to send the battery detection result to the production line.
[0094] In this possible implementation, the feedback instruction is used to instruct the cloud to send the battery test results to the production line, so that the production line can promptly obtain the test results of the cell under test and perform corresponding subsequent actions accordingly. It should be noted that in this embodiment, the feedback instruction is a control instruction generated by the device after completing the aforementioned capacity prediction, moisture detection, and joint judgment processing to achieve the transmission of test results back to the production line. Its triggering timing can be immediate after obtaining the battery test results, or it can be generated and uniformly distributed according to a preset batch processing cycle. This application does not limit the specific generation timing or the content carried by the feedback instruction.
[0095] In one possible implementation, generating a feedback instruction corresponding to the battery detection result includes: generating a first evaluation index for the capacity prediction result, and generating a second evaluation index for the moisture content voltage threshold; determining the feedback instruction based on the capacity prediction result and the first evaluation index, as well as the moisture content voltage threshold and the second evaluation index; the first evaluation index is used to characterize the prediction accuracy and / or prediction quality of the capacity prediction result; the second evaluation index is used to characterize the prediction accuracy and / or prediction quality of the moisture content voltage threshold.
[0096] In this possible implementation, a first evaluation index for the capacity prediction result is generated. Specifically, based on the deviation between the predicted capacity of the cell under test and the actual capacity of the cell (e.g., the actual capacity obtained from actual measurements of a portion of fully discharged batteries reserved on the production line), a first evaluation index is calculated to characterize the prediction accuracy and / or prediction quality of the capacity prediction result. This first evaluation index may include, but is not limited to, the coefficient of determination R. 2 One or more of the following: Mean Absolute Error (MAE) and Root Mean Square Error (RMSE).
[0097] A second evaluation index is generated for the moisture content voltage threshold. Specifically, based on the moisture content determination threshold (i.e., the voltage threshold V within the sensitive time window W) determined from historical samples in the aforementioned embodiments, and combined with the comparison between the actual moisture state obtained from moisture re-inspection and the threshold determination result, a second evaluation index is calculated to characterize the prediction accuracy and / or prediction quality of the moisture content voltage threshold. This second evaluation index may also include, but is not limited to, the coefficient of determination R. 2 One or more of the following indicators that can characterize the classification and judgment effect: mean absolute error (MAE), root mean square error (RMSE), or judgment accuracy, misclassification rate, etc.
[0098] After obtaining the first evaluation index and the second evaluation index, the feedback instruction is determined based on the capacity prediction result and the first evaluation index, as well as the moisture content voltage threshold and the second evaluation index. Specifically, the feedback instruction carries the capacity prediction result of the cell under test and the corresponding first evaluation index, as well as the moisture content voltage threshold (judgment result) and the corresponding second evaluation index. This is used to simultaneously provide feedback to the production line and relevant personnel on the reliability or accuracy level of the test conclusion, so that the production line and relevant personnel can judge the reliability of the result by combining the evaluation index while knowing the test result.
[0099] In one possible implementation, receiving the operating parameters of the battery cell under test during the charging and discharging process from the production line includes: receiving a preset format file from the production line using SFTP; and parsing the preset format file to obtain the operating parameters of the battery cell under test during the charging and discharging process.
[0100] In this possible implementation, a preset format file is received from the production line using SFTP. Specifically, after completing the formation and / or capacity setting processes of the battery cell under test, the production line organizes the operating parameters collected during the charging and discharging process of the battery cell into a file according to a preset format (such as CSV format) and uploads it to the corresponding receiving end (such as a relay server, big data platform, or algorithm model deployment server) via the SFTP protocol; the receiving end uses SFTP to receive the preset format file uploaded by the production line in real time.
[0101] The preset format file is parsed to obtain the operating parameters of the battery cell under test during the charging and discharging process. Specifically, after obtaining the preset format file, the receiving end parses the file content according to the pre-agreed format rules (such as field order, delimiters, encoding methods, etc.) to extract the time series data of the operating parameters of the battery cell under test, such as current, voltage, temperature, cumulative charging energy, and cumulative discharging energy, under each step of the charging and discharging process (formation process and / or capacity setting process), which are used as the raw data for subsequent feature extraction, model input, and other processing steps.
[0102] It should be noted that the specific format (such as CSV format), field composition, and parsing method of the preset format file described in this embodiment can be pre-agreed according to the actual data collection and output specifications of the production line. This application does not limit this. The SFTP method is only an optional file transfer implementation method. In other possible implementation methods, other data transfer methods such as FTP, HTTP, and message queues can also be used to realize data transfer between the production line and the receiving end. This application does not limit the specific data transfer method either.
[0103] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative and are not intended to limit the scope of protection of this application.
[0104] This application provides a method for capacity prediction and moisture anomaly detection based on cell formation and capacity determination data. This method constructs a complete AI (Artificial Intelligence) capacity prediction technology roadmap through data connectivity, feature engineering, algorithm model building, model iterative optimization, cloud-based big data analysis, and moisture anomaly detection. Simultaneously, during capacity prediction, moisture anomaly detection is implemented based on voltage data from the cell formation stage, and the data interface is expanded accordingly, adding a moisture anomaly identifier output as an additional function for capacity prediction. This solution improves the production line's ability to intercept high-moisture batteries without increasing hardware costs or data acquisition processes, effectively reducing the risk of batch failures.
[0105] This embodiment provides a method for joint detection of capacity prediction and moisture anomalies based on cell formation and capacity determination data. The method includes steps such as data acquisition, feature extraction, model construction, joint determination of capacity prediction and moisture detection, model deployment and iterative optimization, as detailed below.
[0106] I. Data Connectivity
[0107] The data connectivity component comprises three stages: standardized output of production line data, real-time acquisition by a relay server, and standardized storage on a big data platform. Specifically, after the formation process is completed, the production line uploads the cell formation process data (time-series data such as current, voltage, temperature, and energy) in a unified format (such as CSV) via SFTP. The relay server acquires this data in real time and then transfers it to the big data platform for standardized storage, which is then used for subsequent feature extraction and model calls.
[0108] The collected data includes current, voltage, temperature, and energy data of the battery cells during formation and partial capacity setting, used to extract battery characteristics during these stages. The formation stage uses all data; the capacity setting stage can be selected based on requirements. For example, only data from the first few steps can be used as an option. For ternary lithium batteries, only data from steps 1 to 5 are extracted, and for lithium iron phosphate batteries, only data from steps 1 to 8 are extracted. Since the production line uses a formulation of "formation + partial capacity setting steps" for prediction, the cell's capacity can be determined without performing the entire capacity setting test. This establishes a mapping relationship between "formation and the first few capacity setting steps" and "battery capacity," and a capacity prediction model is trained based on this relationship to predict the capacity of the cell under test. Verification shows that this approach improves the capacity setting test efficiency of ternary lithium batteries by 60% and lithium iron phosphate batteries by 50%, saving an average of approximately 2 hours of capacity setting test time per battery.
[0109] The capacity prediction task and the moisture detection task share the same raw data from the formation stage. The production line receives this data source after the formation process is completed and distributes it to both the capacity prediction branch and the moisture detection branch. This does not add any extra testing time or data collection process outside the formation process, thus solving the problem of repeated data collection caused by different detection purposes.
[0110] II. Feature Engineering
[0111] Feature engineering extracts statistical features from the formation charging stage and the constant-capacity discharge stage according to different process steps. Specifically, it extracts features from all time-series data of the formation stage and the time-series data of the first N processes of the constant-capacity discharge stage to obtain a feature set for capacity prediction. In one possible implementation, the feature extraction includes the following: according to different process steps, it extracts statistical features from the current, voltage, temperature, and energy data of the formation charging stage and the constant-capacity discharge stage. The extracted statistical features include, but are not limited to, maximum value, minimum value, mean, variance, kurtosis, skewness, and range. The extracted statistical features, including maximum value, minimum value, mean, variance, kurtosis, skewness, and range, are used to describe the data of the formation charging stage and the constant-capacity discharge stage. The maximum value, minimum value, and variance are also used to describe the data of the static portion of the formation stage and the constant-capacity discharge stage.
[0112] In terms of geometric features, based on the peak value and peak position of the ICA curve (i.e., the curve obtained by differentiating voltage from capacity), corresponding voltage feature values are extracted, and the area under the curve is extracted as a feature. The voltage used in the ICA curve comes from the constant current charging (CC) step of the formation stage, which can be the second step of the formation stage for ternary batteries; and the constant current charging and constant current discharging steps of the constant capacity stage, which are generally the second and sixth steps of the constant capacity stage for lithium iron phosphate batteries. Combined with the electrochemical mechanism, electrochemical features related to cell aging and capacity decay are extracted. The features of the constant capacity discharge stage are also extracted by combining statistical features, geometric features, and electrochemical features, including the mean and variance of the constant current discharge stage, as well as the time and position corresponding to the inflection point.
[0113] Based on the aforementioned statistical and geometric features, and combined with electrochemical features, automatic feature expansion is performed: the extracted features are input into the tsfresh tool (a time series feature extraction tool based on scalable hypothesis testing), and tsfresh automatically fuses and expands the features, forming a complete feature library. As an example, after extracting statistical features such as the maximum and minimum values of the current in the second step, as well as features such as the area under the curve and integral, tsfresh automatically expands these features. Similarly, after extracting the peak value and peak position features of the ICA curve in the second step, as well as features such as the mean and variance of current and voltage, tsfresh automatically fuses and expands these features to form a complete feature library. During subsequent model training, the feature library is sorted and filtered based on feature importance to obtain the target feature set for regression modeling.
[0114] III. Construction of Capacity Prediction Model
[0115] Capacity prediction models can utilize boosting tree models, such as at least one of the Catboost or XGBoost models. These models possess the ability to automatically select features, exhibit strong fitting capabilities for non-linear relationships, and are suitable for processing high-dimensional feature sets obtained through automatic expansion and filtering. The resulting model structure is a balanced tree structure, which acts as a regularization mechanism, effectively preventing overfitting. Furthermore, due to this regular structure, the prediction process can be significantly accelerated, requiring only 1 to 3 seconds to predict the capacity of a single battery.
[0116] The capacity prediction model takes as input the current, voltage, temperature, and energy-related feature values extracted during the battery formation and capacity setting stages, and outputs the battery capacity. During the modeling phase, the current, voltage, and other feature data from the formation and capacity setting stages are used as input, and the battery capacity is used as the output. After modeling, the model is saved and uploaded to the cloud platform via a model repository. Once deployed, the production line only needs to upload the battery formation and capacity setting data files in CSV (Comma-Separated Values) format to the cloud platform via SFTP (Secure File Transfer Protocol). The platform can then output the capacity of each battery using the feature extraction code and the deployed model, and the results are returned to the production line via FMS.
[0117] In the prediction phase, the target feature set of the cell to be tested is input into the trained capacity prediction model to obtain the predicted capacity C of the cell, which is the capacity prediction result. By calculating the prediction residual between the predicted capacity C and the reference capacity (preset capacity threshold range), the capacity judgment result can be obtained.
[0118] IV. Model Iteration Optimization and Stability Monitoring
[0119] The model is iteratively optimized based on the predicted deviation values of a portion of fully discharged batteries reserved on the production line. Fully discharged batteries refer to batteries pre-reserved on the production line and tested according to the complete formation and capacity determination processes. For example, if the production line produces 10,000 batteries daily, with 9,000 using the predicted formula, then 1,000 batteries are reserved for complete formation and capacity determination full-discharge testing. Since the actual capacity of fully discharged batteries can be measured, the difference between this actual capacity and the predicted capacity is used to obtain the prediction deviation. This prediction deviation is used both for model iteration and optimization, and for monitoring the model's predictive stability. If the deviation shows an increasing trend, it indicates that the model needs iterative updates.
[0120] The cloud-based big data platform has a built-in automated scheduling engine that triggers every 4 hours to automatically retrieve the latest predicted data, compare it with the actual values, and calculate and generate the coefficient of determination R. 2The system tracks and evaluates key performance indicators such as Mean Absolute Error (MAE) and Root Mean Square Error (RMSE), and sends these prediction deviation values and indicators back to the local user terminal. Simultaneously, the system monitors the prediction process in real time. If the prediction deviation exceeds a preset safety threshold, or if a prediction task fails (e.g., due to missing data or interface timeouts), the system triggers anomaly detection logic and classifies the anomaly by severity. Based on a preset alarm strategy, the system sends anomaly diagnostic reports (including anomaly type, occurrence time, and core indicator degradation) to relevant algorithm engineers and business managers via email and other channels. Recipients quickly intervene and investigate based on the feedback, forming a complete closed loop of "monitoring—feedback—repair—verification." This 4-hour automated inspection mechanism ensures that model degradation issues are detected within a very short time window, preventing disruption to the normal operation of the production line.
[0121] V. Abnormal Moisture Detection
[0122] Moisture anomaly detection is achieved based on formation stage voltage data shared with the capacity prediction task. It is an additional function of capacity prediction, improving production line efficiency and reducing the risk of batch failures without increasing data acquisition. Moisture anomaly detection in the cells under test specifically includes the following:
[0123] The voltage time series of the battery cell at each step of the formation process is obtained and denoted as U(t), where t represents the sampling time in the formation process. A control set is constructed based on historical samples. The control set includes an abnormal sample set {U_d(t)} with known excessive moisture content, i.e., the first voltage time series, and a normal sample set {U_n(t)} with known normal moisture content, i.e., the second voltage time series. At each sampling time t, the absolute value of the difference between the average voltage of the abnormal sample set and the normal sample set is calculated, and the calculation result is smoothed by a sliding window to obtain the pressure difference curve ΔU(t) changing with time: ΔU(t) = |mean(U_d(t))-mean(U_n(t))|. Within the entire formation process, the maximum value of the pressure difference curve ΔU(t) is taken, and the time corresponding to the maximum value is determined as the sensitive time point t. * That is, the target time: t * = argmax_t ΔU(t); with the sensitive time point t * Centered on, in the interval [t] * -δ, t *The sensitive time window W, i.e., the target time period, is determined within [+δ], where δ is the preset half-width of the window. Within the sensitive time window W, based on the voltage distribution of the normal sample set, the judgment threshold V, i.e., the moisture content voltage threshold, is determined using the mean and standard deviation criteria: μ = mean(U_n(t)), t ∈ W; σ = std(U_n(t)), t ∈ W; V = μ-k·σ; where k is a preset confidence coefficient, and as an optional implementation, k is set to 3. Thus, the judgment threshold V bound to the sensitive time window W is obtained, forming a (W, V) time window-threshold two-dimensional judgment criterion. The voltage value U_test(t) within the sensitive time window W of the cell under test is obtained, and U_test(t) is compared with the judgment threshold V: if U_test(t) < V, the moisture content of the cell is determined to be abnormal, and the moisture abnormality indicator moisture_value is output as abnormal; if U_test(t) ≥ V, the moisture content of the cell is determined to be normal, and the moisture abnormality indicator moisture_value is output as normal.
[0124] In this step, the judgment rule for moisture anomaly detection adopts a fixed threshold method: First, the voltage difference curves of known moisture-abnormal batteries and normal batteries in the formation stage are analyzed to determine the formation stage time point corresponding to the maximum voltage difference; based on this time point, the corresponding voltage threshold is obtained using the 3σ criterion. A moisture anomaly detection interface is added to the capacity prediction process, and the above judgment time point and voltage threshold are set: for the cell under test, if its voltage at this time point is lower than the threshold, it is judged as moisture abnormal (NG); if it is higher than the threshold, it is judged as moisture normal (OK). The judgment result is finally fed back to the production line through FMS (Factory Management System).
[0125] VI. Combined Output of Capacity Prediction and Moisture Detection
[0126] Based on the cross-results of capacity prediction deviation and moisture anomaly identification, a joint output is given: when the two determinations are consistent (both are normal or both are abnormal), the consistent conclusion is output; when the two determinations are inconsistent, an anomaly prompt is generated, for example, an "abnormal" identifier is output and a re-inspection is triggered. For samples with abnormal prediction deviations, moisture re-inspection is triggered first. After the re-inspection results are returned, they are used to update the determination time point and voltage threshold used for moisture detection. At the same time, samples with abnormal moisture are fed back into the training data of the capacity prediction task to optimize the model's prediction ability in the abnormal range, thereby forming a closed-loop optimization mechanism of mutual feedback between the capacity prediction task and the moisture detection task. As an optional implementation, the re-inspection process includes: triggering moisture re-inspection first for cell samples with abnormal prediction deviations; returning the moisture re-inspection results to update the sensitive time window W and determination threshold V; and feeding back cell samples with abnormal moisture to the training dataset of the capacity prediction model to optimize the prediction accuracy of the capacity prediction model in the abnormal range, thereby forming a closed-loop optimization mechanism of mutual feedback between the capacity prediction task and the moisture detection task.
[0127] The execution order of each step in the above embodiments can be adjusted according to actual needs, and some steps can be executed in parallel (such as capacity prediction feature extraction and moisture detection feature extraction can be performed in parallel based on the same original data). This application does not limit this.
[0128] This application constructs a complete feature library and feature selection process based on battery electrochemical characteristic curves, which can quickly support the construction of capacity prediction models and systematically characterize the short-term and long-term electrical performance and product safety of cells using the capacity prediction scheme of this application, forming a complete standardized characterization method. From data access, model construction and optimization, model deployment to model monitoring, this application forms a complete, efficient, robust, and replicable real-time battery capacity prediction solution, realizing an end-to-end closed loop. For the first time, it combines an AI anomaly detection mechanism in a cloud-based big data platform to achieve integrated processing of lithium battery capacity prediction and real-time monitoring, enabling the solution to maintain high prediction accuracy while possessing strong robustness, self-iterative optimization capabilities, and interpretability.
[0129] In terms of industrial application, the solution described in this application has been implemented on a single production line and is gradually being extended to multiple production lines. While ensuring the accuracy of capacity prediction, the capacity testing time can be shortened to less than 0.6 hours, which is a significant advantage compared to the 1 to 2 hours prediction time of existing solutions in the industry. This optimizes line construction costs and energy management, achieving the technical effect of cost reduction and efficiency improvement.
[0130] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
[0131] See Figure 2 The schematic diagram of the moisture anomaly battery detection process shown below illustrates the system architecture and data flow of this solution in a real production environment. See also... Figure 2The implementation plan includes a formation process verification component for detecting moisture-affected batteries, and a system deployment and operation component. During the formation process verification phase, historical data from known moisture-affected batteries and normal batteries are collected. The differences in the ICA curves of the two types of batteries during the formation process are analyzed and compared to determine the sensitive formation time point and corresponding voltage threshold for screening moisture-affected batteries. This serves as the basis for the judgment criteria used in subsequent system deployment. During the system deployment and operation phase, data exchange between the office and production line is achieved through cross-regional data transmission: data from the office is aggregated via an office Linux server and then interacts with the production line's host computer system through same-regional data transmission. The host computer system divides the battery cells into two parts according to a preset allocation ratio: one part of the battery cells (referred to as group A, accounting for 10%) enters the capacity setting machine to perform a complete capacity setting test (i.e., full capacity setting) if the model judgment result is "model normal"; the remaining battery cells (referred to as group B, accounting for 90%), if the model judgment result is "model abnormal", send the relevant data to the algorithm model deployment server according to the predicted formula of the formation and partial capacity setting step (i.e., "semi-release prediction formula"). The server then calls the deployed capacity prediction model and moisture anomaly detection function for processing. The algorithm model deployment server interacts with the Fms / mes system via a web API: the algorithm model deployment server sends capacity prediction results and moisture anomaly detection results back to the Fms / mes system via the web API interface; if the algorithm model deployment server determines that the cell has any anomaly (including prediction deviation anomaly and moisture anomaly), the corresponding anomaly identifier is fed back to the capacity setter via the Fms / mes system, triggering the cell to enter the full capacity setter re-inspection process, thereby realizing the linkage between capacity prediction and moisture detection results and the production line capacity setter test. At the algorithm model level, this application adds features such as the interception formation time point and voltage corresponding to the moisture anomaly battery to the original model feature set, in order to expand the model's ability to identify moisture anomaly batteries; at the interface level, this solution adds a waterAnomaly interface to the original prediction interface to return the moisture anomaly detection result of the cell. The return value of this interface includes two preset status codes (such as 100 and 250), which correspond to different moisture detection results. In addition, the system is equipped with a monitoring module for continuous monitoring of the prediction and judgment link: the monitoring program obtains relevant operating data through the SFTP server, and once an anomaly is detected (such as abnormal model judgment, prediction deviation exceeding the threshold, etc.), the anomaly information is sent to the relevant algorithm engineers, process engineers and other responsible personnel via email, so as to intervene in the investigation and handling in a timely manner, forming a complete monitoring feedback loop.
[0132] Figure 3This diagram illustrates the mapping relationship between ICA curve features and cell capacity, explaining how features extracted from the ICA curve are mapped using an algorithmic model to obtain cell capacity prediction results. (See also...) Figure 3 , Figure 3 The left side shows the ICA curve, with the horizontal axis representing voltage (V) and the vertical axis representing the differential of voltage with respect to capacity, dQ / dV (Ah / V). The graph illustrates ICA curves measured for multiple cells during formation or capacitance testing. Based on this ICA curve, derived features such as peak position voltage, peak value, peak position voltage difference, and peak value difference can be extracted, as well as the area under the incremental capacity curve (AUC). Vertical dashed lines in the graph indicate the positions of several characteristic peaks on the ICA curve, illustrating the source of the extracted features such as peak position voltage. Figure 3 The right side shows the capacity distribution chart, with the horizontal axis representing the sample number and the vertical axis representing the true capacity of the battery cell. The scatter points in the chart represent the true capacity distribution of multiple battery cell samples. Several sample points marked with circles are used to illustrate the correspondence between the predicted capacity obtained after algorithm mapping and the true capacity of that part of the samples. Figure 3 The "algorithm mapping" shown in the middle indicates that features extracted from the ICA curve on the left, such as peak voltage, peak value, peak voltage difference, peak difference, and area under the curve, are input into the capacity prediction model of this application. After model calculation, the predicted capacity of the battery cell is obtained. This predicted capacity is compared with... Figure 3 The actual capacity of the corresponding samples in the capacity distribution diagram on the right has a corresponding relationship, which is used to illustrate that the capacity prediction method based on ICA curve characteristics in this application can achieve an effective mapping from cell characteristics to capacity.
[0133] Figures 4(1)-4(9) show several schematic diagrams of a feature extraction and model building process. The process is a processing flow under the tree ensemble learning model framework, which includes battery characteristic curve analysis, battery characteristic curve feature extraction, battery characteristic curve feature selection, model building evaluation and optimization, and model iteration. As shown in Figure 4(1), the upper part of the figure is: the horizontal axis is time and the vertical axis is voltage; the lower part is: the horizontal axis is time and the vertical axis is temperature. Both parts show the curves of voltage and temperature changes over time of multiple cells measured in the second step of formation (marked "step_2" in the figure). In the battery characteristic curve analysis step, the time series curves of voltage and temperature of multiple cells are summarized and analyzed. As shown in Figure 4(2), the horizontal axis represents time (showing multiple times from 3:00 to 21:00, with a three-hour interval in between), and the vertical axis represents values (the value range in the figure is approximately 12.0-16.0). In the battery characteristic curve feature extraction stage, a fully automatic feature extraction method is adopted to extract statistical features such as maximum value (Max), median (Median), and mean (Mean) from the curve. At the same time, combined with each work step number, temperature-related statistical features, voltage-related statistical features, and electrochemical reaction-related features are extracted respectively. As shown in Figure 4(3), in the battery characteristic curve feature selection stage, for the extracted real features (such as X1, X2, X3, etc.) and their corresponding shadow features (such as X1_shadow, X2_shadow, X3_shadow, etc.), the feature importance is input. Training is performed using models with output capabilities of importance (such as XGBoost, LightGBM, etc.); feature selection is performed by comparing the importance of real features and their shadow features, and the feature importance obtained in multiple iterations is combined to select features with higher importance as target features for subsequent modeling; as shown in Figure 4 (4), in the model building, evaluation and optimization stage, multiple decision trees (result1, result2...resultN) are constructed using the full feature dataset obtained after selection as input, and the output results of each decision tree are fused by majority voting or weighted averaging to obtain the final prediction result (FinalResult); in the model iteration stage, the model is continuously iterated and optimized based on the aforementioned evaluation results.
[0134] The voltage curve features of the formation charging stage and the constant capacity discharge stage are extracted according to different process steps. The extracted features include various statistical features, geometric features and incremental capacity features, and a linear or nonlinear mapping relationship between the features and the actual capacity is established accordingly. See Figure 4 (5), which shows the voltage (expressed as state of charge SOC, ranging from 0% SOC to 100% SOC) curve of the "sampling formula" over time. The curve segment marked as HC corresponds to the formation charging stage, and the curve segment marked as DR corresponds to the constant capacity discharge stage. Under this sampling formula, the actual capacity of the cell can be measured after a complete constant capacity discharge test. See Figure 4 (5), which shows the voltage-SOC curve of the "predictive formula". It also includes two stages, HC and DR. However, the DR stage only needs to run to a part of the process steps (corresponding to the data acquisition range of the first few process steps of the constant capacity stage in the previous embodiment), and does not need to run to the end of the complete constant capacity discharge.
[0135] See Figure 4(6), where the horizontal axis is time and the vertical axis is voltage. It shows the voltage range increment capacity curve obtained based on the voltage data of the HC stage. The voltage range used for feature extraction is marked by the red shaded area in the figure. In Figure 4(7), the horizontal axis should be voltage (range 1.6-2.6, unit V), and the vertical axis is the differential of voltage with respect to capacity dQ / dV (unit Ah / V). This figure shows the increment capacity curve (dQ / dV curve) extracted based on this range. See Figure 4(8), where the horizontal axis is time and the vertical axis is voltage (range approximately 4.120V-4.150V in the figure). This figure shows the voltage-time curve of the DR stage. The start and end positions of the feature extraction corresponding to this stage are marked by dots in the figure. In Figure 4 (9), the horizontal axis represents time and the vertical axis represents temperature (the range in the figure is approximately 35-44, and the unit should be degrees Celsius). It also shows a cluster of curves obtained based on the DR stage data of multiple battery cells, which is used to illustrate that the feature extraction scheme of this application can be applied to the batch feature extraction and modeling of multiple battery cell samples.
[0136] This application also provides a moisture detection model training device, see [link to relevant documentation]. Figure 5 The diagram shown depicts the structural block of a moisture detection model training device 500, which is configured as follows:
[0137] A first voltage time series and a second voltage time series under normal moisture content conditions are obtained during the battery cell formation process. A voltage difference sequence is determined based on the first and second voltage time series, and a target time is determined based on the voltage difference sequence. The voltage difference corresponding to the target time is greater than the voltage difference corresponding to other times in the formation process. A target time period is determined based on the target time, and a moisture content voltage threshold is determined based on the second time series corresponding to the target time period. Training data is determined based on the second time series and the moisture content voltage threshold, and the training data is used to train the model to obtain a moisture detection model. The moisture detection model is used in the aforementioned battery detection device.
[0138] In this possible implementation, a first voltage time series and a second voltage time series under normal moisture content conditions are obtained during the cell formation process. The abnormal moisture content condition refers to a state where the internal moisture content of the battery exceeds a preset standard; the normal moisture content condition refers to a state where the internal moisture content of the battery does not exceed the preset standard. The first and second voltage time series refer to the voltage value sequences collected chronologically within the corresponding time periods of the formation process for batteries in the aforementioned two states.
[0139] A voltage difference sequence is determined based on the first voltage time series and the second voltage time series. A target time is determined based on the voltage difference sequence, where the voltage difference at the target time is greater than the voltage difference at other times during the formation process. The voltage difference sequence refers to the numerical sequence formed by subtracting the voltage values at the same time from those values in the first and second voltage time series and then arranging them in chronological order. The target time is the time corresponding to the maximum voltage difference in the voltage difference sequence, which represents the point in time where the difference in battery voltage performance is most significant between abnormal and normal moisture content conditions.
[0140] A target time period is determined based on the target time, and a moisture content voltage threshold is determined according to the second voltage time series corresponding to the target time period. Here, the target time period refers to a time interval determined based on the target time; the moisture content voltage threshold is a voltage reference value determined based on the voltage value of the battery under normal moisture content conditions within the target time period, used to distinguish whether the battery's moisture content is normal.
[0141] Training data is determined based on the second voltage time series and the moisture content voltage threshold. The training data is then used to train the model, resulting in a moisture detection model. The training data refers to data samples constructed based on the second voltage time series and the moisture content voltage threshold for model training. The moisture detection model is the same as the one used in the aforementioned battery detection device, which establishes a mapping relationship between moisture detection features and the moisture content voltage threshold.
[0142] The moisture detection model training device provided in this embodiment acquires the voltage time series of batteries during the formation process under abnormal and normal moisture content conditions, respectively. Based on the voltage difference sequence between the two conditions, it determines the target time when the voltage difference is most significant, thereby determining the target time period. This allows the trained moisture detection model to focus on the time interval during the formation process where battery voltage is most significantly affected by moisture content, improving the model's ability to distinguish abnormal moisture content conditions. Furthermore, by determining the moisture content voltage threshold based on the battery voltage data during the target time period under normal moisture content conditions, and constructing training data accordingly for model training, this provides a specific and feasible training method for acquiring the moisture detection model in the aforementioned battery detection device, which is beneficial for improving the detection accuracy of the moisture detection model in practical applications.
[0143] According to the embodiments of this application, the battery testing device calculates the capacity judgment result and the moisture detection result at the same time. When the two results are consistent, the capacity prediction result and the moisture detection result are obtained. Through cross-task system collaboration and mutual verification, the capacity determination time is shortened while ensuring the accuracy of the capacity. Without increasing the hardware cost, the production line's ability to intercept high moisture batteries is improved, and the risk of batch failure is effectively reduced.
[0144] This application also provides a battery testing system, including a cloud and a user terminal; the cloud and the user terminal are communicatively connected; the cloud includes the aforementioned battery testing device.
[0145] This application also provides a battery detection method, see [link to relevant documentation]. Figure 6 The flowchart shown illustrates a battery detection method, which includes:
[0146] Step S601: Receive the operating parameters of the battery cell under test in the charging and discharging process from the production line end, perform statistical analysis on the operating parameters, and obtain the battery cell under test with capacity prediction characteristics and moisture detection characteristics.
[0147] Step S602: Input the capacity prediction feature into the pre-trained capacity prediction model to obtain the capacity prediction result of the cell under test; input the moisture detection feature into the pre-trained moisture detection model to obtain the moisture content voltage threshold of the cell under test within the target time period.
[0148] Step S603 determines whether the capacity prediction result meets the preset capacity threshold range, and obtains the capacity judgment result, which is either a normal state or an abnormal state; compares the moisture content voltage threshold and the voltage value of the cell under test within the target time period to obtain the moisture detection result; the moisture detection result is either a normal state or an abnormal state cell under test.
[0149] Step S604: Based on the capacity judgment result and the moisture detection result, determine the battery test result, which includes consistent test results and inconsistent test results.
[0150] The functions of each step in the methods of the embodiments of this application can be found in the corresponding descriptions of the above-mentioned apparatus, and they have corresponding beneficial effects, which will not be repeated here.
[0151] This application also provides a method for training a moisture detection model; see [link to relevant documentation]. Figure 7 The flowchart shown illustrates the training method for the moisture detection model, which includes:
[0152] Step S701: Obtain the first voltage time series of the battery cell under abnormal moisture content and the second voltage time series under normal moisture content during the formation process.
[0153] Step S702: Determine a voltage difference sequence based on the first voltage time sequence and the second voltage time sequence, and determine a target time based on the voltage difference sequence; the voltage difference corresponding to the target time is greater than the voltage difference corresponding to other times in the formation process;
[0154] Step S703: Determine the target time period based on the target time, and determine the moisture content voltage threshold according to the second time series corresponding to the target time period;
[0155] Step S704: Determine training data based on the second time series and the moisture content voltage threshold, and use the training data to train the model to obtain a moisture detection model; the moisture detection model is used in the battery detection device described above.
[0156] The functions of each step in the methods of the embodiments of this application can be found in the corresponding descriptions of the above-mentioned apparatus, and they have corresponding beneficial effects, which will not be repeated here.
[0157] Figure 8 This is a block diagram of an electronic device used to implement embodiments of this application. For example... Figure 8As shown, the electronic device includes a memory 801 and a processor 802. The memory 801 stores a computer program that can run on the processor 802. When the processor 802 executes the computer program, it implements the method described in the above embodiments. The number of memories 801 and processors 802 can be one or more.
[0158] The electronic device also includes:
[0159] The communication interface 803 is used to communicate with external devices and exchange and transmit data.
[0160] If the memory 801, processor 802, and communication interface 803 are implemented independently, they can be interconnected via a bus to communicate with each other. This bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0161] Optionally, in a specific implementation, if the memory 801, processor 802, and communication interface 803 are integrated on a single chip, then the memory 801, processor 802, and communication interface 803 can communicate with each other through an internal interface.
[0162] This application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method provided in this application.
[0163] This application provides a computer program product, wherein the computer program product includes a computer program, which, when executed by a processor, implements the method provided in this application embodiment.
[0164] This application also provides a chip including a processor for calling and executing instructions stored in a memory, causing a communication device with the chip installed to perform the method provided in this application.
[0165] This application also provides a chip, including: an input interface, an output interface, a processor, and a memory. The input interface, output interface, processor, and memory are connected through an internal connection path. The processor is used to execute code in the memory. When the code is executed, the processor is used to execute the method provided in the application embodiment.
[0166] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. General-purpose processors can be microprocessors or any conventional processor. It is worth noting that the processor can be a processor supporting Advanced Reduced Instruction Set Machines (ARM) architecture.
[0167] Further, optionally, the aforementioned memory may include read-only memory and random access memory. The memory may be volatile memory or non-volatile memory, or may include both. Non-volatile memory may include read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which serves as an external cache. By way of example, but not limitation, many forms of RAM are available. Examples include Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Sync Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
[0168] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions according to this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another.
[0169] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples.
[0170] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0171] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process. Furthermore, the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functionality involved.
[0172] The logic and / or steps described in the flowchart or otherwise herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus or device (such as a computer-based system, a processor-included system or other system that can fetch and execute instructions from, an instruction execution system, apparatus or device).
[0173] It should be noted that the data involved in this application (including but not limited to data used for analysis, data stored, data displayed, etc.) are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.
[0174] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. All or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware, the program being stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiments.
[0175] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. This storage medium can be a read-only memory, a disk, or an optical disk, etc.
[0176] The above description is merely an exemplary embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope described in this application, and these should all be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A battery testing device, characterized in that, When used in the cloud, the device is configured to: The system receives the operating parameters of the battery cell under test from the production line during the charging and discharging process, performs statistical analysis on the operating parameters, and obtains capacity prediction characteristics and moisture detection characteristics. The capacity prediction feature is input into the pre-trained capacity prediction model to obtain the capacity prediction result of the battery cell under test. The moisture detection feature is input into the pre-trained moisture detection model to obtain the moisture content voltage threshold of the battery cell under test in the target time period. Determine whether the capacity prediction result meets the preset capacity threshold range to obtain a capacity judgment result, which is either a normal state or an abnormal state; compare the moisture content voltage threshold and the voltage value of the cell under test within the target time period to obtain a moisture detection result, which is either a normal state or an abnormal state; Based on the capacity assessment result and the moisture detection result, the battery test result is determined, including consistent test results and inconsistent test results.
2. The apparatus according to claim 1, characterized in that, Statistical analysis of the operating parameters yields capacity prediction characteristics and moisture detection characteristics, including: For the operating parameters in the charging and discharging process, feature extraction is performed according to each step to obtain feature extraction results; The feature extraction results are augmented to obtain the feature augmentation results; The importance of the expanded features is ranked, and the capacity prediction features and moisture detection features are determined based on the ranking results.
3. The apparatus according to claim 2, characterized in that, The charging and discharging process includes a formation process and a capacity stabilization process; the feature expansion results are ranked by importance, and capacity prediction features and moisture detection features are determined based on the ranking results, including: Based on the correlation between the feature expansion results and the battery capacity, capacity prediction features are determined from the feature expansion results of the formation process and the capacity setting process; Based on the correlation between the feature expansion results and the battery moisture content, moisture detection features are determined from the feature expansion results of the formation process.
4. The apparatus according to claim 2, characterized in that, The operating parameters include at least one or more of the following: current, voltage, temperature, cumulative charging energy, and cumulative discharging energy. For the operating parameters in the charging and discharging process, feature extraction is performed according to each step to obtain the feature extraction results, including: Based on any operating parameter of each step in the charging and discharging process, one or more of the following features are extracted: maximum value, minimum value, mean, variance, kurtosis, skewness, and range, to obtain the feature extraction results.
5. The apparatus according to claim 2, characterized in that, The feature extraction results include statistical features, geometric features, and electrochemical features; The feature extraction results are augmented to obtain feature augmentation results, including: The time series data corresponding to the statistical features, geometric features, and electrochemical features are combined and processed to obtain new features; The feature expansion results are determined based on the statistical features, geometric features, electrochemical features, and newly added features.
6. The apparatus according to claim 1, characterized in that, The device is further configured to: determine that the battery detection result is inconsistent when the capacity judgment result is normal and the moisture detection result is abnormal, or when the capacity judgment result is abnormal and the moisture detection result is normal. Generate an error message, re-examine the results corresponding to the error status, and obtain the re-examination results.
7. The apparatus according to claim 1, characterized in that, The device is further configured to determine that the battery detection result is consistent with the detection result if both the capacity judgment result and the moisture detection result are in a normal state or both are in an abnormal state.
8. The apparatus according to claim 7, characterized in that, If both the capacity determination result and the moisture detection result are normal, the device is further configured to: Continue testing the next cell until all cells in the current batch have been tested.
9. The apparatus according to claim 1, characterized in that, The preset capacity threshold range is the rated capacity range or the theoretical capacity range; Determining whether the capacity prediction result meets a preset capacity threshold range to obtain a capacity determination result includes: When the capacity prediction result meets the preset capacity threshold range, the capacity judgment result is determined to be in a normal state; When the capacity prediction result does not meet the preset capacity threshold range, the capacity judgment result is determined to be an abnormal state.
10. The apparatus according to claim 1, characterized in that, By comparing the moisture content voltage threshold with the voltage value of the battery cell under test during the target time period, a moisture detection result is obtained, including: If the voltage value of the battery cell under test is less than the moisture content voltage threshold during the target time period, the moisture detection result is determined to be abnormal. If the voltage value of the battery cell under test during the target time period is greater than or equal to the moisture content voltage threshold, then the moisture detection result is determined to be normal.
11. The apparatus according to claim 1, characterized in that, The device is also configured to: Generate a feedback instruction corresponding to the battery test result; the feedback instruction is used to instruct the cloud to send the battery test result to the production line.
12. The apparatus according to claim 11, characterized in that, Generate feedback instructions corresponding to the battery detection results, including: A first evaluation index is generated for the capacity prediction result, and a second evaluation index is generated for the moisture content voltage threshold. Based on the capacity prediction result and the first evaluation index, as well as the moisture content voltage threshold and the second evaluation index, the feedback instruction is determined; the first evaluation index is used to characterize the prediction accuracy and / or prediction quality of the capacity prediction result; the second evaluation index is used to characterize the prediction accuracy and / or prediction quality of the moisture content voltage threshold.
13. The apparatus according to claim 1, characterized in that, Receive operating parameters from the production line of the battery cell under test during the charging and discharging process, including: Using SFTP, it accepts preset format files from the production line. The preset format file is parsed to obtain the operating parameters of the battery cell under test during the charging and discharging process.
14. A moisture detection model training device, characterized in that, The device is configured to: The first voltage time series and the second voltage time series under the normal moisture content state of the battery cell were obtained during the formation process. A voltage difference sequence is determined based on the first voltage time sequence and the second voltage time sequence, and a target time is determined based on the voltage difference sequence; the voltage difference corresponding to the target time is greater than the voltage difference corresponding to other times in the formation process. Based on the target time, a target time period is determined, and based on the second time series corresponding to the target time period, a moisture content voltage threshold is determined; Training data is determined based on the second time series and the moisture content voltage threshold, and the model is trained using the training data to obtain a moisture detection model; the moisture detection model is used in the battery detection device according to any one of claims 1-10.
15. A battery testing system, characterized in that, It includes a cloud and a user terminal; the cloud and the user terminal are communicatively connected; the cloud includes the battery detection device according to any one of claims 1-14.
16. A battery testing method, characterized in that, include: The system receives the operating parameters of the battery cell under test from the production line during the charging and discharging process, performs statistical analysis on the operating parameters, and obtains capacity prediction characteristics and moisture detection characteristics. Input the capacity prediction feature into the pre-trained capacity prediction model to obtain the capacity prediction result of the cell under test; input the moisture detection feature into the pre-trained moisture detection model to obtain the moisture content voltage threshold of the cell under test in the target time period. Determine whether the capacity prediction result meets the preset capacity threshold range to obtain a capacity judgment result, which is either a normal state or an abnormal state; compare the moisture content voltage threshold and the voltage value of the cell under test within the target time period to obtain a moisture detection result, which is either a normal state or an abnormal state; Based on the capacity assessment result and the moisture detection result, the battery test result is determined, including consistent test results and inconsistent test results.
17. A method for training a moisture detection model, characterized in that, include: The first voltage time series and the second voltage time series under the normal moisture content state of the battery cell were obtained during the formation process. A voltage difference sequence is determined based on the first voltage time sequence and the second voltage time sequence, and a target time is determined based on the voltage difference sequence; the voltage difference corresponding to the target time is greater than the voltage difference corresponding to other times in the formation process. Based on the target time, a target time period is determined, and based on the second time series corresponding to the target time period, a moisture content voltage threshold is determined; Training data is determined based on the second time series and the moisture content voltage threshold, and the model is trained using the training data to obtain a moisture detection model; the moisture detection model is used in the battery detection device according to any one of claims 1-13.
18. An electronic device comprising a memory, a processor, and a computer program stored in the memory, wherein the processor, when executing the computer program, implements the method of claim 16 or 17.
