Method and apparatus for detecting anomalous vehicle battery, device, and medium

The unsupervised isolation forest algorithm is used to perform feature derivation and segmentation processing of the voltage and current data of electric vehicle batteries, which realizes early prediction of battery failures, solves the problem of inability to accurately judge battery abnormalities in the existing technology, and reduces the risk of failures. rate and operation and maintenance costs.

WO2024178911A1PCT designated stage expired Publication Date: 2024-09-06HEFEI GUOXUAN HIGH TECH POWER ENERGY

Patent Information

Application Number
PCT/CN2023/110910
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2023-08-03
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing technology cannot accurately and quickly determine abnormal conditions of electric vehicle batteries, resulting in high failure rates and increased operation and maintenance costs.

Method used

The unsupervised isolation forest algorithm is used to obtain and derive the voltage and current data of the vehicle battery to determine the charging status and perform segmented processing. It uses the pre-trained model to detect abnormalities and predict battery failure signs in advance.

Benefits of technology

Without prior information, it can directly estimate the abnormal probability of battery charging cycles, reduce failure rates and operation and maintenance costs, and improve user experience and brand competitiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023110910_06092024_PF_FP
    Figure CN2023110910_06092024_PF_FP
Patent Text Reader

Abstract

A method and apparatus for detecting an anomalous vehicle battery, a device, and a medium. The method comprises: acquiring vehicle battery related data, and carrying out derivation on the acquired vehicle battery related data to obtain derivative time series feature data; determining the state of charge of a vehicle battery on the basis of the derivative time series feature data, and obtaining vehicle feature data of the vehicle battery in different charging periods; segmenting the derivative time series feature data in all the charging periods on the basis of the vehicle feature data to obtain a plurality of pieces of segmented data; and performing anomaly detection on each piece of segmented data by means of a pretraining-based unsupervised isolation forest algorithm model to obtain a vehicle battery anomaly detection result. Battery failure symptoms can be predetermined, so that the failure rate and the operation and maintenance cost are reduced, thus improving the user experience, and protecting the life and property safety of users.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment and medium for detecting abnormal vehicle battery Technical Field

[0001] The present invention relates to a method, device, equipment and medium for detecting abnormal vehicle batteries based on an unsupervised isolation forest algorithm, and relates to the field of vehicle battery detection. Background Art

[0002] Electric vehicles require physical quantities like voltage and current to remain within safe ranges during charging. Battery packs are subject to numerous unpredictable internal and external factors during manufacturing and charging, which can cause the power battery to exceed its safety limits and subsequently lead to battery failure.

[0003] The trends of normal battery charging characteristics, such as voltage and current, are generally consistent. Therefore, by analyzing the trends of these characteristics during the battery pack charging process, power battery failures can be identified early, allowing for the early detection of potential battery anomalies. However, relying solely on raw voltage and current characteristics cannot reveal potential connections to abnormal cells, nor can it accurately and quickly determine battery anomalies.

[0004] Summary of the Invention

[0005] The present invention aims to address at least one of the technical problems existing in the prior art. To address this issue, the present invention provides a method, apparatus, device, and medium for detecting abnormal vehicle batteries based on an unsupervised isolation forest algorithm, which can predict battery failure signs in advance and thereby reduce failure rates and operation and maintenance costs.

[0006] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:

[0007] In a first aspect, the present invention provides a method for detecting an abnormal vehicle battery, comprising:

[0008] Acquire vehicle battery related data, and derive the acquired vehicle battery related data to obtain derived time series characteristic data;

[0009] Determine the charging state of the vehicle battery based on the derived time series characteristic data, and obtain vehicle characteristic data of the vehicle battery at different charging cycles;

[0010] Segmenting the derived time series characteristic data of all charging cycles based on the vehicle characteristic data to obtain a plurality of segmented data;

[0011] Each segmented data is subjected to anomaly detection based on a pre-trained unsupervised isolation forest algorithm model to obtain vehicle battery anomaly detection results.

[0012] Furthermore, the acquiring of vehicle battery related data and deriving the acquired vehicle battery related data to obtain derived time series characteristic data includes:

[0013] Obtain vehicle battery voltage, current, and charging status data from the big data platform;

[0014] Feature derivation is performed based on the battery voltage and current data, and corresponding derived timing feature data is obtained under different fast or slow charging states.

[0015] Furthermore, the feature derivation is performed based on the voltage and current data of the battery to obtain corresponding derived time series feature data under different fast or slow charging states, including:

