Battery pack voltage abnormality detection method and system based on data processing

Through the data processing method, the abnormal voltage of the lithium-ion battery pack is detected, and a mark sequence is constructed to determine the battery pack voltage, which solves the problems of high computational burden and lack of historical data in the existing technology, and achieves fast and accurate battery pack voltage detection and fault location.

CN115421054BActive Publication Date: 2024-10-18STATE GRID JIANGSU ELECTRIC POWER CO LTD NANJING POWER SUPPLY COMPANY +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210853387.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-20
Publication Date
2024-10-18
Estimated Expiration
2042-07-20

AI Technical Summary

Technical Problem

In the existing technology, the voltage detection method of lithium-ion batteries requires a large number of parameter identification and modeling, which imposes a large computational burden and lacks historical data. It is difficult to achieve fast and effective voltage detection, which affects the application life and safety of the battery.

Method used

Using a battery pack voltage anomaly detection method based on data processing, by obtaining the voltage curve of each lithium-ion battery, constructing a straight line and calculating the distance from the point to the straight line, marking abnormal points, constructing a marking sequence, comparing the length and elements of the marking sequence, and judging the battery The group voltage is abnormal.

Benefits of technology

It achieves fast and accurate abnormal detection and fault location of battery pack voltage, has high reliability, avoids the efforts of modeling and parameter identification, does not require historical data, and can detect online.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115421054B_ABST
    Figure CN115421054B_ABST
Patent Text Reader

Abstract

A battery pack voltage anomaly detection method based on data processing includes: step 1, obtaining voltage data of multiple lithium-ion batteries in a battery pack; and defining N groups of voltage data that change with time contained in each lithium battery as a time series; step 2, respectively calculating the distances from all points in each time series to the straight line; step 3, determining the mark of each time series according to the distances from all points in each time series to the straight line; step 4, modifying the time series using the mark of each time series, and returning to step 2 until the time series has no determined mark; step 5, determining the mark sequence corresponding to each time series according to the mark of each time series; step 6, obtaining the abnormal detection result of the battery pack voltage according to the mark sequence of each time series. The present invention can accurately realize the detection and positioning of faults and has high reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of lithium-ion battery safety, and more specifically, relates to a battery pack voltage anomaly detection method and system based on data processing. Background Art

[0002] Lithium-ion batteries have the advantages of long life, low self-discharge rate and high energy density, and are widely used as energy storage units. However, safety issues have become the primary constraint on the further promotion and application of lithium-ion batteries. Due to the manufacturing defects of the battery itself and the bad habits of subsequent use, the battery may have various faults, such as overcharging, over-discharging, internal short circuit and external short circuit faults, which will seriously affect the application life and safety of lithium-ion batteries. After the above faults occur, the battery voltage will become abnormal and will no longer be charged and discharged according to the prescribed charge and discharge instructions. Therefore, a fast and effective voltage detection method is essential to ensure the reliable operation of lithium-ion batteries.

[0003] Model-based voltage detection methods have the advantage of high accuracy, but require a lot of parameter identification and modeling efforts. Considering that a battery pack contains a large number of batteries, it takes a lot of computational burden to build an accurate model for each battery, so this type of method is difficult to implement in applications. Machine or deep learning-based voltage detection methods generally require a large amount of historical data for training. Since batteries have only been widely used in recent years, the current accumulation of historical data is not sufficient. Summary of the invention

[0004] In order to solve the deficiencies in the prior art, the purpose of the present invention is to solve the above-mentioned defects and further provide a battery pack voltage abnormality detection method and system based on data processing.

[0005] The present invention adopts the following technical solution.

[0006] A battery pack voltage abnormality detection method based on data processing comprises the following steps:

[0007] Step 1: Obtain the voltage curve of each lithium-ion battery in the battery pack over time. Each voltage curve is a time series consisting of N data points, with (x i ,y i ) means, i = 1, 2, 3…, N; x i represents the sampling time of the i-th data point, y i represents the voltage value of the i-th data point;

[0008] Step 2, construct a straight line with the first and last two points of the time series of each lithium-ion battery, and calculate the distances from all points between the first and last points to the straight line;

