Vehicle battery pack detection method and device

By calculating the current warning threshold parameters of the vehicle battery pack in real time on the cloud, the problem of false alarms or missed alarms in the existing technology is solved, and the safety and service life of the battery pack are improved.

CN118405026BActive Publication Date: 2024-09-13CHENGDU CELIS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410867621.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-13
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

The existing vehicle battery pack current warning mechanism is based on fixed thresholds and cannot adapt to complex working conditions, resulting in false alarms or missed alarms.

Method used

By obtaining the vehicle's battery pack signal in the cloud, the current warning threshold parameters that meet the current working conditions are calculated in real time, and alarm messages are generated to analyze the usage status of the battery pack to avoid false alarms or missing alarms, and make corresponding improvements to reduce the risk of battery pack burnout. possibility.

Benefits of technology

It achieves accurate current warning under complex working conditions, reduces the risk of battery pack burnout, and improves vehicle safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118405026B
    Figure CN118405026B
Patent Text Reader

Abstract

The present application provides a vehicle battery pack detection method and device, the method comprising: collecting vehicle signals through a data acquisition module installed on the vehicle, the vehicle signals including the current signal of the battery pack; obtaining a number of current data of the vehicle under real working conditions according to the vehicle signals; determining a current warning threshold parameter according to the current data; generating a number of warning messages for the battery pack of the vehicle according to the current data and the current warning threshold parameter, so as to analyze the use status of the battery pack according to the warning message. The embodiment of the present application can calculate the current warning threshold parameter that meets the current real working condition of the vehicle in real time based on the vehicle signal, can adapt to various complex working conditions, and avoid false alarms or missed alarms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of vehicle technology, and in particular, to a method and device for detecting a battery pack of a vehicle. Background Art

[0002] At present, the battery pack in new energy vehicles can store electrical energy, which can then drive the vehicle through the electrical energy stored in the battery pack. The battery pack can be composed of many battery cells, which are usually lithium-ion batteries, but can also be other types of batteries.

[0003] In actual use, there are many factors that accelerate the loss of the vehicle's battery pack, including but not limited to temperature, overcharge, overdischarge, and overcurrent. Specifically, the heat generation and uneven heat generation caused by high current will become a potential cause of thermal runaway of the battery pack.

[0004] However, existing current warning mechanisms for vehicle battery packs are usually based on fixed thresholds and cannot adapt to complex operating conditions, which may lead to false alarms or missed alarms. Summary of the invention

[0005] The purpose of the present application is to provide a vehicle battery pack detection method, which obtains the vehicle signal of the vehicle battery pack through the cloud to calculate in real time the current warning threshold parameters that meet the current actual working conditions of the vehicle, and then determines whether to generate an alarm message for the vehicle battery pack according to the current warning threshold parameters, thereby overcoming the problem that the current warning mechanism for the vehicle battery pack in the prior art is usually based on a fixed threshold and cannot adapt to complex working conditions, which may cause false alarms or missed alarms. The present application can adapt to various complex working conditions, avoid false alarms or missed alarms, and can also perform corresponding analysis and improvements on the battery pack according to the alarm message, thereby reducing the possibility of burning the vehicle battery pack.

[0006] The specific technical solutions are as follows:

[0007] In a first aspect of the implementation of the present application, a vehicle battery pack detection method is first provided, which is applied to the cloud, and the method includes:

[0008] Collecting vehicle signals through a data acquisition module installed on the vehicle, wherein the vehicle signals include current signals of the battery pack;

[0009] Obtaining a plurality of current data of the vehicle under actual working conditions according to the vehicle signal;

[0010] Determine a current warning threshold parameter according to the current data;

[0011] A plurality of warning messages for the battery pack of the vehicle are generated according to the current data and the current warning threshold parameter, so as to analyze the usage status of the battery pack according to the warning messages.

[0012] In a second aspect of the present application, a vehicle battery pack detection device is provided, which is applied to the cloud, and the device includes:

[0013] A vehicle signal acquisition module, used to collect vehicle signals through a data acquisition module installed on the vehicle, wherein the vehicle signals include current signals of the battery pack;

[0014] A current data generation module, used to obtain a number of current data of the vehicle under real working conditions according to the vehicle signal; wherein the current data at least includes the battery system current and the signal acquisition time;

[0015] A current warning threshold parameter determination module, used to determine the current warning threshold parameter according to the current data;

[0016] An alarm message generation module is used to generate a plurality of alarm messages for the battery pack of the vehicle according to the current data and the current warning threshold parameter, so as to analyze the usage status of the battery pack according to the alarm messages.

[0017] In another aspect of the implementation of the present application, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes any of the above-mentioned vehicle battery pack detection methods.

[0018] In another aspect of the implementation of the present application, a computer program product comprising instructions is also provided, which, when executed on a computer, enables the computer to execute any of the above-mentioned vehicle battery pack detection methods.

[0019] Compared with the related art, the embodiments of the present application have at least the following advantages:

[0020] The vehicle signal is collected by the data acquisition module installed on the vehicle. The vehicle signal includes the current signal of the battery pack. According to the vehicle signal, several pieces of current data of the vehicle under the actual working condition are obtained. According to the current data, the current warning threshold parameter is determined. Subsequently, several warning messages for the battery pack of the vehicle can be generated according to the current data and the current warning threshold parameter, so as to analyze the use status of the battery pack according to the warning message. The embodiment of the present application can obtain the vehicle signal of the battery pack of the vehicle through the cloud, and calculate the current warning threshold parameter that meets the current actual working condition of the vehicle in real time based on the vehicle signal, and then determine whether to generate the warning message of the battery pack of the vehicle according to the current warning threshold parameter, so as to adapt to various complex working conditions, avoid false alarms or missed alarms, and can also perform corresponding analysis and improvement on the battery pack of the vehicle according to the warning message to reduce the possibility of burning of the battery pack of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0022] Figure 1 A flowchart of a vehicle battery pack detection method provided in an embodiment of the present application;

[0023] Figure 2 A schematic diagram of an application environment provided in an embodiment of the present application;

[0024] Figure 3a-3c An overall flow chart of a vehicle battery pack detection provided in an embodiment of the present application;

[0025] Figure 4 A structural block diagram of a vehicle battery pack detection device provided in an embodiment of the present application;

[0026] Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of the present application.

[0027] Figure numerals: 201 - cloud; 202 - vehicle; 401 - vehicle signal acquisition module; 402 - current data generation module; 403 - current warning threshold parameter determination module; 404 - alarm message generation module. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0029] Reference Figure 1 , is a flowchart of the steps of a vehicle battery pack detection method provided in an embodiment of the present application, which is applied to the cloud, such as Figure 1As shown, the method may specifically include the following steps:

[0030] Step 101: Collect vehicle signals through a data acquisition module installed on the vehicle, wherein the vehicle signals include current signals of a battery pack.

[0031] Reference Figure 2 , is a schematic diagram of an application environment provided in an embodiment of the present application, including a cloud 201 and a vehicle 202, where the cloud 201 and the vehicle 202 are connected in communication via a network, wherein the cloud may also be referred to as a cloud platform or a cloud server, and the vehicle may be a new energy vehicle. The cloud in an embodiment of the present invention may realize real-time detection of the battery pack of the vehicle based on big data.

