Lithium battery power maintaining method and device, storage medium and electronic equipment

By adjusting the lithium battery's state of charge in real time and utilizing the charging PID formula and thermal power formula, the problem of shortened lithium battery life due to improper charge maintenance is solved, and stable charge maintenance and safe discharge are achieved.

CN115498293BActive Publication Date: 2025-10-17ZHEJIANG FUDEER ELECTRIC APPLIANCE
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211283862.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-20
Publication Date
2025-10-17
Estimated Expiration
2042-10-20

AI Technical Summary

Technical Problem

The life of lithium batteries is affected by capacity loss caused by human error when the charge remains too high or too low for a long time, and urgently needs to be improved.

Method used

By collecting the voltage change rate of the lithium battery and using the charging PID formula and thermal power formula, the first battery is controlled to charge the lithium battery and the second battery is controlled to discharge, so as to achieve real-time adjustment of the lithium battery power and keep it in a normal state.

Benefits of technology

It extends the storage life of lithium batteries, reduces power loss, and improves charging efficiency and safety during discharge.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115498293B_ABST
    Figure CN115498293B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a lithium battery power maintaining method and device, a storage medium and an electronic device. The method comprises: collecting a voltage change rate of a lithium battery, determining a power state of the lithium battery according to the voltage change rate; if the power state of the lithium battery is in a low power state, controlling a first storage battery to charge the lithium battery according to a charging PID formula, and controlling the power of the first storage battery to be in a high power state in real time; and if the power state of the lithium battery is in a high power state, controlling the lithium battery to discharge a second storage battery according to a thermal power formula, and controlling the power of the second storage battery to be in a low power state in real time. According to the embodiments of the present application, the power of the lithium battery can be maintained in a healthy state for a long time, so as to prolong the storage life of the lithium battery.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of lithium batteries, in particular to a lithium battery power maintaining method and device, a storage medium and an electronic device. BACKGROUND

[0002] Lithium batteries are batteries that use lithium metal or lithium alloy as the negative electrode and use non-aqueous electrolyte solutions, so such batteries are also called lithium metal batteries. Unlike other batteries, lithium batteries have high charging density, long service life, and high unit cost.

[0003] Lithium ion batteries are widely used in people's life and production because they are green and environmentally friendly and do not produce any toxic and harmful heavy metal elements and substances such as lead, mercury, and cadmium during production, use, and disposal. Under normal conditions, the charge and discharge cycle of a lithium ion battery can exceed 500 times, and the service life is relatively long. However, the service life of a lithium ion battery can be shortened due to incorrect operation by personnel. For example, if the personnel keep the lithium battery power at a too high or too low level for a long time, it will cause capacity loss of the lithium battery and affect the storage life of the lithium battery, which needs to be improved. SUMMARY

[0004] The present application provides a lithium battery power maintaining method and device, a storage medium and an electronic device, which can keep the lithium battery power at a healthy state for a long time to prolong the storage life of the lithium battery.

[0005] In a first aspect of the present application, a lithium battery power maintaining method is provided, which is applied to a lithium battery power maintaining device including a lithium battery, a first storage battery, and a second storage battery. The method includes:

[0006] Collecting the voltage change rate of the lithium battery, and determining the power state of the lithium battery according to the voltage change rate;

[0007] If the power state of the lithium battery is in a low power state, controlling the first storage battery to charge the lithium battery according to a charging PID formula, and controlling the power of the first storage battery to be in a high power state in real time;

[0008] If the power state of the lithium battery is in a high power state, controlling the lithium battery to discharge the second storage battery according to a thermal power formula, and controlling the power of the second storage battery to be in a low power state in real time.

[0009] By adopting the above technical solution, when the lithium battery is in a low power state, the first storage battery in a high power state charges the lithium battery, and when the lithium battery is in a high power state, the second storage battery in a low power state discharges the lithium battery, so that the lithium battery is kept in a normal power state in real time, and the storage life of the lithium battery is prolonged.

[0010] Optionally, the analyzing the state of charge of the lithium battery according to the voltage change rate comprises:

[0011] determining whether the voltage change rate is higher than a first threshold value or lower than a second threshold value, the first threshold value being higher than the second threshold value; if the voltage change rate is higher than the first threshold value, determining that the state of charge of the lithium battery is in a high state of charge;

[0012] if the voltage change rate is lower than the second threshold value, determining that the state of charge of the lithium battery is in a low state of charge;

[0013] if the voltage change rate is not higher than the first threshold value and not lower than the second threshold value, determining that the state of charge of the lithium battery is in a normal state of charge.

[0014] By using the above technical solution, the state of charge of the lithium battery is determined by judging the voltage change rate of the lithium battery, and when the lithium battery is in a high state of charge or a low state of charge, the state of charge of the lithium battery can be adjusted in time by the first storage battery and the second storage battery.

