Method and device for controlling output voltage, storage medium and electronic device

文档序号:637263 发布日期:2021-05-11 浏览:2次 中文

阅读说明:本技术 输出电压的控制方法及装置、存储介质和电子装置 (Method and device for controlling output voltage, storage medium and electronic device ) 是由 韦东 于 2019-11-11 设计创作,主要内容包括:本发明提供了一种输出电压的控制方法及装置、存储介质和电子装置,其中,该方法包括:在当前控制周期的第一时间段内,控制电源电路的第一输出电压为所述电源电路的第一输入电压,其中,所述第一时间段的时长为固定时长;在当前控制周期的第二时间段内,控制所述电源电路的所述第一输出电压为零,以使所述电源电路在所述当前控制周期内的总的输出电压有效值为目标电压值。通过本发明,解决了相关技术中的恒定电源电路的输出电压的方式,存在实现电路复杂,资源消耗大的问题,进而达到了降低电路复杂度,减少资源消耗的效果。(The invention provides a control method and device of output voltage, a storage medium and an electronic device, wherein the method comprises the following steps: controlling a first output voltage of a power supply circuit to be a first input voltage of the power supply circuit in a first time period of a current control cycle, wherein the duration of the first time period is a fixed duration; and in a second time period of the current control period, controlling the first output voltage of the power supply circuit to be zero so that the effective value of the total output voltage of the power supply circuit in the current control period is a target voltage value. According to the invention, the problems of complex circuit realization and large resource consumption in a mode of keeping the output voltage of the power supply circuit constant in the related technology are solved, and the effects of reducing the circuit complexity and reducing the resource consumption are further achieved.)

1. A method of controlling an output voltage, comprising:

controlling a first output voltage of a power supply circuit to be a first input voltage of the power supply circuit in a first time period of a current control cycle, wherein the duration of the first time period is a fixed duration;

and in a second time period of the current control period, controlling the first output voltage of the power supply circuit to be zero so that the effective value of the total output voltage of the power supply circuit in the current control period is a target voltage value, wherein the target time length of the second time period is positively correlated with the first input voltage value of the first input voltage.

2. The method of claim 1, wherein controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit during the first time period of the current control cycle comprises:

at the starting time of the first time period, controlling a power tube of the power circuit to be in an open state, and starting a timer to start timing, wherein the power tube in the open state is used for conducting a circuit between input and output of the power circuit, and the timing time of the timer is the fixed time length;

and when the timing time of the timer is reached, controlling the power tube to be in an off state, wherein the power tube in the off state is used for turning off a circuit between the input and the output of the power supply circuit.

3. The method of claim 2,

the method further comprises the following steps: collecting a first input voltage value of a first input voltage of the power circuit within the first time period of the current control cycle; according to the collected first input voltage value and the corresponding relation between the first input voltage and the reference voltage of a target amplifier, adjusting the reference voltage of the target amplifier to be the reference voltage value of the reference voltage corresponding to the first input voltage value;

controlling the first output voltage of the power supply circuit to be zero during the second period of a current control cycle comprises: and in the second time period, controlling a second input voltage value of a second input voltage of the target amplifier to rise from an initial voltage value to a target voltage value, wherein the initial voltage value is smaller than or equal to the reference voltage value, the target voltage value is larger than or equal to the reference voltage value, in the case that the second input voltage value is larger than or equal to the reference voltage value, the power tube is driven to enter the open state by a second output voltage of the target amplifier, the time required for the second input voltage to rise from the initial voltage value to the target voltage value is a target time length of the second time period, and the target time length is in linear positive correlation with the first input voltage value.

4. The method of claim 3, wherein controlling the second input voltage value of the second input voltage of the target amplifier to rise from the initial voltage value to the target voltage value during the second time period comprises:

and selecting one input voltage from a group of input voltages at the input end of the data selector at preset time intervals according to the sequence of the input voltages from small to large, and outputting the selected input voltage to the output end of the data selector until a third output voltage at the output end of the data selector is the target voltage value, wherein the initial value of the third output voltage is the initial voltage value, and the output end of the data selector is connected with the input end of the target amplifier corresponding to the second input voltage.

5. The method of claim 3, wherein prior to controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, the method further comprises:

determining a plurality of input voltage values within a predetermined input voltage range corresponding to the first input voltage, wherein the plurality of input voltage values are a set of input voltage values which increase according to an arithmetic progression;

determining a plurality of cycle durations of the control cycle corresponding to the plurality of input voltage values according to the target voltage value and the fixed duration, wherein the plurality of input voltage values correspond to the plurality of cycle durations one to one;

determining a plurality of reference voltage values of the reference voltage corresponding to the plurality of cycle durations;

linearizing the plurality of input voltage values and the plurality of reference voltage values to obtain a corresponding relation between the first input voltage and the reference voltage.

6. The method of claim 1,

the method further comprises the following steps: collecting a first input voltage value of a first input voltage of the power circuit within the first time period of the current control cycle; determining the target cycle duration of the current control cycle corresponding to the first input voltage value according to the corresponding relation between the first input voltage and the cycle duration of the control cycle; determining the target time length of the second time period according to the target period time length and the fixed time length;

controlling the first output voltage of the power supply circuit to be zero during the second period of the current control cycle comprises: controlling the first output voltage of the power circuit to be zero within the target time period after the first time period.

7. The method of claim 6, wherein prior to controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, the method further comprises:

determining a plurality of input voltage values within a predetermined input voltage range corresponding to the first input voltage, wherein the plurality of input voltage values are a set of input voltage values which increase according to an arithmetic progression;

determining a plurality of cycle durations of the control cycle corresponding to the plurality of input voltage values according to the target voltage value and the fixed duration, wherein the plurality of input voltage values correspond to the plurality of cycle durations one to one;

linearizing the input voltage values and the period durations to obtain the corresponding relation between the first input voltage and the control period.

8. The method according to any one of claims 1 to 7, characterized in that the target duration of the second time period is zero in case the first input voltage value of the first input voltage is less than or equal to the target voltage value.

9. An output voltage control apparatus, comprising:

the control circuit comprises a first control unit, a second control unit and a control unit, wherein the first control unit controls a first output voltage of a power supply circuit to be a first input voltage of the power supply circuit in a first time period of a current control cycle, and the duration of the first time period is fixed duration;

a second control unit, configured to control the first output voltage of the power circuit to be zero in a second time period of a current control cycle, so that a total output voltage effective value of the power circuit in the current control cycle is a target voltage value, where a target time duration of the second time period is positively correlated to a first input voltage value of the first input voltage.