[0016] Obtain voltage and current data at the starting sampling point of each fast or slow charging cycle;

[0017] For each sampling moment of the fast or slow charging cycle, the voltage at the start of the charging cycle is subtracted from the voltage at the sampling moment, and the time interval is removed to obtain the voltage change value per unit time. The voltage change value per unit time is then removed from the current at the current moment to obtain the corresponding derived timing characteristic data under different fast or slow charging states.

[0018] Furthermore, the determining of the vehicle battery charging state based on the derived time series characteristic data and obtaining vehicle characteristic data of the vehicle battery in different charging cycles includes:

[0019] Determine whether the vehicle battery is in a charging state based on whether the derived time series feature data has a value;

[0020] When the vehicle battery is in a charging state, the vehicle characteristic data corresponding to the non-empty derived time series characteristic data of all charging cycles are retrieved, wherein the vehicle characteristic data includes a vehicle code, SOC, and sampling time.

[0021] Furthermore, the derived time series characteristic data of all charging cycles are segmented based on the vehicle characteristic data to obtain a plurality of segmented data, including:

[0022] According to the set SOC segmentation range, the derived time series characteristic data of each fast or slow charging cycle is segmented;

[0023] The amount of derived time series feature data of the segmented charging cycle is judged against a preset sample size threshold, and the data is discarded or retained based on the judgment result.

[0024] Furthermore, the training process of the unsupervised isolation forest algorithm model is:

[0025] The training data is the derived time series feature data of charging cycle data under different SOC segment ranges;

[0026] Adjust the parameters of the unsupervised isolation forest algorithm;

[0027] Based on the set parameters, the unsupervised isolation forest algorithm model is trained using the training data.

[0028] Furthermore, based on the set parameters, the unsupervised isolation forest algorithm model is trained using the training data, including:

[0029] The derived time series feature data of charging cycle data under different SOC segment ranges are input into the isolation forest algorithm for model training. The output is the abnormal probability score of each charging cycle sample under a certain SOC segment. The scores are sorted from high to low, and the highest k charging cycles are selected as the result output or the abnormal sample ratio is selected as the result output. After the training is completed, the unsupervised isolation forest algorithm model is obtained.

[0030] In a second aspect, the present invention provides a device for detecting an abnormal vehicle battery, the device comprising:

[0031] a time series characteristic data derivation unit configured to obtain vehicle battery related data and derive the obtained vehicle battery related data to obtain derived time series characteristic data;

[0032] a charging cycle data acquisition unit configured to determine a charging state of a vehicle battery based on the derived time series characteristic data and to acquire vehicle characteristic data of the vehicle battery at different charging cycles;

[0033] a data segmentation unit configured to segment the derived time series characteristic data of all charging cycles based on the vehicle characteristic data to obtain a plurality of segmented data;

[0034] The battery detection unit is configured to perform anomaly detection on each segmented data through a pre-trained unsupervised isolation forest algorithm model to obtain a vehicle battery anomaly detection result.

[0035] In a third aspect, the present invention also provides an electronic device comprising: one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods.

[0036] In a fourth aspect, the present invention further provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions that, when executed by a computing device, cause the computing device to perform any of the methods.

[0037] The present invention adopts the above technical solution, which has the following characteristics:

[0038] 1. The present invention derives time series features based on original voltage, current and other characteristics. The derived new time series features can reflect the intrinsic connection of the original features during the charging process. Using an unsupervised machine learning algorithm, the probability estimate of sequence anomalies can be directly given without the need for prior information. In addition, the isolation forest adopts the idea of ​​ensemble learning, which greatly improves the detection effect of the algorithm model. In addition, it can predict signs of battery failure in advance, reduce failure rates and operation and maintenance costs, improve user experience, and protect user life and property safety.

[0039] 2. The present invention can realize vehicle maintenance and battery maintenance during the maintenance process of the whole vehicle, predict the signs of battery failure in advance, reduce the number of market failure reports, and enhance brand competitiveness.

[0040] In summary, the present invention can be widely applied to vehicle battery detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. Throughout the drawings, the same reference numerals are used to denote the same components. In the drawings:

[0042] FIG1 is a flow chart of a method for detecting an abnormal vehicle battery according to an embodiment of the present invention.