[0009] Step 3: Based on the distances from all points in each time series to the straight line, if the maximum distance is greater than the threshold, the point with the maximum distance is recorded as the marked point, and the point with the maximum distance is used as the updated end point. Return to step 2 to update the straight line and calculate the distances from all points between the first and last points to the straight line again until the maximum distance is no greater than the threshold. Use all the marked points to construct a marked sequence for each time series.

[0010] Step 4: compare the tag sequence of each lithium-ion battery to distinguish it from the tag sequences of other lithium-ion batteries, and obtain the abnormality detection result of the battery pack voltage.

[0011] Furthermore, step 2 specifically includes:

[0012] Step 2.1, calculate the equation of the corresponding straight line according to the first and last two points of the timing sequence of each lithium-ion battery;

[0013] Step 2.2, according to the equation of the straight line, calculate the distances from all points in the time series to the straight line.

[0014] Furthermore, the equation of the straight line in step 2.1 is:

[0015] (xx h )×(y t -y h )=(yy h )×(x t -x h )

[0016] Among them, (x h ,y h ) and (x t ,y t ) are the coordinates of the first and last points respectively.

[0017] Furthermore, the distance d from the nth point in the time series to the straight line in step 2.2 is n :

[0018]

[0019] A=1 / (x t -x h )

[0020] B=-1 / (y t -y h )

[0021] C=y h / (y t -y h )-x h / (x t -x h )

[0022] Among them, (x n ,y n ) is the coordinate of the nth point, where n∈(h, t); (x h ,y h ) and (x t ,y t ) are the coordinates of the first and last points respectively.

[0023] Furthermore, step 3 specifically includes:

[0024] Perform steps 3.1 to 3.7 for each timing sequence;

[0025] Step 3.1, according to the distances from all points in each time series to the straight line, obtain the maximum distance from all points in the time series to the straight line;

[0026] Step 3.2, if the maximum distance is greater than a preset threshold, determine the marked point as the subscript value of the point in the time series corresponding to the maximum distance;

[0027] Step 3.3, if the maximum distance is less than or equal to the preset threshold, the marking point is not determined;

[0028] Step 3.4, take the maximum distance point as the updated end point, return to step 2 to update the straight line and recalculate the distances from all points between the first and last points to the straight line; until the maximum distance is no greater than the threshold; construct the marking sequence of the time series sequence with all marking points.

[0029] Further, step 1 further includes: setting state=0; characterized in that, in step 3.4, the maximum distance point is used as the updated end point, returning to step 2 to update the straight line and recalculating the distances of all points between the first and last points to the straight line; until the maximum distance is not greater than the threshold, specifically including:

[0030] Step 3.4.1, if state=0, and the marking point of the time series is determined; modify the time series to: a time series with the first and last two points being h=1 and t=k, respectively, where k is the corresponding marking point of the time series; and return to step 2;

[0031] Step 3.4.2, if state=0, and the marking point of the time series has not been determined; set state=1;

[0032] Step 3.4.3, if state=1, and the marking point of the time sequence is determined; modify the time sequence to: a time sequence with the first and last two points being h=k and t=N, respectively, where k is the corresponding marking point of the time sequence; and return to step 2; N is the length of the time sequence in step 1;

[0033] Step 3.4.4, if state=1, and the marking points of the time sequence have not been determined; then the operation on the time sequence in step 3 is terminated, and the marking sequence of each time sequence is constructed with all the marking points.

[0034] Furthermore, the maximum distance d in step 3 max for:

[0035] d max =max{d h+1 , d h+2 , ..., d k , ..., d t-1}

[0036] Among them, d k is the distance from the kth point to the straight line, k=h+1, h+2,..., t-1.

[0037] Furthermore, in step 3, all the marking points are used to construct the marking sequence k_V of each time series. i for:

[0038] kV i =[1, N, k1, k2, ..., k j , ...]

[0039] Among them, k j is the marking point corresponding to the time when step 3 is executed for the first time in the timing sequence; N is the length of the timing sequence in step 1.

[0040] Furthermore, step 4 specifically includes:

[0041] Step 4.1, calculating and determining the length of the tag sequence of all lithium-ion batteries;

