Power battery anomaly detection method and related device

Through the fusion of temporal autoencoders and local density anomaly detection models, a dynamic anomaly detection threshold decision chart is established, which solves the problem of low power battery detection accuracy, achieves accurate anomaly detection of power batteries, and improves safety and endurance. .

CN118707346APending Publication Date: 2024-09-27INST OF AUTOMATION CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410723861.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The accuracy of power battery anomaly detection is low, easy to miss, and difficult to effectively apply. Especially when the power battery charge and discharge data has massive multi-source characteristics and lacks annotation information, conventional data-driven methods are difficult to optimize the preparation process and reduce costs.

Method used

The temporal autoencoder anomaly detection model, the first local density anomaly detection model and the second local anomaly detection model are used to establish a dynamic anomaly detection threshold by fusing the residual index and density index to form an anomaly threshold decision chart for accurate detection of power. Battery abnormality.

Benefits of technology

It improves the accuracy of abnormal detection of power batteries, reduces the impact of defective and defective products, and improves the safety of power battery packs and the endurance of new energy vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118707346A
    Figure CN118707346A
Patent Text Reader

Abstract

The invention belongs to a detection method, and provides a power battery anomaly detection method and a related device aiming at the technical problems of low accuracy, easy missing detection and difficulty in effective application during power battery anomaly detection, and the power battery anomaly detection method and the related device are used for detecting the anomaly of a power battery by means of a time sequence auto-encoder anomaly detection model, a first local density anomaly detection model and a second local density anomaly detection model. The abnormal condition of the power battery is monitored, a data-driven machine learning model is constructed from two types of features of form and distribution, the abnormal degree of dynamic characteristics of the power battery is described, a residual index and a density index are generated, a fusion index of the two indexes is established through matching degree weighting, and a decision diagram of a dynamic abnormal detection threshold value is formed. According to the method, accurate anomaly detection of the power battery under an unsupervised condition is supported, in practical application, the influence of defective products and defective products of the power battery can be reduced, and the safety and endurance of the power battery PACK and a new energy automobile are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a detection method, and specifically to a power battery abnormality detection method and related devices. Background Art

[0002] Power batteries have the characteristics of high power, recyclability and long life, and are widely used in electric vehicles, electric bicycles and industrial power systems.

[0003] At present, power battery manufacturers often implement abnormal power battery detection based on fixed detection thresholds based on the capacity, internal resistance and other characteristics of the power battery. The accuracy is low and there is a phenomenon of missed detection. It is especially difficult to detect anomalies caused by local offsets. In addition, power battery charging and discharging data has massive multi-source characteristics and lacks annotation information. Conventional data-driven methods are difficult to apply effectively, which is not conducive to optimizing the power battery manufacturing process and reducing costs. Summary of the invention

[0004] The present application aims to solve the technical problems of low accuracy, easy missed detection and difficulty in effective application when detecting abnormalities in power batteries, and provides a power battery abnormality detection method and related devices.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application proposes a method for detecting abnormality of a power battery, comprising:

[0007] Input a number of power battery charging and discharging process data into the time series autoencoder anomaly detection model and the first local density anomaly detection model, and then pass through the second local anomaly detection model to obtain a fusion index for describing the abnormality of the power battery;

[0008] By establishing a dynamic abnormality detection threshold and combining the fusion index, determining whether the power battery is abnormal;

[0009] The input of the second local anomaly detection model is a residual index and a density index;

[0010] The output of the time series autoencoder anomaly detection model is a residual indicator, which is used to describe the morphological differences between the dimensions of the power battery;

[0011] The output of the first local density anomaly detection model is a density index, which is used to describe the distribution differences of power batteries.

[0012] Furthermore, the training method of the time series autoencoder anomaly detection model includes:

[0013] Based on the charging and discharging process data of any batch of power batteries, an unlabeled data set is formed;

[0014] Calibrate a training set and a validation set in the unlabeled dataset;

[0015] Training the time series autoencoder anomaly detection model based on the training set, and recording the training parameter configuration;

[0016] Based on the verification set, the training parameter configuration is adopted to search for the structural parameters of the time series autoencoder anomaly detection model until a preset optimal effect is achieved on the verification set, thereby obtaining a trained time series autoencoder anomaly detection model.

