Power battery risk early warning method and device, electronic equipment and vehicle

By converting the characteristic data of the power battery into a string and comparing the Hamming distance, the problem of cumbersome determination of preset thresholds in the prior art and high misjudgment rate is solved, and high accuracy and low data dependence of the power battery risk judgment are achieved. .

CN119025848APending Publication Date: 2024-11-26BEIQI FOTON MOTOR CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411044874.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the existing power battery early warning methods, determining the preset threshold requires a large amount of historical data, the process is cumbersome and the misjudgment rate is high, resulting in inaccurate risk judgment.

Method used

By obtaining the power battery characteristic data of the vehicle to be evaluated, a feature image is generated and converted into a string, the Hamming distance to the reference vehicle is compared, and risk warning information is output when the distance is greater than the preset threshold.

Benefits of technology

It reduces the demand for vehicle historical data, improves the accuracy of risk judgments, and reduces the rate of misjudgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119025848A_ABST
    Figure CN119025848A_ABST
Patent Text Reader

Abstract

The invention relates to a power battery risk early warning method and device, electronic equipment and a vehicle, and relates to the field of vehicles, and the method comprises the steps: obtaining a first feature image of a power battery based on the feature data of the power battery of a to-be-evaluated vehicle, processing the first feature image, obtaining a first character string corresponding to the first feature image, and obtaining a second character string corresponding to the first character string; the Hamming distance between a second character string and the first character string is obtained, the second character string is a character string corresponding to a second feature image of a power battery of a reference vehicle, the second feature image of the power battery is obtained based on feature data of the power battery of the reference vehicle, and when the Hamming distance is larger than a preset threshold value, the second feature image of the power battery is obtained. And outputting risk early warning information of the power battery of the to-be-evaluated vehicle. According to the method, the required historical vehicle data is less, and the accuracy of risk judgment is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicles, and in particular, to a power battery risk warning method, device, electronic equipment and vehicle. Background Art

[0002] With the development of the new energy vehicle industry, the safety of power batteries has received increasing attention, and it is particularly important to conduct risk warnings for power batteries. In the prior art, the power battery warning method generally obtains the change characteristic value of the main data of the battery and compares it with the preset alarm threshold to determine the risk of the power battery. However, the determination of the preset threshold in the warning method requires a large amount of historical data, the process is relatively cumbersome, and the error rate of risk judgment based on the preset threshold is high. Summary of the invention

[0003] The purpose of the present disclosure is to provide a power battery risk warning method, device, electronic equipment and vehicle to solve the above technical problems.

[0004] In order to achieve the above-mentioned object, according to a first aspect of an embodiment of the present disclosure, a power battery risk warning method is provided, which is applied to a vehicle, and the method includes: Based on characteristic data of a power battery of a vehicle to be evaluated, acquiring a first characteristic image of the power battery; Processing the first feature image to obtain a first character string corresponding to the first feature image; Acquire a Hamming distance between a second character string and the first character string; the second character string is a character string corresponding to a second characteristic image of a power battery of a reference vehicle; the second characteristic image of the power battery is acquired based on characteristic data of the power battery of the reference vehicle; When the Hamming distance is greater than a preset threshold, risk warning information of the power battery of the vehicle to be evaluated is output.

[0005] Optionally, acquiring a first characteristic image of a power battery based on characteristic data of a power battery of a vehicle to be evaluated includes: Acquire first characteristic data of the power battery of the vehicle to be evaluated; the first characteristic data includes one or more of battery state of charge, voltage and current; Performing data processing on the first characteristic data to obtain second characteristic data; the data processing includes one or more of data cleaning, data difference processing and data matrixing; The first feature image corresponding to the second feature data is generated by an image generation algorithm.

[0006] Optionally, the character string is a hash code, and the processing of the first feature image to obtain a first character string corresponding to the first feature image includes: Performing image processing on the first characteristic image to obtain a grayscale value of each pixel in the first characteristic image and an average grayscale value of all pixels; wherein the number of the pixels is recorded as a first quantity value; A hash code corresponding to the first feature image is obtained according to the grayscale value and the grayscale average value.

