Battery charging and discharging control method and device, electronic equipment and medium

By obtaining and analyzing the actual temperature information of the battery, combining time and performance parameters, determining the target temperature and adjusting the battery charging and discharging strategy, the problems of battery safety and user experience when the temperature changes of portable electronic devices are solved, and the safe and reliable use of the battery and the normal operation of the equipment are achieved.

CN119890499APending Publication Date: 2025-04-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311394261.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the case of drastic temperature changes, portable electronic devices cannot adopt appropriate charging and discharging strategies in a timely manner, which will affect the safety of battery use or abnormal shutdown, affecting the user's user experience.

Method used

By obtaining the actual temperature information of the battery, the time information in which the temperature information belongs is determined from the first range to the second range, and the relationship between the time information and the pre-stored time parameter set, and the relationship between the performance information of the battery and the pre-stored performance range set, the target temperature is comprehensively determined, and the electrical energy parameters of the battery charging or discharge process are adjusted.

Benefits of technology

Ensure that even if the electronic equipment experiences drastic temperature changes, the charging and discharging strategy can still be adjusted based on the real temperature of the battery cell, avoid low temperature overcharging or abnormal shutdown, ensure the safe use of the battery and the normal use of the electronic equipment, and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119890499A_ABST
    Figure CN119890499A_ABST
Patent Text Reader

Abstract

The invention relates to a battery charging and discharging control method and device, electronic equipment and a medium. The battery charging and discharging control method comprises the steps that information of the actual temperature of a battery is obtained in a detection mode; based on the temperature range set, determining time information of changing a range interval to which the temperature information belongs from a first range interval to a second range interval; determining a target temperature based on the relationship between the time information and the time parameter set and the relationship between the performance information of the battery and the performance range set; and based on the target temperature, determining an electric energy parameter of the battery charging process or discharging process. According to the invention, even if the temperature of the electronic equipment changes drastically, the electric energy parameters of the battery can still be determined based on the real temperature of the battery cell, so that the situation of low-temperature overcharge or abnormal shutdown caused by neglecting the difference between the detected actual temperature of the battery and the real temperature of the battery cell is avoided; the use safety of the battery and the normal use of the electronic equipment are ensured, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electronic equipment, and in particular to a battery charging and discharging control method, device, electronic equipment and medium. Background Art

[0002] During daily use, portable electronic devices may be moved from low-temperature environments to high-temperature environments, such as from the cold outdoors to the warm indoors, from the top of a high-altitude mountain to the bottom of a low-altitude mountain, etc. Since electronic devices cannot adopt appropriate charging and discharging strategies in time according to temperature changes, the safety of battery use will be greatly affected in scenarios with drastic temperature changes, or the electronic device may be shut down abnormally, affecting the user experience. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a battery charging and discharging control method, device, electronic device and medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a battery charge and discharge control method is provided, comprising:

[0005] Acquiring temperature information, where the temperature information is information obtained through detection and used to characterize the actual temperature of the battery;

[0006] Based on a pre-stored temperature range set, determining time information when a range interval to which the temperature information belongs changes from a first range interval to a second range interval, wherein the temperature range set includes a plurality of range intervals;

[0007] Determining a target temperature based on a relationship between the time information and a pre-stored set of time parameters, and a relationship between performance information of the battery and a pre-stored set of performance ranges, wherein the performance information is used to characterize the cycle performance of the battery;

[0008] Based on the target temperature, an electrical energy parameter of the battery charging process or the battery discharging process is determined.

[0009] In some exemplary embodiments of the present disclosure, determining the target temperature based on the relationship between the time information and a pre-stored time parameter set, and the relationship between the performance information of the battery and a pre-stored performance range set, includes:

[0010] Based on the interval span between the first range interval and the second range interval, determine a reference time parameter corresponding to the interval span in the time parameter set, the reference time parameter being used to characterize a reference value of the time taken for the battery cell temperature of the battery to change from the first range interval to the second range interval;

[0011] Based on the second range interval, determining a reference performance range in the performance range set corresponding to the second range interval, the performance range set comprising a plurality of reference performance ranges, the reference performance ranges corresponding one-to-one to the range intervals;

[0012] Based on the relationship between the time information and the reference time parameter, and the performance information and the reference performance range, the temperature information belonging to the second range interval or the temperature information belonging to the first range interval is determined as the target temperature.

[0013] In some exemplary embodiments of the present disclosure, based on the relationship between the time information and the reference time parameter, and the performance information and the reference performance range, determining the temperature information belonging to the second range interval as the target temperature includes:

[0014] If the time information is greater than or equal to the reference time parameter, and the performance information belongs to the reference performance range, the temperature information belonging to the second range interval is determined as the target temperature.

[0015] In some exemplary embodiments of the present disclosure, based on the relationship between the time information and the reference time parameter, and the performance information and the reference performance range, determining the temperature information belonging to the first range interval as the target temperature includes:

[0016] If the time information is greater than or equal to the reference time parameter, and the performance information does not belong to the reference performance range, the temperature information belonging to the first range interval is determined as the target temperature.

[0017] In some exemplary embodiments of the present disclosure, the battery charge and discharge control method further includes:

[0018] If the time information is less than the reference time parameter, the temperature information belonging to the first range interval is determined as the target temperature.

[0019] In some exemplary embodiments of the present disclosure, the performance information includes an internal resistance of the battery.

[0020] In some exemplary embodiments of the present disclosure, the method for determining the reference time parameter includes:

[0021] Select a plurality of first reference temperature values ​​from the first range interval, select a plurality of second reference temperature values ​​from the second range interval, and one first reference temperature value and one second reference temperature value form a test group.

[0022] For each of the test groups, obtaining a first time taken for the battery cell temperature of the battery to change from a first reference temperature value to a second reference temperature value;

[0023] An average of a plurality of the first times is calculated as the reference time parameter.

[0024] According to a second aspect of an embodiment of the present disclosure, a battery charge and discharge control device is provided, comprising:

[0025] An acquisition module, used to acquire temperature information, wherein the temperature information is information obtained by detection and used to characterize the actual temperature of the battery;

[0026] A processing module, configured to determine, based on a pre-stored temperature range set, time information when a range interval to which the temperature information belongs changes from a first range interval to a second range interval, wherein the temperature range set includes a plurality of range intervals;

[0027] The processing module is further used to determine the target temperature based on the relationship between the time information and a pre-stored time parameter set, and the relationship between the performance information of the battery and a pre-stored performance range set, wherein the performance information is used to characterize the cycle performance of the battery;

[0028] The processing module is further used to determine the electric energy parameters of the battery charging process or discharging process based on the target temperature.

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

[0030] processor;

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

[0032] The processor is configured to execute executable instructions in the memory to implement the battery charging and discharging control method provided in the first aspect of the present disclosure.

[0033] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the battery charging and discharging control method provided in the first aspect of the present disclosure is implemented.

[0034] The above method disclosed in the present invention has the following beneficial effects: ensuring that even if the electronic device experiences drastic temperature changes, it can still determine the electric energy parameters of the battery charging process or the battery discharging process based on the actual temperature of the battery cell, avoiding low-temperature overcharging or abnormal shutdown caused by ignoring the difference between the detected actual battery temperature and the actual temperature of the battery cell, ensuring the safe use of the battery and the normal use of the electronic device, and improving the user experience.

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

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

[0037] Figure 1 The figure is a flow chart of a battery charging and discharging control method according to an exemplary embodiment.

[0038] Figure 2 The figure is a flow chart of a battery charging and discharging control method according to an exemplary embodiment.

[0039] Figure 3 is a block diagram of a battery charge and discharge control device according to an exemplary embodiment.

[0040] Figure 4 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0041] 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 invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0042] In the prior art, since the actual temperature of the battery cell cannot be directly obtained, most electronic devices use NTC (Negative Temperature Coefficient) temperature sensors to measure the actual temperature of the battery. The battery is composed of a battery cell and a battery protector. The battery protector includes an NTC temperature sensor. Since the battery protector is arranged on the circuit protection board, which is located on one side of the battery cell, there is a difference between the actual temperature of the battery detected by the NTC temperature sensor and the actual temperature of the battery cell. The value detected by the NTC temperature sensor is not the actual temperature of the battery cell. When the electronic device is in a scene where the temperature changes drastically, the difference between the actual temperature of the battery detected by the NTC temperature sensor and the actual temperature of the battery cell is usually not considered. The electronic device will directly adjust the battery charging and discharging strategy according to the temperature detected by the NTC temperature sensor, which will affect the performance of the battery and the use of the electronic device. For example, it will cause the battery to overcharge at low temperature, and the electronic device will shut down abnormally when the low temperature environment changes to the high temperature environment.

[0043] The following describes two situations: low-temperature overcharging and abnormal shutdown. When the temperature changes dramatically, for example, from -10 degrees Celsius to 20 degrees Celsius, the temperature detected by the NTC temperature sensor changes very quickly. In a short period of time, the temperature detected by the NTC temperature sensor can reach more than ten degrees Celsius, or 20 degrees Celsius. However, since the battery cell is a chemical device, its temperature rise rate is not that fast, and the battery cell may still be in a low-temperature state below zero for a short period of time. If the electronic device adjusts the charging and discharging strategy according to the temperature detected by the NTC temperature sensor, then when the temperature rise is detected, the battery charging current is increased, and the large current will cause the battery that is still in a low-temperature state to overcharge.

[0044] In low temperature scenarios, the internal resistance of the battery will increase. In order to ensure the normal use of electronic devices, the power consumption of electronic devices will be limited. When the electronic device switches from a low temperature scenario to a high temperature scenario, although the temperature detected by the NTC temperature sensor increases, the temperature of the battery cell does not increase synchronously, that is, the actual temperature of the battery cell is still in a low temperature state, and the internal resistance of the battery is still in a large state. If the temperature detected by the NTC temperature sensor allows the use of high-power applications, the transient current will increase significantly, reducing the battery voltage to the shutdown voltage, causing an abnormal shutdown before the battery power is completely consumed.

