# US 2025/0164564 A1 · Method, device and non-transitory computer-readable storage medium for online diagnosis of power battery voltage fault based on entropy algorithm

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0164564 A1
- Document ID: US20250164564A1
- Status: Published application
- Kind: A1
- Application number: 19/031,712
- Filed: 2025-01-18
- Published: 2025-05-22
- Earliest claimed: 2023-08-14
- Assignees: Chang'an University
- Applicants: Chang'an University
- Inventors: Xuan ZHAO; Jian MA; Kai ZHANG; Yisong CHEN; Xiaolei YUAN; Dean MENG
- Web page: https://patentgrep.com/patent/US20250164564A1

## CPC

- G01R 31/367: Software therefor, e.g. for battery testing using modelling or look-up tables
- G01R 31/3648: {comprising digital calculation means, e.g. for performing an algorithm}
- G01R 31/392: Determining battery ageing or deterioration, e.g. state of health
- G01R 31/396: Acquisition or processing of data for testing or for monitoring individual cells or groups of cells within a battery
- Y02T 10/70: Energy storage systems for electromobility, e.g. batteries
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- Y02T: CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION

## Abstract

A method for online diagnosis of power battery voltage fault based on entropy algorithm, in which voltage time-series values of individual cells in a battery pack of a to-be-diagnosed vehicle are obtained to construct a first voltage data matrix; the first voltage data matrix is intercepted by a sliding time window to form a second voltage data matrix; voltage values of the second voltage data matrix are subjected to data exclusion and reconstruction to form a third voltage data matrix; Shannon entropy values of cells are calculated; each Shannon entropy value is transformed into an abnormal fluctuation evaluation coefficient of individual cells; whether there is a abnormal cell is determined; if yes, position and occurrence time of the abnormal cell are determined, and an abnormality degree is evaluated; otherwise, the time window is moved downward, and the above steps are repeated for the next iteration.

## Claims

### Claim 1

A method for online diagnosis of power battery voltage fault based on an entropy algorithm, comprising:
(S100) obtaining a voltage time-series data of each of a plurality of cells in a battery pack of a to-be-diagnosed vehicle to construct a first voltage data matrix A;
wherein the first voltage data matrix A is expressed by:
A
=
[
a
1
,
1
a
1
,
2
⋯
a
1
,
n
a
2
,
1
a
2
,
2
⋯
a
2
,
n
⋮
⋮
a
i
,
j
⋮
a
m
,
1
a
m
,
2
⋯
a
m
,
n
]
;
wherein m is a time-series length; n is the number of the plurality of cells; and ai,j represents a voltage of a j-th cell at an i-th index; i=1, 2, . . . m; and j=1, 2, . . . n;
(S101) setting a length and a width of a sliding time window; and performing data interception on the first voltage data matrix A by using the sliding time window to form a second voltage data matrix B;
(S102) subjecting voltage values of the second voltage data matrix B to data exclusion and reconstruction based on a data processing method to form a third voltage data matrix D;
(S103) calculating a Shannon entropy value of each of the plurality of cells based on the third voltage data matrix D by using an optimized entropy algorithm;
(S104) transforming the Shannon entropy value into a voltage abnormal fluctuation evaluation coefficient based on an improved Z-score method;
(S105) determining whether there is an abnormal cell among the plurality of cells based on a safety evaluation strategy; if yes, proceeding to step (S106); otherwise, proceeding to step (S107);
(S106) determining a position and an occurrence time of the abnormal cell; and determining an abnormality degree of the abnormal cell to send a corresponding alert to a driver; and
(S107) moving the sliding time window down within the first voltage data matrix A, and repeating steps (S101)-(S105) for a next iteration.

### Claim 2 (depends on 1)

The method of claim 1, wherein the length of the sliding time window is k, and the width of the sliding time window is equal to the number of the plurality of cells n; and the second voltage data matrix B is represented by:
B
=
[
b
1
,
1
b
1
,
2
⋯
b
1
,
n
b
2
,
1
b
2
,
2
⋯
b
2
,
n
⋮
⋮
b
i
,
j
⋮
b
k
,
1
b
k
,
2
⋯
b
k
,
n
]
;
wherein bi,j represents the voltage value of the j-th cell at the i-th index; i=1, 2, . . . k; and j=1, 2, . . . n.

### Claim 3 (depends on 2)

The method of claim 2, wherein the step (S102) comprises:
(S200) monitoring a voltage difference between neighboring data sampling points for each of the plurality of cells to establish a voltage difference matrix C; wherein the voltage difference matrix C is represented by:
C
=
[
c
1
,
1
c
1
,
2
⋯
c
1
,
n
c
2
,
1
c
2
,
2
⋯
c
2
,
n
⋮
⋮
c
i
,
j
⋮
c
k
-
1
,
1
c
k
-
1
,
2
⋯
c
k
-
1
,
n
]
;
wherein ci,j represents a voltage difference of the j-th cell between the i-th index and an (i+1)-th index; i=1, 2, . . . , k−1; and j=1, 2, . . . , n;
(S201) for each of the plurality of cells, identifying data locations in the voltage difference matrix C where voltage differences are not greater than 0.001V, and locking row indices for more than k/10 consecutive data points;
(S202) removing data fragments corresponding to the row indices identified in step (S201) from the second voltage data matrix B; and
(S203) sequentially splicing remaining data in the second voltage data matrix B to form the third voltage data matrix D, wherein a value of a spliced point is an average of values of an immediately preceding row and an immediately following row;
the third voltage data matrix D is represented by:
D
=
[
d
1
,
1
d
1
,
2
⋯
d
1
,
n
d
2
,
1
d
2
,
2
⋯
d
2
,
n
⋮
⋮
d
i
,
j
⋮
d
e
,
1
d
e
,
2
⋯
d
e
,
n
]
;
wherein di,j represents a voltage of the j-th cell at the i-th index, and e≤k.

