Charging control parameter determination method and device, electronic device and storage medium

By analyzing battery charging test data, the coefficient range of the charging control parameters was determined, and the PID controller was used to optimize the charging efficiency and temperature, solving the battery overheating problem caused by high-current charging and achieving efficient and safe battery charging.

CN114362294BActive Publication Date: 2025-09-09BEIJING XIAOMI MOBILE SOFTWARE CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111570734.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2025-09-09
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

In the prior art, determining battery charging parameters requires a large amount of calculation, and high-current charging may cause the battery to overheat and shorten the battery life.

Method used

By performing a charging test on the test battery, obtaining test data, selecting a specific data combination, determining the value ranges of the first coefficient, the second coefficient, and the third coefficient in the charging control parameters, and using a PID controller to optimize charging efficiency and temperature control.

Benefits of technology

The calculation of charging parameters is reduced, charging efficiency and temperature control are optimized, and the battery life is extended.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114362294B_ABST
    Figure CN114362294B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method and device for determining and processing charging control parameters, an electronic device, and a storage medium. The charging control parameter determination method includes: performing a charging test on a test battery to obtain test data, wherein the test data includes: charging current, the time point when the battery temperature reaches a first threshold, and the maximum battery temperature; selecting first data from a first category of test data and selecting second data from a second category of test data, wherein the first category of data is: test data in which the maximum battery temperature is not less than a second threshold; the second category of data is: test data in which the maximum battery temperature is less than the second threshold; determining a value range of a first coefficient in the charging control parameter based on the first data and the second data; determining the values ​​of the first coefficient, the second coefficient, and the third coefficient based on the value range of the first coefficient and the functional relationship between the first coefficient, the second coefficient, and the third coefficient in the charging control parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of electronic technology, and in particular to a method and device for determining and processing charging control parameters, an electronic device, and a storage medium. Background Art

[0002] Mobile devices operate using stored energy from batteries. After a battery is discharged, it needs to be recharged. While continuous high-current charging generally achieves high charging efficiency and quickly fills the battery, continuous high-current charging can cause the battery to overheat. This prolonged overheating can shorten the battery's lifespan.

[0003] Therefore, various parameters for controlling battery charging have been proposed in the related art, but the amount of calculation required to determine these charging parameters is extremely large. Summary of the Invention

[0004] The present disclosure provides a method and device for determining charging control parameters, an electronic device, and a storage medium.

[0005] A first aspect of an embodiment of the present disclosure provides a method for determining a charging control parameter, the method comprising:

[0006] Performing a charging test on the test battery to obtain test data, wherein the test data includes: a charging current, a time point when the battery temperature reaches a first threshold, and a maximum battery temperature;

[0007] Selecting first data from the first category of test data and selecting second data from the second category of test data, wherein the first category of test data is test data in which the maximum battery temperature is not less than a second threshold; the second category of test data is test data in which the maximum battery temperature is less than the second threshold; the first data is the first category of test data in which the difference between the maximum battery temperature and the second threshold is the smallest; the second data is the second category of test data in which the difference between the maximum battery temperature and the second threshold is the smallest;

[0008] determining a value range of a first coefficient in a charging control parameter according to the first data and the second data;

[0009] The values ​​of the first coefficient, the second coefficient and the third coefficient are determined according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient and the third coefficient in the charging control parameter.

[0010] Based on the above solution, the first data includes: a first current value and a first time point when the battery temperature reaches the first threshold; the second data includes: a second current value and a second time point when the battery temperature reaches the first threshold;

[0011] The determining, based on the first data and the second data, a value range of a first coefficient in a charging control parameter includes:

[0012] determining a lower limit of the first coefficient according to the first time point and the first current value;

[0013] An upper limit of the first coefficient is determined according to the second time point and the second current value.

[0014] Based on the above solution, the test data further includes: third data; wherein the third data at least includes: a third time point when the battery temperature reaches the first threshold value during the charging test according to the maximum charging current;

[0015] The determining the value ranges of the second coefficient and the third coefficient according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient, and the third coefficient in the charging control parameter includes:

[0016] The values ​​of the first coefficient, the second coefficient, and the third coefficient are determined according to the value range of the first coefficient, the maximum charging current, and the third time point.

[0017] Based on the above solution, determining the values ​​of the first coefficient, the second coefficient, and the third coefficient according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient, and the third coefficient in the charging control parameter includes:

[0018] Determining the value ranges of the second coefficient and the third coefficient according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient and the third coefficient;

[0019] Based on the value ranges of the first coefficient, the second coefficient, and the third coefficient, iterative optimization is performed with the optimization objectives of maximizing charging efficiency and / or minimizing fluctuations in the maximum charging temperature. Iterative optimization is performed with the optimization objectives of maximizing charging efficiency and / or minimizing fluctuations in the maximum charging temperature to determine one or more sets of target values ​​for the first coefficient, the second coefficient, and the third coefficient. Based on the above solution, the first coefficient is the integral coefficient of a proportional-integral-differential (PID) controller.

[0020] The second coefficient is a proportional coefficient of the PID controller and the third coefficient is a differential coefficient of the PID controller;

[0021] or,

[0022] The second coefficient is a differential coefficient of the PID controller and the third coefficient is a proportional coefficient of the PID controller.

