Battery temperature method, apparatus, and storage medium

CN119374749BActive Publication Date: 2026-09-18BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310927400.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-26
Publication Date
2026-09-18
Estimated Expiration
2043-07-26

AI Technical Summary

Benefits of technology

[0037] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: based on the correspondence between charging and discharging current and temperature, the temperature corresponding to the current charging and discharging current is determined, and the temperature measured by the patch negative temperature coefficient thermistor is compensated by the temperature, thereby realizing the detection of the current battery temperature, achieving the effect of accurately measuring the battery temperature, enhancing the accuracy of battery temperature detection, and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119374749B_ABST
    Figure CN119374749B_ABST
Patent Text Reader

Abstract

This disclosure relates to a battery temperature detection method, apparatus, and storage medium, comprising: detecting a first charge / discharge current of the battery during the charge / discharge process; determining a first temperature corresponding to the charge / discharge current, wherein the first temperature is used to characterize the temperature rise caused by the heating of the battery protection board; acquiring a second temperature detected by a patch negative temperature coefficient thermistor on the battery; and determining the actual temperature of the battery based on the first temperature and the second temperature, thereby realizing the detection of the terminal state.
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 battery temperature detection method, device and storage medium. Background Technology

[0002] With the development of technology, in order to meet people's daily needs, the charging speed of terminals is getting faster and faster. During charging, heat generation often occurs. The terminal is responsible for detecting the terminal temperature and making reasonable adjustments based on the terminal temperature. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this disclosure provides a battery temperature detection method, device and storage medium.

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

[0005] During the charging and discharging process of the battery, the first charging and discharging current of the battery is detected; the first temperature corresponding to the charging and discharging current is determined, and the first temperature is used to characterize the temperature rise caused by the heating of the battery protection board; the second temperature detected by the negative temperature coefficient thermistor on the battery is collected; and the actual temperature of the battery is determined based on the first temperature and the second temperature.

[0006] In one embodiment, determining the first temperature corresponding to the first charge / discharge current includes:

[0007] Based on a first correspondence between charging / discharging current and temperature, a first temperature corresponding to the first charging / discharging current is determined. In one embodiment, detecting the first charging / discharging current of the battery during charging / discharging includes:

[0008] During the charging and discharging process of the battery, the second charging and discharging current of the battery is collected in real time at fixed time intervals; the average of the absolute values ​​of the most recent n collected second charging and discharging currents is taken as the first charging and discharging current, where n is a positive integer.

[0009] In one embodiment, determining the actual temperature of the battery based on the first temperature and the second temperature includes:

[0010] The temperature difference between the second temperature and the first temperature is determined as the actual temperature of the battery.

[0011] In one embodiment, determining the actual temperature of the battery based on the first temperature and the second temperature includes:

[0012] Based on the second correspondence between the change in current and temperature, a third temperature corresponding to the real-time change in current during battery charging is determined; based on the first temperature, the second temperature, and the third temperature, the actual temperature of the battery is determined.

[0013] In one embodiment, the real-time current change is determined in the following manner:

[0014] During the charging and discharging process of the battery, the charging and discharging current of the battery is collected in real time at fixed time intervals; the average value of the absolute values ​​of the charging and discharging current collected most recently n times at time m is determined to obtain the first average charging and discharging current, and the average value of the absolute values ​​of the charging and discharging current collected most recently n times at time m-1 is determined to obtain the second average charging and discharging current, where m is a positive integer; the current difference between the first average charging and discharging current and the second average charging and discharging current is used as the real-time current change.

[0015] In one embodiment, determining the actual temperature of the battery based on the first temperature, the second temperature, and the third temperature includes:

[0016] The sum of the temperatures between the first temperature and the third temperature is determined, and the temperature difference between the second temperature and the sum of the temperatures is taken as the actual temperature of the battery.

[0017] In one embodiment, in response to the first temperature being greater than a temperature compensation threshold, the temperature compensation threshold is used as the first temperature.

[0018] The temperature compensation threshold is determined based on the battery's overcurrent protection current and the first correspondence.

[0019] According to a second aspect of the present disclosure, a battery temperature detection device is provided, comprising:

[0020] The detection unit is used to detect the first charging and discharging current of the battery during the charging and discharging process; the determination unit is used to determine the first temperature corresponding to the charging and discharging current, the first temperature being used to characterize the temperature rise caused by the heating of the battery protection board; the acquisition unit is used to acquire the second temperature detected by the negative temperature coefficient thermistor on the battery; and the processing unit is used to determine the actual temperature of the battery based on the first temperature and the second temperature.