[0045] In summary, the existing technical solutions for adjusting the battery's charge and discharge strategy do not take into account the difference between the actual battery temperature detected by the temperature sensor and the real temperature of the battery cell. During use, it will not only affect the performance of the battery, but also affect the user's experience. The existing technical solutions do not fully balance the comprehensive performance of the two aspects.

[0046] In order to solve the above problems, the present disclosure provides a battery charging and discharging control method, which obtains information on the actual temperature of the battery through detection, determines the time information when the range interval to which the temperature information belongs changes from a first range interval to a second range interval, and comprehensively determines the target temperature through the relationship between the time information and the time parameter set, as well as the relationship between the performance information of the battery and the performance range set, to ensure that even if the electronic device experiences drastic temperature changes, it can still determine the electrical energy parameters of the battery charging process or discharging process based on the actual temperature of the battery cell, avoid low-temperature overcharging or abnormal shutdown due to ignoring the difference between the detected actual temperature of the battery and the actual temperature of the battery cell, ensure the safe use of the battery and the normal use of the electronic equipment, and improve the user experience.

[0047] The exemplary embodiments of the present disclosure provide a battery charge and discharge control method, which is applied to electronic devices such as mobile phones, smart watches, tablet computers, and notebooks that use batteries as operating energy. Figure 1 As shown, the battery charging and discharging control method shown in the present disclosure includes:

[0048] S101, obtaining temperature information, where the temperature information is information obtained through detection and used to characterize the actual temperature of the battery;

[0049] S102, based on a pre-stored temperature range set, determining time information of a range interval to which the temperature information belongs changing from a first range interval to a second range interval;

[0050] S103, determining a target temperature based on a relationship between the time information and a pre-stored time parameter set, and a relationship between the battery performance information and a pre-stored performance range set;

[0051] S104: Determine the electric energy parameters of the battery charging process or the battery discharging process based on the target temperature.

[0052] In step S101, the temperature information represents the actual temperature of the battery, and its specific value is obtained by detection. The battery is composed of a battery cell and a battery protector. The actual temperature of the battery can be detected by the temperature sensor on the battery protector. Because the temperature sensor is an electronic device, it is highly sensitive to temperature changes, and its detected value will change accordingly with the ambient temperature. The battery cell is a chemical device, which is less sensitive to temperature changes. The temperature of the battery cell will not change rapidly with the change of the ambient temperature. Therefore, the temperature information actually reflects the value of the actual temperature of the battery detected by the temperature sensor according to the change of the ambient temperature, rather than the value of the actual temperature of the battery cell, that is, there is a certain difference between the temperature information and the actual temperature of the battery cell. For example, when an electronic device moves quickly from an environment of -20°C to an environment of 10°C, the value detected by the temperature sensor changes synchronously with the environment, from -20°C to 10°C. However, due to the rapid change in temperature, the battery cell has not yet changed to the same temperature as the environment. In an environment of 10°C, the actual temperature of the battery cell is -10°C.

[0053] Among them, the temperature sensor can be an NTC temperature sensor, an ultrasonic temperature sensor, a laser temperature sensor, an infrared temperature sensor, etc. In order to cope with the situation where the temperature of the electronic device changes dramatically, the temperature sensor is usually in a normally open state, monitors the temperature change in real time, and the electronic device saves the values ​​detected by the temperature sensor one by one. Of course, in order to achieve the purpose of reducing power consumption, when the electronic device is in a scene where the ambient temperature is relatively stable, the temperature sensor can be turned on at intervals.

[0054] In step S102, the temperature is divided into multiple range intervals to form a temperature range set, which is pre-stored in the electronic device. For example, the temperature range set includes a total of 2 range intervals, namely a first range interval and a second range interval, wherein the first range interval is [-20°C, 0°C], and the second range interval is (0°C, 25°C]. The range of the range interval can be set according to the use scenario of the electronic device to cover more temperature conditions. For example, if the electronic device is often used in scenes with lower ambient temperatures in the north, the range of the first range interval can be increased and set to [-30°C, 0°C]; if the electronic device is often used in scenes with higher ambient temperatures in the south, the range of the second range interval can be increased and set to (0°C, 30°C]. In order to improve the accuracy of the adjustment of the charge and discharge strategy, the temperature can be divided into three or more range intervals, for example, [-20°C, -5°C] is divided into the first range interval, (-5°C, 15°C] is divided into the second range interval, and (15°C, 25°C] is divided into the third range interval.

[0055] The temperature information detected and acquired by the temperature sensor is compared with the pre-stored temperature range set to determine the range interval to which the temperature information belongs, and the time information when the range interval to which the temperature information belongs changes from the first range interval to the second range interval is determined. That is, the time information represents the time it takes for the temperature detected by the temperature sensor of the battery to change from the first range interval to the second range interval. For example, it takes 5s for the electronic device to move from a -20°C environment to a 10°C environment. The temperature information detected by the temperature sensor in the -20°C environment is -20°C, which belongs to the first range interval; at 2s during the movement of the electronic device, the temperature information detected by the temperature sensor is -10°C, which still belongs to the first range interval; at 5s during the process of the electronic device, the temperature information detected by the temperature sensor is 10°C, which belongs to the second range interval, that is, the time information is determined to be 5s. It can be understood that when the temperature is divided into three or more range intervals, the time information can also represent the time when the range interval to which the temperature information belongs changes from the first range interval to the third range interval, or the time when the range interval to which the temperature information belongs changes from the second range interval to the third range interval, etc.