10. The apparatus of claim 9, wherein the first control unit comprises:

the first control module is used for controlling a power tube of the power circuit to be in an open state at the starting moment of the first time period and starting a timer to start timing, wherein the power tube in the open state is used for conducting a circuit between input and output of the power circuit, and the timing time of the timer is the fixed time length;

and the second control module is used for controlling the power tube to be in an off state when the timing time of the timer is reached, wherein the power tube in the off state is used for switching off a circuit between the input and the output of the power supply circuit.

11. The apparatus of claim 10, further comprising: first acquisition unit and adjusting element, the second control unit includes: a third control module, wherein,

the first acquisition unit is used for acquiring a first input voltage value of a first input voltage of the power supply circuit in the first time period of the current control cycle;

the adjusting unit is used for adjusting the reference voltage of the target amplifier to the reference voltage value of the reference voltage corresponding to the first input voltage value according to the acquired first input voltage value and the corresponding relation between the first input voltage and the reference voltage of the target amplifier;

the third control module is configured to control a second input voltage value of a second input voltage of the target amplifier to increase from an initial voltage value to a target voltage value within the second time period, where the initial voltage value is smaller than or equal to the reference voltage value, the target voltage value is greater than or equal to the reference voltage value, the power tube is driven to the on state by a second output voltage of the target amplifier when the second input voltage value is greater than or equal to the reference voltage value, a time required for the second input voltage to increase from the initial voltage value to the target voltage value is a target time duration of the second time period, and the target time duration is in positive linear correlation with the first input voltage value.

12. The apparatus of claim 11, wherein the third control module comprises:

and the selection submodule is used for selecting an input voltage from a group of input voltages at the input end of the data selector at preset time intervals according to the sequence of the input voltages from small to large and outputting the input voltage to the output end of the data selector until a third output voltage at the output end of the data selector is the target voltage value, wherein the initial value of the third output voltage is the initial voltage value, and the output end of the data selector is connected with the input end of the target amplifier corresponding to the second input voltage.

13. The apparatus of claim 11, further comprising:

a first determination unit configured to determine a plurality of input voltage values within a predetermined input voltage range corresponding to the first input voltage before controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, wherein the plurality of input voltage values are a set of input voltage values that increase in an arithmetic progression;

a second determining unit, configured to determine, according to the target voltage value and the fixed time duration, a plurality of cycle time durations of the control cycle corresponding to the plurality of input voltage values, where the plurality of input voltage values correspond to the plurality of cycle time durations in a one-to-one manner;

a third determination unit configured to determine a plurality of reference voltage values of the reference voltage corresponding to the plurality of cycle durations;

the first linearization unit is used for linearizing the plurality of input voltage values and the plurality of reference voltage values to obtain a corresponding relation between the first input voltage and the reference voltage.

14. The apparatus of claim 9, further comprising: the second acquisition unit, fourth determining unit and fifth determining unit, the second control unit includes: a fourth control module, wherein,

the second acquisition unit is used for acquiring a first input voltage value of a first input voltage of the power supply circuit in the first time period of the current control cycle;

the fourth determining unit is configured to determine, according to a correspondence between the first input voltage and a cycle duration of a control cycle, a target cycle duration of the current control cycle corresponding to the first input voltage value;

the fifth determining unit is configured to determine the target duration of the second time period according to the target period duration and the fixed duration;

the fourth control module is configured to control the first output voltage of the power supply circuit to be zero in the target time length after the first time period.

15. The apparatus of claim 14, further comprising:

a sixth determining unit configured to determine a plurality of input voltage values within a predetermined input voltage range corresponding to the first input voltage before controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, wherein the plurality of input voltage values are a set of input voltage values that increase in an arithmetic progression;

a seventh determining unit, configured to determine, according to the target voltage value and the fixed time length, a plurality of cycle time lengths of the control cycle corresponding to the plurality of input voltage values, where the plurality of input voltage values correspond to the plurality of cycle time lengths one to one;

and the second linearization unit is used for linearizing the multiple input voltage values and the multiple period durations to obtain the corresponding relation between the first input voltage and the control period.

16. The apparatus of any one of claims 9 to 15, wherein the target duration of the second time period is zero if the first input voltage value of the first input voltage is less than or equal to the target voltage value.

17. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 8 when executed.

18. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 8 by means of the computer program.

Technical Field

The present invention relates to the field of communications, and in particular, to a method and an apparatus for controlling an output voltage, a storage medium, and an electronic apparatus.

Background

For power management, the output voltage V of the circuit can be adjustedo_rms 2Realize automatic control, ensure the circuit to output voltage V within a certain input voltage rangeo_rms 2Maintain constant, constant Vo_rms 2The precision is higher, and the realization circuit is simple.

There are currently a number of ways to achieve control of constant Vo_rms 2The schemes can be divided into the following three categories:

(1) the first is to use a triode VBEThe logarithmic relation with Ic is constructed by a certain circuit combination formFor example, as shown in fig. 1, fig. 2, wherein,

in fig. 1, the relationship between the respective parameters may be as shown in equation (1),

in fig. 2, the relationship between the respective parameters may be as shown in equation (2),

(2) the second is to work in the saturation region if with mos IdCurrent and VgsThe V is constructed by a certain circuit combination form0∝k·Vi 2For example, as shown in fig. 3 and 4, fig. 3 utilizes an error amplifier and adopts a linear control method to realize constant Vo_rms 2FIG. 4 shows that the constant V is realized by an error amplifier or MCU and a switcho_rms 2FIG. 4 at voutThere is a filter at the sampling place, wherein the relationship between the parameters can be shown as formula (3),

K·(Vout+Vth1-Vth2)2·R1=Ib2·R2 (3)

wherein if Vth1=Vth2,R1=R2Then V isout 2=Ib2/K。

(3) The third type is to use a multiplier to convert VoutMultiplying the sampled signals, sending the multiplied signals to an error amplifier or an MCU (microprogrammed control Unit), and calculating the duty ratio of a power tube switch by using the error amplifier or an algorithm to realize constant Vo_rms 2Control, for example, as shown in fig. 5.

As described aboveThe output voltage V can be realized in three types of modeso_rms 2Constant functions, but all have the problems of complex realization circuit and large resource consumption:

the former two schemes have inevitable process deviation in process manufacturing, and the parameter variation of either bjt or mos is large, for example, the current amplification factor β of bjt, and the threshold voltage V of mosthThe difference is large, which will result in an output voltage Vo_rms 2The deviation is large, and in order to reduce the deviation caused by the process, the output voltage V is increasedo_rms 2The accuracy of (2) requires more complex circuitry and thus consumes more resources.

The third scheme uses a multiplier and an MCU, so that the circuit complexity and cost become high.

In addition, feedback is used in all three schemes, and compensation is required in the loop of the system for achieving system stability, namely an error amplifier or an MCU (microprogrammed control unit), so that the circuit is more complicated and more resources are consumed. Especially for PWM regulation schemes, if the switching frequency is too low, the required compensation area can be very large, increasing the resource consumption.

Therefore, the method for keeping the output voltage of the power supply circuit constant in the related art has the problems of complex circuit realization and high resource consumption.

Disclosure of Invention

The embodiment of the application provides a control method and device of output voltage, a storage medium and an electronic device, and aims to solve the problems of complex circuit and high resource consumption in a mode of at least solving the output voltage of a constant power circuit in the related art.

According to an embodiment of the present invention, there is provided a control method of an output voltage, including: in a first time period of a current control cycle, controlling a first output voltage of a power supply circuit to be a first input voltage of the power supply circuit, wherein the duration of the first time period is a fixed duration; and in a second time period of the current control period, controlling the first output voltage of the power supply circuit to be zero so that the effective value of the total output voltage of the power supply circuit in the current control period is a target voltage value, wherein the target time length of the second time period is positively correlated with the first input voltage value of the first input voltage.

Optionally, during the first period of the current control cycle, controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit includes: controlling a power tube of a power supply circuit to be in an open state at the initial time of a first time period, and starting a timer to start timing, wherein the power tube in the open state is used for conducting a circuit between input and output of the power supply circuit, and the timing time of the timer is fixed duration; and when the timing time of the timer is reached, controlling the power tube to be in an off state, wherein the power tube in the off state is used for turning off the circuit between the input and the output of the power circuit.

Optionally, the method further includes: acquiring a first input voltage value of a first input voltage of a power supply circuit in a first time period of a current control cycle; according to the collected first input voltage value and the corresponding relation between the first input voltage and the reference voltage of the target amplifier, the reference voltage of the target amplifier is adjusted to be the reference voltage value of the reference voltage corresponding to the first input voltage value; in the second period of the current control cycle, controlling the first output voltage of the power supply circuit to be zero includes: and in a second time period, controlling a second input voltage value of a second input voltage of the target amplifier to rise from an initial voltage value to a target voltage value, wherein the initial voltage value is smaller than or equal to a reference voltage value, the target voltage value is larger than or equal to the reference voltage value, driving the power tube to be in an open state through a second output voltage of the target amplifier under the condition that the second input voltage value is larger than or equal to the reference voltage value, the time required for the second input voltage to rise from the initial voltage value to the target voltage value is a target time length of the second time period, and the target time length is in linear positive correlation with the first input voltage value.

Optionally, the controlling the second input voltage value of the second input voltage of the target amplifier to rise from the initial voltage value to the target voltage value during the second time period comprises: and selecting one input voltage from a group of input voltages at the input end of the data selector at preset time intervals according to the sequence of the input voltages from small to large, and outputting the selected input voltage to the output end of the data selector until a third output voltage at the output end of the data selector is a target voltage value, wherein the initial value of the third output voltage is an initial voltage value, and the output end of the data selector is connected with the input end of the target amplifier corresponding to the second input voltage.

Optionally, before controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, the method further includes: determining a plurality of input voltage values within a predetermined input voltage range corresponding to the first input voltage, wherein the plurality of input voltage values are a set of input voltage values increasing according to an arithmetic progression; determining a plurality of cycle durations of a control cycle corresponding to a plurality of input voltage values according to the target voltage value and the fixed duration, wherein the plurality of input voltage values correspond to the plurality of cycle durations one to one; determining a plurality of reference voltage values of a reference voltage corresponding to a plurality of cycle durations; and linearizing the plurality of input voltage values and the plurality of reference voltage values to obtain a corresponding relation between the first input voltage and the reference voltage.

Optionally, the method further includes: acquiring a first input voltage value of a first input voltage of a power supply circuit in a first time period of a current control cycle; determining the target period duration of the current control period corresponding to the first input voltage value according to the corresponding relation between the first input voltage and the period duration of the control period; determining the target time length of the second time period according to the target period time length and the fixed time length; in the second period of the current control cycle, controlling the first output voltage of the power supply circuit to be zero includes: and within the target time length after the first time period, controlling the first output voltage of the power supply circuit to be zero.

Optionally, before controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, the method further includes: determining a plurality of input voltage values within a predetermined input voltage range corresponding to the first input voltage, wherein the plurality of input voltage values are a set of input voltage values increasing according to an arithmetic progression; determining a plurality of cycle durations of a control cycle corresponding to a plurality of input voltage values according to the target voltage value and the fixed duration, wherein the plurality of input voltage values correspond to the plurality of cycle durations one to one; and linearizing the multiple input voltage values and the multiple period durations to obtain the corresponding relation between the first input voltage and the control period.

Optionally, the target duration of the second period of time is zero in a case where the first input voltage value of the first input voltage is less than or equal to the target voltage value.

According to another embodiment of the present invention, there is provided a control apparatus of an output voltage, including: the first control unit is used for controlling a first output voltage of the power supply circuit to be a first input voltage of the power supply circuit in a first time period of a current control cycle, wherein the duration of the first time period is a fixed duration; and the second control unit is used for controlling the first output voltage of the power supply circuit to be zero in a second time period of the current control cycle so that the effective value of the total output voltage of the power supply circuit in the current control cycle is a target voltage value, wherein the target time length of the second time period is positively correlated with the first input voltage value of the first input voltage.

Optionally, the first control unit comprises: the first control module is used for controlling a power tube of the power circuit to be in an open state at the initial moment of the first time period and starting a timer to start timing, wherein the power tube in the open state is used for conducting a circuit between input and output of the power circuit, and the timing time of the timer is fixed time; and the second control module is used for controlling the power tube to be in an off state when the timing time of the timer is reached, wherein the power tube in the off state is used for switching off a circuit between the input and the output of the power supply circuit.