[0023] A second aspect of the present disclosure provides a charging control method, the method comprising:

[0024] Detect battery temperature;

[0025] When the battery temperature reaches a first threshold, the charging current is determined using the control parameters provided by the charging control parameter determination method provided by any of the aforementioned technical solutions, with the charging efficiency maximized while the battery temperature is not higher than a second threshold as the control objective;

[0026] The battery is charged according to the charging current.

[0027] Based on the above solution, the method further includes:

[0028] In a first charging stage, charging the battery according to a maximum charging current;

[0029] When the battery temperature reaches the first threshold, determining to enter the second charging stage, wherein the aforementioned control parameter is used to determine the charging current of the second charging stage;

[0030] When the battery temperature reaches the second threshold, the first charging stage is exited and the second charging stage is entered.

[0031] According to a third aspect of the present disclosure, a device for determining a charging control parameter is provided, the device comprising:

[0032] a test module, configured to perform a charging test on a test battery to obtain test data, wherein the test data includes: a charging current, a time point when the battery temperature reaches a first threshold, and a maximum battery temperature;

[0033] a selection module configured to select first data from a first category of the test data and second data from a second category of the test data, wherein the first category of data is test data in which the maximum battery temperature is not less than a second threshold; the second category of data is test data in which the maximum battery temperature is less than the second threshold; the first data is the first category of data in which the difference between the maximum battery temperature and the second threshold is the smallest; and the second data is the second category of data in which the difference between the maximum battery temperature and the second threshold is the smallest;

[0034] a first determining module, configured to determine a value range of a first coefficient in a charging control parameter according to the first data and the second data;

[0035] The second determination module is used to determine the values ​​of the first coefficient, the second coefficient and the third coefficient according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient and the third coefficient in the charging control parameter.

[0036] Based on the above solution, the first data includes: a first current value and a first time point when the battery temperature reaches the first threshold; the second data includes: a second current value and a second time point when the battery temperature reaches the first threshold;

[0037] The first determining module is specifically configured to determine a lower limit of the first coefficient according to the first time point and the first current value;

[0038] An upper limit of the first coefficient is determined according to the second time point and the second current value.

[0039] Based on the above solution, the test data further includes: third data; wherein the third data at least includes: a third time point when the battery temperature reaches the first threshold value during the charging test according to the maximum charging current;

[0040] The second determination module is specifically configured to determine the values ​​of the first coefficient, the second coefficient, and the third coefficient according to the value range of the first coefficient, the maximum charging current, and the third time point.

[0041] Based on the above scheme, the second determination module is specifically used to determine the value range of the second coefficient and the third coefficient according to the value range of the first coefficient and the functional relationship between the first coefficient, the second coefficient and the third coefficient; according to the value range of the first coefficient, the second coefficient and the third coefficient, iterative optimization is performed with the highest charging efficiency and / or the minimum fluctuation of the maximum charging temperature as the optimization goal, and one or more groups of target values ​​of the first coefficient, the second coefficient and the third coefficient are determined.

[0042] Based on the above solution, the first coefficient is the integral coefficient of the proportional-integral-differential (PID) controller;

[0043] The second coefficient is a proportional coefficient of the PID controller and the third coefficient is a differential coefficient of the PID controller;

[0044] or,

[0045] The second coefficient is a differential coefficient of the PID controller and the third coefficient is a proportional coefficient of the PID controller.

[0046] A fourth aspect of the present disclosure provides a charging control device, the device comprising:

[0047] Detection module, used to detect battery temperature;

[0048] a parameter module, configured to determine the charging current by using the control parameters provided by the charging control parameter determination method provided by any of the aforementioned technical solutions, with the goal of maximizing the charging efficiency while the battery temperature is not higher than a second threshold when the battery temperature reaches a first threshold;

[0049] A control module is used to charge the battery according to the charging current.

[0050] Based on the above solution, the device further includes:

[0051] a first charging module, configured to charge the battery according to a maximum charging current in a first charging stage;

[0052] a second charging module, configured to determine to enter a second charging stage when the battery temperature reaches the first threshold, wherein the control parameter is used to determine a charging current in the second charging stage;

[0053] The third charging module is configured to exit the third charging stage and enter a third charging stage when the battery temperature reaches the second threshold.

[0054] According to a fifth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0055] a memory for storing processor-executable instructions;

[0056] a processor connected to the memory;

[0057] The processor is configured to execute the method provided by any technical solution of the first aspect or the second aspect.

[0058] According to the sixth aspect of the embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, which, when the instructions in the storage medium are executed by the processor of a computer, enables the computer to execute the method provided by any technical solution of the aforementioned first aspect or second aspect.

[0059] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:

[0060] In the technical solution provided by the embodiment of the present disclosure, when determining the charging parameters, the value range of the first coefficient is first roughly determined through several sets of test parameters, and the value ranges of the second coefficient and the third coefficient are determined within the value range of the first coefficient, so that the first coefficient, the second coefficient and the third coefficient are optimized and iterated within a larger range, narrowing the search range from the first coefficient to the third coefficient and reducing the amount of calculation for determining the values ​​of the first coefficient to the third coefficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0062] Figure 1 is a flow chart illustrating a method for determining charging control parameters according to an exemplary embodiment;

[0063] Figure 2 is a schematic diagram showing time-domain variation of charging temperature based on test data according to an exemplary embodiment;

