Vehicle battery monitoring method, device, electronic device and storage medium
By jointly monitoring the voltage and temperature of the vehicle battery by the on-board microcontroller unit and other units, the problem of insufficient monitoring reliability in the prior art is solved, and higher vehicle battery health monitoring reliability and vehicle safety are achieved.
Patent Information
- Application Number
- CN202510124873.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-27
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2045-01-27
AI Technical Summary
In the prior art, the monitoring reliability of vehicle batteries is insufficient, especially when the charging chip fails or fails, the battery health status cannot be effectively monitored.
The detection voltage and detection temperature of the vehicle battery are obtained by the on-board microcontroller unit, the first health status is determined based on these data, and the second and third health status determined by the on-board system and the charging unit is received. Only when all three health statuses are true, the vehicle battery is determined to be in a healthy state.
It provides a multi-channel vehicle battery health monitoring path, improves the reliability of vehicle battery health monitoring, and thus improves the safety of the vehicle.
Smart Images

Figure CN119556178B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle battery technology, and in particular to a vehicle battery monitoring method, device, electronic device and storage medium. Background Art
[0002] Under normal circumstances, the vehicle's T-BOX is powered by the vehicle's battery. In special circumstances, such as when the vehicle stalls or the vehicle's battery fails to supply power, a dedicated T-BOX backup battery is required to provide power so that the T-BOX can work uninterruptedly in a short period of time.
[0003] In order to ensure the normal operation of T-BOX under special circumstances, it is necessary to continuously monitor the health of the vehicle battery and T-BOX backup battery. In the related art, the battery charging chip is usually used to automatically detect the voltage and temperature of the battery, and determine whether the detected voltage and temperature are within the healthy value range. However, the battery charging chip may malfunction or fail, and the battery health status cannot be monitored at this time. Summary of the invention
[0004] In view of this, a vehicle battery monitoring method, device, electronic device and storage medium are provided to solve the problem of insufficient reliability of vehicle battery monitoring in the prior art.
[0005] In a first aspect, a vehicle battery monitoring method is provided, which is executed by a vehicle-mounted microcontroller unit and is used to monitor a vehicle battery, wherein the vehicle battery is a low-voltage battery in the vehicle, and the low-voltage battery in the vehicle includes a controller battery and other batteries in the vehicle, and the method includes:
[0006] The self-voltage detection circuit obtains the detection voltage of the vehicle battery, and the self-temperature detection circuit obtains the detection temperature of the vehicle battery;
[0007] determining a first state of health of a battery of the vehicle based on the detected voltage and the detected temperature;
[0008] Acquire a second health state of the vehicle battery from the vehicle-mounted system-on-chip, where the second health state is determined by the vehicle-mounted system-on-chip based on a detected voltage and a detected temperature of the vehicle battery;
[0009] obtaining a third health state of a vehicle battery from a charging unit of the vehicle battery;
[0010] In response to determining that the first state of health, the second state of health, and the third state of health are all true, it is determined that the vehicle battery is in a healthy state.
[0011] In a second aspect, a vehicle battery monitoring device is provided, wherein the vehicle battery is a low-voltage battery in the vehicle, and the low-voltage battery in the vehicle includes a controller battery and other storage batteries in the vehicle; the device includes:
[0012] an on-vehicle micro control unit configured to obtain a detection voltage of a vehicle battery from a voltage detection circuit and to obtain a detection temperature of the vehicle battery from a temperature detection circuit; and
[0013] configured to determine a first state of health of a vehicle battery based on the detected voltage and the detected temperature;
[0014] a vehicle-mounted system-on-chip configured to obtain a detection voltage of a vehicle battery from a voltage detection circuit and to obtain a detection temperature of the vehicle battery from a temperature detection circuit; and
[0015] configured to determine a second state of health of a vehicle battery based on the detected voltage and the detected temperature;
[0016] a charging unit configured to determine a third state of health of a battery of the vehicle;
[0017] The onboard micro control unit is further configured to receive the second health state and the third health state, and determine that the vehicle battery is in a healthy state if it is determined that the first health state, the second health state, and the third health state are all true.
[0018] According to a third aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0019] In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program, and the computer program implements the steps of the above method when executed by a processor.
[0020] Compared with the prior art, the beneficial effects are: obtaining the detection voltage and detection temperature of the vehicle battery through the on-board microcontroller unit, determining a first health state based on the detection voltage and detection temperature, and receiving a second health state determined by the on-board system-on-chip based on the detection voltage and detection temperature, and a third health state determined by the charging unit; under the condition that the first health state, the second health state and the third health state are all true, determining that the vehicle battery is in a healthy state, providing multiple vehicle battery health state monitoring paths, improving the reliability of vehicle battery health monitoring, and thereby improving the safety of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 It is a structural block diagram of a system for vehicle battery health monitoring in related technology.
[0023] Figure 2 It is a flow chart of a vehicle battery monitoring method provided in an embodiment of the present application.
[0024] Figure 3 It is a flow chart of a method for determining the health status of a vehicle battery based on detecting voltage and detecting temperature provided in an embodiment of the present application.
[0025] Figure 4 It is a flow chart of another vehicle battery monitoring method provided in an embodiment of the present application.
[0026] Figure 5 It is a flow chart of another vehicle battery monitoring method provided in an embodiment of the present application.
[0027] Figure 6 It is a structural block diagram of a system for performing vehicle battery health monitoring provided in an embodiment of the present application.
[0028] Figure 7 It is a schematic diagram of a vehicle battery monitoring device provided in an embodiment of the present application.
[0029] Figure 8 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0031] A vehicle battery monitoring method and device according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.
[0032] As mentioned above, in the related art, a battery charging chip is usually used to automatically detect the voltage and temperature of the battery, and determine whether the detected voltage and temperature are within a healthy value range.
[0033] Figure 1 This is a block diagram of a system for monitoring vehicle battery health in related technologies. Figure 1As shown, the health monitoring system may include a charging unit, a vehicle battery and an MCU (Microcontroller Unit). The vehicle battery may be, for example, a T-BOX backup battery, which generally uses a high-reliability, wide-temperature nickel-hydrogen battery. The charging unit may include a charging chip.
[0034] The charging unit is connected to the vehicle battery to obtain the real-time voltage and real-time temperature of the vehicle battery. The real-time voltage can be detected by the charging unit from the positive electrode of the vehicle battery, and the real-time temperature can be detected by the charging unit from a temperature-sensitive element in the vehicle battery, such as a thermistor.
[0035] The charging unit compares the acquired real-time voltage and real-time temperature with the preset healthy voltage range and the preset healthy temperature range to obtain the health status indication of the vehicle battery. In the related art, the preset healthy voltage range of the charging chip is usually less than 5.8V (volts), and the preset healthy stable range is usually -10℃ (Celsius) to 50℃. If the acquired real-time voltage is less than 5.8V, and the real-time temperature is greater than -10℃ and less than 50℃, the charging power supply determines that the health status indication of the vehicle battery is true. On the other hand, if the acquired real-time voltage is greater than or equal to 5.8V, or the real-time temperature is less than or equal to -10℃, or the real-time temperature is greater than or equal to 50℃, the charging power supply determines that the health status indication of the vehicle battery is false.
[0036] The charging unit may send the health status indication to the MCU. The software processing unit of the MCU processes the health status indication. If the software processing unit receives a health status indication with a value of true, no additional operation is performed on the charging unit, so that the charging unit can perform normal charging and discharging operations on the vehicle battery. If the software processing unit receives a health status indication with a value of false, an enable signal is sent to the charging unit to stop the charging unit from performing charging and discharging operations on the vehicle battery.
[0037] When a charging chip in the charging unit fails or fails, it may be unable to upload the acquired health indication status of the vehicle battery to the MCU, so that the MCU monitors the health status of the vehicle battery based on the health indication status.
[0038] In view of this, an embodiment of the present application provides a vehicle battery monitoring method, which obtains a detection voltage and a detection temperature of a vehicle battery through an on-board microcontroller unit, determines a first health state based on the detection voltage and the detection temperature, and receives a second health state determined by the on-board system-on-chip based on the detection voltage and the detection temperature, as well as a third health state determined by a charging unit. Under the condition that the first health state, the second health state, and the third health state are all true, it is determined that the vehicle battery is in a healthy state, and multiple vehicle battery health state monitoring paths are provided, thereby improving the reliability of vehicle battery health monitoring and thereby improving the safety of the vehicle.
[0039] Figure 2 FIG. 1 is a flow chart of a vehicle battery monitoring method provided in an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0040] In step S201 , a detection voltage of a vehicle battery is obtained from a voltage detection circuit, and a detection temperature of the vehicle battery is obtained from a temperature detection circuit.
[0041] In step S202 , a first health state of the vehicle battery is determined based on the detected voltage and the detected temperature.
[0042] In step S203 , a second health state of the vehicle battery is obtained from the vehicle-mounted system-on-chip, where the second health state is determined by the vehicle-mounted system-on-chip based on a detection voltage and a detection temperature of the vehicle battery.
[0043] In step S204 , a third health state of the vehicle battery is obtained from a charging unit of the vehicle battery.
[0044] In step S205 , in response to determining that the first health state, the second health state, and the third health state are all true, it is determined that the vehicle battery is in a healthy state.
[0045] In some embodiments of the present application, the method can be executed by a vehicle-mounted MCU to monitor the vehicle battery. The vehicle battery can be a low-voltage battery in the vehicle, such as a vehicle controller battery such as a T-BOX or a cabin, including a main battery and a backup battery of the controller, or other storage batteries in the vehicle.
[0046] That is, the low-voltage battery in the vehicle may be a battery other than the power battery in the vehicle. In some embodiments, the low-voltage battery in the vehicle may be a wide-temperature nickel-hydrogen battery, or a ternary lithium battery, or other batteries, which are not limited here.
[0047] In some embodiments, the vehicle-mounted MCU can obtain the detection voltage of the vehicle battery from the voltage detection circuit, and obtain the detection temperature of the vehicle battery from the temperature detection circuit. The voltage detection circuit and the temperature detection circuit are detection circuits built independently outside the vehicle battery.
[0048] In some other embodiments, the vehicle-mounted MCU can determine the first health state of the vehicle battery based on the detected voltage and the detected temperature. On the other hand, the vehicle-mounted MCU can also obtain the second health state of the vehicle battery from the vehicle-mounted SoC (System on Chip) and obtain the third health state of the vehicle battery from the charging unit of the vehicle battery.
[0049] The method for determining the vehicle battery health state by the SoC is the same as the method for determining the vehicle battery health state by the MCU, that is, the second health state can be determined by the SoC based on the detection voltage and detection temperature of the vehicle battery. The method for determining the vehicle battery health state by the charging unit can be implemented using a preset detection range and preset judgment logic in the charging chip.
[0050] The health status of the vehicle battery may include a true status and a false status, wherein the true status is used to indicate that the vehicle battery is in a healthy state, at which point the charging unit can perform charging and discharging operations on the vehicle battery. Conversely, the false status is used to indicate that the vehicle battery is in an unhealthy state, at which point the charging unit needs to be controlled to stop performing charging and discharging operations on the vehicle battery.
[0051] In some embodiments of the present application, after obtaining the first health state, the second health state and the third health state, the MCU can judge each health state. If the first health state, the second health state and the third health state are all true, it can be determined that the vehicle battery is in a healthy state.
[0052] According to the technical solution provided in the embodiment of the present application, the detection voltage and detection temperature of the vehicle battery are obtained through the on-board microcontroller unit, and a first health state is determined based on the detection voltage and the detection temperature, and a second health state is determined by the on-board system-on-chip based on the detection voltage and the detection temperature, and a third health state is determined by the charging unit. Under the condition that the first health state, the second health state and the third health state are all true, it is determined that the vehicle battery is in a healthy state, and multiple vehicle battery health state monitoring paths are provided, which improves the reliability of vehicle battery health monitoring and thereby improves the safety of the vehicle.
[0053] As mentioned above, in the related art, charging chips are usually used to detect the voltage and temperature of the vehicle battery. Among them, the preset healthy voltage range of the charging chip is usually less than 5.8V (volts), and the preset healthy stable range is usually -10℃ to 50℃. That is, the voltage and temperature that the charging chip can detect are limited in accuracy and the range is also narrow.
[0054] In some embodiments of the present application, the voltage detection circuit includes a first voltage divider circuit based on a first voltage divider resistor, and the temperature detection circuit includes a second voltage divider circuit based on a temperature sensitive element and a second voltage divider resistor. The detection voltage is the output voltage of the first voltage divider circuit, and the detection temperature is the temperature corresponding to the output voltage of the second voltage divider circuit.
[0055] In one example, a voltage divider circuit can be set up using one or more voltage divider resistors, the input end of the voltage divider circuit is connected to the positive pole of the vehicle battery, and the output end is connected to the detection voltage input port of the MCU or SoC, so that the MCU and SoC can use the voltage divider circuit to obtain the detection voltage of the vehicle battery.
[0056] In another example, a temperature detection circuit can be set up using a temperature-sensitive element and one or more voltage-dividing resistors. The temperature-sensitive element can be a built-in temperature-sensitive resistor in the vehicle battery. The input end of the temperature detection circuit is connected to the output end of the temperature-sensitive resistor, and the output end of the temperature detection circuit is connected to the detection temperature input port of the MCU or SoC, so that the MCU and the SoC can use the voltage-dividing circuit to obtain the detection temperature of the vehicle battery.
[0057] Among them, the thermistor has different resistance values at different temperatures, and the resistance value has a certain error. The upper limit value, lower limit value and intermediate value can be taken for the resistance of the thermistor under each temperature. For example, in the temperature range of -40°C to 105°C, 146 groups of 438 resistance data of the thermistor can be obtained. The output voltage range of the temperature detection circuit at different temperatures is determined together with the voltage divider resistor, and the mapping relationship between the temperature and the output voltage range is recorded. During actual detection, the MCU and SoC can obtain the output voltage from the temperature detection circuit, and then query the pre-recorded mapping relationship to determine the temperature corresponding to the output voltage.
[0058] For example, if the voltage range corresponding to a temperature of 10°C is 4.85V to 4.86V, and the output voltage obtained by the MCU or SoC self-stabilization detection circuit is 4.857V, then it can be determined that the detection temperature is 10°C. And so on.
[0059] The resistance values of the voltage divider resistors in the voltage divider circuit and the temperature detection circuit can be set according to actual needs and are not limited here. By selecting a reasonable circuit structure and component parameters, the voltage detection circuit provided in the embodiment of the present application can detect a voltage range of 4.8V to 5.8V, and the temperature detection circuit can detect a temperature range of -40°C to 105°C.
[0060] In this way, the voltage and temperature of the vehicle battery can be quickly detected, and the detection range and detection accuracy are increased.
[0061] Figure 3 1 is a flow chart of a method for determining the health status of a vehicle battery based on detection voltage and detection temperature provided in an embodiment of the present application. Figure 3 As shown, the method comprises the following steps:
[0062] In step S301 , in response to determining that the detected voltage and the detected temperature correspond to a preset voltage-temperature health state combination, the health state of the vehicle battery is determined to be true.
[0063] In step S302 , in response to determining that the detected voltage and the detected temperature do not correspond to a preset voltage-temperature health state combination, the health state of the vehicle battery is determined to be false.
[0064] In some embodiments of the present application, the detection voltage and the detection temperature can be input into the software processing unit in the MCU and the SoC respectively, and the software processing unit determines whether the detection voltage and the detection temperature correspond to the preset voltage-temperature health state combination. If so, the health state of the vehicle battery is determined to be true, otherwise, the health state of the vehicle battery is determined to be false. Among them, determining that the detection voltage and the detection temperature correspond to the preset voltage-temperature health state combination can be, obtaining a preset truth table, the preset truth table includes health states corresponding to different voltage-temperature combinations; in response to determining that the health state corresponding to the voltage-temperature combination composed of the detection voltage and the detection temperature in the preset truth table is true, determining that the detection voltage and the detection temperature correspond to the preset voltage-temperature health state combination.
[0065] On the other hand, determining that the detection voltage and the detection temperature do not correspond to the preset voltage-temperature health state combination may be to obtain a preset truth table, the preset truth table including health states corresponding to different voltage-temperature combinations; in response to determining that the health state corresponding to the voltage-temperature combination composed of the detection voltage and the detection temperature in the preset truth table is false, determining that the detection voltage and the detection temperature do not correspond to the preset voltage-temperature health state combination. In one example, an analog-to-digital conversion unit may be provided in the MCU and the SoC, respectively, and the output voltage of the first voltage divider circuit and the output temperature of the temperature detection circuit are respectively input into the analog-to-digital conversion unit to obtain digital signals of the detection voltage and the detection temperature. The software processing unit uses the digital signal to query in the preset truth table to obtain the vehicle battery health state corresponding to the detection voltage and the detection temperature combination.
[0066] In some implementations, if the processing power or storage capacity of the SoC is limited, the SoC may also transmit the acquired detection voltage and detection temperature to the MCU, and the MCU may determine the battery health status detection result of the SoC based on the detection voltage and detection temperature received from the SoC.
[0067] As mentioned above, the charging chip in the charging unit may malfunction or fail. At this time, if the MCU has determined that the health status of the vehicle battery is false, it needs to control the charging unit to stop charging and discharging the vehicle battery. The control signal may not be transmitted to the charging unit due to the malfunction or failure of the charging chip, resulting in the inability to stop charging and discharging the vehicle battery in an unhealthy state in time, which in turn brings safety hazards.
[0068] In view of this, in the technical solution provided in the embodiment of the present application, a power supply switch can also be provided between the charging unit and its power supply, and the power supply switch is controlled by the MCU. If the MCU determines that the vehicle battery is in a healthy state, the power supply switch is controlled to be closed, and the power supply normally supplies power to the charging unit. On the contrary, if the MCU determines that the vehicle battery is in an unhealthy state, the power supply switch is controlled to be disconnected, and the charging unit stops working at this time, thereby avoiding the potential safety hazard of being unable to stop charging and discharging the vehicle battery due to a fault or failure of the charging chip.
[0069] Figure 4 is a flow chart of another vehicle battery monitoring method provided in an embodiment of the present application. Figure 4 Steps S401 to S405 in the embodiment shown are Figure 2 Steps S201 to S205 in the illustrated embodiment are substantially the same and will not be described in detail herein. Figure 4 As shown, the method also includes the following steps:
[0070] In step S406, the power supply switch of the charging unit is controlled to be closed.
[0071] In step S407 , in response to determining that at least one of the first health state, the second health state, and the third health state is false, controlling the power supply switch of the charging unit to be turned off.
[0072] In some embodiments of the present application, if it is determined that the vehicle battery is in a healthy state, the MCU may control the power supply switch of the charging unit to close. It is understandable that if the power supply switch is already in a closed state, the MCU may not perform any operation on the power supply switch.
[0073] On the other hand, if at least one of the first health state, the second health state, and the third health state is determined to be false, the vehicle battery may be in an abnormal state, that is, an unhealthy state. At this time, the MCU can control the power supply switch of the charging unit to be disconnected so that the charging unit stops charging or discharging the vehicle battery.
[0074] In this way, the charging unit can be promptly controlled to stop charging and discharging operations when an abnormality is determined in the vehicle battery, thereby avoiding the safety hazard to the vehicle battery caused by the inability to stop charging and discharging operations due to failure of the charging chip.
[0075] Figure 5 is a flow chart of another vehicle battery monitoring method provided in an embodiment of the present application. Figure 5 Steps S501 to S507 in the illustrated embodiment are similar to Figure 4 Steps S401 to S407 in the illustrated embodiment are substantially the same and will not be described in detail herein. Figure 5 As shown, the method also includes the following steps:
[0076] In step S508, the abnormal unit is updated.
[0077] Among them, the abnormal unit is an on-board control unit, an on-board system on chip or a charging unit whose output health status is false.
[0078] In step S509 , the first health state, the second health state, and the third health state are determined again using the normal cells and the updated abnormal cells.
[0079] Among them, the normal unit is an on-board control unit, an on-board system-on-chip or a charging unit whose output health status is true.
[0080] In step S510 , in response to determining that the re-determined first health state, second health state, and third health state are all true, controlling a power supply switch of the charging unit to be closed.
[0081] In some embodiments of the present application, after the power supply switch of the control charging unit is turned off, the MCU can also update the abnormal unit. In one example, if the abnormal unit is the SoC or the charging unit, the MCU can first check whether the communication link between itself and the SoC and the charging unit is normal, and if so, repair and update the communication link, and then determine whether the repaired and updated communication link is normal.
[0082] If the communication link between the MCU and the SoC and the charging unit is normal, and the SoC or the charging unit is still an abnormal unit, the MCU can prompt that the SoC or the charging unit is malfunctioning, so that the user can check and update the SoC and the charging unit.
[0083] In another example, if the abnormal unit is the MCU itself, the user may be directly prompted to detect and update the MCU.
[0084] After the abnormal unit is updated, the MCU can use the normal unit and the updated abnormal unit to re-determine the first healthy state, the second healthy state, and the third healthy state. If the re-determined first healthy state, the second healthy state, and the third healthy state are all true, the power supply switch of the charging unit can be controlled to close.
[0085] Figure 6 is a structural block diagram of a system for vehicle battery health monitoring provided by an embodiment of the present application. Figure 6 As shown, the health monitoring system may include a charging unit, a vehicle battery, an MCU, a SoC, and a power switch.
[0086] Among them, the charging unit performs conventional voltage detection and temperature detection on the vehicle battery and generates a battery health status, which is transmitted to the MCU as a status indication. Both the MCU and the SoC include an ADC (Analog Digital Convert) unit and a software processing unit. The ADC unit receives the battery voltage detected by the voltage detection circuit and the battery temperature detected by the temperature detection circuit and converts them into digital signals. The software processing unit compares the digital signals of voltage and temperature with a preset truth table to determine the battery health status corresponding to the voltage and temperature combination.
[0087] The SoC can send the determined health status to the MCU, and the software processing module of the MCU can determine whether the battery health status determined by itself, the battery health status determined by the SoC, and the battery health status determined by the charging unit are all true. If so, it is determined that the battery is in a healthy state. Otherwise, if at least one health status is false, the vehicle battery may be in an abnormal state. At this time, the MCU can control the power switch to turn off, so that the charging unit stops charging and discharging the vehicle battery.
[0088] That is to say, Figure 6 In the system shown, a voltage detection circuit can be set to convert the voltage of the vehicle battery to an input range acceptable to the ADC of the MCU and SoC, and a temperature detection circuit can be set to convert the temperature of the vehicle battery to an input range acceptable to the ADC of the MCU and SoC.
[0089] The power switch can be implemented by a triode or a field effect transistor, etc., and is used to control the power input. When the vehicle battery may be in an abnormal state, the MCU can use the power switch to disconnect the input power of the charging unit in time, thereby avoiding the risk of charging and discharging caused by the MCU sending an enable signal to the charging unit and being unable to stop the charging and discharging operation when the charging chip in the charging unit fails or fails.
[0090] The ADC of MCU and SoC jointly collects battery voltage and temperature for health monitoring, and the software processing unit monitors battery health data for management. Data can be exchanged between MCU and SoC through SPI (Serial Peripheral Interface), UART (Universal Asynchronous Receiver / Transmitter) or USB (Universal Serial Bus) communication ports.
[0091] The charging unit can detect a temperature range of -10°C to 50°C, and a voltage range below 5.8V. That is, if the vehicle battery temperature detected by the charging unit is greater than -10°C and less than 50°C, and the voltage is less than 5.8V, the charging unit determines that the health state of the vehicle battery is true. Otherwise, the charging unit determines that the health state of the vehicle battery is false.
[0092] On the other hand, the MCU and SoC can detect a temperature range of -40°C to 105°C, and a voltage range of 0 to 6.6V. According to the type and model of the vehicle battery, a reasonable health status temperature range and voltage range can be set. In one example, for a wide temperature nickel-hydrogen battery, the health status temperature range can be set to -10°C to 50°C, and the health status voltage range can be set to 4.8V to 5.8V. If the battery temperature detected by the MCU and SoC is greater than -10°C and less than 50°C, and the voltage is greater than 4.8V and less than 5.8V, the MCU and SoC determine that the health status of the vehicle battery is true. Otherwise, the MCU and SoC determine that the health status of the vehicle battery is false.
[0093] If any of the charging unit, MCU and SoC detects that the health status of the vehicle battery is false, it is necessary to turn off the power switch and suspend the charging and discharging operations on the vehicle battery. For example, if the temperature detected by the MCU or SoC is not within the range of -10°C to 50°C, or the voltage detected by the MCU or SoC is lower than 4.8V, it is necessary to check the function of the MCU or SoC and the signal transmission link. For another example, if the health status returned by the charging unit is false, it is necessary to check the function of the charging unit and the signal transmission link.
[0094] In the embodiment of the present application, the MCU is selected to perform the operation of integrating multiple battery health states to determine whether the battery is healthy and controlling the closing of the power switch and port of the charging unit. This is because the MCU has many expandable interfaces. It can be understood that when the SoC has a spare interface (this usually increases the cost of the SoC), the SoC can also be selected to perform the above-mentioned vehicle battery monitoring method. That is, the SoC receives the battery health state determined by the MCU and the battery health state determined by the charging unit, and the SoC itself determines the battery health state based on the detection voltage and the detection temperature. If the SoC determines that each health state is true, the power switch is controlled to close. Otherwise, if the SoC determines that at least one of the health states is false, the power switch is controlled to be disconnected.
[0095] By adopting the technical solution provided in the embodiment of the present application and using multiple monitoring units to monitor the battery, it is possible to avoid battery health risks caused by the failure of a single monitoring chip, ensure the health of the vehicle battery, and guarantee driving safety in emergency situations.
[0096] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0097] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0098] Figure 7 Schematic diagram of a vehicle battery monitoring device provided in an embodiment of the present application. Figure 7 As shown, the device comprises:
[0099] The vehicle-mounted micro control unit 701 is configured to obtain a detection voltage of the vehicle battery from a voltage detection circuit, and to obtain a detection temperature of the vehicle battery from a temperature detection circuit.
[0100] The onboard micro control unit 701 is further configured to determine a first health state of the vehicle battery based on the detected voltage and the detected temperature.
[0101] The vehicle-mounted system-on-chip 702 is configured to obtain a detection voltage of the vehicle battery from a voltage detection circuit and to obtain a detection temperature of the vehicle battery from a temperature detection circuit.
[0102] The vehicle-mounted system-on-chip 702 is further configured to determine a second health state of the vehicle battery based on the detected voltage and the detected temperature.
[0103] The charging unit 703 is configured to determine a third health state of the vehicle battery.
[0104] The onboard micro control unit 701 is further configured to receive the second health state and the third health state, and determine that the vehicle battery is in a healthy state if it is determined that the first health state, the second health state and the third health state are all true.
[0105] According to the technical solution provided in the embodiment of the present application, the detection voltage and detection temperature of the vehicle battery are obtained through the on-board microcontroller unit, and a first health state is determined based on the detection voltage and the detection temperature, and a second health state is determined by the on-board system-on-chip based on the detection voltage and the detection temperature, and a third health state is determined by the charging unit. Under the condition that the first health state, the second health state and the third health state are all true, it is determined that the vehicle battery is in a healthy state, and multiple vehicle battery health state monitoring paths are provided, which improves the reliability of vehicle battery health monitoring and thereby improves the safety of the vehicle.
[0106] In some embodiments, the voltage detection circuit includes a first voltage divider circuit constructed based on a first voltage divider resistor, and the temperature detection circuit includes a second voltage divider circuit constructed based on a temperature sensitive element and a second voltage divider resistor; the detection voltage is the output voltage of the first voltage divider circuit, and the detection temperature is the temperature corresponding to the output voltage of the second voltage divider circuit.
[0107] In some embodiments, determining the health status of a vehicle battery based on a detection voltage and a detection temperature includes: in response to determining that the detection voltage and the detection temperature correspond to a preset voltage-temperature health status combination, determining that the health status of the vehicle battery is true; in response to determining that the detection voltage and the detection temperature do not correspond to a preset voltage-temperature health status combination, determining that the health status of the vehicle battery is false.
[0108] In some embodiments, determining that a detection voltage and a detection temperature correspond to a preset voltage-temperature health state combination includes: obtaining a preset truth table, the preset truth table includes health states corresponding to different voltage-temperature combinations; in response to determining that a health state corresponding to a voltage-temperature combination constituted by the detection voltage and the detection temperature in the preset truth table is true, determining that the detection voltage and the detection temperature correspond to the preset voltage-temperature health state combination; determining that the detection voltage and the detection temperature do not correspond to the preset voltage-temperature health state combination, includes: obtaining a preset truth table, the preset truth table includes health states corresponding to different voltage-temperature combinations; in response to determining that a health state corresponding to a voltage-temperature combination constituted by the detection voltage and the detection temperature in the preset truth table is false, determining that the detection voltage and the detection temperature do not correspond to the preset voltage-temperature health state combination.
[0109] In some embodiments, after determining that the vehicle battery is in a healthy state, it also includes: controlling the power supply switch of the charging unit to close; after determining the first healthy state, the second healthy state, and the third healthy state, it also includes: in response to determining that at least one of the first healthy state, the second healthy state, and the third healthy state is false, controlling the power supply switch of the charging unit to disconnect.
[0110] In some embodiments, after the power supply switch of the charging unit is controlled to be disconnected, it also includes: updating the abnormal unit, the abnormal unit is an on-board control unit, an on-board system-on-chip, or a charging unit whose output health status is false; using the normal unit and the updated abnormal unit to re-determine the first health status, the second health status, and the third health status, the normal unit is an on-board control unit, an on-board system-on-chip, or a charging unit whose output health status is true; in response to determining that the re-determined first health status, the second health status, and the third health status are all true, controlling the power supply switch of the charging unit to be closed.
[0111] In some embodiments, the vehicle-mounted microcontroller unit and the vehicle-mounted system-on-chip respectively include an analog-to-digital conversion unit, the detection voltage is the voltage after the output voltage of the first voltage divider circuit is analog-to-digital converted, and the detection temperature is the temperature after the temperature corresponding to the output voltage of the second voltage divider circuit is analog-to-digital converted.
[0112] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0113] Figure 8 Schematic diagram of an electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device 8 of this embodiment includes: a processor 801, a memory 802, and a computer program 803 stored in the memory 802 and executable on the processor 801. When the processor 801 executes the computer program 803, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 801 executes the computer program 803, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0114] The electronic device 8 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 8 may include, but is not limited to, a processor 801 and a memory 802. Those skilled in the art will appreciate that Figure 8 The electronic device 8 is merely an example and does not limit the electronic device 8 . The electronic device 8 may include more or fewer components than those shown in the figure, or different components.
[0115] The processor 801 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0116] The memory 802 may be an internal storage unit of the electronic device 8, for example, a hard disk or memory of the electronic device 8. The memory 802 may also be an external storage device of the electronic device 8, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 8. The memory 802 may also include both an internal storage unit of the electronic device 8 and an external storage device. The memory 802 is used to store computer programs and other programs and data required by the electronic device.
[0117] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0118] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0119] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A vehicle battery monitoring method, characterized in that: The method is executed by a vehicle-mounted microcontroller unit and is used to monitor a vehicle battery, wherein the vehicle battery is a low-voltage battery in the vehicle, and the low-voltage battery in the vehicle includes a controller battery and other storage batteries in the vehicle; The method comprises: Acquire a detection voltage of the vehicle battery from a voltage detection circuit, and acquire a detection temperature of the vehicle battery from a temperature detection circuit; determining a first state of health of the vehicle battery based on the detected voltage and the detected temperature; Acquire a second health state of the vehicle battery from the vehicle-mounted system-on-chip, where the second health state is determined by the vehicle-mounted system-on-chip based on a detected voltage and a detected temperature of the vehicle battery; obtaining a third health state of the vehicle battery from a charging unit of the vehicle battery; In response to determining that at least one of the first health state, the second health state, and the third health state is false, controlling a power supply switch of the charging unit to be turned off; In response to determining that the first health state, the second health state, and the third health state are all true, determining that the vehicle battery is in a healthy state, and controlling a power supply switch of the charging unit to close; Among them, the third health state of the vehicle battery is determined by the charging unit in the following manner: the charging unit obtains the detection voltage of the vehicle battery from the voltage detection circuit, and obtains the detection temperature of the vehicle battery from the temperature detection circuit; in response to determining that the detection voltage is within a preset health voltage range and the detection temperature is within a preset health temperature range, the third health state of the vehicle battery is determined to be true; otherwise, the third health state is determined to be false.
2. The method according to claim 1, characterized in that The voltage detection circuit includes a first voltage-dividing circuit constructed based on a first voltage-dividing resistor, and the temperature detection circuit includes a second voltage-dividing circuit constructed based on a temperature-sensitive element and a second voltage-dividing resistor; The detection voltage is the output voltage of the first voltage divider circuit, and the detection temperature is the temperature corresponding to the output voltage of the second voltage divider circuit.
3. The method according to claim 1, characterized in that: Determine the health status of the vehicle battery based on the detected voltage and detected temperature, including: In response to determining that the detected voltage and the detected temperature correspond to a preset voltage-temperature state-of-health combination, determining that the vehicle battery state-of-health is true; In response to determining that the detected voltage and the detected temperature do not correspond to a preset voltage-temperature state-of-health combination, a state-of-health of the vehicle battery is determined to be false.
4. The method according to claim 3, characterized in that: The determining that the detection voltage and the detection temperature correspond to a preset voltage-temperature health state combination includes: Obtaining a preset truth table, wherein the preset truth table includes health states corresponding to different voltage-temperature combinations; In response to determining that the health state corresponding to the voltage-temperature combination formed by the detection voltage and the detection temperature in the preset truth table is true, determining that the detection voltage and the detection temperature correspond to a preset voltage-temperature health state combination; The determining that the detected voltage and the detected temperature do not correspond to a preset voltage-temperature health state combination includes: Obtaining a preset truth table, wherein the preset truth table includes health states corresponding to different voltage-temperature combinations; In response to determining that a health state corresponding to a voltage-temperature combination formed by the detection voltage and the detection temperature in the preset truth table is false, it is determined that the detection voltage and the detection temperature do not correspond to a preset voltage-temperature health state combination.
5. The method according to claim 1, characterized in that After controlling the power supply switch of the charging unit to be turned off, the method further includes: Updating an abnormal unit, wherein the abnormal unit is an on-board control unit, an on-board system-on-chip, or a charging unit that outputs a false health status; Determine the first health state, the second health state, and the third health state again using a normal unit and an updated abnormal unit, wherein the normal unit is an on-board control unit, an on-board system-on-chip, or a charging unit that outputs a true health state; In response to determining that the re-determined first health state, second health state, and third health state are all true, controlling a power supply switch of the charging unit to close.
6. The method according to claim 2, characterized in that The on-board microcontroller unit and the on-board system-on-chip respectively include an analog-to-digital conversion unit, the detection voltage is the voltage obtained by analog-to-digital conversion of the output voltage of the first voltage divider circuit, and the detection temperature is the temperature obtained by analog-to-digital conversion of the temperature corresponding to the output voltage of the second voltage divider circuit.
7. A vehicle battery monitoring device, characterized in that: The vehicle battery is a low-voltage battery in the vehicle, and the low-voltage battery in the vehicle includes a controller battery and other storage batteries in the vehicle; The device comprises: an on-vehicle micro control unit, configured to obtain a detection voltage of the vehicle battery from a voltage detection circuit, and to obtain a detection temperature of the vehicle battery from a temperature detection circuit; and configured to determine a first health state of the vehicle battery based on the detection voltage and the detection temperature; a vehicle-mounted system-on-chip, configured to obtain a detection voltage of the vehicle battery from a voltage detection circuit, obtain a detection temperature of the vehicle battery from a temperature detection circuit; and configured to determine a second health state of the vehicle battery based on the detection voltage and the detection temperature; a charging unit configured to determine a third state of health of the vehicle battery; The vehicle-mounted micro control unit is further configured to receive the second health state and the third health state, and control the power supply switch of the charging unit to be disconnected if at least one of the first health state, the second health state and the third health state is determined to be false; and determine that the vehicle battery is in a healthy state and control the power supply switch of the charging unit to be closed if the first health state, the second health state and the third health state are all determined to be true; Among them, the third health state of the vehicle battery is determined by the charging unit in the following manner: the charging unit obtains the detection voltage of the vehicle battery from the voltage detection circuit, and obtains the detection temperature of the vehicle battery from the temperature detection circuit; in response to determining that the detection voltage is within a preset health voltage range and the detection temperature is within a preset health temperature range, the third health state of the vehicle battery is determined to be true; otherwise, the third health state is determined to be false.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Electric bicycle battery monitoring and management system
CN113552486A
KR20200107813A