[0056] In step S103, the time parameter set is a time set for changes in the range interval to which the temperature of the battery cell belongs. Since the battery cell is less sensitive to changes in ambient temperature, the time for the temperature of the battery cell to change from the range interval to another range interval is longer than the time for the temperature sensor to detect that the actual temperature of the battery changes from the same range interval to another same range interval. Therefore, by comparing the time information with the pre-stored time parameter set, it can be determined whether the actual temperature of the battery detected by the temperature sensor is different from the real temperature of the battery cell. If the time information is close to the time parameters in the pre-stored time parameter set, it means that the real temperature of the battery cell is close to the actual temperature of the battery detected by the temperature sensor, and the actual temperature of the battery currently detected by the temperature sensor can be used as the target temperature; if the time information is significantly different from the time parameters in the pre-stored time parameter set, it means that the real temperature of the battery cell has not yet reached the actual temperature of the battery detected by the temperature sensor, and there is a difference with the actual temperature of the battery detected by the temperature sensor, and the actual temperature of the battery currently detected by the temperature sensor cannot be used as the target temperature. In order to ensure that the performance of the battery is not affected, the actual temperature of the battery previously detected by the temperature sensor needs to be used as the target temperature.

[0057] It should be noted that the temperature currently detected by the temperature sensor refers to the temperature information detected in the range interval to which the battery temperature belongs after the ambient temperature changes, which may be the average value, the maximum value, or the minimum value of the temperature information detected in the range interval; the temperature previously detected by the temperature sensor refers to the temperature information detected in the range interval to which the battery temperature belongs before the ambient temperature changes, or the temperature information detected in the previous range interval of the range interval to which the battery temperature belongs after the ambient temperature changes, which may be the average value, the maximum value, or the minimum value of the temperature information detected in the range interval.

[0058] For example, it takes 5 seconds for an electronic device to move from an environment of -20℃ to an environment of 10℃. In the environment of -20℃, the temperature information detected by the temperature sensor is -20℃, which belongs to the first range interval; in the environment of 10℃, the temperature information detected by the temperature sensor is 10℃, which belongs to the second range interval. The time information is determined to be 5s, while the time parameter corresponding to the range interval change of the temperature information in the pre-stored time parameter set is 10s. The two are different. Therefore, the actual battery temperature detected by the temperature sensor in the environment of 10℃ cannot be used as the target temperature. The actual battery temperature detected by the temperature sensor in the environment of -20℃ is selected as the target information, that is, the target temperature is -20℃.

[0059] The performance information is used to characterize the cycle performance of the battery. The cycle performance of the battery is reflected in the speed of battery charging and discharging, the battery usage time, etc. Since the battery is charged or discharged based on the chemical reaction of the battery cell, when the temperature of the battery cell changes, the chemical activity will also change accordingly. When the temperature of the battery cell is close to room temperature, the chemical activity is high and the battery cycle performance is good; when the temperature of the battery cell is too low, the chemical activity is low and the battery cycle performance deteriorates; when the temperature of the battery cell is too high, the chemical reaction inside the battery cell is unstable, which will also deteriorate the battery cycle performance. In addition, as the battery undergoes repeated charging and discharging cycles with the use of electronic devices, the battery will gradually age during long-term use, and the battery cycle performance will deteriorate. For example, for a battery that has never been used, the battery can support the operation of an electronic device for 8 hours from 100% full charge to 0% empty state, while the battery ages as it is repeatedly used, and the battery can only support the operation of an electronic device for 5 hours from 100% full charge to 0% empty state. That is to say, the cycle performance of the battery will not only change in a curve due to the temperature of the battery during each charge and discharge process, but will also change in a curve due to the number of charge and discharge processes.

[0060] In order to improve the accuracy of the electronic device adjusting the electric energy parameters of the charging process or the discharging process according to the temperature of the battery, when determining the target temperature, it is necessary to consider not only the relationship between the time information and the pre-stored time parameter set, but also the relationship between the battery performance information and the pre-stored performance range set. The target temperature is further determined by comparing the battery performance information with the pre-stored performance range set. The performance range set refers to the set of performance information when the temperature of the battery cell belongs to different range intervals. If the battery performance information is close to the performance information of the range interval to which the actual battery temperature belongs, it means that the actual temperature of the battery cell is close to the actual battery temperature detected by the temperature sensor, and the actual battery temperature currently detected by the temperature sensor can be used as the target temperature; if the battery performance information is significantly different from the performance information of the range interval to which the actual battery temperature belongs, it means that the actual temperature of the battery cell has not yet reached the actual battery temperature detected by the temperature sensor, and there is a difference with the actual battery temperature detected by the temperature sensor. The actual battery temperature currently detected by the temperature sensor cannot be used as the target temperature, and the actual battery temperature previously detected by the temperature sensor needs to be used as the target temperature.

