Charging control method and device, terminal equipment and storage medium

By obtaining the battery voltage and temperature of multiple batteries in the terminal device and adjusting the target equalization parameters, the problem of inconsistent charging speed of multiple batteries is solved, and the charging effect is improved and the pace is consistent.

CN120049542APending Publication Date: 2025-05-27GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311595110.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-24
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In terminal devices, the charging speeds of multiple batteries are inconsistent, resulting in the inability to reach the full charge voltage at the same time, and there are problems such as poor results and inconsistent charging pace.

Method used

By obtaining the battery voltage and temperature of each battery, adjusting the target equalization parameters of the battery during equalization processing, so that the difference between the voltage rise rates of each battery is less than the preset rate threshold, thereby accurately adjusting the charging speed of different batteries.

Benefits of technology

The difference between the voltage rise rate of multiple batteries during charging is realized that the difference between the voltage rise rate is less than the preset threshold value, which improves the charging effect and ensures the consistency of charging pace.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120049542A_ABST
    Figure CN120049542A_ABST
Patent Text Reader

Abstract

The invention discloses a charging control method and device, terminal equipment and a storage medium, and belongs to the technical field of charging. The method is applied to the terminal equipment, and comprises the following steps: in a charging process of the terminal equipment, obtaining respective battery voltages and battery temperatures of at least two batteries; and according to the respective battery voltages and battery temperatures of the at least two batteries, adjusting target equalization parameters of the at least two batteries during equalization processing, so that a difference value between respective voltage rising rates of the at least two batteries is smaller than a preset rate threshold. According to the invention, by referring to the battery voltage and the battery temperature of the at least two batteries, the target equalization parameters of the at least two batteries during equalization processing are adjusted in time, so that the difference value between the rising rates of the voltages of the at least two batteries is smaller than the preset rate threshold value; in the charging process, the charging speeds of different batteries are accurately adjusted, and the effect of charging multiple batteries is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of charging technologies, and particularly to a charging control method, apparatus, terminal device, and storage medium. Background Art

[0002] With the development of science and technology, various terminal devices have emerged in people's daily lives. When the battery power of a terminal device is insufficient, the terminal device needs to be charged.

[0003] Currently, the number of batteries set in a terminal device may be more than one. For example, in a foldable terminal device, one battery is arranged on the main board side of the terminal device, and another battery is arranged on the secondary board side. Different batteries are used as power supplies in different usage scenarios. As the terminal device is used, the power of these two batteries will also be consumed. When charging, these two batteries are usually charged simultaneously. In some terminal devices, for the design of these two batteries, the battery cells are connected in series. When charging, due to problems such as different battery remainders and different charging speeds of the two batteries, the terminal device cannot achieve the effect of simultaneously reaching the full charge voltage when charging the two batteries, resulting in poor charging effect and inconsistent charging paces when charging multiple batteries. Summary of the Invention

[0004] To solve the problems of related technologies, improve the charging effect when charging multiple batteries, and accurately adjust the charging speeds of different batteries, embodiments of this application provide a charging control method, apparatus, terminal device, and storage medium. The technical solutions are as follows:

[0005] In one aspect, this application provides a charging control method applied to a terminal device. The terminal device includes at least two batteries, and when the terminal device is charged, the at least two batteries are both charged. The method includes:

[0006] During the charging process of the terminal device, obtain the battery voltages and battery temperatures of the at least two batteries respectively;

[0007] According to the battery voltages and battery temperatures of the at least two batteries respectively, adjust the target equalization parameters when the at least two batteries are performing equalization processing, so that the difference between the rising rates of the voltages of the at least two batteries is less than a preset rate threshold.

[0008] In one aspect, this application provides a charging control apparatus applied to a terminal device. The terminal device includes at least two batteries, and when the terminal device is charged, the at least two batteries are both charged. The apparatus includes:

[0009] A first acquisition module, configured to acquire the battery voltages and battery temperatures of the at least two batteries respectively during the charging process of the terminal device;

[0010] A first adjustment module, configured to adjust the target balancing parameters of the at least two batteries during the balancing process according to the battery voltages and battery temperatures of the at least two batteries respectively, so that the difference between the voltage rising rates of the at least two batteries is less than a preset rate threshold.

[0011] On the other hand, the present application provides an electronic device, which includes a processor and a memory. A computer program is stored in the memory, and the computer program is executed by the processor to implement the charging control method as described in one aspect.

[0012] On the other hand, the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is executed by a processor to implement the charging control method as described in one aspect.

[0013] On the other hand, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, the computer is caused to execute the charging control method as described in the above one aspect.

[0014] On the other hand, an embodiment of the present application provides an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer is caused to execute the charging control method as described in the above one aspect.

[0015] The beneficial effects brought by the technical solution provided by the embodiment of the present application at least include:

[0016] The terminal device includes at least two batteries. When the terminal device is charging, all of the at least two batteries are charged. During the charging process of the terminal device, the battery voltages and battery temperatures of the at least two batteries are acquired respectively; according to the battery voltages and battery temperatures of the at least two batteries respectively, the target balancing parameters of the at least two batteries during the balancing process are adjusted, so that the difference between the voltage rising rates of the at least two batteries is less than a preset rate threshold. In the charging process of the present application, by acquiring the battery voltages and battery temperatures of the at least two batteries respectively, and by referring to the battery voltages and battery temperatures of the at least two batteries respectively, the target balancing parameters of the at least two batteries during the balancing process are adjusted in a timely manner, so that the difference between the voltage rising rates of the at least two batteries can be less than a preset rate threshold, and the charging speeds of different batteries can be accurately adjusted during the charging process, thereby improving the effect of charging multiple batteries. Description of the Drawings

[0017] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can also be obtained based on these drawings.

[0018] Figure 1 is a schematic structural diagram of an example of an electronic device provided by an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of the circuit structure inside a terminal device involved in an exemplary embodiment of the present application;

[0020] Figure 3 is a flowchart of a charging control method provided by an exemplary embodiment of the present application;

[0021] Figure 4 is a flowchart of a charging control method provided by an exemplary embodiment of the present application;

[0022] Figure 5 is a flowchart of a charging control method provided by an exemplary embodiment of the present application;

[0023] Figure 6 is a block diagram of the structure of a charging control device provided by an exemplary embodiment of the present application;

[0024] Figure 7 is a schematic structural diagram of another example of a charging control device provided by an embodiment of the present application. Detailed implementation manners

[0025] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0026] As used herein, "a plurality of" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0027] The solution provided by this application can be used in the real scenario where people use terminal devices for charging in their daily lives. For the convenience of understanding, the application scenarios involved in the embodiments of this application will be briefly introduced below.

[0028] With the development of science and technology, various terminal devices have emerged in people's daily lives. People can use terminal devices for work, entertainment, learning, etc. When the power of the terminal device is insufficient, the terminal device needs to be charged.

[0029] Under normal circumstances, it is sufficient to arrange one battery in the terminal device. However, with the changes in the form of terminal devices, it is more cost-effective for most manufacturers to arrange multiple batteries, and it has become increasingly common to have multiple batteries for power supply in terminal devices. For example, in a foldable terminal device, in the folded state, the terminal device can display some daily information such as time through a small screen, and in the opened state, it can display the corresponding interface content through a larger display screen.

[0030] In such a terminal device, the two parts of the foldable terminal device are usually divided into a main board and a secondary board. The manufacturer of the terminal device will arrange one battery on the main board side and another battery on the secondary board side, and use different batteries as the power supply in different usage scenarios.

