Battery temperature determination method and device, equipment and storage medium
By obtaining the measured temperature and charge and discharge current of the battery, and using the temperature compensation model to calculate the compensation temperature, the problem of inaccurate temperature detection caused by heating of the battery protection plate is solved, and the accurate measurement of the actual temperature of the battery is achieved and the battery reliability is improved.
Patent Information
- Application Number
- CN202310946989.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-28
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2043-07-28
AI Technical Summary
In scenarios such as fast charging with high current, the battery protection plate heats up severely, resulting in the temperature measured by the temperature detection device that cannot accurately reflect the real temperature of the battery.
By obtaining the measured temperature and charge and discharge current of the battery, the compensation temperature of the measured temperature is calculated using a predetermined temperature compensation model, thereby determining the actual temperature of the battery.
Accurate measurement of the actual temperature of the battery is achieved, improving the reliability of the battery and reducing costs.
Smart Images

Figure CN119447541A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a battery temperature determination method, device, equipment and storage medium. Background Art
[0002] In the related art, when detecting the temperature of the battery inside the terminal, the temperature of the battery can be detected by using a temperature detection device set on the battery protection board. However, in some scenarios (for example, scenarios based on high-current fast charging, etc.), the battery protection board generates severe heat, which will cause the temperature of the temperature detection device to rise quickly, and thus the temperature measured by the temperature detection device cannot accurately reflect the actual temperature of the battery. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the embodiments of the present disclosure provide a battery temperature determination method, device, equipment and storage medium to solve the defects in the related art.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for determining battery temperature is provided, the method comprising:
[0005] Obtaining a measured temperature and a charge / discharge current of the battery, wherein the measured temperature is a temperature measured by a temperature detection device;
[0006] determining a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model;
[0007] An actual temperature of the battery is determined based on the compensated temperature and the measured temperature.
[0008] In some embodiments, the charge and discharge current includes a plurality of sampled currents collected at a plurality of sampling moments before the current moment, wherein a sampled current is collected at each sampling moment;
[0009] The step of determining the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model includes:
[0010] Averaging the multiple sampled currents to obtain an average current value at the current moment;
[0011] The compensation temperature is determined based on the average current value and the first temperature compensation model.
[0012] In some embodiments, the method further comprises:
[0013] In response to the electronic device currently being in a charging state, determining a difference between the average current value at the current moment and the average current value at the previous moment to obtain an average current difference;
[0014] In response to the average current difference being greater than a first current difference threshold and less than or equal to a second current difference threshold, the operation of determining a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model is performed.
[0015] In some embodiments, the second current difference threshold is determined based on the average current difference when charging begins.
[0016] In some embodiments, the method further comprises:
[0017] In response to the average current difference being greater than the second current difference threshold, the current charging time of the electronic device is input into a second temperature compensation model to obtain the compensation temperature. The second temperature compensation model is constructed based on the current estimated temperature rise rate and charging time of the battery. The current estimated temperature rise rate corresponds to the current charging current of the battery.
[0018] In some embodiments, the method further comprises determining the current estimated temperature rise rate based on the following method:
[0019] Based on the pre-established corresponding relationship, query the temperature rise of the temperature detection device corresponding to the current charging current, where the temperature rise of the temperature detection device is a value of the increase in temperature measured by the temperature detection device;
[0020] The currently estimated temperature rise rate is determined based on the temperature rise of the temperature detection device and the number of the plurality of sampling moments.
[0021] In some embodiments, the method further comprises:
[0022] In response to the average current difference being less than a third current difference threshold and the measured temperature at the current moment being less than the measured temperature at the previous moment, the compensated temperature at the current moment is determined based on the compensated temperature at the previous moment.
[0023] In some embodiments, the third current difference threshold is determined based on an average current difference when charging is interrupted.
[0024] In some embodiments, the method further comprises:
[0025] In response to the average current difference being greater than or equal to the third current difference threshold and less than or equal to the first current difference threshold, the operation of determining the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model is performed.
[0026] According to a second aspect of an embodiment of the present disclosure, a battery temperature determination device is provided, the device comprising:
[0027] A temperature and current acquisition module, used to obtain the measured temperature and charge and discharge current of the battery, wherein the measured temperature is the temperature measured by the temperature detection device;
[0028] a compensation temperature determination module, configured to determine a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model;
[0029] The battery temperature determination module is used to determine the actual temperature of the battery based on the compensation temperature and the measured temperature.
[0030] In some embodiments, the charge and discharge current includes a plurality of sampled currents collected at a plurality of sampling moments before the current moment, wherein a sampled current is collected at each sampling moment;
[0031] The compensation temperature determination module comprises:
[0032] An average current acquisition unit, used for averaging the multiple sampled currents to obtain the average current value at the current moment;
[0033] An average current input unit is used to determine the compensation temperature based on the average current value and the first temperature compensation model.
[0034] In some embodiments, the compensation temperature determination module includes:
[0035] a current difference determination unit, configured to determine the difference between the average current value at the current moment and the average current value at the previous moment in response to the electronic device currently being in a charging state, so as to obtain an average current difference;
[0036] The first temperature determination unit is used to perform the operation of determining the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model in response to the average current difference being greater than a first current difference threshold and less than or equal to a second current difference threshold.
[0037] In some embodiments, the second current difference threshold is determined based on the average current difference when charging begins.
[0038] In some embodiments, the compensation temperature determination module further includes:
[0039] A second temperature determination unit is used to input the current charging time of the electronic device into a second temperature compensation model to obtain the compensation temperature in response to the average current difference being greater than the second current difference threshold, wherein the second temperature compensation model is constructed based on the current estimated temperature rise rate and charging time of the battery, and the current estimated temperature rise rate corresponds to the current charging current of the battery.
[0040] In some embodiments, the compensation temperature determination module further includes a temperature rise rate determination unit;
[0041] The temperature rise rate determination unit is used to:
[0042] Based on the pre-established corresponding relationship, query the temperature rise of the temperature detection device corresponding to the current charging current, where the temperature rise of the temperature detection device is a value of the increase in temperature measured by the temperature detection device;
[0043] The currently estimated temperature rise rate is determined based on the temperature rise of the temperature detection device and the number of the plurality of sampling moments.
[0044] In some embodiments, the compensation temperature determination module further includes:
[0045] The third temperature determination unit is used to determine the compensation temperature at the current moment based on the compensation temperature at the previous moment in response to the average current difference being less than a third current difference threshold and the measured temperature at the current moment being less than the measured temperature at the previous moment.
[0046] In some embodiments, the third current difference threshold is determined based on an average current difference when charging is interrupted.
[0047] In some embodiments, the compensation temperature determination module further includes:
[0048] A fourth temperature determination unit is used to perform the operation of determining the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model in response to the average current difference being greater than or equal to the third current difference threshold and less than or equal to the first current difference threshold.
[0049] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the device comprising:
[0050] A battery, a temperature detection device, a processor, and a memory for storing a computer program;
[0051] Wherein, the processor is configured to implement, when executing the computer program:
[0052] Obtaining a measured temperature and a charge / discharge current of the battery, wherein the measured temperature is a temperature measured by a temperature detection device;
[0053] determining a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model;
[0054] An actual temperature of the battery is determined based on the compensated temperature and the measured temperature.
[0055] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the following is implemented:
[0056] Obtaining a measured temperature and a charge / discharge current of the battery, wherein the measured temperature is a temperature measured by a temperature detection device;
[0057] determining a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model;
[0058] An actual temperature of the battery is determined based on the compensated temperature and the measured temperature.
[0059] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0060] The present disclosure obtains the measured temperature and charge and discharge current of a battery, determines the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model, and then determines the actual temperature of the battery based on the compensation temperature and the measured temperature. This can achieve accurate determination of the actual temperature of the battery, improve the reliability of the battery, and reduce the cost of the battery.
[0061] 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
[0062] 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.
[0063] Figure 1A is a schematic diagram of a battery structure using a lead-type NTC thermistor according to an exemplary embodiment of the present disclosure;
[0064] Figure 1B is a schematic diagram of a battery structure using a chip-type NTC thermistor according to an exemplary embodiment of the present disclosure;
[0065] Figure 1C is a flow chart of a method for determining battery temperature according to an exemplary embodiment of the present disclosure;
[0066] Figure 2 is a flow chart showing how to determine the compensation temperature of the measured temperature according to an exemplary embodiment of the present disclosure;
[0067] Figure 3A is a flow chart showing how to determine the compensation temperature of the measured temperature according to another exemplary embodiment of the present disclosure;
[0068] Figure 3B is a schematic diagram of various temperature and current curves according to the first exemplary embodiment of the present disclosure;
[0069] Figure 3C is a schematic diagram of various temperature and current curves according to a second exemplary embodiment of the present disclosure;
[0070] Figure 3D is a schematic diagram of various temperature and current curves according to a third exemplary embodiment of the present disclosure;
[0071] Figure 3E is a schematic diagram of various temperature and current curves according to a fourth exemplary embodiment of the present disclosure;
[0072] Figure 3F is a schematic diagram of various temperature and current curves according to a fifth exemplary embodiment of the present disclosure;
[0073] Figure 4 is a flow chart showing how to determine the current estimated temperature rise rate according to an exemplary embodiment of the present disclosure;
[0074] Figure 5 is a block diagram of a battery temperature determination device according to an exemplary embodiment of the present disclosure;
[0075] Figure 6 is a block diagram showing another battery temperature determination device according to an exemplary embodiment of the present disclosure;
[0076] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0077] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0078] With the development of terminal technology, the use of electronic devices such as smart phones and tablet computers has become very popular. As a key component in electronic devices, batteries play a vital role in the normal operation of electronic devices.
[0079] During the process of charging the battery, it is necessary to charge within the upper limit of the battery safety temperature to ensure charging safety. In the related art, a temperature detection device such as a negative temperature coefficient (NTC) thermistor is usually used to detect the temperature of the battery. Specifically, one solution in the related art is to measure the temperature of the battery through a lead-type NTC thermistor. Figure 1A is a schematic diagram of a battery structure using a lead-type NTC thermistor according to an exemplary embodiment of the present disclosure; Figure 1A As shown, the battery includes a battery cell 101 and a battery protection board 102 located at the head of the battery, the battery protection board 102 is used to accommodate the battery protection circuit (not shown in the figure), and the lead-type NTC thermistor 103 is arranged in the corner of the battery, and the battery is connected to the main board (not shown in the figure) through a connector 104. However, the lead-type NTC thermistor has defects such as high cost, complex welding process and poor reliability. In order to solve this problem, the lead-type NTC thermistor is replaced with a chip-type NTC thermistor in this solution, thereby improving the reliability of the battery and reducing the cost of the battery. By way of example, Figure 1B FIG. 1 is a schematic diagram of a battery structure using a SMD NTC thermistor according to an exemplary embodiment of the present disclosure. Figure 1B As shown, this embodiment will Figure 1A The lead-type NTC thermistor 103 is replaced by a chip-type NTC thermistor 105. The chip-type NTC thermistor 105 is attached to the battery protection board 102.
[0080] However, in some scenarios (such as high-current fast charging), the battery protection board generates severe heat, which causes the temperature of the chip NTC thermistor to rise rapidly, resulting in the temperature measured by the chip NTC not accurately reflecting the actual temperature of the battery.
[0081] In view of this, the present disclosure provides the following battery temperature determination method, device, equipment and storage medium to solve the above-mentioned problems in the related art.
[0082] Figure 1C is a flow chart of a battery temperature determination method according to an exemplary embodiment; the method of this embodiment can be executed by a battery temperature determination device, and the battery temperature determination device can be configured in an electronic device having a battery and a temperature detection device, such as a mobile terminal (such as a mobile phone, a tablet computer, etc.), a wearable device (such as glasses, a watch, etc.), etc. Specifically, Figure 1C As shown, the method includes the following steps S101-S103:
[0083] In step S101 , the measured temperature and the charge and discharge current of the battery are obtained.
[0084] In this embodiment, when determining the battery temperature of the electronic device, the measured temperature of the battery and the current charge and discharge current may be acquired.
[0085] The measured temperature is the temperature measured by the temperature detection device, and the charge and discharge current can be determined based on the current state of the electronic device. For example, if the electronic device is currently in a charging state, the charge and discharge current refers to the charging current of the battery; if the electronic device is currently in a discharging state, the charge and discharge current refers to the discharging current of the battery.
[0086] In some embodiments, the temperature detection device may be a temperature detection device disposed on a battery protection board of the electronic device, such as a surface-mount NTC thermistor, etc. It is understandable that in certain scenarios (e.g., scenarios based on high-current fast charging, etc.), the battery protection board generates severe heat, which may cause the temperature of the temperature detection device to rise rapidly, thereby causing the temperature measured by the temperature detection device (i.e., the above-mentioned measured temperature) to fail to accurately reflect the actual temperature of the battery.
[0087] For example, assuming that Tgoal is the measured temperature of the battery, that is, the temperature measured by the temperature detection device, the measured temperature can be expressed as the following formula (1-1):
[0088] Tgoal=Tenv+Tp; (1-1)
[0089] In the above formula (1-1), Tenv is the ambient temperature and Tp is the temperature rise caused by the heat source.
[0090] For lead-type NTC thermistors, it can be roughly considered that Tp = Tcell, where Tcell is the temperature rise caused by the heating of the battery cell; and for chip-type NTC thermistors, it can be roughly considered that Tp = Tcell + Tpcm, where Tpcm is the temperature rise caused by the heating of the battery protection board. In other words, for chip-type NTC thermistors, the measured temperature can be expressed as the following formula (1-2):
[0091] Tgoal=Tenv+Tcell+Tpcm; (1-2)
[0092] Therefore, in order to accurately measure the temperature of the battery (cell) based on the SMD NTC thermistor, the extra temperature rise of Tpcm needs to be eliminated, and thus the subsequent steps of this embodiment need to be continued.
[0093] In step S102 , a compensation temperature of the measured temperature is determined based on the charge and discharge current and a predetermined first temperature compensation model.
[0094] In this embodiment, after the charge and discharge current of the battery is obtained, the absolute value of the charge and discharge current may be input into the first temperature compensation model to obtain the compensation temperature of the measured temperature.
[0095] Among them, the above-mentioned first temperature compensation model can be a model pre-trained based on sample data, and the sample data may include actual temperature data, measured temperature data and charge and discharge current data of the sample battery, and the measured temperature data can be temperature data measured using a sample temperature detection device.
[0096] In some implementations, the first temperature compensation model may be a quadratic function of the absolute value of the charge and discharge current. For example, assuming that the absolute value of the charge and discharge current is "I", the first temperature compensation model may be as shown in the following formula (1-1):
[0097] Tcom=a·I 2 +b·I+c; (1-3)
[0098] It is worth noting that this embodiment predicts Tpcm from the source of heat generation, that is, through heat loss P = I 2 ·R, where R is the resistance value (fixed value), thus establishing the model shown in the above formula (1-3), that is, a quadratic function of the absolute value of the charge and discharge current. It can be understood that the parameters a, b and c in the above first temperature compensation model can be determined by training the model, and this embodiment does not limit the specific training process.
[0099] On this basis, after the charge and discharge current is obtained, its absolute value I can be substituted into the above formula (1-3) to obtain the compensation temperature Tcom of the measured temperature.
[0100] In step S103 , the actual temperature of the battery is determined based on the compensated temperature and the measured temperature.
[0101] In this embodiment, after the compensation temperature of the measured temperature is determined based on the charge and discharge current and a predetermined first temperature compensation model, the measured temperature can be compensated based on the compensation temperature to eliminate the additional temperature rise of Tpcm, obtain the compensated temperature, and use it as the actual temperature of the battery.
[0102] For example, assuming that the compensation temperature is Tcom and the measured temperature of the SMD NTC thermistor is Tgoal=Tenv+Tcell+Tpcm, the actual temperature Tgoal_com of the battery can be determined based on the following formula (1-4):
[0103] Tgoal_com=(Tenv+Tcell+Tpcm)-Tcom; (1-4)
[0104] From the above description, it can be seen that the method of this embodiment obtains the measured temperature and charge and discharge current of the battery, and determines the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model, and then determines the actual temperature of the battery based on the compensation temperature and the measured temperature. It can achieve accurate determination of the actual temperature of the battery, improve the reliability of the battery, and reduce the cost of the battery.
[0105] Figure 2 It is a flow chart showing how to determine the compensation temperature of the measured temperature according to an exemplary embodiment of the present disclosure; based on the above embodiment, this embodiment takes how to determine the compensation temperature of the measured temperature as an example for exemplary description.
[0106] It can be seen from the above formula (1-3) that if a sudden change in current occurs in an electronic device during use (such as plugging in or unplugging a charger, or a rise in ambient temperature Tenv causing charging current limiting), Tcom will mutate accordingly. However, the change in measured temperature is caused by heat conduction, which will not mutate. This results in the "compensated temperature" obtained after compensating the measured temperature based on the compensation temperature. It still has errors and cannot accurately reflect the true temperature of the battery. Therefore, this embodiment proposes a smooth compensation strategy, which determines the compensation temperature based on the average value of the charge and discharge current of multiple strategies, thereby effectively solving the problem of inaccurate battery temperature determined due to current mutations.
[0107] Specifically, the charge and discharge current in this embodiment may include multiple sampled currents collected at multiple sampling moments before the current moment, wherein one sampled current is collected at each sampling moment (for example, every second). Exemplarily, a FIFO (FirstInFirstOut) strategy may be adopted to save the absolute values of the charge and discharge currents measured for the most recent n times (the specific value of n can be set according to actual needs, for example, it can be set to 35, etc.).
[0108] On this basis, if Figure 2 As shown, the step S102 described above of determining the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model may include the following steps S201-S202:
[0109] In step S201, the plurality of sampled currents are averaged to obtain the average current value at the current moment.
[0110] In this embodiment, after obtaining a plurality of sampled currents collected at a plurality of sampling moments before the current moment, the plurality of sampled currents may be averaged to obtain an average current value at the current moment.
[0111] In step S202 , the compensation temperature is determined based on the average current value and the first temperature compensation model.
[0112] In this embodiment, after averaging the multiple sampled currents to obtain the average current value at the current moment, the compensation temperature may be determined based on the average current value and the first temperature compensation model.
[0113] For example, after obtaining the average current value at the current moment, the absolute value Iave of the average current value can be substituted for "I" in the above formula (1-3) to obtain the compensation temperature Tcom_ave of the measured temperature, as shown in the following formula (2-1):
[0114] Tcom_ave=a·Iave 2 +b·Iave+c; (2-1)
[0115] From the above description, it can be seen that this embodiment achieves smoothness compensation for the measured temperature by averaging the multiple sampled currents to obtain the average current value at the current moment, and determines the compensation temperature based on the average current value and the first temperature compensation model, thereby effectively solving the problem of inaccurately determined battery temperature caused by current mutations, and can further improve the accuracy of determining the battery temperature.
[0116] Figure 3A It is a flowchart showing how to determine the compensation temperature of the measured temperature according to another exemplary embodiment of the present disclosure; based on the above embodiment, this embodiment takes how to determine the compensation temperature of the measured temperature as an example for exemplary description.
[0117] like Figure 3A As shown, the battery temperature determination method of this embodiment may further include determining a compensation temperature of the measured temperature based on the following steps S301-S307:
[0118] In step S301, in response to the electronic device being in a charging state, the difference between the average current value at the current moment and the average current value at the previous moment is determined to obtain the average current difference. On this basis, step S302 or S305 can be performed according to the situation.
[0119] In step S302, it is determined whether the average current difference is greater than a first current difference threshold and less than or equal to a second current difference threshold: if so, step S303 is executed; if not, step S304 is executed.
[0120] The second current difference threshold is determined based on the average current difference when charging starts.
[0121] For example, the average current difference at the beginning of charging is the ratio of the constant current charging current to the smoothing number (i.e., the number of multiple sampling moments) n, such as 12.4 / 35=0.354, and the above-mentioned second current difference threshold can be set to 0.3 (i.e., slightly smaller than 0.354) to ensure that the compensation method is also executed at the critical value.
[0122] In step S303, a compensation temperature of the measured temperature is determined based on the charge and discharge current and a predetermined first temperature compensation model.
[0123] In step S304, in response to the average current difference being greater than the second current difference threshold, the current charging duration of the electronic device is input into a second temperature compensation model to obtain the compensation temperature.
[0124] The second temperature compensation model may be used to determine the compensation temperature when a large current appears (ie, charging starts based on a large current).
[0125] The second temperature compensation model is constructed based on the current estimated temperature rise rate and charging duration of the battery, and the current estimated temperature rise rate corresponds to the current charging current of the battery.
[0126] For example, Figure 3B is a schematic diagram of various temperature and current curves according to the first exemplary embodiment of the present disclosure; Figure 3C It is a schematic diagram of curves of various temperatures and currents according to the second exemplary embodiment of the present disclosure; wherein, the horizontal axis is time (seconds), the left vertical axis is temperature (°C), and the right vertical axis is the absolute value of current (mA); the various temperatures are respectively the measured temperature (the temperature measured by the temperature detection device), the battery cell temperature (the temperature of the battery cell in the current environment "Tenv+Tcell"), the compensated temperature (the determined battery temperature Tgoal_com) and the absolute value of current (the actual current value during charging and the opposite of the current value during discharging).
[0127] pass Figure 3B It can be seen that after Figure 2 The smooth compensation strategy of the embodiment shown in the figure shows that the overall compensation effect is better during charging (i.e., the temperature after compensation is closer to the cell temperature overall), but when high current occurs (i.e. Figure 3B The left side of the middle image shows the part from 0 to 100 seconds. Figure 3C As shown in FIG. 1 , the temperature after compensation has an obvious mutation relative to the cell temperature, that is, the error of the temperature after compensation is large, and the duration of the mutation is positively correlated with the number of smoothing (that is, the number of multiple sampling moments n).
[0128] In order to reduce the problem of large error in temperature after compensation when large current occurs in the smooth compensation strategy, a large current compensation strategy (i.e., the strategy for determining the compensation temperature based on the second temperature compensation model) can be added in this embodiment. Specifically, firstly, the step S301 is executed, and in response to the electronic device being in a charging state, the difference between the average current value Iave_now at the current moment and the average current value Iave_last at the previous moment is determined to obtain the average current difference △Iave, as shown in the following formula (3-1):
[0129] △Iave=Iave_now-Iave_last; (3-1)
[0130] It can be seen from the above formula (3-1) that when △Iave>0, it means that the absolute value of the current increases, and the larger △Iave is, the faster the absolute value of the current increases. By detecting the positive or negative of the real value of the current, it can be determined whether the current electronic device is in a charging or discharging state. Considering that the discharge current is usually small and will not change a lot in a short time (that is, the current value will not change suddenly), the discharge process does not require large current compensation. Therefore, the newly added "large current compensation strategy" in this embodiment is actually a "large current initial charging compensation strategy".
[0131] On this basis, based on Joule's law, it can be known that the greater the current, the greater the heat generated. Therefore, different starting charging currents correspond to different temperature rise rates. Therefore, the corresponding estimated temperature rise rates can be determined based on different starting charging currents. The method for determining the above-mentioned estimated temperature rise rate can be referred to as follows Figure 4 The illustrated embodiment will not be described in detail here.
[0132] Furthermore, a second temperature compensation model is constructed based on the estimated temperature rise rate and charging time, such as a linear function as shown in the following formula (3-2):
[0133] Tcom_ave=k·t; (3-2)
[0134] In the above formula, k is the current temperature rise rate corresponding to the current starting charging current, and t is the current charging time.
[0135] That is to say, when the average current difference is greater than the second current difference threshold, such as △Iave>0.3, the large current starting charging compensation is started, that is, the compensation temperature Tcom_ave is determined based on the second temperature compensation model; as the charging time increases, when △Iave≤0.3, the large current starting charging compensation is exited, and the compensation temperature Tcom_ave is determined based on the first temperature compensation model shown in the above formula (2-1).
[0136] Figure 3Dis a schematic diagram of various temperature and current curves according to the third exemplary embodiment of the present disclosure; Figure 3D As shown in the figure, the effect after starting the large current initial charging compensation is shown. Figure 3D and Figure 3C By comparison, it can be seen that after large current initial charging compensation, the compensated temperature is closer to the battery cell temperature, that is, the error of the compensated temperature is further reduced.
[0137] In step S305, it is determined whether the average current difference is less than a third current difference threshold, and the measured temperature at the current moment is less than the measured temperature at the previous moment: if not, step S306 is executed; if so, step S307 is executed.
[0138] The third current difference threshold is less than 0.
[0139] In step S306 , in response to the average current difference being greater than or equal to the third current difference threshold and less than or equal to the first current difference threshold, a compensation temperature of the measured temperature is determined based on the charge and discharge current and a predetermined first temperature compensation model.
[0140] In step S307, the compensation temperature at the current moment is determined based on the compensation temperature at the previous moment.
[0141] For example, the compensation temperature at the current moment may be determined as the compensation temperature at the previous moment, that is, the compensation temperature at the current moment is maintained unchanged.
[0142] As mentioned earlier, through Figure 3B It can be seen that after Figure 2 The smooth compensation strategy of the embodiment shown in the figure shows that the overall compensation effect is better during charging (i.e., the temperature after compensation is closer to the battery cell temperature overall). However, when the high current disappears (such as unplugging the charger to stop charging, or the ambient temperature Tenv rises, etc., causing the charging current to be limited, such as Figure 3E As shown, the temperature after compensation has a significant mutation relative to the cell temperature (i.e., Figure 3E The compensated temperature in the middle part has an arc-shaped protrusion), that is, the error of the compensated temperature is large, and the duration of the mutation is positively correlated with the number of smoothing (that is, the number of multiple sampling moments n). The reason is that the original temperature of the SMD NTC thermistor is higher, and the location and material of the SMD NTC thermistor are different from those of the battery cell, so the heat dissipation speed of the two is different. When the current suddenly decreases, the compensation temperature Tcom_ave decreases, and the compensated temperature Tgoal_com rises, causing the compensated temperature to suddenly change relative to the battery cell temperature, which leads to a large error in the compensated temperature.
[0143] In order to reduce the problem of large error in temperature after compensation when large current disappears in the smoothing compensation strategy, a large current disappearance compensation strategy (i.e., the above-mentioned strategy of maintaining the compensation temperature at the current moment unchanged) can be added in this embodiment. Specifically, when △Iave < 0, it means that the absolute value of the current is decreasing, and the smaller △Iave is, the faster the current decreases. Similar to the compensation for large current, when it is detected that △Iave is less than a certain value (i.e., the above-mentioned third current difference threshold), and the measured temperature does not increase (excluding external interference), if the measured temperature at the current moment is less than the measured temperature at the previous moment (such as Figure 3E As shown, at about 280 seconds, when the measured temperature drops, the large current disappearance compensation is started, that is, Tcom_ave_now=Tcom_ave_last is maintained until △Iave is greater than the above-mentioned third current difference threshold, then the large current disappearance compensation is exited, and the compensation temperature Tcom_ave is determined based on the first temperature compensation model shown in the above formula (2-1).
[0144] For example, assuming that the current constant current charging current is 12.4A, the number of smoothing (the number of multiple sampling moments) n=35, and when the charging is cut off, △Iave=-0.344, Tcom_ave_now=44.151, Tcom_ave_last=41.057 are obtained, and the measured temperature is 62.3℃ and has not increased, then the large current disappearance compensation can be started. When △Iave<-0.3 (that is, slightly greater than -0.344), maintain Tcom_ave_now=Tcom_ave_last=41.057; until △Iave≥-0.3, exit the large current disappearance compensation, and let Tcom_ave=a·Iave 2 +b·Iave+c.
[0145] Figure 3F is a schematic diagram of various temperature and current curves according to the fifth exemplary embodiment of the present disclosure; Figure 3F As shown in the figure, the effect after the large starting current disappears is shown. Figure 3F and Figure 3E By comparison, it can be seen that after large current disappearance compensation, the compensated temperature is closer to the cell temperature, that is, the error of the compensated temperature is further reduced.
[0146] From the above description, it can be seen that this embodiment can determine the compensation temperature based on different situations through compensation for the appearance of large current and compensation for the disappearance of large current, solve the problem of large errors in the compensated temperature caused by sudden changes in large current in the smooth compensation strategy, and improve the accuracy and rationality of determining the compensation temperature, thereby improving the accuracy of the subsequent determination of the compensated temperature based on the compensation temperature, that is, the actual temperature of the battery.
[0147] Figure 4 It is a flowchart showing how to determine the current estimated temperature rise rate according to an exemplary embodiment of the present disclosure; based on the above embodiment, this embodiment uses how to determine the current estimated temperature rise rate as an example to exemplify.
[0148] like Figure 4 As shown, the battery temperature determination method of this embodiment may further include determining the current estimated temperature rise rate based on the following steps S401-S402:
[0149] In step S401, based on the pre-established corresponding relationship, the temperature rise of the temperature detection device corresponding to the current charging current is queried.
[0150] In this embodiment, after the current charging current of the battery is obtained, the temperature rise of the temperature detection device corresponding to the current charging current can be queried based on the pre-established corresponding relationship.
[0151] The temperature rise of the temperature detection device is the increase in temperature measured by the temperature detection device.
[0152] For example, the actual temperature rise of the chip NTC thermistor can be detected in advance in each constant current charging stage, that is, at each constant charging current, based on a temperature detection tool (such as a temperature sensor, etc.), thereby establishing a corresponding relationship between each constant charging current and the above actual temperature rise.
[0153] On this basis, after the current charging current of the battery is obtained, the above correspondence relationship can be queried to obtain the actual temperature rise corresponding to the current charging current, that is, the temperature rise of the temperature detection device.
[0154] In step S403, the current estimated temperature rise rate is determined based on the temperature rise of the temperature detection device and the number of the plurality of sampling moments.
[0155] In this embodiment, after the temperature rise of the temperature detection device corresponding to the current charging current is obtained, the current estimated temperature rise rate can be determined based on the temperature rise of the temperature detection device and the number of the multiple sampling moments.
[0156] In some embodiments, assuming that the temperature rise of the queried temperature detection device is ΔT, and the number of the multiple sampling moments is n, the current estimated temperature rise rate k can be determined based on the following formula (4-1):
[0157] k=△T / n; (4-1)
[0158] That is to say, in this embodiment, the temperature rise curve of the temperature detection device within multiple sampling moments (e.g., n seconds) is approximated as a univariate linear function, thereby obtaining the above-mentioned estimated temperature rise rate k, that is, the slope of the temperature rise curve. It is worth noting that the temperature rise curve can be established in several groups, and the specific number of groups can be determined based on the charging system of the battery, that is, if there are several constant current charging stages, several groups of univariate linear functions of the temperature rise curve can be established, that is, the second temperature compensation model.
[0159] For example, assuming that the current constant current charging current is 12.4A, by querying the corresponding relationship, it can be known that the temperature rise of the temperature detection device is △T=14.34, and the number of sampling moments is n=35, so k=14.34 / 35=0.41 can be calculated.
[0160] From the above description, it can be seen that this embodiment queries the temperature rise of the temperature detection device corresponding to the current charging current based on a pre-constructed corresponding relationship, and determines the current estimated temperature rise rate based on the temperature rise of the temperature detection device and the number of the multiple sampling moments. This can accurately determine the current estimated temperature rise rate of the battery, and then subsequently determine the compensation temperature based on the second temperature compensation model and the current charging time of the electronic device, which can improve the accuracy of determining the compensation temperature, and then improve the accuracy of subsequently determining the battery temperature based on the compensation temperature.
[0161] Figure 5 is a block diagram of a battery temperature determination device according to an exemplary embodiment of the present disclosure; the device of this embodiment can be configured in an electronic device having a battery and a temperature detection device, such as a mobile terminal (such as a mobile phone, a tablet computer, etc.), a wearable device (such as glasses, a watch, etc.), etc. Specifically, Figure 5 As shown, the device may include: a temperature current acquisition module 110, a compensation temperature determination module 120 and a battery temperature determination module 130, wherein:
[0162] The temperature and current acquisition module 110 is used to obtain the measured temperature and charge and discharge current of the battery, where the measured temperature is the temperature measured by the temperature detection device;
[0163] A compensation temperature determination module 120, configured to determine a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model;
[0164] The battery temperature determination module 130 is configured to determine the actual temperature of the battery based on the compensated temperature and the measured temperature.
[0165] From the above description, it can be seen that the device of this embodiment obtains the measured temperature and charge and discharge current of the battery, and determines the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model, and then determines the actual temperature of the battery based on the compensation temperature and the measured temperature. It can accurately determine the actual temperature of the battery, improve the reliability of the battery, and reduce the cost of the battery.
[0166] Figure 6 2 is a block diagram of another battery temperature determination device according to an exemplary embodiment of the present disclosure; the device of this embodiment can be configured in an electronic device having a battery and a temperature detection device, such as a mobile terminal (such as a mobile phone, a tablet computer, etc.), a wearable device (such as glasses, a watch, etc.), etc. Among them, the temperature current acquisition module 210, the compensation temperature determination module 220 and the battery temperature determination module 230 are similar to the aforementioned Figure 5 The functions of the temperature current acquisition module 110 , the compensation temperature determination module 120 and the battery temperature determination module 130 in the illustrated embodiment are the same and will not be described in detail herein.
[0167] In this embodiment, the charge and discharge current may include a plurality of sampled currents collected at a plurality of sampling moments before the current moment, wherein a sampled current is collected at each sampling moment;
[0168] On this basis, the compensation temperature determination module 220 may include:
[0169] An average current acquisition unit 221 is used to average the multiple sampled currents to obtain the average current value at the current moment;
[0170] The average current input unit 222 is used to determine the compensation temperature based on the average current value and the first temperature compensation model.
[0171] In some embodiments, the compensation temperature determination module 220 may further include:
[0172] A current difference determination unit 223, configured to determine the difference between the average current value at the current moment and the average current value at the previous moment in response to the electronic device currently being in a charging state, to obtain an average current difference;
[0173] The first temperature determination unit 224 is used to perform the operation of determining the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model in response to the average current difference being greater than a first current difference threshold and less than or equal to a second current difference threshold.
[0174] In some embodiments, the second current difference threshold may be determined based on the average current difference when charging begins.
[0175] In some embodiments, the compensation temperature determination module 220 may further include:
[0176] The second temperature determination unit 225 is used to input the current charging time of the electronic device into a second temperature compensation model to obtain the compensation temperature in response to the average current difference being greater than the second current difference threshold, wherein the second temperature compensation model is constructed based on the current estimated temperature rise rate and charging time of the battery, and the current estimated temperature rise rate corresponds to the current charging current of the battery.
[0177] In some embodiments, the compensation temperature determination module 220 may further include a temperature rise rate determination unit 226;
[0178] The temperature rise rate determination unit 226 may be used to:
[0179] Based on the pre-established corresponding relationship, query the temperature rise of the temperature detection device corresponding to the current charging current, where the temperature rise of the temperature detection device is a value of the increase in temperature measured by the temperature detection device;
[0180] The currently estimated temperature rise rate is determined based on the temperature rise of the temperature detection device and the number of the plurality of sampling moments.
[0181] In some embodiments, the compensation temperature determination module 220 may further include:
[0182] The third temperature determination unit 227 is used to determine the compensation temperature at the current moment based on the compensation temperature at the previous moment in response to the average current difference being less than a third current difference threshold and the measured temperature at the current moment being less than the measured temperature at the previous moment.
[0183] In some embodiments, the third current difference threshold may be determined based on an average current difference during charging interruption.
[0184] In some embodiments, the compensation temperature determination module 220 may further include:
[0185] The fourth temperature determination unit 228 is used to perform the operation of determining the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model in response to the average current difference being greater than or equal to the third current difference threshold and less than or equal to the first current difference threshold.
[0186] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0187] Figure 7900 is a block diagram of an electronic device according to an exemplary embodiment. For example, the device 900 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.
[0188] Reference Figure 7 , device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .
[0189] The processing component 902 generally controls the overall operation of the device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the battery temperature determination method described above. In addition, the processing component 902 may include one or more modules to facilitate interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
[0190] The memory 904 is configured to store various types of data to support operations on the device 900. Examples of such data include instructions for any application or method operating on the device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0191] The power supply component 906 provides power to the various components of the device 900. The power supply component 906 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.
[0192] The multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display panel and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a 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 908 includes a front camera and / or a rear camera. When the device 900 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 the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0193] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the device 900 is in an operating 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 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.
[0194] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0195] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the device 900. For example, the sensor assembly 914 can detect the open / closed state of the device 900, the relative positioning of components, such as the display panel and keypad of the device 900, and the sensor assembly 914 can also detect the position change of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration / deceleration of the device 900, and the temperature change of the device 900. The sensor assembly 914 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0196] The communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices. The device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3F, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 916 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 916 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.
[0197] In an exemplary embodiment, the device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned battery temperature determination method.
[0198] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the instructions can be executed by the processor 920 of the device 900 to complete the above-mentioned battery temperature determination 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.
[0199] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0200] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for determining battery temperature, characterized in that: The method comprises: Obtaining a measured temperature and a charge / discharge current of the battery, wherein the measured temperature is a temperature measured by a temperature detection device; determining a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model; An actual temperature of the battery is determined based on the compensated temperature and the measured temperature.
2. The method according to claim 1, characterized in that The charge and discharge current includes a plurality of sampled currents collected at a plurality of sampling moments before the current moment, wherein a sampled current is collected at each sampling moment; The step of determining the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model includes: Averaging the multiple sampled currents to obtain an average current value at the current moment; The compensation temperature is determined based on the average current value and the first temperature compensation model.
3. The method according to claim 2, characterized in that The method further comprises: In response to the electronic device currently being in a charging state, determining a difference between the average current value at the current moment and the average current value at the previous moment to obtain an average current difference; In response to the average current difference being greater than a first current difference threshold and less than or equal to a second current difference threshold, the operation of determining a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model is performed.
4. The method according to claim 3, characterized in that The second current difference threshold is determined based on the average current difference when charging starts.
5. The method according to claim 3, characterized in that: The method further comprises: In response to the average current difference being greater than the second current difference threshold, the current charging time of the electronic device is input into a second temperature compensation model to obtain the compensation temperature. The second temperature compensation model is constructed based on the current estimated temperature rise rate and charging time of the battery. The current estimated temperature rise rate corresponds to the current charging current of the battery.
6. The method according to claim 5, characterized in that The method further includes determining the current estimated temperature rise rate based on the following method: Based on the pre-established corresponding relationship, query the temperature rise of the temperature detection device corresponding to the current charging current, where the temperature rise of the temperature detection device is a value of the increase in temperature measured by the temperature detection device; The currently estimated temperature rise rate is determined based on the temperature rise of the temperature detection device and the number of the plurality of sampling moments.
7. The method according to claim 3, characterized in that The method further comprises: In response to the average current difference being less than a third current difference threshold and the measured temperature at the current moment being less than the measured temperature at the previous moment, the compensated temperature at the current moment is determined based on the compensated temperature at the previous moment.
8. The method according to claim 7, characterized in that The third current difference threshold is determined based on the average current difference when charging is interrupted.
9. The method according to claim 7, characterized in that: The method further comprises: In response to the average current difference being greater than or equal to the third current difference threshold and less than or equal to the first current difference threshold, the operation of determining the compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model is performed.
10. A battery temperature determination device, characterized in that: The device comprises: A temperature and current acquisition module, used to obtain the measured temperature and charge and discharge current of the battery, wherein the measured temperature is the temperature measured by the temperature detection device; a compensation temperature determination module, configured to determine a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model; The battery temperature determination module is used to determine the actual temperature of the battery based on the compensation temperature and the measured temperature.
11. An electronic device, characterized in that: The device comprises: A battery, a temperature detection device, a processor, and a memory for storing a computer program; Wherein, the processor is configured to implement, when executing the computer program: Obtaining a measured temperature and a charge / discharge current of the battery, wherein the measured temperature is a temperature measured by a temperature detection device; determining a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model; An actual temperature of the battery is determined based on the compensated temperature and the measured temperature.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by the processor, it realizes: Obtaining a measured temperature and a charge / discharge current of the battery, wherein the measured temperature is a temperature measured by a temperature detection device; determining a compensation temperature of the measured temperature based on the charge and discharge current and a predetermined first temperature compensation model; An actual temperature of the battery is determined based on the compensated temperature and the measured temperature.
Citation Information
Patent Citations
Battery ambient temperature estimation device
JP2020053271A
Battery temperature compensation method for mobile terminal and mobile terminal thereof
KR1020160121200A
Electronic device and method for obtaining a correct battery temperature
US20200300918A1
Cited By
Battery cell temperature real-time calibration method based on copper bar temperature rise compensation
CN120686109A