Battery detection method and device, vehicle and storage medium

By obtaining the battery parameter data set in the vehicle and using a density-based clustering algorithm, the accurate detection of power battery insulation anomalies is achieved, which solves the problem of inaccurate detection in the existing technology and improves the reliability of battery safety assessment.

CN118769906APending Publication Date: 2024-10-15CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411022871.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing technology is prone to misjudgments and omissions in the detection of power battery insulation anomalies, resulting in inaccurate detection.

Method used

By obtaining the parameter data set of the battery in the preset parameter set in the vehicle, feature extraction and density-based clustering algorithm processing are performed to achieve multi-dimensional parameter clustering results to accurately detect battery insulation abnormalities.

Benefits of technology

It improves the accuracy of battery insulation abnormality detection, avoids the inaccuracy of single parameter detection, and achieves a more reliable battery safety assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118769906A_ABST
    Figure CN118769906A_ABST
Patent Text Reader

Abstract

The invention relates to a battery detection method and device, a vehicle and a storage medium, and the method comprises the steps: obtaining a corresponding parameter data set of a battery under each preset parameter in a preset parameter set in a working process of the battery in the vehicle; for each preset parameter in the preset parameter set, performing feature extraction on the parameter data set corresponding to the preset parameter to obtain a feature data set corresponding to the preset parameter; performing clustering processing on each piece of feature data in all the obtained feature data sets by using a density-based clustering algorithm to obtain a plurality of first clustering results; and according to the plurality of first clustering results, battery insulation abnormity is detected to obtain a target detection result corresponding to the battery. According to the invention, the accurate detection of the insulation abnormity of the battery is realized, and the problem that the insulation detection of the battery is inaccurate through a single parameter is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a battery detection method, device, vehicle and storage medium. Background Art

[0002] With the continuous expansion of the new energy vehicle market, the safety of power batteries has received increasing attention. Among them, the insulation performance of power batteries is one of the important indicators to measure their safety. Insulation abnormality is one of the common faults of power batteries, which may lead to serious consequences such as battery thermal runaway and fire. Therefore, it is of great significance to study the detection method of power battery insulation abnormality. At present, in order to realize the detection of battery insulation abnormality, a threshold judgment is usually made through a single parameter. However, the above method is prone to the problems of misjudgment and missed judgment, which makes the detection of battery insulation abnormality inaccurate. Summary of the invention

[0003] One of the purposes of the present application is to provide a battery detection method, which realizes accurate detection of battery insulation abnormalities and avoids the inaccuracy problem existing in battery insulation detection through a single parameter; the second purpose of the present application is to provide a battery detection device; the third purpose of the present application is to provide a vehicle; the fourth purpose of the present application is to provide a storage medium.

[0004] In order to achieve the above objectives, in a first aspect, the present application provides a battery detection method, comprising:

[0005] During the operation of the battery in the vehicle, a parameter data set corresponding to each preset parameter in the preset parameter set is obtained, wherein the preset parameters are used to characterize the parameters that affect the insulation abnormality of the battery;

[0006] For each of the preset parameters in the preset parameter set, performing feature extraction on the parameter data set corresponding to the preset parameter to obtain a feature data set corresponding to the preset parameter;

[0007] Using a target clustering algorithm to perform clustering processing on each feature data in all the feature data sets obtained to obtain a plurality of first clustering results, wherein the target clustering algorithm is a density-based clustering algorithm;

[0008] The battery insulation abnormality is detected according to the plurality of first clustering results to obtain a target detection result corresponding to the battery.

[0009] Optionally, the target clustering algorithm includes: target clustering parameters;

[0010] The target clustering parameters are determined as follows:

[0011] Acquire a preset particle set, wherein each preset particle in the preset particle set is used to characterize an initial clustering parameter, and each preset particle in the preset particle set corresponds to a particle parameter;

[0012] Iteratively updating the particle parameters corresponding to all the preset particles in the preset particle set using a particle swarm optimization algorithm, so as to obtain a global optimal solution when the iteration terminates;

[0013] The initial clustering parameters of the preset particles corresponding to the global optimal solution are used as the target clustering parameters.

[0014] Optionally, the target clustering algorithm includes: target clustering parameters;

[0015] The method of clustering each feature data in all the feature data sets obtained by using a target clustering algorithm to obtain a plurality of first clustering results includes:

[0016] For each of the preset parameters in the preset parameter set, determining a feature data point corresponding to each feature data in the feature data set corresponding to the preset parameter, so as to obtain a feature data point set corresponding to the preset parameter;

[0017] For each of the feature data points in all the obtained feature data point sets, determine a target distance between the feature data point and each of the other feature data points in all the obtained feature data sets, so as to obtain a target distance set corresponding to the feature data point;

[0018] According to all the obtained target distance sets and the target clustering parameters, clustering processing is performed on each of the feature data in all the obtained feature data sets to obtain a plurality of first clustering results.

[0019] Optionally, the target clustering parameters include a target neighborhood and a target minimum number of points, the target neighborhood is used to characterize the maximum distance between the feature data points during clustering, and the target minimum number of points is used to characterize the minimum number of feature data points included in the target neighborhood;

[0020] The detecting the insulation abnormality of the battery according to the plurality of the first clustering results to obtain a target detection result corresponding to the battery includes:

[0021] Determining whether each of the first clustering results meets a first preset condition, wherein the first preset condition includes: the number of the feature data points included in the first clustering result is less than the target minimum number of points;

[0022] When there is at least one first clustering result satisfying the first preset condition among all the first clustering results, it is determined that the target detection result corresponding to the battery is that insulation abnormality exists in the battery.

[0023] Optionally, before executing the step of performing feature extraction on the parameter data set corresponding to each preset parameter in the preset parameter set to obtain a feature data set corresponding to the preset parameter, the method further includes:

[0024] For each of the preset parameters in the preset parameter set, determining whether there is feature data satisfying a second preset condition in the feature data set corresponding to the preset parameter, wherein the second preset condition includes: the feature data is abnormal data, missing data, or duplicate data;

