Battery charging and discharging control method and computer readable storage medium

By monitoring the temperature data of the battery pack and stopping charging according to the charging conditions when the voltage is full, combined with the settings of the recharge voltage and the recharge stop voltage, the problem of repeated cycle charging and discharge of the battery is solved, reducing the risk of overcharging of the battery , extends the battery life.

CN119482790APending Publication Date: 2025-02-18FUJIAN CENTM INFORMATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411320510.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing battery charging and discharging control methods cause the battery to cycle repeatedly under high power conditions, causing the battery to overcharge, affecting the battery life, and there is a risk of expansion, explosion, and spontaneous combustion.

Method used

By detecting the temperature data of the battery pack, charging is performed if the preset conditions are met, and when the battery pack voltage reaches full voltage, charging stop judgment is made based on the charging current or charging time to avoid overcharging of the battery. At the same time, set the recharge voltage and recharge stop voltage to control the number of charges and extend the battery life.

Benefits of technology

It effectively reduces the risk of battery expansion, explosion and combustion, avoids battery overcharging, extends battery life, and improves the safety of battery charging and discharging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119482790A_ABST
    Figure CN119482790A_ABST
Patent Text Reader

Abstract

The invention discloses a battery charging and discharging control method and a computer readable storage medium, and the method comprises the steps: detecting the temperature data of a battery pack when complete machine equipment is connected with a charger, and the temperature data comprises an operation temperature and a temperature change value in a preset period; and if the temperature data meets a preset temperature condition, charging the battery pack, and when the voltage of the battery pack reaches a preset full-charge voltage and the charging current or the full-charge charging time meets a preset charging stop condition, stopping charging the battery pack. The service life of the battery can be prolonged, and the risks of battery swelling, spontaneous combustion, explosion and the like are effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery technology, and in particular to a battery charging and discharging control method and a computer-readable storage medium. Background Art

[0002] With the continuous growth of global consumer electronics, new energy and electric vehicles, the market demand and application of batteries are becoming more and more extensive, and the technical requirements are becoming higher and higher. How to balance performance, cost, safety and environment has become the main challenge of the battery industry.

[0003] In the existing design of charge and discharge control management method, after the battery is fully charged, the charging cut-off current or battery voltage is controlled when the charger is not removed. When the charging current is less than a fixed threshold, or the battery voltage is lower than a fixed threshold, charging is stopped. However, as the whole equipment is running, the battery discharges, the battery power decreases, and the charger immediately charges the battery. Under high power conditions, the battery is repeatedly charged and discharged in a cycle, causing the battery to overcharge and affecting the battery life. When the battery is overcharged, the internal electrolyte decomposes, increases the internal pressure, causes the battery to swell, and even eventually causes the battery to explode and burn. Alternatively, when the battery temperature rises sharply or the number of battery charging cycles exceeds the battery life, charging and discharging continue, and the battery continues to be used, causing the battery to overcharge, accelerate the damage of the electrode material, and cause thermal runaway. There is a risk of battery bulging, explosion, and spontaneous combustion, which poses a hidden danger to personal safety and property safety. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a battery charging and discharging control method and a computer-readable storage medium, which can extend the battery life and effectively reduce the risks of battery bulging, spontaneous combustion, explosion, etc.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a battery charging and discharging control method, comprising:

[0006] When the whole device is connected to the charger, the temperature data of the battery pack is detected, and the temperature data includes the operating temperature and the temperature change value within a preset period;

[0007] If the temperature data meets the preset temperature condition, the battery pack is charged, and when the voltage of the battery pack reaches the preset full-charge voltage and the charging current or the full-charge charging time meets the preset charging stop condition, the charging of the battery pack is stopped.

[0008] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described above is implemented.