[0015] Optionally, the controlling the first storage battery to charge the lithium battery according to the charging PID formula comprises that the charging PID formula is:

[0016] △P n =K p (e n -e n-1 )+K i e n +K d (e n -2e n-1 +e n-2 );

[0017] In the formula, △P n is a PWM duty cycle change value; K p is a proportional coefficient; K i is an integral coefficient; K d is a differential coefficient; e n is a deviation value of a current charging power value and an expected charging power value; e n-1 is a deviation value between a previous charging power value and the expected charging power value.

[0018] charging the lithium battery according to the first PWM duty cycle, and calculating an actual charging power;

[0019] subtracting the actual charging power from an expected charging power to obtain a power deviation value;

[0020] Combine at least one of the power deviation value, the preset PID parameter and the charging PID formula to obtain a PWM duty cycle change value;

[0021] Add the first PWM duty cycle and the PWM duty cycle change value to obtain a second PWM duty cycle;

[0022] Charge the lithium battery according to the second PWM duty cycle.

[0023] By using the above technical solution, the charging voltage of the lithium battery during charging is adjusted through the charging PID algorithm, so that the lithium battery is charged in a constant state, and the loss of electric quantity is reduced.

[0024] Optionally, after charging the lithium battery according to the second PWM duty cycle, the method further comprises:

[0025] Judging whether the charging power of the lithium battery according to the second PWM duty cycle exceeds the expected charging power range; if the charging power of the lithium battery according to the second PWM duty cycle exceeds the expected charging power range, iteratively adjusting the preset PID parameter through a genetic algorithm, and obtaining an iteration result;

[0026] Judging whether the iteration result converges;

[0027] If the iteration result converges, stopping iteration, and taking the preset PID parameter after iteration as an optimal PID parameter;

[0028] Optimizing the charging PID formula through the optimal PID parameter.

[0029] By using the above technical solution, the preset PID parameter is iterated multiple times through a genetic algorithm to obtain an optimal PID parameter, and the loss of electric quantity during charging of the lithium battery can be further reduced through the optimal PID parameter.

[0030] Optionally, the method of controlling the lithium battery to discharge the second battery according to the thermal power formula comprises:

[0031] The thermal power formula is:

[0032] q=aI 2 +bI×T;

[0033] In the formula, q is a discharge rate of the lithium battery, the discharge rate being a result of a discharge current divided by a battery rated capacity; I is a discharge current intensity; T is a surface temperature of the lithium battery; a and b are initial parameters;

[0034] Controlling the lithium battery to discharge the second battery according to the first discharge current intensity;

[0035] determining whether a surface temperature of the lithium battery exceeds a temperature threshold during the discharging process;

[0036] adjusting the first discharging current intensity according to a thermal power formula if the surface temperature of the lithium battery exceeds the temperature threshold.

[0037] By adopting the technical solution, the discharging current of the lithium battery during the discharging process is adjusted according to the thermal power formula, so as to avoid that the surface temperature of the lithium battery is too high due to the excessively large discharging current intensity, and the safety of the lithium battery during the discharging process is improved.

[0038] Optionally, the real-time control of the first storage battery in the high power state comprises:

[0039] controlling the second storage battery to charge the first storage battery so that the power of the first storage battery is in the high power state;

[0040] or generating a first charging prompt to prompt the administrator to charge the lithium battery so that the power of the first storage battery is in the high power state.

[0041] By adopting the technical solution, the first storage battery is kept in the high power state in real time, so as to timely adjust the power state of the lithium battery through the first storage battery.

[0042] Optionally, the lithium battery power maintaining device further comprises a load, and the real-time control of the second storage battery in the low power state comprises:

[0043] controlling the second storage battery to discharge the load so that the power of the second storage battery is in the low power state.

[0044] By adopting the technical solution, the second storage battery is kept in the low power state in real time, so as to timely adjust the power state of the lithium battery.

[0045] In a second aspect of the present application, a lithium battery power maintaining device is provided, which comprises:

[0046] a lithium battery state determining module for collecting a voltage change rate of the lithium battery and determining a power state of the lithium battery according to the voltage change rate;

[0047] a low power state maintaining module for controlling the first storage battery to charge the lithium battery according to a charging PID formula if the power state of the lithium battery is in the low power state, and controlling the power of the first storage battery to be in the high power state in real time;

[0048] The high-charge-state maintaining module is configured to control the lithium battery to discharge the second battery according to a thermal power formula and control the charge of the second battery to be in a low-charge state in real time if the charge state of the lithium battery is in a high-charge state.

[0049] By using the above technical solution, when the lithium battery is in a low-charge state, the first battery in a high-charge state is used to charge the lithium battery, and when the lithium battery is in a high-charge state, the second battery in a low-charge state is used to discharge the lithium battery, so that the lithium battery is maintained in a normal charge state in real time, and the storage life of the lithium battery is improved.

