Charging control method, device, electronic device, readable storage medium and product

By detecting the battery temperature and adjusting the charging current value, the contradiction between charging speed and temperature control is resolved, achieving fast charging without affecting the user experience.

CN115133616BActive Publication Date: 2025-09-12GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210743717.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2025-09-12
Estimated Expiration
2042-06-27

AI Technical Summary

Technical Problem

In the prior art, although increasing the charging current value can shorten the charging time, it causes the temperature of the electronic device to be too high, affecting the user experience.

Method used

By detecting the battery temperature, if it exceeds a threshold, the charging current value is adjusted to a smaller second current value to keep the battery temperature below the threshold. The charging current is adjusted in combination with the internal resistance and heat dissipation power to achieve fast charging and temperature control.

Benefits of technology

While ensuring fast charging, it prevents electronic devices from overheating and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115133616B_ABST
    Figure CN115133616B_ABST
Patent Text Reader

Abstract

The present application discloses a charging control method, device, electronic device, and readable storage medium and product, which are applied to a main control module of an electronic device. The electronic device also includes a charging module and a battery, and the charging module is connected to the battery and the main control module respectively. The method includes: while the charging module is charging the battery at a first current value, detecting the temperature of the battery as a first temperature; if the first temperature is greater than or equal to a temperature threshold, controlling the charging module to charge the battery at a second current value, wherein the second current value is less than the first current value; while the charging module is charging the battery at the second current value, detecting the temperature of the battery as a second temperature; and adjusting the current value for charging the battery based on the second temperature so that the temperature of the battery does not exceed the temperature threshold. While ensuring the charging temperature rise experience, the battery charging speed is increased, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of fast charging technology, and more specifically, to a charging control method, device, electronic device, and readable storage medium and product. Background Art

[0002] With the rapid development of electronic information technology, people are increasingly demanding shorter charging times for electronic devices. While increasing the current used to charge electronic devices can shorten charging times, higher currents can cause electronic devices to overheat, impacting the user experience. Summary of the Invention

[0003] This application proposes a charging control method, device, electronic device, readable storage medium and product to improve the above-mentioned defects.

[0004] In a first aspect, an embodiment of the present application provides a charging control method, which is applied to a main control module of an electronic device, wherein the electronic device also includes a charging module and a battery, and the charging module is connected to the battery and the main control module, respectively. The method includes: during the process of the charging module charging the battery with a first current value, detecting the temperature of the battery as a first temperature; if the first temperature is greater than or equal to a temperature threshold, controlling the charging module to charge the battery with a second current value, wherein the second current value is less than the first current value; during the process of the charging module charging the battery with the second current value, detecting the temperature of the battery as a second temperature; and adjusting the current value for charging the battery based on the second temperature so that the temperature of the battery is not higher than the temperature threshold.

[0005] In a second aspect, a main control module is applied to an electronic device, wherein the electronic device further comprises a charging module and a battery, wherein the charging module is connected to the battery and the main control module respectively, and the main control module is used to execute the method described in the first aspect.

[0006] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: the main control module, the charging module and the battery described in the second aspect, wherein the charging module is connected to the battery and the main control module respectively.

[0007] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the above method.

[0008] In a fifth aspect, an embodiment of the present application further provides a computer program product, comprising a computer program / instruction, which implements the above method when executed by a processor.

[0009] The charging control method, device, electronic device, readable storage medium and product provided by the present application detect whether the temperature of the battery is greater than a temperature threshold value during the process of the charging module charging the battery with a first current value. If so, the charging module is controlled to charge the battery with a second current value, wherein the second current value is less than the first current value. During the process of the charging module charging the battery with the second current value, the current value for charging the battery is adjusted based on the second temperature so that the temperature of the battery is not higher than the temperature threshold value. When charging the battery, the embodiment provided by the present application first charges the battery based on the larger first current value, which can achieve charging at a faster speed before the battery temperature reaches the temperature threshold, thereby improving the charging speed of the battery. Then, the battery is charged based on the second current value, which can ensure that the battery temperature is not higher than the temperature threshold value, thereby avoiding the electronic device temperature being too high and affecting the user experience.

[0010] Other features and advantages of the embodiments of the present application will be described in the following description and, in part, will become apparent from the description or be understood by practicing the embodiments of the present application. The objectives and other advantages of the embodiments of the present application can be achieved and obtained through the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0012] Figure 1 A structural block diagram of an electronic device provided in an embodiment of the present application is shown;

[0013] Figure 2 A flow chart of a charging control method provided by an embodiment of the present application is shown;

[0014] Figure 3 A coordinate diagram of a battery internal resistance and battery state of charge provided by an embodiment of the present application is shown;

[0015] Figure 4 A method flow chart of a charging control method provided by another embodiment of the present application is shown;

[0016] Figure 5 Show Figure 4 An implementation diagram of step S220;

[0017] Figure 6 Shown Figure 5 An implementation diagram of step S221 and step S222;

[0018] Figure 7 A diagram showing an implementation method for determining the relationship between the state of charge of the battery and the open circuit voltage of the battery provided in an embodiment of the present application;

[0019] Figure 8 A coordinate diagram of the remaining capacity and the open circuit voltage provided by an embodiment of the present application is shown;

[0020] Figure 9 A coordinate diagram of discharge depth and open circuit voltage provided by an embodiment of the present application is shown;

[0021] Figure 10 A coordinate diagram showing the open circuit voltage and battery state of charge of a battery provided in an embodiment of the present application is shown;

[0022] Figure 11 A flow chart of a charging control method provided in another embodiment of the present application is shown;

[0023] Figure 12 A coordinate diagram of a negative electrode potential value and charging time provided in an embodiment of the present application is shown;

[0024] Figure 13 A structural block diagram of a computer-readable storage medium provided in an embodiment of the present application is shown;

[0025] Figure 14 The structural block diagram of the computer program product provided by the embodiment of the present application is shown. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for which protection is claimed, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work fall within the scope of protection of the present application.

[0027] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.

[0028] With the rapid development of electronic information technology, people are increasingly demanding faster charging times for their electronic devices. While this can be achieved by increasing the current used to charge electronic devices, higher currents can cause electronic devices to overheat, impacting the user experience. Ensuring faster charging speeds while minimizing the temperature of electronic devices has become a pressing issue.

[0029] It is easy to understand that charging an electronic device is actually charging the battery in the electronic device. In the current charging scheme, a constant current constant voltage (CCCV) charging method can generally be adopted, that is, constant current charging is first performed with a larger constant current, and then constant voltage charging is performed with the termination voltage value after the voltage of the battery reaches the termination voltage value, until charging is stopped after the charging current reaches the termination current. Wherein, when charging to the termination voltage value, it shows that the battery is almost close to a full state at this time, so the charging current with a smaller current value can be adjusted to charge at this time. The termination current is the current size of the battery when the battery is fully charged at the termination voltage value. Generally, when the battery is charged at the termination voltage value, if the charging current is less than or equal to the termination current, the battery can be considered to be fully charged. It should be noted that for batteries of different specifications, different materials or different uses, the termination voltage may be the same or different.

[0030] However, when charging with a larger current value, the larger current value will generate a large amount of heat when passing through the internal resistance of the battery, causing the battery temperature to rise rapidly. Therefore, in order to ensure that the battery temperature is within a safer range, a smaller current value can be used to charge the battery with a constant current. However, this will cause the charging speed to decrease and increase the charging time.

