Power factor correcting method
11068005 · 2021-07-20
Assignee
Inventors
Cpc classification
G05F1/70
PHYSICS
International classification
Abstract
A power factor correcting method for correcting a power factor in an alternating current power supply includes detecting zero-crossing points of an input voltage V.sub.AC of the AC power supply to obtain a period T of the input voltage V.sub.AC; generating a half-wave symmetric periodic function f(t) by using the period T; implementing a recursive low-pass filter y(t) by using the half-wave symmetric periodic function f(t), so that an output of the recursive low-pass filter y(t) matches a target reactive current I.sub.xcap(t) flowing through an X-capacitor; generating a reference current I′.sub.ref(t) for correcting the power factor by using a given reference current I.sub.ref(t) and the recursive low-pass filter y(t); and correcting the power factor by using the reference current I′.sub.ref(t). Accordingly, the reactive current of the EMI capacitor can be compensated in a high code efficiency manner.
Claims
1. A power factor correcting method for correcting a power factor of an alternating current (AC) power supply, comprising: detecting zero-crossing points of an input voltage V.sub.AC of the AC power supply to obtain a period T of the input voltage V.sub.AC; generating a half-wave symmetric periodic function f(t) by using the period T; implementing a recursive low-pass filter y(t) by using the half-wave symmetric periodic function f(t), so that an output of the recursive low-pass filter y(t) matches a target reactive current I.sub.xcap(t) flowing through an X-capacitor; generating a reference current I′.sub.ref(t) to correct the power factor by using a given reference current I.sub.ref(t) and the recursive low-pass filter y(t); and correcting the power factor by using the reference current I′.sub.ref(t).
2. The power factor correcting method according to claim 1, wherein an output of the half-wave symmetric periodic function f(t) is a square wave, a triangular wave or a trapezoidal wave.
3. The power factor correcting method according to claim 1, wherein the half-wave symmetric periodic function f(t) is generated using the following equation:
4. The power factor correcting method according to claim 1, wherein the half-wave symmetric periodic function f(t) is generated using the following equation:
5. The power factor correcting method according to claim 1, wherein an amplitude and a phase of the recursive low-pass filter y(t) match the target reactive current I.sub.xcap(t).
6. The power factor correcting method according to claim 1, further comprising adjusting an amplitude and a phase of the recursive low-pass filter y(t), so that the amplitude and the phase of the recursive low-pass filter y(t) match the target reactive current I.sub.xcap(t).
7. The power factor correcting method according to claim 6, wherein the adjusting the amplitude and the phase of the recursive low-pass filter y(t), so that the amplitude and the phase of the recursive low-pass filter y(t) match the target reactive current I.sub.xcap(t) comprises: adjusting a gain; re-implementing the recursive low-pass filter y(t) by using the adjusted gain and the f(t); adjusting the phase of the recursive low-pass filter y(t) to advance the input voltage V.sub.AC by a given threshold; and determining whether the amplitude and the phase of the recursive low-pass filter y(t) match the target reactive current I.sub.xcap(t).
8. The power factor correcting method according to claim 7, wherein the given threshold is in a range of about 85 degrees to about 95 degrees.
9. The power factor correcting method according to claim 7, wherein the given threshold is about 90 degrees.
10. The power factor correcting method according to claim 1, wherein the recursive low-pass filter y(t) is implemented by the following equation:
11. The power factor correcting method according to claim 1, wherein the target reactive current I.sub.xcap(t) is calculated by the following equation:
12. The power factor correcting method according to claim 1, wherein when the given reference current I.sub.ref(t) is greater than an absolute value of the recursive low-pass filter y(t), the reference current I′.sub.ref(t) satisfies I′.sub.ref(t)=I.sub.ref(t)−y(t); and when the given reference current I.sub.ref(t) is equal to the absolute value of the recursive low-pass filter y(t), the reference current I′.sub.ref(t) is equals to zero.
13. The power factor correcting method according to claim 1, wherein the given reference current I.sub.ref(t) is calculated based on a loop output voltage,
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(7) In order to facilitate understanding of the present invention, before describing preferred embodiments of the present invention, an existing active PFC will be described first.
(8)
(9)
I.sub.AC=I.sub.xcap+I.sub.L [Equation 1]
wherein I.sub.AC denotes a current provided by AC power supply 201, I.sub.xcap denotes a reactive current flowing through the X-cap, and I.sub.L denotes a current flowing through the PFC.
(10) Generally, in the digitally controlled PFC, based on current loop control, I.sub.L should follow a reference current I.sub.ref generated by Equation 2 below:
I.sub.ref=A×B×C [Equation 2]
wherein A denotes a loop output voltage that changes with the load, B denotes
(11)
and C denotes an instantaneous input voltage, that is, C=V.sub.AC(t). I.sub.ref denotes a function that changes over time.
(12) Accordingly, I.sub.L is in phase with V.sub.AC.
(13) In additional, I.sub.xcap may be calculated using Equation 3 below:
(14)
wherein, C.sub.xcap denotes a capacitance of the X-cap,
(15)
denotes a time derivative, and V.sub.AC(t) denotes an instantaneous input voltage.
(16)
(17)
wherein, cos θ denotes a phase shift power factor,
(18)
denotes a distortion power factor, and iTHD denotes a total harmonic distortion of the load current.
(19) In order to enable I.sub.AC to be in phase with the voltage input V.sub.AC of the AC power supply, I.sub.L may be modified to achieve a unit power factor. As mentioned above, a PFC current I′.sub.L compensated with X-cap should follow a reference current I′.sub.ref generated by Equation 5 below:
I′.sub.ref(t)=I.sub.ref(t)−I.sub.xcap(t) [Equation 5]
wherein I′.sub.ref(t) denotes a new reference current that changes over time, and I.sub.xcap(t) denotes a reactive current flowing through the X-cap calculated by the microcontroller using Equation 3.
(20)
(21) Thus, it can be determined from the above that a key factor to implement the X-cap compensation is to generate, within the microcontroller, a reactive current flowing through the X-cap, that is, I.sub.xcap(t). Certainly, the reactive current I.sub.xcap(t) may also be detected by an isolated current meter, such as a Hall effect sensor, for example. In the present preferred embodiment, however, the reactive current I.sub.xcap(t) is preferably obtained by an algorithm in the microcontroller.
(22) In this regard, in Increase power factor by digitally compensating for PFC EMI-capacitor reactive current, http://www.ti.com/lit/an/slyt673/slyt673.pdf, it is proposed to use an internal random access memory (RAM) to continuously record V.sub.AC to obtain cos(2πft). However, in the method disclosed in Increase power factor by digitally compensating for PFC EMI-capacitor reactive current, http://www.ti.com/lit/an/slyt673/slyt673.pdf, a large amount of RAM storage space is occupied, and it is proportional to a sampling rate in a half period of V.sub.AC. Moreover, if a line frequency is a time-varying variable, then it can be determined from Equation 6 below that:
I.sub.xcap(t)=2πfV.sub.AC cos(2πft) [Equation 6]
because the line frequency f is a variable, a periodic time between V.sub.AC zero-crossing points must be obtained, and then f is calculated from
(23)
the division calculation of which would take a long time in the microcontroller unit, so the microcontroller unit needs to use considerable computing resources to calculate I.sub.xcap(t).
(24) To this end, the inventor of preferred embodiments of the present invention, after research, has developed a new power factor correcting method. By using the methods according to preferred embodiments of the present invention to calculate the reference current, the reactive current of the EMI capacitor can be effectively compensated, and accordingly, the power factor can be improved and the current harmonic distortion can be reduced, and compared with the existing methods, code efficiency can be increased, and the microcontroller can generate a continuous reactive current of the EMI capacitor with less computing resources.
(25) The technical ideas and preferred embodiments of the present invention will be specifically described below.
(26) Power factor correcting methods according to preferred embodiments of the present invention are described below. By applying the power factor correcting methods according to preferred embodiments of the present invention to a reference current calculation to compensate for the reactive current of an EMI capacitor, the power factor of a switching AC power supply can be improved, and the current harmonic distortion can be reduced.
(27)
(28) In order to facilitate understanding of the present preferred embodiment and avoid repetitive descriptions, a portion of a current loop control flow is illustrated in
(29) As illustrated in
(30)
wherein T denotes the period of V.sub.AC.
(31) In Step 503, a recursive filter y(t) is applied to the half-wave symmetric function ƒ(t) to generate an approximately sine waveform. In the present preferred embodiment, the recursive filter y(t) is preferably a low-pass filter, for example. That is, the recursive low-pass filter y(t) is implemented using the half-wave symmetric function ƒ(t). It should be noted that y(t) can be any type of recursive filter using one or more outputs as input. For example, Equation 9 as described in the following may be used to obtain the recursive filter y(t), by a simple replacement of τ(t) in Equation 9 with ƒ(t). The characteristic of the recursive filter y(t) is to smooth the periodic function generated in Step 502 and is preferably capable of significantly attenuating relatively high frequency components after many V.sub.AC periods. In the present preferred embodiment, the obtained recursive filter y(t) can be represented as a sine wave with a baseline frequency, which looks like a reactive current I.sub.xcap flowing through the X-cap, but may have different amplitudes and phase shifts.
(32) When the amplitude and phase of the obtained recursive filter y(t) do not match the target I.sub.xcap, a complex mathematical method may be used to calculate a gain and phase shift to adjust the amplitude and phase of y(t) so as to match the amplitude and phase shift of I.sub.xcap.
(33) However, in the present preferred embodiment, steps 504, 505, 506, and 507 in
(34) In the present preferred embodiment, in order to monitor y(t) and I.sub.ref, in Step 506, the microcontroller unit MCU may derive y(t), as well as I.sub.ref(t) which is calculated from the voltage of the AC power supply and the loop output voltage using the above Equation 2, and verify whether the amplitude and phase of y(t) match the target I.sub.xcap(t) calculated using the above Equation 3. If it is No in Step 506, then in Step 507, a gain is adjusted, and in Step 504, the adjusted gain is used as a multiplication coefficient to compensate for y(t) to adjust the amplitude of y(t). In Step 505, the phase of y(t) is adjusted to advance V.sub.AC by a given threshold. The amplitude and phase of y(t) can be approximately consistent with the target I.sub.xcap(t) through several iterations. The given threshold is preferably, for example, in a range of about 85 degrees to about 95 degrees, and more preferably is about 90 degrees.
(35) Similar to the prior art using Equation 5 as described above, in the present preferred embodiment, a new reference current I′.sub.ref(t) may be obtained through steps 508, 509, 510, and 511 shown in
(36) Further, after optimizing the gain and phase shift to obtain a proper power factor and lower current harmonic distortion (iTHD), steps 504, 505, 506, and 507 in
(37) In addition, in order to support an entire range of the AC input, several sets of gains and phase shifts may be applied discretely based on the line frequency and amplitude (e.g., about 230 Vac at 50 Hz or about 110 AC at 60 Hz).
(38) Further, in the preferred embodiments of the present invention, the half-wave symmetric periodic function ƒ(t) may include, for example, but not limited to, a square wave, a triangular wave, a trapezoidal wave, or the like. The digital low-pass filter y(t) may include, for example, but not limited to, a recursive or non-recursive filter.
(39) Next, a specific preferred embodiment of the present invention will be described.
(40)
(41)
wherein τ(t) is in a range from −1 to +1. p is a periodic time of a period preceding V.sub.AC and is reset and updated at the end of the V.sub.AC period.
(42) In the present preferred embodiment, in order to use the microcontroller unit MCU more conveniently, the same input and output as those in Equation 8 are used to generate a triangular wave.
(43) First, zero-crossing points of V.sub.AC are detected to obtain the period of V.sub.AC. To adjust the phase, an instantaneous value of the trigonometric function τ(t) is reset to
(44)
wherein p is the periodic duration of a preceding period, which is reset and updated at the end of the V.sub.AC period, and s is a given phase shift, which is shown by the symbol 603 in
(45)
A lower limit (shown by the symbol 602 in
(46)
If a triangular wave at the current time is towards the lower limit, then
(47)
wherein
(48)
if the lower limit is reached, then
(49)
wherein
(50)
if the upper limit is reached, then
(51)
wherein p−s≥t<p. Thus, a triangular wave is generated.
(52) Next, in the present preferred embodiment, a simple recursive low-pass filter R(t) can be obtained using Equation 9 below. R(t) is an example of y(t) in the present preferred embodiment:
(53)
wherein n is a natural number and A is a given gain.
(54) In the present preferred embodiment, R(t) may be any type of digital recursive low-pass filter, which corresponds to y(t) in the present preferred embodiment.
(55) Next, the obtained recursive low-pass filter R(t) is applied to τ(t). If I.sub.ref(t)>|R(t)|, then I′.sub.ref(t)=I.sub.ref(t)−R(t); and if I.sub.ref(t)<|R(t)|, then I′.sub.ref(t)=0.
(56) I.sub.ref(t) and R(t) are derived to verify whether R(t) matches the amplitude and phase of the calculated target I.sub.xcap(t).
(57) After several iterations, an appropriate amplitude (shown by the symbol 605 in
(58) If a preferred embodiment of the present invention is applied to a 1600 watt AC-DC power supply unit of a 230 Vac, 50 Hz line, then result measurements of iTHD and power factor may be shown in Table 1 below.
(59) TABLE-US-00001 TABLE 1 Load Before After ratio iTHD Power factor iTHD Power factor 10 15.6 0.86 8.5 0.991 20 9.3 0.93 7.1 0.992 50 5.7 0.97 4.4 0.997 100 4.2 0.98 3.5 0.999
(60) Table 1 shows results before and after implementing a preferred embodiment of the present invention at different percentages of full load. It can be seen from Table 1 that significant improvements can be obtained after the implementation of the preferred embodiment, especially at light loads, since the X-cap current is dominant.
(61) By applying preferred embodiments of the present invention, compared with the prior art methods, iTHD and power factor can be improved equivalently to or better than the prior art. In addition, compared with the prior art methods, which require more RAM and computing resources, a method according to a preferred embodiment of the present invention can improve code efficiency, and can compensate for the reactive current of the EMI capacitor by the microcontroller unit MCU with less computing resources. For example, if 2000 updates occur in one AC period, then compared with the prior art methods, the method according to a preferred embodiment can save about 90% of RAM and 80% of computing time, for example.
(62) In addition, the algorithm in the above-described preferred embodiment can be implemented by, for example, but not limited to, a microcontroller unit MCU, a digital signal processor, a processor, an object, an executable program, an execution thread, a program, and/or a computer.
(63) While preferred embodiments of the present invention have been described above, it is to be understood that variations and modifications will be apparent to those skilled in the art without departing from the scope and spirit of the present invention. The scope of the present invention, therefore, is to be determined solely by the following claims.