[0050] In a third aspect of the present application, a computer storage storage medium is provided, which stores a plurality of instructions adapted to be loaded by a processor and execute the above-mentioned method steps.

[0051] In a fourth aspect of the present application, an electronic device is provided, comprising a processor, a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above-mentioned method steps.

[0052] In summary, the present application includes at least one of the following beneficial effects:

[0053] 1. The first battery and the second battery are used to maintain the lithium battery in a normal charge state in real time, and the storage life of the lithium battery is prolonged;

[0054] 2. The charging voltage of the lithium battery during charging is adjusted by the charging PID formula, so that the lithium battery is charged in a constant state, and the loss of charge is reduced;

[0055] 3. The discharge current of the lithium battery during discharging is adjusted by the thermal power formula, so as to avoid the surface temperature of the lithium battery being too high due to the too large discharge current intensity, and the safety of the lithium battery during discharging is improved. BRIEF DESCRIPTION OF DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiments or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0057] Figure 1 is a flowchart of a lithium battery charge maintaining method provided by an embodiment of the present application;

[0058] Figure 2 is a flowchart of another lithium battery charge maintaining method provided by an embodiment of the present application;

[0059] Figure 3 is a module schematic diagram of a lithium battery power maintaining device provided by an embodiment of the present application;

[0060] Figure 4 is a structural schematic diagram of an electronic device provided by an embodiment of the present application.

[0061] Label explanation: 1, lithium battery power maintaining device; 11, lithium battery state determining module; 111, voltage judging unit; 12, low power state maintaining module; 13, high power state maintaining module; 1000, electronic device; 1001, processor; 1002, communication bus; 1003, user interface; 1004, network interface; 1005, memory. DETAILED DESCRIPTION

[0062] In order to enable persons skilled in the art to better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below in conjunction with the drawings in the embodiments of the present specification. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments.

[0063] In the description of the embodiments of the present application, the words such as "exemplary", "for example", or "for instance" are used to represent an example, illustration, or description. Any embodiment or design scheme described as "exemplary", "for example", or "for instance" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the words such as "exemplary", "for example", or "for instance" are intended to present the relevant concept in a specific manner.

[0064] In the description of the embodiments of the present application, the term "and / or" is only used to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the three cases of A alone, B alone, and A and B together. In addition, unless otherwise specified, the term "multiple" means two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Therefore, the features limited by "first" and "second" can explicitly or implicitly include one or more features. The terms "include", "contain", "have" and their variants mean "include but are not limited to", unless otherwise specifically emphasized.

[0065] The present application will be described in detail below in conjunction with specific embodiments.

[0066] Step 101: Collect the voltage change rate of the lithium battery and determine the state of charge of the lithium battery according to the voltage change rate.

[0067] Lithium batteries are a type of battery that uses lithium metal or lithium alloys as positive and negative electrode materials and a non-aqueous electrolyte solution. Lithium batteries can be broadly divided into two categories: lithium metal batteries and lithium-ion batteries. Prolonged storage of lithium batteries in a high or low power state can negatively impact the battery's lifespan. The rechargeable battery count indicated on most lithium batteries is the number of times the battery can be recharged while remaining above 20% and below 80% charged. Experiments have shown that prolonged exposure to low or no power increases the battery's internal resistance to electron movement, reducing its capacity.

[0068] Specifically, a processor is provided in the lithium battery power maintenance device, which controls the lithium battery to discharge the first storage battery. Since the voltage of the lithium battery will gradually decrease with the loss of power during the discharge process, the processor obtains the voltage change rate through the change in the lithium battery voltage per unit time. The remaining power of the lithium battery can be estimated through the voltage change rate, and the remaining power of the lithium battery can reflect the power status of the lithium battery.

[0069] Step 102: If the power state of the lithium battery is in a low power state, control the first storage battery to charge the lithium battery according to the charging PID formula, and control the power of the first storage battery to be in a high power state in real time.

[0070] The low power state in the embodiment of the present application can be understood as the remaining power of the lithium battery being below a set threshold. For example, the remaining power of the lithium battery is less than 20% of the total power, and the power state of the lithium battery can be regarded as a low power state.

[0071] The first storage battery in the embodiment of the present application can be understood as a battery connected to the lithium battery in the lithium battery power maintenance device, which is used to charge the lithium battery in a low power state.

[0072] The charging PID formula is a formula that allows a battery to be charged at a constant power. Charging a lithium battery using the charging PID formula can reduce the power consumption of the battery during the charging process and improve charging efficiency.

[0073] Specifically, the processor obtains the state of charge of the lithium battery in real time. If the state of charge of the lithium battery is determined to be lower than the low state, the processor controls the first battery to charge the lithium battery according to the PID formula, so that the power of the lithium battery is in a high state. At the same time, the processor obtains the state of charge of the first battery in real time. The first battery needs to maintain the first battery in a high state of charge at all times in order to charge the lithium battery in the low state of charge.