[0042] Step 4.2, if the length of one tag sequence is inconsistent with the length of other tag sequences, it is determined that the lithium-ion battery corresponding to the tag sequence is abnormal;

[0043] Step 4.3, if the lengths of the marker sequences are all the same, determine in turn whether the elements at the same position in all marker sequences are equal;

[0044] Step 4.4, if there is a tag sequence whose elements at the same position are different from the elements at the same position in other tag sequences, it is determined that the lithium-ion battery corresponding to the tag sequence has an abnormality;

[0045] Step 4.5: If all elements at the same position in all tag sequences are equal, it is determined that there is no abnormality in the battery pack voltage.

[0046] A battery pack voltage anomaly detection system based on data processing, comprising: a voltage acquisition module, a calculation module and a logic judgment module;

[0047] The voltage acquisition module is used to obtain the voltage curve of each lithium-ion battery in the battery pack that changes over time;

[0048] The calculation module is used to calculate the distances from all points between the first and last points to the straight line, and to construct a label sequence for each time series;

[0049] The logic judgment module is used to judge whether the maximum distance is greater than a threshold value and obtain an abnormal detection result of the battery pack voltage.

[0050] The beneficial effects of the present invention are that, compared with the prior art, the present invention has the following advantages:

[0051] The present invention further realizes abnormal detection of battery voltage in a battery pack based on data processing. The proposed method has clear principles and low computational burden, can accurately detect and locate faults, and has high reliability. It avoids the effort of model establishment and parameter identification, and does not require any historical data to realize online abnormal detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 The present invention is a flowchart of a method for detecting abnormal battery voltage based on data processing.

[0053] Figure 2 It is a schematic diagram of the battery voltage curve. DETAILED DESCRIPTION

[0054] The present application is further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present application.

[0055] like Figure 1 As shown, this embodiment relates to a battery pack voltage abnormality detection method based on data processing, comprising the following steps:

[0056] Step 1: Obtain the voltage curve of each lithium-ion battery in the battery pack over time. Each voltage curve is a time series consisting of N data points, with (x i ,y i ) means, i = 1, 2, 3…, N; x i represents the sampling time of the i-th data point, y i represents the voltage value of the i-th data point;

[0057] Step 1 also includes: initializing variables: state=0.

[0058] Step 2, constructing a straight line with the first and last two points of the time series of each lithium-ion battery, and calculating the distances from all points between the first and last points to the straight line; specifically including:

[0059] Step 2.1, calculate the equation of the corresponding straight line according to the first and last two points of the timing sequence of each lithium-ion battery;

[0060] Specifically, the equation of the straight line is:

[0061] (xx h )×(y t -y h )=(yy h )×(x t -x h )

[0062] Among them, (x h ,y h ) and (x t ,y t ) are the coordinates of the first and last points respectively.

[0063] Step 2.2, according to the equation of the straight line, calculate the distance from all points in each time series to the straight line;

[0064] Specifically, calculate the distance d from the nth point in each time series to the straight line n :

[0065]

[0066] A=1 / (x t -x h )

[0067] B=-1 / (y t -y h )

[0068] C=y h / (y t -y h )-x h / (x t -x h )

[0069] Among them, (x n ,y n ) are the coordinates of the nth point, where n∈(h,t).

[0070] Step 3: Based on the distances from all points in each time series to the straight line, if the maximum distance is greater than the threshold, the point with the maximum distance is recorded as the marked point, and the point with the maximum distance is used as the updated end point, and the line is updated back to step 2 and the distances from all points between the first and last points to the straight line are calculated again until the maximum distance is not greater than the threshold; the marked sequence of each time series is constructed with all the marked points; specifically, the following steps are included:

[0071] Step 3.1, according to the distances from all points in each time series to the straight line, obtain the maximum distance from all points in the time series to the straight line;

[0072] Specifically, the maximum distance d max for:

[0073] d max =max{d h+1 , d h+2 , ..., d k , ..., d t-1}

[0074] Among them, d k is the distance from the kth point to the straight line, k=h+1, h+2,..., t-1.