[0031] Therefore, in order to overcome or partially overcome the above-mentioned defects, the present application provides a charging control method, device, electronic device, readable storage medium and product.

[0032] See also Figure 1 , Figure 1An electronic device 100 provided in an embodiment of the present application is shown. The electronic device 100 includes a main control module 110, a charging module 120, and a battery 130. The charging module 120 is connected to the battery 130 and the main control module 110, respectively.

[0033] In some embodiments, the main control module 110 can be used to obtain parameter information when the charging module 120 is charging the battery 130, such as the charging current value, charging voltage value, and other parameter information. The main control module 110 can also obtain status information of the battery 130, such as the internal resistance, negative electrode potential value, state of charge, etc. of the battery 130. The main control module 110 can also adjust the charging current value for charging the battery 130 through the charging module 120. For example, the main control module 110 can control the charging module 120 to charge the battery 130 at a first current value; or it can control the charging module 120 to charge the battery 130 at a second current value. The main control module 110 can also control and adjust the charging current value of the charging module 120 for charging the battery 130 based on the status information of the battery 130. Specifically, the specific functions of the main control module 110 can be referred to in the subsequent method embodiments.

[0034] The main control module 110 may be a processor that may include one or more processing cores. The main control module 110 utilizes various interfaces and circuits to connect various components within the entire electronic device 100, and controls the charging module 120 to control the charging current value of the battery charged by the charging module 120. Optionally, the main control module 110 may be implemented in at least one hardware form selected from a microcontroller unit (MCU), a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA).

[0035] The charging module 120 can be used to charge the battery 130. Specifically, the charging module 120 can provide a charging voltage and a charging current to the battery 130, thereby charging the battery 130. The charging module 120 can charge the battery 130 when the user is using the electronic device 100. For example, when the user is using the electronic device 100 to make a phone call, the charging module 120 can charge the battery 130. The charging module 120 can also charge the battery 130 when the electronic device 100 is not being used by the user. For example, when the electronic device 100 is in a low power consumption state, the charging module 120 can charge the battery 130. The charging module 120 can also be used to obtain parameter information and send the parameter information to the main control module 110. Furthermore, the charging module 120 can be a module with a wired charging function. The electronic device 100 can be connected to a charging cable, and the main control module 110 controls the charging module 120 to charge the battery 130. The charging module 120 can also be a module with a wireless charging function. The electronic device 100 can be placed on a wireless charger, and the main control module 110 controls the charging module 120 to charge the battery 130. In an exemplary embodiment, the charging module 120 can be an integrated circuit chip with a wired or wireless charging function.

[0036] The battery 130 can provide power to the electronic device 100, enabling the electronic device 100 to operate normally. The battery 130 can also obtain charging voltage and charging current from the charging module 120 to achieve charging. In an exemplary embodiment, the battery 130 can be a lithium-ion battery, such as a ternary polymer lithium battery.

[0037] It should be noted that the electronic device 100 may be a smart phone, a laptop computer, a smart tablet or the like.

[0038] See also Figure 2 , Figure 2 A charging control method provided in an embodiment of the present application is shown. This method can be applied to the main control module 110 in the electronic device 100 in the aforementioned embodiment. The electronic device also includes a charging module 120 and a battery 130, wherein the charging module 120 is connected to the battery 130 and the main control module 110, respectively. Specifically, the method includes steps S110 and S140.

[0039] Step S110 : During the process of the charging module charging the battery with a first current value, detecting the temperature of the battery as a first temperature.

[0040] In some embodiments, when charging a battery begins, the battery temperature is generally low. Therefore, the battery can be charged at a first current value having a relatively high current value, thereby achieving faster charging before the battery temperature reaches a temperature threshold, thereby improving the battery charging speed. For example, the relatively high first current value can be the maximum charging current value supported by the battery in the electronic device; as another example, the first current value can also be the maximum charging current value previously measured through experiments, provided that it meets the lifespan requirements of the battery in the electronic device.

[0041] It is easy to understand that when charging a battery, the battery temperature will increase as charging progresses. Specifically, the rate of increase in the battery temperature is related to the charging current value. The larger the current value during charging, the faster the battery temperature increases; the smaller the current value during charging, the slower the battery temperature increases. Therefore, in the process of charging the battery with a first current value through the charging module, the temperature of the battery can be detected, and the detected battery temperature is used as the first temperature. By judging whether the first temperature exceeds a pre-set temperature threshold, it is determined whether it is necessary to stop charging the battery with the first current value and then continue charging the battery with other current values.

[0042] In some embodiments, a user can charge the battery of an electronic device when the battery level is low. Specifically, the battery can be charged at a variety of current values, such as 3A or 5A. Therefore, when charging the battery of an electronic device, the current value for charging the battery can be determined first, that is, the first current value can be determined.

[0043] The above analysis shows that a larger first current value can be set to increase the overall charging speed. However, an excessively large charging current value may affect the battery's lifespan and, in severe cases, may even cause battery failure. Therefore, it is necessary to determine a larger first current value while ensuring stable battery operation. Furthermore, the charging current is also related to the battery's negative electrode potential. A larger charging current value indicates a smaller negative electrode potential, while a smaller charging current value indicates a larger negative electrode potential. The negative electrode potential is, in turn, related to the battery's lifespan and stability. Specifically, a smaller negative electrode potential during charging indicates a shorter battery lifespan and poorer stability. A larger negative electrode potential during charging indicates a longer battery lifespan and better stability. Therefore, the first current value can be determined based on the battery's negative electrode potential, ensuring a longer battery lifespan and better stability when charged with the first current value. For detailed determination methods, please refer to the subsequent embodiments.

[0044] Furthermore, after determining the first current value for charging the battery, the battery can be charged at the first current value. Specifically, the main control module can control the charging module to output a charging current of the first current value to the battery. It should be noted that the first current value can be a constant current value or a variable current value, wherein the first current value can be determined based on the negative electrode potential value of the battery, and can also be adjusted based on the negative electrode potential value after determination. The specific method for determining the first current value can be found in the subsequent embodiments.

[0045] During the process of the charging module charging the battery with a first current value, the temperature of the battery can be detected as the first temperature. Optionally, the current battery temperature can be obtained once at every time interval as the first temperature. It is easy to understand that the first temperature can correspond to the temperature value during multiple detections, that is, the first temperature can include multiple values. For example, the first temperature of the battery detected at time t1 is T1, the first temperature of the battery detected at time t2 is T2, and the first temperature of the battery detected at time t3 is T3. It should be noted that the temperature of the battery is a detection value, not the actual value of the battery temperature, and there may be a certain error between the detection value and the actual value.

[0046] In an exemplary embodiment, a temperature sensing element can be provided around the battery to detect the battery temperature, and the temperature sensing element is connected to the main control module. The main control module can obtain the battery temperature detected by the temperature sensing element. In an exemplary embodiment, the temperature sensing element can be a negative temperature coefficient (NTC) thermistor or a thermocouple.

[0047] Step S120: If the first temperature is greater than or equal to a temperature threshold, control the charging module to charge the battery with a second current value, wherein the second current value is smaller than the first current value.

[0048] During the charging process of the battery, the battery temperature will change. Generally, the battery temperature will increase. Furthermore, the internal resistance of the battery will be affected by the battery temperature, showing a trend of decreasing with increasing temperature. The internal resistance of the battery will also be affected by the state of charge (SOC) of the battery, showing a trend of first decreasing and then increasing with the increase of the state of charge SOC. Therefore, by charging the battery with the first current of the larger current value in the aforementioned step, the battery quickly reaches the preset temperature value, and then adjusts the charging current value to keep the battery temperature near the temperature value and continue charging. This can improve the charging speed while avoiding the electronic device from overheating and affecting the user experience.