[0025] When the feature data satisfying the second preset condition exists in the feature data set corresponding to the preset parameter, processing all the feature data satisfying the second preset condition in the feature data set corresponding to the preset parameter to obtain the processed feature data set corresponding to the preset parameter;

[0026] The method of clustering each feature data in all the feature data sets obtained by using a target clustering algorithm to obtain a plurality of first clustering results includes:

[0027] A target clustering algorithm is used to perform clustering processing on each feature data in all the processed feature data sets to obtain a plurality of first clustering results.

[0028] Optionally, before executing the step of clustering each feature data in all the feature data sets obtained by using a target clustering algorithm to obtain a plurality of first clustering results, the method further includes:

[0029] After obtaining the target clustering parameters, clustering all preset data in the preset data set using the target clustering algorithm to obtain a plurality of second clustering results, wherein the preset data is used to represent the data used to evaluate the clustering effect of the target clustering algorithm;

[0030] Based on each preset evaluation indicator in the preset evaluation indicator set, all the obtained second clustering results are evaluated to obtain a target evaluation result corresponding to each preset evaluation indicator in the preset evaluation indicator set;

[0031] According to all the target evaluation results obtained, the step of using the target clustering algorithm to cluster the individual feature data in all the feature data sets obtained is performed to obtain a plurality of first clustering results.

[0032] Optionally, each of the preset evaluation indicators in the preset evaluation indicator set corresponds to a third preset condition, and the third preset condition is used to indicate that the clustering effect of the target clustering algorithm meets the requirement when the target evaluation result corresponding to the preset evaluation indicator meets the third preset condition;

[0033] The step of performing clustering processing on each feature data in all the feature data sets obtained by using a target clustering algorithm according to all the target evaluation results obtained to obtain a plurality of first clustering results includes:

[0034] For each of the obtained target evaluation results corresponding to the preset evaluation indicators, determining whether the target evaluation result meets the third preset condition corresponding to the preset evaluation indicator;

[0035] When all the target evaluation results obtained meet the corresponding third preset conditions, the step of clustering the respective feature data in all the feature data sets obtained using the target clustering algorithm is executed to obtain a plurality of first clustering results.

[0036] Optionally, after obtaining the target detection result corresponding to the battery, the method further includes:

[0037] When the target detection result is that the battery has insulation abnormality, outputting the target detection result;

[0038] When receiving target information corresponding to the target detection result, determining the target confidence corresponding to the target clustering algorithm according to the target information, wherein the target information is used to represent the recognition result of the target detection result;

[0039] When the target confidence level is greater than a preset confidence level threshold, the step of returning to the step of obtaining a parameter data set corresponding to each preset parameter of the battery in a preset parameter set is performed.

[0040] Optionally, determining the target confidence corresponding to the target clustering algorithm according to the target information includes:

[0041] Acquire historical information corresponding to each historical detection result in the historical detection result set, wherein the historical information is used to characterize the recognition result of the historical detection result, the historical detection result is used to characterize that the battery has insulation abnormality, and all the historical detection results in the historical detection result set are output before the target detection result;

[0042] The target confidence level corresponding to the target clustering algorithm is determined according to all the acquired historical information and the target information.

[0043] In order to achieve the above objectives, in a second aspect, the present application provides a battery detection device, comprising:

[0044] An acquisition module, used for acquiring a parameter data set corresponding to each preset parameter in a preset parameter set of the battery during operation of the battery in the vehicle, wherein the preset parameters are used to characterize parameters affecting the battery insulation abnormality;

[0045] An extraction module, configured to perform feature extraction on the parameter data set corresponding to each preset parameter in the preset parameter set, so as to obtain a feature data set corresponding to the preset parameter;

[0046] A clustering module, used for clustering each feature data in all the feature data sets obtained by using a target clustering algorithm to obtain a plurality of first clustering results, wherein the target clustering algorithm is a density-based clustering algorithm;

[0047] A detection module is used to detect the battery insulation abnormality according to the plurality of the first clustering results to obtain a target detection result corresponding to the battery.

[0048] To achieve the above objectives, in a third aspect, the present application also provides a vehicle, including: a processor and a memory, the processor being used to execute a battery detection program stored in the memory to implement the battery detection method as described above.

[0049] To achieve the above objectives, in a fourth aspect, the present application further provides a storage medium, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the battery detection method as described above.

[0050] Beneficial effects of the present application: The present application provides a battery method, which, during the operation of the battery in a vehicle, uses the parameter data sets corresponding to the battery under each preset parameter in the preset parameter set to perform feature extraction on each parameter data set corresponding to all preset parameters to obtain a feature data set corresponding to the preset parameters, thereby using a density-based clustering algorithm to perform clustering processing on each feature data set obtained to obtain multiple first clustering results, and then based on the multiple first clustering results obtained by multi-dimensional parameters, accurate detection of battery insulation abnormalities is achieved, avoiding the inaccurate problem of battery insulation detection through a single parameter. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 A schematic diagram showing a flow chart of a battery detection method provided in an embodiment of the present application;

[0052] Figure 2 A schematic diagram showing a flow chart of a method for determining a target clustering parameter provided in an embodiment of the present application;

[0053] Figure 3 A schematic diagram of a process of clustering using a target clustering algorithm provided in an embodiment of the present application is shown;

[0054] Figure 4 A schematic diagram of the structure of a battery detection device provided in an embodiment of the present application is shown;

[0055] Figure 5 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application is shown;

[0056] in:

[0057] 10. Acquisition module; 20. Extraction module; 30. Clustering module; 40. Detection module;

[0058] 500, vehicle; 501, processor; 502, memory; 5021, operating system; 5022, application; 503, user interface; 504, network interface; 505, bus system. DETAILED DESCRIPTION

[0059] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.

[0060] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0061] To facilitate understanding of the embodiments of the present application, further explanation will be given below with reference to specific embodiments in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present application.

[0062] refer to Figure 1 , Figure 1 A battery detection method provided in this application includes the following steps:

[0063] S101: During the operation of a battery in a vehicle, a parameter data set corresponding to each preset parameter in a preset parameter set of the battery is obtained.

