Vehicle battery state detection method and device, electronic device, and storage medium

By receiving and analyzing target parameters in vehicle battery data through electronic devices, the problem of limited processing capabilities of the vehicle controller is solved, the accuracy and efficiency of vehicle battery status detection are improved, and the safety of the vehicle and users is ensured.

CN119428193BActive Publication Date: 2026-07-14BYD CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BYD CO LTD
Filing Date
2023-07-28
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

In existing technologies, vehicle battery status detection relies on the limited processing power of the vehicle controller, and the on-board chip needs to store battery data, which increases the load and affects detection efficiency and accuracy.

Method used

By receiving vehicle battery data, the processing unit in the electronic device performs status detection based on predetermined target parameters, including the highest single-cell voltage, the lowest single-cell voltage, and the voltage difference. Combined with big data analysis, the normal or abnormal state of the vehicle battery is determined.

Benefits of technology

This approach reduces the load on onboard chips while improving the accuracy and efficiency of vehicle battery status detection, thus ensuring the safety of the vehicle and its users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119428193B_ABST
    Figure CN119428193B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a state detection method of a vehicle battery, comprising the following steps: after receiving battery data of a vehicle, determining the state of the vehicle battery according to target data in the battery data, that is, indexes which can effectively represent the state of the vehicle battery and are determined in advance. In this way, according to the target parameters, or according to the type or category of the parameters which can determine whether the state of the vehicle battery is abnormal, the electronic device can determine the state of the vehicle battery based on the target parameters in the battery data after the vehicle reports the battery data of itself, so that the abnormality of the vehicle battery can be effectively detected, and the safety of the vehicle and the user in the vehicle is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and more specifically, to a method for detecting the state of a vehicle battery, a device for detecting the state of a vehicle battery, an electronic device, and a computer-readable storage medium. Background Technology

[0002] Currently, new energy vehicles are gradually replacing traditional vehicles as the main mode of urban transportation. For new energy vehicles, the vehicle battery (such as a power battery and a low-voltage battery) is needed to power related electronic loads and provide kinetic energy for vehicle operation. Therefore, the condition of the vehicle battery is crucial to the safety of the entire vehicle. Summary of the Invention

[0003] This application provides a method for detecting the state of a vehicle battery, a device for detecting the state of a vehicle battery, an electronic device, and a computer-readable storage medium.

[0004] This application provides a method for detecting the state of a vehicle battery, including:

[0005] Receive vehicle battery data;

[0006] The state of the vehicle battery is determined based on the target parameters in the battery data, wherein the target parameters are determined statistically based on abnormal battery state data, and the state of the vehicle battery includes normal state and abnormal state.

[0007] In the vehicle battery state detection method provided in this application, after receiving the battery data reported by the vehicle, the electronic device determines the state of the vehicle battery based on the target data in the battery data, that is, the pre-determined indicators that can effectively characterize the state of the vehicle battery.

[0008] Thus, according to the target parameters, or in other words, according to the types or categories of parameters that can determine whether the vehicle battery status is abnormal, after the vehicle reports its own battery data, the electronic device can determine the status of the vehicle battery based on the target parameters in the battery data, thereby effectively detecting whether the vehicle battery is abnormal and ensuring the safety of the vehicle and the users inside the vehicle.

[0009] For example, indicators obtained in advance through big data analysis, namely the types of target parameters determined in advance based on the statistical data of abnormal battery status, enable electronic devices to accurately determine the status of the vehicle battery based on the target parameters of that type in the battery data after the vehicle reports its own battery data. Therefore, it can effectively detect whether the vehicle battery is abnormal, and thus effectively protect the safety of the vehicle and the user.

[0010] In some embodiments, the method further includes:

[0011] If the battery data is not received within the first preset time period, it is determined that the vehicle battery is in an abnormal state.

[0012] Thus, the implementation method of this application determines the state of the vehicle battery based on whether the vehicle reports battery data, thereby ensuring the efficiency of state detection.

[0013] In some implementations, the target parameters include the highest and lowest single-cell voltage of the vehicle battery;

[0014] Determining the state of the vehicle battery based on the target parameters in the battery data includes:

[0015] When the vehicle is powered on, the state of the vehicle battery is determined based on the highest single-cell voltage and the lowest single-cell voltage.

[0016] Thus, the embodiments of this application, based on the highest and lowest single-cell voltages, enable the effective determination of the state of the vehicle battery.

[0017] In some implementations, the battery data includes multiple sets, and determining the state of the vehicle battery based on the highest single-cell voltage and the lowest single-cell voltage when the vehicle is powered on includes:

[0018] If, when the vehicle is powered on, the highest single-cell voltage and the lowest single-cell voltage of each group are both preset single-cell voltage values ​​within a second preset time period, then the vehicle battery is determined to be in an abnormal state.

[0019] Thus, the embodiments of this application accurately determine the state of the vehicle battery based on the duration during which both the highest and lowest single-cell voltage values ​​are abnormal.

[0020] In some embodiments, determining the state of the vehicle battery based on the highest single-cell voltage and the lowest single-cell voltage when the vehicle is powered on includes:

[0021] When the vehicle is powered on, the state of the vehicle battery is determined based on the voltage difference between the highest single-cell voltage and the lowest single-cell voltage.

[0022] Thus, the embodiment of this application, based on the voltage difference between the high single-cell voltage and the lowest single-cell voltage, enables the accurate determination of the vehicle battery's state.

[0023] In some implementations, the battery data includes multiple sets, and determining the state of the vehicle battery based on the voltage difference between the highest and lowest single-cell voltages when the vehicle is powered on includes:

[0024] If, when the vehicle is powered on, the voltage difference between the highest and lowest single-cell voltages in each group is greater than a preset voltage difference within a third preset time period, then the vehicle battery is determined to be in an abnormal state.

[0025] Thus, the embodiments of this application enable the accurate determination of the vehicle battery state based on the duration of abnormal voltage difference values.

[0026] In some implementations, determining the state of the vehicle battery based on target parameters in the battery data includes:

[0027] The monitoring start time is determined based on the power converter parameters in the target parameters;

[0028] The state of the vehicle battery is determined based on the target parameters after the monitoring start time.

[0029] Thus, the implementation method of this application, based on the setting of the monitoring start time, ensures that the target parameters before and after the monitoring start time are used to determine the state of the vehicle battery, thereby effectively determining the state of the vehicle battery.

[0030] In some implementations, when the vehicle changes from a powered-on state to a powered-off state and the first duration is not less than a fourth preset duration, the monitoring start time is determined based on the moment when the vehicle changes to the powered-off state, and the first duration is determined based on the duration when the power converter parameters satisfy the first preset condition when the vehicle is in a powered-on state.

[0031] Thus, the implementation method of this application enables the electronic device to determine whether the vehicle battery is in an abnormal state based on the duration of the abnormal state maintained by the power converter parameters, thereby ensuring the effectiveness of the monitoring start time.

[0032] In some implementations, the first preset duration is determined based on the duration during which the power converter is in a step-down state and the DC low-voltage side voltage is not less than a preset voltage value when the vehicle is in the powered-on state.

[0033] In some implementations, when the first cumulative duration is not less than the sixth preset duration, the monitoring start time is determined based on the moment when the vehicle changes to a power-off state, and the first cumulative duration is determined based on the cumulative duration during which the power converter parameters within the fifth preset duration before the vehicle changes from a power-on state to a power-off state satisfy the second preset condition.

[0034] Thus, the embodiments of this application, based on the duration of abnormal values ​​of power converter parameters within a specific time period, enable electronic devices to accurately determine whether the vehicle battery may be in an abnormal state.

[0035] In some implementations, when the second duration satisfies the fourth preset condition and the third duration satisfies the fifth preset condition, the monitoring start time is determined based on the moment when the third duration satisfies the fifth preset condition, the second duration is determined based on the duration when the power converter parameters satisfy the third preset condition, and the third duration is determined based on the duration when the power converter parameters do not satisfy the third preset condition.

[0036] Thus, based on the duration for which the power converter parameters meet the third preset condition and the duration for which the third preset condition is not met, the electronic device can accurately determine whether the vehicle battery is in an abnormal state.

[0037] In some implementations, the target parameter further includes the vehicle's power type; when the vehicle is a first power type vehicle, the second duration is not less than a seventh preset duration, and the third duration is not less than an eighth preset duration, the monitoring start time is determined based on the moment when the third duration is not less than the eighth preset duration.

[0038] Thus, the embodiments of this application enable the electronic device to determine whether the vehicle is in an abnormal state based on the vehicle's power type, thereby further improving the detection accuracy.

[0039] In some implementations, when the vehicle is a second power type vehicle, the second duration is not less than a ninth preset duration, and the third duration is not less than a tenth preset duration, the monitoring start time is determined based on the time when the third duration is not less than the tenth preset duration.

[0040] In some implementations, when the vehicle is a first power type vehicle, the second duration is not less than a seventh preset duration, and the fourth duration is not less than an eleventh preset duration; or when the vehicle is a second power type vehicle, the second duration is not less than a tenth preset duration, and the fourth duration is not less than an eleventh preset duration, the monitoring start time is determined based on the moment when the fourth duration is not less than the eleventh preset duration. The fourth duration is determined based on the duration during which the vehicle is in the power-on state when the vehicle changes from a power-off state to a power-on state.

[0041] In some implementations, determining the state of the vehicle battery based on the target parameters after the monitoring start time includes:

[0042] The state of the vehicle battery is determined based on the target parameters within a first preset time period after the monitoring start time, wherein the first preset time period includes the duration during which the vehicle battery changes from an uncharged state to a charged state.

[0043] Thus, the electronic device of this application can effectively determine whether the vehicle battery is in an abnormal state based on the target parameters before the change in the charging state of the vehicle battery after the monitoring start time.

[0044] In some implementations, determining the state of the vehicle battery based on the target parameters within a first preset time period after the monitoring start time includes:

[0045] Determine the second cumulative duration during which the power battery current in the target parameter is lower than a preset current value within the first preset time period;

[0046] If the ratio of the second cumulative duration to the duration of the first preset time period is less than a preset ratio, the duration of the first preset time period is less than the twelfth preset duration, and the vehicle is in a predetermined working state within the first preset time period, then it is determined that the vehicle battery is in an abnormal state.

[0047] Thus, the embodiments of this application, based on the first total number of frames and the first time interval between two adjacent frames of battery data, make the state detection of the vehicle battery not entirely dependent on the operating parameters of the vehicle battery, so that the state detection can be completed based on information from multiple dimensions, thereby more accurately determining whether the vehicle battery is in an abnormal state.

[0048] In some implementations, determining the state of the vehicle battery based on the target parameters within a first preset time period after the monitoring start time includes:

[0049] Based on the battery data received within the first preset time period, a first time interval between two adjacent frames of battery data and a first total number of battery data frames received within the first preset time period are determined.

[0050] The state of the vehicle battery is determined based on the first time interval, the first total number of frames, and the operating state of the vehicle.

