Battery charging control method and device, computer device, and storage medium

By reading the current sensor status and charging balance when the vehicle is powered on, battery parameters are obtained, the charging capacity is calculated, and charging is stopped in case of abnormality. This solves the problem that traditional battery control cannot predict overcharging, thus improving battery safety and vehicle safety.

CN117124927BActive Publication Date: 2026-04-24一汽解放青岛汽车有限公司 +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
一汽解放青岛汽车有限公司
Filing Date
2023-08-21
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

Traditional battery control methods cannot actively identify or predict battery overcharging, posing significant safety hazards.

Method used

The charging module is controlled to charge by reading the current sensor status information and charging balance when the vehicle is powered on; during the charging process, battery charging parameters and status parameters are acquired to calculate the actual and theoretical charging capacity, and charging is stopped in case of abnormality.

Benefits of technology

It enables proactive identification of battery overcharging, anticipates and stops charging in advance, protects the battery, and improves vehicle safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117124927B_ABST
    Figure CN117124927B_ABST
Patent Text Reader

Abstract

The application relates to a battery charging control method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: reading pre-stored current sensor state information and a charging margin when the vehicle is powered on; controlling a charging module to charge when it is determined that the current sensor is normal according to the current sensor state information; obtaining battery charging parameters and battery state parameters during the charging process; calculating an actual charging capacity according to the battery charging parameters and the charging margin, and calculating a theoretical charging capacity according to the battery state parameters; judging whether the current charging state is abnormal according to the actual charging capacity and the theoretical charging capacity; and controlling the charging module to stop charging when the current charging state is abnormal. The method can actively identify and predict the overcharging of the battery in advance, and the charging process of the battery is stopped when it is detected that there is a risk of overcharging of the battery, so that the purpose of protecting the battery is achieved, and the safety of the vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control technology, and in particular to a battery charging control method, device, computer equipment, computer-readable storage medium, and computer program product. Background Technology

[0002] To reduce the risk of thermal runaway, traditional battery control methods mainly propose protection strategies when thermal runaway occurs in the battery compartment, such as using refrigerant as a fire extinguishing agent to improve fire extinguishing reliability. However, this method cannot actively identify or predict battery overcharging in advance, which poses a significant safety hazard. Summary of the Invention

[0003] Therefore, it is necessary to provide a battery charging control method, device, computer equipment, computer-readable storage medium, and computer program product that can actively identify and predict battery overcharging conditions in advance, in order to address the above-mentioned technical problems.

[0004] Firstly, this application provides a battery charging control method. The method includes:

[0005] When the vehicle is powered on, the pre-stored current sensor status information and charging balance are read.

[0006] When the current sensor is determined to be normal based on the current sensor status information, the charging module is controlled to charge.

[0007] During the charging process, battery charging parameters and battery status parameters are acquired;

[0008] The actual charging capacity is calculated based on the battery charging parameters and the charging margin, and the theoretical charging capacity is calculated based on the battery state parameters.

[0009] Determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity;

[0010] When the current charging state is abnormal, the charging module is controlled to stop charging.

[0011] In one embodiment, the battery charging parameters include the actual charging current and the total battery voltage;

[0012] The step of calculating the actual charging capacity based on the battery charging parameters and the charging margin includes:

[0013] Calculate the current charging capacity based on the actual charging current and the total battery voltage;

[0014] The actual charging capacity is determined based on the current charging capacity and the remaining charging capacity.

[0015] In one embodiment, the battery state parameters include the initial state of charge and the current state of charge;

[0016] The calculation of the theoretical charging capacity based on the battery state parameters includes:

[0017] Calculate the charge difference based on the initial charge state and the current charge state;

[0018] The theoretical charging capacity is calculated based on the charge difference and the total battery capacity.

[0019] In one embodiment, determining whether the current charging state is abnormal based on the actual charging capacity and the theoretical charging capacity includes:

[0020] Calculate the difference between the actual charging capacity and the theoretical charging capacity;

[0021] Determine whether the power difference is greater than a preset power threshold;

[0022] When the difference in power level is greater than the preset power level threshold, the current charging state is determined to be abnormal.

[0023] In one embodiment, the method further includes:

[0024] Determine the total vehicle charging power and obtain the battery total voltage and the actual charging current collected by the current sensor;

[0025] The theoretical charging current is calculated based on the vehicle charging power and the total battery voltage.

[0026] Determine whether the absolute value of the difference between the theoretical charging current and the actual charging current is continuously greater than a preset current threshold within a preset time period, and obtain the determination result.

[0027] The current sensor status information is determined based on the judgment result;

[0028] The status information of the current sensor is stored.

[0029] In one embodiment, the method further includes:

[0030] When the vehicle is powered on, read the pre-stored charging status information;

[0031] When the current sensor is determined to be normal based on the current sensor status information, and the charging status is determined to be normal based on the charging status information, the charging module is controlled to start charging.

[0032] After controlling the charging module to stop charging, the method further includes:

[0033] The charging status information is updated to target status information, which is used to indicate an abnormal charging status.

[0034] In one embodiment, after controlling the charging module to stop charging, the method further includes:

[0035] When a low battery fault is detected or a preset operation is triggered by the driver, the charging status information is reset. The reset charging status information is used to indicate that the charging status is normal.

[0036] Secondly, this application also provides a battery charging control device. The device includes:

[0037] The reading module is used to read pre-stored current sensor status information and charging balance when the vehicle is powered on.

[0038] The control module is used to control the charging module to charge when the current sensor is determined to be normal based on the current sensor status information.

[0039] The data acquisition module is used to acquire battery charging parameters and battery status parameters during the charging process.