[0007] Optionally, acquiring a hash code corresponding to the first feature image according to the grayscale value and the grayscale average value includes: Comparing the grayscale value of each pixel with the grayscale average value in sequence; When the grayscale value of any pixel is greater than or equal to the grayscale average value, it is recorded as the first value; When the grayscale value of any pixel is less than the grayscale average value, it is recorded as the second value; The first numerical value and the second numerical value are sorted according to a set sorting method to obtain a hash code corresponding to the first feature image; the total number of the first numerical value and the second numerical value is the first number value.

[0008] Optionally, obtaining the Hamming distance between the second character string and the first character string includes: Determining a second characteristic image of a power battery of the reference vehicle; Acquire a second character string corresponding to the second feature image; wherein the first character string and the second character string have the same length; The number of different characters at corresponding positions in the second character string and the first character string is obtained, where the number is the Hamming distance.

[0009] Optionally, the character string is a hash code, and obtaining a second character string corresponding to the second feature image includes: Performing image processing on the second characteristic image to obtain a grayscale value of each pixel in the second characteristic image and a grayscale average value of all pixels; wherein the number of the pixels is a first quantity value; A hash code corresponding to the second feature image is obtained according to the grayscale value and the grayscale average value.

[0010] Optionally, determining the second characteristic image of the power battery of the reference vehicle includes: Obtain historical operating data of power batteries of multiple vehicles within a set period; generating a plurality of power battery characteristic images corresponding to the plurality of vehicles according to the historical operation data; According to the Hamming distance between each power battery characteristic image and the remaining power battery characteristic images in the plurality of power battery characteristic images, a power battery characteristic image that meets the set conditions is determined as the second characteristic image of the power battery of the reference vehicle.

[0011] According to a second aspect of an embodiment of the present disclosure, a power battery risk warning device is provided, which is applied to a vehicle, and the device includes: A first acquisition module, used to acquire a first characteristic image of a power battery of a vehicle to be evaluated; A processing module, configured to obtain a first characteristic image of a power battery based on characteristic data of a power battery of a vehicle to be evaluated; A second acquisition module, used to acquire a Hamming distance between a second character string and the first character string; the second character string is a character string corresponding to a second characteristic image of a power battery of a reference vehicle; the second characteristic image of the power battery is acquired based on characteristic data of the power battery of the reference vehicle; The output module is used to output risk warning information of the power battery of the vehicle to be evaluated when the Hamming distance is greater than a preset threshold.

[0012] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including: a memory having a computer program stored thereon; A processor is used to execute the computer program in the memory to implement the steps of any one of the methods described in the first aspect of the embodiments of the present disclosure.

[0013] According to a fourth aspect of an embodiment of the present disclosure, a vehicle is provided, comprising the electronic device as described in the third aspect of an embodiment of the present disclosure.

[0014] In the above technical solution, based on the characteristic data of the power battery of the vehicle to be evaluated, the first characteristic image of the power battery is obtained, the first characteristic image is processed to obtain a first character string corresponding to the first characteristic image, and the Hamming distance between the second character string and the first character string is obtained. The second character string is the character string corresponding to the second characteristic image of the power battery of the reference vehicle. The second characteristic image of the power battery is obtained based on the characteristic data of the power battery of the reference vehicle. When the Hamming distance is greater than a preset threshold, the risk warning information of the power battery of the vehicle to be evaluated is output. Through the above technical solution, the characteristic image of the power battery is converted into a character string, and the Hamming distance between the character strings corresponding to the vehicle to be evaluated and the reference vehicle is compared. The risk of the power battery of the vehicle to be evaluated can be judged based on the Hamming distance. The process requires less vehicle historical data and the accuracy of risk judgment is high.

[0015] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings: Figure 1 is a flow chart of a power battery risk warning method according to an exemplary embodiment; Figure 2 is a flow chart of a power battery risk warning method according to an exemplary embodiment; Figure 3 is a flow chart of a power battery risk warning method according to an exemplary embodiment; Figure 4 is a flow chart of a power battery risk warning method according to an exemplary embodiment; Figure 5 is a block diagram of a power battery risk warning device according to an exemplary embodiment; Figure 6 is a block diagram of an electronic device 600 according to an exemplary embodiment; Figure 7 is a block diagram of an electronic device 700 according to an exemplary embodiment; Figure 8 is a block diagram of a vehicle according to an exemplary embodiment. DETAILED DESCRIPTION

[0017] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0018] It should be noted that all actions of acquiring signals, information or data in the present disclosure are performed with the authorization given by the owner of the corresponding device.