[0075] Step 3.2, if the maximum distance is greater than a preset threshold, determine the marked point as the subscript value of the point in the time series corresponding to the maximum distance;

[0076] Understandable, if d max =d k , then the marked point is k.

[0077] Step 3.3, if the maximum distance is less than or equal to the preset threshold, the marking point is not determined;

[0078] Step 3.4, take the maximum distance point as the updated end point, return to step 2 to update the straight line and recalculate the distances from all points between the first and last points to the straight line; until the maximum distance is no greater than the threshold; construct the marking sequence of the time series sequence with all marking points.

[0079] In step 3.4, the maximum distance point is used as the updated end point, and the process returns to step 2 to update the straight line and calculate the distances from all points between the first and last points to the straight line again; until the maximum distance is no greater than the threshold, specifically including:

[0080] Step 3.4.1, if state=0, and the marking point of the time series is determined; modify the time series to: a time series with the first and last two points being h=1 and t=k, respectively, where k is the corresponding marking point of the time series; and return to step 2;

[0081] Step 3.4.2, if state=0, and the marking point of the time series has not been determined; set state=1;

[0082] Step 3.4.3, if state=1, and the marking point of the time sequence is determined; modify the time sequence to: a time sequence with the first and last two points being h=k and t=N, respectively, where k is the corresponding marking point of the time sequence; and return to step 2; N is the length of the time sequence in step 1;

[0083] Step 3.4.4, if state=1, and the marking points of the time sequence have not been determined; then the operation on the time sequence in step 3 is terminated, and the marking sequence of each time sequence is constructed with all the marking points.

[0084] Construct the label sequence k_V of each time series with all label points i for:

[0085] kV i =[1, N, k1, k2, ..., k j , ...]

[0086] Among them, k j is the label k corresponding to the ,th execution of step 3 in the ,i,th time series sequence.

[0087] Understandably, the tag sequence k_V i The length of is the number of times step 3 is repeated plus 2.

[0088] Step 4, compare the tag sequence of each lithium-ion battery to distinguish the tag sequence of other lithium-ion batteries, that is, the abnormal lithium-ion battery, and obtain the abnormal detection result of the battery pack voltage. Specifically, the following steps are included:

[0089] Step 4.1, calculating and determining the length of the tag sequence of all lithium-ion batteries;

[0090] Step 4.2, if the length of one tag sequence is inconsistent with the length of other tag sequences, it is determined that the lithium-ion battery corresponding to the tag sequence is abnormal;

[0091] Step 4.3, if the lengths of the marker sequences are all the same, determine in turn whether the elements at the same position in all marker sequences are equal;

[0092] Step 4.4, if there is a tag sequence whose elements at the same position are different from the elements at the same position in other tag sequences, it is determined that the lithium-ion battery corresponding to the tag sequence has an abnormality;

[0093] Step 4.5: If all elements at the same position in all tag sequences are equal, it is determined that there is no abnormality in the battery pack voltage.

[0094] Correspondingly, the present disclosure also proposes a battery pack voltage anomaly detection system based on data processing, including: a voltage acquisition module, a calculation module and a logic judgment module;

[0095] The voltage acquisition module is used to obtain the voltage curve of each lithium-ion battery in the battery pack that changes over time;

[0096] The calculation module is used to calculate the distances from all points between the first and last points to the straight line, and to construct a label sequence for each time series;

[0097] The logic judgment module is used to judge whether the maximum distance is greater than a threshold value and obtain an abnormal detection result of the battery pack voltage.

[0098] Example 1.

[0099] Step 1, obtaining voltage data of multiple lithium-ion batteries in a battery pack;

[0100] Figure 2 The voltage curves of three lithium-ion batteries are shown, among which battery 2 (corresponding to the V2 curve in the figure) has a voltage anomaly at 603s. Since the batteries in the battery pack are connected in series, the three voltage curves of the three lithium-ion batteries have certain similarities. Each voltage curve is a time series sequence consisting of 1371 data points, that is, there are 3 time series sequences consisting of 1371 data points in this embodiment. For the convenience of description, let N = 1371, where N represents the total number of data points of a time series.

