Charging control method, device, equipment and readable storage medium

By detecting application type and temperature information and dynamically adjusting the charging current, the problem of temperature rise in electronic devices during charging is solved, and the charging efficiency and user experience are improved.

CN113131543BActive Publication Date: 2025-05-23GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911410365.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-31
Publication Date
2025-05-23
Estimated Expiration
2040-11-06

AI Technical Summary

Technical Problem

The problem of temperature rise in electronic devices during charging, especially when running applications with high power consumption, affects charging efficiency and user experience.

Method used

By detecting the application type and temperature information currently running in the device to be charged, the charging current is dynamically adjusted to determine the target charging current value and adjust the battery's charging current to the target value.

Benefits of technology

It effectively controls the temperature rise of electronic devices during charging, improves charging efficiency, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113131543B_ABST
    Figure CN113131543B_ABST
Patent Text Reader

Abstract

The present disclosure provides a charging control method, device, equipment and readable storage medium. The method is applied to a device to be charged, including: detecting the type of application currently running in the device to be charged, and determining the application level corresponding to the type of application; based on the application level, determining a first charging current corresponding to the application level; obtaining the temperature information of the first charging current and the charging device to determine the second charging current corresponding to the temperature information; based on the second charging current, determining the target charging current value of the device to be charged; and adjusting the charging current of the battery in the device to be charged to the target charging current value. During the charging process of the electronic device, the method combines the application level with the current temperature information of the device to be charged to determine the charging current of the device to be charged, which can effectively control the temperature rise problem of the device to be charged during the charging process.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Electronic devices (such as smart phones, tablets and other smart devices) are becoming more and more popular among consumers, but these electronic devices consume a lot of power and need to be charged frequently. It usually takes several hours to charge these devices using low-power ordinary charging solutions. In order to meet this challenge, the industry has successively proposed a variety of high-power fast charging solutions based on ordinary charging, including fast charging solutions based on high voltage and fast charging solutions based on high current.

[0003] However, whether it is a fast charging solution based on high voltage or high current, the temperature of the electronic device will inevitably rise rapidly due to the high power of the electric energy provided during charging, especially when running high-power applications in the electronic device at the same time, the temperature rise of the electronic device is particularly significant, which is not conducive to improving the charging efficiency and also leads to poor user experience. In addition, the temperature of the electronic device during charging may exceed the relevant standards (such as national standards, enterprise standards, etc.).

[0004] How to provide an intelligent charging control method for electronic devices based on the application scenarios of the electronic devices during the charging process has become an urgent problem to be solved.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a charging control method, device, equipment and readable storage medium, which can effectively control the temperature rise problem of electronic equipment during the charging process.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to one aspect of the present disclosure, there is provided a charging control method, which is applied to a device to be charged, and includes: detecting the type of application currently running in the device to be charged, and determining an application level corresponding to the type; based on the application level, determining a first charging current corresponding to the application level; acquiring temperature information of the device to be charged, and determining a second charging current corresponding to the temperature information; based on the first charging current and the second charging current, determining a target charging current value of the device to be charged; and adjusting the charging current of a battery in the device to be charged to the target charging current value.

[0009] According to another aspect of the present disclosure, there is provided a charging control device, which is applied to a device to be charged, and includes: an application level detection module, used to detect the type of application currently running in the device to be charged, and determine the application level of the type of application; a first current determination module, used to determine a first charging current corresponding to the application level based on the application level; a second current determination module, used to obtain temperature information of the device to be charged, and determine a second charging current corresponding to the temperature information; a charging current determination module, used to determine a target charging current value of the device to be charged based on the first charging current and the second charging current; and a charging current adjustment module, used to adjust the charging current of the battery in the device to be charged to the target charging current value.

[0010] According to one aspect of the present disclosure, an electronic device is provided, comprising: a memory, a processor, and executable instructions stored in the memory and executable in the processor, wherein the processor implements any one of the above methods when executing the executable instructions.

[0011] According to one aspect of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, and when the executable instructions are executed by a processor, any one of the above methods is implemented.