[0032] In an embodiment of the present application, a current monitoring module is embedded in the battery management system of a new energy vehicle. The current monitoring module uses a high-precision data acquisition module, which can collect vehicle signals of the battery pack in real time and package them into CAN (Controller Area Network) messages and report them to the cloud message queue (such as Kafka). The data reported to the cloud needs to be processed, which may include at least data analysis, data standardization, data filling and other processing. Among them, the data acquisition module may include at least hardware devices or components in the vehicle such as current sensors, temperature sensors and voltage acquisition chips.

[0033] Step 102: Obtain a plurality of current data of the vehicle under actual working conditions according to the vehicle signal; wherein the current data at least includes a battery system current and a signal acquisition time.

[0034] In an embodiment of the present application, after the cloud obtains the vehicle signal reported by the vehicle, it can obtain several current data of the vehicle under the actual working conditions according to the vehicle signal.

[0035] Exemplarily, the current data may include but is not limited to the vehicle identification code vin, vehicle model and series a, battery system status c, DC charging status d, DC charging connection status e, AC charging status f, AC charging connection status g, battery charge status h, battery temperature list i, battery temperature probe number j, battery voltage list k, and battery cell number l. Of course, the above current data is only used as an example. In actual applications, corresponding data acquisition modules can be set on the vehicle according to needs to obtain other current data, and the embodiments of the present application do not need to be limited to this.

[0036] Step 103: Determine a current warning threshold parameter according to the current data.

[0037] In an embodiment of the present application, a current warning threshold parameter can be determined based on the current data, and then a current warning threshold can be determined based on the current warning threshold parameter, wherein the current warning threshold can be used as an alarm threshold, and based on the alarm threshold, it can be determined whether the battery pack of the vehicle needs to be warned. It can be understood that since each current data will obtain a corresponding current warning threshold parameter based on the data in the current data, and then the current warning threshold is calculated based on the current warning threshold parameter, since this current warning threshold parameter is not fixed, but is dynamically calculated based on the current data of the vehicle collected in real time, it can reflect the current real working condition of the vehicle, and therefore can adapt to complex working conditions and avoid false alarms or missed alarms.

[0038] Step 104: Generate several warning messages for the battery pack of the vehicle according to the current data and the current warning threshold parameter, so as to analyze the usage status of the battery pack according to the warning messages.

[0039] In an embodiment of the present application, after obtaining the current warning threshold parameters, several warning messages for the vehicle's battery pack can be generated based on the current data and the current warning threshold parameters, and the warning messages can be recorded into a database so that the battery pack can be subsequently analyzed and improved based on the warning messages, thereby reducing the possibility of burning the vehicle's battery pack and improving the safety of the vehicle.

[0040] A vehicle battery pack detection method and device provided in an embodiment of the present application are applied to the cloud. When the battery pack of the vehicle needs to be analyzed, the vehicle signal is collected through a data acquisition module installed on the vehicle. The vehicle signal includes the current signal of the battery pack. According to the vehicle signal, several current data of the vehicle under the actual working condition are obtained, and the current warning threshold parameter is determined according to the current data. Subsequently, several alarm messages for the battery pack of the vehicle can be generated according to the current data and the current warning threshold parameter, so as to analyze the use status of the battery pack according to the alarm message. The embodiment of the present application can obtain the vehicle signal of the battery pack of the vehicle through the cloud, and calculate the current warning threshold parameter that meets the current actual working condition of the vehicle in real time based on the vehicle signal, and then determine whether to generate an alarm message for the battery pack of the vehicle according to the current warning threshold parameter, so as to adapt to various complex working conditions, avoid false alarms or missed alarms, and can also perform corresponding analysis and improvement on the battery pack of the vehicle according to the alarm message to reduce the possibility of burning the battery pack of the vehicle.

[0041] In one embodiment of the present application, the step 104 of generating a plurality of warning messages for the battery pack of the vehicle according to the current data and the current warning threshold parameter includes:

[0042] Obtaining a battery pack initial capacity and a battery type weight corresponding to the battery pack of the vehicle;

[0043] Calculate the current warning threshold according to the current warning threshold parameter, the initial capacity of the battery pack and the battery type weight;

[0044] A plurality of warning messages for the battery pack of the vehicle are generated according to the battery system current and signal acquisition time of the current data, and the current warning threshold.

[0045] In a specific implementation, different vehicles have different models and series (can be referred to as series), and different series have different battery types, such as ternary lithium, lithium iron phosphate, etc. The battery packs of different series have different battery pack initial capacities and battery type weights. For example, the battery packs of different series are different in size, for example, the battery packs of different series can be 100, 120, for example, the battery type weight of ternary lithium can be 1.1, and the battery type weight of lithium iron phosphate can be 1.9.

[0046] In an embodiment of the present application, after obtaining the current warning threshold parameter, the current warning threshold parameter can be multiplied by the initial capacity of the battery pack, and then the result can be multiplied by the battery type weight to obtain the final current warning threshold corresponding to the current data. Based on the current warning threshold, it can be determined whether it is necessary to generate an alarm message for the battery pack of the vehicle based on the current data.

[0047] In the above embodiment, the vehicle signal of the vehicle's battery pack can be obtained through the cloud, and the current warning threshold that meets the vehicle's current actual operating condition can be comprehensively calculated in real time based on the battery system current and signal acquisition time in the vehicle signal, as well as the initial capacity of the battery pack and the battery type weight. Then, it can be determined whether to generate an alarm message for the vehicle's battery pack based on the current warning threshold. Therefore, it can adapt to various complex operating conditions and avoid false alarms or missed alarms. In addition, the vehicle's battery pack can be analyzed and improved accordingly based on the alarm message, thereby comprehensively reducing the possibility of burning the vehicle's battery pack.

[0048] In one embodiment of the present application, before obtaining a number of current data of the vehicle under actual working conditions based on the vehicle signal, it also includes: reporting the compressed and encrypted vehicle signal to the cloud for processing, and the processing includes data parsing, data standardization, and data filling.

[0049] In the specific implementation, in order to ensure data security and transmission efficiency, before the vehicle reports the collected vehicle signal to the cloud, the vehicle signal can be encrypted and compressed before uploading to the cloud.

[0050] For example, the vehicle signal uploaded to the cloud can be a compressed and encrypted hexadecimal character ciphertext (ciphertext: the original plaintext, i.e., hexadecimal characters, is processed according to a certain algorithm to make it an unreadable code). The plaintext of the vehicle signal can be as follows:

[0051] .

[0052] The encryption algorithm for plain text in the embodiment of the present application can be AES (Advanced Encryption Standard, symmetric encryption algorithm). The symmetric encryption algorithm is also called a shared key encryption algorithm. Only one key is used. When the internal data sender of the company (such as a vehicle) uploads the message, the hexadecimal characters and the encryption key are encrypted together through the AES algorithm to generate a complex encrypted ciphertext (that is, the encrypted and compressed vehicle signal) and then send it to the cloud message queue. When the data receiver (cloud) parses the encrypted ciphertext, it uses the key and the AES inverse algorithm to decrypt the encrypted ciphertext and restore it to readable plaintext.