[0061] For example, when an electronic device moves from an environment of -20°C to an environment of 10°C, the temperature information of the battery changes from -20°C to 10°C, that is, from the first range interval to the second range interval. In the first range interval, the performance information of the battery is A, and in the second range interval, the performance information of the battery is B. Although the time information is the same as the time parameter corresponding to the range interval change of the temperature information in the pre-stored time parameter set, the performance information of the battery in the environment of 10°C is still A, which is different from the performance information of the battery in the second range interval, that is, the performance information of the battery is still consistent with the performance information before the change of the ambient temperature. Therefore, the temperature information detected by the temperature sensor in the environment of 10°C cannot be used as the target temperature, and the temperature information detected by the temperature sensor in the environment of -20°C can only be used as the target information, that is, the target temperature is -20°C.

[0062] In step S104, the electric energy parameters include the charging voltage, charging current, discharge current, discharge voltage, etc. of the battery. The charging process is explained in terms of the charging process. The battery charging process is divided into three stages: trickle charging, constant current charging, and constant voltage charging. The trickle charging stage is first used to pre-charge the fully discharged battery cells. When the battery voltage rises above the trickle charging threshold, the charging current is increased for constant current charging. When the battery voltage rises above the constant current charging threshold, the constant voltage charging stage begins, and the charging voltage value is kept fixed. At the same time, the charging current gradually decreases. When the current drops to the set value of the charging current, the battery charging ends. The electric energy parameters of each charging stage during the charging process will be affected by the temperature of the battery. The electronic device will adjust the electric energy parameters of the battery charging process or the discharging process based on the target temperature. Since the target temperature is consistent with or close to the actual temperature of the battery cell, overcharging of the battery can be avoided.

[0063] The correspondence between the electric energy parameters of the battery charging process or discharging process and the target temperature can be pre-stored in the electronic device as configuration information, so that after obtaining the target temperature, the electronic device can determine the electric energy parameters of the charging process or discharging process by looking up the configuration information. For example, the configuration information stores that the target temperature is [-20℃, 0℃], corresponding to a charging current of 500mA and a discharging current of 200mA, the target temperature is (0℃, 15℃], corresponding to a charging current of 1A and a discharging current of 400mA, and the target temperature is (15℃, 25℃], corresponding to a charging current of 2A and a discharging current of 500mA. When the target temperature is determined to be 10℃, the configuration information can be used to determine that the charging current in the battery's electric energy parameters is 1A and the discharging current is 400mA. In addition, the electric energy parameters corresponding to the target temperature can be obtained through the formula of temperature and electric energy parameters.

[0064] In the present disclosure, the electronic device comprehensively determines the target temperature through the relationship between time information and a set of time parameters, as well as the relationship between the performance information of the battery and a set of performance ranges, to ensure that even if the electronic device experiences drastic temperature changes, it can still determine the electrical energy parameters of the battery charging or discharging process based on the actual temperature of the battery cell, thereby avoiding low-temperature overcharging or abnormal shutdown caused by ignoring the difference between the detected actual battery temperature and the actual temperature of the battery cell, thereby ensuring the safe use of the battery and the normal use of the electronic device, and improving the user experience.

[0065] According to an exemplary embodiment, Figure 2 As shown, the battery charging and discharging control method in this embodiment includes:

[0066] S201, obtaining temperature information, where the temperature information is information obtained through detection and used to characterize the actual temperature of the battery;

[0067] S202, based on a pre-stored temperature range set, determining time information of a range interval to which the temperature information belongs changing from a first range interval to a second range interval;

[0068] S203: Determine, based on the interval span between the first range interval and the second range interval, a reference time parameter corresponding to the interval span in the time parameter set;

[0069] S204: Based on the second range interval, determine a reference performance range in the performance range set corresponding to the second range interval;

[0070] S205: Based on the relationship between the time information and the reference time parameter, and the performance information and the reference performance range, determine the temperature information belonging to the second range or the temperature information belonging to the first range as the target temperature;

[0071] S2051, determining whether the time information is greater than or equal to the reference time parameter, if the time information is greater than or equal to the reference time parameter, executing step S2052; if the time information is less than the reference time parameter, executing step S2054;

[0072] S2052, determining whether the performance information belongs to the reference performance range, if the performance information belongs to the reference performance range, executing step S2053; if the performance information does not belong to the reference performance range, executing step S2054;

[0073] S2053, determining temperature information belonging to the second range as the target temperature;

[0074] S2054, determining temperature information belonging to the first range as the target temperature;

[0075] S206: Determine the electric energy parameters of the battery charging process or the battery discharging process based on the target temperature.

[0076] Among them, steps S201, S202, and S206 are implemented in the same way as steps S101, S102, and S104 in the above embodiment, and will not be repeated here.