[0021] In one embodiment, the determining unit determines the first temperature corresponding to the first charge / discharge current in the following manner:

[0022] Based on the first correspondence between charging / discharging current and temperature, a first temperature corresponding to the first charging / discharging current is determined.

[0023] In one embodiment, the detection unit detects the first charge / discharge current of the battery during the battery charge / discharge process in the following manner:

[0024] During the charging and discharging process of the battery, the charging and discharging current of the battery is collected in real time at fixed time intervals; the average value of the absolute values ​​of the charging and discharging current collected most recently n times is taken as the first charging and discharging current, where n is a positive integer.

[0025] In one embodiment, the processing unit determines the actual temperature of the battery based on the first temperature and the second temperature in the following manner:

[0026] The temperature difference between the second temperature and the first temperature is determined as the actual temperature of the battery.

[0027] In one embodiment, the processing unit determines the actual temperature of the battery based on the first temperature and the second temperature in the following manner:

[0028] Based on the second correspondence between the change in current and temperature, a third temperature corresponding to the real-time change in current during battery charging is determined; based on the first temperature, the second temperature, and the third temperature, the actual temperature of the battery is determined.

[0029] In one embodiment, the real-time current change is determined in the following manner:

[0030] During the charging and discharging process of the battery, the charging and discharging current of the battery is collected in real time at fixed time intervals; the average value of the absolute values ​​of the charging and discharging current collected most recently n times at time m is determined to obtain the first average charging and discharging current, and the average value of the absolute values ​​of the charging and discharging current collected most recently n times at time m-1 is determined to obtain the second average charging and discharging current, where m is a positive integer; the current difference between the first average charging and discharging current and the second average charging and discharging current is used as the real-time current change.

[0031] In one embodiment, the processing unit determines the actual temperature of the battery based on the first temperature, the second temperature, and the third temperature in the following manner:

[0032] The sum of the temperatures between the first temperature and the third temperature is determined, and the temperature difference between the second temperature and the sum of the temperatures is taken as the actual temperature of the battery.

[0033] In one embodiment, in response to the first temperature being greater than a temperature compensation threshold, the temperature compensation threshold is used as the first temperature; the temperature compensation threshold is determined based on the overcurrent protection current of the battery and the first correspondence.

[0034] According to a third aspect of the present disclosure, a battery temperature detection device is provided, comprising:

[0035] A processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the function control method described in the first aspect or any embodiment of the first aspect.

[0036] According to a fourth aspect of the present disclosure, a storage medium is provided, the storage medium storing instructions that, when executed by a processor of a terminal, enable the terminal to perform the method described in the first aspect or any one of the embodiments of the first aspect.

[0037] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: based on the correspondence between charging and discharging current and temperature, the temperature corresponding to the current charging and discharging current is determined, and the temperature measured by the patch negative temperature coefficient thermistor is compensated by the temperature, thereby realizing the detection of the current battery temperature, achieving the effect of accurately measuring the battery temperature, enhancing the accuracy of battery temperature detection, and enhancing the user experience.

[0038] 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

[0039] 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.

[0040] Figure 1a and Figure 1b This is a battery structure diagram illustrating an exemplary embodiment.

[0041] Figure 2 This is a flowchart illustrating a battery temperature detection method according to an exemplary embodiment.

[0042] Figure 3 This is a flowchart illustrating a first temperature determination method according to an exemplary embodiment.

[0043] Figure 4 This is a flowchart illustrating a first charge / discharge current detection method according to an exemplary embodiment.

[0044] Figure 5 This is a flowchart illustrating a battery temperature detection method according to an exemplary embodiment.

[0045] Figure 6 This is a flowchart illustrating a method for determining battery temperature according to an exemplary embodiment.

[0046] Figure 7 This is a flowchart illustrating a current change detection method according to an exemplary embodiment.

[0047] Figure 8 This is a flowchart illustrating a battery temperature detection method according to an exemplary embodiment.

[0048] Figure 9 This is a flowchart illustrating a threshold determination method according to an exemplary embodiment.

[0049] Figure 10 This is a block diagram illustrating a battery temperature detection device according to an exemplary embodiment.

[0050] Figure 11 This is a block diagram illustrating a battery temperature detection device according to an exemplary embodiment. Detailed Implementation

[0051] 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 numbers 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.

[0052] In the accompanying drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The described embodiments are some, but not all, of the embodiments of this disclosure. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure. The embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.

