Battery temperature determination method, apparatus, device, and storage medium

By acquiring the measured temperature and charging/discharging current of the battery, and using a temperature compensation model to eliminate the temperature rise error caused by the heating of the battery protection board, the problem of inaccurate temperature measurement of surface-mount NTC thermistors in high-current fast charging scenarios is solved, thus achieving accurate determination of battery temperature and improved reliability.

CN119447541BActive Publication Date: 2025-11-11BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310946989.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-11-11
Estimated Expiration
2043-07-28

AI Technical Summary

Technical Problem

In high-current fast charging scenarios, the temperature detection device of the surface-mount NTC thermistor becomes inaccurate due to the severe heat generated by the battery protection board, and thus fails to reflect the true temperature of the battery.

Method used

By acquiring the measured temperature and charging/discharging current of the battery, a pre-determined temperature compensation model is used for compensation, including a smoothing compensation strategy and a large current appearance/disappearance compensation strategy, to eliminate the temperature rise error caused by the heating of the battery protection board and determine the actual temperature of the battery.

Benefits of technology

It enables accurate determination of the actual battery temperature in high-current fast charging scenarios, improving battery reliability and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119447541B_ABST
    Figure CN119447541B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a battery temperature determination method, device, equipment and storage medium. The method comprises: obtaining a measured temperature of a battery and a charging and discharging current, the measured temperature being a temperature measured by a temperature detection device; determining a compensated temperature of the measured temperature based on the charging and discharging current and a predetermined first temperature compensation model; and determining an actual temperature of the battery based on the compensated temperature and the measured temperature. The present disclosure can accurately determine the temperature of the battery, improve the reliability of the battery, and reduce the cost of the battery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of terminal technology, and in particular to a method, apparatus, device and storage medium for determining battery temperature. Background Technology

[0002] In related technologies, when detecting the temperature of the battery inside a terminal, a temperature detection device installed on the battery protection board can be used to detect the battery temperature. However, in certain scenarios (e.g., based on high-current fast charging), the battery protection board generates significant heat, causing the temperature of the temperature detection device to rise rapidly. Consequently, the temperature measured by the temperature detection device cannot accurately reflect the true temperature of the battery. Summary of the Invention

[0003] To overcome the problems existing in the related technologies, the present disclosure provides a method, apparatus, device and storage medium for determining battery temperature, in order to solve the defects in the related technologies.

[0004] According to a first aspect of the present disclosure, a method for determining battery temperature is provided, the method comprising:

[0005] The battery's measured temperature and charging / discharging current are obtained, wherein the measured temperature is the temperature measured by a temperature detection device;

[0006] The compensation temperature for the measured temperature is determined based on the charging and discharging current and a predetermined first temperature compensation model.

[0007] The actual temperature of the battery is determined based on the compensation temperature and the measured temperature.

[0008] In some embodiments, the charging and discharging current includes multiple sampled currents collected at multiple sampling times prior to the current time, wherein one sampled current is collected at each sampling time.

[0009] The step of determining the compensation temperature based on the charging / discharging current and a pre-determined first temperature compensation model includes:

[0010] The average current value at the current moment is obtained by averaging the multiple sampled currents.

[0011] The compensation temperature is determined based on the average current value and the first temperature compensation model.

[0012] In some embodiments, the method further includes:

[0013] In response to the fact that the electronic device is currently in a charging state, the difference between the average current value at the current moment and the average current value at the previous moment is determined to obtain the average current difference;

[0014] In response to the average current difference being greater than a first current difference threshold and less than or equal to a second current difference threshold, the operation of determining the compensation temperature of the measured temperature based on the charge / discharge current and a predetermined first temperature compensation model is performed.

[0015] In some embodiments, the second current difference threshold is determined based on the average current difference at the start of charging.

[0016] In some embodiments, the method further includes:

[0017] In response to the average current difference being greater than the second current difference threshold, the current charging duration of the electronic device is input into the second temperature compensation model to obtain the compensation temperature. The second temperature compensation model is constructed based on the current estimated temperature rise rate of the battery and the charging duration, and the current estimated temperature rise rate corresponds to the current charging current of the battery.

[0018] In some embodiments, the method further includes determining the current estimated rate of temperature rise based on the following:

[0019] Based on the pre-built correspondence, query the temperature rise of the temperature detection device corresponding to the current charging current. The temperature rise of the temperature detection device is the increase in temperature measured by the temperature detection device.

[0020] The current estimated temperature rise rate is determined based on the temperature rise of the temperature detection device and the number of sampling times.

[0021] In some embodiments, the method further includes:

[0022] In response to the average current difference being less than a third current difference threshold, and the measured temperature at the current moment being less than the measured temperature at the previous moment, the compensation temperature at the current moment is determined based on the compensation temperature at the previous moment.

[0023] In some embodiments, the third current difference threshold is determined based on the average current difference during the charging interruption.

[0024] In some embodiments, the method further includes:

[0025] In response to the average current difference being greater than or equal to the third current difference threshold and less than or equal to the first current difference threshold, the operation of determining the compensation temperature of the measured temperature based on the charging and discharging current and a predetermined first temperature compensation model is performed.

[0026] According to a second aspect of the present disclosure, a battery temperature determining apparatus is provided, the apparatus comprising:

[0027] The temperature and current acquisition module is used to acquire the measured temperature and charging / discharging current of the battery, wherein the measured temperature is the temperature measured by the temperature detection device.

[0028] The compensation temperature determination module is used to determine the compensation temperature of the measured temperature based on the charging and discharging current and a pre-determined first temperature compensation model.