[0051] In some implementations, determining the state of the vehicle battery based on the first time interval, the first total number of frames, and the vehicle's operating state includes:

[0052] If the first time interval is not greater than the first preset time interval, the first total number of frames is not greater than the first preset number of frames, the duration of the first preset time period is less than the thirteenth preset duration, and the vehicle is in a predetermined working state within the first preset time period, then it is determined that the vehicle battery is in an abnormal state.

[0053] In some embodiments, determining the state of the vehicle battery based on the first time interval, the first total number of frames, and the vehicle's operating state further includes:

[0054] If the first time interval is greater than the second preset time interval, there are at least two adjacent frames of battery data where the low voltage value is greater than the first preset low voltage threshold and the time interval between the at least two adjacent frames of battery data is greater than the third preset time interval, the first total number of frames is greater than the second preset number of frames, and the vehicle is in a predetermined working state within the first preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the third preset time interval is greater than the second preset time interval.

[0055] In some implementations, determining the state of the vehicle battery based on the target parameters after the monitoring start time further includes:

[0056] The state of the vehicle battery is determined based on the target parameters within a second preset time period after the monitoring start time, wherein the second preset time period includes the duration during which the vehicle's power battery changes from an uncharged state to a charged state.

[0057] Thus, the embodiments of this application, based on target parameters within the time period before the change of the charging state of the power battery, make the state detection of the vehicle battery more accurate.

[0058] In some implementations, determining the state of the vehicle battery based on the target parameters within a second preset time period after the monitoring start time includes:

[0059] Based on the battery data received within the second preset time period, a second time interval between two adjacent frames of battery data and a second total number of battery data frames received within the second preset time period are determined.

[0060] If the second time interval is higher than the fourth preset time interval, there are at least two adjacent frames of battery data where the low voltage value is greater than a preset low voltage threshold and the time interval between the at least two adjacent frames of battery data is greater than the fifth preset time interval, the second total number of frames is greater than the third preset number of frames, and the vehicle is in a predetermined working state during the second preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the fifth preset time interval is greater than the fourth preset time interval.

[0061] In some implementations, determining the state of the vehicle battery based on the target parameters after the monitoring start time further includes:

[0062] The state of the vehicle battery is determined based on the target parameters within a third preset time period after the monitoring start time, wherein the third preset time period includes the duration during which the vehicle changes from a powered-off state to a powered-on state.

[0063] Thus, the embodiments of this application enable the electronic device to perform vehicle battery state detection based on target parameters during the period before the vehicle transitions from a power-off state to a power-on state, thereby further improving the reliability of the state detection results.

[0064] In some implementations, determining the state of the vehicle battery based on the target parameters within a third preset time period after the monitoring start time includes:

[0065] Based on the battery data received within the third preset time period, a third time interval between two adjacent frames of battery data and a third total number of battery data frames received within the third preset time period are determined.

[0066] If the third time interval is higher than the sixth preset time interval, there are at least two adjacent frames of battery data where the low voltage value is greater than a preset low voltage threshold and the time interval between the at least two adjacent frames of battery data is greater than the seventh preset time interval, the third total number of frames is greater than the fourth preset number of frames, and the vehicle is in a predetermined working state during the third preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the seventh preset time interval is greater than the sixth preset time interval.

[0067] This application provides a vehicle battery state detection device, including:

[0068] Transceiver unit, used to receive battery data from the vehicle;

[0069] The processing unit is used to determine the state of the vehicle battery based on target parameters in the battery data, wherein the target parameters are determined statistically based on abnormal battery state data, and the state of the vehicle battery includes normal state and abnormal state.

[0070] This application provides an electronic device including a memory and a processor. The memory stores a computer program, which, when executed by the processor, implements the above-described vehicle battery state detection method.

[0071] This application provides a computer-readable storage medium storing a computer program that, when executed by one or more processors, implements the above-described vehicle battery state detection method.

[0072] The vehicle battery status detection device, electronic device, and computer-readable storage medium of this application, based on target parameters, or rather, based on the type or category of parameters that can determine whether the vehicle battery status is abnormal, enable the electronic device to determine the vehicle battery status based on the target parameters in the battery data after the vehicle reports its own battery data, thereby effectively detecting whether the vehicle battery is abnormal and ensuring the safety of the vehicle and the users inside the vehicle.

[0073] For example, indicators obtained in advance through big data analysis, namely the types of target parameters determined in advance based on the statistical data of abnormal battery status, enable electronic devices to accurately determine the status of the vehicle battery based on the target parameters of that type in the battery data after the vehicle reports its own battery data. Therefore, it can effectively detect whether the vehicle battery is abnormal, and thus effectively protect the safety of the vehicle and the user.

[0074] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description

[0075] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein:

[0076] Figure 1 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0077] Figure 2 This is a schematic diagram of a vehicle battery state detection device in some embodiments of this application;

[0078] Figure 3 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0079] Figure 4 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0080] Figure 5 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0081] Figure 6 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0082] Figure 7 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0083] Figure 8 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0084] Figure 9 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0085] Figure 10 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0086] Figure 11 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0087] Figure 12 This is a flowchart illustrating the state detection method for a vehicle battery in certain embodiments of this application;

[0088] Figure 13 This is a flowchart illustrating a method for detecting the state of a vehicle battery in certain embodiments of this application. Detailed Implementation

[0089] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.

[0090] When testing the batteries in new energy vehicles, it is typically necessary to use various preset sensors (such as temperature sensors) to detect various data points from the battery and determine whether the battery is abnormal based on the relationship between these data points and corresponding thresholds. However, this method relies on the vehicle's controller (or other processing unit), meaning the controller needs to accurately acquire data from various sensors to ensure effective battery status detection. However, due to limitations in vehicle hardware costs, the processing power of the vehicle controller is limited. Furthermore, even when the testing is performed locally within the vehicle, the onboard chip still needs to store the battery data; in other words, the vehicle chip also bears the burden of storing battery data.

[0091] Based on the issues mentioned above, please refer to Figure 1 This application provides a method for detecting the state of a vehicle battery, comprising:

[0092] 01: Receive vehicle battery data;

[0093] 02: Determine the state of the vehicle battery based on the target parameters in the battery data, wherein the target parameters are determined based on statistical data of abnormal battery states, and the state of the vehicle battery includes normal state and abnormal state.

[0094] Please see Figure 2 This application provides a vehicle battery state detection device 100. The vehicle battery state detection method of this application can be implemented by the vehicle battery state detection device 100 of this application. Specifically, the state detection device 100 includes a transceiver unit 110 and a processing unit 120, wherein the transceiver unit 110 is used to receive vehicle battery data; the processing unit 120 is used to determine the state of the vehicle battery based on target parameters in the battery data, wherein the target parameters are statistically determined based on battery abnormal state data, and the state of the vehicle battery includes a normal state and an abnormal state.

[0095] This application provides an electronic device, which includes a memory and a processor. The vehicle battery state detection method of this application can be implemented by the electronic device. Specifically, the memory stores a computer program, and the processor receives vehicle battery data; it determines the state of the vehicle battery based on target parameters in the battery data, wherein the target parameters are statistically determined based on abnormal battery state data, and the state of the vehicle battery includes normal and abnormal states.

[0096] Specifically, in the embodiments of this application, after collecting relevant data of the vehicle battery, i.e., battery data, the vehicle sends / uploads / reports the battery data to an electronic device; after receiving the battery data, the electronic device determines whether the vehicle battery is abnormal / faulty based on the target parameters in the battery data and the values ​​of the target parameters, i.e., determines whether the vehicle battery is in a normal or abnormal state.

[0097] It is understood that the battery data in the embodiments of this application can be understood as a collection of various data related to the battery. For example, in some embodiments, the battery data includes a combination of various parameters such as the remaining charge (SOC) of the vehicle battery, the highest single cell voltage (of the battery), the lowest single cell voltage (of the battery), the charging status indicator (used to indicate whether the vehicle battery is in a charging state), and other parameters.

[0098] Furthermore, the target parameters in the embodiments of this application can be understood as the types of parameters strongly correlated with "the vehicle battery being in an abnormal state," obtained by the electronic device after performing big data analysis processing on battery data (or abnormal battery data) collected / acquired in advance when the vehicle battery is in an abnormal state. Therefore, when the embodiments of this application perform vehicle battery state detection based on target data, the detection results have high reliability.

[0099] Furthermore, the embodiments of this application enable the electronic device to, after receiving various battery-related data sent by the vehicle, select one or more types of parameters that match the target parameters from the various battery-related data according to pre-stored (or pre-determined) target parameters, and determine whether the vehicle battery is in an abnormal state based on the specific numerical value of these one or more types of parameters.

[0100] For example, if the battery data received by the electronic device includes the remaining power, the highest single cell voltage, the lowest single cell voltage, and the charging status indicator, and the target parameters include the highest single cell voltage and the lowest single cell voltage, then the electronic device can determine whether the vehicle's battery is abnormal based on the values ​​of the highest single cell voltage and the lowest single cell voltage in the received battery data.

[0101] It is understandable that the specific process of determining the target parameter from the battery data is customizable based on actual conditions. For example, in some implementations, after receiving battery data from the vehicle, the electronic device selects the target parameter from the battery data based on pre-stored target parameter selection information. In other implementations, after receiving the battery data, the electronic device forwards the battery data to the corresponding processing device, which extracts the target parameter from the battery data and forwards it back to the electronic device.

[0102] It is also understood that the vehicle battery in the embodiments of this application can be understood as a combination of one or more batteries in the vehicle that are responsible for different functions, such as a power battery and / or a low-voltage storage battery. To more clearly illustrate the various embodiments provided in this application, the following description will take a low-voltage storage battery in the vehicle as an example, or in other words, unless otherwise specified, all vehicle batteries mentioned thereafter can be understood as low-voltage storage batteries.

[0103] In some implementations, the vehicle will collect battery data at preset time intervals and report the collected battery data to an electronic device. The electronic device will then determine whether the vehicle battery is faulty based on the battery data continuously sent by the vehicle. For example, if the electronic device determines that the vehicle battery is in a discharging state for 5 minutes based on the target parameters in the battery data received continuously within 5 minutes, but the remaining charge of the vehicle battery drops from 100% to 10% within 5 minutes, the electronic device will identify the vehicle battery as being in an abnormal state.

[0104] In some implementations, when the electronic device determines that the vehicle battery is in an abnormal state, it will send a prompt message to the user terminal to inform the user that the vehicle battery is abnormal and needs to be repaired, so as to avoid the user driving the vehicle with an abnormal battery state, thereby ensuring the safety of the vehicle and the user.

[0105] In summary, the embodiments of this application, based on target parameters, or in other words, based on the types or categories of parameters that can determine whether the vehicle battery status is abnormal, enable the electronic device to determine the vehicle battery status based on the target parameters in the battery data after the vehicle reports its own battery data, thereby effectively detecting whether the vehicle battery is abnormal and ensuring the safety of the vehicle and the users inside the vehicle.