[0049] It is not difficult to understand that when charging a battery, if the temperature of the battery is too high, it will affect the battery life and may even cause battery failure, thereby causing the electronic device to not work properly. Therefore, the allowable battery temperature value when charging the battery can be pre-set so that when the battery temperature is kept near this temperature value, the battery life will not be greatly affected, and the electronic device can also work stably. This temperature value is the temperature threshold. For example, the temperature threshold can be set to 40°C; or the temperature threshold can be set to 55°C. The embodiment of the present application does not limit the specific value of the temperature threshold and can be flexibly set as needed.

[0050] In some embodiments, after obtaining the first temperature, the relationship between the first temperature and the temperature threshold can be determined. If the first temperature is less than the temperature threshold, it indicates that the battery temperature has not yet risen to the temperature threshold, that is, the battery can continue to be charged with the first current value. If the first temperature is greater than or equal to the temperature threshold, it indicates that the battery temperature is already greater than or equal to the temperature threshold, and the charging module can be controlled to charge the battery with a current value less than the first current, so that the battery temperature can be controlled to no longer rise, that is, the charging module can be controlled to charge the battery with a second current value. The battery temperature is positively correlated with the current value of the charging module charging the battery, so it is easy to know that in order to prevent the battery temperature from rising, the second current value used can be less than the first current value.

[0051] Step S130: During the process of the charging module charging the battery with the second current value, detecting the temperature of the battery as the second temperature.

[0052] In some embodiments, the battery temperature may change during the process of charging the battery with the second current value. Specifically, the battery temperature may be affected by the charging current and the internal resistance of the battery, and the internal resistance of the battery is related to the battery's state of charge (SOC). The battery's state of charge (SOC) is used to characterize the remaining power in the battery, generally expressed as a percentage, such as the percentage of the remaining available power in the battery to the total capacity. Figure 3 , Figure 3A graph showing battery internal resistance and battery state of charge (SOC) is shown, with the SOC (in %) on the abscissa and the internal resistance (in Ω) on the ordinate. Curve 7 shows the relationship between the internal resistance and SOC when the battery temperature is 25°C, and Curve 8 shows the relationship between the internal resistance and SOC when the battery temperature is 45°C. Therefore, during the charging process, the battery's SOC increases over time. At this time, the battery's internal resistance changes with the SOC, further affecting the battery temperature. This change in battery temperature also affects the internal resistance. Even when charging the battery at the same second current value, the battery temperature will still change. Therefore, by detecting the battery temperature during charging with the second current value, the second current value can be adjusted based on the temperature to maintain the battery temperature near a temperature threshold, thereby achieving the fastest possible charging speed while ensuring the battery temperature does not rise too high. The battery temperature during charging with the second current value is referred to as the second temperature.

[0053] The method for obtaining the second temperature may refer to the method for obtaining the first temperature, which will not be described in detail here.

[0054] Step S140: adjusting a current value for charging the battery based on the second temperature so that the temperature of the battery does not exceed the temperature threshold.

[0055] In some embodiments, after obtaining the second temperature, the current value of charging the battery can be adjusted based on the second temperature so that the temperature of the battery does not exceed the temperature threshold. Specifically, the current value of charging the battery can be adjusted based on the difference between the second temperature and the temperature threshold. When the second temperature is greater than the temperature threshold, the current value of charging the battery can be reduced to reduce the battery temperature; when the second temperature is less than the temperature threshold, the current value of charging the battery can be increased to increase the charging speed of the battery within the temperature threshold; when the second temperature is equal to the temperature threshold, the current value of charging the battery may not be adjusted.

[0056] In an exemplary embodiment, after obtaining the second temperature, the temperature difference T between the second temperature and the temperature threshold value can be obtained. x , then based on the temperature difference T x The positive or negative value of the temperature difference T is used to adjust the current value for charging the battery. x When the temperature difference T is greater than 0, the current value for charging the battery can be reduced; x When it is less than 0, the current value for charging the battery can be increased.

[0057] Furthermore, a numerical value m for adjusting the current value for charging the battery can be set, and the numerical value m can be a fixed value, such as 50mA. After determining the magnitude relationship between the second temperature and the temperature threshold, the current value for charging the battery can be increased by 50mA or decreased by 50mA as a new current value for charging the battery. A weight can also be added on the basis of the numerical value, wherein the weight is used to characterize the temperature difference between the second temperature and the temperature threshold. The larger the temperature difference, the greater the deviation between the second temperature and the temperature threshold, and the larger the weight should be, so as to adjust the current value for charging the battery as soon as possible. In an exemplary manner, the temperature difference can be set as a weight, and the current value for charging the battery is adjusted by the temperature difference x numerical value m. For example, the temperature difference T between the second temperature and the temperature threshold is x The temperature is 1.5°C and the value m is 50mA, then the current value for charging the battery can be reduced to 1.5x50=75mA.

[0058] It is easy to understand that when the current value for charging the battery is first adjusted based on the second temperature, the current value for charging the battery is the second current value. Furthermore, since some battery parameters change during the charging process, such as the battery's internal resistance or state of charge, even if the battery is charged with the same current, the battery temperature will change as charging proceeds. Therefore, optionally, after adjusting the current value for charging the battery based on the second temperature, the second temperature of the battery during the process of charging the battery with the adjusted current value can be re-obtained, and the current value for charging the battery can be adjusted based on the second temperature so that the battery temperature does not exceed the temperature threshold. In an exemplary embodiment, the second temperature of the battery can be obtained at intervals of a specified duration, for example, 1 minute, and then the current value for charging the battery can be adjusted based on the second temperature. Therefore, the current value for charging the battery can also be the adjusted current value. The specific adjustment method is similar to that described above and will not be repeated here.

[0059] It should be noted that the above-mentioned method of setting values ​​and weights is only for illustrating the embodiments of the present application and does not constitute a limitation to the present application. It can be flexibly set according to actual needs.

[0060] The charging control method, device, electronic device, readable storage medium and product provided by the present application detect whether the temperature of the battery is greater than a temperature threshold value during the process of the charging module charging the battery with a first current value. If so, the charging module is controlled to charge the battery with a second current value, wherein the second current value is less than the first current value. During the process of the charging module charging the battery with the second current value, the current value for charging the battery is adjusted based on the second temperature so that the temperature of the battery is not higher than the temperature threshold value. When charging a battery, the embodiment provided by the present application can first charge the battery based on a larger first current value to increase the charging speed of the battery, and then charge the battery based on the second current value, thereby ensuring that the temperature of the battery is not higher than the temperature threshold value, thereby avoiding the electronic device temperature being too high and affecting the user experience.

[0061] See also Figure 4 , Figure 4 A charging control method provided in an embodiment of the present application is shown. This method can be applied to the main control module 110 in the electronic device 100 in the aforementioned embodiment. The electronic device also includes a charging module 120 and a battery 130, wherein the charging module 120 is connected to the battery 130 and the main control module 110, respectively. Specifically, the method includes steps S210 and S260.

[0062] Step S210: During the process of the charging module charging the battery with a first current value, detecting the temperature of the battery as a first temperature.

[0063] Wherein, step S210 has been described in detail in the above embodiment and will not be repeated here.