[0053] The temperature detection method provided in this disclosure can be applied to scenarios involving temperature compensation of patch negative temperature coefficient thermistors. By designing the relationship between current and temperature, compensation can be achieved for the temperature measured by the patch negative temperature coefficient thermistor, thereby improving the accuracy of the obtained battery temperature.

[0054] Figure 1a and Figure 1b A battery structure diagram illustrating an exemplary embodiment of this disclosure is shown. For example... Figure 1a and Figure 1b As shown, the battery includes a cell, a negative temperature coefficient thermistor (NTC), a battery protection board, and a connector.

[0055] In related technologies, negative temperature coefficient (NTC) thermistors can be divided into leaded NTCs and surface-mount NTCs. For ease of description, the following embodiments of this disclosure refer to both leaded NTCs and surface-mount NTCs as NTCs. To accurately measure the actual temperature of a battery, current battery temperature measurement methods involve attaching a leaded NTC to a corner of the battery. However, leaded NTCs are expensive, have complex soldering processes, and poor reliability. To improve upon this, surface-mount NTCs can be used. However, during charging, the battery protection board generates significant heat, causing the surface-mount NTC to heat up rapidly, resulting in a temperature reading that does not accurately represent the battery's true temperature. For example, the temperature at a certain location on the battery can be represented as Tgoal, the ambient temperature as Tenv, the temperature rise caused by the heat source as Tp, the temperature rise caused by the cell heat as Tcell, and the temperature rise caused by the protection board heat as Tpcm. The temperature at a certain location on the battery can be composed of the ambient temperature and the temperature rise caused by the heat source, i.e., Tgoal = Tenv + Tp. For leaded NTC batteries, the temperature rise caused by the heat source can be approximated as the temperature rise caused by the cell heating, i.e., Tp = Tcell, and Tgoal = Tenv + Tcell is the actual temperature measured by the leaded NTC. For surface-mount NTC batteries, the temperature rise caused by the heat source can be approximated as consisting of two parts: the temperature rise caused by the cell heating and the temperature rise caused by the protection board heating the leads, i.e., Tp = Tcell + Tpcm. Therefore, Tgoal = Tenv + Tcell + Tpcm is the actual temperature measured by the surface-mount NTC. Thus, in order to accurately measure the battery temperature using a surface-mount NTC, Tpcm needs to be eliminated.

[0056] In related technologies, heat generation is produced by Joule heat Q, where Q = Pt = I^2 * R * t, and temperature rise T = Q / Cm, where Cm is the specific heat capacity of a substance. However, the structure of the protection plate is very complex, and it is impossible to obtain an accurate specific heat capacity. Therefore, the specific heat capacity method cannot be used to calculate the temperature rise caused by the protection plate. If Tpcm is predicted by calculating the Joule heat Q of the protection plate, there are two variables, current I and time t, during the use of the whole machine. Therefore, there are problems such as complex mathematical relationship between Tpcm, current I and time t, and poor stability.

[0057] In related technologies, one approach involves pre-collecting the highest temperature of the NTC patch and the corresponding temperature at a specific location on the battery during fast charging, then calculating the temperature difference ΔT between the two. Finally, when the system detects the battery temperature, it subtracts ΔT from the read NTC patch temperature to represent the battery temperature. During non-fast charging, ΔT measurement and system-level compensation are not performed. However, this method suffers from issues such as insufficient temperature compensation accuracy and limited applicability to specific scenarios.

[0058] In view of this, the present disclosure provides a temperature detection method. In the temperature detection method provided in this disclosure, a relationship between current and temperature is established based on a temperature relationship formula, thereby compensating for the additional temperature rise caused by the battery protection board in the temperature measured by the patch NTC, so that the temperature measured by the patch NTC can accurately reflect the actual temperature of the battery cell.

[0059] Figure 2 This is a flowchart illustrating a battery temperature detection method according to an exemplary embodiment, such as... Figure 2 As shown, the battery temperature detection method includes the following steps:

[0060] In step S21, the first charge / discharge current of the battery is detected during the battery charge / discharge process.

[0061] In this embodiment of the disclosure, the first charging and discharging current is the absolute value of the current battery charging and discharging current. For example, the first charging and discharging current may be the current value input to the battery when the terminal is fast charging.

[0062] In step S22, the first temperature corresponding to the first charge / discharge current is determined.

[0063] In this embodiment, the first temperature is the temperature generated by the current first charge / discharge current, used to characterize the temperature rise caused by the heating of the battery protection board, and can be represented as Tcom. The first charge / discharge current can be represented as I. All charge / discharge currents have a corresponding first temperature; therefore, the corresponding first temperature can be obtained through the first fully charged current.

