A battery charging method, device, electronic equipment and storage medium
By collecting and comparing the battery capacity and voltage parameters, determining the battery recharge conditions, the capacity error problem caused by the rapid drop of the battery when the battery is severely depleted or discharged from large current is solved, and the accuracy of the recharge control and scene coverage are improved.
Patent Information
- Application Number
- CN202411915054.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-04
AI Technical Summary
When the vehicle battery is severely depleted or the battery is discharged at a high current, the battery voltage drops rapidly, resulting in a difference in battery capacity SOC following voltage changes, causing the accumulated tolerance of the battery capacity (SOC) to be inconsistent with the indicated capacity, affecting the determination of charging logic.
Collect the current battery parameter information of the battery, including the battery capacity and voltage, and compare these parameters with the preset power supply threshold and logic to determine whether the battery meets the power supply condition, and stops the power supply when the preset abort condition is reached.
By comprehensively considering the battery capacity and voltage, the accuracy of the power supply control is improved, and the bandwidth of the power supply scene is extended, avoiding charging logic judgment errors caused by the difference in capacity SOC and voltage.
Smart Images

Figure CN119765557A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to a battery charging method, device, electronic equipment and storage medium. Background Art
[0002] At present, the low-voltage batteries of electric vehicles are all lead-acid batteries, which are mainly used to store low-voltage system energy for activating high-voltage systems. However, with the application of network connection technology, after the vehicle is powered off and locked, some network-related functions can still activate the low-voltage system to work, so low-voltage lead-acid batteries also have the function of independent power supply in some scenarios. How to ensure that the low-voltage battery does not lose power for a long time to affect the function and does not waste high-voltage battery energy and overcharge is a difficult problem faced by electric vehicles. When the vehicle is in power-off dormancy, the previous vehicle controller (VCU / HCU) determines whether the low-voltage battery meets the preset charging conditions based on the power parameters of the low-voltage battery. If the low-voltage battery meets the preset charging conditions, the high-voltage system is controlled to charge the low-voltage battery according to the preset charging voltage; another method is to use a battery sensor to monitor the battery state of charge SOC value. When the battery is detected to be depleted to the set threshold, the DC / DC converter is activated to charge to ensure that the battery is not depleted.
[0003] In the second charging method mentioned above, since the existing battery sensor (IBS) calculates the capacity SOC by accumulating the integral according to the battery discharge current, when the vehicle battery is seriously depleted or the battery is discharged at a large current, the battery voltage will drop rapidly. At this time, the memory effect will cause the battery capacity SOC to differ from the voltage change, making the actual capacity of the battery capacity (SOC) inconsistent with the indicated capacity in the accumulated tolerance, affecting the judgment of the charging logic. Summary of the invention
[0004] The present invention provides a battery charging method, device, electronic device and storage medium to solve the technical problem that when a vehicle battery is seriously depleted or the battery is discharged at a large current, the battery voltage drops rapidly, resulting in a difference between the battery capacity SOC and the voltage change, causing the accumulated tolerance of the battery capacity (SOC) to show that the actual capacity is inconsistent with the indicated capacity, thereby affecting the judgment of the charging logic.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a battery charging method, comprising:
[0006] Collecting current battery parameter information of the battery; wherein the current battery parameter information includes: battery capacity and battery voltage;
[0007] Comparing the battery capacity with a preset battery capacity charging threshold to obtain a first comparison result, and comparing the battery voltage with a preset battery voltage charging threshold to obtain a second comparison result;
[0008] The power replenishment logic corresponding to the battery is obtained, and then the first comparison result and the second comparison result are compared with the power replenishment logic. When the first comparison result and the second comparison result meet the power replenishment logic, it is determined that the battery meets the power replenishment condition, the battery is recharged, and the power replenishment is stopped when the battery capacity reaches a preset power replenishment termination condition.
[0009] As a preferred solution, after the battery is charged, the method further includes:
[0010] Recording the charging time of the battery, and when the charging time reaches a preset charging time threshold, comparing the current battery capacity with the charging termination condition;
[0011] If the battery capacity has reached the charging termination condition, the charging is stopped and it is determined that the battery charging is successful;
[0012] If the battery capacity has not reached the power replenishment termination condition, the power replenishment is stopped, the current power replenishment times of the battery are counted, and it is re-determined whether the battery meets the power replenishment conditions. When the battery meets the power replenishment conditions, the battery is re-recharged until the battery capacity reaches the power replenishment termination condition. If the battery capacity has not reached the power replenishment termination condition when the power replenishment times reaches a preset power replenishment times threshold, it is determined that the battery has a power replenishment abnormality and a corresponding abnormality alarm is generated.
[0013] As a preferred solution, the collecting of current battery parameter information of the battery includes:
[0014] After the vehicle is powered off, the vehicle network is awakened at a preset wake-up time interval and the current battery parameter information of the battery is collected.
[0015] As a preferred solution, comparing the first comparison result and the second comparison result with the power replenishment logic, and when the first comparison result and the second comparison result satisfy the power replenishment logic, determining that the battery satisfies the power replenishment condition, and replenishing the battery, comprises:
[0016] Comparing the first comparison result and the second comparison result with the power replenishment logic, when the battery capacity is less than a preset battery capacity power replenishment threshold and the battery voltage is not greater than a preset battery voltage power replenishment threshold, when the battery capacity is equal to the preset battery capacity power replenishment threshold and the battery voltage is greater than the preset battery voltage power replenishment threshold, or when the battery capacity is greater than the preset battery capacity power replenishment threshold and the battery voltage is not greater than the preset battery voltage power replenishment threshold, it is determined that the battery meets the power replenishment condition, and the battery is powered on;
[0017] When the battery capacity is greater than a preset battery capacity charging threshold and the battery voltage is greater than a preset battery voltage charging threshold, it is determined that the battery does not meet the charging condition and the battery is not charged.
[0018] On the basis of the above-mentioned embodiment, another embodiment of the present invention provides a battery charging device, comprising: a battery parameter information acquisition module, a threshold comparison module and a battery charging module;
[0019] The battery parameter information acquisition module is used to acquire the current battery parameter information of the battery; wherein the current battery parameter information includes: battery capacity and battery voltage;
[0020] The threshold comparison module is used to compare the battery capacity with a preset battery capacity charging threshold to obtain a first comparison result, and compare the battery voltage with a preset battery voltage charging threshold to obtain a second comparison result;
[0021] The battery charging module is used to obtain the charging logic corresponding to the battery, and then compare the first comparison result and the second comparison result with the charging logic. When the first comparison result and the second comparison result meet the charging logic, it is determined that the battery meets the charging condition, and the battery is charged, and the charging is stopped when the battery capacity reaches a preset charging termination condition.
[0022] As a preferred solution, after the battery is charged, the method further includes:
[0023] Recording the charging time of the battery, and when the charging time reaches a preset charging time threshold, comparing the current battery capacity with the charging termination condition;
[0024] If the battery capacity has reached the charging termination condition, the charging is stopped and it is determined that the battery charging is successful;
[0025] If the battery capacity has not reached the power replenishment termination condition, the power replenishment is stopped, the current power replenishment times of the battery are counted, and it is re-determined whether the battery meets the power replenishment conditions. When the battery meets the power replenishment conditions, the battery is re-recharged until the battery capacity reaches the power replenishment termination condition. If the battery capacity has not reached the power replenishment termination condition when the power replenishment times reaches a preset power replenishment times threshold, it is determined that the battery has a power replenishment abnormality and a corresponding abnormality alarm is generated.
[0026] As a preferred solution, the collecting of current battery parameter information of the battery includes:
[0027] After the vehicle is powered off, the vehicle network is awakened at a preset wake-up time interval and the current battery parameter information of the battery is collected.
[0028] As a preferred solution, comparing the first comparison result and the second comparison result with the power replenishment logic, and when the first comparison result and the second comparison result satisfy the power replenishment logic, determining that the battery satisfies the power replenishment condition, and replenishing the battery, comprises:
[0029] Comparing the first comparison result and the second comparison result with the power replenishment logic, when the battery capacity is less than a preset battery capacity power replenishment threshold and the battery voltage is not greater than a preset battery voltage power replenishment threshold, when the battery capacity is equal to the preset battery capacity power replenishment threshold and the battery voltage is greater than the preset battery voltage power replenishment threshold, or when the battery capacity is greater than the preset battery capacity power replenishment threshold and the battery voltage is not greater than the preset battery voltage power replenishment threshold, it is determined that the battery meets the power replenishment condition, and the battery is powered on;
[0030] When the battery capacity is greater than a preset battery capacity charging threshold and the battery voltage is greater than a preset battery voltage charging threshold, it is determined that the battery does not meet the charging condition and the battery is not charged.
[0031] Based on the above embodiments, another embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the battery charging method described in the above embodiments of the invention is implemented.
[0032] Based on the above embodiment, another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the battery charging method described in the above invention embodiment.
[0033] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0034] The present invention provides a battery charging method, which collects current battery parameter information of a battery; wherein the current battery parameter information includes: battery capacity and battery voltage; comparing the battery capacity with a preset battery capacity charging threshold to obtain a first comparison result, and comparing the battery voltage with a preset battery voltage charging threshold to obtain a second comparison result; acquiring a charging logic corresponding to the battery, and then comparing the first comparison result and the second comparison result with the charging logic; when the first comparison result and the second comparison result meet the charging logic, it is determined that the battery meets the charging condition, the battery is charged, and when the battery capacity reaches a preset charging termination condition, the charging is stopped.
[0035] Different from the prior art which only relies on the single signal collection and judgment logic of the battery capacity to judge whether the battery meets the charging conditions, since the battery capacity SOC will differ with the voltage change, the accumulated tolerance of the battery capacity (SOC) will result in the actual capacity not being consistent with the indicated capacity. When making a charging logic judgment, the present invention simultaneously collects the battery capacity and the battery voltage of the battery, and makes a comprehensive charging logic judgment based on the battery capacity and the battery voltage, thereby extending the coverage bandwidth of the charging scenario and improving the battery charging control accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flow chart of a battery charging method provided by one embodiment of the present invention;
[0037] Figure 2 It is a logic diagram of battery charging based on big data;
[0038] Figure 3 It is a schematic diagram of the battery status corresponding to different vehicle usage scenarios;
[0039] Figure 4 It is a structural schematic diagram of a battery charging device provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0042] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0043] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0044] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0045] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0046] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0047] Embodiment 1
[0048] Please refer to Figure 1, is a flow chart of a battery charging method provided by an embodiment of the present invention, comprising the following specific steps:
[0049] S1. Collecting current battery parameter information of the battery; wherein the current battery parameter information includes: battery capacity and battery voltage;
[0050] Preferably, the collecting of the current battery parameter information of the battery includes: after the vehicle is powered off, waking up the vehicle network at intervals of a preset wake-up time and collecting the current battery parameter information of the battery.
[0051] For details, please refer to Figure 2 , is a battery charging logic diagram based on big data. The specific battery charging method is as follows:
[0052] (1) After the vehicle is powered off, the network wakes up at a scheduled time after a certain period of time (the duration can be calibrated). The TBOX wakes up the vehicle-specific network. At this time, the battery sensor (normal power node) collects the current battery parameter information of the battery (including the battery capacity SOC and the battery voltage LowBatVol).
[0053] S2, comparing the battery capacity with a preset battery capacity charging threshold to obtain a first comparison result, and comparing the battery voltage with a preset battery voltage charging threshold to obtain a second comparison result;
[0054] (2) Compare the battery capacity with a preset battery capacity charging threshold to obtain a first comparison result, and compare the battery voltage with a preset battery voltage charging threshold to obtain a second comparison result. In a specific embodiment, the battery capacity charging threshold can be set to 50% SOC, and the battery voltage charging threshold can be set to 11.9V to obtain a first comparison result; compare the current battery capacity SOC of the battery with the preset 50% SOC, and compare the current battery voltage of the battery with the preset 11.9V voltage to obtain a second comparison result.
[0055] S3. Obtain the power replenishment logic corresponding to the battery, and then compare the first comparison result and the second comparison result with the power replenishment logic. When the first comparison result and the second comparison result satisfy the power replenishment logic, determine that the battery satisfies the power replenishment condition, replenish the battery, and stop replenishing the battery when the battery capacity reaches a preset power replenishment termination condition.
[0056] Preferably, the comparing the first comparison result and the second comparison result with the power replenishment logic, and when the first comparison result and the second comparison result satisfy the power replenishment logic, determining that the battery satisfies the power replenishment condition, and recharges the battery, comprises: comparing the first comparison result and the second comparison result with the power replenishment logic, and when the battery capacity is less than a preset battery capacity recharge threshold and the battery voltage is not greater than a preset battery voltage recharge threshold, the battery capacity is equal to a preset battery capacity recharge threshold and the battery voltage is greater than a preset battery voltage recharge threshold, or the battery capacity is greater than a preset battery capacity recharge threshold and the battery voltage is not greater than a preset battery voltage recharge threshold, determining that the battery satisfies the power replenishment condition, and recharges the battery; when the battery capacity is greater than a preset battery capacity recharge threshold and the battery voltage is greater than a preset battery voltage recharge threshold, determining that the battery does not satisfy the power replenishment condition, and does not recharge the battery.
[0057] Preferably, after the battery is recharged, the method further includes: recording the recharging time of the battery, and when the recharging time reaches a preset recharging time threshold, comparing the current battery capacity with the recharging termination condition; if the battery capacity has reached the recharging termination condition, stopping the recharging and determining that the battery recharging is successful; if the battery capacity has not reached the recharging termination condition, stopping the recharging, counting the current recharging times of the battery, and re-determining whether the battery meets the recharging conditions; when the battery meets the recharging conditions, re-recharging the battery until the battery capacity reaches the recharging termination condition; if the battery capacity has not reached the recharging termination condition when the recharging times reaches the preset recharging times threshold, determining that the battery has a recharging abnormality and generating a corresponding abnormality alarm.
[0058] (3) Please refer to Figure 3 , which is a schematic diagram of the battery status corresponding to different vehicle use scenarios. After comparing the first comparison result and the second comparison result, according to Figure 3 The battery usage scenario shown is matched to obtain the corresponding charging logic, and the first comparison result and the second comparison result are compared with the charging logic to determine whether the current battery capacity and battery voltage of the battery meet the corresponding charging logic. In a specific embodiment, when the current battery signal meets the charging precondition (at least one of the battery SOC and voltage status bits are satisfied), the battery is charged, and when the charging condition is met, the vehicle controller VCU counts the charging status position +1. If the current battery SOC after charging is greater than 80% SOC, the current charging cycle is terminated.
[0059] In a specific embodiment, the power replenishment logic selects: Condition A: battery SOC; Condition B: battery voltage LowBatVo l. If condition B is met and condition A is 50%, the power replenishment termination condition is executed and power replenishment is performed at 80% SOC. If condition B is not met (B<11.9V) and condition A≠50% (>50% or <50%), the current power replenishment logic performs power replenishment according to the power replenishment duration of 3h.
[0060] After the start of the charging, if the charging effect (high battery power) is still not achieved within the current charging cycle (generally measured by power or timing for 3 hours), the current charging endurance will be exited, and the current charging times will be uploaded to the cloud service platform through TBOX, and the next charging cycle will continue, and the current charging cycle timing will be +1. After the number of charging reaches 3 times, the VCU uploads the charging times 3 and outputs the abnormal charging type flag, and uploads the abnormal charging type flag to the big data. In order to avoid invalid charging, the current charging cycle is controlled to end. In view of this, the present invention uses a strategy to make up for the shortcomings of the existing charging strategy. At the same time, the charging strategy comprehensively considers that the single charging power generated by the battery due to its own reasons cannot be effectively supplemented, triggering the system to perform multiple charging. When the number of charging exceeds a certain number (the existing calibration quantity: the number is 3), TBOX uploads big data and interrupts the current charging cycle. The battery charging is interrupted to save the power battery power.
[0061] It can be seen that the present invention provides a battery charging method. The local battery charging strategy of the present invention is designed based on the actual use scenario of the whole vehicle. It is more in line with the actual use scenario of the customer than a single message (SOC or voltage). It can also make up for the shortcomings of sensor indication information and indication deviation based on the optimization of the charging logic in special use scenarios. In the short term, it is impossible to optimize the sensor signal acquisition algorithm. The vehicle intelligent charging test of various working conditions is fully covered, and the success rate of vehicle charging in the case of power loss is improved, while saving energy for the whole vehicle and society. The following beneficial effects can be achieved by the present invention:
[0062] (1) Cost and time savings: Through intelligent charging strategy optimization based on big data, the accessibility and success rate of vehicle charging can be significantly improved, saving the overall energy consumption of charging and reducing the energy costs required for charging for customers;
[0063] (2) Power scenario coverage: Different from the traditional method of collecting and judging the single signal of battery capacity (SOC) and voltage (Lowbattery), the system performs logical judgment by comparing the two signals, thereby extending the coverage bandwidth of power replenishment scenarios.
[0064] (3) Customer experience: Due to the improvement in the success rate of charging, users can have a better car experience and service experience;
[0065] (4) Supplementing project development experience: Based on big data problem analysis, problems can be discovered and intervened in advance, creating favorable conditions for the introduction of vehicle production and quickly accumulating development experience for the project;
[0066] (5) Accumulate vehicle usage data: Collect and track the analysis of problems generated after the sale of various models to provide data support, facilitate faster solutions to problems, realize the efficiency of mining quality problems in unknown scenarios, and improve the efficiency of problem solving.
[0067] Embodiment 2
[0068] Please refer to Figure 4 , is a schematic diagram of the structure of a battery charging device provided by an embodiment of the present invention, the device comprising: a battery parameter information acquisition module, a threshold comparison module and a battery charging module;
[0069] The battery parameter information acquisition module is used to acquire the current battery parameter information of the battery; wherein the current battery parameter information includes: battery capacity and battery voltage;
[0070] The threshold comparison module is used to compare the battery capacity with a preset battery capacity charging threshold to obtain a first comparison result, and compare the battery voltage with a preset battery voltage charging threshold to obtain a second comparison result;
[0071] The battery charging module is used to obtain the charging logic corresponding to the battery, and then compare the first comparison result and the second comparison result with the charging logic. When the first comparison result and the second comparison result meet the charging logic, it is determined that the battery meets the charging condition, and the battery is charged, and the charging is stopped when the battery capacity reaches a preset charging termination condition.
[0072] Preferably, after the battery is recharged, the method further includes: recording the recharging time of the battery, and when the recharging time reaches a preset recharging time threshold, comparing the current battery capacity with the recharging termination condition; if the battery capacity has reached the recharging termination condition, stopping the recharging and determining that the battery recharging is successful; if the battery capacity has not reached the recharging termination condition, stopping the recharging, counting the current recharging times of the battery, and re-determining whether the battery meets the recharging conditions; when the battery meets the recharging conditions, re-recharging the battery until the battery capacity reaches the recharging termination condition; if the battery capacity has not reached the recharging termination condition when the recharging times reaches the preset recharging times threshold, determining that the battery has a recharging abnormality and generating a corresponding abnormality alarm.
[0073] Preferably, the collecting of the current battery parameter information of the battery includes: after the vehicle is powered off, waking up the vehicle network at intervals of a preset wake-up time and collecting the current battery parameter information of the battery.
[0074] Preferably, the comparing the first comparison result and the second comparison result with the power replenishment logic, and when the first comparison result and the second comparison result satisfy the power replenishment logic, determining that the battery satisfies the power replenishment condition, and recharges the battery, comprises: comparing the first comparison result and the second comparison result with the power replenishment logic, and when the battery capacity is less than a preset battery capacity recharge threshold and the battery voltage is not greater than a preset battery voltage recharge threshold, the battery capacity is equal to a preset battery capacity recharge threshold and the battery voltage is greater than a preset battery voltage recharge threshold, or the battery capacity is greater than a preset battery capacity recharge threshold and the battery voltage is not greater than a preset battery voltage recharge threshold, determining that the battery satisfies the power replenishment condition, and recharges the battery; when the battery capacity is greater than a preset battery capacity recharge threshold and the battery voltage is greater than a preset battery voltage recharge threshold, determining that the battery does not satisfy the power replenishment condition, and does not recharge the battery.
[0075] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0076] Those skilled in the art can clearly understand that for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0077] Embodiment 3
[0078] Accordingly, an embodiment of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the battery charging method described in the above embodiment of the invention when executing the computer program.
[0079] The electronic device may be a computing device such as a desktop computer, a notebook, a palm computer, a cloud server, etc. The device may include, but is not limited to, a processor and a memory.
[0080] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the device, and various interfaces and lines are used to connect various parts of the entire device.
[0081] Embodiment 4
[0082] Accordingly, an embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the battery charging method described in the above embodiment of the invention.
[0083] The memory can be used to store the computer program, and the processor realizes various functions of the device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0084] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each method embodiment described above can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0085] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A battery charging method, characterized in that: include: Collecting current battery parameter information of the battery; wherein the current battery parameter information includes: battery capacity and battery voltage; Comparing the battery capacity with a preset battery capacity charging threshold to obtain a first comparison result, and comparing the battery voltage with a preset battery voltage charging threshold to obtain a second comparison result; The power replenishment logic corresponding to the battery is obtained, and then the first comparison result and the second comparison result are compared with the power replenishment logic. When the first comparison result and the second comparison result meet the power replenishment logic, it is determined that the battery meets the power replenishment condition, the battery is recharged, and the power replenishment is stopped when the battery capacity reaches a preset power replenishment termination condition.
2. The battery charging method according to claim 1, characterized in that: After the battery is charged, the method further includes: Recording the charging time of the battery, and when the charging time reaches a preset charging time threshold, comparing the current battery capacity with the charging termination condition; If the battery capacity has reached the charging termination condition, the charging is stopped and it is determined that the battery charging is successful; If the battery capacity has not reached the power replenishment termination condition, the power replenishment is stopped, the current power replenishment times of the battery are counted, and it is re-determined whether the battery meets the power replenishment conditions. When the battery meets the power replenishment conditions, the battery is re-recharged until the battery capacity reaches the power replenishment termination condition. If the battery capacity has not reached the power replenishment termination condition when the power replenishment times reaches a preset power replenishment times threshold, it is determined that the battery has a power replenishment abnormality and a corresponding abnormality alarm is generated.
3. The battery charging method according to claim 1, characterized in that: The collecting of current battery parameter information of the battery includes: After the vehicle is powered off, the vehicle network is awakened at a preset wake-up time interval and the current battery parameter information of the battery is collected.
4. The battery charging method according to claim 1, characterized in that: The comparing the first comparison result and the second comparison result with the power replenishment logic, and when the first comparison result and the second comparison result satisfy the power replenishment logic, determining that the battery satisfies the power replenishment condition, and replenishing the battery, comprises: Comparing the first comparison result and the second comparison result with the power replenishment logic, when the battery capacity is less than a preset battery capacity power replenishment threshold and the battery voltage is not greater than a preset battery voltage power replenishment threshold, when the battery capacity is equal to the preset battery capacity power replenishment threshold and the battery voltage is greater than the preset battery voltage power replenishment threshold, or when the battery capacity is greater than the preset battery capacity power replenishment threshold and the battery voltage is not greater than the preset battery voltage power replenishment threshold, it is determined that the battery meets the power replenishment condition, and the battery is powered on; When the battery capacity is greater than a preset battery capacity charging threshold and the battery voltage is greater than a preset battery voltage charging threshold, it is determined that the battery does not meet the charging condition and the battery is not charged.
5. A battery charging device, characterized in that: include: Battery parameter information acquisition module, threshold comparison module and battery charging module; The battery parameter information acquisition module is used to acquire the current battery parameter information of the battery; wherein the current battery parameter information includes: battery capacity and battery voltage; The threshold comparison module is used to compare the battery capacity with a preset battery capacity replenishment threshold to obtain a first comparison result, and compare the battery voltage with a preset battery voltage replenishment threshold to obtain a second comparison result; The battery charging module is used to obtain the charging logic corresponding to the battery, and then compare the first comparison result and the second comparison result with the charging logic. When the first comparison result and the second comparison result meet the charging logic, it is determined that the battery meets the charging condition, and the battery is charged, and the charging is stopped when the battery capacity reaches a preset charging termination condition.
6. The battery charging device according to claim 5, characterized in that: After the battery is charged, the method further includes: Recording the charging time of the battery, and when the charging time reaches a preset charging time threshold, comparing the current battery capacity with the charging termination condition; If the battery capacity has reached the charging termination condition, the charging is stopped and it is determined that the battery charging is successful; If the battery capacity has not reached the power replenishment termination condition, the power replenishment is stopped, the current power replenishment times of the battery are counted, and it is re-determined whether the battery meets the power replenishment conditions. When the battery meets the power replenishment conditions, the battery is re-recharged until the battery capacity reaches the power replenishment termination condition. If the battery capacity has not reached the power replenishment termination condition when the power replenishment times reaches a preset power replenishment times threshold, it is determined that the battery has a power replenishment abnormality and a corresponding abnormality alarm is generated.
7. The battery charging device according to claim 5, characterized in that: The collecting of current battery parameter information of the battery includes: After the vehicle is powered off, the vehicle network is awakened at a preset wake-up time interval and the current battery parameter information of the battery is collected.
8. The battery charging device according to claim 5, characterized in that: The comparing the first comparison result and the second comparison result with the power replenishment logic, and when the first comparison result and the second comparison result satisfy the power replenishment logic, determining that the battery satisfies the power replenishment condition, and replenishing the battery, comprises: Comparing the first comparison result and the second comparison result with the power replenishment logic, when the battery capacity is less than a preset battery capacity power replenishment threshold and the battery voltage is not greater than a preset battery voltage power replenishment threshold, when the battery capacity is equal to the preset battery capacity power replenishment threshold and the battery voltage is greater than the preset battery voltage power replenishment threshold, or when the battery capacity is greater than the preset battery capacity power replenishment threshold and the battery voltage is not greater than the preset battery voltage power replenishment threshold, it is determined that the battery meets the power replenishment condition, and the battery is powered on; When the battery capacity is greater than a preset battery capacity charging threshold and the battery voltage is greater than a preset battery voltage charging threshold, it is determined that the battery does not meet the charging condition and the battery is not charged.
9. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the battery charging method according to any one of claims 1 to 4 when executing the computer program.
10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is executed, the device where the storage medium is located is controlled to execute the battery charging method according to any one of claims 1 to 4.