[0077] In step S203, the reference time parameter is used to characterize the reference value of the time taken for the battery cell temperature to change from the first range interval to the second range interval. The reference time parameter is data obtained through multiple tests of multiple batteries of the same capacity and type. The time parameter set is composed of multiple reference time parameters. The electronic device determines the reference time parameter corresponding to the interval span in the time parameter set based on the interval span between the first range interval and the second range interval. Since the range interval is a range value, that is, the temperature information may be the maximum value, minimum value, or intermediate value of the range interval, in order to reduce the difference between the real temperature of the battery cell and the actual temperature of the battery detected by the temperature sensor, for the same range span, different temperature information change values ​​correspond to different reference time parameters. For example, the first range interval is [-20℃, 0℃], the second range interval is (0℃, 25℃], and the range interval to which the temperature information belongs changes from the first range interval to the second range interval, wherein the reference time parameter corresponding to the temperature information changing from -10℃ to 5℃ is 8s, the reference time parameter corresponding to the temperature information changing from -10℃ to 10℃ is 10s, the reference time parameter corresponding to the temperature information changing from -10℃ to 20℃ is 15s, and so on.

[0078] In addition, in order to facilitate the determination of the reference time parameters corresponding to the interval span, the range interval can be divided more finely so that the reference time parameters corresponding to the same interval span are the same. For example, [-20℃, 25℃] is divided into 4 range intervals, of which the first range interval is [-20℃, -15℃], the second range interval is (-15℃, 0℃], the third range interval is (0℃, 15℃], and the fourth range interval is (15℃, 25℃]. The reference time parameters corresponding to all temperature information changing from the first range interval to the second range interval are 3s, the reference time parameters corresponding to all temperature information changing from the second range interval to the third range interval are 4s, and the reference time parameters corresponding to all temperature information changing from the third range interval to the fourth range interval are 4s.

[0079] In some embodiments, the method for determining the reference time parameter includes:

[0080] Select a plurality of first reference temperature values ​​from a first range interval, select a plurality of second reference temperature values ​​from a second range interval, and a first reference temperature value and a second reference temperature value form a test group.

[0081] For each test group, obtaining a first time taken for a battery cell temperature to change from a first reference temperature value to a second reference temperature value;

[0082] An average value is calculated for a plurality of first times as a reference time parameter.

[0083] For example, the first range interval is set to [-20°C, 0°C], the second range interval is set to (0°C, 25°C], -20, -10, and 0 are selected from the first range interval as three first reference temperature values, and 5, 15, and 25 are selected from the second range interval as three second reference temperature values, and -20 and 5, -10 and 15, and 0 and 25 are respectively formed into three test groups. The battery can be placed in an incubator specially used for testing, and the temperature of the incubator is first set to the first reference temperature value in each test group, and then the temperature of the incubator is set to the second reference temperature value in each test group to obtain the first time taken for the battery cell temperature to change from the first reference temperature value to the second reference temperature value. The first times obtained by the three test groups through testing are 15s, 12s, and 10s, respectively. The average of the three first times is 12.3s, that is, the reference time parameter is 12.3s.

[0084] In step S204, the performance information includes the internal resistance (DCR) of the battery. When the temperature decreases, the internal resistance of the battery will increase, so that the resistance to current flow generated by the battery during operation increases, and the aging of the battery is accelerated. That is, the internal resistance is an important factor affecting electronic performance and life. When determining the target temperature, the influence of the internal resistance is taken into consideration, and the real temperature of the battery cell can be accurately identified. The performance range set includes multiple reference performance ranges. In addition, the reference performance range can also be a numerical value. Since the reference performance range corresponds to the range interval one by one, it is possible to determine the reference performance range corresponding to the second range interval in the performance range set based on the second range interval. For example, the performance range set includes two reference performance ranges, a first reference performance range and a second reference performance range, which correspond to the first range interval and the second range interval respectively. The first reference performance range is [100mΩ, 120mΩ], and the second reference performance range is [80mΩ, 100mΩ). When the range area to which the temperature information belongs changes to the second range interval, it can be determined that the reference performance range is [80mΩ, 100mΩ).

[0085] In step S205, since the reference time parameter is an average value obtained through testing, determining the target temperature only by comparing the time information with the reference time parameter is not sufficient to ensure that the electronic device can accurately identify the actual temperature of the battery cell after the temperature changes. Therefore, it is also necessary to comprehensively judge the relationship between the performance information and the reference performance range to determine whether the actual temperature of the battery cell is consistent with the temperature information belonging to the second range interval.

[0086] In step S2051, the electronic device determines whether the time information is greater than or equal to the reference time parameter. If the time information is less than the reference time parameter, it means that the time for the range interval to which the temperature information belongs to change from the first range interval to the second range interval is insufficient to change the actual temperature of the battery cell to the second range interval. There is a difference between the temperature information belonging to the second range interval and the actual temperature of the battery cell. Therefore, step S2054 is executed to determine the temperature information belonging to the first range interval as the target temperature.

[0087] If the time information is greater than or equal to the reference time parameter, it means that the range interval to which the temperature information belongs changes from the first range interval to the second range interval, and the actual temperature of the battery cell may change to the second range interval. In order to improve the accuracy of the actual temperature judgment of the battery cell, step S2052 is executed to determine whether the performance information belongs to the reference performance range. If the performance information belongs to the reference performance range, it means that the actual temperature of the battery cell has changed to the second range interval, and then step S2053 is executed to determine the temperature information belonging to the second range interval as the target temperature. If the performance information does not belong to the reference performance range, it means that the actual temperature of the battery cell has not changed to the second range interval, and then step S2054 is executed to determine the temperature information belonging to the first range interval as the target temperature.