[0064] In step S23, the second temperature detected by the NTC patch on the battery is collected.

[0065] In this embodiment of the disclosure, since the patch NTC is covered by the protection board and is affected by the heat generated by the protection board, the second temperature detected by the patch NTC cannot directly and accurately reflect the actual temperature of the current battery.

[0066] In step S24, the actual temperature of the battery is determined based on the first temperature and the second temperature.

[0067] In this embodiment of the disclosure, determining the first temperature corresponding to the charging and discharging current requires a correspondence between the charging and discharging current and the first temperature.

[0068] Figure 3 This is a flowchart illustrating a first temperature determination method according to an exemplary embodiment, such as... Figure 3 As shown, the method for determining the first temperature includes the following steps:

[0069] because Figure 3 Steps S31, S33, and S34 in the process Figure 2Steps S21, S23, and S24 are the same and will not be repeated here. Please refer to the relevant descriptions in the above embodiments.

[0070] In step S32, based on the first correspondence between charging / discharging current and temperature, the first temperature corresponding to the first charging / discharging current is determined.

[0071] In this embodiment, the temperature rise caused by the heating of the battery protection board is predicted from the root cause of the heat generation. Specifically, a relationship is established between the heat loss P = I^2*R and the temperature rise caused by the heating of the battery protection board, thus deriving a first correspondence between the charging / discharging current and the temperature. Here, I is the first charging / discharging current, R is the resistance, and P is the heat loss power. Therefore, the first correspondence between the charging / discharging current and the temperature can be used to derive the corresponding first temperature from the first charging / discharging current.

[0072] In one example, the relationship between current and temperature rise is established using the heat loss power P = I^2 * R. Based on this, the first correspondence is established as Tcom = a * I^2 + b * I + c, where R is a constant and can be deleted, and a, b, and c are coefficients to be determined. Thus, the first temperature is obtained.

[0073] In this embodiment of the disclosure, if the charging and discharging current changes abruptly during the detection process, for example, when the terminal is plugged into or unplugged from the charger, or when the ambient temperature rises and the device limits the current, the determined battery temperature may also change abruptly with the charging and discharging current. However, temperature changes are caused by thermal conduction and do not change abruptly. Therefore, when the current changes abruptly, the first temperature reflected by the first correspondence is not accurate. Thus, a method is needed to compensate for the first correspondence to avoid the first correspondence changing abruptly due to the current change, which in turn leads to abrupt changes in the battery temperature.

[0074] Figure 4 This is a flowchart illustrating a first charge / discharge current detection method according to an exemplary embodiment, such as... Figure 4 As shown, the first charge / discharge current detection method includes the following steps:

[0075] In step S41, the charging and discharging current of the battery is collected in real time at fixed time intervals during the battery charging and discharging process.

[0076] In this embodiment of the disclosure, multiple sets of charging and discharging current data can be obtained by collecting the charging and discharging current of the battery in real time at fixed time intervals.

[0077] In step S42, the average of the absolute values ​​of the most recent n collected charging and discharging currents is taken as the first charging and discharging current, where n is a positive integer.

[0078] In this embodiment of the disclosure, it should be understood that the absolute values ​​of the most recent n current measurements are obtained using a First-In-First-Out (FIFO) strategy. Therefore, the average value of each measurement is obtained by dividing the sum of the most recent n recorded current values, including the current measurement, by n.

[0079] In this embodiment, the first current, denoted as Iave, is replaced by the average of the absolute values ​​of the most recent n collected charge / discharge currents. A first temperature, denoted as Tcom_ave, is then derived using this average value and a second temperature. Since an average value is used instead of a single charge / discharge current value, even a sudden change in the current charge / discharge current value will not abruptly affect the average of the absolute values ​​of the most recent n collected charge / discharge currents. This avoids sudden changes in battery temperature due to charge / discharge current fluctuations.

[0080] In this embodiment, the charging / discharging current I in the first correspondence Tcom=a*I^2+b*I+c can be replaced with Iave, then the first correspondence becomes Tcom=a*Iave^2+b*Iave+c, where R is a constant and can be deleted, and a, b, and c are coefficients in the formula. Thus, the first temperature is obtained.