[0106] Furthermore, it can be inferred that since the implementation method of this application is based on electronic devices to complete the state detection of the vehicle battery, the vehicle does not need to store battery data locally for a long time to complete the state detection itself, thereby effectively reducing the operating load of the vehicle. As a result, the on-board chip does not need to be responsible for the abnormal detection of the vehicle battery, thus also reducing the load of the on-board chip.

[0107] In addition, for example, indicators obtained in advance through big data analysis, namely the types of target parameters determined in advance based on the statistical data of abnormal battery status, can enable electronic devices to accurately determine the status of the vehicle battery based on the target parameters of that type in the battery data after the vehicle reports its own battery data. Therefore, it can effectively detect whether the vehicle battery is abnormal, and thus effectively protect the safety of the vehicle and the user.

[0108] Furthermore, it is understood that the specific configuration of the electronic device in the embodiments of this application can be configured according to actual circumstances. For example, in some embodiments, the electronic device includes a server (or cloud server). In other embodiments, the electronic device includes an edge gateway device, etc.

[0109] In some implementations, the state detection method further includes:

[0110] Step 03: If no battery data is received within the first preset time period, it is determined that the vehicle battery is in an abnormal state.

[0111] The processing unit in this application embodiment further includes a state determination module, which is used to determine that the vehicle battery is in an abnormal state if no battery data is received within a first preset time period.

[0112] The processor in this embodiment is also configured to determine that the vehicle battery is in an abnormal state if no battery data is received within a first preset time period.

[0113] That is, the electronic device in this application embodiment will also determine whether the vehicle battery is in an abnormal state based on the presence or absence of battery data.

[0114] Specifically, if the electronic device fails to receive battery data within a first preset time period, it will determine that the low-voltage battery in the vehicle is abnormal, and therefore the vehicle will be unable to collect battery data from the low-voltage battery. In some embodiments, if the electronic device fails to receive battery data reported by the vehicle within 10 minutes, it will determine that the low-voltage battery is in an abnormal state.

[0115] In some implementations, the vehicle sends a data packet carrying battery data to the electronic device at preset time intervals. After receiving the data packet, the electronic device parses the data packet to obtain the battery data. If the electronic device cannot parse the battery data from any data packet received within a first preset time period, the electronic device determines that the vehicle battery is in an abnormal state.

[0116] Thus, the implementation method of this application determines the state of the vehicle battery based on whether the vehicle reports battery data, thereby ensuring the efficiency of state detection.

[0117] In some implementations, the target parameters include the highest and lowest single-cell voltage of the vehicle battery;

[0118] Step 02 includes:

[0119] 020: When the vehicle is powered on, determine the state of the vehicle battery based on the highest and lowest single-cell voltages.

[0120] The processing unit in this application embodiment is also used to determine the state of the vehicle battery based on the highest single-cell voltage and the lowest single-cell voltage when the vehicle is powered on.

[0121] The processor in this embodiment is also used to determine the state of the vehicle battery based on the highest and lowest single-cell voltages when the vehicle is powered on.

[0122] In other words, the electronic device in this application, through statistical / analysis of battery abnormality data, determines that the highest and lowest single-cell voltages of the low-voltage battery in a powered-on vehicle are strongly correlated with the state of the low-voltage battery. In other words, if the highest and lowest single-cell voltages effectively characterize whether the low-voltage battery is in an abnormal state, the electronic device, based on this prior knowledge, will determine whether the low-voltage battery is faulty based on the highest and lowest single-cell voltages of the low-voltage battery in the battery data reported by the powered-on vehicle. Alternatively, it can extract the highest and lowest single-cell voltages of the low-voltage battery from the battery data reported by the powered-on vehicle and then determine whether the low-voltage battery is faulty based on these voltages.

[0123] It is understood that the low-voltage battery in the embodiments of this application is a battery pack composed of multiple individual cells, and the voltage of each individual cell is different. Therefore, the vehicle can determine the maximum and minimum values ​​of the individual cell voltages of all individual cells, i.e., the highest and lowest individual cell voltages, by detecting the voltage of each individual cell.

[0124] It is also understandable that the specific method by which the electronic device determines the state of the low-voltage battery based on the highest and lowest single-cell voltages can be set according to the actual situation. For example, in some implementations, when the electronic device determines, based on battery data sent by a vehicle that is powered on, that the low-voltage battery is continuously in a discharging state for 30 minutes, but the highest single-cell voltage during these 30 minutes is always 0V and the lowest single-cell voltage is also always 0V, the electronic device considers the low-voltage battery to be in an abnormal state.

[0125] It is also understandable that, in the embodiments of this application, when the vehicle is powered on, most of the components inside the vehicle (such as the motor and battery) are in an operational state. In contrast, when the vehicle is powered off, only some of the components inside the vehicle are in an operational state. For example, in some embodiments, when the vehicle is powered off, only the low-voltage battery is in an operational state to supply power to various low-voltage components (such as the starter motor).

[0126] Thus, the embodiments of this application, based on the highest and lowest single-cell voltages, enable the effective determination of the state of the vehicle battery.

[0127] In some implementations, the battery data includes multiple sets, and step 020 includes:

[0128] 0200: If, when the vehicle is powered on, the highest and lowest single-cell voltages of each group are both preset single-cell voltage values ​​within a second preset time period, then the vehicle battery is determined to be in an abnormal state.

[0129] The processing unit in this application embodiment is further configured to determine that the vehicle battery is in an abnormal state if, when the vehicle is powered on, the highest single-cell voltage and the lowest single-cell voltage in each group of battery data are equal within a second preset time period, and / or the highest single-cell voltage and the lowest single-cell voltage are both preset single-cell voltage values.

[0130] The processor in this embodiment is further configured to determine that the vehicle battery is in an abnormal state if, when the vehicle is powered on, the highest single-cell voltage and the lowest single-cell voltage in each group of battery data are equal within a second preset time period, and / or the highest single-cell voltage and the lowest single-cell voltage are both preset single-cell voltage values.

[0131] In other words, in the embodiment of this application, the vehicle in the powered-on state can send one set of battery data to the electronic device at preset time intervals. After receiving multiple sets of battery data, the electronic device determines the duration for which both the highest and lowest single-cell voltages of the low-voltage battery are abnormal values, and thus determines the state of the low-voltage battery.

[0132] Furthermore, if the electronic device determines, based on the received multiple sets of battery data, that the highest and lowest single-cell voltages of the low-voltage battery remain at the preset single-cell voltage values ​​throughout the second preset time period, or in other words, that the highest and lowest single-cell voltages at each moment within the second preset time period are the preset single-cell voltage values, then the electronic device will determine that the low-voltage battery is in an abnormal state.

[0133] It is understood that the second preset time in the embodiments of this application is a content that can be set according to the actual situation. For example, in some embodiments, the second preset time is 5 minutes; in other embodiments, the value range of the second preset time is [3min, 7min], where min represents minutes.

[0134] It is also understood that the preset single-cell voltage value in the embodiments of this application can also be set according to the actual situation. For example, in some embodiments, the preset single-cell voltage value is 0V; in other embodiments, the preset single-cell voltage value ranges from [0V, 0.5V].

[0135] Thus, the embodiments of this application accurately determine the state of the vehicle battery based on the duration during which both the highest and lowest single-cell voltage values ​​are abnormal.

[0136] Furthermore, it is understood that the vehicle in this application embodiment can also send the current time (or timestamp) to the electronic device while sending battery data. Then, the electronic device can determine whether the duration for which the highest single cell voltage is a preset single cell voltage value and the lowest single cell voltage is a preset single cell voltage value meets a second preset duration based on the timestamp of each battery data, thereby determining the state of the low-voltage battery.

[0137] In some implementations, step 020 includes:

[0138] 0201: When the vehicle is powered on, the state of the vehicle battery is determined based on the voltage difference between the highest and lowest single-cell voltage.

[0139] The processing unit in this embodiment is also used to determine the state of the vehicle battery based on the voltage difference between the highest and lowest single-cell voltages when the vehicle is powered on.

[0140] The processor in this embodiment is also used to determine the state of the vehicle battery based on the voltage difference between the highest and lowest single-cell voltages when the vehicle is powered on.

[0141] In other words, the electronic device in this application, based on pre-performed abnormal state data analysis / statistics, determines that the voltage difference between the high single-cell voltage and the lowest single-cell voltage can accurately characterize the state of the vehicle battery. After obtaining the high single-cell voltage and the lowest single-cell voltage, the electronic device calculates the difference between the two to obtain the voltage difference value, and judges the state of the low-voltage battery based on the voltage reading.

[0142] It is understandable that the specific method for determining the state of a low-voltage battery based on the voltage difference between the highest and lowest single-cell voltages is something that can be set according to actual conditions. For example, in some implementations, when the electronic device determines, based on the received battery data, that the voltage difference of the low-voltage battery has not changed within 30 minutes, it will consider the low-voltage battery to be faulty.

[0143] Thus, the embodiments of this application, based on the voltage difference between the high and low single-cell voltages, enable the accurate determination of the vehicle battery's state.

[0144] In some implementations, the battery data includes multiple sets, and step 0201 includes:

[0145] 02010: When the vehicle is powered on, if the voltage difference between the highest and lowest single cell voltages in each group is greater than the preset voltage difference within the third preset time period, the vehicle battery is determined to be in an abnormal state.

[0146] The processing unit in this embodiment is further configured to determine that the vehicle battery is in an abnormal state if, within a third preset time period, the voltage difference between the highest and lowest single-cell voltages of each group is greater than a preset voltage difference when the vehicle is powered on.

[0147] The processor in this embodiment is further configured to determine that the vehicle battery is in an abnormal state if, when the vehicle is powered on, the voltage difference between the highest and lowest single-cell voltages in each group is greater than a preset voltage difference within a third preset time period.

[0148] That is, the electronic device in this application embodiment will determine whether the voltage difference of the low-voltage battery has been maintained at an abnormal value for a long time based on the battery data continuously sent by the vehicle. If so, the low-voltage battery is considered to be in an abnormal state.

[0149] As an example, in some implementations, when the electronic device determines, based on multiple sets of battery data continuously transmitted by the vehicle in a powered-on state over 10 minutes, that the voltage difference between the highest and lowest single-cell voltages in each set of battery data exceeds 0.1V, the electronic device considers the vehicle's low-voltage battery to be in an abnormal state.

[0150] It is understandable that the 10 minutes in the above example is only one of the possible values ​​for the third preset duration. In other implementations, the value range of the third preset duration is [5 min, 15 min].

[0151] It is also understood that the 0.1V in the above example is only one of the possible values ​​of the preset voltage difference. In other implementations, the preset voltage difference range is (0V, 0.3V).

[0152] Thus, the embodiments of this application enable the accurate determination of the vehicle battery state based on the duration of abnormal voltage difference values.

