Storage battery charging method, device, equipment and medium
By detecting the battery charge and parameters, the system switches to a high-efficiency DC-DC converter to charge the vehicle battery, solving the problem of low charging efficiency in the high-voltage system's power-on hibernation state and achieving high-efficiency charging under low energy consumption conditions.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- VOYAH AUTOMOBILE TECH CO LTD
- Filing Date
- 2026-03-20
- Publication Date
- 2026-04-28
AI Technical Summary
In the existing technology, when the vehicle's high-voltage system is in a power-off dormant state, the battery charging efficiency is low and the energy consumption is high. Especially when the battery is charging and low-voltage electrical appliances are using electricity at the same time, the charging efficiency is even lower, and it may even cause the battery's state of charge to decay to close to 0%.
By detecting the current battery level and charging-related parameters, if the current battery level is less than a preset threshold and the fast charging switching conditions are met, the system switches to a second DC-DC converter with a higher output power to charge the battery. Combined with a fault detection mechanism, the system prioritizes the use of high-efficiency DC-DC converters to improve charging efficiency and reduce energy consumption.
Without increasing energy consumption, it significantly improves the charging efficiency of the battery, ensuring effective charging even under the power demand of low-voltage appliances and avoiding state of charge decay.
Smart Images

Figure CN121929022A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a battery charging method, apparatus, device, and medium. Background Technology
[0002] In addition to providing voltage for vehicle operation, the vehicle's battery module also uses an external DC-DC converter to convert high-voltage DC power into low-voltage DC power to supply voltage to the low-voltage battery, ensuring the normal operation of various low-voltage devices within the vehicle. However, this method requires the vehicle's high-voltage system to be constantly activated, leading to a sharp increase in energy consumption.
[0003] Currently, in order to reduce energy consumption, a solution has been proposed whereby, after the high-voltage system is in a power-off sleep state, the high-voltage DC power is converted into low-voltage DC power by the DC-DC converter built into the battery module to charge the battery. This can fully support the needs of low-voltage electrical appliances and has low energy consumption. However, this method has introduced new problems: the charging efficiency is very low, especially when the battery is charging and the low-voltage electrical appliances are using electricity at the same time. The battery charging efficiency will be even lower, and it may even cause the battery's state of charge (SOC) to decay to close to 0%. Therefore, how to reduce energy consumption while further improving the battery charging efficiency is a technical problem that urgently needs to be solved. Summary of the Invention
[0004] In view of the problem of low battery charging efficiency when reducing energy consumption, this application is made to provide a battery charging method, apparatus, device and medium to solve the above problems, which can reduce energy consumption while further improving battery charging efficiency.
[0005] The first aspect of this application provides a battery charging method, which is executed by a vehicle controller. The vehicle includes a battery and a battery module. The battery module has a built-in first DC-DC converter and a second DC-DC converter externally disposed on the battery module. The output power of the second DC-DC converter is greater than the output power of the first DC-DC converter. The method includes: When it is detected that the battery is being charged through the first DC converter, the current charge level of the battery and charging-related parameters for a first preset time period prior to the current moment are obtained. If the current battery level is less than a preset battery level threshold and the fast charging switching conditions are met, then the charging process is switched to the second DC-DC converter to charge the battery. The fast charging switching conditions include: after the total charging time for the battery according to the charging-related parameters reaches a second preset time, the battery level is less than the battery's full charge capacity, and the second preset time is longer than the first preset time. The preset power threshold is not greater than the full charge capacity.
[0006] In one embodiment, the method further includes: If the charging-related parameters are less than the preset parameter threshold, then the fast charging switching conditions are met. Wherein, the preset parameter threshold is not greater than the critical charging-related parameter; The critical charging-related parameter is determined as follows: if the battery capacity reaches the full charge after the total charging time for the battery according to a certain charging-related parameter reaches the second preset time, then the certain charging-related parameter is taken as the critical charging-related parameter.
[0007] In one embodiment, it is characterized by, The charging-related parameters are any one of at least two parameters, each of which has a one-to-one corresponding preset parameter threshold; any one parameter includes multiple charging currents of the battery within a first preset duration, or the parameter change between the characterization parameter corresponding to the start time and the characterization parameter corresponding to the end time of the first preset duration, and the characterization parameter is used to characterize the battery capacity.
[0008] In one embodiment, if any one of the parameters is multiple charging currents of the battery within a first preset time period, then the preset parameter threshold is a preset charging current threshold, and the charging-related parameters being less than the preset parameter threshold includes: multiple charging currents being less than the preset charging current threshold. If any parameter is the change in the parameter between the characterizing parameters, then when the change in the parameter is the change in the battery's charge, the preset parameter threshold is the threshold for the change in the battery's charge; or when the change in the parameter is the change in the battery's state of charge, the preset parameter threshold is the threshold for the change in the battery's state of charge.
[0009] In one embodiment, the critical charging-related parameter includes a critical charging current or a critical parameter change of the characterization parameter; The critical charging current is determined based on the second preset duration and the full charge capacity of the battery. The change in the critical parameter is determined based on the second preset duration, the first preset duration, and the characteristic parameters of the battery when the battery's charge reaches its full charge.
[0010] In one embodiment, before detecting that the battery is being charged via the first DC-DC converter, the method further includes: Detect whether the first DC-DC converter is faulty; If the first DC converter is not faulty, the battery is charged through the first DC converter; If the first DC converter malfunctions, the battery is charged via the second DC converter.
[0011] In one embodiment, detecting whether the first DC-DC converter is faulty includes: If a fault indication message is received from the first DC converter, then it is determined that the first DC converter is faulty based on the fault indication message; Alternatively, a first control command may be sent to the first DC converter. If no response information from the first DC converter to the first control command is received within a third preset time period, it is determined that the first DC converter is faulty. The first control command is used to control the first DC converter to charge the battery.
[0012] In one embodiment, before detecting whether the first DC-DC converter is faulty, the method further includes: Check if the vehicle meets the charging trigger conditions; Detecting whether the first DC-DC converter is faulty includes: If the vehicle meets the charging triggering conditions, then the first DC-DC converter is checked for faults.
[0013] In one embodiment, the charging trigger condition includes at least one of the following: The vehicle is in a parked state; The remaining state of charge of the battery module in the vehicle is greater than the preset first state of charge value. The vehicle was not in software update mode. The temperature of the battery in the vehicle is higher than a preset temperature threshold.
[0014] In one embodiment, after detecting whether the vehicle status meets the charging trigger condition and before detecting whether the first DC converter is faulty, the method further includes: If the vehicle meets the charging triggering conditions, a timed charging task is generated; The timing is started based on the aforementioned timed power replenishment task; After the timing reaches the fourth preset duration, the step of detecting whether the first DC-DC converter has a fault is executed.
[0015] In one embodiment, after the timing is started based on the timed power replenishment task, the method further includes: If a power demand request from the vehicle is received before the fourth preset time period is reached, the battery is charged through the second DC-DC converter during the power-on cycle in response to the power demand request, and the timer is reset. At the end of the power-on cycle, the timing is restarted based on the timed power replenishment task.
[0016] In one embodiment, the method further includes: acquiring at least two cumulative charging parameters of the battery in real time, the at least two cumulative charging parameters including: cumulative charging capacity and cumulative charging duration; if all cumulative charging parameters are greater than the corresponding preset thresholds and the trickle charging condition is not met, charging of the battery is stopped after a first stop charging condition is met; if any cumulative charging parameter is not greater than the corresponding preset threshold and the trickle charging condition is met, charging of the battery is stopped after a second stop charging condition is met; wherein, the first stop charging condition is: the current state of charge of the battery reaches a second state of charge value, or the cumulative charging duration reaches a preset first charging duration; the second stop charging condition is: the cumulative charging duration reaches a preset second charging duration, or the current state of charge of the battery reaches a third state of charge value and the charging current of the battery within a fifth preset duration is less than the corresponding threshold; the first charging duration is less than the second charging duration, and the second state of charge value is less than the third state of charge value.
[0017] In one embodiment, the trickle condition includes: the battery's state of charge reaches a third state of charge value and the battery's charging current within a fifth preset time period is less than a corresponding threshold.
[0018] A second aspect of this application provides a battery charging device, which is a vehicle controller. The vehicle includes a battery and a battery module. The battery module has a built-in first DC-DC converter, and a second DC-DC converter is externally disposed on the battery module. The output power of the second DC-DC converter is greater than the output power of the first DC-DC converter. The device includes: The acquisition module is used to acquire the current power level of the battery and charging-related parameters for a first preset time period before the current moment when it is detected that the battery is being charged through the first DC converter. The switching module is used to switch to charging the battery through the second DC-DC converter if the current battery level is less than a preset battery level threshold and the fast charging switching conditions are met. The fast charging switching conditions include: the total charging time of the battery according to the charging-related parameters reaches a second preset time, the battery level is less than the full charge capacity of the battery, and the second preset time is greater than the first preset time. The preset power threshold is not greater than the full charge capacity.
[0019] Thirdly, this application provides an electronic device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method as described in the first aspect.
[0020] Fourthly, this application provides a computer-readable storage medium storing computer instructions for causing the computer to perform the method described in the first aspect.
[0021] The technical solutions provided in this application embodiment have at least the following technical effects or advantages: When this application detects that the battery is being charged via the first DC-DC converter built into the battery module, it can obtain the current battery level and charging-related parameters for a first preset duration prior to the current moment. If the current battery level is less than a preset battery level threshold (i.e., the current battery level has not reached the preset threshold), and the fast-charging switching condition is met (i.e., the battery level is less than the full charge capacity after the total charging time according to the charging-related parameters reaches a second preset duration), then the application switches to charging the battery via the second DC-DC converter. The output power of the second DC-DC converter is greater than that of the first DC-DC converter, thus improving the charging efficiency of the battery. Furthermore, by setting the switch to charging the battery via the second DC-DC converter only if the current battery level is less than the preset threshold and the fast-charging switching condition is met, the application continues to charge the battery via the first DC-DC converter even when the fast-charging switching condition is not met or the current battery level is not less than the preset threshold. This also helps reduce vehicle energy consumption. Therefore, this application can improve vehicle charging efficiency while reducing vehicle energy consumption.
[0022] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0023] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 This is a schematic flowchart of a battery charging method according to this application; Figure 2 This is another schematic diagram of a battery charging method according to this application; Figure 3 This is another schematic diagram of a battery charging method according to this application; Figure 4 This is another schematic diagram of a battery charging method according to this application; Figure 5 This is a schematic diagram of the structure of a battery charging device according to this application; Figure 6 This is a schematic diagram of the electronic device. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the embodiments of this disclosure and the specific features in the embodiments are detailed descriptions of the technical solutions of this application, rather than limitations on the technical solutions of this application. Unless otherwise specified, the embodiments of this application and the technical features in the embodiments can be combined with each other.
[0025] Reference Figure 1 This application provides a battery charging method, which is executed by the vehicle controller. The vehicle includes a battery and a battery module. The battery module has a built-in first DC converter and a second DC converter externally disposed on the battery module. The output power of the second DC converter is greater than the output power of the first DC converter. In this embodiment, the battery module includes a power battery, a first DC-DC converter, and a battery management system (BMS). The first DC-DC converter is electrically connected to the power battery and converts the high-voltage DC output from the power battery into low-voltage DC. The first DC-DC converter is communicatively connected to the BMS. The vehicle controller can control the BMS, and the BMS can control the first DC-DC converter. The BMS can control the first DC-DC converter based on the control commands of the vehicle controller, or the BMS can control the first DC-DC converter independently without relying on the control commands of the vehicle controller. The second direct converter is electrically connected to the power battery, converting the high-voltage DC power output from the power battery into low-voltage DC power. The second direct converter is also communicatively connected to the vehicle controller, and is directly controlled by the vehicle controller. The output power of the second DC converter is greater than that of the first DC converter. Therefore, the charging efficiency (or charging speed) of charging the battery through the second DC converter is greater than that of charging the battery through the first DC converter.
[0026] In user-operated mode, the second DC-DC converter continuously operates. Upon receiving a power-down command from the vehicle controller, the second DC-DC converter shuts down, and the vehicle's high-voltage system enters a power-down sleep state. Theoretically, unless the battery's charge level is below the threshold requiring timely recharging, the first DC-DC converter does not need to be activated in this sleep state. If the battery experiences charge loss, such as due to voltage anomalies or continuous consumption of battery power by low-voltage appliances, the first DC-DC converter can fully cover the power demands of these appliances. Therefore, to reduce energy consumption, the vehicle controller prioritizes charging the battery via the first DC-DC converter when performing battery charging tasks.
[0027] However, because the output power of the first DC-DC converter is much lower than the charging power of the second DC-DC converter, the efficiency of charging the battery through the first DC-DC converter is very low. To improve charging efficiency, this application proposes the following scheme to improve intelligent charging efficiency: The method includes: Step S101: When it is detected that the battery is being charged through the first DC-DC converter, the current battery level and charging-related parameters for a first preset time period before the current moment are obtained. Charging-related parameters refer to parameters related to battery charging; When the battery is charged by a second DC-DC converter outside the battery module, the vehicle's high-voltage system is always awake, which means that all controllers on the vehicle are also awakened, resulting in a sharp increase in energy consumption. This application charges the battery by using a first DC-DC converter built into the battery module, which can charge the battery when the vehicle is not under high voltage and does not wake up the other high-voltage controllers, i.e., when the high-voltage system is in a power-off sleep state, thus reducing power consumption.
[0028] Step S102: If the current battery level is less than the preset battery level threshold and the fast charging switching conditions are met, then switch to charging the battery via the second DC-DC converter. The fast charging switching conditions include: the battery level is less than the full charge capacity after the total charging time for the battery according to the charging-related parameters reaches the second preset time, the second preset time is greater than the first preset time, and the preset battery level threshold is not greater than the full charge capacity.
[0029] The total charging time of the battery refers to the total charging time of the battery according to the charging parameters when the first DC-DC converter charges the battery, and the first preset time that the battery has been charged according to the charging parameters before the current moment. Therefore, the first preset time needs to be taken into account when calculating the total time.
[0030] In this embodiment, the preset power threshold can be the full charge capacity of the battery, or the preset power threshold can be the power that is less than the full charge capacity of the battery and the power difference between the battery and the full charge capacity is less than a preset difference. The second preset duration is the time required for the battery to reach the ideal charge level (which can be a full charge) when the battery is charged by the first DC converter. As can be seen, when this application detects that the battery is being charged via the first DC-DC converter built into the battery module, it can obtain the current battery level and charging-related parameters for a first preset duration prior to the current moment. If the current battery level is less than a preset battery level threshold (i.e., the current battery level has not reached the preset battery level threshold), and the fast-charging switching condition is met (i.e., the battery level is less than the full charge capacity after the total charging time according to the charging-related parameters reaches a second preset duration), then the application switches to charging the battery via the second DC-DC converter. The output power of the second DC-DC converter is greater than that of the first DC-DC converter, thus improving the charging efficiency of the battery. Furthermore, by setting the switch to charging the battery via the second DC-DC converter only if the current battery level is less than the preset battery level threshold and the fast-charging switching condition is met, the application continues to charge the battery via the first DC-DC converter even when the fast-charging switching condition is not met or the current battery level is not less than the preset battery level threshold. This also helps to reduce vehicle energy consumption. Therefore, this application can improve vehicle charging efficiency while reducing vehicle energy consumption.
[0031] In one embodiment, the method further includes: if the charging-related parameter is less than a preset parameter threshold, then it is determined that the fast charging switching condition is met; wherein the preset parameter threshold is not greater than a critical charging-related parameter; the critical charging-related parameter is determined in the following way: if the battery capacity reaches the full charge after the total charging time for the battery according to a certain charging-related parameter reaches the second preset time, then the certain charging-related parameter is taken as the critical charging-related parameter.
[0032] It is evident that when the battery is charged via the first DC-DC converter, if the battery's charge reaches its full capacity after a total charging time according to a certain charging-related parameter reaches a second preset time, then this charging-related parameter is considered a critical charging-related parameter. The preset parameter threshold is not greater than the critical charging-related parameter, but the charging-related parameter is less than the preset parameter threshold. Therefore, when the battery is charged via the first DC-DC converter, the battery's charge will definitely be less than its full capacity after a total charging time according to the aforementioned charging-related parameter reaches the second preset time. Thus, this application only needs to determine whether the charging-related parameter is less than the preset parameter threshold. If the charging-related parameter is less than the preset parameter threshold, then the fast-charging switching condition is satisfied.
[0033] In one embodiment, the charging-related parameter is any one of at least two parameters, each of which has a one-to-one corresponding preset parameter threshold; any one parameter includes multiple charging currents of the battery within a first preset duration, or the parameter change between the characterization parameter corresponding to the start time and the characterization parameter corresponding to the end time of the first preset duration, and the characterization parameter is used to characterize the battery capacity.
[0034] The charging current of the battery may change within the first preset time period, and any parameter includes multiple charging currents of the battery within the first preset time period. In this embodiment, the characterization parameters specifically include: the battery's charge level or the battery's state of charge (SOC).
[0035] In one embodiment, if any parameter is multiple charging currents of the battery within a first preset time period, then the preset parameter threshold is a preset charging current threshold. Charging-related parameters being less than the preset parameter threshold includes: multiple charging currents being less than the preset charging current threshold. If any parameter is the change in the parameter between the characterizing parameters, then when the change in the parameter is the change in the battery's charge, the preset parameter threshold is the threshold for the change in the battery's charge; or when the change in the parameter is the change in the battery's state of charge, the preset parameter threshold is the threshold for the change in the battery's state of charge.
[0036] If the charging current of the battery is less than the preset charging current threshold within the first preset time period, it is necessary to switch to charging the battery through the second DC converter in order to improve the charging efficiency of the battery. The parameter can be the change in the parameter between the start and end times of the first preset duration. When the parameter is the battery charge, the change in the parameter is the change in the battery charge between the start and end times of the first preset duration. When the parameter is the battery SOC, the change in the parameter is the change in the SOC between the start and end times of the first preset duration. Correspondingly, if the charging-related parameters are less than the preset parameter thresholds, including: the change in battery charge is less than the charge change threshold, or the change in battery SOC is less than the SOC change threshold, then it is necessary to switch to charging the battery through the second DC-DC converter to improve the battery charging efficiency.
[0037] In one embodiment, the critical charging-related parameters include a critical charging current or a critical parameter change of the characterization parameter; the critical charging current is determined based on the second preset duration and the full charge of the battery; the critical parameter change is determined based on the second preset duration, the first preset duration, and the characterization parameter of the battery when the battery's charge reaches the full charge of the battery.
[0038] If the charging-related parameters are multiple charging currents of the battery within a first preset time period, then the critical charging-related parameters include the critical charging current, which is determined as follows: The method is determined based on the second preset duration and the full charge capacity of the battery, including: dividing the full charge capacity of the battery by the second preset duration to obtain the critical charging current. If any parameter represents the change in the characteristic parameter, and the change in parameter is the change in SOC, then the method for determining the critical change in the characteristic parameter is as follows: The SOC change threshold is determined based on the second preset duration, the first preset duration, and the SOC of the battery when the battery capacity reaches the full charge level. Specifically, the calculation method is as follows: the second preset duration is divided by the first preset duration to obtain the result value, the SOC of the battery when it is fully charged is divided by the result value to obtain the critical SOC change amount, and the critical SOC change amount is used as the critical parameter change amount. If any parameter represents the change in a parameter between other parameters, and the change in parameter is a change in electrical quantity, then the method for determining the critical change in the parameter representing the other parameter is as follows: The parameters of the battery are determined based on the second preset duration, the first preset duration, and the battery's capacity when it reaches its full charge level. Specifically, the calculation method is as follows: the second preset duration is divided by the first preset duration to obtain the result value; the full charge level of the battery is divided by the result value to obtain the critical change in battery capacity; and the critical change in battery capacity is used as the critical parameter change value. In this application, the battery is first charged by the built-in direct current-to-current (DCDC) converter (i.e., the first DC converter mentioned above). If there are multiple low-voltage electrical appliances, the charging efficiency of the battery is very low. Therefore, it is necessary to switch to the high-voltage side DCDC (i.e., the second DC converter mentioned above) according to the current charging status of the battery to improve the energy replenishment efficiency and avoid the vehicle judging that the intelligent charging task has ended and shutting down to hibernation in advance when the battery capacity is low.
[0039] The vehicle controller determines that if both conditions a1 and b1 are true, or both conditions a2 and b2 are true, then the charging efficiency of the battery via the first DC-DC converter is considered low. Therefore, it is necessary to enable the high-voltage side DC-DC converter to charge the battery to improve charging efficiency and ensure the reliability of the low-voltage circuit power supply. A specific application scenario for this intelligent charging efficiency improvement scheme is as follows: Scenario 1: Condition a1: The current battery charge is less than a preset charge threshold. The preset charge threshold can be the battery charge when it is fully charged. Condition b1: The change in SOC between the start and end times of the first preset duration does not exceed the change threshold. In one scenario of this embodiment, the change threshold can be set to 3%, the first preset duration can be 5 minutes, and the maximum allowable duration for charging the battery through the first DC-DC converter is set, i.e., the second preset duration is 2 hours. Considering the worst operating conditions, if the battery is charged at a rate of no more than 3% change in SOC every 5 minutes, if the battery's SOC has already decreased to close to 0%, it will still take more than 2 hours to fully charge the battery. Therefore, it is necessary to switch to the high-voltage side DC-DC converter to increase the rate of SOC increase of the battery.
[0040] Scenario 2: Condition a2: The current battery charge is less than a preset charge threshold. The preset charge threshold can be the battery charge when it is fully charged. Condition b2: Within the first preset time period, the multiple charging currents of the battery are all less than the preset charging current threshold. In one scenario of this embodiment, the preset charging current threshold can be set to 4A, the first preset duration can be 5min, and the maximum allowable duration for charging the battery through the first DC converter is set, i.e., the second preset duration is 2H. Assuming that the battery requires 10Ah to be fully charged, if the battery charging current is consistently lower than 4A, then the 2H intelligent charging can only charge up to 8Ah, which is insufficient to fully charge the battery.
[0041] As can be seen, this application reasonably sets the priority of the first DC converter and the second DC converter, and prioritizes using the first DC converter to charge the battery, which can reduce the energy consumption of the vehicle. Then, based on the current battery charge and charging-related parameters, if the battery cannot be fully charged within the maximum allowable charging time at the current charging rate, the application switches to the second DC converter to charge the battery, thereby improving charging efficiency.
[0042] Reference Figure 2 The above describes the solution for improving intelligent power replenishment efficiency in this application. Before implementing the above solution for improving intelligent power replenishment efficiency, the method of this application also includes a fault detection scheme for the first DC converter, specifically: In one embodiment, before detecting that the battery is being charged through the first DC converter, the method further includes: step S201, detecting whether the first DC converter is faulty; step S202, if the first DC converter is not faulty, charging the battery through the first DC converter; step S203, if the first DC converter is faulty, charging the battery through a second DC converter.
[0043] After step S203, the method further includes: step S204: when it is detected that the battery is being charged through the first DC converter, the current battery level and charging-related parameters for a first preset duration before the current moment are obtained; step S205: if the current battery level is less than a preset battery level threshold and the fast charging switching conditions are met, the method switches to charging the battery through the second DC converter.
[0044] If the first DC converter is not faulty, when the BMS in the battery module receives the command from the vehicle controller to enable the first DC converter, it will close the contactor and connect the bus circuit, regulate the output current of the first DC converter according to the functional requirement voltage, and ensure that the output power of the first DC converter does not exceed the maximum rated output power.
[0045] If the first DC-DC converter malfunctions, the vehicle controller enables the second DC-DC converter to start working and charge the battery through the second DC-DC converter.
[0046] In one embodiment, detecting whether the first DC converter is faulty includes: if a fault indication message is received from the first DC converter, determining that the first DC converter is faulty based on the fault indication message; or sending a first control command to the first DC converter, and if no response information from the first DC converter to the first control command is received within a third preset time, determining that the first DC converter is faulty; the first control command is used to control the first DC converter to charge the battery.
[0047] Scenario 1: When the first DC converter has an alarm or a high-level fault, such as when the first DC converter is currently unavailable or damaged and needs repair, the first DC converter actively sends a fault indication message to the BMS. The BMS then sends the fault indication message to the vehicle controller. The fault indication message can specifically indicate that the first DC converter is currently unavailable or damaged and needs repair. Thus, the vehicle controller determines the specific fault of the first DC converter based on the fault indication message.
[0048] Scenario 2: The vehicle controller sends an enable command to the first DC-DC converter to the BMS. The BMS generates a first control command based on the enable command. The first control command is used to control the first DC-DC converter to turn on and charge the battery. If no response message is received from the first DC-DC converter within a third preset time period, it is determined that the first DC-DC converter is faulty.
[0049] In this embodiment, the third preset duration and the aforementioned second preset duration can be the same duration.
[0050] Reference Figure 3 Before implementing the fault detection scheme for the first DC-DC converter, this application also includes a condition judgment scheme for enabling smart charging, specifically including: a charging trigger condition judgment scheme and a charging strategy determination scheme, in particular: The charging trigger condition determination scheme is as follows: In one embodiment, before detecting whether the first DC converter is faulty, the method further includes: step S301, detecting whether the vehicle meets the charging triggering conditions; detecting whether the first DC converter is faulty includes: if the vehicle meets the charging triggering conditions, then step S302, detecting whether the first DC converter is faulty.
[0051] If the vehicle does not meet the charging triggering conditions, charging of the battery will not be triggered.
[0052] In one embodiment, the charging triggering condition includes at least one of the following: the vehicle is in a parked state; the remaining state of charge of the battery module in the vehicle is greater than a preset first state of charge value; the vehicle is not in software update mode; and the temperature of the battery in the vehicle is higher than a preset temperature threshold.
[0053] Intelligent charging typically occurs in parked scenarios, so it is necessary to consider the impact of the current scenario on the relevant electronic control unit (ECU), and the relevant ECU must be woken up to obtain important information about the prerequisites.
[0054] The charging trigger conditions specifically include at least one of the following: 1. Vehicle in parked state: If the vehicle's electronic parking brake (EPB) system is not engaged, the vehicle may roll away. In order to avoid charging the battery under this condition and causing safety risks, it is necessary to check whether the vehicle is in parked state. 2. Sufficient remaining charge in the motor battery module: The first state of charge value of the battery module is different under different temperature conditions. For any temperature condition, the charging trigger condition includes: the value of the remaining state of charge is greater than the preset first state of charge value. This can avoid the over-discharge of the power battery, which may lead to vehicle breakdown or power battery energy complaints.
[0055] 3. Vehicle software update mode not enabled: When an ECU upgrade via Over-the-Air Technology (OTA) is detected, battery charging is prohibited. This is to avoid conflicts between ECU upgrades and intelligent battery charging. 4. Battery temperature exceeds preset temperature threshold: New energy vehicle batteries do not have an independent thermal management system. Due to electrolyte cooling, the resistance to chemical reactions is high. Usually, when the battery temperature does not exceed the preset temperature threshold, the intelligent charging strategy is prohibited from being activated to avoid the battery charging under low temperature conditions, which would result in a continuous discharge current to low-voltage electrical appliances.
[0056] The charging strategy is determined as follows: In one embodiment, after detecting whether the vehicle status meets the charging trigger condition and before detecting whether the first DC converter is faulty, the method further includes: if the vehicle meets the charging trigger condition, generating a timed charging task; starting a timer based on the timed charging task; and after the timer reaches a fourth preset duration, performing the step of detecting whether the first DC converter is faulty.
[0057] If the vehicle meets the charging triggering conditions, a timed charging task is generated after the first power-on cycle of charging the battery through the second DC converter ends, or after the second power-on cycle of charging the battery through the first DC converter ends. The timed charging task is stored before the vehicle enters the power-off hibernation state.
[0058] In this application, the vehicle entering a power-off sleep state actually refers to the aforementioned high-voltage system entering a power-off sleep state, at which time the vehicle controller also enters a power-off sleep state.
[0059] Based on the timed power replenishment task, timer T1 starts timing. After the timing duration reaches the fourth preset duration, the step of detecting whether the first DC converter has a fault is executed.
[0060] In this embodiment, the fourth preset duration may be different from the first preset duration and the second preset duration described above.
[0061] In one embodiment, after the timing is started based on the timed power replenishment task, the method further includes: if a power demand request from the vehicle is received before the fourth preset duration is reached, in response to the power demand request, the battery is charged through the second DC-DC converter during the power-on cycle, and the timing is reset; at the end of the power-on cycle, the timing is restarted based on the timed power replenishment task.
[0062] If a power demand request from a vehicle is received, such as a driving demand request or other power demand request, causing the second DC converter or the first DC converter to start a second power-on cycle in response to the power demand request, then the timer's timing will be interrupted, and the timing of the start timer T1 will be reset. After the second power-on cycle ends, the timer will be restarted, and after the timing reaches the fourth preset duration TIMEa, the step of checking whether the first DC converter has a fault will be executed.
[0063] Because during the second power-on cycle, the battery is constantly being recharged due to power demand requests, the timed recharge task set based on the first power-on cycle needs to be updated and iterated immediately after the second power-on cycle ends in order to restart the timer.
[0064] In one embodiment, before detecting whether the first DC-DC converter is faulty after the timing reaches a fourth preset duration, the method further includes: After checking the battery's charge and voltage, and ensuring the following battery conditions are met, proceed with the steps described above for detecting a fault in the first DC-DC converter. The battery conditions are conditions a3 and b3, or condition c3; where: Condition a3: Low battery power: The battery power is lower than the preset first power threshold SOCa; Condition b3: If the deviation between the battery's self-learned capacity and the actual capacity is greater than the preset deviation, then the battery's self-learned capacity is considered unreliable. Condition c3: The battery charge is lower than the first charge threshold SOCb or the external voltage of the battery is lower than the preset external voltage threshold.
[0065] Meanwhile, considering the possibility of communication failures or functional priority issues leading to failures in intelligent charging scenarios, if the step of detecting whether the first DC-DC converter is faulty is not executed after timer T1 has accumulated for the fourth preset duration, the vehicle controller will memorize the timed charging task before entering the power-down sleep state. When in the power-down sleep state, after the vehicle controller is woken up, it will first determine whether the timed charging task needs to be activated. If so, the timed charging task will be re-executed to ensure the reliability of the battery charging strategy.
[0066] Reference Figure 4 After implementing the above-mentioned solution to improve the efficiency of intelligent power replenishment, this application also includes an intelligent power replenishment exit solution, specifically: In one embodiment, after executing step S401, when it is detected that the battery is being charged through the first DC-DC converter, the current battery level and charging-related parameters for a first preset duration prior to the current moment are obtained; and after executing step S402, if the current battery level is less than a preset battery level threshold and the fast charging switching condition is met, the method further includes: step S403, acquiring at least two cumulative charging parameters of the battery in real time, the at least two cumulative charging parameters including: cumulative charging capacity and cumulative charging duration; step S404, if all cumulative charging parameters are greater than the corresponding preset threshold and the trickle charging condition is not met, the charging of the battery is stopped after the first stop charging condition is met; and step S405, if any cumulative charging parameter is not greater than the corresponding preset threshold and the trickle charging condition is met, the charging of the battery is stopped after the second stop charging condition is met. The first charging stop condition is: the battery's state of charge reaches the second state of charge value, or the cumulative charging time reaches the preset first charging time; the second charging stop condition is: the cumulative charging time reaches the preset second charging time, or the battery's state of charge reaches the third state of charge value and the charging current of the battery within the fifth preset time is less than the corresponding threshold; the first charging time is less than the second charging time, and the second state of charge value is less than the third state of charge value.
[0067] The cumulative charging capacity is calculated as follows: when the charging current of the battery is positive, the cumulative charging ampere-hours Q of the battery in the current power-on cycle is calculated using the ampere-hour integration method. The cumulative charging ampere-hours is the cumulative charging capacity. Cumulative charging time refers to the total time that the battery has been charged. It is understandable that the cumulative charging capacity and cumulative charging time of the battery are constantly accumulating and changing, so it is necessary to obtain the cumulative charging capacity and cumulative charging time of the battery in real time.
[0068] The cumulative charging amount is greater than the corresponding preset threshold, including: the cumulative charging amount is greater than the preset charging amount threshold; the cumulative charging time is greater than the corresponding preset threshold, including: the cumulative charging time is greater than the corresponding charging time threshold, and the charging time threshold can be set to 72h.
[0069] Current state of charge, i.e., the SOC of the battery at the current moment; The fifth preset duration may differ from the first, second, third, and fourth preset durations mentioned above. If the time corresponding to at least two cumulative charging parameters of the battery is obtained in real time is the target time, the fifth preset duration may be a preset duration ending at the target time, a preset duration starting at the target time, or a duration including the target time.
[0070] The first condition for stopping charging is: the current state of charge of the battery reaches the value of the second state of charge, or the cumulative charging time reaches the preset first charging time. The value of the second state of charge can be 95%, and the first charging time can be 1.5 hours. The second charging stop condition is: the cumulative charging time reaches the preset second charging time, which can be 2 hours; or the second charging stop condition is: the current state of charge of the battery reaches the value of the third state of charge and the charging current of the battery within the fifth preset time is less than the corresponding threshold, where the value of the third state of charge can be 100% and the charging current within the fifth preset time is less than the corresponding threshold, which can be that the charging current within the fifth preset time is always less than 0.5A for 15 minutes.
[0071] In this embodiment, stopping the charging of the battery includes: if the battery is being charged via a first DC-DC converter, sending a second control command to the first DC-DC converter so that the first DC-DC converter stops charging the battery based on the second control command; if the battery is being charged via a second DC-DC converter, sending a second control command to the second DC-DC converter so that the second DC-DC converter stops charging the battery based on the second control command.
[0072] In one embodiment, the trickle condition includes: the battery's state of charge reaches a third state of charge value and the battery's charging current within a fifth preset time period is less than the corresponding threshold.
[0073] Exit charging after non-trickle charging: If the cumulative charging amount continues to accumulate until it exceeds the preset charging amount threshold, and / or the cumulative charging time continues to accumulate until it exceeds the corresponding charging time threshold, and the trickle charging condition is never met, then charging will be stopped after the battery's SOC reaches 95% or the cumulative charging time reaches 1.5 hours. Triggering trickle charging and then exiting charging: During the process of the cumulative charging amount continuously increasing until the cumulative charging amount exceeds the preset charging amount threshold, and / or during the process of the cumulative charging time continuously increasing until the cumulative charging time exceeds the corresponding charging time threshold, if the trickle charging condition is met, then the charging will be exited after the battery SOC reaches 100% or the cumulative charging time reaches 2 hours; and the cumulative charging amount and cumulative charging time of the battery will be reset, that is, the cumulative charging amount and cumulative charging time of the battery will be cleared to 0 and then recalculated.
[0074] More specifically, the trickle charging condition is: the battery's current state of charge (SOC) reaches 100% and the charging current within 15 minutes is less than 0.5A; If the cumulative charging amount does not reach the preset charging amount threshold and / or the cumulative charging time does not reach 72 hours, then if the trickle charging condition is met: Situation A1: Wait for the battery's SOC to rise to 100% and the battery's input current to remain less than 0.5A for 15 minutes before stopping charging; Situation B1: The battery stops charging after a cumulative charging time of 2 hours.
[0075] If the cumulative charging capacity exceeds the preset charging capacity threshold and the cumulative charging time exceeds 72 hours, and the trickle charging condition is not met (i.e., the trickle charging condition is never met during the cumulative time or cumulative ampere-hours), then: Situation A2: Stop charging after the battery's SOC rises to 95%; Situation B2: The battery stops charging after the cumulative charging time reaches 1.5 hours.
[0076] In this embodiment, considering the actual physical characteristics of lead-acid batteries, a state of charge (SOC) of 100% does not mean that the battery has reached its nominal capacity, but only that the battery has reached its rated capacity. Therefore, to actually achieve the physical condition of full charge (i.e., reaching the nominal capacity), it is necessary to add the condition that the charging current within the fifth preset time period is less than the corresponding threshold.
[0077] Meanwhile, considering the actual time required to charge the battery via the second DC converter, the power consumed by the battery will affect the range and performance to some extent, which may lead to complaints. Therefore, based on the actual power consumption of the vehicle, the total charging time for the battery is reasonably allowed.
[0078] Based on the same concept, embodiments of the present invention also provide a battery charging device. Figure 5 This is a structural block diagram of a battery charging device provided in an embodiment of this application. The device is a vehicle controller, and the vehicle includes a battery and a battery module. The battery module has a built-in first DC-DC converter, and a second DC-DC converter is externally disposed on the battery module. The output power of the second DC-DC converter is greater than the output power of the first DC-DC converter. The device includes: The acquisition module 501 is used to acquire the current power level of the battery and charging-related parameters for a first preset time before the current moment when it is detected that the battery is being charged by the first DC converter. The switching module 505 is used to switch to charging the battery through the second DC-DC converter if the current battery level is less than a preset battery level threshold and the fast charging switching conditions are met. The fast charging switching conditions include: the battery level is less than the full charge capacity of the battery after the total charging time of the battery according to the charging-related parameters reaches a second preset time, and the second preset time is longer than the first preset time. The preset power threshold is not greater than the full charge capacity.
[0079] In one embodiment, the device further includes a determining module, configured to determine that the fast charging switching condition is met if the charging-related parameter is less than a preset parameter threshold; wherein the preset parameter threshold is not greater than a critical charging-related parameter; the critical charging-related parameter is determined as follows: if the battery capacity reaches the full charge capacity after the total charging time for the battery according to a certain charging-related parameter reaches the second preset time, then the certain charging-related parameter is taken as the critical charging-related parameter.
[0080] In one embodiment, the charging-related parameter is any one of at least two parameters, each of which has a one-to-one corresponding preset parameter threshold; any one parameter includes multiple charging currents of the battery within a first preset duration, or the parameter change between the characterization parameter corresponding to the start time and the characterization parameter corresponding to the end time of the first preset duration, wherein the characterization parameter is used to characterize the battery capacity.
[0081] In one embodiment, if any one of the parameters is multiple charging currents of the battery within a first preset time period, then the preset parameter threshold is a preset charging current threshold, and the charging-related parameters being less than the preset parameter threshold includes: multiple charging currents being less than the preset charging current threshold; if any one of the parameters is the parameter change amount between the characterizing parameters, then when the parameter change amount is the change amount of the battery's charge, the preset parameter threshold is the battery's charge change amount threshold; or when the parameter change amount is the change amount of the battery's state of charge, the preset parameter threshold is the battery's state of charge change amount threshold.
[0082] In one embodiment, the critical charging-related parameters include a critical charging current or a critical parameter change of the characterization parameter; the critical charging current is determined based on the second preset duration and the full charge of the battery; the critical parameter change is determined based on the second preset duration, the first preset duration, and the characterization parameter of the battery when the battery's charge reaches the full charge of the battery.
[0083] In one embodiment, the device further includes a fault detection module, configured to, before the acquisition module detects that the battery is being charged via the first DC converter: detect whether the first DC converter is faulty; if the first DC converter is not faulty, charge the battery via the first DC converter; if the first DC converter is faulty, charge the battery via a second DC converter.
[0084] In one embodiment, when detecting whether the first DC-DC converter is faulty, the fault detection module is specifically used for: If a fault indication message is received from the first DC converter, then it is determined that the first DC converter is faulty based on the fault indication message; Alternatively, a first control command may be sent to the first DC converter. If no response information from the first DC converter to the first control command is received within a third preset time period, it is determined that the first DC converter is faulty. The first control command is used to control the first DC converter to charge the battery.
[0085] In one embodiment, the device further includes a charging trigger module, which is used to detect whether the vehicle meets the charging trigger conditions before the fault detection module detects whether the first DC-DC converter is faulty. When detecting whether the first DC-DC converter is faulty, the fault detection module is specifically used for: If the vehicle meets the charging triggering conditions, then the first DC-DC converter is checked for faults.
[0086] In one embodiment, the charging trigger condition includes at least one of the following: The vehicle is in a parked state; The remaining state of charge of the battery module in the vehicle is greater than the preset first state of charge value. The vehicle was not in software update mode. The temperature of the battery in the vehicle is higher than a preset temperature threshold.
[0087] In one embodiment, the charging trigger module is further configured to: If the vehicle meets the charging triggering conditions, a timed charging task is generated; The timing is started based on the aforementioned timed power replenishment task; After the timing reaches the fourth preset duration, the step of detecting whether the first DC-DC converter has a fault is executed.
[0088] In one embodiment, the charging trigger module is further configured to: If a power demand request from the vehicle is received before the fourth preset time period is reached, the battery is charged through the second DC-DC converter during the power-on cycle in response to the power demand request, and the timer is reset. At the end of the power-on cycle, the timing is restarted based on the timed power replenishment task.
[0089] In one embodiment, the device further includes a charging exit module, configured to: acquire at least two cumulative charging parameters of the battery in real time, the at least two cumulative charging parameters including: cumulative charging capacity and cumulative charging duration; If all cumulative charging parameters are greater than the corresponding preset thresholds and the trickle charging condition is not met, then charging of the battery will stop after the first stop charging condition is met. If any cumulative charging parameter is not greater than the corresponding preset threshold and the trickle charging condition is met, then charging of the battery will stop after the second stop charging condition is met. The first charging stop condition is: the current state of charge of the battery reaches the second state of charge value, or the cumulative charging time reaches the preset first charging time; the second charging stop condition is: the cumulative charging time reaches the preset second charging time, or the current state of charge of the battery reaches the third state of charge value and the charging current of the battery within the fifth preset time is less than the corresponding threshold. The first charging time is less than the second charging time, and the second state of charge value is less than the third state of charge value.
[0090] In one embodiment, the trickle condition includes: the battery's state of charge reaches a third state of charge value and the battery's charging current within a fifth preset time period is less than a corresponding threshold.
[0091] It is understood that the device provided in the above embodiments is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0092] Reference Figure 6 The present invention also provides an electronic device, which may include a processor 601 and a memory 601, wherein the processor 601 and the memory 601 can communicate with each other through a bus or other means.
[0093] The processor 602 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application, or it may be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or other chips, or combinations of the above types of chips.
[0094] Memory 601 may include mass storage for data or instructions. For example, and not limitingly, memory may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where suitable, memory may include removable or non-removable (or fixed) media. Where suitable, memory may be internal or external to an electronic device. In a particular embodiment, memory may be non-volatile solid-state memory.
[0095] In one instance, memory 601 may be read-only memory (ROM). In one instance, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0096] The processor 602 implements any of the battery charging methods described in the above embodiments by reading and executing computer program instructions stored in the memory.
[0097] In one example, the electronic device may further include a communication interface and a bus. The processor, memory, and communication interface are connected via the bus to communicate with each other. The communication interface is primarily used to enable communication between the various modules, devices, units, and / or equipment in the embodiments of this application. Where appropriate, the bus may include one or more buses.
[0098] Furthermore, in conjunction with the battery charging method in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement one of the battery charging methods described in the above embodiments.
[0099] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. The storage medium can be read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium can also include combinations of the above types of memory.
[0100] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0101] Similarly, it should be understood that, in order to simplify this disclosure and aid in understanding one or more of the various aspects of the invention, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this method of disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.
[0102] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
Claims
1. A method for charging a storage battery, characterized in that, The method is executed by the vehicle's vehicle controller. The vehicle includes a battery and a battery module. The battery module has a built-in first DC-DC converter and a second DC-DC converter externally disposed on the battery module. The output power of the second DC-DC converter is greater than the output power of the first DC-DC converter. The method includes: When it is detected that the battery is being charged through the first DC converter, the current charge level of the battery and charging-related parameters for a first preset time period prior to the current moment are obtained. If the current battery level is less than a preset battery level threshold and the fast charging switching conditions are met, then the charging process is switched to the second DC-DC converter to charge the battery. The fast charging switching conditions include: after the total charging time for the battery according to the charging-related parameters reaches a second preset time, the battery level is less than the battery's full charge capacity, and the second preset time is longer than the first preset time. The preset power threshold is not greater than the full charge capacity.
2. The method according to claim 1, characterized in that, The method further includes: If the charging-related parameters are less than the preset parameter threshold, then the fast charging switching conditions are met. Wherein, the preset parameter threshold is not greater than the critical charging-related parameter; The critical charging-related parameter is determined as follows: if the battery capacity reaches the full charge after the total charging time for the battery according to a certain charging-related parameter reaches the second preset time, then the certain charging-related parameter is taken as the critical charging-related parameter.
3. The method according to claim 1 or 2, characterized in that, The charging-related parameters are any one of at least two parameters, each of which has a one-to-one corresponding preset parameter threshold; any one parameter includes multiple charging currents of the battery within a first preset duration, or the parameter change between the characterization parameter corresponding to the start time and the characterization parameter corresponding to the end time of the first preset duration, and the characterization parameter is used to characterize the battery capacity.
4. The method according to claim 3, characterized in that, If any of the parameters are multiple charging currents of the battery within a first preset time period, then the preset parameter threshold is a preset charging current threshold. The charging-related parameters being less than the preset parameter threshold includes: multiple charging currents being less than the preset charging current threshold. If any parameter is the change in the parameter between the characterizing parameters, then when the change in the parameter is the change in the battery's charge, the preset parameter threshold is the threshold for the change in the battery's charge; or when the change in the parameter is the change in the battery's state of charge, the preset parameter threshold is the threshold for the change in the battery's state of charge.
5. The method according to claim 2, characterized in that, The critical charging-related parameters include the critical charging current or the critical parameter change of the characterization parameters. The critical charging current is determined based on the second preset duration and the full charge capacity of the battery. The change in the critical parameter is determined based on the second preset duration, the first preset duration, and the characteristic parameters of the battery when the battery's charge reaches its full charge.
6. The method according to claim 1 or 2, characterized in that, Before detecting that the battery is being charged via the first DC-DC converter, the method further includes: Detect whether the first DC-DC converter is faulty; If the first DC converter is not faulty, the battery is charged through the first DC converter; If the first DC converter malfunctions, the battery is charged via the second DC converter.
7. The method according to claim 6, characterized in that, The detection of whether the first DC-DC converter is faulty includes: If a fault indication message is received from the first DC converter, then it is determined that the first DC converter is faulty based on the fault indication message; Alternatively, a first control command may be sent to the first DC converter. If no response information from the first DC converter to the first control command is received within a third preset time period, it is determined that the first DC converter is faulty. The first control command is used to control the first DC converter to charge the battery.
8. The method according to claim 6, characterized in that, Before detecting whether the first DC-DC converter is faulty, the method further includes: Check if the vehicle meets the charging trigger conditions; Detecting whether the first DC-DC converter is faulty includes: If the vehicle meets the charging triggering conditions, then the first DC-DC converter is checked for faults.
9. The method according to claim 8, characterized in that, The charging triggering condition includes at least one of the following: The vehicle is in a parked state; The remaining state of charge of the battery module in the vehicle is greater than the preset first state of charge value. The vehicle was not in software update mode. The temperature of the battery in the vehicle is higher than a preset temperature threshold.
10. The method according to claim 9, characterized in that, After detecting whether the vehicle status meets the charging triggering conditions and before detecting whether the first DC converter is faulty, the method further includes: If the vehicle meets the charging triggering conditions, a timed charging task is generated; The timing is started based on the aforementioned timed power replenishment task; After the timing reaches the fourth preset duration, the step of detecting whether the first DC-DC converter has a fault is executed.
11. The method according to claim 10, characterized in that, After the timing for the timed power replenishment task is initiated, the method further includes: If a power demand request from the vehicle is received before the fourth preset time period is reached, the battery is charged through the second DC-DC converter during the power-on cycle in response to the power demand request, and the timer is reset. At the end of the power-on cycle, the timing is restarted based on the timed power replenishment task.
12. The method according to claim 1 or 2, characterized in that, The method further includes: The battery can be acquired in real time with at least two cumulative charging parameters, including cumulative charging capacity and cumulative charging duration. If all cumulative charging parameters are greater than the corresponding preset thresholds and the trickle charging condition is not met, then charging of the battery will stop after the first stop charging condition is met. If any cumulative charging parameter is not greater than the corresponding preset threshold and the trickle charging condition is met, then charging of the battery will stop after the second stop charging condition is met. The first charging stop condition is: the current state of charge of the battery reaches the second state of charge value, or the cumulative charging time reaches the preset first charging time; the second charging stop condition is: the cumulative charging time reaches the preset second charging time, or the current state of charge of the battery reaches the third state of charge value and the charging current of the battery within the fifth preset time is less than the corresponding threshold. The first charging time is less than the second charging time, and the second state of charge value is less than the third state of charge value.
13. The method according to claim 12, characterized in that, The trickle-down conditions include: the battery's state of charge reaches the third state of charge value and the battery's charging current within a fifth preset time period is less than the corresponding threshold.
14. A battery charging device, characterized in that, The device is a vehicle controller, the vehicle includes a battery and a battery module, the battery module has a built-in first DC-DC converter, and a second DC-DC converter is externally disposed on the battery module, the output power of the second DC-DC converter being greater than the output power of the first DC-DC converter; the device includes: The acquisition module is used to acquire the current power level of the battery and charging-related parameters for a first preset time period before the current moment when it detects that the battery is being charged through the first DC converter. The switching module is used to switch to charging the battery through the second DC-DC converter if the current battery level is less than a preset battery level threshold and the fast charging switching conditions are met. The fast charging switching conditions include: the battery level is less than the full charge capacity of the battery after the total charging time of the battery according to the charging-related parameters reaches a second preset time, and the second preset time is longer than the first preset time. The preset power threshold is not greater than the full charge capacity.
15. An electronic device, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1-13.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the method of any one of claims 1-13.