Battery charging control method, and electronic device and vehicle
By monitoring battery voltage in real time through the vehicle controller and implementing an anti-dormancy charging strategy, the problems of low-voltage dormancy and thermal runaway in batteries are solved, resulting in cost reduction and improved safety.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2025-12-05
- Publication Date
- 2026-07-09
AI Technical Summary
Vehicle batteries may experience thermal runaway due to prolonged periods of low charge or excessively rapid charging. Current technologies that monitor current using BMS and sensors cannot effectively address this issue, resulting in high costs and failing to reduce the risks of low-voltage dormancy and thermal runaway.
By collecting battery voltage in real time through the vehicle controller, an anti-dormant charging strategy is implemented to control the target charging voltage to be greater than the battery voltage, thereby avoiding low-voltage dormancy of the battery. Thermal runaway is also prevented by adjusting the charging current, eliminating the need for a BMS and related sensors.
It effectively avoids low-voltage dormancy and thermal runaway of the battery, reduces vehicle manufacturing costs, and improves the accuracy and safety of battery charging control.
Smart Images

Figure CN2025140468_09072026_PF_FP_ABST
Abstract
Description
Battery charging control methods, electronic devices and vehicles
[0001] This application claims priority to Chinese Patent Application No. 2025100030293, filed on January 2, 2025, entitled “Battery Charging Control Method, Electronic Device and Vehicle”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of vehicle technology, and in particular to a battery charging control method, electronic equipment, and vehicle. Background Technology
[0003] Vehicle batteries are prone to going into hibernation due to prolonged periods of low charge, and are also susceptible to thermal runaway due to excessively rapid charging. Monitoring and appropriate control strategies are necessary to prevent overheating during charging and to prevent the battery from going into hibernation due to low charge during vehicle use, thereby ensuring that the battery can continuously provide power to the vehicle's electrical components. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide a battery charging control method, electronic device and vehicle to provide a reasonable control strategy to avoid thermal runaway caused by the battery being in a dormant state due to low charge or charging too fast.
[0005] To achieve the above objectives, this application provides a battery charging control method, comprising:
[0006] Obtain the vehicle's battery voltage;
[0007] In response to determining that the battery voltage is less than a preset sleep voltage, an anti-sleep charging strategy is executed;
[0008] The anti-dormancy charging strategy is as follows: control the vehicle to charge according to a target charging voltage; wherein, the target charging voltage is determined based on a preset anti-dormancy voltage, and the anti-dormancy voltage is greater than the battery voltage.
[0009] Furthermore, in acquiring the vehicle's battery voltage, in response to determining that the battery voltage is less than a preset sleep voltage, an anti-sleep charging strategy is executed, including:
[0010] In response to receiving a start command, the battery voltage is acquired; the battery voltage includes a first voltage before receiving the start command and a second voltage when the start command is received;
[0011] In response to determining that at least one of the first voltage and the second voltage is less than a preset sleep voltage, an anti-sleep charging strategy is executed: the vehicle is controlled to charge at the preset anti-sleep voltage as the target charging voltage;
[0012] The difference between the preset anti-sleep voltage and the second voltage is greater than the first preset value.
[0013] Furthermore, obtaining the vehicle's battery voltage includes:
[0014] If the time between receiving the power-on command and receiving the start command is less than a preset time, then multiple battery voltages between receiving the power-on command and receiving the start command are obtained, and the weighted average or minimum value of the multiple battery voltages is determined as the first voltage.
[0015] If the time elapsed between receiving the power-on command and receiving the start command is greater than or equal to a preset time elapsed, then multiple battery voltages within the preset time elapsed before receiving the start command are obtained, and the weighted average or minimum value of the multiple battery voltages is determined as the first voltage.
[0016] Furthermore, it also includes:
[0017] In response to determining that both the first voltage and the second voltage are greater than or equal to a preset sleep voltage, the desired charging voltage is determined based on the second voltage, and the vehicle is controlled to charge at the desired charging voltage as the target charging voltage.
[0018] Wherein, the desired charging voltage is greater than the second voltage, and the difference between the two is less than or equal to the first preset value.
[0019] Furthermore, the anti-sleep charging strategy also includes:
[0020] In response to determining that the battery voltage is lower than the preset anti-sleep verification voltage after a preset period of time of executing the anti-sleep charging strategy, the anti-sleep voltage is increased according to a preset frequency and step size, and the vehicle is controlled to charge with the increased anti-sleep voltage as the target charging voltage.
[0021] Wherein, the anti-sleep verification voltage is less than the anti-sleep voltage.
[0022] Furthermore, the anti-sleep charging strategy also includes: exiting the anti-sleep charging strategy after reaching the preset start-up phase upper limit duration.
[0023] Furthermore, in acquiring the vehicle's battery voltage, in response to determining that the battery voltage is less than a preset sleep voltage, an anti-sleep charging strategy is executed, including:
[0024] In response to the time elapsed after receiving the start command reaching the preset start phase upper limit, the battery voltage and the expected charging voltage are obtained;
[0025] In response to determining that the battery voltage is less than a preset sleep voltage and this condition persists for a preset duration, an anti-sleep charging strategy is executed: the vehicle is controlled to charge at the target anti-sleep voltage as the target charging voltage.
[0026] The target anti-sleep voltage is determined based on the desired charging voltage and the preset anti-sleep voltage.
[0027] Furthermore, it also includes: in response to determining that the battery voltage is greater than or equal to a preset dormant voltage and continues for a preset duration, controlling the vehicle to increase the desired charging voltage according to a preset frequency and step size, and controlling the vehicle to charge with the increased desired charging voltage as the target charging voltage.
[0028] Furthermore, the control of the vehicle to increase the desired charging voltage according to a preset frequency and step size includes:
[0029] In response to determining that the voltage difference between the battery voltage and the desired charging voltage is greater than a preset value and lasts for a preset duration, the desired charging voltage is increased according to a preset first frequency and step size.
[0030] In response to determining that the voltage difference between the battery voltage and the desired charging voltage is less than or equal to a preset value and lasts for a preset duration, the desired charging voltage is increased according to a preset second frequency and step size.
[0031] Wherein, the first frequency is less than the second frequency.
[0032] Furthermore, the anti-sleep charging strategy also includes:
[0033] In response to determining that the battery voltage is lower than the preset anti-sleep verification voltage after a preset period of time of executing the anti-sleep charging strategy, the anti-sleep voltage is increased according to a preset frequency and step size, and the vehicle is controlled to charge with the increased anti-sleep voltage as the target charging voltage.
[0034] Wherein, the anti-sleep verification voltage is less than the anti-sleep voltage.
[0035] Furthermore, the anti-sleep charging strategy also includes:
[0036] After the battery voltage reaches the anti-sleep verification voltage and a preset time is waited, the anti-sleep charging strategy is exited; or,
[0037] Once the preset anti-sleep charging strategy reaches its maximum duration, the anti-sleep charging strategy will be terminated.
[0038] Furthermore, it also includes: controlling the target charging voltage within the range defined by the target upper limit value and the target lower limit value;
[0039] The process of determining the target upper limit and the target lower limit includes:
[0040] In response to the determination that the fluctuation range of the battery voltage within a preset time period from the current time is less than or equal to the preset fluctuation range, the target upper limit value of the target charging voltage at the current time is the sum of the battery voltage at the current time and the first adjustment parameter, and the target lower limit value of the target charging voltage at the current time is the difference between the battery voltage at the current time and the second adjustment parameter.
[0041] In response to the determination that the fluctuation range of the battery voltage during the operation phase within a preset time period from the current time is greater than the preset fluctuation range, the target upper limit of the target charging voltage at the current time is the sum of the weighted average value of the battery voltage within the preset time period and the first adjustment parameter, and the target lower limit of the target charging voltage at the current time is the difference between the weighted average value of the battery voltage within the preset time period and the second adjustment parameter.
[0042] Furthermore, each step length includes multiple sub-step lengths; the method also includes an increase control process for each step length: the duration of each increase of a sub-step length is not less than a preset interval duration.
[0043] Based on the same inventive concept, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described above when executing the computer program.
[0044] Based on the same inventive concept, this disclosure also provides a vehicle that includes the above-described electronic equipment.
[0045] As can be seen from the above, the battery charging control method, electronic device, and vehicle provided in this application, wherein the method compares the acquired battery voltage with a preset sleep voltage, and when the battery voltage is less than the preset sleep voltage, an anti-sleep charging strategy is executed. The target charging voltage in the anti-sleep charging strategy is determined based on the preset anti-sleep voltage, which is greater than the acquired battery voltage, in order to boost the battery voltage and avoid the low-voltage sleep problem. In other words, this application solves the low-voltage sleep problem in related technologies, which requires current monitoring through a BMS and related sensors, by monitoring the battery voltage through a vehicle controller. This eliminates the need for a BMS and related sensors, thereby reducing vehicle manufacturing costs. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 is a schematic diagram of a battery charging control method according to an embodiment of this application;
[0048] Figure 2 is a schematic diagram of a battery charging control method according to an embodiment of this application;
[0049] Figure 3 is a schematic diagram of a battery charging control method according to an embodiment of this application;
[0050] Figure 4 is a schematic diagram of the structure of the battery charging control device according to an embodiment of this application;
[0051] Figure 5 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0052] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.
[0053] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0054] As described in the background art, vehicle batteries are prone to dormancy due to prolonged periods of low charge and thermal runaway due to excessively rapid charging (i.e., excessive charging current per unit time). Monitoring and appropriate control strategies are needed to prevent overheating during charging and to prevent battery depletion and dormancy during vehicle use, thus ensuring the battery can continuously provide power to the vehicle's electrical components. In related technologies, vehicles are equipped with a Battery Management System (BMS). The BMS monitors the battery charge and, when it is too low, controls the engine to charge the battery via the vehicle controller, increasing the battery charge and preventing dormancy due to low charge. The BMS also provides overcurrent protection. For example, the mechanical energy generated by the engine is converted into electrical energy by the generator to charge the battery. The BMS regulates the charging current by controlling the generator output through the vehicle controller to prevent excessive current, thereby avoiding thermal runaway caused by excessive current and excessively rapid charging. In other words, related technologies can prevent battery dormancy due to low charge and thermal runaway caused by excessive charging current through the interaction between the BMS and the vehicle controller.
[0055] To control vehicle manufacturing costs, it may be necessary to eliminate the battery management system (BMS) and its associated sensors. For example, in motorcycles, the BMS and related sensors (such as current sensors) could be omitted to reduce costs. However, in related technologies, the BMS determines battery charge and whether charging current will cause thermal runaway by monitoring the current. Eliminating the BMS and related sensors would prevent current monitoring, making it impossible to determine if the battery is low on charge, the risk of low-charge dormancy, or if there is a risk of overcharging and thermal runaway. Further solutions are needed.
[0056] Based on the above issues, the applicant discovered that in related technologies, the battery is connected to the vehicle controller to supply power to the controller. This means the vehicle controller can collect battery voltage in real time. The battery voltage collected by the vehicle controller can replace the current collected by the BMS to monitor whether the battery is at a low charge level. Specifically, battery voltage and battery charge are positively correlated; a low battery voltage indicates a low battery charge, and a high battery voltage indicates a high battery charge. Therefore, the low-charge sleep problem evolves into a low-voltage sleep problem. The vehicle controller can determine whether there is a risk of low-voltage sleep by collecting the battery voltage. If a low-voltage sleep risk exists, an anti-sleep charging strategy, specifically a fast charging strategy, is implemented. If there is no low-voltage sleep risk, a normal charging strategy is implemented, which is a slow charging strategy compared to the anti-sleep charging strategy.
[0057] Both the aforementioned anti-dormancy charging strategy and the normal charging strategy must fully consider avoiding the risk of thermal runaway. For example, in the normal charging strategy, the vehicle controller can set a desired charging voltage slightly higher than the battery voltage by collecting the battery voltage, and set this desired charging voltage as the target charging voltage for the battery. That is, the vehicle controller can control the generator's output voltage based on this desired charging voltage to control the battery's charging voltage, and then adjust the charging current to prevent excessive current per unit time, thereby avoiding thermal runaway caused by excessive current and excessively fast charging.
[0058] The following is a detailed description in conjunction with the accompanying drawings and embodiments.
[0059] In some embodiments, referring to FIG1, a battery charging control method is performed by a vehicle controller, the method comprising:
[0060] S100, Obtain the vehicle's battery voltage;
[0061] S200: In response to determining that the battery voltage is less than the preset sleep voltage, an anti-sleep charging strategy is executed;
[0062] The anti-dormancy charging strategy involves controlling the vehicle to charge at a target charging voltage, which is determined based on a preset anti-dormancy voltage that is greater than the battery voltage.
[0063] Specifically, the vehicle includes a starting phase and a running phase. For example, the starting phase lasts for 10 seconds after receiving the start command, meaning the maximum duration of the starting phase is 10 seconds. The vehicle then enters the running phase in the 11th second. During both phases, since the vehicle controller is directly connected to the battery (e.g., via its own power supply pin), the battery voltage can be directly obtained from this pin, eliminating the need for a voltage sensor. Furthermore, the target charging voltage in both phases is determined based on a preset anti-dormancy voltage. For instance, in the anti-dormancy charging strategy for the starting phase, the preset anti-dormancy voltage is directly used as the target charging voltage for the entire starting phase. Similarly, in the anti-dormancy charging strategy for the running phase, the target charging voltage for the entire anti-dormancy charging strategy is determined based on the preset anti-dormancy voltage and a separately acquired desired charging voltage.
[0064] After acquiring the vehicle's battery voltage, whether during the start-up or operation phase, the acquired battery voltage needs to be compared with a preset sleep voltage (e.g., 12.9V). If the battery voltage is lower than the preset sleep voltage, it indicates a risk of battery sleep. For example, during the start-up phase, if at least one of the acquired battery voltage before receiving the start command or the battery voltage at the time of receiving the start command is lower than the preset sleep voltage, an anti-sleep charging strategy is executed. Similarly, during the operation phase, if the acquired battery voltage is lower than the preset sleep voltage for a preset duration, the anti-sleep charging strategy is executed. This anti-sleep charging strategy involves controlling the vehicle to charge at a voltage determined based on the preset anti-sleep voltage as the target charging voltage. For example, during the start-up phase, the preset anti-sleep voltage can be directly used as the target charging voltage; during the operation phase, the larger of the preset anti-sleep voltage and the desired battery voltage needs to be selected as the target charging voltage.
[0065] The preset hibernation voltage is a hibernation risk identification threshold voltage set in the vehicle controller, used to determine whether the battery is at risk of entering a hibernation state. The preset anti-hibernation voltage is a charging target reference voltage set in the vehicle controller, used to determine the target charging voltage in the anti-hibernation charging strategy to quickly raise the battery voltage to a safe level.
[0066] In addition, the vehicle controller can control the voltage output of the generator by sending the target charging voltage to the generator controller, thereby controlling the voltage during the battery charging process.
[0067] It should be noted that the target charging voltage in this embodiment refers to the voltage set to achieve the best charging effect and battery health. This voltage is the ideal voltage level that the battery should reach during the charging process. However, in actual charging, especially in the early stages, it is difficult to reach this ideal voltage level. Nevertheless, the target voltage setting can control the speed at which the battery charges to the target voltage. For example, when there is no risk of the battery going dormant, the target charging voltage can be set slightly higher than the battery voltage to achieve a steady, slow charging process. When there is a risk of the battery going dormant, the target charging voltage (i.e., the preset anti-dormant voltage) can be set higher than the starting charging voltage to achieve a fast charging process. Based on the above description, it can be simply understood that the higher the target charging voltage is set, the faster the charging process; the lower the target charging voltage is set, the slower the charging process. The above description of the charging speed is only a comparison of the charging processes of the ordinary charging strategy and the anti-dormant charging strategy, and is not an absolute limitation.
[0068] In this embodiment, the acquired battery voltage is compared with a preset sleep voltage. When the battery voltage is lower than the preset sleep voltage, an anti-sleep charging strategy is executed. The target charging voltage in the anti-sleep charging strategy is determined based on the preset anti-sleep voltage, which is greater than the acquired battery voltage, thereby boosting the battery voltage and avoiding the low-voltage sleep problem. In other words, this embodiment solves the low-voltage sleep problem in related technologies that requires current monitoring through a BMS and related sensors by monitoring the battery voltage via the vehicle controller. This eliminates the need for a BMS and related sensors, reducing vehicle manufacturing costs.
[0069] The vehicle mentioned in the foregoing embodiments includes a starting phase and an operating phase. The following further explains the anti-dormancy charging strategy for the starting phase.
[0070] In some embodiments, referring to FIG2, S100 and S200 further include:
[0071] S101. In response to receiving a start command, acquire the battery voltage; the battery voltage includes a first voltage before receiving the start command and a second voltage when receiving the start command;
[0072] Specifically, vehicles are generally equipped with a power-on button. When a user clicks the power-on button, a power-on command is triggered, and the vehicle controller powers on based on the received power-on command. After the vehicle is powered on, the vehicle controller starts the vehicle (specifically, starts the engine) based on a received start command. For motorcycles, this can be triggered by pressing the start lever or clicking the start button. After receiving the start command, the vehicle enters the starting phase, which, for example, lasts for 10 seconds after receiving the start command.
[0073] The second voltage is the battery voltage at the moment the start command is received, and the first voltage can be the weighted average or minimum value of multiple battery voltages prior to the moment the start command is received. In other words, the process of obtaining the battery voltage can also be described as follows: if the time elapsed between the moment the power-on command is received (i.e., the moment the vehicle controller receives the vehicle power-on command) and the moment the start command is received (i.e., the moment the vehicle controller receives the engine start command) is less than a preset time elapsed (e.g., 10 seconds), then multiple battery voltages between the moment the power-on command is received and the moment the start command is received are obtained, and the weighted average or minimum value of these multiple battery voltages is determined as the first voltage. Conversely, if the time elapsed between the moment the power-on command is received and the start command is received is greater than or equal to a preset time elapsed (e.g., 10 seconds), then multiple battery voltages within the preset time elapsed before the start command is received are obtained, and the weighted average or minimum value of these multiple battery voltages is determined as the first voltage.
[0074] The vehicle controller can determine whether there is a risk of battery dormancy by using a first voltage and a second voltage. This method of comparing the acquired first and second voltages with a preset dormancy voltage is more accurate than simply using the second voltage at the time of receiving a start command.
[0075] S102. In response to determining that at least one of the first voltage and the second voltage is less than a preset sleep voltage, an anti-sleep charging strategy is executed: the vehicle is controlled to charge at the preset anti-sleep voltage as the target charging voltage.
[0076] The preset anti-sleep voltage is greater than the second voltage, and the difference between the preset anti-sleep voltage and the second voltage is greater than a first preset value. For example, the second voltage is 12.7V, and the preset anti-sleep voltage is 12.9 + 0.4V. The difference between the two is the preset value of 0.7V, which is greater than the first preset value of 0.5V. That is, the difference between the preset anti-sleep voltage and the second voltage is greater than the first preset value, indicating that the anti-sleep voltage is a relatively large voltage compared to the second voltage, in order to achieve a rapid increase in battery voltage and avoid the problem of low-voltage sleep during the startup phase.
[0077] In this step, if at least one of the acquired first voltage and second voltage is less than a preset dormancy voltage, the vehicle controller determines that the battery is at risk of dormancy and executes an anti-dormancy charging strategy for the start-up phase. This involves using the preset anti-dormancy voltage as the target charging voltage for the entire start-up phase. The vehicle controller controls the generator's output voltage using this target charging voltage, thereby controlling the battery's charging voltage. For example, if the preset dormancy voltage is 12.9V, the first voltage is 12.8V, and the second voltage is 12.7V, then the battery is at risk of dormancy. The preset anti-dormancy voltage is 12.9 + 0.4V. The vehicle controller sets 12.9 + 0.4V as the target charging voltage for the entire start-up phase and sends this 12.9 + 0.4V to the generator's controller to control the generator's output voltage at or below 12.9 + 0.4V, thus controlling the battery's charging voltage.
[0078] In this embodiment, upon receiving a vehicle start command, the system acquires a first voltage before receiving the start command and a second voltage upon receiving the start command. If at least one of the first and second voltages is less than a preset dormancy voltage, it indicates a risk of battery dormancy, and an anti-dormancy charging strategy for the start-up phase is executed. This strategy uses the preset anti-dormancy voltage as the target charging voltage for the entire start-up phase. In this anti-dormancy charging strategy, the anti-dormancy voltage is relatively large compared to the second voltage to achieve a rapid increase in battery voltage and avoid low-voltage dormancy during the start-up phase. In other words, by monitoring the battery voltage before and after receiving the start command through the vehicle controller, the low-voltage dormancy problem during vehicle start-up is solved, eliminating the need for a BMS and related sensors, thus reducing vehicle manufacturing costs.
[0079] In some embodiments, the method further includes: in response to determining that both the first voltage and the second voltage are greater than or equal to a preset dormant voltage, determining a desired charging voltage based on the second voltage, and controlling the vehicle to charge at the desired charging voltage as the target charging voltage.
[0080] The determination of the desired charging voltage based on the second voltage includes: determining the desired charging voltage based on the second voltage and a preset calibration value; wherein the calibration value is negatively correlated with the engine coolant temperature. For example, if the second voltage is 13.3V, the engine coolant temperature is 25℃, and the corresponding calibration value is 0.3V, then the desired charging voltage is 13.6V. This preset calibration value is obtained based on preset data showing the relationship between engine coolant temperature and the calibration value. In this relationship, the calibration value is negatively correlated with engine coolant temperature; that is, the higher the engine coolant temperature, the lower the calibration value, and vice versa. When the engine coolant temperature is high, the battery's ability to resist thermal runaway decreases. Therefore, the calibration value is set lower to avoid the desired charging voltage being too high compared to the second voltage. When the engine coolant temperature is low, the battery's ability to resist thermal runaway is better. Therefore, the calibration value is set higher to create a larger voltage difference between the desired charging voltage and the second voltage, allowing the battery voltage to rise more quickly.
[0081] Specifically, the difference between the desired charging voltage and the second voltage is less than or equal to a first preset value. For example, the second voltage is 13.3V, the desired charging voltage is 13.6V, and the first preset value is 0.5V. The voltage difference between the desired charging voltage and the second voltage is the aforementioned preset calibration value. With an engine coolant temperature of 25℃, the corresponding calibration value is 0.3V, which is less than the first preset value of 0.5V. This means the desired charging voltage is slightly greater than the second voltage, ensuring a stable charging process during startup and preventing thermal runaway during battery charging.
[0082] In this step, if both the acquired first voltage and second voltage are greater than or equal to the preset dormancy voltage, the vehicle controller determines that the battery does not pose a dormancy risk. Based on the second voltage, it determines a desired charging voltage slightly higher than the second voltage, avoiding setting the desired charging voltage too high to prevent thermal runaway caused by excessive charging current. Furthermore, because the start-up phase is short (10 seconds in the example), once this desired charging voltage is determined, there is no need to determine a new desired charging voltage based on the battery voltage at other times during the start-up phase. That is, the desired charging voltage determined based on the second voltage is used as the target charging voltage for the entire start-up phase, reducing the calculation process and energy consumption during the start-up phase.
[0083] For example, if the preset dormancy voltage is 12.9V, the first voltage is 13.1V, and the second voltage is 13.0V, then the battery does not have the risk of dormancy. The vehicle controller sets 13.0+0.5V as the target charging voltage for the entire starting phase and sends this 13.0+0.5V to the generator controller to control the generator's output voltage at or below 13.0+0.5V, thereby controlling the voltage during the battery charging process.
[0084] In this embodiment, after the vehicle starts, the first voltage before receiving the start command and the second voltage when receiving the start command are acquired. When both voltages are greater than or equal to a preset dormancy voltage, it indicates that the battery does not have a dormancy risk, and the normal charging strategy for the start-up phase is executed. That is, based on the second voltage, a desired charging voltage slightly larger than the second voltage is determined, and this desired charging voltage is used as the target charging voltage for the entire start-up phase. The desired charging voltage is slightly larger than the second voltage to achieve a steady charging process during the start-up phase and avoid thermal runaway problems during battery charging. In other words, in this embodiment, by monitoring the battery voltage before and after receiving the start command through the vehicle controller, the battery thermal runaway problem during the vehicle start-up phase in related technologies is solved, which can eliminate the need for a BMS and reduce vehicle manufacturing costs.
[0085] In some embodiments, the anti-sleep charging strategy further includes: in response to determining that the battery voltage is lower than a preset anti-sleep verification voltage after a preset time of executing the anti-sleep charging strategy, increasing the anti-sleep voltage according to a preset frequency and step size, and controlling the vehicle to charge with the increased anti-sleep voltage as the target charging voltage;
[0086] Among them, the anti-dormancy verification voltage is lower than the anti-dormancy voltage.
[0087] Among them, the anti-sleep verification voltage is a preset charging effect verification threshold voltage in the vehicle controller, which is used to evaluate whether the current charging process has the expected effect on the battery voltage after the anti-sleep charging strategy has been executed for a preset time.
[0088] For example, the preset duration is 5 seconds from the time the start command is received, the anti-sleep verification voltage is 12.9 + 0.15V, and the anti-sleep voltage is 12.9 + 0.4V. If the battery voltage obtained 5 seconds after the vehicle receives the start command is 12.9 + 0.1V, it means that the charging process is still slow. If the preset anti-sleep voltage is still used as the target charging voltage for the entire start-up phase, the battery voltage cannot be increased quickly, that is, the risk of low-voltage sleep of the battery cannot be eliminated as soon as possible. Therefore, it is necessary to increase the anti-dormancy voltage. To avoid fluctuations in charging voltage caused by a sudden increase in the anti-dormancy voltage, the anti-dormancy voltage can be increased according to a preset frequency and step size. That is, the anti-dormancy voltage is continuously adjusted with a fixed time period (frequency) and a fixed increment (step size). For example, the frequency is once every 1 second, and the step size corresponding to one time is 0.01V, that is, 0.01V is increased every 1 second. The increased anti-dormancy voltage is used as the target charging voltage. That is, the target charging voltage corresponding to the 6th second is 12.9+0.41V, the target charging voltage corresponding to the 7th second is 12.9+0.42V, the target charging voltage corresponding to the 8th second is 12.9+0.43V, the target charging voltage corresponding to the 9th second is 12.9+0.44V, and the target charging voltage corresponding to the 10th second is 12.9+0.45V.
[0089] This embodiment adds a charging verification strategy to the anti-dormancy charging strategy during the start-up phase of the aforementioned embodiment. Specifically, after a preset time following the receipt of the vehicle start command, the battery voltage is acquired and compared with a preset anti-dormancy verification voltage. If the battery voltage is greater than or equal to the anti-dormancy verification voltage, it indicates that the charging process is proceeding smoothly and the battery voltage has been rapidly increased, quickly eliminating the risk of low-voltage dormancy. If the battery voltage is less than the anti-dormancy verification voltage, it indicates that the charging process has not met expectations, the battery voltage has not been rapidly increased, and the low-voltage dormancy problem cannot be resolved quickly. Therefore, in this embodiment, if the charging process in the anti-dormancy charging strategy does not meet expectations, the target charging voltage (i.e., the anti-dormancy voltage) is further increased. This increases the charging speed and achieves the goal of rapidly increasing the battery voltage and quickly resolving the low-voltage dormancy problem.
[0090] In some embodiments, the anti-sleep charging strategy further includes: exiting the anti-sleep charging strategy after reaching a preset start-up phase upper limit duration.
[0091] This embodiment further explains how to exit the anti-sleep charging strategy during the startup phase. For example, if the maximum duration of the startup phase is 10 seconds, then the anti-sleep charging strategy will exit the startup phase 10 seconds after receiving the startup command.
[0092] It's important to note that whether to implement the anti-dormancy charging strategy during the start-up phase is determined at the very beginning of the phase. If a risk of battery dormancy is identified at this initial moment, the anti-dormancy charging strategy is implemented throughout the entire start-up phase until it ends. This is because the start-up phase is relatively short, and the battery temperature is relatively low when the vehicle is first started. Even if the anti-dormancy charging strategy, which rapidly increases battery voltage, is implemented throughout the entire start-up phase, it is unlikely to cause battery thermal runaway. Therefore, the upper limit of the start-up phase duration is directly set as the upper limit of the anti-dormancy charging strategy during this phase. Once the preset upper limit is reached, the anti-dormancy charging strategy is exited, simplifying the decision-making logic and reducing energy consumption during the start-up phase.
[0093] The foregoing embodiments described how the vehicle enters the starting phase after receiving a start command. During the starting phase, either a normal charging strategy or an anti-dormancy charging strategy may be executed. The charging verification and exit strategies within the anti-dormancy charging strategy during the starting phase are further described in detail. After the starting phase ends, the vehicle enters the operation phase. The operation phase also employs corresponding normal charging and anti-dormancy charging strategies to address potential battery thermal runaway and low-voltage dormancy issues during vehicle operation. The following embodiments will first further explain the anti-dormancy charging strategy during the operation phase.
[0094] In some embodiments, referring to FIG3, S100 and S200 further include:
[0095] S201. In response to the time elapsed after receiving the start command reaching the preset start phase upper limit, obtain the battery voltage and the desired charging voltage.
[0096] Based on the description of the foregoing embodiments, upon receiving a start command, the vehicle determines whether there is a risk of low-voltage dormancy in the battery. If there is no risk of low-voltage dormancy, the desired charging voltage determined based on the second voltage is used as the target charging voltage for the entire start-up phase. Alternatively, if there is a risk of low-voltage dormancy, a preset anti-dormancy voltage is used as the target charging voltage for the entire start-up phase. That is, the target charging voltage for the entire start-up phase is determined at the initial moment of the start-up phase. Unlike the start-up phase, after the vehicle enters the operation phase, the vehicle controller collects the battery voltage in real time at a preset frequency and determines the corresponding charging strategy based on the real-time collected battery voltage and the real-time determined desired charging voltage.
[0097] The expected charging voltage at the beginning of the operation phase is the same as the target charging voltage at the end of the start-up phase. For example, the maximum duration of the start-up phase is 10 seconds after receiving the start command. At the 11th second, the vehicle enters the operation phase. The 11th second is the beginning of the operation phase, and the 10th second is the end of the start-up phase. For example, if the target charging voltage at the 10th second (end of the start-up phase) is 12.9 + 0.5V, then the expected charging voltage at the 11th second (beginning of the operation phase) is 12.9 + 0.5V.
[0098] S202. In response to determining that the battery voltage is less than the preset sleep voltage and continues for a preset time, an anti-sleep charging strategy is executed: the vehicle is controlled to charge at the target anti-sleep voltage as the target charging voltage.
[0099] The target charging voltage is determined based on the desired charging voltage and the preset anti-sleep voltage. Specifically, the larger of the desired charging voltage and the preset anti-sleep voltage can be used as the target charging voltage.
[0100] For example, if the obtained battery voltage is 12.7V and this 12.7V battery voltage has been maintained for 2 seconds, the preset sleep voltage is 12.9V, the preset anti-sleep voltage is 12.9 + 0.4V, and the desired charging voltage is 12.9 + 0.5V, and the battery voltage 12.7V is less than the preset sleep voltage 12.9V, then the anti-sleep charging strategy for the running phase is executed, and the desired charging voltage 12.9 + 0.5V is greater than the preset anti-sleep voltage 12.9 + 0.4V, then the desired charging voltage is used as the target charging voltage in the entire anti-sleep charging strategy for this running phase.
[0101] In this embodiment, after the vehicle enters the operation phase, the battery voltage and the desired charging voltage are acquired. If the battery voltage is lower than a preset dormancy voltage and remains so for a preset duration, it indicates a risk of battery dormancy, and an anti-dormancy charging strategy for the operation phase is executed. This involves using a target charging voltage determined based on the desired charging voltage and the preset anti-dormancy voltage as the target charging voltage for the anti-dormancy charging strategy during operation. In this anti-dormancy charging strategy, the target charging voltage is relatively large compared to the battery voltage to achieve a rapid increase in battery voltage and avoid low-voltage dormancy during operation. In other words, by monitoring the battery voltage after entering the operation phase through the vehicle controller, the low-voltage dormancy problem during vehicle operation is solved, eliminating the need for a BMS and related sensors, thus reducing vehicle manufacturing costs.
[0102] In some embodiments, the method further includes: in response to determining that the battery voltage is greater than or equal to a preset dormant voltage and continues for a preset duration, controlling the vehicle to increase the desired charging voltage according to a preset frequency and step size, and controlling the vehicle to charge with the increased desired charging voltage as the target charging voltage.
[0103] Among them, the difference between the expected charging voltages at adjacent times is less than or equal to the second preset value.
[0104] For example, the initial time to enter the operation phase is the 11th second after receiving the start command. The battery voltage at this 11th second is 13.1V, and this 13.1V battery voltage has been maintained for 2 seconds. The expected charging voltage is 13.3V, and the preset sleep voltage is 12.9V. Therefore, the vehicle controller determines that the battery has no risk of sleep, and the second preset value is 0.01V. Thus, the maximum expected charging voltage at the 12th second is 13.31V, and the maximum expected charging voltage at the 13th second is 13.32V. The expected charging voltages for subsequent times can be calculated similarly. Correspondingly, the vehicle controller sets 13.3V as the target charging voltage for the 11th second, 13.31V as the target charging voltage for the 12th second, and 13.32V as the target charging voltage for the 13th second. It then sends these target charging voltages at the corresponding times to the generator controller to control the generator's output voltage at or below the target charging voltage, thereby controlling the voltage during the battery charging process. That is, in the absence of a risk of dormancy, the vehicle controller will gradually increase the expected charging voltage, and the increase will be small, in order to avoid thermal runaway of the battery caused by excessive charging current.
[0105] Furthermore, controlling the vehicle to increase the desired charging voltage during the operation phase according to a preset frequency and step size includes: in response to determining that the voltage difference between the battery voltage and the desired charging voltage is greater than a preset value and continues for a preset duration, increasing the desired charging voltage according to a preset first frequency and step size; in response to determining that the voltage difference between the battery voltage and the desired charging voltage is less than or equal to a preset value and continues for a preset duration, increasing the desired charging voltage according to a preset second frequency and step size.
[0106] The first frequency is less than the second frequency.
[0107] For example, if the preset value is 1V, the battery voltage is 13V, and the desired charging voltage is 14.1V, then the voltage difference between the desired charging voltage and the battery voltage is 1.1V, which is greater than the preset value of 1V. Since this value has remained above the preset value of 1V for 2 seconds, the desired charging voltage during the operation phase is increased according to a first frequency and step size (e.g., the first frequency increases once every 15 seconds, and the step size is 0.01V, meaning an increase of 0.01V every 15 seconds). For example, if the preset value is 1V, the battery voltage is 13V, and the desired charging voltage is 14V, then the voltage difference between the desired charging voltage and the battery voltage is 1V, which is equal to the preset value of 1V. Since this value has remained above the preset value of 1V for 2 seconds, the desired charging voltage during the operation phase is increased according to a second frequency and step size (e.g., the second frequency increases once every 2 seconds, and the step size is 0.01V, meaning an increase of 0.01V every 2 seconds).
[0108] The above examples demonstrate that, assuming the battery does not face a low-voltage dormancy risk, the rate of increase of the desired charging voltage can be determined by the voltage difference between the battery voltage and the desired charging voltage. Specifically, when the voltage difference is large, meaning the battery voltage rises relatively quickly, the rate of increase of the desired charging voltage can be slowed down to appropriately reduce the rate of battery voltage rise. Conversely, when the voltage difference is small, meaning the battery voltage rises relatively slowly, the rate of increase of the desired charging voltage can be accelerated to appropriately increase the rate of battery voltage rise. The vehicle controller can then adjust the battery charging rate based on the desired charging voltage, avoiding insufficient power supply due to slow charging or thermal runaway due to rapid charging.
[0109] In this embodiment, after the vehicle enters the operation phase, the battery voltage and the desired charging voltage are acquired. When the battery voltage is greater than or equal to a preset dormancy voltage, it indicates that the battery does not have a dormancy risk, and the normal charging strategy for the operation phase is executed. That is, the vehicle is controlled to increase the desired charging voltage according to a preset frequency and step size, and the vehicle is controlled to charge with the increased desired charging voltage as the target charging voltage. The preset frequency and step size ensure that the difference in desired charging voltage between adjacent moments in the operation phase is small, which can effectively avoid the thermal runaway problem caused by excessive charging current to the battery. In other words, in this embodiment, the vehicle controller solves the battery thermal runaway problem in the vehicle operation phase in related technologies by monitoring the battery voltage after entering the operation phase and controlling the desired charging voltage, which can eliminate the need for a BMS and related sensors, thereby reducing vehicle manufacturing costs.
[0110] In some embodiments, the anti-sleep charging strategy further includes: in response to determining that the battery voltage is lower than a preset anti-sleep verification voltage after a preset time of executing the anti-sleep charging strategy, increasing the anti-sleep voltage according to a preset frequency and step size, and controlling the vehicle to charge with the increased anti-sleep voltage as the target charging voltage;
[0111] Among them, the anti-dormancy verification voltage is lower than the anti-dormancy voltage.
[0112] For example, the preset duration is 5 seconds, the anti-sleep verification voltage is 12.9 + 0.15V, and the anti-sleep voltage is 12.9 + 0.4V. If the battery voltage obtained after executing the anti-sleep charging strategy for 5 seconds is 12.9 + 0.1V, it means that the charging process is still slow. If the preset anti-sleep voltage is still used as the target charging voltage of the anti-sleep charging strategy, the battery voltage cannot be increased quickly, that is, the risk of low-voltage sleep of the battery cannot be eliminated as soon as possible. Therefore, it is necessary to increase the anti-sleep voltage. To avoid fluctuations in charging voltage caused by a sudden increase in the anti-sleep voltage, the anti-sleep voltage can be increased according to a preset frequency and step size. For example, the frequency is once every 1 second, and the step size corresponding to each increase is 0.01V, that is, 0.01V is increased every 1 second. The increased anti-sleep voltage is used as the target charging voltage. That is, the target charging voltage corresponding to the 6th second of the anti-sleep charging strategy is 12.9+0.41V, the target charging voltage corresponding to the 7th second is 12.9+0.42V, the target charging voltage corresponding to the 8th second is 12.9+0.43V, the target charging voltage corresponding to the 9th second is 12.9+0.44V, and the target charging voltage corresponding to the 10th second is 12.9+0.45V.
[0113] This embodiment adds a charging verification strategy to the anti-dormancy charging strategy in the operation phase of the aforementioned embodiment. Specifically, after a preset duration of the anti-dormancy charging strategy, the battery voltage is acquired and compared with a preset anti-dormancy verification voltage. If the battery voltage is greater than or equal to the anti-dormancy verification voltage, it indicates that the charging process is proceeding smoothly and the battery voltage has been rapidly increased, quickly eliminating the risk of low-voltage dormancy. If the battery voltage is less than the anti-dormancy verification voltage, it indicates that the charging process has not achieved the expected results, the battery voltage has not been rapidly increased, and the low-voltage dormancy problem cannot be resolved quickly. Therefore, in this embodiment, if the charging process in the anti-dormancy charging strategy does not achieve the expected results, the target charging voltage (i.e., the anti-dormancy voltage) is further increased. This increases the charging speed and achieves the goal of rapidly increasing the battery voltage and quickly resolving the low-voltage dormancy problem.
[0114] In some embodiments, the anti-sleep charging strategy further includes: exiting the anti-sleep charging strategy after the battery voltage reaches the anti-sleep verification voltage and a preset time has elapsed; or,
[0115] Once the preset anti-sleep charging strategy reaches its maximum duration, the anti-sleep charging strategy will exit.
[0116] This embodiment further explains how to exit the anti-sleep charging strategy during the operation phase. For example, if the battery voltage reaches the preset anti-sleep verification voltage of 12.9 + 0.15V, it indicates that the charging process is proceeding smoothly and the battery voltage has been rapidly increased. Then, the anti-sleep charging strategy will be exited after 5 seconds. This 5 seconds is a calibration value after a large number of experiments. That is, after the battery voltage reaches the preset anti-sleep verification voltage, it can stably exceed the preset anti-sleep verification voltage and approach the preset anti-sleep voltage of 12.9 + 0.4V after another 5 seconds of continuous increase, thus getting rid of the risk of low-voltage sleep of the battery.
[0117] For example, if the maximum duration of the anti-sleep charging strategy during the operation phase is 60 seconds, then the anti-sleep charging strategy will exit after 60 seconds of entering the operation phase. That is, if the battery voltage does not rise to the preset anti-sleep verification voltage of 12.9 + 0.15V within 60 seconds, it may be because the engine speed is insufficient to reverse charge the battery through the generator, or it may be because the generator is damaged and cannot charge the battery. In this case, the anti-sleep charging strategy needs to be exited. At the same time as exiting, a low battery voltage warning message can be sent to inform the user that the battery voltage is low so that the user can manually charge the battery as soon as possible to increase the battery capacity and battery voltage.
[0118] Additionally, it's important to note that whether to implement the anti-dormancy charging strategy during the start-up phase is determined at the very beginning of the start-up phase. If a risk of battery dormancy is identified at that initial moment, the anti-dormancy charging strategy is implemented throughout the entire start-up phase until it ends. This is because the start-up phase is relatively short, and the battery temperature is relatively low when the vehicle is first started. Even if the anti-dormancy charging strategy, which rapidly increases battery voltage, is implemented throughout the start-up phase, it is unlikely to cause battery thermal runaway. However, during the operation phase, which is longer, it is impossible to determine at the beginning of the operation phase whether to implement the anti-dormancy charging strategy. Instead, real-time judgment is required to promptly avoid low-voltage dormancy issues and to exit the strategy when the exit conditions are met, thus preventing battery thermal runaway caused by prolonged implementation of the anti-dormancy charging strategy that rapidly increases battery voltage.
[0119] In some embodiments, the method further includes: controlling the target charging voltage within a range defined by a target upper limit and a target lower limit;
[0120] The process of determining the upper and lower limits of the target includes:
[0121] In response to the determination that the fluctuation range of the battery voltage within a preset time period from the current moment is less than or equal to the preset fluctuation range, the target upper limit value of the target charging voltage at the current moment is the sum of the battery voltage at the current moment and the first adjustment parameter, and the target lower limit value of the target charging voltage at the current moment is the difference between the battery voltage at the current moment and the second adjustment parameter.
[0122] In response to the determination that the fluctuation range of the battery voltage during the operation phase within a preset time period from the current time is greater than the preset fluctuation range, the target upper limit of the target charging voltage at the current time is the sum of the weighted average value of the battery voltage within the preset time period and the first adjustment parameter, and the target lower limit of the target charging voltage at the current time is the difference between the weighted average value of the battery voltage within the preset time period and the second adjustment parameter.
[0123] For example, the battery voltage within a preset time period from the current moment is determined by the vehicle controller from multiple battery voltages collected within 5 seconds prior to the current moment. The maximum and minimum values are determined among these multiple battery voltages, and the difference between the maximum and minimum values is determined as the fluctuation range. The preset fluctuation range is 0.1V. If the fluctuation range is less than or equal to 0.1V, it indicates that the fluctuation is not significant. Therefore, the upper limit of the target charging voltage at the current moment is the measured battery voltage at the current moment plus the first adjustment parameter of 0.5V, and the lower limit is the measured battery voltage at the current moment minus the second adjustment parameter of 0.1V. For example, if the measured battery voltage at the current moment is 13V, then the target charging voltage executed at the current moment cannot be greater than 13.5V or less than 12.9V. For example, if the target charging voltage at the current moment, after increasing according to a preset frequency and step size, is 13.6V, exceeding its corresponding upper target value of 13.5V, then it will directly execute at 13.5V. That is, the vehicle controller will use 13.5V as the target charging voltage at the current moment and send this 13.5V to the generator controller to control the generator's output voltage to be at or below 13.5V. As another example, if the user overcharges the battery, then it is necessary to discharge the battery, which requires lowering the battery voltage. In this case, the corresponding expected charging voltage must also be lowered. The measured battery voltage at the current moment can be lowered by 0.1V.
[0124] For example, the battery voltage within a preset time period from the current moment is multiple battery voltages collected by the vehicle controller within 5 seconds before the current moment. The maximum and minimum values are determined among these multiple battery voltages, and the difference between the maximum and minimum values is determined as the fluctuation range. The preset fluctuation range is 0.1V. If the fluctuation range is greater than 0.1V, it indicates that the fluctuation is large. The target upper limit of the target charging voltage at the current moment is the weighted average value of the multiple battery voltages (i.e., the filtered voltage value) + the first adjustment parameter 0.5V, and the target lower limit is the weighted average value of the multiple battery voltages (i.e., the filtered voltage value) - the second adjustment parameter 0.1V. For example, if the weighted average value of the multiple battery voltages is 13V, then the target charging voltage executed at the current moment cannot be greater than 13.5V and cannot be less than 12.9V. For example, if the target charging voltage at the current moment, after increasing according to a preset frequency and step size, is 13.6V, exceeding its corresponding upper target value of 13.5V, then it will directly execute at 13.5V. That is, the vehicle controller will use 13.5V as the target charging voltage at the current moment and send this 13.5V to the generator controller to control the generator's output voltage to be at or below 13.5V. As another example, if the user overcharges the battery, then discharging is necessary, requiring a reduction in the battery voltage. In this case, the weighted average of the multiple battery voltages can be reduced by 0.1V.
[0125] It should be noted that the vehicle starting phase in this application is relatively short, and the target charging voltage for this phase is determined at the initial moment of the starting phase. As long as the target charging voltage does not exceed the maximum allowable voltage value of the battery (which is a preset value, for example, 14.5V) and is not lower than the minimum allowable voltage value of the battery (which is a preset value, for example, 11V), it is acceptable. There is no need to limit it at all times, which simplifies the execution logic of the starting phase, reduces energy consumption, and is conducive to the rapid starting of the vehicle. Unlike the starting phase, the operation phase requires determining the target upper limit and target lower limit of the target charging voltage at the current moment based on the voltage fluctuation range at the current moment. That is, the target charging voltage to be executed at the current moment needs to be controlled within the range defined by the target upper limit and target lower limit at the current moment. This limits the target charging voltage at each moment of the operation phase, which adds another layer of protection to the voltage difference between the target charging voltage and the battery voltage at each moment, in order to avoid thermal runaway problems caused by excessive charging current due to excessive voltage difference.
[0126] In some embodiments, each step size includes multiple sub-step sizes; the method further includes an increase control process for each step size: the duration of each sub-step size increase is not less than a preset interval duration, that is, controlling the duration between two adjacent sub-step size adjustments to be not less than the preset interval duration. In other words, during voltage regulation, the minimum duration requirement must be met between two adjacent sub-step size adjustments, and it must not be shorter than a preset interval duration threshold.
[0127] When the target charging voltage increases or decreases, it is necessary to control the frequency and step size of its increase or decrease. For example, both the start-up and operation phases of the anti-dormancy charging strategy include a charging process verification strategy: if the battery voltage is lower than the preset anti-dormancy verification voltage after a preset duration of the anti-dormancy charging strategy, the anti-dormancy voltage is increased according to a preset frequency and step size, and the vehicle is controlled to use the increased anti-dormancy voltage as the target charging voltage for charging. Specifically, if the target charging voltage (in this example, the anti-dormancy voltage) increases at a frequency of 0.01V per second (i.e., step size), it is further limited to an increase of at most 0.006V per 20ms (i.e., sub-step size) to prevent overheating caused by excessively rapid charging. Similarly, in an overcharged battery state, the desired charging voltage decrease frequency is a decrease of 0.01V per second (i.e., step size), which is further limited to a decrease of at most 0.006V per 20ms (i.e., sub-step size) to avoid sudden voltage fluctuations.
[0128] In the aforementioned embodiments, the rate of change of each step length involved in increasing or decreasing the target charging voltage during the start-up and operation phases was limited. In this embodiment, each step length is further subdivided, and the frequency of change of each sub-step length involved in increasing or decreasing the target charging voltage during the start-up and operation phases is also limited. This avoids the problem of charging too fast or voltage sudden change within each step length and improves the voltage stability and current stability of the entire target charging voltage change process.
[0129] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.
[0130] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0131] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a battery charging control device.
[0132] Referring to Figure 4, the battery charging control device includes:
[0133] The acquisition module 100 is configured to acquire the vehicle's battery voltage;
[0134] The execution module 200 is configured to execute an anti-sleep charging strategy in response to determining that the battery voltage is less than a preset sleep voltage;
[0135] The anti-dormancy charging strategy is as follows: control the vehicle to charge according to a target charging voltage; wherein, the target charging voltage is determined based on a preset anti-dormancy voltage, and the anti-dormancy voltage is greater than the battery voltage.
[0136] The acquisition module 100 is further configured to: acquire the battery voltage in response to receiving a start command; the battery voltage includes a first voltage before receiving the start command and a second voltage when receiving the start command;
[0137] The execution module 200 is further configured to: in response to determining that at least one of the first voltage and the second voltage is less than a preset sleep voltage, execute an anti-sleep charging strategy: control the vehicle to charge at the preset anti-sleep voltage as the target charging voltage;
[0138] The difference between the preset anti-sleep voltage and the second voltage is greater than the first preset value.
[0139] The acquisition module 100 is further configured as follows:
[0140] If the time between receiving the power-on command and receiving the start command is less than a preset time, then multiple battery voltages between receiving the power-on command and receiving the start command are obtained, and the weighted average or minimum value of the multiple battery voltages is determined as the first voltage.
[0141] If the time elapsed between receiving the power-on command and receiving the start command is greater than or equal to a preset time elapsed, then multiple battery voltages within the preset time elapsed before receiving the start command are obtained, and the weighted average or minimum value of the multiple battery voltages is determined as the first voltage.
[0142] The execution module 200 is further configured as follows:
[0143] In response to determining that both the first voltage and the second voltage are greater than or equal to a preset sleep voltage, the desired charging voltage is determined based on the second voltage, and the vehicle is controlled to charge at the desired charging voltage as the target charging voltage.
[0144] Wherein, the desired charging voltage is greater than the second voltage, and the difference between the two is less than or equal to the first preset value.
[0145] The execution module 200 is further configured as follows:
[0146] In response to determining that the battery voltage is lower than the preset anti-sleep verification voltage after a preset period of time of executing the anti-sleep charging strategy, the anti-sleep voltage is increased according to a preset frequency and step size, and the vehicle is controlled to charge with the increased anti-sleep voltage as the target charging voltage.
[0147] Wherein, the anti-sleep verification voltage is less than the anti-sleep voltage.
[0148] The execution module 200 is further configured as follows:
[0149] After reaching the preset start-up phase maximum duration, the anti-sleep charging strategy will exit.
[0150] The acquisition module 100 is further configured as follows:
[0151] In response to the time elapsed after receiving the start command reaching the preset start phase upper limit, the battery voltage and the expected charging voltage are obtained;
[0152] The execution module 200 is further configured as follows:
[0153] In response to determining that the battery voltage is less than a preset sleep voltage and this condition persists for a preset duration, an anti-sleep charging strategy is executed: the vehicle is controlled to charge at the target anti-sleep voltage as the target charging voltage.
[0154] The target anti-sleep voltage is determined based on the desired charging voltage and the preset anti-sleep voltage.
[0155] The execution module 200 is further configured as follows:
[0156] In response to determining that the battery voltage is greater than or equal to a preset dormant voltage, the vehicle is controlled to increase the desired charging voltage at a preset frequency and step size for a preset duration, and the vehicle is controlled to charge with the increased desired charging voltage as the target charging voltage.
[0157] The execution module 200 is further configured as follows:
[0158] The method of controlling the vehicle to increase the desired charging voltage according to a preset frequency and step size includes:
[0159] In response to determining that the voltage difference between the battery voltage and the desired charging voltage is greater than a preset value and lasts for a preset duration, the desired charging voltage is increased according to a preset first frequency and step size.
[0160] In response to determining that the voltage difference between the battery voltage and the desired charging voltage is less than or equal to a preset value and lasts for a preset duration, the desired charging voltage is increased according to a preset second frequency and step size.
[0161] Wherein, the first frequency is less than the second frequency.
[0162] The execution module 200 is further configured as follows:
[0163] In response to determining that the battery voltage is lower than the preset anti-sleep verification voltage after a preset period of time of executing the anti-sleep charging strategy, the anti-sleep voltage is increased according to a preset frequency and step size, and the vehicle is controlled to charge with the increased anti-sleep voltage as the target charging voltage.
[0164] Wherein, the anti-sleep verification voltage is less than the anti-sleep voltage.
[0165] The execution module 200 is further configured as follows:
[0166] After the battery voltage reaches the anti-sleep verification voltage and a preset time is waited, the anti-sleep charging strategy is exited; or,
[0167] Once the preset anti-sleep charging strategy reaches its maximum duration, the anti-sleep charging strategy will be terminated.
[0168] The execution module 200 is further configured to control the target charging voltage within the range defined by the target upper limit and the target lower limit.
[0169] In response to the determination that the fluctuation range of the battery voltage within a preset time period from the current time is less than or equal to the preset fluctuation range, the target upper limit value of the target charging voltage at the current time is the sum of the battery voltage at the current time and the first adjustment parameter, and the target lower limit value of the target charging voltage at the current time is the difference between the battery voltage at the current time and the second adjustment parameter.
[0170] In response to the determination that the fluctuation range of the battery voltage during the operation phase within a preset time period from the current time is greater than the preset fluctuation range, the target upper limit of the target charging voltage at the current time is the sum of the weighted average value of the battery voltage within the preset time period and the first adjustment parameter, and the target lower limit of the target charging voltage at the current time is the difference between the weighted average value of the battery voltage within the preset time period and the second adjustment parameter.
[0171] Each step includes multiple sub-steps; the execution module 200 is further configured such that the duration of each increase of a sub-step is not less than a preset interval.
[0172] The system described above is used to implement the corresponding battery charging control method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0173] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the battery charging control method described in any of the above embodiments.
[0174] Figure 5 shows a more specific hardware structure diagram of an electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.
[0175] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0176] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0177] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.
[0178] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, Wi-Fi, Bluetooth, etc.).
[0179] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0180] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0181] The electronic devices described above are used to implement the corresponding battery charging control methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0182] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to execute the battery charging control method as described in any of the above embodiments.
[0183] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0184] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the battery charging control method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0185] It is understood that before using the technical solutions of the various embodiments in this disclosure, users will be informed of the type, scope of use, and usage scenarios of the personal information involved in an appropriate manner, and user authorization will be obtained.
[0186] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose, based on the prompt message, whether to provide personal information to the software or hardware such as electronic devices, applications, servers, or storage media performing the operations of this disclosed technical solution.
[0187] As an optional but not limited implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0188] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0189] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.
[0190] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0191] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0192] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.
Claims
1. A battery charging control method, wherein, include: Obtain the vehicle's battery voltage; In response to determining that the battery voltage is less than a preset sleep voltage, an anti-sleep charging strategy is executed; The anti-dormancy charging strategy is as follows: control the vehicle to charge according to a target charging voltage; wherein, the target charging voltage is determined based on a preset anti-dormancy voltage, and the anti-dormancy voltage is greater than the battery voltage.
2. The method according to claim 1, wherein, The process of acquiring the vehicle's battery voltage, in response to determining that the battery voltage is less than a preset sleep voltage, executes an anti-sleep charging strategy, including: In response to receiving a start command, the battery voltage is acquired; the battery voltage includes a first voltage before receiving the start command and a second voltage when the start command is received; In response to determining that at least one of the first voltage and the second voltage is less than a preset sleep voltage, an anti-sleep charging strategy is executed: the vehicle is controlled to charge at the preset anti-sleep voltage as the target charging voltage; The difference between the preset anti-sleep voltage and the second voltage is greater than the first preset value.
3. The method according to claim 2, wherein, The process of obtaining the vehicle's battery voltage includes: If the time between receiving the power-on command and receiving the start command is less than a preset time, then multiple battery voltages between receiving the power-on command and receiving the start command are obtained, and the weighted average or minimum value of the multiple battery voltages is determined as the first voltage. If the time elapsed between receiving the power-on command and receiving the start command is greater than or equal to a preset time elapsed, then multiple battery voltages within the preset time elapsed before receiving the start command are obtained, and the weighted average or minimum value of the multiple battery voltages is determined as the first voltage.
4. The method according to claim 2, wherein, Also includes: In response to determining that both the first voltage and the second voltage are greater than or equal to a preset sleep voltage, the desired charging voltage is determined based on the second voltage, and the vehicle is controlled to charge at the desired charging voltage as the target charging voltage. Wherein, the desired charging voltage is greater than the second voltage, and the difference between the two is less than or equal to the first preset value.
5. The method according to claim 2, wherein, The anti-sleep charging strategy also includes: In response to determining that the battery voltage is lower than the preset anti-sleep verification voltage after a preset period of time of executing the anti-sleep charging strategy, the anti-sleep voltage is increased according to a preset frequency and step size, and the vehicle is controlled to charge with the increased anti-sleep voltage as the target charging voltage. Wherein, the anti-sleep verification voltage is less than the anti-sleep voltage.
6. The method according to claim 2, wherein, The anti-sleep charging strategy further includes: exiting the anti-sleep charging strategy after reaching the preset start-up phase upper limit duration.
7. The method according to claim 1, wherein, The process of acquiring the vehicle's battery voltage, in response to determining that the battery voltage is less than a preset sleep voltage, executes an anti-sleep charging strategy, including: In response to the time elapsed after receiving the start command reaching the preset start phase upper limit, the battery voltage and the expected charging voltage are obtained; In response to determining that the battery voltage is less than a preset sleep voltage and this condition persists for a preset duration, an anti-sleep charging strategy is executed: the vehicle is controlled to charge at the target anti-sleep voltage as the target charging voltage. The target anti-sleep voltage is determined based on the desired charging voltage and the preset anti-sleep voltage.
8. The method according to claim 7, wherein, It also includes: in response to determining that the battery voltage is greater than or equal to a preset dormant voltage and continues for a preset duration, controlling the vehicle to increase the desired charging voltage at a preset frequency and step size, and controlling the vehicle to charge with the increased desired charging voltage as the target charging voltage.
9. The method according to claim 8, wherein, The method of controlling the vehicle to increase the desired charging voltage according to a preset frequency and step size includes: In response to determining that the voltage difference between the battery voltage and the desired charging voltage is greater than a preset value and lasts for a preset duration, the desired charging voltage is increased according to a preset first frequency and step size. In response to determining that the voltage difference between the battery voltage and the desired charging voltage is less than or equal to a preset value and lasts for a preset duration, the desired charging voltage is increased according to a preset second frequency and step size. Wherein, the first frequency is less than the second frequency.
10. The method according to claim 7, wherein, The anti-sleep charging strategy also includes: In response to determining that the battery voltage is lower than the preset anti-sleep verification voltage after a preset period of time of executing the anti-sleep charging strategy, the anti-sleep voltage is increased according to a preset frequency and step size, and the vehicle is controlled to charge with the increased anti-sleep voltage as the target charging voltage. Wherein, the anti-sleep verification voltage is less than the anti-sleep voltage.
11. The method according to claim 7, wherein, The anti-sleep charging strategy also includes: After the battery voltage reaches the anti-sleep verification voltage and a preset time is waited, the anti-sleep charging strategy is exited; or, Once the preset anti-sleep charging strategy reaches its maximum duration, the anti-sleep charging strategy will be terminated.
12. The method according to claim 7, wherein, It also includes: controlling the target charging voltage within the range defined by the target upper limit and the target lower limit; The process of determining the target upper limit and the target lower limit includes: In response to the determination that the fluctuation range of the battery voltage within a preset time period from the current time is less than or equal to the preset fluctuation range, the target upper limit value of the target charging voltage at the current time is the sum of the battery voltage at the current time and the first adjustment parameter, and the target lower limit value of the target charging voltage at the current time is the difference between the battery voltage at the current time and the second adjustment parameter. In response to the determination that the fluctuation range of the battery voltage during the operation phase within a preset time period from the current time is greater than the preset fluctuation range, the target upper limit of the target charging voltage at the current time is the sum of the weighted average value of the battery voltage within the preset time period and the first adjustment parameter, and the target lower limit of the target charging voltage at the current time is the difference between the weighted average value of the battery voltage within the preset time period and the second adjustment parameter.
13. The method according to any one of claims 5, 8, 9, and 10, wherein, Each step size includes multiple sub-step sizes; the method also includes an increase control process for each step size: the duration of each increase of a sub-step size is not less than a preset interval duration.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, When the processor executes the program, it implements the method as described in any one of claims 1 to 13.
15. A vehicle, wherein, The vehicle includes the electronic equipment as described in claim 14.