[0064] Step S220: If the first temperature is greater than or equal to a temperature threshold, the internal resistance of the battery at the first temperature and the heat dissipation power of the battery are obtained.

[0065] Step S230: determining a second current value according to the internal resistance and the heat dissipation power.

[0066] Step S240: Control the charging module to charge the battery with the second current value.

[0067] For some embodiments, as known from the aforementioned examples, battery temperature is related to battery internal resistance. Furthermore, because the battery can undergo thermal convection with the environment, i.e., heat can be transferred through the ambient air, transferring heat from the battery to the air, thereby lowering the battery temperature. Specifically, the degree of battery temperature drop per unit time can be measured by the battery's heat dissipation power. That is, the higher the heat dissipation power, the greater the degree of battery temperature drop per unit time; the lower the heat dissipation power, the lower the degree of battery temperature drop per unit time. Therefore, it is not difficult to see that when the heat dissipation power is high, charging batteries with the same internal resistance using the same current value can result in a lower battery temperature; whereas, when the heat dissipation power is low, charging batteries with the same internal resistance using the same current value can result in a higher battery temperature. Therefore, further, the internal resistance of the battery at the first temperature and the heat dissipation power of the battery can be obtained, and the second current value can be determined based on the internal resistance and heat dissipation power. Among them, because the first current value is larger, the battery temperature will rise faster through the first current value, and the second current value is to make the battery temperature within the temperature threshold. Therefore, it is not difficult to know that the second current value should be smaller than the first current value.

[0068] Because the first current value is relatively large, if charging is continued at the first current value when the battery temperature is already greater than or equal to the temperature threshold, and then the first current value is gradually reduced to bring the battery temperature equal to the temperature threshold, the battery temperature may first exceed the temperature threshold and then slowly return to the temperature threshold, thereby reducing the temperature rise experience during charging. The second current value, determined by the battery's internal resistance at the first temperature and the battery's heat dissipation power, can ensure that the battery temperature during charging at this second current value does not deviate significantly from the threshold current, that is, it can be maintained near the temperature threshold, thereby improving the temperature rise experience during charging.

[0069] Specifically, since the first temperature is greater than or equal to the temperature threshold, the second current value can be determined so that the rate at which the battery generates heat is equivalent to the heat dissipation power during the charging process of the battery by the charging module using the second current value. For example, if the heat dissipation power is P, the second current value is I, and the battery internal resistance is R, then the formula P=I 2 R, the corresponding second current value at this time can be obtained, that is, the square root of the ratio of the heat dissipation power to the internal resistance can be used as the second current value.

[0070] In other embodiments, based on the above-described method for obtaining the second current value, multiple second current values ​​corresponding to multiple temperature thresholds can be obtained multiple times, and then the second current value corresponding to each temperature threshold can be determined based on algorithmic analysis. In one exemplary embodiment, the algorithm can be an algorithm based on an artificial intelligence algorithm. The algorithm can remove the second current values ​​with large errors from the multiple second current values ​​corresponding to the temperature threshold, and then determine a more accurate second current value based on the remaining second current values. For example, multiple second current values ​​corresponding to a temperature threshold of 40°C can be obtained multiple times, including 10A, 10.5A, 5A, and 10.3A. Based on the artificial intelligence algorithm, it can be determined that 5A is significantly lower than the remaining second current values. Therefore, 5A is removed, and a more accurate second current value is determined based on the remaining 10A, 10.5A, and 10.3A. For example, the arithmetic average of 10A, 10.5A, and 10.3A can be used as the more accurate second current value; or the minimum of 10A, 10.5A, and 10.3A can be used as the second current value.

[0071] Furthermore, each temperature threshold and the second current value corresponding to the temperature threshold can be stored. When the second current value needs to be determined, the temperature threshold closest to the first temperature can be determined based on the pre-stored multiple temperature thresholds and the second current values ​​corresponding to the temperature thresholds, and then the corresponding second current value is determined based on the closest temperature threshold. In an exemplary embodiment, the pre-acquired multiple temperature thresholds and the second current values ​​corresponding to the temperature thresholds can be stored in a storage unit of an electronic device in the form of a comparison table, such as in a flash memory of the electronic device. When the second current value needs to be determined, the comparison table is directly obtained from the storage unit of the electronic device. In this way, there is no need to perform calculations through the electronic device, and the second current value can be directly and simply obtained, thereby improving the efficiency of obtaining the second current value.

[0072] Specifically, in some embodiments, when the first temperature is greater than or equal to a temperature threshold, the battery temperature Ta at time ta can be obtained. At this time, charging the battery is stopped. After a certain time interval, the battery temperature Tb is obtained at time tb. At this time, the battery heat dissipation power P can be calculated according to the formula P = Cm(Tb-Ta) / (tb-ta). Where C is the battery's gravimetric specific heat capacity, and m is the battery's weight.

[0073] Since the heat dissipation power of the battery describes the heat dissipation capacity of the battery, and the current battery temperature has little effect on the heat dissipation power of the battery. Therefore, for other embodiments, the heat dissipation power of the battery can be obtained in advance, the obtained heat dissipation power can be stored, and the heat dissipation power can be directly obtained when needed. In an exemplary manner, the heat dissipation power obtained in advance can be stored in a storage unit of an electronic device, such as a flash memory of an electronic device, and when needed, the heat dissipation power can be directly obtained from the storage unit of the electronic device. Among them, the method of pre-acquiring the heat dissipation power of the battery can be similar to the above method, and will not be repeated here.

[0074] It's easy to understand that a battery's heat dissipation power is related to the ambient temperature. Specifically, the lower the ambient temperature, the greater the temperature drop for the same battery within the same time interval. Therefore, in some other embodiments, multiple heat dissipation powers corresponding to various ambient temperatures can be pre-acquired and stored. When needed, the current ambient temperature can be first acquired, and then, based on the current ambient temperature, the heat dissipation power corresponding to the current ambient temperature can be acquired. The storage method is similar to that described in the previous embodiment and will not be repeated here. In one exemplary embodiment, heat dissipation power P1 corresponding to an ambient temperature of 5°C, heat dissipation power P2 corresponding to an ambient temperature of 15°C, heat dissipation power P3 corresponding to an ambient temperature of 25°C, and heat dissipation power P4 corresponding to an ambient temperature of 35°C can be acquired. Each heat dissipation power and the ambient temperature corresponding to the heat dissipation power are stored. When determining the second current value based on the internal resistance and heat dissipation power, the current ambient temperature of the battery can be first acquired, and then the corresponding heat dissipation power can be determined based on the current ambient temperature. Specifically, the ambient temperature closest to the current ambient temperature can be determined from multiple pre-stored ambient temperatures, and then the heat dissipation power corresponding to the closest ambient temperature can be determined. The specific method for determining the heat dissipation power corresponding to different ambient temperatures is similar to the above method and will not be described in detail here.

[0075] Optionally, the internal resistance of the battery can be obtained according to the charging voltage value of the charging module, the open circuit voltage of the battery and the first current value. For a specific determination method, please refer to Figure 5 ,in Figure 5 A specific implementation of step S220 is shown. Figure 5 It includes step S221 and step S222.

[0076] Step S221: If the first temperature is greater than or equal to a temperature threshold, obtain a charging voltage value of the charging module and a current open circuit voltage of the battery, where the current open circuit voltage is determined based on a current state of charge of the battery.

[0077] Step S222: Acquire the internal resistance of the battery based on the charging voltage value of the charging module, the current open circuit voltage of the battery, and the first current value.