[0031] Please refer to Figure 1 , which is a schematic structural diagram of an example of the terminal device provided by the embodiments of this application. As Figure 1 shown, the terminal device includes components such as a processor 110, a memory 120, a transceiver 130, a display unit 140, an input unit 150, a sensor 160, an audio circuit 170, and a battery module 180.

[0032] The processor 110 is the control center of the terminal device, connecting various parts of the entire terminal device through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 120, and calling the data stored in the memory 120, it executes various functions of the terminal device and processes data, thereby monitoring the terminal device as a whole. Optionally, the processor 410 may include one or more processing units; optionally, the processor 110 may integrate an application processor, and the application processor mainly processes operating systems, user interfaces, and application programs, etc. Of course, other processors may also be included, which will not be listed one by one here.

[0033] The memory 120 can be used to store software programs and modules. By running the software programs and modules stored in the memory 120, the processor 110 can execute various functional applications and data processing of the terminal device. The memory 120 may mainly include a program storage area and a data storage area. Among them, the program storage area can store operating devices, application programs required for at least one function (such as sound playback function, image playback function, etc.); the data storage area can store data created according to the use of the terminal device (such as audio data, phone book, etc.). In addition, the memory 120 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices.

[0034] The transceiver 130 can provide wireless communication solutions applied to the terminal device, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The transceiver 130 can be one or more devices integrating at least one communication processing module. For example, integrating the antenna with the baseband processor as the transceiver 130, or integrating the antenna and the modulation and demodulation processor as the transceiver 130, etc., which are not limited herein.

[0035] The display unit 140 can be used to display information input by the user or information provided to the user, as well as various menus of the terminal device. The display unit 140 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc., which are not limited herein.

[0036] The input unit 150 can be used to receive input numerical or character information, and generate key signal inputs related to the user settings and function controls of the terminal device. Specifically, the input unit 150 can collect operations on or near it, and drive the corresponding connection devices according to a preset program. In addition, the input unit 150 may include a touch panel, which can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel, the input unit 150 may also include other input devices. Specifically, the other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, power on / off keys, etc.), trackballs, joysticks, etc.

[0037] The terminal device may further include at least one sensor 160, such as a gyroscope sensor, a motion sensor, and other sensors. The motion sensor may include an acceleration sensor, which is used to detect the magnitude of acceleration in all directions. When stationary, it can detect the magnitude and direction of gravity, and can be used in applications for identifying the posture of the terminal device, such as horizontal / vertical screen switching, related games, magnetometer attitude calibration, etc.; As for other sensors such as a pressure gauge, a barometer, a hygrometer, a thermometer, and an infrared sensor that the terminal device may also be configured with, they will not be elaborated here.

[0038] The audio circuit 170 may include a speaker and a microphone, and can provide an audio interface between the user and the terminal device. The audio circuit 170 can transmit the electrical signal converted from the received audio data to the speaker, and the speaker converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 170 and then converted into audio data. After the audio data is output to the processor 110 for processing, it is sent through the video circuit to, for example, another terminal device, or the audio data is output to the memory 120 for further processing.

[0039] The terminal device further includes a battery module 180 for powering each component. Optionally, the battery module 180 can be logically connected to the processor 110 through a power management device, so as to implement functions such as management of charging, discharging, and power consumption management through the power management device.

[0040] Although not shown, the terminal device may further include a camera. Optionally, the position of the camera on the terminal device can be front-facing or rear-facing, and the embodiments of the present application do not limit this.

[0041] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0042] Optionally, the above terminal device may include, but is not limited to, wearable devices (such as smart bracelets, smart watches, smart glasses, etc.), mobile phones, tablet computers, laptop computers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, desktop computers, laptop portable computers, etc. The battery module of the above terminal device may support wired charging or wireless charging.

[0043] When there are two batteries in the terminal device and both batteries are charged after the charger is plugged in, then, as the terminal device is used, the power of these two batteries will also be consumed. In some terminal devices, in the design of these two batteries, the battery cells are connected in series. When charging, due to problems such as different capacities, battery remainders, and charging speeds of the two batteries, the terminal device cannot achieve the effect of full charge voltage when charging the two batteries simultaneously.

[0044] Taking the terminal device as a foldable mobile phone as an example, please refer to Figure 2 , which shows a schematic diagram of the circuit structure inside a terminal device according to an exemplary embodiment of the present application. As Figure 2 shown, it includes a main board 201, a through-axis 202, and a secondary board 203. Each electronic component in the terminal device is connected to each other in the manner as Figure 2 shown.

[0045] In Figure 2 , Battery 1 and Battery 2 are respectively arranged in the left and right halves of the mobile phone and are connected through a through-axis flexible printed circuit (Flexible line board, FPC). During normal charging, the current enters from the Universal Serial Bus (USB) port, passes through the Over Voltage Protection (OVP) switch and reaches the Power Management Integrated Circuit (PMIC). The PMIC is used to control normal charging (setting charging cut-off voltage, USB input current limit, charging current limit, etc.); then it passes through the Clock Pulse (CP) to charge the series-connected Battery 1 and Battery 2 in a 1:2 mode voltage doubling. When fast charging: the current enters from the USB port and then directly charges the series-connected Battery 1 and Battery 2 through the direct charging Metal Oxide Semiconductor (MOS).

[0046] In the above Figure 2 circuit, usually, the battery capacities of the set battery 1 and battery 2 are different (for example, the capacity of battery 1 is less than that of battery 2). When the batteries are in series, the charging current for battery 1 and the charging current for battery 2 are equal during charging. However, due to the small capacity of battery 1 and the small path impedance, the battery voltage of battery 1 rises quickly. During the fast charging process, it is necessary to control both batteries to reach the full charge voltage (such as 4.5V) at the same time before exiting the fast charging. This can ensure that both batteries are fully charged. However, since the voltage of battery 1 rises quickly, if not controlled, the voltage of battery 1 will rise quickly and the fast charging will be exited prematurely. At this time, the voltage of battery 2 has not reached the full charge voltage, and the charging time in the subsequent constant voltage (CV) stage will be very long. There are problems such as poor charging effect and inconsistent charging pace when charging multiple batteries.

[0047] In the related art, in order to keep the voltage rising speed of battery 1 and the voltage rising speed of battery 2 within a reasonable range during the above charging process, a battery equalization chip is introduced. This battery equalization chip can realize the current transfer function, that is, it can realize the current transfer function between battery 1 and battery 2, so as to arbitrarily control the relative battery voltage difference between battery 1 and battery 2 and enable them to reach the full charge voltage at the same time. However, this battery equalization solution only considers that the battery voltage difference needs to be maintained within a reasonable range (for example, polling the voltage difference between battery 1 and battery 2 every 1s. For example, if the voltage difference between battery 1 and battery 2 is within 5mv, no equalization is required; if not, the equalization chip needs to be enabled to transfer the current from the battery with higher voltage to the battery with lower voltage until it meets the requirement within 5mv). Currently, this solution still has certain defects. Due to the chemical characteristics of lithium batteries, as the battery temperature rises, the battery current needs to gradually decrease. For example, the specific limitations are as follows:

[0048] 37° ---> 5A

[0049] 38° ---> 4A

[0050] 39° ---> 3A