[0064] In this embodiment, the preset parameters are used to characterize the parameters that affect the battery insulation abnormality. The preset parameters include the battery voltage, the battery current, the battery temperature and the battery internal resistance. When the battery has an insulation abnormality, the battery voltage, the battery current, the battery temperature and the battery internal resistance will usually change significantly. Therefore, the battery voltage, current, temperature and internal resistance are combined to perform specific detection of the battery insulation abnormality to improve the accuracy of the battery insulation abnormality detection. Of course, the preset parameters can also be set according to actual needs, and are not limited in this embodiment.

[0065] Among them, appropriate sensors are arranged around each battery cell or module in the battery. These sensors must have the characteristics of high precision, high stability and long life to ensure accurate and reliable data collection. For example, a voltage sensor can be used to collect the voltage of the battery; a current sensor can be used to collect the current of the battery; a temperature sensor can be used to collect the temperature of the battery; professional battery testing equipment can be used to select the battery to be measured, and measure the internal resistance by applying a small current and recording the voltage change under constant temperature and humidity. At the same time, the measurement is repeated under different charge and discharge states and load conditions to capture the dynamic changes of the internal resistance.

[0066] It should be noted that the parameter data set corresponding to each preset parameter in the preset parameter set of the battery is obtained at every preset period. The preset period can be set according to actual needs, for example, the preset period can be 5S.

[0067] S102: For each preset parameter in the preset parameter set, feature extraction is performed on a parameter data set corresponding to the preset parameter to obtain a feature data set corresponding to the preset parameter.

[0068] In this embodiment, in order to provide a basis for subsequent clustering processing, feature extraction is performed on parameter data sets corresponding to all preset parameters in the acquired preset parameter set, thereby obtaining feature data sets corresponding to each preset parameter.

[0069] Among them, when the preset parameters include the voltage of the battery, the amplitude characteristic data (such as average value, maximum value, minimum value, etc.), shape characteristic data (such as skewness, kurtosis, etc.), dynamic characteristic data (such as rate of change, peak frequency, etc.) and timing characteristic data (such as autocorrelation function, cross-correlation function, etc.) of the voltage signal are extracted to comprehensively describe the characteristics of the voltage signal, and a characteristic data set related to the battery voltage is constructed based on the extracted characteristic data.

[0070] Similarly, when the preset parameters include the current of the battery, the amplitude characteristic data (such as average value, maximum value, minimum value, etc.), shape characteristic data (such as skewness, kurtosis, etc.), dynamic characteristic data (such as rate of change, peak frequency, etc.) and timing characteristic data (such as autocorrelation function, cross-correlation function, etc.) of the current signal are extracted to comprehensively describe the characteristics of the current signal, and a characteristic data set related to the battery current is constructed based on the extracted characteristic data.

[0071] When the preset parameters include the temperature of the battery, the amplitude characteristic data of the temperature signal (such as the average, maximum, minimum, etc.) is first extracted, and then the trend characteristics of the temperature signal are extracted to reveal the change of the battery temperature over time. Then, the temperature volatility and temperature characteristics are evaluated by calculating the standard deviation, variance and other indicators of the temperature. In addition, considering that the battery may generate local hot spots during operation, it is also necessary to extract characteristic data such as the temperature difference of the temperature signal in different parts and the location of the hot spots. Based on the extracted characteristic data, a characteristic data set related to the battery temperature is constructed.

[0072] When the preset parameters include the internal resistance of the battery, the basic characteristics of the internal resistance of the battery are first extracted, including the average value, maximum value, and minimum value of the internal resistance. Secondly, the change rate of the battery internal resistance is extracted to reveal the change trend of the battery internal resistance over time to reflect the aging or health status of the battery. In addition, the impact of temperature and load changes that may exist in actual use of the battery on the internal resistance of the battery is extracted to construct a feature data set related to the internal resistance of the battery.

[0073] In this embodiment, in order to improve the accuracy of subsequent clustering results, before performing the step of extracting features from a parameter data set corresponding to each preset parameter in the preset parameter set to obtain a feature data set corresponding to the preset parameter, a battery detection method provided in this embodiment further includes the following steps:

[0074] For each preset parameter in the preset parameter set, determining whether there is feature data satisfying a second preset condition in the feature data set corresponding to the preset parameter, the second preset condition comprising: the feature data is abnormal data, missing data or duplicate data;

[0075] When there is feature data satisfying the second preset condition in the feature data set corresponding to the preset parameter, all feature data satisfying the second preset condition in the feature data set corresponding to the preset parameter are processed to obtain a processed feature data set corresponding to the preset parameter.

[0076] Among them, abnormal data can be judged by setting a threshold, and it can be considered as abnormal data if it exceeds the threshold. Duplicate data can be considered as duplicate data by judging whether there are continuous identical or slightly different feature data. For example, when the preset parameter is current, if there are multiple continuous feature data points that are exactly the same or differ by 0.1A, it can be considered as duplicate data. Missing data can be determined by whether there is data output within a certain period of time. If there is no data, it can be considered as missing data. It should be noted that when the feature data is abnormal data or missing data, it can be filled by interpolation. If there are too many missing data or abnormal data, the data obtained by the corresponding entire sensor is deleted, and a new sensor is replaced to obtain data. When the feature data is duplicate data, the duplicate data is removed to retain the unique feature data. The feature data is preprocessed in the above manner to achieve the cleaning of each feature data, thereby ensuring the accuracy of the clustering results obtained by the subsequent clustering using the target clustering algorithm.

[0077] S103: clustering each feature data in all the obtained feature data sets using a target clustering algorithm to obtain a plurality of first clustering results.

[0078] In this embodiment, the target clustering algorithm is a density-based clustering algorithm (DBSCAN algorithm). The density-based clustering algorithm does not need to determine the number of clusters, can divide high-density data points into different clusters, and can identify noise points and have the advantages of high clustering efficiency. Therefore, in this embodiment, when clustering the feature data sets corresponding to each preset parameter, it is achieved by a density-based clustering algorithm.

[0079] Among them, the target clustering algorithm includes target clustering parameters, and the target clustering parameters include target neighborhood and target minimum number of points. The target neighborhood is used to characterize the maximum distance between feature data points during clustering, and the target minimum number of points is used to characterize the minimum number of feature data points included in the target neighborhood. For example, the target neighborhood is denoted as ε, and the target minimum number of points is denoted as MinPts. The distance between every two feature data points in ε should be less than or equal to ε, and at least MinPts feature data points should be included in ε.