[0029] A battery temperature determination module is used to determine the actual temperature of the battery based on the compensated temperature and the measured temperature.

[0030] In some embodiments, the charging and discharging current includes multiple sampled currents collected at multiple sampling times prior to the current time, wherein one sampled current is collected at each sampling time.

[0031] The compensation temperature determination module includes:

[0032] An average current acquisition unit is used to average the multiple sampled currents to obtain the average current value at the current moment.

[0033] An average current input unit is used to determine the compensation temperature based on the average current value and the first temperature compensation model.

[0034] In some embodiments, the compensation temperature determination module includes:

[0035] A current difference determination unit is used to determine the difference between the average current value at the current moment and the average current value at the previous moment in response to the electronic device being in a charging state, and to obtain the average current difference.

[0036] The first temperature determination unit is configured to perform the operation of determining the compensation temperature of the measured temperature based on the charging and discharging current and a predetermined first temperature compensation model in response to the average current difference being greater than a first current difference threshold and less than or equal to a second current difference threshold.

[0037] In some embodiments, the second current difference threshold is determined based on the average current difference at the start of charging.

[0038] In some embodiments, the compensation temperature determination module further includes:

[0039] The second temperature determination unit is used to input the current charging time of the electronic device into the second temperature compensation model in response to the average current difference being greater than the second current difference threshold, and to obtain the compensation temperature. The second temperature compensation model is constructed based on the current estimated temperature rise rate of the battery and the charging time, and the current estimated temperature rise rate corresponds to the current charging current of the battery.

[0040] In some embodiments, the compensation temperature determination module further includes a temperature rise rate determination unit;

[0041] The temperature rise rate determination unit is used for:

[0042] Based on the pre-built correspondence, query the temperature rise of the temperature detection device corresponding to the current charging current. The temperature rise of the temperature detection device is the increase in temperature measured by the temperature detection device.

[0043] The current estimated temperature rise rate is determined based on the temperature rise of the temperature detection device and the number of sampling times.

[0044] In some embodiments, the compensation temperature determination module further includes:

[0045] The third temperature determination unit is configured to determine the compensation temperature at the current moment based on the compensation temperature at the previous moment in response to the average current difference being less than a third current difference threshold and the measured temperature at the current moment being less than the measured temperature at the previous moment.

[0046] In some embodiments, the third current difference threshold is determined based on the average current difference during the charging interruption.

[0047] In some embodiments, the compensation temperature determination module further includes:

[0048] The fourth temperature determination unit is used to perform the operation of determining the compensation temperature of the measured temperature based on the charging and discharging current and a predetermined first temperature compensation model in response to the average current difference being greater than or equal to the third current difference threshold and less than or equal to the first current difference threshold.

[0049] According to a third aspect of the present disclosure, an electronic device is provided, the device comprising:

[0050] Batteries, temperature sensing devices, processors, and memory used to store computer programs;

[0051] The processor is configured to, when executing the computer program, implement:

[0052] The battery's measured temperature and charging / discharging current are obtained, wherein the measured temperature is the temperature measured by a temperature detection device;

[0053] The compensation temperature for the measured temperature is determined based on the charging and discharging current and a predetermined first temperature compensation model.

[0054] The actual temperature of the battery is determined based on the compensation temperature and the measured temperature.

[0055] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided having a computer program stored thereon, the program being implemented when executed by a processor:

[0056] The battery's measured temperature and charging / discharging current are obtained, wherein the measured temperature is the temperature measured by a temperature detection device;

[0057] The compensation temperature for the measured temperature is determined based on the charging and discharging current and a predetermined first temperature compensation model.

[0058] The actual temperature of the battery is determined based on the compensation temperature and the measured temperature.

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

[0060] This disclosure obtains the measured temperature and charging / discharging current of the battery, determines the compensation temperature of the measured temperature based on the charging / discharging current and a predetermined first temperature compensation model, and then determines the actual temperature of the battery based on the compensation temperature and the measured temperature. This can achieve accurate determination of the actual temperature of the battery, improve battery reliability, and reduce battery cost.

[0061] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

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

[0063] Figure 1A This is a schematic diagram of a battery structure using a leaded NTC thermistor according to an exemplary embodiment of the present disclosure;

[0064] Figure 1B This is a schematic diagram of a battery structure using a surface-mount NTC thermistor according to an exemplary embodiment of the present disclosure;

[0065] Figure 1C This is a flowchart illustrating a battery temperature determination method according to an exemplary embodiment of the present disclosure;

[0066] Figure 2 This is a flowchart illustrating how to determine the compensation temperature for the measured temperature according to an exemplary embodiment of the present disclosure;

[0067] Figure 3A This is a flowchart illustrating how to determine the compensation temperature for the measured temperature according to yet another exemplary embodiment of this disclosure;

[0068] Figure 3B These are schematic diagrams illustrating various temperature and current curves according to a first exemplary embodiment of this disclosure;

[0069] Figure 3C These are schematic diagrams illustrating various temperature and current curves according to a second exemplary embodiment of this disclosure;

[0070] Figure 3D These are schematic diagrams illustrating various temperature and current curves according to the third exemplary embodiment of this disclosure;

[0071] Figure 3E These are schematic diagrams illustrating various temperature and current curves according to the fourth exemplary embodiment of this disclosure;

[0072] Figure 3F These are schematic diagrams illustrating various temperature and current curves according to the fifth exemplary embodiment of this disclosure;

[0073] Figure 4 This is a flowchart illustrating how to determine the current estimated rate of temperature rise according to an exemplary embodiment of the present disclosure;