[0012] The charging control method provided by the embodiment of the present disclosure, when determining the target charging current value during the charging process, refers to the charging current to be adjusted determined by both the first charging current corresponding to the currently running application and the second charging current corresponding to the current temperature of the device to be charged, while taking into account the application scenario, temperature rise and charging speed. It can effectively control the temperature rise while ensuring the charging speed, thereby improving the charging efficiency and enhancing the user experience.

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

[0014] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0015] Figure 1 A flow chart of a charging control method in an embodiment of the present disclosure is exemplarily shown.

[0016] Figure 2A flow chart of another charging control method in an embodiment of the present disclosure is exemplarily shown.

[0017] Figure 3A The state machine corresponding to the first temperature correspondence in the embodiment of the present disclosure is exemplarily shown.

[0018] Figure 3B The state machine corresponding to the second temperature correspondence in the embodiment of the present disclosure is exemplarily shown.

[0019] Figure 4 A flow chart of another charging control method in an embodiment of the present disclosure is exemplarily shown.

[0020] Figure 5 A flow chart of another charging control method in an embodiment of the present disclosure is exemplarily shown.

[0021] Figure 6 A flow chart of another charging control method in an embodiment of the present disclosure is exemplarily shown.

[0022] Figure 7 A block diagram of a charging control device in an embodiment of the present disclosure is exemplarily shown.

[0023] Figure 8 A block diagram of an electronic device in an embodiment of the present disclosure is exemplarily shown.

[0024] Fig. 9 A schematic diagram exemplarily shows a computer-readable storage medium in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0026] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0027] Hereinafter, each step of the charging method provided by the exemplary embodiment of the present disclosure will be described in more detail with reference to the accompanying drawings and embodiments.

[0028] Figure 1 The flowchart of a charging control method in the embodiment of the present disclosure is exemplarily shown. The method provided in the embodiment of the present disclosure can be applied to any device to be charged.

[0029] The device to be charged may be, for example, a terminal or electronic device, including but not limited to a device configured to receive / send communication signals via a wired line connection, such as via a public switched telephone network (PSTN), a digital subscriber line (DSL), a digital cable, a direct cable connection, and / or another data connection / network and / or via, for example, a cellular network, a wireless local area network (WLAN), a digital television network such as a digital video broadcasting handheld (DVB-H) network, a satellite network, an amplitude modulation-frequency modulation (AM-FM) broadcast transmitter, and / or a wireless interface of another terminal. A communication terminal configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" and / or "mobile terminal". Examples of terminals include, but are not limited to, satellite or cellular telephones; personal communication system (PCS) terminals that can combine cellular radio telephones with data processing, fax and data communication capabilities; personal digital assistants (PDAs) that can include radio telephones, pagers, Internet / intranet access, web browsers, notepads, calendars and / or global positioning system (GPS) receivers; and conventional laptop and / or handheld receivers or other electronic devices including radio telephone transceivers. In addition, the terminal may also include, but is not limited to, rechargeable electronic devices with charging functions such as e-book readers, smart wearable devices, mobile power supplies (such as power banks, travel chargers), electronic cigarettes, wireless mice, wireless keyboards, wireless headphones, Bluetooth speakers, etc.

[0030] refer to Figure 1 , the charging control method 10 comprises:

[0031] In step S102, the type of application currently running in the device to be charged is detected, and the application level corresponding to the application of this type is determined.

[0032] If other applications are running while the device is charging, the temperature of the device will be affected. However, different types of applications will cause different degrees of temperature rise. For example, the temperature rise of applications such as calls and videos is lower than that of large-scale online game applications.

[0033] The various types of applications that may be run in the device to be charged can be divided into different levels according to their power consumption (or the degree to which the temperature of the device to be charged rises). Each level of application corresponds to a different charging current. As mentioned above, for example, applications such as large-scale online games can be classified into one level, such as the first level; and applications such as call and video can be classified into one level, such as the second level. Among them, the power consumption of the first-level application is higher than that of the second-level application, and the charging current corresponding to the first-level application is lower than the charging current value corresponding to the second-level application. The above-mentioned classification of the levels of different types of applications is only an example, not a limitation of the present disclosure. In actual application, the preset application level can be configured according to actual needs. Controlling the temperature rise according to the application level can enable the device to be charged to adaptively control the temperature of the electronic device when running different applications while charging, so as to avoid the problem of heating of the device to be charged due to the temperature rise, and the danger caused by overheating of the device to be charged.