[0080] In the above, in step S103, the target clustering algorithm is used to perform clustering processing on each feature data in all the obtained feature data sets to obtain multiple first clustering results, including:

[0081] For each preset parameter in the preset parameter set, determining the feature data points corresponding to each feature data in the feature data set corresponding to the preset parameter, so as to obtain a feature data set point set corresponding to the preset parameter;

[0082] For each feature data point in the obtained set of all feature data points, determine the target distance between the feature data point and other feature data points in all the obtained feature data sets to obtain a target cluster set corresponding to the feature data point;

[0083] According to all the obtained target distance sets and target clustering parameters, clustering processing is performed on each feature data in all the obtained feature data sets to obtain a plurality of first clustering results.

[0084] Specifically, when determining the feature data points corresponding to each feature data, all the obtained feature data points can be normalized to obtain the feature data points corresponding to each feature data. Among them, the normalization processing method can refer to the prior art, and the comparison in this embodiment is not repeated. When determining the target distance, the Euclidean distance between the two feature data points P and Q can be determined. The formula of the Euclidean distance can be referred to as follows.

[0085]

[0086] In the above formula, x1 represents the horizontal coordinate of point P, y1 represents the vertical coordinate of point P, x2 represents the horizontal coordinate of point Q, and y2 represents the vertical coordinate of point Q.

[0087] More specifically, after obtaining the target distance set corresponding to each feature data point, the target neighborhood and the target minimum number of points are used as clustering conditions to cluster the feature data in all the feature data sets obtained, thereby obtaining multiple first clustering results. Among them, after obtaining the target distance set corresponding to each feature data point, an unvisited feature data point P can be selected from all the feature data points obtained, and all feature data points smaller than the target neighborhood can be determined from the target distance set corresponding to the feature data point P. If the number of points of all feature data points smaller than the target neighborhood is greater than or equal to the target minimum number of points, all feature data points in the target neighborhood of the feature data point P are added to a cluster cluster, thereby obtaining a first clustering result, and all feature data points in the first clustering result are marked as visited. If the number of points of all feature data points smaller than the target neighborhood is less than the target minimum number of points, the feature data point P is regarded as a noise point or an isolated point, thereby obtaining a first clustering result, and all feature data points in the first clustering result are marked as visited. After obtaining the first clustering result, the process returns to the step of selecting an unvisited feature data point P from all the obtained feature data points until multiple first clustering results are obtained. Figure 3 shown.

[0088] In this embodiment, since the target neighborhood and the target minimum number of points are crucial to the performance of the density-based clustering algorithm, different clustering parameter combinations may produce different clustering effects. Therefore, in order to improve the accuracy of the clustering results obtained by the subsequent density-based clustering algorithm, it is necessary to determine the target clustering parameters composed of the target neighborhood and the target minimum number of points. The target clustering parameters included in the target clustering algorithm can be determined in the following manner:

[0089] Obtain a preset particle set, where each preset particle in the preset particle set is used to characterize an initial clustering parameter, and each preset particle in the preset particle set corresponds to a particle parameter;

[0090] The particle swarm optimization algorithm is used to iteratively update the particle parameters corresponding to all preset particles in the preset particle set, so as to obtain the global optimal solution when the iteration terminates;

[0091] The initial clustering parameters of the preset particles corresponding to the global optimal solution are used as the target clustering parameters.

[0092] Specifically, all preset particles in the preset particle set can be selected according to actual needs, and the method for selecting preset particles is not limited in this embodiment. Each preset particle represents an initial clustering parameter, and each initial clustering parameter includes an initial neighborhood and an initial minimum number of points. The particle parameters corresponding to each preset particle include a particle position and a particle velocity. After obtaining the preset particle set, the particle swarm optimization algorithm can be used to iteratively update the particle parameters corresponding to all preset particles in the preset particle swarm until the iteration is terminated, and the initial clustering parameters of the preset particles corresponding to the global optimal solution at this time are used as the target clustering parameters.

[0093] More specifically, refer to Figure 2 As shown, the following is an example to introduce the entire particle optimization process in detail, as follows:

[0094] (1) The particle parameters corresponding to each preset particle in the preset particle set are expressed as follows:

[0095] x i (t), i=1,2,......,N

[0096] v i (t), i=1,2,......,N

[0097] In the above formula, x i (t) represents the particle position of the i-th preset particle at time t, v i (t) represents the particle velocity of the i-th preset particle at time t, and N represents the number of all preset particles in the preset particle set.

[0098] (2) Calculate the fitness value of each preset particle in the preset particle set. Define a fitness function to evaluate each preset particle. As shown in the following formula, the fitness function is the weighted sum of the accuracy and the silhouette coefficient.

[0099] y=w1A(x i )+w2S(x i )

[0100] In the above formula, w1 and w2 are weighted coefficients, A(x i ) represents the accuracy of the i-th preset particle, S(x i ) represents the profile coefficient of the i-th preset particle. It should be noted that the accuracy and the profile coefficient can be obtained according to the prior art, which will not be described in detail in this embodiment.

[0101] (3) Update individual optimal solution and group optimal solution: Each preset particle updates its individual optimal solution (pBest) by comparing its own fitness value with the historical best fitness value. At the same time, the individual optimal solutions of all preset particles in the preset particle group are compared to find the global optimal solution (gBest).

[0102] (4) Updating the particle position and particle velocity of each preset particle in the preset particle group: According to the respective optimal solutions of each preset particle in the preset particle set and the global optimal solution, the particle position and particle velocity of each preset particle in the preset particle group are updated, as shown in the formula:

[0103] v i (t+1)=wv i (t)+c1rand().(pBest-x i (t))+c2rand().(gBest-x i (t))

[0104] x i (t+1)=x i (t)+v i (t)

[0105] In the above formula, x i (t+1) represents the particle position of the i-th preset particle at time t+1, v i (t+1) represents the particle velocity of the i-th preset particle at time t+1, c1 and c2 both represent learning factors, rand() represents a random number between 0 and 1, and w represents the inertia weight.