[0074] Figure 5 This is a block diagram illustrating a battery temperature determination device according to an exemplary embodiment of the present disclosure;

[0075] Figure 6 This is a block diagram illustrating yet another battery temperature determination device according to an exemplary embodiment of the present disclosure;

[0076] Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure. Detailed Implementation

[0077] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0078] With the development of terminal technology, the use of electronic devices such as smartphones and tablets has become very widespread. As a key component of electronic devices, the battery plays a crucial role in their normal operation.

[0079] During battery charging, charging must be performed within the battery's safe temperature limit to ensure charging safety. Related technologies typically utilize temperature sensing devices such as negative temperature coefficient (NTC) thermistors to detect the battery temperature. Specifically, one approach in these technologies is to measure the battery temperature using a leaded NTC thermistor. Figure 1A This is a schematic diagram of a battery structure using a leaded NTC thermistor according to an exemplary embodiment of the present disclosure; as shown below. Figure 1A As shown, the battery includes a cell 101 and a battery protection board 102 located at the head of the battery. The battery protection board 102 houses the battery's protection circuitry (not shown). A leaded NTC thermistor 103 is positioned at a corner of the battery, and the battery is connected to a main board (not shown) via a connector 104. However, leaded NTC thermistors suffer from drawbacks such as high cost, complex soldering processes, and poor reliability. To address this issue, this solution replaces the leaded NTC thermistor with a surface-mount NTC thermistor, thereby improving battery reliability and reducing battery cost. For example, Figure 1B This is a schematic diagram of a battery structure using a surface-mount NTC thermistor, according to an exemplary embodiment of this disclosure. Figure 1B As shown, this embodiment will Figure 1A The leaded NTC thermistor 103 is replaced with a surface-mount NTC thermistor 105. The surface-mount NTC thermistor 105 is mounted on the battery protection board 102.

[0080] However, in certain scenarios (such as high-current fast charging), the battery protection board generates significant heat, causing the surface-mount NTC thermistor to heat up rapidly. Consequently, the temperature measured by the surface-mount NTC thermistor cannot accurately reflect the true temperature of the battery.

[0081] In view of the above, this disclosure provides the following battery temperature determination method, apparatus, device and storage medium to solve the above-mentioned problems in the related art.

[0082] Figure 1C This is a flowchart illustrating a battery temperature determination method according to an exemplary embodiment. The method of this embodiment can be executed by a battery temperature determination device, which can be configured in an electronic device having a battery and a temperature detection device, such as a mobile terminal (e.g., a mobile phone, tablet computer, etc.), a wearable device (e.g., glasses, watch, etc.). Specifically, as... Figure 1C As shown, the method includes the following steps S101-S103:

[0083] In step S101, the battery's measured temperature and charging / discharging current are obtained.

[0084] In this embodiment, when determining the battery temperature of the electronic device, the measured battery temperature and the current charging / discharging current can be obtained.

[0085] The measured temperature is the temperature detected by the temperature sensing device, and the charging / discharging current can be determined based on the current state of the electronic device. For example, if the electronic device is currently charging, the charging / discharging current refers to the battery's charging current; if the electronic device is currently discharging, the charging / discharging current refers to the battery's discharging current.

[0086] In some embodiments, the temperature sensing device described above can be a temperature sensing device disposed on the battery protection board of the electronic device, such as a surface-mount NTC thermistor. It is understood that in certain scenarios (e.g., scenarios based on high-current fast charging), the battery protection board generates severe heat, which causes the temperature of the temperature sensing device to rise rapidly, resulting in the temperature measured by the temperature sensing device (i.e., the measured temperature described above) not accurately reflecting the true temperature of the battery.

[0087] For example, assuming Tgoal is the measured temperature of the battery, that is, the temperature measured by the temperature sensing device, then the measured temperature can be expressed as the following equation (1-1):

[0088] Tgoal = Tenv + Tp; (1-1)

[0089] In equation (1-1) above, Tenv is the ambient temperature and Tp is the temperature rise caused by the heat source.

[0090] For leaded NTC thermistors, Tp can be approximated as Tcell, where Tcell is the temperature rise caused by the battery cell heating. For surface-mount NTC thermistors, Tp can be approximated as Tcell + Tpcm, where Tpcm is the temperature rise caused by the battery protection board heating. In other words, for surface-mount NTC thermistors, the measured temperature can be expressed as follows (1-2):

[0091] Tgoal=Tenv+Tcell+Tpcm; (1-2)

[0092] Therefore, in order to accurately measure the temperature of the battery (cell) based on the surface-mount NTC thermistor, it is necessary to eliminate the additional temperature rise of Tpcm, and thus it is necessary to continue to perform the subsequent steps of this embodiment.

[0093] In step S102, the compensation temperature for the measured temperature is determined based on the charging and discharging current and a predetermined first temperature compensation model.

[0094] In this embodiment, after obtaining the charging and discharging current of the battery, the absolute value of the charging and discharging current can be input into the first temperature compensation model to obtain the compensation temperature of the measured temperature.

[0095] The first temperature compensation model can be a model trained in advance based on sample data. The sample data can include the actual temperature data, measured temperature data, and charge / discharge current data of the sample battery. The measured temperature data can be the temperature data measured using a sample temperature detection device.

[0096] In some implementations, the aforementioned first temperature compensation model can be a quadratic function of the absolute value of the charging and discharging current. For example, assuming the absolute value of the charging and discharging current is "I", the first temperature compensation model can be represented by the following equation (1-1):