[0088] It should be noted that the temperature information belonging to the first range interval or the second range interval may be an endpoint value, a middle value, or an average value of the temperature information in the first range interval.

[0089] For example, the first range is [-20℃, 0℃], the second range is (0℃, 25℃], the reference performance range corresponding to the first range is [100mΩ, 120mΩ], the reference performance range corresponding to the second range is [80mΩ, 100mΩ), and the reference time parameter for the battery temperature to change from the first range to the second range is 8s. If the electronic device takes 10s to move from a -20℃ environment to a 10℃ environment, and the battery temperature information also changes from -20℃ to 10℃, that is, the time information is 10s, since the time information is greater than the reference time parameter, it can be determined that the actual temperature of the battery cell may change to the second range, so the relationship between the internal resistance of the battery and the reference performance range corresponding to the second range is further determined. When the electronic device moves to a 10℃ environment, the internal resistance of the battery is 80mΩ, which belongs to the reference performance range corresponding to the second range, that is, the actual temperature of the battery cell has changed to the second range, which is consistent with the temperature information belonging to the second range, so the temperature information belonging to the second range is used as the target temperature. Since the temperature information belonging to the second range includes (0℃, 10℃], 5℃ can be selected as the target temperature, and 10℃ can also be selected as the target temperature, etc. If the electronic device is moved to an environment of 10℃, the internal resistance of the battery is 110mΩ, which does not belong to the reference performance range corresponding to the second range, that is, the actual temperature of the battery cell has not changed to the second range, which is inconsistent with the temperature information belonging to the second range, so the temperature information belonging to the first range is used as the target temperature. Since the temperature information belonging to the first range includes [-20℃, 0℃], -10℃ can be selected as the target temperature, and -5℃ can also be selected as the target temperature, etc.

[0090] In the present disclosure, the electronic device comprehensively determines the target temperature of the battery based on temperature, time, and performance to ensure that the target temperature is consistent with the actual temperature of the battery cell. The battery charging and discharging strategy can be determined based on the actual temperature of the battery cell to ensure the normal use of the electronic device under drastic temperature changes, thereby improving the user experience and avoiding low-temperature overcharging. This ensures that the battery performance is not affected and increases the battery life.

[0091] The exemplary embodiment of the present disclosure provides a battery charge and discharge control device, which is applied to electronic equipment. Figure 3 As shown, a block diagram of a battery charging and discharging control device shown in the present disclosure.

[0092] The block diagram includes: an acquisition module 31 and a processing module 32. The acquisition module 31 is used to acquire temperature information, which is information obtained by detection and used to characterize the actual temperature of the battery; the processing module 32 is used to determine the time information when the range interval to which the temperature information belongs changes from the first range interval to the second range interval based on a pre-stored temperature range set, wherein the temperature range set includes multiple range intervals; the processing module 32 is also used to determine the target temperature based on the relationship between the time information and the pre-stored time parameter set, and the relationship between the battery's performance information and the pre-stored performance range set, wherein the performance information is used to characterize the battery's cycle performance; the processing module 32 is also used to determine the electric energy parameters of the battery charging process or discharging process based on the target temperature.

[0093] In an exemplary embodiment of the present disclosure, the processing module 32 is also used to: determine a reference time parameter in a time parameter set corresponding to the interval span based on an interval span between a first range interval and a second range interval, the reference time parameter being used to characterize a reference value of the time taken for the battery cell temperature to change from the first range interval to the second range interval; determine a reference performance range in a performance range set corresponding to the second range interval based on the second range interval, the performance range set including a plurality of reference performance ranges, and the reference performance ranges corresponding one to one to the range interval; determine the temperature information belonging to the second range interval or the temperature information belonging to the first range interval as the target temperature based on the relationship between the time information and the reference time parameter, as well as the performance information and the reference performance range.

[0094] In an exemplary embodiment of the present disclosure, the processing module 32 is further configured to: if the time information is greater than or equal to a reference time parameter and the performance information belongs to a reference performance range, determine the temperature information belonging to a second range interval as the target temperature.

[0095] In an exemplary embodiment of the present disclosure, the processing module 32 is further configured to: if the time information is greater than or equal to a reference time parameter and the performance information does not belong to a reference performance range, determine temperature information belonging to a first range interval as a target temperature.

[0096] In an exemplary embodiment of the present disclosure, the processing module 32 is further configured to: if the time information is less than a reference time parameter, determine the temperature information belonging to the first range interval as the target temperature.

[0097] In an exemplary embodiment of the present disclosure, the performance information includes the internal resistance of the battery.

[0098] In an exemplary embodiment of the present disclosure, the processing module 32 is also used to: select multiple first reference temperature values ​​from a first range interval, select multiple second reference temperature values ​​from a second range interval, a first reference temperature value and a second reference temperature value form a group of test groups, for each test group, obtain the first time it takes for the battery cell temperature to change from the first reference temperature value to the second reference temperature value; and calculate the average of the multiple first times as a reference time parameter.