[0153] In some implementations, please refer to Figure 3 , Figure 3A flowchart illustrating a vehicle battery state detection method in certain embodiments of this application is shown. Specifically, the electronic device in this application can determine the state of the vehicle battery based on the three methods described above: first, by the presence or absence of battery data; that is, if no battery data is received within a first preset time period, the vehicle battery is considered abnormal, corresponding to step 03 above; second, by the abnormality of single-cell voltages (i.e., high single-cell voltage and lowest single-cell voltage); that is, if both the high and lowest single-cell voltages are preset single-cell voltages within a second preset time period, the vehicle battery is considered abnormal, corresponding to step 0200 above; and third, by the abnormality of voltage difference; that is, if the voltage difference between the high and lowest single-cell voltages is greater than a preset voltage value within a third preset time period, the vehicle battery is considered abnormal, corresponding to step 02010 above. Based on this, the embodiments of this application enable the determination of the vehicle battery state based on data features from different dimensions, thereby effectively detecting whether the vehicle battery is abnormal.

[0154] In some implementations, please refer to Figure 4 ,02 includes:

[0155] 021: Determine the monitoring start time based on the power converter parameters in the target parameters;

[0156] 022: Determine the status of the vehicle battery based on the target parameters after the start of monitoring.

[0157] The processing unit in this application embodiment is further configured to determine the monitoring start time based on the power converter parameters in the target parameters; and to determine the state of the vehicle battery based on the target parameters after the monitoring start time.

[0158] The processor in this embodiment is further configured to determine the monitoring start time based on the power converter parameters in the target parameters; and to determine the state of the vehicle battery based on the target parameters after the monitoring start time.

[0159] In other words, the electronic device in this application determines, based on pre-performed big data analysis (i.e., statistical analysis processing based on abnormal battery data), that different operating parameters of the low-voltage battery before and after a certain time can jointly reflect the state of the low-voltage battery. For example, if the value of a certain operating parameter is a first value before a certain time, and the value of another operating parameter is a second value after a certain time, then the electronic device determines that the low-voltage battery is abnormal.

[0160] Therefore, the electronic device in this application determines that the low-voltage battery may be in an abnormal state based on the power converter parameters, or in other words, at a specific time (corresponding to the monitoring start time), the power converter parameters of the low-voltage battery meet the preset conditions, and then determines that the low-voltage battery may be in an abnormal state. Furthermore, the electronic device verifies whether the low-voltage battery is in an abnormal state based on the target parameters after the specific time, that is, the target parameters after the monitoring start time.

[0161] It is understood that the power converter parameters in the embodiments of this application can be understood as parameters related to a direct current converter. A direct current converter can be understood as a device used to convert high-voltage DC power input from a power battery into low-voltage DC power, and then output the low-voltage DC power to a low-voltage battery to charge the low-voltage battery.

[0162] Furthermore, the specific types of power converter parameters in the embodiments of this application can be set according to actual conditions. For example, in some embodiments, the power converter parameters are a combination of one or more of the following: input voltage, output voltage, operating frequency, and other parameters.

[0163] It is also understandable that the specific method for determining the monitoring start time can be set according to the actual situation. For example, in some implementations where the power converter parameters include the output side voltage, if the power converter is always in working condition from 8:00 to 8:10, but the output side voltage is always 0, then 8:10 will be used as the monitoring start time. Then, the electronic device will determine whether the low-voltage battery is abnormal based on the battery data reported by the vehicle after 8:10.

[0164] Thus, the implementation method of this application, based on the setting of the monitoring start time, ensures that the target parameters before and after the monitoring start time are used to determine the state of the vehicle battery, thereby effectively determining the state of the vehicle battery.

[0165] In some implementations, when the vehicle changes from a powered-on state to a powered-off state and the first duration is not less than the fourth preset duration, the monitoring start time is determined based on the moment when the vehicle changes to a powered-off state, and the first duration is determined based on the duration during which the power converter parameters meet the first preset condition when the vehicle is in a powered-on state.

[0166] In other words, if the power converter parameters remain at abnormal values ​​for a period of time during vehicle power-on, i.e., the first duration for which the power converter parameters meet the first preset condition is higher than the fourth preset duration, the electronic device can determine whether the low-voltage battery is faulty based on the target data reported after the vehicle is powered off, i.e., the battery data obtained after the monitoring start time.

[0167] Therefore, in some implementations, please refer to Figure 5 Step 021 of the state detection method in this application embodiment may include:

[0168] 0210: When the vehicle is powered on, determine the first duration for which the power converter parameters meet the first preset condition;

[0169] 0211: When a vehicle changes from a powered-on state to a powered-off state, if the first duration is not less than the fourth preset duration, the moment when the vehicle changes to a powered-off state is determined as the monitoring start time.

[0170] Corresponding to the state detection method of the present application, the processing unit of the present application may also be used to determine the first duration for which the power converter parameters meet the first preset condition when the vehicle is in a powered-on state; and to determine the moment when the vehicle changes from a powered-on state to a powered-off state as the monitoring start time if the first duration is not less than the fourth preset duration.

[0171] Corresponding to the state detection method of the present application, the processor of the present application may also be used to determine the first duration for which the power converter parameters meet the first preset condition when the vehicle is in a powered-on state; and if the first duration is not less than the fourth preset duration when the vehicle changes from a powered-on state to a powered-off state, the moment when the vehicle changes to a powered-off state is determined as the monitoring start time.

[0172] Understandably, during vehicle power-on (i.e., when the vehicle is powered on), many components inside the vehicle will be operational, such as the vehicle's main battery and storage battery supplying power to other electronic loads. Conversely, during vehicle power-off (i.e., when the vehicle is powered off), only some components are operational, such as the low-voltage battery supplying power to some of the vehicle's electronic loads.

[0173] It should be noted that the vehicle in this embodiment can send battery data to the electronic device whether it is powered on or powered off. In some embodiments, when the vehicle is powered on, the power battery and the low-voltage battery will supply power to the motor so that the motor can report the acquired battery data to the electronic device; while when the vehicle is powered off, the low-voltage battery will supply power to the motor to ensure that the motor can still report battery data to the electronic device.

[0174] It is also understood that the first preset condition and the fourth preset duration in the embodiments of this application are both set according to the actual situation. For example, in some embodiments where the power converter parameters include the input side voltage, if the input side voltage is always greater than 20V within 20 minutes when the vehicle is in the power-on state, it means that the first duration of the power converter parameters (corresponding to the input side voltage) meeting the first preset condition (corresponding to greater than 20V) is not less than the fourth preset duration (corresponding to 20 minutes). Then, after the electronic device determines that the vehicle has changed from the power-on state to the power-off state, it determines or detects the low-voltage battery status based on the battery data reported by the vehicle in the power-off state.

[0175] It is understood that the battery data and target parameters in the embodiments of this application may both include state parameters used to characterize the vehicle's power-on and power-off states. In some embodiments, a state parameter value of 1 indicates that the vehicle is in a power-on state; a state parameter value of 0 indicates that the vehicle is in a power-off state.

[0176] In some implementations, when the vehicle's power switch is "ON", the vehicle is in a powered-on state; when the vehicle's power switch is "OFF", the vehicle is in a powered-off state.

[0177] It is also understood that when the electronic device in this embodiment receives battery data reported by the vehicle, it can record the reception time of each part of the battery data. For example, when the battery data includes multiple sets, and each set includes power converter parameters, the electronic device will record the reception time of each set of power converter parameters when it receives each set of power converter parameters. Alternatively, the battery data reported by the vehicle may also include the acquisition time of each set of power converter parameters. Thus, the electronic device can determine the first duration for which the power converter parameters meet the first preset condition based on the reception time or acquisition time of the power converter parameters.

[0178] Furthermore, it should be noted that the specific value of the fourth preset duration in the embodiments of this application can be set according to the actual situation. For example, in some embodiments, the fourth preset duration is 1 hour; while in other embodiments, the fourth preset duration is [1h, 1.5h], where h represents hours.

[0179] Thus, the implementation method of this application enables the electronic device to determine whether the vehicle battery is in an abnormal state based on the duration of the abnormal state maintained by the power converter parameters, thereby ensuring the effectiveness of the monitoring start time.

[0180] In some implementations, the first preset duration is determined based on the duration during which the power converter is in a step-down state and the DC low-voltage side voltage is not less than a preset voltage value when the vehicle is powered on.

[0181] That is, the power converter parameters in this application embodiment include the DC low-voltage side voltage and mode parameters "for characterizing the operating mode of the power converter". Furthermore, when the mode parameters characterize that the power converter is in a buck state and the DC low-voltage side voltage is not less than a preset voltage value, the first preset condition of this application embodiment is satisfied. Therefore, the electronic device in this application embodiment can determine, based on battery data, the duration for which the power converter is in a buck state and the DC low-voltage side voltage is not less than the preset voltage value, thereby obtaining the aforementioned first duration.

[0182] Therefore, in some embodiments, step 0210 of the state detection method of this application may include:

[0183] 02100: When the vehicle is powered on, the first duration for which the power converter parameters meet the first preset condition is determined based on the duration for which the power converter is in a step-down state and the DC low-voltage side voltage is not less than a preset voltage value.

[0184] Corresponding to the state detection method of the present application, the processing unit of the present application may also be used to determine the first duration of the power converter parameters satisfying the first preset condition when the vehicle is in a powered-on state, based on the duration of the power converter being in a step-down state and the DC low-voltage side voltage not being less than a preset voltage value.

[0185] Corresponding to the state detection method of the present application, the processor of the present application may also be used to determine the first duration for which the power converter parameters meet the first preset condition when the vehicle is powered on, based on the duration for which the power converter is in a step-down state and the DC low-voltage side voltage is not less than a preset voltage value.

[0186] It is understood that the specific value of the preset voltage in the embodiments of this application can be set according to the actual situation. For example, in some embodiments, the preset voltage value is 13.6V; while in other embodiments, the preset voltage value ranges from [12V to 14V].

[0187] In some implementations, when the first cumulative duration is not less than the sixth preset duration, the monitoring start time is determined based on the moment when the vehicle changes to a power-off state, and the first cumulative duration is determined based on the cumulative duration during which the power converter parameters within the fifth preset duration before the vehicle changes from a power-on state to a power-off state satisfy the second preset condition.

[0188] Specifically, the electronic device in this application embodiment can determine the duration during which the power converter parameters cumulatively meet the second preset condition, i.e., the first cumulative duration, based on the battery data reported by the vehicle during the period from power-on to power-off. Based on the relationship between the first cumulative duration and the sixth preset duration, it can determine whether the low-voltage battery is in an abnormal state.

[0189] Therefore, in some embodiments of this application, please refer to Figure 6 Step 021 in the state detection method of this application embodiment may include:

[0190] 0212: Determine the first cumulative duration that satisfies the second preset condition based on the power converter parameters within the fifth preset time period before the vehicle changes from the power-on state to the power-off state;

[0191] 0213: If the first cumulative duration is not less than the sixth preset duration, the moment when the vehicle changes to a power-off state will be determined as the monitoring start time.