Optionally, the apparatus further comprises: first acquisition unit and adjusting element, second control unit includes: the first acquisition unit is used for acquiring a first input voltage value of a first input voltage of the power supply circuit in a first time period of a current control cycle; the adjusting unit is used for adjusting the reference voltage of the target amplifier into the reference voltage value of the reference voltage corresponding to the first input voltage value according to the acquired first input voltage value and the corresponding relation between the first input voltage and the reference voltage of the target amplifier; and the third control module is used for controlling a second input voltage value of a second input voltage of the target amplifier to rise from an initial voltage value to a target voltage value in a second time period, wherein the initial voltage value is smaller than or equal to the reference voltage value, the target voltage value is larger than or equal to the reference voltage value, the power tube is driven to be in an open state through a second output voltage of the target amplifier under the condition that the second input voltage value is larger than or equal to the reference voltage value, the time required for the second input voltage to rise from the initial voltage value to the target voltage value is a target time length of the second time period, and the target time length is in linear positive correlation with the first input voltage value.

Optionally, the third control module comprises: and the selection submodule is used for selecting an input voltage from a group of input voltages at the input end of the data selector at preset time intervals according to the sequence of the input voltages from small to large and outputting the input voltage to the output end of the data selector until a third output voltage at the output end of the data selector is a target voltage value, wherein the initial value of the third output voltage is an initial voltage value, and the output end of the data selector is connected with the input end of the target amplifier corresponding to the second input voltage.

Optionally, the apparatus further comprises: a first determination unit configured to determine a plurality of input voltage values within a predetermined input voltage range corresponding to a first input voltage before controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, wherein the plurality of input voltage values are a set of input voltage values increasing in an arithmetic progression; the second determining unit is used for determining a plurality of period durations of the control period corresponding to the plurality of input voltage values according to the target voltage value and the fixed duration, wherein the plurality of input voltage values correspond to the plurality of period durations one to one; a third determination unit configured to determine a plurality of reference voltage values of the reference voltage corresponding to a plurality of cycle durations; the first linearization unit is used for linearizing the plurality of input voltage values and the plurality of reference voltage values to obtain the corresponding relation between the first input voltage and the reference voltage.

Optionally, the apparatus further comprises: the second acquisition unit, fourth determining unit and fifth determining unit, the second control unit includes: the second acquisition unit is used for acquiring a first input voltage value of the first input voltage of the power supply circuit in a first time period of the current control cycle; the fourth determining unit is used for determining the target cycle duration of the current control cycle corresponding to the first input voltage value according to the corresponding relation between the first input voltage and the cycle duration of the control cycle; the fifth determining unit is used for determining the target time length of the second time period according to the target period time length and the fixed time length; and the fourth control module is used for controlling the first output voltage of the power supply circuit to be zero in the target time length after the first time period.

Optionally, the apparatus further comprises: a sixth determining unit configured to determine a plurality of input voltage values within a predetermined input voltage range corresponding to a first input voltage before controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, wherein the plurality of input voltage values are a set of input voltage values that increase in an arithmetic progression; a seventh determining unit, configured to determine, according to the target voltage value and the fixed time duration, a plurality of cycle time durations of a control cycle corresponding to the plurality of input voltage values, where the plurality of input voltage values correspond to the plurality of cycle time durations one to one; and the second linearization unit is used for linearizing the multiple input voltage values and the multiple period durations to obtain the corresponding relation between the first input voltage and the control period.

Optionally, the target duration of the second period of time is zero in a case where the first input voltage value of the first input voltage is less than or equal to the target voltage value.

According to yet another aspect of the embodiments of the present application, there is also provided a storage medium storing a computer program configured to perform the above method when executed.

According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the method described above through the computer program.

According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.

According to the invention, in a first time period of a current control cycle, a first output voltage of a power supply circuit is controlled to be a first input voltage of the power supply circuit, wherein the duration of the first time period is a fixed duration; in the second time period of the current control period, the first output voltage of the power supply circuit is controlled to be zero, so that the effective value of the total output voltage of the power supply circuit in the current control period is the target voltage value, wherein the target time length of the second time period is positively correlated with the first input voltage value of the first input voltage, and the time length of the second time period only needs to be controlled according to the first input voltage value without feedback and compensation.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:

FIG. 1 is a schematic diagram of an alternative output voltage control circuit;

FIG. 2 is a schematic diagram of an alternative output voltage control circuit;

FIG. 3 is a schematic diagram of yet another alternative output voltage control circuit;

FIG. 4 is a schematic diagram of yet another alternative output voltage control circuit;

FIG. 5 is a schematic diagram of yet another alternative output voltage control circuit;

FIG. 6 is a block diagram of an alternative power circuit in hardware configuration according to an embodiment of the present application;

FIG. 7 is a flow chart of an alternative output voltage control method according to an embodiment of the present application;

FIG. 8 is a block diagram of a hardware configuration of an alternative power supply circuit according to an embodiment of the present application;

FIG. 9 is a block diagram of a hardware configuration of an alternative power supply circuit according to an embodiment of the present application;

FIG. 10 is a block diagram of an alternative power control system according to an embodiment of the present application;

FIG. 11 is a schematic diagram of an alternative output voltage control method according to an embodiment of the present application;

fig. 12 is a block diagram of an alternative control device for output power according to an embodiment of the present application.

Detailed Description

The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.

It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.

According to an aspect of the embodiments of the present application, there is provided a control method of an output voltage, wherein the method may be performed in a power supply circuit. Taking the operation on the power circuit as an example, fig. 6 is a hardware configuration block diagram of the power circuit of a control method of the output voltage according to the embodiment of the present application. As shown in fig. 6, the power supply circuit may include: the control circuit can control the switch to be closed in a first time period of a current control cycle so as to control the output voltage of the power supply circuit to be an input voltage, wherein the duration of the first time period is a fixed duration; and in a second time period of the current control cycle, the control switch is opened to control the output voltage of the power supply circuit to be zero, wherein the target time length of the second time period is positively correlated with the first input voltage value of the first input voltage.

For the control circuit, one or more processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory for storing data may be included, and it will be understood by those skilled in the art that the structure shown in fig. 6 is only an illustration and is not a limitation to the structure of the mobile terminal. For example, the power supply circuit may also include more or fewer components than shown in FIG. 6, or have a different configuration than shown in FIG. 6.

The memory 104 may be used to store a computer program, for example, a software program of an application software and a module, such as a computer program corresponding to the control method of the output voltage in the embodiment of the present application, and the processor executes various functional applications and data processing by running the computer program stored in the memory, so as to implement the method described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located from the processor, which may be connected to the power supply circuit via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