[0081] In this embodiment, the values ​​of coefficients a, b, and c can be obtained by inputting multiple sets of average currents and the corresponding surface-mount NTC detection temperature Tgoal_ntc and the temperature Tgoal_cell at a certain point on the battery. For example, firstly, the surface-mount NTC detection temperature Tgoal_ntc and the temperature Tgoal_cell at a certain point on the battery are measured according to the designed charging method. The terminal is charged using multiple stepped constant current charging methods, i.e., I1 constant current charging to voltage V1, then I2 constant current charging to V2, then I3 constant current charging to V3, and so on. Then, any three smoothed values ​​of the currents I1, I2, and I3 are selected to form a system of three linear equations:

[0082] Tgoal_ntc1-Tgoal_cell1=a*Iave1^2+b*Iave1+c

[0083] Tgoal_ntc2-Tgoal_cell2=a*Iave2^2+b*Iave2+c

[0084] Tgoal_ntc3-Tgoal_cell3=a*Iave3^2+b*Iave3+c, and finally solve for the coefficients a, b, and c to obtain the first correspondence.

[0085] In this embodiment of the disclosure, determining the actual temperature of the battery based on the first temperature and the second temperature can specifically be done by determining the actual temperature of the battery through the difference between the second temperature and the first temperature.

[0086] Figure 5 This is a flowchart illustrating a battery temperature detection method according to an exemplary embodiment, such as... Figure 5 As shown, the battery temperature detection method includes the following steps:

[0087] because Figure 5 Steps S51, S52, and S53 in the process Figure 2 Steps S21, S22, and S23 are the same and will not be repeated here. Please refer to the relevant descriptions in the above embodiments.

[0088] In step S54, the temperature difference between the second temperature and the first temperature is determined as the actual temperature of the battery.

[0089] In this embodiment of the disclosure, the battery temperature determined based on the first temperature and the second temperature can be expressed as Tgoal_com, then Tgoal_com = (Tenv + Tcell + Tpcm) - Tcom_ave.

[0090] In this embodiment, the longer the temperature smoothing compensation time, the more pronounced the lag in the compensated temperature Tgoal_com. For example, the actual battery temperature, Tgoal_real, is 45°C at charging time A seconds, while the compensated temperature, Tgoal_com, will only reach 45°C at time A+5 seconds. To avoid the lag in Tgoal_com, n corresponding to the most recent n collected charging and discharging currents cannot be too large. However, if n is too small, there will be fluctuations in Tcom_ave due to current abrupt changes. Therefore, a current abrupt change compensation strategy is needed to compensate for the lag caused by using the average value of the most recent n collected currents.

[0091] Figure 6 This is a flowchart illustrating a battery temperature determination method according to an exemplary embodiment, such as... Figure 6 As shown, the battery temperature determination method includes the following steps:

[0092] In step S61, based on the second correspondence between the change in current and temperature, the third temperature corresponding to the real-time change in current during battery charging is determined.

[0093] In this embodiment of the disclosure, the real-time current change can be expressed as ΔI, and the third temperature can be expressed as Tpeak. ΔI can be determined by the corresponding Tpeak through the second correspondence, which is also obtained by the heat loss P = I^2*R.

[0094] In one example, the relationship between current and temperature rise is established using the heat loss power P = I^2 * R. Based on this, a second correspondence is established: Tpeak = d * ΔI^2 + e * ΔI + f, where R is a constant and can be removed, and d, e, and f are coefficients in the formula. Thus, the third temperature is obtained. In this example, based on the first correspondence, the corresponding first temperature Tcom_ave is obtained by substituting multiple sets of average currents. The average current temperature Tgoal_ntc_com is obtained by the difference between the patch NTC detection temperature Tgoal_ntc corresponding to each average current and the first temperature Tcom_ave. The values ​​of coefficients d, e, and f are obtained by substituting the difference ΔI between the average current error and the absolute value of the most recent n current measurements, and the temperature Tgoal_cell at a certain point on the cell. For example, substituting a, b, and c into Tcom_ave=a*Iave^2+b*Iave+c, we select three Iave values ​​to calculate Tgoal_ntc_com=Tgoal_ntc-Tcom_ave, and then calculate the three temperature errors at that time Tgoal_ntc_com-Tgoal_cell=d*ΔI^2+e*ΔI+f, and finally solve for d, e, and f.

[0095] In step S62, the actual temperature of the battery is determined based on the first temperature, the second temperature, and the third temperature.

[0096] In this embodiment of the disclosure, the real-time current change can be represented by the first average charge-discharge current and the second average charge-discharge current.

[0097] Figure 7 This is a flowchart illustrating a current change detection method according to an exemplary embodiment, such as... Figure 7 As shown, the current change detection method includes the following steps:

[0098] because Figure 7 Step S71 and Figure 4 The steps in step S41 are the same and will not be repeated here. Please refer to the relevant descriptions in the above embodiments.

[0099] In step S72, the average value of the absolute values ​​of the charging and discharging currents collected most recently at time m is determined to obtain the first average charging and discharging current, and the average value of the absolute values ​​of the charging and discharging currents collected most recently at time m-1 is determined to obtain the second average charging and discharging current, where m is a positive integer.

[0100] In this embodiment of the disclosure, the first average charge / discharge current can be represented as Iave1, and the second average charge / discharge current can be represented as Iave2, both of which are the average of the absolute values ​​of the charge / discharge current collected n times. For example, assuming n is 10, if the current is the 11th charge / discharge current collection, then Iave1 is the average of the absolute values ​​of the charge / discharge current collected from the 2nd to the 11th times, and Iave2 is the average of the absolute values ​​of the charge / discharge current collected from the 1st to the 10th times.

[0101] In step S73, the current difference between the first average charge-discharge current and the second average charge-discharge current is used as the real-time current change.

[0102] In this embodiment of the disclosure, the real-time current change can be represented by the first average charge-discharge current and the second average charge-discharge current, i.e., ΔI = Iave1 - Iave2.

[0103] In this embodiment of the disclosure, the actual temperature of the battery can be determined based on a first temperature, a second temperature, and a third temperature.

[0104] Figure 8 This is a flowchart illustrating a battery temperature detection method according to an exemplary embodiment, such as... Figure 8 As shown, the battery temperature detection method includes the following steps:

[0105] because Figure 8 Step S81 and Figure 6 The steps in step S61 are the same and will not be repeated here. Please refer to the relevant descriptions in the above embodiments.

[0106] In step S82, the sum of the temperatures between the first and third temperatures is determined, and the temperature difference between the second temperature and the sum of the temperatures is taken as the actual temperature of the battery.

[0107] In this embodiment of the disclosure, the battery temperature after two compensations is obtained by subtracting the first temperature and the third temperature obtained based on the two correspondences from the second temperature measured by the patch NTC. It can be expressed as Tgoal_com, that is, Tgoal_com=(Tenv+Tcell+Tpcm)-(Tcom_ave+Tpeak).

[0108] In this embodiment, the second temperature is compensated by a first temperature and a third temperature to achieve accurate detection of the battery temperature. However, it can be seen from Tcom_ave=a*Iave^2+b*Iave+c and Tpeak=d*ΔI^2+e*ΔI+f that these two correspondences are quadratic functions based on current, indicating that the greater the current change, the greater the compensation of Tcom_ave and Tpeak. However, the values ​​of a, b, c, d, e, and f in the above strategy are all performed under normal charging conditions. In order to prevent overcompensation in abnormal charging and discharging conditions, i.e., the actual battery temperature is very high while the compensated temperature is very low, causing the whole system to make a misjudgment, it is necessary to introduce a safety threshold for compensation.

[0109] Figure 9 This is a flowchart illustrating a threshold determination method according to an exemplary embodiment, such as... Figure 9 As shown, the threshold determination method includes the following steps:

[0110] because Figure 9 Steps S91, S92, S94, and S95 in the process Figure 2 Steps S21, S22, S23, and S24 are the same and will not be repeated here. Please refer to the relevant descriptions in the above embodiments.

[0111] In step S93, in response to the first temperature being greater than the temperature compensation threshold, the temperature compensation threshold is used as the first temperature.

[0112] In this embodiment, the temperature compensation threshold is determined based on the battery's overcurrent protection current and a first correspondence. The temperature compensation threshold can be denoted as Tlim, and the overcurrent protection current can be denoted as Iocp. Iocp is a value greater than the maximum normal current; for example, if the maximum normal charging current is 6A, then Iocp can be set to 7A. The value of Tlim is obtained by substituting Iocp into the first correspondence. When Tcom_ave is detected to be greater than Tlim, then Tcom_ave = Tlim.

[0113] In this embodiment of the disclosure, the first temperature and the second temperature are obtained by means of the first correspondence and the second correspondence, respectively. The second temperature detected by the patch NTC is compensated, which can accurately determine the actual temperature of the battery and ensure the safety of the battery by means of the temperature compensation threshold.

[0114] Based on the same concept, this disclosure also provides a battery temperature detection device.