[0064] Figure 3 is a schematic diagram showing time-domain variation of battery temperature during battery charging according to an exemplary embodiment;

[0065] Figure 4 is a flow chart illustrating a method for determining charging control parameters according to an exemplary embodiment;

[0066] Figure 5 is a schematic diagram showing the relationship between battery charge and maximum receiving current according to an exemplary embodiment;

[0067] Figure 6 is a flow chart showing a charging control method according to an exemplary embodiment;

[0068] Figure 7 is a schematic diagram showing a charging control curve according to an exemplary embodiment;

[0069] Figure 8 is a structural diagram of a device for determining charging control parameters according to an exemplary embodiment;

[0070] Figure 9 is a schematic structural diagram of a charging control device according to an exemplary embodiment;

[0071] Figure 10 It is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0072] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0073] like Figure 1 As shown, an embodiment of the present disclosure provides a method for determining a charging control parameter, the method comprising:

[0074] S110: Performing a charging test on the test battery to obtain test data, wherein the test data includes: a charging current, a time point when the battery temperature reaches a first threshold, and a maximum battery temperature;

[0075] S120: Selecting first data from the first category of test data and selecting second data from the second category of test data, wherein the first category of test data is test data in which the maximum battery temperature is not less than a second threshold; the second category of test data is test data in which the maximum battery temperature is less than the second threshold; the first data is the first category of test data in which the difference between the maximum battery temperature and the second threshold is the smallest; the second data is the second category of test data in which the difference between the maximum battery temperature and the second threshold is the smallest;

[0076] S130: Determine a value range of a first coefficient in a charging control parameter based on the first data and the second data;

[0077] S140: Determine values ​​of the first coefficient, the second coefficient, and the third coefficient according to a value range of the first coefficient and a functional relationship among the first coefficient, the second coefficient, and the third coefficient in the charging control parameter.

[0078] The first device may be any electronic device. For example, the first device may be various test terminals or laboratory test equipment. The battery under test may be a battery used in various mobile devices, including but not limited to: a lithium-ion battery, a sodium-ion battery, or a magnesium-ion battery.

[0079] The mobile devices include, but are not limited to, mobile phones, tablet computers, smart bracelets, smart watches, smart anklets, and / or head-mounted devices. The head-mounted devices include, but are not limited to, smart glasses and / or various head-mounted virtual reality (VR) devices and / or augmented reality (AR) devices.

[0080] The smart home devices include: smart cleaning devices and / or smart kitchen appliances and / or smart doorbells. The smart office devices include but are not limited to: smart printing devices and / or Internet phone devices.

[0081] Smart cleaning devices include, but are not limited to, smart washing machines and robot vacuums. Smart kitchen appliances include, but are not limited to, smart refrigerators and smart cooking appliances. Smart cooking appliances include, but are not limited to, smart ovens and smart rice cookers.

[0082] In one embodiment, the charging parameters include but are not limited to PID parameters for controlling battery charging using a PID controller, wherein the PID parameters include a proportional coefficient, an integral coefficient, and a differential coefficient.

[0083] The first coefficient includes but is not limited to: an integral coefficient in a PID controller.

[0084] In this way, after determining the value range of the first coefficient, the value range or preferred value of the second coefficient and the third coefficient can be determined based on the functional relationship between the first coefficient, the second coefficient and the third coefficient.

[0085] For example, if the aforementioned control parameters are PID parameters of a PID controller, they need to satisfy the following relationship:

[0086] The time domain continuous expression of the PID controller can be expressed as formula (1)

[0087]

[0088] The discrete expression is shown in Formula 2, and the discrete incremental expression is shown in Formula 3.

[0089] U(t)=K p e(t)+K i ∑e(t)+K d (e(t)-e(t-1)) Formula 2

[0090] △I(t)=K p (e(t)-e(t-1))+K i e(t)+K d *(e(t)-2e(t-1)+e(t-2)) Formula 3

[0091] U(t) is the voltage of the battery at time t; e(t) is the difference between the battery temperature at time t and the second threshold.

[0092] K i Can be the integral coefficient; K p is the proportional coefficient; K d is the differential coefficient.

[0093] △I(t) is the current increment when the PID controller is used to control charging.

[0094] In the embodiment of the present disclosure, the test data includes multiple pieces of data. According to the magnitude relationship between the maximum battery temperature contained in each piece of test data and the second threshold value, the multiple pieces of test data can be divided into first category data and second category data.

[0095] For example, test data with a maximum battery temperature greater than or equal to a second threshold is first-category data, and test data with a maximum battery temperature less than the second threshold is second-category data.

[0096] Further, test data whose maximum battery temperature is closest to the second threshold is selected from the first type of data as the first data; and test data whose maximum battery temperature is closest to the second threshold is selected from the second type of data as the second data.

[0097] The first data and the second data are selected from the test data and the second data, where the first data and the second data are test data in which the maximum battery temperature is located on both sides of the second threshold and the difference between the maximum battery temperature and the second threshold is the smallest.

[0098] refer to Figure 2 shown. Figure 2 The middle dotted line is the relationship curve between the time domain and temperature represented by the first data; the solid line is the relationship curve between the time domain and temperature represented by the second data.