[0074] Step 103: If the state of charge of the lithium battery is in the high state of charge, the lithium battery is controlled to discharge the second battery according to the thermal power formula, and the state of charge of the second battery is controlled in real time to be in the low state of charge.

[0075] The high state of charge can be understood in the embodiment of the application as the state that the remaining charge of the lithium battery is higher than the set threshold, for example, the remaining charge of the lithium battery is higher than 80% of the total charge, and the state of charge of the lithium battery can be regarded as the high state of charge.

[0076] The second battery can be understood in the embodiment of the application as the battery connected with the lithium battery in the lithium battery charge maintaining device, which discharges the lithium battery in the high state of charge.

[0077] The thermal power formula refers to the formula that can reflect the surface temperature of the lithium battery through the discharge current intensity. In the actual discharge process of the lithium battery, the current intensity of the lithium battery can be controlled through the temperature of the surface of the lithium battery to avoid damaging the lithium battery due to the excessively high temperature in the discharge process.

[0078] Specifically, the processor acquires the state of charge of the lithium battery in real time, and if it is determined that the charge of the lithium battery is higher than the high state of charge, the lithium battery is controlled to discharge the second battery according to the thermal power formula, so that the charge of the lithium battery is lower than the high state of charge. At the same time, the processor acquires the state of charge of the second battery in real time, and needs to keep the second battery in the low state of charge at all times, so that the lithium battery in the high state of charge discharges it.

[0079] Step 201: The voltage change rate of the lithium battery is collected, and it is determined whether the voltage change rate is higher than the first threshold or lower than the second threshold. The first threshold is higher than the second threshold. If the voltage change rate is higher than the first threshold, it is determined that the state of charge of the lithium battery is in the high state of charge. If the voltage change rate is lower than the second threshold, it is determined that the state of charge of the lithium battery is in the low state of charge. If the voltage change rate is not higher than the first threshold and not lower than the second threshold, it is determined that the state of charge of the lithium battery is in the normal state of charge.

[0080] The first threshold and the second threshold can be understood in the embodiment of the application as a value of the voltage change rate, which can be used to evaluate the state of charge of the lithium battery. The normal state of charge can be understood in the embodiment of the application as the state that the remaining charge of the lithium battery is in the healthy state of charge, for example, the remaining charge of the lithium battery is between 20% and 80% of the total charge, and the state of charge of the lithium battery can be regarded as the normal state of charge.

[0081] Specifically, the processor acquires the voltage of the lithium battery in a unit time in real time through an analog-to-digital converter to obtain a voltage change rate, compares the voltage change rate with a first threshold value and a second threshold value, and judges the power state of the lithium battery. If the voltage change rate is greater than the first threshold value, it indicates that the power state of the lithium battery is in a high power state. If the voltage change rate is lower than the second threshold value, it indicates that the power state of the lithium battery is in a low power state. If the voltage change rate is between the first threshold value and the second threshold value, it indicates that the power of the lithium battery is in a normal power state.

[0082] Step 202: If the power state of the lithium battery is in a low power state, the lithium battery is charged according to a first PWM duty cycle, the actual charging power is calculated, the actual charging power is subtracted from the expected charging power to obtain a power deviation value, the power deviation value is combined with at least one power deviation value, a preset PID parameter and a charging PID formula to obtain a PWM duty cycle change value, the first PWM duty cycle is added to the PWM duty cycle change value to obtain a second PWM duty cycle, and the lithium battery is charged according to the second PWM duty cycle.

[0083] The charging PID formula is:

[0084] △P n =K p (e n -e n-1 )+K i e n +K d (e n -2e n-1 +e n-2 );

[0085] In the formula, △P n is the PWM duty cycle change value; K p is a proportional coefficient; K i is an integral coefficient; K d is a differential coefficient; e n is the deviation value of the current charging power value and the expected charging power value; and e n-1 is the deviation value between the last charging power value and the expected charging power value.

[0086] Specifically, when the lithium battery is in a low power state, there is power loss when the lithium battery is charged by the first storage battery. With the increase of time, the charging power will gradually decrease, and there are many factors affecting the charging power, such as charging voltage, charging current, etc. The classic PID formula has the advantages of simple control, high reliability, easy implementation, etc. The output voltage controlled by the PID formula can effectively improve the charging efficiency and reduce the energy loss.

[0087] When the lithium battery is charged by the first storage battery, the first storage battery discharges the lithium battery at a preset first PWM duty ratio output voltage, and the charging voltage of the lithium battery is read in real time, and the discharging voltage of the first storage battery is adjusted through a charging PID formula, the charging power of the lithium battery needs to be calculated in real time, the power deviation value is obtained by comparing the real-time charging power with the expected power, the power deviation value is combined with the preset PID parameter to bring into the charging PID formula, and then the change value of the PWM duty ratio is calculated, the output voltage is adjusted through the change value of the PWM duty ratio, and the second PWM duty ratio suitable for charging the lithium battery is obtained.