[0078] For some embodiments, it can be known from Ohm's law that the internal resistance of the battery can be determined by the ratio of the current voltage value and the current value acting on the internal resistance of the battery. Therefore, in order to obtain the internal resistance of the battery, the voltage value and the current value acting on the internal resistance of the battery can be obtained first. Among them, the voltage value of the internal resistance of the battery can be the difference between the charging voltage value output by the current charging module and the current open circuit voltage of the battery, and the current open circuit voltage of the battery is the potential difference between the positive and negative poles of the battery. As an exemplary embodiment, the open circuit voltage of the lithium battery can be about 4.1-4.2V when the power is relatively full, and the open circuit voltage can be about 3.0V when the power is relatively low. When the first temperature is greater than or equal to the temperature threshold, the current value acting on the internal resistance of the battery is the current value of charging the battery through the charging module, that is, the first current value.

[0079] After obtaining the charging voltage value of the charging module, the current open circuit voltage of the battery, and the first current value, the internal resistance of the battery can be determined. Figure 6 , Figure 6 An embodiment of step S221 and step S222 is shown, wherein Figure 6 Steps S223 to S225 are an implementation of step S221; steps S226 and S227 are an implementation of step S222.

[0080] Step S223: If the first temperature is greater than or equal to the temperature threshold, obtain the charging voltage value of the charging module.

[0081] Step S224: Obtain the current state of charge of the battery.

[0082] Step S225 : determining the current open circuit voltage of the battery corresponding to the current state of charge of the battery based on a predetermined relationship between the state of charge of the battery and the open circuit voltage of the battery.

[0083] In some embodiments, when the first temperature is greater than or equal to the temperature threshold, the charging voltage value of the charging module can be obtained. The charging voltage value is the voltage value output by the charging module and applied to the battery. In an exemplary embodiment, the charging module can report the output charging voltage value to the main control module, so that the main control module can know the current charging voltage value of the charging module. In another exemplary embodiment, the charging voltage value of the charging module can be obtained by setting a sampling module and obtaining the parameter value of the sampling module. For example, the sampling module can be a sampling resistor, and the parameter value can be a sampled voltage value. The charging voltage value of the charging module can be calculated by obtaining the sampled voltage value of the sampling resistor.

[0084] Furthermore, since the open circuit voltage of a battery is related to its state of charge, generally, the greater the state of charge of a battery, the greater its open circuit voltage; and the smaller the state of charge of a battery, the smaller its open circuit voltage. Therefore, to obtain the current open circuit voltage of a battery, the current state of charge of the battery can be first obtained, and then, based on a predetermined relationship between the state of charge of the battery and the open circuit voltage of the battery, the current open circuit voltage of the battery corresponding to the current state of charge of the battery can be determined.

[0085] In an exemplary embodiment, the main control module can directly obtain the current state of charge of the battery. For example, the main control module sends a request to the battery to obtain the current state of charge, and the battery sends the current state of charge to the main control module based on the request to obtain the current state of charge. Then, based on the obtained current state of charge, the current open circuit voltage of the battery is determined. For some embodiments, if the predetermined relationship between the state of charge of the battery and the open circuit voltage of the battery includes a coordinate relationship between the state of charge and the open circuit voltage of the battery, the obtained current state of charge can be substituted into the coordinate relationship to determine the current open circuit voltage. For other embodiments, if the predetermined relationship between the state of charge of the battery and the open circuit voltage of the battery includes a functional relationship between the state of charge and the open circuit voltage of the battery, the obtained current state of charge can be substituted into the functional relationship to determine the current open circuit voltage.

[0086] See also Figure 7 , Figure 7 A diagram showing an embodiment of determining the relationship between the state of charge of the battery and the open circuit voltage of the battery is shown. Specifically, Figure 7 Includes steps S2251 to S2253.

[0087] Step S2251: Determine the depth of discharge of the battery corresponding to each remaining capacity based on the remaining capacity of the battery and the maximum capacity of the battery.

[0088] Step S2252: obtaining the state of charge corresponding to each discharge depth based on each discharge depth.

[0089] Step S2253: Determine the relationship between the state of charge of the battery and the open circuit voltage of the battery based on the predetermined relationship between the remaining capacity of the battery and the open circuit voltage of the battery.

[0090] In some embodiments, since the battery's state of charge (SOC) is used to indicate the battery's remaining capacity, the SOC and the battery's remaining capacity are interrelated. The remaining capacity of a battery can be the total capacity of a fully charged battery, which is then partially consumed after a certain period of use. The unit of the remaining capacity can be milliampere-hours (mAh).

[0091] Furthermore, the battery's depth of discharge can also be determined by the remaining capacity of the battery. Therefore, the relationship between the open circuit voltage and the depth of discharge can be used as an intermediate variable relationship to determine the relationship between the open circuit voltage and the battery's state of charge through the relationship between the open circuit voltage and the battery's remaining capacity. The battery's depth of discharge can be used to characterize the percentage of the battery's used capacity to the battery's maximum capacity. The battery's used capacity can be the portion of the capacity consumed by the battery during operation. For example, a battery has a total capacity of 5000mAh after being fully charged. After a certain period of use, the remaining capacity is 4000mAh. At this time, the used capacity is the difference between the total capacity and the remaining capacity, which is 1000mAh. As an exemplary example, the maximum capacity of the battery can be the battery's design capacity, or it can be the total capacity calculated when the battery is fully charged, which is not limited here.

[0092] The open circuit voltage of the battery corresponding to the remaining capacity of the battery can be determined first. Specifically, the battery can have multiple remaining capacities, and the open circuit voltage corresponding to each remaining capacity can be obtained. In an exemplary manner, the fully charged battery can be discharged with a smaller current value, and then the current remaining capacity and open circuit voltage can be obtained at regular time intervals, so that multiple sets of remaining capacities and corresponding open circuit voltages can be obtained. For example, the total capacity of the battery after being fully charged is 5000mAh. When the fully charged battery starts to be discharged, the current remaining capacity can be obtained as 5000mAh and the open circuit voltage can be obtained as 4.4V; then, the current remaining capacity and open circuit voltage are obtained once every time interval t until the remaining capacity is 0mAh and the open circuit voltage is 3.0V. Then, based on the multiple sets of remaining capacities and open circuit voltages obtained above, the relationship between the remaining capacity of the battery and the open circuit voltage of the battery can be obtained. In an exemplary manner, multiple sets of remaining capacities and open circuit voltages can be fitted to generate coordinate curves of the remaining capacity and open circuit voltage, wherein the fitting methods can include least squares curve fitting, polynomial curve fitting, and custom function fitting, etc. For details, please refer to Figure 8 , Figure 8 A coordinate graph showing the remaining capacity and open circuit voltage is shown. The horizontal axis represents the remaining capacity in mAh, and the vertical axis represents the open circuit voltage of the battery in V. It can be seen that the open circuit voltage of the battery gradually decreases as the remaining capacity decreases.