[0099] Wherein, Tb is a first threshold value. Tb is a second threshold value. Wherein, the second threshold value is greater than the first threshold value.

[0100] Figure 2 S1 and S2 are respectively the time points when the battery temperature of the test battery reaches the first threshold value when the test charging is performed with different charging currents. Figure 2 The horizontal axis is time and the vertical axis is temperature. Figure 3 The horizontal axis is time and the vertical axis is temperature.

[0101] In this way, based on the value range of the first coefficient, combined with Formula 2 and Formula 3, the value ranges of the second coefficient and the third coefficient can be known. The second coefficient and the third coefficient within this value range are used to control the battery charging, taking into account both the battery charging efficiency and the suppression of excessively high charging temperature of the battery.

[0102] In summary, in the technical solution provided by the embodiments of the present disclosure, when determining the charging parameters, the value range of the first coefficient is first roughly determined through several sets of test parameters, and the value ranges of the second coefficient and the third coefficient are determined within the value range of the first coefficient, so that the first coefficient, the second coefficient and the third coefficient are optimized and iterated within a larger range, narrowing the search range from the first coefficient to the third coefficient and reducing the amount of calculation for determining the values ​​of the first coefficient to the third coefficient.

[0103] In some embodiments, the first data includes: a first current value and a first time point when the battery temperature reaches the first threshold; the second data includes: a second current value and a second time point when the battery temperature reaches the first threshold.

[0104] The S130 may include:

[0105] determining a lower limit of the first coefficient according to the first time point and the first current value;

[0106] An upper limit of the first coefficient is determined according to the second time point and the second current value.

[0107] For example, refer to Figure 2 As shown, the dotted line is the test curve obtained by open-loop charging the test battery at a first current value I1, and the solid line is the test curve obtained by open-loop charging the test battery at a second current value I2, where I1>I2. S1 represents the first time point, and S2 represents the second time point. Assume that the temperature reaches its maximum value at the current I2 as T 2max , calculate S2 equal to temperature T 2max -(T a -T b ) to T 2max The temperature error integral is sufficient. Therefore, the final error integral value range is [S1, S2], and the current value range is [I2, I1].

[0108] Combined K i ∑e(t)=I s Formula 4, here we can get the value K of the I term in the PID controller i The scope is

[0109] The lower limit of the first coefficient here is The lower limit of the first coefficient is

[0110] Figure 3This is an ideal charging curve for charging a battery. Before the battery temperature reaches the first threshold value Tb, the battery is charged with the maximum current. After the battery temperature reaches the first threshold value, the battery charging current is controlled with the goal of stabilizing the battery temperature at the second threshold value Ta. At this time, the charging temperature will further increase until it increases from the first threshold value to the second threshold value. Between the M and N points of the curve, the battery temperature is stable, that is, e(t) = 0 and e′(t) = 0, and the charging current is also stable at this time, and the charging current is I s , we can get the above formula 4.

[0111] By substituting the lower limit of the value of the first coefficient into the functional relationship between the first coefficient, the second coefficient and the third coefficient, and substituting the lower limit of the value of the first coefficient into the functional relationship between the first coefficient, the second coefficient and the third coefficient, the value range of the second coefficient and the third coefficient can be obtained.

[0112] After the first coefficient, the second coefficient and the third coefficient are determined and the battery can be charged at a higher charging rate and the battery temperature can be controlled within a smaller value range within the second threshold range, a value search can be performed within the corresponding value range, and the first coefficient, the second coefficient and the third coefficient can be further optimized based on various value searches.

[0113] In some embodiments, the test data further includes: third data; wherein the third data at least includes: a third time point at which the battery temperature reaches the first threshold value during a charging test performed at a maximum charging current;

[0114] The root S140 may include:

[0115] The values ​​of the first coefficient, the second coefficient, and the third coefficient are determined according to the value range of the first coefficient, the maximum charging current, and the third time point.

[0116] refer to Figure 3 As shown, point P is the time point (ie, the third time point) when the test battery is charged according to the charging current of the charger and the battery temperature of the test battery reaches the first threshold.

[0117] At point P, the functional relationships among the first coefficient, the second coefficient, and the third coefficient include: Formula 5 and Formula 6.

[0118] △I(t)=K p e′(t)+K i e(t)+K d e″(t)=0 Formula 5

[0119] U(t)=K p e(t)+K d e′(t)=Id Formula 6

[0120] Among them, I d express Figure 3 The starting current at point P is the maximum current of the charger. Starting from point P, the charging current may gradually decrease. e(t), e′(t), and e″(t) represent the difference, derivative, and second-order derivative between the battery temperature and the second threshold at time t of point P, respectively. In practice, the charger initially uses the maximum current to charge, thus obtaining Figure 2 Similar charging curves are obtained. Figure 2 The three values ​​of e(t), e′(t) and e″(t) at point S1 are fixed, and K i The value range has been determined, and the remaining two second and third coefficients can be solved using formulas 5 and 6 to obtain K p With K d and K i The expression relationship is

[0121] K p =(I d e″(t)+e(t)e′(t)K i ) / (e(t)e″(t)-e′(t)e′(t)) Formula 7

[0122] K d =(I d -K p e(t)) / e′(t) Formula 8

[0123] At this time, the value ranges of the second coefficient and the third coefficient will be obtained according to Formula 7 and Formula 8.

