CN112947191A - Information processing method, information processing device, electronic equipment and storage medium - Google Patents

Information processing method, information processing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112947191A
CN112947191A CN202110183566.2A CN202110183566A CN112947191A CN 112947191 A CN112947191 A CN 112947191A CN 202110183566 A CN202110183566 A CN 202110183566A CN 112947191 A CN112947191 A CN 112947191A
Authority
CN
China
Prior art keywords
output voltage
power supply
supply efficiency
power
adapter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110183566.2A
Other languages
Chinese (zh)
Inventor
姚玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110183566.2A priority Critical patent/CN112947191A/en
Publication of CN112947191A publication Critical patent/CN112947191A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Abstract

The embodiment of the application discloses an information processing method, which comprises the following steps: acquiring first power supply efficiency of a power adapter when the power adapter supplies power to electric equipment by using first output voltage; if the first power supply efficiency is not within the range of the target power supply efficiency, controlling the power adapter to supply power to the electric equipment by using the second output voltage; and when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is higher than the first power supply efficiency, and the second power supply efficiency is within the range of the target power supply efficiency. The embodiment of the application also discloses an information processing device, electronic equipment and a storage medium.

Description

Information processing method, information processing device, electronic equipment and storage medium
Technical Field
The present application relates to, but not limited to, the field of computer technologies, and in particular, to an information processing method, an information processing apparatus, an electronic device, and a storage medium.
Background
With the rapid development of electronic technology, the functions supported by terminal devices are increasing, the dependence of people on the terminal devices is increasing, and the terminal devices need to be charged through a power adapter. However, the power adapter in the related art works with constant working efficiency, and the purpose of energy conservation and emission reduction cannot be achieved.
Disclosure of Invention
Embodiments of the present application are intended to provide an information processing method, an information processing apparatus, an electronic device, and a storage medium.
The technical scheme of the application is realized as follows:
an information processing method, the method comprising:
acquiring first power supply efficiency of a power adapter when the power adapter supplies power to electric equipment by using first output voltage;
if the first power supply efficiency is not within the range of the target power supply efficiency, controlling the power adapter to supply power to the electric equipment by using a second output voltage; and when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is greater than the first power supply efficiency, and the second power supply efficiency is within the target power supply efficiency range.
An information processing apparatus, the information processing apparatus comprising:
the acquisition module is used for acquiring first power supply efficiency when the power adapter supplies power to the electric equipment by using the first output voltage;
the processing module is used for controlling the power adapter to supply power to the electric equipment by using a second output voltage if the first power supply efficiency is not within a target power supply efficiency range; and when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is greater than the first power supply efficiency, and the second power supply efficiency is within the target power supply efficiency range.
An electronic device, the electronic device comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the information processing program stored in the memory to implement the steps of the information processing method as described above.
A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the method of information processing as described above.
According to the information processing method, the information processing device, the electronic equipment and the storage medium, when the power adapter supplies power to the electric equipment by using the first output voltage, the first power supply efficiency is obtained; if the first power supply efficiency is not within the range of the target power supply efficiency, controlling the power adapter to supply power to the electric equipment by using the second output voltage; when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is higher than the first power supply efficiency, and the second power supply efficiency is within the range of target power supply efficiency; that is, when the first power supply efficiency of the power adapter when supplying power to the electric device with the first output voltage is not within the target power supply efficiency range, the first output voltage of the power adapter is adjusted to be the second output voltage, so that the second power supply efficiency of the power adapter when supplying power to the electric device with the second output voltage is within the target power supply efficiency range; therefore, the output voltage of the power adapter is adjusted in real time, the power adapter is guaranteed to work in a target power supply efficiency range all the time, the working efficiency of the power adapter is improved, power loss is reduced, and waste of power resources is reduced.
Drawings
Fig. 1 is an alternative flow chart of an information processing method provided in an embodiment of the present application;
fig. 2 is an alternative flow chart of an information processing method provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of power supply efficiency of a power adapter as a function of output voltage according to an embodiment of the present application;
fig. 4 is an alternative flow chart of an information processing method provided in an embodiment of the present application;
fig. 5 is an alternative flow chart of an information processing method provided in an embodiment of the present application;
fig. 6 is an alternative flow chart of an information processing method provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of an alternative control circuit of the power adapter provided by the embodiments of the present application;
FIG. 8 is a schematic diagram of an alternative control circuit of the power adapter provided by the embodiments of the present application;
fig. 9 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Before further detailed description of the embodiments of the present application, terms and expressions referred to in the embodiments of the present application will be described, and the terms and expressions referred to in the embodiments of the present application will be used for the following explanation.
An embodiment of the present application provides an information processing method applied to an electronic device, and as shown in fig. 1, the method includes the following steps:
step 101, obtaining a first power supply efficiency when the power adapter supplies power to the electric equipment by using the first output voltage.
Here, the first output voltage is a voltage provided when the external voltage is processed by the power adapter and supplies power to the electric device. Here, the external voltage is a voltage supplied to the power adapter; the external voltage may be a voltage obtained by converting a mains voltage through a transformer, and the application is not particularly limited.
Wherein the first power supply efficiency is a ratio between the first output power and the first input power of the power adapter. The first output power is calculated based on the acquired first output voltage and first output current when the power adapter supplies power to the electric equipment; the first input power is calculated based on the acquired first input voltage and the acquired first input current when the power adapter supplies power to the electric equipment. Specifically, with reference to the following formula,
Figure BDA0002942131280000031
wherein Eff is the power supply efficiency when the power adapter supplies power to the electric equipment, PoutOutput Power, P, when powering a Power adapter for a Power consumerinInput power, V, for powering the consumer by the power adapteroutOutput voltage when supplying power to consumers for a power adapter, IoutOutput current, V, when powering a consumer for a power adapterinInput voltage when supplying the power adapter to an electrical consumer, IinThe input current when the power adapter supplies power to the electric equipment.
In the embodiment of the application, the electronic device obtains a first output voltage, a first output current, a first input voltage and a first input current when the power adapter supplies power to the electric device, and further, the electronic device determines a first power supply efficiency when the power adapter supplies power to the electric device with the first output voltage based on the first output voltage, the first output current, the first input voltage and the first input current.
And 102, if the first power supply efficiency is not within the target power supply efficiency range, controlling the power adapter to supply power to the electric equipment by using the second output voltage.
And when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is higher than the first power supply efficiency, and the second power supply efficiency is within the range of the target power supply efficiency.
The target power supply efficiency range may be a range in which the power utilization rate of the power adapter in the power supply process is greater than a utilization rate threshold. For example, the utilization rate reaches more than 90%.
In the embodiment of the application, after the electronic device obtains the first power supply efficiency when the power adapter supplies power to the electric device with the first output voltage, whether the first power supply efficiency is within the target power supply efficiency range is judged, if it is determined that the first power supply efficiency is not within the target power supply efficiency range, the first output voltage of the power adapter is adjusted to be the second output voltage, and it is determined that the second power supply efficiency when the power adapter supplies power to the electric device with the second output voltage is greater than the first power supply efficiency, and after the second power supply efficiency is within the target power supply efficiency range, in a target time period, the power adapter is continuously controlled to supply power to the electric device with the second output voltage, so that the power adapter is ensured to always work within the target power supply efficiency range.
In one applicable scenario, the electronic device determines that the power adapter is to output the first output voltage Vout1After the first power supply efficiency Eff1 when the power consumption equipment is powered is not in the target power supply efficiency range, the first output power PoutAnd an input voltage VinConstant when adjusting the first output voltage V of the power adapterout1Is the second output voltage Voit2Then, the first output current Iout1And a first input current Iin1Changes may also occur. The electronic device is based on the second output voltage Vout2A first input voltage VinAnd the changed first output current Iout1And a first input current Iin1And a second power supply efficiency Eff2 is determined. Further, the electronic device determines that the second power supply efficiency Eff2 is greater than the first power supply efficiency Eff1 and that the second power supply efficiency Eff2 is within a target power supply efficiency range, and continuously controls the power adapter to output the second output voltage V for a target period of timeout2To supply power to the electrical equipment.
According to the information processing method provided by the embodiment of the application, the first power supply efficiency of the power adapter when the power adapter supplies power to the electric equipment by using the first output voltage is obtained; if the first power supply efficiency is not within the range of the target power supply efficiency, controlling the power adapter to supply power to the electric equipment by using the second output voltage; when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is higher than the first power supply efficiency, and the second power supply efficiency is within the range of target power supply efficiency; that is, when the first power supply efficiency of the power adapter when supplying power to the electric device with the first output voltage is not within the target power supply efficiency range, the first output voltage of the power adapter is adjusted to be the second output voltage, so that the second power supply efficiency of the power adapter when supplying power to the electric device with the second output voltage is within the target power supply efficiency range; therefore, the output voltage of the power adapter is adjusted in real time, the power adapter is guaranteed to work in a target power supply efficiency range all the time, the working efficiency of the power adapter is improved, power loss is reduced, and waste of power resources is reduced.
An embodiment of the present application provides an information processing method applied to an electronic device, and as shown in fig. 2, the method includes the following steps:
step 201, obtaining a first power supply efficiency when the power adapter supplies power to the electric equipment with the first output voltage.
Step 202, if the first power supply efficiency is not within the target power supply efficiency range, acquiring a third output voltage different from the first output voltage and a third power supply efficiency when the power adapter supplies power to the electric equipment.
The third output voltage may be a voltage obtained by once adjusting the first output voltage, and the third output voltage may also be a voltage obtained by adjusting the first output voltage for multiple times. Here, when the first output voltage is adjusted a plurality of times, the current adjustment value of the third output voltage is determined based on the power supply efficiency corresponding to the conventional third output voltage.
In this embodiment of the application, after obtaining a first power supply efficiency when the power adapter supplies power to the electric device with a first output voltage, the electronic device determines whether the first power supply efficiency is within a target power supply efficiency range, and if it is determined that the first power supply efficiency is not within the target power supply efficiency range, adjusts the first output voltage of the power adapter to a third output voltage, and determines a third power supply efficiency when the power adapter supplies power to the electric device with the third output voltage.
In an applicable scenario, referring to fig. 3, a horizontal axis in fig. 3 represents an output voltage when the power adapter supplies power to the electric device, a vertical axis represents a power supply efficiency when the power adapter supplies power to the electric device, a solid line 11 in fig. 3 represents a variation curve of the power supply efficiency with the output voltage when the power adapter supplies power to the electric device, and a dashed line 12 in fig. 3 represents a relative variation curve of the input voltage and the power supply efficiency when the power adapter supplies power to the electric device. Here, any point on the solid line 11 may represent a first power supply efficiency when the power adapter supplies power to the electric device at the first output voltage. If the electronic device determines that the first power supply efficiency corresponding to a certain point on the solid line 11 is not within the target power supply efficiency range, the first output voltage of the power adapter is adjusted to be the third output voltage, and the third power supply efficiency when the power adapter supplies power to the electric device with the third output voltage is determined.
And step 203, determining a second output voltage based on the third power supply efficiency and the first power supply efficiency.
Here, the third power supply efficiency may be greater than the first power supply efficiency, and the third power supply efficiency may also be less than the first power supply efficiency. The electronic device determines a second output voltage based on the obtained third power supply efficiency and the first power supply efficiency.
In some embodiments of the present application, when the electronic device executes step 203 to determine the second output voltage based on the third power supply efficiency and the first power supply efficiency, the following steps may be implemented: if the third power supply efficiency is greater than the first power supply efficiency, the first threshold value is adjusted along a first change direction from the first output voltage to the third output voltage to obtain a second output voltage.
In this embodiment, the first changing direction is a changing direction from the first output voltage to the third output voltage, and the first threshold may be a preset value.
In an implementation scenario, referring to fig. 3, if a point 1 on a solid line 11 represents a first power supply efficiency when the power adapter supplies power to the electrical device at a first output voltage, a point 2 represents a third power supply efficiency when the power adapter obtains a third output voltage different from the first output voltage and supplies power to the electrical device, and the third power supply efficiency is greater than the first power supply efficiency. At this time, the electronic device continues to adjust the first threshold along the first changing direction from the first output voltage to the third output voltage, i.e. along the increasing direction of the output voltage, so as to obtain the second output voltage.
In an implementation scenario, referring to fig. 3, if a point 6 on a solid line 11 represents a first power supply efficiency when the power adapter supplies power to the electrical device at a first output voltage, a point 5 represents a third power supply efficiency when the power adapter obtains a third output voltage different from the first output voltage and supplies power to the electrical device, and the third power supply efficiency is greater than the first power supply efficiency. At this time, the electronic device continues to adjust the first threshold along the first changing direction from the first output voltage to the third output voltage, i.e. along the direction of decreasing output voltage, so as to obtain the second output voltage.
Therefore, when the electronic device determines that the third power supply efficiency is greater than the first power supply efficiency, the electronic device adjusts the output voltage of the power adapter in real time along the first change direction from the first output voltage to the third output voltage so as to ensure that the electric energy utilization rate corresponding to the current output voltage of the power adapter reaches the utilization rate threshold value, so that the working efficiency of the power adapter is improved, the electric power loss is reduced, and the waste of electric power resources is reduced.
In other embodiments of the present application, referring to fig. 4, if the third power supply efficiency is greater than the first power supply efficiency, the adjusting the first threshold along the first changing direction from the first output voltage to the third output voltage to obtain the second output voltage may be implemented by the following steps:
step 301, if the third power supply efficiency is greater than the first power supply efficiency, adjusting a third threshold along a first variation direction from the first output voltage to the third output voltage to obtain a fourth output voltage.
Wherein the third threshold is less than the first threshold.
In this embodiment, if the electronic device determines that the third power supply efficiency is greater than the first power supply efficiency, the third threshold smaller than the first threshold is adjusted along a first change direction from the first output voltage to the third output voltage, so as to obtain a fourth output voltage. Therefore, in the process of adjusting the output voltage for multiple times, the adjustment value of the output voltage can be smaller and smaller.
And step 302, controlling the power adapter to supply power to the electric equipment by using the fourth output voltage.
And step 303, obtaining a fourth power supply efficiency when the power adapter supplies power to the electric equipment by using the fourth output voltage.
Step 304, if the fourth power supply efficiency is greater than the third power supply efficiency, adjusting a fourth threshold along a first variation direction from the first output voltage to the third output voltage to obtain a fifth output voltage.
Here, the fourth threshold may be equal to the third threshold, that is, the output voltage is adjusted by means of voltage equidistant threshold adjustment; the fourth threshold may also be larger than the third threshold, and the fourth threshold may also be smaller than the third threshold, that is, the output voltage is adjusted by sequentially increasing the voltage threshold or sequentially decreasing the voltage threshold.
In this embodiment, the electronic device determines that a fourth power supply efficiency of the power adapter when the power adapter supplies power to the electrical device with the fourth output voltage is greater than a third power supply efficiency of the power adapter when the power adapter supplies power to the electrical device with the third output voltage, and adjusts the fourth threshold along a first change direction from the first output voltage to the third output voltage to obtain a fifth output voltage. In this way, when the electronic device adjusts the third output voltage, the threshold values of different magnitudes are adjusted to the third output voltage along the first changing direction from the first output voltage to the third output voltage, that is, the same changing direction, so as to obtain an output voltage closer to or equal to the second output voltage.
And 305, controlling the power adapter to supply power to the electric equipment by using the fifth output voltage.
And step 306, acquiring a fifth power supply efficiency when the power adapter supplies power to the electric equipment by using the fifth output voltage.
And 307, if the fifth power supply efficiency is smaller than the fourth power supply efficiency, determining a second output voltage based on the fifth output voltage and the fourth output voltage.
In the embodiment of the application, the electronic device determines that the fifth power supply efficiency when the power adapter supplies power to the electric device with the fifth output voltage is smaller than the fourth power supply efficiency when the power adapter supplies power to the electric device with the fourth output voltage, and determining the second output voltage based on the fifth output voltage and the fourth output voltage can be implemented in two ways,
in the first mode, the average value of the fifth output voltage and the fourth output voltage is determined as the second output voltage.
In the second mode, a first voltage value obtained by multiplying the fifth output voltage by the first weight is obtained, a second voltage value obtained by multiplying the fourth output voltage by the second weight is obtained, and the first voltage value and the second voltage value are added to obtain a second output voltage. Wherein the first weight is less than the second weight.
Therefore, after the electronic device adjusts the third output voltage for multiple times along the same changing direction, the fourth output voltage and the fifth output voltage are obtained, it is determined that the fourth power supply efficiency corresponding to the fourth output voltage is greater than the third power supply efficiency corresponding to the third output voltage, the fourth power supply efficiency corresponding to the fourth output voltage is greater than the fifth power supply efficiency corresponding to the fifth output voltage, and the second output voltage is determined based on the fourth output voltage and the fifth output voltage. Therefore, when the power supply efficiency corresponding to the adjusted output voltage is smaller than the maximum power supply efficiency, a new output voltage is determined based on the two latest output voltages so as to ensure that the power adapter always works in the target power supply efficiency range, the working efficiency of the power adapter is improved, the power loss is reduced, and the waste of power resources is reduced.
In an implementation scenario, referring to fig. 5, the electronic device controls the power adapter to supply power to the electric device at the second output voltage, and may further implement the following steps,
step A1, the electronic device obtains the input voltage V of the power adapter based on the current timeinAnd an input current IinDetermining the input power Pin
Step A2, the electronic device obtains the output voltage V of the power adapter based on the current timeout1And an output current IoutDetermining the output power Pout
Step A3 based on input power PinAnd the output power PoutThe power supply efficiency Eff1 at the present time is determined.
And A4, acquiring the power supply efficiency Eff2 at the previous moment, and judging whether the power supply efficiency Eff1 at the current moment is equal to the power supply efficiency Eff2 at the previous moment.
In the embodiment of the application, in the step a4, the electronic device determines whether the power supply efficiency Eff1 at the current time is equal to the power supply efficiency Eff2 at the previous time, and if the electronic device determines that the power supply efficiency Eff1 at the current time is equal to the power supply efficiency Eff2 at the previous time, the step a1 is returned; if the electronic device determines that the power supply efficiency Eff1 at the current moment is not equal to the power supply efficiency Eff2 at the previous moment, step a5 is performed.
And step A5, judging whether the power supply efficiency Eff1 at the current moment is greater than the power supply efficiency Eff2 at the previous moment.
In the embodiment of the application, the electronic device in step a5 determines whether the power supply efficiency Eff1 at the current time is greater than the power supply efficiency Eff2 at the previous time, and if the electronic device determines that the power supply efficiency Eff1 at the current time is greater than the power supply efficiency Eff2 at the previous time, step a6 is executed; if the electronic device determines that the power supply efficiency Eff1 at the current moment is not greater than the power supply efficiency Eff2 at the previous moment, step a7 is performed.
Step A6, obtaining the output voltage V at the previous momentout2Judging the output voltage V at the current momentout1Whether or not it is greater than the output voltage V at the previous momentout2
In this embodiment, in step a6, the electronic device determines the output voltage V at the current momentout1Whether or not it is greater than the output voltage V at the previous momentout2If the electronic device determines the output voltage V at the current momentout1Greater than the output voltage V at the previous momentout2Then step A8 is performed; if the electronic equipment determines the output voltage V at the current momentout1No more than the output voltage V at the previous momentout2Then step a9 is performed.
Step A7, obtaining the output voltage V at the previous momentout2Judging the output voltage V at the current momentout1Whether or not it is greater than the output voltage V at the previous momentout2
In this embodiment, in step a7, the electronic device determines the output voltage V at the current momentout1Whether or not it is greater than the output voltage V at the previous momentout2If the electronic device determines the output voltage V at the current momentout1Greater than the output voltage V at the previous momentout2Then step a10 is performed; if the electronic equipment determines the output voltage V at the current momentout1No more than the output voltage V at the previous momentout2Then step a11 is performed.
Step A8, output voltage V at present timeout1Increasing the first threshold value DeltaV to obtain the adjusted output voltage V at the current momentout1
Step A9, output voltage V at present timeout1Reducing the first threshold value DeltaV to obtain the adjusted output voltage V at the current momentout1
Step A10, output voltage V at present timeout1Reducing the first threshold value DeltaV to obtain the adjusted output voltage V at the current momentout1
Step A11, output voltage V at present timeout1Increasing the first threshold value DeltaV to obtain the adjusted output voltage V at the current momentout1
Step A12, adjusting the output voltage V at the current momentout1Updated to the output voltage V of the previous momentout2The power supply efficiency Eff1 at the current moment is updated to the power supply efficiency Eff2 at the previous moment, and the process returns to the step A1 to continue to be executed until the power supply efficiency Eff1 at the current moment is determined to be within the target power supply efficiency range, namely, the maximum power supply efficiency.
In this embodiment, after the electronic device performs, if the third power supply efficiency is greater than the first power supply efficiency, adjusting the first threshold along the first variation direction from the first output voltage to the third output voltage to obtain the second output voltage, the following steps may be further performed:
and 204, determining a first duty ratio obtained by adjusting the duty ratio of the power adapter along the direction opposite to the first change direction based on the second output voltage.
The duty ratio is the proportion of the duration of a high level in one pulse period to the whole period; the first duty cycle is obtained by adjusting the frequency in the pwm controller of the power adapter, i.e., adjusting the pulse period in the pwm controller of the power adapter, in the direction opposite to the first variation direction, without changing the duration of the high level. Specifically, the duty cycle of the power adapter may be calculated with reference to the following formula,
Figure BDA0002942131280000111
where Freq is the frequency in the PWM controller, VinFor the input voltage of the power adapter, Eff is the current power supply efficiency of the power adapter, VoutOutput voltage when supplying power to consumers for a power adapter, IoutOutput current, L, when powering a consumer for a power adaptermIs an inductor, T is the pulse period in a PWM controller, TonFor the duration of the PWM controller at high level, ToffD is the duty cycle for the duration that the pwm controller is at low level.
Here, the formula
Figure BDA0002942131280000112
It can be seen that due to the inductance LmAnd the input voltage V of the power adapterinConstant, output voltage V when the power adapter is supplying power to a consumeroutWhen the change occurs, the duty ratio D of the PWM controller in the power adapter and the output current I when the power adapter supplies power to the electric equipmentoutThis time constant. Further, the output voltage V of the power adapter for supplying power to the electric equipment is determined electronicallyoutThe frequency Freq in the pwm controller changes. In particular, the output voltage V when the power adapter is supplying power to a consumeroutWhen increasing, the frequency Freq in the pulse width modulation controller will decrease; output voltage V when power adapter supplies power to electric equipmentoutWhen decreasing, the frequency Freq in the pulse width modulation controller increases; that is, the output voltage V of the power adapter when supplying power to the consumeroutInversely proportional to the frequency Freq in the pulse width modulation controller; go toStep by step, according to the formula, determining the adjustment direction of the duty ratio and the output voltage VoutI.e. the adjustment direction of the duty cycle is opposite to the first variation direction.
Here, Pulse Width Modulation (PWM) is the control of the on and off of switching devices in a circuit such that a series of pulses of equal amplitude are obtained at the output. The pulse is used for simulating a traditional waveform such as a sine wave, a triangular wave and the like, namely, a plurality of pulses are generated in a half cycle of an output waveform, the equivalent voltage of each pulse is a sine waveform or other waveforms, and the obtained output is smooth and has few low-order harmonics. The width of each pulse is modulated according to a certain rule, so that the magnitude of the output voltage in the inverter circuit can be changed, and the output frequency can also be changed.
And step 205, if the first power supply efficiency is not within the target power supply efficiency range, controlling the power adapter to supply power to the electric equipment by using the second output voltage based on the first duty ratio.
In the embodiment of the application, after determining a first duty ratio obtained by adjusting the duty ratio of the power adapter along the direction opposite to the first changing direction based on the second output voltage, the electronic device determines whether the first power supply efficiency is within a target power supply efficiency range; and if the first power supply efficiency is determined not to be within the target power supply efficiency range, the electronic device controls the power adapter to supply power to the electric equipment by using the second output voltage based on the first duty ratio.
In other embodiments of the present application, when the electronic device executes step 203 and determines the second output voltage based on the third power supply efficiency and the first power supply efficiency, the following steps may be further implemented: if the third power supply efficiency is smaller than the first power supply efficiency, adjusting a second threshold value along a second change direction from the third output voltage to the first output voltage to obtain a second output voltage.
In this embodiment, the second variation direction is a direction from the third output voltage to the first output voltage, and the second threshold may be a preset value.
In an implementation scenario, referring to fig. 3, if a point 2 on a solid line 11 represents a first power supply efficiency when the power adapter supplies power to the electrical device at a first output voltage, a point 1 represents a third power supply efficiency when the power adapter obtains power to the electrical device at a third output voltage different from the first output voltage, and the third power supply efficiency is smaller than the first power supply efficiency. At this time, the electronic device continues to adjust the second threshold along a second change direction from the third output voltage to the first output voltage, i.e., along a direction in which the output voltage increases, so as to obtain a second output voltage.
In an implementation scenario, referring to fig. 3, if a point 5 on a solid line 11 represents a first power supply efficiency when the power adapter supplies power to the electrical device at a first output voltage, a point 6 represents a third power supply efficiency when the power adapter obtains a third output voltage different from the first output voltage and supplies power to the electrical device, and the third power supply efficiency is smaller than the first power supply efficiency. At this time, the electronic device continues to adjust the second threshold along a second change direction from the third output voltage to the first output voltage, i.e., along a direction in which the output voltage decreases, so as to obtain a second output voltage.
In this embodiment, after the electronic device performs, if the third power supply efficiency is smaller than the first power supply efficiency, adjusting the second threshold along a second variation direction from the third output voltage to the first output voltage to obtain the second output voltage, the electronic device may further perform the following steps:
and step 206, determining a second duty ratio obtained by adjusting the duty ratio of the power adapter along the direction opposite to the second change direction based on the second output voltage.
And under the condition that the duration of the high level is unchanged, adjusting the frequency in the pulse width modulation controller in the power adapter along the direction opposite to the second change direction, namely adjusting the pulse period in the pulse width modulation controller in the power adapter.
Here, the output voltage V when the power adapter supplies power to the electric deviceoutIn inverse proportion to the frequency Freq in the PWM controller, and further, according to the formula, determining the adjustment direction and output of the duty ratioVoltage VoutI.e. the adjustment direction of the duty cycle is opposite to the second variation direction.
And step 207, if the first power supply efficiency is not within the target power supply efficiency range, controlling the power adapter to supply power to the electric equipment by using the second output voltage based on the second duty ratio.
In an implementation scenario, referring to fig. 6, the electronic device determines that the first power supply efficiency is not within the target power supply efficiency range, and controls the power adapter to supply power to the power consumption device at the second output voltage based on the duty ratio, which may be implemented by,
step B1, the electronic device obtains the input voltage V of the power adapter based on the current timeinAnd an input current IinDetermining the input power Pin
Step B2, the electronic device obtains the output voltage V of the power adapter based on the current timeout1And an output current IoutDetermining the output power Pout
Step B3, based on input power PinAnd the output power PoutThe power supply efficiency Eff1 at the present time is determined.
And B4, acquiring the power supply efficiency Eff2 at the previous moment, and judging whether the power supply efficiency Eff1 at the current moment is greater than the power supply efficiency Eff2 at the previous moment.
In this embodiment of the application, in step B4, the electronic device determines whether the power supply efficiency Eff1 at the current time is greater than the power supply efficiency Eff2 at the previous time, and if the electronic device determines that the power supply efficiency Eff1 at the current time is greater than the power supply efficiency Eff2 at the previous time, step B5 is executed; if the electronic device determines that the power supply efficiency Eff1 at the current moment is less than the power supply efficiency Eff2 at the previous moment, step B6 is performed.
Step B5, output Voltage V at the present timeout1Increasing the first threshold value DeltaV to obtain the adjusted output voltage V at the current momentout1
Step B6, output Voltage V at the present timeout1Reducing the first threshold value DeltaV to obtain the adjusted output voltage V at the current momentout1
Step B7, adjusting the output voltage V based on the current timeout1Determining the output frequency adjusted by a PWM controller in the power adapter;
step B8, determining the duty ratio adjusted by the PWM controller based on the output frequency adjusted by the PWM controller; simultaneously adjusting the output voltage V at the current momentout1Updated to the output voltage V of the previous momentout2The power supply efficiency Eff1 at the present time is updated to the power supply efficiency Eff2 at the previous time.
And step B9, feeding back the adjusted duty ratio through the adjusting device, and returning to the step B1 to re-determine the output voltage and the power supply efficiency of the power adapter at the next moment until the power supply efficiency Eff1 at the current moment is determined to be within the target power supply efficiency range, namely the maximum power supply efficiency.
In an implementation application scenario, taking a Type-C power adapter as an example, referring to fig. 7, fig. 7 is a schematic diagram of a control circuit of the power adapter, where the power adapter is connected to a power supply terminal, and a PWM controller in the power adapter obtains an input voltage and an output current of the power supply terminal rectified by an input rectifying circuit through a PIN; the PD integrated chip in the power adapter obtains output voltage and output current obtained after input voltage and input current pass through the flyback converter circuit, the obtained output voltage and output current are sent to the PWM controller, the PWM controller calculates the power supply efficiency at the current moment and compares the power supply efficiency with the power supply efficiency at the last moment stored in the register, and then the duty ratio of the output voltage and the PWM controller is adjusted to ensure that the power adapter always works in a target power supply efficiency range, so that the working efficiency of the power adapter is improved, the power loss is reduced, and the waste of power resources is reduced.
In an implementation application scenario, referring to fig. 8, fig. 8 is a schematic diagram of a control circuit of a power adapter, where the power adapter is connected to a power supply terminal, and a PWM controller in the power adapter obtains an input voltage and an output current of the power supply terminal after being rectified by an input rectifying circuit; the PD integrated chip in the power adapter obtains output voltage and output current obtained after input voltage and input current pass through the flyback converter circuit, the obtained output voltage and output current are sent to the PWM controller, the PWM controller calculates the power supply efficiency at the current moment and compares the power supply efficiency with the power supply efficiency at the last moment stored in the register, and then the duty ratio of the output voltage and the PWM controller is adjusted to ensure that the power adapter always works in a target power supply efficiency range, so that the working efficiency of the power adapter is improved, the power loss is reduced, and the waste of power resources is reduced.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
An embodiment of the present application provides an information processing apparatus, which can be applied to an information processing method provided in the embodiments corresponding to fig. 1, 2, and 4, and as shown in fig. 9, the information processing apparatus 8 includes:
an obtaining module 801, configured to obtain a first power supply efficiency when the power adapter supplies power to an electrical device with a first output voltage;
the processing module 802 is configured to control the power adapter to supply power to the electrical device with the second output voltage if the first power supply efficiency is not within the target power supply efficiency range; and when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is higher than the first power supply efficiency, and the second power supply efficiency is within the range of the target power supply efficiency.
In other embodiments of the present application, the obtaining module 801 is further configured to obtain, if the first power supply efficiency is not within the target power supply efficiency range, a third power supply efficiency when the power adapter supplies power to the electrical device at a third output voltage different from the first output voltage; the processing module 802 is further configured to determine a second output voltage based on the third power supply efficiency and the first power supply efficiency.
In other embodiments of the present application, the processing module 802 is further configured to adjust the first threshold along a first variation direction from the first output voltage to the third output voltage to obtain the second output voltage if the third power supply efficiency is greater than the first power supply efficiency.
In other embodiments of the present application, the processing module 802 is further configured to determine, based on the second output voltage, a first duty ratio obtained by adjusting a duty ratio of the power adapter along a direction opposite to the first variation direction; and if the first power supply efficiency is not in the target power supply efficiency range, controlling the power adapter to supply power to the electric equipment by using the second output voltage based on the first duty ratio.
In other embodiments of the present application, the processing module 802 is further configured to adjust a second threshold along a second variation direction from the third output voltage to the first output voltage to obtain a second output voltage if the third power supply efficiency is smaller than the first power supply efficiency.
In other embodiments of the present application, the processing module 802 is further configured to determine, based on the second output voltage, a second duty ratio obtained by adjusting the duty ratio of the power adapter along a direction opposite to the second variation direction; and if the first power supply efficiency is not in the target power supply efficiency range, controlling the power adapter to supply power to the electric equipment by using the second output voltage based on the second duty ratio.
In other embodiments of the present application, the processing module 802 is further configured to adjust a third threshold along a first changing direction from the first output voltage to a third output voltage to obtain a fourth output voltage if the third power supply efficiency is greater than the first power supply efficiency; wherein the third threshold is less than the first threshold; controlling the power adapter to supply power to the electric equipment by using the fourth output voltage; the obtaining module 801 is further configured to obtain a fourth power supply efficiency when the power adapter supplies power to the electrical device with the fourth output voltage; the processing module 802 is further configured to adjust a fourth threshold along a first variation direction from the first output voltage to the third output voltage to obtain a fifth output voltage if the fourth power supply efficiency is greater than the third power supply efficiency; controlling the power adapter to supply power to the electric equipment by using the fifth output voltage; the obtaining module 801 is further configured to obtain a fifth power supply efficiency when the power adapter supplies power to the electrical device with the fifth output voltage; the processing module 802 is further configured to determine a second output voltage based on the fifth output voltage and the fourth output voltage if the fifth power supply efficiency is smaller than the fourth power supply efficiency.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
An embodiment of the present application provides an electronic device, which may be applied to an information processing method provided in the embodiments corresponding to fig. 1, 2, and 4, and as shown in fig. 10, the electronic device 9 includes: a processor 901, a memory 902, and a communication bus 903, wherein:
the communication bus 903 is used to enable communication connections between the processor 901 and the memory 902.
The processor 901 is configured to execute an information processing program stored in the memory 902 to implement the following steps:
acquiring first power supply efficiency of a power adapter when the power adapter supplies power to electric equipment by using first output voltage;
if the first power supply efficiency is not within the range of the target power supply efficiency, controlling the power adapter to supply power to the electric equipment by using the second output voltage; and when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is higher than the first power supply efficiency, and the second power supply efficiency is within the range of the target power supply efficiency.
In other embodiments of the present application, the processor 901 is configured to execute the information processing program stored in the memory 902 to implement the following steps:
if the first power supply efficiency is not within the target power supply efficiency range, acquiring a third output voltage different from the first output voltage and used by the power adapter for supplying power to the electric equipment; the second output voltage is determined based on the third power supply efficiency and the first power supply efficiency.
In other embodiments of the present application, the processor 901 is configured to execute the information processing program stored in the memory 902 to implement the following steps:
if the third power supply efficiency is greater than the first power supply efficiency, the first threshold value is adjusted along a first change direction from the first output voltage to the third output voltage to obtain a second output voltage.
In other embodiments of the present application, the processor 901 is configured to execute the information processing program stored in the memory 902 to implement the following steps:
determining a first duty ratio obtained by adjusting the duty ratio of the power adapter along the direction opposite to the first change direction based on the second output voltage; and if the first power supply efficiency is not in the target power supply efficiency range, controlling the power adapter to supply power to the electric equipment by using the second output voltage based on the first duty ratio.
In other embodiments of the present application, the processor 901 is configured to execute the information processing program stored in the memory 902 to implement the following steps:
if the third power supply efficiency is smaller than the first power supply efficiency, adjusting a second threshold value along a second change direction from the third output voltage to the first output voltage to obtain a second output voltage.
In other embodiments of the present application, the processor 901 is configured to execute the information processing program stored in the memory 902 to implement the following steps:
determining a second duty cycle obtained by adjusting the duty cycle of the power adapter along the direction opposite to the second change direction based on the second output voltage; and if the first power supply efficiency is not in the target power supply efficiency range, controlling the power adapter to supply power to the electric equipment by using the second output voltage based on the second duty ratio.
In other embodiments of the present application, the processor 901 is configured to execute the information processing program stored in the memory 902 to implement the following steps:
if the third power supply efficiency is greater than the first power supply efficiency, adjusting a third threshold value along a first change direction from the first output voltage to a third output voltage to obtain a fourth output voltage; wherein the third threshold is less than the first threshold; controlling the power adapter to supply power to the electric equipment by using the fourth output voltage; acquiring fourth power supply efficiency of the power adapter when the power adapter supplies power to the electric equipment by using the fourth output voltage; if the fourth power supply efficiency is greater than the third power supply efficiency, adjusting a fourth threshold value along a first change direction from the first output voltage to the third output voltage to obtain a fifth output voltage; controlling the power adapter to supply power to the electric equipment by using the fifth output voltage; acquiring a fifth power supply efficiency of the power adapter when the power adapter supplies power to the electric equipment by using the fifth output voltage; and if the fifth power supply efficiency is smaller than the fourth power supply efficiency, determining the second output voltage based on the fifth output voltage and the fourth output voltage.
By way of example, the Processor may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor or the like.
In the embodiment of the present application, if the information processing method is implemented in the form of a software functional module and sold or used as a standalone product, the information processing method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a terminal device to execute all or part of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
The present embodiment provides a computer storage medium, which stores one or more programs, where the one or more programs are executable by one or more processors to implement the steps of the information processing method according to any one of the above embodiments.
According to the storage medium provided by the embodiment of the application, the first power supply efficiency of the power adapter when the power adapter supplies power to the electric equipment by using the first output voltage is obtained; if the first power supply efficiency is not within the range of the target power supply efficiency, controlling the power adapter to supply power to the electric equipment by using the second output voltage; when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is higher than the first power supply efficiency, and the second power supply efficiency is within the range of target power supply efficiency; that is, when the first power supply efficiency of the power adapter when supplying power to the electric device with the first output voltage is not within the target power supply efficiency range, the first output voltage of the power adapter is adjusted to be the second output voltage, so that the second power supply efficiency of the power adapter when supplying power to the electric device with the second output voltage is within the target power supply efficiency range; therefore, the output voltage of the power adapter is adjusted in real time, the power adapter is guaranteed to work in a target power supply efficiency range all the time, the working efficiency of the power adapter is improved, power loss is reduced, and waste of power resources is reduced.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
The computer storage medium/Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM), and the like; but may also be various terminals such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above-mentioned memories.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment of the present application" or "a previous embodiment" or "some embodiments" or "some implementations" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "an embodiment of the present application" or "the preceding embodiments" or "some implementations" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the related art may be embodied in the form of a software product stored in a storage medium, and including several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
It should be noted that the drawings in the embodiments of the present application are only for illustrating schematic positions of the respective devices on the terminal device, and do not represent actual positions in the terminal device, actual positions of the respective devices or the respective areas may be changed or shifted according to actual conditions (for example, a structure of the terminal device), and a scale of different parts in the terminal device in the drawings does not represent an actual scale.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An information processing method, the method comprising:
acquiring first power supply efficiency of a power adapter when the power adapter supplies power to electric equipment by using first output voltage;
if the first power supply efficiency is not within the range of the target power supply efficiency, controlling the power adapter to supply power to the electric equipment by using a second output voltage; and when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is greater than the first power supply efficiency, and the second power supply efficiency is within the target power supply efficiency range.
2. The method of claim 1, wherein before controlling the power adapter to supply power to the electrical device at the second output voltage if the first power supply efficiency is not within the target power supply efficiency range, the method comprises:
if the first power supply efficiency is not within the target power supply efficiency range, acquiring a third power supply efficiency of the power adapter when supplying power to the electric equipment by using a third output voltage different from the first output voltage;
determining the second output voltage based on the third power supply efficiency and the first power supply efficiency.
3. The method of claim 2, the determining the second output voltage based on the third power supply efficiency and the first power supply efficiency, comprising:
if the third power supply efficiency is greater than the first power supply efficiency, a first threshold value is adjusted along a first change direction from the first output voltage to the third output voltage to obtain the second output voltage.
4. The method of claim 3, wherein if the third power supply efficiency is greater than the first power supply efficiency, the method comprises, after adjusting the first threshold along the first variation direction from the first output voltage to the third output voltage to obtain the second output voltage:
determining a first duty cycle obtained by adjusting the duty cycle of the power adapter along the direction opposite to the first change direction based on the second output voltage;
correspondingly, if the first power supply efficiency is not within the target power supply efficiency range, controlling the power adapter to supply power to the electric device at the second output voltage includes:
and if the first power supply efficiency is not in the target power supply efficiency range, controlling the power adapter to supply power to the electric equipment by using a second output voltage based on the first duty ratio.
5. The method of claim 2, the determining the second output voltage based on the third power supply efficiency and the first power supply efficiency, comprising:
if the third power supply efficiency is smaller than the first power supply efficiency, adjusting a second threshold value along a second change direction from the third output voltage to the first output voltage to obtain the second output voltage.
6. The method of claim 5, wherein if the third power supply efficiency is lower than the first power supply efficiency, the adjusting the second threshold along the second variation direction from the third output voltage to the first output voltage to obtain the second output voltage comprises:
determining a second duty cycle by adjusting the duty cycle of the power adapter along a direction opposite to the second variation direction based on the second output voltage;
correspondingly, if the first power supply efficiency is not within the target power supply efficiency range, controlling the power adapter to supply power to the electric device at the second output voltage includes:
and if the first power supply efficiency is not in the target power supply efficiency range, controlling the power adapter to supply power to the electric equipment by using a second output voltage based on the second duty ratio.
7. The method of claim 3, wherein if the third power supply efficiency is greater than the first power supply efficiency, adjusting a first threshold along a first variation direction from the first output voltage to the third output voltage to obtain the second output voltage comprises:
if the third power supply efficiency is greater than the first power supply efficiency, adjusting a third threshold value along a first change direction from the first output voltage to the third output voltage to obtain a fourth output voltage; wherein the third threshold is less than the first threshold;
controlling the power adapter to supply power to the electric equipment by the fourth output voltage;
acquiring fourth power supply efficiency of the power adapter when the power adapter supplies power to the electric equipment by using the fourth output voltage;
if the fourth power supply efficiency is greater than the third power supply efficiency, adjusting a fourth threshold value along a first change direction from the first output voltage to the third output voltage to obtain a fifth output voltage;
controlling the power adapter to supply power to the electric equipment by the fifth output voltage;
acquiring a fifth power supply efficiency of the power adapter when the power adapter supplies power to the electric equipment by using the fifth output voltage;
and if the fifth power supply efficiency is smaller than the fourth power supply efficiency, determining the second output voltage based on the fifth output voltage and the fourth output voltage.
8. An information processing apparatus, the information processing apparatus comprising:
the acquisition module is used for acquiring first power supply efficiency when the power adapter supplies power to the electric equipment by using the first output voltage;
the processing module is used for controlling the power adapter to supply power to the electric equipment by using a second output voltage if the first power supply efficiency is not within a target power supply efficiency range; and when the power adapter supplies power to the electric equipment by using the second output voltage, the second power supply efficiency is greater than the first power supply efficiency, and the second power supply efficiency is within the target power supply efficiency range.
9. An electronic device, the electronic device comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute an information processing program stored in the memory to implement the steps of the method of information processing according to any one of claims 1 to 7.
10. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the method of information processing according to any one of claims 1 to 7.
CN202110183566.2A 2021-02-08 2021-02-08 Information processing method, information processing device, electronic equipment and storage medium Pending CN112947191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110183566.2A CN112947191A (en) 2021-02-08 2021-02-08 Information processing method, information processing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110183566.2A CN112947191A (en) 2021-02-08 2021-02-08 Information processing method, information processing device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112947191A true CN112947191A (en) 2021-06-11