[0101] Step 2, respectively calculate the distances from all points in each time series to the straight line, where the straight line is a straight line formed by the first and last two points of each time series;

[0102] Understandably, when executing step 2 for the first time, the first and last points (x h ,y h ) and (x t ,y t ), namely the 1st point (x1, y1) and the 1371st point (x 1371 ,y 1371 ), that is: h=1, t=1371.

[0103] The straight line formed by the first and last two points is shown in formula (1):

[0104] (xx h )×(y t -y h )=(yy h )×(x t-x h ) (1) In the formula, x is the independent variable and y is the dependent variable.

[0105] Then, use formula (2) to calculate the distance from all points in each time series (the first time step 2 is executed, from the 2nd point to the 1370th point) to the straight line:

[0106]

[0107] In the formula, (x n ,y n ) is the coordinate of the nth point (n∈(h,t)), d n is the distance from the nth point to the straight line, A = 1 / (x t -x h ), B = -1 / (y t -y h ), C = y h / (y t -y h )-x h / (x t -x h ). So far, a total of (th-1) d n .

[0108] Step 3: Find the maximum d through formula (3) n , denoted as d max , d max Compare with the threshold T, if equation (4) holds, get d max The corresponding point d k The label k (k=h+1, h+2, ..., t-1).

[0109] d max =max{d h+1 , d h+2 , ..., d t-1} (3)

[0110] d max >T (4)

[0111] Then, the time series is modified using the newly obtained mark k, and steps 2 and 3 are repeated, specifically including:

[0112] Modify each time series in step 2 to a time series with the first and last points marked as h=1 and t=k respectively, and repeat steps 2 and 3 until the first and last points of the time series are adjacent to each other;

[0113] Modify each time series in step 2 to a time series with the first and last two points marked as h=k and t=N respectively, and repeat steps 2 and 3 until the first and last points of the time series are adjacent to each other.

[0114] Finally, according to the label k in step 3, the label sequence corresponding to any lithium-ion battery is obtained;

[0115] It should be noted that for each time series, a k is calculated each time step 3 is executed. Therefore, the i-th time series (or the i-th lithium-ion battery) corresponds to a label sequence k_V composed of all k in sequence. i It should be noted that in the tag sequence k_V i The numbers 1 and N need to be added at the beginning.

[0116] Figure 1 In the above example, the three time series correspond to the tag sequences k_V1, k_V2, and k_V3 composed of all k as shown in the following equations (5)-(7).

[0117] k_V1=[1 1371 197 186 173 118 87 53 48 39 31 21 60 76 114 164 126 182175 323 300 288 279 252 290 293 294 318 311 360 347 326 389 380 408 423 415453 448 498 492 527 547 544 780 757 659 614 612 573 569 583 646 673 740 721711 838 973 952 947 859 867 1018 989 1003 1059 1053 1082 1114 1182 1177 11471169 1215 1306 1302 1238 1349] (5)

[0118] k_V2=[1 1371 197 186 173 118 87 53 48 39 31 21 60 76 114 164 126 182175 323 300 288 279 252 290 293 294 318 311 360 347 326 389 380 370 659 408403 498 422 415 453 448 492 527 614 612 547 544 573 569 589 646 757 673 711721 740 780 838 793 806 973 952 947 859 867 879 917 1018 989 1003 993 10591053 1082 1114 1182 1177 1147 1169 1215 1306 1302 1238 1349] (6)

[0119] k_V3=[1 1371 197 186 173 118 87 53 48 39 31 21 60 76 114 164 126 182175 323 300 288 279 252 290 293 294 318 311 360 347 326 389 380 408 423 415453 448 498 492 780 527 614 612 547 544 573 569 583 757 659 646 673 740 721711 838 973 952 947 859 867 1018 989 1003 1059 1053 1082 1114 1182 1177 11471169 1215 1306 1302 1238 1349] (7)

[0120] Step 4: Determine whether the battery pack voltage is abnormal based on the sequences corresponding to all lithium-ion batteries.

[0121] In this embodiment, three marker sequences are compared in terms of length and corresponding position data differences:

[0122] Length(k_V1)=Length(k_V2) (8)