[0124] Any set of values ​​for the first coefficient, the second coefficient, and the third coefficient can effectively achieve a balance between suppressing excessive battery temperature and maintaining charging efficiency. Therefore, in one embodiment, any set of values ​​within the range of values ​​for the first coefficient, the second coefficient, and the third coefficient can be considered as the value of the control parameter ultimately determined in S140.

[0125] In other embodiments, Figure 4 As shown, the S140 includes:

[0126] S141: Determine the value ranges of the second coefficient and the third coefficient according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient, and the third coefficient;

[0127] S142: Based on the value ranges of the first coefficient, the second coefficient, and the third coefficient, perform iterative optimization with the highest charging efficiency and / or the smallest fluctuation of the maximum charging temperature as the optimization goal, and determine one or more groups of target values ​​for the first coefficient, the second coefficient, and the third coefficient.

[0128] In the embodiment of the present disclosure, firstly, based on the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient and the third coefficient, the value ranges of the second coefficient and the third coefficient can be clearly known.

[0129] Furthermore, in the embodiment of the present disclosure, iterative optimization is performed with the optimization goals of maximizing charging efficiency and minimizing charging temperature fluctuations, thereby continuously approximating and finding the optimal values ​​of the first coefficient, the second coefficient, and the third coefficient within the value range of the first coefficient, the second coefficient, and the third coefficient.

[0130] For example, within the value range of the first coefficient, multiple discrete values ​​are taken according to a preset step size, and then the second coefficient and the third coefficient are solved accordingly to obtain one or more sets of control parameters. Then, the charging of the test battery is controlled according to these control parameters, and the charging efficiency and battery temperature are tested. The optimal set of control parameters is found, which can be used as the control parameters for the subsequent control of battery charging by the charger.

[0131] Based on the above solution, the first coefficient is the integral coefficient of the proportional-integral-differential (PID) controller;

[0132] The second coefficient is a proportional coefficient of the PID controller and the third coefficient is a differential coefficient of the PID controller;

[0133] or,

[0134] The second coefficient is a differential coefficient of the PID controller and the third coefficient is a proportional coefficient of the PID controller.

[0135] like Figure 6 As shown, an embodiment of the present disclosure provides a charging control method, the method comprising:

[0136] S210: Detecting battery temperature;

[0137] S220: When the battery temperature reaches a first threshold, determining a charging current based on control parameters determined in any of the aforementioned technical solutions with maximizing charging efficiency while the battery temperature is not higher than a second threshold as a control objective;

[0138] S230: Charge the battery according to the charging current.

[0139] The charging control method can be used by a charger or a battery management system to control the charging of a battery.

[0140] For example, the charging control method can be used to charge a mobile terminal including a battery, which can be a lithium battery, a sodium battery, or a magnesium battery.

[0141] In S210 , the battery temperature may be detected by a temperature sensor or a thermistor.

[0142] When the battery temperature reaches the first threshold, the battery temperature is not higher than the second threshold and the charging efficiency is maximized as the control target. The charging current increment is controlled according to the control parameters based on the current detected charging current to maximize the charging efficiency without overheating the battery. In this way, the current charging current can be determined in S220, and the battery charging is controlled according to the determined charging current. Alternatively, the battery charging current increment is first determined in S220, and the charging current is determined based on the battery increment and the current charging current, and the charging current is used to charge the battery.

[0143] In some embodiments, the method further comprises:

[0144] In a first charging stage, charging the battery according to a maximum charging current;

[0145] When the battery temperature reaches the first threshold, determining to enter the second charging stage, wherein the control parameter is used to determine the charging current of the second charging stage;

[0146] When the battery temperature reaches the second threshold, the first charging stage is exited and the second charging stage is entered.

[0147] refer to Figure 7 As shown, the charging of the battery is divided into three charging stages. In the first charging stage, the battery can be charged according to the maximum charging current of the charger, or the battery can be charged according to the maximum charging current acceptable to the battery, so that the battery is quickly charged in the first charging stage.

[0148] After the battery temperature reaches the first threshold, the battery enters the second charging stage. In the second charging stage, the battery is no longer continuously charged at the maximum charging current. Instead, the battery is charged at the maximum possible charging current while ensuring that the battery temperature does not exceed the second threshold, thereby achieving high-efficiency charging of the battery. At this time, in the second charging stage, the charging current is determined based on the first to third coefficients determined in any of the aforementioned embodiments to control the charging of the battery.

[0149] After the battery temperature reaches the second threshold, the second charging stage exits and enters the third charging stage. During the third charging stage, the battery's charge level is already high, which is equivalent to a larger charging resistance, so the charging current automatically decreases. In this case, the charging current is no longer controlled by control parameters, but is automatically adjusted by the connection between the power supply and the battery.

[0150] The third charging stage can be called the trickle charging stage or the trickle charging stage. Figure 5 The diagram shows the relationship between the battery charge and the maximum current received by the battery. Figure 5 The horizontal axis is the battery charge (that is, the percentage of battery power), and the vertical axis is the maximum current that the battery can accept. Figure 5 It can be seen that the greater the battery charge, the smaller the maximum current the battery can accept.

[0151] like Figure 8 As shown, an embodiment of the present disclosure provides a device for determining a charging control parameter, the device comprising:

[0152] The test module 110 is configured to perform a charging test on the test battery to obtain test data, wherein the test data includes: a charging current, a time point when the battery temperature reaches a first threshold, and a maximum battery temperature;

[0153] The selection module 120 is configured to select first data from the first category of the test data and second data from the second category of the test data, wherein the first category of the test data is test data in which the maximum battery temperature is not less than a second threshold; the second category of the test data is test data in which the maximum battery temperature is less than the second threshold; the first data is the first category of the test data in which the difference between the maximum battery temperature and the second threshold is the smallest; the second data is the second category of the test data in which the difference between the maximum battery temperature and the second threshold is the smallest;

[0154] a first determining module 130, configured to determine a value range of a first coefficient in a charging control parameter based on the first data and the second data;

[0155] The second determination module 140 is configured to determine the values ​​of the first coefficient, the second coefficient, and the third coefficient according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient, and the third coefficient in the charging control parameter.

[0156] In some embodiments, the charging control parameter determination device can be used in various electronic devices.

[0157] The electronic equipment includes but is not limited to: a personal computer or a laboratory computer.

[0158] In some embodiments, the testing module 110 , the selecting module 120 , the first determining module 130 , and the second determining module 140 may be program modules; after being executed by a processor, the program modules can implement the functions of the above modules.

[0159] In other embodiments, the test module 110, the selection module 120, the first determination module 130 and the second determination module 140 may be soft-hard combination modules; the soft-hard combination modules include but are not limited to various programmable arrays; the programmable arrays include but are not limited to: field programmable arrays or complex programmable arrays.

[0160] In some other embodiments, the testing module 110 , the selecting module 120 , the first determining module 130 , and the second determining module 140 may be pure hardware modules; the pure hardware modules include but are not limited to application specific integrated circuits.

[0161] In some embodiments, the first data includes: a first current value and a first time point when the battery temperature reaches the first threshold; the second data includes: a second current value and a second time point when the battery temperature reaches the first threshold;

[0162] The first determining module 130 is specifically configured to determine a lower limit of the first coefficient according to the first time point and the first current value;

[0163] An upper limit of the first coefficient is determined according to the second time point and the second current value.

[0164] In some embodiments, the test data further includes: third data; wherein the third data at least includes: a third time point at which the battery temperature reaches the first threshold value during a charging test performed at a maximum charging current;

[0165] The second determination module 140 is specifically configured to determine the values ​​of the first coefficient, the second coefficient, and the third coefficient according to the value range of the first coefficient, the maximum charging current, and the third time point.

[0166] In some embodiments, the second determination module 140 is specifically used to determine the value ranges of the second coefficient and the third coefficient based on the value range of the first coefficient and the functional relationship between the first coefficient, the second coefficient and the third coefficient; according to the value ranges of the first coefficient, the second coefficient and the third coefficient, iterative optimization is performed with the highest charging efficiency and / or the minimum fluctuation of the maximum charging temperature as the optimization goal, and one or more groups of target values ​​of the first coefficient, the second coefficient and the third coefficient are determined.

[0167] In some embodiments, the first coefficient is an integral coefficient of a proportional-integral-derivative (PID) controller;

[0168] The second coefficient is a proportional coefficient of the PID controller and the third coefficient is a differential coefficient of the PID controller;

[0169] or,

[0170] The second coefficient is a differential coefficient of the PID controller and the third coefficient is a proportional coefficient of the PID controller.

[0171] like Figure 9 As shown, an embodiment of the present disclosure provides a charging control device, the device comprising:

[0172] Detection module 210, used to detect battery temperature;

[0173] a parameter module 220 for determining a charging current using control parameters provided by any of the aforementioned charging control parameter determination methods when the battery temperature reaches a first threshold, with the goal of maximizing charging efficiency while the battery temperature is not higher than a second threshold;

[0174] The control module 230 is configured to charge the battery according to the charging current.

[0175] The charging control device can be used in a charger or an electrical device.

[0176] The electronic device includes but is not limited to: a mobile phone, a tablet computer or a wearable device.

[0177] In some embodiments, the detection module 210 , the determination module, and the control module 230 may be program modules; after being executed by a processor, the program modules can implement the functions of the above modules.

[0178] In other embodiments, the detection module 210, determination module and control module 230 may be soft-hard combination modules; the soft-hard combination modules include but are not limited to various programmable arrays; the programmable arrays include but are not limited to: field programmable arrays or complex programmable arrays.

[0179] In some other embodiments, the detection module 210, the determination module and the control module 230 may be pure hardware modules; the pure hardware modules include but are not limited to: application-specific integrated circuits.

[0180] In some embodiments, the apparatus further comprises:

[0181] a first charging module, configured to charge the battery according to a maximum charging current in a first charging stage;

[0182] a second charging module, configured to determine to enter a second charging stage when the battery temperature reaches the first threshold, wherein the aforementioned control parameter is used to determine a charging current in the second charging stage;

[0183] The third charging module is configured to exit the third charging stage and enter a third charging stage when the battery temperature reaches the second threshold.

[0184] An embodiment of the present disclosure provides an electronic device, including:

[0185] a memory for storing processor-executable instructions;

[0186] a processor, connected to the memory;

[0187] The processor is configured to execute the charging control parameter determination method and / or charging control method provided by any of the aforementioned technical solutions.