[0106] (5) Iterative optimization: Repeat steps (2), (3) and (4) until the maximum number of iterations is reached. In each iteration, each preset particle in the preset particle swarm approaches the global optimal solution, and outputs the initial clustering parameters of the preset particles corresponding to the global optimal solution as the final target clustering parameters.

[0107] In this embodiment, in order to make the clustering result obtained by using the target clustering algorithm more accurate, before executing the step of clustering each feature data in all feature data sets obtained by using the target clustering algorithm to obtain multiple first clustering results, a battery detection method provided by this embodiment further includes the following steps:

[0108] After obtaining the target clustering parameters, clustering is performed on all preset data in the preset data set using the target clustering algorithm to obtain a plurality of second clustering results, where the preset data is used to represent the data used to evaluate the clustering effect of the target clustering algorithm;

[0109] Based on each preset evaluation indicator in the preset evaluation indicator set, all the obtained second clustering results are evaluated to obtain a target evaluation result corresponding to each preset evaluation indicator in the preset evaluation indicator set;

[0110] According to all the obtained target evaluation results, a step of clustering each feature data in all the obtained feature data sets using a target clustering algorithm is performed to obtain a plurality of first clustering result steps.

[0111] Among them, the preset evaluation index may include the silhouette coefficient, cluster cohesion, cluster proximity, entropy and purity. According to each preset evaluation index in the preset evaluation index set, all the obtained second clustering results are evaluated, so as to evaluate the clustering effect of the target clustering algorithm, and then obtain the target evaluation results corresponding to each preset evaluation index, so as to use all the obtained target evaluation results to determine whether the target clustering algorithm meets the requirements. When the target clustering algorithm meets the requirements, it means that the target clustering algorithm can be used to detect the battery in the vehicle at this time. Therefore, the target clustering algorithm can be used to perform clustering processing on each feature data in all the obtained feature data sets to obtain multiple first clustering result steps (i.e., step S103).

[0112] Specifically, each preset evaluation indicator in the preset evaluation indicator set corresponds to a third preset condition, and the third preset condition is used to indicate that the clustering effect of the target clustering algorithm meets the requirements when the target evaluation result corresponding to the preset evaluation indicator meets the third preset condition. The third preset condition can be set according to actual needs, and the third preset condition is not specifically limited in this embodiment.

[0113] In the above, according to all the obtained target evaluation results, the step of clustering each feature data in all the obtained feature data sets using the target clustering algorithm to obtain a plurality of first clustering results includes:

[0114] For each obtained target evaluation result corresponding to the preset evaluation indicator, determining whether the target evaluation result meets the third preset condition corresponding to the preset evaluation indicator;

[0115] When all the obtained target evaluation results meet the corresponding third preset conditions, a step of clustering each feature data in all the obtained feature data sets using a target clustering algorithm is executed to obtain a plurality of first clustering results.

[0116] Among them, after obtaining the target evaluation results corresponding to all preset evaluation indicators, only when all target evaluation results meet the corresponding third preset conditions, it is characterized that the target clustering algorithm finally obtained meets the requirements, that is, the target clustering parameters included in the target clustering algorithm meet the requirements. At this time, the target clustering algorithm can be used to detect insulation anomalies of the battery. If it is determined that the obtained target clustering algorithm does not meet the requirements, the preset particle group can be updated to use the updated preset particle group to perform the step of obtaining the preset particle set until all the obtained target evaluation results meet the corresponding third preset conditions.

[0117] S104: Detecting insulation abnormalities of the battery according to the multiple first clustering results to obtain target detection results corresponding to the battery.

[0118] In this embodiment, in step S104, the insulation abnormality of the battery is detected according to the multiple first clustering results to obtain the target detection result corresponding to the battery, including:

[0119] Determining whether each first clustering result satisfies a first preset condition, the first preset condition comprising: the number of feature data points included in the first clustering result is less than a target minimum number of points;

[0120] When there is at least one first clustering result satisfying the first preset condition among all the first clustering results, it is determined that the target detection result corresponding to the battery is that the battery has insulation abnormality.

[0121] Among them, when there is a first clustering result that does not meet the first preset condition, it is characterized that the characteristic data point in the first clustering result is a noise point or an isolated point, so the target detection result corresponding to the battery is that the battery has an insulation abnormality, and an alarm prompt is required. When there is no first clustering result that meets the first preset condition in all first clustering results, it is determined that the target detection result corresponding to the battery is that the battery does not have an insulation abnormality.

[0122] In this embodiment, after obtaining the target detection result corresponding to the battery, a battery detection method provided in this embodiment further includes the following steps:

[0123] When the target detection result is that the battery has insulation abnormality, the target detection result is output;

[0124] When receiving target information corresponding to the target detection result, determining the target trust corresponding to the target clustering algorithm according to the target information, the target information is used to represent the recognition result of the target detection result;

[0125] When the target confidence level is greater than the preset confidence level threshold, the process returns to the step of obtaining a parameter data set corresponding to each preset parameter of the battery in the preset parameter set.

[0126] Among them, the preset trust threshold can be set according to actual needs, and the specific value of the preset trust threshold is not limited in this embodiment. When the target detection result is that the battery has an insulation fault, in order to ensure the working reliability of the battery, the target detection result is output, that is, the target detection result is prompted. The relevant personnel in the vehicle can check the specific situation of the battery in the vehicle according to the output target detection result, and return the target information corresponding to the target detection result. The target information may be for not recognizing the target detection result, and the target information may also be for recognizing the target detection result. When the target information corresponding to the target detection result is received, the target information can be used to determine the target trust of the target clustering algorithm, so that when the target trust is greater than the preset trust threshold, it is characterized that the target clustering algorithm meets the requirements at this time. Therefore, the step of obtaining the parameter data set corresponding to each preset parameter of the battery in the preset parameter set (i.e., step S101) can be executed. When the target trust is less than or equal to the preset trust threshold, it is ensured that the target clustering algorithm does not meet the requirements at this time. At this time, the preset particle group can be updated to use the updated preset particle group to execute the step of obtaining the preset particle set to obtain the new target clustering parameters, and use the new target clustering parameters to return to execute the step of obtaining the parameter data set corresponding to the battery under each preset parameter in the preset parameter set (i.e., step S101).