[0043] FIG2 is a structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0044] It should be understood that the terms used herein are for the purpose of describing specific example embodiments only and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "comprise", "include", "contain" and "have" are inclusive and therefore specify the presence of stated features, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring them to be performed in the specific order described or illustrated, unless the order of execution is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0045] Since it is impossible to discover the potential connection with abnormal batteries by relying solely on the original voltage and current characteristics, it is impossible to accurately and quickly judge the abnormality of the battery. The present invention provides a method, device, equipment and medium for detecting abnormal vehicle batteries based on an unsupervised isolation forest algorithm, including: obtaining vehicle battery-related data, and deriving the obtained vehicle battery-related data to obtain derived time series feature data; judging the charging state of the vehicle battery based on the derived time series feature data, and obtaining vehicle feature data of the vehicle battery in different charging cycles; segmenting the derived time series feature data of all charging cycles based on the vehicle feature data to obtain multiple segmented data; performing anomaly detection on each segmented data based on a pre-trained unsupervised isolation forest algorithm model to obtain a vehicle battery anomaly detection result. Therefore, the present invention performs vehicle battery anomaly detection based on the derived time series feature data under the vehicle charging state, and gives a probability estimate of whether the charging cycle is abnormal without prior information. It can predict battery failure signs in advance, reduce failure rate and operation and maintenance costs, and improve user experience.

[0046] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. Rather, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0047] Example 1: As shown in FIG1 , the method for detecting abnormal vehicle batteries based on an unsupervised isolation forest algorithm provided in this embodiment includes:

[0048] S1. Acquire vehicle battery-related data, and process the acquired vehicle battery-related data to obtain derived time series features.

[0049] Specifically, vehicle battery-related data is obtained and processed to obtain derived time series features, including:

[0050] S11. Obtain original characteristic data such as voltage and current of the vehicle battery from the big data platform.

[0051] In this embodiment, the big data cloud platform refers to an existing big data cloud platform built using big data technology to process and store power battery information. The big data platform stores data such as vehicle mileage, speed, and status, as well as data such as voltage, current, and temperature during power battery charging and discharging.

[0052] S12. Derivative features are performed based on the original data such as the voltage and current of the vehicle battery to obtain derived time series feature data under different fast or slow charging states.

[0053] Specifically, feature derivation is performed based on voltage and current data to obtain derived timing features under different fast or slow charging states, including:

[0054] S121. Obtaining original characteristic data such as voltage and current at the starting sampling point of each fast or slow charging cycle;

[0055] S122, obtaining derived time series feature data;

[0056] In this embodiment, for each sampling moment of the charging cycle, the voltage at the sampling moment is subtracted from the voltage at the start moment of the charging cycle, and the time interval (sampling moment minus the start moment of the charging cycle) is removed to obtain the voltage change value per unit moment, and then the voltage change value per unit moment is subtracted from the current at the current moment to derive the derived timing characteristic data.

[0057] S2. Acquire data of different charging cycles of the vehicle battery based on the derived time series characteristic data.

[0058] Specifically, data of different charging cycles of the vehicle battery is obtained based on the derived time series feature data, including:

[0059] S21. Determine whether the vehicle battery is in a charging state based on whether the derived time series characteristic data has a value;

[0060] In this embodiment, the battery charging status includes fast charging and slow charging. The big data cloud platform includes a charging status field. Different values ​​of this field represent different charging statuses. In the fast charging state, the derived timing characteristics under fast charging are calculated, and in the slow charging state, the derived timing characteristics under slow charging are calculated.

[0061] When the derived time series feature has a value (the definition of having a value means that the derived time series feature is not a null value), it indicates that the battery is in a charging state.

[0062] S22. Obtaining derived time series characteristic data of each fast or slow charging cycle of the vehicle.

[0063] In this embodiment, the vehicle characteristic data corresponding to the non-empty derived time series characteristic data is retrieved. The vehicle characteristic data includes a vehicle code, SOC (battery state of charge), and a sampling time.

[0064] S3. Divide the derived time series feature data of different charging cycles into segments of equal length according to the SOC and a pre-set sample size threshold.

[0065] Specifically, the derived time series feature data of different charging cycles are segmented into equal length segments according to the SOC and a pre-set sample size threshold, including:

[0066] S31. Segment the derived time series characteristic data of each fast or slow charging cycle according to the set SOC segment range.

[0067] In this embodiment, the SOC segment range is set. The shorter the segment range, the more accurate the model detection effect. The specific segment range is not limited and can be selected according to actual needs.

[0068] S32. For the segmented derived time series feature data, determine whether its data sample size is greater than a preset threshold, and discard or retain the data based on the determination result.