[0188] The processor may include various types of storage media, which are non-transitory computer storage media that can continue to store information after the communication device loses power.

[0189] The processor can be connected to the memory through a bus, etc., and is used to read the executable program stored in the memory, for example, it can execute the following Figure 1 、 Figures 4 to 6 At least one of any of the methods shown.

[0190] The electronic device may include the first device and / or the second device.

[0191] Figure 10 FIG1 is a block diagram of an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be included in a terminal device such as a mobile phone, a mobile computer, or a device such as a server.

[0192] Reference Figure 10 , 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 , a multimedia data component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0193] 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 operation, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 802 may include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.

[0194] The memory 804 is configured to store various types of data to support operations on the 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.

[0195] 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 to the electronic device 800.

[0196] 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 touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a 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 device 800 is in an operating state, such as a shooting state or a video state, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.

[0197] The multimedia data component 810 is configured to output and / or input multimedia data signals. For example, the multimedia data component 810 includes a microphone (MIC) that is configured to receive external multimedia data signals when the electronic device 800 is in an operating state, such as a call state, a recording state, and a voice recognition state. The received multimedia data signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the multimedia data component 810 further includes a speaker for outputting the multimedia data signals.

[0198] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.

[0199] 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 device 800, the relative positioning of components, such as the display and keypad of the electronic device 800. The sensor assembly 814 can also detect changes in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and temperature changes of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light 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 accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0200] 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 Wi-Fi, 2G or 3G, 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.

[0201] In an exemplary embodiment, the apparatus 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-described method.

[0202] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by the processor 820 of the apparatus 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.

[0203] The present disclosure provides a computer storage medium, which may be a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the first device and / or the second device, the charging control parameter determination method and / or charging control method provided by any of the above technical solutions can be executed as follows: Figure 1 、 Figures 4 to 6 At least one of any of the methods shown.

[0204] The charging control parameter determination method may include: performing a charging test on a test battery to obtain test data, wherein the test data include: charging current, the time point when the battery temperature reaches a first threshold, and the maximum battery temperature; selecting first data and second data from the test data, wherein the first data is the test data in which the maximum battery temperature is not less than and the difference between the battery temperature and the second threshold is the smallest; the second data is the test data in which the maximum temperature value is not greater than and the difference between the battery temperature and the second threshold is the smallest; determining a value range of a first coefficient in the charging control parameter based on the first data and the second data; determining the values ​​of the first coefficient, the second coefficient, and the third coefficient based on the value range of the first coefficient and the functional relationship between the first coefficient, the second coefficient, and the third coefficient in the charging control parameter.

[0205] It can be understood that the first data includes: a first current value and a first time point when the battery temperature reaches the first threshold; the second data includes: a second current value and a second time point when the battery temperature reaches the first threshold;

[0206] Determining the value range of the first coefficient in the charging control parameter based on the first data and the second data includes: determining the lower limit of the value of the first coefficient based on the first time point and the first current value; and determining the upper limit of the value of the first coefficient based on the second time point and the second current value.

[0207] It can be understood that the test data also includes: third data; wherein, the third data at least includes: the charging test is performed according to the maximum charging current, and the battery temperature reaches the third time point of the first threshold; the value range of the second coefficient and the third coefficient is determined according to the value range of the first coefficient and the functional relationship between the first coefficient, the second coefficient and the third coefficient in the charging control parameters, including: determining the values ​​of the first coefficient, the second coefficient and the third coefficient according to the value range of the first coefficient, the maximum charging current and the third time point.

[0208] It can be understood that the values ​​of the first coefficient, the second coefficient and the third coefficient are determined according to the value range of the first coefficient and the functional relationship between the first coefficient, the second coefficient and the third coefficient in the charging control parameters, including: determining the value range of the second coefficient and the third coefficient according to the value range of the first coefficient and the functional relationship between the first coefficient, the second coefficient and the third coefficient; performing iterative optimization according to the value range of the first coefficient, the second coefficient and the third coefficient with the highest charging efficiency and / or the smallest fluctuation of the maximum charging temperature as the optimization goal, and determining one or more groups of target values ​​of the first coefficient, the second coefficient and the third coefficient.

[0209] It can be understood that the first coefficient is the integral coefficient of the proportional-integral-differential (PID) controller;

[0210] The second coefficient is a proportional coefficient of the PID controller and the third coefficient is a differential coefficient of the PID controller;

[0211] or,

[0212] The second coefficient is a differential coefficient of the PID controller and the third coefficient is a proportional coefficient of the PID controller.

[0213] The charging control method may include: detecting the battery temperature; when the battery temperature reaches a first threshold, determining a charging current using control parameters determined by the charging control parameter method provided by any of the aforementioned technical solutions, with the goal of maximizing charging efficiency while the battery temperature is not higher than a second threshold; and charging the battery according to the charging current.

[0214] It is understood that the method further comprises:

[0215] In a first charging stage, charging the battery according to a maximum charging current;

[0216] When the battery temperature reaches the first threshold, determining to enter the second charging stage, wherein the control parameter is used to determine the charging current of the second charging stage;

[0217] When the battery temperature reaches the second threshold, the first charging stage is exited and the second charging stage is entered.

