Charging control method and device and power adapter
By achieving periodic acquisition and analysis of the charging voltage in the power adapter, we can judge whether the battery capacity of the device to be charged reaches the preset protection capacity threshold, and exit the fast charging mode when it reaches the threshold, solving the problem of reducing battery life due to irregular charging and achieving the effect of extending the battery life.
Patent Information
- Application Number
- CN202510268150.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-06
- Publication Date
- 2025-06-24
AI Technical Summary
In the prior art, irregular charging methods will cause the battery power of electronic devices to rapidly decay and reduce battery life.
A charging control method, device and power adapter are provided, by periodically obtaining the charging voltage, determining whether the battery power of the device to be charged reaches a preset protection capacity threshold, and exiting the fast charging mode when the threshold is reached.
Reduce the fast charging duration of the device to be charged, slow down the battery power attenuation caused by charging, and improve battery life.
Smart Images

Figure CN120200341A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of charging, and in particular, to a charging control method, device, and power adapter. Background Art
[0002] With the rapid development of science and technology, electronic products such as mobile phones and tablet computers are increasingly widely used in daily life, bringing great convenience to people's lives. To improve the battery life of electronic devices, it is usually necessary to charge the electronic devices when the battery power is low.
[0003] However, in related technologies, irregular charging methods can cause the battery power of electronic devices to decay rapidly and reduce the battery life. Summary of the Invention
[0004] Based on this, it is necessary to provide a charging control method, device, and power adapter to slow down the decay rate of the battery power caused by charging and improve the battery life.
[0005] In a first aspect, the present application provides a charging control method applied to a power adapter. The method includes: periodically obtaining the charging voltage output to the device to be charged; when charging the device to be charged in a fast charging mode, determining whether the battery power of the device to be charged reaches a preset protection capacity threshold according to the charging voltage; the preset protection capacity threshold is greater than 0 and less than 100%; when the battery power reaches the preset protection capacity threshold, exiting the fast charging mode.
[0006] In a second aspect, the present application provides a charging control device applied to a power adapter. The device includes: a voltage acquisition module for periodically obtaining the charging voltage output to the device to be charged; a power reduction detection module for determining whether the battery power of the device to be charged reaches a preset protection capacity threshold according to the charging voltage when charging the device to be charged in a fast charging mode; the preset protection capacity threshold is greater than 0 and less than 100%; a charging protection module for exiting the fast charging mode when the battery power reaches the preset protection capacity threshold.
[0007] In a third aspect, the present application provides a power adapter, including a voltage detector and a processor communicatively connected. The voltage detector is used to detect the charging voltage output to the device to be charged, and the processor is used to execute the steps of the above charging control method.
[0008] The above charging control method, device and power adapter. The power adapter can detect the battery power of the device to be charged according to the periodically obtained charging voltage during the process of charging the device to be charged in the fast charging mode. When it is detected that the battery power reaches the preset protection capacity threshold, the fast charging mode can be exited, and the fast charging of the device to be charged can be ended. Through this solution, when the battery power of the device to be charged reaches the preset protection capacity threshold, the fast charging of the device to be charged can be automatically ended, the fast charging duration of the device to be charged can be reduced, and further the attenuation speed of the battery power caused by charging can be slowed down, and the battery life can be improved. Description of the Drawings
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0010] Figure 1 Schematic diagram of the charging control method flow in an embodiment of the present application;
[0011] Figure 2 Schematic diagram of the battery power judgment flow in an embodiment of the present application;
[0012] Figure 3 Schematic diagram of the battery power judgment flow in another embodiment of the present application;
[0013] Figure 4 Schematic diagram of the charging control method flow in another embodiment of the present application;
[0014] Figure 5 Schematic diagram of the charging control method flow in yet another embodiment of the present application;
[0015] Figure 6 Schematic diagram of the charging control method flow in still another embodiment of the present application;
[0016] Figure 7 Schematic diagram of the structure of the charging control device in an embodiment of the present application;
[0017] Figure 8 Schematic diagram of the structure of the charging control device in another embodiment of the present application;
[0018] Figure 9 Schematic diagram of the structure of the charging control device in yet another embodiment of the present application. Detailed Embodiments
[0019] To make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0020] The charging control method provided by the present application is applied to a power adapter. The power adapter can convert electrical energy into direct current electrical energy with a voltage magnitude suitable for a charging device, so as to charge the device to be charged. Specifically, the power adapter referred to in the present application should be a power adapter with a fast charging function, that is, a power adapter with at least one fast charging protocol. Its type is not unique and can be a desktop charger, a travel charger, a vehicle charger, etc., which is not specifically limited. The type of the device to be charged referred to in the present application is also not unique and will vary according to the type of the power adapter. It can be a mobile phone, a tablet computer, a personal computer, etc., which is not specifically limited.
[0021] Please refer to Figure 1 , the present application provides a charging control method applied to a power adapter. The method includes step 102, step 104 and step 106.
[0022] Step 102: Periodically obtain the charging voltage output to the device to be charged.
[0023] Specifically, the charging voltage is the voltage that the power adapter outputs to the device to be charged to charge the battery of the device to be charged after the power adapter is connected to the device to be charged. Periodically obtaining means sampling the charging voltage once every certain time (that is, a period), and the time interval between two samplings is the sampling period.
[0024] The power adapter includes a voltage detector and a processor connected by communication. Among them, the voltage detector is arranged at the output port of the power adapter and is used to detect the charging voltage output by the power adapter to the device to be charged. In one embodiment, the voltage detector can report the detection result to the processor periodically, so as to realize the periodic acquisition of the charging voltage. In another embodiment, it can also be that the voltage detector performs real-time charging voltage detection, and the processor actively accesses the voltage detector periodically, so as to realize the periodic acquisition of the charging voltage.
[0025] It should be noted that, in one embodiment, the power adapter should also include other components such as a voltage conversion circuit and a protocol recognition circuit. These components cooperate with the voltage detector and the processor to realize the charging operation of the device to be charged, which will not be elaborated here.
[0026] Step 104: When charging the device to be charged in the fast charging mode, judge whether the battery power of the device to be charged reaches the preset protection capacity threshold according to the charging voltage.
[0027] Specifically, the preset protection capacity threshold is greater than 0 and less than 100%. The battery power refers to the percentage of the current remaining battery power to the total battery capacity. Fast charging refers to a technology that can charge more power into the battery in a shorter time at a high power (for example, above 18 watts); the fast charging mode is a mode of charging the battery of the device to be charged with the fast charging technology. The preset protection capacity threshold refers to the battery power value when the device to be charged enters the charging protection; the charging protection refers to reducing the charging speed of the battery or stopping the battery charging to reduce heat accumulation and extend the service life of the battery.
[0028] In an actual scenario, a large amount of heat is generated during the battery charging process, or the battery is in a fully charged state for a long time, both of which will cause certain losses to the battery and reduce the battery service life. Therefore, in the fast charging mode, the charging strategy often changes when the battery charge reaches the preset protection capacity threshold. Specifically, through in-depth research, it is found that when the battery reaches the preset protection capacity threshold in the fast charging mode, the charging voltage will change significantly. Therefore, in the solution of this embodiment, the change of the charging voltage can be detected to determine whether the battery power of the device to be charged reaches the preset protection capacity threshold.
[0029] It should be noted that the size of the preset protection capacity threshold is not unique, and it can be specifically selected according to the battery type or usage scenario, etc. For example, in a more detailed embodiment, the preset protection capacity threshold can be set to 80%. In other embodiments, the preset protection capacity threshold can also be set to be greater than 80% or less than 80%, and the specific value is not limited. 85%, 90% or 95% can be selected according to different charging devices.
[0030] Step 106, when the battery power reaches the preset protection capacity threshold, exit the fast charging mode.
[0031] Specifically, when it is detected that the battery power reaches the preset protection capacity threshold, the power adapter will automatically exit the fast charging mode under the control of the processor, so as to prevent the battery of the device to be charged from being in the fast charging state for a long time, resulting in greater capacity attenuation.
[0032] In the above charging control method, the power adapter can detect the battery power of the device to be charged according to the periodically obtained charging voltage during the process of charging the device to be charged in the fast charging mode. When it is detected that the battery power reaches the preset protection capacity threshold, the fast charging mode can be exited, and the fast charging of the device to be charged can be ended. Through this solution, when the battery power of the device to be charged reaches the preset protection capacity threshold, the fast charging of the device to be charged can be automatically ended, the fast charging duration of the device to be charged can be reduced, and further the attenuation speed of the battery power caused by charging can be slowed down, and the battery life can be improved.
[0033] Please refer to Figure 2 , in one embodiment, determining whether the battery power of the device to be charged reaches a preset protection capacity threshold according to the charging voltage includes steps 202, 204, and 206.
[0034] Step 202, determining whether the charging voltage is less than or equal to a preset transition voltage threshold.
[0035] Step 204, when the charging voltage is less than or equal to the preset transition voltage threshold, determining that the battery power of the device to be charged reaches the preset protection capacity threshold.
[0036] Step 206, when the charging voltage is greater than the preset transition voltage threshold, determining that the battery power of the device to be charged does not reach the preset protection capacity threshold.
[0037] Specifically, the preset transition voltage threshold represents the charging voltage of the device to be charged when the battery power of the device to be charged reaches the preset protection capacity threshold. In a more detailed embodiment, the preset transition voltage threshold can be set as: the maximum value of the charging voltage of the device to be charged when the battery power of the device to be charged reaches the preset protection capacity threshold under multiple experimental measurement scenarios.
[0038] As shown in the above embodiment, when the battery power of the device to be charged reaches the preset protection capacity threshold, its charging voltage will change significantly. Specifically, when the battery power of the device to be charged reaches the preset protection capacity threshold, the charging voltage will decrease significantly. Therefore, during the fast charging process of the device to be charged, the processor can compare and analyze the periodically obtained charging voltage with the preset transition voltage threshold. When the charging voltage is less than or equal to the preset transition voltage threshold, it is considered that the battery power of the device to be charged reaches the preset protection capacity threshold.
[0039] In the above solution, by comparing the charging voltage with the preset transition voltage threshold to determine whether the battery power reaches the preset protection capacity threshold, it has a high judgment efficiency.
[0040] It should be noted that the size of the preset transition voltage threshold is not unique, and it can be specifically selected according to the charging protocol or the type of the device to be charged. For example, in one embodiment, through multiple experimental analyses, it is obtained that: when the battery power of the device to be charged is greater than or equal to the preset protection capacity threshold, the charging voltage is all below 5V (volt); when the device to be charged is in fast charging, the charging voltage is above 8V; therefore, the preset transition voltage threshold can be set to be greater than or equal to 5V and less than 8V; specifically, 5.5V, 6V, or 7V, etc. can be selected according to different types of the device to be charged.
[0041] Please refer to Figure 3, in one embodiment, determining whether the battery power of the device to be charged reaches a preset protection capacity threshold according to the charging voltage includes steps 302, 304, and 306.
[0042] Step 302, determining the difference between the charging voltage and the initial charging voltage when the device to be charged is connected.
[0043] Step 304, when the difference is greater than or equal to a preset difference threshold, determining that the battery power of the device to be charged reaches the preset protection capacity threshold.
[0044] Step 306, when the difference is less than the preset difference threshold, determining that the battery power of the device to be charged does not reach the preset protection capacity threshold.
[0045] Specifically, the initial charging voltage refers to the charging voltage when the device to be charged starts to be charged. It can be understood that since the solution of this embodiment is executed during the fast charging of the device to be charged and the device to be charged has a fast charging function, the initial charging voltage is equivalent to the charging voltage during the fast charging of the device to be charged. As shown in the above embodiment, when the battery power of the device to be charged reaches the preset protection capacity threshold, the charging voltage will change significantly, and then the charging voltage at this time will have a large difference from the charging voltage when the device to be charged starts to be charged.
[0046] Therefore, in the solution of this embodiment, the difference between the periodically obtained charging voltage output to the device to be charged and the initial charging voltage when the device to be charged is connected is calculated, and the above difference is compared and analyzed with the preset difference threshold. If the difference is greater than or equal to the preset difference threshold, it indicates that the charging voltage changes suddenly at this time, and it will be considered that the battery power of the device to be charged reaches the preset protection capacity threshold. If the difference is less than the preset difference threshold, it indicates that it is only a sampling error or a normal fluctuation of the charging voltage at this time, and it will be considered that the battery power of the device to be charged does not reach the preset protection capacity threshold.
[0047] Through this solution, by comparing and analyzing the difference between the charging voltage and the initial charging voltage when the device to be charged is connected with the preset difference threshold to determine whether the battery power reaches the preset protection capacity threshold, it has higher judgment accuracy.
[0048] It should be noted that the size of the preset difference threshold is not unique, and it can be specifically selected according to the charging protocol or the type of the device to be charged. For example, in one embodiment, through multiple experimental analyses, it is obtained that when the battery power of the device to be charged is greater than or equal to the preset protection capacity threshold, the charging voltage is below 5V; when the device to be charged is in fast charging, the charging voltage is above 8V; and in the normal state, the fluctuation of the charging voltage is small. Therefore, the preset difference threshold can be set to be greater than 0V and less than or equal to 3V; specifically, 0.5V, 1V, 2V, etc. can be selected according to different types of the device to be charged.
[0049] In one embodiment, the method further includes: determining the charging mode of the device to be charged according to the initial charging voltage when the device to be charged is connected.
[0050] Specifically, after the power adapter and the device to be charged are connected for charging, the processor will perform different control operations according to different charging modes between the power adapter and the device to be charged. If the power adapter charges the device to be charged in a non-fast charging mode, this charging state can be maintained; if the power adapter charges the device to be charged in a fast charging mode, it is necessary to combine the real-time charging voltage to analyze and judge whether the preset protection capacity threshold is reached.
[0051] It can be understood that the way for the processor to judge the charging mode of the device to be charged is not unique. In one embodiment, the processor can determine the charging mode of the device to be charged according to the charging protocol recognition result with the device to be charged.
[0052] The solution of this embodiment takes into account that in the fast charging mode, the charging power of the device to be charged is often large, and at this time, the charging voltage output to the device to be charged is also large; in the non-fast charging mode, the charging voltage output to the device to be charged is relatively small. Therefore, the charging mode of the device to be charged is determined by detecting the initial charging voltage when the device to be charged is connected. Through this detection method, when the charging protocol recognition result is inconsistent with the actual charging mode, the charging mode can also be accurately recognized, and the accuracy of charging mode detection can be effectively improved.
[0053] In one embodiment, determining the charging mode of the device to be charged according to the initial charging voltage when the device to be charged is connected includes: judging whether the initial charging voltage is greater than or equal to the preset fast charging voltage threshold; in the case where the initial charging voltage is greater than or equal to the preset fast charging voltage threshold, determining that the charging mode of the device to be charged is the fast charging mode; in the case where the initial charging voltage is less than the preset fast charging voltage threshold, determining that the charging mode of the device to be charged is the non-fast charging mode.
[0054] Specifically, the preset fast charging voltage threshold is greater than the preset conversion voltage threshold. The preset fast charging voltage threshold represents the charging voltage when the device to be charged is under fast charging. Specifically, the preset fast charging voltage threshold can be the minimum charging voltage measured during multiple experimental measurements when the device to be charged is under fast charging. In an actual scenario, if the charging voltage output to the device to be charged is greater than or equal to the preset fast charging voltage threshold, it indicates that the device to be charged is charging in fast charging mode at this time. If the charging voltage output to the device to be charged is less than the preset fast charging voltage threshold, it indicates that the device to be charged is charging in non-fast charging mode at this time. By comparing and analyzing the initial charging voltage with the preset fast charging voltage threshold to determine the charging mode of the device to be charged, the charging mode recognition efficiency is relatively high.
[0055] It can be understood that in other embodiments, the charging mode can also be determined by subtracting and comparing the initial charging voltage with the preset fast charging voltage threshold, etc. It can be specifically selected according to actual requirements and will not be elaborated here.
[0056] It should be noted that the value of the preset fast charging voltage threshold is not unique. In one embodiment, taking the battery power of the device to be charged measured during multiple tests being greater than or equal to the preset protection capacity threshold, and the charging voltage being below 5V, and the charging voltage being above 8V when the device to be charged is under fast charging as an example, the preset fast charging voltage threshold can be set to 8V at this time.
[0057] Please refer to Figure 4 , in one of the embodiments, after step 106, the method further includes step 402.
[0058] Step 402, end the charging operation of the device to be charged.
[0059] Specifically, in the solution of this embodiment, after the battery power of the device to be charged reaches the preset protection capacity threshold, the power adapter not only exits the fast charging mode but also directly ends the charging operation of the device to be charged. In this way, it can be avoided that the device to be charged is fully charged by continuous charging, reducing the number of full charges of the device to be charged, alleviating the battery loss caused by full charging, and further prolonging the battery service life. Moreover, in the solution of this embodiment, after the device to be charged is charged to reach the preset protection capacity threshold, the charging operation of the device to be charged can be automatically ended by the power adapter without the user manually stopping the charging, improving the charging convenience.
[0060] Please refer to Figure 5 , in one of the embodiments, after step 106, the method further includes step 502.
[0061] Step 502, switch to charging the device to be charged in non-fast charging mode.
[0062] Specifically, in the solution of this embodiment, after the battery power of the device to be charged reaches the preset protection capacity threshold, the power adapter will switch from the fast charging mode to the non-fast charging mode, and charge the device to be charged with a lower charging power, so as to avoid large battery power loss caused by long-term fast charging. The device to be charged can also be fully charged by continuous charging, which can meet the full charging requirements of users.
[0063] Please refer to Figure 6 , in one of the embodiments, before step 102, the method further includes step 602.
[0064] Step 602, when the device to be charged is connected, configure the sampling period of the charging voltage.
[0065] Specifically, in the solution of this embodiment, the sampling period of the charging voltage can be configured according to user needs. In this way, the acquisition of the charging voltage is combined with the actual needs, improving the accuracy of obtaining the charging voltage. It can be understood that the size of the sampling period is not unique and will also vary according to different actual scenarios. For example, in one embodiment, the sampling period can be configured as 1 second.
[0066] It should be noted that the configuration method of the sampling period is not unique. In one embodiment, the charging voltage sampling period can be automatically configured by the power adapter. Specifically, after the power adapter is connected to the device to be charged, the sampling period is matched in the preset corresponding relationship according to the type of the device to be charged or the type of the charging protocol.
[0067] In another embodiment, the sampling period of the charging voltage can also be manually configured by the user. For example, the user communicates with the power adapter through the terminal device, and the sampling period configuration can be completed by issuing corresponding instructions on the terminal device; or the power adapter has a human-computer interaction function, and the user directly configures the sampling period on the human-computer interaction interface.
[0068] To facilitate the understanding of the technical solution of this application, the following will explain this application in combination with more detailed embodiments.
[0069] When the device to be charged is connected to the power adapter, the power adapter configures the sampling period of the charging voltage as 1 second. At the beginning of charging, the processor obtains the initial charging voltage and determines whether the initial charging voltage is greater than 8V. If the initial charging voltage is greater than 8V, it means that fast charging mode is used for charging at this time, otherwise non-fast charging mode is used for charging.
[0070] In the charging scenario of the fast charging mode, the processor periodically obtains the charging voltage output from the power adapter to the device to be charged, and determines whether the charging voltage is less than 6V. If it is greater than 6V, it indicates that the battery power of the device to be charged has not reached 80% at this time; if it is less than or equal to 6V, it indicates that the battery power of the device to be charged has reached 80% at this time, and at this time, the fast charging will end and the charging of the device to be charged will stop.
[0071] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps or stages in other steps.
[0072] Based on the same inventive concept, the embodiments of the present application also provide a charging control device for implementing the above-mentioned charging control method. The implementation solutions provided by this device to solve problems are similar to the implementation solutions described in the above method. Therefore, the specific limitations in one or more embodiments of the charging control device provided below can refer to the limitations on the charging control method in the above text, and will not be repeated here.
[0073] In one embodiment, as Figure 7 shown, a charging control device is provided, which is applied to a power adapter and includes: a voltage acquisition module 702, a power reduction detection module 704, and a charging protection module 706, where: the voltage acquisition module 702 is used to periodically obtain the charging voltage output to the device to be charged; the power reduction detection module 704 is used to determine whether the battery power of the device to be charged reaches a preset protection capacity threshold according to the charging voltage when charging the device to be charged in the fast charging mode; the charging protection module 706 is used to exit the fast charging mode when the battery power reaches the preset protection capacity threshold.
[0074] In one embodiment, the power reduction detection module 704 is further used to determine whether the charging voltage is less than or equal to a preset conversion voltage threshold; when the charging voltage is less than or equal to the preset conversion voltage threshold, it is determined that the battery power of the device to be charged reaches the preset protection capacity threshold; when the charging voltage is greater than the preset conversion voltage threshold, it is determined that the battery power of the device to be charged has not reached the preset protection capacity threshold.
[0075] In one embodiment, the power reduction detection module 704 is further configured to determine the difference between the charging voltage and the initial charging voltage when the device to be charged is connected; in the case where the difference is greater than or equal to a preset difference threshold, it is determined that the battery power of the device to be charged reaches a preset protection capacity threshold; in the case where the difference is less than the preset difference threshold, it is determined that the battery power of the device to be charged does not reach the preset protection capacity threshold.
[0076] Please refer to Figure 8 , in one embodiment, the charging control device further includes a charging mode detection module 802. The charging mode detection module 802 is configured to determine the charging mode of the device to be charged according to the initial charging voltage when the device to be charged is connected.
[0077] The charging mode detection module 802 is further configured to determine whether the initial charging voltage is greater than or equal to a preset fast charging voltage threshold; in the case where the initial charging voltage is greater than or equal to the preset fast charging voltage threshold, it is determined that the charging mode of the device to be charged is the fast charging mode; in the case where the initial charging voltage is less than the preset fast charging voltage threshold, it is determined that the charging mode of the device to be charged is the non-fast charging mode.
[0078] In one embodiment, the charging protection module 706 is further configured to end the charging operation of the device to be charged.
[0079] In one embodiment, the charging protection module 706 is further configured to switch to charge the device to be charged in the non-fast charging mode.
[0080] Please refer to Figure 9 , in one embodiment, before the voltage acquisition module 702, the device further includes a period configuration module 902. The period configuration module 902 is configured to configure the sampling period of the charging voltage in the case of connecting the device to be charged.
[0081] Each module in the above-mentioned charging control device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.
[0082] For the above-mentioned charging control device, the power adapter can detect the battery power of the device to be charged according to the periodically obtained charging voltage during the process of charging the device to be charged in the fast charging mode. In the case where it is detected that the battery power reaches the preset protection capacity threshold, the fast charging mode can be exited and the fast charging of the device to be charged can be ended. Through this solution, when the battery power of the device to be charged reaches the preset protection capacity threshold, the fast charging of the device to be charged can be automatically ended, reducing the fast charging duration of the device to be charged, thereby slowing down the attenuation speed of the battery power caused by charging and improving the battery life.
[0083] The present application also provides a power adapter, including a voltage detector and a processor communicatively connected. The voltage detector is used to detect the charging voltage output to the device to be charged, and the processor is used to execute the steps of the above-mentioned charging control method.
[0084] Specifically, the implementation manner of the charging control method is as shown in the above various embodiments, which will not be elaborated here. The power adapter of this embodiment can be a desktop charger, a travel charger, a vehicle charger, etc., and is not specifically limited. In a more detailed embodiment, the power adapter can be a wall charger configured with the PD (Power Delivery) protocol.
[0085] It can be understood that the type of the processor is not unique and is not specifically limited. For example, in a more detailed embodiment, the processor can be an SOC (System On Chip).
[0086] During the process of charging the device to be charged in the fast charging mode, the above-mentioned power adapter can detect the battery power of the device to be charged according to the periodically obtained charging voltage. When it is detected that the battery power reaches the preset protection capacity threshold, the fast charging mode can be exited, and the fast charging of the device to be charged can be ended. Through this solution, when the battery power of the device to be charged reaches the preset protection capacity threshold, the fast charging of the device to be charged can be automatically ended, the fast charging duration of the device to be charged can be reduced, and further the attenuation speed of the battery power caused by charging can be slowed down, and the battery life can be improved.
[0087] In one embodiment, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0088] Periodically obtain the charging voltage output to the device to be charged; when charging the device to be charged in the fast charging mode, judge whether the battery power of the device to be charged reaches the preset protection capacity threshold according to the charging voltage; when the battery power reaches the preset protection capacity threshold, exit the fast charging mode.
[0089] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented: judge whether the charging voltage is less than or equal to the preset conversion voltage threshold; when the charging voltage is less than or equal to the preset conversion voltage threshold, determine that the battery power of the device to be charged reaches the preset protection capacity threshold; when the charging voltage is greater than the preset conversion voltage threshold, determine that the battery power of the device to be charged does not reach the preset protection capacity threshold.
[0090] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining the difference between the charging voltage and the initial charging voltage when the device to be charged is connected; in the case where the difference is greater than or equal to a preset difference threshold, determining that the battery power of the device to be charged reaches a preset protection capacity threshold; in the case where the difference is less than the preset difference threshold, determining that the battery power of the device to be charged does not reach the preset protection capacity threshold.
[0091] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining the charging mode of the device to be charged according to the initial charging voltage when the device to be charged is connected.
[0092] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining whether the initial charging voltage is greater than or equal to a preset fast charging voltage threshold; in the case where the initial charging voltage is greater than or equal to the preset fast charging voltage threshold, determining that the charging mode of the device to be charged is the fast charging mode; in the case where the initial charging voltage is less than the preset fast charging voltage threshold, determining that the charging mode of the device to be charged is the non-fast charging mode.
[0093] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: ending the charging operation of the device to be charged.
[0094] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: switching to charge the device to be charged in the non-fast charging mode.
[0095] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: configuring the sampling period of the charging voltage when the device to be charged is connected.
[0096] In one embodiment, the present application provides a computer program product, including a computer program, which when executed by a processor, implements the following steps:
[0097] Periodically obtaining the charging voltage output to the device to be charged; in the case of charging the device to be charged in the fast charging mode, determining whether the battery power of the device to be charged reaches a preset protection capacity threshold according to the charging voltage; in the case where the battery power reaches the preset protection capacity threshold, exiting the fast charging mode.
[0098] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining whether the charging voltage is less than or equal to a preset transition voltage threshold; in the case where the charging voltage is less than or equal to the preset transition voltage threshold, determining that the battery power of the device to be charged reaches a preset protection capacity threshold; in the case where the charging voltage is greater than the preset transition voltage threshold, determining that the battery power of the device to be charged does not reach the preset protection capacity threshold.
[0099] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining the difference between the charging voltage and the initial charging voltage when the device to be charged is connected; in the case where the difference is greater than or equal to a preset difference threshold, determining that the battery power of the device to be charged reaches a preset protection capacity threshold; in the case where the difference is less than the preset difference threshold, determining that the battery power of the device to be charged does not reach the preset protection capacity threshold.
[0100] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining the charging mode of the device to be charged according to the initial charging voltage when the device to be charged is connected.
[0101] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining whether the initial charging voltage is greater than or equal to a preset fast charging voltage threshold; in the case where the initial charging voltage is greater than or equal to the preset fast charging voltage threshold, determining that the charging mode of the device to be charged is the fast charging mode; in the case where the initial charging voltage is less than the preset fast charging voltage threshold, determining that the charging mode of the device to be charged is the non-fast charging mode.
[0102] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: ending the charging operation of the device to be charged.
[0103] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: switching to charge the device to be charged in the non-fast charging mode.
[0104] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: configuring the sampling period of the charging voltage in the case of connecting the device to be charged.
[0105] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in this application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0106] In the above storage medium and computer program product, during the process of charging the device to be charged in the fast charging mode, the power adapter can detect the battery power of the device to be charged according to the periodically obtained charging voltage. When it is detected that the battery power reaches the preset protection capacity threshold, the fast charging mode can be exited, and the fast charging of the device to be charged can be ended. Through this solution, when the battery power of the device to be charged reaches the preset protection capacity threshold, the fast charging of the device to be charged can be automatically ended, reducing the fast charging duration of the device to be charged, thereby slowing down the attenuation rate of the battery power caused by charging and improving the battery life.
[0107] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.
[0108] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A charging control method, characterized in that: Applied to a power adapter, the method comprises: Periodically obtain the charging voltage output to the device to be charged; When the device to be charged is charged in a fast charging mode, judging whether the battery power of the device to be charged reaches a preset protection capacity threshold according to the charging voltage; the preset protection capacity threshold is greater than 0 and less than 100%; When the battery power reaches the preset protection capacity threshold, exit the fast charging mode.
2. The charging control method according to claim 1, characterized in that: The step of judging whether the battery power of the device to be charged reaches a preset protection capacity threshold according to the charging voltage includes: Determining whether the charging voltage is less than or equal to a preset transition voltage threshold; When the charging voltage is less than or equal to the preset transition voltage threshold, determining that the battery power of the device to be charged reaches a preset protection capacity threshold; When the charging voltage is greater than the preset transition voltage threshold, it is determined that the battery power of the device to be charged does not reach the preset protection capacity threshold.
3. The charging control method according to claim 1, characterized in that: The step of judging whether the battery power of the device to be charged reaches a preset protection capacity threshold according to the charging voltage includes: Determine the difference between the charging voltage and the initial charging voltage when the device to be charged is connected; When the difference is greater than or equal to a preset difference threshold, determining that the battery power of the device to be charged reaches a preset protection capacity threshold; When the difference is less than the preset difference threshold, it is determined that the battery power of the device to be charged does not reach the preset protection capacity threshold.
4. The charging control method according to any one of claims 1 to 3, characterized in that: The method further comprises: The charging mode of the device to be charged is determined according to the initial charging voltage when the device to be charged is connected.
5. The charging control method according to claim 4, characterized in that: The step of determining the charging mode of the device to be charged according to the initial charging voltage when the device to be charged is connected includes: Determine whether the initial charging voltage is greater than or equal to a preset fast charging voltage threshold; the preset fast charging voltage threshold is greater than a preset transition voltage threshold; When the initial charging voltage is greater than or equal to the preset fast charging voltage threshold, determining that the charging mode of the device to be charged is a fast charging mode; When the initial charging voltage is less than the preset fast charging voltage threshold, it is determined that the charging mode of the device to be charged is a non-fast charging mode.
6. The charging control method according to any one of claims 1 to 3, characterized in that: When the battery power reaches the preset protection capacity threshold, after exiting the fast charge mode, the method further includes: The charging operation on the device to be charged is terminated.
7. The charging control method according to any one of claims 1 to 3, characterized in that: When the battery power reaches the preset protection capacity threshold, after exiting the fast charge mode, the method further includes: Switch to a non-fast charging mode to charge the device to be charged.
8. The charging control method according to any one of claims 1 to 3, characterized in that: Before periodically acquiring the charging voltage output to the device to be charged, the method further includes: When the device to be charged is connected, a sampling period for the charging voltage is configured.
9. A charging control device, characterized in that: Applied to a power adapter, the device comprises: A voltage acquisition module is used to periodically obtain the charging voltage output to the device to be charged; A power reduction detection module, used for judging whether the battery power of the device to be charged reaches a preset protection capacity threshold according to the charging voltage when the device to be charged is charged in a fast charging mode; the preset protection capacity threshold is greater than 0 and less than 100%; The charging protection module is used to exit the fast charging mode when the battery power reaches the preset protection capacity threshold.
10. A power adapter, characterized in that: It comprises a voltage detector and a processor which are communicatively connected, wherein the voltage detector is used to detect the charging voltage output to the device to be charged, and the processor is used to execute the steps of the charging control method according to any one of claims 1 to 8.
Citation Information
Cited By
Charging control method, apparatus, power adapter, storage medium and program product
WO2026184484A1