[0097] Tcom = a·I 2 +b·I+c; (1-3)

[0098] It is worth noting that this embodiment predicts Tpcm from the root cause of heat generation, that is, through heat loss P=I 2 ·R, where R is the resistance value (fixed value), thus establishing the model shown in equation (1-3) above, which is a quadratic function of the absolute value of the charging and discharging current. It can be understood that the parameters a, b, and c in the above first temperature compensation model can be determined by training the model, and this embodiment does not limit the specific training process.

[0099] Based on this, once the charging and discharging current is obtained, its absolute value I can be substituted into the above formula (1-3) to obtain the compensation temperature Tcom for the measured temperature.

[0100] In step S103, the actual temperature of the battery is determined based on the compensated temperature and the measured temperature.

[0101] In this embodiment, after the compensation temperature of the measured temperature is determined based on the charging and discharging current and the predetermined first temperature compensation model, the measured temperature can be compensated based on the compensation temperature to eliminate the additional temperature rise of Tpcm, obtain the compensated temperature, and use it as the actual temperature of the battery.

[0102] For example, assuming the compensation temperature is Tcom, and the measurement temperature of the surface-mount NTC thermistor is Tgoal = Tenv + Tcell + Tpcm, the actual temperature Tgoal_com of the battery can be determined based on the following formula (1-4):

[0103] Tgoal_com=(Tenv+Tcell+Tpcm)-Tcom; (1-4)

[0104] As described above, the method of this embodiment obtains the measured temperature and charging / discharging current of the battery, determines the compensation temperature of the measured temperature based on the charging / discharging current and a predetermined first temperature compensation model, and then determines the actual temperature of the battery based on the compensation temperature and the measured temperature. This can accurately determine the actual temperature of the battery, improve battery reliability, and reduce battery cost.

[0105] Figure 2 This is a flowchart illustrating how to determine the compensation temperature of the measured temperature according to an exemplary embodiment of the present disclosure; this embodiment is based on the above embodiment and takes the determination of the compensation temperature of the measured temperature as an example for illustrative explanation.

[0106] As can be seen from equation (1-3) above, if a sudden current change occurs during the use of an electronic device (e.g., due to plugging or unplugging the charger, or a rise in ambient temperature Tenv causing charging current limiting), then Tcom will also change abruptly. However, the change in measured temperature is caused by thermal conduction and does not change abruptly. This results in the "compensated temperature" obtained after compensating the measured temperature based on the compensation temperature still having errors and failing to accurately reflect the true temperature of the battery. Therefore, this embodiment proposes a smooth compensation strategy, which determines the compensation temperature based on the average value of the charging and discharging currents of multiple strategies, thereby effectively solving the problem of inaccurate battery temperature determination caused by sudden current changes.

[0107] Specifically, the charging and discharging current in this embodiment may include multiple sampled currents collected at multiple sampling times prior to the current time, wherein one sampled current is collected at each sampling time (e.g., per second). For example, a FIFO (First In First Out) strategy can be used to store the absolute values ​​of the charging and discharging currents measured most recently n times (the specific value of n can be set according to actual needs, such as 35, etc.).

[0108] Based on this, such as Figure 2 As shown, the compensation temperature for determining the measured temperature based on the charging / discharging current and a predetermined first temperature compensation model in step S102 above may include the following steps S201-S202:

[0109] In step S201, the average of the multiple sampled currents is calculated to obtain the average current value at the current moment.

[0110] In this embodiment, after obtaining multiple sampled currents collected at multiple sampling times prior to the current time, the average of these multiple sampled currents can be calculated to obtain the average current value at the current time.

[0111] In step S202, the compensation temperature is determined based on the average current value and the first temperature compensation model.

[0112] In this embodiment, after averaging the multiple sampled currents to obtain the average current value at the current moment, the compensation temperature can be determined based on the average current value and the first temperature compensation model.

[0113] For example, after obtaining the average current value at the current moment, the absolute value of the average current value Iave can be used to replace "I" in the above formula (1-3) to obtain the compensation temperature Tcom_ave for the measured temperature, as shown in the following formula (2-1):

[0114] Tcom_ave=a·Iave 2 +b·Iave+c; (2-1)

[0115] As described above, this embodiment obtains the average current value at the current moment by averaging the multiple sampled currents, and determines the compensation temperature based on the average current value and the first temperature compensation model. This can achieve smooth compensation for the measured temperature, thereby effectively solving the problem of inaccurate battery temperature determination caused by sudden current changes, and further improving the accuracy of battery temperature determination.

[0116] Figure 3A This is a flowchart illustrating how to determine the compensation temperature of the measured temperature according to another exemplary embodiment of the present disclosure; this embodiment is based on the above embodiment and takes the determination of the compensation temperature of the measured temperature as an example for illustrative explanation.

[0117] like Figure 3A As shown, the battery temperature determination method of this embodiment may further include determining a compensation temperature based on the following steps S301-S307:

[0118] In step S301, in response to the electronic device being in a charging state, the difference between the average current value at the current moment and the average current value at the previous moment is determined to obtain the average current difference. Based on this, steps S302 or S305 can be executed as appropriate.

[0119] In step S302, it is determined whether the average current difference is greater than the first current difference threshold and less than or equal to the second current difference threshold: if yes, then step S303 is executed; if no, then step S304 is executed.

[0120] The second current difference threshold is determined based on the average current difference at the start of charging.

[0121] For example, the average current difference at the start of charging is the ratio of the constant current charging current to the smoothing quantity (i.e. the number of sampling moments) n, such as 12.4 / 35 = 0.354. Therefore, the second current difference threshold can be set to 0.3 (i.e., slightly smaller than 0.354) to ensure that the compensation method is also implemented at the critical value.

