Battery temperature control method and device and storage medium
Compensation by detecting the battery charging current and combining the temperature measured by the NTC, the problem of insufficient accuracy of the battery temperature detection is solved, the accurate measurement of the battery temperature is realized, and the accuracy and user experience of the detection are enhanced.
Patent Information
- Application Number
- CN202310927400.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-26
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2043-07-26
Smart Images

Figure CN119374749A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a battery temperature detection method, device and storage medium. Background Art
[0002] With the development of science and technology, in order to meet people's daily needs, the charging speed of terminals is getting faster and faster. There is often heat generation during charging. The terminal is responsible for detecting the terminal temperature and making reasonable adjustments based on the terminal temperature. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a battery temperature detection method, device and storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a battery temperature detection method is provided, comprising:
[0005] During the battery charging and discharging process, a first charging and discharging current of the battery is detected; a first temperature corresponding to the charging and discharging current is determined, and the first temperature is used to characterize the temperature rise caused by heating of the battery protection board; a second temperature detected by a negative temperature coefficient thermistor on the battery is collected; and an actual temperature of the battery is determined based on the first temperature and the second temperature.
[0006] In one implementation, determining the first temperature corresponding to the first charge and discharge current includes:
[0007] Based on a first corresponding relationship between the charge and discharge current and the temperature, a first temperature corresponding to the first charge and discharge current is determined. In one embodiment, the first charge and discharge current of the battery is detected during the charge and discharge process of the battery, including:
[0008] During the battery charging and discharging process, the second charge and discharge current of the battery is collected in real time at fixed time intervals; the average of the absolute values of the second charge and discharge current collected for the most recent n times is used as the first charge and discharge current, where n is a positive integer.
[0009] In one implementation, determining the actual temperature of the battery based on the first temperature and the second temperature includes:
[0010] The difference temperature between the second temperature and the first temperature is determined as the actual temperature of the battery.
[0011] In one implementation, determining the actual temperature of the battery based on the first temperature and the second temperature includes:
[0012] Based on a second corresponding relationship between the current change and the temperature, a third temperature corresponding to the real-time current change during the battery charging process 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 implementation, the real-time current change is determined in the following manner:
[0014] During the battery charging and discharging process, 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 for the most recent n times at the m-th moment is determined to obtain a first charging and discharging average current, and the average value of the absolute values of the charging and discharging current collected for the most recent n times at the m-1-th moment is determined to obtain a second charging and discharging average current, where m is a positive integer; and the current difference between the first charging and discharging average current and the second charging and discharging average current is used as the real-time current change.
[0015] In one implementation, determining the actual temperature of the battery based on the first temperature, the second temperature, and the third temperature includes:
[0016] A temperature sum value between the first temperature and the third temperature is determined, and a temperature difference between the second temperature and the temperature sum value is used 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 overcurrent protection current of the battery and the first corresponding relationship.
[0019] According to a second aspect of an embodiment of the present disclosure, a battery temperature detection device is provided, comprising:
[0020] A detection unit is used to detect a first charge and discharge current of the battery during the charge and discharge process of the battery; a determination unit is used to determine a first temperature corresponding to the charge and discharge current, the first temperature being used to characterize the temperature rise caused by heating of the battery protection board; a collection unit is used to collect a second temperature detected by a negative temperature coefficient thermistor on the battery; and a processing unit is used to determine the actual temperature of the battery based on the first temperature and the second temperature.
[0021] In one implementation, the determining unit determines the first temperature corresponding to the first charge and discharge current in the following manner:
[0022] Based on a first corresponding relationship between the charge and discharge current and the temperature, a first temperature corresponding to the first charge and discharge current is determined.
[0023] In one implementation, the detection unit detects the first charge and discharge current of the battery during the battery charge and discharge process in the following manner:
[0024] During the battery charging and discharging process, the charging and discharging current of the battery is collected in real time at fixed time intervals; the average of the absolute values of the charging and discharging currents collected for the most recent n times is taken as the first charging and discharging current, where n is a positive integer.
[0025] In one implementation, 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 difference temperature between the second temperature and the first temperature is determined as the actual temperature of the battery.
[0027] In one implementation, 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 a second corresponding relationship between the current change and the temperature, a third temperature corresponding to the real-time current change during the battery charging process 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 implementation, the real-time current change is determined in the following manner:
[0030] During the battery charging and discharging process, 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 for the most recent n times at the m-th moment is determined to obtain a first charging and discharging average current, and the average value of the absolute values of the charging and discharging current collected for the most recent n times at the m-1-th moment is determined to obtain a second charging and discharging average current, where m is a positive integer; and the current difference between the first charging and discharging average current and the second charging and discharging average current is used as the real-time current change.
[0031] In one implementation, 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] A temperature sum value between the first temperature and the third temperature is determined, and a temperature difference between the second temperature and the temperature sum value is used as the actual temperature of the battery.
[0033] In one implementation, 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 an overcurrent protection current of the battery and the first corresponding relationship.
[0034] According to a third aspect of an embodiment of the present disclosure, a battery temperature detection device is provided, including:
[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 one of the embodiments of the first aspect.
[0036] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a terminal, the terminal can perform the method described in the first aspect or any one of the implementations of the first aspect.
[0037] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: based on the corresponding relationship between the charge and discharge current and the temperature, the temperature corresponding to the current charge and discharge current is determined, and the temperature measured by the 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 is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0040] Figure 1a and Figure 1b is a battery structure diagram according to an exemplary embodiment.
[0041] Figure 2 The figure is a flow chart showing a battery temperature detection method according to an exemplary embodiment.
[0042] Figure 3 is a flow chart of a method for determining a first temperature according to an exemplary embodiment.
[0043] Figure 4 is a flow chart of a first charge and discharge current detection method according to an exemplary embodiment.
[0044] Figure 5 The figure is a flow chart showing a battery temperature detection method according to an exemplary embodiment.
[0045] Figure 6 The figure is a flow chart showing a method for determining battery temperature according to an exemplary embodiment.
[0046] Figure 7 is a flow chart of a current change detection method according to an exemplary embodiment.
[0047] Figure 8 The figure is a flow chart showing a battery temperature detection method according to an exemplary embodiment.
[0048] Fig. 9 The figure is a flowchart of a method for determining a threshold value according to an exemplary embodiment.
[0049] Fig.10 The figure is a block diagram of a battery temperature detection device according to an exemplary embodiment.
[0050] Fig.11 The figure is a block diagram of a battery temperature detection device according to an exemplary embodiment. DETAILED DESCRIPTION
[0051] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.
[0052] In the accompanying drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limitations on the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure. The embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings.
[0053] The temperature detection method provided by the embodiment of the present disclosure can be applied to the application scenario of temperature measurement compensation for the negative temperature coefficient thermistor. By designing the relationship between current and temperature, the temperature measured by the negative temperature coefficient thermistor can be compensated to improve the accuracy of the obtained battery temperature.
[0054] Figure 1a and Figure 1b FIG. 1 shows a battery structure diagram shown in an exemplary embodiment of the present disclosure. Figure 1a and Figure 1b As shown, the battery includes a battery cell, a negative temperature coefficient thermistor (Negative Temperature CoeffiCient, NTC), a battery protection board, and a connector.
[0055] In the related art, negative temperature coefficient thermistors can be divided into lead negative temperature coefficient thermistors and patch negative temperature coefficient thermistors. For the convenience of description in the following embodiments of the present disclosure, the lead negative temperature coefficient thermistor may also be referred to as the lead NTC, and the patch negative temperature coefficient thermistor may also be referred to as the patch NTC. In order to accurately measure the actual temperature of the battery, the current battery temperature measurement measures the temperature by attaching the lead NTC to the corner of the battery, but the lead NTC has high cost, complex welding process and poor reliability. In order to improve the lead NTC problem, it can be changed to a patch NTC, but the battery protection board heats up seriously during charging, which causes the temperature of the patch NTC to rise quickly, resulting in the temperature measured by the patch NTC not representing the actual temperature of the battery. For example, the temperature at a certain position of the battery can be expressed as Tgoal, the ambient temperature can be expressed as Tenv, the temperature rise caused by the heat source can be expressed as Tp, the temperature rise caused by the heating of the battery cell can be expressed as Tcell, and the temperature rise caused by the heating of the protection board can be expressed as Tpcm. The temperature at a certain position of the battery can be composed of the ambient temperature and the temperature rise caused by the heat source, that is, Tgoal=Tenv+Tp. For lead NTC batteries, it can be roughly considered that the temperature rise caused by the heat source is the temperature rise caused by the heating of the battery cell, that is, Tp = Tcell, and Tgoal = Tenv + Tcell is the actual temperature measured by the lead NTC. For SMD NTC batteries, it can be roughly considered that the temperature rise caused by the heat source is composed of the temperature rise caused by the heating of the battery cell and the temperature rise of the heating lead of the protection board, that is, Tp = Tcell + Tpcm. Therefore, Tgoal = Tenv + Tcell + Tpcm is the actual temperature measured by the SMD NTC. Therefore, in order to accurately measure the battery temperature with the SMD NTC, Tpcm needs to be eliminated.
[0056] In the related art, heat is generated by Joule heat Q, Q=Pt=I^2*R*t, temperature rise T=Q / Cm, Cm is the specific heat capacity of a certain substance, but the structure of the protection board is very complex, and it is impossible to obtain the accurate specific heat capacity, so the temperature rise caused by the protection board cannot be calculated by the specific heat capacity method. If Tpcm is predicted by calculating the Joule heat Q of the protection board, since there are two variables, current I and time t, during the use of the whole machine, there are problems such as complex mathematical relationship between Tpcm and current I and time t, and poor stability.
[0057] In the related technology, there is a method of pre-collecting the highest temperature of the patch NTC during fast charging and the corresponding temperature of a certain position of the battery, and then calculating the temperature difference ΔT between the two. Finally, when the system detects the battery temperature, it subtracts ΔT from the read patch NTC temperature to represent the battery temperature. When not fast charging, ΔT measurement and system-side compensation are not performed. However, this method has problems such as inaccurate temperature compensation and single adaptation scenario.
[0058] In view of this, an embodiment of the present disclosure provides a temperature detection method. In the temperature detection method provided by the present 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 is a flow chart of a battery temperature detection method according to an exemplary embodiment. Figure 2 As shown, the battery temperature detection method includes the following steps:
[0060] In step S21, a first charge and discharge current of the battery is detected during the charge and discharge process of the battery.
[0061] In the disclosed embodiment, the first charge and discharge current is the absolute value of the current charge and discharge current of the battery. For example, the first charge and discharge current may be the current value input to the battery during fast charging of the terminal.
[0062] In step S22, a first temperature corresponding to the first charge and discharge current is determined.
[0063] In the embodiment of the present disclosure, the first temperature is the temperature generated by the current first charge and discharge current, which is used to characterize the temperature rise caused by the heating of the battery protection board, and can be expressed as Tcom, and the first charge and discharge current can be expressed as I. All charge and discharge currents have corresponding first temperatures, so the corresponding first temperature can be obtained through the first full charge current.
[0064] In step S23, the second temperature detected by the NTC chip on the battery is collected.
[0065] In the disclosed embodiment, since the SMD NTC is covered by the protection plate and is disturbed by the heat generated by the protection plate, the second temperature detected by the SMD 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 the embodiment of the present disclosure, determining the first temperature corresponding to the charge and discharge current requires a corresponding relationship between the charge and discharge current and the first temperature.
[0068] Figure 3 is a flow chart of a first temperature determination method according to an exemplary embodiment. Figure 3 As shown, the first temperature determination method includes the following steps:
[0069] because Figure 3 Step S31, step S33, step S34 and Figure 2Step S21, step S23, and step S24 are the same as those in the above embodiment and will not be described in detail here. Please refer to the relevant description of the above embodiment.
[0070] In step S32, based on a first corresponding relationship between the charge and discharge current and the temperature, a first temperature corresponding to the first charge and discharge current is determined.
[0071] In the embodiment of the present disclosure, the temperature rise caused by the heating of the battery protection board is predicted from the source of the heating, that is, the relationship between the temperature rise caused by the heating of the battery protection board is established through the heat loss P=I^2*R, and the first corresponding relationship between the charge and discharge current and the temperature is obtained, where I is the first charge and discharge current, R is the resistance, and P is the heat loss power. Therefore, the first corresponding relationship between the charge and discharge current and the temperature can be obtained by the first charge and discharge current. The corresponding first temperature.
[0072] In one example, the relationship between current and temperature rise is established through heat loss power P=I^2*R, thereby establishing a first corresponding relationship of Tcom=a*I^2+b*I+c, where R is a constant value that can be deleted, and a, b, and c are coefficients to be determined. Thus, the first temperature is obtained.
[0073] In the disclosed embodiment, if the charge and discharge current suddenly changes during the detection process, for example, when the terminal is plugging in or out of the charger or the ambient temperature rises, causing the entire machine to limit the current, the determined battery temperature may also suddenly change with the charge and discharge current. However, the temperature change is caused by heat conduction and will not suddenly change. Therefore, when the current suddenly changes, the first temperature reflected by the first correspondence is not accurate. Therefore, a method is needed to compensate the first correspondence to avoid the situation where the first correspondence suddenly changes due to the sudden change of the current, which in turn causes the battery temperature to suddenly change.
[0074] Figure 4 is a flow chart of a first charge and discharge current detection method according to an exemplary embodiment. Figure 4 As shown, the first charge and discharge current detection method includes the following steps:
[0075] In step S41, the charge and discharge current of the battery is collected in real time at fixed time intervals during the charge and discharge process of the battery.
[0076] In the embodiment of the present disclosure, multiple groups of charge and discharge current data can be obtained by collecting the charge and discharge current of the battery in real time at fixed time intervals.
[0077] In step S42, the average value of the absolute values of the charge and discharge currents collected for the most recent n times is taken as the first charge and discharge current, where n is a positive integer.
[0078] In the disclosed embodiment, it should be understood that the absolute values of the most recent n current measurement results are obtained through a first-in first-out (FIFO) strategy. Therefore, the average value of each acquisition is obtained by dividing the sum of the most recent n recorded current values including this one by n.
[0079] In the disclosed embodiment, the first current is replaced by the charge and discharge current value with the average value of the absolute value of the charge and discharge current collected for the most recent n times, which can be expressed as Iave, and the first temperature is obtained through the first corresponding relationship, which can be expressed as Tcom_ave, and the battery temperature is determined based on the first temperature and the second temperature. Since the average value is used instead of the single charge and discharge current value, even if the current charge and discharge current value suddenly changes, it will not have a sudden change effect on the average value of the absolute value of the charge and discharge current collected for the most recent n times. This avoids the situation where the battery temperature suddenly changes due to the charge and discharge current.
[0080] In the embodiment of the present disclosure, the charge and discharge current I in the first corresponding relationship Tcom=a*I^2+b*I+c can be replaced by Iave, and the first corresponding relationship becomes Tcom=a*Iave^2+b*Iave+c, where R is a constant value that can be deleted, and a, b, and c are coefficients of the formula. Thus, the first temperature is obtained.
[0081] In the disclosed embodiment, the values of coefficients a, b, and c can be obtained by bringing in multiple groups of average currents and the patch NTC detection temperature Tgoal_ntc and the temperature Tgoal_cell at a certain point on the battery corresponding to each average current. For example, first take the battery of the patch NTC and measure a group of patch NTC detection temperatures Tgoal_ntc and the temperature Tgoal_cell at a certain point on the battery according to the designed charging method. The terminal is charged by multiple step constant current charging as a charging method, that is, I1 constant current charging to voltage V1, then I2 constant current charging to V2, and then I3 constant current charging to V3, etc. Then select any three current smoothed values of I1, I2, and I3 to form a set of three-variable 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 the coefficients a, b, and c to obtain the first corresponding relationship.
[0085] In the embodiment of the present disclosure, determining the actual temperature of the battery based on the first temperature and the second temperature may specifically be determining the actual temperature of the battery by the difference between the second temperature and the first temperature.
[0086] Figure 5 is a flow chart of a battery temperature detection method according to an exemplary embodiment. Figure 5 As shown, the battery temperature detection method includes the following steps:
[0087] because Figure 5 Step S51, step S52, step S53 and Figure 2 Step S21, step S22, and step S23 are the same as those in the above embodiment and will not be described in detail here. Please refer to the relevant description of the above embodiment.
[0088] In step S54, the difference temperature between the second temperature and the first temperature is determined as the actual temperature of the battery.
[0089] In the embodiment of the present disclosure, the battery temperature determined based on the first temperature and the second temperature may be expressed as Tgoal_com, where Tgoal_com=(Tenv+Tcell+Tpcm)-Tcom_ave.
[0090] In the disclosed embodiment, the longer the temperature smoothing compensation time is, the more obvious the hysteresis of the compensated temperature Tgoal_com is. For example, the actual battery temperature during charging, i.e., Tgoal_real, is 45°C when charging for A seconds, while the compensated temperature, Tgoal_com, will not rise to 45°C until A+5 seconds. In order to avoid the time hysteresis of Tgoal_com, n corresponding to the charge and discharge current collected for the last n times cannot be too large. However, if n is too small, there will be a current mutation that will cause fluctuations in Tcom_ave. Therefore, it is necessary to add a current mutation compensation strategy to compensate for the hysteresis caused by using the average value of the current collected for the last n times.
[0091] Figure 6 is a flow chart showing a method for determining battery temperature according to an exemplary embodiment. Figure 6 As shown, the battery temperature determination method includes the following steps:
[0092] In step S61, based on the second corresponding relationship between the current change and the temperature, a third temperature corresponding to the real-time current change during the battery charging process is determined.
[0093] In the disclosed embodiment, the real-time current change can be expressed as ΔI, and the third temperature can be expressed as Tpeak. ΔI can determine the corresponding Tpeak through the second corresponding relationship, and the second corresponding relationship is also obtained through the heat loss P=I^2*R.
[0094] In one example, the relationship between current and temperature rise is established through heat loss power P=I^2*R, and the second corresponding relationship is established as Tpeak=d*ΔI^2+e*ΔI+f, where R is a fixed value that can be deleted, and d, e, and f are coefficients of the formula. Thus, the third temperature is obtained. In this example, on the basis of obtaining the first corresponding relationship, the corresponding first temperature Tcom_ave is obtained by bringing in multiple groups of average currents, and 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 difference ΔI between the average current error and the absolute value of the most recent n current measurement results and the temperature Tgoal_cell at a certain point on the battery cell are respectively brought in to obtain the values of the coefficients d, e, and f. For example, substitute a, b, and c into Tcom_ave=a*Iave^2+b*Iave+c, select three Iaves 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 then 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 the embodiment of the present disclosure, the real-time current change can be represented by the first charge and discharge average current and the second charge and discharge average current.
[0097] Figure 7 is a flow chart of a current change detection method according to an exemplary embodiment. Figure 7 As shown, the current change detection method includes the following steps:
[0098] because Figure 7 Step S71 in Figure 4 The process is the same as step S41 in , which will not be described again here, and reference may be made to the relevant description of the above embodiment.
[0099] In step S72, the average value of the absolute values of the charge and discharge currents collected the most recently n times at the m-th moment is determined to obtain the first charge and discharge average current, and the average value of the absolute values of the charge and discharge currents collected the most recently n times at the m-1-th moment is determined to obtain the second charge and discharge average current, where m is a positive integer.
[0100] In the embodiment of the present disclosure, the first charge and discharge average current may be expressed as Iave1, and the second charge and discharge average current may be expressed as Iave2, both of which are the average values of the absolute values of the charge and discharge currents collected n times. For example, assuming that n is 10, if the current charge and discharge current is collected for the 11th time, Iave1 is the average value of the absolute values of the charge and discharge currents collected from the 2nd to the 11th time, and Iave2 is the average value of the absolute values of the charge and discharge currents collected from the 1st to the 10th time.
[0101] In step S73, the current difference between the first charge and discharge average current and the second charge and discharge average current is used as the real-time current variation.
[0102] In the disclosed embodiment, the real-time current variation can be represented by the first charge-discharge average current and the second charge-discharge average current, that is, ΔI=Iave1-Iave2.
[0103] In the embodiment of the present disclosure, the actual temperature of the battery may be determined based on the first temperature, the second temperature, and the third temperature.
[0104] Figure 8 is a flow chart of a battery temperature detection method according to an exemplary embodiment. Figure 8 As shown, the battery temperature detection method includes the following steps:
[0105] because Figure 8 Step S81 in Figure 6 The process is the same as step S61 in , which will not be described again here, and reference may be made to the relevant description of the above embodiment.
[0106] In step S82, a temperature sum value between the first temperature and the third temperature is determined, and a temperature difference value between the second temperature and the temperature sum value is taken as the actual temperature of the battery.
[0107] In the embodiment of the present disclosure, the battery temperature after two compensations is obtained by subtracting the first temperature and the third temperature respectively calculated based on the two corresponding relationships from the second temperature measured by the patch NTC, which can be expressed as Tgoal_com, that is, Tgoal_com=(Tenv+Tcell+Tpcm)-(Tcom_ave+Tpeak).
[0108] In the disclosed embodiment, the second temperature is compensated by the first temperature and the third temperature to achieve accurate detection of the battery temperature. However, through Tcom_ave = a*Iave^2+b*Iave+c and Tpeak = d*ΔI^2+e*ΔI+f, it can be found that these two corresponding relationships are quadratic functions based on current, indicating that the greater the current change, the greater the compensation of Tcom_ave and Tpeak. The a, b, c, d, e, and f values of the above strategy are all carried out under normal charging. In order to prevent over-compensation in abnormal charging and discharging, that is, the actual battery temperature is very high and the temperature after compensation is very low, causing the whole system to misjudge, it is necessary to introduce a safety threshold for compensation.
[0109] Fig. 9 is a flowchart of a method for determining a threshold value according to an exemplary embodiment. Fig. 9 As shown, the threshold determination method includes the following steps:
[0110] because Fig. 9 Steps S91, S92, S94, and S95 in Figure 2 Step S21, step S22, step S23, and step S24 are the same as those in the above embodiment and will not be described in detail here. Please refer to the relevant description of the above embodiment.
[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 the disclosed embodiment, the temperature compensation threshold is determined based on the overcurrent protection current of the battery and the first corresponding relationship. The temperature compensation threshold can be expressed as Tlim, and the overcurrent protection current can be expressed as Iocp. Among them, Iocp is a value greater than the maximum value of the normal current. For example, if the maximum value of the normal charging current is 6A, Iocp can be set to 7A. The value of Tlim is obtained by substituting Iocp into the first corresponding relationship. When it is detected that Tcom_ave is greater than Tlim, Tcom_ave=Tlim is set.
[0113] In the disclosed embodiment, the first temperature and the second temperature are respectively calculated through the first corresponding relationship and the second corresponding relationship, and the second temperature detected by the patch NTC is compensated, so that the actual temperature of the battery can be accurately determined, and the safety of the battery can be ensured through the temperature compensation threshold.
[0114] Based on the same concept, an embodiment of the present disclosure also provides a battery temperature detection device.
[0115] It is understandable that in order to realize the above functions, the battery temperature detection device provided in the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0116] Fig.10 1 is a block diagram of a battery temperature detection device according to an exemplary embodiment. The device 100 includes a detection unit 101 , a determination unit 102 , a collection unit 103 and a processing unit 104 .
[0117] The detection unit 101 is used to detect the charge and discharge current of the battery during the battery charge and discharge process.
[0118] The determination unit 102 is used to determine a first temperature corresponding to the charge and discharge current, where the first temperature is used to characterize the temperature rise caused by heating of the battery protection board.
[0119] The acquisition unit 103 is used to acquire the second temperature detected by the NTC chip on the battery.
[0120] The processing unit 104 is configured to determine an actual temperature of the battery based on the first temperature and the second temperature.
[0121] In one embodiment, the detection unit 101 detects the first charge and discharge current of the battery during the battery charge and discharge process in the following manner: the charge and discharge current of the battery is collected in real time at fixed time intervals during the battery charge and discharge process; the average of the absolute values of the charge and discharge currents collected the most recently n times is taken as the first charge and 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 the first temperature and the second temperature in the following manner: the difference temperature 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 the first temperature and the second temperature in the following manner: based on the second corresponding relationship between the current change and the temperature, determines the third temperature corresponding to the real-time current change during the battery charging process; based on the first temperature, the second temperature and the third temperature, determines the actual temperature of the battery.
[0124] In one embodiment, the real-time current change is determined in the following manner: during the battery charging and discharging process, the charge and discharge current of the battery is collected in real time at fixed time intervals; the average value of the absolute values of the charge and discharge current collected the most recently n times at the mth moment is determined to obtain a first charge and discharge average current, and the average value of the absolute values of the charge and discharge current collected the most recently n times at the m-1th moment is determined to obtain a second charge and discharge average current, where m is a positive integer; and the current difference between the first charge and discharge average current and the second charge and discharge average 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 the first temperature, the second temperature and the third temperature in the following manner: determine the temperature sum value between the first temperature and the third temperature, and use the temperature difference between the second temperature and the temperature sum value as the actual temperature of the battery.
[0126] 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 an overcurrent protection current of the battery and a first corresponding relationship.
[0127] Fig.11 2 is a block diagram of a device 200 for battery temperature detection according to an exemplary embodiment. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0128] Reference Fig.11 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0129] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
[0130] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The 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 memory, flash memory, magnetic disk or optical disk.
[0131] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
[0132] The 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 touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0133] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the 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: a home button, a volume button, a start button, and a lock button.
[0135] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0136] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[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 above method.
[0138] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0139] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
[0140] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0141] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0142] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0143] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0144] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims
1. A battery temperature detection method, characterized in that: The method comprises: Detecting a first charge and discharge current of the battery during the battery charge and discharge process; Determine a first temperature corresponding to the first charge and discharge current, where the first temperature is used to characterize a temperature rise caused by heating of a battery protection board; Collect the second temperature detected by the negative temperature coefficient thermistor on the battery; Based on the first temperature and the second temperature, an actual temperature of the battery is determined.
2. The method according to claim 1, characterized in that The determining a first temperature corresponding to the first charge and discharge current includes: Based on a first corresponding relationship between the charge and discharge current and the temperature, a first temperature corresponding to the first charge and discharge current is determined.
3. The method according to claim 1, characterized in that The step of detecting a first charge and discharge current of the battery during the charge and discharge process of the battery comprises: During the battery charging and discharging process, real-time acquisition of a second charging and discharging current of the battery is performed at fixed time intervals; The average absolute value of the second charge and discharge current collected for the most recent n times is used as the first charge and discharge current, where n is a positive integer.
4. The temperature detection method according to claim 1 or 3, characterized in that: The determining the actual temperature of the battery based on the first temperature and the second temperature includes: The difference temperature between the second temperature and the first temperature is determined as the actual temperature of the battery.
5. The temperature detection method according to claim 1 or 3, characterized in that: The determining the actual temperature of the battery based on the first temperature and the second temperature includes: Based on a second corresponding relationship between the current change and the temperature, determining a third temperature corresponding to the real-time current change during the battery charging process; Based on the first temperature, the second temperature, and the third temperature, an actual temperature of the battery is determined.
6. The method according to claim 5, characterized in that The real-time current variation is determined in the following manner: During the battery charging and discharging process, the charging and discharging current of the battery is collected in real time at fixed time intervals; Determine the average value of the absolute values of the charge and discharge currents collected for the most recent n times at the m-th moment to obtain a first charge and discharge average current, and determine the average value of the absolute values of the charge and discharge currents collected for the most recent n times at the m-1-th moment to obtain a second charge and discharge average current, where m is a positive integer; The current difference between the first charge-discharge average current and the second charge-discharge average current is used as the real-time current variation.
7. The method according to claim 5, characterized in that The determining the actual temperature of the battery based on the first temperature, the second temperature, and the third temperature includes: A temperature sum value between the first temperature and the third temperature is determined, and a temperature difference between the second temperature and the temperature sum value is used as the actual temperature of the battery.
8. The method according to claim 3 or 5, characterized in that: In response to the first temperature being greater than a temperature compensation threshold, using the temperature compensation threshold as the first temperature; The temperature compensation threshold is determined based on the overcurrent protection current of the battery and the first corresponding relationship.
9. A battery temperature detection device, characterized in that: The device comprises: A detection unit, used for detecting a first charge and discharge current of the battery during the charge and discharge process of the battery; a determining unit, used to determine a first temperature corresponding to the charge and discharge current, wherein the first temperature is used to characterize a temperature rise caused by heating of a battery protection board; A collection unit, used for collecting a second temperature detected by a negative temperature coefficient thermistor on the battery; A processing unit is used to determine an actual temperature of the battery based on the first temperature and the second temperature.
10. The device according to claim 9, characterized in that The determining unit determines the first temperature corresponding to the first charge and discharge current in the following manner: Based on a first corresponding relationship between the charge and discharge current and the temperature, a first temperature corresponding to the first charge and discharge current is determined.
11. The device according to claim 9, characterized in that The detection unit detects the first charge and discharge current of the battery during the battery charge and discharge process in the following manner: During the battery charging and discharging process, the charging and discharging current of the battery is collected in real time at fixed time intervals; The average of the absolute values of the charge and discharge currents collected for the most recent n times is taken as the first charge and discharge current, where n is a positive integer.
12. The temperature detection device according to claim 9 or 11, characterized in that: The processing unit determines the actual temperature of the battery based on the first temperature and the second temperature in the following manner: The difference temperature between the second temperature and the first temperature is determined as the actual temperature of the battery.
13. The temperature detection device according to claim 9 or 11, characterized in that: 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 a second corresponding relationship between the current change and the temperature, determining a third temperature corresponding to the real-time current change during the battery charging process; Based on the first temperature, the second temperature, and the third temperature, an actual temperature of the battery is determined.
14. The device according to claim 13, characterized in that The real-time current variation is determined in the following manner: During the battery charging and discharging process, the charging and discharging current of the battery is collected in real time at fixed time intervals; Determine the average value of the absolute values of the charge and discharge currents collected for the most recent n times at the m-th moment to obtain a first charge and discharge average current, and determine the average value of the absolute values of the charge and discharge currents collected for the most recent n times at the m-1-th moment to obtain a second charge and discharge average current, where m is a positive integer; The current difference between the first charge-discharge average current and the second charge-discharge average current is used as the real-time current variation.
15. The device according to claim 13, wherein 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: A temperature sum value between the first temperature and the third temperature is determined, and a temperature difference between the second temperature and the temperature sum value is used as the actual temperature of the battery.
16. The device according to claim 11 or 13, characterized in that In response to the first temperature being greater than a temperature compensation threshold, using the temperature compensation threshold as the first temperature; The temperature compensation threshold is determined based on the overcurrent protection current of the battery and the first corresponding relationship.
17. A battery temperature detection device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the temperature detection method described in any one of claims 1 to 8.
18. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Mobile terminal and battery temperature determination method and device
CN107402081A
Rechargeable battery temperature estimation device and rechargeable battery temperature estimation method
CN111433969A
Battery temperature determination method, battery temperature determination device and storage medium
CN112713322A
Temperature compensation method and device, terminal equipment and readable storage medium
CN114448015A
Battery cell temperature detection method and device, storage medium and program product
CN115020845A