In the present embodiment, a method for controlling an output voltage of a power supply circuit is provided, and fig. 7 is a flowchart of an alternative method for controlling an output voltage according to an embodiment of the present application, as shown in fig. 7, the flowchart includes the following steps:

step S702, in a first time period of a current control cycle, controlling a first output voltage of a power supply circuit to be a first input voltage of the power supply circuit, wherein the duration of the first time period is a fixed duration;

step S704, in a second time period of the current control cycle, controlling a first output voltage of the power supply circuit to be zero, so that a total output voltage effective value of the power supply circuit in the current control cycle is a target voltage value, where a target time duration of the second time period is positively correlated to a first input voltage value of the first input voltage.

Through the steps, in a first time period of a current control cycle, controlling a first output voltage of a power supply circuit to be a first input voltage of the power supply circuit, wherein the duration of the first time period is a fixed duration; in the second time period of the current control period, the first output voltage of the power supply circuit is controlled to be zero, so that the effective value of the total output voltage of the power supply circuit in the current control period is a target voltage value, wherein the target time length of the second time period is positively correlated with the first input voltage value of the first input voltage, and the time length of the second time period only needs to be controlled according to the first input voltage value without feedback and compensation.

Alternatively, the main body of the above steps may be a power circuit or the like, but is not limited thereto.

Alternatively, the execution sequence of step S702 and step S704 may be interchanged, that is, step S704 may be executed first, and then step S702 may be executed (steps S702 to S704 are executed periodically).

Optionally, in step S702, in a first period of the current control cycle, the first output voltage of the power supply circuit is controlled to be the first input voltage of the power supply circuit, where a duration of the first period is a fixed duration.

The output voltage of the power circuit can be controlled to switch between the output voltage and zero according to the control period so as to ensure Vo_rms 2Is constant.

Each control cycle may include two time periods: the first period of fixed duration (no Time) and the second period of variable duration (off Time), on Time, may be adjusted according to the designer's needs, and may be set to 10ms, for example.

As an alternative embodiment, the controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit during the first period of the current control cycle includes: controlling a power tube of a power supply circuit to be in an open state at the initial time of a first time period, and starting a timer to start timing, wherein the power tube in the open state is used for conducting a circuit between input and output of the power supply circuit, and the timing time of the timer is fixed duration; and when the timing time of the timer is reached, controlling the power tube to be in an off state, wherein the power tube in the off state is used for turning off the circuit between the input and the output of the power circuit.

The power tube may be a mos tube comprising three poles: the power supply circuit comprises a grid (G, gate), a source (S, source), a drain (D, drain), wherein the source and the drain of the power tube can be respectively connected with the input end and the output end of the power supply circuit (for example, the source of the power tube is connected with the input end of the power supply circuit, the drain of the power tube is connected with the output end of the power supply circuit), the grid of the power tube is connected with a control circuit, the control circuit can comprise a timer and a circuit (for example, a crystal oscillator) capable of generating a clock signal, and the generated clock signal can be a rectangular pulse signal.

After the power supply circuit is powered on, at the start time of each control period (the start time of the first period), the power tube of the power supply circuit may be controlled to be in an open state to turn on the circuit between the input and the output of the power supply circuit, so that the output voltage of the power supply circuit is equal to the input voltage of the power supply circuit (i.e., Vout — Vin).

While the power tube is turned on, a timer may be started, the timing time of which is the duration of the first period of time (fixed duration, e.g., 10 ms). The timing time of the timer may be determined according to the number of pulses of the clock signal, and the timer may be a counter. When the timing time of the timer reaches (for example, the number of the counters reaches a preset number), the power tube can be turned off to control the output voltage of the power circuit to be zero.

For example, after the power circuit is powered on, the power tube is firstly turned on, the counter starts counting, and the power tube is turned off after the on-time lasts.

Through this embodiment, open the power tube and start the timer at the inception moment of current control cycle to turn off the power tube when the timing time arrives, can guarantee the accuracy of fixed time timing, and then guarantee the stability of output voltage virtual value.

Since the duration of the second time period is variable and is positively correlated with the input voltage value of the power circuit, in order to ensure the accuracy of the determination of the duration of the second time period, the input voltage of the power circuit may be acquired first.

As an alternative embodiment, in a first time period of a current control cycle, collecting a first input voltage value of a first input voltage of a power supply circuit; and adjusting the reference voltage of the target amplifier to be the reference voltage value of the reference voltage corresponding to the first input voltage value according to the acquired first input voltage value and the corresponding relation between the first input voltage and the reference voltage of the target amplifier.

The power supply circuit may include a target amplifier (e.g., may be a comparator), and may include two input terminals (a non-inverting input terminal and an inverting input terminal) and an output terminal, and the output of the output terminal of the target amplifier is at a high level when the input voltage of the non-inverting input terminal is higher than the input voltage of the inverting input terminal, and at a low level when the input voltage of the non-inverting input terminal is lower than the input voltage of the inverting input terminal.

The input of the inverting input end of the target amplifier is a reference voltage, the input of the non-inverting input end of the target amplifier is a second input voltage, and the power tube is driven to enter an open state through a second output voltage of the target amplifier under the condition that the second input voltage value of the second input voltage is greater than or equal to the reference voltage value of the reference voltage.

The initial voltage of the second input voltage of the target amplifier may be an initial voltage value, and gradually increases from the initial voltage value to a target voltage value (the initial voltage value is less than or equal to the reference voltage value, and the target voltage value is greater than or equal to the reference voltage value) beginning at the starting time of the second time period (the ending time of the first time period) to control that the target amplifier can be controlled to output a high level at the ending time of the second time period, so as to drive the power tube to enter an open state and enter a next control cycle.

Since the target duration of the second period is linearly and positively correlated with the first input voltage value, in order to ensure the time for the second input voltage to increase from the initial voltage value to the target voltage value, the reference voltage value of the reference voltage may be determined according to the first input voltage value of the first input voltage.

In order to determine the reference voltage value of the reference voltage, an input voltage value (a first input voltage value) of an input voltage of the power supply circuit may be collected (periodically collected, or collected at the last counting time of the counter) in a first time period, and a reference voltage value corresponding to the collected first input voltage value may be determined according to a correspondence between the first input voltage and the reference voltage, and if the voltage value of the first input voltage collected in the first time period changes, the determined reference voltage value of the reference voltage may also change according to the correspondence.