Family

ID=76245547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110183566.2A Pending CN112947191A (en) 2021-02-08 2021-02-08 Information processing method, information processing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112947191A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200642231A (en) * 2005-05-24 2006-12-01 Compal Electronics Inc Power management device and method for an electronic device
CN101299164A (en) * 2008-06-23 2008-11-05 李幸 Novel intelligent high-efficiency portable computer electric power supply system
CN203747485U (en) * 2014-01-28 2014-07-30 广东欧珀移动通信有限公司 Electronic equipment charging device and power supply adapter thereof
CN104779667A (en) * 2015-03-25 2015-07-15 深圳市华宝新能源有限公司 Mobile power supply
CN105634038A (en) * 2014-10-29 2016-06-01 联想(北京)有限公司 Method for outputting electric signal, and method for determining power, and device
US20170222463A1 (en) * 2016-02-01 2017-08-03 Qualcomm Incorporated Duty cycle control for charging a battery
US20180175651A1 (en) * 2016-05-09 2018-06-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging method of controlling output voltages, apparatus and adapter
CN108923484A (en) * 2018-07-13 2018-11-30 安克创新科技股份有限公司 Charge power adjusting method, device, power supply unit and storage medium
CN109687545A (en) * 2018-12-06 2019-04-26 Oppo广东移动通信有限公司 Charge control method, device, computer storage medium and mobile power source
CN111262299A (en) * 2020-03-10 2020-06-09 上海闻泰电子科技有限公司 Charger output voltage adjusting method and device, intelligent terminal and medium
CN211454271U (en) * 2019-09-06 2020-09-08 深圳天和致远科技发展有限公司 Power supply control circuit applied to open-source hardware
CN111869036A (en) * 2018-09-28 2020-10-30 深圳市柔宇科技股份有限公司 Charging control method and electronic device
CN112286338A (en) * 2020-11-09 2021-01-29 维沃移动通信有限公司 Chip control method, chip control device, electronic device, and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200642231A (en) * 2005-05-24 2006-12-01 Compal Electronics Inc Power management device and method for an electronic device
CN101299164A (en) * 2008-06-23 2008-11-05 李幸 Novel intelligent high-efficiency portable computer electric power supply system
CN203747485U (en) * 2014-01-28 2014-07-30 广东欧珀移动通信有限公司 Electronic equipment charging device and power supply adapter thereof
CN105634038A (en) * 2014-10-29 2016-06-01 联想(北京)有限公司 Method for outputting electric signal, and method for determining power, and device
CN104779667A (en) * 2015-03-25 2015-07-15 深圳市华宝新能源有限公司 Mobile power supply
US20170222463A1 (en) * 2016-02-01 2017-08-03 Qualcomm Incorporated Duty cycle control for charging a battery
US20180175651A1 (en) * 2016-05-09 2018-06-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging method of controlling output voltages, apparatus and adapter
CN108923484A (en) * 2018-07-13 2018-11-30 安克创新科技股份有限公司 Charge power adjusting method, device, power supply unit and storage medium
CN111869036A (en) * 2018-09-28 2020-10-30 深圳市柔宇科技股份有限公司 Charging control method and electronic device
CN109687545A (en) * 2018-12-06 2019-04-26 Oppo广东移动通信有限公司 Charge control method, device, computer storage medium and mobile power source
CN211454271U (en) * 2019-09-06 2020-09-08 深圳天和致远科技发展有限公司 Power supply control circuit applied to open-source hardware
CN111262299A (en) * 2020-03-10 2020-06-09 上海闻泰电子科技有限公司 Charger output voltage adjusting method and device, intelligent terminal and medium
CN112286338A (en) * 2020-11-09 2021-01-29 维沃移动通信有限公司 Chip control method, chip control device, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
RU2659817C2 (en) Charger device for various sources of electricity
JP5626435B2 (en) Direct AC power converter
CN101299573B (en) Method and apparatus for active power factor correction
CN107852089B (en) Storage battery charger
KR20160036986A (en) Wireless power transmitter and wireless power receiver
JP6601125B2 (en) Power conversion apparatus and control method thereof
KR20060042908A (en) Frequency feedforward for constant light output in backlight inverters
US10948934B1 (en) Voltage regulator with piecewise linear loadlines
JP2017060303A (en) Power supply device
US20080106248A1 (en) Voltage Regulator Configured to Exchange Commands and Data with a Power Management Engine
JP4207824B2 (en) Switching power supply
CN113691135B (en) Control method of conversion circuit and terminal equipment
JP2012029362A (en) Power supply circuit
US10559962B2 (en) Power-outputting management method for power-supplying apparatus
US8373404B2 (en) Negative lock loop and control method for a flyback voltage converter
US9312758B2 (en) DC-DC converter efficiency improvement and area reduction using a novel switching technique
CN112947191A (en) Information processing method, information processing device, electronic equipment and storage medium
US20170229957A1 (en) Thd in off-line converters
EP4325715A1 (en) Method and apparatus for controlling output power of power generator, and power generator system
CN115882739A (en) Power supply voltage adjusting method, rectification power supply and control circuit
US8866452B1 (en) Variable minimum input voltage based switching in an electronic power control system
CN113328502B (en) Control method of power supply apparatus and power supply apparatus
CN109787350A (en) Storage of avoiding the peak hour lighting power supply system
JP6500738B2 (en) Power converter and control method thereof
JP7401846B2 (en) Posiwatt trading support device and Posiwatt trading method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination