Charge pump control method and device, electronic equipment and storage medium

By adaptively adjusting the operating frequency of the charge pump to reduce energy loss, the problem of large charge pump energy loss is solved, the charging efficiency and current stability are improved, and faster and safer battery charging is achieved.

CN120728772APending Publication Date: 2025-09-30BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410370901.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2025-09-30

AI Technical Summary

Technical Problem

The charge pump in the prior art has a large energy loss, which affects the charging efficiency, and the fixed switching frequency causes the charging current to be unstable.

Method used

By adaptively adjusting the operating frequency of the charge pump, the desired operating frequency with the minimum energy loss value is obtained, and the target frequency is switched according to the current frequency to ensure that the output current is the target current, thereby reducing energy loss and improving conversion efficiency.

Benefits of technology

It reduces the energy loss of the charge pump, improves the charging efficiency, solves the problem of unstable charging current under fixed switching frequency, and improves the battery charging speed and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120728772A_ABST
    Figure CN120728772A_ABST
Patent Text Reader

Abstract

The invention provides a charge pump control method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring an expected working frequency of a charge pump when an energy loss value is minimum; determining a target working frequency of the charge pump in the next control period according to the current working frequency and the expected working frequency of the charge pump; and controlling the charge pump to be switched to work at the target working frequency, wherein the output current of the charge pump is the target current. According to the embodiment, the working frequency of the charge pump can be adjusted to be the target working frequency, the energy loss of the charge pump is reduced, the energy conversion rate of the charge pump can be improved, and the charging efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of control technology, and in particular to a charge pump control method, device, electronic device, and storage medium. Background Art

[0002] Electronic devices typically use a charge pump to quickly charge batteries. The charge pump is typically implemented using a switched capacitor charging chip.

[0003] In practical applications, the efficiency of a switched capacitor circuit of a charge pump is related to the switching frequency. In related technologies, the switched capacitor circuit operates within a fixed frequency range, thereby ensuring that the energy loss of the charge pump is small.

[0004] However, the solution of using a fixed switching frequency in the related art will cause a large energy loss of the charge pump, affecting the charging efficiency. Summary of the Invention

[0005] The present disclosure provides a charge pump control method, device, electronic device and storage medium to solve the above technical problems.

[0006] According to a first aspect of the present disclosure, a charge pump control method is provided, comprising:

[0007] Obtain the expected operating frequency of the charge pump when the energy loss value is minimum;

[0008] determining a target operating frequency of the charge pump in a next control cycle according to the current operating frequency of the charge pump and the expected operating frequency;

[0009] The charge pump is controlled to switch to the target operating frequency and the output current of the charge pump is the target current.

[0010] Optionally, obtaining an expected operating frequency of the charge pump when the energy loss value is minimum includes:

[0011] obtaining a target current of the charge pump;

[0012] obtaining a conversion mode ratio of the charge pump according to the target current;

[0013] An expected operating frequency of the charge pump is obtained according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump; and an energy loss value of the charge pump is minimized at the expected operating frequency.

[0014] Optionally, obtaining a target current of the charge pump includes:

[0015] determining a first charging current of the charge pump according to a current temperature corresponding to the charge pump;

[0016] determining a second charging current of the charge pump according to a charging safety strategy of the charge pump;

[0017] determining a third charging current of the charge pump according to a current charging stage of the charge pump;

[0018] A minimum value among the first charging current, the second charging current, and the third charging current is determined as a target current of the charge pump.

[0019] Optionally, obtaining a conversion mode ratio of the charge pump according to the target current includes:

[0020] Obtaining the current charging current and the maximum output current of the external charger;

[0021] Obtaining conversion efficiency values ​​of the charge pump when operating respectively at the current charging current, the target current, and the maximum output current of the external charger to obtain multiple conversion efficiency values;

[0022] According to a preset correspondence between the conversion effect value and the conversion mode ratio, a conversion mode ratio corresponding to a maximum value among the plurality of conversion efficiency values ​​is determined as the conversion mode ratio of the charge pump.

[0023] Optionally, obtaining a desired operating frequency of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump includes:

[0024] Obtaining an energy loss value of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, to obtain an energy loss value corresponding to each candidate switching frequency;

[0025] Obtaining the minimum value among multiple energy loss values;

[0026] A candidate switching frequency corresponding to the minimum value of the energy loss value is determined as the expected operating frequency of the charge pump.

[0027] Optionally, acquiring the energy loss value of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, and obtaining the energy loss value corresponding to each candidate switching frequency includes:

[0028] Determining the conduction loss value corresponding to each candidate switching frequency according to a preset correspondence between the candidate switching frequencies and the conduction loss value;

[0029] Obtaining a first product of the conversion mode ratio, each candidate switching frequency, and a preset switching influencing factor as a switching loss value when the charge pump operates at each candidate switching frequency;

[0030] Obtaining a second product of the conversion mode ratio, the target current, and a preset gate loss influencing factor as a gate loss value when the charge pump operates at each candidate switching frequency;

[0031] The accumulated values ​​of the conduction loss value, the switching loss value, and the gate loss value when the charge pump operates at each candidate switching frequency are obtained as the energy loss value corresponding to each candidate switching frequency.

[0032] Optionally, determining a target operating frequency of the charge pump in a next control cycle according to the current operating frequency of the charge pump and the expected operating frequency includes:

[0033] Comparing the current operating frequency and the expected operating frequency to see whether they are equal;

[0034] In response to the current operating frequency being equal to the expected operating frequency, determining the current operating frequency or the expected operating frequency as the target operating frequency of the next control cycle;

[0035] In response to the current operating frequency being unequal to the expected operating frequency, the expected operating frequency is determined as the target operating frequency of the next control cycle.

[0036] According to a second aspect of the present disclosure, there is provided a charge pump control device, comprising:

[0037] An expected frequency acquisition module is used to obtain an expected operating frequency of the charge pump when the energy loss value is minimum;

[0038] a target frequency acquisition module, configured to determine a target operating frequency of the charge pump in a next control cycle according to the current operating frequency of the charge pump and the expected operating frequency;

[0039] The target frequency switching module is used to control the charge pump to switch to the target operating frequency and the output current of the charge pump is the target current.

[0040] Optionally, the expected frequency acquisition module includes:

[0041] A target current acquisition submodule, configured to acquire a target current of the charge pump;

[0042] a conversion mode ratio acquisition submodule, configured to acquire a conversion mode ratio of the charge pump according to the target current;

[0043] The expected frequency acquisition submodule is used to obtain the expected operating frequency of the charge pump according to the target current, the conversion mode ratio and each candidate switching frequency of the charge pump; the energy loss value of the charge pump is minimized at the expected operating frequency.

[0044] Optionally, the target current acquisition submodule includes:

[0045] a first current determining unit, configured to determine a first charging current of the charge pump according to a current temperature corresponding to the charge pump;

[0046] a second current determining unit, configured to determine a second charging current of the charge pump according to a charging safety strategy of the charge pump;

[0047] a third current determining unit, configured to determine a third charging current of the charge pump according to a current charging stage of the charge pump;

[0048] The target current determining unit is configured to determine a minimum value among the first charging current, the second charging current, and the third charging current as a target current of the charge pump.

[0049] Optionally, the conversion mode ratio acquisition submodule includes:

[0050] a maximum current acquisition unit, configured to acquire the current charging current and the maximum output current of the external charger;

[0051] a conversion efficiency value obtaining unit, configured to obtain conversion efficiency values ​​of the charge pump when operating at the current charging current, the target current, and the maximum output current of the external charger, respectively, to obtain a plurality of conversion efficiency values;

[0052] The conversion mode ratio determining unit is configured to determine, according to a preset correspondence between the conversion effect value and the conversion mode ratio, a conversion mode ratio corresponding to a maximum value among the plurality of conversion efficiency values ​​as the conversion mode ratio of the charge pump.

[0053] Optionally, the expected frequency acquisition submodule includes:

[0054] an energy loss value acquiring unit, configured to acquire an energy loss value of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, and obtain an energy loss value corresponding to each candidate switching frequency;

[0055] A minimum loss value obtaining unit, used to obtain a minimum value among multiple energy loss values;

[0056] The expected frequency determination unit is configured to determine a candidate switching frequency corresponding to the minimum value of the energy loss value as the expected operating frequency of the charge pump.

[0057] Optionally, the energy loss value acquiring unit includes:

[0058] a conduction loss determination subunit, configured to determine the conduction loss value corresponding to each candidate switching frequency according to a preset correspondence between the candidate switching frequencies and the conduction loss values;

[0059] a switching loss determination subunit, configured to obtain a first product of the conversion mode ratio, each candidate switching frequency, and a preset switching influencing factor as a switching loss value when the charge pump operates at each candidate switching frequency;

[0060] a gate loss determination subunit, configured to obtain a second product of the conversion mode ratio, the target current, and a preset gate loss influencing factor as a gate loss value when the charge pump operates at each candidate switching frequency;

[0061] The energy loss value acquisition subunit is used to obtain the accumulated value of the conduction loss value, the switching loss value and the gate loss value when the charge pump operates at each candidate switching frequency as the energy loss value corresponding to each candidate switching frequency.

[0062] Optionally, the target frequency acquisition module includes:

[0063] An operating frequency comparison submodule, configured to compare the current operating frequency with the expected operating frequency to see whether they are equal;

[0064] a target frequency determination submodule, configured to, in response to the current operating frequency being equal to the expected operating frequency, determine the current operating frequency or the expected operating frequency as the target operating frequency of the next control cycle;

[0065] The target frequency determination submodule is further configured to, in response to the current operating frequency being unequal to the expected operating frequency, determine the expected operating frequency as the target operating frequency of the next control cycle.

[0066] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0067] charge pumps, processors, and memories;

[0068] The memory is used to store a computer program executable by the processor;

[0069] The processor is configured to execute the computer program in the memory to implement the method as described in any one of the first aspects.

[0070] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which, when an executable computer program in the storage medium is executed by a processor, can implement the method described in any one of the first aspects.

[0071] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:

[0072] The charge pump control method provided in this embodiment can obtain the desired operating frequency of the charge pump when the energy loss value is minimized; then, based on the current operating frequency of the charge pump and the desired operating frequency, determine the target operating frequency of the charge pump for the next control cycle; and then control the charge pump to switch to the target operating frequency and output current of the charge pump to the target current. In this way, this embodiment can adjust the operating frequency of the charge pump to the target operating frequency, reduce the energy loss of the charge pump, improve the energy conversion rate of the charge pump, and thus improve charging efficiency.

[0073] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 This is a block diagram of an electronic device according to an embodiment of the present disclosure.

[0075] Figure 2 This is a flow chart of a charge pump control method according to an embodiment of the present disclosure.

[0076] Figure 3 This is a flow chart of obtaining a desired operating frequency according to an embodiment of the present disclosure.

[0077] Figure 4 The present invention provides a flowchart for obtaining a conversion mode ratio according to an embodiment of the present invention.

[0078] Figure 5 FIG. 4 is a schematic diagram of a conversion mode ratio curve according to an embodiment of the present disclosure.

[0079] Figure 6 This is a flow chart of obtaining a desired operating frequency according to an embodiment of the present disclosure.

[0080] Figure 7 This is a flow chart of a charge pump control method according to an embodiment of the present disclosure.

[0081] Figure 8 FIG. 4 is an equivalent circuit diagram of a charge pump according to an embodiment of the present disclosure.

[0082] Figure 9 Schematic diagram of the corresponding relationship between switching frequency and conduction loss value according to an embodiment of the present disclosure.

[0083] Figure 10 This is a block diagram of a data transmission device according to an embodiment of the present disclosure.

[0084] Figure 11 This is a block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0085] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0086] To address the aforementioned technical issues, the present disclosure provides a charge pump control method, apparatus, electronic device, and storage medium. The inventive concept is to adaptively adjust the charge pump's operating frequency to minimize the charge pump's energy loss. This improves the charge pump's conversion efficiency, reduces the charge pump's temperature rise, and improves battery charging efficiency. The subsequent embodiments describe the charge pump control method, using the battery charging scenario of an electronic device as an example. The processor of the electronic device can execute the aforementioned charge pump control method.

[0087] Figure 1 FIG1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Figure 1 An electronic device 200 includes a processor 11, a charge pump 12, and a battery 13. The charge pump 12 is electrically connected to the processor 11, and the charge pump 12 is electrically connected to the battery 13. When the charger 100 is electrically connected to the electronic device 200, the charger 100 can be electrically connected to the processor 11 and the charge pump 12 respectively.

[0088] In one example, the charger 100 may include a charger, a power bank, an electronic device, a personal computer, or other energy storage device. If it can provide energy to the electronic device, the corresponding solution falls within the protection scope of this disclosure.

[0089] When it is detected that the charger is connected to the electronic device, the processor 11 may execute a charge pump control method. Figure 2 Flowchart of a charge pump control method according to an embodiment of the present disclosure. Figure 2 , a charge pump control method, including steps 21 to 23.

[0090] In step 21 , the expected operating frequency of the charge pump when the energy loss value is minimum is obtained.

[0091] In this embodiment, the processor can obtain the expected operating frequency of the charge pump when the energy loss value is the smallest, see Figure 3 , including steps 31 to 33.

[0092] In step 31 , a target current of the charge pump is obtained.

[0093] In this step, the processor may obtain a target current of the charge pump, where the target current refers to the output current of the charge pump, or the input current of the battery.

[0094] In one example, the processor can obtain the current temperature corresponding to the charge pump. In one example, the current temperature can refer to the temperature at the location of the charge pump, or the current temperature of the battery; the temperature inside the electronic device; or a weighted cumulative value of the above temperatures. The current temperature can be set according to the specific scenario, and the corresponding solution falls within the scope of protection of this disclosure.

[0095] The electronic device stores a preset temperature control strategy, which includes an upper temperature limit, a lower temperature limit, and the allowable charging current between the lower temperature limit and the upper temperature limit. The processor can determine the temperature range in which the current temperature falls and then use the maximum allowable charging current in that temperature range as the charging current corresponding to the current temperature, which will be referred to as the first charging current for clarity. This example ensures that the determined target current meets the temperature control strategy, avoiding triggering temperature control warnings and other situations.

[0096] In one example, the electronic device can store a charging safety policy. The processor can obtain the maximum charging current permitted by the charging safety policy as the charging current of the second charge pump, hereinafter referred to as the second charging current for clarity. This ensures that the determined target current satisfies the temperature control policy, avoiding triggering temperature control warnings and other situations.

[0097] In one example, an electronic device stores a charge pump charging control strategy, which may include at least one charging phase, such as a constant voltage charging phase (CV) and / or a constant current charging phase (CC). The processor may obtain the charging current (e.g., the maximum charging current) during the current charging phase as the charge pump charging current, which will be referred to as the third charging current for clarity. This example ensures that the determined target current meets the requirements of the charging phase.

[0098] In this step, the processor may determine the minimum value of the first charging current, the second charging current, and the third charging current as the target current of the charge pump. In other words, the target current is the maximum charging current that satisfies the temperature control strategy, the charging safety strategy, and the charging control strategy.

[0099] It should be noted that when the temperature control strategy, charging safety strategy and charging control strategy are set in the electronic device in the example of this step, the strategies can be increased or decreased according to the specific scenario in actual application. As long as the electronic device can be charged safely and quickly, the corresponding scheme falls within the protection scope of this disclosure.

[0100] In step 32 , a conversion mode ratio of the charge pump is obtained according to the target current.

[0101] In this step, the processor can obtain the conversion mode ratio of the charge pump according to the target current, see Figure 4 , including steps 41 to 43.

[0102] In step 41 , the current charging current and the maximum output current of the external charger are obtained.

[0103] In one example, the processor can obtain the current charging current, which can be understood as the output current of the charge pump in the current control cycle, that is, the target current of the current control cycle, and the target current obtained in step 31 is the output current of the charge pump during the next control cycle.

[0104] In one example, the processor may communicate with an external charger to obtain the maximum output current of the charger.

[0105] In step 42 , conversion efficiency values ​​of the charge pump when operating at the current charging current, the target current, and the maximum output current of the external charger are obtained to obtain a plurality of conversion efficiency values.

[0106] In one example, a charge pump conversion mode ratio curve is stored in the electronic device. Figure 5 The horizontal axis of the conversion mode ratio curve is the charging current, and the vertical axis is the conversion efficiency value and the effect curve at different conversion mode ratios. Taking the charge pump including three charging modes as an example, when the charge pump's charging mode is 1:1, its conversion mode ratio M is equal to 1; when the charge pump's charging mode is 2:1, its conversion mode ratio M is equal to 2; when the charge pump's charging mode is 4:1, its conversion mode ratio M is equal to 4. It is understandable that the charge pump's charging modes can be added or deleted according to specific scenarios. If different conversion mode ratios can be achieved, the corresponding solution falls within the scope of protection of this disclosure.

[0107] In one example, the processor may obtain a maximum value among the current charging current, the target current, and the maximum output current of the charger.

[0108] In one example, candidate operating frequencies supported by the charge pump are shown in Table 1.

[0109] Table 1: Some candidate operating frequencies supported by the charge pump

[0110] F00=215kHz F08=390kHz F01=240kHz F09=410kHz F02=265kHz F10=435kHz F03=290kHz F11=455kHz F04=310kHz F12=495kHz F05=330kHz F13=515kHz F06=355kHz F14=535kHz F07=380kHz F15=575kHz

[0111] Based on the candidate operating frequencies, the charge pump's conduction loss values ​​at each candidate operating frequency can be pre-tested and determined. A corresponding relationship between the candidate switching frequencies and the conduction loss values ​​can then be established. This relationship can then be pre-stored within the electronic device.

[0112] In this example, based on the above preset correspondence between candidate switching frequencies and conduction loss values, the electronic device can obtain the conversion efficiency values ​​corresponding to each curve under the current charging current. Figure 5 , the electronic device can obtain the first conversion efficiency value (a total of 3 values) of the current charging current when the curves M=1, M=2 and M=4.

[0113] In this example, based on the above preset correspondence between candidate switching frequencies and conduction loss values, the electronic device can obtain the conversion efficiency values ​​corresponding to each curve under the target current. Figure 5 , the electronic device can obtain the second conversion efficiency values ​​(a total of 3 values) of the target current when the curves M=1, M=2 and M=4.

[0114] In this example, based on the above preset correspondence between candidate switching frequencies and conduction loss values, the electronic device can obtain the conversion efficiency values ​​corresponding to each curve at the maximum output current of the charger. Figure 5 , the electronic device can obtain the third conversion efficiency value (a total of 3 values) of the maximum output current of the charger when the curves M=1, M=2 and M=4.

[0115] In this example, the processor can obtain multiple conversion effect values. Figure 5 In the case of the three curves shown, the processor can obtain 9 conversion effect values.

[0116] In step 43 , according to a preset correspondence between conversion effect values ​​and conversion mode ratios, a conversion mode ratio corresponding to a maximum value among the plurality of conversion efficiency values ​​is determined as the conversion mode ratio of the charge pump.

[0117] In this step, the processor can compare multiple conversion efficiency values ​​to obtain the maximum conversion efficiency value. Then, according to the corresponding relationship between the preset conversion effect value and the conversion mode ratio, Figure 5 As shown in the curve, the processor may use the conversion mode ratio corresponding to the maximum conversion efficiency value as the conversion mode ratio of the charge pump.

[0118] It can be understood that, by determining the conversion mode ratio in step 32 , the conversion efficiency can be ensured to be high when the charge pump outputs the target current.

[0119] In step 33, the expected operating frequency of the charge pump is obtained according to the target current, the conversion mode ratio and each candidate switching frequency of the charge pump; the energy loss value of the charge pump is minimized at the expected operating frequency.

[0120] In one example, the processor may obtain the desired operating frequency of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, see Figure 6 , including steps 61 to 63.

[0121] In step 61 , the energy loss value of the charge pump is acquired according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, so as to obtain the energy loss value corresponding to each candidate switching frequency.

[0122] In one example, the processor may obtain the energy loss value of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, to obtain the energy loss value corresponding to each candidate switching frequency.

[0123] First, the processor can determine the conduction loss value corresponding to each candidate switching frequency based on a preset correspondence between the candidate switching frequencies and the conduction loss value. The processor can obtain a first product of the conversion mode ratio, each candidate switching frequency, and a preset switching influence factor as the switching loss value when the charge pump operates at each candidate switching frequency. The processor can also obtain a second product of the conversion mode ratio, the target current, and a preset gate loss influence factor as the gate loss value when the charge pump operates at each candidate switching frequency.

[0124] Then, the processor may obtain the accumulated value of the conduction loss value, the switching loss value, and the gate loss value when the charge pump operates at each candidate switching frequency as the energy loss value corresponding to each candidate switching frequency.

[0125] The energy loss value corresponding to each candidate switching frequency can be expressed using formula (1).

[0126] Loss=Loss conduction +Loss switch +Loss gate ; (1)

[0127] In formula (1), Loss conduction Indicates the conduction loss value, Loss switch Indicates the switching loss value, Loss gate Represents the gate loss value, and Loss represents the total energy loss value.

[0128] Taking a 4:1 charge pump as an example, its equivalent circuit is as follows Figure 7 shown.

[0129] The charge pump can be equivalent to a DC transformer. The transformation ratio of the DC transformer is the conversion mode ratio M. The output resistance R0 represents the energy loss value of the conversion process. Therefore, it is necessary to calculate the equivalent impedance of the output resistance R0 at different switching frequencies, as shown in Equations (2) and (3).

[0130]

[0131] R FSL =2*R on ; (3)

[0132] In formula (2) and formula (3), R SSL It represents the equivalent impedance of the output resistor R0 when the charge pump operates at a lower operating frequency among the candidate operating frequencies, R FSL It represents the equivalent impedance of the output resistor R0 when the charge pump operates at a higher operating frequency among the candidate operating frequencies, R on Indicates the equivalent input impedance.

[0133] Based on the above equivalent impedance, the corresponding relationship between output impedance and switching frequency, that is, the corresponding relationship between candidate switching frequency and conduction loss value, can be obtained, such as Figure 8 shown.

[0134] See also Figure 8 It can be seen that the relationship between the conduction loss value and the switching frequency is Loss conduction =X(f), the conduction loss value can be obtained by looking up the corresponding relationship when the candidate operating frequency is known.

[0135] Based on Equation (1), the switching loss is positively correlated with the switching frequency. The higher the charge pump's switching frequency, the greater the switching loss. The conversion mode ratio M also affects the switching loss. A larger conversion mode ratio M requires more switching devices, which increases the switching loss. Furthermore, the gate loss is positively correlated with the current. A larger charge current increases the gate loss. The conversion mode ratio M also affects the gate loss. A larger conversion mode ratio M requires more switching devices, which increases the gate loss.

[0136] In one example, the energy loss value corresponding to each candidate switching frequency can be expressed using formula (4).

[0137] Loss=X(f)+α*M*f+β*M*current; (4)

[0138] In formula (4), Loss represents the total energy loss value of the charge pump, X(f) represents the conduction loss value, α*M*f represents the switching loss value, β*M*current represents the gate loss value, M represents the conversion mode ratio, f represents the operating frequency of the charge pump, current represents the target current, α represents the preset switching influence factor, and β represents the preset gate loss influence factor.

[0139] It should also be noted that the above formula (4) can be used to construct an energy loss model and pre-stored in the electronic device. After obtaining the target current, conversion mode ratio, and each candidate switching frequency, the processor can input them into the above energy loss model to obtain the energy loss value corresponding to each candidate switching frequency, which can improve the calculation speed.

[0140] In step 62 , a minimum value among a plurality of energy loss values ​​is obtained.

[0141] In step 63 , a candidate switching frequency corresponding to the minimum value of the energy loss value is determined as the desired operating frequency of the charge pump.

[0142] It is understandable that, by obtaining the desired operating frequency of the charge pump in step 33 , the energy loss value when the charge pump operates at the desired operating frequency and outputs the target current can be minimized.

[0143] In step 22 , a target operating frequency of the charge pump in a next control cycle is determined according to the current operating frequency of the charge pump and the expected operating frequency.

[0144] In one example, the processor may determine the target operating frequency of the charge pump in the next control cycle based on the current operating frequency of the charge pump and the expected operating frequency. For example, the processor may compare whether the current operating frequency and the expected operating frequency are equal.

[0145] When the current operating frequency is equal to the expected operating frequency, the processor may determine the current operating frequency or the expected operating frequency as the target operating frequency of the next control cycle.

[0146] When the current operating frequency is not equal to the expected operating frequency, the processor may determine the expected operating frequency as the target operating frequency of the next control cycle.

[0147] In another example, the processor may directly use the determined desired operating frequency as the target operating frequency.

[0148] In step 23 , the charge pump is controlled to switch to the target operating frequency and the output current of the charge pump is the target current.

[0149] In this step, the processor may control the charge pump to switch to the target operating frequency and control the charge pump output current to the target current. For example, the processor may control the charge pump to switch to an operating state with the target operating frequency. The processor may then communicate with the charger, requesting the charger to adjust the output current, i.e., the charge pump input current, to achieve the effect of controlling the charge pump output current to the target current.

[0150] Thus, the charge pump control method provided by this embodiment can obtain the desired operating frequency of the charge pump when the energy loss value is minimized; then, based on the current operating frequency of the charge pump and the desired operating frequency, determine the target operating frequency of the charge pump for the next control cycle; and then control the charge pump to switch to the target operating frequency and output current of the charge pump to the target current. In this way, this embodiment can adjust the operating frequency of the charge pump to the target operating frequency, reduce the energy loss of the charge pump, improve the energy conversion rate of the charge pump, and thus improve charging efficiency.

[0151] based on Figure 9 The process shown describes the battery charging process of the electronic device 200, including:

[0152] When a charger is detected, the processor can obtain the temperature control strategy, charging safety strategy, and charging stage parameters, vote on them, and use the minimum current value voted as the target current. In other words, the processor can obtain the charging current corresponding to the temperature control strategy, charging safety strategy, and charging stage parameters (i.e., the first charging current, the second charging current, and the third charging current mentioned above), and determine the minimum of the three as the target current.

[0153] Then, the processor may determine the conversion mode ratio M according to the target current current, the charging stage state, and the maximum output current of the charger.

[0154] Afterwards, the processor may calculate the energy loss value of the charge pump based on the target current, the conversion mode ratio, and each candidate operating frequency, and determine a minimum value Min(Loss) from the multiple energy loss values ​​to obtain the desired operating frequency.

[0155] Furthermore, the processor may determine whether the current operating frequency of the charge pump is equal to the desired operating frequency. When the current operating frequency is not equal to the desired operating frequency, the desired operating frequency is determined to be the target operating frequency. When the current operating frequency is equal to the desired operating frequency, the desired operating frequency or the current operating frequency is determined to be the target operating frequency.

[0156] Then, the processor can enable the charge pump, i.e., control the charge pump to switch to the working state, and the operating frequency of the charge pump is the target operating frequency. The processor controls the charge pump to adjust the voltage. For example, the processor can communicate with the charger and request the charger to output a matching charging voltage and charging current, and the processor can output to the charge pump.

[0157] The charging current of the battery in the electronic device is made to be the target current.

[0158] In this embodiment, the desired operating frequency can be selected to minimize the energy loss of the charge pump, thereby improving the charging efficiency and reducing the temperature rise; it can solve problems such as slow battery charging and high charging temperature; in addition, it can also solve the problem of unstable charging current when the switching frequency is fixed.

[0159] Based on the charge pump control method provided in the embodiment of the present disclosure, the embodiment of the present disclosure also provides a charge pump control device, see Figure 10 ,include:

[0160] The expected frequency acquisition module 101 is used to obtain the expected operating frequency of the charge pump when the energy loss value is minimum;

[0161] a target frequency acquisition module 102, configured to determine a target operating frequency of the charge pump in a next control cycle according to the current operating frequency of the charge pump and the desired operating frequency;

[0162] The target frequency switching module 103 is configured to control the charge pump to switch to the target operating frequency and to control the output current of the charge pump to be the target current.

[0163] In one embodiment, the desired frequency acquisition module includes:

[0164] A target current acquisition submodule, configured to acquire a target current of the charge pump;

[0165] a conversion mode ratio acquisition submodule, configured to acquire a conversion mode ratio of the charge pump according to the target current;

[0166] The expected frequency acquisition submodule is used to obtain the expected operating frequency of the charge pump according to the target current, the conversion mode ratio and each candidate switching frequency of the charge pump; the energy loss value of the charge pump is minimized at the expected operating frequency.

[0167] In one embodiment, the target current acquisition submodule includes:

[0168] a first current determining unit, configured to determine a first charging current of the charge pump according to a current temperature corresponding to the charge pump;

[0169] a second current determining unit, configured to determine a second charging current of the charge pump according to a charging safety strategy of the charge pump;

[0170] a third current determining unit, configured to determine a third charging current of the charge pump according to a current charging stage of the charge pump;

[0171] The target current determining unit is configured to determine a minimum value among the first charging current, the second charging current, and the third charging current as a target current of the charge pump.

[0172] In one embodiment, the conversion mode ratio acquisition submodule includes:

[0173] a maximum current acquisition unit, configured to acquire the current charging current and the maximum output current of the external charger;

[0174] a conversion efficiency value obtaining unit, configured to obtain conversion efficiency values ​​of the charge pump when operating at the current charging current, the target current, and the maximum output current of the external charger, respectively, to obtain a plurality of conversion efficiency values;

[0175] The conversion mode ratio determining unit is configured to determine, according to a preset correspondence between the conversion effect value and the conversion mode ratio, a conversion mode ratio corresponding to a maximum value among the plurality of conversion efficiency values ​​as the conversion mode ratio of the charge pump.

[0176] In one embodiment, the desired frequency acquisition submodule includes:

[0177] an energy loss value acquiring unit, configured to acquire an energy loss value of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, and obtain an energy loss value corresponding to each candidate switching frequency;

[0178] A minimum loss value obtaining unit, used to obtain a minimum value among multiple energy loss values;

[0179] The expected frequency determination unit is configured to determine a candidate switching frequency corresponding to the minimum value of the energy loss value as the expected operating frequency of the charge pump.

[0180] In one embodiment, the energy loss value obtaining unit includes:

[0181] a conduction loss determination subunit, configured to determine the conduction loss value corresponding to each candidate switching frequency according to a preset correspondence between the candidate switching frequencies and the conduction loss values;

[0182] a switching loss determination subunit, configured to obtain a first product of the conversion mode ratio, each candidate switching frequency, and a preset switching influencing factor as a switching loss value when the charge pump operates at each candidate switching frequency;

[0183] a gate loss determination subunit, configured to obtain a second product of the conversion mode ratio, the target current, and a preset gate loss influencing factor as a gate loss value when the charge pump operates at each candidate switching frequency;

[0184] The energy loss value acquisition subunit is used to obtain the accumulated value of the conduction loss value, the switching loss value and the gate loss value when the charge pump operates at each candidate switching frequency as the energy loss value corresponding to each candidate switching frequency.

[0185] In one embodiment, the target frequency acquisition module includes:

[0186] An operating frequency comparison submodule, configured to compare the current operating frequency with the expected operating frequency to see whether they are equal;

[0187] a target frequency determination submodule, configured to, in response to the current operating frequency being equal to the expected operating frequency, determine the current operating frequency or the expected operating frequency as the target operating frequency of the next control cycle;

[0188] The target frequency determination submodule is further configured to, in response to the current operating frequency being unequal to the expected operating frequency, determine the expected operating frequency as the target operating frequency of the next control cycle.

[0189] It should be noted that the data transmission method provided in this embodiment has been reflected in the description of the working process of the wireless communication device. For details, please refer to the contents of the above embodiments and will not be repeated here.

[0190] Figure 11 1 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 1100 may be a smartphone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0191] Reference Figure 11 The electronic device 1100 may include one or more of the following components: a processing component 1102 , a memory 1104 , a power component 1106 , a multimedia component 1108 , an audio component 1110 , an input / output (I / O) interface 1112 , a sensor component 1114 , a communication component 1116 , and an image acquisition component 1118 .

[0192] The processing component 1102 generally controls the overall operation of the electronic device 1100, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 1102 may include one or more processors 1120 to execute computer programs. In addition, the processing component 1102 may include one or more modules to facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102. In one example, the processing component may include a processor to execute the charge pump control method described above.

[0193] The memory 1104 is configured to store various types of data to support operations on the electronic device 1100. Examples of such data include computer programs for any application or method operating on the electronic device 1100, contact data, phone book data, messages, pictures, videos, etc. The memory 1104 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0194] The power supply assembly 1106 provides power to various components of the electronic device 1100. The power supply assembly 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1100. The power supply assembly 1106 may include a power chip, and the controller may communicate with the power chip to control the power chip to turn on or off the first switching device, thereby allowing the battery to supply power to the circuit board circuit or not.

[0195] The multimedia component 1108 includes a screen that provides an output interface between the electronic device 1100 and the target object.

[0196] In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input information from a target object. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0197] The audio component 1110 is configured to output and / or input audio file information. For example, the audio component 1110 includes a microphone (MIC), which is configured to receive external audio file information when the electronic device 1100 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio file information can be further stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio component 1110 also includes a speaker for outputting the audio file information.

[0198] The I / O interface 1112 provides an interface between the processing component 1102 and a peripheral interface module, such as a keyboard, a click wheel, a button, etc.

[0199] Sensor assembly 1114 includes one or more sensors for providing various status assessments for electronic device 1100. For example, sensor assembly 1114 can detect the open / closed state of electronic device 1100, the relative positioning of components, such as the display screen and keypad of electronic device 1100. Sensor assembly 1114 can also detect changes in the position of electronic device 1100 or a component, the presence or absence of contact between a target object and electronic device 1100, the orientation or acceleration / deceleration of electronic device 1100, and changes in the temperature of electronic device 1100. In this example, sensor assembly 1114 may include a magnetic sensor, a gyroscope, and a magnetic field sensor, and may also include an inertial sensor, an image sensor, etc., wherein the magnetic field sensor includes at least one of the following: a Hall effect sensor, a thin-film magnetoresistive sensor, and a magnetic liquid acceleration sensor.

[0200] The communication component 1116 is configured to facilitate wired or wireless communication between the electronic device 1100 and other devices. The electronic device 1100 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives broadcast information or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0201] In an exemplary embodiment, the electronic device 1100 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.

[0202] In some possible embodiments, a non-transitory computer-readable storage medium is provided. When an executable computer program in the storage medium is executed by a processor, the charge pump control method described above can be implemented.

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

[0204] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A charge pump control method, characterized in that: include: Obtain the expected operating frequency of the charge pump when the energy loss value is minimum; determining a target operating frequency of the charge pump in a next control cycle according to the current operating frequency of the charge pump and the expected operating frequency; The charge pump is controlled to switch to the target operating frequency and the output current of the charge pump is the target current.

2. The method according to claim 1, characterized in that Obtain the expected operating frequency of the charge pump with the minimum energy loss, including: obtaining a target current of the charge pump; obtaining a conversion mode ratio of the charge pump according to the target current; An expected operating frequency of the charge pump is obtained according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump; and an energy loss value of the charge pump is minimized at the expected operating frequency.

3. The method according to claim 2, characterized in that Obtaining a target current of the charge pump, comprising: determining a first charging current of the charge pump according to a current temperature corresponding to the charge pump; determining a second charging current of the charge pump according to a charging safety strategy of the charge pump; determining a third charging current of the charge pump according to a current charging stage of the charge pump; A minimum value among the first charging current, the second charging current, and the third charging current is determined as a target current of the charge pump.

4. The method according to claim 2, characterized in that Obtaining a conversion mode ratio of the charge pump according to the target current includes: Obtaining the current charging current and the maximum output current of the external charger; Obtaining conversion efficiency values ​​of the charge pump when operating respectively at the current charging current, the target current, and the maximum output current of the external charger to obtain multiple conversion efficiency values; According to a preset correspondence between the conversion effect value and the conversion mode ratio, a conversion mode ratio corresponding to a maximum value among the plurality of conversion efficiency values ​​is determined as the conversion mode ratio of the charge pump.

5. The method according to claim 2, characterized in that Obtaining a desired operating frequency of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, comprising: Obtaining an energy loss value of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, to obtain an energy loss value corresponding to each candidate switching frequency; Obtaining the minimum value among multiple energy loss values; A candidate switching frequency corresponding to the minimum value of the energy loss value is determined as the expected operating frequency of the charge pump.

