A method for dynamically switching charging modes and related equipment

By dynamically switching the charging mode of the charge pump charging module, combining monitoring the voltage and current of the battery and the charging module, the contradiction between charging and fast charging in the existing technology is solved, and an efficient and fast charging process is achieved.

CN113765178BActive Publication Date: 2025-04-29HUIZHOU TCL CLOUD INTERNET CORP TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110887394.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-03
Publication Date
2025-04-29
Estimated Expiration
2041-08-03

AI Technical Summary

Technical Problem

The prior art is difficult to realize fast charging while fully charging, and there is a lack of effective integration between charging modes.

Method used

By monitoring the input voltage of the battery and the input current of the charge pump charging module, when the input voltage reaches the preset voltage value and the input current reaches the first current threshold, the charging mode of the charge pump charging module is dynamically switched, and the second charging mode is switched to the first charging mode.

Benefits of technology

It realizes the charging capacity while achieving efficient charging, which improves charging efficiency and reduces the heat generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113765178B_ABST
    Figure CN113765178B_ABST
Patent Text Reader

Abstract

The present application discloses a method and related equipment for dynamically switching charging modes, in order to solve the problem of integrating several modes to achieve full charge and fast charging at the same time. The method includes: monitoring the input voltage of the battery and the input current of the charge pump charging module; when the input voltage reaches a preset voltage value and the input current reaches a first current threshold, the charge pump charging module is enabled and turned off, and the charging mode of the charge pump charging module is switched to the first charging mode, wherein the charge pump charging module is configured with the second charging mode before switching. The embodiment of the present application monitors the input voltage of the battery and the input current of the charge pump charging module to achieve timely switching between the first charging mode and the second charging mode, so that the charging process can achieve high efficiency and full charge at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of charging technology, and in particular to a method for dynamically switching charging modes and related equipment. Background Art

[0002] At present, there are several charging modes when using a charge pump to assist charging. Some charging modes support fast charging, but they cannot fully charge the battery. Some charging modes can fully charge the battery, but the charging speed is relatively poor. How to integrate several modes to achieve full charge and fast charging at the same time is the problem that this application will solve. Summary of the invention

[0003] The technical problem to be solved by the present application is to provide a method and related equipment for dynamically switching charging modes in view of the deficiencies of the prior art, so as to solve the problem of integrating several modes to achieve full charge and fast charging at the same time. In order to solve the above technical problem, the first aspect of the embodiment of the present application provides a method for dynamically switching charging modes, the method comprising:

[0004] Monitor the input voltage of the battery and the input current of the charge pump charging module;

[0005] When the input voltage reaches a preset voltage value and the input current reaches a first current threshold, the charge pump charging module is enabled and turned off, and the charging mode of the charge pump charging module is switched to the first charging mode, wherein the charge pump charging module is configured in the second charging mode before switching.

[0006] In one embodiment, in the first charging mode, the ratio of the input voltage of the charge pump charging module to the battery voltage is 2:2, and the ratio of the input current of the charge pump charging module to the battery input current is 1:1; in the second charging mode, the ratio of the input voltage of the charge pump charging module to the battery voltage is 4:2, and the ratio of the input current of the charge pump charging module to the battery input current is 1:2.

[0007] In one embodiment, switching the charging mode of the charge pump charging module to the first charging mode specifically includes:

[0008] Controlling the adapter corresponding to the battery to adjust its own output voltage, and monitoring whether the charge pump charging module is in an over-power protection state;

[0009] When the charge pump charging module is not in the over-power protection state, the charging mode of the charge pump charging module is switched to the first charging mode.

[0010] In one embodiment, the adjusted output voltage of the adapter is equal to the battery voltage of the battery.

[0011] In one embodiment, switching the charging mode of the charge pump charging module to the first charging mode further includes:

[0012] When the charge pump charging module is in the over-current protection state, the steps of repeatedly controlling the adapter corresponding to the battery to adjust its own output voltage and monitoring whether the charge pump charging module is in the over-current protection state are performed until the charge pump charging module is no longer in the over-current protection state.