[0034] Without loss of generality, taking the Android operating system as an example, when charging starts or during charging, the upper layer of the Android operating system (such as the application layer or the application framework layer) can detect the type of application currently running in the device to be charged, and search for the application level corresponding to the type of application in the pre-stored correspondence between the application type and the application level.

[0035] In addition, the user may switch between different application types during the charging process, and the above detection of the application type may be performed periodically.

[0036] In step S104 , based on the application level, a first charging current corresponding to the application level is determined.

[0037] As described above, different charging currents may be preset for different application levels. For example, the charging current corresponding to the first level application is set to 4A, and the charging current corresponding to the second level application is set to 5A. It should be noted that these charging current values ​​are only examples and do not limit the present disclosure.

[0038] For example, the charging current values ​​corresponding to the application levels may be pre-stored, and after determining the application level to which the currently running application belongs, the corresponding first charging current may be queried.

[0039] In step S106, the temperature information of the device to be charged is obtained, and a second charging current corresponding to the temperature information is determined.

[0040] The temperature information of the device to be charged may be, for example, the detected temperature of the battery, or the detected temperature of the shell of the device to be charged (such as the temperature of the back shell, or the highest temperature of different preset parts of the back shell), etc., but the present disclosure is not limited thereto. In addition, the temperature information includes the initial temperature and the current temperature detected in real time during the charging process.

[0041] As mentioned above, the magnitude of the charging current will directly affect the temperature of the device to be charged. Based on the current temperature of the device to be charged, the magnitude of the charging current corresponding to the temperature is determined, which can effectively control the temperature rise of the device to be charged.

[0042] In step S108 , a target charging current value of the device to be charged is determined based on the first charging current and the second charging current.

[0043] A target charging current value of the device to be charged is determined by simultaneously considering a first charging current corresponding to a currently running application and a second charging current corresponding to a current temperature of the device to be charged.

[0044] For example, the minimum value between the first charging current and the second charging current may be selected as the target charging current value.

[0045] In step S110, the charging current of the battery in the device to be charged is adjusted to a target charging current value.

[0046] The charging control method provided by the embodiment of the present disclosure, during the charging process, refers to the target charging current value determined by a first charging current corresponding to the currently running application and a second charging current corresponding to the current temperature of the device to be charged, while taking into account the application scenario, temperature rise and charging speed. It can effectively control the temperature rise while ensuring the charging speed, thereby improving the charging efficiency and enhancing the user experience.

[0047] Figure 2 The flowchart of another charging control method in the embodiment of the present disclosure is exemplarily shown. Figure 1 The difference of the charging control method 10 shown is that Figure 2 The method shown further provides an embodiment of how to obtain the temperature information of the device to be charged and determine the second charging current corresponding to the temperature information, that is, Figure 2The method shown is Figure 1 A further extension of step S106.

[0048] refer to Figure 2 , step S106 includes:

[0049] In step S1062 , the initial temperature of the battery and the current temperature of the battery are respectively acquired.

[0050] The current temperature of the battery may be detected, for example, by a periodically started thread, thereby adjusting the charging current based on the real-time measured battery temperature.

[0051] In step S1064 , the initial temperature of the battery is compared with a preset temperature threshold.

[0052] Taking the temperature of a battery as an example, the temperature information may firstly be compared with a preset temperature threshold.

[0053] In step S1066, a second charging current corresponding to the current temperature of the battery is determined according to the comparison result.

[0054] First, the initial battery temperature is compared with a preset temperature threshold, and different second charging currents are determined according to the comparison result, that is, when the initial battery temperature is higher than the temperature threshold, a second charging current is determined; and when the initial battery temperature is lower than the temperature threshold, another different second charging current is determined. Such a setting can better achieve a balance between re-reading speed and temperature rise.

[0055] In some embodiments, step S1066 may further include:

[0056] S1: When the initial battery temperature is lower than the temperature threshold, the second charging current is determined based on a preset first temperature-current correspondence relationship.