[0122] In step S303, the compensation temperature for the measured temperature is determined based on the charging and discharging current and a predetermined first temperature compensation model.

[0123] In step S304, in response to the average current difference being greater than the second current difference threshold, the current charging duration of the electronic device is input into the second temperature compensation model to obtain the compensation temperature.

[0124] The second temperature compensation model can be used to determine the compensation temperature when a large current occurs (i.e., charging starts based on a large current).

[0125] The second temperature compensation model is constructed based on the current estimated temperature rise rate of the battery and the charging time, and the current estimated temperature rise rate corresponds to the current charging current of the battery.

[0126] For example, Figure 3B These are schematic diagrams illustrating various temperature and current curves according to a first exemplary embodiment of this disclosure; Figure 3C This is a schematic diagram of various temperature and current curves according to the second exemplary embodiment of this disclosure; wherein, the horizontal axis is time (seconds), the left vertical axis is temperature (°C), and the right vertical axis is the absolute value of current (mA); the various temperatures are the measured temperature (the temperature measured by the temperature detection device), the cell temperature (the temperature of the cell in the current environment "Tenv+Tcell"), the compensated temperature (the determined battery temperature Tgoal_com), and the absolute value of current (the actual current value during charging, and the opposite of the current value during discharging).

[0127] pass Figure 3B It can be seen that, after Figure 2 The smooth compensation strategy of the illustrated embodiment shows that the overall compensation effect is better during charging (i.e., the temperature after compensation is closer to the cell temperature overall), but when a large current occurs (i.e. Figure 3B The portion from 0 to 100 seconds on the left side of the middle, when magnified, is as follows: Figure 3C As shown in the figure, the temperature after compensation has a significant abrupt change relative to the cell temperature, that is, the error of the temperature after compensation is large, and the duration of this abrupt change is positively correlated with the number of smoothing times (i.e., the number of multiple sampling times n).

[0128] To mitigate the issue of significant temperature errors after compensation when high currents occur in the smoothing compensation strategy, this embodiment can incorporate a high current occurrence compensation strategy (i.e., the strategy described above for determining the compensation temperature based on the second temperature compensation model). Specifically, step S301 is first executed, in response to the electronic device being in a charging state, determining the difference between the current average current value Iave_now and the previous average current value Iave_last, to obtain the average current difference ΔIave, as shown in equation (3-1):

[0129] △Iave=Iave_now-Iave_last; (3-1)

[0130] As can be seen from equation (3-1) above, when ΔIave>0, it indicates that the absolute value of the current increases, and the larger ΔIave is, the faster the absolute value of the current increases. By detecting the sign of the true current value, it can be determined whether the electronic device is in a charging or discharging state. Considering that the discharge current is usually small and will not change much in a short time (i.e., the current value will not change abruptly), the discharge process does not require compensation for the appearance of a large current. Therefore, the "large current appearance compensation strategy" added in this embodiment is actually a "large current start-up charging compensation strategy".

[0131] Based on this, and according to Joule's law, the greater the current, the greater the heat generation. Therefore, different initial charging currents correspond to different temperature rise rates. Thus, the estimated temperature rise rate can be determined based on different initial charging currents. The method for determining the estimated temperature rise rate can be found below. Figure 4 The embodiments shown will not be described in detail here.

[0132] Furthermore, a second temperature compensation model is constructed based on the estimated temperature rise rate and charging time, which is a univariate linear function as shown in equation (3-2):

[0133] Tcom_ave = k·t; (3-2)

[0134] In the above formula, k is the current temperature rise rate corresponding to the current initial charging current, and t is the current charging time.

[0135] That is to say, when the average current difference is greater than the second current difference threshold, such as △Iave>0.3, the high current start-up charging compensation is started, that is, the compensation temperature Tcom_ave is determined based on the second temperature compensation model; as the charging time increases, when △Iave≤0.3, the high current start-up charging compensation is stopped, and the compensation temperature Tcom_ave is determined based on the first temperature compensation model shown in the above formula (2-1).

[0136] Figure 3DThese are schematic diagrams illustrating various temperature and current curves according to the third exemplary embodiment of this disclosure; such as Figure 3D As shown in the figure, this illustrates the effect after initiating high-current initial charging compensation. Figure 3D and Figure 3C The comparison shows that after high-current initial charging compensation, the temperature after compensation is closer to the cell temperature, meaning that the temperature error after compensation is further reduced.

[0137] In step S305, it is determined whether the average current difference is less than the third current difference threshold and whether the measured temperature at the current moment is less than the measured temperature at the previous moment. If not, step S306 is executed; if yes, step S307 is executed.

[0138] Among them, the threshold value of the third current difference is less than 0.

[0139] In step S306, in response to the average current difference being greater than or equal to the third current difference threshold and less than or equal to the first current difference threshold, a compensation temperature for the measured temperature is determined based on the charging and discharging current and a predetermined first temperature compensation model.

[0140] In step S307, the compensation temperature at the current moment is determined based on the compensation temperature at the previous moment.

[0141] For example, the compensation temperature at the current moment can be determined as the compensation temperature at the previous moment, that is, the compensation temperature at the current moment can be kept unchanged.

[0142] As mentioned earlier, through Figure 3B It can be seen that, after Figure 2 The smooth compensation strategy of the illustrated embodiment shows that the overall compensation effect during charging is better (i.e., the temperature after compensation is closer to the cell temperature overall). However, when the high current disappears (e.g., when the charger is unplugged to stop charging, or when the charging current is limited due to factors such as an increase in ambient temperature Tenv), such as... Figure 3E As shown, the compensated temperature exhibits a significant abrupt change relative to the cell temperature (i.e., Figure 3E The compensated temperature exhibits a circular spike (in the middle section), indicating a significant error in the compensated temperature. Furthermore, the duration of this abrupt change is positively correlated with the number of smoothing operations (i.e., the number of sampling times, n). This is because the initial temperature of the surface-mount NTC thermistor is higher, and its location and material differ from the battery cell, resulting in different heat dissipation rates. When the current suddenly decreases, the compensated temperature Tcom_ave decreases, while the compensated temperature Tgoal_com increases, causing a sudden change in the compensated temperature relative to the battery cell temperature, thus leading to a larger error in the compensated temperature.

[0143] To mitigate the issue of significant temperature errors after compensation when a large current disappears in the smooth compensation strategy, this embodiment can incorporate a large current disappearance compensation strategy (i.e., the strategy described above that maintains the current compensation temperature unchanged). Specifically, when ΔIave < 0, it indicates that the absolute value of the current is decreasing; the smaller ΔIave is, the faster the current decreases. Similar to compensation for large current occurrences, when ΔIave is detected to be less than a certain value (i.e., the aforementioned third current difference threshold), and the measured temperature does not increase (excluding external interference), such as when the measured temperature at the current moment is less than the measured temperature at the previous moment (e.g., ... Figure 3E As shown, when the measured temperature drops after about 280 seconds, the large current disappearance compensation is activated, that is, Tcom_ave_now = Tcom_ave_last is maintained until ΔIave is greater than the third current difference threshold mentioned above, at which point the large current disappearance compensation is exited, and the compensation temperature Tcom_ave is determined based on the first temperature compensation model shown in Equation (2-1).

[0144] For example, assuming the current constant current charging current is 12.4A, the smoothing quantity (the number of sampling moments) n = 35, and the calculated values ​​at the time of charging interruption are ΔIave = -0.344, Tcom_ave_now = 44.151, and Tcom_ave_last = 41.057, and the measured temperature is 62.3℃ and has not increased, then the large current disappearance compensation can be activated. While ΔIave < -0.3 (i.e., slightly greater than -0.344), Tcom_ave_now = Tcom_ave_last = 41.057 is maintained; until ΔIave ≥ -0.3, the large current disappearance compensation is deactivated, and Tcom_ave = a·Iave is set. 2 +b·Iave+c.

[0145] Figure 3F These are schematic diagrams illustrating various temperature and current curves according to the fifth exemplary embodiment of this disclosure; such as Figure 3F As shown in the figure, this illustrates the effect after compensation for the disappearance of the large current at startup. Figure 3F and Figure 3E The comparison shows that after compensation for the disappearance of large current, the temperature after compensation is closer to the temperature of the battery cell, that is, the error of the temperature after compensation is further reduced.

[0146] As described above, this embodiment can determine the compensation temperature based on different situations by compensating for the appearance and disappearance of large currents. This solves the problem of large errors in the compensated temperature caused by sudden changes in large currents in the smooth compensation strategy, and can improve the accuracy and rationality of determining the compensation temperature. In turn, it can improve the accuracy of determining the actual temperature of the battery based on the compensation temperature.

[0147] Figure 4 This is a flowchart illustrating how to determine the current estimated temperature rise rate according to an exemplary embodiment of the present disclosure; this embodiment is based on the above embodiment and takes how to determine the current estimated temperature rise rate as an example for illustrative explanation.

[0148] like Figure 4 As shown, the battery temperature determination method in this embodiment may further include determining the current estimated temperature rise rate based on the following steps S401-S402:

[0149] In step S401, based on the pre-built correspondence, the temperature rise of the temperature detection device corresponding to the current charging current is queried.

[0150] In this embodiment, after obtaining the current charging current of the battery, the temperature rise of the temperature detection device corresponding to the current charging current can be queried based on the pre-built correspondence.

[0151] The temperature rise of the temperature detection device is the increase in temperature measured by the temperature detection device.

[0152] For example, the actual temperature rise of the surface-mount NTC thermistor can be detected in advance at each constant current charging stage, i.e. at each constant charging current, based on temperature detection tools (such as temperature sensors), thereby establishing the correspondence between each constant charging current and the aforementioned actual temperature rise.

[0153] Based on this, once the current charging current of the battery is obtained, the above-mentioned correspondence can be queried to obtain the actual temperature rise corresponding to the current charging current, that is, the temperature rise of the temperature detection device.

[0154] In step S403, the current estimated temperature rise rate is determined based on the temperature rise of the temperature detection device and the number of sampling times.

[0155] In this embodiment, after obtaining the temperature rise of the temperature detection device corresponding to the current charging current, the current estimated temperature rise rate can be determined based on the temperature rise of the temperature detection device and the number of sampling times.

[0156] In some embodiments, assuming the temperature rise of the queried temperature sensing device is ΔT and the number of sampling times is n, the current estimated temperature rise rate k can be determined based on the following equation (4-1):

[0157] k = △T / n; (4-1)

[0158] In other words, in this embodiment, the temperature rise curve of the temperature detection device within multiple sampling times (e.g., n seconds) is approximated as a univariate linear function to obtain the estimated temperature rise rate k, i.e., the slope of the temperature rise curve. It is worth noting that several sets of temperature rise curves can be established, and the specific number of sets can be determined based on the battery charging method. That is, the number of constant current charging stages corresponds to the number of univariate linear functions of temperature rise curves, i.e., the second temperature compensation model.

[0159] For example, assuming the current constant current charging current is 12.4A, by looking up the corresponding relationship, we know that the temperature rise of the temperature detection device is ΔT = 14.34, and the number of sampling times is n = 35. Therefore, we can calculate k = 14.34 / 35 = 0.41.

[0160] As described above, this embodiment queries the temperature rise of the temperature detection device corresponding to the current charging current based on a pre-built correspondence, and determines the current estimated temperature rise rate based on the temperature rise of the temperature detection device and the number of sampling times. This can accurately determine the current estimated temperature rise rate of the battery, and subsequently determine the compensation temperature based on the second temperature compensation model and the current charging time of the electronic device, thereby improving the accuracy of determining the compensation temperature and, consequently, improving the accuracy of determining the battery temperature based on the compensation temperature.

[0161] Figure 5 This is a block diagram illustrating a battery temperature determination device according to an exemplary embodiment of the present disclosure. The device of this embodiment can be configured in an electronic device having a battery and a temperature detection device, such as a mobile terminal (e.g., a mobile phone, tablet computer, etc.), a wearable device (e.g., glasses, watch, etc.). Specifically, as... Figure 5 As shown, the device may include: a temperature and current acquisition module 110, a compensation temperature determination module 120, and a battery temperature determination module 130, wherein:

[0162] The temperature and current acquisition module 110 is used to acquire the measured temperature and charging / discharging current of the battery, wherein the measured temperature is the temperature measured by the temperature detection device.

[0163] The compensation temperature determination module 120 is used to determine the compensation temperature of the measured temperature based on the charging and discharging current and a pre-determined first temperature compensation model.

[0164] The battery temperature determination module 130 is used to determine the actual temperature of the battery based on the compensated temperature and the measured temperature.

[0165] As described above, the device in this embodiment acquires the measured temperature and charging / discharging current of the battery, determines the compensation temperature of the measured temperature based on the charging / discharging current and a predetermined first temperature compensation model, and then determines the actual temperature of the battery based on the compensation temperature and the measured temperature. This allows for accurate determination of the actual temperature of the battery, improved battery reliability, and reduced battery cost.

[0166] Figure 6 This is a block diagram illustrating another battery temperature determination device according to an exemplary embodiment of the present disclosure. The device of this embodiment can be configured in an electronic device having a battery and a temperature detection device, such as a mobile terminal (e.g., a mobile phone, tablet computer, etc.), a wearable device (e.g., glasses, watches, etc.). The temperature current acquisition module 210, the compensation temperature determination module 220, and the battery temperature determination module 230 are as described above. Figure 5 The temperature and current acquisition module 110, the compensation temperature determination module 120, and the battery temperature determination module 130 in the illustrated embodiment have the same function, which will not be described in detail here.

[0167] In this embodiment, the charging and discharging current may include multiple sampled currents collected at multiple sampling times prior to the current time, wherein one sampled current is collected at each sampling time.

[0168] Based on this, the compensation temperature determination module 220 may include:

[0169] The average current acquisition unit 221 is used to average the multiple sampled currents to obtain the average current value at the current moment.

[0170] The average current input unit 222 is used to determine the compensation temperature based on the average current value and the first temperature compensation model.

[0171] In some embodiments, the compensation temperature determination module 220 may further include:

[0172] The current difference determination unit 223 is used to determine the difference between the average current value at the current moment and the average current value at the previous moment in response to the electronic device being in a charging state, and to obtain the average current difference.

[0173] The first temperature determination unit 224 is configured to perform the operation of determining the compensation temperature based on the charge / discharge current and a predetermined first temperature compensation model in response to the average current difference being greater than a first current difference threshold and less than or equal to a second current difference threshold.

[0174] In some embodiments, the second current difference threshold may be determined based on the average current difference at the start of charging.

[0175] In some embodiments, the compensation temperature determination module 220 may further include:

[0176] The second temperature determination unit 225 is used to input the current charging time of the electronic device into the second temperature compensation model in response to the average current difference being greater than the second current difference threshold, and to obtain the compensation temperature. The second temperature compensation model is constructed based on the current estimated temperature rise rate of the battery and the charging time, and the current estimated temperature rise rate corresponds to the current charging current of the battery.

[0177] In some embodiments, the compensation temperature determination module 220 may further include a temperature rise rate determination unit 226;

[0178] The temperature rise rate determination unit 226 can be used for:

[0179] Based on the pre-built correspondence, query the temperature rise of the temperature detection device corresponding to the current charging current. The temperature rise of the temperature detection device is the increase in temperature measured by the temperature detection device.

[0180] The current estimated temperature rise rate is determined based on the temperature rise of the temperature detection device and the number of sampling times.

[0181] In some embodiments, the compensation temperature determination module 220 may further include:

[0182] The third temperature determination unit 227 is configured to determine the compensation temperature at the current moment based on the compensation temperature at the previous moment in response to the average current difference being less than a third current difference threshold and the measured temperature at the current moment being less than the measured temperature at the previous moment.

[0183] In some embodiments, the third current difference threshold can be determined based on the average current difference during the charging interruption.

[0184] In some embodiments, the compensation temperature determination module 220 may further include:

[0185] The fourth temperature determination unit 228 is configured to perform the operation of determining the compensation temperature of the measured temperature based on the charging and discharging current and a predetermined first temperature compensation model in response to the average current difference being greater than or equal to the third current difference threshold and less than or equal to the first current difference threshold.

[0186] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0187] Figure 7This is a block diagram illustrating an electronic device according to an exemplary embodiment. For example, device 900 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.

[0188] Reference Figure 7 The device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.

[0189] Processing component 902 typically controls the overall operation of device 900, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the battery temperature determination method described above. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.

[0190] Memory 904 is configured to store various types of data to support the operation of device 900. Examples of this data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 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 storage, flash memory, magnetic disk, or optical disk.

[0191] Power supply component 906 provides power to various components of device 900. Power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 900.

[0192] Multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display panel and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0193] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when device 900 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.

[0194] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0195] Sensor assembly 914 includes one or more sensors for providing status assessments of various aspects of device 900. For example, sensor assembly 914 can detect the on / off state of device 900, the relative positioning of components such as the display panel and keypad of device 900, changes in the position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration / deceleration of device 900, and temperature changes of device 900. Sensor assembly 914 may also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 914 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0196] Communication component 916 is configured to facilitate wired or wireless communication between device 900 and other devices. Device 900 can access wireless networks based on communication standards, such as WiFi, 2G or 3F, 4G or 5G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0197] In an exemplary embodiment, device 900 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 battery temperature determination method described above.