[0051] That is, if the battery temperature exceeds 37 degrees, the charging current of the battery needs to be limited to 5A. If the battery temperature exceeds 38°, the charging current of the battery needs to be limited to 4A, etc. Since it is series fast charging and direct charging of the battery, the battery charging current limit will directly act on ibus (the current output by the adapter). Since the charging current of the battery is proportional to the temperature rise of the battery, the higher the battery current, the higher the temperature rise of the battery. If the temperature of a certain battery A with a higher temperature threshold among the two batteries is already close to a certain critical threshold at this time, and the voltage of this battery A is much lower than the voltage of the other battery B (exceeding the 5mv voltage difference threshold), according to the previous situation where battery balancing only considered the voltage difference, then it is necessary to transfer the current of battery B to battery A, resulting in a larger charging current of battery A compared to before the transfer. Then, it will cause the temperature rise of battery A to increase and exceed the critical threshold, and then the current will decrease. The decrease in the output current of the adapter will slow down the charging speed of the mobile phone.

[0052] Therefore, the above solution is not comprehensive enough when adjusting the transfer current, and it will not accurately adjust the influence when charging multiple batteries, still resulting in the problem that the terminal device cannot reach the full charge voltage simultaneously when charging two batteries, and there is a problem of low accuracy in adjusting the charging speed of different batteries.

[0053] In order to solve the problems existing in the above related technologies, improve the effect when charging multiple batteries, and accurately adjust the charging speed of different batteries, the present application provides a charging control method, which can combine the battery voltage and battery temperature of each battery to adjust the target balancing parameter when at least two batteries are undergoing balancing processing, avoiding the influence caused by only considering the voltage and ignoring the temperature, so as to accurately adjust the charging speed of each battery.

[0054] Please refer to Figure 3 , which shows a flowchart of a charging control method provided by an exemplary embodiment of the present application. This charging control method can be executed by a terminal device. The terminal device includes at least two batteries, and when the terminal device is charging, it charges at least two batteries. As Figure 3 shown, this charging control method can include the following steps:

[0055] Step 301, during the charging process of the terminal device, obtain the battery voltage and battery temperature of at least two batteries respectively.

[0056] Optionally, after the terminal device is connected to the charger, it charges at least two batteries. During the charging process, it obtains the battery voltage and battery temperature of each of the at least two batteries. For example, if the at least two batteries consist of a first battery and a second battery, when the terminal device is charging, it will charge both the first battery and the second battery, obtain the battery voltage and battery temperature of the first battery, and obtain the battery voltage and battery temperature of the second battery.

[0057] Optionally, when the terminal device obtains the battery voltage and battery temperature, it can monitor and measure through preset acquisition points, or read the battery voltage and battery temperature through the I2C (Inter-Integrated Circuit) bus. This acquisition process can be executed by the processor of the terminal device or the battery management device, which is not limited here.

[0058] Step 302: According to the battery voltage and battery temperature of each of the at least two batteries, adjust the target equalization parameters when the at least two batteries are performing equalization processing, so that the difference between the voltage rise rates of each of the at least two batteries is less than a preset rate threshold.

[0059] Optionally, based on the battery voltage and battery temperature of each of the at least two batteries obtained, the terminal device adjusts the target equalization parameters when the at least two batteries are performing equalization processing, so that the difference between the voltage rise rates of each of the at least two batteries is less than a preset rate threshold, accurately adjusts the charging speed of different batteries, and improves the effect when charging multiple batteries.

[0060] In summary, the terminal device includes at least two batteries. When the terminal device is charging, it charges all at least two batteries. During the charging process of the terminal device, it obtains the battery voltage and battery temperature of each of the at least two batteries; according to the battery voltage and battery temperature of each of the at least two batteries, it adjusts the target equalization parameters when the at least two batteries are performing equalization processing, so that the difference between the voltage rise rates of each of the at least two batteries is less than a preset rate threshold. In the charging process of the present application, by obtaining the battery voltage and battery temperature of each of the at least two batteries, and by referring to the battery voltage and battery temperature of each of the at least two batteries, and timely adjusting the target equalization parameters when the at least two batteries are performing equalization processing, it can be achieved that the difference between the voltage rise rates of each of the at least two batteries is less than a preset rate threshold, accurately adjust the charging speed of different batteries during the charging process, and improve the effect when charging multiple batteries.

[0061] In a possible implementation manner, for at least two batteries in a terminal device, when adjusting the target equalization parameter in the terminal device, each two batteries are grouped as a set, and each battery in the terminal device is divided into each battery group for execution. When making the adjustment, it will also be more in line with the actual charging circuit of the terminal device, improving the effect when charging multiple batteries.

[0062] Please refer to Figure 4 , which shows a flowchart of a charging control method provided by an exemplary embodiment of the present application. The charging control method can be executed by a terminal device, and the terminal device includes at least two batteries. When the terminal device is charging, at least two batteries are charged. As Figure 4 shown, the charging control method may include the following steps:

[0063] Step 401, during the charging process of the terminal device, obtain the battery voltage and battery temperature of each of the at least two batteries.

[0064] Optionally, during the charging process of the terminal device, collect the battery voltage and battery temperature of each battery according to a preset collection method, and obtain the battery voltage and battery temperature of each battery. The preset collection method may be by means of preset buried points or by means of each sensor, which is not limited here.

[0065] Step 402, according to the battery voltage and battery temperature of each of the at least two batteries, obtain the target value of the target equalization parameter that needs to be adjusted.

[0066] In a possible implementation manner, the terminal device groups at least two batteries, and each battery group consists of two batteries. Optionally, the grouping can be based on the connection relationship of the batteries or pre-divided by developers in the terminal device for every two batteries. When executing this step, the absolute value of the voltage difference of each battery group can be obtained. For each battery group, when the absolute value of the voltage difference is greater than the preset voltage difference, detect the first magnitude relationship between the battery voltages of the two batteries in the current battery group, and detect the second magnitude relationship between the battery temperatures of the two batteries in the current battery group; according to the first magnitude relationship and the second magnitude relationship of each battery group, determine the target value of the target equalization parameter of each battery group.

[0067] For example, the battery groups divided by at least two batteries in the terminal device include Battery Group 1 and Battery Group 2. For Battery Group 1, the absolute value of the voltage difference between the two batteries in Battery Group 1 can be obtained and subsequent steps can be executed. For Battery Group 2, the absolute value of the voltage difference between the two batteries in Battery Group 2 can also be obtained and subsequent steps can be executed. Taking Battery Group 1 as an example, the battery voltage of Battery 1 and the battery voltage of Battery 2 in it, as well as the battery temperature of Battery 1 and the battery temperature of Battery 2 can all be obtained in Step 301 above. By obtaining the absolute value of the voltage difference between Battery 1 and Battery 2, the absolute value of the voltage difference of Battery Group 1 is obtained, and this absolute value of the voltage difference is judged. If the absolute value of the voltage difference is greater than the preset pressure difference, the first magnitude relationship between the respective battery voltages of these two batteries in Battery Group 1 is detected, and in addition, the second magnitude relationship between the respective battery temperatures of these two batteries in Battery Group 1 is detected; combining the first magnitude relationship and the second magnitude relationship of Battery Group 1, the target value of the target equalization parameter of Battery Group 1 is determined. Among them, the preset pressure difference can be pre-set in the terminal device by the developer.