[0127] In the above, according to the target information, the target trust corresponding to the target clustering algorithm is determined, including:

[0128] Obtain the historical information corresponding to each historical test result in the historical test result set. The historical information is used to characterize the recognition result of the historical test result. The historical test information is used to characterize the insulation abnormality of the battery. All historical test results in the historical test result set are output before the target test result.

[0129] According to all the historical information and target information obtained, the target trust level corresponding to the target clustering algorithm is determined.

[0130] Among them, all historical detection results in the historical detection result set and the historical information corresponding to each historical detection result are stored in the vehicle. When it is necessary to determine the target trust corresponding to the target clustering algorithm, all historical detection results and the historical information corresponding to each historical detection result can be obtained from the car, and the target trust corresponding to the target clustering algorithm can be determined based on all historical information and target information. The historical information can be a historical detection result that does not recognize the corresponding historical detection result, and the historical information can also be a historical detection result that recognizes the corresponding historical detection result. When determining the target trust corresponding to the target clustering algorithm, the number between all historical detection results and the target detection result in the historical detection result set is determined to obtain the first number, and all historical information that recognizes the target clustering algorithm and the second number of all historical information are determined from the historical information set. When the target information is to recognize the target clustering algorithm, the target trust can be expressed as (the second number + 1) / the first number; when the target information is not to recognize the target clustering algorithm, the target trust can be expressed as the second number / the first number.

[0131] A battery detection method provided in the present embodiment obtains a parameter data set corresponding to each preset parameter in a preset parameter set of a battery in a vehicle, and performs feature extraction on each parameter data set corresponding to all preset parameters to obtain a feature data set corresponding to the preset parameters, thereby using a density-based clustering algorithm to perform clustering processing on each feature data set obtained to obtain multiple first clustering results, and then based on the multiple first clustering results obtained by multi-dimensional parameters, accurate detection of battery insulation abnormalities is achieved, avoiding the inaccuracy problem of battery insulation detection through a single parameter.

[0132] refer to Figure 4 , Figure 4A schematic diagram of the structure of a battery detection device provided in an embodiment of the present application. A battery detection device provided in this embodiment includes: an acquisition module 10, an extraction module 20, a clustering module 30 and a detection module 40. Among them, the acquisition module is used to obtain the parameter data set corresponding to the battery under each preset parameter in the preset parameter set during the battery operation process in the vehicle, and the preset parameter is used to characterize the parameters affecting the battery insulation abnormality; the extraction module is used to perform feature extraction on the parameter data set corresponding to each preset parameter in the preset parameter set to obtain the feature data set corresponding to the preset parameter; the clustering module is used to cluster each feature data in all the obtained feature data sets using a target clustering algorithm to obtain multiple first clustering results, and the target clustering algorithm is a density-based clustering algorithm; the detection module is used to detect the battery insulation abnormality according to the multiple first clustering results to obtain the target detection result corresponding to the battery.

[0133] In this embodiment, the target clustering algorithm includes: target clustering parameters.

[0134] In this embodiment, a battery detection device provided in this embodiment further includes a determination module, and the determination module is used to:

[0135] Acquire a preset particle set, wherein each preset particle in the preset particle set is used to characterize an initial clustering parameter, and each preset particle in the preset particle set corresponds to a particle parameter;

[0136] Iteratively updating the particle parameters corresponding to all the preset particles in the preset particle set using a particle swarm optimization algorithm, so as to obtain a global optimal solution when the iteration terminates;

[0137] The initial clustering parameters of the preset particles corresponding to the global optimal solution are used as the target clustering parameters.

[0138] In this embodiment, the clustering module 30 is further used for:

[0139] For each of the preset parameters in the preset parameter set, determining a feature data point corresponding to each feature data in the feature data set corresponding to the preset parameter, so as to obtain a feature data point set corresponding to the preset parameter;

[0140] For each of the feature data points in all the obtained feature data point sets, determine a target distance between the feature data point and each of the other feature data points in all the obtained feature data sets, so as to obtain a target distance set corresponding to the feature data point;

[0141] According to all the obtained target distance sets and the target clustering parameters, clustering processing is performed on each of the feature data in all the obtained feature data sets to obtain a plurality of first clustering results.

[0142] In this embodiment, the target clustering parameters include a target neighborhood and a target minimum number of points. The target neighborhood is used to characterize the maximum distance between the feature data points during clustering, and the target minimum number of points is used to characterize the minimum number of feature data points included in the target neighborhood.

[0143] In this embodiment, the detection module 40 is further used for:

[0144] Determining whether each of the first clustering results meets a first preset condition, wherein the first preset condition includes: the number of the feature data points included in the first clustering result is less than the target minimum number of points;

[0145] When there is at least one first clustering result satisfying the first preset condition among all the first clustering results, it is determined that the target detection result corresponding to the battery is that insulation abnormality exists in the battery.

[0146] In this embodiment, the extraction module 20 is further used for:

[0147] For each of the preset parameters in the preset parameter set, determining whether there is feature data satisfying a second preset condition in the feature data set corresponding to the preset parameter, wherein the second preset condition includes: the feature data is abnormal data, missing data, or duplicate data;

[0148] When the feature data satisfying the second preset condition exists in the feature data set corresponding to the preset parameter, all the feature data satisfying the second preset condition in the feature data set corresponding to the preset parameter are processed to obtain the processed feature data set corresponding to the preset parameter.

[0149] In this embodiment, the clustering module 30 is further used for:

[0150] A target clustering algorithm is used to perform clustering processing on each feature data in all the processed feature data sets to obtain a plurality of first clustering results.

[0151] In this embodiment, the clustering module 30 is further used for:

[0152] After obtaining the target clustering parameters, clustering all preset data in the preset data set using the target clustering algorithm to obtain a plurality of second clustering results, wherein the preset data is used to represent the data used to evaluate the clustering effect of the target clustering algorithm;