### Claim 4 (depends on 3)

The method of claim 3, wherein the step (S103) comprises:
(S300) finding a maximum value dmax and a minimum value dmin of the third voltage data matrix D; wherein the maximum value dmax and the minimum value dmin are represented by:
{
d
min
=
min
⁢
{
d
i
,
j
❘
i
=
1
,
2
,
⋯
,
e
;
j
=
1
,
2
,
⋯
,
n
}
d
max
=
max
⁢
{
d
i
,
j
❘
i
=
1
,
2
,
⋯
,
e
;
j
=
1
,
2
,
⋯
,
n
}
;
(S301) dividing a range formed by the maximum value dmax and the minimum value dmin into/intervals, each represented by:
(
d
min
+
(
L
-
1
)
⁢
d
max
-
d
min
l
,
d
min
+
L
⁢
d
max
-
d
min
l
)
;
wherein L=1, 2, 3, . . . 1;
(S302) calculating the number of voltage values of each of the plurality of cells in the third voltage data matrix D respectively falling into each of the/intervals to obtain a frequency matrix F, represented by:
F
=
[
f
1
,
1
f
1
,
2
⋯
f
1
,
n
f
2
,
1
f
2
,
2
⋯
f
2
,
n
⋮
⋮
f
i
,
j
⋮
f
l
,
1
f
l
,
2
⋯
f
l
,
n
]
;
wherein fi,j represents the number of voltage values of the j-th cell in the third voltage data matrix D that falls into an i-th interval;
(S303) dividing each value in the frequency matrix F by a sum of values in a corresponding column of the frequency matrix F to obtain a probability matrix P, represented by:
P
=
[
p
1
,
1
p
1
,
2
⋯
p
1
,
n
p
2
,
1
p
2
,
2
⋯
p
2
,
n
⋮
⋮
p
i
,
j
⋮
p
l
,
1
p
l
,
2
⋯
p
l
,
n
]
;
wherein
p
i
,
j
=
f
i
,
j
∑
i
=
1
l
f
i
,
j
,
representing a probability that the voltage values of the j-th cell in the third voltage data matrix D fall into the i-th interval; and
(S304) calculating the Shannon entropy value of each of the plurality of cells based on the second voltage data matrix B to obtain a first Shannon entropy sequence H(B); wherein the first Shannon entropy sequence H(B) is expressed by:
H
⁡
(
B
)
=
[
H
1
,
H
2
,
⋯
,
H
j
,
⋯
,
H
n
]
;
wherein
H
j
=
-
∑
i
=
1
l
p
i
,
j
⁢
log
⁢
p
i
,
j
,
representing a Shannon entropy value of the j-th cell calculated based on the second voltage data matrix B.

### Claim 5 (depends on 4)

The method of claim 4, wherein the step (S104) comprises:
(S400) obtaining the first Shannon entropy sequence H(B);
(S401) calculating a mean value μH of Shannon entropy values of the plurality of cells in the first Shannon entropy sequence;
(S402) excluding values exceeding 2*μH from the first Shannon entropy sequence H(B) to form a second Shannon entropy sequence H(B)′; and
calculating a mean value and a standard deviation of Shannon entropy values in the second Shannon entropy sequence H(B) respectively according to the following equations:
μ
H
′
=
1
g
⁢
∑
j
=
1
g
H
j
;
and
σ
H
′
=
1
g
⁢
∑
j
=
1
g
(
H
j
-
μ
H
′
)
2
;
(S403) calculating a median Hme of the Shannon entropy values of the plurality of cells in the second Shannon entropy sequence; and
(S404) normalizing the Shannon entropy values of the plurality of cells in the second Shannon entropy sequence H(B)′ to obtain the voltage abnormal fluctuation evaluation coefficient of the plurality of cells, expressed by:
AF
j
=
H
j
′
-
H
me
σ
H
′
;
wherein Hj′ represents a Shannon entropy value of the j-th cell in the second Shannon entropy sequence; and σH′ represents the standard deviation of the second Shannon entropy sequence.

### Claim 6 (depends on 5)

The method of claim 5, wherein the safety evaluation strategy is performed through steps of:
(S500) determining whether there is a cell among the plurality of cells whose voltage abnormal fluctuation evaluation coefficient absolute value is greater than 3.5, wherein the cell whose voltage abnormal fluctuation evaluation coefficient absolute value is greater than 3.5 is identified as the abnormal cell;
(S501) if not, proceeding to step (S502); and if yes, proceeding to step (S503);
(S502) moving the sliding time window down by one row within the first voltage data matrix A and repeating steps (S101)-(S105) for the next iteration;
(S503) determining whether the voltage abnormal fluctuation evaluation coefficient absolute value is larger than 4; if yes, proceeding to step (S505), otherwise, proceeding to step (S504);
(S504) sending a secondary fault warning; calculating a duration of a secondary fault; determining whether the duration of the secondary fault exceeds a preset threshold;
if yes, proceeding to step (S505), otherwise, returning to step (S502);
(S505) sending a primary fault warning to the driver, and checking the to-be-diagnosed vehicle.

### Claim 7 (depends on 1)

A device for online diagnosis of power battery voltage fault based on the entropy algorithm, comprising:
a memory configured to store a computer program; and
a processor;
wherein the processor is configured to execute the computer program to implement the method of claim 1.

### Claim 8 (depends on 1)

A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a computer program; and the computer program is configured to be executed by a processor to implement the method of claim 1.