[0017] Furthermore, the training method of the first local density anomaly detection model includes:

[0018] Based on the validation set, the hyperparameters of the first local density anomaly detection model are searched until the preset optimal effect is achieved on the validation set. The current hyperparameters are recorded as optimized hyperparameters, which are used to calculate the density index to complete the training of the first local density anomaly detection model.

[0019] Furthermore, forming an unlabeled data set includes:

[0020] Define each data in the charging and discharging process data of any batch of power batteries as a sample;

[0021] According to the discharge cut-off voltage, each sample is padded to the length of the longest discharge voltage sequence;

[0022] Each sample is resampled at a fixed interval to make the sampling time points of the discharge voltage sequences of all samples consistent.

[0023] Furthermore, calibrating a training set and a validation set in the unlabeled data set includes:

[0024] Establish a forward and reverse rule set, and use the forward and reverse rule set to calibrate the training set and validation set in the unlabeled dataset.

[0025] Furthermore, the step of establishing a dynamic abnormality detection threshold and combining the fusion index to determine whether the power battery is abnormal includes:

[0026] The sample window length is fixed, and the deviation value of the fusion index of each sample compared with the fusion index in the sample window is calculated in turn. The time point when the deviation value exceeds the allowable range of the statistical criterion is retrieved as the first anomaly detection threshold;

[0027] Setting a sample window length variation range, calculating a first anomaly detection threshold value with multiple different sample window lengths, forming an anomaly threshold decision diagram, and calculating a second anomaly detection threshold value;

[0028] Abnormal batteries are screened based on the second abnormality detection threshold.

[0029] Furthermore, the temporal autoencoder anomaly detection model adopts an encoder-decoder structure;

[0030] The residual index is:

[0031]

[0032] in, is the loss function, x is the sample of the power battery discharge voltage sequence, f d is the decoder, f e is the encoder, θ e is the structural hyperparameter of the encoder, θ d is the structural hyperparameter of the decoder;

[0033] The first local density anomaly detection model adopts a local anomaly factor model;

[0034] The density index is:

[0035]

[0036] Among them, ds(x) is the density index, is the optimal number of nearest neighbors obtained through the validation set search.

[0037] In a second aspect, the present application proposes a power battery abnormality detection system, comprising:

[0038] A detection module, used to input a number of power battery charging and discharging process data into a time series autoencoder anomaly detection model and a first local density anomaly detection model, and then obtain a fusion index for describing the abnormality of the power battery sample through a second local anomaly detection model;

[0039] A judgment module, used to determine whether the power battery is abnormal by establishing a dynamic abnormality detection threshold and combining the fusion index;

[0040] The input of the second local anomaly detection model is a residual index and a density index;

[0041] The output of the time series autoencoder anomaly detection model is a residual indicator, which is used to describe the morphological differences between the dimensions of the power battery data samples;

[0042] The output of the first local density anomaly detection model is a density index, which is used to describe the distribution differences between power battery data samples.

[0043] In a third aspect, the present application provides an electronic device, comprising:

[0044] Memory for storing computer programs;

[0045] A processor is used to implement the steps of the above-mentioned power battery abnormality detection method when executing the computer program.

[0046] In a fourth aspect, the present application proposes a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned power battery abnormality detection method are implemented.

[0047] Compared with the prior art, this application has the following beneficial effects:

[0048] The present application proposes a power battery anomaly detection method, which uses a time series autoencoder anomaly detection model, a first local density anomaly detection model and a second local anomaly detection model to monitor the abnormal conditions of the power battery, constructs a data-driven machine learning model from two types of features, morphology and distribution, describes the abnormality of the dynamic characteristics of the power battery, generates residual indicators and density indicators, and establishes a fusion indicator of the two through matching weighting to form a decision diagram of the dynamic anomaly detection threshold, supports accurate anomaly detection of power batteries under unsupervised conditions, and in practical applications can reduce the impact of defective and substandard power batteries, and improve the safety and endurance of power battery PACKs and new energy vehicles.

[0049] The present application also proposes a power battery abnormality detection system, as well as an electronic device and a computer storage medium, which have all the advantages of the above-mentioned power battery abnormality detection method. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 This is a schematic diagram of the first process of the power battery abnormality detection method of this application;