[0040] The calculation module is used to calculate the actual charging capacity based on the battery charging parameters and the charging margin, and to calculate the theoretical charging capacity based on the battery state parameters.

[0041] The judgment module is used to determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity;

[0042] The control module is also used to control the charging module to stop charging when the current charging state is abnormal.

[0043] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0044] When the vehicle is powered on, the pre-stored current sensor status information and charging balance are read.

[0045] When the current sensor is determined to be normal based on the current sensor status information, the charging module is controlled to charge.

[0046] During the charging process, battery charging parameters and battery status parameters are acquired;

[0047] The actual charging capacity is calculated based on the battery charging parameters and the charging margin, and the theoretical charging capacity is calculated based on the battery state parameters.

[0048] Determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity;

[0049] When the current charging state is abnormal, the charging module is controlled to stop charging.

[0050] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0051] When the vehicle is powered on, the pre-stored current sensor status information and charging balance are read.

[0052] When the current sensor is determined to be normal based on the current sensor status information, the charging module is controlled to charge.

[0053] During the charging process, battery charging parameters and battery status parameters are acquired;

[0054] The actual charging capacity is calculated based on the battery charging parameters and the charging margin, and the theoretical charging capacity is calculated based on the battery state parameters.

[0055] Determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity;

[0056] When the current charging state is abnormal, the charging module is controlled to stop charging.

[0057] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0058] When the vehicle is powered on, the pre-stored current sensor status information and charging balance are read.

[0059] When the current sensor is determined to be normal based on the current sensor status information, the charging module is controlled to charge.

[0060] During the charging process, battery charging parameters and battery status parameters are acquired;

[0061] The actual charging capacity is calculated based on the battery charging parameters and the charging margin, and the theoretical charging capacity is calculated based on the battery state parameters.

[0062] Determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity;

[0063] When the current charging state is abnormal, the charging module is controlled to stop charging.

[0064] The aforementioned battery charging control method, device, computer equipment, storage medium, and computer program product read pre-stored current sensor status information and charging margin when the vehicle is powered on; when the current sensor status information indicates that the current sensor is normal, the charging module is controlled to start charging; during the charging process, battery charging parameters and battery status parameters are acquired; the actual charging capacity is calculated based on the battery charging parameters and charging margin, and the theoretical charging capacity is calculated based on the battery status parameters; the current charging state is judged based on the actual charging capacity and the theoretical charging capacity; and if the current charging state is abnormal, the charging module is controlled to stop charging. This method of detecting the current sensor status and charging state during the charging process can proactively identify and predict battery overcharging in advance, and stop the battery charging process when an overcharging risk is detected, thereby protecting the battery and improving vehicle safety. Attached Figure Description

[0065] Figure 1 This is a diagram illustrating the application environment of a battery charging control method in one embodiment.

[0066] Figure 2 This is a flowchart illustrating a battery charging control method in one embodiment;

[0067] Figure 3 This is a flowchart illustrating the battery charging control method in another embodiment;

[0068] Figure 4 This is a flowchart illustrating the battery charging control method in yet another embodiment;

[0069] Figure 5 Here is a flowchart of a battery charging monitoring process in one embodiment;

[0070] Figure 6 This is a flowchart of a current sensor fault diagnosis method in one embodiment;

[0071] Figure 7 This is a structural block diagram of a battery charging control device in one embodiment;

[0072] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0073] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0074] The battery charging control method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, the controller 102 communicates with the acquisition module 108 and the charging module 104 via a network. The charging module 104 can charge the battery 106 under the control of the controller 102. The acquisition module 108 is used to acquire relevant parameters and detect the operating status of the battery 106. The controller 102 can be, but is not limited to, a vehicle control unit (VCU). In one implementation, the controller 102 is a vehicle control unit applied to a vehicle; the charging module 104 may include a planetary gear set, a generator, and an engine, wherein the generator is connected to the sun gear of the planetary gear set, and the diesel engine is connected to the planet carrier of the planetary gear set; the acquisition module 108 includes at least a battery management system (BMS), a current sensor, and a voltage sensor; the vehicle also includes a battery and input units such as a brake pedal and a key switch.

[0075] In one embodiment, such as Figure 2 As shown, a battery charging control method is provided, which is applied to... Figure 1 Taking controller 102 as an example, the following steps are included:

[0076] Step 202: When the vehicle is powered on, read the pre-stored current sensor status information and charging balance.

[0077] When the controller 102 receives the wake-up signal, it determines that the vehicle is powered on. The wake-up signal can be triggered by unlocking the key, pressing the start button, opening the door, or pressing the brake pedal. This embodiment does not limit this.

[0078] Specifically, the controller 102 pre-stores the current sensor status information and charging margin in a non-volatile memory to prevent data loss due to power failure or system malfunction. The non-volatile memory can be, for example, an EEPROM; this embodiment does not limit this. When the controller 102 receives a wake-up signal, it determines the storage address of the current sensor status information and charging margin, and reads the data from the non-volatile memory according to the storage address.

[0079] Optionally, the controller 102 detects whether the current sensor is reliable, obtains the current state information, reads the pre-stored current sensor state information, and if it determines that the current state is consistent with the pre-stored state, no rewrite operation is performed; if it determines that the current state is inconsistent with the pre-stored state, a rewrite operation is performed to store the current state information.

[0080] Optionally, the controller 102 detects the reliability of the current sensor in real time during the idling charging process, obtains real-time status information, and stores the real-time status information as current sensor status information.

[0081] Optionally, when the controller 102 is powered off, it records the charging amount and discharging amount during the current power-on process, determines the charging reserve based on the difference between the charging amount and the discharging amount, and stores the charging reserve during the current power-on process of the vehicle; if this power-on is the first power-on, the pre-stored charging reserve is 0.