[0053] In an embodiment of the present application, the compressed and encrypted vehicle signal reported to the cloud needs to undergo data analysis, data standardization, data filling, and other processing, thereby improving the quality of current data generated based on the vehicle signal, and further improving the accuracy of battery pack analysis.

[0054] Specifically, the data analysis includes:

[0055] Decompressing and decrypting the compressed and encrypted vehicle signal to obtain the vehicle signal;

[0056] After parsing the vehicle signal according to the description file of the vehicle model and series corresponding to the vehicle, the parsed vehicle signal is converted into a target vehicle signal in a specified data exchange format, and the target vehicle signal is sent to the parsing message queue.

[0057] In an embodiment of the present application, the cloud-based parsing program first decompresses the acquired encrypted and compressed vehicle signal, and then decrypts it to read the original hexadecimal character vehicle signal, and then parses each vehicle signal according to the DBC (Database CAN, a description file of messages and signals in a communication network in the automotive industry) description file of different vehicle models and series, and encapsulates the parsed signal into a target vehicle signal in a specified data exchange format, wherein the specified data exchange format can be an object in an extensible json (JavaScript Object Notation, a lightweight data exchange format) format, wherein the json format object consists of multiple key:value, each key is a signal name, and the value is the specific value of the signal at the current moment, and finally the target vehicle signal is sent to the cloud-based parsing message queue X1.

[0058] Specifically, the data standardization includes:

[0059] Acquire the target vehicle signal from the parsed message queue;

[0060] Acquire a preset definition standard; the preset definition standard includes conversion mapping rules corresponding to the vehicle signals of different vehicle models and series;

[0061] The conversion mapping rule corresponding to the vehicle model and vehicle series is obtained in the preset definition standard according to the vehicle model and vehicle series, so as to convert the target vehicle signal into a standardized signal according to the conversion mapping rule.

[0062] In an embodiment of the present application, after obtaining the target vehicle signal after parsing using the description file, since the signal names and corresponding functions of different vehicle series are different, in order to enable unified processing of vehicle signals of all vehicle series, data standardization processing can be performed on the vehicle signal.

[0063] Specifically, the data standardization processing can be the real-time consumption of the parsed JSON object in the parsing message queue X1 (i.e., the target vehicle signal after decompression, decryption and data parsing). The function of the cloud standardization program can uniformly process different target vehicle signals according to the preset definition standards defined by itself, including the following situations:

[0064] 1.2.1: The names of the signals after parsing are different for different car models. For example, the parsed signal name of the vehicle current is ipack for model A and current for model B.

[0065] 1.2.2: The enumeration values ​​of the signal values ​​after parsing are different for different car models. For example, for the air conditioning status signal of the whole vehicle, the signal enumeration value of the A model is 0, which means the air conditioning is turned on, and 1 means the air conditioning is turned off. The signal enumeration value of the B model is 0, which means the air conditioning is turned off, and 1 means the air conditioning is turned on.

[0066] 1.2.3: Different models and series require multiple different analysis signals for the same standardized signal. For example, for the vehicle charging status signal, model A requires 2 different signals at the same time to determine whether it is currently charging, and model B requires 3 or more signals at the same time to determine whether it is currently charging.

[0067] In an embodiment of the present application, after the target vehicle signal is converted into a standardized signal according to the conversion mapping rules corresponding to the vehicle model and series in the preset definition standard, the obtained standardized signal has a unified signal name and enumeration values ​​with the same meaning for different vehicle models and series. The subsequent cloud-based filling program and current real-time warning program can obtain the corresponding value according to the specified standard signal name, and encapsulate the standardized signal into an extensible json format object and send it to the standard message queue X2.

[0068] Specifically, the data filling includes:

[0069] Obtaining a configuration file corresponding to the vehicle model series, the configuration file including a sampling frequency used by each of the vehicles when collecting the vehicle signal; the standardized signal includes a signal collection time, the sampling frequency includes a first sampling frequency and a second sampling frequency, and the first sampling frequency is greater than the second sampling frequency;

[0070] Extracting a target standardized signal from the standardized signal according to a preset window;

[0071] Sorting the target standardized signals according to the signal acquisition time to obtain the sorted target standardized signals;

[0072] The target normalized signal at the first sampling frequency is filled with the target normalized signal at the second sampling frequency with a null value.

[0073] In an embodiment of the present application, after obtaining the standardized signal, the standardized signal can be filled in through a filling program in the cloud to obtain current data, which can ensure the integrity and continuity of the current data used to calculate the current warning threshold, thereby improving the accuracy and efficiency of data analysis.

[0074] The vehicle may use different sampling frequencies to collect multiple vehicle signals of the vehicle, and the sampling frequency may be set according to the vehicle, the collected vehicle signals, the vehicle load status, etc., and the embodiments of the present invention do not need to limit this. Assuming that the vehicle may use a first sampling frequency and a second sampling frequency to collect vehicle signals, since the first sampling frequency is greater than the second sampling frequency, for example, the first sampling frequency may be to collect vehicle signals once per second, and the second sampling frequency may be to collect vehicle signals once per 10 seconds, then the first sampling frequency may be regarded as a high sampling frequency, and the second sampling frequency may be regarded as a low sampling frequency.

[0075] Specifically, the standardized json object (i.e., standardized signal) in the real-time consumption standard message queue X2 is filled with the vehicle signals collected by the vehicle using different sampling frequencies. The vehicle signals collected by the high sampling frequency are filled with the vehicle signals collected by the low sampling frequency with empty values. The filling program uses the window mode (where the window mode refers to the standardized signals in a specified number or a specified time interval are selected from all the standardized signals as the target standardized signals) to fill. At the same time, the target standardized signals in the window are sorted according to the signal collection time, and most of the disordered standardized signals are corrected. Finally, based on the target standardized signals after data filling, several current data that can reflect the actual working conditions of the vehicle can be obtained. There are many benefits to filling standardized signals uniformly:

[0076] 1: The filling procedure can correct most of the disordered standardized signals. The disordered standardized signals will cause the subsequent calculation procedures to produce wrong results, affecting the correctness of the calculation;

[0077] 2: The filling program and the subsequent calculation program are separated into two programs, which can reduce the coupling between the filling program and the calculation program and facilitate subsequent maintenance. Modifying the design, implementation or behavior of either party will not affect the other party. When the filling program plan is modified or an error is reported, the filling program can be directly modified without affecting the operation of the calculation program;

[0078] 3: After the filling program uniformly fills, the current data can be directly used by multiple early warning algorithms. There is no need for each early warning algorithm to implement the filling function, which causes code redundancy.