[0088] Step 203: Determine whether the charging power of the lithium battery charged by the second PWM duty ratio exceeds the expected charging power range, if the charging power of the lithium battery charged by the second PWM duty ratio exceeds the expected charging power range, the preset PID parameter is iterated through the genetic algorithm, and the iteration result is obtained, and it is determined whether the iteration result converges, if the iteration result converges, the iteration is stopped, the preset PID parameter after iteration is used as the optimal PID parameter, and the charging PID formula is optimized through the optimal PID parameter.

[0089] The genetic algorithm refers to a method of searching for an optimal solution by simulating the natural evolution process, generally, the genetic algorithm imagines a problem to be solved as a population, the population is composed of individuals coded by genes, individuals are selected according to the fitness of individuals in the problem domain to combine and cross, and variation is generated to represent a new population, and the optimal individual in the final population can be decoded as an approximate optimal solution of the problem.

[0090] The determination of whether the charging power of the lithium battery charged by the second PWM duty ratio exceeds the expected charging power range can be understood in the embodiment of the application as that the deviation between the actual charging power of the lithium battery charged by the second PWM duty ratio and the expected charging power is within a threshold k, in general practice, when the threshold k is less than or equal to 5%, it is considered to meet the engineering requirements, and when the threshold k is greater than 5%, it is considered that the actual charging power exceeds the expected charging power, at this time, the genetic algorithm needs to be called to optimize the preset PID parameter.

[0091] The genetic algorithm model receives the preset PID parameter as an initial parameter, generates a set of optimized parameters through the genetic algorithm according to the error of the initial parameter and the calculation result, and transmits the optimized parameters back to the charging PID formula, the charging PID formula receives the optimized parameters and calculates again, and the judgment unit is judged again, if the requirement is not met, the above steps are repeated, and if the requirement is met, the parameter under the current working condition is calculated.

[0092] The current optimization parameter is passed to the charging PID formula for real-time calculation under the current working condition until the working condition changes or the current calculation result deviates from the actual measurement result, and then the genetic algorithm model is called again to realize real-time parameter identification and whole-process simulation.

[0093] However, the convergence of the model is difficult to predict, and even if the parameters are very accurate, there is still a large error, so it is necessary to set diversified iteration termination methods to avoid infinite loop calculation. Generally, whether to continue iteration is determined according to the overall error, error convergence, parameter convergence and other factors. The overall error is the error between the direct calculation result of the exponential value model and the measurement result. The error convergence refers to whether the error obtained by using the new parameters for calculation is significantly reduced compared with the error obtained by using the old parameters for calculation. The parameter convergence refers to whether the new parameters are significantly changed compared with the old parameters. If the overall error cannot be converged to the allowable precision, the error convergence and the parameter convergence are judged. If the convergence requirement is met, the unit output signal is output, the optimization model iteration is stopped, and the current parameters generated by the optimization parameter generation unit are output as the optimal PID parameters.

[0094] Step 204: Real-time control of the second storage battery charging the first storage battery to make the power of the first storage battery in a high power state, or generating a first charging prompt to prompt the administrator to charge the lithium battery so that the power of the first storage battery is in a high power state.

[0095] Specifically, the processor monitors the power state of the first storage battery in real time. The first storage battery needs to maintain the first storage battery in a high power state so that the lithium battery can be powered by the first storage battery when the lithium battery is in a low power state. When the processor monitors that the power of the first storage battery is in a low power state, the second storage battery can be controlled to charge the first storage battery. When the power of the second storage battery is insufficient, a first charging prompt can be generated and sent to the administrator's mobile terminal to prompt the administrator to charge the second storage battery.

[0096] Step 205: If the power state of the lithium battery is in a high power state, the lithium battery is controlled to discharge the second storage battery according to the first discharge current intensity, and it is judged whether the surface temperature of the lithium battery exceeds a temperature threshold value during the discharging process. If the surface temperature of the lithium battery exceeds the temperature threshold value, the first discharge current intensity is adjusted according to the thermal power formula.

[0097] The thermal power formula is:

[0098] q=aI+bI×T 2 ; and

[0099] In the formula, q is the discharge rate of the lithium battery, the discharge rate being the result of the discharge current divided by the rated capacity of the battery; I is the discharge current intensity; T is the surface temperature of the lithium battery; a and b are initial parameters.

[0100] Specifically, when the processor monitors that the lithium battery is in a high power state, the lithium battery needs to be controlled to discharge the second storage battery. Relevant research shows that the ideal working temperature range of the lithium battery is 25 to 40 degrees Celsius, and if the temperature is higher, the service life of the lithium battery will be affected. When discharging at a large rate, the working temperature of the lithium battery will exceed the ideal working temperature range, and therefore, the lithium battery needs to be controlled to dissipate heat under normal temperature and natural conditions.

