Equipment charging method and device, electronic equipment and storage medium
By obtaining the battery aging parameters and temperature information of electronic devices, determining the target temperature and adjusting the charging current, the impact of battery aging and temperature changes on the charging process is solved, and the reliability and safety of charging are improved.
Patent Information
- Application Number
- CN202310211895.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-08-27
AI Technical Summary
The aging of electronic equipment batteries causes temperature changes during the charging process, which affects charging efficiency and safety. It is difficult to accurately adjust the charging current to cope with battery aging and temperature changes with existing technology.
By obtaining battery aging parameters and temperature information, the target temperature is determined, and the charging current is adjusted based on this to ensure the reliability and safety of the charging process.
It improves the reliability and safety of the charging process, ensures that the charging current matches the current status of the electronic device and battery, and improves the charging performance.
Smart Images

Figure CN118554561A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of device charging, and in particular to a device charging method, apparatus, electronic device and storage medium. Background Art
[0002] As the relationship between electronic devices and users becomes increasingly close, the time users spend using electronic devices is increasing rapidly. Since rechargeable batteries are consumable products, the increase in usage time and the number of charge and discharge cycles will lead to battery aging, which will affect the activity of the ions inside the battery. Changes in the activity of the ions inside the battery will cause changes in the battery temperature during the charging process, which will affect the charging process of electronic devices. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a device charging method, an apparatus, an electronic device and a storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a device charging method is provided, the method comprising:
[0005] Obtaining battery aging parameters of the electronic device;
[0006] Acquiring a first temperature of the electronic device, where the first temperature is determined based on temperature information detected by a temperature detection unit in the electronic device;
[0007] Determining a target temperature based on the battery aging parameter and the first temperature;
[0008] Based on the target temperature, a charging current of the electronic device is adjusted.
[0009] In some embodiments, obtaining the battery aging parameter of the electronic device includes:
[0010] Based on a preset collection cycle, recording the duration of a maximum current value among multiple current values that appear in the charging process of the electronic device during the preset collection cycle and the battery temperature at the end of the duration;
[0011] The battery aging parameter is acquired based on the duration and the battery temperature obtained in the preset acquisition cycle.
[0012] In some embodiments, the method further comprises:
[0013] After each preset collection period ends, the battery aging parameter is updated.
[0014] In some embodiments, obtaining the first temperature of the electronic device includes:
[0015] Acquire a second temperature detected by the temperature detection unit;
[0016] Acquire a preset distance between the temperature detection unit and a heating device in the electronic device, and a heating efficiency of the heating device;
[0017] The first temperature is determined based on a second temperature detected by the temperature detection unit, a distance between the temperature detection unit and the heat generating device, and a heat generating efficiency of the heat generating device.
[0018] In some embodiments, determining the first temperature based on the second temperature detected by the temperature detection unit, the distance between the temperature detection unit and the heating device, and the heating efficiency of the heating device includes:
[0019] Obtaining a heating influence parameter based on a preset distance between the temperature detection unit and the heating device and a heating efficiency of the heating device;
[0020] The first temperature is obtained based on the heat generation influencing parameter and the second temperature detected by the temperature detection unit.
[0021] In some embodiments, when there are multiple temperature detection units and multiple heating devices, obtaining the heating influence parameter based on a preset distance between the temperature detection unit and the heating device and the heating efficiency of the heating device includes:
[0022] For each of the temperature detection units, obtaining a preset distance between the temperature detection unit and each of the heating devices and a heating efficiency of each of the heating devices;
[0023] taking the quotient of the heating efficiency of each heating device and the preset distance between the temperature detection unit and each heating device as the independent influencing parameter of each heating device corresponding to the temperature detection unit;
[0024] The independent influence parameters of each of the heating devices corresponding to the temperature detection unit are summed to obtain the heating influence parameter, where the heating influence parameter is used to characterize the influence of the multiple heating devices corresponding to each of the temperature detection units on the heating.
[0025] In some embodiments, obtaining the first temperature based on the heating influencing parameter and the second temperature detected by the temperature detection unit includes:
[0026] taking the product of the second temperature detected by each of the temperature detection units and the heating influence parameter corresponding to each of the temperature detection units as the third temperature;
[0027] The first temperature is obtained by summing a plurality of the third temperatures.
[0028] In some embodiments, determining the target temperature based on the battery aging parameter and the first temperature includes:
[0029] The product of the battery aging parameter and the first temperature is used as the target temperature.
[0030] In some embodiments, determining the charging current of the electronic device based on the target temperature includes:
[0031] Acquiring pre-stored charging configuration information, where the charging configuration information is used to characterize a corresponding relationship between a temperature of the electronic device and a charging current;
[0032] Determining a target charging current based on the charging configuration information and the target temperature;
[0033] The battery is controlled to be charged with the target charging current.
[0034] According to a second aspect of an embodiment of the present disclosure, there is provided a device charging apparatus, which is configured in an electronic device, and the device charging apparatus includes:
[0035] An aging parameter acquisition module, configured to acquire an aging parameter of a battery of the electronic device;
[0036] A first temperature acquisition module is configured to acquire a first temperature of the electronic device, where the first temperature is determined based on temperature information detected by a temperature detection unit in the electronic device;
[0037] a target temperature determination module, configured to determine a target temperature based on the battery aging parameter and the first temperature;
[0038] The current regulating module is configured to regulate the charging current of the electronic device based on the target temperature.
[0039] In some embodiments, the aging parameter acquisition module is configured to:
[0040] Based on a preset collection cycle, recording the duration of a maximum current value among multiple current values that appear in the charging process of the electronic device during the preset collection cycle and the battery temperature at the end of the duration;
[0041] The battery aging parameter is acquired based on the duration and the battery temperature obtained in the preset acquisition cycle.
[0042] In some embodiments, the aging parameter acquisition module is further configured to:
[0043] After each preset collection period ends, the battery aging parameter is updated.
[0044] In some embodiments, the first temperature acquisition module is configured to:
[0045] Acquire a second temperature detected by the temperature detection unit;
[0046] Acquire a preset distance between the temperature detection unit and a heating device in the electronic device, and a heating efficiency of the heating device;
[0047] The first temperature is determined based on a second temperature detected by the temperature detection unit, a distance between the temperature detection unit and the heat generating device, and a heat generating efficiency of the heat generating device.
[0048] In some embodiments, the first temperature acquisition module is configured to:
[0049] Obtaining a heating influence parameter based on a preset distance between the temperature detection unit and the heating device and a heating efficiency of the heating device;
[0050] The first temperature is obtained based on the heat generation influencing parameter and the second temperature detected by the temperature detection unit.
[0051] In some embodiments, the first temperature acquisition module is configured as follows:
[0052] For each of the temperature detection units, obtaining a preset distance between the temperature detection unit and each of the heating devices and a heating efficiency of each of the heating devices;
[0053] taking the quotient of the heating efficiency of each heating device and the preset distance between the temperature detection unit and each heating device as the independent influencing parameter of each heating device corresponding to the temperature detection unit;
[0054] The independent influence parameters of each of the heating devices corresponding to the temperature detection unit are summed to obtain the heating influence parameter, where the heating influence parameter is used to characterize the influence of the multiple heating devices corresponding to each of the temperature detection units on the heating.
[0055] In some embodiments, the first temperature acquisition module is configured as follows:
[0056] taking the product of the second temperature detected by each of the temperature detection units and the heating influence parameter corresponding to each of the temperature detection units as the third temperature;
[0057] The first temperature is obtained by summing a plurality of the third temperatures.
[0058] In some embodiments, the target temperature determination module is configured to:
[0059] The product of the battery aging parameter and the first temperature is used as the target temperature.
[0060] In some embodiments, the current regulation module is configured as follows:
[0061] Acquiring pre-stored charging configuration information, where the charging configuration information is used to characterize a corresponding relationship between a temperature of the electronic device and a charging current;
[0062] Determining a target charging current based on the charging configuration information and the target temperature;
[0063] The battery is controlled to be charged with the target charging current.
[0064] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0065] processor;
[0066] a memory for storing processor-executable instructions;
[0067] The processor is configured to execute the method as described in the first aspect of the embodiment of the present disclosure.
[0068] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method described in the first aspect of the embodiment of the present disclosure.
[0069] The above method of the present disclosure has the following beneficial effects:
[0070] The method provided by the embodiment of the present disclosure obtains a battery aging parameter of the electronic device during the charging process of the electronic device, wherein the battery aging parameter indicates the degree of battery aging and the influence of the degree of battery aging on the battery temperature during the charging process, obtains a first temperature of the electronic device, wherein the first temperature is determined based on temperature information detected by a temperature detection unit in the electronic device, and is the detected temperature rise caused by charging, and then considers the influence of the degree of battery aging on the battery temperature, and determines a target temperature based on the battery aging parameter and the first temperature, that is, when determining the target temperature, comprehensively considers the influence of the degree of battery aging and the temperature rise of the electronic device detected during the charging process on the battery temperature during the charging process, so that the obtained target temperature can more accurately represent the actual temperature of the electronic device during charging than the first temperature, so that the charging current of the electronic device can be more accurately adjusted based on the target temperature, thereby improving the reliability and safety of the charging process.
[0071] 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
[0072] 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.
[0073] Figure 1 is a flow chart of a device charging method according to an exemplary embodiment;
[0074] Figure 2 is a flow chart showing a process for determining battery aging parameters according to an exemplary embodiment;
[0075] Figure 3 is a flow chart showing a first temperature determination process according to an exemplary embodiment;
[0076] Figure 4 is a flow chart showing another device charging method according to an exemplary embodiment;
[0077] Figure 5 is a device block diagram of a device charging apparatus according to an exemplary embodiment;
[0078] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0079] 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.
[0080] The device charging method provided in the embodiment of the present disclosure is performed by an electronic device, which may be a terminal device that can be charged, such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a wearable smart device, etc. The battery used in the electronic device may be a lithium-ion battery or other battery that can be used as an energy storage device.
[0081] The device charging method provided by the embodiment of the present disclosure can be applied in the electronic device charging scenario. When the electronic device is charged using a preset charging method, such as the preset charging method is that the electronic device is charged at a certain constant current when a certain temperature is reached, the device charging method provided by the embodiment of the present disclosure is used to determine the target temperature of the electronic device, and then determine the currently applicable charging current according to the target temperature, and then charge the battery based on the determined charging current.
[0082] The electronic device charging scenario in the embodiments of the present disclosure may be a wired charging scenario for the electronic device or a wireless charging scenario for the electronic device.
[0083] Figure 1 is a flow chart of a device charging method according to an exemplary embodiment, which is executed by an electronic device, see Figure 1 The method comprises the following steps S101-S104:
[0084] S101, obtaining battery aging parameters of an electronic device.
[0085] The battery aging parameter indicates the battery aging degree and the influence of the battery aging degree on the battery temperature during the charging process. The larger the battery aging parameter is, the greater the battery aging degree is, and the smaller the battery aging parameter is, the smaller the battery aging degree is. The greater the battery aging degree is, the faster the battery temperature rises during the charging process, and the smaller the battery aging degree is, the slower the battery temperature rises during the charging process.
[0086] S102, obtaining a first temperature of the electronic device, where the first temperature is determined based on temperature information detected by a temperature detection unit in the electronic device.
[0087] The temperature detection unit is used to detect the temperature of the heating device in the electronic device. The temperature detection unit in the electronic device may be one or more. For example, the temperature detection unit may be an NTC (Negative Temperature Cofficient), a thermistor, or other unit for detecting temperature. The temperature information detected by the temperature detection unit is the actual temperature detected by the temperature detection unit.
[0088] S103, determining a target temperature based on the battery aging parameter and the first temperature.
[0089] In the disclosed embodiment, as the battery gradually ages, the battery temperature will continue to rise during the charging process, and the first temperature is determined based on the temperature information detected by the temperature detection unit, and the first temperature reflects the temperature values at different positions according to the different settings of the temperature detection unit. Usually, the temperature detection unit is set near the electronic device accessories of the electronic device, such as chips, display screens, etc., so as to facilitate the acquisition of temperature information of these areas. That is to say, if the first temperature is directly used as an influencing factor during the current regulation process, the change of battery temperature is not taken into account. Therefore, the first temperature cannot accurately represent the actual temperature of the electronic device during the charging process, and thus cannot ensure that the charging current set during the charging process can meet the current actual state of the electronic device and the battery. Therefore, based on the battery aging parameters and the first temperature, the target temperature is determined, and the state of the battery and the state of the electronic device are fully considered. The target temperature is regarded as the actual temperature of the electronic device during the charging process, which can provide a more accurate reference for the subsequent adjustment of the charging current.
[0090] S104, adjusting the charging current of the electronic device based on the target temperature.
[0091] During the charging process, the charging current is adjusted based on the temperature of the electronic device. When the temperature of the electronic device reaches a certain temperature, the battery is controlled to charge with the charging current corresponding to the temperature. Since the target temperature can more accurately represent the actual temperature of the electronic device, the charging current adjusted based on the target temperature is more accurate, thereby achieving better charging performance.
[0092] The method provided by the embodiment of the present disclosure obtains a battery aging parameter of the electronic device during the charging process of the electronic device, wherein the battery aging parameter indicates the degree of battery aging and the influence of the degree of battery aging on the battery temperature during the charging process, obtains a first temperature of the electronic device, wherein the first temperature is determined based on temperature information detected by a temperature detection unit in the electronic device, and is the detected temperature rise caused by charging, and then considers the influence of the degree of battery aging on the battery temperature, and determines a target temperature based on the battery aging parameter and the first temperature, that is, when determining the target temperature, comprehensively considers the influence of the degree of battery aging and the temperature rise of the electronic device detected during the charging process on the battery temperature during the charging process, so that the obtained target temperature can more accurately represent the actual temperature of the electronic device during charging than the first temperature, so that the charging current of the electronic device can be more accurately adjusted based on the target temperature, thereby improving the reliability and safety of the charging process.
[0093] Figure 2 is a flowchart showing a battery aging parameter determination process according to an exemplary embodiment, which is executed by an electronic device, see Figure 2 The method comprises the following steps S201-S202:
[0094] Step S201 , based on a preset collection cycle, recording the duration of a maximum current value among a plurality of current values that appear during the charging process of the electronic device in the preset collection cycle and the battery temperature at the end of the duration.
[0095] The electronic device is charged once and discharged once as a preset collection cycle. When the electronic device is charged in a charging mode of constant current charging followed by constant voltage charging, there will be multiple charging currents during the charging process of each preset collection cycle. The duration of the electronic device charging with each charging current may be different, and the current value will gradually decrease as the charging time increases during one charging process.
[0096] For electronic devices, in the constant current charging stage, if you want to reach the preset voltage, the greater the battery aging and the greater the battery impedance, the shorter the time required to reach the preset voltage. The current value in the constant current stage is the maximum current value among the multiple current values that appear during the charging process. Therefore, the duration of the maximum current value can be recorded, and the duration can reflect the degree of battery aging. Among them, the preset voltage refers to the voltage that needs to be reached by constant current charging, and then in the constant voltage charging stage, the preset voltage is used as the constant voltage for charging.
[0097] For example, during the charging process of an electronic device, the relationship between the battery voltage, charging current, and battery impedance during charging is shown in the following equation:
[0098] U=∫I(t)R(t)dt
[0099] Among them, U refers to the battery voltage, I(t) refers to the charging current at time t, and R(t) refers to the battery impedance at time t.
[0100] It can be seen from the above formula that if R(t) increases, the time required for U to reach the preset voltage will also decrease.
[0101] The duration of the maximum current value can reflect the degree of battery aging, but it cannot determine the change in battery temperature during the charging process as the battery ages. Therefore, it is also necessary to record the battery temperature when the duration of the maximum current value ends.
[0102] Step S202: obtaining battery aging parameters based on the duration and battery temperature obtained in a preset acquisition cycle.
[0103] The battery aging parameter is related to the duration of the maximum current value and the battery temperature. Therefore, the battery aging parameter can indicate the battery aging degree and the influence of the battery aging degree on the battery temperature during the charging process.
[0104] In some embodiments, the electronic device stores a data relationship between the duration of the maximum current value, the battery temperature at the end of the duration, and the battery aging parameters. After obtaining the duration and battery temperature in the current preset acquisition cycle, the electronic device determines the battery aging parameters at this time based on the data relationship.
[0105] In some embodiments, the electronic device fits multiple durations and battery temperatures obtained in multiple preset acquisition cycles based on the duration and battery temperature obtained in the current preset acquisition cycle, and the duration and battery temperature obtained in at least one preset acquisition cycle before the current preset acquisition cycle, to obtain a battery aging parameter. For example, the duration of the maximum current value recorded in n preset acquisition cycles is (t1, t2....tn), and the battery temperature recorded in n preset acquisition cycles is (K1, K2....Kn). Polynomial fitting is performed on (t1, t2....tn) and (K1, K2....Kn) to obtain a battery aging parameter ρ(t, K).
[0106] In some embodiments, multiple durations and battery temperatures obtained in multiple preset acquisition cycles are fitted to obtain battery aging parameters, including: establishing a coordinate system, in which the horizontal axis is the battery temperature and the vertical axis is the duration, marking coordinate points corresponding to multiple preset acquisition cycles in the coordinate system, the coordinate points corresponding to each preset acquisition cycle include the duration and battery temperature obtained in the preset acquisition cycle, and then drawing a fitting curve according to the distribution of the multiple coordinate points, so as to determine the battery aging parameters according to the fitting curve.
[0107] In some embodiments, since the battery will further age after each preset collection cycle, that is, each time the battery is charged and discharged, the battery aging parameter is updated at the end of each preset collection cycle. By updating the battery aging parameter, it can be ensured that the battery aging parameter represents the current aging degree of the battery, making the battery aging parameter more real-time.
[0108] In the embodiment of the present disclosure, in order to determine the degree of battery aging and the change in battery temperature at different degrees of battery aging, during the charging process of the electronic device, by recording the duration of the maximum current value in a preset acquisition cycle and the battery temperature at the end of the duration, the battery aging parameters of the electronic device are determined based on the duration of the maximum current value and the battery temperature at the end of the duration, so that the battery aging parameters can indicate the degree of battery aging and the impact of the degree of battery aging on the battery temperature during the charging process.
[0109] In addition, for the representation of the degree of battery aging, in another embodiment, the electronic device can determine the battery aging rate. The process of determining the battery aging rate includes: based on a preset collection period, recording the duration of the maximum current value among multiple current values that appear during the charging process of the electronic device in the preset collection period; based on the duration of the maximum current value and the preset duration, determining the battery aging rate. Among them, the preset duration is the duration of the maximum current value when the battery is first charged.
[0110] In some embodiments, the battery aging rate is as follows:
[0111]
[0112] Wherein, tx represents the duration of the maximum current value in the preset acquisition cycle, and t1 represents the preset duration.
[0113] From the above formula, it can be determined that as the battery gradually ages, the preset voltage can be reached faster, and the charging time at the maximum current value will gradually decrease. That is, the greater the degree of battery aging, the smaller tx. Therefore, the smaller the battery aging rate, the greater the degree of battery aging.
[0114] In some embodiments, on the basis of using the target temperature for current regulation, the battery aging rate can also be used to assist in monitoring the battery status. For example, when the battery aging rate is greater than a preset value, it can be directly prompted that the battery is seriously aged and replacement is recommended. Alternatively, the battery aging parameters can be corrected and adjusted with reference to the battery aging rate.
[0115] Figure 3 is a flowchart showing a first temperature determination process according to an exemplary embodiment, which is executed by an electronic device, see Figure 3 The method comprises the following steps S301-S303:
[0116] S301, obtaining a second temperature detected by a temperature detection unit.
[0117] The second temperature is the temperature detected by the temperature detection unit.
[0118] When the electronic device includes a plurality of temperature detection units, the second temperature detected by each temperature detection unit is acquired respectively.
[0119] S302, obtaining a preset distance between the temperature detection unit and a heating device in the electronic device, and a heating efficiency of the heating device.
[0120] The preset distance and heating efficiency are values pre-stored in the electronic device. The preset distances between the temperature detection unit and different heating devices in the electronic device can be the same or different. The heating device can be a device that generates relatively serious heat in the electronic device, such as a charge pump, a PMIC (Power Management Integrated Circuit), a CPU (Central Processing Unit), etc.
[0121] S303 , determining the first temperature based on the second temperature detected by the temperature detection unit, the distance between the temperature detection unit and the heating device, and the heating efficiency of the heating device.
[0122] In the disclosed embodiment, since there is a certain distance between the temperature detection unit and the heating device, the temperature emitted by the heating device detected by the temperature detection unit will be affected by the distance. When the temperature of the heating device is transferred from the heating device to the temperature detection unit, a part of the heat will be lost on the path, that is, the temperature detected by the temperature detection unit is not the actual temperature emitted by the heating device. Therefore, based on the second temperature detected by the temperature detection unit, the distance between the temperature detection unit and the heating device, and the heating efficiency of the heating device, the first temperature is determined, and the first temperature is the temperature re-fitted taking into account the influence of the preset distance.
[0123] In some embodiments, a heating influence parameter is obtained based on a preset distance between the temperature detection unit and the heating device and the heating efficiency of the heating device; and a first temperature is obtained based on the heating influence parameter and a second temperature detected by the temperature detection unit. The heating influence parameter is used to characterize the influence of multiple heating devices corresponding to each temperature detection unit on heating.
[0124] In some embodiments, when there are multiple temperature detection units and multiple heating devices, for each temperature detection unit, the preset distance between the temperature detection unit and each heating device and the heating efficiency of each heating device are obtained; the quotient of the heating efficiency of each heating device and the preset distance between the temperature detection unit and each heating device is used as the independent influencing parameter of each heating device corresponding to the temperature detection unit. In other words, for each temperature detection unit and each heating device, the quotient of the heating efficiency of the heating device and the preset distance between the temperature detection unit and the heating device is used as the independent influencing parameter of the heating device corresponding to the temperature detection unit.
[0125] For example, there are n temperature detection units and m heating devices. For the kth temperature detection unit, the preset distances between the kth temperature detection unit and the m heating devices are d1, d2, ..., d m, the heating efficiencies of the m heating devices are α1, α2, ..., α m , the independent influencing parameters of the m heating devices corresponding to the kth temperature detection unit are Wherein, n, m, and k are integers greater than 1, and k is not greater than n.
[0126] Then, the independent influencing parameters of each heating device corresponding to the temperature detection unit are summed to obtain the heating influencing parameter, and the product of the second temperature detected by each temperature detection unit and the heating influencing parameter corresponding to each temperature detection unit is taken as the third temperature; and the first temperature is obtained by summing up multiple third temperatures. That is, the third temperature is the temperature corresponding to the temperature detection unit refitted by the temperature detection unit taking into account the influence of the preset distance. For multiple temperature detection units, the sum of the third temperatures corresponding to the multiple temperature detection units is taken as the first temperature.
[0127] For example, taking n temperature detection units and two heating devices, a charge pump and a PMIC, as an example, the first temperature refers to the following formula:
[0128]
[0129] Where, T represents the first temperature, T k represents the second temperature detected by the kth temperature detection unit, β represents the heating efficiency of the PMIC, d1 represents the preset distance between the PMIC and the kth temperature detection unit, α represents the heating efficiency of the charge pump, and d2 represents the preset distance between the charge pump and the kth temperature detection unit.
[0130] In the embodiment of the present disclosure, considering that the temperature emitted by the heating device detected by the temperature detection unit is affected by the distance between the temperature detection unit and the heating device, the temperature detected by the temperature detection unit is not the actual temperature emitted by the heating device. Therefore, based on the second temperature detected by the temperature detection unit, the distance between the temperature detection unit and the heating device, and the heating efficiency of the heating device, the first temperature is refitted, and the refitted first temperature can more accurately represent the temperature emitted by the heating device than the temperature directly detected by the temperature detection unit.
[0131] Figure 4 is a flow chart of a device charging method according to an exemplary embodiment, which is executed by an electronic device, see Figure 4 , the method comprises the following steps:
[0132] S401, obtaining battery aging parameters of the electronic device.
[0133] The implementation method for obtaining battery aging parameters is as described above. Figure 2 The embodiments shown will not be described in detail here.
[0134] S402: Acquire a first temperature of the electronic device.
[0135] The implementation method for obtaining the first temperature is shown in the above Figure 3 The embodiments shown will not be described in detail here.
[0136] S403: taking the product of the battery aging parameter and the first temperature as the target temperature.
[0137] During the charging process, the greater the degree of battery aging, the higher the battery temperature, and the greater the impact of the battery temperature on the temperature of the electronic device. Then, the greater the difference between the first temperature determined based on the temperature detected by the temperature detection unit and the actual temperature of the electronic device. Therefore, considering the impact of battery aging on temperature, the product of the battery aging parameter and the first temperature is used as the target temperature, and the target temperature can more accurately represent the temperature of the electronic device.
[0138] For example, the target temperature is as follows:
[0139] T 拟合 =Tρ(t,K)
[0140] Among them, T 拟合 represents the target temperature, T represents the first temperature, and ρ(t, K) represents the battery aging parameter.
[0141] S404: Determine a target charging current based on the charging configuration information and the target temperature.
[0142] S405, controlling the battery to charge with a target charging current.
[0143] The charging configuration information is pre-set and is used to characterize the corresponding relationship between the temperature of the electronic device and the charging current. After the target temperature is determined, the target charging current corresponding to the electronic device at the target temperature can be determined according to the charging configuration information and the target temperature, and then the battery is controlled to charge at the target charging current.
[0144] For example, the charging configuration information is shown in the following table:
[0145] Table 1
[0146] Trigger temperature 30℃ 35℃ 38℃ 42℃ Current 8A 6A 5A 3A
[0147] According to the above Table 1, when the temperature reaches 30°C, the charging current is adjusted to 8A, and when the temperature reaches 35°C, the charging current is adjusted to 6A.
[0148] In the disclosed embodiment, since the determined target temperature can more accurately represent the temperature of the electronic device, the determined target charging current is also more suitable for the current situation of the electronic device, thereby achieving better charging performance.
[0149] Figure 5 is a device block diagram of a device charging device according to an exemplary embodiment, see Figure 5 , the device comprises:
[0150] An aging parameter acquisition module 501 is configured to acquire an aging parameter of a battery of an electronic device;
[0151] A first temperature acquisition module 502 is configured to acquire a first temperature of the electronic device, where the first temperature is determined based on temperature information detected by a temperature detection unit in the electronic device;
[0152] The target temperature determination module 503 is configured to determine the target temperature based on the battery aging parameter and the first temperature;
[0153] The current regulating module 504 is configured to regulate the charging current of the electronic device based on the target temperature.
[0154] The device provided by the embodiment of the present disclosure obtains a battery aging parameter of the electronic device during the charging process of the electronic device, where the battery aging parameter indicates the influence of the battery aging degree on the battery temperature during the charging process, obtains a first temperature of the electronic device, where the first temperature is determined based on temperature information detected by a temperature detection unit in the electronic device, and is the detected temperature rise caused by charging, and then considers the influence of the battery aging degree on the battery temperature, and determines a target temperature based on the battery aging parameter and the first temperature, that is, when determining the target temperature, comprehensively considers the influence of the battery aging degree and the temperature rise of the electronic device detected during the charging process on the battery temperature during the charging process, so that the obtained target temperature can more accurately represent the actual temperature of the electronic device during charging than the first temperature, so that the charging current of the electronic device can be more accurately adjusted based on the target temperature, thereby improving the reliability and safety of the charging process.
[0155] In some embodiments, the aging parameter acquisition module 501 is configured to:
[0156] Based on a preset collection cycle, record the duration of the maximum current value among multiple current values that appear in each charging process of the electronic device in the preset collection cycle and the battery temperature at the end of the duration;
[0157] The battery aging parameters are obtained based on the duration and battery temperature obtained in the preset acquisition cycle.
[0158] In some embodiments, the aging parameter acquisition module 501 is further configured to:
[0159] At the end of each preset collection cycle, the battery aging parameters are updated.
[0160] In some embodiments, the first temperature acquisition module 502 is configured to:
[0161] Acquire a second temperature detected by the temperature detection unit;
[0162] Acquire a preset distance between the temperature detection unit and a heating device in the electronic device, and a heating efficiency of the heating device;
[0163] The first temperature is determined based on the second temperature detected by the temperature detection unit, the distance between the temperature detection unit and the heat generating device, and the heat generating efficiency of the heat generating device.
[0164] In some embodiments, the first temperature acquisition module 502 is configured to:
[0165] Obtaining a heating influence parameter based on a preset distance between the temperature detection unit and the heating device and a heating efficiency of the heating device;
[0166] The first temperature is obtained based on the heat generation influencing parameter and the second temperature detected by the temperature detection unit.
[0167] In some embodiments, the first temperature acquisition module 502 is configured to:
[0168] For each temperature detection unit, obtaining a preset distance between the temperature detection unit and each heating device and a heating efficiency of each heating device;
[0169] The quotient of the heating efficiency of each heating device and the preset distance between the temperature detection unit and each heating device is used as an independent influencing parameter of each heating device corresponding to the temperature detection unit;
[0170] The independent influence parameters of each heating device corresponding to the temperature detection unit are summed to obtain a heating influence parameter, where the heating influence parameter is used to characterize the influence of multiple heating devices corresponding to each temperature detection unit on heating.
[0171] In some embodiments, the first temperature acquisition module 502 is configured to:
[0172] taking the product of the second temperature detected by each temperature detection unit and the heating influence parameter corresponding to each temperature detection unit as the third temperature;
[0173] The plurality of third temperatures are summed to obtain the first temperature.
[0174] In some embodiments, the target temperature determination module 503 is configured to:
[0175] The product of the battery aging parameter and the first temperature is used as the target temperature.
[0176] In some embodiments, the current regulation module 504 is configured to:
[0177] Acquire pre-stored charging configuration information, where the charging configuration information is used to characterize the corresponding relationship between the temperature of the electronic device and the charging current;
[0178] Determining a target charging current based on the charging configuration information and the target temperature;
[0179] Control the battery to charge at the target charging current.
[0180] 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.
[0181] An embodiment of the present disclosure further provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the device charging method in the above embodiment.
[0182] Figure 6 is a block diagram of an electronic device 600 according to an exemplary embodiment.
[0183] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0184] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0185] The memory 604 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 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.
[0186] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 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 600.
[0187] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 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 608 includes a front camera and / or a rear camera. When the electronic device 600 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.
[0188] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 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 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0189] I / O interface 612 provides an interface between processing component 602 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.
[0190] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of the components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 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 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0191] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 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 616 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 616 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.
[0192] In an exemplary embodiment, the electronic device 600 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.
[0193] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0194] The embodiments of the present disclosure also provide a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the device charging method in the above embodiments.
[0195] 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.
[0196] 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 device charging method, characterized in that: Applied to electronic equipment, the method comprises: Obtaining battery aging parameters of the electronic device; Acquiring a first temperature of the electronic device, where the first temperature is determined based on temperature information detected by a temperature detection unit in the electronic device; Determining a target temperature based on the battery aging parameter and the first temperature; Based on the target temperature, a charging current of the electronic device is adjusted.
2. The device charging method according to claim 1, characterized in that: The obtaining of the battery aging parameter of the electronic device includes: Based on a preset collection cycle, recording the duration of a maximum current value among multiple current values that appear in the charging process of the electronic device during the preset collection cycle and the battery temperature at the end of the duration; The battery aging parameter is acquired based on the duration and the battery temperature obtained in the preset acquisition cycle.
3. The device charging method according to claim 2, characterized in that: The method further comprises: After each preset collection period ends, the battery aging parameter is updated.
4. The device charging method according to claim 1, characterized in that: The obtaining a first temperature of the electronic device includes: Acquire a second temperature detected by the temperature detection unit; Acquire a preset distance between the temperature detection unit and a heating device in the electronic device, and a heating efficiency of the heating device; The first temperature is determined based on a second temperature detected by the temperature detection unit, a distance between the temperature detection unit and the heat generating device, and a heat generating efficiency of the heat generating device.
5. The device charging method according to claim 4, characterized in that: The determining the first temperature based on the second temperature detected by the temperature detection unit, the distance between the temperature detection unit and the heating device, and the heating efficiency of the heating device includes: Obtaining a heating influence parameter based on a preset distance between the temperature detection unit and the heating device and a heating efficiency of the heating device; The first temperature is obtained based on the heat generation influencing parameter and the second temperature detected by the temperature detection unit.
6. The device charging method according to claim 5, characterized in that: When there are multiple temperature detection units and multiple heating devices, obtaining the heating influence parameter based on a preset distance between the temperature detection unit and the heating device and the heating efficiency of the heating device includes: For each of the temperature detection units, obtaining a preset distance between the temperature detection unit and each of the heating devices and a heating efficiency of each of the heating devices; taking the quotient of the heating efficiency of each heating device and the preset distance between the temperature detection unit and each heating device as the independent influencing parameter of each heating device corresponding to the temperature detection unit; The independent influence parameters of each of the heating components corresponding to the temperature detection unit are summed to obtain the heating influence parameter, where the heating influence parameter is used to characterize the influence of the multiple heating components corresponding to each of the temperature detection units on the heating.
7. The device charging method according to claim 6, characterized in that: The obtaining the first temperature based on the heating influencing parameter and the second temperature detected by the temperature detection unit includes: taking the product of the second temperature detected by each of the temperature detection units and the heating influence parameter corresponding to each of the temperature detection units as the third temperature; The first temperature is obtained by summing a plurality of the third temperatures.
8. The device charging method according to claim 1, characterized in that: The determining the target temperature based on the battery aging parameter and the first temperature includes: The product of the battery aging parameter and the first temperature is used as the target temperature.
9. The device charging method according to claim 1, characterized in that: The step of determining a charging current of the electronic device based on the target temperature includes: Acquiring pre-stored charging configuration information, where the charging configuration information is used to characterize a corresponding relationship between a temperature of the electronic device and a charging current; Determining a target charging current based on the charging configuration information and the target temperature; The battery is controlled to be charged with the target charging current.
10. A device charging apparatus, characterized in that: Configured in an electronic device, the device charging device comprises: An aging parameter acquisition module, configured to acquire an aging parameter of a battery of the electronic device; A first temperature acquisition module is configured to acquire a first temperature of the electronic device, where the first temperature is determined based on temperature information detected by a temperature detection unit in the electronic device; a target temperature determination module, configured to determine a target temperature based on the battery aging parameter and the first temperature; The current regulating module is configured to regulate the charging current of the electronic device based on the target temperature.
11. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the device charging method according to any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the device charging method according to any one of claims 1 to 9.