[0082] Step 204: When the current sensor is determined to be normal based on the current sensor status information, control the charging module to charge.

[0083] The controller 102 determines whether the current sensor is normal by distinguishing the characters corresponding to the current sensor status information. For example, when the current sensor status information is 1, it indicates that the current sensor is normal, and when the current sensor status information is 0, it indicates that the current sensor is abnormal. When the controller 102 obtains that the current sensor status information is 1, it controls the charging module to charge.

[0084] Optionally, when the current sensor is confirmed to be normal, the controller 102 enables the vehicle charging function; if a charging signal is received, it controls the charging module to charge. The controller 102 can be installed on a hybrid electric vehicle (HEV), and the charging module can be an engine and a generator. The controller 102 controls the operation of the engine and generator to charge the battery.

[0085] Optionally, the controller 102 may disable the vehicle charging function when it determines that the current sensor is malfunctioning.

[0086] Step 206: During the charging process, acquire battery charging parameters and battery status parameters.

[0087] The controller 102 can obtain battery charging parameters and battery status parameters from the battery management system via the CAN bus. Specifically, the battery management system reports the parameters collected by the sensors, the parameters obtained from the state estimation, and the heartbeat signal period to the controller 102. The battery charging parameters are the basic parameters of the battery during the charging process, such as voltage, current, charging power, and charging time. The battery status parameters are used to indicate the state of charge of the battery during the charging process.

[0088] Step 208: Calculate the actual charging capacity based on the battery charging parameters and the charging margin, and calculate the theoretical charging capacity based on the battery state parameters.

[0089] In actual vehicle use, the charging function may be switched on and off multiple times. To avoid miscalculation of battery charge due to repeated power-on, which could lead to overcharging, this embodiment analyzes battery charging parameters to determine the current charging capacity during the current charging process. Combining the current charging capacity with the remaining charge from the previous charge, the total actual charging capacity is determined, improving calculation accuracy. Optionally, the actual charging capacity can be calculated as follows: obtain the charging power, integrate the charging power to determine the current charging capacity, and add the current charging capacity to the remaining charge to obtain the actual charging capacity. Alternatively, the actual charging capacity can be calculated as follows: integrate the charging current and the total battery voltage to calculate the current charging capacity, and add the current charging capacity to the remaining charge to obtain the actual charging capacity. Analyzing the battery's state of charge during charging, and analyzing the theoretical charging capacity from the perspective of state of charge, facilitates subsequent judgment of abnormal situations.

[0090] Step 210: Determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity.

[0091] The process involves comparing the charging power monitored from different angles and determining whether the current charging status is abnormal based on the comparison results. Specifically, if the difference between the actual charging power and the theoretical charging power is too large, the current charging status is determined to be abnormal; if the difference between the actual charging power and the theoretical charging power is small, the current charging status is determined to be normal.

[0092] Step 212: When the current charging state is abnormal, control the charging module to stop charging.

[0093] Traditional vehicle battery management systems have the following problems: when the program malfunctions or becomes abnormal, the broadcast sensor parameters will not be updated or will deviate from the actual measurements. At this time, the vehicle controller cannot know the actual charging status, and continuing to charge may lead to battery overcharging, which poses a significant safety hazard.

[0094] Since continuing to charge when the charging state is abnormal may lead to battery overcharging, this embodiment controls the charging module to stop charging when an abnormal charging state is detected, thereby protecting the battery. Optionally, when the current charging state is abnormal, the vehicle charging function is disabled, and the vehicle refuses to respond to a charging signal received.

[0095] The method proposed in this embodiment is applied to the overcharge prevention scenario when the battery is not fully charged. In the actual control process, the controller also applies other control logic. For example, when the controller 102 detects that the battery SOC ≥ threshold A, it determines that the charging is successful and also controls the charging module to stop charging. The threshold A can be 100%.

[0096] In the aforementioned battery charging control method, when the vehicle is powered on, pre-stored current sensor status information and charging margin are read. If the current sensor is determined to be normal based on its status information, the charging module is controlled to begin charging. During charging, battery charging parameters and battery status parameters are acquired. The actual charging capacity is calculated based on the charging parameters and charging margin, and the theoretical charging capacity is calculated based on the battery status parameters. The current charging state is assessed for abnormality based on the actual and theoretical charging capacities. If the current charging state is abnormal, the charging module is controlled to stop charging. This method of detecting the current sensor status and charging state during charging proactively identifies and predicts battery overcharging. When an overcharging risk is detected, the charging process is stopped, thus protecting the battery and improving vehicle safety.

[0097] In one embodiment, the battery charging parameters include the actual charging current and the total battery voltage; the step of calculating the actual charging capacity based on the battery charging parameters and the charging margin includes: calculating the current charging capacity based on the actual charging current and the total battery voltage; and determining the actual charging capacity based on the current charging capacity and the charging margin.

[0098] The system includes a current sensor that collects the actual current during battery charging and discharging and reports it to the battery management system (BMS). A voltage sensor collects the voltage of individual battery cells and reports it to the BMS. The BMS calculates the total battery voltage and periodically reports the collected actual current, total battery voltage, and heartbeat signal to the controller 102. The controller 102 calculates the current charging capacity based on the actual charging current and total battery voltage, and adds the current charging capacity to the remaining charging capacity to obtain the actual charging capacity. In this embodiment, the current sensor's reliability is pre-determined based on pre-stored current sensor status information. The actual charging capacity is then calculated based on the parameters collected by the current and voltage sensors, yielding a reliable calculation result. This provides data support for subsequent abnormal charging status judgment and improves the accuracy of charging status assessment.