[0069] In this embodiment, the segmented data is retained based on a preset threshold value, that is, different thresholds are set for fast or slow charging. Segmented data samples with a number greater than or equal to the threshold are retained, and those with a number less than the threshold are discarded. After traversing the derived timing feature data of all charging cycles, data that can be input or used to train the model is obtained.

[0070] Furthermore, this embodiment sets a minimum sample size threshold for the fast or slow charging cycle-derived timing characteristic data, respectively. The larger the threshold, the more charging cycles are discarded and the larger the sample size of the charging cycle data retained. The specific threshold setting is not limited and can be selected according to actual needs.

[0071] S4. Use the pre-trained unsupervised isolation forest algorithm model to perform anomaly detection on the derived time series data of equal-length segments to obtain battery detection results.

[0072] Specifically, the pre-trained unsupervised isolation forest algorithm model will give an abnormal probability score for the derived time series data of each charging cycle under each SOC segment, and sort the scores from high to low. The k charging cycles with the highest scores can be selected as the result output, or the abnormal sample ratio can be selected as the result output. For example: there will be multiple charging cycles under each SOC segment. The unsupervised isolation forest algorithm model will give a probability score for each charging cycle to be considered an abnormal sequence. This score is a score of the degree of abnormality of each charging cycle. The higher the score, the more abnormal the derived time series data of the charging cycle, indicating that the corresponding battery is more abnormal. Therefore, the K charging cycles with the highest scores are selected, that is, the corresponding K most abnormal batteries are selected as the battery anomaly detection results.

[0073] In this embodiment, when training the unsupervised isolation forest algorithm model, it is necessary to separate the two charging states of fast charging and slow charging under different SOC segments for model training and parameter adjustment. The unsupervised isolation forest algorithm can give the probability of abnormality of each charging cycle sample, and then take the one with the higher abnormality score as the result output. Finally, the results of each charging cycle model detection are combined to obtain the final vehicle battery abnormality detection result. In this embodiment, each charging cycle is regarded as a sample, and the derived time series features formed at each sampling moment of the charging cycle are the input features of the sample. Different SOC segments have many charging cycles and many samples. Each SOC segment generates a training sample set. The sample set of each SOC segment is used as the input of the algorithm model to obtain an abnormal charging cycle sequence. The corresponding vehicle battery is an abnormal battery. All SOC segment sample sets are substituted into the algorithm model respectively, and the obtained abnormal results are merged together to form the total abnormal sample result set.

[0074] For example, consider five vehicles with five corresponding power batteries. Each power battery undergoes many charging cycles during vehicle use. This embodiment illustrates slow charging. The starting and ending SOCs of each charging cycle may differ. Considering a 30%-60% SOC segment, this includes 10 charging cycles for three vehicles, and a 60%-90% segment includes 8 charging cycles for four vehicles. Within the 30%-60% segment, each charging cycle represents a sample. If each charging cycle has 100 sampling points, then each of the 10 charging cycle samples contains 100 derived time series feature sequences. These 10 charging cycles form a 10*100 training sample data matrix, which serves as input for the algorithm model. The algorithm model outputs a score indicating the degree to which each charging cycle sample is considered abnormal. The output is the top three most abnormal samples, corresponding to the three vehicles or batteries considered abnormal. Perhaps these three abnormal samples all represent the charging cycles of the same vehicle, indicating that the vehicle's battery is abnormal. Similarly, abnormal vehicle batteries will also be obtained in the 60%-90% segment, and the abnormal detection results of the two segments are combined to form the final abnormal battery detection result.

[0075] Furthermore, the training process based on the unsupervised isolation forest algorithm model includes:

[0076] Prepare training data: Two layers of data are prepared. The first layer is the derived time series feature sequence of charging cycles under different SOC segment ranges. The second layer is the derived time series feature sequence of fast or slow charging cycles in a certain SOC range.

[0077] Adjust model parameters: Adjust the parameters of the isolation forest algorithm, such as the number of base evaluators and the proportion of abnormal data, based on the actual performance of the algorithm. The adjustment strategy is roughly as follows: the more base evaluators, the more accurate the algorithm, but the algorithm takes longer to train and may overfit. The larger the proportion of abnormal data, the more abnormal results the algorithm will give. Dynamic adjustment can be made based on the number of test results.

[0078] Training the Isolation Forest Algorithm model: The derived time series feature sequences of charging cycles under different SOC segment ranges are input into the model for training. During training, an abnormality probability score is given for each charging cycle sample under each SOC segment. The scores are sorted from high to low. The top k charging cycles can be selected as the result output, or the abnormal sample ratio can be selected as the result output. Whether to stop training the unsupervised machine learning algorithm needs to be selected based on the algorithm performance after parameter adjustment.

