POWER FACTOR CORRECTION CONTROL METHOD, APPARATUS, AND DEVICE, AND STORAGE MEDIUM
20230015830 · 2023-01-19
Inventors
Cpc classification
H02M1/0025
ELECTRICITY
Y02B70/10
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
H02M1/42
ELECTRICITY
Abstract
Disclosed are a Power Factor Correction (PFC) control method, apparatus, and device, and a computer-readable storage medium. The method includes: acquiring an input voltage value, input current value, and output voltage value from a PFC circuit (S101); acquiring a current reference value for current loop control by using a Prony’s method according to the input voltage value, the output voltage value, and a preset voltage reference value (S102); and performing current loop control according to the current reference value and the input current value, and outputting a corresponding Pulse Width Modulation (PWM) signal, so as to control a switch tube in the PFC circuit to be correspondingly switched on or switched off (S103).
Claims
1. A Power Factor Correction (PFC) control method, characterized by comprising: acquiring an input voltage value, input current value, and output voltage value from a PFC circuit; obtaining a current reference value for current loop control by using a Prony’s method according to the input voltage value, the output voltage value, and a preset voltage reference value; performing current loop control according to the current reference value and the input current value, and outputting a corresponding Pulse Width Modulation (PWM) signal, so as to control a switch tube in the PFC circuit to be correspondingly switched on or switched off.
2. The PFC control method according to claim 1, wherein the obtaining a current reference value for current loop control by using a Prony's method according to the input voltage value, the output voltage value, and a preset voltage reference value comprises: performing voltage loop control according to the input voltage value, the output voltage value, and the preset voltage reference value to obtain an original current reference value; calculating an angular frequency by using the Prony’s method according to the original current reference value; and estimating an original current reference value at a next sampling moment of a present sampling moment according to the angular frequency and the original current reference value, and determining the estimated original current reference value as the current reference value.
3. The PFC control method according to claim 2, wherein the calculating an angular frequency by using the Prony’s method according to the original current reference value comprises: calculating the angular frequency by using
4. The PFC control method according to claim 2, wherein the performing voltage loop control according to the input voltage value, the output voltage value, and the preset voltage reference value to obtain an original current reference value comprises: performing voltage loop control according to the output voltage value and the preset voltage reference value to obtain a first control voltage; performing feed-forward loop control according to the input voltage value to obtain a second control voltage; and generating the original current reference value according to the first control voltage and the second control voltage.
5-8. (canceled)
9. A Power Factor Correction (PFC) control device, comprising: a memory, configured to store a computer program; and a processor, configured to execute the computer program to implement a PFC control method; wherein the PFC control method comprises: acquiring an input voltage value, input current value, and output voltage value from a PFC circuit; obtaining a current reference value for current loop control by using a Prony’s method according to the input voltage value, the output voltage value, and a preset voltage reference value; performing current loop control according to the current reference value and the input current value, and outputting a corresponding Pulse Width Modulation (PWM) signal, so as to control a switch tube in the PFC circuit to be correspondingly switched on or switched off.
10. A computer-readable storage medium, characterized by storing a computer program that is executed by a processor to implement a Power Factor Correction (PFC) control method; wherein the PFC control method comprises: acquiring an input voltage value, input current value, and output voltage value from a PFC circuit; obtaining a current reference value for current loop control by using a Prony’s method according to the input voltage value, the output voltage value, and a preset voltage reference value; performing current loop control according to the current reference value and the input current value, and outputting a corresponding Pulse Width Modulation (PWM) signal, so as to control a switch tube in the PFC circuit to be correspondingly switched on or switched off.
11. The PFC control method according to claim 1, wherein the current reference value for current loop control includes compensation for reducing direct-current output ripples of the PFC circuit.
12. The PFC control method according to claim 2, wherein the original current reference value is the original current reference value at a present sampling moment and original current reference values at multiple sampling moments closest to the present sampling moment.
13. The PFC control device according to claim 9, wherein the obtaining a current reference value for current loop control by using a Prony’s method according to the input voltage value, the output voltage value, and a preset voltage reference value comprises: performing voltage loop control according to the input voltage value, the output voltage value, and the preset voltage reference value to obtain an original current reference value; calculating an angular frequency by using the Prony’s method according to the original current reference value; and estimating an original current reference value at a next sampling moment of a present sampling moment according to the angular frequency and the original current reference value, and determining the estimated original current reference value as the current reference value.
14. The PFC control device according to claim 13, wherein the calculating an angular frequency by using the Prony’s method according to the original current reference value comprises: calculating the angular frequency by using
15. The PFC control device according to claim 13, wherein the performing voltage loop control according to the input voltage value, the output voltage value, and the preset voltage reference value to obtain an original current reference value comprises: performing voltage loop control according to the output voltage value and the preset voltage reference value to obtain a first control voltage; performing feed-forward loop control according to the input voltage value to obtain a second control voltage; and generating the original current reference value according to the first control voltage and the second control voltage.
16. The PFC control device according to claim 9, wherein the current reference value for current loop control includes compensation for reducing direct-current output ripples of the PFC circuit.
17. The PFC control device according to claim 13, wherein the original current reference value is the original current reference value at a present sampling moment and original current reference values at multiple sampling moments closest to the present sampling moment.
18. The computer-readable storage medium according to claim 10, wherein the obtaining a current reference value for current loop control by using a Prony’s method according to the input voltage value, the output voltage value, and a preset voltage reference value comprises: performing voltage loop control according to the input voltage value, the output voltage value, and the preset voltage reference value to obtain an original current reference value; calculating an angular frequency by using the Prony’s method according to the original current reference value; and estimating an original current reference value at a next sampling moment of a present sampling moment according to the angular frequency and the original current reference value, and determining the estimated original current reference value as the current reference value.
19. The computer-readable storage medium according to claim 18, wherein the calculating an angular frequency by using the Prony’s method according to the original current reference value comprises: calculating the angular frequency by using
20. The computer-readable storage medium according to claim 18, wherein the performing voltage loop control according to the input voltage value, the output voltage value, and the preset voltage reference value to obtain an original current reference value comprises: performing voltage loop control according to the output voltage value and the preset voltage reference value to obtain a first control voltage; performing feed-forward loop control according to the input voltage value to obtain a second control voltage; and generating the original current reference value according to the first control voltage and the second control voltage.
21. The computer-readable storage medium according to claim 10, wherein the current reference value for current loop control includes compensation for reducing direct-current output ripples of the PFC circuit.
22. The computer-readable storage medium according to claim 18, wherein the original current reference value is the original current reference value at a present sampling moment and original current reference values at multiple sampling moments closest to the present sampling moment.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to describe the technical solutions in embodiments of the present disclosure or the prior art more clearly, the drawings needed to be used in descriptions about the embodiments or the prior art will be briefly introduced below. Apparently, the drawings in the description below are merely embodiments of the present disclosure. Those ordinarily skilled in the art may further obtain other drawings according to the provided drawings without creative work.
[0040]
[0041]
[0042]
[0043]
[0044]
DETAILED DESCRIPTION
[0045] In order to make the objective, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below in combination with the drawings in the embodiments of the present application. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of the present invention.
[0046] Referring to
[0047] Step 101: acquire an input voltage value, input current value, and output voltage value from a PFC circuit.
[0048] The PFC circuit in this step may be a circuit configured to realize a PFC function. A specific circuit structure of the PFC circuit in this step may be customized by a designer according to an application scenario and a user requirement, for example, implemented in a manner the same as or similar to that for a PFC circuit in the prior art. For example, the PFC circuit may include a rectifier circuit (such as a bridge rectifier) and a main PFC circuit, or the PFC circuit may include a main PFC circuit only. No limits are made thereto in the present embodiment, as long as a switch tube (such as a MOS tube) in the main PFC circuit may be correspondingly switched on or switched off according to a PWM signal received by a control end, thereby realizing the PFC function.
[0049] It can be understood that, in this step, a processor (such as a Micro Controller Unit (MCU) or a Digital Signal Processor (DSP)) controlling the PFC circuit may acquire a circuit parameter needed by controlling the PFC circuit, i.e., an input voltage value, input current value, and output voltage value of the PFC circuit.
[0050] Correspondingly, the input voltage value, input current value, and output voltage value acquired by the processor in this step may correspond to a circuit structure of the PFC circuit. As shown in
[0051] It can be understood that a purpose of this step may be that the processor introduces a Prony’s method into a process of performing voltage loop control according to the input voltage value, the output voltage value, and a preset voltage reference value to determine a frequency of an input voltage and a range of band-stop filtering by using the Prony’s method. Therefore, compared with calculating a current reference value for current loop control in conventional voltage loop control, calculating a current reference value in this step may implement additional injection of a compensation for reducing direct-current output ripples of the PFC circuit.
[0052] Specifically, a specific mode in this step that the processor acquires the current reference value for current loop control by using the Prony’s method according to the input voltage value, the output voltage value, and the preset voltage reference value may be customized by the designer according to an application scenario and a user requirement. For example, the processor, after calculating a current value (original current reference value) at a present sampling moment according to the input voltage value, the output voltage value, and the preset voltage reference value in a manner the same as or similar to that for voltage loop control in the prior art, may calculate an angular frequency (ω), i.e., ω=2πƒ, corresponding to a frequency (ƒ) of an input voltage by using the Prony’s method according to calculated current values at multiple sampling moments, thereby calculating a current value at a next sampling moment corresponding to the current value at the present sampling moment, i.e., a current reference value output to current loop control, according to the calculated angular frequency. That is, the angular frequency calculated by the Prony’s method corresponds to the input voltage value and the output voltage value. That is, this step may include that: voltage loop control is performed according to the input voltage value, the output voltage value, and the preset voltage reference value to obtain an original current reference value; an angular frequency is calculated by using the Prony’s method according to the original current reference value; and an original current reference value at a next sampling moment of a present sampling moment is estimated according to the angular frequency and the original current reference value, and the estimated original current reference value is determined as the current reference value.
[0053] Alternatively, the processor, before calculating the current reference value in a manner the same as or similar to that for calculating a current reference value in the prior art, may estimate a control output at a next output moment of a present output moment of voltage loop control and/or feed-forward loop control by using the Prony's method. As shown in
[0054] Step 103: perform current loop control according to the current reference value and the input current value, and output a corresponding PWM signal, so as to control a switch tube in the PFC circuit to be correspondingly switched on or switched off.
[0055] It can be understood that the current reference value for current loop control in this step includes a compensation for reducing direct-current output ripples of the PFC circuit. That is, the current reference value at a present sampling moment for current loop control in this step is an estimated current reference value at a next sampling moment for current loop control in the prior art. Therefore, in this step, when the processor performs current loop control according to the current reference value and the input current value, and outputs the corresponding PWM signal to the switch tube in the PFC circuit to correspondingly switch on or switch off the switch tube to complete PFC, direct-current output ripples of the PFC circuit may be reduced.
[0056] Specifically, a specific mode in the present embodiment that the processor performs current loop control according to the current reference value and the input current value and outputs the corresponding PWM signal may be customized by the designer according to an application scenario and a user requirement. For example, the operation may be implemented in a manner the same as or similar to that for current loop control in the prior art. As shown in
[0057] In the present embodiment of the present disclosure, the current reference value for current loop control is acquired by using the Prony’s method according to the input voltage value, the output voltage value, and the preset voltage reference value, a frequency of an input voltage and a range of band-stop filtering are determined by using the Prony’s method, and then a corresponding compensation may be injected according to the calculated current reference value, whereby frequency ripples in a direct-current output of the PFC circuit are reduced, and the system stability and the PFC control accuracy are improved.
[0058] Referring to
[0059] Step 201: acquire an input voltage value, input current value, and output voltage value from a PFC circuit.
[0060] Specifically, the PFC circuit in the present embodiment may include a rectifier circuit. That is, the input voltage value, input current value, and output voltage value in this step may be an alternating-current voltage value and alternating current value input into the PFC circuit and a direct-current voltage value output by the PFC circuit.
[0061] Step 202: perform voltage loop control according to the input voltage value, the output voltage value, and the preset voltage reference value to obtain an original current reference value;
[0062] It can be understood that, in this step, a processor (such as an MCU or a DSP) may perform voltage loop control according to the input voltage value, the output voltage value, and a preset voltage reference value, thereby calculating an original current reference value, i.e., a current value output to current loop control in the prior art, such as a reference current value output to a current loop controller in
[0063] Specifically, the operation in this step that the processor performs voltage loop control according to the input voltage value, the output voltage value, and a preset voltage reference value to obtain an original current reference value may specifically be implemented in a manner the same as or similar to that for voltage loop control in the prior art. As shown in
[0064] That is, this step may include the following steps: voltage loop control is performed according to the output voltage value and the preset voltage reference value to obtain a first control voltage; feed-forward loop control is performed according to the input voltage value to obtain a second control voltage; and the original current reference value is generated according to the first control voltage and the second control voltage.
[0065] Correspondingly, when voltage loop control does not include feed-forward loop control, the processor may perform voltage loop control according to the output voltage value and the preset voltage reference value to obtain a third control voltage, and generate the original current reference value according to the third control voltage and the input voltage value.
[0066] Step 203: calculate an angular frequency by using the Prony’s method according to the original current reference value;
[0067] The angular frequency (ω) calculated in this step may be a parameter corresponding to a frequency (ƒ) of an input voltage, i.e., ω=2πƒ. The angular frequency may correspond to the input voltage value and output voltage value of the PFC circuit.
[0068] It can be understood that a purpose of this step may be that, by using original current reference values acquired at multiple sample points, frequencies (i.e., angular frequencies) corresponding to sampling points of these sampling moments are calculated by a Prony’s method, thereby determining voltage frequencies corresponding to the calculated angular frequencies as frequencies of the input voltage.
[0069] Correspondingly, a specific selection mode for the original current reference value needed by the calculation of the angular frequency in this step is not limited in the present embodiment. For example, the original current reference value needed by the calculation of the angular frequency may be the original current reference value at a present sampling moment and original current reference values at multiple sampling moments closest to the present sampling moment, or may be original current reference values at multiple sampling moments before the present sampling moment. No limits are made thereto in the present embodiment.
[0070] Specifically, in this step, the processor may calculate the angular frequency ω by using
according to the original current reference value at a present sampling moment and original current reference values at multiple sampling moments closest to the present sampling moment, wherein ω represents the angular frequency, M represents a number of the original current reference values, g.sub.m represents an original current reference value at a sampling moment m, g(.sub.m-1) and g(.sub.m+1) represent original current reference values at a previous sampling moment and next sampling moment of the sampling moment m respectively, g(M) represents the original current reference value at the present sampling moment, and Ts represents a sampling period. ƒ =
wherein ƒ represents a voltage frequency, i.e., a determined frequency of an input voltage.
[0071] Step 204: estimate an original current reference value at a next sampling moment of a present sampling moment according to the angular frequency and the original current reference value, and determine the estimated original current reference value as the current reference value.
[0072] It can be understood that a purpose of this step may be that the processor estimates and calculates an original current reference value at a next sampling moment of a present sampling moment according to the calculated angular frequency and the original current reference value at the present sampling moment, and determines the estimated original current reference value at the next sampling moment as a current reference value needed to be input to current loop control.
[0073] Specifically, in this step, since a frequency (i.e., angular frequency) corresponding to a variation of the original current reference value has been calculated, the original current reference value at the next sampling moment may be estimated by using I.sub.n+1=I.sub.nsin(ωt) according to the angular frequency and the original current reference value at the present sampling moment, wherein I.sub.n+.sub.1 represents the original current reference value at the next sampling moment, I.sub.n represents the original current reference value at the present sampling moment, ω represents the angular frequency calculated by the Prony’s method, and t represents a time difference between the next sampling moment and the present sampling moment, i.e., a sampling period.
[0074] Step 205: perform current loop control according to the current reference value and the input current value, and output a corresponding PWM signal, so as to control a switch tube in the PFC circuit to be correspondingly switched on or switched off.
[0075] Specifically, this step similar to step 103, and will not be elaborated herein.
[0076] In the present embodiment of the present disclosure, the original current reference value at the next sampling moment of the present sampling moment is estimated as the current reference value according to the angular frequency calculated by the Prony's method and the original current reference value at the present sampling moment, whereby the Prony’s method needs to be used only once every time when a current reference value is calculated, and the calculation amount is reduced. Moreover, a frequency of an input voltage and a range of band-stop filtering are determined according to the angular frequency calculated by the Prony’s method, and then a corresponding compensation may be injected according to the calculated current reference value, whereby frequency ripples in a direct-current output of the PFC circuit are reduced, and the stability of a power supply unit and the PFC control accuracy are improved.
[0077] Referring to
[0078] an acquisition module 10, configured to acquire an input voltage value, input current value, and output voltage value from a PFC circuit; [0079] an estimation module 20, configured to obtain a current reference value for current loop control by using a Prony’s method according to the input voltage value, the output voltage value, and a preset voltage reference value; [0080] a current loop control module 30, configured to perform current loop control according to the current reference value and the input current value, and output a corresponding PWM signal, so as to control a switch tube in the PFC circuit to be correspondingly switched on or switched off.
[0081] Optionally, the current loop control module 30 may include: [0082] a voltage loop control submodule, configured to perform voltage loop control according to the input voltage value, the output voltage value, and the preset voltage reference value to obtain an original current reference value; [0083] a Prony calculation submodule, configured to calculate an angular frequency by using the Prony’s method according to the original current reference value; [0084] an estimation submodule, configured to estimate an original current reference value at a next sampling moment of a present sampling moment according to the angular frequency and the original current reference value, and determine the estimated original current reference value as the current reference value.
[0085] Optionally, the Prony calculation submodule is specifically configured to:
calculate the angular frequency by using ω = cos according to the original current reference value, wherein ω represents the angular frequency, M represents a number of the original current reference value, g.sub.m represents an original current reference value at a sampling moment m, g(.sub.m-1) and g(.sub.m+1) represent original current reference values at a previous sampling moment and next sampling moment of the sampling moment m respectively, g(m) represents the original current reference value at the present sampling moment, and Ts represents a sampling period.
[0086] Optionally, the voltage loop control submodule includes: [0087] a voltage loop control unit, configured to perform voltage loop control according to the output voltage value and the preset voltage reference value to obtain a first control voltage; [0088] a feed-forward loop control unit, configured to perform feed-forward loop control according to the input voltage value to obtain a second control voltage; [0089] a PID control unit, configured to generate the original current reference value according to the first control voltage and the second control voltage.
[0090] In the present embodiment of the present disclosure, the estimation module 20 acquires the current reference value for current loop control by using the Prony's method according to the input voltage value, the output voltage value, and the preset voltage reference value, a frequency of an input voltage and a range of band-stop filtering are determined by using the Prony’s method, and then a corresponding compensation may be injected according to the calculated current reference value, whereby frequency ripples in a direct-current output of the PFC circuit are reduced, and the system stability and the PFC control accuracy are improved.
[0091] An embodiment of the present disclosure also provides a PFC control device, including a processor and a memory. The memory is configured to store a computer program. The processor is configured to execute the computer program to implement the steps of the PFC control method provided in the above-mentioned embodiment.
[0092] In the present embodiment, the memory includes a readable storage medium of at least one type. The readable storage medium includes a flash memory, a hard disk, a multimedia card, a card memory (such as a Secure Digital (SD) or Data Register (DX) memory), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory may be an internal memory cell of the PFC control device. In some other embodiments, the memory may be an external memory device of the PFC control device, such as a plug-in hard disk, a Smart Media Card (SMC), an SD card, and a flash card. Further, the memory may include an internal memory cell as well as external memory device of the PFC control device. The memory may be configured not only to store application software installed in the PFC control device and various data, such as a code executing a PFC control method, but also to temporarily store data that has been output or to be output.
[0093] In some embodiments, the processor in the present embodiment may be a Central Processing Unit (CPU), a controller, an MCU, a microprocessor, or another data processing chip, and is configured to run a program code or processing data stored in the memory, such as a program code executing the PFC control method.
[0094] In addition, an embodiment of the present disclosure also provides a computer-readable storage medium, storing a computer program that is executed by a processor to implement the steps of the PFC control method provided in the above-mentioned embodiment.
[0095] The computer-readable storage medium may include various media capable of storing program codes, such as a U disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
[0096] All the embodiments in this specification are described in a progressive manner. Contents mainly described in each embodiment are different from those described in other embodiments. Since the apparatus, the device and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiment, the descriptions therefor are relatively simple. The relevant parts may be described with reference to the method section.
[0097] The skilled person may further realize that the units and algorithmic steps of each example described in conjunction with the embodiments disclosed herein are capable of being implemented in electronic hardware, computer software, or a combination of both, and that the composition and steps of each example have been described generally by function in the above description for the purpose of clearly illustrating the interchangeability of hardware and software. Whether these functions are performed in hardware or software depends on the particular application and design constraints of the technical solution. The skilled person may use different methods to implement the described functions for each particular application, but such implementation should not be considered as going beyond the scope of the present invention.
[0098] The PFC control method, apparatus, and device and computer-readable storage medium provided in the present disclosure are introduced above in detail. Specific examples are applied in this specification to illustrate the principle and embodiments of the present invention, and the above description of the embodiments is only used to help understand the method of the present invention and the core idea thereof. It should be noted that for a person of ordinary skill in the art, several improvements and modifications can be made to the present invention without departing from the principle of the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.