[0192] Corresponding to the state detection method of the present application, the processing unit of the present application may also be used to determine the first cumulative duration that satisfies the second preset condition based on the power converter parameters within the fifth preset duration before the vehicle changes from the power-on state to the power-off state; if the first cumulative duration is not less than the sixth preset duration, the moment when the vehicle changes to the power-off state is determined as the monitoring start time.

[0193] Corresponding to the state detection method of the present application, the processor of the present application embodiment may also be used to determine the first cumulative duration that satisfies the second preset condition based on the power converter parameters within the fifth preset duration before the vehicle changes from the power-on state to the power-off state; if the first cumulative duration is not less than the sixth preset duration, the moment when the vehicle changes to the power-off state is determined as the monitoring start time.

[0194] It is understood that the specific setting of the second preset condition in the embodiments of this application can be set according to the actual situation. For example, in some embodiments, the second preset condition is consistent with the first preset condition mentioned above, which is that the power converter is in a step-down state and the DC low-voltage side voltage of the power converter is not less than a preset voltage value. In other embodiments, the second preset condition refers to the power converter being in a step-down state.

[0195] It is also understood that the specific setting of the fifth preset duration in the embodiments of this application can be set according to the actual situation. For example, in some embodiments, the fifth preset duration is the last two hours when the vehicle is in the power-on state. For example, if the vehicle is in the power-on state at 8 o'clock and turns into the power-off state at 14 o'clock, then the fifth preset duration is from 12 o'clock to 14 o'clock.

[0196] In other implementations, the fifth preset duration is the latter half of the entire period during which the vehicle transitions from a powered-on state to a powered-off state. For example, if the vehicle is powered on at 10:00 and transitions to a powered-off state at 12:00, then the fifth preset duration is from 11:00 to 12:00.

[0197] Furthermore, it is also understood that the sixth preset duration in the embodiments of this application is also a content that can be set according to the actual situation. For example, in some embodiments, the sixth preset duration is 1.5 hours; while in other embodiments, the value range of the sixth preset duration is [1h, 2h], where h represents hours.

[0198] Thus, the embodiments of this application, based on the duration of abnormal values ​​of power converter parameters within a specific time period, enable electronic devices to accurately determine whether the vehicle battery may be in an abnormal state.

[0199] In some implementations, when the second duration satisfies the fourth preset condition and the third duration satisfies the fifth preset condition, the monitoring start time is determined based on the moment when the third duration satisfies the fifth preset condition, the second duration is determined based on the duration when the power converter parameters satisfy the third preset condition, and the third duration is determined based on the duration when the power converter parameters do not satisfy the third preset condition.

[0200] In other words, the embodiments of this application will determine whether the vehicle battery is in an abnormal state based on the power converter parameters during the vehicle's power-off period.

[0201] Specifically, the electronic device can determine the second duration when the third preset condition is met and the third duration when the third preset condition is not met based on the power converter parameters in the battery data reported by the vehicle when it is powered off. Then, it can determine whether the second duration and the third duration both meet the corresponding preset conditions, thereby determining whether the low-voltage battery may be in an abnormal state.

[0202] Furthermore, when both the second and third durations meet their respective preset conditions, the electronic device will use the moment when the third duration meets its corresponding preset condition as the monitoring start time. For example, if the second duration meets the fourth preset condition at 8 o'clock and the third duration meets the fourth preset condition at 10 o'clock, then 10 o'clock will be determined as the monitoring start time.

[0203] Therefore, in some embodiments of this application, please refer to Figure 7 Step 021 in the state detection method of this application embodiment may include:

[0204] 0214: When the vehicle is powered off, determine the second duration for which the power converter parameters meet the third preset condition, and the third duration for which they do not meet the third preset condition;

[0205] 0215: If the second duration meets the fourth preset condition and the third duration meets the fifth preset condition, the moment when the third duration meets the fifth preset condition shall be determined as the monitoring start time.

[0206] Corresponding to the state detection method of the present application, the processing unit of the present application may also be used to determine, when the vehicle is in a power-off state, a second duration when the power converter parameters meet a third preset condition, and a third duration when the third preset condition is not met; and when the second duration meets a fourth preset condition and the third duration meets a fifth preset condition, determine the moment when the third duration meets the fifth preset condition as the monitoring start time.

[0207] Corresponding to the state detection method of the present application, the processor of the present application may also be used to determine, when the vehicle is in a power-off state, a second duration when the power converter parameters meet a third preset condition, and a third duration when the third preset condition is not met; and when the second duration meets a fourth preset condition and the third duration meets a fifth preset condition, determine the moment when the third duration meets the fifth preset condition as the monitoring start time.

[0208] It is understood that the third preset condition in the embodiments of this application is a condition that can be set according to actual conditions. For example, in some embodiments, the third preset condition is consistent with the second preset condition mentioned above, which is that the power converter is in a step-down state and the DC low-voltage side voltage of the power converter is not less than a preset voltage value. In other embodiments, the third preset condition refers to the power converter being in a step-down state.

[0209] It is also understood that the fourth and fifth preset conditions in the embodiments of this application are all contents that can be set according to the actual situation. For example, in some embodiments, the fourth preset condition is "the second duration is greater than 2 hours", "the third duration is", and the fifth preset condition is "the third duration is greater than 3 hours".

[0210] Thus, based on the duration for which the power converter parameters meet the third preset condition and the duration for which the third preset condition is not met, the electronic device can accurately determine whether the vehicle battery is in an abnormal state.

[0211] In some implementations, the target parameters also include the vehicle's power type; when the vehicle is a first power type vehicle, the second duration is not less than the seventh preset duration, and the third duration is not less than the eighth preset duration, the monitoring start time is determined based on the time when the third duration is not less than the eighth preset duration.

[0212] In other words, the embodiments of this application will also consider the impact of the vehicle's power type on the state detection of the vehicle battery. Specifically, when the vehicle is a first power type vehicle, the fourth preset condition is "the second duration is not less than the seventh preset duration", and the fifth preset condition is "the third duration is not less than the eighth preset duration". Furthermore, the moment when the third duration is not less than the eighth preset duration will be determined as the monitoring start time.

[0213] Therefore, in some embodiments, step 0215 of the state detection method of this application may include:

[0214] 02150: If the vehicle is a vehicle of the first power type and the second duration is not less than the seventh preset duration, and the third duration is not less than the eighth preset duration, then the moment when the third duration meets the fifth preset condition shall be determined as the monitoring start time.

[0215] Corresponding to the state detection method of the present application, the processing unit of the present application may also be used to determine the moment when the third duration meets the fifth preset condition as the monitoring start time if the third duration is not less than the eighth preset time when the vehicle is a first power type vehicle and the second duration is not less than the seventh preset time.

[0216] Corresponding to the state detection method of the present application, the processor of the present application may also be used to determine the moment when the third duration meets the fifth preset condition as the monitoring start time if the third duration is not less than the eighth preset time when the vehicle is a first power type vehicle and the second duration is not less than the seventh preset time.

[0217] In some implementations, the first power type vehicle refers to a vehicle driven entirely by electric power.

[0218] In some implementations, the seventh preset duration is 40 minutes; in other implementations, the value range of the seventh preset duration is [30 min, 50 min].

[0219] In some implementations, the eighth preset duration is 2 minutes; in other implementations, the value range of the eighth preset duration is [1 min, 3 min].

[0220] Additionally, it is understandable that the target parameters also include type parameters “used to characterize the type of power.”

[0221] It is also understood that, in the case of a vehicle of the first power type, the electronic device in the present application embodiment will determine the third duration and whether the third duration is not less than the eighth preset duration after the condition that the second duration is not less than the seventh preset duration is met. In other words, the electronic device will first count the second duration, and after the second duration is not less than the seventh preset duration, it will count the third duration and determine whether the third duration is not less than the eighth preset duration.

[0222] As an example, in the case of a vehicle of the first power type, if the electronic device determines, based on battery data from 8:00 to 12:00, that the power converter parameters meet the fifth preset condition from 8:00 to 9:00, the fourth preset condition from 9:00 to 10:00, and the third preset condition from 10:00 to 12:00, with the seventh preset duration being 40 minutes and the eighth preset being 2 minutes, then:

[0223] Although the fifth preset condition is met between 8:00 and 9:00, the second duration before 9:00 does not exceed 40 minutes, so the period between 8:00 and 9:00 is not considered. Meanwhile, since the second duration exceeds 40 minutes after 9:40, the electronic device will consider whether the third duration after 9:40 is not less than 2 minutes. It is conceivable that since the third duration equals 2 minutes at 10:02 (i.e., satisfying the condition of "the third duration not less than 2 minutes"), the electronic device will determine 10:02 as the monitoring start time.

[0224] Thus, the embodiments of this application enable the electronic device to determine whether the vehicle is in an abnormal state based on the vehicle's power type, thereby further improving the detection accuracy.

[0225] In some implementations, the target parameters also include the vehicle's power type; when the vehicle is a second power type vehicle, the second duration is not less than the ninth preset duration, and the third duration is not less than the tenth preset duration, the monitoring start time is determined based on the time when the third duration is not less than the tenth preset duration.

[0226] That is, similar to step 02150 above, the electronic device in this embodiment determines whether the vehicle battery is in an abnormal state based on corresponding conditions / logic when the vehicle is a second power type vehicle. Therefore, when the vehicle is a second power type vehicle, the fourth preset condition is "the second duration is not less than the ninth preset duration," and the fifth preset condition is "the third duration is not less than the tenth preset duration."

[0227] Optionally, in some embodiments of this application, step 0215 of the state detection method further includes:

[0228] 02151: If the vehicle is a second power type vehicle and the second duration is not less than the ninth preset duration, and the third duration is not less than the tenth preset duration, then the moment when the third duration meets the fifth preset condition shall be determined as the monitoring start time.

[0229] Corresponding to the state detection method of the present application, the processing unit of the present application may also be used to determine the moment when the third duration meets the fifth preset condition as the monitoring start time if the third duration is not less than the tenth preset duration when the vehicle is a second power type vehicle and the second duration is not less than the ninth preset duration.

[0230] Corresponding to the state detection method of the present application, the processor of the present application may also be used to determine the moment when the third duration meets the fifth preset condition as the monitoring start time if the third duration is not less than the tenth preset duration when the vehicle is a second power type vehicle and the second duration is not less than the ninth preset duration.

[0231] In some implementations, the ninth preset duration is 25 minutes. In other implementations, the value range of the ninth preset duration is [15 min, 35 min].

[0232] In some implementations, the tenth preset duration is 2 minutes. In other implementations, the tenth preset duration is in the range of [1 min, 3 min].

[0233] It is also understandable that, similar to the example above where "the electronic device determines the eighth preset duration of 2 minutes from 8:00 to 12:00...", in some embodiments, when the vehicle is a second power type vehicle, the electronic device of this application will determine the third duration and whether the third duration is not less than the tenth preset duration only after the condition that the second duration is not less than the ninth preset duration is met. In other words, the electronic device will first calculate the second duration, and after the second duration is not less than the ninth preset duration, it will calculate the third duration and determine whether the third duration is not less than the tenth preset duration. For a detailed explanation, please refer to the example above where "the electronic device determines the eighth preset duration of 2 minutes from 8:00 to 12:00...".