[0079] Example 2: The above-mentioned Example 1 provides a method for detecting abnormal vehicle batteries based on an unsupervised isolation forest algorithm. Correspondingly, this embodiment provides a device for detecting abnormal vehicle batteries based on an unsupervised isolation forest algorithm. The device provided in this embodiment can implement the method for detecting abnormal vehicle batteries based on an unsupervised isolation forest algorithm in Example 1. The device can be implemented by software, hardware, or a combination of software and hardware. For the convenience of description, this embodiment is described by dividing the functions into various units and describing them separately. Of course, the functions of each unit can be implemented in the same or multiple software and / or hardware during implementation. For example, the device may include integrated or separate functional modules or functional units to execute the corresponding steps in each method of Example 1. Since the device of this embodiment is basically similar to the method embodiment, the description process of this embodiment is relatively simple. For relevant matters, please refer to the partial description of Example 1. The embodiment of the device for detecting abnormal vehicle batteries based on an unsupervised isolation forest algorithm provided by the present invention is merely illustrative.

[0080] Specifically, this embodiment provides a device for detecting an abnormal vehicle battery, the device comprising:

[0081] a time series characteristic data derivation unit configured to obtain vehicle battery related data and derive the obtained vehicle battery related data to obtain derived time series characteristic data;

[0082] a charging cycle data acquisition unit configured to determine a charging state of a vehicle battery based on the derived time series characteristic data and to acquire vehicle characteristic data of the vehicle battery at different charging cycles;

[0083] a data segmentation unit configured to segment the derived time series characteristic data of all charging cycles based on the vehicle characteristic data to obtain a plurality of segmented data;

[0084] The battery detection unit is configured to perform anomaly detection on each segmented data through a pre-trained unsupervised isolation forest algorithm model to obtain a vehicle battery anomaly detection result.

[0085] Example 3: This example provides an electronic device corresponding to the method for detecting abnormal vehicle batteries based on the unsupervised isolation forest algorithm provided in Example 1. The electronic device can be an electronic device for a client, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the method of Example 1.

[0086] As shown in Figure 2, the electronic device includes a processor, a memory, a communication interface and a bus, and the processor, the memory and the communication interface are connected by a bus to complete communication with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Component (EISA) bus, etc. A computer program that can be run on the processor is stored in the memory, and the processor executes the above method when running the computer program. Its implementation principle and technical effect are similar to those of Example 1 and are not described in detail here. It will be understood by those skilled in the art that the structure shown in Figure 2 is only a block diagram of a partial structure related to the present application solution, and does not constitute a limitation on the computing device to which the present application solution is applied. The specific computing device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0087] In a preferred embodiment, the logic instructions in the above-mentioned memory can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), optical disk and other media that can store program code.

[0088] In a preferred embodiment, the processor may be a central processing unit (CPU), a digital signal processor (DSP), or other general-purpose processors of various types, which are not limited herein.

[0089] Embodiment 4: This embodiment provides a computer program product, which may include a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the method provided in the above-mentioned embodiment 1. Its implementation principle and technical effects are similar to those of embodiment 1 and will not be repeated here.

[0090] In a preferred embodiment, a computer-readable storage medium may be a tangible device that retains and stores instructions used by an instruction execution device, such as, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination thereof. The computer-readable storage medium stores computer program instructions that cause a computer to execute the method provided in the first embodiment.

[0091] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In the description of this specification, the reference term "a preferred embodiment" and the like means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0092] The present application is described with reference to the flow chart and / or block diagram of the method, equipment (device) and computer program product according to the embodiment of the present application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one flow chart flow or multiple flows and / or one box or multiple boxes of the block diagram.

[0093] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for detecting abnormal vehicle batteries, characterized in that include: Acquire vehicle battery related data, and derive the acquired vehicle battery related data to obtain derived time series characteristic data; Determine the charging state of the vehicle battery based on the derived time series characteristic data, and obtain vehicle characteristic data of the vehicle battery in different charging cycles; Segmenting the derived time series characteristic data of all charging cycles based on the vehicle characteristic data to obtain a plurality of segmented data; Each segmented data is subjected to anomaly detection based on a pre-trained unsupervised isolation forest algorithm model to obtain the vehicle battery anomaly detection results.