[0009] The beneficial effects of the present invention are: by monitoring the temperature and its changes, when the temperature or temperature changes are abnormal, charging is stopped in time, which can reduce the risk of battery expansion and even explosion and combustion of the battery; by setting the full-charge voltage and limiting the constant-voltage charging time when fully charged, the battery is prevented from being overcharged, and the risk of battery expansion, explosion and combustion is further reduced. The present invention can improve the safety of battery charging and discharging, avoid the occurrence of battery overcharging, effectively reduce the risk of battery bulging, explosion and spontaneous combustion, and extend the battery life. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A flow chart of a battery charging and discharging control method of the present invention;

[0011] Figure 2 This is a schematic diagram of the circuit structure of a protection circuit of a battery pack according to Embodiment 1 of the present invention;

[0012] Figure 3 This is a flow chart of a method according to Embodiment 1 of the present invention. DETAILED DESCRIPTION

[0013] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is a detailed description in conjunction with the implementation methods and the accompanying drawings.

[0014] See also Figure 1 , a battery charging and discharging control method, comprising:

[0015] When the whole device is connected to the charger, the temperature data of the battery pack is detected, and the temperature data includes the operating temperature and the temperature change value within a preset period;

[0016] If the temperature data meets the preset temperature condition, the battery pack is charged, and when the voltage of the battery pack reaches the preset full-charge voltage and the charging current or the full-charge charging time meets the preset charging stop condition, the charging of the battery pack is stopped.

[0017] From the above description, it can be seen that the beneficial effects of the present invention are: it can extend the service life of the battery and effectively reduce the risks of battery bulging, spontaneous combustion, explosion, etc.

[0018] Furthermore, after stopping charging the battery pack, the method further comprises:

[0019] When the battery pack is in a discharging state and the voltage of the battery pack drops to a preset recharging voltage, the charging of the battery pack is resumed.

[0020] It can be seen from the above description that by resuming charging after the battery voltage drops below the recharging voltage, the number of repeated charging is reduced, thereby extending the battery life.

[0021] Furthermore, when the battery pack is in a discharging state and the voltage of the battery pack drops to a preset recharging voltage, after resuming charging of the battery pack, the method further includes:

[0022] When the voltage of the battery pack is restored to a preset restoring stop voltage, the charging of the battery pack is stopped.

[0023] It can be seen from the above description that by stopping charging after the battery reaches a certain voltage, overcharging of the battery can be prevented.

[0024] Further, if the temperature data meets a preset temperature condition, the battery pack is charged, and when the voltage of the battery pack reaches a preset full-charge voltage and the charging current or the full-charge charging time meets a preset charging stop condition, the charging of the battery pack is stopped, including:

[0025] If the temperature data meets the preset temperature condition, the battery pack is charged with a constant current, and when the voltage of the battery pack reaches the preset full-charge voltage, the battery pack is charged with a constant voltage trickle charge;

[0026] When the charging current decreases to a preset charging cut-off current, or the constant voltage charging time of the battery pack at full voltage exceeds a preset trickle charging time, the charging of the battery pack is stopped.

[0027] From the above description, it can be seen that when the battery is fully charged, the charging time is limited to avoid overcharging the battery, further reducing the risk of battery swelling, explosion, and combustion.

[0028] Furthermore, when the whole device is connected to the charger, after detecting the temperature data of the battery pack, it also includes:

[0029] If the temperature data does not meet the preset temperature condition, the charging of the battery pack is stopped and a temperature abnormality warning is reported.

[0030] From the above description, it can be seen that by stopping charging in time when the temperature is abnormal or the temperature changes too quickly, the risk of battery expansion and even explosion or combustion can be reduced.

[0031] Furthermore, the preset temperature condition includes that the operating temperature is within a preset temperature range and the temperature change value within the preset period is less than or equal to a preset change threshold.

[0032] Furthermore, charging the battery pack includes:

[0033] When the whole device is working, if the power consumption of the whole device exceeds the load capacity of the charger, the charging of the battery pack is stopped and the battery pack is controlled to discharge;

[0034] If the power consumption of the whole device does not exceed the load capacity of the charger, the battery pack is charged based on the remaining load capacity after powering the whole device.

[0035] From the above description, it can be seen that the normal operation of the whole device is ensured by giving priority to powering the whole device.