[0198] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, which can be executed by a processor 920 of the device 900 to complete the battery temperature determination method described above. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0199] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0200] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for determining battery temperature, characterized in that, The method includes: The battery's measured temperature and charging / discharging current are obtained, wherein the measured temperature is the temperature measured by a temperature detection device; The compensation temperature for the measured temperature is determined based on the charging and discharging current and a predetermined first temperature compensation model. The actual temperature of the battery is determined based on the compensation temperature and the measured temperature. The charging and discharging current includes multiple sampled currents collected at multiple sampling times prior to the current time, wherein one sampled current is collected at each sampling time. The step of determining the compensation temperature based on the charging / discharging current and a pre-determined first temperature compensation model includes: The average current value at the current moment is obtained by averaging the multiple sampled currents. The compensation temperature is determined based on the average current value and the first temperature compensation model. The method further includes: In response to the fact that the electronic device is currently in a charging state, the difference between the average current value at the current moment and the average current value at the previous moment is determined to obtain the average current difference; In response to the average current difference being greater than a first current difference threshold and less than or equal to a second current difference threshold, the operation of determining the compensation temperature of the measured temperature based on the charge / discharge current and a predetermined first temperature compensation model is performed.

2. The method according to claim 1, characterized in that, The second current difference threshold is determined based on the average current difference at the start of charging.