[0099] In one embodiment, the battery state parameters include the initial state of charge and the current state of charge; the calculation of the theoretical charging capacity based on the battery state parameters includes: calculating the charge difference based on the initial state of charge and the current state of charge; and calculating the theoretical charging capacity based on the charge difference and the total battery capacity.

[0100] The initial state of charge (SOC) is the SOC detected and stored by the battery management system when the vehicle is first powered on and the battery is being charged. The current SOC is the SOC detected by the battery management system in real time. Specifically, the controller 102 calculates the theoretical charging capacity according to the following formula:

[0101] A = (s1 - s0) * C;

[0102] In the formula, A is the theoretical charging capacity, s1 is the current state of charge, s0 is the initial state of charge, and C is the total battery capacity. For example, if the current state of charge is 60%, the initial state of charge is 30%, and the total battery capacity is 15 kWh, the theoretical charging capacity is calculated to be 4.5 kWh using the above formula.

[0103] In one embodiment, determining whether the current charging state is abnormal based on the actual charging capacity and the theoretical charging capacity includes: calculating the power difference between the actual charging capacity and the theoretical charging capacity; determining whether the power difference is greater than a preset power threshold; and determining that the current charging state is abnormal when the power difference is greater than the preset power threshold.

[0104] The preset power threshold is a pre-set critical value used to distinguish the difference between the actual charging power and the theoretical charging power. It can be set by the user according to actual needs and operating parameters; this embodiment does not limit the specific value of the preset power threshold. If the difference between the actual charging power and the theoretical charging power is greater than the preset power threshold, it indicates that the gap is too large, posing a risk of battery overcharging, and the current charging state is determined to be abnormal. If the difference is less than or equal to the preset power threshold, it indicates that the gap is small, and the current charging state is determined to be normal. By comparing the power difference monitored from different angles, the battery charging state can be monitored using the power difference. When the battery charging is abnormal, the charging module can be controlled to stop charging. This allows the controller 102 to identify situations where the battery management system program malfunctions or malfunctions, resulting in unreliable parameters, and to execute corresponding protection strategies to protect the battery.

[0105] In another embodiment, such as Figure 3 As shown, the method further includes:

[0106] Step 302: Determine the vehicle charging power and obtain the total battery voltage and the actual charging current collected by the current sensor.

[0107] The vehicle charging power can be a fixed power preset by the controller 102, such as 10kW, 40kW, etc., or it can be the power calculated by the controller 102 based on the current vehicle operating conditions. This embodiment does not impose any restrictions on this. The controller 102 obtains the total battery voltage and the actual charging current collected by the current sensor from the battery management system via the CAN bus. Specifically, the current sensor collects the actual current during the battery charging and discharging process and reports it to the battery management system, and the voltage sensor collects the individual battery cell voltage and reports it to the battery management system. The battery management system calculates the total battery voltage and periodically reports the collected actual current, total battery voltage, and heartbeat signal to the controller 102.

[0108] Step 304: Calculate the theoretical charging current based on the vehicle charging power and the total battery voltage.

[0109] The theoretical charging current is calculated using the formula I = P / U, where I represents the theoretical charging current, P represents the vehicle charging power, and U represents the total battery voltage.

[0110] Step 306: Determine whether the absolute value of the difference between the theoretical charging current and the actual charging current is continuously greater than a preset current threshold within a preset time period, and obtain the determination result.

[0111] Step 308: Determine the current sensor status information based on the judgment result.

[0112] The preset current threshold is a pre-set critical value used to distinguish the difference between the theoretical charging current and the actual charging current. It can be set by the user according to actual needs and operating parameters. This embodiment does not limit the specific values ​​of the preset current threshold and the preset duration. If the absolute value of the difference between the theoretical charging current and the actual charging current is continuously greater than the preset current threshold within the preset duration, it indicates that the difference between the theoretical charging current and the actual charging current is too large. At this time, the current sensor is unreliable and is determined to be in an abnormal state. If the absolute value of the difference between the theoretical charging current and the actual charging current is less than or equal to the preset current threshold within the preset duration, it indicates that the difference between the theoretical charging current and the actual charging current is small, and the current sensor is determined to be in a normal state.

[0113] Optionally, when the absolute value of the difference between the theoretical charging current and the actual charging current is greater than a preset current threshold, the charging module is controlled to stop charging. In one implementation, when an abnormal state of the current sensor is detected, the vehicle charging function is disabled, and when a charging signal is received, the charging signal is refused to be responded to. In this way, on the one hand, the fault of the current sensor is identified, and on the other hand, whether the charging state during the charging process is abnormal is identified. When the current sensor is faulty or the charging state is abnormal, the charging process of the battery is stopped, which can stop charging before the battery is overcharged, thereby achieving the purpose of protecting the battery.

[0114] Step 310: Store the current sensor status information.

[0115] The controller 102 generates corresponding current sensor status information to indicate the current sensor status based on the judgment result, and writes the determined current sensor status information into the address corresponding to the non-volatile memory. For example, when the current sensor is normal, 1 is written into the address corresponding to the current sensor status information, and when the current sensor is abnormal, 0 is written into the address corresponding to the current sensor status information.

[0116] Optionally, when the vehicle is in an idling charging state, the current sensor abnormality detection step in this embodiment is executed, and the current sensor status information at this stage is stored so that the controller 102 can call it in various charging states.