[0036] Furthermore, charging the battery pack includes:

[0037] Detect the number of charging cycles;

[0038] If the number of charging cycles is greater than or equal to the preset charging life span, continue charging and give a battery life reminder;

[0039] If the number of charging cycles is less than the preset charging life span, determining whether the full-charge voltage of the battery pack is less than the preset recharge voltage;

[0040] If yes, continue charging and give a battery life reminder.

[0041] From the above description, it can be seen that by counting the number of charge and discharge cycles of the battery, an early warning is issued for the battery that has exceeded its life span, so that the battery can be replaced in time, further reducing the risk of battery swelling, explosion, and combustion.

[0042] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described above is implemented.

[0043] Embodiment 1

[0044] Please refer to Figure 2-3 , Embodiment 1 of the present invention is: a battery charge and discharge control method, which can be applied to electric vehicles, can extend the battery life, and effectively reduce the risks of battery bulging, spontaneous combustion, explosion, etc.

[0045] In this embodiment, the battery pack includes at least one battery, which may be a lithium battery or other power battery. The circuit structure of the protection circuit of the battery pack is as follows: Figure 2As shown, it includes a protection chip (Protection IC), a fuel gauge (CW2017 is used in this embodiment) and a thermistor (a negative temperature coefficient thermistor, i.e., an NTC thermistor, is used in this embodiment). The interface pins of the battery pack include P+ (battery pack + level), P- (battery pack - level), INT_N, SCL (Serial Clock Line) and SDA (Serial Data Line), and also include a ground pin (GND). Among them, INT_N, SCL and SDA are respectively connected to the CPU of the whole device. In this embodiment, the INT_N pin is modified from the ID pin (used to identify batteries from different manufacturers). By modifying the ID pin to the INT_N pin, it is used to generate an interrupt signal when the fuel gauge monitors the temperature abnormality, so as to trigger the CPU of the whole device to further obtain temperature information through the I2C interface, so as to further perform charging and discharging control management.

[0046] When the whole device is working, by real-time monitoring the temperature data of the battery pack, when the temperature rise exceeds the standard or the temperature exceeds the normal range, the fuel gauge (CW2017) generates an interrupt signal (low level) and transmits the interrupt signal to the CPU of the whole device through the INT_N pin to wake up the whole device. The whole device communicates through I2C through SDA and SCL to obtain temperature information and perform further charging and discharging control management, including charging control management, recharging control management, charging power path management, discharge control management and battery life management.

[0047] Specifically, Figure 3 As shown, the method of this embodiment includes the following steps:

[0048] S1: When the whole device is connected to the charger, the temperature data of the battery pack is detected, wherein the temperature data includes the operating temperature T and the temperature change value ΔT within a preset period Tq.

[0049] After the whole device is inserted into the charger, it enters the charging management control state and first performs temperature detection and judgment on the battery pack.

[0050] S2: Determine whether the operating temperature T is within a preset temperature range T1 to T2. If so, execute step S3; if not, execute step S4.

[0051] In this embodiment, T1 is 0 degrees and T2 is 45 degrees, that is, it is determined whether the operating temperature is within the range of 0 to 45 degrees.

[0052] S3: Determine whether the temperature change value ΔT within the preset period Tq is less than or equal to the preset change threshold Tc. If so, execute step S5; if not, execute step S4.

[0053] In this embodiment, Tq is 1 second and Tc is 22.5 degrees, that is, it is detected whether the temperature change value per second is less than or equal to 22.5 degrees.

[0054] S4: Stop charging the battery pack and report an abnormal temperature warning.

[0055] Specifically, the charging function is turned off through the charging EN, the battery charging is stopped, and the abnormal battery temperature is reported.

[0056] When the temperature changes too quickly, it is considered that a huge amount of heat is released in a short period of time. By detecting the sudden change in battery temperature, charging is shut down in time and battery charging is stopped, which can reduce the risk of battery expansion and even explosion or combustion.