[0019] Power batteries are one of the important components of new energy vehicles, and the operating status of power batteries plays a vital role in the normal operation of vehicles. During vehicle operation, the main reason for the thermal runaway of power batteries is that the battery has an internal and external short circuit, and the large amount of heat released causes the battery temperature to rise sharply, which in turn triggers a thermal runaway chain reaction. Among them, the internal short circuit of the battery develops gradually, and it can be identified by the electro-thermal characteristics in the early stage of evolution, so as to avoid the internal short circuit from continuing to develop to the end.

[0020] In the prior art, most conventional detection methods in the industry use battery data to construct multiple characterization features and determine the risk threshold to judge the risk of the vehicle. However, the setting of the risk threshold needs to be based on a large amount of historical data or the experience of industry experts, and the determination process is relatively cumbersome; in addition, the set threshold has deviations, which often lead to misjudgment. Subsequently, the characterization features need to be output as images, and the misjudgment rate needs to be reduced by manual review, resulting in increased labor costs.

[0021] The present disclosure provides a power battery risk warning method, device, electronic equipment and vehicle to solve the above technical problems, which are described below in conjunction with specific embodiments.

[0022] Figure 1 is a flow chart of a power battery risk warning method according to an exemplary embodiment, the method is applied to a vehicle, such as Figure 1 As shown, the method includes the following steps.

[0023] In step S11 , a first characteristic image of a power battery is acquired based on characteristic data of the power battery of the vehicle to be evaluated.

[0024] For example, the characteristic data of the power battery may include data such as battery capacity, voltage, current, energy density, power, etc. The characteristic data of the power battery can be converted into a corresponding characteristic image through the image generation method.

[0025] In step S12, the first feature image is processed to obtain a first character string corresponding to the first feature image.

[0026] In step S13, the Hamming distance between a second character string and the first character string is obtained; the second character string is a character string corresponding to a second characteristic image of a power battery of a reference vehicle; the second characteristic image of the power battery is obtained based on characteristic data of the power battery of the reference vehicle.

[0027] Among them, the Hamming distance is an indicator used to measure the degree of difference between two strings of equal length. For example, the Hamming distance of two strings is defined as the number of different characters in corresponding positions. For example, the Hamming distance of the strings "karolin" and "kathrin" is 3, because they have different characters in the three positions (from left to right) from the third to the fifth.

[0028] Since the Hamming distance is used to measure the difference between two strings of equal length, in a possible implementation, the characteristic image of the power battery of the vehicle to be evaluated and the characteristic image of the power battery of the reference vehicle need to be converted into corresponding strings for comparison.

[0029] In step S14, when the Hamming distance is greater than a preset threshold, risk warning information of the power battery of the vehicle to be evaluated is output.

[0030] It can be understood that when the Hamming distance between the character strings corresponding to two feature images exceeds the preset threshold, it can be explained that the similarity between the two images is low and there are large differences, so it can be judged that there is a risk in the vehicle's power battery. In this case, risk warning information of the power battery of the vehicle to be evaluated is output.

[0031] In the above technical solution, based on the characteristic data of the power battery of the vehicle to be evaluated, the first characteristic image of the power battery is obtained, the first characteristic image is processed to obtain a first character string corresponding to the first characteristic image, and the Hamming distance between the second character string and the first character string is obtained. The second character string is the character string corresponding to the second characteristic image of the power battery of the reference vehicle. The second characteristic image of the power battery is obtained based on the characteristic data of the power battery of the reference vehicle. When the Hamming distance is greater than a preset threshold, the risk warning information of the power battery of the vehicle to be evaluated is output. Through the above technical solution, the characteristic image of the power battery is converted into a character string, and the Hamming distance between the character strings corresponding to the vehicle to be evaluated and the reference vehicle is compared. The risk of the power battery of the vehicle to be evaluated can be judged based on the Hamming distance. The process requires less vehicle historical data and the accuracy of risk judgment is high.

[0032] Figure 2 is a flow chart of a power battery risk warning method according to an exemplary embodiment. Figure 2 As shown, the step S11 of acquiring a first characteristic image of the power battery based on characteristic data of the power battery of the vehicle to be evaluated includes: Step S111, obtaining first characteristic data of the power battery of the vehicle to be evaluated.