[0115] It is understood that the battery temperature detection device provided in this disclosure includes hardware structures and / or software modules corresponding to each function in order to achieve the above-mentioned functions. In conjunction with the units and algorithm steps of the various examples disclosed in this disclosure, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of this disclosure.

[0116] Figure 10 This is a block diagram illustrating a battery temperature detection device according to an exemplary embodiment. The device 100 includes a detection unit 101, a determination unit 102, a data acquisition unit 103, and a processing unit 104.

[0117] The detection unit 101 is used to detect the charging and discharging current of the battery during the charging and discharging process.

[0118] The determining unit 102 is used to determine the first temperature corresponding to the charging and discharging current. The first temperature is used to characterize the temperature rise caused by the heating of the battery protection board.

[0119] The acquisition unit 103 is used to acquire the second temperature detected by the NTC patch on the battery.

[0120] The processing unit 104 is used to determine the actual temperature of the battery based on a first temperature and a second temperature.

[0121] In one embodiment, the detection unit 101 detects the first charge / discharge current of the battery during the battery charge / discharge process in the following manner: the charge / discharge current of the battery is collected in real time at fixed time intervals during the battery charge / discharge process; the average value of the absolute values ​​of the charge / discharge current collected the most recently n times is taken as the first charge / discharge current, where n is a positive integer.

[0122] In one embodiment, the processing unit 104 determines the actual temperature of the battery based on a first temperature and a second temperature in the following manner: the temperature difference between the second temperature and the first temperature is determined as the actual temperature of the battery.

[0123] In one embodiment, the processing unit 104 determines the actual temperature of the battery based on a first temperature and a second temperature in the following manner: based on a second correspondence between the change in current and temperature, it determines a third temperature corresponding to the real-time change in current during battery charging; and based on the first temperature, the second temperature, and the third temperature, it determines the actual temperature of the battery.

[0124] In one embodiment, the real-time current change is determined as follows: during the battery charging and discharging process, the battery charging and discharging current is collected in real time at fixed time intervals; the average value of the absolute values ​​of the most recent n collected charging and discharging currents at time m is determined to obtain the first average charging and discharging current, and the average value of the absolute values ​​of the most recent n collected charging and discharging currents at time m-1 is determined to obtain the second average charging and discharging current, where m is a positive integer; the current difference between the first average charging and discharging current and the second average charging and discharging current is used as the real-time current change.

[0125] In one embodiment, the processing unit 104 determines the actual temperature of the battery based on a first temperature, a second temperature, and a third temperature in the following manner: determining the sum of the temperatures between the first temperature and the third temperature, and taking the temperature difference between the second temperature and the sum of the temperatures as the actual temperature of the battery.

[0126] In one embodiment, in response to a first temperature being greater than a temperature compensation threshold, the temperature compensation threshold is used as the first temperature; the temperature compensation threshold is determined based on the battery's overcurrent protection current and a first correspondence.

[0127] Figure 11 This is a block diagram illustrating a device 200 for battery temperature detection according to an exemplary embodiment. For example, device 200 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0128] Reference Figure 11 The device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input / output (I / O) interface 212, sensor component 214, and communication component 216.

[0129] Processing component 202 typically controls the overall operation of device 200, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 202 may include one or more modules to facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.

[0130] Memory 204 is configured to store various types of data to support the operation of device 200. Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, pictures, videos, etc. Memory 204 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.

[0131] The power supply component 206 provides power to the various components of the device 200. The power supply component 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 200.

[0132] Multimedia component 208 includes a screen that provides an output interface between the device 200 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 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 208 includes a front-facing camera and / or a rear-facing camera. When the device 200 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.

[0133] Audio component 210 is configured to output and / or input audio signals. For example, audio component 210 includes a microphone (MIC) configured to receive external audio signals when device 200 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 204 or transmitted via communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.

[0134] I / O interface 212 provides an interface between processing component 202 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.

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

[0136] Communication component 216 is configured to facilitate wired or wireless communication between device 200 and other devices. Device 200 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 216 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.

[0137] In an exemplary embodiment, the apparatus 200 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 methods described above.

[0138] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, which can be executed by a processor 220 of the device 200 to perform the above-described method. 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.

[0139] It is understood that in this disclosure, "multiple" refers to two or more, and other quantifiers are similar. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. The singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.

[0140] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.

[0141] It can be further understood that, unless otherwise specified, "connection" includes both direct connections where no other components exist between the two parties and indirect connections where other components exist between them.

[0142] It is further understood that although operations are described in a specific order in the accompanying drawings in the embodiments of this disclosure, this should not be construed as requiring these operations to be performed in the specific order or serial order shown, or requiring all of the shown operations to be performed to obtain the desired result. In certain environments, multitasking and parallel processing may be advantageous.