[0123] Length(k_V2)=Length(k_V3) (9)

[0124] Length(k_V3)=Length(k_V1) (10)

[0125] In the formula, Length is the length measurement of the marker sequence. If any of the equations (8)-(10) is not true, it is considered that there is a voltage anomaly. If all equations (8)-(10) are true, that is, the lengths of the three marker sequences are the same, then the differences in the corresponding position data of the three marker sequences are further compared:

[0126] k_V1[i]=k_V2[i] (11)

[0127] k_V1[i]=k_V2[i] (12)

[0128] k_V1[i]=k_V2[i] (13)

[0129] Wherein, i=1, 2, ..., Length. If any one of equations (11)-(13) is not true, it is considered that there is a voltage abnormality. If all equations (11)-(13) are true, the voltage is normal.

[0130] From equations (4)-(6), we can see that Length(k_V3) and Length(k_V1) are 79, while Length(k_V2) is 86, that is, equations (8) and (9) cannot be satisfied, and only equation (10) is satisfied. Therefore, it can be determined that there is an abnormal voltage in the battery pack. Furthermore, since the intersection of equations (8) and (9) is k_V2, it is determined that there is a voltage abnormality in V2. Figure 2 It can be seen that the patent of the present invention reliably detects voltage anomalies in a battery pack and accurately locates the battery numbers with abnormal voltages.

[0131] It can be seen that the patent of the present invention does not require modeling and parameter identification, and does not require historical data as a basis. It can reliably detect battery failures in battery packs and accurately locate batteries with abnormal voltages. It has the advantages of clear principles, low computational burden, and online application.

[0132] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0133] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, 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 suitable combination thereof. More specific examples (non-exhaustive lists) of computer readable storage medium include: portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), static random access memories (SRAM), portable compact disk read-only memories (CD-ROM), digital versatile disks (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or convex structures in grooves on which instructions are stored, and any suitable combination thereof. Computer readable storage medium used here is not interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagated by waveguides or other transmission media (e.g., light pulses by optical fiber cables), or electrical signals transmitted by wires.

[0134] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0135] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0136] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0137] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0138] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0139] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0140] 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 above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A battery pack voltage abnormality detection method based on data processing, characterized in that: The steps include: Step 1: Obtain the voltage curve of each lithium-ion battery in the battery pack over time. Each voltage curve is a time series consisting of N data points, with (x i ,y i ) means, i = 1, 2, 3…, N; x i represents the sampling time of the i-th data point, y i represents the voltage value of the i-th data point; Step 2, construct a straight line with the first and last two points of the time series of each lithium-ion battery, and calculate the distances from all points between the first and last points to the straight line; Step 3: Based on the distances from all points in each time series to the straight line, if the maximum distance is greater than the threshold, the point with the maximum distance is recorded as the marked point, and the point with the maximum distance is used as the updated end point. Return to step 2 to update the straight line and calculate the distances from all points between the first and last points to the straight line again. Until the maximum distance is no greater than the threshold; construct the marking sequence of each time series with all marking points; Step 4, comparing the tag sequence of each lithium-ion battery to distinguish it from the tag sequences of other lithium-ion batteries, and obtaining the abnormal detection result of the battery pack voltage, specifically including: Step 4.1, calculating and determining the length of the tag sequence of all lithium-ion batteries; Step 4.2, if the length of one tag sequence is inconsistent with the length of other tag sequences, it is determined that the lithium-ion battery corresponding to the tag sequence is abnormal; Step 4.3, if the lengths of the marker sequences are all the same, determine in turn whether the elements at the same position in all marker sequences are equal; Step 4.4, if there is a tag sequence whose elements at the same position are different from the elements at the same position in other tag sequences, it is determined that the lithium-ion battery corresponding to the tag sequence has an abnormality; Step 4.5: If all elements at the same position in all tag sequences are equal, it is determined that there is no abnormality in the battery pack voltage.

2. The method for detecting abnormal battery voltage based on data processing according to claim 1, characterized in that: Step 2 specifically includes: Step 2.1, calculate the equation of the corresponding straight line according to the first and last two points of the timing sequence of each lithium-ion battery; Step 2.2, according to the equation of the straight line, calculate the distances from all points in the time series to the straight line.