[0033] The first characteristic data may include characteristic data such as battery state of charge (SOC), voltage and current.

[0034] Step S112, performing data processing on the first characteristic data to obtain second characteristic data; the data processing includes one or more of data cleaning, data differential processing and data matrixing.

[0035] Step S113: generating the first feature image corresponding to the second feature data through an image generation algorithm.

[0036] In a possible implementation manner, the first characteristic data of the power battery of the vehicle to be evaluated may be voltage, and obtaining the first characteristic image of the power battery may include the following steps: (1) The first feature is data collection and cleaning.

[0037] For example, the single cell voltage data V and time T are collected as the first characteristic data of the power battery of the vehicle to be evaluated, and invalid data such as abnormal values ​​and null values ​​in the first characteristic data are cleaned. For example, the cleaned data includes voltages V1, V2, V3...V n and time T, where the subscripts 1, 2, 3…n represent the cell numbers, and the cleaned data includes n cells and m moments.

[0038] (2) Sort the cleaned data in a forward order from front to back according to time.

[0039] (3) Differentiate the voltage data.

[0040] For example, the voltage V at time T2 is 1,2 , V 2,2 , V 3,2 …V n,2 Subtract the voltage V at time T1 1,1 , V 2,1 , V 3,1 …V n,1 , we get V 1,2-1 , V 2,2-1 , V 3,2-1 …V n,2-1 ; Voltage V at time T3 1,3 , V 2,3 , V 3,3 …V n,3 Subtract the voltage V at time T2 1,2 , V 2,2 , V 3,2 …V n,2 , we get V 1,3-2 , V 2,3-2 , V 3,3-2 …V n,3-2 …, T m The voltage V at the moment 1,m , V 2,m , V 3,m …V n,m Subtract T m-1 The voltage V at the moment 1, m-1 , V 2 m-1 , V 3, m-1 …V n, m-1 , we get V 1,m-m-1 , V 2,m-m-1 , V 3,m-m-1 …V n,m-m-1 . Where V n,m n represents the cell number, and m represents the time. The data after difference is formed into a voltage matrix.

[0041] (4) Normalize the voltage matrix (n rows and m columns) after differentiation.

[0042] For example, averaging the voltage difference of each row gives: V n,mean = (V 1, m-m-1 + V 2, m-m-1 + V 3, m-m-1 + V n m-m-1 ) / n Then, by calculating the standard deviation of the voltage difference of each row, we can get: V n,std =

[0043] Then, the voltage difference of each row is subtracted from the mean value and divided by the standard deviation to obtain the characteristic feature: V n,m-m-1,feature = (V n,m-m-1 -V n,mean ) / V std Among them, the characteristic feature V n,m-m-1,feature is a matrix with n rows and m-1 columns, which can represent the change value of n cells in m-1 time segments. n,m-m-1,feature As the second feature data.

[0044] (5) Generate the first feature image corresponding to the second feature data through an image generation algorithm.

[0045] Among them, the image generation algorithm may include an autoencoder, an autoregressive model, a feature visualization algorithm, a manifold learning visualization algorithm, etc. In different embodiments, the corresponding image generation algorithm can be selected according to the type of feature data and the requirements for the feature image, and the present disclosure does not limit it.

[0046] In a possible implementation, the second feature data may be used to generate a corresponding first feature image using an image generation function in a programming language, for example, a plot function in a Matplotlib module in the Python language.

[0047] It should be noted that when generating a feature image, there is no restriction on the size of the image, but the vertical coordinate of the image needs to be of uniform specification.

[0048] It is understandable that, since the Hamming distance measures the difference between two strings of equal length, it is necessary to convert the feature image into a corresponding string, for example, the string can be a hash code. Hash code is also called hash value or hash value. By converting input information of any length through a hash function, an output of fixed length can be obtained. This output is usually a binary string, namely a hash code. In one embodiment, the first feature image can be converted into a hash code for comparison of the Hamming distance.

[0049] Figure 3 is a flow chart of a power battery risk warning method according to an exemplary embodiment. Figure 3 As shown, the processing of the first feature image in step S12 to obtain a first character string corresponding to the first feature image may include the following steps: Step S121, performing image processing on the first feature image to obtain the gray value of each pixel in the first feature image and the gray average value of all pixels; wherein the number of the pixels is recorded as the first quantity value.