6. The method according to claim 5, characterized in that Obtaining an energy loss value of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, and obtaining an energy loss value corresponding to each candidate switching frequency, including: Determining the conduction loss value corresponding to each candidate switching frequency according to a preset correspondence between the candidate switching frequencies and the conduction loss value; Obtaining a first product of the conversion mode ratio, each candidate switching frequency, and a preset switching influencing factor as a switching loss value when the charge pump operates at each candidate switching frequency; Obtaining a second product of the conversion mode ratio, the target current, and a preset gate loss influencing factor as a gate loss value when the charge pump operates at each candidate switching frequency; The accumulated values ​​of the conduction loss value, the switching loss value, and the gate loss value when the charge pump operates at each candidate switching frequency are obtained as the energy loss value corresponding to each candidate switching frequency.

7. The method according to claim 1, characterized in that Determining a target operating frequency of the charge pump in a next control cycle according to the current operating frequency of the charge pump and the expected operating frequency includes: Comparing the current operating frequency and the expected operating frequency to see whether they are equal; In response to the current operating frequency being equal to the expected operating frequency, determining the current operating frequency or the expected operating frequency as the target operating frequency of the next control cycle; In response to the current operating frequency being unequal to the expected operating frequency, the expected operating frequency is determined as the target operating frequency of the next control cycle.

8. A charge pump control device, characterized in that: include: An expected frequency acquisition module is used to obtain an expected operating frequency of the charge pump when the energy loss value is minimum; a target frequency acquisition module, configured to determine a target operating frequency of the charge pump in a next control cycle according to the current operating frequency of the charge pump and the expected operating frequency; The target frequency switching module is used to control the charge pump to switch to the target operating frequency and the output current of the charge pump is the target current.

9. The device according to claim 8, characterized in that The desired frequency acquisition module includes: A target current acquisition submodule, configured to acquire a target current of the charge pump; a conversion mode ratio acquisition submodule, configured to acquire a conversion mode ratio of the charge pump according to the target current; The expected frequency acquisition submodule is used to obtain the expected operating frequency of the charge pump according to the target current, the conversion mode ratio and each candidate switching frequency of the charge pump; the energy loss value of the charge pump is minimized at the expected operating frequency.

10. The device according to claim 9, characterized in that The target current acquisition submodule includes: a first current determining unit, configured to determine a first charging current of the charge pump according to a current temperature corresponding to the charge pump; a second current determining unit, configured to determine a second charging current of the charge pump according to a charging safety strategy of the charge pump; a third current determining unit, configured to determine a third charging current of the charge pump according to a current charging stage of the charge pump; The target current determining unit is configured to determine a minimum value among the first charging current, the second charging current, and the third charging current as a target current of the charge pump.

11. The device according to claim 9, characterized in that The conversion mode ratio acquisition submodule includes: a maximum current acquisition unit, configured to acquire the current charging current and the maximum output current of the external charger; a conversion efficiency value acquiring unit, configured to acquire conversion efficiency values ​​of the charge pump when operating at the current charging current, the target current, and the maximum output current of the external charger, respectively, to obtain a plurality of conversion efficiency values; The conversion mode ratio determining unit is configured to determine, according to a preset correspondence between the conversion effect value and the conversion mode ratio, a conversion mode ratio corresponding to a maximum value among the plurality of conversion efficiency values ​​as the conversion mode ratio of the charge pump.

12. The device according to claim 9, characterized in that The desired frequency acquisition submodule includes: an energy loss value acquiring unit, configured to acquire an energy loss value of the charge pump according to the target current, the conversion mode ratio, and each candidate switching frequency of the charge pump, and obtain an energy loss value corresponding to each candidate switching frequency; A minimum loss value obtaining unit, configured to obtain a minimum value among a plurality of energy loss values; The expected frequency determination unit is configured to determine a candidate switching frequency corresponding to the minimum value of the energy loss value as the expected operating frequency of the charge pump.

13. The device according to claim 12, characterized in that The energy loss value obtaining unit includes: a conduction loss determination subunit, configured to determine the conduction loss value corresponding to each candidate switching frequency according to a preset correspondence between the candidate switching frequencies and the conduction loss values; a switching loss determination subunit, configured to obtain a first product of the conversion mode ratio, each candidate switching frequency, and a preset switching influencing factor as a switching loss value when the charge pump operates at each candidate switching frequency; a gate loss determination subunit, configured to obtain a second product of the conversion mode ratio, the target current, and a preset gate loss influencing factor as a gate loss value when the charge pump operates at each candidate switching frequency; The energy loss value acquisition subunit is used to obtain the accumulated value of the conduction loss value, the switching loss value and the gate loss value when the charge pump operates at each candidate switching frequency as the energy loss value corresponding to each candidate switching frequency.

14. The device according to claim 8, characterized in that The target frequency acquisition module includes: An operating frequency comparison submodule, configured to compare the current operating frequency with the expected operating frequency to see whether they are equal; a target frequency determination submodule, configured to, in response to the current operating frequency being equal to the expected operating frequency, determine the current operating frequency or the expected operating frequency as the target operating frequency of the next control cycle; The target frequency determination submodule is further configured to, in response to the current operating frequency being unequal to the expected operating frequency, determine the expected operating frequency as the target operating frequency of the next control cycle.

15. An electronic device, characterized in that: include: charge pumps, processors, and memories; The memory is used to store a computer program executable by the processor; The processor is configured to execute the computer program in the memory to implement the method according to any one of claims 1 to 7.

16. A non-transitory computer-readable storage medium, characterized in that When the executable computer program in the storage medium is executed by a processor, the method according to any one of claims 1 to 7 can be implemented.