[0093] Furthermore, based on the multiple remaining capacities obtained above, the depth of discharge corresponding to each remaining capacity can also be determined. Specifically, the corresponding used capacity can be first obtained based on each remaining capacity, and then the depth of discharge of the battery can be obtained based on the used capacity, i.e., the depth of discharge of the battery corresponding to each remaining capacity. Specifically, the ratio of the used capacity to the maximum capacity of the battery can be used as the depth of discharge corresponding to the used capacity. For example, when the maximum capacity of the battery is the total capacity calculated when the battery is fully charged, based on the example of the total capacity of the fully charged battery being 5000mAh, the used capacity of the battery when fully charged is 0mAh, and the current depth of discharge of the battery is 0 / 5000 = 0%; when the remaining capacity is 0mAh, the used capacity is 5000mAh, and the current depth of discharge of the battery is 5000 / 5000 = 100%. Furthermore, after obtaining the depth of discharge of the battery corresponding to each remaining capacity, based on the relationship between the remaining capacity and the open-circuit voltage determined above, the relationship between the depth of discharge and the open-circuit voltage can be obtained. Specifically, the open circuit voltage and the discharge depth can be fitted to obtain a relationship curve between the open circuit voltage and the discharge depth. The specific fitting method can refer to the above-mentioned method for fitting the remaining capacity and the open circuit voltage, which will not be described here. Figure 9 , Figure 9 A coordinate graph showing the depth of discharge and open circuit voltage fitting is shown. The horizontal axis represents the depth of discharge in %, and the vertical axis represents the open circuit voltage of the battery in V. It can be seen that the open circuit voltage of the battery gradually decreases with increasing depth of discharge.

[0094] Therefore, based on the predetermined relationship between the remaining capacity of the battery and the open circuit voltage of the battery, determining the relationship between the state of charge of the battery and the open circuit voltage of the battery can include first determining the relationship between the discharge depth of the battery and the open circuit voltage of the battery through the relationship between the remaining capacity of the battery and the open circuit voltage of the battery; and then determining the relationship between the state of charge of the battery and the open circuit voltage of the battery based on the relationship between the discharge depth of the battery and the open circuit voltage of the battery. Therefore, it is necessary to obtain the relationship between the state of charge and the depth of discharge. Among them, the state of charge can be used to characterize the ratio of the remaining capacity of the battery to the total capacity of the battery, and the depth of discharge can be used to characterize the ratio of the used capacity of the battery to the total capacity of the battery, and the sum of the remaining capacity and the used capacity of the battery is the total capacity of the battery. Therefore, it is easy to know that the sum of the state of charge and the depth of discharge of the battery is 1. Therefore, based on the relationship between the discharge depth of the battery and the open circuit voltage of the battery, the relationship between the state of charge of the battery and the open circuit voltage of the battery can be determined through the relationship that the sum of the state of charge and the depth of discharge is 1. For details, please refer to Figure 10 , Figure 10A graph showing the open circuit voltage of a battery and the battery state of charge is shown. The horizontal axis represents the state of charge (in %), and the vertical axis represents the open circuit voltage of the battery (in V). It can be seen that as the state of charge increases, the open circuit voltage of the battery gradually increases.

[0095] Furthermore, after obtaining the current state of charge of the battery, the current state of charge may be incorporated into the above relationship between the state of charge and the open circuit voltage of the battery, thereby obtaining the current open circuit voltage of the battery corresponding to the current state of charge.

[0096] Step S226: taking the difference between the charging voltage value of the charging module and the current open circuit voltage of the battery as the voltage difference.

[0097] Step S227: taking the ratio of the voltage difference to the first current value as the current internal resistance of the battery.

[0098] In some embodiments, the method for obtaining the internal resistance of the battery based on the charging voltage value of the charging module, the current open-circuit voltage of the battery, and the first current value may include first obtaining the difference between the charging voltage value of the charging module and the current open-circuit voltage of the battery, and using the difference as the voltage difference value. For example, if the charging voltage value of the charging module is X and the current open-circuit voltage of the battery is Y, then XY can be used as the voltage difference value corresponding to the battery internal resistance.

[0099] Furthermore, when the current flowing through the battery's internal resistance is a first current value, Ohm's law for circuits indicates that the battery's internal resistance can be expressed as the ratio of the voltage difference to the first current value. For example, if the first current value is I, the battery's internal resistance can be expressed as (XY) / I.

[0100] Step S250: During the process of the charging module charging the battery with the second current value, detecting the temperature of the battery as the second temperature.

[0101] Step S260: adjusting a current value for charging the battery based on the second temperature so that the temperature of the battery does not exceed the temperature threshold.

[0102] Among them, step S250 and step S260 have been described in detail in the above embodiment and will not be repeated here.

[0103] The charging control method, device, electronic device, readable storage medium, and product provided by the present application detect whether the temperature of the battery is greater than a temperature threshold value during the process in which the charging module charges the battery at a first current value. If so, the charging module is controlled to charge the battery at a second current value, wherein the second current value is determined by the internal resistance and the heat dissipation power, and the current value for charging the battery is adjusted based on the second temperature during the process in which the charging module charges the battery at the second current value, so that the temperature of the battery does not exceed the temperature threshold value. In the embodiment of the present application, the second current value is determined by the internal resistance and the heat dissipation power, so that when the battery is charged at the second current value, the temperature of the battery will not deviate significantly from the temperature threshold value, thereby preventing the temperature of the electronic device from being too high and affecting the user experience.

[0104] See also Figure 11 , Figure 11 A charging control method provided in an embodiment of the present application is shown. This method can be applied to the main control module 110 in the electronic device 100 in the aforementioned embodiment. The electronic device also includes a charging module 120 and a battery 130, wherein the charging module 120 is connected to the battery 130 and the main control module 110, respectively. Specifically, the method includes steps S310 and S370.

[0105] Step S310: obtaining a preset target negative electrode potential value of the battery.

[0106] Step S320: determining a target current value corresponding to the target negative electrode potential value based on a pre-acquired negative electrode potential charging current comparison table.

[0107] Step S330: using the target current value as the first current value.

[0108] In some embodiments, when a battery is initially charged, the battery temperature is generally low. Therefore, the battery can be charged at a higher first current value to increase the overall charging speed. However, excessively high charging current values ​​may damage the battery, for example, causing lithium deposition.

[0109] Furthermore, it can be seen from the aforementioned embodiments that the charging current value is related to the negative electrode potential value of the battery, and therefore the first current value can be determined based on the negative electrode potential of the battery. Specifically, a pre-set target negative electrode potential value of the battery can be obtained, and the target negative electrode potential value is the negative potential value of the battery when charged by the first current. Among them, it is easy to know that the smaller the negative electrode potential value, that is, the smaller the negative electrode potential value of the battery when charged by the first current, that is, the larger the first current value, the faster the charging speed can be obtained, but the greater the impact on the battery life.

[0110] In one exemplary embodiment, the target negative electrode potential value during charging can be pre-set, for example, the target negative electrode potential value is set to 10mV; in another exemplary embodiment, the user can select the target negative electrode potential value through an application running on the electronic device during charging, for example, the target negative electrode potential value can be selected to be 0mV, or -5mV, etc.

[0111] Furthermore, after obtaining the target negative electrode potential value, the target current value corresponding to the target negative electrode potential value can be determined based on the pre-acquired negative electrode potential charging current comparison table. The negative electrode potential charging current comparison table may include multiple negative electrode potential values ​​and the charging current value corresponding to each negative electrode potential value. Specifically, the negative electrode potential value of the battery can be measured in advance when the battery is charged with different charging current values, and each group of negative electrode potential values ​​and the corresponding charging current value can be sorted into a negative electrode potential charging current comparison table. In an exemplary manner, the negative electrode potential charging current comparison table may include a negative electrode potential value of 10mV corresponding to a charging current of 5A; a negative electrode potential value of 5mV corresponding to a charging current of 5.5A; a negative electrode potential value of 0mV corresponding to a charging current of 6A; a negative electrode potential value of -5mV corresponding to a charging current of 6.5A; and a negative electrode potential of -10mV corresponding to a charging current of 7A. Among them, based on the pre-acquired negative electrode potential charging current comparison table, the method for determining the target current value corresponding to the target negative electrode potential value can be to find the negative electrode potential value closest to the target negative electrode potential value from the negative electrode potential charging current comparison table, and use the charging current corresponding to the negative electrode potential value as the target current value. It should be noted that the negative electrode potential charging current comparison table shown above is only an example and does not limit the embodiments of the present application.