[0099] Regarding the battery charge and discharge control 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.

[0100] Figure 4 4 is a block diagram of an electronic device 400 according to an exemplary embodiment. For example, the electronic device 400 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.

[0101] Reference Figure 4 , the electronic device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .

[0102] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0103] The memory 404 is configured to store various types of data to support operations on the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 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.

[0104] The power supply component 406 provides power to the various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 400.

[0105] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 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 408 includes a front camera and / or a rear camera. When the electronic device 400 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.

[0106] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

[0107] I / O interface 412 provides an interface between processing component 402 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.

[0108] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can detect the open / closed state of the electronic device 400, the relative positioning of components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0109] The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other devices. The electronic device 400 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 416 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 416 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.

[0110] In an exemplary embodiment, the electronic device 400 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 methods.

[0111] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of an electronic device 400 to complete the above-mentioned battery charge and discharge control 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.

[0112] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables a processing device of the electronic device to execute a battery charge and discharge control method provided by an exemplary embodiment of the present disclosure.

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

[0114] It should be understood that the present invention is not limited to the exact construction that has 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 invention is limited only by the appended claims.

Claims

1. A battery charging and discharging control method, characterized in that: include: Acquiring temperature information, where the temperature information is information obtained through detection and used to characterize the actual temperature of the battery; Based on a pre-stored temperature range set, determining time information when a range interval to which the temperature information belongs changes from a first range interval to a second range interval, wherein the temperature range set includes a plurality of range intervals; Determining a target temperature based on a relationship between the time information and a pre-stored set of time parameters, and a relationship between performance information of the battery and a pre-stored set of performance ranges, wherein the performance information is used to characterize the cycle performance of the battery; Based on the target temperature, an electrical energy parameter of the battery charging process or the battery discharging process is determined.

2. The battery charge and discharge control method according to claim 1, characterized in that: The determining the target temperature based on the relationship between the time information and a pre-stored time parameter set, and the relationship between the battery performance information and a pre-stored performance range set, includes: Based on the interval span between the first range interval and the second range interval, determine a reference time parameter corresponding to the interval span in the time parameter set, the reference time parameter being used to characterize a reference value of the time taken for the battery cell temperature of the battery to change from the first range interval to the second range interval; Based on the second range interval, determining a reference performance range in the performance range set corresponding to the second range interval, the performance range set comprising a plurality of reference performance ranges, the reference performance ranges corresponding one-to-one to the range intervals; Based on the relationship between the time information and the reference time parameter, and the performance information and the reference performance range, the temperature information belonging to the second range interval or the temperature information belonging to the first range interval is determined as the target temperature.

3. The battery charge and discharge control method according to claim 2, characterized in that: Based on the relationship between the time information and the reference time parameter, and the performance information and the reference performance range, determining the temperature information belonging to the second range interval as the target temperature includes: If the time information is greater than or equal to the reference time parameter, and the performance information belongs to the reference performance range, the temperature information belonging to the second range interval is determined as the target temperature.

4. The battery charge and discharge control method according to claim 2, characterized in that: Based on the relationship between the time information and the reference time parameter, and the performance information and the reference performance range, determining the temperature information belonging to the first range value interval as the target temperature includes: If the time information is greater than or equal to the reference time parameter, and the performance information does not belong to the reference performance range, the temperature information belonging to the first range interval is determined as the target temperature.

5. The battery charge and discharge control method according to claim 2, characterized in that: The battery charge and discharge control method further includes: If the time information is less than the reference time parameter, the temperature information belonging to the first range interval is determined as the target temperature.

6. The battery charge and discharge control method according to any one of claims 1 to 5, characterized in that: The performance information includes an internal resistance of the battery.

7. The battery charge and discharge control method according to any one of claims 2 to 5, characterized in that: The method for determining the reference time parameter includes: Select a plurality of first reference temperature values ​​from the first range interval, select a plurality of second reference temperature values ​​from the second range interval, and one first reference temperature value and one second reference temperature value form a test group. For each of the test groups, obtaining a first time taken for the battery cell temperature of the battery to change from a first reference temperature value to a second reference temperature value; An average of a plurality of the first times is calculated as the reference time parameter.

8. A battery charge and discharge control device, characterized in that: include: An acquisition module, used to acquire temperature information, wherein the temperature information is information obtained by detection and used to characterize the actual temperature of the battery; A processing module, configured to determine, based on a pre-stored temperature range set, time information when a range interval to which the temperature information belongs changes from a first range interval to a second range interval, wherein the temperature range set includes a plurality of range intervals; The processing module is further used to determine the target temperature based on the relationship between the time information and a pre-stored time parameter set, and the relationship between the performance information of the battery and a pre-stored performance range set, wherein the performance information is used to characterize the cycle performance of the battery; The processing module is further used to determine the electric energy parameters of the battery charging process or discharging process based on the target temperature.

9. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to execute executable instructions in the memory to implement the battery charge and discharge control method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having executable instructions stored thereon, characterized in that: When the executable instruction is executed by the processor, the battery charge and discharge control method according to any one of claims 1 to 7 is implemented.