[0057] The first temperature correspondence relationship may be pre-stored in the device to be charged, and is used to record the relationship between the battery temperature and the second charging current when the initial battery temperature is lower than the temperature threshold.

[0058] For example, the temperature threshold may be 32.5 degrees. When the battery temperature rises to 43 degrees, the charging current is reduced to 5A; when the battery temperature rises to 43.5 degrees, the charging current is reduced to 4A; when the battery temperature rises to 44 degrees, the charging current is reduced to 3A; when the battery temperature drops back to 42.5 degrees, the charging current is increased to 4A; when the battery temperature drops back to 42 degrees, the charging current is increased to 5A.

[0059] In some embodiments, the first temperature correspondence may also be implemented as a state machine. Figure 3AThe state machine corresponding to the first temperature correspondence in the embodiment of the present disclosure is exemplarily shown. Figure 3A As shown, when the initial battery temperature is less than the battery threshold, the second charging current corresponding to the initial state st1_int is 6.5A, the second charging current corresponding to the first high temperature state st1_1 is 5A, the second charging current corresponding to the second high temperature state st1_2 is 4A, and the second charging current corresponding to the third high temperature state st1_3 is 3A.

[0060] S2: When the initial battery temperature is higher than the temperature threshold, the second charging current value is determined based on a preset second temperature-current correspondence relationship.

[0061] The second temperature correspondence relationship may be pre-stored in the device to be charged, and is used to record the relationship between the battery temperature and the second charging current when the initial battery temperature is higher than the temperature threshold.

[0062] For example, when the battery temperature rises to 38 degrees, the charging current is reduced to 6A; when the battery temperature rises to 39.5 degrees, the charging current is reduced to 5A; when the battery temperature rises to 41.5 degrees, the charging current is reduced to 4A; when the battery temperature rises to 42 degrees, the charging current is reduced to 3A; when the battery temperature drops back to 40.5 degrees, the charging current returns to 4A; when the battery temperature drops back to 38.5 degrees, the charging current returns to 5A.

[0063] In some embodiments, the second temperature correspondence may also be implemented as a state machine. Figure 3B The state machine corresponding to the second temperature correspondence in the embodiment of the present disclosure is exemplarily shown. Figure 3B As shown, when the initial battery temperature is greater than the battery threshold, the second charging current corresponding to the initial state st2_int is 7.5A, the second charging current corresponding to the first high temperature state st2_1 is 6A, the second charging current corresponding to the second high temperature state st2_2 is 5A, the second charging current corresponding to the third high temperature state st2_3 is 4A, and the second charging current corresponding to the fourth high temperature state st2_4 is 3A.

[0064] It should be noted that when the initial battery temperature is equal to the temperature threshold, the first temperature correspondence may be executed, or the second temperature correspondence may be executed. In practical applications, whether to execute the first temperature correspondence or the second temperature correspondence may be set according to actual needs.

[0065] In addition, the above parameter values ​​are only for illustration and are not intended to limit the present disclosure.

[0066] The charging control method provided in the embodiment of the present disclosure further designs a mechanism for dynamically adjusting the battery charging current based on temperature. When the battery temperature rises, the charging current value is reduced accordingly; and the reduction of the charging current will cause the battery temperature to drop. When the battery temperature drops back, the charging current value is increased accordingly. In addition, anti-shake measures are added to the mechanism. For example, as mentioned above, an anti-shake temperature of 1.5 degrees is set when designing the temperature.

[0067] In addition, through testing, it was found that the time required to fully charge the battery of the device to be charged based on this method was reduced, but it was only reduced by a few minutes compared to the charging time without the above intelligent control (about 30 minutes). Therefore, this method takes into account both the charging speed and the temperature rise of the device to be charged.

[0068] Figure 4 The flowchart of another charging control method in the embodiment of the present disclosure is exemplarily shown. Figure 1 The difference of the charging control method 10 shown is that in order to avoid the problem that the charging current value determined this time is higher than the charging current value determined last time when the battery voltage is high, Figure 4 The charging control method 20 shown in the figure further includes, before step S110:

[0069] In step S202, the voltage of the battery is detected.

[0070] For example, the current voltage of the battery can be detected by a detection module in the device to be charged.