[0153] Based on each preset evaluation indicator in the preset evaluation indicator set, all the obtained second clustering results are evaluated to obtain a target evaluation result corresponding to each preset evaluation indicator in the preset evaluation indicator set;

[0154] According to all the target evaluation results obtained, a target clustering algorithm is used to perform clustering processing on each feature data in all the feature data sets obtained to obtain a plurality of first clustering results.

[0155] In this embodiment, each of the preset evaluation indicators in the preset evaluation indicator set corresponds to a third preset condition, and the third preset condition is used to characterize that the clustering effect of the target clustering algorithm meets the requirements when the target evaluation result corresponding to the preset evaluation indicator meets the third preset condition.

[0156] In this embodiment, the clustering module 30 is further used for:

[0157] For each of the obtained target evaluation results corresponding to the preset evaluation indicators, determining whether the target evaluation result meets the third preset condition corresponding to the preset evaluation indicator;

[0158] When all the target evaluation results obtained satisfy the third preset conditions corresponding to each other, a target clustering algorithm is used to perform clustering processing on each feature data in all the feature data sets obtained to obtain a plurality of first clustering results.

[0159] In this embodiment, the acquisition module 10 is further used for:

[0160] When the target detection result is that the battery has insulation abnormality, outputting the target detection result;

[0161] When receiving target information corresponding to the target detection result, determining the target confidence corresponding to the target clustering algorithm according to the target information, wherein the target information is used to represent the recognition result of the target detection result;

[0162] When the target confidence level is greater than a preset confidence level threshold, a parameter data set corresponding to each preset parameter in a preset parameter set of the battery is obtained.

[0163] In this embodiment, the acquisition module 10 is also used for:

[0164] Acquire historical information corresponding to each historical detection result in the historical detection result set, wherein the historical information is used to characterize the recognition result of the historical detection result, the historical detection result is used to characterize that the battery has insulation abnormality, and all the historical detection results in the historical detection result set are output before the target detection result;

[0165] The target confidence level corresponding to the target clustering algorithm is determined according to all the acquired historical information and the target information.

[0166] A battery detection device provided in the present embodiment obtains a parameter data set corresponding to each preset parameter in a preset parameter set of a battery in a vehicle, and performs feature extraction on each parameter data set corresponding to all preset parameters to obtain a feature data set corresponding to the preset parameters, thereby using a density-based clustering algorithm to perform clustering processing on each feature data set obtained to obtain multiple first clustering results, and then based on the multiple first clustering results obtained by multi-dimensional parameters, accurate detection of battery insulation abnormalities is achieved, avoiding the inaccuracy problem of battery insulation detection through a single parameter.

[0167] refer to Figure 5 As shown, Figure 5 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle 500 in this embodiment may include: at least one processor 501, a vehicle memory 502, at least one network interface 504 and other user interfaces 503. The various components in the vehicle 500 are coupled together through a bus system 505. It can be understood that the bus system 505 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are labeled as bus systems 505.

[0168] The user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).

[0169] It can be understood that the memory 502 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0170] In some implementations, the memory 502 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and an application program 5022 .

[0171] Among them, the operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present application can be included in the application 5022.

[0172] In the embodiment of the present application, by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application 5022, the processor 501 is used to execute the method provided by each method embodiment.

[0173] The method disclosed in the above embodiment of the present application can be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 501. The above processor 501 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the above method in combination with its hardware.

[0174] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or at least one application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing vehicle (DSPDevice, DSPD), programmable logic vehicle (PLD), field programmable gate array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other electronic unit for performing the functions described in the present application, or a combination thereof.

[0175] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0176] The embodiment of the present application also provides a storage medium (computer-readable storage medium). The storage medium here stores one or at least one program. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0177] When one or at least one program in the storage medium can be executed by one or at least one processor. When the storage medium is applied to a vehicle, the above-mentioned method executed in the vehicle can be implemented. The processor is used to execute the vehicle program stored in the memory to implement the above-mentioned method executed in the vehicle.

[0178] The professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0179] It should be noted that the phrases "one implementation", "an embodiment", "an exemplary embodiment", "some embodiments", etc. mentioned in the specification indicate that the described embodiments may include certain features, structures or characteristics, but not every embodiment may include the certain features, structures or characteristics. In addition, such phrases do not necessarily refer to the same embodiment. In addition, when describing certain features, structures or characteristics in conjunction with an embodiment, it is within the knowledge of those skilled in the art to implement such features, structures or characteristics in conjunction with other embodiments, whether explicitly or not explicitly described.

[0180] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method or article including a series of elements may include not only those elements, but also other elements not explicitly listed, or may also include elements inherent to such process, method, article or vehicle. In the absence of more limitations, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or vehicle including the elements.

[0181] The above embodiments are only preferred embodiments for fully illustrating the present application, and the protection scope of the present application is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present application is within the protection scope of the present application.

Claims

1. A battery detection method, characterized in that: include: During the operation of the battery in the vehicle, a parameter data set corresponding to each preset parameter in the preset parameter set is obtained, wherein the preset parameters are used to characterize the parameters that affect the insulation abnormality of the battery; For each of the preset parameters in the preset parameter set, performing feature extraction on the parameter data set corresponding to the preset parameter to obtain a feature data set corresponding to the preset parameter; Using a target clustering algorithm to perform clustering processing on each feature data in all the feature data sets obtained to obtain a plurality of first clustering results, wherein the target clustering algorithm is a density-based clustering algorithm; According to the plurality of first clustering results, the battery insulation abnormality is detected to obtain a target detection result corresponding to the battery.

2. The battery detection method according to claim 1, characterized in that: The target clustering algorithm includes: target clustering parameters; The target clustering parameters are determined as follows: Acquire a preset particle set, wherein each preset particle in the preset particle set is used to characterize an initial clustering parameter, and each preset particle in the preset particle set corresponds to a particle parameter; Iteratively updating the particle parameters corresponding to all the preset particles in the preset particle set using a particle swarm optimization algorithm, so as to obtain a global optimal solution when the iteration terminates; The initial clustering parameters of the preset particles corresponding to the global optimal solution are used as the target clustering parameters.