[0117] In this embodiment, the charging power of the entire vehicle is determined, and the total battery voltage and the actual charging current collected by the current sensor are obtained. The theoretical charging current is calculated based on the charging power of the entire vehicle and the total battery voltage. It is determined whether the absolute value of the difference between the theoretical charging current and the actual charging current is greater than a preset current threshold, and a judgment result is obtained. The current sensor status information is determined based on the judgment result. The current sensor status information is stored, which enables the current sensor status to be detected in advance. The charging status of the battery can be actively identified from both the current sensor status and the current charging status, so as to predict the battery overcharging in advance and stop the charging process of the battery in advance, thereby achieving the purpose of protecting the battery.

[0118] In yet another embodiment, such as Figure 4 As shown, the method further includes:

[0119] Step 402: When the vehicle is powered on, read the pre-stored charging status information.

[0120] The controller 102 pre-stores the charging status information in a non-volatile memory. When it receives a wake-up signal, it determines the storage address of the charging status information and reads the data from the non-volatile memory according to the storage address.

[0121] Step 404: When it is determined that the current sensor is normal based on the current sensor status information and the charging status is normal based on the charging status information, the charging module is controlled to start charging.

[0122] When the vehicle is powered on, multiple pieces of information are read from the non-volatile memory to determine whether the vehicle has experienced a fault during the historical charging process. If no fault occurs, the charging module is controlled to charge under the action of the charging signal. If a sensor is found to be unreliable or the charging status is abnormal, the corresponding charging signal is rejected.

[0123] Optionally, when the controller 102 determines that the current sensor is normal and the charging status is normal, it enables the vehicle charging function; if a charging signal is received, it controls the charging module to charge.

[0124] Optionally, the controller 102 may disable the vehicle charging function when it determines that the current sensor is malfunctioning or the charging status is abnormal.

[0125] After controlling the charging module to stop charging, the method further includes:

[0126] Step 406: Update the charging status information to target status information, which is used to indicate an abnormal charging status.

[0127] If an abnormal charging status is detected during the charging process, the charging process is stopped and the abnormal information is stored so that the controller 102 can disable the charging function based on the abnormal information the next time the power is turned on, thereby avoiding overcharging of the battery due to continuous charging under system failure.

[0128] In this embodiment, when the vehicle is powered on, pre-stored charging status information is read. When the current sensor is determined to be normal based on the current sensor status information, and the charging status is determined to be normal based on the charging status information, the charging module is controlled to start charging. After the charging module is controlled to stop charging, the charging status information is updated to target status information. The target status information is used to indicate abnormal charging status and can transmit fault information in multiple charging processes. The battery is only controlled to start charging when the current sensor is normal and the charging status is normal, which avoids overcharging of the battery due to continuous charging under system faults, thus achieving the purpose of protecting the battery and improving vehicle safety.

[0129] In one embodiment, after controlling the charging module to stop charging, the method further includes: resetting the charging status information when a low battery fault information is detected or when the driver triggers a preset operation, wherein the reset charging status information is used to indicate that the charging status is normal.

[0130] The system includes a reset function for the prohibited charging state. When the battery level is low or the driver triggers a preset operation, a reset operation is performed, updating the state information in the non-volatile memory, clearing the prohibited charging state, and removing the charging restriction. The low battery fault information can be a level 3 low battery fault, and the preset operation can be the driver pressing the brake pedal and turning the key on and off three times within a specified time period; this embodiment does not impose such restrictions. In this way, the battery charging process can be resumed when the vehicle has a low battery or when the driver actively controls the vehicle, thus addressing special driving conditions and further improving vehicle safety.

[0131] To illustrate the effectiveness of the battery charging control method in this solution in detail, a specific embodiment is described below:

[0132] For battery charging control scenarios in hybrid power systems, refer to Figure 5 and Figure 6 , Figure 5 Here is a flowchart of a battery charging monitoring process in one embodiment. Figure 6 This is a flowchart of a current sensor fault diagnosis process in one embodiment; E shown in the figure is the EEPROM memory.

[0133] In practical implementation, when the vehicle is powered on, the system reads the current sensor fault status, charging prohibition status, and charged battery level stored in the E-module. If the SOC (State of Charge) is less than threshold 1, charging is not prohibited, and the current sensor is not faulty, the charged battery level is initialized, and the vehicle controller initiates battery charging. Here, SOC < threshold 1 indicates low battery level. During charging, the theoretical and actual charging amounts are calculated, and the difference between them is checked against a preset charge threshold to monitor for abnormal charging status. If SOC ≥ threshold 2 is detected during normal charging, the battery is considered fully charged, and the E-module variables are initialized, indicating charging is complete. If the charging status is abnormal, the charging prohibition status stored in the E-module is set, placing the vehicle in a charging prohibition state. Upon user-driven activation or a low battery level 3 fault, the E-module variables are initialized, resetting the charging prohibition parameters and enabling the vehicle's charging function.

[0134] The vehicle control unit (VCU) calculates the vehicle charging power and controls the engine and generator to charge the vehicle. Based on the charging power and the detected total battery voltage, it calculates the theoretical current and determines whether the difference between the detected actual current and the theoretical current exceeds a set threshold and whether the duration exceeds a set time. If so, it determines that the current sensor is unreliable, stores the current sensor fault information in E, and disables the vehicle charging function.

[0135] The following explanation is based on the application scenario of vehicles being powered on multiple times:

[0136] 1. If the vehicle is powered on for the first time, the current sensor status in the non-volatile memory is read first; if the absolute value of the difference between the theoretical charging current and the actual charging current does not exceed the threshold, the vehicle charging function is enabled and the enable signal is stored in the non-volatile memory of the VCU; the battery's initial SOC and final SOC are recorded when the charging function is enabled, and the theoretical charging capacity is calculated based on the battery's initial SOC and final SOC; the charged capacity is calculated by integrating the actual battery current and the total battery voltage.