[0071] In step S204, when the battery voltage is higher than the preset voltage threshold, the previously determined and adjusted charging current value is obtained, and the minimum value between the previously determined and adjusted charging current value and the determined target charging current value is selected as the current target charging current value.

[0072] By using this method, the charging current value to be adjusted is finally set to the smaller value between the charging current value determined last time and the charging current value to be adjusted determined this time. This can avoid the above-mentioned problem that when the battery voltage is high, the charging current value determined this time is higher than the charging current determined last time.

[0073] Figure 5 The flowchart of another charging control method in the embodiment of the present disclosure is exemplarily shown. Different from the above charging control methods, Figure 5 The charging control method shown further provides an embodiment of how to adjust the charging current of the battery in the device to be charged to the target charging current value, that is, Figure 5 The method shown is Figure 1 A further extension of step S110.

[0074] Those skilled in the art may understand that all or part of the steps for implementing the above embodiments are implemented as a computer program executed by the CPU or application processor (AP) of the device to be charged. When the computer program is executed by the CPU or AP, the above functions defined by the above method provided by the present disclosure are executed. Alternatively, all or part of the steps of the above embodiments may also be implemented as an executable code executed by a microcontroller unit (MCU) in the device to be charged. When the executable code is executed, the above functions defined by the above method are executed.

[0075] When the device to be charged includes both an AP and a control module implemented as an MCU, step S110 may include:

[0076] In step S1102, the target charging current value is sent to a control module in the device to be charged, so that the charging current of the battery in the device to be charged is adjusted to the target charging current value through the control module.

[0077] The control module may be implemented as the above-mentioned MCU, for example, to control the charging process of the device to be charged.

[0078] After receiving the charging current value, the control module can notify the power supply device to adjust the output current to the above charging current value.

[0079] The control module can communicate with the power supply device through the charging interface of the device to be charged. If the charging interface is a USB interface, the control module and the power supply device can communicate based on the data lines (such as D+ and / or D- lines) in the USB interface. For another example, if the charging interface is a USB interface that supports the PD communication protocol (such as a USB TYPE-C interface), the control module and the power supply device can communicate based on the PD communication protocol.

[0080] By communicating with the power supply device, the power supply device is notified to adjust the charging current to the above-mentioned charging current value that matches the type and application level of the power supply device.

[0081] Alternatively, the control module may be used to control the voltage conversion module in the device to be charged to adjust the charging current of the battery to the charging current value.

[0082] A voltage conversion module can be set in the device to be charged. Under the control of the control module, the voltage conversion module can convert the voltage and / or current output by the power supply device to adjust the charging current of the battery to the above-mentioned charging current value that matches the type and application level of the power supply device.

[0083] In some embodiments, the target charging current value can be sent to the control module in the device to be charged through a predefined field; wherein the field contains a predefined number of bits, and different values ​​are used to represent different target charging current values. Taking a 4-bit field as an example, 0x6 can represent a target charging current value of 6A, 0x5 can represent a target charging current value of 5A, 0x4 can represent a target charging current value of 4A, 0x3 can represent a target charging current value of 3A, etc. Through this predefined field, a variety of charging current values ​​to be adjusted can be indicated to the control module.

[0084] Figure 6 A flow chart of another charging control method in an embodiment of the present disclosure is exemplarily shown.

[0085] refer to Figure 6 , the charging control method 30 includes:

[0086] In step S302, the type of the power supply device connected to the device to be charged is obtained.

[0087] For example, the type of the power supply device may be acquired by communicating with the power supply device.

[0088] In step S304 , it is determined whether the type of the power supply device supports joint adjustment of current based on application level and temperature.

[0089] If the type of the power supply device does not support the combined adjustment of current based on the application level and temperature, the process proceeds to step S316 .

[0090] If the type of the power supply device supports jointly adjusting the current based on the application level and the temperature, the process proceeds to step S306 .

[0091] In some embodiments, the determination in step S304 is performed only after confirming that the type of the power supply device supports fast charging, that is, the mechanism of jointly adjusting the charging current based on the application level and the temperature is only performed in the fast charging mode.

[0092] The following is an explanation of the "normal charging mode" and "fast charging mode" in the charging system.

[0093] Normal charging mode means that the power supply device (such as an adapter) outputs a relatively small current value (usually less than 2.5A) or charges the battery in the charging device with a relatively small power (usually less than 15W). In normal charging mode, it usually takes several hours to fully charge a large capacity battery (such as a 3000 mAh battery).

[0094] The fast charging mode means that the power supply device can output a relatively large current (usually greater than 2.5A, such as 4.5A, 5A or even higher) or charge the battery in the charging device with a relatively large power (usually greater than or equal to 15W).

[0095] Compared with the normal charging mode, the charging speed of the power supply device in the fast charging mode is faster, and the charging time required to fully charge a battery of the same capacity can be significantly shortened.

[0096] The power supply device can be a common type adapter, for example, a power supply adapter with a maximum output power of 10W (5V / 2A) and a common charging mode used to charge the device to be charged; or, the power supply device can be a fast charging adapter, for example, a high-power adapter with a maximum output power of 50W (10V / 5A) and a fast charging mode used to charge the device to be charged; or, the power supply device can also be another fast charging adapter, for example, a high-power adapter with a maximum output power of 20W (5V / 4A) and a fast charging mode used to charge the device to be charged.

[0097] In step S306, the type of application currently running in the device to be charged is detected, and the application level corresponding to the application of this type is determined.

[0098] In step S308 , based on the application level, a first charging current corresponding to the application level is determined.

[0099] In step S310, temperature information of the device to be charged is obtained, and a second charging current corresponding to the temperature information is determined.

[0100] In step S312, a target charging current value of the device to be charged is determined based on the first charging current and the second charging current.

[0101] In step S314, the charging current of the battery in the device to be charged is adjusted to a target charging current value.

[0102] In step S316, the charging current of the battery in the device to be charged is adjusted to a preconfigured charging current value.

[0103] The preconfigured charging current value may be, for example, a charging current value that matches the type of the power supply device.

[0104] In addition, it should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiment of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0105] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.

[0106] Figure 7 The block diagram of a charging control device in an embodiment of the present disclosure is exemplarily shown. The charging control device is applied to a device to be charged.

[0107] refer to Figure 7 The charging control device 40 includes: an application level detection module 402 , a first current determination module 404 , a second current determination module 406 , a charging current determination module 408 and a charging current adjustment module 410 .

[0108] The application level detection module 402 is used to detect the type of application currently running in the device to be charged, and determine the application level corresponding to the type of application.

[0109] The first current determination module 404 is used to determine a first charging current corresponding to the application level based on the application level.

[0110] The second current determination module 406 is used to obtain temperature information of the device to be charged and determine a second charging current corresponding to the temperature information.

[0111] The charging current determination module 408 is used to determine a target charging current value of the device to be charged based on the first charging current and the second charging current.

[0112] The charging current adjustment module 410 is used to adjust the charging current of the battery in the device to be charged to a target charging current value.

[0113] In some embodiments, the temperature includes: the temperature of the battery; the second current determination module 406 includes: a temperature acquisition unit, a temperature comparison unit and a current determination unit. The temperature acquisition unit is used to respectively acquire the initial temperature of the battery and the current temperature of the battery. The temperature comparison unit is used to compare the initial temperature of the battery with a preset temperature threshold. The current determination unit is used to determine the second charging current corresponding to the current temperature of the battery according to the comparison result.

[0114] In some embodiments, the current determination unit further includes: a first determination subunit and a second determination subunit. The first determination subunit is used to determine the second charging current based on a preset first temperature-current correspondence and the current temperature of the battery when the initial temperature of the battery is lower than the temperature threshold. The second determination subunit is used to determine the second charging current value based on a preset second temperature-current correspondence and the current temperature of the battery when the initial temperature of the battery is higher than the temperature threshold. The first temperature correspondence and the second temperature-current correspondence are used to record the correspondence between the initial temperature of the battery, the temperature of the battery and the second charging current, respectively.

[0115] In some embodiments, the first temperature correspondence relationship and the second temperature relationship include: a state machine that performs state jumps based on the current temperature of the battery.

