A low-voltage power supply monitoring method, system and vehicle
By using battery sensors to monitor the charging current and wake up the vehicle network when the vehicle network is in sleep mode, the problem of battery overcharging in the vehicle's sleep state is solved, and timely protection of the battery is achieved.
Patent Information
- Application Number
- CN202111519383.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-13
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2041-12-13
AI Technical Summary
In existing technologies, the charging current of the low-voltage power supply cannot be monitored in a timely manner when the vehicle is in a dormant state, which may cause the battery to be damaged due to overcharging.
By using battery sensors to monitor the charging current when the vehicle network is in sleep mode, and waking up the vehicle network when the charging current is abnormal to implement protective measures, the battery can be prevented from being damaged.
It enables timely protection of the battery during the vehicle's network sleep state, preventing battery damage caused by overcharging.
Smart Images

Figure CN115107519B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and in particular to a method, system and vehicle for monitoring low-voltage power supplies. Background Technology
[0002] A vehicle's low-voltage power supply is typically a 12V battery, which powers the vehicle's low-voltage system. With advancements in vehicle technology, the number of electrical devices on vehicles is increasing, placing greater demands on the application and management of 12V batteries.
[0003] New energy vehicles replace the traditional method of using an engine to drive a generator to charge the battery with a method that uses a direct current (DC) / DC converter circuit to convert the energy of the power battery pack into low voltage to charge the battery, which brings convenience to the entire vehicle. However, currently, vehicles do not monitor the low-voltage power supply when in sleep mode. If the DC / DC converter continues to charge the battery at high voltage due to a fault, the entire vehicle network is in a sleep state and cannot be effectively controlled in time, which may lead to battery damage. Summary of the Invention
[0004] To address the aforementioned technical problems in the existing technology, this application provides a low-voltage power supply monitoring method, system, and vehicle that can monitor the battery charging current when the vehicle network is in sleep mode, and can wake up the vehicle network when the battery charging current is abnormal, so as to promptly perform protective control on the battery and avoid battery damage.
[0005] Firstly, this application provides a method for monitoring low-voltage power supplies. This method can be applied to a controller on a vehicle, which can be a Body Control Module (BCM) or a Vehicle Control Unit (VCU). Alternatively, it can be implemented using both the BCM and the VCU. In a typical implementation, the controller is the vehicle's VCU, and the method includes the following steps: when the low-voltage power supply monitoring startup conditions are met, controlling the battery sensor to monitor the battery charging current while the vehicle network is in sleep mode; being woken up when a wake-up signal is received from the battery sensor; and waking up the vehicle network when the charging current is determined to be abnormal based on the detection result of the charging current sent by the battery sensor.
[0006] Using the method provided in this application, when the low-voltage power supply monitoring startup conditions are met, the battery sensor is controlled to activate its battery monitoring function when the vehicle network is in sleep mode. When the vehicle network is in sleep mode, the battery sensor can monitor the battery charging current. The battery sensor is awakened by a wake-up signal and, based on the detected charging current, determines that the current charging current is abnormal, thus waking up the vehicle network. Once the vehicle network is awakened, battery protection measures can be implemented. These protection measures can be existing and are not limited in this application. Therefore, using the method of this application, even when the vehicle network is in sleep mode, the battery can be protected in a timely manner to prevent damage due to overcharging.
[0007] In one possible implementation, when the low-voltage power supply monitoring startup conditions are met, controlling the battery sensor to monitor the battery charging current during vehicle network sleep mode specifically includes:
[0008] When the vehicle power supply is in shutdown mode, the communication function with the battery sensor is normal, and the diagnostic function with the battery sensor is normal, it is determined that the vehicle meets the start-up conditions for low-voltage power supply monitoring, and the battery sensor is controlled to monitor the charging current of the battery when the vehicle network is in sleep mode.
[0009] In one possible implementation, before controlling the battery sensor to monitor the battery charging current when the vehicle network is in sleep mode, when the low-voltage power supply monitoring start-up conditions are met, the method further includes:
[0010] Once it is determined from the detection result of the charging current that the charging current is greater than the first threshold value and the duration is at least the first time interval, it is further determined whether the vehicle meets the start-up conditions of the low-voltage power supply monitoring.
[0011] In one possible implementation, the control battery sensor monitors the battery charging current when the vehicle network is in sleep mode, specifically including:
[0012] Write the first threshold value to the battery sensor to control the battery sensor to start monitoring the battery when the vehicle network is in sleep mode.
[0013] In one possible implementation, writing the first threshold value to the battery sensor specifically includes:
[0014] Determine whether the signal value of the first signal is a first preset value. If so, execute the first diagnostic service and write the first threshold value into the battery sensor. The first preset value is used to characterize that the battery sensor does not enable the monitoring function of the battery when the vehicle network is in sleep mode.
[0015] After the first diagnostic service is completed, the second diagnostic service is executed to read the first threshold value stored in the battery sensor;
[0016] When the first threshold value stored in the battery sensor read through the second diagnostic service is consistent with the first threshold value written to the battery sensor, it is determined that the first threshold value was successfully written, and the signal value of the first signal is set to a second preset value. The second preset value is used to indicate that the battery sensor has enabled the monitoring function of the battery when the vehicle network is in sleep mode.
[0017] In one possible implementation, the method further includes:
[0018] When the first threshold value stored in the battery sensor read through the second diagnostic service is inconsistent with the first threshold value written to the battery sensor, the first diagnostic service and the second diagnostic service are re-executed.
[0019] When the number of times the first threshold value stored in the battery sensor read through the second diagnostic service is inconsistent with the first threshold value written to the battery sensor exceeds a second preset number, it is determined that the first threshold value writing has failed, and a first fault code is recorded. The first fault code is used to record the first threshold value writing failure.
[0020] In one possible implementation, the method further includes:
[0021] After the vehicle network is woken up, the battery sensor is controlled to disable its monitoring function of the battery when the vehicle network is in sleep mode.
[0022] In one possible implementation, controlling the battery sensor to disable its monitoring function of the battery when the vehicle network is in sleep mode specifically includes:
[0023] When the signal value of the first signal is determined to be the second preset value, the second threshold value is written to the battery sensor to control the battery sensor to turn off the monitoring function of the battery when the vehicle network is in sleep mode.
[0024] In one possible implementation, writing the second threshold value to the battery sensor specifically includes:
[0025] Perform a third diagnostic service to write the second threshold value into the battery sensor;
[0026] After the third diagnostic service is completed, the fourth diagnostic service is executed to read the second threshold value stored in the battery sensor;
[0027] When the second threshold value stored in the battery sensor read by the fourth diagnostic service is consistent with the second threshold value written to the battery sensor, it is determined that the second threshold value was successfully written, and the signal value of the first signal is set to the first preset value.
[0028] In one possible implementation, the method further includes:
[0029] When the second threshold value stored in the battery sensor read through the fourth diagnostic service is inconsistent with the second threshold value written to the battery sensor, the third diagnostic service and the fourth diagnostic service are re-executed.
[0030] When the number of times the second threshold value stored in the battery sensor read by the third diagnostic service is inconsistent with the second threshold value written to the battery sensor exceeds a third preset number, it is determined that the second threshold value writing has failed, and a second fault code is recorded. The second fault code is used to record the second threshold value writing failure.
[0031] Secondly, this application provides a low-voltage power supply monitoring system for detecting the charging current of a vehicle's battery. The battery, also known as the vehicle's low-voltage battery, typically has a voltage of 12V. The low-voltage power supply monitoring system includes the battery, a memory, a controller, and a battery sensor. The battery sensor is electrically connected to the battery. When an abnormality in the battery's charging current is detected, the battery sensor sends a wake-up signal to the controller and also sends the detection result of the charging current to the controller.
[0032] The controller and battery sensors can communicate via LIN (Local Interconnect Network). The controller can use LIN to diagnose the battery sensors and modify their software parameters. A computer program is stored in the memory; when executed by the controller, this program implements the methods provided by any of the above implementation approaches.
[0033] The technical solution provided in this application enables the battery sensor to monitor the battery charging current when the vehicle network is in sleep mode. When the vehicle network is in sleep mode, the battery sensor can monitor the battery charging current. When the charging current is abnormal, the controller can be woken up in time and the detection result of the charging current can be sent to the controller. When the controller determines that the current charging current is abnormal, it wakes up the vehicle network.
[0034] Once the vehicle network is activated, battery protection measures can be implemented. These protection measures can be those found in existing technologies and will not be elaborated upon here. Therefore, the technical solution of this application can protect the battery in a timely manner, preventing damage due to overcharging.
[0035] In one possible implementation, the controller is either a Body Control Module (BCM) or a Vehicle Control Unit (VCU). Alternatively, it can be implemented using both a BCM and a VCU.
[0036] Thirdly, this application also provides a vehicle that includes a monitoring system for the low-voltage power supply provided in the above implementation.
[0037] The vehicle includes a low-voltage power supply monitoring system. The controller of this system, when determining that the activation conditions for low-voltage power supply monitoring are met, controls the battery sensors to monitor the battery charging current while the vehicle network is in sleep mode. Therefore, when the vehicle network is in sleep mode, the battery sensors can promptly wake up the controller when an abnormal charging current is detected and send the detected charging current result to the controller. The controller, upon determining the current charging current is abnormal, wakes up the vehicle network. Once the vehicle network is awakened, battery protection measures can be implemented, thus enabling the vehicle to protect the battery promptly and prevent damage due to overcharging. Attached Figure Description
[0038] Figure 1 This is a schematic diagram of a vehicle's power supply system.
[0039] Figure 2 A schematic diagram of a low-voltage power supply monitoring system provided in an embodiment of this application;
[0040] Figure 3 A schematic diagram of another low-voltage power supply monitoring system provided in an embodiment of this application;
[0041] Figure 4 A flowchart illustrating a low-voltage power supply monitoring method provided in an embodiment of this application;
[0042] Figure 5A A flowchart illustrating the method for enabling the abnormal charging current wake-up function provided in this application embodiment;
[0043] Figure 5B A flowchart illustrating the method for disabling the abnormal charging current wake-up function provided in this application embodiment;
[0044] Figure 6 This is a schematic diagram of a vehicle provided in an embodiment of this application. Detailed Implementation
[0045] To enable those skilled in the art to better understand the present application, the application scenarios of the present application are described below.
[0046] See Figure 1 The figure is a schematic diagram of a vehicle's power system.
[0047] Currently, the power system 10 of new energy vehicles generally includes a power battery pack 11, a storage battery 12, and a DC / DC converter 13.
[0048] The power battery pack 11 is used to power the vehicle's electric motor. The storage battery 12, which is the vehicle's low-voltage power source, is used to power the vehicle's low-voltage system.
[0049] DC / DC converter 13 is used to convert the high-voltage DC power output from power battery pack 11 into low-voltage DC power to charge battery 12.
[0050] Common vehicle power modes include ON (on), OFF (off), and other settings. ON indicates that the vehicle is powered on, while OFF indicates that the vehicle is in sleep mode.
[0051] The battery continues to charge even when the vehicle's power mode is OFF.
[0052] Currently, there is no monitoring system to monitor the charging current of the battery when the vehicle is in sleep mode. If the DC / DC converter continues to charge the battery with a large current due to a fault, the vehicle network is in a dormant state after the vehicle is in sleep mode, which cannot be detected and effectively controlled in time, which may lead to battery damage.
[0053] To address the above issues, this application provides a low-voltage power supply monitoring method, system, and vehicle. The vehicle controller activates the battery sensor's monitoring function during vehicle network sleep mode. While the vehicle network is in sleep mode, the battery sensor continues to monitor the battery's charging current. If the charging current is abnormal, the sensor can promptly wake up the controller and send the detection result to it. When the controller determines that the current charging current is abnormal, it wakes up the vehicle network, enabling the network to protect the battery in a timely manner and prevent damage due to overcharging.
[0054] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
[0055] The terms "first," "second," etc., used in this application description are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.
[0056] In this application, unless otherwise expressly specified and limited, the term "connection" shall be interpreted broadly. For example, "connection" may be a fixed connection, a detachable connection, or an integral part; it may be a direct connection or an indirect connection through an intermediate medium.
[0057] In this application, vehicle hibernation refers to putting the entire controller inside the vehicle into a low-power state when the vehicle is not in use, in order to reduce power consumption. When the vehicle is in hibernation, the controller inside the vehicle only maintains simple monitoring functions and waits to be woken up, while some power-consuming functions are turned off.
[0058] This application provides a monitoring system for low-voltage power supplies, which will be described in detail below with reference to the accompanying drawings.
[0059] See Figure 2 The figure is a schematic diagram of a low-voltage power supply monitoring system provided in an embodiment of this application.
[0060] The low-voltage power supply monitoring system shown in the diagram includes: battery 12, controller 201, and battery sensor 202.
[0061] Battery sensor 202 is electrically connected to battery 12.
[0062] In the prior art, when the vehicle network is in sleep mode, the EBS also enters sleep mode, resulting in no monitoring system monitoring the charging current of the battery. However, the controller 201 of this application controls the battery sensor 202 to activate the monitoring function of the battery 12's charging current during vehicle network sleep mode when the vehicle meets the startup conditions for low-voltage power supply monitoring.
[0063] When the vehicle's power mode is OFF and the vehicle network is in sleep mode, the battery sensor 202 detects the charging current of the battery 12. When the battery sensor 202 determines that the charging current of the battery 12 is abnormal, it sends a wake-up signal to the controller 201 and sends the detection result of the charging current to the controller 201.
[0064] When the controller 201 is woken up by the wake-up signal, it wakes up the vehicle network when it determines that the charging current is abnormal based on the detection result of the charging current.
[0065] Once the vehicle network is activated, battery protection measures can be implemented. These protection measures can be those currently available in the technology, and will not be elaborated upon here. Therefore, by utilizing the technical solution provided in this application, timely battery protection can be achieved, preventing battery damage due to overcharging.
[0066] The controller in the above embodiments of this application can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), a digital signal processor (DSP), or a combination thereof. The PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof; this application does not specifically limit the type of controller.
[0067] The following explanation will focus on the specific implementation method.
[0068] See Figure 3 The figure is a schematic diagram of another low-voltage power supply monitoring system provided in an embodiment of this application.
[0069] In this embodiment, the controller 201 and the battery sensor 202 are connected via LIN (Local Interconnect Network).
[0070] LIN is a serial network transmission protocol used for communication between components within a vehicle.
[0071] In practical applications, the controller 201 can be a standalone controller, a body control module (BCM) or a vehicle control unit (VCU), or it can be implemented by the BCM and VCU working together. This application embodiment does not specifically limit this. The following description takes the controller 201 as a BCM as an example.
[0072] The functions of each module are explained below. The main functions of BCM include:
[0073] Wake up the entire vehicle network;
[0074] BCM can be woken up by a wake-up signal sent by EBS;
[0075] BCM can mobilize the LIN signal of EBS in different power modes and route it to the Controller Area Network (CAN) bus;
[0076] The BCM can determine whether to wake up the vehicle network based on the received status of the low-voltage battery.
[0077] BCM can determine the overall vehicle power status;
[0078] BCM can modify EBS parameters through LIN diagnostics.
[0079] The main functions of EBS include:
[0080] Determine if the charging current of the vehicle is abnormal in the sleep state and be able to wake up the BCM;
[0081] It can detect the status of low-voltage batteries and send the data to the BCM via LIN communication;
[0082] It can be used by LIN diagnostics to modify software parameters;
[0083] It has a timer function.
[0084] The working process of this low-voltage power supply monitoring system is explained in detail below.
[0085] Before the vehicle enters sleep mode, the BCM determines whether the vehicle meets the conditions for enabling the low-voltage power supply monitoring function. If the conditions are met, the BCM modifies the EBS software parameters through LIN diagnostics to enable the EBS to monitor the battery charging current when the vehicle network is in sleep mode.
[0086] After the vehicle network goes into sleep mode, the EBS begins to periodically detect the charging current of the low-voltage battery. When the EBS detects an abnormality in the charging current of the low-voltage battery, the EBS sends a wake-up signal to wake up the BCM.
[0087] The BCM initiates signal dispatching for the EBS and determines whether there is a genuine charging anomaly in the low-voltage battery, then wakes up the vehicle network. After completing these operations, the BCM disables the EBS monitoring function via LIN diagnostics and simultaneously sends a sleep signal to put the EBS into hibernation mode.
[0088] After the vehicle's power mode goes ON-OFF again, the BCM will re-evaluate the situation.
[0089] When the EBS sends a wake-up signal to the BCM, and the BCM is not woken up (the EBS signal is not scheduled), the EBS needs to time a second time interval. If the charging current is still abnormal after the timer expires, the EBS sends a wake-up signal to the BCM again. The number of times the wake-up signal is sent repeatedly is less than or equal to a first preset number. This embodiment does not specifically limit the first preset number; when the preset number of wake-up signals has been sent and the BCM still does not respond, the repeated sending of the wake-up signal stops.
[0090] The following explains the conditions for enabling the low-voltage power supply monitoring function.
[0091] The activation conditions must be met: a) The vehicle's power mode is OFF; b) The communication function between BCM and EBS is normal; c) The diagnostic function between BCM and EBS is normal.
[0092] When the BCM detects that the vehicle's power mode is OFF, if conditions b or c are not met, the BCM will not execute the diagnostic service for enabling the function. When the power mode is OFF, the BCM continuously checks conditions b and c before going to sleep. When the BCM determines that both b and c are met before going to sleep, it will start executing the diagnostic service for enabling the function.
[0093] The following explains the conditions for disabling the low-voltage power supply monitoring function.
[0094] When the low-voltage power supply monitoring function is enabled, the BCM should disable the wake-up function if any of the following conditions are met:
[0095] d. The vehicle power mode is not OFF; e. The BCM is woken up by other modules.
[0096] The following details the process of enabling the active wake-up function in case of abnormal charging current.
[0097] In the solution provided in this application embodiment, the threshold values for the abnormal charging current wake-up function include: a first threshold value, corresponding to ChargeCurrentWkUpThrd_1, and a second threshold value, corresponding to ChargeCurrentWkUpThrd_2. The first and second threshold values are preset and stored, and can be called by the BCM. The EBS is used to compare the charging current with the threshold values.
[0098] The first threshold value is used as a criterion for judging whether the charging current is abnormal.
[0099] The second threshold can be set to infinity, which ensures that the charging current will never exceed the second threshold. This prevents the EBS from judging the charging current as abnormal and sending a wake-up signal to the BCM when comparing the charging current with the second threshold.
[0100] The BCM first determines whether the charging current exceeds a first threshold value and whether the duration is at least the first time interval. If this condition is not met, it returns to continue the determination. If it exceeds the threshold value, it continues to activate the active wake-up function for abnormal charging current of the EBS.
[0101] The first time interval can be set according to the actual situation, for example, it can be set to 1 minute. This application embodiment does not make specific limitations. The first time interval can be calibrated by BCM.
[0102] When the BCM determines that the charging current is less than the first threshold value and the duration is at least the first time interval, the BCM continues to determine whether the vehicle meets the function activation conditions for low-voltage power supply monitoring.
[0103] If the condition is not met, continue the evaluation.
[0104] When the BCM determines that the vehicle meets the conditions for enabling the low-voltage power supply monitoring function, it further determines whether the signal value of the first signal is 0.
[0105] The first signal is used to reflect whether the active wake-up function is enabled when the current charging current is abnormal. The signal value of the first signal can be a first preset value or a second preset value.
[0106] The first preset value indicates that the second threshold value has been successfully written. At this time, EBS does not enable the monitoring function of the battery when the vehicle network is in sleep mode, and the first preset value can be set to 0.
[0107] The second preset value indicates that the first threshold value was successfully written, and is used to indicate that the EBS has enabled the monitoring function of the battery when the vehicle network is in sleep mode. The second preset value can be set to 1.
[0108] In some embodiments, the first signal can be represented as ChargeCurrentWkUpThrd_Suc. It is determined whether the signal value of ChargeCurrentWkUpThrd_Suc is 0. If it is not 0, the process returns to continue the determination.
[0109] The BCM needs to memorize the signal value of the first signal. The first signal value is 0 by default because the default initial threshold value of the static current abnormal wake-up function stored in the EBS is 0xFFFF, which means that the EBS does not enable the monitoring function of the battery when the vehicle network is in sleep mode by default.
[0110] When the value of the first signal is 0, the BCM executes the write diagnostic service and writes the stored first threshold value into the EBS.
[0111] When the BCM determines that the signal value of the first signal is 0, the BCM executes the write diagnostic service, that is, the first diagnostic service, and writes the stored first threshold value ChargeCurrentWkUpThrd_1 into the EBS.
[0112] After completing the write diagnostic service, the BCM performs the read diagnostic service, also known as the second diagnostic service, to read the threshold value of the charging current abnormal wake-up function stored internally in the EBS.
[0113] BCM determines whether the read result is the first threshold value.
[0114] If not, the BCM determines whether the number of write failures of the first threshold value has reached the second preset number. If it has not reached the second preset number, the first diagnostic service is re-executed. If the number of write failures of the first threshold value has reached the second preset number, the BCM records the first fault code. The first fault code indicates that the write of the charging current abnormal wake-up function threshold value has failed, and the EBS and BCM do not match. Then the BCM ends the diagnostic service for the first threshold value of the charging current abnormal wake-up function.
[0115] If the BCM determines that the read result is the first threshold value, it confirms that the first threshold value was successfully written. The BCM sets the signal value of the first signal to 1 to indicate that the EBS has enabled the monitoring function of the battery when the vehicle network is in sleep mode. The BCM then clears the first fault code and terminates the diagnostic service for the first threshold value of the charging current abnormality wake-up function.
[0116] In some embodiments, after the activation process of the charging current abnormal wake-up function of EBS is terminated, the BCM can write the first threshold value of the charging current abnormal wake-up function to the failure count to zero.
[0117] The following details the process of disabling the active wake-up function in case of abnormal charging current.
[0118] After the vehicle goes into sleep mode, LIN is turned off. When EBS detects that the charging current value is higher than the first threshold value ChargeCurrentWkUpThrd_1, the event of EBS waking up BCM occurs. After this event, BCM writes the second threshold value to EBS to disable the abnormal charging current wake-up function. The specific writing process of the second threshold value is as follows.
[0119] EBS determines whether the charging current is higher than the first threshold.
[0120] If so, then execute EBS to send a wake-up signal to the LIN bus. Otherwise, continue with the judgment process.
[0121] EBS determines whether the BCM is awakened.
[0122] If the BCM is not woken up, the EBS determines whether the number of times the wake-up signal has been repeatedly sent has reached a first preset number. If it has not reached the first preset number, the EBS starts a timer and resends the wake-up signal after a second time interval. The maximum number of times the wake-up signal is repeatedly sent is the first preset number. This embodiment does not specifically limit the preset number; for example, the preset number can be set to 3 times, meaning the EBS will send a maximum of 3 wake-up signals to the BCM before stopping and determining that the BCM is unresponsive.
[0123] When the BCM is woken up by the wake-up signal, the BCM starts to schedule the EBS signal. The BCM obtains the signal value of the first signal. If the signal value is 0, it means that the EBS has not enabled the monitoring function of the battery when the vehicle network is in sleep mode. The BCM is then woken up by the other modules, and then the BCM ends the diagnostic service of the abnormal charging current wake-up function threshold.
[0124] If the signal value is 1, it means that EBS is now enabled to monitor the battery when the vehicle network is in sleep mode, and BCM is woken up by EBS.
[0125] Then BCM executes the write diagnostic service, also known as the third diagnostic service, and writes the stored second threshold value ChargeCurrentWkUpThrd_2 to EBS. The written second threshold value is 0xFFFF.
[0126] After completing the write diagnostic service, the BCM performs the read diagnostic service, which is the fourth diagnostic service, by reading the charging current abnormal wake-up function threshold value stored internally in the EBS.
[0127] The BCM determines whether the read result matches the second threshold value for writing. If not, i.e., the read result is not equal to 0xFFFF, the BCM checks whether the number of write attempts for the second threshold value has reached a third preset number. If it has, the BCM records a second fault code, which indicates that the write attempt for the second threshold value of the abnormal charging current wake-up function has failed, and that the EBS and BCM are mismatched. After recording the fault code, the BCM terminates the diagnostic service for the abnormal charging current wake-up function threshold value.
[0128] If the third preset number of write attempts is not reached, BCM will continue to return to the write diagnostic service. If the write to the second threshold value ChargeCurrentWkUpThrd_2 fails for the third consecutive preset number of write attempts, then the write to the second threshold value is determined to have failed.
[0129] When the BCM determines that the read result is 0xFFFF, it confirms that the second threshold value ChargeCurrentWkUpThrd_2 has been successfully written. The BCM then sets the signal value of the first signal to 0 to indicate that the EBS does not enable the monitoring function of the battery when the vehicle network is in sleep mode.
[0130] The BCM clears the failure code for writing the charging current abnormal wake-up function threshold value. Then, the BCM terminates the diagnostic service for the second threshold value of the charging current abnormal wake-up function.
[0131] In some embodiments, after the BCM terminates the diagnostic service for the second threshold value of the abnormal charging current wake-up function, it clears the failure count of the abnormal charging current wake-up function threshold value to zero and waits for the next wake-up by EBS to perform the diagnostic service for the second threshold value ChargeCurrentWkUpThrd_2.
[0132] In other embodiments, after each BCM wake-up, the EBS's monitoring function of the battery during vehicle network hibernation may not be disabled; instead, a timer is performed before waking up the BCM again.
[0133] Using this system, when the controller determines that the current vehicle meets the start-up conditions for low-voltage power supply monitoring, it controls the battery sensor to start monitoring the battery when the vehicle network is in sleep mode. When the vehicle network is in sleep mode, the battery sensor can monitor the charging current of the battery. When the charging current is abnormal, it can wake up the controller in time and send the detection result of the charging current to the controller. When the controller determines that the current charging current is abnormal, it wakes up the vehicle network. After the vehicle network is woken up, it can implement battery protection measures to protect the battery in a timely manner and prevent the battery from being damaged due to overcharging.
[0134] Based on the low-voltage power supply monitoring system provided in the above embodiments, this application also provides a low-voltage power supply monitoring method, which will be described in detail below with reference to the accompanying drawings.
[0135] See Figure 4 The figure is a flowchart of a low-voltage power supply monitoring method provided in an embodiment of this application.
[0136] The method includes the following steps:
[0137] S01: When the low-voltage power supply monitoring start conditions are met, control the battery sensor to monitor the battery charging current when the vehicle network is in sleep mode.
[0138] S02: The battery sensor wakes the battery when it receives a wake-up signal.
[0139] S03: When an abnormal charging current is detected based on the charging current detection results sent by the battery sensor, the vehicle network is activated.
[0140] Using the method provided in this application, when the low-voltage power supply monitoring startup conditions are met, the battery sensor is controlled to activate its battery monitoring function when the vehicle network is in sleep mode. When the vehicle network is in sleep mode, the battery sensor can monitor the battery charging current. The battery sensor is awakened by a wake-up signal and, based on the detected charging current, determines that the current charging current is abnormal, thus waking up the vehicle network. Once the vehicle network is awakened, battery protection measures can be implemented. These protection measures can be existing and are not limited in this application. Therefore, using the method of this application, even when the vehicle network is in sleep mode, the battery can be protected in a timely manner to prevent damage due to overcharging.
[0141] The following section explains how to enable and disable the abnormal charging current wake-up function, using specific implementation methods.
[0142] See Figure 5A The figure is a flowchart of the method for enabling the abnormal charging current wake-up function provided in the embodiment of this application.
[0143] In the solution provided in this application embodiment, the threshold values for the abnormal charging current wake-up function include: a first threshold value, corresponding to ChargeCurrentWkUpThrd_1, and a second threshold value, corresponding to ChargeCurrentWkUpThrd_2. The first and second threshold values are preset and stored, and can be called by the BCM.
[0144] The first signal is used to reflect whether the active wake-up function is enabled when the current charging current is abnormal. The signal value of the first signal can be a first preset value or a second preset value.
[0145] The first preset value indicates that the second threshold value has been successfully written. At this time, EBS does not enable the monitoring function of the battery when the vehicle network is in sleep mode, and the first preset value can be set to 0.
[0146] The second preset value indicates that the first threshold value was successfully written, and is used to indicate that the EBS has enabled the monitoring function of the battery when the vehicle network is in sleep mode. The second preset value can be set to 1.
[0147] In some embodiments, the first signal can be represented as ChargeCurrentWkUpThrd_Suc. It is determined whether the signal value of ChargeCurrentWkUpThrd_Suc is 0. If it is not 0, the process returns to continue the determination.
[0148] The BCM needs to memorize the signal value of the first signal. The first signal value is 0 by default because the default initial threshold value of the static current abnormal wake-up function stored in the EBS is 0xFFFF, which means that the EBS does not enable the monitoring function of the battery when the vehicle network is in sleep mode by default.
[0149] S101: Begin.
[0150] S102: The BCM determines whether the charging current is greater than the first threshold value and the duration is at least the first time interval.
[0151] The BCM first determines whether the charging current is greater than the first threshold value and whether the duration is at least the first time interval. If this condition is not met, it returns to continue the determination.
[0152] The first time interval can be set according to the actual situation, for example, it can be set to 1 minute. This application embodiment does not make specific limitations. The first time interval can be calibrated by BCM.
[0153] When the BCM determines that the charging current is greater than the first threshold value and the duration is at least the first time interval, it executes S103.
[0154] S103: BCM determines whether the vehicle meets the conditions for enabling the low-voltage power supply monitoring function.
[0155] If the condition is not met, continue the evaluation.
[0156] When the BCM determines that the vehicle meets the conditions for enabling the low-voltage power supply monitoring function, it further executes S104.
[0157] S104: Determine whether the signal value of the first signal is 0.
[0158] In some embodiments, the success of writing the above threshold value can be determined based on the signal value of the first signal. The first signal can be represented as ChargeCurrentWkUpThrd_Suc. The system checks if the signal value of ChargeCurrentWkUpThrd_Suc is 0; if it is not 0, it returns to continue the judgment. The BCM needs to remember the signal value of this first signal. When the signal value of the first signal is 0x0, it indicates that the second threshold value has been successfully written; when the signal value of the first signal is 0x1, it indicates that the first threshold value has been successfully written. The first signal value is 0 by default because the default initial threshold value of the charging current abnormal wake-up function stored in the EBS is 0xFFFF.
[0159] When the value of the first signal is 0, execute S105.
[0160] S105: BCM performs a write diagnostic service, writing the stored first threshold value to EBS.
[0161] When the BCM determines that the signal value of the first signal is 0, the BCM executes the write diagnostic service, that is, the first diagnostic service, and writes the stored first threshold value ChargeCurrentWkUpThrd_1 into the EBS.
[0162] S106: BCM performs a read diagnostic service to read the threshold value of the abnormal charging current wake-up function stored internally in EBS.
[0163] After completing the write diagnostic service, the BCM performs the read diagnostic service, also known as the second diagnostic service, to read the threshold value of the charging current abnormal wake-up function stored internally in the EBS.
[0164] S107: Determine whether the read result is the first threshold value.
[0165] If not, proceed to S108; if yes, proceed to S109.
[0166] S108: BCM determines whether the number of write failures for the first threshold value has reached the second preset number.
[0167] If not, continue with the write diagnostic service, i.e., execute S105; if the number of write failures of the first threshold reaches the second preset number, execute S111.
[0168] S109: Confirming that the first threshold value has been successfully written, the BCM sets the first signal to 1.
[0169] S110: Clear first fault code in BCM.
[0170] S111: BCM records the first fault code.
[0171] The first fault code indicates that the abnormal charging current caused the failure to write the wake-up function threshold value, and that the EBS and BCM did not match.
[0172] S112: Diagnostic service for the first threshold value of BCM's abnormal charging current wake-up function.
[0173] S113: The BCM writes the first threshold value of the abnormal charging current wake-up function to zero the number of failures.
[0174] The above steps are divided for ease of explanation only and do not constitute a limitation on the technical solution of this application. Some steps can be adjusted appropriately. For example, the order of S103 and S104 can be changed, and S113 can be omitted to retain the first fault code.
[0175] The following details the process of disabling the active wake-up function in case of abnormal charging current.
[0176] See Figure 5BThe figure is a flowchart of the method for disabling the abnormal charging current wake-up function provided in an embodiment of this application.
[0177] After LIN is turned off, when EBS detects that the charging current value is higher than the first threshold value ChargeCurrentWkUpThrd_1, the event of EBS waking up BCM occurs. BCM then writes the second threshold value to EBS to disable the abnormal charging current wake-up function. The specific writing process of the second threshold value is as follows.
[0178] S201: Begin.
[0179] S202: EBS determines whether the charging current is higher than the first threshold value.
[0180] If yes, then execute S203; otherwise, continue the judgment process, that is, continue executing S202.
[0181] S203: EBS sends a wake-up signal to the LIN bus.
[0182] S204: EBS determines whether the BCM has been woken up.
[0183] If yes, then execute S205; otherwise, execute S206.
[0184] S205: BCM determines whether the signal value of the first signal is 0.
[0185] If yes, then execute S213; otherwise, execute S207.
[0186] Once the BCM is successfully woken up, it begins to schedule the EBS signal. The BCM acquires the signal value of the first signal. If the signal value is 0, the BCM terminates the diagnostic service for the abnormal charging current wake-up function threshold.
[0187] If the signal value is 1, the BCM will execute the write diagnostic service.
[0188] S206: EBS determines whether the number of times the wake-up signal has been repeatedly sent has reached the first preset number.
[0189] After LIN is turned off, when EBS detects that the charging current is higher than the first threshold value ChargeCurrentWkUpThrd_1, EBS sends a wake-up signal to the LIN bus. If BCM does not respond, EBS starts a timer and resends the wake-up signal after the second time interval. The maximum number of times the wake-up signal is resent is the first preset number.
[0190] The embodiments of this application do not specifically limit the preset number of times. For example, the preset number of times can be set to 3 times, that is, EBS will stop sending wake-up signals after sending a maximum of 3 wake-up signals to BCM.
[0191] If it does not arrive, execute S203; otherwise, determine that the BCM is unresponsive.
[0192] S207: BCM performs a write diagnostic service, writing the stored second threshold value to EBS.
[0193] If the signal value is 1, the BCM executes the write diagnostic service, also known as the third diagnostic service, and writes the stored second threshold value ChargeCurrentWkUpThrd_2 to the EBS. The second threshold value written is 0xFFFF.
[0194] S208: The BCM performs a diagnostic service to read the abnormal charging current wake-up function threshold value stored internally in the EBS.
[0195] After completing the write diagnostic service, the BCM performs the read diagnostic service, which is the fourth diagnostic service, by reading the charging current abnormal wake-up function threshold value stored internally in the EBS.
[0196] S209: BCM determines whether the read result is the second threshold value for writing.
[0197] If yes, then execute S210; otherwise, execute S211.
[0198] In other words, BCM determines whether the read result is 0xFFFF.
[0199] S210: The BCM confirms that the second threshold value has been successfully written and sets the signal value of the first signal to 0.
[0200] When the BCM determines that the read result is 0xFFFF, it confirms that the second threshold value ChargeCurrentWkUpThrd_2 has been successfully written, and the BCM sets the signal value of the first signal to 0.
[0201] S211: Determine whether the number of writes to the second threshold value has reached the third preset number of writes.
[0202] If yes, then execute S214; otherwise, execute S207.
[0203] If the read result is not equal to 0xFFFF, BCM will continue to return to the write diagnostic service. If the second threshold value ChargeCurrentWkUpThrd_2 fails to write for the third consecutive preset number of times, then the second threshold value write is determined to have failed.
[0204] S212: Fault code indicating failure to write BCM clear charging current abnormal wake-up function threshold value.
[0205] S213: Diagnostic service for the second threshold value of BCM's abnormal charging current wake-up function.
[0206] S214: BCM records the second fault code.
[0207] This second fault code indicates a failure to write the second threshold value for the abnormal charging current wake-up function, resulting in a mismatch between the EBS and BCM. After recording the fault code, the BCM terminates the diagnostic service for the abnormal charging current wake-up function threshold value.
[0208] S215: The BCM writes the abnormal charging current wake-up function threshold value to zero after the number of failures.
[0209] The BCM terminates the diagnostic service for the second threshold value of the abnormal charging current wake-up function, clears the failure count of the abnormal charging current wake-up function threshold value to zero, and waits for the next wake-up by EBS to perform the diagnostic service for the second threshold value ChargeCurrentWkUpThrd_2.
[0210] The steps provided in the embodiments of this application are for illustrative purposes only and do not constitute a limitation on the technical solution of this application. In some other embodiments, the BCM may not be turned off after each wake-up, but instead a timer is performed before the BCM is woken up again.
[0211] Using the above methods, when the controller determines that the current vehicle meets the start conditions for low-voltage power supply monitoring, it controls the battery sensor to start monitoring the battery. When the vehicle network is in a dormant state, the battery sensor can monitor the charging current of the battery. When the charging current is abnormal, it can wake up the controller in time and send the detection result of the charging current to the controller. When the controller determines that the current charging current is abnormal, it wakes up the vehicle network. After the vehicle network is woken up, it can implement battery protection measures to protect the battery in a timely manner and prevent the battery from being damaged due to overcharging.
[0212] Based on the monitoring system provided in the above embodiments, this application also provides a vehicle, which will be described in detail below with reference to the accompanying drawings.
[0213] See Figure 6 This figure is a schematic diagram of a vehicle provided in an embodiment of this application.
[0214] The vehicle 600 shown in the figure includes a low-voltage power supply monitoring system 601.
[0215] The monitoring system 601 for the low-voltage power supply includes a battery, a battery sensor, a memory, and a controller.
[0216] The battery is the vehicle's low-voltage power source, and the battery and battery sensors are electrically connected.
[0217] When the battery sensor detects an abnormality in the battery charging current, it sends a wake-up signal to the controller, as well as the detection result of the charging current.
[0218] The storage device contains a computer program. When the computer program is executed by the controller, it is used to implement the low-voltage power supply monitoring method provided in the above embodiments. For details, please refer to the relevant descriptions in the above embodiments. The embodiments of this application will not be repeated here.
[0219] The vehicle includes a low-voltage power supply monitoring system. The controller of this system can activate battery sensors to monitor the battery. When the vehicle network is in sleep mode, the battery sensors monitor the battery charging current. If an abnormal charging current is detected, the system can promptly wake up the controller and send the detected charging current results. Once the controller determines the charging current is abnormal, it activates the entire vehicle network. When the vehicle network is activated, battery protection measures can be implemented, thus enabling the vehicle to protect the battery from damage due to overcharging.
[0220] The vehicle provided in this application embodiment can be an electric vehicle or a hybrid electric vehicle, and this application embodiment does not specifically limit it. In a typical embodiment, the vehicle is an electric vehicle, and the power battery pack of the electric vehicle is the low-voltage power source of the vehicle, that is, the low-voltage battery of the vehicle is used for charging.
[0221] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0222] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on its differences from other embodiments. The device embodiments described above are merely illustrative, and the units and modules described as separate components may or may not be physically separate. Furthermore, some or all of the units and modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0223] The above description is only a specific embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method of monitoring a low voltage power supply, characterized by, The method is applied to a controller and comprises the following steps: When a starting condition of low-voltage power supply monitoring is met, a battery sensor is controlled to monitor a charging current of a battery when a vehicle network is in a sleep state; The vehicle network is woken up when a wake-up signal sent by the battery sensor is received; The vehicle network is woken up when it is determined that the charging current is abnormal according to a detection result of the charging current sent by the battery sensor; The method further comprises the following steps: A first threshold value is written into the battery sensor to control the battery sensor to start monitoring the battery when the vehicle network is in the sleep state; The first threshold value is written into the battery sensor, and the method further comprises the following steps: It is determined whether a signal value of a first signal is a first preset value, and if yes, a first diagnosis service is performed, the first threshold value is written into the battery sensor, and the first preset value is used to represent that the battery sensor does not start the monitoring function of the battery when the vehicle network is in the sleep state; After the first diagnosis service is completed, a second diagnosis service is performed to read the first threshold value stored in the battery sensor; When the first threshold value stored in the battery sensor read by the second diagnosis service is consistent with the first threshold value written into the battery sensor, it is determined that the writing of the first threshold value is successful, and a signal value of the first signal is set to a second preset value, and the second preset value is used to represent that the battery sensor has started the monitoring function of the battery when the vehicle network is in the sleep state.
2. The monitoring method of a low voltage power supply as claimed in claim 1, characterized in that, The method further comprises the following steps: When the mode of a vehicle power supply is a shutdown mode, the communication function between the vehicle power supply and the battery sensor is normal, and the diagnosis function between the vehicle power supply and the battery sensor is normal, it is determined that the vehicle meets the starting condition of the low-voltage power supply monitoring, and the battery sensor is controlled to monitor the charging current of the battery when the vehicle network is in the sleep state.
3. The monitoring method of a low voltage power supply as claimed in claim 1, characterized in that, The method further comprises the following steps: When it is determined that the charging current is greater than the first threshold value and the duration is at least a first time interval according to the detection result of the charging current, it is determined whether the vehicle meets the starting condition of the low-voltage power supply monitoring.
4. The monitoring method of a low voltage power supply as claimed in claim 1, characterized in that, The method further comprises the following steps: When the first threshold value stored in the battery sensor read by the second diagnosis service is inconsistent with the first threshold value written into the battery sensor, the first diagnosis service and the second diagnosis service are re-executed; When the number of times that the first threshold value stored in the battery sensor read by the second diagnosis service is inconsistent with the first threshold value written into the battery sensor exceeds a second preset number of times, it is determined that the writing of the first threshold value fails, and a first fault code is recorded, and the first fault code is used to record the writing failure of the first threshold value.
5. The monitoring method of a low voltage power supply as claimed in claim 1, characterized in that, The method further comprises: After waking up the vehicle network, controlling the battery sensor to close the monitoring function of the battery when the vehicle network is in sleep mode.
6. The monitoring method of a low voltage power supply as claimed in claim 5, characterized in that, The control of the battery sensor to close the monitoring function of the battery when the vehicle network is in sleep mode specifically comprises: When the signal value of the first signal is determined to be the second preset value, a second threshold value is written to the battery sensor to control the battery sensor to close the monitoring function of the battery when the vehicle network is in sleep mode.
7. The monitoring method of a low voltage power supply as claimed in claim 6, characterized in that, The writing of the second threshold value to the battery sensor specifically comprises: A third diagnostic service is performed to write the second threshold value to the battery sensor; After the third diagnostic service is completed, a fourth diagnostic service is performed to read the second threshold value stored in the battery sensor; When the second threshold value stored in the battery sensor read by the fourth diagnostic service is consistent with the second threshold value written to the battery sensor, it is determined that the writing of the second threshold value is successful, and the signal value of the first signal is set to the first preset value.
8. The monitoring method of a low voltage power supply as claimed in claim 7, characterized in that, The method further comprises: When the second threshold value stored in the battery sensor read by the fourth diagnostic service is inconsistent with the second threshold value written to the battery sensor, the third diagnostic service and the fourth diagnostic service are re-executed; When the number of times of inconsistency between the second threshold value stored in the battery sensor read by the third diagnostic service and the second threshold value written to the battery sensor exceeds a third preset number of times, it is determined that the writing of the second threshold value fails, and a second fault code is recorded, the second fault code being used to record the failure of the writing of the second threshold value.
9. A monitoring system for a low voltage power supply, characterized in that The monitoring system of the low-voltage power supply comprises a battery, a memory, a controller and a battery sensor; The battery sensor is electrically connected with the battery; The battery sensor is configured to send a wake-up signal to the controller and send a detection result of the charging current to the controller when it is determined that the charging current of the battery is abnormal. The memory stores a computer program, and the computer program is executed by the controller to implement the method of any one of claims 1 to 8.
10. A vehicle characterized by comprising: The vehicle comprises the monitoring system of the low-voltage power supply of claim 9.
Citation Information
Patent Citations
Method for monitoring state of storage battery after power down of whole vehicle
CN110308400A
Low-electric-quantity charging control system and control method for low-voltage storage battery
CN112977064A