After the first period of time has ended, the reference voltage value of the reference voltage may also be determined. During the second period of time, the second input voltage value of the second input voltage of the target amplifier may be controlled to rise from the initial voltage value to the target voltage value.

Through the embodiment, the voltage value of the first input voltage is collected in the first time period, and the reference voltage value of the reference voltage of the target amplifier is determined according to the collected voltage value, so that the accuracy of determining the target duration can be guaranteed, and the stability of the effective value of the output voltage is further guaranteed.

The manner of controlling the second input voltage value of the second input voltage to rise from the initial voltage value to the target voltage value can be various, and can include but is not limited to: the rising of the voltage value of the second input voltage is controlled by the data selector.

As an alternative embodiment, controlling the second input voltage value of the second input voltage of the target amplifier to rise from the initial voltage value to the target voltage value during the second time period comprises: and selecting one input voltage from a group of input voltages at the input end of the data selector at preset time intervals according to the sequence of the input voltages from small to large, and outputting the selected input voltage to the output end of the data selector until a third output voltage at the output end of the data selector is a target voltage value, wherein the initial value of the third output voltage is an initial voltage value, and the output end of the data selector is connected with the input end of the target amplifier corresponding to the second input voltage.

The data selector is a combinational logic circuit that selects a specific one of a set of input signals to be supplied to the output terminal according to a given input address code. The input end of the data selector corresponds to a group of input voltages, the group of input voltages sequentially increases from a minimum value to a maximum value (from Vmin to Vmax), the voltage difference values of two adjacent input voltages can be the same and are both preset voltage values, and the initial voltage value can be the same as the minimum value or larger than the minimum value.

In the second time period, one input voltage is selected from the group of input voltages at preset time intervals according to the sequence of the input voltages from small to large through the control logic and is output to the output end, the first selected input voltage is an initial voltage value, and the last selected input voltage is a target voltage value.

The preset time interval and the voltage difference value of the two selected input voltages can be preset, so that the required time can be ensured to be the target duration when the selected input voltage is the target voltage value.

Through the embodiment, the data selector controls the increase of the output voltage value of the second output voltage, and the accuracy of the control target duration can be ensured.

It should be noted that the corresponding relationship between the first input voltage and the reference voltage may be preset, or may be calculated in real time according to the collected first input voltage value.

As an alternative embodiment, before controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, a plurality of input voltage values within a predetermined input voltage range corresponding to the first input voltage may be determined, wherein the plurality of input voltage values are a set of input voltage values that increase according to an arithmetic progression; determining a plurality of cycle durations of a control cycle corresponding to a plurality of input voltage values according to the target voltage value and the fixed duration, wherein the plurality of input voltage values correspond to the plurality of cycle durations one to one; determining a plurality of reference voltage values of a reference voltage corresponding to a plurality of cycle durations; and linearizing the plurality of input voltage values and the plurality of reference voltage values to obtain a corresponding relation between the first input voltage and the reference voltage.

In case the ratio output active value/input active value is high, in particular close to 1, equation (5) can be derived from equation (4),

suppose Vo_rms/ViApproaching 1, equation (6) can be obtained:

thus, dT and dV can be determinediThe corresponding relationship of (2) is shown in formula (7):

from this, to ensure Vo_rmsConstant, when the output effective voltage value/input effective voltage value is larger, especially close to 1, the on time fixing mode, the period T and the input voltage V are adoptediA linear relationship exists.

Thereby, the correspondence between the first input voltage and the reference voltage can be obtained by:

step 1, fixing the on-time of the power tube according to the determined output effective voltage value, and then calculating the switching period T of the power tube corresponding to different input voltages, namely, the mapping relation of the input voltage Vs period T.

And 2, linearizing the period T in the mapping relation of the period T of the input voltage Vs obtained in the second step within the range of the input voltage, and obtaining a linear function of T ═ f (vin).

Step 3, converting the period T into an actual voltage value in the circuit, namely designing VTCombining the linear function of f (T) with the function of T f (vin) obtained in the second step to finally obtain a V which can be realized by a circuitTFunction of f (vin).

For example, when the battery voltage is operated at 3.2V to 4.2V, the effective value of the output voltage is kept at a constant 3.5V, and once the input voltage is lower than 3.5V, the circuit is operated at 100% duty. For the circuits shown in fig. 8 and 9, the processing procedure for the data of the input voltage, the output voltage, etc. may be as shown in table 1. With reference to table 1, Vin is first linearly segmented (the number of segments can be adjusted according to the design accuracy requirement), then an ideal duty is calculated, an on-time is set to 10ms (the on-time can be adjusted according to the requirement of the designer), an accurate period T is calculated, then the difference between the previous and subsequent periods T is calculated, and the differences are averaged, i.e., linearized, and the average value of the differences should be approximated from formula (7). When the average value of the period difference values is obtained, the original ideal period can be linearized, and the linearized V is obtainedo_rms2From the results of Table 1, V after linearizationo_rms2And ideal Vo_rms2Close and high precision. In addition, for circuit implementation, the last column of table 1 lists the voltage values corresponding to Vin (reference voltage) after segmentation, which are also linear.

TABLE 1

It should be noted that the voltage value of the reference voltage is not fixed, and is equal to V shown in fig. 8ref0In this regard, the parameters of the components (e.g., fets m 1-m 10, resistors R1-R4, RR 00-RR 33, etc.) and the input parameters (e.g., reference voltage V) may be determined based on actual circuit parametersref0、 Vref1Etc.) and the like.

As can be seen in conjunction with fig. 9, a plurality of input voltage values (V0-V32) within a predetermined input voltage range corresponding to the first input voltage may be determined, wherein the plurality of input voltage values is a set of input voltage values that increase in an arithmetic progression; according to the target voltage value (V)o_rms2) And a fixed Time duration (on Time) that determines a plurality of cycle durations (ideal periods T) of the control cycle corresponding to the plurality of input voltage values, wherein the plurality of input voltage values correspond one-to-one to the plurality of cycle durations; determining a plurality of reference voltage values (voltage values of the reference voltages) of the reference voltages corresponding to the plurality of cycle durations; and linearizing the plurality of input voltage values and the plurality of reference voltage values to obtain a corresponding relation between the first input voltage and the reference voltage.

Through the embodiment, the corresponding relation between the first input voltage and the reference voltage is obtained in advance, so that the occupation of computing resources can be reduced, and the efficiency of output voltage control is improved.