[0068] Taking the preset pressure difference as 5mv as an example, if the obtained absolute value of the voltage difference of Battery Group 1 is greater than 5mv, the first magnitude relationship between the respective battery voltages of these two batteries in Battery Group 1 is further detected, and in addition, the second magnitude relationship between the respective battery temperatures of these two batteries in Battery Group 1 is detected. If the obtained absolute value of the voltage difference of Battery Group 1 is not greater than 5mv, it means that the two batteries in Battery Group 1 do not need to be equalized and can continue to be charged in the current manner.

[0069] In a possible implementation manner, when the terminal device determines the target value of the target equalization parameter for each battery group according to the respective first magnitude relationship and second magnitude relationship of each battery group, it can be as follows: when the first voltage is greater than the second voltage and the first temperature is less than the second temperature, or when the first voltage is not greater than the second voltage and the first temperature is not less than the second temperature, the target value of the target equalization parameter is determined according to the target temperature; among them, the first voltage is the current voltage of the first battery in the current battery group, the second voltage is the current voltage of the second battery in the current battery group, the first temperature is the current temperature of the first battery, and the second temperature is the current temperature of the second battery; the target temperature is the higher temperature of the first temperature and the second temperature; otherwise, the target value of the target equalization parameter is determined according to the voltage difference between the first voltage and the second voltage.

[0070] That is, for a battery pack with the absolute value of the voltage difference greater than the preset voltage difference, after further detecting the magnitude relationship between the battery voltages and battery temperatures of the two batteries in each battery pack respectively, if the first voltage in the battery pack is greater than the second voltage and the first temperature is less than the second temperature, or the first voltage in the battery pack is not greater than the second voltage and the first temperature is not less than the second temperature, then the target value of the target equalization parameter is determined according to the target temperature, where the target temperature is the higher temperature among the first temperature and the second temperature of the two batteries respectively. In other cases of magnitude relationships, such as when the first voltage is not greater than the second voltage and the first temperature is less than the second temperature, or when the first voltage is greater than the second voltage and the first temperature is not less than the second temperature, then the target value of the target equalization parameter is determined according to the voltage difference between the first voltage and the second voltage.

[0071] Still taking Battery Pack 1 as an example, the first voltage of Battery 1 is represented by batt_volt1, the second voltage of Battery 2 is represented by batt_volt2, the first temperature of Battery 1 is represented by batt_temp1, and the second temperature of Battery 2 is represented by batt_temp2. If batt_volt1 > batt_volt2 and batt_temp1 < batt_temp2, at this time the terminal device executes the step of determining the target value of the target equalization parameter according to the target temperature, where the target temperature is the second temperature. If batt_volt1 < batt_volt2 and batt_temp1 < batt_temp2, or batt_volt1 > batt_volt2 and batt_temp1 > batt_temp2, at this time the terminal device executes the step of determining the target value of the target equalization parameter according to the voltage difference between the first voltage and the second voltage.

[0072] In a possible implementation manner, the terminal device pre-stores a current reduction parameter table for each battery. When executing the determination of the target value of the target equalization parameter according to the target temperature, it can be as follows: according to the target temperature in the current battery pack and the current reduction parameter table of the second battery, determine the temperature scale value corresponding to the target temperature. The current reduction parameter table contains the corresponding relationship between each temperature scale value and the equalization parameter value; when the first temperature difference is greater than the first temperature threshold, obtain the current equalization parameter value, where the first temperature difference is the difference between the target temperature and the temperature scale value; according to the current equalization parameter value, determine the target value of the target equalization parameter.

[0073] For example, please refer to Table 1, which shows the corresponding relationship included in a current reduction parameter table involved in an exemplary embodiment of the present application.

[0074] Table 1 Current Reduction Parameter Table

[0075] Battery temperature Charging current Battery temperature one Charging current one Battery temperature two Charging current two Battery temperature three Charging current three …… ……

[0076] As shown in Table 1, a battery can support the charging current allowed in Table 1 at different temperatures under its own specified specifications. Different batteries often correspond to different down-current parameter tables. Therefore, the down-current parameter tables of each battery can be pre-stored in the terminal device and used when determining the target value of the target equalization parameter according to the target temperature as described above.

[0077] Still taking Battery Pack 1 as an example, when it is determined that Battery Pack 1 meets the above conditions, and the current battery pack is Battery Pack 1, if batt_volt1 > batt_volt2 and batt_temp1 < batt_temp2, and when determining the target value of the target equalization parameter according to the target temperature, if the determined target temperature is the second temperature among them, first, according to the second temperature batt_temp2 of Battery 2 included in Battery Pack 1 and the down-current parameter table of the second battery, determine the temperature scale value corresponding to the second temperature. For example, by querying the down-current parameter table of the second battery, determine the temperature scale value corresponding to the second temperature batt_temp2 of Battery 2 in the down-current parameter table. If batt_temp2 is 37.3 degrees Celsius, and the battery temperature data in the down-current parameter table are all integers (such as 37°C, 38°C, 39°C, 40°C, etc.), then batt_temp2 is between 37 and 38 degrees Celsius. At this time, the temperature scale value corresponding to the second temperature batt_temp2 of Battery 2 in the down-current parameter table is 38 degrees Celsius. If batt_temp2 is 37 degrees Celsius, then the temperature scale value corresponding to the second temperature batt_temp2 of Battery 2 in the down-current parameter table is 37 degrees Celsius, and so on. The terminal device can determine the corresponding temperature scale values according to the respective target temperatures in each battery pack and the down-current parameter tables of the respective second batteries in each battery pack and perform subsequent steps.

[0078] Denote the temperature scale value as temp_m. After determining the temperature scale value, if the determined target temperature is the second temperature, obtain the difference between the second temperature and the temperature scale value, and detect whether this difference is greater than the first temperature threshold. If the first temperature difference is greater than the first temperature threshold, obtain the current equalization parameter value, and determine the target value of the target equalization parameter according to the current equalization parameter value. Among them, the first temperature threshold can also be pre-set in the terminal device by the developer. For example, the first temperature threshold is -0.5 degrees Celsius. If batt_temp2 - temp_m > -0.5 degrees, then obtain the current equalization parameter value, and determine the target value of the target equalization parameter according to the current equalization parameter value.

[0079] Optionally, when the terminal device determines the target value of the target equalization parameter based on the current equalization parameter value, it can be as follows: when the current equalization parameter value is greater than the preset equalization threshold, it is determined that the target value of the target equalization parameter is the result obtained by reducing the first parameter value on the basis of the current equalization parameter value; when the current equalization parameter value is not greater than the preset equalization threshold, it is determined that the target value of the target equalization parameter is the current equalization parameter value. Among them, both the preset equalization threshold and the first parameter value can be pre-set in the terminal device by developers. For example, the preset equalization threshold is a, the first parameter value is r, and the current equalization parameter value is k. If the obtained k is greater than a, then the result obtained by reducing the first parameter value r on the basis of the current equalization parameter value k is the determined target value, that is, the target value of the target equalization parameter = (k - r). If the obtained k is not greater than the preset equalization threshold a, then it is determined that the target value of the target equalization parameter is the current equalization parameter value, that is, the target value of the target equalization parameter determined this time is k. Optionally, the above a can be 0.