2. The method for detecting abnormal vehicle battery according to claim 1, characterized in that: The step of acquiring vehicle battery related data and deriving the acquired vehicle battery related data to obtain derived time series characteristic data includes: Obtain the voltage, current and charging status data of the vehicle battery from the big data platform; The characteristics are derived according to the voltage and current data of the battery, and the corresponding derived timing characteristic data are obtained under different fast or slow charging states.

3. The method for detecting abnormal vehicle battery according to claim 2, characterized in that: The method of deriving characteristics based on the voltage and current data of the battery to obtain corresponding derived timing characteristic data under different fast or slow charging states includes: Obtain the voltage and current data at the starting sampling point of each fast or slow charging cycle; For each sampling moment of the fast or slow charging cycle, the voltage at the sampling moment is subtracted from the voltage at the start of the charging cycle, and the time interval is removed to obtain the voltage change value per unit time. By removing the current at the current moment, the corresponding derived timing characteristic data under different fast or slow charging states are obtained.

4. The method for detecting abnormal vehicle battery according to claim 2, characterized in that: The method of judging the charging state of the vehicle battery based on the derived time series characteristic data and obtaining the vehicle characteristic data of the vehicle battery in different charging cycles includes: Judging whether the vehicle battery is in a charging state according to whether the derived time series characteristic data has a value; When the vehicle battery is in a charging state, the vehicle characteristic data corresponding to the non-empty derived time series characteristic data of all charging cycles are retrieved, wherein the vehicle characteristic data includes a vehicle code, SOC and sampling time.

5. The method for detecting abnormal vehicle battery according to claim 4, characterized in that: The derived time series characteristic data of all charging cycles are segmented based on the vehicle characteristic data to obtain a plurality of segmented data, including: According to the set SOC segmentation range, the derived timing characteristic data of each fast or slow charging cycle is segmented; The quantity of the derived timing characteristic data of the segmented charging cycle and the preset sample quantity threshold are judged, and the data are discarded or retained based on the judgment result.

6. The method for detecting abnormal vehicle battery according to claim 5, characterized in that: The training process of the unsupervised isolation forest algorithm model is: The training data is derived time series feature data of charging cycle data under different SOC segment ranges; Adjust the parameters of the unsupervised isolation forest algorithm; Based on the set parameters, the unsupervised isolation forest algorithm model is trained using the training data.

7. The method for detecting abnormal vehicle battery according to claim 6, characterized in that: The step of training the unsupervised isolation forest algorithm model based on the set parameters using the training data includes: The derived time series feature data of the charging cycle data under different SOC segment ranges are input into the isolation forest The algorithm performs model training and outputs the abnormal probability score of each charging cycle sample under a certain SOC segment. The scores are sorted from high to low, and the highest k charging cycles are selected as the result output or the abnormal sample ratio is selected as the result output. After the training is completed, the unsupervised isolation forest algorithm model is obtained.

8. A device for detecting abnormal vehicle batteries, characterized in that: The device includes: A time series characteristic data derivation unit is configured to obtain vehicle battery related data, and derive the obtained vehicle battery related data to obtain derived time series characteristic data; a charging cycle data acquisition unit, configured to determine a charging state of a vehicle battery based on the derived time series characteristic data, and to acquire vehicle characteristic data of the vehicle battery at different charging cycles; A data segmentation unit is configured to segment the derived time series characteristic data of all charging cycles based on the vehicle characteristic data to obtain a plurality of segmented data; The battery detection unit is configured to perform anomaly detection on each segmented data through a pre-trained unsupervised isolation forest algorithm model to obtain a vehicle battery anomaly detection result.

9. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any one of the methods described in claims 1 to 7.

10. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions, which, when executed by a computing device, cause the computing device to perform any one of the methods of claims 1 to 7.

Citation Information

Patent Citations

  • New energy automobile battery anomaly detection method based on isolated forest algorithm

    CN112505549A

  • Battery inconsistency fault early warning method and equipment

    CN112526378A

  • New energy automobile battery data label generation method, device and equipment and storage medium

    CN113627565A

  • Battery fault detection method, system, device and equipment

    CN114690047A

  • Training method and device for voltage difference anomaly detection model of vehicle battery pack

    CN115169580A

Cited By

  • Battery self-discharge abnormity monitoring and early warning method, system, equipment and medium

    CN119438911A

  • Automobile power battery voltage abnormity detection method and vehicle

    CN121410549A

  • Battery abnormity early warning method and device based on ensemble learning

    CN121541074A

  • Battery abnormality early warning method and device based on ensemble learning

    CN121541074B

  • Training method of battery fault early warning model, fault early warning method and related device

    CN122615547A