[0050] Step S122: Obtain a hash code corresponding to the first feature image according to the grayscale value and the grayscale average value.

[0051] In a possible implementation, the image processing of the first feature image in step S121 may include: (1) Reduce the first characteristic image of the power battery of the vehicle to be evaluated to a size of 8×8, with a total of 64 pixels. It can be understood that the purpose of reducing the image is to remove the details of the image and retain only basic information such as structure and brightness, thereby reducing the image differences caused by different sizes and proportions.

[0052] (2) Simplify colors. For example, the reduced feature image is converted into 64 grayscale levels, that is, all pixels include 64 colors in total.

[0053] (3) Calculate the grayscale average. For example, determine the grayscale value H of each pixel i (i is an integer from 1 to 64) and the grayscale average value H of the 64 pixels m .

[0054] Optionally, the step S122 of obtaining a hash code corresponding to the first feature image according to the grayscale value and the grayscale average value may include: (1) Compare the grayscale value of each pixel with the grayscale average value in turn.

[0055] (2) When the grayscale value of any pixel is greater than or equal to the grayscale average value, it is recorded as the first value.

[0056] (3) When the grayscale value of any pixel is less than the grayscale average value, it is recorded as the second value.

[0057] (4) Sorting the first value and the second value according to a set sorting method to obtain a hash code corresponding to the first feature image; the total number of the first value and the second value is the first number value.

[0058] For example, comparing H i The size of the sum, if H i ≥H m , recorded as 1; if H i <H m , recorded as 0; the 64 comparison results are combined to obtain a 64-bit string, each bit of which is composed of 1 or 0, and the string is used as the hash code corresponding to the first feature image. It should be noted that when the 64-bit characters are combined, the order of combination is not restricted, but when converting images to strings, each image should use the same combination order.

[0059] Figure 4 is a flow chart of a power battery risk warning method according to an exemplary embodiment. Figure 4 As shown, obtaining the Hamming distance between the second character string and the first character string in step S13 may include the following steps: Step S131 , determining a second characteristic image of the power battery of the reference vehicle.

[0060] Step S132, obtaining a second character string corresponding to the second characteristic image; wherein the first character string and the second character string have the same length.

[0061] Step S133, obtaining the number of different characters at corresponding positions in the second character string and the first character string, where the number is the Hamming distance.

[0062] Optionally, determining the second characteristic image of the power battery of the reference vehicle in step S131 may include: (1) Obtain historical operating data of the power batteries of multiple vehicles within a set period.

[0063] (2) generating a plurality of power battery characteristic images corresponding to the plurality of vehicles according to the historical operation data.

[0064] (3) According to the Hamming distance between each power battery characteristic image and the remaining power battery characteristic images in the plurality of power battery characteristic images, determining a power battery characteristic image that meets the set conditions as the second characteristic image of the power battery of the reference vehicle.

[0065] For example, the string used for comparing the Hamming distance is a hash code, and the step S132 of obtaining the second string corresponding to the second feature image may include: The second characteristic image is subjected to image processing to obtain a grayscale value of each pixel in the second characteristic image and a grayscale average value of all pixels; wherein the number of the pixels is a first quantity value, and a hash code corresponding to the second characteristic image is obtained according to the grayscale value and the grayscale average value.

[0066] It should be noted that after the characteristic image of the power battery of the vehicle to be evaluated is processed, the number of pixels in the characteristic image is a first quantity value, then the number of pixels in the characteristic image of the power battery of the reference vehicle should also be the first quantity value, such as 64 in the above embodiment.

[0067] In a possible implementation, the method for determining the characteristic image of the reference vehicle may include: selecting historical operating data of power batteries of 10 running vehicles, the setting period of the historical data may be the previous 3 months or the previous 6 months, and the period may be determined according to actual conditions. According to the characteristic data of the power batteries of the 10 vehicles, 10 corresponding characteristic images are determined, the Hamming distances of the 10 images are compared in pairs, the sum of the Hamming distances between each image and the other nine images is calculated in turn, and the image with the smallest sum of the Hamming distances is used as the characteristic image of the reference vehicle.