[0234] In some implementations, when the vehicle is a first power type vehicle, the second duration is not less than the seventh preset duration, and the fourth duration is not less than the eleventh preset duration; or when the vehicle is a second power type vehicle, the second duration is not less than the tenth preset duration, and the fourth duration is not less than the eleventh preset duration, the monitoring start time is determined based on the time when the fourth duration is not less than the eleventh preset duration. The fourth duration is determined based on the duration during which the vehicle is in the power-on state when the vehicle changes from a power-off state to a power-on state.

[0235] That is, the electronic device in the embodiments of this application can also determine whether the vehicle is in a powered state for a certain period of time when the fourth preset condition is met (i.e., the vehicle is a first power type vehicle and the second duration is not less than the seventh preset duration, or the vehicle is a second power type vehicle and the second duration is not less than the tenth preset duration), thereby determining whether the vehicle's low-voltage battery is in an abnormal state.

[0236] Therefore, in some embodiments of this application, step 021 of the state detection method may further include:

[0237] 0216: If the vehicle is a first power type vehicle and the second duration is not less than the seventh preset duration, or if the vehicle is a second power type vehicle and the second duration is not less than the tenth preset duration, and if the vehicle changes from a power-off state to a power-on state and the fourth duration of the power-on state is not less than the eleventh preset duration, then the moment when the fourth duration is not less than the eleventh preset duration is determined as the monitoring start time.

[0238] Corresponding to the state detection method of the present application, the processing unit of the present application may also be used to determine the moment when the fourth duration is not less than the eleventh preset duration as the monitoring start time when the vehicle is a first power type vehicle and the second duration is not less than the seventh preset duration, or when the vehicle is a second power type vehicle and the second duration is not less than the tenth preset duration, if the vehicle changes from a power-off state to a power-on state and the fourth duration of the power-on state is not less than the eleventh preset duration.

[0239] Corresponding to the state detection method of the present application, the processor of the present application may also be used to determine the moment when the fourth duration is not less than the eleventh preset duration as the monitoring start time when the vehicle is a first power type vehicle and the second duration is not less than the seventh preset duration, or when the vehicle is a second power type vehicle and the second duration is not less than the tenth preset duration, if the vehicle changes from a power-off state to a power-on state and the fourth duration of the power-on state is not less than the eleventh preset duration.

[0240] As an example, if the fourth preset condition is met at 8 o'clock, and the vehicle switches from being powered off to being powered on at 9 o'clock, and if the vehicle remains powered on for exactly eleven preset times (i.e., 20 minutes) at 9:20, the electronic device will determine that the vehicle battery may be in an abnormal state, and therefore 9:20 will be used as the monitoring start time.

[0241] It is understandable that the 20 minutes in the above example is only one possible way to preset the duration of the eleventh day of the month. In other implementations, the preset duration of the eleventh day of the month is 15 minutes.

[0242] In some implementations, please refer to Figure 8 , Figure 8 This is a flowchart illustrating the vehicle battery state detection method in certain embodiments of this application. Specifically, the electronic device in this application simultaneously employs the aforementioned five methods to determine whether the vehicle battery may be in an abnormal state. Firstly, when the vehicle is powered on, it determines whether the vehicle battery may be in an abnormal state based on whether the first duration is not less than a first duration; if so, a monitoring start time is set. Secondly, when the vehicle is powered on, it determines whether the vehicle battery may be in an abnormal state based on whether the first cumulative duration is not less than a fourth duration.

[0243] The third and fourth are, respectively, whether the aforementioned third duration and the aforementioned fourth duration meet the corresponding first vehicle type condition (if the vehicle is a first power type vehicle and the second duration is not less than the seventh preset duration, the third duration is not less than the eighth preset duration) and second vehicle type condition (if the vehicle is a second power type vehicle and the second duration is not less than the ninth preset duration, the third duration is not less than the tenth preset duration).

[0244] Fifth, when the vehicle is in a power-off state, the aforementioned second duration and power-on conditions both meet the corresponding conditions. That is, when the vehicle is a first power type vehicle and the second duration is not less than the seventh preset duration, or when the vehicle is a second power type vehicle and the second duration is not less than the tenth preset duration, if the vehicle changes from a power-off state to a power-on state and the fourth duration of the power-on state is not less than the eleventh preset duration.

[0245] In some implementations, step 022 includes:

[0246] 0220: Determine the state of the vehicle battery based on the target parameters within the first preset time period after the start of monitoring, wherein the first preset time period includes the duration during which the vehicle battery changes from an uncharged state to a charged state.

[0247] The processing unit in this application embodiment is further configured to determine the state of the vehicle battery based on the target parameters within a first preset time period after the monitoring start time, wherein the first preset time period includes the duration during which the vehicle battery changes from an uncharged state to a charged state.

[0248] The processor in this application embodiment is further configured to determine the state of the vehicle battery based on target parameters within a first preset time period after the monitoring start time, wherein the first preset time period includes the duration during which the vehicle battery changes from an uncharged state to a charged state.

[0249] That is, the electronic device in the present application determines whether the low-voltage battery is in an abnormal state based on the target parameters during the time period from the start of monitoring to another time.

[0250] Specifically, the electronic device in this application will monitor the target parameters from the time after the current time until the time before the change in the charging state to determine whether the low-voltage battery is in an abnormal state.

[0251] As an example, if the monitoring starts at 8 o'clock and the low-voltage battery starts charging at 9 o'clock, the electronic device will determine whether the low-voltage battery is in an abnormal state based on the target parameters from 8 o'clock to 9 o'clock.

[0252] Understandably, in some implementations, the monitoring start time is the moment when the vehicle changes from a powered-on state to a powered-off state. Therefore, if the target parameters of the low-voltage battery have abnormal values ​​during the period when the vehicle is powered off but not being charged, it indicates that the low-voltage battery is in an abnormal state.

[0253] It is also understandable that the target parameters may include charging parameters that characterize whether the low-voltage battery is in a charging state.

[0254] In some implementations, the power battery sends high-voltage direct current to a power converter, which converts the high-voltage direct current into low-voltage direct current and inputs the low-voltage direct current to a low-voltage battery to charge the low-voltage battery.

[0255] Thus, the electronic device of this application can effectively determine whether the vehicle battery is in an abnormal state based on the target parameters before the change in the charging state of the vehicle battery after the monitoring start time.

[0256] In some implementations, please refer to Figure 9 Step 0220 includes:

[0257] 02200: Determine the second cumulative duration during which the power battery current in the target parameter is lower than the preset current value within the first preset time period;

[0258] 02201: If the ratio of the second cumulative duration to the duration of the first preset time period is less than the preset ratio, the duration of the first preset time period is less than the twelfth preset duration, and the vehicle is in a predetermined working state within the first preset time period, then it is determined that the vehicle battery is in an abnormal state.

[0259] The processing unit in this application embodiment is further configured to determine the second cumulative duration during which the power battery current in the target parameter is lower than the preset current value within the first preset time period; if the ratio of the second cumulative duration to the duration of the first preset time period is less than the preset ratio, the duration of the first preset time period is less than the twelfth preset duration, and the vehicle is in a predetermined working state within the first preset time period, then it is determined that the vehicle battery is in an abnormal state.

[0260] The processor in this embodiment is further configured to determine a second cumulative duration during which the power battery current in the target parameters is lower than a preset current value within a first preset time period; if the ratio of the second cumulative duration to the duration of the first preset time period is less than a preset ratio, the duration of the first preset time period is less than a twelfth preset duration, and the vehicle is in a predetermined working state during the first preset time period, then it is determined that the vehicle battery is in an abnormal state.

[0261] In other words, the implementation method of this application will determine whether the low-voltage battery is in an abnormal state based on the magnitude of the current of the power battery in the vehicle.

[0262] Specifically, the electronic device in this application embodiment will determine whether the ratio of the second cumulative time to the duration of the first preset time period is less than a preset ratio after the power battery current is lower than the preset current value, i.e., the second cumulative time period, and determine whether the duration of the first preset time period is less than the twelfth preset time period, and determine that the vehicle is in a predetermined working state during the first preset time period. If all three conditions are met, the low-voltage battery is identified as being in an abnormal state.

[0263] In some implementations, the formula for calculating the ratio P of the second cumulative duration to the duration of the first preset time period is as follows:

[0264] P = t1 / t2

[0265] In the formula, t1 represents the second cumulative duration, and t2 represents the first preset time period.

[0266] In some implementations, the preset ratio is 90%. In other implementations, the preset ratio is in the range of [85%, 95%].

[0267] In some implementations, the twelfth preset duration is 1.5 hours. In other implementations, the value range of the twelfth preset duration is [0.5h, 2.5h].

[0268] In some implementations, the predetermined operating state refers to a dormant state, that is, most devices in the vehicle are not in operation, or most devices are connected to low voltage current.

[0269] In some implementations, the vehicle receives power battery current through the power battery's battery manager.

[0270] In some implementations, please refer to Figure 10 Step 0220 includes:

[0271] 02202: Based on the battery data received within the first preset time period, determine the first time interval between two adjacent frames of battery data and the first total number of battery data frames received within the first preset time period;

[0272] 02203: Determine the state of the vehicle battery based on the first time interval, the first total number of frames, and the vehicle's operating state.

[0273] The processing unit in this application embodiment is further configured to determine the first time interval between two adjacent frames of battery data and the first total number of battery data frames received within the first preset time interval based on the battery data received within the first preset time interval; and to determine the state of the vehicle battery based on the first time interval, the first total number of frames, and the vehicle's operating state.

[0274] The processor in this embodiment is further configured to determine a first time interval between two adjacent frames of battery data and a first total number of battery data frames received within the first preset time interval based on the battery data received within the first preset time interval; and to determine the state of the vehicle battery based on the first time interval, the first total number of frames, and the vehicle's operating state.

[0275] That is, the electronic device in this application embodiment will also determine whether the low-voltage battery is in an abnormal state based on the number of data packets / data frames received and the time interval between receptions within the first preset time period, as well as the working status of the vehicle.

[0276] It is understood that the vehicle in the embodiments of this application is also used to send a data frame carrying battery data to an electronic device at preset time intervals.

[0277] It is also understood that the electronic device in this application embodiment is further configured to record the acquisition / reception time of each battery data received, and then determine the first time interval between any two adjacent frames of battery data based on the acquisition / reception time of each battery data. Furthermore, the electronic device will also count the number of battery data frames received within a first preset time period, i.e., the first total number of frames.

[0278] In some implementations, the vehicle will send a data frame to the electronic device at preset time intervals; after receiving the data frame, the electronic device will parse the data frame to obtain the battery data carried by the data frame.