[0052] Figure 2 This is a second flow chart of the power battery abnormality detection method of the present application;

[0053] Figure 3 A connection diagram of the power battery abnormality detection system of the present application. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0055] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0056] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0057] In the description of the embodiments of the present application, it should be noted that if the terms "upper", "lower", "horizontal", "inner", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, or the orientation or position relationship in which the invented product is usually placed when used. It is only for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0058] In addition, if the term "horizontal" appears, it does not mean that the component must be absolutely horizontal, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", which does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0059] In the description of the embodiments of the present application, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0060] Power batteries have the characteristics of high power, recyclability, and long life, and are widely used in electric vehicles, electric bicycles, and industrial power systems. Due to the numerous steps and complex processes in the preparation of power batteries, the consistency of their quality is often difficult to guarantee, and the emergence of abnormal power batteries seriously affects the safety of the power system. Taking lithium-ion power batteries as an example, due to the limited energy of single power batteries, power battery packs are often formed through multiple stages of series and parallel connection. Abnormal power batteries will directly cause the power battery pack to form an internal circuit, accelerate power consumption, and even cause overheating and explosion.

[0061] The charge and discharge characteristic curve of power batteries is closely related to their safety. The voltage change curve can be obtained by performing charge and discharge tests on power batteries. In the process of power battery preparation, the charge and discharge characteristics of most power batteries are highly similar. A small number of abnormal power batteries have large deviations in charge and discharge speed and mode due to equipment, process, raw materials and other issues. They can be screened and eliminated through abnormal detection methods to prevent potential risks.

[0062] However, the current abnormality detection of power batteries is often monitored according to a fixed detection threshold, which has low accuracy and is prone to missed detection. In addition, power batteries will continue to generate a large amount of charging and discharging data during use, including multiple parameters such as voltage, current, temperature, charging status, and health status. Each parameter will generate a large number of data points during each charging and discharging process. And the charging and discharging data of power batteries comes from multiple channels. Therefore, the charging and discharging data of power batteries has the characteristics of massive multi-source and lacks annotation information, making it difficult for conventional data-driven methods to be effectively applied.

[0063] Based on the above situation, the present application proposes a power battery abnormality detection method and related devices, and the present application is further described in detail below in conjunction with the embodiments and drawings.

[0064] See also Figure 1 , which is a first flow chart of the power battery abnormality detection method of the present application, may include:

[0065] S101, inputting a number of power battery charging and discharging process data into a time series autoencoder anomaly detection model and a first local density anomaly detection model, and then passing through a second local anomaly detection model to obtain a fusion index for describing the abnormality of the power battery.

[0066] It should be noted that the charge and discharge process data may generally include voltage, capacity, internal resistance, re-discharge rate, etc. With the help of the time series autoencoder anomaly detection model, the first local density anomaly detection model and the second local anomaly detection model, a fusion index for characterizing the battery abnormality is obtained.

[0067] S102, determining whether the power battery is abnormal by establishing a dynamic abnormality detection threshold and combining the fusion index.

[0068] Compared with the fixed anomaly detection threshold in the traditional detection method, this application establishes a dynamic anomaly detection threshold, which makes the detection result more accurate and less prone to missed detection. It should be noted that the dynamic anomaly detection threshold usually relies on the data sequence, and can use machine learning technology and combine business characteristics to learn the historical change rules of indicator data, automatically adapt to data changes, and set reasonable thresholds according to the dynamic characteristics of the data, so as to detect anomalies more accurately.

[0069] Among them, the input of the second local anomaly detection model is the residual index and the density index.

[0070] The output of the time series autoencoder anomaly detection model is a residual indicator, which is used to describe the morphological differences between power battery dimensions.

[0071] The output of the first local density anomaly detection model is a density index, which is used to describe the distribution differences of power batteries.

[0072] like Figure 2 As shown, it is a second flow chart of the power battery abnormality detection method of the present application, which may include:

[0073] S201: Acquire the charging and discharging process data of power batteries produced in a single batch, and form an unlabeled standardized data set through data preprocessing.

[0074] Among them, data preprocessing can adopt the following methods:

[0075] (1) Length normalization: Taking the longest discharge voltage sequence as the benchmark, each data sample is padded to the length of the longest discharge voltage sequence according to the discharge cut-off voltage.

[0076] (2) Sampling point alignment: Using the linear interpolation method, each data sample is resampled according to a fixed sampling interval so that the sampling time points of all discharge voltage sequences are consistent.

[0077] S202, establishing a forward and reverse rule set based on knowledge in the fields of power battery process mechanism and experience, which is used to calibrate the training set and validation set in the data set.

[0078] It should be noted that the forward rule can be used to describe the characteristics of normal sample performance and to calibrate the training set, while the reverse rule can be used to describe the characteristics of abnormal sample performance and to calibrate the validation set.

[0079] S203, constructing a time series autoencoder anomaly detection model based on the training set and the validation set to generate a residual indicator that describes the morphological differences between the dimensions of the power battery data samples.

[0080] The following methods can be used:

[0081] (1) Train the time series autoencoder anomaly detection model based on the training set until the time series autoencoder anomaly detection model can successfully converge and record the training parameter configuration;

[0082] (2) Based on the validation set, the recorded training parameter configuration is used to search for the structural hyperparameters of the time series autoencoder anomaly detection model until the optimal effect is achieved on the validation set;

[0083] (3) Using the trained time series autoencoder anomaly detection model, the residual indicators of data samples in the unlabeled standardized dataset are calculated.

[0084] S204, constructing a first local density anomaly detection model based on the validation set to generate a density index that describes the distribution difference between power battery data samples.

[0085] The following methods can be used:

[0086] (1) Based on the validation set, search for the hyperparameters of the first local density anomaly detection model until the optimal effect is achieved on the validation set;

[0087] (2) Based on the optimized hyperparameters, the density index of samples in the unlabeled standardized dataset is calculated.

[0088] S205, based on the residual index and the density index, construct a second local anomaly detection model, generate matching weights of the residual index and the density index, and form a fusion index that describes the abnormality of the power battery sample.

[0089] The following methods can be used:

[0090] (1) Establishing a second local anomaly detection model to calculate the matching weight values ​​of the residual index and the density index;

[0091] (2) Based on the matching weight value, the weighted value of the residual index and the density index is calculated as the fusion index.

[0092] S206, sorting the samples in the test set by abnormality based on the fusion index.

[0093] S207, establishing a dynamic abnormality detection threshold and eliminating abnormal batteries.

[0094] The following methods can be used:

[0095] (1) The sample window length is fixed, and the fusion index of the next sample after sorting is calculated in sequence. The deviation value of the fusion index in the sample window is compared with that in the sample window, and the time point when the deviation value exceeds the allowable range of the statistical criteria is retrieved as the first anomaly detection threshold;

[0096] (2) Setting the sample window length variation range, calculating the first anomaly detection thresholds of multiple different sample window lengths, forming an anomaly threshold decision diagram, selecting the average value, other statistical values ​​or using an artificial selection method to calculate the second anomaly detection threshold, and eliminating abnormal batteries based on the second anomaly detection threshold.

[0097] Figure 2 In the figure, “domain knowledge base”, “forward rules” and “reverse rules” belong to knowledge; “training set”, “unlabeled standardized data set”, “validation set”, “preprocessing process data” and “preprocessing test data” belong to data; “time series encoder”, “time series decoder”, “first local anomaly detection model” and “second local anomaly detection model” belong to models; “residual index”, “density index” and “fusion index” belong to indicators; “dynamic anomaly threshold detection”, “anomaly threshold decision diagram” and “determine the anomaly threshold to eliminate abnormal samples” belong to decisions.

[0098] This application automatically annotates an unsupervised power battery dataset through domain knowledge, and on this basis builds an anomaly detection model that integrates the discharge voltage morphology and distribution characteristics of the power battery. It proposes a dynamic anomaly threshold construction method for abnormal power battery screening, forms an anomaly threshold decision diagram, and effectively improves the detection accuracy of abnormal power batteries under unsupervised conditions.

[0099] The following is an example of the present application, which is used to explain the power battery abnormality detection method of the present application in more detail:

[0100] S301, obtaining charging and discharging process data of power batteries produced in a single batch, and forming an unlabeled standardized data set through data preprocessing.

[0101] Taking the 18650 cylindrical lithium-ion power battery as an example, in the chemical composition and capacity manufacturing process, the power battery will be charged and discharged continuously for many times. A complete constant current discharge process is selected, and the time series of the battery terminal voltage change is extracted as the original data.

[0102] For example, the initial voltage and cut-off voltage of the constant current discharge process of the power battery are 4.2V and 2.75V respectively. The maximum discharge cut-off time is 65 minutes. The sampling time and the amount of data collected during the discharge process are different. 0.2 minutes are selected as the sampling interval and 65 minutes as the maximum discharge time. The interpolation method is used to ensure that each discharge voltage data contains 325 data points. Data points that exceed the original data length are padded according to 2.75V to achieve standardized processing of the discharge voltage sequence.

[0103] S302, establish a forward and reverse rule set based on knowledge in the fields of power battery process mechanism and experience, which is used to calibrate the training set and verification in the data set.

[0104] For example, the rule set includes capacity rules, deadline rules, average voltage rules, and voltage change consistency rules. The forward rules are presented as if-then production rules:

[0105] (1) If the power battery capacity is high, then the abnormality is low;

[0106] (2) If the power battery cut-off time is high, then the abnormality is low;

[0107] (3) If the average voltage of the power battery is high, then the abnormality is low;

[0108] (4) If the voltage of the power battery decreases monotonically during discharge, then the abnormality is low;

[0109] The reverse rule reverses the forward rule and is also presented as an if-then production rule.

[0110] The training set is composed of low-abnormal samples that have a high degree of fit with the forward rule, and the validation set is composed of high-abnormal samples that have a high degree of fit with the reverse rule.

[0111] S303, constructing a time series autoencoder anomaly detection model based on the training set and the validation set, which is used to generate a residual index describing the morphological differences between the dimensions of the power battery data samples.

[0112] The time series autoencoder anomaly detection model can include an encoder f e and a decoder f d , the corresponding encoder structure hyperparameters and decoder structure hyperparameters are denoted as θ e and θ d , the training parameters are mainly the loss function For the power battery discharge voltage sequence sample x, the training process is expressed as optimizing θ e and θ d :

[0113]

[0114] in, is the optimized θ e , is the optimized θ d .

[0115] The residual indicator can be expressed as the loss function value for x:

[0116]

[0117] As an example, θ e and θ d They can all be used as parameters of the long short-term memory network (LSTM), and the loss function Expressed as mean square error, the residual index is expressed as:

[0118]

[0119] S304, constructing a first local density anomaly detection model based on the validation set to generate a density index describing the distribution difference between power battery data samples.

[0120] In practical applications, the first local density detection model can adopt models such as local outlier factor (LOF) and connected outlier factor (COF). The density index can be expressed as the outlier factor value used by the first local density detection model to describe the outlier degree of the sample. The hyperparameter is mainly the number of neighbors required for the outlier factor calculation. Obtain the optimal number of neighbors by searching the validation set

[0121] As an example, for the power battery discharge voltage sequence sample x, LOF is selected as the first local density detection model, and the density index can be expressed as:

[0122]

[0123] S305, based on the residual index and the density index, construct a second local anomaly detection model, generate matching weights of the residual index and the density index, and form a fusion index that describes the abnormality of the power battery sample.

[0124] In the present application, the residual index and the density index are concatenated to establish a second local anomaly detection model as a new data set, the anomaly factor of the second local anomaly detection model is used as the matching weight, and the weighted value is calculated as the fusion index.

[0125] As an example, LOF is also used as the second local anomaly detection model. For the power battery discharge voltage sequence sample x, the matching weight w can be expressed as:

[0126]

[0127] At this time, the fusion index can be calculated as follows:

[0128] us(x)=w(x)(rs(x)+ds(x))

[0129] S306, sorting the samples in the test set by abnormality based on the fusion index.

[0130] For any power battery discharge voltage sequence sample x i , calculate the corresponding fusion index us(x i), select the sorting algorithm to sort from low to high. The higher the fusion index value, the higher the abnormality corresponding to the sample.

[0131] S307, establishing a dynamic abnormality detection threshold and eliminating abnormal batteries.