[0068] It can be understood that by obtaining the Hamming distance between the first character string corresponding to the power battery of the vehicle to be evaluated and the second character string corresponding to the power battery of the reference vehicle, the risk information of the power battery of the vehicle to be evaluated can be determined. For example, for two 64-bit character strings, the similarities and differences of the characters at the corresponding positions are compared bit by bit, the same ones are recorded as 1, and the different ones are recorded as 0, and then the number of 0s is counted. If the number of 0s exceeds a preset threshold (for example, 10), it can be explained that the similarity of the two feature images is low and there are large differences. The power battery of the vehicle to be evaluated is at risk, and the risk warning information of the power battery can be output at this time. Among them, the preset threshold of the Hamming distance can be determined based on the feature image of the accident vehicle, which is not limited by the present disclosure.

[0069] In the above technical solution, based on the characteristic data of the power battery of the vehicle to be evaluated, the first characteristic image of the power battery is obtained, the first characteristic image is processed to obtain a first character string corresponding to the first characteristic image, and the Hamming distance between the second character string and the first character string is obtained. The second character string is the character string corresponding to the second characteristic image of the power battery of the reference vehicle. The second characteristic image of the power battery is obtained based on the characteristic data of the power battery of the reference vehicle. When the Hamming distance is greater than a preset threshold, the risk warning information of the power battery of the vehicle to be evaluated is output. Through the above technical solution, the characteristic image of the power battery is converted into a character string, and the Hamming distance between the character strings corresponding to the vehicle to be evaluated and the reference vehicle is compared. The risk of the power battery of the vehicle to be evaluated can be judged based on the Hamming distance. The process requires less vehicle historical data and the accuracy of risk judgment is high.

[0070] Figure 5 is a block diagram of a power battery risk warning device according to an exemplary embodiment, the device is applied to a vehicle, such as Figure 5 As shown, the device 500 includes: a first acquisition module 510 , a processing module 520 , a second acquisition module 530 and an output module 540 .

[0071] The first acquisition module 510 is used to acquire a first characteristic image of a power battery of a vehicle to be evaluated; The processing module 520 is used to obtain a first characteristic image of the power battery based on characteristic data of the power battery of the vehicle to be evaluated; The second acquisition module 530 is used to acquire the Hamming distance between the second character string and the first character string; the second character string is a character string corresponding to the second characteristic image of the power battery of the reference vehicle; the second characteristic image of the power battery is acquired based on the characteristic data of the power battery of the reference vehicle; The output module 540 is used to output risk warning information of the power battery of the vehicle to be evaluated when the Hamming distance is greater than a preset threshold.

[0072] Optionally, the first acquisition module 510 includes a first acquisition submodule, a cleaning submodule and a generation submodule; The first acquisition submodule is used to acquire first characteristic data of the power battery of the vehicle to be evaluated; the first characteristic data includes one or more of the battery state of charge, voltage and current; The cleaning submodule is used to perform data processing on the first characteristic data to obtain second characteristic data; the data processing includes one or more of data cleaning, data difference processing and data matrixing; The generating submodule is used to generate the first feature image corresponding to the second feature data through an image generating algorithm.

[0073] Optionally, the processing module 520 includes a processing submodule and a second acquisition submodule; The processing submodule is used to perform image processing on the first feature image to obtain the gray value of each pixel in the first feature image and the gray average value of all pixels; wherein the number of the pixels is recorded as the first quantity value; The second acquisition submodule is used to acquire the hash code corresponding to the first feature image according to the grayscale value and the grayscale average value.

[0074] Optionally, the second acquisition submodule is further used to: Compare the grayscale value of each pixel with the grayscale average value in turn; When the grayscale value of any pixel is greater than or equal to the grayscale average value, it is recorded as the first value; When the grayscale value of any pixel is less than the grayscale average value, it is recorded as the second value; The first value and the second value are sorted according to a set sorting method to obtain a hash code corresponding to the first feature image; the total number of the first value and the second value is the first number value.

[0075] Optionally, the second acquisition module 530 includes a determination submodule and a third acquisition submodule; The determination submodule is used to determine a second characteristic image of the power battery of the reference vehicle; The third acquisition submodule is used to acquire a second character string corresponding to the second feature image; wherein the first character string and the second character string have the same length; The third acquisition submodule is further used to acquire the number of different characters at corresponding positions in the second character string and the first character string, and the number is the Hamming distance.