[0013] In one embodiment, after switching the charging mode of the charge pump charging module to the first charging mode, the method further includes:

[0014] The charge pump charging module is controlled to be re-enabled, and the input current of the charge pump charging module is set to a second current threshold.

[0015] In one embodiment, the second current threshold is greater than the first current threshold.

[0016] A second aspect of an embodiment of the present application provides a device for dynamically switching a charging mode, the device for dynamically switching a charging mode comprising:

[0017] A monitoring module, used to monitor the input voltage and input current of the battery;

[0018] A switching module is used to enable and shut down the charge pump charging module and switch the charging mode of the charge pump charging module to the first charging mode when the input voltage reaches a preset voltage value and the input current reaches a first current threshold, wherein the charge pump charging module is configured with the second charging mode before switching.

[0019] A third aspect of an embodiment of the present application provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the configuration method of the split-screen application as described above.

[0020] A fourth aspect of the embodiments of the present application provides a terminal device, comprising: a processor, a memory, and a communication bus; the memory stores a computer-readable program that can be executed by the processor;

[0021] The communication bus realizes the connection and communication between the processor and the memory;

[0022] When the processor executes the computer-readable program, the steps in any of the above-described methods for configuring a split-screen application are implemented.

[0023] Beneficial effect: The embodiment of the present application monitors the input voltage of the battery and the input current of the charge pump charging module to achieve timely switching between the first charging mode and the second charging mode, so that the charging process can be fully charged while achieving high efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 A flow chart of a method for dynamically switching charging modes provided in the present application;

[0026] Figure 2 A table diagram of monitoring the input voltage of the battery and the input current of the charge pump charging module in a method for dynamically switching the charging mode provided by the present application;

[0027] Figure 3 A flowchart of switching the second charging mode to the first charging mode in a method for dynamically switching charging modes provided in the present application;

[0028] Figure 4 A schematic diagram of the structure of a device for dynamically switching charging modes provided in this application;

[0029] Figure 5 This is a schematic diagram of the structure of the terminal device provided in this application. DETAILED DESCRIPTION

[0030] The present application provides a method and related equipment for dynamically switching charging modes. To make the purpose, technical solution and effect of the present application clearer and more specific, the present application is further described in detail with reference to the accompanying drawings and examples. 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.

[0031] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0032] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.

[0033] It should be understood that the sequence numbers and sizes of the steps in this embodiment do not mean the order of execution. The execution order of each process is determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0034] After research, the inventor found that currently, there are several charging modes when using a charge pump to assist charging. Some charging modes support fast charging, but they cannot fully charge the battery. Some charging modes can fully charge the battery, but the charging speed is relatively poor. How to integrate several modes to achieve full charge and fast charging at the same time is the problem that this application will solve.

[0035] In order to solve the above problems, in an embodiment of the present application, the input voltage of the battery and the input current of the charge pump charging module are monitored. When the input voltage reaches a preset voltage value and the input current reaches a first current threshold, the charge pump charging module is enabled and turned off, and the charging mode of the charge pump charging module is switched to the first charging mode, wherein the charge pump charging module is configured with the second charging mode before switching. The embodiment of the present application realizes timely switching between the first charging mode and the second charging mode by monitoring the input voltage of the battery and the input current of the charge pump charging module, so that the charging process can be fully charged while achieving high efficiency.

[0036] The application content is further explained below through the description of embodiments in conjunction with the accompanying drawings.

[0037] like Figure 1 As shown, the method for dynamically switching charging modes provided in this embodiment specifically includes:

[0038] S100 , monitoring the input voltage of the battery and the input current of the charge pump charging module.