[0132] As an example, the sample window length l is selected, and the statistical criterion is expressed as the 3σ judgment criterion. At this time, the abnormal sample is expressed as:

[0133] {x i |x i >μ([us(x i-l ), ..., us(x i )])+3×σ([us(x i-l ), ..., us(x i ))}

[0134] Among them, the first x that meets the above conditions i The corresponding us(x i ) is represented as the first anomaly detection threshold. On this basis, l is min ,l max ] range according to the grid search method to calculate m first anomaly detection values, draw line graphs and bar graphs to describe the change trend of l, and form an anomaly threshold decision diagram. In one embodiment of this project, the average value is selected As the second anomaly detection threshold, the final anomaly sample is expressed as:

[0135]

[0136] According to the number value of abnormal samples, abnormal batteries are screened and eliminated.

[0137] In the above embodiment, the test set is tested. In actual applications, a number of power battery charging and discharging process data can be directly input into the time series autoencoder anomaly detection model and the first local density anomaly detection model, and then through the second local anomaly detection model, the fusion index for describing the abnormality of the power battery is obtained according to the above method, and combined with the established dynamic anomaly detection threshold, whether the power battery is abnormal is detected.

[0138] It should be noted that the power battery anomaly detection method of the present application is particularly suitable for power battery anomaly detection scenarios where labeling is difficult, detection thresholds are fixed, and local anomaly detection accuracy is low. It can intelligently label data labels based on mechanisms, experience and other knowledge, build an accurate anomaly detection model that integrates morphology and distribution feature descriptions, form anomaly detection fusion indicators, establish a decision diagram for dynamic detection thresholds, screen and eliminate abnormal batteries, thereby reducing safety issues caused by defects and defective batteries, improving the consistency of power battery PACK, and increasing the cruising range of new energy vehicles.

[0139] Based on the above power battery abnormality detection method, Figure 3 As shown, the present application also proposes a power battery abnormality detection system, which may include:

[0140] A detection module, used to input a number of power battery charging and discharging process data into a time series autoencoder anomaly detection model and a first local density anomaly detection model, and then obtain a fusion index for describing the abnormality of the power battery sample through a second local anomaly detection model;

[0141] A judgment module, used to determine whether the power battery is abnormal by establishing a dynamic abnormality detection threshold and combining the fusion index;

[0142] The input of the second local anomaly detection model is a residual index and a density index;

[0143] The output of the time series autoencoder anomaly detection model is a residual indicator, which is used to describe the morphological differences between the dimensions of the power battery data samples;

[0144] The output of the first local density anomaly detection model is a density index, which is used to describe the distribution differences between power battery data samples.

[0145] It should be noted that in the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each module is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules can be combined or integrated into another device, or some features can be ignored or not executed. The module described as a separate component may or may not be physically separated. The component displayed as a module may be a physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed in multiple different places. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0146] In addition, each module in each embodiment of the present invention may be integrated into a processing unit, each module may exist physically separately, or two or more modules may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit.

[0147] An electronic device provided in an embodiment of the present application includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of the power battery abnormality detection method described in any of the above embodiments are implemented.

[0148] Another electronic device provided in the embodiment of the present application may also include: an input port connected to the processor, used to transmit multimodal data collected by an external acquisition device to the processor; and a display unit connected to the processor, used to display the processing results of the processor to the outside world; a communication module connected to the processor, used to realize communication between the electronic device and the outside world. The display unit can be a display panel, a laser scanning display, etc.; the communication mode adopted by the communication module includes but is not limited to mobile high-definition link technology (HML), universal serial bus (USB), high-definition multimedia interface (HDMI), wireless connection: wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE802.11s.

[0149] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the power battery abnormality detection method described in any of the above embodiments are implemented.

[0150] The computer-readable storage medium involved in the present application includes random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the technical field.

[0151] For the description of the relevant parts of the power battery abnormality detection system, electronic device, and computer-readable storage medium provided in the embodiments of the present application, please refer to the detailed description of the corresponding parts in the power battery abnormality detection method provided in the embodiments of the present application, which will not be repeated here. In addition, the parts of the above technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.