[0057] S5: charging the battery pack, and stopping charging the battery pack when the voltage of the battery pack reaches a preset full-charge voltage and the charging current or the full-charge charging time meets a preset charging stop condition.

[0058] If the temperature detection is normal, the charging control management is entered, and the full charge voltage V1 and the recharge voltage V2 can be defined through the system settings. If no settings are made, the system default values ​​can be used. In this embodiment, the full charge voltage V1 = 8.7V, and the recharge voltage V2 = 8.2V.

[0059] Specifically, the battery pack is first charged with a constant current. When the voltage of the battery pack reaches the preset full-charge voltage V1, constant-voltage trickle charging is started, that is, charging is performed with a small current, and the charging current will gradually decrease during the charging process. Then, it is detected in real time whether the charging current is reduced to the preset charging cut-off current I1. If so, charging is stopped and the power display is 100%. If not, it is determined whether the constant-voltage charging time T0 exceeds the preset trickle charging time Tj under the full-charge voltage. If it exceeds, charging is stopped and the power display is 100%. If not, constant-voltage trickle charging continues.

[0060] In this embodiment, the charging cut-off current I1=50 mA, and the trickle charging time Tj=30 minutes.

[0061] S6: Determine whether the voltage of the battery pack drops to a preset recharging voltage. If so, resume charging the battery pack, that is, execute step S5.

[0062] This step is to perform recharging control management. Specifically, after the battery is fully charged, the battery pack will discharge to provide the entire device with work, and the fuel gauge will determine whether the voltage of the battery pack drops to the recharging voltage V2. If the voltage of the battery pack drops below the recharging voltage V2, charging will be resumed and the charging control management mode will be entered.

[0063] In actual application scenarios, the recharge voltage can be adjusted between 30% and 80% of the full capacity of the battery, for example, it can be set to 50%, that is, the battery voltage drops below 50% of the full capacity before recharging. In other embodiments, in order to prevent the battery from overcharging, a recharge stop voltage can also be set, and the recharge stop voltage can be adjusted between 80% and 100% of the full capacity of the battery, for example, it can be set to 90%, that is, when the battery is recharged to 90% of the full capacity, charging stops.

[0064] Furthermore, when the whole device is plugged into the charger, the charging power path management is also performed, that is, the charger will first power the whole device, and the remaining load capacity will be used to charge the battery pack. Specifically, if the power consumption of the whole device exceeds the load capacity of the charger, the charging of the battery pack is stopped, and the battery pack is controlled to discharge to supplement the insufficient load capacity of the charger and ensure the normal operation of the whole device. If the power consumption of the whole device does not exceed the load capacity of the charger, the battery pack is charged based on the remaining load capacity after powering the whole device.

[0065] Furthermore, the whole device will also perform battery life management when it is working. Specifically, the fuel gauge detects the number of charging cycles N1 of the battery, and the CPU of the whole device obtains the number of charging cycles N1 from the fuel gauge through I2C communication. If the number of complete charging cycles N1 is greater than or equal to the charging life limit No, charging will continue, and a prompt will be given that the battery life has reached the charging limit, and the battery should be replaced. If the number of charging cycles N1 is less than the charging life limit No, the full-charge voltage and recharge voltage are obtained through I2C communication, and it is determined whether the full-charge voltage is less than the recharge voltage. If so, charging will continue, and a prompt will be given that the battery life has reached the charging limit, and the battery should be replaced; if not, the charging control management mode will be entered.

[0066] This embodiment can reduce the cost of the battery and the entire device, effectively balance factors such as performance, cost, safety, and environment, and enable the battery to achieve reliable charging and discharging.

[0067] Embodiment 2

[0068] This embodiment is a computer-readable storage medium corresponding to the above embodiment, on which a computer program is stored. When the program is executed by the processor, the various steps of the battery charging and discharging control method in the above embodiment are implemented, and the same technical effect can be achieved, which will not be repeated here.