[0039] Specifically, the battery is a rechargeable battery that can be built into an electronic device, and the charge pump charging module can be configured in the functional module of the electronic device. The charge pump charging module is connected between the battery and the charging port of the electronic device, and the current input through the charging port flows into the battery after passing through the charge pump charging module to charge the battery, wherein the charge pump charging module is an inductorless DC-DC converter, which uses a capacitor as an energy storage element to perform voltage and current conversion. In one implementation, the input voltage of the battery is equal to the input voltage of the charge pump charging module, the input current of the battery is equal to the output current of the charge pump charging module, the input voltage of the charge pump charging module is equal to the output voltage of the adapter, and the input current of the charge pump charging module is equal to the output current of the adapter.

[0040] In one implementation of this embodiment, the charge pump charging module is configured with a first charging mode and a second charging module. In the first charging mode, the ratio of the input voltage of the charge pump charging module to the battery voltage is 2:2, and the ratio of the input current of the charge pump charging module to the battery current is 1:1; in the second charging mode, the ratio of the input voltage of the charge pump charging module to the battery voltage is 4:2, and the ratio of the input current of the charge pump charging module to the battery current is 1:2. For example, when the charge pump charging module is in the first charging mode and the battery voltage is 16V, the input power supply of the charge pump charging module is 16V, and correspondingly, the output voltage of the adapter is 16V; when the charge pump charging module is in the second charging mode and the battery voltage is 16V, the input power supply of the charge pump charging module is 32V, and correspondingly, the output voltage of the adapter is 32V.

[0041] In one implementation of this embodiment, when monitoring the input voltage of the battery and the input current of the charge pump charging module, the charge pump charging module is in the second charging mode, at which the input current is small, the line loss is low, the charging efficiency is higher and the heat generation is lower. However, the current of the PD protocol adapter can only be controlled to 1A at the minimum, and the current at the battery end is still 2A at this time, and the battery cannot reach a full state. Therefore, when the charge pump charging module is in the second charging mode, the input voltage of the battery and the input current of the charge pump charging module are monitored, so that when the input voltage of the battery and the input current of the charge pump charging module meet the preset requirements later, the charging mode of the charge pump charging module is automatically switched, that is, the second charging mode of the charge pump charging module is switched to the first charging mode. In the first charging mode, when the current value of the PD protocol adapter is 1A, the current at the battery end is 1A, so that the battery reaches a full state. In a typical implementation, the charge pump charging module can use a charge pump charging IC Ln8286, the first charging mode can be a bypass mode, and the second charging mode can be a switch mode.

[0042] S200. When the input voltage reaches a preset voltage value and the input current reaches a first current threshold, the charge pump charging module is enabled and turned off, and the charging mode of the charge pump charging module is switched to the first charging mode, wherein the charge pump charging module is configured to the second charging mode before switching.

[0043] Specifically, the preset voltage value and the first current threshold value can be pre-set and used as a limiting condition for limiting whether the charge pump charging module needs to switch the charging module, wherein the preset voltage value and the first current threshold value can be set according to actual needs. In an implementation of this embodiment, the preset voltage value can be set to 8.98V, and the first current threshold value can be set to the minimum output current of the adapter used to charge the battery, for example, 1A.

[0044] The charge pump charging module enable is responsible for controlling the input and output of the charge pump charging module signal. Turning off the charge pump charging module enable means that it is not responsible for controlling the input and output of the charge pump charging module signal, thereby blocking the normal operation of the charge pump charging module. In this step, in the process of switching the second charging mode to the first charging mode, since the input ratio of current and voltage between the battery and the charge pump charging module in the first charging mode and the second charging mode is different, and the charge pump charging module itself has a protection mechanism, when the first charging mode and the second charging mode are switched, the charge pump charging module will enter the standby mode in the working state and cannot continue to charge the battery end. Therefore, before switching, the normal operation of the charge pump charging module is blocked first.

[0045] In one implementation of this embodiment, in the first charging mode, the ratio of the input voltage of the charge pump charging module to the battery voltage is 2:2, and the ratio of the input current of the charge pump charging module to the battery input current is 1:1; in the second charging mode, the ratio of the input voltage of the charge pump charging module to the battery voltage is 4:2, and the ratio of the input current of the charge pump charging module to the battery input current is 1:2.