[0079] As an example of the present application, the filling scheme for the standardized signal can be: first create a configuration file, which contains the sampling frequencies of each vehicle model (for example, there may be high sampling frequencies and low sampling frequencies), and then set a signal a for each data, signal a represents the data of the current vehicle model. All vehicle signals are collected using high sampling frequencies or low sampling frequencies. The low-frequency signal is filled according to signal a and the configuration file. Taking a low-frequency signal b collected using a low sampling frequency as an example, the standardized signal before filling can be shown in Table 1 below:

[0080] Table 1:

[0081]

[0082] Among them, "1" and "2" in Table 1 indicate whether the corresponding signal corresponds to a high sampling frequency or a low sampling frequency. There are many vehicle signals under one current data in Table 1 (i.e., a row of data in Table 1), some of which are one vehicle signal per second (obtained through high sampling frequency collection), and some of which are one vehicle signal per 10 seconds (obtained through low sampling frequency collection). If the corresponding signal a displays the value {"1","2"}, it means that the current data includes both one signal per second and one signal per 10 seconds, that is, it includes both vehicle signals with high sampling frequency and vehicle signals with low sampling frequency.

[0083] By sorting the standardized signal before filling, the sorted standardized signal can be obtained, as shown in Table 2 below:

[0084] Table 2:

[0085]

[0086] Furthermore, the sorted standardized signals in Table 2 are padded, and the padded signals may be as shown in Table 3 below:

[0087] Table 3:

[0088]

[0089] Subsequently, the filled signal (current data) can be encapsulated into an extensible json format object and sent to the filling message queue X3. It should be noted that the embodiment of the present application can also use other methods to fill in the current data, as long as the filled current data can improve the accuracy of the subsequent analysis of the battery pack, and the embodiment of the present application does not need to be limited to this.

[0090] In one embodiment of the present application, after obtaining a plurality of current data of the vehicle under the actual working condition according to the vehicle signal, the method further includes:

[0091] The current data is preprocessed, and the preprocessing at least includes: removing unusable data in the current data according to the value range of the battery state of charge, the number of battery temperature data, the number of battery voltage data and the signal acquisition time in the current data.

[0092] In an embodiment of the present application, when it is necessary to analyze the usage status of the vehicle's battery pack, the message queue X3 can be consumed and filled in real time to obtain the real-time operating signal value (current data) under the actual operating conditions of the vehicle. The current data may specifically include the vehicle identification code vin, vehicle series a, signal acquisition time b, battery system status c, DC charging status d, DC charging connection status e, AC charging status f, AC charging connection status g, battery charge status h, battery temperature list i, number of battery temperature probes j, battery voltage list k, number of battery cells l, battery system current m, etc.

[0093] In practical applications, in order to better obtain a warning message for the battery pack of the vehicle based on the current data, the current data obtained from the filling message queue X3 may be preprocessed before generating the warning message based on the current data. The preprocessing may include at least the following:

[0094] 1: Determine whether the current data obtained from the filling message queue X3 has a null value. If any signal in the current data is a null value, the current data is unavailable data;

[0095] 2: Determine whether the battery state of charge h is within the normal range. Assume that the range of 0-100 is the normal range. If the battery state of charge h is not within the normal range, such as the battery state of charge h=120, the current data is unavailable.

[0096] 3: Determine whether the number of battery temperature list i is equal to the number of battery temperature probes j. If not, the current data is unavailable.

[0097] 4: Determine whether the number of elements in the battery voltage list k is equal to the number of battery cells l. If they are not equal, the current data is unavailable data;

[0098] 5: Determine whether the signal acquisition time b of the current data is later than the normal range value of the current system time. For example, if the normal range value is 30 minutes, and the current system time is 14:40:01 while the signal acquisition time b of the current data is 15:10:34, then the current data is unavailable data;

[0099] 6: For each consumption of a current data from the filled message queue X3, a current data time will be stored for the same vehicle identification number vin. Determine the signal acquisition time b1 of the current data and the signal acquisition time b2 of the previous current data stored for the same vehicle identification number vin. If b1 < b2, then determine that the current data is unavailable data.

[0100] Among them, the unavailable data can be directly removed, so as to avoid the unavailable current data from entering the subsequent processing and causing unnecessary waste of computing resources. Of course, the above preprocessing of the current data is only an example. In practical applications, other preprocessing can be set according to actual needs, and the embodiments of the present application do not need to be limited thereto.

[0101] In an embodiment of the present application, the step 103, determining the current warning threshold parameter according to the current data, may include:

[0102] Determine the current battery state of the vehicle according to the battery system state, DC charging state, DC charging connection state, AC charging state, and AC charging connection state in the current data;

[0103] According to the current battery state and the numerical ranges of the maximum temperature and maximum voltage in the current data, filter to obtain a preset number of first target current data;

[0104] Traverse the target maximum temperature in the preset number of first target current data, and secondarily filter according to the numerical range of the target maximum temperature and the signal acquisition time to obtain second target current data;

[0105] Calculate the temperature value from the second target current data, and input the temperature value, the maximum voltage, the state of charge of the battery, and the vehicle model series in the second target current data into the trained linear regression model to obtain the current warning threshold parameter.

[0106] In an embodiment of the present invention, the current battery state of the vehicle can first be determined based on the battery system state c, DC charging state d, DC charging connection state e, AC charging state f, and AC charging connection state g in the current data, wherein the current battery state can include a discharge state and a charge state. Then, the current data can be filtered according to the current battery status and whether the maximum temperature in the battery temperature list i and the maximum voltage in the battery voltage list k in the current data are within the preset normal range value, so as to obtain a preset number of first target current data, wherein the preset number can be set according to actual conditions. Then, the target maximum temperature in the first target current data is traversed, and the numerical range of the target maximum temperature and the signal acquisition time are used to further filter out the second target current data from the first target current data. For example, the second target current data can be filtered out based on whether the numerical range of the target maximum temperature is greater than or equal to the preset mutation value, and whether the signal acquisition time of the first target current data is continuous. Subsequently, the temperature value is calculated from the second target current data using a preset rule. Optionally, the preset rule can be a maximum and minimum rule. The use of the maximum and minimum rule can ensure the validity, consistency and security of the data. Of course, other rules besides the maximum and minimum rules can be used in actual applications, and the present application does not limit this. When the preset rule is the maximum and minimum value rule, the specific process of calculating the temperature value from the second target current data is to filter out the maximum temperature and minimum temperature from the battery temperature list i in the second target current data, and then calculate the temperature value temp1 based on the filtered maximum temperature and minimum temperature using the maximum and minimum value rule, and then input the temperature value temp1, the maximum voltage maxVolt1 in the battery voltage list k in the current data, the battery state of charge h and the vehicle model a into the trained linear regression model to obtain the current warning threshold parameter. Specifically, the maximum and minimum value rule is that if all values ​​in a list are greater than or equal to 0, the maximum value of the list is taken, and if there is a value less than 0 in a list, the minimum value of the list is taken.

[0107] In the above example, the temperature distribution and change trend inside the battery pack are different under different current battery states. Therefore, after filtering out the first target current data according to the numerical range of the current battery state, maximum temperature and maximum voltage, the second target current data is further filtered out from the first target current data based on the numerical range of the target maximum temperature in the first target current data and the signal acquisition time. Finally, the temperature value is calculated based on the maximum temperature in the battery temperature list i in the second target current data to calculate the current warning threshold parameter, which can make the data used to calculate the current warning threshold parameter more accurately reflect the usage status of the battery pack.