[0137] 2. If the driver turns off the key switch, the charged power will be saved to the non-volatile memory of the vehicle's VCU;

[0138] 3. When the driver turns the key switch on again, the system reads the enable charging signal and the amount of charge already received, and continues to calculate the actual charging amount based on the current vehicle status. If the actual charging amount minus the theoretical charging amount exceeds the set charging threshold, the vehicle charging function is stopped, and the prohibition signal is stored in the non-volatile memory of the vehicle's VCU.

[0139] 4. If the driver puts the power back on, first read the charging prohibition status, and then determine whether to enable the charging function based on the charging prohibition status.

[0140] 5. If the battery experiences a low charge level 3 fault or the driver presses the brake pedal and switches the key on and off three times within a specified time, the battery charging prohibition state will be cleared, and the prohibition state stored in the non-volatile memory of the vehicle's VCU will be updated to the enable state.

[0141] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0142] Based on the same inventive concept, this application also provides a battery charging control device for implementing the battery charging control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more battery charging control device embodiments provided below can be found in the limitations of the battery charging control method described above, and will not be repeated here.

[0143] In one embodiment, such as Figure 7 As shown, a battery charging control device 10 is provided, including: a reading module 100, a control module 120, a data acquisition module 140, a calculation module 160, and a judgment module 180, wherein:

[0144] The reading module 100 is used to read pre-stored current sensor status information and charging balance when the vehicle is powered on.

[0145] The control module 120 is used to control the charging module to charge when the current sensor is determined to be normal based on the current sensor status information.

[0146] The acquisition module 140 is used to acquire battery charging parameters and battery status parameters during the charging process;

[0147] The calculation module 160 is used to calculate the actual charging capacity based on the battery charging parameters and the charging margin, and to calculate the theoretical charging capacity based on the battery state parameters.

[0148] The judgment module 180 is used to determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity.

[0149] The control module 120 is also used to control the charging module to stop charging when the current charging state is abnormal.

[0150] In the aforementioned battery charging control method, when the vehicle is powered on, pre-stored current sensor status information and charging margin are read. If the current sensor is determined to be normal based on its status information, the charging module is controlled to begin charging. During charging, battery charging parameters and battery status parameters are acquired. The actual charging capacity is calculated based on the charging parameters and charging margin, and the theoretical charging capacity is calculated based on the battery status parameters. The current charging state is assessed for abnormality based on the actual and theoretical charging capacities. If the current charging state is abnormal, the charging module is controlled to stop charging. This method of detecting the current sensor status and charging state during charging proactively identifies and predicts battery overcharging. When an overcharging risk is detected, the charging process is stopped, thus protecting the battery and improving vehicle safety.

[0151] In one embodiment, the battery charging parameters include the actual charging current and the total battery voltage; the calculation module 160 is further configured to: calculate the current charging capacity based on the actual charging current and the total battery voltage; and determine the actual charging capacity based on the current charging capacity and the remaining charging capacity.

[0152] In one embodiment, the battery state parameters include the initial state of charge and the current state of charge; the calculation module 160 is further configured to: calculate the charge difference based on the initial state of charge and the current state of charge; and calculate the theoretical charging capacity based on the charge difference and the total battery capacity.

[0153] In one embodiment, the judgment module 180 is further configured to: calculate the power difference between the actual charging power and the theoretical charging power; determine whether the power difference is greater than a preset power threshold; and determine that the current charging state is abnormal when the power difference is greater than the preset power threshold.

[0154] In one embodiment, the battery charging control device 10 further includes a current sensor detection module, which is configured to: determine the vehicle charging power and acquire the total battery voltage and the actual charging current collected by the current sensor; calculate the theoretical charging current based on the vehicle charging power and the total battery voltage; determine whether the absolute value of the difference between the theoretical charging current and the actual charging current is continuously greater than a preset current threshold within a preset time period, and obtain a judgment result; determine the current sensor status information based on the judgment result; and store the current sensor status information.

[0155] In one embodiment, the battery charging control device 10 further includes: an update module; the reading module 100 is further configured to read pre-stored charging status information when the vehicle is powered on; the control module 120 is further configured to control the charging module to charge when it is determined that the current sensor is normal based on the current sensor status information and the charging status is normal based on the charging status information; the update module is configured to update the charging status information to target status information after controlling the charging module to stop charging, the target status information being used to indicate an abnormal charging status.

[0156] In one embodiment, the battery charging control device 10 further includes a reset module, which is used to reset the charging status information when a low battery fault information is detected or when a driver triggers a preset operation. The reset charging status information is used to indicate that the charging status is normal.

[0157] Each module in the aforementioned battery charging control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0158] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and databases. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media to run. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When executed by the processor, the computer program implements a battery charging control method.

[0159] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0160] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0161] When the vehicle is powered on, the pre-stored current sensor status information and charging balance are read.

[0162] When the current sensor is determined to be normal based on the current sensor status information, the charging module is controlled to charge.

[0163] During the charging process, battery charging parameters and battery status parameters are acquired;

[0164] The actual charging capacity is calculated based on the battery charging parameters and the charging margin, and the theoretical charging capacity is calculated based on the battery state parameters.

[0165] Determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity;

[0166] When the current charging state is abnormal, the charging module is controlled to stop charging.

[0167] In one embodiment, the battery charging parameters include the actual charging current and the total battery voltage; the processor, when executing the computer program, also performs the following steps:

[0168] Calculate the current charging capacity based on the actual charging current and the total battery voltage;

[0169] The actual charging capacity is determined based on the current charging capacity and the remaining charging capacity.

[0170] In one embodiment, the battery state parameters include the initial state of charge and the current state of charge; the processor, when executing the computer program, also implements the following steps:

[0171] Calculate the charge difference based on the initial charge state and the current charge state;

[0172] The theoretical charging capacity is calculated based on the charge difference and the total battery capacity.

[0173] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0174] Calculate the difference between the actual charging capacity and the theoretical charging capacity;

[0175] Determine whether the power difference is greater than a preset power threshold;

[0176] When the difference in power level is greater than the preset power level threshold, the current charging state is determined to be abnormal.

[0177] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0178] Determine the total vehicle charging power and obtain the battery total voltage and the actual charging current collected by the current sensor;

[0179] The theoretical charging current is calculated based on the vehicle charging power and the total battery voltage.

[0180] Determine whether the absolute value of the difference between the theoretical charging current and the actual charging current is continuously greater than a preset current threshold within a preset time period, and obtain the determination result.

[0181] The current sensor status information is determined based on the judgment result;

[0182] The status information of the current sensor is stored.

[0183] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0184] When the vehicle is powered on, read the pre-stored charging status information;

[0185] When the current sensor is determined to be normal based on the current sensor status information, and the charging status is determined to be normal based on the charging status information, the charging module is controlled to start charging.

[0186] After controlling the charging module to stop charging, the charging status information is updated to target status information, which is used to indicate an abnormal charging status.

[0187] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0188] When a low battery fault is detected or a preset operation is triggered by the driver, the charging status information is reset. The reset charging status information is used to indicate that the charging status is normal.

[0189] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0190] When the vehicle is powered on, the pre-stored current sensor status information and charging balance are read.

[0191] When the current sensor is determined to be normal based on the current sensor status information, the charging module is controlled to charge.

[0192] During the charging process, battery charging parameters and battery status parameters are acquired;

[0193] The actual charging capacity is calculated based on the battery charging parameters and the charging margin, and the theoretical charging capacity is calculated based on the battery state parameters.

[0194] Determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity;

[0195] When the current charging state is abnormal, the charging module is controlled to stop charging.

[0196] In one embodiment, the battery charging parameters include the actual charging current and the total battery voltage; when the computer program is executed by the processor, it also performs the following steps:

[0197] Calculate the current charging capacity based on the actual charging current and the total battery voltage;

[0198] The actual charging capacity is determined based on the current charging capacity and the remaining charging capacity.

[0199] In one embodiment, the battery state parameters include the initial state of charge and the current state of charge; when the computer program is executed by the processor, it further implements the following steps:

[0200] Calculate the charge difference based on the initial charge state and the current charge state;

[0201] The theoretical charging capacity is calculated based on the charge difference and the total battery capacity.

[0202] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0203] Calculate the difference between the actual charging capacity and the theoretical charging capacity;

[0204] Determine whether the power difference is greater than a preset power threshold;

[0205] When the difference in power level is greater than the preset power level threshold, the current charging state is determined to be abnormal.

[0206] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0207] Determine the total vehicle charging power and obtain the battery total voltage and the actual charging current collected by the current sensor;

[0208] The theoretical charging current is calculated based on the vehicle charging power and the total battery voltage.

[0209] Determine whether the absolute value of the difference between the theoretical charging current and the actual charging current is continuously greater than a preset current threshold within a preset time period, and obtain the determination result.

[0210] The current sensor status information is determined based on the judgment result;

[0211] The status information of the current sensor is stored.

[0212] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0213] When the vehicle is powered on, read the pre-stored charging status information;

[0214] When the current sensor is determined to be normal based on the current sensor status information, and the charging status is determined to be normal based on the charging status information, the charging module is controlled to start charging.

[0215] After controlling the charging module to stop charging, the charging status information is updated to target status information, which is used to indicate an abnormal charging status.

[0216] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0217] When a low battery fault is detected or a preset operation is triggered by the driver, the charging status information is reset. The reset charging status information is used to indicate that the charging status is normal.

[0218] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0219] When the vehicle is powered on, the pre-stored current sensor status information and charging balance are read.

[0220] When the current sensor is determined to be normal based on the current sensor status information, the charging module is controlled to charge.

[0221] During the charging process, battery charging parameters and battery status parameters are acquired;

[0222] The actual charging capacity is calculated based on the battery charging parameters and the charging margin, and the theoretical charging capacity is calculated based on the battery state parameters.

[0223] Determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity;

[0224] When the current charging state is abnormal, the charging module is controlled to stop charging.

[0225] In one embodiment, the battery charging parameters include the actual charging current and the total battery voltage; when the computer program is executed by the processor, it also performs the following steps:

[0226] Calculate the current charging capacity based on the actual charging current and the total battery voltage;

[0227] The actual charging capacity is determined based on the current charging capacity and the remaining charging capacity.

[0228] In one embodiment, the battery state parameters include the initial state of charge and the current state of charge; when the computer program is executed by the processor, it further implements the following steps:

[0229] Calculate the charge difference based on the initial charge state and the current charge state;

[0230] The theoretical charging capacity is calculated based on the charge difference and the total battery capacity.

[0231] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0232] Calculate the difference between the actual charging capacity and the theoretical charging capacity;

[0233] Determine whether the power difference is greater than a preset power threshold;

[0234] When the difference in power level is greater than the preset power level threshold, the current charging state is determined to be abnormal.

[0235] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0236] Determine the total vehicle charging power and obtain the battery total voltage and the actual charging current collected by the current sensor;

[0237] The theoretical charging current is calculated based on the vehicle charging power and the total battery voltage.

[0238] Determine whether the absolute value of the difference between the theoretical charging current and the actual charging current is continuously greater than a preset current threshold within a preset time period, and obtain the determination result.