[0046] For example, in the first charging mode, the output voltage of the adapter can be set to 8.9V, the output current can be set to 1.75A, the input voltage of the charge pump charging module is equal to the output voltage of the adapter, which is 8.9V, the input current of the charge pump charging module is equal to the output current of the adapter, which is 1.75A, while the battery voltage is 8.9V and the battery input current is 1.75A; in the second charging mode, the output voltage of the adapter can be set to 8.9V, the output current can be set to 1.75A, the input voltage of the charge pump charging module is equal to the output voltage of the adapter, which is 8.9V, the input current of the charge pump charging module is equal to the output current of the adapter, which is 1.75A, while the battery voltage is 4.45V and the battery input current is 3.5A.

[0047] In an implementation of this embodiment, switching the charging mode of the charge pump charging module to the first charging mode specifically includes:

[0048] S201, controlling the adapter corresponding to the battery to adjust its own output voltage, and monitoring whether the charge pump charging module is in an over-power protection state.

[0049] Specifically, since the charge pump charging module is under the first charging module, the ratio of the battery voltage to the input voltage of the charge pump charging module is 1:1, and the input voltage of the charge pump charging module is equal to the output voltage of the adapter. Therefore, the ratio of the battery voltage to the input voltage of the charge pump charging module can be adjusted by controlling the output voltage of the adapter. In this embodiment, Figure 2As shown, when the battery in the second charging mode is just charged, a current value is input to the input current of the charge pump charging module, and then the value of the charge pump input current is adjusted by increasing the voltage of the adapter, thereby adjusting the value of the battery input current. A period of time is preset, and the input voltage of the charge pump charging module is increased every preset period of time, and the input voltage of the charge pump charging module is monitored in real time. In an implementation of this embodiment, the preset voltage value is 8.98V, and the first current threshold is 1A. By adjusting the output voltage of the adapter itself, the output voltage of the adjusted adapter is equal to the input voltage of the charge pump charging module, which is equal to the preset voltage value, and satisfies a condition that the charge pump charging module switches to the first charging mode. In this embodiment, the over-current protection refers to over-voltage protection. If the input voltage of the charge pump charging module is greater than the rated voltage, the charge pump charging module is in an over-voltage state at this time, and the input voltage of the charge pump charging module may cause damage to the battery. Therefore, it is necessary to monitor the input voltage of the charge pump charging module. When it is detected that the charge pump charging module is in an over-voltage state, a corresponding protection mechanism should be provided to prevent the battery from being damaged. Therefore, in the charge pump charging module of the present embodiment, there is a monitoring program for determining whether the charge pump charging module is in the over-power protection state. When the monitoring program determines that the charge pump charging module is in the over-power protection state, the state register of the charge pump charging module will display a state result mark, such as Figure 3 As shown, in the present embodiment, the status result of the status register is identified as vbus_ov, that is, when it is monitored that the status register has vbus_ov, it indicates that the charge pump charging module is in an over-power protection state. At this time, the charge pump charging module sends a control instruction to the adapter to control the adapter to adjust the output voltage; when it is monitored that the status register of the charge pump charging module does not have vbus_ov, that is, the charge pump charging module is not in an over-power protection state, then it is only necessary to monitor whether the battery voltage reaches the preset voltage value and whether the input current of the charge pump charging module is the first current threshold. When both are reached at the same time and the charge pump charging module is not in the over-power protection state, the second charging mode of the charge pump charging module is switched to the first charging mode.

[0050] In an implementation of this embodiment, the adjusted output voltage of the adapter is equal to the battery voltage of the battery.