[0080] In a possible implementation manner, when the obtained first temperature difference is not greater than the first temperature threshold, the terminal device also needs to obtain a target indicator, where the target indicator is used to indicate whether the terminal device has experienced equalization over-temperature. Equalization over-temperature refers to the situation where the temperature of the battery to which the target temperature belongs exceeds the temperature standard value after the terminal device determined the target value of the target equalization parameter according to the target temperature for the current battery pack and adjusted it in the previous time; if the target indicator indicates that the terminal device has experienced equalization over-temperature, it is determined whether the first temperature difference is less than the target temperature threshold; when the first temperature difference is not less than the target temperature threshold, the current equalization parameter value is obtained, and it is determined that the target value of the target equalization parameter is the current equalization parameter value.

[0081] For example, the target indicator is represented by Balance_temp_over. If Balance_temp_over = true, it means that the temperature of the battery to which the target temperature belongs exceeds the temperature standard value after the terminal device determined the target value of the target equalization parameter according to the target temperature for the current battery pack and adjusted it in the previous time. In the case of Balance_temp_over = true, in order to avoid repeated adjustment, it is necessary to further determine whether the first temperature difference is less than the second temperature threshold. When the first temperature difference is not less than the second temperature threshold, the current equalization parameter value is obtained, and it is determined that the target value of the target equalization parameter is the current equalization parameter value, that is, no equalization processing is performed, and it still operates according to the current equalization parameter value. Among them, the second temperature threshold can also be pre-set in the terminal device by developers.

[0082] For example, the second temperature threshold is -0.8 degrees Celsius. Still taking the first battery pack as an example above, the determined target temperature is the second temperature batt_temp2, and temp_m represents the temperature scale value. If batt_temp2 - temp_m > -0.8 degrees, then obtain the current equalization parameter value, and the target value of the target equalization parameter is the current equalization parameter value.

[0083] In another case, when the first temperature difference is less than the second temperature threshold, adjust the target indicator to indicate that no equalization overheating has occurred in the terminal device, and perform the step of obtaining the battery voltage and battery temperature of each battery in the current battery pack. Still taking the second temperature threshold of -0.8 degrees Celsius and the first battery pack above as an example, and temp_m represents the temperature scale value. That is to say, if batt_temp2 - temp_m < -0.8 degrees, then adjust Balance_temp_over from true to false, set Balance_temp_over = false, re-monitor the battery, and return to the step of obtaining the battery voltage and battery temperature of each battery in the current battery pack in step 401 above.

[0084] In one case, when judging the target indicator, if the target indicator currently directly indicates that no equalization overheating has occurred in the terminal device, determine the target value of the target equalization parameter according to the voltage difference between the first voltage and the second voltage. That is to say, if when the first temperature difference obtained above is not greater than the first temperature threshold, the terminal device still needs to obtain the target indicator, and if the target indicator indicates that no equalization overheating has occurred in the terminal device at this time, then the terminal device performs the step of determining the target value of the target equalization parameter according to the voltage difference between the first voltage and the second voltage. Still using Balance_temp_over to represent the target indicator, if Balance_temp_over = false is obtained at this time, then perform the step of determining the target value of the target equalization parameter according to the voltage difference between the first voltage and the second voltage. Among them, the process of determining the target value of the target equalization parameter according to the voltage difference between the first voltage and the second voltage can be in accordance with the previous situation where battery equalization only considered the voltage difference. For example, if the voltage difference between two batteries exceeds 5 mv, then the charge transfer current of the battery with the higher voltage needs to be transferred to the battery with the lower voltage. The target value of the target equalization parameter can be the magnitude of the current formed during the charge transfer process, and then equalization is performed.

[0085] Optionally, in the above example, it is described under the condition that the current battery pack is Battery Pack 1, and the size relationship is as follows: batt_volt1 > batt_volt2 and batt_temp1 < batt_temp2. In actual applications, there may also be a situation where batt_volt1 < batt_volt2 and batt_temp1 > batt_temp2. In this case, the determined target temperature is batt_temp1, and the subsequent steps are similar to the above situation, which will not be elaborated here.

[0086] Optionally, the above-mentioned target balancing parameter is used to indicate the speed at which the charge of the battery with a higher current voltage in the current battery pack is transferred to the battery with a lower current voltage. For example, the target balancing parameter is the transfer current, and the transfer current is the current formed in the circuit that transfers the charge of the battery with a higher current voltage in the current battery pack to the battery with a lower current voltage. That is to say, in this solution, the target balancing parameter can be a physical quantity that indicates the speed at which the charge of the battery with a higher current voltage in the current battery pack is transferred to the battery with a lower current voltage. Taking the transfer current as an example, there will be a circuit in the terminal device that transfers the charge of the battery with a higher current voltage in the current battery pack to the battery with a lower current voltage. When performing balancing, the circuit is turned on to transfer the charge, and the formed current is the transfer current. This process can be implemented by introducing the above-mentioned battery balancing chip, and the specific circuit structure is not limited in this solution.

[0087] Step 403: Adjust the target balancing parameter to the target value so that the difference between the voltage rise rates of at least two batteries is less than the preset rate threshold.

[0088] Optionally, after calculating the target value of the target balancing parameter, adjust the target balancing parameter to the target value so that the difference between the voltage rise rates of at least two batteries is less than the preset rate threshold. In the case where the above at least two batteries are divided according to each battery pack, the terminal device will adjust the target balancing parameter of each battery pack to the target value according to the target value of the target balancing parameter of each battery pack, so that the difference between the voltage rise rates of the two batteries included in each battery pack is less than the preset rate threshold.

[0089] It should be noted that in this solution, the terminal device can be similar to the Figure 2 architecture shown above. The terminal device is a foldable terminal device. At least two batteries include a first battery and a second battery. The first battery is located in the first folding area (i.e., the main board side), and the second battery is located in the second folding area (i.e., the secondary board side). The specific structural form of the internal circuit in the terminal device is not limited in this solution.

[0090] In summary, the terminal device includes at least two batteries. When the terminal device is charging, all of the at least two batteries are charged. During the charging process of the terminal device, the battery voltages and battery temperatures of the at least two batteries are obtained respectively; according to the battery voltages and battery temperatures of the at least two batteries, the target equalization parameters for the at least two batteries during equalization processing are adjusted, so that the difference between the rising rates of the voltages of the at least two batteries is less than a preset rate threshold. In the charging process of the present application, by obtaining the battery voltages and battery temperatures of the at least two batteries respectively, and by referring to the battery voltages and battery temperatures of the at least two batteries respectively, the target equalization parameters for the at least two batteries during equalization processing are adjusted in a timely manner, so that the difference between the rising rates of the voltages of the at least two batteries can be made less than a preset rate threshold, and the charging speeds of different batteries can be accurately adjusted during the charging process, thereby improving the effect of charging multiple batteries.

[0091] In addition, this solution processes the battery equalization logic based on two key factors, namely the voltage difference between batteries + battery temperature, which can ensure that when the voltage difference between batteries is large and the relative magnitude of the temperature between batteries is opposite to the relative magnitude of the battery voltages, it can avoid the battery with a higher temperature from accelerating overheating due to the battery equalization current transfer and then the current being downshifted, thereby affecting the charging speed, and the accuracy of controlling the target equalization parameters is higher.

[0092] Next, taking the electronic device as a mobile phone as an example, the mobile phone is a foldable mobile phone and is similar to the above Figure 2 shown in the way that there is a main board and a secondary board. There is a battery 1 on the main board and a battery 2 on the secondary board. After applying the charging control method of this solution in this mobile phone, the steps executed by the mobile phone can be as follows:

[0093] Please refer to Figure 5 , which shows a flowchart of a charging control method provided by an exemplary embodiment of the present application. This charging control method can be executed by a mobile phone. The mobile phone includes battery 1 and battery 2. When the mobile phone is charging, both battery 1 and battery 2 are charged. As Figure 5 shown, this charging control method may include the following steps:

[0094] Step 501, during the charging process of the mobile phone, the battery voltage batt_volt1 of battery 1 and the battery voltage batt_volt2 of battery 2 are read through I2C.

[0095] Step 502, detect whether the absolute value of the difference between batt_volt1 and batt_volt2 is within the range of 5mv.

[0096] Among them, if the absolute value of the difference between batt_volt1 and batt_volt2 is within the range of 5mv, step 503 is executed; otherwise, step 504 is executed.

[0097] Step 503, no balancing is required, continuously monitor.

[0098] Step 504, read the battery temperature batt_temp1 of battery 1 and the battery temperature batt_temp2 of battery 2 through I2C.

[0099] Step 505, detect whether batt_volt1 > batt_volt2 and whether batt_temp1 < batt_temp2.

[0100] If so, execute Step 506, otherwise execute Step 516.

[0101] Step 506, determine that the target temperature is batt_temp2, match batt_temp2 to the down-current parameter table of battery 2, and query the temperature standard value temp_m.

[0102] Step 507, detect whether batt_temp2 - temp_m > -0.5 degrees Celsius.

[0103] Among them, if batt_temp2 - temp_m > -0.5 degrees Celsius, execute Step 508, otherwise, execute Step 512.

[0104] Step 508, obtain the current handling current value i_ref.

[0105] Step 509, detect whether i_ref > 0.

[0106] If so, execute Step 510, otherwise execute Step 511.

[0107] Step 510, set i_ref = i_ref - 50ma. And set the target indicator Balance_temp_over = true.

[0108] Step 511, continue to maintain according to the current i_ref.

[0109] In this step, it is equivalent to that the balancing chip does not balance, and the terminal device can continue to maintain the unbalanced state and return to Step 501 to continue monitoring the battery voltages of each battery.

[0110] Step 512, detect whether the target indicator Balance_temp_over = true.

[0111] If so, execute Step 513, otherwise execute Step 527.

[0112] Step 513, detect whether batt_temp2 - temp_m > -0.8 degrees Celsius.

[0113] If so, execute step 514; otherwise, execute step 515.

[0114] Step 514: Maintain the equalizing current value of the current equalizing chip.

[0115] Among them, this step is equivalent to the content of obtaining the current equalizing parameter value above and determining that the target value of the target equalizing parameter is the current equalizing parameter value.

[0116] Step 515: Adjust Balance_temp_over = false.

[0117] Optionally, after executing step 515 and step 516, return to step 501 to continue monitoring the battery voltages of each battery and continue the next cycle.

[0118] Step 516: Detect whether batt_volt1 < batt_volt2 and whether batt_temp1 > batt_temp2.

[0119] If so, execute step 517; otherwise, execute step 527.

[0120] Step 517: Determine that the target temperature is batt_temp1, match batt_temp1 to the current reduction parameter table of battery 1, and query the temperature standard value temp_m.

[0121] Step 518: Detect whether batt_temp1 - temp_m > -0.5 degrees Celsius.

[0122] Among them, if batt_temp1 - temp_m > -0.5 degrees Celsius, execute step 519; otherwise, execute step 523.

[0123] Step 519: Obtain the current transfer current value i_ref.

[0124] Step 520: Detect whether i_ref > 0.

[0125] If so, execute step 521; otherwise, execute step 522.

[0126] Step 521: Let i_ref = i_ref - 50ma. And set the target indicator Balance_temp_over = true.

[0127] Step 522: Keep it according to the current i_ref.

[0128] In this step, it is equivalent to that the balancing chip has not been balanced. The terminal device can continue to maintain the unbalanced state and return to step 501 to continue monitoring the battery voltages of each battery.

[0129] Step 523, detect whether the target indicator Balance_temp_over = true.

[0130] If so, execute step 524; otherwise, execute step 527.

[0131] Step 524, detect whether batt_temp1 - temp_m > -0.8 degrees Celsius.

[0132] If so, execute step 525; otherwise, execute step 526.

[0133] Step 525, maintain the balancing current value of the current balancing chip.

[0134] Among them, this step is equivalent to the content of obtaining the current balancing parameter value above and determining that the target value of the target balancing parameter is the current balancing parameter value.

[0135] Step 526, adjust Balance_temp_over = false.

[0136] Optionally, after executing step 525 and step 526, return to step 501 to continue monitoring the battery voltages of each battery and continue the next cycle.

[0137] Step 527, perform balancing according to the voltage difference balancing logic.

[0138] Among them, performing balancing according to the voltage difference balancing logic in this step is equivalent to the step of determining the target value of the target balancing parameter according to the voltage difference between the first voltage and the second voltage above, which will not be elaborated here.

[0139] To sum up, the solution of the present application not only considers the battery voltage difference between batteries, but also adds the consideration of the battery temperature difference between batteries. Based on the two key factors of the battery voltage difference between batteries + whether the battery temperature is overheated, the battery balancing logic is processed, which can ensure that when the pressure difference between batteries is large and the relative magnitude of the temperature between batteries is opposite to the relative magnitude of the battery voltages, it can avoid the overheating of the battery with a high temperature due to the transfer of the battery balancing current, resulting in a current downshift and thus affecting the charging speed.

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

[0141] Please refer to Figure 6, which shows a structural block diagram of a charging control device provided by an exemplary embodiment of the present application. The charging control device 600 can be used in a terminal device, the terminal device includes at least two batteries, and when the terminal device is charged, all of the at least two batteries are charged. To execute Figure 3 , Figure 4 , Figure 5 all or part of the steps performed by the terminal device in the method provided by the illustrated embodiment. The charging control device 600 includes:

[0142] A first acquisition module 601, configured to acquire the battery voltage and battery temperature of each of the at least two batteries during the charging process of the terminal device;

[0143] A first adjustment module 602, configured to adjust the target equalization parameter of the at least two batteries during the equalization process according to the battery voltage and battery temperature of each of the at least two batteries, so that the difference between the voltage rise rates of the at least two batteries is less than a preset rate threshold.

[0144] In summary, the terminal device includes at least two batteries, and when the terminal device is charged, all of the at least two batteries are charged. During the charging process of the terminal device, the battery voltage and battery temperature of each of the at least two batteries are acquired; according to the battery voltage and battery temperature of each of the at least two batteries, the target equalization parameter of the at least two batteries during the equalization process is adjusted, so that the difference between the voltage rise rates of the at least two batteries is less than a preset rate threshold. In the charging process of the present application, by acquiring the battery voltage and battery temperature of each of the at least two batteries, and by referring to the battery voltage and battery temperature of each of the at least two batteries, the target equalization parameter of the at least two batteries during the equalization process is adjusted in a timely manner, so that the difference between the voltage rise rates of the at least two batteries can be made less than a preset rate threshold, and the charging speeds of different batteries can be accurately adjusted during the charging process, improving the effect of charging multiple batteries.

[0145] Optionally, the first adjustment module 602 includes: a first acquisition unit, a first adjustment unit;

[0146] The first acquisition unit is configured to acquire the target value of the target equalization parameter to be adjusted according to the battery voltage and battery temperature of each of the at least two batteries;

[0147] The first adjustment unit is configured to adjust the target equalization parameter to the target value, so that the difference between the voltage rise rates of the at least two batteries is less than a preset rate threshold.

[0148] Optionally, the first acquisition unit includes: a first acquisition subunit, a first detection subunit, and a first determination subunit;

[0149] The first acquisition subunit is configured to acquire the absolute value of the voltage difference of each battery pack, and each battery pack consists of two batteries;

[0150] The first detection subunit is configured to, for each battery pack, when the absolute value of the voltage difference is greater than a preset voltage difference, detect the first magnitude relationship between the battery voltages of the two batteries in the current battery pack respectively, and detect the second magnitude relationship between the battery temperatures of the two batteries in the current battery pack respectively;

[0151] The first determination subunit is configured to determine the target value of the target equalization parameter of each battery pack according to the first magnitude relationship and the second magnitude relationship of each battery pack respectively.

[0152] Optionally, the first adjustment unit is further configured to adjust the target equalization parameter of each battery pack to the target value according to the target value of the target equalization parameter of each battery pack, so that the difference between the rising rates of the voltages of the two batteries included in each battery pack is less than a preset rate threshold.

[0153] Optionally, the first determination subunit is further configured to

[0154] When the first voltage is greater than the second voltage and the first temperature is less than the second temperature, or when the first voltage is not greater than the second voltage and the first temperature is not less than the second temperature, determine the target value of the target equalization parameter according to the target temperature; wherein, the first voltage is the current voltage of the first battery in the current battery pack, the second voltage is the current voltage of the second battery in the current battery pack, the first temperature is the current temperature of the first battery, the second temperature is the current temperature of the second battery; the target temperature is the higher temperature of the first temperature and the second temperature;

[0155] Otherwise, determine the target value of the target equalization parameter according to the voltage difference between the first voltage and the second voltage.

[0156] Optionally, a current reduction parameter table of each battery is pre-stored in the terminal device, and determining the target value of the target equalization parameter according to the target temperature includes:

[0157] Determine the temperature scale value corresponding to the target temperature according to the target temperature in the current battery pack and the current reduction parameter table of the battery to which the target temperature belongs, and the current reduction parameter table includes the corresponding relationship between each temperature scale value and the equalization parameter value;

[0158] When the first temperature difference is greater than the first temperature threshold, obtain the current equilibrium parameter value, where the first temperature difference is the difference between the target temperature and the temperature scale value;

[0159] Determine the target value of the target equilibrium parameter according to the current equilibrium parameter value.

[0160] Optionally, the determining the target value of the target equilibrium parameter according to the current equilibrium parameter value includes:

[0161] When the current equilibrium parameter value is greater than the preset equilibrium threshold, determine that the target value of the target equilibrium parameter is the result obtained by reducing the first parameter value on the basis of the current equilibrium parameter value;

[0162] When the current equilibrium parameter value is not greater than the preset equilibrium threshold, determine that the target value of the target equilibrium parameter is the current equilibrium parameter value.

[0163] Optionally, the device further includes:

[0164] A second acquisition module, configured to obtain a target indicator when the first temperature difference is not greater than the first temperature threshold, where the target indicator is used to indicate whether the terminal device has experienced equilibrium overheating, and the equilibrium overheating refers to the situation where the temperature of the battery to which the target temperature belongs exceeds the temperature scale value after the terminal device last determines the target value of the target equilibrium parameter according to the target temperature for the current battery pack and makes an adjustment;

[0165] A first determination module, configured to determine whether the first temperature difference is less than the target temperature threshold if the target indicator indicates that the terminal device has experienced the equilibrium overheating;

[0166] A third acquisition module, configured to obtain the current equilibrium parameter value when the first temperature difference is not less than the target temperature threshold, and determine that the target value of the target equilibrium parameter is the current equilibrium parameter value.

[0167] Optionally, the device further includes:

[0168] A second adjustment module, configured to adjust the target indicator to a state indicating that the terminal device has not experienced the equilibrium overheating when the first temperature difference is less than the target temperature threshold, and execute the step of obtaining the battery voltage and battery temperature of each battery in the current battery pack.

[0169] Optionally, the device further includes:

[0170] A second determination module, configured to determine the target value of the target equilibrium parameter according to the voltage difference between the first voltage and the second voltage if the target indicator indicates that the terminal device has not experienced the equilibrium overheating.

[0171] Optionally, the target balancing parameter is used to indicate the speed at which the charge of the battery with a higher current voltage in the current battery pack is transferred to the battery with a lower current voltage.

[0172] Optionally, the target balancing parameter is a transfer current, and the transfer current is the current formed in the circuit for transferring the charge of the battery with a higher current voltage in the current battery pack to the battery with a lower current voltage.

[0173] Optionally, the terminal device is a foldable terminal device, the at least two batteries include a first battery and a second battery, the first battery is located in a first folding area, and the second battery is located in a second folding area.

[0174] Please refer to Figure 7 , which is a schematic structural diagram of another example of the charging control device provided in the embodiments of the present application. Among them, the charging control device 700 may be a terminal device and can implement the functions of the terminal device in the method provided in the embodiments of the present application. Among them, the charging control device 700 may be a chip system. In the embodiments of the present application, the chip system may be composed of chips or may include chips and other discrete devices.

[0175] In terms of hardware implementation, the above communication module may be a transceiver, and the transceiver is integrated in the charging control device 700 to form a communication interface 703.

[0176] The charging control device 700 includes at least one processor 701, which is used to implement or support the charging control device 700 to implement the functions of the terminal device in the method provided in the embodiments of the present application. Exemplarily, during the charging process of the terminal device, the processor 701 may obtain the battery voltages and battery temperatures of at least two batteries respectively; according to the battery voltages and battery temperatures of at least two batteries respectively, adjust the target balancing parameter when at least two batteries perform balancing processing, so that the difference between the rising rates of the voltages of at least two batteries respectively is less than a preset rate threshold and other steps. For specific details, please refer to the detailed description in the method example, which will not be elaborated here.

[0177] The charging control device 700 may further include at least one memory 702, which is used to store program instructions and / or data. The memory 702 is coupled to the processor 701. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, and is used for information interaction between devices, units or modules. The processor 701 may cooperate with the memory 702. The processor 701 may execute the program instructions stored in the memory 702. At least one of the at least one memories may be included in the processor.

[0178] The charging control device 700 may further include a communication interface 703, configured to communicate with other devices via a transmission medium, so that the devices in the charging control device 700 can communicate with other devices. Exemplarily, the other device may be a network-side device. The processor 701 may use the communication interface 703 to send and receive data. The communication interface 703 may specifically be a transceiver.

[0179] In the embodiments of the present application, the specific connection medium between the communication interface 703, the processor 701, and the memory 702 is not limited. In the embodiments of the present application Figure 7 it is shown that the memory 702, the processor 701, and the communication interface 703 are connected via a bus 704. The bus is represented by a thick line in Figure 7 which. The connection manners between other components are only for illustrative purposes and are not to be construed as limiting. The bus may be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 7 only one thick line is used to represent it in which, but it does not mean that there is only one bus or one type of bus.

[0180] In the embodiments of the present application, the processor 701 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0181] In the embodiments of the present application, the memory 702 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or may also be a volatile memory, such as a random-access memory (RAM). The memory is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in the embodiments of the present application may also be a circuit or any other device capable of implementing a storage function, for storing program instructions and / or data.