[0112] Furthermore, in some embodiments, the target current value can be used as the first current value. In other embodiments, the target current value can be reduced by the specified current value to use as the first current value to improve the battery life and stability during charging. For example, if the target current value is 5A and the specified current value is 100mA, 5-0.1=4.9A can be used as the first current value.

[0113] Step S340: During the process of the charging module charging the battery with a first current value, detecting the temperature of the battery as a first temperature.

[0114] In some embodiments, after the first current value is determined through the above steps, the battery may be charged with the first current value through a charging module.

[0115] Optionally, during the process of charging the battery at the first current value, the current negative electrode potential value of the battery can be detected. If the current negative electrode potential value deviates from the set target negative electrode potential value, the first current value can be adjusted to reduce the deviation. Specifically, if the current negative electrode potential value is less than the set target negative electrode potential value, the first current value can be reduced, and the battery can be charged with the reduced first current value, thereby improving the battery life and stability; if the current negative electrode potential value is greater than the set target negative electrode potential value, the first current value can be increased, and the battery can be charged with the increased first current value, thereby improving the battery charging speed; if the current negative electrode potential value is equal to the set target negative electrode potential value, the first current value can be left unchanged.

[0116] In one exemplary embodiment, the value by which the first current value is increased or decreased can be a constant value, such as a value n. In one exemplary embodiment, if n is 50 mA, then when it is detected that the current negative electrode potential value is less than a set target negative electrode potential value, the first current value can be decreased by 50 mA; and when the current negative electrode potential value is greater than the set target negative electrode potential value, the first current value can be increased by 50 mA.

[0117] In another exemplary embodiment, the value of the increase or decrease of the first current can also be determined based on the deviation between the current negative electrode potential value and the set target negative electrode potential value. For example, the value can be the sum of the deviation value and the value of the fixed value n. For example, if n is 50mA, and the difference between the current negative electrode potential value and the set target negative electrode potential value is -5mV, then the sum of the values ​​of 50mA and -5mV can be calculated, and 45mA can be used as the first current value after the decrease; if the difference between the current negative electrode potential value and the set target negative electrode potential value is 5mV, then the sum of the values ​​of 50mA and 5mV can be calculated, and 55mA can be used as the first current value after the increase. In this way, when the deviation between the current negative electrode potential value and the set target negative electrode potential value is greater, the first current value is adjusted by a larger variable, so that the deviation between the current negative electrode potential value and the set target negative electrode potential value is reduced as soon as possible.

[0118] See also Figure 12 , Figure 12 A coordinate diagram of the negative electrode potential value and the charging time is shown, wherein the horizontal axis is the charging time in min, and the vertical axis is the negative electrode potential value in mV. It can be seen that at the beginning of charging, the negative electrode potential value is large, and as the charging time increases, the negative electrode potential value drops sharply, and then the negative electrode potential value is maintained near the target negative electrode potential value by adjusting the first current value. Until reaching Figure 12 At point A, the battery is charged by the second current value. At this time, the positive electrode potential of the battery rises and the negative electrode potential also shows an upward trend.

[0119] For some embodiments, the current negative electrode potential value can be obtained by setting a reference electrode. The reference electrode can be regarded as a reference electrode with a known potential value, and the potential value of the electrode to be measured can be determined by obtaining the potential difference between the electrode to be measured and the reference electrode. For example, the electrode to be measured can be the current negative electrode potential value. If the potential value of the reference electrode is 0mV, and the potential difference between the current negative electrode potential value and the reference electrode is 5mV, it can be determined that the current negative electrode potential value is 5mV-0mV=5mV.

[0120] Optionally, during the process of charging the battery, it is also possible to detect whether the battery is lithium-deposited. If the battery is lithium-deposited, it indicates that the negative electrode potential of the battery is already low, and the battery may be damaged. At this time, charging of the battery can be stopped. Wherein, lithium deposition refers to the precipitation of lithium metal when the negative electrode potential value of the battery is reduced to a specified value. The specified value can be a smaller value. In an exemplary manner, whether lithium deposition is performed can be determined by obtaining the change in capacity charged at a unit voltage. For example, if the unit voltage is V and the capacity is Q, it can be determined whether dQ / dV decreases. If a decrease occurs, lithium deposition may occur. In another exemplary manner, the difference between the solid phase potential and the liquid phase potential of the negative electrode surface of the battery can be used as the boundary condition for the lithium deposition reaction by pre-establishing a battery model. That is, when the negative electrode potential value reaches the boundary condition, lithium deposition may occur. It should be noted that the above method for determining whether a battery is lithium-deposited is only for illustration and does not constitute a limitation on the embodiments of the present application. It can be flexibly set as needed.

[0121] Step S350: If the first temperature is greater than or equal to a temperature threshold, control the charging module to charge the battery with a second current value, wherein the second current value is smaller than the first current value.

[0122] Step S360: During the process of the charging module charging the battery with the second current value, detecting the temperature of the battery as the second temperature.

[0123] Step S370: adjusting a current value for charging the battery based on the second temperature so that the temperature of the battery is not higher than the temperature threshold.

[0124] As an example, if the capacity of the battery when fully charged is 5000mAh, the weight m of the battery is 60g, and the target negative electrode potential value is set to φ = -5mV, then the first current value can be determined based on φ, and the battery can be charged by the first current value. If the temperature threshold is set to 40°C, then when the first temperature is detected to be greater than or equal to 40°C during the process of charging the battery with the first current value, the current state of charge can be obtained as 30%, and the current internal resistance can be obtained as 50mΩ. If the ambient temperature is 25°C at this time, the specific heat capacity of the battery is 1J / g·△t, and the battery temperature drops by 0.3°C after stopping charging for 10s, the current heat dissipation power can be calculated to be 1J / g·△t*60g*0.3°C / 10s=1.8W, then the second current value required to maintain 40°C at this time is I=(1.8 / 0.05) 1 / 2=6A.

[0125] The charging control method, device, electronic device, readable storage medium and product provided in the present application can determine a first current value based on a target negative electrode potential value, so that the charging module charges the battery through the first current value, and can keep the current negative electrode potential value near the target negative electrode potential value when the battery is charged with the first current value, thereby improving the life and stability of the battery and ensuring safety during charging.

[0126] Please continue reading Figure 1 , which shows a main control module 110 provided in an embodiment of the present application. The main control module 110 is applied to an electronic device 100. The electronic device 100 also includes a charging module 120 and a battery 130. The charging module 120 is connected to the battery 130 and the main control module 110, respectively. Optionally, the main control module 110 can be implemented in at least one hardware form selected from the group consisting of a microcontroller unit (MCU), a digital signal processor (DSP), a field programmable gate array (FPGA), and a programmable logic array (PLA).