[0239] The current sensor status information is determined based on the judgment result;

[0240] The status information of the current sensor is stored.

[0241] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0242] When the vehicle is powered on, read the pre-stored charging status information;

[0243] When the current sensor is determined to be normal based on the current sensor status information, and the charging status is determined to be normal based on the charging status information, the charging module is controlled to start charging.

[0244] After controlling the charging module to stop charging, the charging status information is updated to target status information, which is used to indicate an abnormal charging status.

[0245] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0246] When a low battery fault is detected or a preset operation is triggered by the driver, the charging status information is reset. The reset charging status information is used to indicate that the charging status is normal.

[0247] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with relevant laws, regulations and standards.

[0248] 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 computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0249] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0250] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A battery charging control method, characterized in that, The method includes: When the vehicle is powered on, the pre-stored current sensor status information and charging balance are read. When the current sensor is determined to be normal based on the current sensor status information, the charging module is controlled to charge. During the charging process, battery charging parameters and battery status parameters are acquired; The actual charging capacity is calculated based on the battery charging parameters and the charging margin, and the theoretical charging capacity is calculated based on the battery state parameters. Determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity; When the current charging state is abnormal, control the charging module to stop charging; The battery charging parameters include the actual charging current and the total battery voltage. The step of calculating the actual charging capacity based on the battery charging parameters and the charging margin includes: Calculate the current charging capacity based on the actual charging current and the total battery voltage; The actual charging capacity is determined based on the current charging capacity and the remaining charging capacity. The battery state parameters include the initial state of charge and the current state of charge; The calculation of the theoretical charging capacity based on the battery state parameters includes: Calculate the charge difference based on the initial charge state and the current charge state; The theoretical charging capacity is calculated based on the charge difference and the total battery capacity. The step of determining whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity includes: Calculate the difference between the actual charging capacity and the theoretical charging capacity; Determine whether the power difference is greater than a preset power threshold; When the difference in power level is greater than the preset power level threshold, the current charging state is determined to be abnormal.

2. The method according to claim 1, characterized in that, The method further includes: Determine the total vehicle charging power and obtain the battery total voltage and the actual charging current collected by the current sensor; The theoretical charging current is calculated based on the vehicle charging power and the total battery voltage. Determine whether the absolute value of the difference between the theoretical charging current and the actual charging current is continuously greater than a preset current threshold within a preset time period, and obtain the determination result. The current sensor status information is determined based on the judgment result; The status information of the current sensor is stored.

3. The method according to claim 1, characterized in that, The method further includes: When the vehicle is powered on, read the pre-stored charging status information; When the current sensor is determined to be normal based on the current sensor status information, and the charging status is determined to be normal based on the charging status information, the charging module is controlled to start charging. After controlling the charging module to stop charging, the method further includes: The charging status information is updated to target status information, which is used to indicate an abnormal charging status.

4. The method according to claim 3, characterized in that, After controlling the charging module to stop charging, the method further includes: When a low battery fault is detected or a preset operation is triggered by the driver, the charging status information is reset. The reset charging status information is used to indicate that the charging status is normal.

5. A battery charging control device, characterized in that, The device includes: The reading module is used to read pre-stored current sensor status information and charging balance when the vehicle is powered on. The control module is used to control the charging module to charge when the current sensor is determined to be normal based on the current sensor status information. The data acquisition module is used to acquire battery charging parameters and battery status parameters during the charging process. The calculation module is used to calculate the actual charging capacity based on the battery charging parameters and the charging margin, and to calculate the theoretical charging capacity based on the battery state parameters. The judgment module is used to determine whether the current charging status is abnormal based on the actual charging capacity and the theoretical charging capacity; The control module is also used to control the charging module to stop charging when the current charging state is abnormal; The battery charging parameters include the actual charging current and the total battery voltage; the calculation module is further configured to: calculate the current charging capacity based on the actual charging current and the total battery voltage; and determine the actual charging capacity based on the current charging capacity and the remaining charging capacity. The battery state parameters include the initial state of charge and the current state of charge; the calculation module is further configured to: calculate the charge difference based on the initial state of charge and the current state of charge; and calculate the theoretical charging capacity based on the charge difference and the total battery capacity. The judgment module is further configured to: calculate the power difference between the actual charging power and the theoretical charging power; determine whether the power difference is greater than a preset power threshold; and determine that the current charging state is abnormal when the power difference is greater than the preset power threshold.

6. The apparatus according to claim 5, characterized in that, The battery charging control device further includes a current sensor detection module, which is used to: determine the vehicle charging power and acquire the total battery voltage and the actual charging current collected by the current sensor; calculate the theoretical charging current based on the vehicle charging power and the total battery voltage; determine whether the absolute value of the difference between the theoretical charging current and the actual charging current is continuously greater than a preset current threshold within a preset time period, and obtain a judgment result; determine the current sensor status information based on the judgment result; and store the current sensor status information.

7. The apparatus according to claim 5, characterized in that, The battery charging control device further includes an update module, and the reading module is also used to read pre-stored charging status information when the vehicle is powered on. The control module is also used to control the charging module to charge when it is determined that the current sensor is normal based on the current sensor status information and the charging status is normal based on the charging status information. The update module is used to update the charging status information to target status information after controlling the charging module to stop charging. The target status information is used to indicate an abnormal charging status.

8. The apparatus according to claim 7, characterized in that, The battery charging control device further includes a reset module, which is used to reset the charging status information when a low battery fault information is detected or when the driver triggers a preset operation. The reset charging status information is used to indicate that the charging status is normal.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method for checking proper method of operation of current sensor

    CN103180749A

  • Battery detecting method and device

    CN109459706A