[0182] Optionally, the embodiments of the present application further provide a terminal device, which includes a processor and a memory. The memory stores a computer program, and the computer program is executed by the processor to implement all or part of the steps executed by the terminal device in the charging control methods of the above various embodiments.

[0183] Optionally, an embodiment of the present application further provides a computer-readable medium storing a computer program, which is executed by a processor to implement all or part of the steps performed by a terminal device in the charging control methods of the above various embodiments.

[0184] Optionally, an embodiment of the present application further provides a computer program product, which, when running on a computer, causes the computer to execute all or part of the steps performed by a terminal device in the charging control methods of the above various embodiments.

[0185] Optionally, an embodiment of the present application further provides an application publishing platform for publishing a computer program product, wherein, when the computer program product runs on a computer, it causes the computer to execute all or part of the steps performed by a terminal device in the charging control methods of the above various embodiments.

[0186] It should be noted that when the device provided in the above embodiment executes the control of the terminal device, only the above division of each functional module is used for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment and the method embodiment belong to the same concept, and the specific implementation process can be seen in the method embodiment, which will not be elaborated here.

[0187] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0188] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disc, etc.

[0189] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A charging control method, characterized in that, applied to a terminal device, the terminal device includes at least two batteries, and when the terminal device is charged, all of the at least two batteries are charged. The method includes: During the charging process of the terminal device, obtaining the battery voltages and battery temperatures of the at least two batteries respectively; According to the battery voltages and battery temperatures of the at least two batteries respectively, adjusting the target equalization parameters when the at least two batteries perform equalization processing, so that the difference between the rising rates of the voltages of the at least two batteries is less than a preset rate threshold.

2. The method according to claim 1, characterized in that, The adjusting the target equalization parameters when the at least two batteries perform equalization processing according to the battery voltages and battery temperatures of the at least two batteries respectively includes: Obtaining the target value of the target equalization parameter that needs to be adjusted according to the battery voltages and battery temperatures of the at least two batteries respectively; Adjusting the target equalization parameter to the target value, so that the difference between the rising rates of the voltages of the at least two batteries is less than a preset rate threshold.

3. The method according to claim 2, characterized in that, The obtaining the target value of the target equalization parameter that needs to be adjusted according to the battery voltages and battery temperatures of the at least two batteries respectively includes: Obtaining the absolute value of the voltage difference of each battery group, and each battery group is composed of two batteries; For each battery group, when the absolute value of the voltage difference is greater than a preset voltage difference, detecting the first magnitude relationship between the battery voltages of the two batteries in the current battery group, and detecting the second magnitude relationship between the battery temperatures of the two batteries in the current battery group; Determining the target value of the target equalization parameter of each battery group according to the first magnitude relationship and the second magnitude relationship of each battery group respectively.

4. The method according to claim 3, characterized in that, The adjusting the target equalization parameter to the target value includes: Adjusting the target equalization parameter of each battery group to the target value according to the target value of the target equalization parameter of each battery group respectively, so that the difference between the rising rates of the voltages of the two batteries included in each battery group is less than a preset rate threshold.

5. The method according to claim 3, characterized in that, The determining the target value of the target equalization parameter of each battery group according to the first magnitude relationship and the second magnitude relationship of each battery group respectively includes: When the first voltage is greater than the second voltage and the first temperature is less than the second temperature, or when the first voltage is not greater than the second voltage and the first temperature is not less than the second temperature, determine the target value of the target equalization parameter according to the target temperature; wherein, the first voltage is the current voltage of the first battery in the current battery pack, the second voltage is the current voltage of the second battery in the current battery pack, the first temperature is the current temperature of the first battery, and the second temperature is the current temperature of the second battery; the target temperature is the higher temperature of the first temperature and the second temperature; Otherwise, determine the target value of the target equalization parameter according to the voltage difference between the first voltage and the second voltage.

6. The method according to claim 5, wherein, a current reduction parameter table of each battery is pre-stored in the terminal device, and the determining the target value of the target equalization parameter according to the target temperature includes: determine the temperature scale value corresponding to the target temperature according to the target temperature in the current battery pack and the current reduction parameter table of the battery to which the target temperature belongs, and the current reduction parameter table includes the corresponding relationship between each temperature scale value and the equalization parameter value; when the first temperature difference is greater than the first temperature threshold, obtain the current equalization parameter value, where the first temperature difference is the difference between the target temperature and the temperature scale value; determine the target value of the target equalization parameter according to the current equalization parameter value.

7. The method according to claim 6, wherein, the determining the target value of the target equalization parameter according to the current equalization parameter value includes: when the current equalization parameter value is greater than the preset equalization threshold, determine that the target value of the target equalization parameter is the result obtained by reducing the first parameter value on the basis of the current equalization parameter value; when the current equalization parameter value is not greater than the preset equalization threshold, determine that the target value of the target equalization parameter is the current equalization parameter value.

8. The method according to claim 6, wherein, the method further includes: when the first temperature difference is not greater than the first temperature threshold, obtain a target indicator, where the target indicator is used to indicate whether the terminal device has experienced equalization overheating, and the equalization overheating refers to the situation where the temperature of the battery to which the target temperature belongs exceeds the temperature scale value after the terminal device last determines the target value of the target equalization parameter according to the target temperature and adjusts the current battery pack; if the target indicator indicates that the terminal device has experienced the equalization overheating, determine whether the first temperature difference is less than the target temperature threshold; when the first temperature difference is not less than the target temperature threshold, obtain the current equalization parameter value, and determine that the target value of the target equalization parameter is the current equalization parameter value.

9. The method according to claim 8, wherein, the method further includes: When the first temperature difference is less than the target temperature threshold, adjust the target indicator to indicate that the terminal device has not experienced the equalization over-temperature state, and perform the step of obtaining the battery voltage and battery temperature of each battery in the current battery pack.

10. The method according to claim 8, wherein, the method further includes: If the target indicator indicates that the terminal device has not experienced the equalization over-temperature, determine the target value of the target equalization parameter according to the voltage difference between the first voltage and the second voltage.

11. The method according to any one of claims 3 to 10, wherein, The target equalization parameter is used to indicate the speed of transferring the charge of the battery with a higher current voltage in the current battery pack to the battery with a lower current voltage.

12. The method according to claim 11, wherein, The target equalization parameter is the transfer current, and the transfer current is the current formed in the circuit for transferring the charge of the battery with a higher current voltage in the current battery pack to the battery with a lower current voltage.

13. The method according to any one of claims 1 to 10, wherein, The terminal device is a foldable terminal device, the at least two batteries include a first battery and a second battery, the first battery is located in a first folding area, and the second battery is located in a second folding area.

14. A charging control device, wherein, Applied to a terminal device, the terminal device includes at least two batteries, and when the terminal device is charging, all of the at least two batteries are charged. The device includes: A first acquisition module, configured to acquire the battery voltage and battery temperature of each of the at least two batteries during the charging process of the terminal device; A first adjustment module, configured to adjust the target equalization parameter of the at least two batteries during equalization processing according to the battery voltage and battery temperature of each of the at least two batteries, so that the difference between the rising rates of the voltages of the at least two batteries is less than a preset rate threshold.

15. A terminal device, wherein, The terminal device includes a processor and a memory, and a computer program is stored in the memory. The computer program is executed by the processor to implement the charging control method according to any one of claims 1 to 13.

16. A computer-readable storage medium, wherein, A computer program is stored in the storage medium, and the computer program is executed by a processor to implement the charging control method according to any one of claims 1 to 13.