When the output voltage control is performed, as an alternative embodiment, a first input voltage value of a first input voltage of the power supply circuit may be collected in a first time period of a current control cycle; determining the target period duration of the current control period corresponding to the first input voltage value according to the corresponding relation between the first input voltage and the period duration of the control period; determining the target time length of the second time period according to the target period time length and the fixed time length; and within the target time length after the first time period, controlling the first output voltage of the power supply circuit to be zero.

In the first time period of the current control cycle, the first input voltage value of the first input voltage of the power supply circuit may be collected, and the collection manner is similar to that described above, and is not described herein again.

After obtaining the first input voltage value of the first input voltage, the target cycle duration (or the target duration) of the current control cycle corresponding to the first input voltage value may be determined according to the correspondence between the first input voltage and the cycle duration (or the duration of the second time period) of the control cycle. The target cycle duration includes: the fixed duration and the target duration, and the target duration (the difference between the target period duration and the fixed duration) can be obtained according to the determined target period duration. The corresponding relationship between the first input voltage and the cycle duration (or the duration of the second time period) of the control cycle may be preset, or may be calculated in real time according to the collected first input voltage value.

After the target time length is obtained, within the target time length after the first time length (the second time length), the first output voltage of the control power supply circuit is zero. For example, the timer may be started at the technical moment of the first time period by setting the timing time of the timer to a target time length (for example, through software configuration), and the first output voltage is controlled to be zero (for example, the power tube is turned off) within the timing time of the counter, and the first output voltage is controlled to be the first input voltage again when the counting time is reached.

Through the embodiment, the target duration of the second time period is determined according to the first input voltage, the accuracy of determining the target duration can be guaranteed, and the stability of the effective value of the output voltage is further guaranteed.

For a scenario in which the correspondence between the first input voltage and the duration of the control period (or the duration of the second time period) is stored in advance, as an alternative embodiment, before the first output voltage of the power supply circuit is controlled to be the first input voltage of the power supply circuit, a plurality of input voltage values within a predetermined input voltage range corresponding to the first input voltage may be determined, where the plurality of input voltage values is a set of input voltage values that increase in an arithmetic progression; determining a plurality of cycle durations of a control cycle corresponding to a plurality of input voltage values according to the target voltage value and the fixed duration, wherein the plurality of input voltage values correspond to the plurality of cycle durations one to one; and linearizing the multiple input voltage values and the multiple period durations to obtain the corresponding relation between the first input voltage and the control period.

The manner of determining the plurality of input voltage values and the plurality of cycle durations and linearizing the plurality of input voltage values and the plurality of cycle durations is similar to that described above, and is not described herein again.

By the embodiment, the corresponding relation between the first input voltage and the duration of the control period is obtained in advance, so that the occupation of computing resources can be reduced, and the efficiency of output voltage control is improved.

As an alternative embodiment, the target duration of the second time period is zero in case the first input voltage value of the first input voltage is less than or equal to the target voltage value.

The input voltage will gradually decrease as the usage time increases. If the voltage value of the input voltage is less than the expected effective value of the output voltage, the duration of the second time period may be determined to be zero in order to ensure that the effective value of the output voltage is as close as possible to the expected effective value.

Through the embodiment, when the first input voltage value is smaller than or equal to the target voltage value, the duration of the second time period is set to be zero, so that the error of the output voltage can be avoided, and the validity of the output voltage is ensured.

In the case where the effective value of the output voltage of the power supply circuit is the target voltage value, the output load of the output circuit may be controlled to be kept constant, so that the output power of the power supply circuit may be kept constant.

The control method of the output voltage is described below with reference to an alternative embodiment.

The control method of the output voltage of this example is a simple, effective, and high-precision constant voltage V using a Pulse Width modulation (PMW) method without feedback and compensationo_rms 2The output scheme overcomes the process deviation to the constant voltage Vo_rms 2The influence of output is large or the problem that the circuit is too complex is realized, and meanwhile, feedback is not needed, so that the circuit is prevented from being compensated, few resources can be used, and the output voltage V can be achievedo_rms 2The purpose of constant voltage is ensuredo_rms 2High precision of output.

The control method of the output voltage in the present example may be applied to a system configuration as shown in fig. 10, and a circuit configuration as shown in fig. 8 and 9 may be employed, in which,

a module A: vinA sense for sampling the input voltage;

and a module B: for pair VinLinearization is carried out, and V is adjusted according to the actual precision requirementinPerforming linear segmentation;

and a module C: for a fixed on-time (open time), according to different VinCalculating a corresponding period T (period duration of a control period);

a module D: for linearizing the period T according to equation (7);

the results of the module E, the module B and the module D have a one-to-one correspondence relationship, and the module E is used for determining the power tube switch according to the one-to-one correspondence mapping relationship;

and a module F: for providing drive to the switches of the power transistors.

Note: mp is a power tube capable of passing a large current.

The module a can sample the input voltage in a conventional resistor string manner, and the modules B to E perform one-to-one correspondence operation on the linearized input voltage and the linearized period T by using the formula (7), so that the power tube can reach V after working according to the switching state controlled by the module Eo_rms 2The purpose of this is constant.

Referring to fig. 11, in the control method of the output voltage of the present example, V is first adjustedinSampling was performed and then the last column and V according to Table 1inCorresponding circuit voltage value, pair VinLinearization is carried out to obtain the sum VinOne-to-one correspondence of Vref1Simultaneously, a set of reference voltages V with increasing arithmetic progression is given0~V32. As shown in FIG. 10, after power-on, the power tube is first turned on, the counter starts counting, the power tube is turned off after on-time, and then the output of mux (data selector) continuously increases from V along with the linear increase of the counter counting0To V32Selecting, and the mux output value is summed with VinCorresponding Vref1Comparing, and when the mux output value is larger than Vref1The power tube is turned on again, the power tube is turned off after the on time lasts again, and then the output of the mux is compared with the output of the Vref1The size of the V is determined by analogy, and the work is repeated in cycles to ensure the Vo_rms2Is constant. Once Vin changes, the power tube on time is unchanged, but the off time is according to VinSo that V can be ensuredo_rms2Is constant.

By this example, there may be no need to worry about a constant output voltage V due to process variationso_rms 2The problem of precision is solved, the problem that a loop is not needed to be worried about and compensation is needed, meanwhile, the frequency of a power tube switch is not required and limited, occupied resources are relatively few, and the output voltage V can be achieved through a simple and effective implementation modeo_rms 2The purpose of this is constant.

Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.