3. The method according to claim 1, characterized in that, The method further includes: In response to the average current difference being greater than the second current difference threshold, the current charging duration of the electronic device is input into the second temperature compensation model to obtain the compensation temperature. The second temperature compensation model is constructed based on the current estimated temperature rise rate of the battery and the charging duration, and the current estimated temperature rise rate corresponds to the current charging current of the battery.

4. The method according to claim 3, characterized in that, The method further includes determining the current estimated rate of temperature rise based on the following: Based on the pre-built correspondence, query the temperature rise of the temperature detection device corresponding to the current charging current. The temperature rise of the temperature detection device is the increase in temperature measured by the temperature detection device. The current estimated temperature rise rate is determined based on the temperature rise of the temperature detection device and the number of sampling times.

5. The method according to claim 1, characterized in that, The method further includes: In response to the average current difference being less than a third current difference threshold, and the measured temperature at the current moment being less than the measured temperature at the previous moment, the compensation temperature at the current moment is determined based on the compensation temperature at the previous moment.

6. The method according to claim 5, characterized in that, The third current difference threshold is determined based on the average current difference during the charging interruption.

7. The method according to claim 5, characterized in that, The method further includes: In response to the average current difference being greater than or equal to the third current difference threshold and less than or equal to the first current difference threshold, the operation of determining the compensation temperature of the measured temperature based on the charging and discharging current and a predetermined first temperature compensation model is performed.

