Charging method, charging device, electronic equipment and storage medium
By monitoring the charging current value in real time and dynamically adjusting the operating frequency of the charge pump, the problem of poor efficiency of the charge pump during the charging process is solved, and efficient operation of the charge pump and fast charging are achieved during the charging process.
Patent Information
- Application Number
- CN202410534529.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2025-10-31
AI Technical Summary
In existing technologies, charge pump charging methods cannot maintain optimal output efficiency during the charging process, resulting in poor charging speed, and require extensive preliminary testing to estimate the operating frequency of the charge pump.
The charging current value is monitored in real time, and the operating frequency of the charge pump is dynamically adjusted according to the current output efficiency, operating frequency and frequency change to achieve the target operating frequency, ensuring that the charge pump maintains the optimal output efficiency during the charging process.
By dynamically adjusting the operating frequency of the charge pump, the high-efficiency operation of the charge pump during the charging process is ensured, thereby improving the charging speed and maintaining optimal output efficiency.
Smart Images

Figure CN120879829A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of charging, and more particularly to charging methods, charging devices, electronic devices, and storage media. Background Technology
[0002] As portable mobile devices and other electronic devices become increasingly powerful, they have become an integral part of users' work, entertainment, and other activities. Given users' continuous demand for various electronic devices, battery life and fast charging capabilities are the main concerns of users. Summary of the Invention
[0003] To overcome the problems existing in the related technologies, this disclosure provides a charging method, a charging device, an electronic device, and a storage medium.
[0004] According to a first aspect of the present disclosure, a charging method is provided, comprising: monitoring a current charging current value during the charging process in response to charging an electronic device; determining a current operating frequency of a charge pump in the electronic device and determining a current output efficiency of the charge pump in response to the current charging current value satisfying a preset condition, wherein the preset condition includes a first preset condition and a second preset condition, the first preset condition being that the charging current value is adjusted to a preset current value, and the second preset condition being that the charging current value is adjusted after being adjusted to the preset current value; adjusting the operating frequency of the charge pump to a target operating frequency based on the current output efficiency, the current operating frequency, and a preset frequency change amount; and charging the electronic device at the target operating frequency.
[0005] In one embodiment, adjusting the operating frequency of the charge pump to a target operating frequency based on the current output efficiency, the current operating frequency, and a preset frequency change includes: determining the current operating frequency as a first pre-adjustment operating frequency, and determining the current output efficiency as a first pre-adjustment output efficiency; determining a first change value based on the first pre-adjustment operating frequency, the first pre-adjustment output efficiency, and the frequency change using a first preset method; and adjusting the operating frequency of the charge pump to the target operating frequency based on the relationship between the first change value and 0, the current operating frequency, the current output efficiency, and the frequency change; wherein, the first preset method... Determining the first change value includes: adjusting the operating frequency of the charge pump to a first adjusted operating frequency based on the frequency change amount; determining the first adjusted output efficiency of the electronic device at the first adjusted operating frequency, wherein the first adjusted operating frequency is the sum of the operating frequency before adjustment and the frequency change amount; determining the difference between the corresponding value of the first adjusted operating frequency and the corresponding value of the operating frequency before adjustment as the first frequency change value; determining the difference between the corresponding value of the first adjusted output efficiency and the corresponding value of the output efficiency before adjustment as the first efficiency change value; and determining the ratio between the first efficiency change value and the first frequency change value as the first change value.
[0006] In one embodiment, adjusting the operating frequency of the charge pump to a target operating frequency based on the relationship between the first change value and 0, the current operating frequency, the current output efficiency, and the frequency change includes: responding to a first change value being greater than 0, determining the sum of the current operating frequency and the frequency change as a first operating frequency, setting the operating frequency of the charge pump to the first operating frequency, and successively increasing the operating frequency of the charge pump according to the frequency change at the first operating frequency, determining a target operating frequency during the increasing process, and adjusting the operating frequency of the charge pump to the target operating frequency; responding to a second change value being less than 0, determining the current operating frequency as a second operating frequency, setting the operating frequency of the charge pump to the second operating frequency, and successively decreasing the operating frequency of the charge pump according to the frequency change at the second operating frequency, determining a target operating frequency during the decreasing process, and adjusting the operating frequency of the charge pump to the target operating frequency.
[0007] In one embodiment, the step of successively increasing the operating frequency of the charge pump according to the frequency change at the first operating frequency, and determining the target operating frequency during the increase process, includes: increasing the operating frequency of the charge pump once according to the frequency change at the first operating frequency, determining the first operating frequency as the second pre-adjustment operating frequency, determining the output efficiency of the charge pump at the first operating frequency as the second pre-adjustment output efficiency, and determining a second change value according to the second pre-adjustment operating frequency, the second pre-adjustment output efficiency, and the frequency change through a second preset method; in response to the second change value being less than 0, determining the second operating frequency as the target operating frequency; in response to the second change value being greater than 0, repeating the process of determining the second pre-adjustment operating frequency and the second pre-adjustment output efficiency, and determining the second change value through the second preset method, until the second change value is less than 0, and determining the pre-adjustment operating frequency when the second change value is less than 0 as the target operating frequency. Frequency; wherein, when the second change value is greater than 0, the operating frequency of the charge pump after the previous operating frequency increase is determined as the operating frequency before the second adjustment, and the output efficiency of the charge pump at the operating frequency after the previous increase is determined as the output efficiency before the second adjustment; wherein, determining the second change value through a second preset method includes: adjusting the operating frequency of the charge pump to the operating frequency after the second adjustment according to the frequency change amount, determining the second output efficiency of the electronic device at the second adjusted operating frequency, the second adjusted operating frequency being the sum of the operating frequency before the second adjustment and the frequency change amount; determining the difference between the corresponding value of the second adjusted operating frequency and the corresponding value of the operating frequency before the second adjustment as the second frequency change value, determining the difference between the corresponding value of the second adjusted output efficiency and the corresponding value of the output efficiency before the second adjustment as the second efficiency change value, and determining the ratio between the second efficiency change value and the second frequency change value as the second change value.
[0008] In one embodiment, the step of successively lowering the operating frequency of the charge pump according to the frequency change at the second operating frequency, and determining the target operating frequency during the lowering process, includes: lowering the operating frequency of the charge pump once according to the frequency change at the second operating frequency, determining the second operating frequency as the third pre-adjustment operating frequency, determining the output efficiency of the charge pump at the second operating frequency as the third pre-adjustment output efficiency, and determining a third change value according to the third pre-adjustment operating frequency, the third pre-adjustment output efficiency, and the frequency change through a third preset method; in response to the third change value being greater than 0, determining the second operating frequency as the target operating frequency; in response to the third change value being less than 0, repeating the process of determining the third pre-adjustment operating frequency and the third pre-adjustment output efficiency, and determining the third change value through the third preset method, until the third change value is greater than 0, and determining the pre-adjustment operating frequency when the third change value is greater than 0 as the target operating frequency. The operating frequency is determined as follows: when the third change value is less than 0, the operating frequency of the charge pump after the previous frequency reduction is determined as the operating frequency before the third adjustment, and the output efficiency of the charge pump at the operating frequency after the previous reduction is determined as the output efficiency before the third adjustment; wherein, determining the third change value through the third preset method includes: adjusting the operating frequency of the charge pump to the operating frequency after the third adjustment according to the frequency change amount, determining the output efficiency of the electronic device after the third adjustment at the operating frequency after the third adjustment, wherein the operating frequency after the third adjustment is the difference between the operating frequency before the third adjustment and the third frequency change amount; determining the difference between the corresponding value of the operating frequency before the third adjustment and the corresponding value of the operating frequency after the third adjustment as the third frequency change value, determining the difference between the corresponding value of the output efficiency before the third adjustment and the corresponding value of the output efficiency after the third adjustment as the third efficiency change value, and determining the ratio of the third efficiency change value to the third frequency change value as the third change value.
[0009] In one embodiment, when the current charging current value meets a first preset condition, the current operating frequency is the operating frequency of the charge pump when the charging current value is adjusted to a preset current value; when the current charging current value meets a second preset condition, the current operating frequency is the target operating frequency determined when the charge pump operating frequency was previously adjusted.
[0010] In one embodiment, the frequency change is an adjustable parameter.
[0011] According to a second aspect of the present disclosure, a charging device is provided, comprising: a monitoring unit, configured to monitor a current charging current value during the charging process in response to charging an electronic device; a determining unit, configured to determine a current operating frequency of a charge pump in the electronic device and a current output efficiency of the charge pump in response to the current charging current value satisfying a preset condition, wherein the preset condition includes a first preset condition and a second preset condition, the first preset condition being that the charging current value is adjusted to a preset current value, and the second preset condition being that the charging current value is adjusted after being adjusted to the preset current value; a processing unit, configured to adjust the operating frequency of the charge pump to a target operating frequency based on the current output efficiency, the current operating frequency, and a preset frequency change amount; and an execution unit, configured to charge the electronic device at the target operating frequency.
[0012] In one embodiment, the processing unit adjusts the operating frequency of the charge pump to a target operating frequency based on the current output efficiency, the current operating frequency, and a preset frequency change amount, including: determining the current operating frequency as a first pre-adjustment operating frequency and the current output efficiency as a first pre-adjustment output efficiency; determining a first change value based on the first pre-adjustment operating frequency, the first pre-adjustment output efficiency, and the frequency change amount using a first preset method; and adjusting the operating frequency of the charge pump to the target operating frequency based on the relationship between the first change value and 0, the current operating frequency, the current output efficiency, and the frequency change amount; wherein the processing unit employs the following... The method for determining the first change value through a first preset method includes: adjusting the operating frequency of the charge pump to a first adjusted operating frequency based on the frequency change amount; determining the first adjusted output efficiency of the electronic device at the first adjusted operating frequency, wherein the first adjusted operating frequency is the sum of the operating frequency before adjustment and the frequency change amount; determining the difference between the corresponding value of the first adjusted operating frequency and the corresponding value of the operating frequency before adjustment as the first frequency change value; determining the difference between the corresponding value of the first adjusted output efficiency and the corresponding value of the output efficiency before adjustment as the first efficiency change value; and determining the ratio between the first efficiency change value and the first frequency change value as the first change value.
[0013] In one embodiment, the processing unit adjusts the operating frequency of the charge pump to a target operating frequency based on the relationship between the first change value and 0, the current operating frequency, the current output efficiency, and the frequency change amount, including: in response to the first change value being greater than 0, determining the sum of the current operating frequency and the frequency change amount as a first operating frequency, setting the operating frequency of the charge pump to the first operating frequency, and successively increasing the operating frequency of the charge pump according to the frequency change amount at the first operating frequency, determining a target operating frequency during the increase process, and adjusting the operating frequency of the charge pump to the target operating frequency; in response to the first change value being less than 0, determining the current operating frequency as a second operating frequency, setting the operating frequency of the charge pump to the second operating frequency, and successively decreasing the operating frequency of the charge pump according to the frequency change amount at the second operating frequency, determining a target operating frequency during the decrease process, and adjusting the operating frequency of the charge pump to the target operating frequency.
[0014] In one embodiment, the processing unit successively increases the operating frequency of the charge pump at the first operating frequency according to the frequency change, and determines a target operating frequency during the increase process, including: increasing the operating frequency of the charge pump once at the first operating frequency according to the frequency change, determining the first operating frequency as the second pre-adjustment operating frequency, determining the output efficiency of the charge pump at the first operating frequency as the second pre-adjustment output efficiency, and determining a second change value according to the second pre-adjustment operating frequency, the second pre-adjustment output efficiency, and the frequency change through a second preset method; in response to the second change value being less than 0, determining the second operating frequency as the target operating frequency; in response to the second change value being greater than 0, repeating the process of determining the second pre-adjustment operating frequency and the second pre-adjustment output efficiency, and determining the second change value through the second preset method, until the second change value is less than 0, and determining the pre-adjustment operating frequency when the second change value is less than 0 as the target operating frequency. Frequency; wherein, when the second change value is greater than 0, the operating frequency of the charge pump after the previous operating frequency increase is determined as the operating frequency before the second adjustment, and the output efficiency of the charge pump at the operating frequency after the previous increase is determined as the output efficiency before the second adjustment; wherein, the processing unit determines the second change value through a second preset method in the following manner, including: adjusting the operating frequency of the charge pump to the operating frequency after the second adjustment according to the frequency change amount, determining the second output efficiency of the electronic device at the second adjusted operating frequency, wherein the second adjusted operating frequency is the sum of the operating frequency before the second adjustment and the frequency change amount; determining the difference between the corresponding value of the second adjusted operating frequency and the corresponding value of the operating frequency before the second adjustment as the second frequency change value, determining the difference between the corresponding value of the second adjusted output efficiency and the corresponding value of the output efficiency before the second adjustment as the second efficiency change value, and determining the ratio between the second efficiency change value and the second frequency change value as the second change value.
[0015] In one embodiment, the processing unit successively lowers the operating frequency of the charge pump according to the frequency change amount at the second operating frequency in the following manner, and determines a target operating frequency during the lowering process, including: lowering the operating frequency of the charge pump once according to the frequency change amount at the second operating frequency, determining the second operating frequency as the third pre-adjustment operating frequency, determining the output efficiency of the charge pump at the second operating frequency as the third pre-adjustment output efficiency, and determining a third change value according to the third pre-adjustment operating frequency, the third pre-adjustment output efficiency, and the frequency change amount through a third preset method; in response to the third change value being greater than 0, determining the second operating frequency as the target operating frequency; in response to the third change value being less than 0, repeating the process of determining the third pre-adjustment operating frequency and the third pre-adjustment output efficiency, and determining the third change value through the third preset method, until the third change value is greater than 0, and determining the pre-adjustment operating frequency when the third change value is greater than 0 as the target operating frequency. The operating frequency is determined as follows: when the third change value is less than 0, the operating frequency of the charge pump after the previous operating frequency reduction is determined as the operating frequency before the third adjustment, and the output efficiency of the charge pump at the operating frequency after the previous reduction is determined as the output efficiency before the third adjustment. The processing unit determines the third change value using the third preset method as follows: adjusting the operating frequency of the charge pump to the operating frequency after the third adjustment based on the frequency change amount; determining the output efficiency of the electronic device after the third adjustment at the operating frequency after the third adjustment, where the operating frequency after the third adjustment is the difference between the operating frequency before the third adjustment and the third frequency change amount; determining the difference between the corresponding value of the operating frequency before the third adjustment and the corresponding value of the operating frequency after the third adjustment as the third frequency change value; determining the difference between the corresponding value of the output efficiency before the third adjustment and the corresponding value of the output efficiency after the third adjustment as the third efficiency change value; and determining the ratio of the third efficiency change value to the third frequency change value as the third change value.
[0016] In one embodiment, when the current charging current value meets a first preset condition, the current operating frequency is the operating frequency of the charge pump when the charging current value is adjusted to a preset current value; when the current charging current value meets a second preset condition, the current operating frequency is the target operating frequency determined when the charge pump operating frequency was previously adjusted.
[0017] In one embodiment, the frequency change is an adjustable parameter.
[0018] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: execute the charging method described in the first aspect or any embodiment of the first aspect.
[0019] According to a fourth aspect of the present disclosure, a storage medium is provided, the storage medium storing instructions that, when executed by a processor, enable the processor to perform the charging method described in the first aspect or any embodiment of the first aspect.
[0020] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: When charging an electronic device, the current charging current value is monitored in real time. When the current charging current value is adjusted to a preset current value, or when the charging current value is adjusted after being adjusted to the preset current value, the current operating frequency and current output efficiency of the charge pump in the electronic device are determined. Based on the current output efficiency, the current operating frequency, and a preset frequency change, the operating frequency of the charge pump is adjusted to a target operating frequency. The electronic device is then charged at the target operating frequency. Through this disclosure, during the charging process of an electronic device, when the charging current meets preset conditions, the operating frequency of the charge pump in the electronic device is adjusted, achieving dynamic adjustment of the charge pump's operating frequency during charging and ensuring that the charge pump maintains optimal output efficiency during charging.
[0021] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0022] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0023] Figure 1 This is a schematic diagram of the physical channel architecture for charging an electronic device according to an exemplary embodiment of the present disclosure.
[0024] Figure 2 This is a schematic diagram of the charge pump efficiency curve of an electronic device during charging, according to an exemplary embodiment of the present disclosure.
[0025] Figure 3 This is a flowchart illustrating a charging method according to an exemplary embodiment.
[0026] Figure 4 This is a flowchart illustrating a method for adjusting the operating frequency of a charge pump to a target operating frequency according to an exemplary embodiment.
[0027] Figure 5 This is a schematic diagram illustrating the relationship between the operating frequency and output efficiency of a charge pump under a fixed charging current, according to an exemplary embodiment of this disclosure.
[0028] Figure 6This is a flowchart illustrating a method for determining a first change value by a first preset method according to an exemplary embodiment of the present disclosure.
[0029] Figure 7 This is a flowchart illustrating a method for adjusting the operating frequency of a charge pump to a target operating frequency according to an exemplary embodiment.
[0030] Figure 8 This is a flowchart illustrating a method for determining a target operating frequency during an upsampling process, according to an exemplary embodiment.
[0031] Figure 9 This is a flowchart illustrating a method for determining a second change value by a second preset method according to an exemplary embodiment.
[0032] Figure 10 This is a schematic diagram illustrating the determination of a target operating frequency during an upsampling process, according to an exemplary embodiment of the present disclosure.
[0033] Figure 11 This is a flowchart illustrating a method for determining a target operating frequency during a downsampling process, according to an exemplary embodiment.
[0034] Figure 12 This is a flowchart illustrating a method for determining a third change value by a third preset method according to an exemplary embodiment.
[0035] Figure 13 This is a schematic diagram illustrating the determination of a target operating frequency during an upsampling process, according to an exemplary embodiment of the present disclosure.
[0036] Figure 14 This is a flowchart illustrating a method for adjusting the operating frequency of a charge pump according to an exemplary embodiment of the present disclosure.
[0037] Figure 15 This is a block diagram illustrating a charging device according to an exemplary embodiment.
[0038] Figure 16 This is a block diagram illustrating a charging device according to an exemplary embodiment. Detailed Implementation
[0039] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure.
[0040] The charging method provided in this disclosure is applied to scenarios where the operating frequency of the charge pump in an electronic device is adjusted when charging the electronic device.
[0041] As portable mobile devices and other electronic devices become increasingly powerful, they have become an integral part of users' work, entertainment, and other activities. Given the continuous use demands of users for these devices, they need to remain in standby mode for extended periods to ensure users can access their mobile devices at any time. Therefore, battery life and fast charging capabilities are key concerns for users and important research directions for developers.
[0042] In related technologies, charge pumps are generally used to charge electronic devices. Considering that the output efficiency of the charge pump during charging is related to its operating frequency, these technologies typically initialize the charge pump configuration before charging begins, setting its operating frequency to a specific frequency. This ensures the charge pump operates at high output efficiency during charging, guaranteeing the charging speed of the electronic device. In one example, such as... Figure 1 The diagram illustrates the physical channel architecture for charging electronic devices. Electronic devices using charge pump charging include interconnected microcontroller units (MCUs) and charge pumps. The charge pump is also connected to both the charging bus and the battery. The charge pump steps down the charging current transmitted through the charging bus and charges the battery. Before charging begins, the MCU initializes the charge pump configuration, sets the charge pump's operating frequency to a specific frequency, and charges the electronic device at that specific frequency.
[0043] However, the operating frequency of a charge pump is only one factor affecting its output efficiency. Changes in the charging current during the charging process also influence the charge pump's output efficiency. The relationship between charge pump output efficiency and operating frequency differs under different charging currents, and the charge pump exhibits different charging current-output efficiency relationships at different operating frequencies. In one example, such as... Figure 2The diagram illustrates the charge pump efficiency curve during charging of an electronic device. The charge pump in the device exhibits different output efficiency-charging current variation curves at operating frequencies of 500kHz, 375kHz, 750kHz, 300kHz, and 250kHz. The operating frequency corresponding to the highest output efficiency differs for different charging currents. Furthermore, during charging, the electronic device gradually adjusts the charging current, such as by continuously setting a lower charging current through the microcontroller unit. Considering that the charging current changes with charging, and that the highest output efficiency of the charge pump corresponds to different operating frequencies at different charging currents, setting the charge pump's operating frequency to a specific frequency throughout the charging process does not reflect the continuously changing operating state of the charge pump during charging. It cannot guarantee that the charge pump will always operate at its optimal output efficiency during the charging process, nor can it guarantee the charging speed of the electronic device. Moreover, setting a specific operating frequency for the charge pump in related technologies requires prior estimation of the specific operating frequency of the charge pump, necessitating extensive preliminary testing and database creation.
[0044] In view of this, this disclosure proposes a charging method that monitors the current charging current value of the electronic device in real time during charging. When the current charging current value meets preset conditions (i.e., is adjusted to a preset current value, or is adjusted after being adjusted to a preset current value), the current operating frequency and current output efficiency of the charge pump in the electronic device are determined. Based on the current output efficiency of the charge pump, the current operating frequency of the charge pump, and a preset frequency change, the operating frequency of the charge pump is adjusted to a target operating frequency. The electronic device is then charged at the target operating frequency. Through this disclosure, during the charging process of the electronic device, when the charging current meets preset conditions, the operating frequency of the charge pump in the electronic device is adjusted, achieving dynamic adjustment of the charge pump's operating frequency during charging and ensuring that the charge pump maintains optimal output efficiency during charging.
[0045] Figure 3 This is a flowchart illustrating a charging method according to an exemplary embodiment. Figure 3 As shown, the method includes steps S101 to S104.
[0046] In step S101, in response to charging the electronic device, the current charging current value during the charging process is monitored.
[0047] In step S102, in response to the current charging current value meeting the preset conditions, the current operating frequency of the charge pump in the electronic device is determined, and the current output efficiency of the charge pump is determined.
[0048] The preset conditions include a first preset condition and a second preset condition. The first preset condition is that the charging current value is adjusted to a preset current value, and the second preset condition is that the charging current value is adjusted after the charging current value is adjusted to the preset current value.
[0049] In step S103, the operating frequency of the charge pump is adjusted to the target operating frequency based on the current output efficiency, the current operating frequency, and the preset frequency change.
[0050] In step S104, the electronic device is charged at the target operating frequency.
[0051] In this embodiment, the charging current for the electronic device is continuously adjusted according to a preset principle as charging progresses. Each adjustment process throughout the charging process traverses multiple specific current values, with the preset current value corresponding to one of these values. During charging, the charging current value is monitored in real time. When the charging current value is adjusted to the preset value (i.e., the charging current meets a first preset condition), the operating frequency of the charge pump is adjusted. After the charging current value is adjusted to the preset value, the operating frequency of the charge pump is adjusted each time the charging current value is adjusted (i.e., the charging current meets a second preset condition).
[0052] It is understood that, in this disclosure, the charge pump of the electronic device operates at a preset operating frequency after charging begins and before the charging current is adjusted to a preset charging current. In one example, after the charging device and the electronic device establish a connection, the electronic device pre-initializes the charge pump, sets the operating frequency of the charge pump to a preset operating frequency, and then executes the charging process.
[0053] In this embodiment, when the charging current meets a preset condition, the operating frequency of the charge pump in the electronic device is adjusted. The current operating frequency and current output efficiency of the charge pump at the moment the charging current meets the preset condition are acquired. The operating frequency of the charge pump is continuously adjusted according to a preset frequency change amount until the operating frequency of the charge pump is adjusted to a preset target operating frequency. At the target operating frequency, the output efficiency of the charge pump is greater than the output efficiency corresponding to each adjustment of the charge pump's operating frequency (the output efficiency at the non-target operating frequency).
[0054] This disclosure enables real-time monitoring of the charging current during the charging process of an electronic device. When the charging current meets preset conditions, the operating frequency of the charge pump in the electronic device is adjusted, thereby achieving dynamic adjustment of the charge pump's operating frequency during the charging process and ensuring that the charge pump maintains optimal output efficiency during charging.
[0055] It is understandable that, under a fixed charging current, the operating frequency and output efficiency of a charge pump are not fixedly positively or negatively correlated. Instead, within a certain frequency range, the output efficiency of the charge pump monotonically increases with the increase of the operating frequency, and within another certain frequency range, it monotonically decreases with the increase of the operating frequency. Therefore, this disclosure requires determining the correspondence between the output efficiency and the operating frequency of the charge pump within the frequency range in which the charge pump operates, and then adjusting the operating frequency of the charge pump. The following embodiments of this disclosure illustrate a method for adjusting the operating frequency of the charge pump to a target operating frequency.
[0056] Figure 4 This is a flowchart illustrating a method for adjusting the operating frequency of a charge pump to a target operating frequency according to an exemplary embodiment. Figure 4 As shown, the method includes steps S201 to S203.
[0057] In step S201, the current operating frequency is determined as the first operating frequency before adjustment, and the current output efficiency is determined as the first output efficiency before adjustment.
[0058] In step S202, the first change value is determined by a first preset method based on the operating frequency before the first adjustment, the output efficiency before the first adjustment, and the frequency change.
[0059] In step S203, the operating frequency of the charge pump is adjusted to the target operating frequency based on the relationship between the first change value and 0, the current operating frequency, the current output efficiency, and the frequency change.
[0060] In this embodiment, under a fixed charging current, the operating frequency and output efficiency of the charge pump are not fixedly positively or negatively correlated, but rather there exists a peak operating frequency at which the charge pump achieves its highest output efficiency. When the charge pump's operating frequency is lower than the peak operating frequency, the operating frequency and output efficiency are positively correlated (i.e., the output efficiency increases monotonically with the operating frequency). When the operating frequency is higher than the peak operating frequency, the operating frequency and output efficiency are negatively correlated (i.e., the output efficiency decreases monotonically with the operating frequency). The purpose of adjusting the charge pump's operating frequency in this disclosure is to bring it close to or equal to the peak operating frequency, thereby bringing the charge pump's output efficiency close to or equal to the highest output efficiency when the charging current meets the preset conditions. Therefore, this disclosure needs to determine the relationship between the current operating frequency and the peak operating frequency of the charge pump, and adjust the charge pump's operating frequency upwards or downwards based on the determination result. In one example, such as... Figure 5The diagram illustrates the relationship between the operating frequency and output efficiency of a charge pump under a fixed charging current. In the diagram, frequency f represents the aforementioned operating frequency pole, and Emax represents the highest output efficiency of the charge pump under a fixed charging current. Figure 5 As shown, if the operating frequency of the charge pump is greater than the operating frequency pole f, it indicates that the operating frequency and output efficiency are negatively correlated. In this case, reducing the operating frequency of the charge pump will improve its output efficiency, making it close to or equal to the maximum output efficiency Emax. Similarly, if the operating frequency of the charge pump is less than the operating frequency pole f, it indicates that the operating frequency and output efficiency are positively correlated. In this case, increasing the operating frequency of the charge pump will improve its output efficiency, making it close to or equal to the maximum output efficiency Emax.
[0061] This disclosure involves determining a first change value based on the operating frequency before adjustment, the output efficiency before adjustment, and the frequency change amount using a first preset method. The frequency range of the charge pump's current operating frequency is then determined by the relationship between the first change value and 0, and the correspondence between the operating frequency and output efficiency within that frequency range is assessed. Subsequently, the charge pump's operating frequency is adjusted upwards or downwards to ensure optimal output efficiency, thereby improving the charging speed of the electronic device.
[0062] In this embodiment of the disclosure, the first change value determined by a first preset method based on the first pre-adjustment operating frequency, the first pre-adjustment output efficiency, and the frequency change can reflect the changing trend of the charge pump output efficiency as the charge pump operating frequency increases, thereby adjusting the charge pump operating frequency according to the relationship between the first change value and 0. The following embodiments of this disclosure illustrate the method for determining the first change value.
[0063] Figure 6 This is a flowchart illustrating a method for determining a first change value using a first preset method, according to an exemplary embodiment. Figure 6 As shown, the method includes steps S301 to S302.
[0064] In step S301, the operating frequency of the charge pump is adjusted to the first adjusted operating frequency according to the frequency change, and the first adjusted output efficiency of the electronic device at the first adjusted operating frequency is determined. The first adjusted operating frequency is the sum of the operating frequency before the first adjustment and the frequency change.
[0065] In step S302, the difference between the value corresponding to the first adjusted operating frequency and the value corresponding to the first operating frequency before the first adjustment is determined as the first frequency change value, the difference between the value corresponding to the first adjusted output efficiency and the value corresponding to the first output efficiency before the first adjustment is determined as the first efficiency change value, and the ratio between the first efficiency change value and the first frequency change value is determined as the first change value.
[0066] In this embodiment, the operating frequency before adjustment, the output efficiency before adjustment, the operating frequency after adjustment (the operating frequency after adjustment is the sum of the operating frequency before adjustment and the frequency change), and the output efficiency after adjustment can all be regarded as coordinates on the curve corresponding to the operating frequency and output efficiency of the charge pump under the condition that the charging current meets the preset conditions. Specifically, (operating frequency before adjustment, output efficiency before adjustment) can be regarded as the coordinate before adjustment, and (operating frequency after adjustment, output efficiency before adjustment) can be regarded as the coordinate after adjustment. By determining the first efficiency change value and the first frequency change value, and determining the ratio between the first efficiency change value and the first frequency change value, the first change value representing the slope between the coordinate before adjustment and the coordinate after adjustment can be determined. Then, the frequency range of the current operating frequency of the charge pump is determined by the relationship between the first change value and 0, and the correspondence between the operating frequency and output efficiency within this frequency range is determined. The operating frequency of the charge pump is then adjusted upwards or downwards to enable the charge pump to operate at optimal output efficiency, thereby improving the charging speed of the electronic device.
[0067] It is understandable that the output efficiency of a charge pump is not only related to the charging current and the operating frequency of the charge pump during the charging process, but is also affected by other external factors, such as the heat generated by the electronic device during charging. Therefore, even under a fixed charging current, the output efficiency-operating frequency curve of the charge pump in the electronic device will not be fixed. Consequently, the operating frequency corresponding to the highest charge pump output efficiency under the same charging current is inconsistent in each charging process. This disclosure adjusts the operating frequency of the charge pump according to a preset frequency change and dynamically determines the target operating frequency during each charging process, ensuring that the charge pump maintains optimal output efficiency when charging under various states of the electronic device (such as different temperatures and different loads), thus guaranteeing the charging speed of the electronic device.
[0068] In this embodiment of the disclosure, the relationship between the first change value and 0 reflects the trend of the charge pump's output efficiency increasing with the operating frequency at the current operating frequency, thereby allowing the operating frequency to be adjusted upwards or downwards based on this relationship. The following embodiments of this disclosure describe a method for adjusting the operating frequency of the charge pump to a target operating frequency.
[0069] Figure 7This is a flowchart illustrating a method for adjusting the operating frequency of a charge pump to a target operating frequency according to an exemplary embodiment. Figure 7 As shown, the method includes steps S401, S402A, and S402B.
[0070] In step S401, the first change value is determined by a first preset method based on the operating frequency before the first adjustment, the output efficiency before the first adjustment, and the frequency change.
[0071] In step S402A, in response to the first change value being greater than 0, the sum of the current operating frequency and the frequency change is determined as the first operating frequency, the operating frequency of the charge pump is set to the first operating frequency, and the operating frequency of the charge pump is gradually increased according to the frequency change at the first operating frequency. During the increase process, the target operating frequency is determined, and the operating frequency of the charge pump is adjusted to the target operating frequency.
[0072] In step S402B, in response to the first change value being less than 0, the current operating frequency is determined as the second operating frequency, the operating frequency of the charge pump is set to the second operating frequency, and the operating frequency of the charge pump is successively reduced according to the frequency change at the second operating frequency. During the reduction process, the target operating frequency is determined, and the operating frequency of the charge pump is adjusted to the target operating frequency.
[0073] In this embodiment, if the first change value is greater than 0, it indicates that the output efficiency corresponding to the sum of the current operating frequency and the frequency change (the output efficiency after the first adjustment) is greater than the output efficiency corresponding to the current operating frequency (the output efficiency before the first adjustment). That is, at the current operating frequency, the output efficiency of the charge pump increases with the increase of the operating frequency. It is necessary to increase the operating frequency of the charge pump so that the output efficiency of the charge pump is close to or equal to the highest output efficiency when the charging current meets the preset conditions. Therefore, when the first change value is greater than 0, the sum of the current operating frequency and the frequency change (the first operating frequency) is set as the operating frequency of the charge pump, and the operating frequency of the charge pump is successively increased according to the frequency change based on the preset. During the increase process, the target operating frequency is determined, and the operating frequency of the charge pump is adjusted to the target operating frequency.
[0074] In this embodiment, if the first change value is less than 0, it indicates that the output efficiency corresponding to the sum of the current operating frequency and the frequency change (the output efficiency after the first adjustment) is less than the output efficiency corresponding to the current operating frequency (the output efficiency before the first adjustment). That is, at the current operating frequency, the output efficiency of the charge pump decreases as the operating frequency increases. The operating frequency of the charge pump needs to be reduced so that the output efficiency of the charge pump is close to or equal to the highest output efficiency when the charging current meets the preset conditions. Therefore, when the first change value is less than 0, the current operating frequency (the second operating frequency) is set as the operating frequency of the charge pump, and the operating frequency of the charge pump is successively reduced according to the preset frequency change. During the reduction process, the target operating frequency is determined, and the operating frequency of the charge pump is adjusted to the target operating frequency.
[0075] The following embodiments of this disclosure illustrate a method for determining a target operating frequency during the up-adjustment process.
[0076] Figure 8 This is a flowchart illustrating a method for determining a target operating frequency during an upsampling process, according to an exemplary embodiment. Figure 8 As shown, the method includes steps S501, S502A, and S502B.
[0077] In step S501, the operating frequency of the charge pump is adjusted upward once according to the frequency change at the first operating frequency, the first operating frequency is determined as the second pre-adjustment operating frequency, the output efficiency of the charge pump at the first operating frequency is determined as the second pre-adjustment output efficiency, and the second change value is determined by the second preset method according to the second pre-adjustment operating frequency, the second pre-adjustment output efficiency and the frequency change.
[0078] In step S502A, in response to the second change value being less than 0, the second operating frequency is determined as the target operating frequency.
[0079] In step S502B, in response to the second change value being greater than 0, the process of determining the second pre-adjustment operating frequency and the second pre-adjustment output efficiency, and determining the second change value through the second preset method is repeated until the second change value is less than 0, and the pre-adjustment operating frequency when the second change value is less than 0 is determined as the target operating frequency.
[0080] Specifically, when the second change value is greater than 0, the operating frequency of the charge pump after the previous operating frequency was increased is determined as the operating frequency before the second adjustment, and the output efficiency of the charge pump at the operating frequency after the previous increase is determined as the output efficiency before the second adjustment.
[0081] In this embodiment, the charge pump operating frequency is adjusted and the target operating frequency is determined according to the extreme value search control algorithm: When the first change value obtained after calculation based on the first operating frequency before adjustment, the first output efficiency before adjustment, the first operating frequency after adjustment, and the first output efficiency after adjustment is greater than 0, the first operating frequency after adjustment (first operating frequency) and the first output efficiency after adjustment (output efficiency at the first operating frequency) are respectively used as the second operating frequency before adjustment and the second output efficiency before adjustment. A second change value is determined according to the second operating frequency before adjustment, the second output efficiency before adjustment, and the frequency change amount, using a second preset method. If the second change value is less than zero, it indicates that the second output efficiency before adjustment is greater than the second output efficiency after adjustment. Considering that the first change value is greater than zero, i.e., the first output efficiency before adjustment is less than the second output efficiency before adjustment, i.e., the output efficiency corresponding to the first operating frequency before adjustment < the output efficiency corresponding to the second operating frequency before adjustment < the output efficiency corresponding to the second operating frequency after adjustment, therefore, when the second change value is greater than 0, the second operating frequency before adjustment is used as the target operating frequency. Similarly, if the second change value is greater than 0, the operating frequency of the charge pump after the previous frequency increase is determined as the operating frequency before the second adjustment, and the output efficiency of the charge pump at the operating frequency after the previous adjustment is determined as the output efficiency before the second adjustment, and the operating frequency of the charge pump continues to be increased. The process of determining the operating frequency and output efficiency before adjustment, and determining the second change value through the first preset method, is repeated each time until the second change value is less than 0. The operating frequency before adjustment when the second change value is less than 0 is then determined as the target operating frequency.
[0082] The following embodiments illustrate a method for determining a second change value.
[0083] Figure 9 This is a flowchart illustrating a method for determining a second change value using a second preset method, according to an exemplary embodiment. Figure 9 As shown, the method includes steps S601 to S602.
[0084] In step S601, the operating frequency of the charge pump is adjusted to the second adjusted operating frequency according to the frequency change, and the second adjusted output efficiency of the electronic device at the second adjusted operating frequency is determined. The second adjusted operating frequency is the sum of the operating frequency before the second adjustment and the frequency change.
[0085] In step S602, the difference between the value corresponding to the second adjusted operating frequency and the value corresponding to the second operating frequency before the second adjustment is determined as the second frequency change value, the difference between the value corresponding to the second adjusted output efficiency and the value corresponding to the second adjusted output efficiency before the second adjustment is determined as the second efficiency change value, and the ratio between the second efficiency change value and the second frequency change value is determined as the second change value.
[0086] In this embodiment, the operating frequency before the second adjustment, the output efficiency before the second adjustment, the operating frequency after the second adjustment (the operating frequency after the second adjustment is the sum of the operating frequency before the second adjustment and the frequency change), and the output efficiency after the second adjustment can all be regarded as coordinates on the curve corresponding to the operating frequency and output efficiency of the charge pump when the charging current meets the preset conditions. Specifically, (operating frequency before the second adjustment, output efficiency before the second adjustment) can be regarded as the coordinate before adjustment, and (operating frequency after the second adjustment, output efficiency before the second adjustment) can be regarded as the coordinate after adjustment. By determining the second efficiency change value and the second frequency change value, and by determining the ratio between the second efficiency change value and the second frequency change value, the second change value representing the slope between the coordinates before and after adjustment can be determined.
[0087] In an exemplary embodiment of this disclosure, such as Figure 10 The schematic diagram illustrates the determination of the target operating frequency during the adjustment process. This disclosure uses the following method to determine the target operating frequency: Given the initially determined second pre-adjustment operating frequency f1 and the second pre-adjustment output efficiency E1. The operating frequency is adjusted upwards to f2 according to a preset frequency change, and the output efficiency E2 at f2 is determined, with the slope M1 = (E2 - E1) / (f2 - f1). If M1 > 0, the operating frequency is adjusted upwards to f3 according to a preset frequency change, and the output efficiency E3 at f3 is determined, with the slope M2 = (E3 - E2) / (f3 - f2). If M2 > 0, the operating frequency is adjusted upwards to f4 according to a preset frequency change, and the output efficiency E4 at f4 is determined, with the slope M3 = (E4 - E3) / (f4 - f3). If M2 > 0, f3 is determined as the target operating frequency, and the operating frequency of the charge pump is set to f3.
[0088] In an exemplary embodiment of this disclosure, the target operating frequency is determined as follows: At the start of charge pump operation, the system is unknown, and the initial state is uncharged. Before enabling the charge pump, the system sets the charging current and the charge pump operating frequency f1. Before the charging current reaches the set current (preset current value), the charge pump frequency (i.e., operating frequency) is not adjusted. After reaching the set current, the microcontroller unit (MCU) reads the charge pump output efficiency E1 at this time. Then, the MCU increases the charge pump frequency to f2 (e.g., from 300kHz to 350kHz) in one step (corresponding to a frequency change, such as 50kHz). After the MCU completes the frequency increase, and the MCU reads that the frequency has changed from the charge pump, it reads the charge pump output efficiency E2 at this time. Calculate the slope M1 = (E2 - E1) / (f2 - f1). If M1 > 0, the MCU records M1 and repeats the above action to obtain the slope M2. If M2 > 0, then repeat this action until Mn = [En - (En - 1)] / [fn - (fn - 1)] < 0. Then fn is determined as the operating frequency, and the MCU adjusts the operating frequency of the charge pump to fn.
[0089] The following embodiments of this disclosure illustrate a method for determining a target operating frequency during the down-adjustment process.
[0090] Figure 11 This is a flowchart illustrating a method for determining a target operating frequency during a downsampling process, according to an exemplary embodiment. Figure 11 As shown, the method includes steps S701, S702A, and S702B.
[0091] In step S701, the operating frequency of the charge pump is adjusted down once according to the frequency change at the second operating frequency, the second operating frequency is determined as the operating frequency before the third adjustment, the output efficiency of the charge pump at the second operating frequency is determined as the output efficiency before the third adjustment, and the third change value is determined by the third preset method according to the operating frequency before the third adjustment, the output efficiency before the third adjustment, and the frequency change.
[0092] In step S702A, in response to the third change value being greater than 0, the second operating frequency is determined as the target operating frequency.
[0093] In step S702B, in response to the third change value being less than 0, the process of determining the third pre-adjustment operating frequency and the third pre-adjustment output efficiency, and determining the third change value through the third preset method is repeated until the third change value is greater than 0, and the pre-adjustment operating frequency when the third change value is greater than 0 is determined as the target operating frequency.
[0094] Specifically, when the third change value is less than 0, the operating frequency of the charge pump after the previous operating frequency was lowered is determined as the operating frequency before the third adjustment, and the output efficiency of the charge pump at the operating frequency after the previous adjustment is determined as the output efficiency before the third adjustment.
[0095] In this embodiment, the charge pump operating frequency is adjusted and the target operating frequency is determined according to the extreme value search control algorithm: When the first change value obtained after calculation based on the first operating frequency before adjustment, the first output efficiency before adjustment, the first operating frequency after adjustment, and the first output efficiency after adjustment is less than 0, the first operating frequency before adjustment (second operating frequency) and the first output efficiency before adjustment (output efficiency at the second operating frequency) are respectively used as the third operating frequency before adjustment and the third output efficiency before adjustment. A third change value is determined by a third preset method based on the third operating frequency before adjustment, the third output efficiency before adjustment, and the frequency change. If the third change value is greater than zero, it indicates that the third output efficiency before adjustment is greater than the third output efficiency after adjustment. Considering that the first change value is greater than zero, i.e., the first output efficiency before adjustment is less than the third output efficiency before adjustment, i.e., the output efficiency corresponding to the first operating frequency before adjustment < the output efficiency corresponding to the third operating frequency before adjustment < the output efficiency corresponding to the third operating frequency after adjustment, therefore, when the third change value is greater than 0, the third operating frequency before adjustment (second operating frequency) is used as the target operating frequency. Similarly, if the third change value is less than 0, the operating frequency of the charge pump after the previous frequency reduction is determined as the operating frequency before the third adjustment, and the output efficiency of the charge pump at the operating frequency after the previous reduction is determined as the output efficiency before the third adjustment. The operating frequency of the charge pump is then further reduced. The process of determining the operating frequency and output efficiency before adjustment, and determining the third change value through the first preset method, is repeated each time until the third change value is greater than 0. The operating frequency before adjustment when the third change value is greater than 0 is then determined as the target operating frequency.
[0096] The following embodiments illustrate a method for determining a third change value.
[0097] Figure 12 This is a flowchart illustrating a method for determining a third change value using a third preset method, according to an exemplary embodiment. Figure 12 As shown, the method includes steps S801 to S802.
[0098] In step S801, the operating frequency of the charge pump is adjusted to the third adjusted operating frequency according to the frequency change, and the third adjusted output efficiency of the electronic device at the third adjusted operating frequency is determined. The third adjusted operating frequency is the difference between the operating frequency before the third adjustment and the third frequency change.
[0099] In step S802, the difference between the value corresponding to the operating frequency before the third adjustment and the value corresponding to the operating frequency after the third adjustment is determined as the third frequency change value, the difference between the value corresponding to the output efficiency before the third adjustment and the value corresponding to the output efficiency after the third adjustment is determined as the third efficiency change value, and the ratio of the third efficiency change value to the third frequency change value is determined as the third change value.
[0100] In this embodiment, the operating frequency before the third adjustment, the output efficiency before the third adjustment, the operating frequency after the third adjustment (the operating frequency after the third adjustment is the difference between the operating frequency before the third adjustment and the frequency change), and the output efficiency after the third adjustment can all be regarded as coordinates on the curve corresponding to the operating frequency and output efficiency of the charge pump under the condition that the charging current meets the preset conditions. Specifically, (operating frequency before the third adjustment, output efficiency before the third adjustment) can be regarded as the coordinate before adjustment, and (operating frequency after the third adjustment, output efficiency before the third adjustment) can be regarded as the coordinate after adjustment. By determining the change value of the third efficiency and the change value of the third frequency, and by determining the ratio between the change value of the third efficiency and the change value of the third frequency, the third change value representing the slope between the coordinates before and after adjustment can be determined.
[0101] In an exemplary embodiment of this disclosure, such as Figure 13 The schematic diagram illustrates the determination of the target operating frequency during the adjustment process. This disclosure uses the following method to determine the target operating frequency: Given the initially determined operating frequency f1 before the third adjustment and the output efficiency E1 before the third adjustment. The operating frequency is adjusted upwards to f2 according to a preset frequency change, and the output efficiency E2 at f2 is determined, with the slope M1 = (E2 - E1) / (f2 - f1). If M1 > 0, f1 is set as the operating frequency of the charge pump. The operating frequency f1 is then adjusted downwards to f3 according to a preset frequency change, and the output efficiency E3 at f3 is determined, with the slope M2 = (E1 - E3) / (f1 - f3). If M2 < 0, the operating frequency is adjusted downwards to f4 according to a preset frequency change, and the output efficiency E4 at f4 is determined, with the slope M3 = (E3 - E4) / (f3 - f4). If M2 > 0, f3 is determined as the target operating frequency, and the operating frequency of the charge pump is set to f3.
[0102] In an exemplary embodiment of this disclosure, the target operating frequency is determined as follows: At the start of charge pump operation, the system is unknown, and the initial state is uncharged. Before enabling the charge pump, the system sets the charging current and the charge pump operating frequency f1. Before the charging current reaches the set current (preset current value), the charge pump frequency (i.e., operating frequency) is not adjusted. After reaching the set current, the microcontroller unit (MCU) reads the charge pump output efficiency E1 at this time. Then, the MCU increases the charge pump frequency to f2 (e.g., from 300kHz to 350kHz) in one step (corresponding to a frequency change, such as 50kHz). After the MCU completes the frequency increase, and the MCU reads that the frequency has changed from the charge pump, it reads the charge pump output efficiency E2 at this time. Calculate the slope M1 = (E2 - E1) / (f2 - f1). If M1 < 0, the MCU records M1 and repeats the above action to obtain the slope M2. If M2 < 0, then repeat this action until Mn = [En - (En - 1)] / [fn - (fn - 1)] > 0. Then, fn is determined as the operating frequency, and the MCU adjusts the operating frequency of the charge pump to fn.
[0103] In one embodiment of this disclosure, when the current charging current value meets a first preset condition, the current operating frequency is the operating frequency of the charge pump when the charging current value is adjusted to a preset current value; when the current charging current value meets a second preset condition, the current operating frequency is the target operating frequency determined when the charge pump operating frequency was previously adjusted.
[0104] In this embodiment of the disclosure, during the charging process of the electronic device, when the charging current is adjusted to a preset current value (i.e., the charging current meets a first preset condition), or after the charging current value is adjusted to the preset current value, each adjustment of the charging current value (i.e., the charging current meets a second preset condition) triggers the adjustment of the charge pump's operating frequency. Specifically, when the charging current is adjusted to the preset current value, triggering the first adjustment of the charge pump's operating frequency, the operating frequency of the charge pump at that time is determined as the current operating frequency, and subsequent adjustment procedures are executed. However, after the charging current value is adjusted to the preset current value, when the charging current value is adjusted again, the charge pump's operating frequency has already been adjusted at least once or multiple times. Therefore, the target operating frequency determined during the previous charge pump operating frequency adjustment is determined as the current operating frequency, and subsequent adjustment procedures are executed.
[0105] In one embodiment of this disclosure, the frequency change is an adjustable parameter.
[0106] It is understandable that the magnitude of the frequency change characterizes the granularity of a single adjustment when triggering the charge pump's operating frequency regulation. A smaller frequency change indicates a higher degree of granularity in the single adjustment, resulting in an output efficiency closer to the maximum output efficiency when the charging current meets preset conditions at the final target operating frequency. However, this also places higher demands on the computational performance of the electronic device. Therefore, the frequency change in this disclosure is an adjustable parameter, and the appropriate frequency change can be adaptively determined based on the computational performance of different electronic devices. For a fixed electronic device, the appropriate frequency change can also be adaptively determined based on the load level of the electronic device.
[0107] In an exemplary embodiment of this disclosure, such as Figure 14 The flowchart of the method for adjusting the operating frequency of the charge pump is shown. The operating frequency adjustment of the charge pump is performed as follows: The microcontroller unit needs to adjust the charging current. The microcontroller unit determines whether it is in a charging state. If it is in a charging state, it proceeds to step 1 (reading the current operating frequency f1 of the charge pump and recording the current efficiency E1), and then to step 2 (the microcontroller unit increases the operating frequency by one step). If it is not in a charging state, the microcontroller unit sets the initial operating frequency f1 and records the current efficiency E1, and then proceeds to step 2. After completing step 2, it proceeds to step 3 (the microcontroller unit reads the increased operating frequency f2 and records the increased efficiency E2), and then to step 4 (the microcontroller unit calculates the slope M1 = (E2 - E1) / (f2 - f1)). It then determines whether the slope M1 is greater than 0 (slope M1 > 0?). If the slope M1 is greater than 0, steps 1-4 are repeated until the slope Mn < 0, at which point the microcontroller unit sets the operating frequency of the charge pump to fn. If the slope M1 is less than 0, then execute steps A (read the current operating frequency F1' of the charge pump and record the current efficiency E1'), B (the microcontroller reduces the frequency by one step from the current operating frequency F1' to the adjusted frequency f2'), C (the microcontroller reads the adjusted operating frequency F2' and records the adjusted efficiency E2'), and D (the microcontroller calculates the slope M2' = (E1' - E2') / (f1' - f2')). Determine if the slope M2' is less than 0 (slope M2' < 0?). If the slope M2' is less than 0, repeat steps A and D until the slope Mn' > 0, at which point the microcontroller sets the charge pump operating frequency to Fn'. If the slope M2' is greater than 0, the microcontroller sets the charge pump operating frequency to f1'.
[0108] In this embodiment, the current charging current value is monitored in real time when charging the electronic device. If the current charging current value is adjusted to a preset current value, or if the charging current value is adjusted after being adjusted to the preset current value, the current operating frequency and current output efficiency of the charge pump in the electronic device are determined. Based on the current output efficiency, the current operating frequency, and a preset frequency change, the operating frequency of the charge pump is adjusted to a target operating frequency. The electronic device is then charged at the target operating frequency. Through this disclosure, during the charging process of the electronic device, when the charging current meets preset conditions, the operating frequency of the charge pump in the electronic device is adjusted, achieving dynamic adjustment of the charge pump's operating frequency during charging and ensuring that the charge pump maintains optimal output efficiency during charging.
[0109] Based on the same concept, this disclosure also provides a charging device 100.
[0110] It is understood that the charging device 100 provided in this disclosure includes hardware structures and / or software modules corresponding to each function in order to achieve the above-mentioned functions. In conjunction with the units and algorithm steps of the various examples disclosed in this disclosure, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of this disclosure.
[0111] Figure 15 This is a block diagram illustrating a charging device 100 according to an exemplary embodiment. (Refer to...) Figure 15 The device includes a monitoring unit 101, a determination unit 102, a processing unit 103, and an execution unit 104.
[0112] The monitoring unit 101 is used to monitor the current charging current value during the charging process in response to charging the electronic device.
[0113] The determining unit 102 is used to determine the current operating frequency of the charge pump in the electronic device and the current output efficiency of the charge pump in response to the current charging current value meeting the preset conditions.
[0114] The preset conditions include a first preset condition and a second preset condition. The first preset condition is that the charging current value is adjusted to a preset current value, and the second preset condition is that the charging current value is adjusted after the charging current value is adjusted to the preset current value.
[0115] The processing unit 103 is used to adjust the operating frequency of the charge pump to the target operating frequency based on the current output efficiency, the current operating frequency, and the preset frequency change.
[0116] The execution unit 104 is used to charge the electronic device at the target operating frequency.
[0117] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0118] In one embodiment, the processing unit 103 adjusts the operating frequency of the charge pump to a target operating frequency based on the current output efficiency, the current operating frequency, and a preset frequency change, including: determining the current operating frequency as the operating frequency before adjustment and determining the current output efficiency as the output efficiency before adjustment; determining a first change value according to the first operating frequency before adjustment, the first output efficiency before adjustment, and the frequency change using a first preset method; and adjusting the operating frequency of the charge pump to the target operating frequency based on the relationship between the first change value and 0, the current operating frequency, the current output efficiency, and the frequency change; wherein the processing unit 103 uses the following method: Determining the first change value through a first preset method includes: adjusting the operating frequency of the charge pump to a first adjusted operating frequency based on the frequency change; determining the first adjusted output efficiency of the electronic device at the first adjusted operating frequency, wherein the first adjusted operating frequency is the sum of the operating frequency before the first adjustment and the frequency change; determining the difference between the corresponding value of the first adjusted operating frequency and the corresponding value of the operating frequency before the first adjustment as the first frequency change value; determining the difference between the corresponding value of the first adjusted output efficiency and the corresponding value of the output efficiency before the first adjustment as the first efficiency change value; and determining the ratio between the first efficiency change value and the first frequency change value as the first change value.
[0119] In one embodiment, the processing unit 103 adjusts the operating frequency of the charge pump to a target operating frequency based on the magnitude relationship between a first change value and 0, the current operating frequency, the current output efficiency, and the frequency change amount, including: in response to a first change value being greater than 0, determining the sum of the current operating frequency and the frequency change amount as a first operating frequency, setting the operating frequency of the charge pump to the first operating frequency, and successively increasing the operating frequency of the charge pump according to the frequency change amount at the first operating frequency, determining the target operating frequency during the increase process, and adjusting the operating frequency of the charge pump to the target operating frequency; in response to a first change value being less than 0, determining the current operating frequency as a second operating frequency, setting the operating frequency of the charge pump to the second operating frequency, and successively decreasing the operating frequency of the charge pump according to the frequency change amount at the second operating frequency, determining the target operating frequency during the decrease process, and adjusting the operating frequency of the charge pump to the target operating frequency.
[0120] In one embodiment, the processing unit 103 adjusts the operating frequency of the charge pump sequentially according to the frequency change at a first operating frequency, and determines a target operating frequency during the adjustment process, including: adjusting the operating frequency of the charge pump once according to the frequency change at the first operating frequency, determining the first operating frequency as the second pre-adjustment operating frequency, determining the output efficiency of the charge pump at the first operating frequency as the second pre-adjustment output efficiency, and determining a second change value according to the second pre-adjustment operating frequency, the second pre-adjustment output efficiency, and the frequency change through a second preset method; in response to the second change value being less than 0, determining the second operating frequency as the target operating frequency; in response to the second change value being greater than 0, repeating the process of determining the second pre-adjustment operating frequency and the second pre-adjustment output efficiency, and determining the second change value through the second preset method, until the second change value is less than 0, and determining the pre-adjustment operating frequency when the second change value is less than 0 as the target operating frequency; In the process where the second change value is greater than 0, the operating frequency of the charge pump after the previous increase in operating frequency is determined as the operating frequency before the second adjustment, and the output efficiency of the charge pump at the operating frequency after the previous increase is determined as the output efficiency before the second adjustment. The processing unit 103 determines the second change value using a second preset method as follows: Based on the frequency change, the operating frequency of the charge pump is adjusted to the operating frequency after the second adjustment; the output efficiency of the electronic device after the second adjustment at the operating frequency after the second adjustment is determined; the operating frequency after the second adjustment is the sum of the operating frequency before the second adjustment and the frequency change; the difference between the corresponding value of the operating frequency after the second adjustment and the corresponding value of the operating frequency before the second adjustment is determined as the second frequency change value; the difference between the corresponding value of the output efficiency after the second adjustment and the corresponding value of the output efficiency before the second adjustment is determined as the second efficiency change value; and the ratio between the second efficiency change value and the second frequency change value is determined as the second change value.
[0121] In one embodiment, the processing unit 103 successively lowers the operating frequency of the charge pump according to the frequency change at a second operating frequency in the following manner, and determines a target operating frequency during the lowering process: lowering the operating frequency of the charge pump once according to the frequency change at the second operating frequency, determining the second operating frequency as the third pre-adjustment operating frequency, determining the output efficiency of the charge pump at the second operating frequency as the third pre-adjustment output efficiency, and determining a third change value according to the third pre-adjustment operating frequency, the third pre-adjustment output efficiency, and the frequency change through a third preset method; in response to the third change value being greater than 0, determining the second operating frequency as the target operating frequency; in response to the third change value being less than 0, repeating the process of determining the third pre-adjustment operating frequency and the third pre-adjustment output efficiency, and determining the third change value through the third preset method, until the third change value is greater than 0, and determining the pre-adjustment operating frequency when the third change value is greater than 0 as the target operating frequency. Wherein, when the third change value is less than 0, the operating frequency of the charge pump after the previous operating frequency reduction is determined as the operating frequency before the third adjustment, and the output efficiency of the charge pump at the operating frequency after the previous reduction is determined as the output efficiency before the third adjustment; wherein, the processing unit 103 determines the third change value through a third preset method in the following manner, including: adjusting the operating frequency of the charge pump to the operating frequency after the third adjustment according to the frequency change amount, determining the output efficiency of the electronic device after the third adjustment at the operating frequency after the third adjustment, wherein the operating frequency after the third adjustment is the difference between the operating frequency before the third adjustment and the third frequency change amount; determining the difference between the corresponding value of the operating frequency before the third adjustment and the corresponding value of the operating frequency after the third adjustment as the third frequency change value, determining the difference between the corresponding value of the output efficiency before the third adjustment and the corresponding value of the output efficiency after the third adjustment as the third efficiency change value, and determining the ratio of the third efficiency change value to the third frequency change value as the third change value.
[0122] In one embodiment, when the current charging current value meets a first preset condition, the current operating frequency is the operating frequency of the charge pump when the charging current value is adjusted to a preset current value; when the current charging current value meets a second preset condition, the current operating frequency is the target operating frequency determined when the charge pump operating frequency was previously adjusted.
[0123] In one implementation, the frequency change is an adjustable parameter.
[0124] Figure 16 This is a block diagram illustrating a charging device 200 according to an exemplary embodiment. The device 200 can be provided as a terminal. For example, the device 200 can be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0125] Reference Figure 16 The device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input / output (I / O) interface 212, sensor component 214, and communication component 216.
[0126] Processing component 202 typically controls the overall operation of device 200, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 202 may include one or more modules to facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.
[0127] Memory 204 is configured to store various types of data to support the operation of device 200. Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, pictures, videos, etc. Memory 204 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 storage, flash memory, magnetic disk, or optical disk.
[0128] The power supply component 206 provides power to the various components of the device 200. The power supply component 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 200.
[0129] Multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 208 includes a front-facing camera and / or a rear-facing camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0130] Audio component 210 is configured to output and / or input audio signals. For example, audio component 210 includes a microphone (MIC) configured to receive external audio signals when device 200 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 204 or transmitted via communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
[0131] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0132] Sensor assembly 214 includes one or more sensors for providing status assessments of various aspects of device 200. For example, sensor assembly 214 may detect the on / off state of device 200, the relative positioning of components such as the display and keypad of device 200, changes in the position of device 200 or a component of device 200, the presence or absence of user contact with device 200, the orientation or acceleration / deceleration of device 200, and temperature changes of device 200. Sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 214 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0133] Communication component 216 is configured to facilitate wired or wireless communication between device 200 and other devices. Device 200 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 216 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0134] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0135] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, which can be executed by a processor 220 of the device 200 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0136] It is understood that in this disclosure, "multiple" refers to two or more, and other quantifiers are similar. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. The singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.
[0137] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.
[0138] It is further understood that the terms “center,” “longitudinal,” “lateral,” “front,” “rear,” “up,” “down,” “left,” “right,” “vertical,” “horizontal,” “top,” “bottom,” “inner,” and “outer,” etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation.
[0139] It can be further understood that, unless otherwise specified, "connection" includes both direct connections where no other components exist between the two parties and indirect connections where other components exist between them.
[0140] It is further understood that although operations are described in a specific order in the accompanying drawings in the embodiments of this disclosure, this should not be construed as requiring these operations to be performed in the specific order or serial order shown, or requiring all of the shown operations to be performed to obtain the desired result. In certain environments, multitasking and parallel processing may be advantageous.
[0141] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein.
[0142] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A charging method, characterized in that, include: In response to charging electronic devices, the current charging current value is monitored during the charging process; In response to the current charging current value meeting a preset condition, the current operating frequency of the charge pump in the electronic device is determined, and the current output efficiency of the charge pump is determined. The preset condition includes a first preset condition and a second preset condition. The first preset condition is that the charging current value is adjusted to a preset current value, and the second preset condition is that the charging current value is adjusted after the charging current value is adjusted to the preset current value. Based on the current output efficiency, the current operating frequency, and the preset frequency change, the operating frequency of the charge pump is adjusted to the target operating frequency; The electronic device is charged at the target operating frequency.
2. The method according to claim 1, characterized in that, The step of adjusting the operating frequency of the charge pump to the target operating frequency based on the current output efficiency, the current operating frequency, and a preset frequency change includes: The current operating frequency is determined as the operating frequency before the first adjustment, and the current output efficiency is determined as the output efficiency before the first adjustment. Based on the operating frequency before the first adjustment, the output efficiency before the first adjustment, and the frequency change, the first change value is determined by a first preset method. Based on the relationship between the first change value and 0, the current operating frequency, the current output efficiency, and the frequency change, the operating frequency of the charge pump is adjusted to the target operating frequency; The step of determining the first change value through a first preset method includes: Based on the frequency change, the operating frequency of the charge pump is adjusted to the first adjusted operating frequency, and the first adjusted output efficiency of the electronic device at the first adjusted operating frequency is determined. The first adjusted operating frequency is the sum of the operating frequency before the first adjustment and the frequency change. The difference between the value corresponding to the first adjusted operating frequency and the value corresponding to the first operating frequency before adjustment is determined as the first frequency change value. The difference between the value corresponding to the first adjusted output efficiency and the value corresponding to the first output efficiency before adjustment is determined as the first efficiency change value. The ratio between the first efficiency change value and the first frequency change value is determined as the first change value.
3. The method according to claim 2, characterized in that, The step of adjusting the operating frequency of the charge pump to the target operating frequency based on the relationship between the first change value and 0, the current operating frequency, the current output efficiency, and the frequency change includes: In response to the first change value being greater than 0, the sum of the current operating frequency and the frequency change amount is determined as the first operating frequency, the operating frequency of the charge pump is set to the first operating frequency, and the operating frequency of the charge pump is successively increased according to the frequency change amount at the first operating frequency. During the increase process, a target operating frequency is determined, and the operating frequency of the charge pump is adjusted to the target operating frequency. In response to the first change value being less than 0, the current operating frequency is determined as the second operating frequency, the operating frequency of the charge pump is set to the second operating frequency, and the operating frequency of the charge pump is successively reduced according to the frequency change at the second operating frequency. During the reduction process, a target operating frequency is determined, and the operating frequency of the charge pump is adjusted to the target operating frequency.
4. The method according to claim 3, characterized in that, The step of successively increasing the operating frequency of the charge pump according to the frequency change at the first operating frequency, and determining the target operating frequency during the increase process, includes: At the first operating frequency, the operating frequency of the charge pump is increased once according to the frequency change amount, the first operating frequency is determined as the second pre-adjustment operating frequency, the output efficiency of the charge pump at the first operating frequency is determined as the second pre-adjustment output efficiency, and the second change value is determined by a second preset method according to the second pre-adjustment operating frequency, the second pre-adjustment output efficiency and the frequency change amount. In response to the second change value being less than 0, the second operating frequency is determined as the target operating frequency; In response to the second change value being greater than 0, the process of determining the second pre-adjustment operating frequency and the second pre-adjustment output efficiency, and determining the second change value through the second preset method is repeated until the second change value is less than 0, and the pre-adjustment operating frequency when the second change value is less than 0 is determined as the target operating frequency. Among them, when the second change value is greater than 0, the working frequency of the charge pump after the previous working frequency was increased is determined as the working frequency before the second adjustment, and the output efficiency of the charge pump at the working frequency after the previous increase is determined as the output efficiency before the second adjustment. The step of determining the second change value through a second preset method includes: Based on the frequency change, the operating frequency of the charge pump is adjusted to the second adjusted operating frequency, and the second adjusted output efficiency of the electronic device at the second adjusted operating frequency is determined. The second adjusted operating frequency is the sum of the operating frequency before the second adjustment and the frequency change. The difference between the value corresponding to the second adjusted operating frequency and the value corresponding to the operating frequency before the second adjustment is determined as the second frequency change value. The difference between the value corresponding to the second adjusted output efficiency and the value corresponding to the output efficiency before the second adjustment is determined as the second efficiency change value. The ratio between the second efficiency change value and the second frequency change value is determined as the second change value.
5. The method according to claim 3, characterized in that, The step of successively lowering the operating frequency of the charge pump according to the frequency change at the second operating frequency, and determining the target operating frequency during the lowering process, includes: At the second operating frequency, the operating frequency of the charge pump is reduced once according to the frequency change, the second operating frequency is determined as the operating frequency before the third adjustment, the output efficiency of the charge pump at the second operating frequency is determined as the output efficiency before the third adjustment, and the third change value is determined by a third preset method according to the operating frequency before the third adjustment, the output efficiency before the third adjustment, and the frequency change. In response to the third change value being greater than 0, the second operating frequency is determined as the target operating frequency; In response to the third change value being less than 0, the process of determining the third pre-adjustment operating frequency and the third pre-adjustment output efficiency, and determining the third change value through the third preset method is repeated until the third change value is greater than 0, and the pre-adjustment operating frequency when the third change value is greater than 0 is determined as the target operating frequency. In the case where the third change value is less than 0, the working frequency of the charge pump after the previous working frequency was lowered is determined as the working frequency before the third adjustment, and the output efficiency of the charge pump at the working frequency after the previous adjustment is determined as the output efficiency before the third adjustment. The step of determining the third change value through the third preset method includes: The operating frequency of the charge pump is adjusted to the third adjusted operating frequency based on the frequency change. The third adjusted output efficiency of the electronic device at the third adjusted operating frequency is determined. The third adjusted operating frequency is the difference between the operating frequency before the third adjustment and the third frequency change. The difference between the operating frequency value before the third adjustment and the operating frequency value after the third adjustment is determined as the third frequency change value. The difference between the output efficiency value before the third adjustment and the output efficiency value after the third adjustment is determined as the third efficiency change value. The ratio of the third efficiency change value to the third frequency change value is determined as the third change value.
6. The method according to claim 1, characterized in that, When the current charging current value meets the first preset condition, the current operating frequency is the operating frequency of the charge pump when the charging current value is adjusted to the preset current value; If the current charging current value meets the second preset condition, the current operating frequency is the target operating frequency determined when the charge pump operating frequency was adjusted last time.
7. The method according to any one of claims 1 to 5, characterized in that, The frequency change is an adjustable parameter.
8. A charging device, characterized in that, include: A monitoring unit is used to monitor the current charging current value during the charging process in response to charging the electronic device; A determining unit is configured to, in response to the current charging current value satisfying a preset condition, determine the current operating frequency of the charge pump in the electronic device and determine the current output efficiency of the charge pump. The preset condition includes a first preset condition and a second preset condition. The first preset condition is that the charging current value is adjusted to a preset current value, and the second preset condition is that the charging current value is adjusted after it is adjusted to the preset current value. The processing unit is used to adjust the operating frequency of the charge pump to the target operating frequency based on the current output efficiency, the current operating frequency, and a preset frequency change. An execution unit is used to charge the electronic device at the target operating frequency.
9. An electronic device, characterized in that, include: processor: Memory used to store processor-executable instructions; The processor is configured to perform the charging method according to any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium stores instructions that, when executed by a processor, enable the processor to perform the charging method according to any one of claims 1 to 7.