[0101] In the process of discharging the second storage battery by the lithium battery, the temperature sensor collects the temperature information of the surface of the lithium battery, and determines whether the temperature information of the surface of the lithium battery exceeds a temperature threshold. For example, the temperature threshold is set to 38 degrees Celsius, and if the surface temperature of the lithium battery exceeds 38 degrees Celsius, the discharge of the second storage battery by the lithium battery is adjusted through a thermal power formula to control the surface temperature of the lithium battery to be below 38 degrees Celsius.

[0102] Step 206: controlling the second storage battery to discharge the load in real time so that the power of the second storage battery is in a low power state.

[0103] Specifically, the processor monitors the power state of the second storage battery in real time, and needs to maintain the second storage battery in a low power state, so that the lithium battery discharges the excess power to the second storage battery when the lithium battery is in a high power state. When the processor monitors that the power of the second storage battery is high, the second storage battery can be controlled to discharge the load, and the temperature of the load is obtained in real time to prevent the temperature of the load from being too high to affect the service life of the lithium battery.

[0104] The following is an embodiment of the system of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the system embodiments of the present application, please refer to the method embodiments of the present application.

[0105] Please refer to Figure 3 which shows the structure of the lithium battery power maintenance device provided by an exemplary embodiment of the present application. The lithium battery power maintenance device can be realized by software, hardware or a combination of the two to become all or part of the system. The lithium battery power maintenance device 1 includes a lithium battery state determination module 11, a low power state maintenance module 12 and a high power state maintenance module 13.

[0106] The lithium battery state determination module 11 is used to collect the voltage change rate of the lithium battery, and determine the power state of the lithium battery according to the voltage change rate;

[0107] The low power state maintaining module 12 is configured to control the first storage battery to charge the lithium battery according to the charging PID formula if the power state of the lithium battery is in the low power state, and control the power of the first storage battery to be in the high power state in real time.

[0108] The high power state maintaining module 13 is configured to control the lithium battery to discharge the second storage battery according to the thermal power formula if the power state of the lithium battery is in the high power state, and control the power of the second storage battery to be in the low power state in real time.

[0109] Optionally, the lithium battery state determining module 11 comprises a voltage judging unit 111.

[0110] The voltage judging unit 111 is configured to judge whether the voltage change rate is higher than a first threshold value or lower than a second threshold value, the first threshold value is higher than the second threshold value, determine that the power state of the lithium battery is in the high power state if the voltage change rate is higher than the first threshold value, determine that the power state of the lithium battery is in the low power state if the voltage change rate is lower than the second threshold value, and determine that the power state of the lithium battery is in the normal power state if the voltage change rate is not higher than the first threshold value and not lower than the second threshold value.

[0111] Optionally, the low power state maintaining module 12 comprises a charging power adjusting unit 121, an optimal PID parameter optimizing unit 122, and a first storage battery power constant unit 123.

[0112] The charging power adjusting unit 121 is configured to charge the lithium battery according to the first PWM duty ratio, calculate an actual charging power, subtract the actual charging power from an expected charging power to obtain a power deviation value, combine the power deviation value, the preset PID parameter, and the charging PID formula to obtain a PWM duty ratio change value, add the first PWM duty ratio and the PWM duty ratio change value to obtain a second PWM duty ratio, and charge the lithium battery according to the second PWM duty ratio.

[0113] The optimal PID parameter optimizing unit 122 is configured to judge whether the charging power of the lithium battery charged by the second PWM duty ratio exceeds an expected charging power range, iterate the preset PID parameter through a genetic algorithm if the charging power of the lithium battery charged by the second PWM duty ratio exceeds the expected charging power range, and obtain an iteration result, judge whether the iteration result converges, stop iteration if the iteration result converges, take the preset PID parameter after iteration as an optimal PID parameter, and optimize the charging PID formula through the optimal PID parameter.

[0114] The first storage battery power constant unit 123 is configured to control the second storage battery to charge the first storage battery, so that the power of the first storage battery is in a high power state, or generate a first charging prompt to prompt the administrator to charge the lithium battery, so that the power of the first storage battery is in a high power state.

[0115] Optionally, the high power state maintaining module 13 comprises a discharge current adjusting unit 131 and a second storage battery power constant unit 132.

[0116] The discharge current adjusting unit 131 is configured to control the lithium battery to discharge the second storage battery according to a first discharge current intensity, and determine whether the surface temperature of the lithium battery exceeds a temperature threshold during the discharging process. If the surface temperature of the lithium battery exceeds the temperature threshold, the first discharge current intensity is adjusted according to a thermal power formula.

[0117] The second storage battery power constant unit 132 is configured to control the second storage battery to discharge the load, so that the power of the second storage battery is in a low power state.