[0076] Optionally, the third acquisition submodule is further used for: Performing image processing on the second characteristic image to obtain a grayscale value of each pixel in the second characteristic image and a grayscale average value of all pixels; wherein the number of the pixels is a first quantity value; According to the grayscale value and the grayscale average value, a hash code corresponding to the second feature image is obtained.

[0077] Optionally, the determination submodule is further used for: Obtain historical operating data of power batteries of multiple vehicles within a set period; Generating a plurality of power battery characteristic images corresponding to the plurality of vehicles according to the historical operation data; According to the Hamming distance between each power battery characteristic image and the remaining power battery characteristic images in the multiple power battery characteristic images, a power battery characteristic image that meets the set conditions is determined as the second characteristic image of the power battery of the reference vehicle.

[0078] In the above technical solution, based on the characteristic data of the power battery of the vehicle to be evaluated, the first characteristic image of the power battery is obtained, the first characteristic image is processed to obtain a first character string corresponding to the first characteristic image, and the Hamming distance between the second character string and the first character string is obtained. The second character string is the character string corresponding to the second characteristic image of the power battery of the reference vehicle. The second characteristic image of the power battery is obtained based on the characteristic data of the power battery of the reference vehicle. When the Hamming distance is greater than a preset threshold, the risk warning information of the power battery of the vehicle to be evaluated is output. Through the above technical solution, the characteristic image of the power battery is converted into a character string, and the Hamming distance between the character strings corresponding to the vehicle to be evaluated and the reference vehicle is compared. The risk of the power battery of the vehicle to be evaluated can be judged based on the Hamming distance. The process requires less vehicle historical data and the accuracy of risk judgment is high.

[0079] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0080] Figure 6 FIG. 6 is a block diagram of an electronic device 600 according to an exemplary embodiment. Figure 7 As shown, the electronic device 600 may include: a processor 601 , a memory 602 . The electronic device 600 may also include one or more of a multimedia component 603 , an input / output (I / O) interface 604 , and a communication component 605 .

[0081] The processor 601 is used to control the overall operation of the electronic device 600 to complete all or part of the steps in the above-mentioned power battery risk warning method. The memory 602 is used to store various types of data to support the operation of the electronic device 600. These data may include instructions for any application or method used to operate on the electronic device 600, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 602 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 603 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 602 or sent through the communication component 605. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 604 provides an interface between the processor 601 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 605 is used for wired or wireless communication between the electronic device 600 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 605 may include: Wi-Fi module, Bluetooth module, NFC module, etc.

[0082] In an exemplary embodiment, the electronic device 600 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned power battery risk warning method.

[0083] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned power battery risk warning method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 602 including program instructions, and the above-mentioned program instructions can be executed by the processor 601 of the electronic device 600 to complete the above-mentioned power battery risk warning method.

[0084] Figure 7 is a block diagram of an electronic device 700 according to an exemplary embodiment. For example, the electronic device 700 may be provided as a server. Figure 7 The electronic device 700 includes a processor 722, which may be one or more, and a memory 732 for storing a computer program executable by the processor 722. The computer program stored in the memory 732 may include one or more modules, each corresponding to a set of instructions. In addition, the processor 722 may be configured to execute the computer program to perform the above-mentioned power battery risk warning method.

[0085] In addition, the electronic device 700 may further include a power supply component 726 and a communication component 750, wherein the power supply component 726 may be configured to perform power management of the electronic device 700, and the communication component 750 may be configured to implement communication of the electronic device 700, for example, wired or wireless communication. In addition, the electronic device 700 may further include an input / output (I / O) interface 758. The electronic device 700 may operate based on an operating system stored in the memory 732.

[0086] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by the processor, the steps of the above-mentioned power battery risk warning method are implemented. For example, the non-transitory computer-readable storage medium can be the above-mentioned memory 732 including program instructions, and the above-mentioned program instructions can be executed by the processor 722 of the electronic device 700 to complete the above-mentioned power battery risk warning method.

[0087] In another exemplary embodiment, the present disclosure also provides a vehicle, Figure 8 is a block diagram of a vehicle according to an exemplary embodiment, such as Figure 8 As shown, the vehicle 800 includes Figure 6 An electronic device 600 is shown.

[0088] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned power battery risk warning method when executed by the programmable device.

[0089] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.

[0090] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0091] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

Claims