[0279] Thus, the embodiments of this application, based on the first total number of frames and the first time interval between two adjacent frames of battery data, make the state detection of the vehicle battery not entirely dependent on the operating parameters of the vehicle battery, so that the state detection can be completed based on information from multiple dimensions, thereby more accurately determining whether the vehicle battery is in an abnormal state.

[0280] In some implementations, step 02203 includes:

[0281] 022030: If the first time interval is not greater than the first preset time interval, the first total number of frames is not greater than the first preset number of frames, the duration of the first preset time period is less than the thirteenth preset time period, and the vehicle is in a predetermined working state within the first preset time period, then it is determined that the vehicle battery is in an abnormal state.

[0282] The processing unit in this application embodiment is further configured to determine that the vehicle battery is in an abnormal state if the first time interval is not greater than the first preset time interval, the first total number of frames is not greater than the first preset number of frames, the duration of the first preset time period is less than the thirteenth preset time period, and the vehicle is in a predetermined working state during the first preset time period.

[0283] The processor in this application embodiment is further configured to determine that the vehicle battery is in an abnormal state if the first time interval is not greater than the first preset time interval, the first total number of frames is not greater than the first preset number of frames, the duration of the first preset time period is less than the thirteenth preset time period, and the vehicle is in a predetermined working state during the first preset time period.

[0284] That is, the electronic device in this application determines that the low-voltage battery is in an abnormal state when the time interval between two adjacent battery data frames (i.e., the first time interval) is less than the first preset time interval, the number of all data frames received within the first preset time period (the first total number of frames) is not greater than the first preset number of frames, the duration of the first preset time period is less than the thirteenth preset time period, and the vehicle is always in a predetermined working state within the first preset time period.

[0285] In some implementations, the first preset time interval is 30 seconds; in other implementations, the first preset time interval is in the range of [30s, 40s], where s represents seconds.

[0286] In some implementations, the first preset frame rate is 30 frames. In other implementations, the first preset frame rate is in the range of [25, 35].

[0287] In some implementations, the thirteenth preset duration is 24 hours. In other implementations, the value range of the thirteenth preset duration is [20h, 24h].

[0288] In some implementations, step 02202 further includes:

[0289] 022021: If the first time interval is greater than the second preset time interval, there are at least two adjacent frames of battery data where the low voltage value is greater than the first preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than the third preset time interval, the first total number of frames is greater than the second preset number of frames, and the vehicle is in a predetermined working state within the first preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the third preset time interval is greater than the second preset time interval.

[0290] The processing unit in this embodiment is further configured to determine that the vehicle battery is in an abnormal state if the first time interval is greater than the second preset time interval, there are at least two adjacent frames of battery data with low voltage values ​​greater than the first preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than the third preset time interval, the first total number of frames is greater than the second preset number of frames, and the vehicle is in a predetermined working state within the first preset time period, wherein the third preset time interval is greater than the second preset time interval.

[0291] The processor in this application embodiment is further configured to determine that the vehicle battery is in an abnormal state if the first time interval is greater than the second preset time interval, there are at least two adjacent frames of battery data with low voltage values ​​greater than the first preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than the third preset time interval, the first total number of frames is greater than the second preset number of frames, and the vehicle is in a predetermined working state within the first preset time period, wherein the third preset time interval is greater than the second preset time interval.

[0292] That is, the target parameters in the embodiments of this application also include the low-voltage value of the low-voltage battery. Therefore, the embodiments of this application will also determine the state of the low-voltage battery based on the low-voltage value.

[0293] Specifically, when the following four conditions are met: the first time interval is greater than the second preset time interval, the low voltage value in at least two adjacent frames of battery data is greater than the first preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than the third preset time interval, the first total number of frames is greater than the second preset number of frames, and the vehicle is in a predetermined working state during the first preset time period, the electronic device determines that the low voltage battery is in an abnormal state.

[0294] In some implementations, the second preset time interval is the same as the first preset time interval, both being 30 seconds. In other implementations, the value range of the second preset time interval is [30s, 40s].

[0295] In some implementations, the second preset frame rate is the same as the first preset frame rate, which is 30 frames. In other implementations, the value range of the second preset frame rate is [25, 35].

[0296] In some embodiments, the first preset low voltage threshold is 1 / 15. In other embodiments, the first preset low voltage threshold is in the range of [0.06, 0.07].

[0297] In some implementations, the third preset time interval is 10 minutes. In other implementations, the value range of the third preset time interval is [5 min, 15 min].

[0298] In some implementations, the predetermined working state refers to the dormant state.

[0299] For example, when the electronic device receives a total of 40 frames of battery data within the first preset time period, if the low voltage value in the battery data of the 27th frame is 0.07, and the low voltage value in the battery data of the 28th frame is also 0.07, and the reception time of the 27th frame is 8:10 and the reception time of the 28th frame is 8:30, then the first time interval is greater than the second preset time interval, the first total number of frames is greater than the second preset number of frames, and the vehicle is in the predetermined working state within the first preset time period are all satisfied. Therefore, it is determined that the low voltage battery is in an abnormal state.

[0300] In some implementations, step 022 further includes:

[0301] 0221: Determine the state of the vehicle battery based on the target parameters within the second preset time period after the start of monitoring. The second preset time period includes the duration during which the vehicle's power battery changes from an uncharged state to a charged state.

[0302] The processing unit in this application embodiment is further configured to determine the state of the vehicle battery based on the target parameters within a second preset time period after the monitoring start time, wherein the second preset time period includes the duration during which the vehicle's power battery changes from an uncharged state to a charged state.

[0303] The processor in this application embodiment is further configured to determine the state of the vehicle battery based on target parameters within a second preset time period after the monitoring start time, wherein the second preset time period includes the duration during which the vehicle's power battery changes from an uncharged state to a charged state.

[0304] That is, the electronic device in this application determines that the charging state of the power battery is related to the state of the low-voltage battery after analyzing abnormal battery data. Therefore, this application completes the state detection of the low-voltage battery based on the target parameters in the period after the monitoring start time and before the charging state of the power battery changes.

[0305] In some implementations, when the vehicle detects that a charging plug has been inserted to charge the battery, it sends corresponding battery data to an electronic device. In other words, the battery data also includes data "used to characterize whether the battery is being charged based on the charging plug," so that the electronic device can determine whether the vehicle's battery is in a charging state.

[0306] Thus, the embodiments of this application, based on target parameters within the time period before the change of the charging state of the power battery, make the state detection of the vehicle battery more accurate.

[0307] In some implementations, please refer to Figure 11 Step 0221 includes:

[0308] 02210: Based on the battery data received within the second preset time period, determine the second time interval between two adjacent frames of battery data, and the second total number of battery data frames received within the second preset time period;

[0309] 02211: If the second time interval is higher than the fourth preset time interval, there are at least two adjacent frames of battery data where the low voltage value is greater than the preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than the fifth preset time interval, the second total number of frames is greater than the third preset number of frames, and the vehicle is in a predetermined working state within the second preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the fifth preset time interval is greater than the fourth preset time interval.

[0310] The processing unit in this application embodiment is further configured to determine, based on the battery data received within the second preset time period, a second time interval between two adjacent frames of battery data and a second total number of battery data frames received within the second preset time period; if the second time interval is higher than a fourth preset time interval, there exists a low voltage value in at least two adjacent frames of battery data that is greater than a preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than a fifth preset time interval, the second total number of frames is greater than a third preset number of frames, and the vehicle is in a predetermined working state within the second preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the fifth preset time interval is greater than the fourth preset time interval.

[0311] The processor in this embodiment is further configured to determine a second time interval between two adjacent frames of battery data and a second total number of battery data frames received within the second preset time interval based on the battery data received within the second preset time interval; if the second time interval is higher than a fourth preset time interval, there exists a low voltage value in at least two adjacent frames of battery data that is greater than a preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than a fifth preset time interval, the second total number of frames is greater than a third preset number of frames, and the vehicle is in a predetermined working state within the second preset time interval, then it is determined that the vehicle battery is in an abnormal state, wherein the fifth preset time interval is greater than the fourth preset time interval.

[0312] That is, the embodiments of this application also determine whether the low-voltage battery is in an abnormal state based on the time interval between adjacent frames of battery data in the second preset period (the second time interval), the second total number of battery data frames received in the second preset period, and the low-voltage value of each frame.

[0313] Specifically, when the second time interval is higher than the fourth preset time interval, there are at least two adjacent frames of battery data where the low voltage value is greater than the preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than the fifth preset time interval, the second total number of frames is greater than the third preset number of frames, and the vehicle is in a predetermined working state during the second preset time period, the electronic device will identify the low voltage battery as an abnormal state.

[0314] In some implementations, the fourth preset time interval is the same as the second preset time interval, both being 30 seconds.

[0315] In some implementations, the preset low-voltage threshold is 1 / 15.

[0316] In some implementations, the fifth preset time interval is the same as the third preset time interval, which is 10 minutes.

[0317] In some implementations, the predetermined working state refers to the dormant state.

[0318] In some implementations, step 022 further includes:

[0319] 0222: Determine the vehicle battery status based on the target parameters within the third preset time period after the monitoring start time. The third preset time period includes the duration during which the vehicle changes from a powered-off state to a powered-on state.

[0320] That is, the implementation method of this application is based on the analysis of abnormal battery state, and based on the target parameters after the monitoring start time and before the time when the vehicle changes from the power-off state to the power-on state, i.e. the target parameters within the third preset time period, to determine whether the low-voltage battery is in an abnormal state.

[0321] Thus, the embodiments of this application enable the electronic device to perform vehicle battery state detection based on target parameters during the period before the vehicle transitions from a power-off state to a power-on state, thereby further improving the reliability of the state detection results.

[0322] In some implementations, please refer to Figure 12 Step 0222 includes:

[0323] 02220: Based on the battery data received within the third preset time period, determine the third time interval between two adjacent frames of battery data, and the third total number of battery data frames received within the third preset time period;

[0324] 02221: If the third time interval is higher than the sixth preset time interval, there are at least two adjacent frames of battery data where the low voltage value is greater than the preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than the seventh preset time interval, the third total number of frames is greater than the fourth preset number of frames, and the vehicle is in a predetermined working state within the third preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the seventh preset time interval is greater than the sixth preset time interval.

[0325] The processing unit in this application embodiment is further configured to determine the third time interval between two adjacent frames of battery data and the third total number of battery data frames received within the third preset time interval based on the battery data received within the third preset time interval; if the third time interval is higher than the sixth preset time interval, there exists a low voltage value in at least two adjacent frames of battery data that is greater than a preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than the seventh preset time interval, the third total number of frames is greater than the fourth preset number of frames, and the vehicle is in a predetermined working state within the third preset time interval, then it is determined that the vehicle battery is in an abnormal state, wherein the seventh preset time interval is greater than the sixth preset time interval.