According to another aspect of the embodiments of the present application, there is also provided an output power control apparatus for implementing the above output power control method, where the apparatus is used to implement the above embodiments and preferred embodiments, and details of the description already made are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.

Fig. 12 is a block diagram of an alternative control apparatus for output power according to an embodiment of the present application, as shown in fig. 12, the apparatus includes:

(1) a first control unit 1202, configured to control a first output voltage of the power supply circuit to be a first input voltage of the power supply circuit in a first time period of a current control cycle, where a duration of the first time period is a fixed duration;

(2) and a second control unit 1204, connected to the first control unit 1202, configured to control the first output voltage of the power supply circuit to be zero in a second time period of the current control cycle, so that the effective value of the total output voltage of the power supply circuit in the current control cycle is a target voltage value, where the target time period of the second time period is positively correlated to the first input voltage value of the first input voltage.

Alternatively, the first control unit 1202 may be configured to execute step S702 in the above-described method embodiment, and the second control unit 1204 may be configured to execute step S704 in the above-described method embodiment.

As an alternative embodiment, the first control unit 1202 includes:

(1) the first control module is used for controlling a power tube of the power circuit to be in an open state at the initial moment of the first time period and starting a timer to start timing, wherein the power tube in the open state is used for conducting a circuit between input and output of the power circuit, and the timing time of the timer is fixed time;

(2) and the second control module is used for controlling the power tube to be in an off state when the timing time of the timer is reached, wherein the power tube in the off state is used for switching off a circuit between the input and the output of the power supply circuit.

As an alternative embodiment, the above apparatus further comprises: first acquisition unit and adjusting element, second control unit includes: a third control module, wherein,

(1) the first acquisition unit is used for acquiring a first input voltage value of a first input voltage of the power supply circuit in a first time period of a current control cycle;

(2) the adjusting unit is used for adjusting the reference voltage of the target amplifier into the reference voltage value of the reference voltage corresponding to the first input voltage value according to the acquired first input voltage value and the corresponding relation between the first input voltage and the reference voltage of the target amplifier;

(3) and the third control module is used for controlling a second input voltage value of a second input voltage of the target amplifier to rise from an initial voltage value to a target voltage value in a second time period, wherein the initial voltage value is smaller than or equal to the reference voltage value, the target voltage value is larger than or equal to the reference voltage value, the power tube is driven to be in an open state through a second output voltage of the target amplifier under the condition that the second input voltage value is larger than or equal to the reference voltage value, the time required for the second input voltage to rise from the initial voltage value to the target voltage value is a target time length of the second time period, and the target time length is in linear positive correlation with the first input voltage value.

As an alternative embodiment, the third control module includes:

and the selection submodule is used for selecting an input voltage from a group of input voltages at the input end of the data selector at preset time intervals according to the sequence of the input voltages from small to large and outputting the input voltage to the output end of the data selector until a third output voltage at the output end of the data selector is a target voltage value, wherein the initial value of the third output voltage is an initial voltage value, and the output end of the data selector is connected with the input end of the target amplifier corresponding to the second input voltage.

As an alternative embodiment, the above apparatus further comprises:

a first determination unit configured to determine a plurality of input voltage values within a predetermined input voltage range corresponding to a first input voltage before controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, wherein the plurality of input voltage values are a set of input voltage values increasing in an arithmetic progression;

the second determining unit is used for determining a plurality of period durations of the control period corresponding to the plurality of input voltage values according to the target voltage value and the fixed duration, wherein the plurality of input voltage values correspond to the plurality of period durations one to one;

a third determination unit configured to determine a plurality of reference voltage values of the reference voltage corresponding to a plurality of cycle durations;

the first linearization unit is used for linearizing the plurality of input voltage values and the plurality of reference voltage values to obtain the corresponding relation between the first input voltage and the reference voltage.

As an alternative embodiment, the above apparatus further comprises: the second acquisition unit, fourth determining unit and fifth determining unit, the second control unit includes: a fourth control module, wherein,

the second acquisition unit is used for acquiring a first input voltage value of the first input voltage of the power circuit in a first time period of the current control cycle;

the fourth determining unit is used for determining the target cycle duration of the current control cycle corresponding to the first input voltage value according to the corresponding relation between the first input voltage and the cycle duration of the control cycle;

the fifth determining unit is used for determining the target time length of the second time period according to the target period time length and the fixed time length;

and the fourth control module is used for controlling the first output voltage of the power supply circuit to be zero in the target time length after the first time period.

As an alternative embodiment, the above apparatus further comprises:

a sixth determining unit configured to determine a plurality of input voltage values within a predetermined input voltage range corresponding to a first input voltage before controlling the first output voltage of the power supply circuit to be the first input voltage of the power supply circuit, wherein the plurality of input voltage values are a set of input voltage values that increase in an arithmetic progression;

a seventh determining unit, configured to determine, according to the target voltage value and the fixed time duration, a plurality of cycle time durations of a control cycle corresponding to the plurality of input voltage values, where the plurality of input voltage values correspond to the plurality of cycle time durations one to one;

and the second linearization unit is used for linearizing the multiple input voltage values and the multiple period durations to obtain the corresponding relation between the first input voltage and the control period.

As an alternative embodiment, the target duration of the second time period is zero in case the first input voltage value of the first input voltage is less than or equal to the target voltage value.

It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.

According to a further aspect of the embodiments of the present application, there is also provided a storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.

Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:

s1, in a first time period of the current control cycle, controlling a first output voltage of the power supply circuit to be a first input voltage of the power supply circuit, wherein the duration of the first time period is a fixed duration;

and S2, in a second time period of the current control cycle, controlling the first output voltage of the power supply circuit to be zero so that the effective value of the total output voltage of the power supply circuit in the current control cycle is a target voltage value, wherein the target time length of the second time period is positively correlated with the first input voltage value of the first input voltage.

Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.

Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.

Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.

Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:

s1, in a first time period of the current control cycle, controlling a first output voltage of the power supply circuit to be a first input voltage of the power supply circuit, wherein the duration of the first time period is a fixed duration;

and S2, in a second time period of the current control cycle, controlling the first output voltage of the power supply circuit to be zero so that the effective value of the total output voltage of the power supply circuit in the current control cycle is a target voltage value, wherein the target time length of the second time period is positively correlated with the first input voltage value of the first input voltage.

Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.

It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software. The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

26页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:高频DC-DC变流器模块及辅助变流器系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!