[0116] In some embodiments, the application levels include: first level and second level; the power consumption of first level applications is higher than that of second level applications, and the first charging current corresponding to the first level applications is lower than the second charging current corresponding to the second level applications.

[0117] In some embodiments, the charging current determination module 408 is configured to select a minimum value between the first charging current and the second charging current as the target charging current value.

[0118] In some embodiments, the charging control device 40 further includes: a voltage detection module and a voltage comparison module. The voltage detection module is used to detect the voltage of the battery before the charging current adjustment module 410 adjusts the charging current of the battery in the device to be charged to the charging current value. The voltage comparison module is used to obtain the charging current value determined and adjusted last time when the voltage is higher than a preset voltage threshold, and select the minimum value between the charging current value determined and adjusted last time and the determined target charging current value as the target charging current value this time.

[0119] In some embodiments, the charging current adjustment module 410 is used to send the target charging current value to the control module in the device to be charged, so that the charging current of the battery in the device to be charged is adjusted to the target charging current value through the control module.

[0120] In some embodiments, the charging current adjustment module 410 is used to send the target charging current value to the control module in the device to be charged through a predefined field; wherein the field contains a predefined number of bits, and different values ​​of the field are used to represent different target charging current values.

[0121] In some embodiments, the charging control device 40 further includes: a type acquisition device for acquiring the type of the power supply device connected to the device to be charged. The charging current adjustment module 410 is also used to adjust the charging current of the battery in the device to be charged to a preconfigured charging current value when the type of the power supply device does not support the joint adjustment of the current based on the application level and the temperature.

[0122] The charging control device provided in the embodiment of the present disclosure, during the charging process, refers to the target charging current value determined by a first charging current corresponding to the currently running application and a second charging current corresponding to the current temperature of the device to be charged, while taking into account the application scenario, temperature rise and charging speed. It can effectively control the temperature rise while ensuring the charging speed, thereby improving the charging efficiency and enhancing the user experience.

[0123] Furthermore, the charging control device provided in the embodiment of the present disclosure also designs a mechanism for dynamically adjusting the charging current of the battery based on temperature. When the temperature of the battery rises, the charging current value is reduced accordingly; and the reduction in charging current will cause the temperature of the battery to drop. When the temperature of the battery drops back, the charging current value is increased accordingly.

[0124] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0125] Refer to the following Figure 8 The electronic device 800 according to this embodiment of the present disclosure is described. Figure 8 The electronic device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0126] like Figure 8 As shown, the electronic device 800 is in the form of a general computing device. The components of the electronic device 800 may include but are not limited to: at least one processing unit 810, at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).

[0127] The storage unit stores program codes, which can be executed by the processing unit 810, so that the processing unit 810 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 810 can perform the following steps: Figure 1 In step S102, the type of application currently running in the device to be charged is detected, and the application level corresponding to the application of this type is determined; in step S104, based on the application level, a first charging current corresponding to the application level is determined; in step S106, the temperature information of the device to be charged is obtained, and a second charging current corresponding to the temperature information is determined; in step S108, a target charging current value of the device to be charged is determined based on the first charging current and the second charging current; in step S110, the charging current of the battery in the device to be charged is adjusted to the target charging current value.

[0128] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 8201 and / or a cache memory unit 8202 , and may further include a read-only memory unit (ROM) 8203 .

[0129] The storage unit 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0130] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0131] The electronic device 800 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 860. As shown, the network adapter 860 communicates with other modules of the electronic device 800 via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0132] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0133] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0134] refer to Fig. 9 As shown, a program product 900 for implementing the above method according to an embodiment of the present disclosure is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0135] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0136] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0137] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0138] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0139] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0140] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0141] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

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

Claims

1. A charging control method, applied to a device to be charged, It is characterized in that include: Detecting the type of application currently running in the device to be charged, and determining the application level corresponding to the type; Based on the application level, determining a first charging current corresponding to the application level; Acquiring temperature information of the device to be charged, and determining a second charging current corresponding to the temperature information; Determining a target charging current value of the device to be charged based on the first charging current and the second charging current; as well as Adjusting the charging current of the battery in the device to be charged to the target charging current value; Determining a target charging current value of the device to be charged based on the first charging current and the second charging current includes: selecting a minimum value between the first charging current and the second charging current as the target charging current value; The temperature information includes: the temperature of the battery; obtaining the temperature information of the device to be charged, and determining the second charging current corresponding to the temperature information includes: respectively obtaining an initial temperature of the battery and a current temperature of the battery; comparing the initial temperature of the battery with a preset temperature threshold; and According to the comparison result, a second charging current corresponding to the current temperature of the battery is determined.