8. A battery temperature determination device, characterized in that, The device includes: The temperature and current acquisition module is used to acquire the measured temperature and charging / discharging current of the battery, wherein the measured temperature is the temperature measured by the temperature detection device. The compensation temperature determination module is used to determine the compensation temperature of the measured temperature based on the charging and discharging current and a pre-determined first temperature compensation model. A battery temperature determination module is used to determine the actual temperature of the battery based on the compensation temperature and the measured temperature. The charging and discharging current includes multiple sampled currents collected at multiple sampling times prior to the current time, wherein one sampled current is collected at each sampling time. The compensation temperature determination module includes: An average current acquisition unit is used to average the multiple sampled currents to obtain the average current value at the current moment. An average current input unit is used to determine the compensation temperature based on the average current value and the first temperature compensation model. The compensation temperature determination module includes: A current difference determination unit is used to determine the difference between the average current value at the current moment and the average current value at the previous moment in response to the electronic device being in a charging state, and to obtain the average current difference. The first temperature determination unit is configured to perform the operation of determining the compensation temperature of the measured temperature based on the charging and discharging current and a predetermined first temperature compensation model in response to the average current difference being greater than a first current difference threshold and less than or equal to a second current difference threshold.

9. An electronic device, characterized in that, The device includes: Batteries, temperature sensing devices, processors, and memory used to store computer programs; The processor is configured to implement the method described in any one of claims 1-7 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method described in any one of claims 1-7.

Citation Information

Patent Citations

  • Battery ambient temperature estimation device

    JP2020053271A

  • Battery temperature compensation method for mobile terminal and mobile terminal thereof

    KR1020160121200A