[0118] The embodiment of the present application further provides a computer storage medium, which can store a plurality of instructions, and the instructions are suitable for being loaded and executed by a processor. Figures 1-2 The specific execution process of the lithium battery power maintaining method can refer to the specific description of the embodiment shown in the method for maintaining the power of a lithium battery. Figures 1-2 The specific execution process of the lithium battery power maintaining method can refer to the specific description of the embodiment shown in the method for maintaining the power of a lithium battery.

[0119] Please refer to Figure 4 The embodiment of the present application provides a structural schematic diagram of an electronic device. As shown in the figure, Figure 4 The electronic device 1000 can comprise at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005 and at least one communication bus 1002.

[0120] The communication bus 1002 is configured to realize the connection and communication among the components.

[0121] The user interface 1003 can comprise a display screen (Display) and a camera (Camera), and the optional user interface 1003 can further comprise a standard wired interface and a wireless interface.

[0122] The network interface 1004 can optionally comprise a standard wired interface and a wireless interface (such as a WI-FI interface).

[0123] The processor 1001 can include one or more processing cores. The processor 1001 connects various parts within the entire electronic device 1000 by various interfaces and lines, and performs various functions of the electronic device 1000 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Alternatively, the processor 1001 can be implemented in at least one of a hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA). The processor 1001 can integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes an operating system, a user interface, and an application program; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 1001, but can be realized by a separate chip.

[0124] The memory 1005 can include a random access memory (RAM) and can also include a read-only memory (ROM). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 1005 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area can store data involved in the above-mentioned various method embodiments, etc. The memory 1005 can also be at least one storage device located away from the above-mentioned processor 1001. As shown, the memory 1005 as a computer storage medium can include an operating system, a network communication module, a user interface module, and an application program of a lithium battery power maintaining method. Figure 4

[0125] ​It should be noted that the apparatus provided in the above examples is only used to illustrate the division of the above functional modules in realizing its functions, and in actual applications, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above examples belong to the same concept, and the specific implementation process is described in the method embodiments, which will not be repeated here.

[0126] In Figure 4 In the electronic device 1000 shown, the user interface 1003 is mainly used to provide an interface for user input and obtain user input data; and the processor 1001 can be used to call an application program stored in the memory 1005 and storing a lithium battery power maintaining method, which, when executed by one or more processors, causes the electronic device to perform the method described in one or more of the above examples.

[0127] An electronic device readable storage medium stores instructions. When executed by one or more processors, the electronic device performs the method described in one or more of the above examples.

[0128] Those skilled in the art can clearly understand that the technical solutions of the present application can be realized by software and / or hardware. The "unit" and "module" in the specification refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, and the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.

[0129] It should be noted that for the foregoing method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily necessary for the present application.

[0130] In the above examples, the description of each embodiment has its own emphasis, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0131] In several embodiments provided in the present application, it should be understood that the disclosed apparatus can be implemented in other manners. For example, the division of the apparatus embodiments described above is merely illustrative, and the division of the units can be changed according to actual needs. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.

[0132] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.

[0133] In addition, each functional unit in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0134] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that makes a contribution to the prior art, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.

[0135] Those of ordinary skill in the art can understand that all or part of the steps of the various methods in the above embodiments can be completed by a program instructing relevant hardware, and the program can be stored in a computer readable storage medium, which can include a flash disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc.

[0136] The above descriptions are only exemplary embodiments of the present disclosure and cannot limit the scope of the present disclosure. That is, equivalent changes and modifications made in accordance with the teachings of the present disclosure are still within the scope of the present disclosure. Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon considering the specification and practice of the present disclosure. The present application is intended to cover any variations, uses, or adaptive changes of the present disclosure that follow the general principles of the present disclosure and include common knowledge or conventional technical means in the art that are not described in the present disclosure.

Claims

1. A method for maintaining the power of a lithium battery, characterized in that: Applied to a lithium battery power maintenance device, the lithium battery power maintenance device includes a lithium battery, a first storage battery and a second storage battery, and the method includes: Collecting the voltage change rate of the lithium battery, and determining the state of charge of the lithium battery according to the voltage change rate; If the power state of the lithium battery is in a low power state, controlling the first storage battery to charge the lithium battery according to a charging PID formula, and controlling the power of the first storage battery to be in a high power state in real time, wherein the charging PID formula is a formula for constant power charging of the battery; If the power state of the lithium battery is in a high power state, control the lithium battery to discharge the second storage battery according to the thermal power formula, and control the power of the second storage battery to be in a low power state in real time; The step of controlling the lithium battery to discharge the second storage battery according to a thermal power formula includes: The thermal power formula is: q=aI 2 +bI×T Wherein, q is the discharge rate of the lithium battery, which is the result obtained by dividing the discharge current by the rated capacity of the battery; I is the discharge current intensity; T is the surface temperature of the lithium battery; a and b are initial parameters; Controlling the lithium battery to discharge the second storage battery according to the first discharge current intensity; Determining whether the surface temperature of the lithium battery exceeds a temperature threshold during discharge; If the surface temperature of the lithium battery exceeds the temperature threshold, the first discharge current intensity is adjusted according to a thermal power formula.

