Charging control method and device, electronic equipment and storage medium
By determining and dynamically adjusting the charging current of the charge pump to the battery in the terminal device, the problem of excessive heat generated by the battery during charging is solved, effective control of the battery temperature is achieved, and charging safety and user experience are improved.
Patent Information
- Application Number
- CN202310988901.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-07
- Publication Date
- 2025-02-14
AI Technical Summary
In charging scenarios, how to adjust the battery heating during charging of terminal devices, avoid excessive battery temperature rise, and improve product safety and user charging experience.
By determining the first target current for the charge pump to charge the battery, dynamically adjusting it according to the charging parameter information and the battery temperature parameters, the temperature during the charging process is controlled.
Effective adjustment of the battery temperature of terminal equipment is achieved, avoiding excessive temperatures, and improving charging safety and user experience.
Smart Images

Figure CN119448471A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging control technology, and in particular to a charging control method, device, electronic device and storage medium. Background Art
[0002] With the rapid development of charging technology, high-power charging has increased the charging rate, greatly improving the charging experience of terminal devices. However, high-power charging causes excessive temperature rise in the battery, reduces product safety, and has become a major charging complaint point for users.
[0003] Therefore, in the charging scenario, how to adjust the battery heating during the charging process of the terminal device is a technical problem that needs to be solved. Summary of the invention
[0004] The present application aims to solve one of the technical problems in the related art at least to some extent.
[0005] To this end, the present application proposes a charging control method, device, electronic device and storage medium to adjust the heat generated during the battery charging process by determining a first target current for a charge pump to charge the battery, thereby adjusting the temperature during the charging process.
[0006] In one aspect, an embodiment of the present application provides a charging control method, including:
[0007] In response to the current charging parameter information of the terminal device satisfying the set condition, determining the current adjustment parameter of the charge pump of the terminal device for charging the battery according to the charging parameter information;
[0008] Determine a first target current for the charge pump to charge the battery at present according to at least a temperature parameter of the battery included in the current adjustment parameter; the temperature parameter is determined according to a current temperature of the battery in the charging parameter information and a set reference temperature;
[0009] The battery of the terminal device is charged according to the first target current.
[0010] Another aspect of the present application provides a charging control device, including:
[0011] A first determination module, configured to determine, in response to the current charging parameter information of the terminal device satisfying a set condition, a current adjustment parameter for a charge pump of the terminal device to charge a battery according to the charging parameter information;
[0012] A second determination module is used to determine a first target current for the charge pump to charge the battery at present according to at least a temperature parameter of the battery included in the current adjustment parameter; the temperature parameter is determined according to a current temperature of the battery in the charging parameter information and a set reference temperature;
[0013] A charging module is used to charge the battery of the terminal device according to the first target current.
[0014] Another aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the above aspect is implemented.
[0015] Another aspect of the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described in the aforementioned aspect is implemented.
[0016] Another aspect of the present application provides a computer program product on which a computer program is stored. When the program is executed by a processor, the method described in the above aspect is implemented.
[0017] The charging control method, device, electronic device and storage medium proposed in the present application, in response to the current charging parameter information of the terminal device satisfying the set conditions, determine the current adjustment parameter of the charge pump of the current terminal device for charging the battery according to the charging parameter information, determine the current adjustment parameter of the charge pump of the current terminal device for charging the battery according to the charging parameter information, determine the first target current for the current charge pump to charge the battery according to at least the temperature parameter of the battery included in the current adjustment parameter, and charge the battery of the terminal device according to the first target current. The first target current for the charge pump to charge the battery determined at least according to the temperature parameter of the battery of the terminal device takes into account the temperature difference, improves the accuracy of determining the first target current, and can adjust the battery temperature of the terminal device to avoid excessive temperature.
[0018] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0020] Figure 1 A schematic diagram of a charging control method provided in an embodiment of the present application;
[0021] Figure 2 A flow chart of another charging control method provided in an embodiment of the present application;
[0022] Figure 3 A flow chart of another charging control method provided in an embodiment of the present application;
[0023] Figure 4A A flow chart of another charging control method provided in an embodiment of the present application;
[0024] Figure 4B A schematic diagram of a charging efficiency curve provided in an embodiment of the present application;
[0025] Figure 5 A flow chart of another charging control method provided in an embodiment of the present application;
[0026] Figure 6 A flow chart of another charging control method provided in an embodiment of the present application;
[0027] Figure 7 A flow chart of another charging control method provided in an embodiment of the present application;
[0028] Figure 8 A schematic diagram of the structure of a charging control device provided in an embodiment of the present application;
[0029] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0031] The following describes the charging control method, device, electronic device and storage medium according to the embodiments of the present application with reference to the accompanying drawings.
[0032] Figure 1 A flow chart of a charging control method provided in an embodiment of the present application.
[0033] The executor of the charging control method in the embodiment of the present application is a charging control device, which can be set in an electronic device. The electronic device can be a terminal device or a server. The terminal device is, for example, a mobile terminal device, such as a smart phone, a smart watch, a smart wearable device or a pad, etc., which is not limited in this embodiment.
[0034] like Figure 1As shown, the method may include the following steps:
[0035] Step 101, in response to the current charging parameter information of the terminal device satisfying the set condition, a current adjustment parameter of the charge pump of the current terminal device for charging the battery is determined according to the charging parameter information.
[0036] Among them, the charging parameters include charging type, charging power, charging scenario, corresponding charging temperature under the scenario, charging current and battery power, etc., which are not limited in this embodiment. Among them, the charging type is a type of charging current or voltage that is adjustable, that is, the charging type indicates that the charging current or voltage of the terminal device during the charging process is adjustable, rather than an irreversible fixed-gear charging. The charging type includes fast charging type and slow charging type based on charging speed, and fast charging protocol (Quick Charge, QC) type, fast charging protocol (Usb Power Delivery, PD) type, USB charging protocol (Dedicated Charging Port, DCP) type and USB charging protocol (Charging Downstream Port, CDP) type based on charging protocol, etc.
[0037] Among them, different charging parameters correspond to different setting conditions. In the embodiment of the present application, the charging type needs to be an adjustable current or voltage to support the terminal device during the charging process, so that the subsequent dynamic adjustment of the current can be realized. For example, the setting condition corresponding to the charging scenario is a scenario in which the terminal device is charged while running a game application. Then, the information about the charging scenario in the currently acquired charging status information needs to be charging performed while the game application is running; similarly, the charging temperature also has corresponding threshold conditions. They are not listed one by one in this embodiment.
[0038] In the embodiment of the present application, each charging parameter data is matched with the corresponding setting condition respectively. When each charging parameter matches the corresponding setting condition, it is determined that the charging parameter information satisfies the setting condition.
[0039] In an embodiment of the present application, when it is determined that the charging parameter information meets the set conditions, it is determined that the charging current can be dynamically adjusted, that is, dynamic temperature suppression is started, that is, the current adjustment parameters of the current charge pump for charging the battery are determined based on the charging parameter information, wherein the current adjustment parameters are used to dynamically adjust the charging current during the charging process of the terminal device, and by adjusting the charging current, the heat generated during the battery charging process is adjusted, thereby dynamically adjusting the temperature of the terminal device to avoid excessive temperature of the terminal device.
[0040] Step 102: determining a first target current for the current charge pump to charge the battery according to at least a temperature parameter of the battery included in the current adjustment parameter.
[0041] Among them, the temperature parameter is determined based on the current temperature of the battery in the charging parameter information and the set reference temperature. The temperature parameter of the battery indicates the difference between the current temperature of the battery and the set reference temperature. The larger the absolute value of the difference, the greater the deviation from the reference temperature value, thereby indicating the space and direction of temperature adjustment.
[0042] In one implementation of the embodiment of the present application, the current adjustment parameter includes a temperature parameter of the battery. According to the temperature parameter of the battery included in the current adjustment parameter, the first target current of the current charge pump charging the battery is determined. In one scenario, if the value of the temperature parameter of the battery is low, that is, the current battery temperature is close to the reference temperature, that is, a larger charging current can be used for charging, then the set maximum charging current, that is, the set second charging current, can be obtained, and according to the corresponding setting relationship, the set second charging current is used as the first target current. Thus, at least the first target current in various situations determined according to the temperature parameter of the battery included in the current adjustment parameter takes into account the temperature change, so that the charge pump of the terminal device charges the battery based on the first target current to adjust the temperature of the terminal device in the opposite direction, that is, suppress the temperature rise and maintain the temperature stability, thereby achieving the reliability of the charging temperature adjustment.
[0043] In another implementation of the embodiment of the present application, the current adjustment parameters include a first current parameter of the battery charging, a temperature parameter of the battery and a temperature rise trend of the battery. The first target current of the current charge pump for charging the battery is determined based on the first current parameter, the temperature parameter of the battery and the temperature rise trend of the battery. The specific implementation method will be described in detail in different embodiments later and will not be repeated here.
[0044] Step 103: charging the battery of the terminal device according to the first target current.
[0045] In the embodiment of the present application, the first target current determined by the current adjustment parameter can effectively adjust the temperature of the terminal device and improve the charging effect.
[0046] In the charging control method of the embodiment of the present application, in response to the current charging parameter information of the terminal device satisfying the set conditions, the current adjustment parameter of the charge pump of the current terminal device for charging the battery is determined according to the charging parameter information, and the first target current for the current charge pump to charge the battery is determined at least according to the temperature parameter of the battery included in the current adjustment parameter, and the battery of the terminal device is charged according to the first target current. The first target current for the charge pump to charge the battery is determined at least according to the temperature parameter of the battery of the terminal device, taking into account the temperature difference, improving the accuracy of the determination of the first target current, and realizing the adjustment of the battery temperature of the terminal device to avoid excessive temperature.
[0047] Based on the above embodiments, Figure 2 A flow chart of another charging control method provided in an embodiment of the present application illustrates the use of the temperature parameter included in the current adjustment parameter to determine the first target current, such as Figure 2 As shown, the method comprises the following steps:
[0048] Step 201, in response to the current charging parameter information of the terminal device satisfying the set condition, the temperature parameter is determined according to the current temperature of the battery in the charging parameter information and the set reference temperature.
[0049] In the embodiment of the present application, the charging parameter information includes charging specification information and charging status information. The setting conditions satisfied by the charging specification information and the charging status information are different. For the sake of distinction, the setting condition satisfied by the charging specification information is referred to as the first setting condition, and the setting condition satisfied by the charging status information is referred to as the second setting condition.
[0050] The charging specification information includes parameter data such as charging type and charging power. The charging type is a type with adjustable charging current or voltage, which means that the charging type indicates that the charging current or voltage of the terminal device during the charging process is adjustable, rather than an irreversible fixed-gear charging. The charging type includes fast charging type and slow charging type based on charging speed, and quick charging protocol (Quick Charge, QC) type, quick charging protocol (UsbPower Delivery, PD) type, USB charging protocol (Dedicated Charging Port, DCP) type and USB charging protocol (Charging Downstream Port, CDP) type based on charging protocol.
[0051] The charging specification information is determined based on the hardware conditions of the terminal device to be charged, and the charging specification information of different terminal devices may be different. As an implementation method, the charging specification information is determined and obtained based on the information interaction between the terminal device and the charger when the terminal device and the charger establish a charging connection.
[0052] The first setting condition includes setting conditions corresponding to multiple parameter data in the charging specification information. In the embodiment of the present application, for each parameter data in the charging specification information, the parameter data is compared with the corresponding setting condition in the first setting condition. If each parameter data satisfies the corresponding setting condition, it is determined that the charging specification information satisfies the first setting condition.
[0053] Among them, the charging status information includes multiple parameter data, such as the charging scenario, the corresponding charging temperature under the scenario, the charging current and the battery power, etc.
[0054] The second setting condition includes setting conditions corresponding to various parameter data in the charging status information. For example, the setting condition corresponding to the charging scenario is a scenario in which charging is performed when the terminal device is running a game application. Then, the information about the charging scenario in the currently acquired charging status information needs to be that charging is performed when the game application is running. Similarly, the charging temperature also has a corresponding threshold condition.
[0055] Each parameter data in the charging state information is matched with a corresponding setting condition. When each parameter data matches the corresponding setting condition, it is determined that the charging state information satisfies the second setting condition.
[0056] As an implementation method, the difference between the current temperature T and the reference temperature T0 is used as the temperature parameter M T , satisfying the following formula:
[0057] M T =T-T0.
[0058] In the above-mentioned embodiment, the explanation about the temperature parameter is also applicable to step 201, and the principle is the same, which will not be repeated here.
[0059] Step 202 : In response to the temperature parameter being within a set first temperature difference range, a first target current is determined according to a set first charging current.
[0060] In the embodiment of the present application, the temperature parameter is compared with the set first temperature difference range, the second temperature difference range and the third temperature difference range respectively. If the temperature parameter is in the set first temperature difference range, that is, the temperature parameter is greater than the lower limit of the first temperature difference range and less than the upper limit of the first temperature difference range, then the first target current is determined according to the set first charging current. As an implementation method, the set first charging current is used as the first target current. Among them, the first charging current is the maximum current value of the charge pump charging the current, that is, the current temperature of the battery is lower than the reference temperature, that is, the current temperature of the battery is low. At this time, regardless of the temperature rise trend of the battery, the charging current can be increased to the maximum current value to achieve fast charging.
[0061] Among them, the upper limit of the first temperature difference range is smaller than the lower limit of the second temperature difference range; the upper limit of the second temperature difference range is smaller than the upper limit of the third temperature difference range. As an example, the first temperature difference range is (-∞, -10℃), the second temperature difference range is [-10℃, 10℃], and the third temperature difference range is (10℃, +∞).
[0062] The first target current C satisfies the following relationship:
[0063] C=C max Among them, C max The first charging current is set, that is, the maximum current of the charge pump to charge the battery.
[0064] Step 203: charging the battery of the terminal device according to the first target current.
[0065] The explanations in the aforementioned embodiments are also applicable to the method of this embodiment, and the principles are the same, which will not be repeated here.
[0066] In the charging control method of the embodiment of the present application, the first target current for charging the battery by the charge pump is determined based on the temperature parameters of the battery of the terminal device, so that the difference between the current temperature and the reference temperature is taken into account when determining the first target current, thereby improving the accuracy and rationality of determining the first target current. Therefore, the charge pump of the terminal device charges the battery based on the first target current, and the temperature rise of the battery of the terminal device can be suppressed and the temperature can be reduced to maintain stability.
[0067] The above-mentioned embodiments illustrate how to determine the first target current for charging the battery by the charge pump when the current adjustment parameter includes the first current parameter for charging the battery, wherein the first current parameter is also called the first current margin. The following uses different embodiments to illustrate a method for determining the first target current for charging the battery by the charge pump when the current adjustment parameter includes the first current parameter for charging the battery, the temperature parameter of the battery, and the temperature rise trend of the battery.
[0068] In the above-mentioned embodiment, it is explained how to determine the first target current when the temperature parameter is within a set first temperature difference range. The following embodiment is used to explain how to determine the first target current for charging the battery by the charge pump when the temperature parameter is within a set second temperature difference range to achieve temperature adjustment.
[0069] Based on the above embodiments, Figure 3 A flow chart of another charging control method provided in an embodiment of the present application, wherein the current adjustment parameter includes a first current parameter of the battery charging, a temperature parameter of the battery, and a temperature rise trend of the battery, such as Figure 3 As shown, the method comprises the following steps:
[0070] Step 301, in response to the current charging parameter information of the terminal device satisfying the set condition, the temperature parameter of the battery is determined according to the current temperature of the battery in the charging parameter information and the set reference temperature.
[0071] As an implementation method, the difference between the current temperature T and the reference temperature T0 is used as the temperature parameter M T , satisfying the following formula:
[0072] M T =T-T0.
[0073] Among them, the temperature parameter is also called temperature difference.
[0074] Step 302: Acquire the second target current corresponding to the previous time included in the charging parameter information, and multiple temperature values of the battery collected at multiple historical moments before the current moment.
[0075] In one scenario, if this is the first time, the second target current corresponding to the previous time is the set value.
[0076] In another scenario, if the current is not the first time, the second target current of the previous time has been determined according to the charging control method of the present application before the current time, wherein the first target current and the second target current are used to identify whether it is the current secondary target current to be determined, or the target current that has been determined before, that is, it is only used for identification.
[0077] Among them, multiple temperature values of the battery collected at multiple historical moments before the current moment are expressed as: T n ,T n-1 ,…,T n-j-1 , where j+1 is the number of acquisitions, n is greater than or equal to j+1, and the more acquisitions are made, the more accurate the trend of temperature change is.
[0078] Step 303: determining a first current parameter according to the second target current and the set second charging current.
[0079] As an implementation method, the second target current C' and the set second charging current C min The difference between C The first current parameter is also called the first current margin. The first current parameter M C Satisfies the following formula:
[0080] M C =C'-C min .
[0081] Step 304 : determining a temperature rise trend according to changes in multiple temperature values of the battery.
[0082] As a way of implementation, the temperature rise trend satisfies the following relationship:
[0083]
[0084] Among them, the first current parameter indicates the difference between the second target current determined last time and the set reference current, which is used to indicate the space and direction of current adjustment. The temperature rise trend, that is, the temperature change trend, indicates the temperature change trend of the battery of the terminal device at multiple historical moments before the current moment. The temperature change trend can be a temperature increase trend, a temperature decrease trend, or a trend in which the temperature change amount is less than a threshold, that is, a trend in which the temperature hardly changes (stable trend). The temperature rise trend can also indicate the space and direction of current adjustment.
[0085] Step 305 , in response to the temperature parameter being within the set second temperature difference range and the temperature rise trend being equal to the set threshold, determining the current first target current according to the first current parameter and the set second charging current.
[0086] The lower limit of the second temperature difference range is greater than the upper limit of the first temperature difference range. For example, the threshold is set to 1, the first temperature difference range is (-∞, -10°C), and the second temperature difference range is [-10°C, 10°C].
[0087] As an implementation method, the sum of the first current parameter and the set second charging current is used as the current first target current. It should be noted that the sum of the first current parameter and the set second charging current is the second target current value C' determined last time, that is, the second target current value is used as the current first target current C, where C = C' = C min +M C .
[0088] That is to say, when the temperature parameter is in the set second temperature difference range and the temperature rise trend is equal to the set threshold value, since the difference between the current battery temperature and the reference temperature is in the second temperature difference range, the second temperature difference range is also called the normal temperature difference range, indicating that the difference between the current battery temperature and the reference temperature is not very large. At the same time, the temperature rise trend is equal to the set threshold value, which indicates that there is almost no temperature rise trend. The second target current determined last time can be maintained to continue charging the battery, and the battery temperature is regulated to avoid excessive battery temperature.
[0089] Step 306: charging the battery of the terminal device according to the first target current.
[0090] The explanations in the aforementioned embodiments are also applicable to the method of this embodiment, and the principles are the same, which will not be repeated here.
[0091] The charging control method of the embodiment of the present application determines the current first target current according to the first current parameter and the set second charging current in response to the temperature parameter being in the set second temperature difference range and the temperature rise trend being equal to the set threshold. When determining the first target current, the current temperature parameter, the first current parameter (also called the first current margin) and the temperature rise trend are taken into account, thereby improving the accuracy of determining the first target current, so that the charge pump of the terminal device charges the battery based on the first target current, thereby achieving the regulation of the battery temperature in this scenario, which will not cause the battery temperature to be too high and can improve the charging efficiency at the same time.
[0092] Based on the above embodiments, the embodiments of the present application provide another charging control method, wherein the current adjustment parameters include a first current parameter of the battery charging, a temperature parameter of the battery, and a temperature rise trend of the battery. Figure 4A A flow chart of another charging control method provided in an embodiment of the present application is shown as follows: Figure 4A As shown, the method comprises the following steps:
[0093] Step 401, in response to the current charging parameter information of the terminal device satisfying the set condition, a current adjustment parameter of the charge pump of the current terminal device for charging the battery is determined according to the charging parameter information.
[0094] The current adjustment parameters include a first current parameter of the battery charging, a temperature parameter of the battery, and a temperature rise trend of the battery.
[0095] Step 402 , in response to the temperature parameter being within a set second temperature difference range and the temperature rise trend being less than a set threshold, obtaining a first adjustment coefficient of a first current parameter.
[0096] The first adjustment coefficient is used to adjust the magnitude of the first current parameter. The value of the first adjustment coefficient can be any value between 1 and 9.
[0097] The related explanations in the aforementioned embodiments are also applicable to step 401 and step 402, and the principles are the same, which will not be described again here.
[0098] Step 403: Determine the previous charging efficiency value according to the second target current and the charging efficiency curve corresponding to the charge pump.
[0099] The charging efficiency curve indicates the mapping relationship between the charging current and charging efficiency of the charge pump for charging the battery. Different charge pumps have corresponding charging efficiency curves. When the charging current is determined, the charging power corresponding to the charging current can be determined according to the functional relationship corresponding to the efficiency curve.
[0100] As an implementation method, the charging efficiency curve can be predetermined, that is, the terminal device constructs the charging efficiency curve of the charge pump charging path according to the charge pump selection and hardware layout design, also known as the efficiency-current polynomial function model E(i), and selects the starting charging current C0. As an example, Figure 4B As shown, the current value corresponding to the peak point of the function curve efficiency is selected as C0.
[0101] E(i)=ω n ·i n +ω n-1 ·i n-1 +…+ω1·i+ω0;
[0102] Where i is the battery charging current, ω n ,ω n-1 ,…,ω0 are the polynomial constant coefficients.
[0103] As an implementation method, the second target current determined last time is substituted into the formula corresponding to the above-mentioned charging efficiency curve, that is, the efficiency-current polynomial function model E(i), and the last charging efficiency value can be obtained.
[0104] Step 404, adjusting the first current parameter according to the first adjustment coefficient, the previous charging efficiency value and the set charging efficiency value to obtain an adjusted second current parameter.
[0105] Wherein, the second current parameter satisfies the following formula:
[0106]
[0107] The first adjustment coefficient is α, the previous charging efficiency value is E(C'), the set charging efficiency value is E(C0), C0 is the set starting charging current, and ΔE(C')=E(C0)-E(C').
[0108] Step 405: determine a first target current according to the set second charging current and second current parameter.
[0109] As an example, the first target current C satisfies the following relationship:
[0110]
[0111] Among them, C min is the set second charging current.
[0112] In the embodiment of the present application, in response to the temperature parameter being in the set second temperature difference range, and the temperature rise trend being less than the set threshold, it indicates that the difference between the current battery temperature and the reference temperature is in the second temperature difference range, and the second temperature difference range is also called the normal temperature difference range, indicating that the difference between the current battery temperature and the reference temperature is not very large, that is, the battery temperature is not very high, and the temperature rise trend is less than the set threshold, indicating that the current battery temperature has no trend of continuing to rise, but a downward trend. Therefore, it is necessary to multiply the first current parameter based on the first adjustment coefficient and the charging efficiency value to increase the value of the first current parameter to obtain the second current parameter, that is, the value of the second current parameter is significantly greater than the first current parameter. Thus, the first target current is obtained by adding the second current parameter and the set second charging current. The first target current currently obtained is significantly greater than the second target current determined last time, so that the current charge pump uses the first target current to charge the battery, appropriately increases the temperature, and realizes the improvement of charging efficiency while considering the temperature increase, and achieves a balance between temperature control and charging efficiency.
[0113] Step 406: charging the battery of the terminal device according to the first target current.
[0114] The explanations in the aforementioned embodiments are also applicable to the method of this embodiment, and the principles are the same, which will not be repeated here.
[0115] The charging control method of the embodiment of the present application can dynamically adjust the charging current in response to the current charging parameter information of the terminal device meeting the set conditions, obtain the first adjustment coefficient of the first current parameter and the charging efficiency curve of the charge pump in response to the temperature parameter being in the set second temperature difference range and the temperature rise trend being less than the set threshold, determine the previous charging efficiency value according to the second target current and the charging efficiency curve corresponding to the charge pump, adjust the first current parameter according to the first adjustment coefficient, the previous charging efficiency value and the set charging efficiency value, obtain the adjusted second current parameter, and determine the first target current according to the set second charging current and the second current parameter. When determining the first target current, the current temperature parameter, current parameter and temperature rise trend are taken into account, and the accuracy of determining the first target current is improved, so that the charge pump of the terminal device charges the battery based on the first target current, realizes the adjustment of the battery temperature in this scenario, and realizes high temperature suppression and low temperature stabilization. In the process of charging current regulation, the charging efficiency corresponding to each charging current is determined based on the charging efficiency curve of the charge pump. The charging efficiency can be considered while considering temperature regulation, so that the first target current determined by the current charge pump to charge the battery takes the charging efficiency into consideration, thereby achieving a balance between charging speed and charging temperature control to improve the charging effect.
[0116] Based on the above embodiments, the embodiments of the present application provide another charging control method, wherein the current adjustment parameters include a first current parameter of the battery charging, a temperature parameter of the battery, and a temperature rise trend of the battery. Figure 5 A flow chart of another charging control method provided in an embodiment of the present application is shown as follows: Figure 5 As shown, the method comprises the following steps:
[0117] Step 501, in response to the current charging parameter information of the terminal device satisfying the set condition, a current adjustment parameter of the charge pump of the current terminal device for charging the battery is determined according to the charging parameter information.
[0118] The current adjustment parameters include a first current parameter of the battery charging, a temperature parameter of the battery, and a temperature rise trend of the battery.
[0119] Step 502 , in response to the temperature parameter being within a set second temperature difference range and the temperature rise trend being greater than a set threshold, obtaining a second adjustment coefficient of the first current parameter.
[0120] The second adjustment coefficient is used to adjust the magnitude of the first current parameter. The value of the second adjustment coefficient can be any value between 1 and 9.
[0121] Step 503: Determine the previous charging efficiency value according to the second target current and the charging efficiency curve corresponding to the charge pump.
[0122] Among them, steps 501 to 503 can be carried out according to the relevant explanations in the previous embodiments, and the principles are the same, so they will not be repeated here.
[0123] Step 504, adjusting the first current parameter according to the second adjustment coefficient, the previous charging efficiency value and the set charging efficiency value to obtain an adjusted third current parameter.
[0124] Wherein, the third current parameter satisfies the following formula:
[0125]
[0126] The second adjustment coefficient is β, the previous charging efficiency value is E(C'), the set charging efficiency value is E(C0), C0 is the set starting charging current, and ΔE(C')=E(C0)-E(C').
[0127] Step 505: determine a first target current according to the set second charging current and third current parameter.
[0128] As an example, the first target current C satisfies the following relationship:
[0129]
[0130] Among them, C min is the set second charging current.
[0131] In the embodiment of the present application, when the temperature parameter is in the set second temperature difference range, and the temperature rise trend is greater than the set threshold, it means that the difference between the current temperature of the battery and the reference temperature is in the second temperature difference range, and the second temperature difference range is also called the normal temperature difference range, indicating that the difference between the current temperature of the battery and the reference temperature is not very large, and the temperature rise trend is greater than the set threshold, indicating that the current temperature of the battery has a trend of continuing to rise. Therefore, it is necessary to multiply the first current parameter based on the second adjustment coefficient and the charging efficiency value to reduce the value of the first current parameter to obtain a third current parameter, that is, the value of the third current parameter is less than the first current parameter. Thus, the third current parameter and the set second charging current are added to obtain the first target current, and the currently determined first target current is less than the second target current determined the previous time, so that the first target current satisfies the current requirement of the charge pump test charging, and can reduce the battery temperature at the same time. Therefore, the first target current determined in this scenario not only takes into account the temperature parameters, current margin and temperature rise of the battery, but also takes into account the charging efficiency, thereby improving the accuracy of the first charging current determination in this scenario. Therefore, the first charging current determined in this scenario can not only adjust the battery temperature, but also take the charging efficiency into consideration, thereby achieving a balance between the charging speed and the charging temperature control, so as to improve the charging effect.
[0132] Step 506: charging the battery of the terminal device according to the first target current.
[0133] Among them, step 506 can refer to the explanation in the above-mentioned embodiment, and the principle is the same, which will not be repeated here.
[0134] In the charging control method of the embodiment of the present application, in response to the current charging parameter information of the terminal device satisfying the set conditions, the charging current can be dynamically adjusted, wherein the current temperature parameters, current margin and temperature rise trend are taken into account when determining the first target current for charging the battery, thereby improving the accuracy of determining the first target current, so that the charge pump of the terminal device charges the battery based on the first target current, thereby achieving the regulation of the battery temperature in this scenario, achieving high temperature suppression and low temperature stabilization. In the process of adjusting the charging current, based on the charging efficiency curve of the charge pump, the charging efficiency corresponding to each charging current is determined, and the charging efficiency can be considered while considering the temperature regulation, so that the first target current determined by the current charge pump for charging the battery takes the charging efficiency into account, achieving a balance between the charging speed and the charging temperature control, so as to improve the charging effect.
[0135] In the above-mentioned embodiment, it is explained how to determine the first target current when the temperature parameter is within the set first temperature difference range and the set second temperature difference range. The following embodiment is used to explain how to determine the first target current of the charge pump to charge the battery when the temperature parameter is within the set third temperature difference range to achieve temperature adjustment.
[0136] Based on the above embodiments, the embodiments of the present application provide another charging control method, wherein the current adjustment parameters include a first current parameter of the battery charging, a temperature parameter of the battery, and a temperature rise trend of the battery. Figure 6 A flow chart of another charging control method provided in an embodiment of the present application is shown as follows: Figure 6 As shown, the method comprises the following steps:
[0137] Step 601, in response to the current charging parameter information of the terminal device satisfying the set condition, a current adjustment parameter of the charge pump of the current terminal device for charging the battery is determined according to the charging parameter information.
[0138] The current adjustment parameters include a first current parameter of the battery charging, a temperature parameter of the battery, and a temperature rise trend of the battery.
[0139] Among them, step 601 can refer to the explanation in the above-mentioned embodiment, and the principle is the same, which will not be repeated here.
[0140] Step 602, in response to the temperature parameter being within a set third temperature difference range and the temperature rise trend being less than a set threshold, determining a current first target current according to the first current parameter and a set second charging current.
[0141] In the embodiment of the present application, when the temperature parameter is within the set third temperature difference range and the temperature rise trend is less than the set threshold value, although the current temperature of the battery is greater than the reference temperature value, the temperature rise trend is decreasing, that is, in the process of charging the battery with the second target current determined last time, there is no increase trend in the battery temperature, so the second target current C' determined last time can be continued to be used to continue charging the battery, that is, the sum of the first current parameter and the set second charging current is used as the current first target current C, where C=C'=C min +M C .
[0142] Step 603: charging the battery of the terminal device according to the first target current.
[0143] Among them, step 603 can refer to the explanation in the above-mentioned embodiment, and the principle is the same, which will not be repeated here.
[0144] In the charging control method of the embodiment of the present application, the current temperature parameters, current margin and temperature rise trend are taken into consideration when determining the first target current, thereby improving the accuracy of determining the first target current. As a result, the charge pump of the terminal device charges the battery based on the first target current, thereby achieving battery temperature regulation in this scenario, which will not cause the battery temperature to be too high and can improve the charging efficiency.
[0145] Based on the above embodiments, the embodiments of the present application provide another charging control method, wherein the current adjustment parameters include a first current parameter of the battery charging, a temperature parameter of the battery, and a temperature rise trend of the battery. Figure 7 A flow chart of another charging control method provided in an embodiment of the present application is shown as follows: Figure 7 As shown, the method comprises the following steps:
[0146] Step 701, in response to the current charging parameter information of the terminal device satisfying the set condition, a current adjustment parameter of the charge pump of the current terminal device for charging the battery is determined according to the charging parameter information.
[0147] The current adjustment parameters include a first current parameter of the battery charging, a temperature parameter of the battery, and a temperature rise trend of the battery.
[0148] Step 702 , in response to the temperature parameter being within a set third temperature difference range and the temperature rise trend being greater than or equal to a set threshold, obtaining a third adjustment coefficient of the first current parameter.
[0149] The third adjustment coefficient is used to adjust the magnitude of the first current parameter. The value of the third adjustment coefficient can be any value between 1 and 9.
[0150] Step 703 , determining the last charging efficiency value according to the second target current determined last time and the charging efficiency curve corresponding to the charge pump.
[0151] The relevant explanations in the aforementioned embodiments are also applicable to steps 701 to 703, and the principles are the same, which will not be repeated here.
[0152] Step 704: adjusting the first current parameter according to the third adjustment coefficient, the previous charging efficiency value and the set charging efficiency value to obtain an adjusted fourth current parameter.
[0153] Wherein, the fourth current parameter satisfies the following formula:
[0154]
[0155] The third adjustment coefficient is γ, the previous charging efficiency value is E(C'), the set charging efficiency value is E(C0), C0 is the set starting charging current, and ΔE(C')=E(C0)-E(C').
[0156] Step 705: determine a first target current according to the set second charging current and fourth current parameter.
[0157] As an example, the first target current C satisfies the following relationship:
[0158]
[0159] Among them, C min is the set second charging current.
[0160] In the embodiment of the present application, when the temperature parameter is in the set third temperature difference range, and the temperature rise trend is greater than or equal to the set threshold, it means that the difference between the current temperature of the battery and the reference temperature is in the third temperature difference range, and the third temperature difference range is also called the high temperature difference range, indicating that the difference between the current battery temperature and the reference temperature is large, and the temperature rise trend is greater than or equal to the set threshold, indicating that the current battery temperature is much higher than the reference temperature, and there is a trend of continuing to rise, therefore, it is necessary to reduce the value of the first current parameter to obtain the fourth current parameter, and add the fourth current parameter to the set second charging current to obtain the first target current, the difference between the currently obtained first target current and the set second charging current is small, so as to meet the current requirement of the charge pump charging, and the lower first target current can reduce the temperature of the battery, therefore, the first target current determined in the current scenario not only considers the temperature parameters, current margin and temperature rise of the battery, but also considers the charging efficiency, thereby improving the accuracy of the first charging current determination in the scenario. Thus, the first charging current determined in the scenario can not only adjust the battery temperature, but also consider the charging efficiency, achieve the balance between the charging speed and the charging temperature control, and improve the charging effect.
[0161] Step 706: charging the battery of the terminal device according to the first target current.
[0162] Among them, step 706 can refer to the explanation in the above-mentioned embodiment, and the principle is the same, which will not be repeated here.
[0163] In the charging control method of the embodiment of the present application, when the temperature parameter is in the set third temperature difference range and the temperature rise trend is greater than or equal to the set threshold, it means that the difference between the current temperature of the battery and the reference temperature is in the third temperature difference range, and the third temperature difference range is also called the high temperature difference range, indicating that the difference between the current temperature of the battery and the reference temperature is large, and the temperature rise trend is greater than or equal to the set threshold, indicating that the current temperature of the battery is much higher than the reference temperature, and there is a trend of continuing to rise. Therefore, it is necessary to reduce the value of the first current parameter to obtain the fourth current parameter, so that the difference between the first target current obtained by adding the fourth current parameter and the set second charging current and the set second charging current is small, so as to meet the current requirement of the charge pump charging, and at the same time, the lower first target current can reduce the temperature of the battery. Therefore, the first target current determined in the current scenario not only takes into account the temperature parameters, current margin and temperature rise of the battery, but also takes into account the charging efficiency, thereby improving the accuracy of the first charging current determination in the scenario. Therefore, the first charging current determined in the scenario can not only adjust the battery temperature, but also take into account the charging efficiency, achieve the balance between the charging speed and the charging temperature control, and improve the charging effect.
[0164] Based on the above embodiment, Table 1 shows the formula for determining the first target temperature in various scenarios:
[0165] Table 1
[0166]
[0167] As an example, as shown in Table 1, taking the third adjustment coefficient γ as an example, the value range of γ is [1, 9].
[0168] In the scenario, when the temperature parameter is within the set third temperature difference range, when the temperature rise trend is stable or rising (S t ≥1), if rapid temperature suppression is required, γ can be set to 9. If the second target charging current value set previously is larger, then the deviation of the first current parameter calculated based on the third adjustment coefficient, the previous charging efficiency value and the set charging efficiency value is
[0169] The charge coefficient will be very small, so the first target current set this time is approximately the second charging current set, that is, the current minimum threshold value C min , so that under the action of the first target current, the temperature rise trend will quickly turn into a decrease (S t <1) to enter the normal reference temperature range (M t -normal).
[0170] In another scenario, when the temperature parameter is within the set third temperature difference range, when the temperature rise trend is stable or rising (St ≥1), if the temperature is to be slowly suppressed, γ can be set to 4, and the bias coefficient of the first current parameter calculated according to the third adjustment coefficient, the previous charging efficiency value and the set charging efficiency value changes moderately. The first target current set this time is reduced by about 20% to 80% in proportion to the previous setting value. In this way, the direction of temperature rise trend control remains unchanged and gradually enters the normal reference temperature difference range (Mt-normal).
[0171] It should be noted that in the embodiment of the present application, the charging status information of the current terminal device can be periodically obtained. If the charging specification information of the current terminal device does not meet the first setting condition, or the charging status information does not meet the second setting condition, the dynamic adjustment process of the first target current in the above embodiment will not be performed, and the ordinary charging temperature rise control in the related technology will be performed.
[0172] In order to implement the above embodiment, the embodiment of the present application also proposes a charging control device.
[0173] Figure 8 A schematic diagram of the structure of a charging control device provided in an embodiment of the present application.
[0174] like Figure 8 As shown, the device may include:
[0175] A first determination module 81 is used to determine, in response to the current charging parameter information of the terminal device satisfying the set condition, a current adjustment parameter of the charge pump of the current terminal device charging the battery according to the charging parameter information;
[0176] A second determination module 82 is used to determine a first target current for the charge pump to charge the battery at present according to at least a temperature parameter of the battery included in the current adjustment parameter; the temperature parameter is determined according to a current temperature of the battery in the charging parameter information and a set reference temperature;
[0177] The charging module 83 is used to charge the battery of the terminal device according to the first target current.
[0178] Further, in an implementation of the embodiment of the present application, the second determining module 82 is specifically configured to:
[0179] In response to the temperature parameter being within a set first temperature difference range, the first target current is determined according to a set first charging current.
[0180] In an implementation of the embodiment of the present application, the current adjustment parameter also includes a first current parameter and a temperature rise trend of the battery charging, and the first determination module 81 is specifically configured to:
[0181] Acquire the second target current corresponding to the previous time included in the charging parameter information, and multiple temperature values of the battery collected at multiple historical moments before the current moment;
[0182] Determining the first current parameter according to the second target current and a set second charging current; wherein the second charging current is less than the first charging current;
[0183] The temperature rise trend is determined according to changes in the multiple temperature values.
[0184] In an implementation of the embodiment of the present application, the second determining module 82 is specifically configured to:
[0185] In response to the temperature parameter being in a set second temperature difference range and the temperature rise trend being equal to a set threshold, the current first target current is determined according to the first current parameter and the set second charging current; wherein the lower limit of the second temperature difference range is greater than the upper limit of the first temperature difference range.
[0186] In an implementation of the embodiment of the present application, the second determining module 82 is specifically configured to:
[0187] In response to the temperature parameter being within a set second temperature difference range and the temperature rise trend being less than a set threshold, obtaining a first adjustment coefficient of the first current parameter;
[0188] determining a previous charging efficiency value according to the second target current and a charging efficiency curve corresponding to the charge pump;
[0189] According to the first adjustment coefficient, the previous charging efficiency value and the set charging efficiency value, the first current parameter is adjusted to obtain an adjusted second current parameter;
[0190] The first target current is determined according to the set second charging current and the second current parameter.
[0191] In an implementation of the embodiment of the present application, the second determining module 82 is specifically configured to:
[0192] In response to the temperature parameter being within the second temperature difference range and the temperature rise trend being greater than a set threshold, obtaining a second adjustment coefficient of the first current parameter;
[0193] adjusting the first current parameter according to the second adjustment coefficient, the previous charging efficiency value and the set charging efficiency value to obtain an adjusted third current parameter;
[0194] The first target current is determined according to the set second charging current and the third current parameter.
[0195] In an implementation of the embodiment of the present application, the second determining module 82 is specifically configured to:
[0196] In response to the temperature parameter being in a set third temperature difference range and the temperature rise trend being less than a set threshold, the current first target current is determined according to the first current parameter and the set second charging current; wherein the lower limit of the third temperature difference range is greater than the upper limit of the second temperature difference range.
[0197] In an implementation of the embodiment of the present application, the second determining module 82 is specifically configured to:
[0198] In response to the temperature parameter being within a set third temperature difference range and the temperature rise trend being greater than or equal to the set threshold, obtaining a third adjustment coefficient of the first current parameter;
[0199] Determining a previous charging efficiency value according to the second target current determined last time and a charging efficiency curve corresponding to the charge pump;
[0200] adjusting the first current parameter according to the third adjustment coefficient, the previous charging efficiency value and the set charging efficiency value to obtain an adjusted fourth current parameter;
[0201] The first target current is determined according to the set second charging current and the fourth current parameter.
[0202] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment and will not be repeated here.
[0203] In the charging control device of the embodiment of the present application, in response to the current charging parameter information of the terminal device satisfying the set conditions, the current adjustment parameter of the charge pump of the current terminal device for charging the battery is determined according to the charging parameter information, and the first target current for the current charge pump to charge the battery is determined at least according to the temperature parameter of the battery included in the current adjustment parameter, and the battery of the terminal device is charged according to the first target current. The first target current for the charge pump to charge the battery is determined based on the temperature parameter of the battery of the terminal device, so that the difference between the current temperature and the reference temperature is taken into account when determining the first target current, so that the charge pump of the terminal device charges the battery based on the first target current, and the temperature rise of the battery of the terminal device can be suppressed and the temperature can be reduced to maintain stability.
[0204] In order to implement the above embodiments, the present application also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the above method embodiments is implemented.
[0205] In order to implement the above embodiments, the present application also proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in the above method embodiments is implemented.
[0206] In order to implement the above embodiments, the present application also proposes a computer program product on which a computer program is stored. When the computer program is executed by a processor, the method described in the above method embodiments is implemented.
[0207] Fig. 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0208] Reference Fig. 9 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0209] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0210] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0211] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
[0212] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0213] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0214] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0215] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0216] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0217] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0218] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0219] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0220] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0221] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0222] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0223] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0224] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0225] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0226] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A charging control method, characterized in that: include: In response to the current charging parameter information of the terminal device satisfying the set condition, determining the current adjustment parameter of the charge pump of the terminal device for charging the battery according to the charging parameter information; Determine a first target current for the charge pump to charge the battery at present according to at least a temperature parameter of the battery included in the current adjustment parameter; The temperature parameter is determined according to the current temperature of the battery in the charging parameter information and a set reference temperature; The battery of the terminal device is charged according to the first target current.
2. The method according to claim 1, characterized in that The determining, at least according to the temperature parameter of the battery included in the current adjustment parameter, a first target current for the charge pump to charge the battery, comprises: In response to the temperature parameter being within a set first temperature difference range, the first target current is determined according to a set first charging current.
3. The method according to claim 1, characterized in that The current adjustment parameter also includes a first current parameter and a temperature rise trend of the battery charging. The current adjustment parameter of the charge pump of the current terminal device for charging the battery is determined according to the charging parameter information, including: Acquire the second target current corresponding to the previous time included in the charging parameter information, and multiple temperature values of the battery collected at multiple historical moments before the current moment; Determining the first current parameter according to the second target current and a set second charging current; wherein the second charging current is less than the first charging current; The temperature rise trend is determined according to changes in the multiple temperature values.
4. The method according to claim 3, characterized in that The determining, at least according to the temperature parameter of the battery included in the current adjustment parameter, a first target current for the charge pump to charge the battery, comprises: In response to the temperature parameter being in a set second temperature difference range and the temperature rise trend being equal to a set threshold, the current first target current is determined according to the first current parameter and the set second charging current; wherein the lower limit of the second temperature difference range is greater than the upper limit of the first temperature difference range.
5. The method according to claim 3, characterized in that The determining, at least according to the temperature parameter of the battery included in the current adjustment parameter, a first target current for the charge pump to charge the battery, comprises: In response to the temperature parameter being within a set second temperature difference range and the temperature rise trend being less than a set threshold, obtaining a first adjustment coefficient of the first current parameter; determining a previous charging efficiency value according to the second target current and a charging efficiency curve corresponding to the charge pump; According to the first adjustment coefficient, the previous charging efficiency value and the set charging efficiency value, the first current parameter is adjusted to obtain an adjusted second current parameter; The first target current is determined according to the set second charging current and the second current parameter.
6. The method according to claim 5, characterized in that The determining, at least according to the temperature parameter of the battery included in the current adjustment parameter, a first target current for the charge pump to charge the battery, comprises: In response to the temperature parameter being in the second temperature difference range and the temperature rise trend being greater than the set threshold, obtaining a second adjustment coefficient of the first current parameter; adjusting the first current parameter according to the second adjustment coefficient, the previous charging efficiency value and the set charging efficiency value to obtain an adjusted third current parameter; The first target current is determined according to the set second charging current and the third current parameter.
7. The method according to claim 3, characterized in that The determining, at least according to the temperature parameter of the battery included in the current adjustment parameter, a first target current for the charge pump to charge the battery, comprises: In response to the temperature parameter being in a set third temperature difference range and the temperature rise trend being less than a set threshold, the current first target current is determined according to the first current parameter and the set second charging current; wherein the lower limit of the third temperature difference range is greater than the upper limit of the second temperature difference range.
8. The method according to claim 7, characterized in that The determining, at least according to the temperature parameter of the battery included in the current adjustment parameter, a first target current for the charge pump to charge the battery, comprises: In response to the temperature parameter being within a set third temperature difference range and the temperature rise trend being greater than or equal to the set threshold, obtaining a third adjustment coefficient of the first current parameter; Determining a previous charging efficiency value according to the second target current determined last time and a charging efficiency curve corresponding to the charge pump; adjusting the first current parameter according to the third adjustment coefficient, the previous charging efficiency value and the set charging efficiency value to obtain an adjusted fourth current parameter; The first target current is determined according to the set second charging current and the fourth current parameter.
9. A charging control device, characterized in that: include: A first determination module, configured to determine, in response to the current charging parameter information of the terminal device satisfying a set condition, a current adjustment parameter for a charge pump of the terminal device to charge a battery according to the charging parameter information; A second determination module, configured to determine a first target current for the charge pump to charge the battery at present according to at least a temperature parameter of the battery included in the current adjustment parameter; The temperature parameter is determined according to the current temperature of the battery in the charging parameter information and a set reference temperature; A charging module is used to charge the battery of the terminal device according to the first target current.
10. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
11. A non-transitory computer-readable storage medium, characterized in that: A computer program is stored thereon, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.