2. The method according to claim 1, It is characterized in that Determining, according to the comparison result, a second charging current corresponding to the current temperature of the battery includes: When the initial temperature of the battery is lower than the temperature threshold, determining the second charging current based on a preset first temperature-current correspondence relationship and the current temperature of the battery; and / or, When the initial temperature of the battery is higher than the temperature threshold, determining the second charging current value based on a preset second temperature-current correspondence relationship and the current temperature of the battery; The first temperature-current correspondence relationship and the second temperature-current correspondence relationship are respectively used to record the correspondence between the different initial temperatures of the battery, the temperature of the battery and the second charging current.

3. The method according to claim 2, It is characterized in that The first temperature-current correspondence relationship and the second temperature-current correspondence relationship include: a state machine that performs state jumps based on the current temperature of the battery.

4. The method according to claim 1, It is characterized in that The application levels include: a first level and a second level; the power consumption of the first level application is higher than that of the second level application, and the first charging current corresponding to the first level application is lower than the second charging current corresponding to the second level application.

5. The method according to claim 1, It is characterized in that Before adjusting the charging current of the battery in the device to be charged to the target charging current value, the method further includes: detecting the voltage of the battery; and When the voltage is higher than the preset voltage threshold, the charging current value determined and adjusted last time is obtained, and the minimum value between the charging current value determined and adjusted last time and the determined target charging current value is selected as the target charging current value this time.

6. The method according to claim 1, It is characterized in that Adjusting the charging current of the battery in the device to be charged to the target charging current value includes: Sending the target charging current value to a control module in the device to be charged, so that through the control module, the charging current of the battery in the device to be charged is adjusted to the target charging current value.

7. The method according to claim 6, wherein, Sending the target charging current value to a control module in the device to be charged includes: Sending the target charging current value to a control module in the device to be charged through a predefined field; wherein, the field includes a predefined number of bits, and different assignments of the field are used to represent different target charging current values.

8. The method according to any one of claims 1-7, wherein, Before detecting the application level of the currently running application in the device to be charged, the method further includes: Obtaining the type of the power supply device connected to the device to be charged; and When the type of the power supply device does not support jointly adjusting the current based on the application level and temperature, adjusting the charging current of the battery in the device to be charged to a preconfigured charging current value.

9. A charging control device, applied to a device to be charged, wherein, It includes: An application level detection module, configured to detect the type of the currently running application in the device to be charged and determine the application level corresponding to the type; A first current determination module, configured to determine a first charging current corresponding to the application level based on the application level; A second current determination module, configured to obtain the temperature information of the device to be charged and determine a second charging current corresponding to the temperature information; A charging current determination module, configured to determine the target charging current value of the device to be charged based on the first charging current and the second charging current; and A charging current adjustment module, configured to adjust the charging current of the battery in the device to be charged to the target charging current value; wherein, the charging current determination module is specifically configured to select the minimum value of the first charging current and the second charging current as the target charging current value; The temperature information includes: the temperature of the battery; the second current determination module is specifically configured to respectively obtain the initial temperature and the current temperature of the battery; compare the initial temperature of the battery with a preset temperature threshold; and determine the second charging current corresponding to the current temperature of the battery according to the comparison result.

10. An electronic device, including: A memory, a processor, and executable instructions stored in the memory and executable in the processor, wherein when the processor executes the executable instructions, the method according to any one of claims 1-8 is implemented.

11. A computer-readable storage medium, on which computer-executable instructions are stored, wherein, When the executable instructions are executed by a processor, the method according to any one of claims 1-8 is implemented.

Citation Information

Patent Citations

  • Charging method and charging apparatus

    CN106451612A

  • Charging current control method and device, controller and electric automobile

    CN108501747A