[0218] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0219] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for determining charging control parameters, characterized in that: The method comprises: Performing a charging test on the test battery to obtain test data, wherein the test data includes: a charging current, a time point when the battery temperature reaches a first threshold, and a maximum battery temperature; Selecting first data from the first category of the test data and selecting second data from the second category of the test data, wherein the first category of data is test data in which the maximum battery temperature is not less than a second threshold; the second category of data is test data in which the maximum battery temperature is less than the second threshold; the first data is the first category of data in which the difference between the maximum battery temperature and the second threshold is the smallest; and the second data is the second category of data in which the absolute value of the difference between the maximum battery temperature and the second threshold is the smallest; Determining a value range of a first coefficient in a charging control parameter based on the first data and the second data; wherein the charging control parameter includes at least: a PID parameter for controlling battery charging using a PID controller; The values ​​of the first coefficient, the second coefficient and the third coefficient are determined according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient and the third coefficient in the charging control parameter.

2. The method according to claim 1, characterized in that The first data includes: a first current value and a first time point when the battery temperature reaches the first threshold; the second data includes: a second current value and a second time point when the battery temperature reaches the first threshold; The determining, based on the first data and the second data, a value range of a first coefficient in a charging control parameter includes: determining a lower limit of the first coefficient according to the first time point and the first current value; An upper limit of the first coefficient is determined according to the second time point and the second current value.

3. The method according to claim 1 or 2, characterized in that The test data further includes: third data; wherein the third data at least includes: a third time point when the battery temperature reaches the first threshold value during a charging test performed according to the maximum charging current; The determining the value ranges of the second coefficient and the third coefficient according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient, and the third coefficient in the charging control parameter includes: The values ​​of the first coefficient, the second coefficient, and the third coefficient are determined according to the value range of the first coefficient, the maximum charging current, and the third time point.

4. The method according to claim 1, wherein The determining of values ​​of the first coefficient, the second coefficient, and the third coefficient according to a value range of the first coefficient and a functional relationship among the first coefficient, the second coefficient, and the third coefficient in the charging control parameter includes: Determining the value ranges of the second coefficient and the third coefficient according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient and the third coefficient; According to the value ranges of the first coefficient, the second coefficient, and the third coefficient, iterative optimization is performed with the optimization objectives of maximizing the charging efficiency and / or minimizing the fluctuation of the maximum charging temperature to determine one or more groups of target values ​​for the first coefficient, the second coefficient, and the third coefficient.

5. The method according to claim 1 or 2, characterized in that The first coefficient is the integral coefficient of the proportional-integral-differential (PID) controller; The second coefficient is a proportional coefficient of the PID controller and the third coefficient is a differential coefficient of the PID controller; or, The second coefficient is a differential coefficient of the PID controller and the third coefficient is a proportional coefficient of the PID controller.

6. A charging control method, characterized in that: The method comprises: Detect battery temperature; When the battery temperature reaches a first threshold, the charging current is determined using the control parameters provided by the method according to any one of claims 1 to 5, with the charging efficiency maximized while the battery temperature is not higher than a second threshold as the control goal; The battery is charged according to the charging current.

7. The method according to claim 6, characterized in that The method further comprises: In a first charging stage, charging the battery according to a maximum charging current; When the battery temperature reaches the first threshold, determining to enter the second charging stage, wherein the control parameter is used to determine the charging current of the second charging stage; When the battery temperature reaches the second threshold, the second charging stage is exited and the third charging stage is entered.

8. A device for determining charging control parameters, characterized in that: The device comprises: a test module, configured to perform a charging test on a test battery to obtain test data, wherein the test data includes: a charging current, a time point when the battery temperature reaches a first threshold, and a maximum battery temperature; a selection module configured to select first data from a first category of the test data and second data from a second category of the test data, wherein the first category of data is test data in which the maximum battery temperature is not less than a second threshold; the second category of data is test data in which the maximum battery temperature is less than the second threshold; the first data is the first category of data in which the difference between the maximum battery temperature and the second threshold is the smallest; and the second data is the second category of data in which the absolute value of the difference between the maximum battery temperature and the second threshold is the smallest; a first determining module, configured to determine a value range of a first coefficient in a charging control parameter based on the first data and the second data; wherein the charging control parameter includes at least a PID parameter for controlling battery charging using a PID controller; The second determination module is used to determine the values ​​of the first coefficient, the second coefficient and the third coefficient according to the value range of the first coefficient and the functional relationship among the first coefficient, the second coefficient and the third coefficient in the charging control parameter.

9. A charging control device, characterized in that: The device comprises: Detection module, used to detect battery temperature; a parameter module, configured to determine the charging current by using the control parameters provided by the method according to any one of claims 1 to 5, with the control objective of maximizing the charging efficiency when the battery temperature reaches a first threshold value; A control module is used to charge the battery according to the charging current.

10. An electronic device, characterized in that: include: a memory for storing processor-executable instructions; a processor connected to the memory; The processor is configured to execute the charging control parameter determination method provided in any one of claims 1 to 5 or the charging control method provided in any one of claims 6 to 7.

11. A non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by a processor of a computer, enables the computer to execute the charging control parameter determination method provided by any one of claims 1 to 5 or the charging control method provided by any one of claims 6 to 7.

Citation Information

Patent Citations

  • Charging control method and device and storage medium

    CN112701741A

  • Battery charged condition computing device and battery charged condition computing method

    CN1720462A