[0051] Specifically, it can be known from the above that the purpose of adjusting the output voltage of the adapter mainly includes two aspects. One aspect is to prevent the input voltage of the charge pump charging module from overvoltage and causing damage to the battery. The other aspect is to convert the second charging mode of the charge pump charging module to the first charging mode of the charge pump charging module. In this step, the second charging mode of the charge pump charging module is converted to the first charging mode of the charge pump charging module. In the first charging mode, the ratio of the input voltage of the charge pump charging module to the battery voltage is 2:2. The input voltage of the charge pump charging module is equal to the output voltage of the adapter. Therefore, when the charging mode of the charge pump charging module is switched to the first charging mode, the output voltage of the adapter after adjustment should be equal to the battery voltage. The ratio is 2:2, that is, the output voltage of the adjusted adapter is equal to the battery voltage of the battery. It can be understood that when the second charging mode of the charge pump charging module is switched to the first charging mode, it is necessary to meet the battery voltage is a preset voltage value, the input current of the charge pump charging module is a first current threshold, and the charge pump charging module is not in an overvoltage protection state, so as to fully utilize the advantage of the high battery charging efficiency of the charge pump charging module in the second charging mode, and try to ensure that the charge pump charging module can no longer continue to charge in the second charging mode before switching the second charging mode of the charge pump charging module to the first charging mode to improve the charging efficiency as much as possible. Therefore, the output voltage of the adjusted adapter is equal to the preset voltage value of the battery voltage.

[0052] S202: When the charge pump charging module is not in an over-power protection state, switch the charging mode of the charge pump charging module to a first charging mode.

[0053] Specifically, when it is monitored that vbus_ov does not exist in the status register of the charge pump charging module, that is, the charge pump charging module is not in the overvoltage protection state, that is, the current input voltage of the charge pump charging module is less than or equal to the rated voltage, and will not cause damage to the battery. Therefore, there is no need to adjust the output voltage by controlling the adapter to control the input voltage of the charge pump charging module for overvoltage protection. The charge pump charging module can work normally, that is, the charge pump charging module is allowed to operate at any voltage not exceeding its own rated voltage, including switching the charging mode of the charge pump charging module to the first charging mode.

[0054] In an implementation of this embodiment, switching the charging mode of the charge pump charging module to the first charging mode further includes:

[0055] S203, when the charge pump charging module is in an over-current protection state, repeatedly controlling the adapter corresponding to the battery to adjust its own output voltage, and monitoring whether the charge pump charging module is in an over-current protection state, until the charge pump charging module is not in an over-current protection state.

[0056] Specifically, when the second charging mode of the charge pump charging module can no longer charge the battery and needs to be switched to the first charging mode, it is necessary to determine the output voltage of the adapter based on the battery voltage, and control the output voltage of the adapter so that the ratio of the input voltage of the charge pump charging module to the battery voltage conforms to the ratio of the input voltage of the charge pump charging module to the battery voltage in the first charging mode, so as to switch the charge pump charging module to the first charging mode. In the process of controlling the output voltage of the adapter, in order to prevent the charge pump charging module from being over-voltage and causing damage to the battery, it is necessary to monitor the status of the status register of the charge pump charging module in real time, that is, it is necessary to monitor in real time whether the status result identifier of the status register of the charge pump charging module contains vbus_ov. When the charge pump charging module is in an overvoltage protection state, it is necessary to reduce the input voltage of the charge pump charging module so that the charge pump input voltage is less than or equal to its own rated voltage, that is, to reduce the output voltage of the adapter to ensure that the charge pump charging module is not in an overvoltage protection state, thereby ensuring the normal operation of the battery.

[0057] In an implementation of this embodiment, after switching the charging mode of the charge pump charging module to the first charging mode, the method further includes:

[0058] S300 , controlling the charge pump charging module to be re-enabled, and setting the input current of the charge pump charging module to a second current threshold.