[0326] The processor in this embodiment is further configured to determine, based on the battery data received within the third preset time period, a third time interval between two adjacent frames of battery data and a third total number of battery data frames received within the third preset time period; if the third time interval is higher than a sixth preset time interval, there exists a low voltage value in at least two adjacent frames of battery data that is greater than a preset low voltage threshold and the time interval between at least two adjacent frames of battery data is greater than a seventh preset time interval, the third total number of frames is greater than a fourth preset number of frames, and the vehicle is in a predetermined working state within the third preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the seventh preset time interval is greater than the sixth preset time interval.

[0327] That is, similar to steps 02210 and 02211 mentioned above, the electronic device in this application embodiment will determine whether the low-voltage battery is in an abnormal state based on the time interval of adjacent frame battery data within the third preset time period (the third time interval), the third total number of battery data frames received within the second preset time period, and the low-voltage value of each frame.

[0328] In some implementations, the sixth preset time interval is the same as the second preset time interval, both being 30 seconds.

[0329] In some implementations, the preset low-voltage threshold is 1 / 15.

[0330] In some implementations, the seventh preset time interval is the same as the fifth preset time interval, which is 10 minutes.

[0331] In some implementations, the predetermined working state refers to the dormant state.

[0332] In some implementations, please refer to Figure 13 The electronic device in this application embodiment will also determine whether the low-voltage battery is in an abnormal state based on the above five methods. Specifically, when the electronic device determines a first preset time period, the electronic device will determine whether any one of condition 1 (i.e., executing the above steps 02200 and 02201) and condition 2 (i.e., executing the above steps 02202 and 02203, or steps 02202 and 022030) is satisfied, thereby determining whether the low-voltage battery is abnormal; when the electronic device determines a second preset time period, it will determine whether condition 3 (i.e., step 0221, or steps 02210 and 02211) is satisfied; and when the electronic device determines a third preset time period, it will determine whether condition 3 (i.e., step 0222, or steps 02220 and 02221) is satisfied.

[0333] Thus, the embodiments of this application enable the electronic device to complete the state detection of the low-voltage battery based on multiple judgment logics, thereby ensuring the reliability of the detection results.

[0334] This application also provides a computer-readable storage medium containing a computer program. When the computer program is executed by one or more processors, it causes the one or more processors to perform the vehicle battery state detection method of this application.

[0335] In the description of this specification, the references to terms such as "some embodiments," "in one example," "exemplarily," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0336] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.

[0337] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A method for detecting the state of a vehicle battery, characterized in that, include: Receive vehicle battery data; The state of the vehicle battery is determined based on the target parameters in the battery data, wherein the target parameters are determined based on statistical data of abnormal battery states, and the state of the vehicle battery includes normal state and abnormal state. Determining the state of the vehicle battery based on the target parameters in the battery data includes: The monitoring start time is determined based on the power converter parameters in the target parameters; The state of the vehicle battery is determined based on the target parameters after the monitoring start time; The target parameters include the highest and lowest single-cell voltage of the vehicle battery; Determining the state of the vehicle battery based on the target parameters in the battery data includes: When the vehicle is powered on, the state of the vehicle battery is determined based on the highest single-cell voltage and the lowest single-cell voltage; the battery data includes multiple sets, and determining the state of the vehicle battery based on the highest and lowest single-cell voltage when the vehicle is powered on includes: If, when the vehicle is powered on, the highest single-cell voltage and the lowest single-cell voltage of each group are both preset single-cell voltage values ​​within a second preset time period, then the vehicle battery is determined to be in an abnormal state. Determining the state of the vehicle battery based on the highest and lowest single-cell voltages when the vehicle is powered on includes: When the vehicle is powered on, the state of the vehicle battery is determined based on the voltage difference between the highest single-cell voltage and the lowest single-cell voltage. The battery data includes multiple sets. When the vehicle is powered on, determining the state of the vehicle battery based on the voltage difference between the highest and lowest single-cell voltages includes: If, when the vehicle is powered on, the voltage difference between the highest and lowest single-cell voltages in each group is greater than a preset voltage difference within a third preset time period, then the vehicle battery is determined to be in an abnormal state.

2. The method according to claim 1, characterized in that, The method further includes: If the battery data is not received within the first preset time period, it is determined that the vehicle battery is in an abnormal state.

3. The method according to claim 2, characterized in that, When the vehicle changes from a powered-on state to a powered-off state, and the first duration is not less than the fourth preset duration, the monitoring start time is determined based on the moment when the vehicle changes to the powered-off state, and the first duration is determined based on the duration when the power converter parameters meet the first preset condition when the vehicle is in a powered-on state.

4. The method according to claim 3, characterized in that, The first preset duration is determined based on the duration during which the power converter is in a step-down state and the DC low-voltage side voltage is not less than a preset voltage value when the vehicle is in the powered-on state.

5. The method according to claim 1, characterized in that, If the first cumulative duration is not less than the sixth preset duration, the monitoring start time is determined based on the moment when the vehicle changes to a power-off state. The first cumulative duration is determined based on the cumulative duration during which the power converter parameters within the fifth preset duration before the vehicle changes from a power-on state to a power-off state meet the second preset condition.

6. The method according to claim 1, characterized in that, When the second duration satisfies the fourth preset condition and the third duration satisfies the fifth preset condition, the monitoring start time is determined based on the moment when the third duration satisfies the fifth preset condition. The second duration is determined based on the duration when the power converter parameters satisfy the third preset condition, and the third duration is determined based on the duration when the power converter parameters do not satisfy the third preset condition.

7. The method according to claim 6, characterized in that, The target parameters also include the vehicle's power type; when the vehicle is a first power type vehicle, the second duration is not less than a seventh preset duration, and the third duration is not less than an eighth preset duration, the monitoring start time is determined based on the time when the third duration is not less than the eighth preset duration.

8. The method according to claim 7, characterized in that, When the vehicle is a second power type vehicle, the second duration is not less than the ninth preset duration, and the third duration is not less than the tenth preset duration, the monitoring start time is determined based on the time when the third duration is not less than the tenth preset duration.

9. The method according to claim 8, characterized in that, When the vehicle is a first power type vehicle, the second duration is not less than the seventh preset duration, and the fourth duration is not less than the eleventh preset duration; or when the vehicle is a second power type vehicle, the second duration is not less than the tenth preset duration, and the fourth duration is not less than the eleventh preset duration, the monitoring start time is determined based on the moment when the fourth duration is not less than the eleventh preset duration. The fourth duration is determined based on the duration during which the vehicle is in the power-on state when the vehicle changes from a power-off state to a power-on state.

10. The method according to claim 1, characterized in that, Determining the state of the vehicle battery based on the target parameters after the monitoring start time includes: The state of the vehicle battery is determined based on the target parameters within a first preset time period after the monitoring start time, wherein the first preset time period includes the duration during which the vehicle battery changes from an uncharged state to a charged state.

11. The method according to claim 10, characterized in that, Determining the state of the vehicle battery based on the target parameters within a first preset time period after the monitoring start time includes: Determine the second cumulative duration during which the power battery current in the target parameter is lower than a preset current value within the first preset time period; If the ratio of the second cumulative duration to the duration of the first preset time period is less than a preset ratio, the duration of the first preset time period is less than the twelfth preset duration, and the vehicle is in a predetermined working state within the first preset time period, then it is determined that the vehicle battery is in an abnormal state.

12. The method according to claim 10, characterized in that, Determining the state of the vehicle battery based on the target parameters within a first preset time period after the monitoring start time includes: Based on the battery data received within the first preset time period, a first time interval between two adjacent frames of battery data and a first total number of battery data frames received within the first preset time period are determined. The state of the vehicle battery is determined based on the first time interval, the first total number of frames, and the vehicle's operating state.

13. The method according to claim 12, characterized in that, Determining the state of the vehicle battery based on the first time interval, the first total number of frames, and the vehicle's operating state includes: If the first time interval is not greater than the first preset time interval, the first total number of frames is not greater than the first preset number of frames, the duration of the first preset time period is less than the thirteenth preset duration, and the vehicle is in a predetermined working state within the first preset time period, then it is determined that the vehicle battery is in an abnormal state.

14. The method according to claim 12, characterized in that, The step of determining the state of the vehicle battery based on the first time interval, the first total number of frames, and the vehicle's operating state further includes: If the first time interval is greater than the second preset time interval, there are at least two adjacent frames of battery data where the low voltage value is greater than the first preset low voltage threshold and the time interval between the at least two adjacent frames of battery data is greater than the third preset time interval, the first total number of frames is greater than the second preset number of frames, and the vehicle is in a predetermined working state within the first preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the third preset time interval is greater than the second preset time interval.

15. The method according to claim 10, characterized in that, The step of determining the state of the vehicle battery based on the target parameters after the monitoring start time further includes: The state of the vehicle battery is determined based on the target parameters within a second preset time period after the monitoring start time, wherein the second preset time period includes the duration during which the vehicle's power battery changes from an uncharged state to a charged state.

16. The method according to claim 15, characterized in that, Determining the state of the vehicle battery based on the target parameters within a second preset time period after the monitoring start time includes: Based on the battery data received within the second preset time period, a second time interval between two adjacent frames of battery data and a second total number of battery data frames received within the second preset time period are determined. If the second time interval is higher than the fourth preset time interval, there are at least two adjacent frames of battery data where the low voltage value is greater than a preset low voltage threshold and the time interval between the at least two adjacent frames of battery data is greater than the fifth preset time interval, the second total number of frames is greater than the third preset number of frames, and the vehicle is in a predetermined working state during the second preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the fifth preset time interval is greater than the fourth preset time interval.

17. The method according to claim 10, characterized in that, The step of determining the state of the vehicle battery based on the target parameters after the monitoring start time further includes: The state of the vehicle battery is determined based on the target parameters within a third preset time period after the monitoring start time, wherein the third preset time period includes the duration during which the vehicle changes from a powered-off state to a powered-on state.

18. The method according to claim 17, characterized in that, Determining the state of the vehicle battery based on the target parameters within a third preset time period after the monitoring start time includes: Based on the battery data received within the third preset time period, a third time interval between two adjacent frames of battery data and a third total number of battery data frames received within the third preset time period are determined. If the third time interval is higher than the sixth preset time interval, there are at least two adjacent frames of battery data where the low voltage value is greater than a preset low voltage threshold and the time interval between the at least two adjacent frames of battery data is greater than the seventh preset time interval, the third total number of frames is greater than the fourth preset number of frames, and the vehicle is in a predetermined working state during the third preset time period, then it is determined that the vehicle battery is in an abnormal state, wherein the seventh preset time interval is greater than the sixth preset time interval.

19. A vehicle battery state detection device, used to implement the method according to any one of claims 1-18, characterized in that, include: Transceiver unit, used to receive battery data from the vehicle; The processing unit is used to determine the state of the vehicle battery based on target parameters in the battery data, wherein the target parameters are determined statistically based on abnormal battery state data, and the state of the vehicle battery includes normal state and abnormal state.

20. An electronic device, characterized in that, The method includes a memory and a processor, wherein the memory stores a computer program, which, when executed by the processor, implements the method according to any one of claims 1-18.

21. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by one or more processors, implements the method according to any one of claims 1-18.