[0108] Specifically, the embodiment of the present application may pre-set several storage variables for storing data in the process of calculating the current warning threshold parameter. The storage variables may specifically include:

[0109] The first storage variable y1: stores the current data maximum temperature list of each row;

[0110] The second storage variable y2: stores a certain number of current data, such as 4, to determine whether the battery temperature changes suddenly. If the temperature changes suddenly for more than 4 consecutive data, the current temperature should be output;

[0111] The third storage variable y3: whether the number of mutation values ​​is exceeded. If it is 0, it does not exceed the number because the time is discontinuous or the temperature value returns to normal, indicating that the current temperature is the mutation temperature; if it is 1 and exceeds the number, it means that the current temperature is not the mutation temperature;

[0112] The fourth storage variable y4: stores the maximum index of subsequent traversal of y2;

[0113] The fifth storage variable y5: the number of times the alarm threshold is reached;

[0114] The sixth storage variable y6: the timestamp of the last data reaching the alarm threshold, used to determine whether the alarm is continuous;

[0115] The seventh storage variable y7: total current, used to calculate the average battery current during the duration when the alarm is generated;

[0116] The eighth storage variable y8: whether the current process has been alarmed;

[0117] Ninth storage variable y9: a list of all current values ​​exceeding the alarm threshold and reaching the duration, used to obtain the maximum current reaching the alarm threshold duration;

[0118] The tenth storage variable y10: a list of all timestamps that exceed the alarm threshold and reach the duration, used to obtain the signal acquisition time of the maximum current that reaches the duration of the alarm threshold, that is, the acquisition time corresponding to y9.

[0119] Reference Figure 3a-3c, is an overall flow chart of a vehicle battery pack detection provided in an embodiment of the present application. After receiving the vehicle signal reported by the vehicle in the cloud, the vehicle signal can be processed by data analysis, data standardization, data filling, data preprocessing, etc. to obtain the current data currentData, and then the current warning threshold parameter can be calculated based on the current warning threshold parameter, and then the current warning threshold is calculated based on the current warning threshold parameter to determine whether the vehicle needs to be warned according to the current warning threshold. Among them, 1 can represent the first preset value, 0 can represent the second preset value, and 2 can represent the third preset value, wherein the third preset value can be used to indicate the end of traversal. It should be noted that 0, 1 or 2 in the embodiment of the present invention is used as a flag bit, and other values ​​can also be selected as flag bits in actual applications, and the embodiment of the present invention does not need to be limited to this.