1. A power battery risk warning method, characterized in that: Applied to a vehicle, the method comprises: Based on characteristic data of a power battery of a vehicle to be evaluated, acquiring a first characteristic image of the power battery; Processing the first feature image to obtain a first character string corresponding to the first feature image; Acquire a Hamming distance between a second character string and the first character string; the second character string is a character string corresponding to a second characteristic image of a power battery of a reference vehicle; the second characteristic image of the power battery is acquired based on characteristic data of the power battery of the reference vehicle; When the Hamming distance is greater than a preset threshold, risk warning information of the power battery of the vehicle to be evaluated is output.

2. The method according to claim 1, characterized in that The step of acquiring a first characteristic image of the power battery based on characteristic data of the power battery of the vehicle to be evaluated includes: Acquire first characteristic data of the power battery of the vehicle to be evaluated; the first characteristic data includes one or more of battery state of charge, voltage and current; Performing data processing on the first characteristic data to obtain second characteristic data; the data processing includes one or more of data cleaning, data difference processing and data matrixing; The first feature image corresponding to the second feature data is generated by an image generation algorithm.

3. The method according to claim 1, characterized in that: The character string is a hash code, and the processing of the first feature image to obtain a first character string corresponding to the first feature image includes: Performing image processing on the first characteristic image to obtain a grayscale value of each pixel in the first characteristic image and an average grayscale value of all pixels; wherein the number of pixels is recorded as a first quantity value; A hash code corresponding to the first feature image is obtained according to the grayscale value and the grayscale average value.

4. The method according to claim 3, characterized in that The acquiring, according to the grayscale value and the grayscale average value, a hash code corresponding to the first feature image includes: Comparing the grayscale value of each pixel with the grayscale average value in sequence; When the grayscale value of any pixel is greater than or equal to the grayscale average value, it is recorded as the first value; When the grayscale value of any pixel is less than the grayscale average value, it is recorded as the second value; The first numerical value and the second numerical value are sorted according to a set sorting method to obtain a hash code corresponding to the first feature image; the total number of the first numerical value and the second numerical value is the first number value.

5. The method according to claim 1, characterized in that The obtaining of the Hamming distance between the second character string and the first character string comprises: Determining a second characteristic image of a power battery of the reference vehicle; Acquire a second character string corresponding to the second feature image; wherein the first character string and the second character string have the same length; The number of different characters at corresponding positions in the second character string and the first character string is obtained, where the number is the Hamming distance.

6. The method according to claim 5, characterized in that The character string is a hash code, and obtaining a second character string corresponding to the second feature image includes: Performing image processing on the second characteristic image to obtain a grayscale value of each pixel in the second characteristic image and a grayscale average value of all pixels; wherein the number of the pixels is a first quantity value; A hash code corresponding to the second feature image is obtained according to the grayscale value and the grayscale average value.

7. The method according to claim 5, characterized in that The determining a second characteristic image of the power battery of the reference vehicle includes: Obtain historical operating data of power batteries of multiple vehicles within a set period; generating a plurality of power battery characteristic images corresponding to the plurality of vehicles according to the historical operation data; According to the Hamming distance between each power battery characteristic image and the remaining power battery characteristic images in the plurality of power battery characteristic images, a power battery characteristic image that meets the set conditions is determined as the second characteristic image of the power battery of the reference vehicle.

8. A power battery risk warning device, characterized in that: Applied to a vehicle, the device comprises: A first acquisition module, used to acquire a first characteristic image of a power battery of a vehicle to be evaluated; A processing module, configured to obtain a first characteristic image of a power battery based on characteristic data of a power battery of a vehicle to be evaluated; A second acquisition module, used to acquire a Hamming distance between a second character string and the first character string; the second character string is a character string corresponding to a second characteristic image of a power battery of a reference vehicle; the second characteristic image of the power battery is acquired based on characteristic data of the power battery of the reference vehicle; The output module is used to output risk warning information of the power battery of the vehicle to be evaluated when the Hamming distance is greater than a preset threshold.

9. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 8.

10. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 9.

Citation Information

Patent Citations

  • Image comparison method and device, electronic device and storage medium

    CN107239518A

  • Early warning method, device and system for battery humidity and vehicle

    CN117007648A

  • Abnormal state or failure sensing method of battery and battery management system performing same

    CN117148154A

  • Vehicle detection method and device

    WO2023124220A1