3. The battery detection method according to claim 1, characterized in that: The target clustering algorithm includes: target clustering parameters; The method of clustering each feature data in all the feature data sets obtained by using a target clustering algorithm to obtain a plurality of first clustering results includes: For each of the preset parameters in the preset parameter set, determining a feature data point corresponding to each feature data in the feature data set corresponding to the preset parameter, so as to obtain a feature data point set corresponding to the preset parameter; For each of the feature data points in all the obtained feature data point sets, determine a target distance between the feature data point and each of the other feature data points in all the obtained feature data sets, so as to obtain a target distance set corresponding to the feature data point; According to all the obtained target distance sets and the target clustering parameters, clustering processing is performed on each of the feature data in all the obtained feature data sets to obtain a plurality of first clustering results.

4. The battery detection method according to claim 3, characterized in that: The target clustering parameters include a target neighborhood and a target minimum number of points, wherein the target neighborhood is used to characterize the maximum distance between the feature data points during clustering, and the target minimum number of points is used to characterize the minimum number of feature data points included in the target neighborhood; The detecting the insulation abnormality of the battery according to the plurality of the first clustering results to obtain a target detection result corresponding to the battery includes: Determining whether each of the first clustering results meets a first preset condition, wherein the first preset condition includes: the number of the feature data points included in the first clustering result is less than the target minimum number of points; When there is at least one first clustering result satisfying the first preset condition among all the first clustering results, it is determined that the target detection result corresponding to the battery is that insulation abnormality exists in the battery.

5. The battery detection method according to claim 1, characterized in that: Before executing the step of extracting features from the parameter data set corresponding to each preset parameter in the preset parameter set to obtain a feature data set corresponding to the preset parameter, the method further includes: For each of the preset parameters in the preset parameter set, determining whether there is feature data satisfying a second preset condition in the feature data set corresponding to the preset parameter, wherein the second preset condition includes: the feature data is abnormal data, missing data, or duplicate data; When the feature data satisfying the second preset condition exists in the feature data set corresponding to the preset parameter, processing all the feature data satisfying the second preset condition in the feature data set corresponding to the preset parameter to obtain the processed feature data set corresponding to the preset parameter; The method of clustering each feature data in all the feature data sets obtained by using a target clustering algorithm to obtain a plurality of first clustering results includes: A target clustering algorithm is used to perform clustering processing on each feature data in all the processed feature data sets to obtain a plurality of first clustering results.

6. The battery detection method according to claim 2, characterized in that: Before executing the step of clustering each feature data in all the feature data sets obtained by using the target clustering algorithm to obtain a plurality of first clustering results, the method further includes: After obtaining the target clustering parameters, clustering all preset data in the preset data set using the target clustering algorithm to obtain a plurality of second clustering results, wherein the preset data is used to represent the data used to evaluate the clustering effect of the target clustering algorithm; Based on each preset evaluation indicator in the preset evaluation indicator set, all the obtained second clustering results are evaluated to obtain a target evaluation result corresponding to each preset evaluation indicator in the preset evaluation indicator set; According to all the target evaluation results obtained, the step of using the target clustering algorithm to cluster the individual feature data in all the feature data sets obtained is performed to obtain a plurality of first clustering results.

7. The battery detection method according to claim 6, characterized in that: Each of the preset evaluation indicators in the preset evaluation indicator set corresponds to a third preset condition, and the third preset condition is used to indicate that the clustering effect of the target clustering algorithm meets the requirement when the target evaluation result corresponding to the preset evaluation indicator meets the third preset condition; The step of performing clustering processing on each feature data in all the feature data sets obtained by using a target clustering algorithm according to all the target evaluation results obtained to obtain a plurality of first clustering results includes: For each of the obtained target evaluation results corresponding to the preset evaluation indicators, determining whether the target evaluation result meets the third preset condition corresponding to the preset evaluation indicator; When all the target evaluation results obtained meet the corresponding third preset conditions, the step of clustering the respective feature data in all the feature data sets obtained using the target clustering algorithm is executed to obtain a plurality of first clustering results.

8. The battery detection method according to claim 1, characterized in that: After obtaining the target detection result corresponding to the battery, the method further includes: When the target detection result indicates that the battery has insulation abnormality, outputting the target detection result; When receiving target information corresponding to the target detection result, determining the target confidence corresponding to the target clustering algorithm according to the target information, wherein the target information is used to represent the recognition result of the target detection result; When the target confidence level is greater than a preset confidence level threshold, the step of returning to the step of obtaining a parameter data set corresponding to each preset parameter of the battery in a preset parameter set is performed.

9. The battery detection method according to claim 8, characterized in that: Determining the target trust level corresponding to the target clustering algorithm according to the target information includes: Acquire historical information corresponding to each historical detection result in the historical detection result set, wherein the historical information is used to characterize the recognition result of the historical detection result, the historical detection result is used to characterize that the battery has insulation abnormality, and all the historical detection results in the historical detection result set are output before the target detection result; The target confidence level corresponding to the target clustering algorithm is determined according to all the acquired historical information and the target information.

10. A battery detection device, characterized in that: include: An acquisition module, used for acquiring a parameter data set corresponding to each preset parameter in a preset parameter set of the battery during operation of the battery in the vehicle, wherein the preset parameters are used to characterize parameters affecting the battery insulation abnormality; An extraction module, configured to perform feature extraction on the parameter data set corresponding to each preset parameter in the preset parameter set, so as to obtain a feature data set corresponding to the preset parameter; A clustering module, used for clustering each feature data in all the feature data sets obtained by using a target clustering algorithm to obtain a plurality of first clustering results, wherein the target clustering algorithm is a density-based clustering algorithm; A detection module is used to detect the battery insulation abnormality according to the plurality of the first clustering results to obtain a target detection result corresponding to the battery.

11. A vehicle, characterized in that: include: A processor and a memory, wherein the processor is used to execute a battery detection program stored in the memory to implement the battery detection method according to any one of claims 1 to 9.

12. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the battery detection method of any one of claims 1 to 9.

Citation Information

Cited By

  • Method and system for monitoring running state of battery automatic short circuit antipole detection equipment

    CN119622381A

  • Insulation anomaly detection method, system and device for energy storage system

    CN120951009A