[0120] Traverse (consume) currentData, obtain the values ​​of the battery system state c, DC charging state d, DC charging connection state e, AC charging state f, and AC charging connection state g signals from currentData, and obtain the current battery state chargeState according to the judgment condition (for example, when c=5 and d=3 and e=1 or c=4 and f=3 and g=1 is the charging state), then calculate whether the maximum temperature maxTemp in the battery temperature list i of currentData is within the normal range (such as -20℃~120℃ is a normal value). If maxTemp is not within the normal range, set y3 to 0 and consume the next data. If maxTemp is within the normal range, calculate whether the maximum voltage maxVolt in the battery voltage list k of currentData is within the normal range (such as 1V~6V If maxVolt is not within the normal range, y3 is set to 0 and the next data is consumed. If maxVolt is within the normal range, it is determined whether the number of currentData stored in y2 is greater than the preset threshold (i.e., the preset number, such as 5). If the number of currentData in y2 is greater than or equal to the preset threshold, y3 is set to 1. If chargeState is in the charging state, currentData is stored in y2 and maxTemp is stored in y1. If the number of currentData in y2 is less than the preset threshold, y3 is set to 0. If chargeState is in the charging state, currentData is stored in y2 and maxTemp is stored in y1. Then the next data is consumed. If it is in the discharging state and the number of y2 is 0, the next data is directly consumed.

[0121] Get y3. If y3 is equal to 1, traverse and calculate the data stored in y2. If the maximum temperature maxTemp1 of the first data in y1 corresponding to the first data currentData1 in y2 is less than the preset mutation value (such as 60℃), set y3 to 0 and y4 to 0. If maxTemp1 is greater than or equal to the preset mutation value (such as 60℃), set y3 to 1. Then get the maximum temperature maxTemp2 of the second data in y1 corresponding to the second data currentData2 of y2. If maxTemp2 is less than the preset mutation value (such as 60℃) or the signal acquisition time b in currentData2 is not continuous with the signal acquisition time b in currentData1, set y3 to 0 and y4 to 2 and exit the y2 traversal. Otherwise, continue to traverse the third data in y2. The subsequent data in y2 (that is, the third data and the data after the third data) are calculated according to the judgment condition of the second data.

[0122] Get y4, y4 represents the data stored in y2, get the first data currentData1 stored in y2 and perform the following calculations: If the battery system current m of currentData1 is greater than 0 (m is a negative number when the battery pack is in the charging state), the storage variables y5, y6, y7, y8, y9, and y10 are set to empty. If the battery system current m of currentData1 is less than or equal to 0, the value of y3 is determined. If y3 is equal to 1, the temperature mutation is not satisfied, and the maximum temperature and minimum temperature of the battery temperature list i in currentData1 are directly calculated. If y3 is equal to 0, the temperature mutation is satisfied. When calculating the maximum temperature and minimum temperature of the battery temperature list i in currentData1, it is necessary to filter out the probes whose temperature is greater than or equal to the mutation value (such as 60°C). Then, the maximum temperature and minimum temperature of the battery temperature list i can be processed according to the preset rules to obtain the temperature value temp1 of the first data currentData1, and then the maximum voltage maxVolt1 in the battery voltage list k in currentData1 is calculated. Temp1, maxVolt1, the value soc1 of the battery state of charge h in currentData1, and the value of the vehicle series a in currentData1 are input into the trained linear regression model to obtain the current warning threshold parameters output by the trained linear regression model. It should be noted that each piece of data (current data) stored in y2 will obtain the corresponding current warning threshold parameter according to the signal value in the data. Therefore, the current warning threshold parameter is not fixed, but is a dynamically calculated parameter that conforms to the current actual working condition of the vehicle. In addition, the current warning threshold will continue to change according to the actual working condition of the vehicle.

[0123] In one embodiment of the present application, the generating of several warning messages for the battery pack of the vehicle according to the battery system current and signal acquisition time of the current data and the current warning threshold includes:

[0124] If the time interval between the signal acquisition time in the current data and the signal acquisition time of the previous current data stored is less than or equal to the preset continuous interval threshold, the continuous number of times the alarm threshold is reached is adjusted, and the total current value is updated according to the battery system current in the current data; wherein the signal acquisition time of the previous current data is stored when the current warning threshold is less than the battery system current of the current data;

[0125] When the number of times the alarm threshold is reached exceeds a preset alarm threshold, an average current is calculated according to the total current value and the number of times the alarm threshold is reached;

[0126] The average current, the vehicle identification code, vehicle model and series, battery system current and signal acquisition time in the current data are packaged into an alarm message for the battery pack of the vehicle.

[0127] In an embodiment of the present application, after the current warning threshold parameter is obtained through the trained linear regression model, the current warning threshold parameter can be multiplied by the initial capacity of the battery pack corresponding to the vehicle model and series, and then multiplied by the battery type weight to obtain the final current warning threshold z1 of the current data, and z1 is compared with the value of the battery system current m in currentData1. If z1 is greater than or equal to m, y5, y6, y7, y8, y9, and y10 are cleared. If z1 is less than m, the signal acquisition time b in currentData1 is stored in y6 and y10, and the battery system current m in currentData1 is stored in y9. Then, the signal acquisition time b in currentData1 is compared with the value in y6. If the interval between the two is less than or equal to the continuous interval threshold (such as 10 seconds), the value stored in y5 (that is, the number of continuous times the warning threshold is reached) is added by 1, and the value stored in y7 (total current) is added to the battery system current m in currentData1. If the interval between the two is greater than the continuous interval threshold (such as 10 seconds), y5, y7, y8, y9, and y10 are cleared.

[0128] Get the values ​​of y5 and y8. If the value of y5 is greater than or equal to the alarm threshold (such as 10 times) and the value of y8 is equal to 0, calculate the average current avgCurrent = y7 / y5, set y5 to null and y8 to 1, and encapsulate the value in y10 corresponding to the minimum value (minimum battery system current m) of vin, avgCurrent, and y9 (the signal acquisition time b corresponding to the minimum battery system current m in y9) and some vehicle information into an extensible json format object and send it to the alarm message queue X4. In this way, the processing of a current data currentData is completed. After deleting the first data (currently processed current data currentData) stored in y1 and y2, determine whether the index of the current traversal currentData is consistent with the index of y4. If they are consistent, it means that the traversal of y2 has been completed, and the process can be ended. If they are inconsistent, it means that the traversal of y2 has not been completed, and you can return to continue traversing y2.

[0129] In one embodiment of the present application, the linear regression model is trained in the following manner:

[0130] Obtain a charge and discharge strategy matrix mapping table corresponding to battery packs of different vehicle models and series; wherein the charge and discharge strategy matrix mapping table includes at least sample temperature values, sample maximum voltages, sample battery state of charge, sample vehicle models and series, and sample current warning threshold parameters;

[0131] Preprocessing the charge-discharge strategy matrix mapping table to obtain training samples;

[0132] Inputting the training samples into a linear regression model to be trained to obtain an output current warning threshold parameter;

[0133] The loss value of the linear regression model is determined according to the output current warning threshold parameter and the sample current warning threshold parameter, and when the loss value reaches a preset convergence condition, the trained linear regression model is obtained.

[0134] In a specific implementation, the battery types of battery packs of different vehicle models are different. The battery types can be divided into ternary lithium, lithium iron phosphate and other types, and different battery types have corresponding charge and discharge strategy matrix mapping tables (charge and discharge strategy matrix map tables). Specifically, the charge and discharge strategy matrix mapping table is a table or data structure used in the battery management system (Battery Management System, BMS). In the embodiment of the present application, the charge and discharge strategy matrix mapping table may at least include sample temperature values ​​(temp), sample maximum voltage (maxVolt), sample battery state of charge (soc), sample vehicle model series (car series) and sample current warning threshold parameters (results), etc.

[0135] In the embodiment of the present application, the charge and discharge strategy matrix map table of different vehicle models is input into the linear regression model to be trained so that the linear regression model can output the output current warning threshold, and then the loss value (loss function value) of the linear regression model can be determined according to the output current warning threshold parameter and the sample current warning threshold parameter. When the loss value reaches the preset convergence condition, the trained linear regression model can be obtained. The detailed training process of the linear regression model is as follows:

[0136] 1: The different original charge and discharge strategy matrix map tables are formatted and then preprocessed, where the preprocessing may include data encoding and duplicate row deletion, etc., where data encoding is performed because there is no corresponding meaning for each feature in the original charge and discharge strategy matrix map table. In order to enable the linear regression model to understand the original charge and discharge strategy matrix map table, data encoding is required. For example, the car series feature in the original charge and discharge strategy matrix map table is a category feature, and the value size has no physical meaning. It has no meaning to be directly input into the linear model, so it is processed by using data encoding methods such as unique hot encoding. After preprocessing, training samples can be obtained, as shown in Table 4 below:

[0137] Table 4:

[0138] temp maxVolt soc Car Series result -25 0 1 1 0.00 -24 0 1 1 0.11 -23 0 1 1 0.115 -22 0 1 1 0.117 -21 0 1 1 0.119 … … … … … 50 0 1 1 0.83 51 0 1 1 0.834 52 0 1 1 0.837 -25 0 1.1 1 0.00 -24 0 1.1 1 0.111 -23 0 1.1 1 0.116 -22 0 1.1 1 0.118 -21 0 1.1 1 0.12 … … … … … 50 0 1.1 1 0.84 51 0 1.1 1 0.835 52 0 1.1 1 0.838 … … … … … -25 0 100 1 2.94 -24 0 100 1 2.95 -23 0 100 1 2.96 -22 0 100 1 2.97 -21 0 100 1 2.98 … … … … 50 0 100 1 3.61 51 0 100 1 3.62 52 0 100 1 3.63 0 3.0 1 0 0.011 0 3.01 1 0 0.016 0 3.02 1 0 0.018 0 3.03 1 0 0.020 0 3.04 1 0 0.023 … … … … 0 5.97 1 0 0.072 0 5.98 1 0 0.073 0 5.99 1 0 0.074 0 6.0 1 0 0.075 … … … … … 0 3.0 100 0 4.012 0 3.01 100 0 4.016 0 3.02 100 0 4.017 0 3.03 100 0 4.019 0 3.04 100 0 4.023 … … … … … 0 5.97 100 0 4.284 0 5.98 100 0 4.319 0 5.99 100 0 4.325 0 6.0 100 0 4.327

[0139] Input the processed training sample (sample) into the linear regression model to be trained:

[0140] (1)

[0141] Among them, y is the prediction function; w is the weight of each feature in the model; x is the input feature, that is, the data of other columns in the above table except the result column; b is the bias.

[0142] Input each row of data in the table above, i.e., training samples, into formula (1) to obtain a large number of functions about w. Then, the overall accuracy of the model is measured by the following square loss function (2). The smaller the loss function L(w), the better the model training. The specific square loss function (2) is as follows:

[0143] (2)

[0144] Among them, y is the true value, that is, the result column in the above table; is the true value of the jth sample; is the predicted value; is the i-th feature of the j-th sample.

[0145] The gradient descent method is used for learning. The formula (3) of the gradient descent method can be as follows:

[0146] (3)

[0147] in, is the true value of the jth sample; is the i-th feature of the j-th sample; α is the learning rate and the iteration step size.

[0148] According to the above formulas (1), (2) and (3), the linear regression model to be trained is iteratively trained to calculate each weight , until the model reaches a preset convergence condition, such as convergence to a predetermined value, and finally a trained multivariate linear regression model is obtained. Subsequently, the current warning threshold parameters with accurate prediction can be obtained based on the trained linear regression model, and then the current warning threshold can be determined based on the current warning threshold parameters, so as to predict whether the battery pack of the vehicle has a risk of burning out and whether a warning is needed according to the current warning threshold.

[0149] In summary, the application of the embodiments of the present application has at least the following advantages: 1. Effective monitoring of the battery pack current of new energy vehicles can be achieved without the need for additional hardware equipment; 2. Real-time monitoring of vehicle signals of the battery pack of new energy vehicles can be effectively achieved, and the current warning threshold can be dynamically adjusted according to the real-time operating conditions of the new energy vehicle, thereby improving the accuracy of the battery pack warning for new energy vehicles based on the current warning threshold.

[0150] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.

[0151] Reference Figure 4 , is a structural block diagram of a vehicle battery pack detection device provided in an embodiment of the present application, such as Figure 4 As shown in the application to the cloud, the device may specifically include the following modules:

[0152] A vehicle signal acquisition module 401 is used to collect vehicle signals through a data acquisition module installed on the vehicle, wherein the vehicle signals include current signals of the battery pack;

[0153] The current data generating module 402 is used to obtain a plurality of current data of the vehicle under the actual working condition according to the vehicle signal; wherein the current data at least includes the battery system current and the signal acquisition time;

[0154] A current warning threshold parameter determination module 403 is used to determine a current warning threshold parameter according to the current data;

[0155] The warning message generation module 404 is used to generate a number of warning messages for the battery pack of the vehicle according to the current data and the current warning threshold parameter, so as to analyze the usage status of the battery pack according to the warning messages.

[0156] In one embodiment of the present application, the vehicle signal is an encrypted and compressed vehicle signal uploaded to the cloud, and the current data generation module 402 is used to:

[0157] Obtaining a battery pack initial capacity and a battery type weight corresponding to the battery pack of the vehicle;

[0158] Calculate the current warning threshold according to the current warning threshold parameter, the initial capacity of the battery pack and the battery type weight;

[0159] A plurality of warning messages for the battery pack of the vehicle are generated according to the battery system current and signal acquisition time of the current data, and the current warning threshold.

[0160] In one embodiment of the present application, the device further includes a processing module for reporting the compressed and encrypted vehicle signal to the cloud for processing, wherein the processing includes data parsing, data standardization, and data filling.

[0161] In one embodiment of the present application, the processing module is used to:

[0162] Decompressing and decrypting the compressed and encrypted vehicle signal to obtain the vehicle signal;

[0163] After parsing the vehicle signal according to the description file of the vehicle model and series corresponding to the vehicle, the parsed vehicle signal is converted into a target vehicle signal in a specified data exchange format, and the target vehicle signal is sent to the parsing message queue.

[0164] In one embodiment of the present application, the processing module is used to:

[0165] Acquire the target vehicle signal from the parsed message queue;

[0166] Acquire a preset definition standard; the preset definition standard includes conversion mapping rules corresponding to the vehicle signals of different vehicle models and series;

[0167] The conversion mapping rule corresponding to the vehicle model and vehicle series is obtained in the preset definition standard according to the vehicle model and vehicle series, so as to convert the target vehicle signal into a standardized signal according to the conversion mapping rule.

[0168] In one embodiment of the present application, the processing module is used to:

[0169] Obtaining a configuration file corresponding to the vehicle model series, the configuration file including a sampling frequency used by each of the vehicles when collecting the vehicle signal; the standardized signal includes a signal collection time, the sampling frequency includes a first sampling frequency and a second sampling frequency, and the first sampling frequency is greater than the second sampling frequency;

[0170] Extracting a target standardized signal from the standardized signal according to a preset window;

[0171] Sorting the target standardized signals according to the signal acquisition time to obtain the sorted target standardized signals;

[0172] The target normalized signal at the first sampling frequency is filled with the target normalized signal at the second sampling frequency with a null value.

[0173] In one embodiment of the present application, the device further includes: a preprocessing module, configured to:

[0174] The current data is preprocessed, wherein the preprocessing at least includes: removing unusable data in the current data according to the value range of the battery state of charge, the number of battery temperature data, the number of battery voltage data and the signal acquisition time in the current data.

[0175] In one embodiment of the present application, the current data generating module 402 is used to:

[0176] Determining a current battery state of the vehicle according to a battery system state, a DC charging state, a DC charging connection state, an AC charging state, and an AC charging connection state in the current data;

[0177] Filtering and obtaining a preset number of first target current data according to the current battery state and the numerical ranges of the maximum temperature and the maximum voltage in the current data;

[0178] Traversing the target maximum temperatures in the preset number of first target current data, and performing secondary screening according to the numerical range of the target maximum temperature and the signal acquisition time to obtain the second target current data;

[0179] A temperature value is calculated from the second target current data, and the temperature value and the maximum voltage, battery state of charge, and vehicle model series in the second target current data are input into the trained linear regression model to obtain a current warning threshold parameter.

[0180] In one embodiment of the present application, the current data generating module 402 is used to:

[0181] If the time interval between the signal acquisition time in the current data and the signal acquisition time of the previous current data stored is less than or equal to the preset continuous interval threshold, the continuous number of times the alarm threshold is reached is adjusted, and the total current value is updated according to the battery system current in the current data; wherein the signal acquisition time of the previous current data is stored when the current warning threshold is less than the battery system current of the current data;

[0182] When the number of times the alarm threshold is reached exceeds a preset alarm threshold, an average current is calculated according to the total current value and the number of times the alarm threshold is reached;

[0183] The average current, the vehicle identification code, vehicle model and series, battery system current and signal acquisition time in the current data are packaged into an alarm message for the battery pack of the vehicle.

[0184] In one embodiment of the present application, the device further includes: a linear regression model training module, which is used to:

[0185] Obtain a charge and discharge strategy matrix mapping table corresponding to battery packs of different vehicle models and series; wherein the charge and discharge strategy matrix mapping table includes at least sample temperature values, sample maximum voltages, sample battery state of charge, sample vehicle models and series, and sample current warning threshold parameters;

[0186] Preprocessing the charge-discharge strategy matrix mapping table to obtain training samples;

[0187] Inputting the training samples into a linear regression model to be trained to obtain an output current warning threshold parameter;

[0188] The loss value of the linear regression model is determined according to the output current warning threshold parameter and the sample current warning threshold parameter, and when the loss value reaches a preset convergence condition, the trained linear regression model is obtained.

[0189] As for the above-mentioned device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0190] The present application also provides an electronic device, such as Figure 5As shown, it includes a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502, and the memory 503 communicate with each other through the communication bus 504.