[0059] Specifically, when the battery voltage is a preset voltage value, the input voltage of the charge pump charging module is a first current threshold, and the charge pump charging module is not in an overvoltage protection state, the normal operation of the charge pump charging module is restored, and the second charging mode of the charge pump charging module is switched to the first charging mode. Before the second charging mode is converted to the first charging mode, the input current value of the charge pump charging module in the second charging mode is finally the first current threshold, that is, it reaches the value of the minimum input current of the charge pump charging module. At this time, the battery input current is equal to twice the first current threshold. For example, the first current threshold of the charge pump charging module in the second charging mode is 1A, and the battery current in the second charging mode is equal to 2A. When the battery in the second charging mode is charged to a certain amount of electricity, the battery input current at the battery end is too large at this time, so that the battery cannot continue to be charged to 100%. Therefore, the second charging mode of the charge pump charging module needs to be converted to the first charging mode. The ratio of the input current of the charge pump charging module to the battery input current in the first charging mode is 1:1. When the input current of the charge pump charging module remains unchanged, the battery input current value in the first charging mode is only half of the battery input current value in the second charging mode. Therefore, the input current of the battery is adjusted by adjusting the input current of the charge pump charging module, so that the input current of the battery in the first charging mode is less than twice the first current threshold, that is, the battery input current is made to be the second current threshold, so that the battery can continue to be charged. For example, the first current threshold of the charge pump charging module in the second charging mode is 1A, and the battery current in the second charging mode is equal to 2A. When the second charging module is switched to the first charging module, the input current of the charge pump charging module is adjusted to 1.45A. At this time, the input current of the battery is also 1.45A. In this state, it is sufficient to charge the battery to 100%.

[0060] In an implementation of this embodiment, the second current threshold is greater than the first current threshold.

[0061] Specifically, the first current threshold is the value of the minimum input current of the charge pump charging module, and the second current threshold is the value of the input current for normal operation of the charge pump charging module in the first charging mode. When the charge pump charging module is converted from the second charging mode to the first charging mode, the first current threshold of the charge pump charging module is ultimately equal to the battery input current, the input voltage of the charge pump charging module is equal to the battery input voltage, and the output voltage of the charge pump charging module itself does not form a voltage difference with the battery. Therefore, it is necessary to make the input current of the charge pump charging module greater than the battery current, that is, the second current threshold is greater than the first current threshold, so as to form a voltage difference, and then form a charging current.

[0062] The present invention also provides a device for dynamically switching charging modes, such as Figure 4As shown, it includes:

[0063] A monitoring module, used for monitoring the input voltage of the battery and the input current of the charge pump charging module;

[0064] A switching module is used to enable and shut down the charge pump charging module and switch the charging mode of the charge pump charging module to the first charging mode when the input voltage reaches a preset voltage value and the input current reaches a first current threshold, wherein the charge pump charging module is configured with the second charging mode before switching.

[0065] Based on the above-mentioned method of dynamically switching charging modes, this embodiment provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps in the configuration method of the split-screen application as described in the above embodiment.

[0066] Based on the above method for dynamically switching charging modes, the present application also provides a terminal device, such as Figure 5 As shown, it includes at least one processor (processor) 20; display screen 21; and memory (memory) 22, and may also include a communications interface (Communications Interface) 23 and a bus 24. Among them, the processor 20, the display screen 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a preset user guide interface in the initial setting mode. The communication interface 23 can transmit information. The processor 20 can call the logic instructions in the memory 22 to execute the method in the above embodiment.

[0067] In addition, the logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0068] The memory 22 is a computer-readable storage medium that can be configured to store software programs, computer executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 22, that is, implementing the methods in the above embodiments.

[0069] The memory 22 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 22 may include a high-speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, may also be a transient storage medium.

[0070] In addition, the specific process of loading and executing the plurality of instructions in the storage medium and the processor in the mobile terminal has been described in detail in the method above, and will not be described here one by one.