[0069] In summary, the present invention provides a battery charge and discharge control method and computer-readable storage medium, which designs a battery protection IC, a fuel gauge and a thermistor (NTC) on a protection board, and the protection board is combined with the battery cell in a battery pack, which is conducive to battery replacement and capacity self-calibration. The whole device can better obtain battery capacity data, battery temperature and battery charging cycle number through I2C communication. By monitoring the temperature and temperature changes, when the temperature or temperature change is abnormal, charging is stopped in time, which can reduce the risk of battery expansion, explosion and combustion. By setting the full-charge voltage and limiting the constant-voltage charging time when fully charged, the battery is avoided from being overcharged, and the risk of battery expansion, explosion and combustion is further reduced. By setting the recharge voltage, charging is resumed only when the battery voltage drops below the recharge voltage, reducing the number of repeated charging times, and extending the battery life. By counting the number of battery charge and discharge cycles, the battery that is used beyond its life span is warned, so that the battery can be replaced in time, further reducing the risk of battery expansion, explosion and combustion. It is applicable to a wide range of charging scenarios. According to the needs of the usage scenarios, the battery full-charge voltage and recharge voltage can be manually set through the system settings of the whole device to further improve the battery life.

[0070] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A battery charging and discharging control method, characterized in that: include: When the whole device is connected to the charger, the temperature data of the battery pack is detected, and the temperature data includes the operating temperature and the temperature change value within a preset period; If the temperature data meets the preset temperature condition, the battery pack is charged, and when the voltage of the battery pack reaches the preset full-charge voltage and the charging current or the full-charge charging time meets the preset charging stop condition, the charging of the battery pack is stopped.

2. The battery charge and discharge control method according to claim 1, characterized in that: After stopping charging the battery pack, the method further comprises: When the battery pack is in a discharging state and the voltage of the battery pack drops to a preset recharging voltage, the charging of the battery pack is resumed.

3. The battery charge and discharge control method according to claim 2, characterized in that: When the battery pack is in a discharging state and the voltage of the battery pack drops to a preset recharging voltage, the charging of the battery pack is resumed, further comprising: When the voltage of the battery pack is restored to a preset restoring stop voltage, the charging of the battery pack is stopped.

4. The battery charge and discharge control method according to claim 1, characterized in that: If the temperature data meets the preset temperature condition, the battery pack is charged, and when the voltage of the battery pack reaches the preset full-charge voltage and the charging current or the full-charge charging time meets the preset charging stop condition, the charging of the battery pack is stopped, including: If the temperature data meets the preset temperature condition, the battery pack is charged with a constant current, and when the voltage of the battery pack reaches the preset full-charge voltage, the battery pack is charged with a constant voltage trickle charge; When the charging current decreases to a preset charging cut-off current, or the constant voltage charging time of the battery pack at full voltage exceeds a preset trickle charging time, the charging of the battery pack is stopped.

5. The battery charge and discharge control method according to claim 1, characterized in that: When the whole device is connected to the charger, after detecting the temperature data of the battery pack, the method further includes: If the temperature data does not meet the preset temperature condition, the charging of the battery pack is stopped and a temperature abnormality warning is reported.

6. The battery charge and discharge control method according to claim 4 or 5, characterized in that: The preset temperature condition includes that the operating temperature is within a preset temperature range and the temperature change value within the preset period is less than or equal to a preset change threshold.

7. The battery charge and discharge control method according to claim 1, characterized in that: The charging of the battery pack comprises: When the whole device is working, if the power consumption of the whole device exceeds the load capacity of the charger, the charging of the battery pack is stopped and the battery pack is controlled to discharge; If the power consumption of the whole device does not exceed the load capacity of the charger, the battery pack is charged based on the remaining load capacity after powering the whole device.

8. The battery charge and discharge control method according to claim 1, characterized in that: The charging of the battery pack comprises: Detect the number of charging cycles; If the number of charging cycles is greater than or equal to the preset charging life span, continue charging and give a battery life reminder; If the number of charging cycles is less than the preset charging life span, determining whether the full-charge voltage of the battery pack is less than the preset recharge voltage; If yes, continue charging and give a battery life reminder.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.