[0152] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for detecting abnormality of a power battery, characterized in that: include: Input a number of power battery charging and discharging process data into the time series autoencoder anomaly detection model and the first local density anomaly detection model, and then pass through the second local anomaly detection model to obtain a fusion index for describing the abnormality of the power battery; By establishing a dynamic abnormality detection threshold and combining the fusion index, determining whether the power battery is abnormal; The input of the second local anomaly detection model is a residual index and a density index; The output of the time series autoencoder anomaly detection model is a residual indicator, which is used to describe the morphological differences between the dimensions of the power battery; The output of the first local density anomaly detection model is a density index, which is used to describe the distribution differences of power batteries.

2. The power battery abnormality detection method according to claim 1, characterized in that: The training method of the time series autoencoder anomaly detection model comprises: Based on the charging and discharging process data of any batch of power batteries, an unlabeled data set is formed; Calibrate a training set and a validation set in the unlabeled dataset; Training the time series autoencoder anomaly detection model based on the training set, and recording the training parameter configuration; Based on the verification set, the training parameter configuration is adopted to search for the structural parameters of the time series autoencoder anomaly detection model until a preset optimal effect is achieved on the verification set, thereby obtaining a trained time series autoencoder anomaly detection model.

3. The power battery abnormality detection method according to claim 2, characterized in that: The training method of the first local density anomaly detection model comprises: Based on the validation set, the hyperparameters of the first local density anomaly detection model are searched until the preset optimal effect is achieved on the validation set. The current hyperparameters are recorded as optimized hyperparameters, which are used to calculate the density index to complete the training of the first local density anomaly detection model.

4. The power battery abnormality detection method according to claim 3, characterized in that: The forming of an unlabeled data set comprises: Define each data in the charging and discharging process data of any batch of power batteries as a sample; According to the discharge cut-off voltage, each sample is padded to the length of the longest discharge voltage sequence; Each sample is resampled at a fixed interval to make the sampling time points of the discharge voltage sequences of all samples consistent.

5. The power battery abnormality detection method according to claim 4, characterized in that: The training set and the validation set are calibrated in the unlabeled dataset, including: Establish a forward and reverse rule set, and use the forward and reverse rule set to calibrate the training set and validation set in the unlabeled dataset.

6. The power battery abnormality detection method according to claim 5, characterized in that: The step of establishing a dynamic abnormality detection threshold and combining the fusion index to determine whether the power battery is abnormal includes: The sample window length is fixed, and the deviation value of the fusion index of each sample compared with the fusion index in the sample window is calculated in turn. The time point when the deviation value exceeds the allowable range of the statistical criterion is retrieved as the first anomaly detection threshold; Setting a sample window length variation range, calculating a first anomaly detection threshold value with multiple different sample window lengths, forming an anomaly threshold decision diagram, and calculating a second anomaly detection threshold value; Abnormal batteries are screened based on the second abnormality detection threshold.

7. The power battery abnormality detection method according to claim 5, characterized in that: The temporal autoencoder anomaly detection model adopts an encoder-decoder structure; The residual index is: in, is the loss function, x is the sample of the power battery discharge voltage sequence, f d is the decoder, f e is the encoder, θ e is the structural hyperparameter of the encoder, θ d is the structural hyperparameter of the decoder; The first local density anomaly detection model adopts a local anomaly factor model; The density index is: Among them, ds(x) is the density index, is the optimal number of nearest neighbors obtained through the validation set search.

8. A power battery abnormality detection system, characterized in that: include: A detection module, used to input a number of power battery charging and discharging process data into a time series autoencoder anomaly detection model and a first local density anomaly detection model, and then obtain a fusion index for describing the abnormality of the power battery sample through a second local anomaly detection model; A judgment module, used to determine whether the power battery is abnormal by establishing a dynamic abnormality detection threshold and combining the fusion index; The input of the second local anomaly detection model is a residual index and a density index; The output of the time series autoencoder anomaly detection model is a residual indicator, which is used to describe the morphological differences between the dimensions of the power battery data samples; The output of the first local density anomaly detection model is a density index, which is used to describe the distribution differences between power battery data samples.

9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the power battery abnormality detection method as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the power battery abnormality detection method according to any one of claims 1 to 7 are implemented.