[0071] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for dynamically switching charging modes, characterized in that: The method comprises: Monitor the input voltage of the battery and the input current of the charge pump charging module; When the input voltage reaches a preset voltage value and the input current reaches a first current threshold, the charge pump charging module is enabled and turned off, and the charging mode of the charge pump charging module is switched to the first charging mode, wherein the charge pump charging module is configured in the second charging mode before the switching; The step of switching the charging mode of the charge pump charging module to the first charging mode specifically includes: Controlling the adapter corresponding to the battery to adjust its own output voltage, and monitoring whether the charge pump charging module is in an over-power protection state; When the charge pump charging module is not in the over-power protection state, switching the charging mode of the charge pump charging module to the first charging mode; When the charge pump charging module is in an over-current protection state, repeatedly controlling the adapter corresponding to the battery to adjust its own output voltage and monitoring whether the charge pump charging module is in an over-current protection state until the charge pump charging module is not in an over-current protection state; The step of controlling the adapter corresponding to the battery to adjust its output voltage includes: In the second charging mode, a period of time is preset, and the input voltage of the charge pump charging module is increased every preset period of time, and the input voltage of the charge pump charging module is monitored in real time, and the input voltage of the charge pump charging module is equal to the output voltage of the adapter; The monitoring whether the charge pump charging module is in an over-power protection state includes: The charge pump charging module memory is provided with a monitoring program for determining whether the charge pump charging module is in over-power protection; When the monitoring program determines that the charge pump charging module is in the over-power protection state, the state register of the charge pump charging module will display a state result identifier.

2. The method for dynamically switching charging modes according to claim 1, characterized in that: In the first charging mode, the ratio of the input voltage of the charge pump charging module to the battery voltage is 2:2, and the ratio of the input current of the charge pump charging module to the battery current is 1:1; In the second charging mode, the ratio of the input voltage of the charge pump charging module to the battery voltage is 4:2, and the ratio of the input current of the charge pump charging module to the battery current is 1:

2.

3. The method for dynamically switching charging modes according to claim 1, characterized in that: The adjusted output voltage of the adapter is equal to the battery voltage of the battery.

4. The method for dynamically switching charging modes according to claim 1, characterized in that: After switching the charging mode of the charge pump charging module to the first charging mode, the method further includes: The charge pump charging module is controlled to be re-enabled, and the input current of the charge pump charging module is set to a second current threshold.

5. The method for dynamically switching charging modes according to claim 4, characterized in that: The second current threshold is greater than the first current threshold.

6. A device for dynamically switching charging modes, characterized in that: The device for dynamically switching the charging mode comprises: A monitoring module, used to monitor the input voltage and input current of the battery; A switching module, configured to enable and disable the charge pump charging module and switch the charging mode of the charge pump charging module to the first charging mode when the input voltage reaches a preset voltage value and the input current reaches a first current threshold, wherein the charge pump charging module is configured in the second charging mode before the switching; The switching module is specifically used for: Controlling the adapter corresponding to the battery to adjust its own output voltage, and monitoring whether the charge pump charging module is in an over-power protection state; When the charge pump charging module is not in the over-power protection state, switching the charging mode of the charge pump charging module to the first charging mode; When the charge pump charging module is in an over-current protection state, repeatedly controlling the adapter corresponding to the battery to adjust its own output voltage and monitoring whether the charge pump charging module is in an over-current protection state until the charge pump charging module is not in an over-current protection state; The step of controlling the adapter corresponding to the battery to adjust its output voltage includes: In the second charging mode, a period of time is preset, and the input voltage of the charge pump charging module is increased every preset period of time, and the input voltage of the charge pump charging module is monitored in real time, and the input voltage of the charge pump charging module is equal to the output voltage of the adapter; The monitoring whether the charge pump charging module is in an over-power protection state includes: The charge pump charging module memory is provided with a monitoring program for determining whether the charge pump charging module is in over-power protection; When the monitoring program determines that the charge pump charging module is in the over-power protection state, the state register of the charge pump charging module will display a state result identifier.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the method for dynamically switching charging modes as described in any one of claims 1-6.

8. A terminal device, characterized in that: include: Processor, memory and communication bus; The memory stores a computer-readable program executable by the processor; The communication bus realizes the connection and communication between the processor and the memory; When the processor executes the computer-readable program, the steps in the method for dynamically switching charging modes as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Charging system and method

    CN106300539A

  • Charging method, charging device and terminal equipment

    CN108233460A