[0191] Memory 503, used for storing computer programs;

[0192] The processor 501 is used to implement the vehicle battery pack detection method described in any of the above embodiments when executing the program stored in the memory 503.

[0193] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0194] The communication interface is used for communication between the above terminal and other devices.

[0195] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0196] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0197] In another embodiment provided in the present application, a computer-readable storage medium is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the vehicle battery pack detection method described in any of the above embodiments.

[0198] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the vehicle battery pack detection method described in any one of the above embodiments.

[0199] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0200] It should be noted that, in this article, relational terms such as first and second, etc. 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, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0201] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0202] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims

1. A vehicle battery pack detection method, characterized in that: Applied to the cloud, the method includes: Collecting vehicle signals through a data acquisition module installed on the vehicle, wherein the vehicle signals include current signals of the battery pack; Obtaining a plurality of current data of the vehicle under actual working conditions according to the vehicle signal; Determine a current warning threshold parameter according to the current data; generating a plurality of warning messages for the battery pack of the vehicle according to the current data and the current warning threshold parameter, so as to analyze the usage status of the battery pack according to the warning messages; The determining of the current warning threshold parameter according to the current data includes: Determining a current battery state of the vehicle according to a battery system state, a DC charging state, a DC charging connection state, an AC charging state, and an AC charging connection state in the current data; Filtering and obtaining a preset number of first target current data according to the current battery state and the numerical ranges of the maximum temperature and the maximum voltage in the current data; Traversing the target maximum temperatures in the preset number of first target current data, and performing secondary screening according to the numerical range of the target maximum temperature and the signal acquisition time to obtain the second target current data; A temperature value is calculated from the second target current data, and the temperature value and the maximum voltage, battery state of charge, and vehicle model series in the second target current data are input into the trained linear regression model to obtain a current warning threshold parameter.