[0143] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application 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.

[0144] 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 detecting battery temperature, characterized in that, The method includes: The second charge / discharge current of the battery is collected in real time at fixed time intervals during the battery charge / discharge process; The average absolute value of the second charging and discharging current collected most recently (n times) is taken as the first charging and discharging current, where n is a positive integer. Based on the first correspondence between charging and discharging current and temperature, a first temperature corresponding to the first charging and discharging current is determined. The first temperature is used to characterize the temperature rise caused by the heating of the battery protection board. The second temperature detected by the patch negative temperature coefficient thermistor on the battery is collected, wherein the patch negative temperature coefficient thermistor is covered by the battery protection board, and the second temperature is the measured temperature of the patch negative temperature coefficient thermistor when it is covered by the battery protection board; The actual temperature of the battery is determined based on the first temperature and the second temperature; Determining the actual temperature of the battery based on the first temperature and the second temperature includes: Based on the second correspondence between the change in current and temperature, the third temperature corresponding to the real-time change in current during battery charging is determined. The sum of the temperatures between the first temperature and the third temperature is determined, and the temperature difference between the second temperature and the sum of the temperatures is taken as the actual temperature of the battery.

2. The method according to claim 1, characterized in that, The real-time current change is determined in the following manner: The charging and discharging current of the battery is collected in real time at fixed time intervals during the charging and discharging process; The average absolute values ​​of the charging and discharging currents collected at the most recent n times at time m are determined to obtain the first average charging and discharging current, and the average absolute values ​​of the charging and discharging currents collected at the most recent n times at time m-1 are determined to obtain the second average charging and discharging current, where m is a positive integer. The difference between the first average charge / discharge current and the second average charge / discharge current is used as the real-time current change.

3. The method according to claim 1, characterized in that, In response to the first temperature being greater than a temperature compensation threshold, the temperature compensation threshold is used as the first temperature; The temperature compensation threshold is determined based on the battery's overcurrent protection current and the first correspondence.

4. A battery temperature detection device, characterized in that, The device includes: The detection unit is used to collect the charging and discharging current of the battery in real time at fixed time intervals during the charging and discharging process of the battery, and take the average of the absolute values ​​of the charging and discharging current collected the most recently n times as the first charging and discharging current, where n is a positive integer; The determining unit is used to determine a first temperature corresponding to the first charging and discharging current based on a first correspondence between charging and discharging current and temperature. The first temperature is used to characterize the temperature rise caused by the heating of the battery protection board. The acquisition unit is used to acquire the second temperature detected by the patch negative temperature coefficient thermistor on the battery, wherein the patch negative temperature coefficient thermistor is covered by the battery protection board, and the second temperature is the measured temperature of the patch negative temperature coefficient thermistor when it is covered by the battery protection board. A processing unit is configured to determine the actual temperature of the battery based on the first temperature and the second temperature; The processing unit determines the actual temperature of the battery based on the first temperature and the second temperature in the following manner: Based on the second correspondence between the change in current and temperature, a third temperature corresponding to the real-time change in current during battery charging is determined, and the sum of the first temperature and the third temperature is determined. The temperature difference between the second temperature and the sum of the temperatures is taken as the actual temperature of the battery.

5. The apparatus according to claim 4, characterized in that, The real-time current change is determined in the following manner: The charging and discharging current of the battery is collected in real time at fixed time intervals during the charging and discharging process; The average absolute values ​​of the charging and discharging currents collected at the most recent n times at time m are determined to obtain the first average charging and discharging current, and the average absolute values ​​of the charging and discharging currents collected at the most recent n times at time m-1 are determined to obtain the second average charging and discharging current, where m is a positive integer. The difference between the first average charge / discharge current and the second average charge / discharge current is used as the real-time current change.

6. The apparatus according to claim 4, characterized in that, In response to the first temperature being greater than a temperature compensation threshold, the temperature compensation threshold is used as the first temperature; The temperature compensation threshold is determined based on the battery's overcurrent protection current and the first correspondence.

7. A battery temperature detection device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to execute the temperature detection method according to any one of claims 1 to 3.

8. A storage medium, characterized in that, The storage medium stores instructions that, when executed by the terminal's processor, enable the terminal to perform the method described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Mobile terminal and battery temperature determination method and device

    CN107402081A

  • Temperature compensation method and device, terminal equipment and readable storage medium

    CN114448015A