3. The method for detecting abnormal battery voltage based on data processing according to claim 2, characterized in that: The equation of the line in step 2.1 is: (xx h )×(and t -and h )=(yy h )×(x t -x h ) Among them, (x h ,y h ) and (x t ,y t ) are the coordinates of the first and last points respectively.

4. The method for detecting abnormal battery voltage based on data processing according to claim 2, characterized in that: The distance d from the nth point in the time series to the straight line described in step 2.2 n : A=1 / (x t -x h ) B=-1 / (and t -and h ) c=y h / (and t -and h )-x h / (x t -x h ) Among them, (x n ,y n ) is the coordinate of the nth point, where n∈(h, t); (x h ,y h ) and (x t ,y t ) are the coordinates of the first and last points respectively.

5. The method for detecting abnormal battery voltage based on data processing according to claim 1, characterized in that: Step 3 specifically includes: Perform steps 3.1 to 3.7 for each timing sequence; Step 3.1, according to the distances from all points in each time series to the straight line, obtain the maximum distance from all points in the time series to the straight line; Step 3.2, if the maximum distance is greater than a preset threshold, determine the marked point as the subscript value of the point in the time series corresponding to the maximum distance; Step 3.3, if the maximum distance is less than or equal to the preset threshold, the marking point is not determined; Step 3.4, take the maximum distance point as the updated end point, return to step 2 to update the straight line and recalculate the distances from all points between the first and last points to the straight line; until the maximum distance is no greater than the threshold; construct the marking sequence of the time series sequence with all marking points.

6. The method for detecting abnormal battery voltage based on data processing according to claim 5, characterized in that: Step 1 also includes: setting state=0; characterized in that, in step 3.4, the maximum distance point is used as the updated end point, returning to step 2 to update the straight line and recalculating the distances of all points between the first and last points to the straight line; until the maximum distance is not greater than the threshold, specifically including: Step 3.4.1, if state=0, and the marking point of the time series is determined; modify the time series to: a time series with the first and last two points being h=1 and t=k, respectively, where k is the corresponding marking point of the time series; and return to step 2; Step 3.4.2, if state=0, and the marking point of the time series has not been determined; set state=1; Step 3.4.3, if state=1, and the marking point of the time sequence is determined; modify the time sequence to: a time sequence with the first and last two points being h=k and t=N, respectively, where k is the corresponding marking point of the time sequence; and return to step 2; N is the length of the time sequence in step 1; Step 3.4.4, if state=1, and the marking points of the time sequence have not been determined; then the operation on the time sequence in step 3 is terminated, and the marking sequence of each time sequence is constructed with all the marking points.

7. The method for detecting abnormal battery voltage based on data processing according to claim 1, characterized in that: The maximum distance d in step 3 max for: d max =max{d h+1 ,d h+2 ,...,d k ,...,d t-1 } Among them, d k is the distance from the kth point to the straight line, k=h+1, h+2,..., t-1.

8. The method for detecting abnormal battery voltage based on data processing according to claim 1, characterized in that: In step 3, all the marking points are used to construct the marking sequence k_V of each time series. i for: k_V i =[1,N,k1,k2,...,k j, ...] Among them, k j is the marking point corresponding to the time when step 3 is executed for the first time in the timing sequence; N is the length of the timing sequence in step 1.

9. A battery pack voltage anomaly detection system based on data processing, used to execute the method according to any one of claims 1 to 8, characterized in that: The abnormality detection system includes: a voltage acquisition module, a calculation module and a logic judgment module; The voltage acquisition module is used to obtain the voltage curve of each lithium-ion battery in the battery pack that changes over time; The calculation module is used to calculate the distances from all points between the first and last points to the straight line, and to construct a label sequence for each time series; The logic judgment module is used to judge whether the maximum distance is greater than a threshold value and obtain an abnormal detection result of the battery pack voltage.

10. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1-9.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Cascaded-structure lithium ion battery pack consistency visualization evaluating method

    CN109814043A

  • Lithium ion battery voltage fault diagnosis method and system based on SDO algorithm

    CN112098850A