2. The method according to claim 1, characterized in that The generating a plurality of warning messages for the battery pack of the vehicle according to the current data and the current warning threshold parameter includes: Obtaining a battery pack initial capacity and a battery type weight corresponding to the battery pack of the vehicle; Calculate the current warning threshold according to the current warning threshold parameter, the initial capacity of the battery pack and the battery type weight; A plurality of warning messages for the battery pack of the vehicle are generated according to the battery system current and signal acquisition time of the current data, and the current warning threshold.

3. The method according to claim 1, before obtaining a plurality of current data of the vehicle under real working conditions according to the vehicle signal, further comprising: The compressed and encrypted vehicle signal is reported to the cloud for processing, and the processing includes data parsing, data standardization, and data filling.

4. The method according to claim 3, characterized in that The data analysis includes: Decompressing and decrypting the compressed and encrypted vehicle signal to obtain the vehicle signal; After parsing the vehicle signal according to the description file of the vehicle model and series corresponding to the vehicle, the parsed vehicle signal is converted into a target vehicle signal in a specified data exchange format, and the target vehicle signal is sent to the parsing message queue.

5. The method according to claim 4, characterized in that The data standardization includes: Acquire the target vehicle signal from the parsed message queue; Acquire a preset definition standard; the preset definition standard includes conversion mapping rules corresponding to the vehicle signals of different vehicle models and series; The conversion mapping rule corresponding to the vehicle model and vehicle series is obtained in the preset definition standard according to the vehicle model and vehicle series, so as to convert the target vehicle signal into a standardized signal according to the conversion mapping rule.

6. The method according to claim 5, characterized in that The data filling includes: Obtaining a configuration file corresponding to the vehicle model series, the configuration file including a sampling frequency used by each of the vehicles when collecting the vehicle signal; the standardized signal includes a signal collection time, the sampling frequency includes a first sampling frequency and a second sampling frequency, and the first sampling frequency is greater than the second sampling frequency; Extracting a target standardized signal from the standardized signal according to a preset window; Sorting the target standardized signals according to the signal acquisition time to obtain the sorted target standardized signals; The target normalized signal at the first sampling frequency is filled with the target normalized signal at the second sampling frequency with a null value.

7. The method according to claim 1, characterized in that After obtaining a plurality of pieces of current data of the vehicle under actual working conditions according to the vehicle signal, the method further includes: The current data is preprocessed, and the preprocessing at least includes: removing unusable data in the current data according to the value range of the battery state of charge, the number of battery temperature data, the number of battery voltage data and the signal acquisition time in the current data.

8. The method according to claim 2, characterized in that: The generating of a plurality of warning messages for the battery pack of the vehicle according to the battery system current and signal acquisition time of the current data and the current warning threshold comprises: If the time interval between the signal acquisition time in the current data and the signal acquisition time of the previous current data stored is less than or equal to the preset continuous interval threshold, the continuous number of times the alarm threshold is reached is adjusted, and the total current value is updated according to the battery system current in the current data; wherein the signal acquisition time of the previous current data is stored when the current warning threshold is less than the battery system current of the current data; When the number of times the alarm threshold is reached exceeds a preset alarm threshold, an average current is calculated according to the total current value and the number of times the alarm threshold is reached; The average current, the vehicle identification code, vehicle model and series, battery system current and signal acquisition time in the current data are packaged into an alarm message for the battery pack of the vehicle.

9. The method according to claim 1, characterized in that: The linear regression model is trained in the following way: Obtain a charge and discharge strategy matrix mapping table corresponding to battery packs of different vehicle models and series; the charge and discharge strategy matrix mapping table includes at least sample temperature values, sample maximum voltages, sample battery state of charge, sample vehicle models and series, and sample current warning threshold parameters; Preprocessing the charge-discharge strategy matrix mapping table to obtain training samples; Inputting the training samples into a linear regression model to be trained to obtain an output current warning threshold parameter; The loss value of the linear regression model is determined according to the output current warning threshold parameter and the sample current warning threshold parameter, and when the loss value reaches a preset convergence condition, the trained linear regression model is obtained.

10. A vehicle battery pack detection device, characterized in that: Applied to the cloud, the device comprises: A vehicle signal acquisition module, used to collect vehicle signals through a data acquisition module installed on the vehicle, wherein the vehicle signals include current signals of the battery pack; A current data generation module, used to obtain a number of current data of the vehicle under real working conditions according to the vehicle signal; wherein the current data at least includes the battery system current and the signal acquisition time; A current warning threshold parameter determination module, used to determine the current warning threshold parameter according to the current data; an alarm message generating module, configured to generate a plurality of alarm messages for the battery pack of the vehicle according to the current data and the current warning threshold parameter, so as to analyze the use status of the battery pack according to the alarm messages; The current data generating module is used for: Determining a current battery state of the vehicle according to a battery system state, a DC charging state, a DC charging connection state, an AC charging state, and an AC charging connection state in the current data; Filtering and obtaining a preset number of first target current data according to the current battery state and the numerical ranges of the maximum temperature and the maximum voltage in the current data; Traversing the target maximum temperatures in the preset number of first target current data, and performing secondary screening according to the numerical range of the target maximum temperature and the signal acquisition time to obtain the second target current data; A temperature value is calculated from the second target current data, and the temperature value and the maximum voltage, battery state of charge, and vehicle model series in the second target current data are input into the trained linear regression model to obtain a current warning threshold parameter.

11. An electronic device, characterized in that: The invention comprises a processor, a communication interface, a memory and a communication bus. When the processor executes a program stored in the memory, the method steps described in any one of claims 1 to 9 are implemented.

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