2. The lithium battery power maintenance method according to claim 1, characterized in that: Determining the state of charge of the lithium battery according to the voltage change rate includes: determining whether the voltage change rate is higher than a first threshold or lower than a second threshold, the first threshold being greater than the second threshold; If the voltage change rate is higher than the first threshold, it is determined that the power state of the lithium battery is in a high power state; If the voltage change rate is lower than the second threshold, it is determined that the power state of the lithium battery is in a low power state; If the voltage change rate is not higher than the first threshold and not lower than the second threshold, it is determined that the power state of the lithium battery is in a normal power state.

3. The lithium battery power maintenance method according to claim 1, characterized in that: The controlling the first storage battery to charge the lithium battery according to a charging PID formula includes: The charging PID formula is: △P n =K p (e n -e n-1 )+K i e n +K d (e n -2e n-1 +e n-2 ); Where, △P n K is the PWM duty cycle change value; p is the proportional coefficient; K i is the integral coefficient; K d is the differential coefficient; e n is the deviation between the current charging power value and the expected charging power value; e n-1 is the deviation between the last charging power value and the expected charging power value, e n-2 The deviation between the last charging power value and the expected charging power value; Charging the lithium battery according to a first PWM duty cycle and calculating actual charging power; Subtracting the actual charging power from the expected charging power to obtain a power deviation value; Combining at least one of the power deviation values, the preset PID parameters, and the charging PID formula to obtain a PWM duty cycle change value; Adding the first PWM duty cycle and the PWM duty cycle change value to obtain a second PWM duty cycle; The lithium battery is charged according to a second PWM duty cycle.

4. The lithium battery power maintenance method according to claim 3, characterized in that: After charging the lithium battery according to the second PWM duty cycle, the method further includes: Determining whether a charging power of the lithium battery charged by the second PWM duty cycle exceeds an expected charging power range; If the charging power of the lithium battery by the second PWM duty cycle exceeds the expected charging power range, iterating the preset PID parameters through a genetic algorithm and obtaining an iterative result; Determining whether the iterative result converges; If the iteration result converges, the iteration is stopped and the preset PID parameters after the iteration are used as the optimal PID parameters; The charging PID formula is optimized using the optimal PID parameters.

5. The lithium battery power maintenance method according to claim 1, characterized in that: The real-time controlling of the power level of the first battery to be in a high power state includes: controlling the second storage battery to charge the first storage battery so that the power level of the first storage battery is in a high power state; Or generate a first charging reminder to prompt the manager to charge the lithium battery so that the power level of the first battery is in a high power state.

6. The lithium battery power maintenance method according to claim 1, characterized in that: The lithium battery power maintenance device further includes a load, and the real-time control of the power of the second storage battery to be in a low power state includes: The second storage battery is controlled to discharge the load so that the power of the second storage battery is in a low power state.

7. A lithium battery power maintenance device, characterized in that: The lithium battery power maintaining device includes a lithium battery, a first storage battery and a second storage battery, and the lithium battery power maintaining device includes: A lithium battery state determination module (11) is used to collect the voltage change rate of the lithium battery and determine the power state of the lithium battery according to the voltage change rate; A low power state maintaining module (12) is used to control the first storage battery to charge the lithium battery according to a charging PID formula if the power state of the lithium battery is in a low power state, and to control the power of the first storage battery to be in a high power state in real time, wherein the charging PID formula is a formula for charging the battery at a constant power; A high power state maintaining module (13) is used to control the lithium battery to discharge the second storage battery according to a thermal power formula if the power state of the lithium battery is in a high power state, and to control the power of the second storage battery to be in a low power state in real time; The step of controlling the lithium battery to discharge the second storage battery according to a thermal power formula includes: The thermal power formula is: q=aI 2 +bI×T Wherein, q is the discharge rate of the lithium battery, which is the result obtained by dividing the discharge current by the rated capacity of the battery; I is the discharge current intensity; T is the surface temperature of the lithium battery; a and b are initial parameters; Controlling the lithium battery to discharge the second storage battery according to the first discharge current intensity; Determining whether the surface temperature of the lithium battery exceeds a temperature threshold during discharge; If the surface temperature of the lithium battery exceeds the temperature threshold, the first discharge current intensity is adjusted according to a thermal power formula.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executed by a method according to any one of claims 1 to 6.

9. An electronic device, characterized in that: The electronic device comprises a processor, a memory and a transceiver, wherein the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Self-adapting charging method for vehicle-mounted power battery

    CN104037898A

  • Charge state estimation method for lithium ion battery and charge state estimation device for lithium ion battery

    CN107835947A

  • Control device for prolong service life of lithium battery

    CN109980714A