[0127] The main control module 110 is used to detect the temperature of the battery as a first temperature when the charging module is charging the battery with a first current value; if the first temperature is greater than or equal to a temperature threshold, control the charging module to charge the battery with a second current value, wherein the second current value is less than the first current value; detect the temperature of the battery as a second temperature when the charging module is charging the battery with the second current value; and adjust the current value for charging the battery based on the second temperature so that the temperature of the battery is not higher than the temperature threshold.

[0128] Furthermore, the main control module 110 is also used to obtain the internal resistance of the battery at the first temperature and the heat dissipation power of the battery if the first temperature is greater than or equal to the temperature threshold; determine the second current value based on the internal resistance and the heat dissipation power; and control the charging module to charge the battery with the second current value.

[0129] Furthermore, the main control module 110 is further configured to use the square root of the ratio of the heat dissipation power to the internal resistance as the second current value.

[0130] Furthermore, the main control module 110 is also used to obtain the charging voltage value of the charging module and the current open circuit voltage of the battery if the first temperature is greater than or equal to the temperature threshold, and the current open circuit voltage is determined based on the current state of charge of the battery; and obtain the internal resistance of the battery based on the charging voltage value of the charging module, the current open circuit voltage of the battery and the first current value.

[0131] Furthermore, the main control module 110 is further configured to use the difference between the charging voltage of the charging module and the current open circuit voltage of the battery as the voltage difference; and use the ratio of the voltage difference to the first current value as the current internal resistance of the battery.

[0132] Furthermore, the main control module 110 is also used to obtain the charging voltage value of the charging module if the first temperature is greater than or equal to the temperature threshold; obtain the current state of charge of the battery; and determine the current open circuit voltage of the battery corresponding to the current state of charge of the battery based on a predetermined relationship between the state of charge of the battery and the open circuit voltage of the battery.

[0133] Furthermore, the main control module 110 is also used to determine the discharge depth of the battery corresponding to each remaining capacity based on the remaining capacity of the battery and the maximum capacity of the battery; obtain the state of charge corresponding to each discharge depth based on each discharge depth; and determine the relationship between the state of charge of the battery and the open circuit voltage of the battery based on a predetermined relationship between the remaining capacity of the battery and the open circuit voltage of the battery.

[0134] Furthermore, the main control module 110 is also used to obtain a preset target negative electrode potential value of the battery; determine a target current value corresponding to the target negative electrode potential value based on the pre-acquired negative electrode potential charging current comparison table; and use the target current value as the first current value.

[0135] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working process of the main control module 110 described above can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0136] Please refer to Figure 13 , which shows a block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 1300 stores program code, which can be called by a processor to execute the method described in the above method embodiment.

[0137] Computer-readable storage medium 1300 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Alternatively, computer-readable storage medium 1300 may include a non-transitory computer-readable storage medium. Computer-readable storage medium 1300 may have storage space for program code 1310 for executing any of the method steps described above. This program code may be read from or written to one or more computer program products. Program code 1310 may be compressed, for example, in a suitable form.

[0138] Please refer to Figure 14 , which shows a structural block diagram of a computer program product 1400 provided in an embodiment of the present application. The computer program product 1400 includes a computer program / instruction 1410, which implements the steps of the above method when executed by a processor.

[0139] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A charging control method, characterized in that: A main control module is applied to an electronic device, wherein the electronic device further comprises a charging module and a battery, wherein the charging module is connected to the battery and the main control module respectively, and the method comprises: During the process of charging the battery by the charging module at a first current value, detecting a temperature of the battery as a first temperature; If the first temperature is greater than or equal to a temperature threshold, obtaining an internal resistance of the battery at the first temperature; Obtaining the current ambient temperature of the battery, and determining the ambient temperature closest to the current ambient temperature from a plurality of pre-stored ambient temperatures, and determining the heat dissipation power corresponding to the closest ambient temperature; determining a second current value according to the internal resistance and the heat dissipation power, wherein the second current value is smaller than the first current value; Control the charging module to charge the battery with the second current value; During the process of charging the battery by the charging module at the second current value, detecting a temperature of the battery as a second temperature; A current value for charging the battery is adjusted based on the second temperature so that the temperature of the battery does not exceed the temperature threshold.

2. The method according to claim 1, characterized in that The determining the second current value according to the internal resistance and the heat dissipation power includes: The square root of the ratio of the heat dissipation power to the internal resistance is used as the second current value.

3. The method according to claim 1, characterized in that If the first temperature is greater than or equal to a temperature threshold, obtaining the internal resistance of the battery at the first temperature includes: If the first temperature is greater than or equal to a temperature threshold, obtaining a charging voltage value of the charging module and a current open circuit voltage of the battery, where the current open circuit voltage is determined based on a current state of charge of the battery; The internal resistance of the battery is acquired based on the charging voltage value of the charging module, the current open circuit voltage of the battery, and the first current value.

4. The method according to claim 3, characterized in that The acquiring the internal resistance of the battery based on the charging voltage value of the charging module, the open circuit voltage of the battery, and the first current value includes: taking the difference between the charging voltage value of the charging module and the current open circuit voltage of the battery as the voltage difference; The ratio of the voltage difference to the first current value is used as the current internal resistance of the battery.

5. The method according to claim 3, characterized in that If the first temperature is greater than or equal to a temperature threshold, obtaining a charging voltage value of the charging module and a current open circuit voltage of the battery includes: If the first temperature is greater than or equal to a temperature threshold, obtaining a charging voltage value of the charging module; Obtaining the current state of charge of the battery; Based on a predetermined relationship between the state of charge of the battery and the open circuit voltage of the battery, a current open circuit voltage of the battery corresponding to the current state of charge of the battery is determined.

6. The method according to claim 5, characterized in that Before determining the current open circuit voltage corresponding to the current state of charge based on the predetermined relationship between the state of charge and the open circuit voltage, the method further includes: determining a depth of discharge of the battery corresponding to each remaining capacity based on the remaining capacity of the battery and the maximum capacity of the battery; Acquire the state of charge corresponding to each of the depths of discharge based on each of the depths of discharge; Based on a predetermined relationship between the remaining capacity of the battery and the open circuit voltage of the battery, a relationship between the state of charge of the battery and the open circuit voltage of the battery is determined.

7. The method according to claim 1, characterized in that In the process of charging the battery with the first current value by the charging module, before detecting the temperature of the battery as the first temperature, the method further includes: Obtaining a preset target negative electrode potential value of the battery; Determining a target current value corresponding to the target negative electrode potential value based on a pre-acquired negative electrode potential charging current comparison table; The target current value is set as the first current value.

8. A main control module, characterized in that: Applied to electronic equipment, the electronic equipment further includes a charging module and a battery, the charging module is connected to the battery and the main control module respectively, and the main control module is used to execute the method according to any one of claims 1-7.

9. An electronic device, characterized in that: include: The main control module, charging module and battery according to claim 8, wherein the charging module is connected to the battery and the main control module respectively.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores program code, which can be called by a processor to execute the method according to any one of claims 1 to 7.

11. A computer program product, characterized in that The method comprises a computer program / instruction, which implements the method according to any one of claims 1 to 7 when executed by a processor.

Citation Information

Patent Citations

  • Charging method and device of lithium ion battery and terminal equipment

    CN110120559A

  • Method for quickly charging lithium ion battery based on prevention of lithium precipitation

    CN111082173A

  • Charging control method and device and storage medium

    CN112701741A

  • Capacity grading method and charging management method of lithium ion battery

    CN113131024A

  • Electric quantity prediction method and equipment

    CN113748438A