POWER FACTOR CORRECTION SYSTEM
20230344335 · 2023-10-26
Inventors
Cpc classification
H02M1/0009
ELECTRICITY
International classification
H02M1/42
ELECTRICITY
Abstract
In some examples, an apparatus includes: a ramp generation circuit having a ramp control input and a ramp output, the ramp control input coupled to a power factor correction (PFC) output terminal; a comparator having a comparator output and first and second comparator inputs, the first comparator input coupled to the ramp output, the second comparator input coupled to a PFC switch current sensing terminal; and a pulse width modulation (PWM) generation circuit having a PWM control input and a PWM output, the PWM control input coupled to the comparator output, and the PWM output coupled to a PFC switch control terminal.
Claims
1. An apparatus comprising: a ramp generation circuit having a power factor correction (PFC) input and a ramp output; a comparator having a comparator output and first and second comparator inputs, the first comparator input coupled to the ramp output, the second comparator input coupled to a PFC current sensing terminal; and a pulse width modulation (PWM) generation circuit having a PWM control input and a PFC switch control output, the PWM control input coupled to the comparator output.
2. The apparatus of claim 1, wherein: the PFC input is coupled to a PFC output terminal; the ramp generation circuit is configured to: determine a first ramp voltage based on a first voltage at the PFC input; and provide a ramp signal that decreases from the first ramp voltage to a second ramp voltage; the comparator is configured to provide a decision signal at the comparator output by comparing the ramp signal and a second voltage at the second comparator input; and the PWM generation circuit is configured to change a state of a PWM signal at the PFC switch control output responsive to the decision signal indicating that the second voltage intersects the ramp signal.
3. The apparatus of claim 2, wherein the second voltage reflects a current through a PFC switch when the PWM signal is in a first state.
4. The apparatus of claim 3, wherein the apparatus further comprises a current transformer magnetically coupled to a current terminal of the PFC switch and configured to generate the second voltage by sensing the current.
5. The apparatus of claim 3, wherein the ramp signal decreases from the first ramp voltage to the second ramp voltage within a ramp cycle period; wherein the PWM signal has a switching cycle period, in which the PWM signal switches from the first state to a second state; and wherein the switching cycle period equals the ramp cycle period.
6. The apparatus of claim 5, further comprising a memory having a memory input and a memory output, the memory input coupled to the PWM generation circuit, and the memory configured to store a value representing a duration of the PWM signal having the first state in a first switching cycle via the memory input; and wherein the ramp generation circuit has a timing input, the timing input coupled to the memory output, and the ramp generation circuit is configured to: read the value from the memory via the timing input; and determine the first ramp voltage for the ramp signal of a second ramp cycle after a first ramp cycle that coincides with the first switching cycle; and provide the ramp signal in the second ramp cycle.
7. The apparatus of claim 6, wherein the ramp generation circuit is configured to determine the first ramp voltage for the ramp signal of the second ramp cycle based on the first voltage in the first switching cycle.
8. The apparatus of claim 2, wherein the ramp generation circuit includes: a ramp voltage range determination circuit having a processing input and a ramp voltage range output, the processing input coupled to the PFC input, and the ramp voltage range determination circuit configured to provide a ramp voltage range signal at the ramp voltage range output based on the first voltage; a digital-to-analog converter (DAC) having a ramp voltage range input, a digital input, and an analog output, the ramp voltage range input coupled to the ramp voltage range output, the DAC configured to: determine the first ramp voltage based on the ramp voltage range signal; and provide the ramp signal at the analog output, and reduce the ramp signal from the first ramp voltage to the second ramp voltage in steps responsive to changes in a state of the digital input; and a counter having a clock input and a counter output, the counter output coupled to the digital input.
9. The apparatus of claim 2, wherein the ramp generation circuit has a control input and configured to determine the first ramp voltage based on a signal at the control input.
10. The apparatus of claim 9, further comprising an amplifier having an amplifier output and first and second amplifier inputs, the first amplifier input coupled to the PFC output terminal, and the second amplifier input coupled to a reference terminal.
11. The apparatus of claim 10, wherein the amplifier is part of a voltage feedback loop to regulate the first voltage based on a reference voltage at the reference terminal.
12. The apparatus of claim 2, wherein the PFC input is a first PFC input, and the ramp generation circuit has a second PFC input coupled to a PFC input terminal; and wherein the ramp generation circuit is configured to determine the first ramp voltage based on a duration of a switching cycle period of the PWM signal and a third voltage at the PFC input terminal.
13. The apparatus of claim 2, wherein: the PFC switch control output is a first PFC switch control output; the PWM generation circuit has a second PFC switch control output and configured to provide a second PWM signal at the second PFC switch control output; wherein the apparatus further comprises: a first current transformer magnetically coupled to a first current terminal of a first PFC switch, the first current transformer having a first current measurement output; a second current transformer magnetically coupled to a second current terminal of a second PFC switch, the second current transformer having a second current measurement output; a multiplexor having a multiplexor output, first and second multiplexor inputs, and a first selection input, the first multiplexor input coupled to the first current measurement output, the second multiplexor input coupled to the second current measurement output, the first selection input coupled to a PFC input terminal, and the multiplexor output coupled to the second comparator input; and a control signal routing circuit having a first control signal input, a second control signal input, a first control signal output, a second control signal output, and a second selection input, the first control signal input coupled to the first PFC switch control output, the second control signal input coupled to the second PFC switch control output, the second selection input coupled to the PFC input terminal, the first control signal output coupled to a first control terminal of the first PFC switch, and the second control signal output coupled to a second control terminal of the second PFC switch, the control signal routing circuit configured to: responsive to the second selection input having a first state, connect the first control signal input to the first control signal output and the second control signal input to the second control signal output; and responsive to the selection input having a second state, connect the second control signal input to the first control signal output and the first control signal input to the second control signal output.
14. A method comprising: receiving a first voltage from an output of a power factor correction (PFC) circuit; determining a first ramp voltage for a ramp signal based on the first voltage; generating the ramp signal that decreases from the first ramp voltage to a second ramp voltage; providing a pulse width modulation (PWM) signal having a first state to a control terminal of a switch of the PFC circuit; receiving a second voltage representing a current through a switch of the PFC circuit when the PWM signal is in the first state; comparing the second voltage and the ramp signal to generate a decision; and responsive to the decision indicating that the second voltage intersects the ramp signal, switching the PWM signal from the first state to a second state to disable the switch.
15. The method of claim 14, wherein the ramp signal decreases from the first ramp voltage to the second ramp voltage within a ramp cycle period; wherein the PWM signal has a switching cycle period, in which the PWM signal switches from the first state to a second state; and wherein the PWM cycle period equals the ramp cycle period.
16. The method of claim 15, further comprising: determining a duration of the PWM signal having the first state in a first switching cycle; determining the first ramp voltage for the ramp signal of a second ramp cycle after a first ramp cycle that coincides with the first switching cycle; and providing the ramp signal in the second ramp cycle.
17. The method of claim 16, wherein the first ramp voltage for the ramp signal of the second ramp cycle is determined based on the first voltage in the first switching cycle.
18. The method of claim 14, further comprising: receiving a voltage error signal from a voltage control loop that regulates the first voltage based on a reference voltage; and determining the first ramp voltage based on the voltage error signal.
19. The method of claim 14, further comprising: receiving a third voltage from an input of the PFC circuit; and determining the first ramp voltage based on the third voltage and a duration of a switching cycle period of the PWM signal.
20. An apparatus comprising: a power factor correction (PFC) circuit having a PFC input and a PFC output, the PFC circuit including an inductor and a switch, the inductor coupled between the PFC input and a current terminal of the switch, and the current terminal is coupled to the PFC output; a current measurement circuit magnetically coupled to the current terminal and having a current measurement output; a voltage measurement circuit coupled to the PFC output and having a voltage measurement output; and a controller having a first control input, a second control input, and a control output, the first control input coupled to the current measurement output, the second control input coupled to the voltage measurement output, and the control output coupled to a control terminal of the switch, the controller including: a ramp generation circuit having a PFC input coupled to the second control input, and a ramp output; a comparator having a comparator output and first and second comparator inputs, the first comparator input coupled to the ramp output, the second comparator input coupled to the first control input; and a pulse width modulation (PWM) generation circuit having a PWM control input and a PWM output, the PWM control input coupled to the comparator output, and the PWM output coupled to the control output.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0005]
[0006]
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
DETAILED DESCRIPTION
[0018]
[0019] From AC input voltage signal 108, power supply system 104 can generate a DC output voltage signal 112 (labelled V.sub.out(t)) across positive output 107a and negative output 107b. Positive output 107a can provide a positive power supply rail, and negative output 107b can provide a negative power supply rail. Power supply system 104 can supply DC output voltage signal 112 to load 106, which can include electronic components that operate on a DC voltage. Power supply system 104 can also provide an DC output current signal 114 (labelled I.sub.out(t)), which can flow out of positive output 107a, through load 106, and return back to negative output 107b. System 100 can include a capacitor 118 to perform a filtering operation to reduce the ripples in DC output voltage signal 112 and DC output current signal 114. DC output current signal 114 can be split into a capacitor current signal 117 (labelled I.sub.C(t)) that flows through capacitor 118 and a load current signal 119 (labelled I.sub.load(t)) that flows through load 106. DC output current signal 114, capacitor current signal 117, and load current signal 119 can be related by the following Equation:
I.sub.out(t)=I.sub.C(t)+I.sub.load(t) (Equation 1)
[0020] To generate DC output voltage signal 112 from AC input voltage signal 108, power supply system 104 can include a rectifier circuit 120 and a power converter circuit 122. Rectifier circuit 120 can perform a rectification operation to convert AC input voltage signal 108 to a DC input voltage signal 130. As part of the rectification operation, rectifier circuit 120 can pass the positive voltages of AC input voltage signal 108 during the positive half cycles as the DC input voltage signal 130. Rectifier circuit 120 can also block the negative voltages of AC input voltage signal 108 during the negative half cycles in a half-wave rectification operation, or convert the negative voltages to positive voltages in a full-wave rectification operation, and generate a pulsating DC input voltage signal 130. Power converter circuit 122 can then generate DC output voltage signal 112 from DC input voltage signal 130 based on a conversion ratio. In a case where power converter circuit 122 is a step-up converter (e.g., a boost converter), the conversion ratio can be higher than one, and DC output voltage signal 112 can become higher than DC input voltage signal 130. In a case where power converter circuit 122 is a step-down converter (e.g., a buck converter), the conversion ratio can be lower than one, and DC output voltage signal 112 can become lower than DC input voltage signal 130.
[0021] In addition to generating DC output voltage signal 112, power converter circuit 122 may include a power factor correction (PFC) circuit 124 to perform a PFC operation. PFC circuit 124 can receive DC input voltage signal 130 and generate a PFC output voltage signal 132, which can then be converted to DC output voltage signal 112 by power converter circuit 122. Power factor (PF) can be defined as a ratio of the real power measured in watts (W) consumed by load 106 divided by the total apparent power measured in volt-amperes (VA) circulating between AC power source 102 and load 106. A high PF (e.g., close to or equal one) can indicate that a large percentage of the power supplied by AC power source 102 (apparent power) is delivered to and consumed by load 106. The PFC operation can be performed to increase the PF up to one.
[0022] PF can be given by a phase relationship φ between AC input voltage signal 108 and AC input current signal 110, and an amount of total harmonic distortion (THD) present in the AC input current signal, according to the following Equation:
[0023]
[0024] Referring to chart 202 of
[0025]
[0026] Inductor 306, switch 308, and diode 310 can be part of PFC circuit 124. Switch 308 can control the flow of AC input current signal 110 through inductor 306 to store magnetic energy in the inductor. Diode 310 can operate as a rectifier. When switch 308 is disabled, and the voltage of node 314 becomes higher than output voltage V.sub.out(t), diode 310 can be forward biased. Inductor 306 can discharge, and the forward-biased diode 310 allows the discharge current to flow to load 106. Also, when switch 308 is enabled, node 314 voltage can become lower than output voltage V.sub.out(t), and diode 310 can be reverse biased and block the flow of current from load 106 back to inductor 306. Inductor 306 can charge, and the inductor current can flow through enabled switch 308. Switch 308 can include a transistor, such as a silicon field effect transistor (FET), or a gallium nitride (GaN) high electron mobility transistor (HEMT). In some examples, power system 104 can include another transistor configured as a synchronous rectifier (SR) switch, and the body diode of that transistor can be diode 310. The transistor can be enabled if switch 308 is disabled, and vice versa.
[0027] Controller 312 can generate control signal 330 to enable/disable switch 308 in each switching cycle. Control signal 330 can be in the form of a multi-cycle a pulse width modulation (PWM) signal. Each cycle of the PWM signal can have a pulse in which the PWM signal is in a first state to enable switch 308, and in the remainder of the cycle the PWM signal is in the second state to disable switch 308. In a case where switch 308 is an NFET, the first state can be an asserted state (e.g., logical one), and the second state can be a deasserted state (e.g., logical zero). Also, in a case where power supply system 104 includes an SR switch, controller 312 can also generate a control signal (not shown in the figures) for the SR switch having opposite states from control signal 330.
[0028] Controller 312 can receive measurement signals 340 of PFC output voltage signal 132 (V.sub.out_pfc(t)) from a voltage measurement circuit 342, measurement signals 350 of DC input voltage signal 130 (V.sub.in,dc(t)) output by rectifier circuit 120 from a voltage measurement circuit 352, and a reference PFC output voltage signal 360 (also labelled V.sub.ref in
[0029] In some examples, power supply system 104 can also include a current measurement circuit 380 magnetically coupled to a current terminal of switch 308. Current measurement circuit 380 can be part of or external to PFC circuit 124, and can measure a switch current signal 382 (labelled I.sub.sw(t) in
[0030] In some examples, voltage measurement circuits 342 and 352, and current measurement circuit 372 and 380 can include sampling-and-hold (S/H) circuits to generate samples of the voltage signals. In some examples, these circuits can also include analog-to-digital converters (ADCs) to convert the sampled voltage signals to digital values.
[0031] Controller 312 can implement a voltage feedback loop, in which controller 312 can adjust control signal 330 based on measurement signals 340 and 350 and V.sub.ref to reduce a voltage difference between PFC output voltage signal 132 and V.sub.ref. Also, controller 312 can implement a current feedback loop, in which controller 312 can adjust control signal 330 based on measurement signals 370 or measurement signals 384 to reduce a phase difference between AC input voltage signal 108 and AC input current signal 110 and to reduce harmonic distortions in AC input current signal 110, to improve PF.
[0032]
[0033] A first switching cycle (sw(1)) starts at time T.sub.0. At T.sub.0, the inductor current and AC input current can be at a value I.sub.in_init. As to be described below, depending on a type of PFC operation supported by controller 312, I.sub.in_init can be zero or can have a positive value. Between T.sub.0 and T.sub.1 can be a first charging interval, in which controller 312 can provide a pulse having the first state for control signal 330. With switch 308 enabled, the voltage of node 314 can be brought to close to ground and is below output voltage V.sub.out, diode 310 is reverse-biased and can prevent current from flowing from load 106/capacitor 118 back to switch 308 and ground. Accordingly, between T.sub.0 and T.sub.1 the current through diode 310 (I.sub.out) can be at zero. Also, capacitor 118 can discharge to supply the load current Load to load 106, therefore the capacitor current I.sub.C can be negative.
[0034] Also, between T.sub.0 and T.sub.1, an increasing positive charging current can flow from inductor 306 through switch 308 to ground and charge inductor 306. The voltage across inductor 306, labelled V.sub.L in
[0035] In Equation 3, because DC input voltage signal 130 (V.sub.in,dc) is positive, the slope of inductor current dI.sub.L/dt is also positive, and the inductor current increases between times T.sub.0 and T.sub.1. The switch current I.sub.sw through switch 308 can be equal to the inductor current IL during t.sub.on. The positive inductor current can peak at time T.sub.1. The duration between times T.sub.0 and T.sub.1 can be equal to t.sub.on, which equals the pulse width of control signal 330 in switching cycle sw(0) and represents the charging interval in which switch 308 is enabled Within switching cycle sw(0), a positive peak inductor current (labelled I.sub.in,pk in
[0036] Between T.sub.1 and T.sub.2 can be part of a discharging interval, in which controller 312 can end the pulse and set control signal 330 to the second state to disable switch 308. The duration between T.sub.1 and T.sub.2 can be equal to t.sub.off. The disabling of switch 308 can disconnect inductor 306 from ground, and allow the voltage of node 314 to rise to a level close to output voltage V.sub.out. The switch current I.sub.sw can become zero. Diode 310 can become forward biased. Inductor 306 can dissipate the stored magnetic energy to supply a discharging current to load 106 and capacitor 118, and the DC output current signal 114 (I.sub.out(t)) can be equal to the inductor current, and can be split into the capacitor current I.sub.C(t) and the load current I.sub.load(t). With the voltage of switching node 314 at V.sub.out_pfc, the inductor voltage V.sub.L becomes V.sub.in,dc−V.sub.out_pfc, and the rate of change of inductor current can become:
[0037] If V.sub.in,dc is lower than V.sub.out_pfc, V.sub.L can become negative, and inductor 306 is discharged to supply a current to load 106 and capacitor 118. The inductor current, as well as input current I.sub.in(t), can reduce linearly from the positive peak inductor current (I.sub.in,pk) between T.sub.1 and T.sub.2 due to negative dI.sub.L/dt. Depending on the type of PFC operation, the inductor current may drop to a positive value, zero, or a negative value as the final inductor current of the first switching cycle, which can also be the initial inductor current I.sub.in_init for the next switching cycle (e.g., sw(2)). The average inductor current within the first switching cycle sw(1) is labelled as I.sub.in,avg and can be based on peak inductor current I.sub.in,pk, the initial and final inductor currents of the first switching cycle, and the durations of charging and discharging of the inductor (t.sub.on and t.sub.off). The inductor current can reach I.sub.in_init at the end the first switching cycle.
[0038] The charging and discharging of inductor 306 can then repeat for subsequent switching cycles, including switching cycle sw(1) between T.sub.2 and T.sub.4 and switching cycle sw(2) between T.sub.4 and T.sub.6. In the example of
[0039] To perform a PFC operation, controller 312 can receive measurement signals 350 of DC input voltage signal 130 (V.sub.in,dc(t)) in a switching cycle, and adjust t.sub.on and/or t.sub.off of that switching cycle based on measurement signals 350 to adjust the peak inductor current I.sub.in,pk and the average inductor current I.sub.in,avg, so as to reduce THD and the phase difference between AC input current signal 110 (I.sub.in) and AC input voltage signal 108 (V.sub.in) and to increase PF.
[0040] Referring to graph 502, the initial and final inductor current of a switching cycle in a CCM operation can be non-zero. Controller 312 can measure the average inductor current, the input voltage, and the output voltage of a switching cycle, and adjust the pulse width of control signal 330 based on the measurements, so that the average inductor current can vary and follow the input voltage across the switching cycles. Accordingly, in CCM operation, each switching cycle can have a constant duration, and the charging period duration t.sub.on and duty cycle may vary across the switching cycles.
[0041] Also, referring to graph 504, the initial and final inductor current of a switching cycle in a CrCM operation can be zero. Controller 312 can measure the output voltage and set the charging period duration t.sub.on so that the output voltage is constant across the switching cycles. Controller 312 can also measure the inductor current, and start a new switching cycle and the charging period responsive to the inductor current dropping to zero. Accordingly, in CrCM operation, controller 312 can generate a PWM signal in which the pulse width (and charging period duration t.sub.on) can be constant across the cycles. But the cycle period and t.sub.off may vary across the switching cycles, and the average inductor current may also vary according to the input voltage.
[0042] Moreover, referring to graph 506, the initial and final inductor current of a switching cycle in a DCM operation can be zero. In a DCM operation, in addition to t.sub.on and t.sub.off, a switching cycle can also have a duration t.sub.zero in which the inductor current is zero. Controller 312 can measure the output voltage and set the charging period duration t.sub.on so that the output voltage is constant across the switching cycles. Controller 312 can also generate a PWM signal having a constant cycle period equal to a sum of t.sub.on, t.sub.off, and t.sub.zero. If the peak inductor current varies across the switching cycles, the average inductor may also vary and follow the input voltage.
[0043]
[0044] In Equation 6, I.sub.ref represents reference current signal 616, G represents a voltage loop function implemented by first amplifier 602 to generate voltage error signal 612 based on the DC output voltage and the reference voltage, and C can represent parameter value 614. The reference current can include information of voltage error signal 612, based on which controller 312 can set the DC output voltage as part of the voltage feedback loop. The reference current can also include information of DC input voltage signal 130, based on which controller 312 can set the AC input current as part of the current feedback loop.
[0045] In some examples, processing circuit 606 can receive parameter value 614, squared version of DC input voltage signal 130, and voltage error signal 612 in the form of digital values, and compute a digital value of I.sub.ref based on Equation 6. Processing circuit 606 can include a digital-to-analog converter (DAC) to convert the digital value of I.sub.ref into an analog voltage signal, and provide the analog voltage signal to second amplifier 608. In some examples, processing circuit 606 can also receive parameter value 614, squared version of DC input voltage signal 130, and voltage error signal 612 in the form of analog voltage signals, and generate another analog voltage signal representing I.sub.ref from the received signals.
[0046] Second amplifier 608 can be an error amplifier of the current feedback loop. Second amplifier 608 can receive reference current signal 616 from processing circuit 606 and measurement signals 370 or 384 representing an average of AC input current signal 110 within a switching cycle (I.sub.in,avg). Current measurement circuit 372 can generate measurement signal 370 by sampling AC input current signal 110 at any time within a switching cycle. Also, current measurement circuit 380 can generate measurement signal 384 by sampling switch current signal 382 (I.sub.sw) at the midpoint of a charging period (t.sub.on) of a switching cycle to measure the average inductor current within a switching cycle, because switch current signal 382 is zero after the charging period ends where switch 308 is disabled. Second amplifier 608 can generate a current error signal 620 representing a difference between the average AC input current and the reference current, and provide current error signal 620 to PWM generation circuit 610.
[0047] PWM generation circuit 610 can generate control signal 330 and set the charging period duration (t.sub.on) of a switching cycle based on current error signal 620. PWM generation circuit 610 can include a comparator 630, a reference signal generator 632, and a timing logic circuit 634. Reference signal generator 632 can generate a periodic ramp reference signal 640, and the period of reference signal 640 can define the cycle period of the switching cycles and of control signal 330. Comparator 630 can compare current error signal 620 against reference signal 640 to generate a decision signal 642. Timing logic circuit 634, which can include an SR latch, can generate control signal 330 as a PWM signal, and modulate the pulse width of the PWM signal based on the state of decision signal 642. Controller 600 may include a gate driver circuit (not shown in
[0048]
[0049] Referring to graphs 708 and 710, at the beginning of switching cycle sw(0), reference signal 640 starts at a low voltage V.sub.low and increases to a high voltage V.sub.high at the end of sw(0). Reference signal 640 then drops back to V.sub.low at the beginning of the next switching cycle sw(1) and increases back to V.sub.high at the end of sw(1), according to a repetitive ramp pattern. Also, at the beginning of each switching cycle, reference signal 640 can be lower than current error signal 620, and comparator 630 can generate an asserted decision signal 642 to set the SR latch of timing logic circuit 634. In response to the SR latch being set, timing logic circuit 634 can generate an asserted control signal 330 to start the pulse. When reference signal 640 exceeds current error signal 620, comparator 630 can trip and generate a deasserted decision signal 642, which releases the set signal of the SR latch. Also, reference signal 640 can reset the SR latch. In response to the SR latch being reset, timing logic circuit 634 can generate a deasserted control signal 330 to stop the pulse and end the charging period duration t.sub.on. Control signal 330 can remain deasserted for the remainder of the switching cycle, which corresponds to the discharging period duration t.sub.off, until the start of the next switching cycle.
[0050] The charging period duration t.sub.on and the discharging period duration t.sub.off can reflect the magnitude of current error signal 620. Specifically, for a high current error signal 620, it can take a longer period of time for reference signal 640 to intersect and exceed current error signal 620. Accordingly, t.sub.on can increase and t.sub.off can decrease as current error signal 620 increases. Also, for a low current error signal 620, it can take a shorter period of time for reference signal 640 to intersect and exceed current error signal 620. Accordingly, t.sub.on can decrease and t.sub.off can increase as current error signal 620 decreases.
[0051] In each switching cycle, controller 312 can receive a measurement signal 340 of PFC output voltage signal 132 (V.sub.out_pfc), a measurement signal 350 of DC input voltage signal 130 (V.sub.in,dc), a measurement signal 370 of AC input current signal 110, and reference PFC output voltage signal 360 (V.sub.ref), and generate current error signal 620 for that switching cycle. Referring to
[0052] Controller 312 can then determine current error signal 620 of a switching cycle based on the measurement signals sampled at the midpoint of t.sub.on of that switching cycle, and determine the t.sub.on (and the end of the pulse) of that switching cycle based on comparing the current error signal 620 with reference signal 640 of that switching cycle. With such arrangements, controller 312 can receive measurement signal 370 representing the average inductor current (I.sub.in_avg) of a switching cycle, generate current error signal 620 that reflects I.sub.in_avg of that switching cycle, and adjust t.sub.on and t.sub.off of that switching cycle based on current error signal 620.
[0053] Power supply system 104 of
[0054] In contrast, current measurement circuit 380, which measures switch current signal 382 via magnetic coupling, can reduce power loss incurred in the current measurement operation and improve the power efficiency of power supply system 104. Specifically, current measurement circuit 380 measures switch current signal 382, which is zero during t.sub.off of a switching cycle since switch 308 is disabled. Accordingly, the average current that flows through primary coil 386 in a switch cycle is reduced compared with current measurement circuit 372, and the power loss contributed by the current measurement circuit can be reduced. The power loss can be further reduced by reducing a turn ratio between secondary coil 388 and primary coil 386, such that current signal 392 can become a scaled down version of switch current signal 382. Such arrangements can further reduce the average current that flows through measurement circuit 390 in a switch cycle and further reduce the power loss.
[0055] Also, sensing the inductor current via magnetic coupling can create an isolation boundary between the PFC circuit 124 from measurement circuit 390. PFC circuit 124 (e.g., inductor 306, switch 308, and diode 310 coupled at node 314) can be on the primary side of the isolation boundary (being coupled to primary coil 386), and measurement circuit 390 can be on the secondary side of the isolation boundary (being coupled to secondary coil 388). The isolation boundary can improve safety and prevent shorting between AC power source 102 (which can be on the primary side) and other electronic components that can be on the secondary side, such as power converter circuit 122 of
[0056] Although current measurement circuit 380 can reduce power loss and improve safety, the sampling operation by current measurement circuit may be susceptible to timing uncertainties, which can introduce distortions and errors to the PFC operation. Specifically, as described above, current measurement circuit 380 may sample the switch current at the midpoint of the charging period of a switching cycle to measure the average inductor current in the switching cycle. But due to sampling time offset the switch current may not be sampled at exactly the midpoint of t.sub.on, and measurement signal 384 may not represent exactly the average inductor current. Accordingly, current error signal 620 also may not represent the true difference between reference current signal 616 and the average inductor current in a switching cycle, and modulating t.sub.on based on current error signal 620 may introduce error components in the inductor current.
[0057] The sampling time offset can be contributed by various sources of timing uncertainties, such as jitters in clock signals provided to the sampling circuits. The sampling time offset may also vary across the switching cycles, and the magnitude of the error component caused by the sampling time offset may also vary across the switching cycles. Specifically, referring to
[0058]
[0059] Controller 822 can be part of an integrated circuit, such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a microcontroller, or a general purpose central processing unit (CPU). In some examples, controller 822 can be integrated with one or more of inductor 306, switch 308, voltage measurement circuits 342 and 352, and current measurement circuit 380 in the same integrated circuit package. In some examples, controller 822 can be a separate integrated circuit chip from one or more of inductor 306, switch 308, voltage measurement circuits 342 and 352, and current measurement circuit 380.
[0060]
[0061] At time T.sub.0, an m.sup.th switching cycle sw(m) and an m.sup.th ramp cycle of the ramp reference signal begin. The ramp reference signal can have a ramp signal range between V.sub.low (which can be 0 volt) and V.sub.high(m). The ramp reference signal can start at V.sub.high(m) at T.sub.0 and ramp down linearly with time to V.sub.low at the end of the m.sup.th ramp cycle at T.sub.2. The m.sup.th switching cycle sw(m) also ends at T.sub.2. Also, t.sub.on(m) of the m.sup.th switching cycle can start at T.sub.0. During t.sub.on(m), inductor current increases as inductor 306 charges. Since switch 308 is enabled, switch current 804 can be equal to the inductor current, and measurement signal 384 increases with time. In a case of CCM operation, switch current 804 can start increasing from a non-zero initial current I.sub.in_init(m), and measurement signal 384 can start increasing from a corresponding initial voltage V.sub.init(m). In a case of CCrM and DCM operations, the inductor current and measurement signal 384 can start increasing from zero.
[0062] After the start of the m.sup.th switching cycle at T.sub.0, controller 822 can compare between the voltages of measurement signal 384 and the ramp reference signal to generate a decision, and set control signal 330 at an asserted state and extend the pulse if the decision indicates that measurement signal 384 has a lower voltage than ramp reference signal. If the decision indicates that measurement signal 384 intersects or exceeds the ramp reference signal, controller 822 can set control signal 330 at a deasserted state and end the pulse and t.sub.on(m). In the example of
[0063] The duration between T.sub.1 and T.sub.2 can be the t.sub.off(m) of the m.sup.th switching cycle, in which controller 822 maintains control signal 330 at the deasserted state. Since switch 308 is disabled, switch current 804 can also become zero. Inductor 306 can discharge and provide capacitor current signal 117 (I.sub.C(t)) and load current signal 119 (I.sub.load(t)).
[0064] At time T.sub.3, an n.sup.th switching cycle sw(n) and an n.sup.th ramp cycle of the ramp reference signal begin. The ramp reference signal can have a ramp signal range between V.sub.Low and V.sub.high(n). V.sub.high(n) can be higher than V.sub.high(m) to reflect an increased target/reference peak current for the n.sup.th switching cycle. Also, t.sub.on(n) of the n.sup.th switching cycle can start at T.sub.3, and controller 822 can set control signal 330 at the asserted state to enable switch 308. Measurement signal 384 (which represents the switch current and the inductor current) increases from V.sub.init(n) during t.sub.on(n) and intersects the ramp reference signal at T.sub.4. Responsive to measurement signal 384 intersecting with (or exceeding) the ramp reference signal, controller 822 can set control signal 330 at a deasserted state and end the pulse and t.sub.on(n) at T.sub.4.
[0065] Because of the increased V.sub.high(n), it can take a longer time for measurement signal 384 to intersect the ramp reference signal. Therefore, the duration of t.sub.on(n) of the n.sup.th switching cycle can become longer than the duration of t.sub.on(m) of the m.sup.th switching cycle. Also, the intersecting voltage of measurement signal 384 at T.sub.4, V.sub.peak(n), can be higher than V.sub.peak(M), and the corresponding peak current I.sub.in_pk(n) can be higher than peak current I.sub.in_pk(M). Accordingly, by varying Vito and the ramp signal range, controller 822 can modulate t.sub.on and the inductor current (and AC input current signal 110) across switching cycles to support a PFC operation.
[0066]
[0067] In a switching cycle, reference ramp signal generator circuit 1002 can provide a ramp reference signal 1020 at ramp output 1003e. Ramp reference signal 1020 can ramp across a ramp signal range determined by ramp voltage range determination circuit 1012 within the switching cycle, as shown in graph 902 of
[0068] Prior to the switching cycle, ramp signal range determination circuit 1012 can determine the ramp voltage range 1030 (or the peak ramp voltage V.sub.high if V.sub.low is constant) for that switching cycle, and provide ramp voltage range 1030 to DAC 1014. DAC 1014 can also receive a count value 1032 from counter 1016, which can receive a clock signal and sweeps through a range of count values within a ramp cycle responsive to clock signal. DAC 1014 can generate ramp reference signal 1020 that ramps down from V.sub.high to V.sub.low in steps responsive to changes in count value 1032.
[0069]
[0070] Referring again to
[0071] In Equation 7, V.sub.high(m+1) represents the peak ramp signal voltage for an (m+1).sup.th switching cycle. Also, S can be scaling factor 1018, which can be based on voltage error signal 612 or another parameter, V.sub.out_pfc(m) represents the sampled PFC output voltage at the m.sup.th switching cycle, t.sub.on(m) represents the duration of t.sub.on of the m.sup.th switching cycle, L represents the inductance of inductor 306, and R represents is the resistance of a resistor of measurement circuit 390 to convert the sensed switch current 804 (or a scaled version of it) to a voltage. Using V.sub.out_pfc and t.sub.on of a prior switching cycle to determine the V.sub.high for a current switching cycle can be based on V.sub.out_pfc and the duration of t.sub.on being largely constant between consecutive switching cycles.
[0072] Also, Equation 7 can be extended to cover DCM operation as well. For DCM operation, ramp voltage range determination circuit 1012 can receive measurement signal 350 of V.sub.in_dc via PFC input 1003c, and determine V.sub.high(m+1) for an (m+1).sup.th switching cycle as follows:
[0073] In Equation 8, t.sub.on(m) represents the duration of t.sub.on of the m.sup.th switching cycle, and T represents the cycle period of each switching cycle/ramp cycle. In some examples, ramp voltage range determination circuit 1012 can determine t.sub.on based on the range of count value 1032.
[0074] The following derivations can show that comparing measurement signal 384 (representing I.sub.sw) with a ramp reference signal having V.sub.high set according to Equation 7 allows the average current I.sub.avg to be proportional to and follow the shape of DC input voltage signal 130 (V.sub.in_dc).
[0075] During t.sub.on of a switching cycle, with switch 308 enabled and a voltage across inductor 306 equal to V.sub.in_dc, the inductor current (and switch current 804, I.sub.sw) can increase from I.sub.in_init (e.g., at T.sub.0/T.sub.3 in
[0076] Also, the average current I.sub.avg, for CCM and CCrM modes of operation, can be related to I.sub.in_init and I.sub.in_pk as follows:
[0077] Combining Equations 9 and 10:
[0078] Also, with reference ramp signal 1020 decreasing linearly with time from V.sub.high to V.sub.low, with V.sub.low being equal to zero, the intersecting voltage V.sub.peak between measurement signal 384 and ramp reference signal 1020 can be related to V.sub.peak, the durations of t.sub.off and the switching/ramp cycle period T as follows:
[0079] In Equation 12, V.sub.peak is replaced by I.sub.in_pk×R, where R is the same as in Equation 7 and represents the resistance of a resistor of measurement circuit 390 to convert the sensed current into a voltage.
[0080] For CCM and CCrM in steady state, DC input voltage signal 130 and PFC output voltage signal 130 can be related to the durations of t.sub.off and the switching/ramp cycle period T as follows:
[0081] Combining Equations 12 and 13:
[0082] Combining Equations 7, 9, 11, and 14, with the V.sub.high term substituted according to Equation 7:
[0083] Equation 15 can be rewritten into:
[0084] And Equation 16 can be simplified to become:
[0085] Referring to Equation 17, S can be constant across the switching cycles, such as when the voltage control loop reaches a steady state and voltage error signal 612 can be largely constant. Accordingly, the average current I.sub.avg can be proportional to and follow the shape of V.sub.in_dc, which can improve PF and reduce harmonic distortions in the AC input current.
[0086] The following derivations can show that comparing measurement signal 384 (representing I.sub.sw) with a ramp reference signal having V.sub.high set according to Equation 8 allows the average current I.sub.avg to be proportional to and follow the shape of DC input voltage signal 130 (V.sub.in_dc).
[0087] In DCM mode, the average current in a switching cycle can be given by the following Equation, which can be based on Equation and account for zero current during the t.sub.zero duration of
[0088] In steady state, inductor volt-second is balanced in a switching cycle, therefore:
V.sub.in,dc×t.sub.on=(V.sub.out_pfc−V.sub.in,dc)×t.sub.off (Equation 19)
[0089] Equations 18 and 19 can be combined:
[0090] For DCM, Equation 12 becomes:
[0091] Combining Equation 8 and Equation 12 for DCM:
[0092] Combining Equations 20 and 21:
[0093] And Equation 22 can be simplified into Equation 17.
[0094] In contrast with the PFC operation of
[0095] Also, for CCM and CrCM operations, comparator 630 and timing logic circuit 634 can modulate t.sub.on based on measurement signal 384 of switch current I.sub.sw. Measurement signal 340 can be generated from measurement circuits on the secondary side of the isolation boundary between primary coil 386 and secondary coil 388. Accordingly, for CCM and CrCM operations, controller 822 needs not cross the isolation boundary to receive measurement signal 350 of V.sub.in_dc, which can be generated from measurement circuits on the primary side. Such arrangements can facilitate integration of controller 822 with other circuits that can be on the secondary side, such as power converter circuit 122 of
[0096]
[0097] Power supply system 104 also includes a controller 1230 coupled to the switches, voltage measurement circuits 342 and 352, and current measurement circuits 380a and 380b. Primary coil 386 of current measurement circuit 380a can be coupled between switch 1202 and node 1214, and primary coil 386 of current measurement circuits 380b can be coupled between switch 1204 and node 1214. In some examples, switches 1202 and 1204, diodes 1206 and 1208, and inductor 306 can be configured as a totem pole rectifier. Controller 1230 can generate control signals 1240 (labelled VG.sub.1) and 1242 (labelled (VG.sub.2) to enable/disable, respectively, switches 1202 and 1204 to perform rectification and PFC operations. Controller 1230 can generate the control signals based on measurement signals 340, 350, 384a, and 384b from, respectively, voltage measurement circuits 342 and 352, and current measurement circuits 380a and 380b. Controller 1230 can be part of an integrated circuit, such as an ASIC, an FPGA, or a general purpose CPU, and can be integrated with or separate from one or more of inductor 306, diodes 1206 and 1208, switches 1202 and 1204, voltage measurement circuits 342 and 352, and current measurement circuits 380a and 380b.
[0098]
[0099] Referring to diagram 1302, during a positive half-cycle of V.sub.in when negative input 105b receives a lower voltage than positive input 105a, Q2 (diode 1206) is forward biased and Q1 (diode 1208) is reverse biased. The forward biased Q2 can connect negative output 107b to negative input 105b, and the reverse biased Q1 can disconnect positive output 107a from negative input 105b. During a charging interval, controller 1240 can disable Q3 and enable Q4 to enable inductor 306 to charge, and an inductor current 1310 can flow from positive input 105a through inductor 306 and Q4 and return back to negative input 105b. The inductor current (which equals the switch current through Q4) can increase with time similar to switch current 804 illustrated in graph 904 of
[0100] Referring to diagram 1304, during a negative half-cycle of Vi when negative input 105b receives a higher voltage than positive input 105a, Q2 is reverse biased and Q1 is forward biased. The forward biased Q1 can connect negative input 105b to positive output 107a, and the reverse biased Q2 can disconnect negative input 105b from negative output 107b. During a charging interval, controller 1240 can enable Q3 and disable Q4 to enable inductor 306 to charge, and an inductor current 1320 (which equals the switch current through Q3) can flow from negative input 105b, through Q3 and inductor 306, and return back to positive input 105a. The inductor current can increase with time similar to switch current 804 illustrated in graph 904 of
[0101]
[0102] Also, controller 1230 can provide complimentary control signals 1240 and 1242, such that when switch 1202 is enabled, switch 1204 is disabled, and vice versa. Controller 1230 can include inverter 1403 coupled with the output of timing logic circuit 634 to generate inverted control signal 330. Control signal router 1406 can route control signal 330 and inverted control signal 330 based on measurement signal 350 of V.sub.in. Specifically, if measurement signal 350 indicates a positive half-cycle, control signal router 1406 can route control signal 330 to switch 1202 as control signal 1240, and route inverted control signal 330 to switch 1204 as control signal 1242. Also, if measurement signal 350 indicates a negative half-cycle, control signal router 1406 can route control signal 330 to switch 1204 as control signal 1242, and route inverted control signal 330 to switch 1202 as control signal 1240.
[0103]
[0104] In step 1502, the controller receives a first voltage from the output of the PFC circuit. The first voltage can represent PFC output voltage signal 132 (V.sub.out_pfc(t)). The controller can receive measurement signal 340 representing V.sub.out_pfc(t). The first voltage can be sampled during a first switching cycle, which also coincides with a first ramp cycle.
[0105] In step 1504, the controller can determine a first ramp voltage for a ramp signal based on the first voltage.
[0106] Specifically, the controller can receive the t.sub.on duration of the first switching cycle, and determine the first ramp voltage (V.sub.high) for a second ramp cycle after the first ramp cycle. The controller can store the t.sub.on duration information in a memory (e.g., memory 1004) and read the information from the memory. The controller can also receive a scaling factor S, which can be a parameter or can be based on voltage error signal 612 from a voltage control loop.
[0107] For CCM and CCrM operations, the controller can determine the first ramp voltage based on the PFC output voltage and the t.sub.on duration of the first switching cycle according to Equation 7. For DCM operation, the controller can also receive measurement signal 350 representing the input voltage to PFC circuit 124 in the first switching cycle (V.sub.in_dc or V.sub.in), the t.sub.off duration of the first switching cycle, and the duration of a switching cycle (T), and determine the first ramp voltage based on the input voltage, the PFC output voltage, the t.sub.on, t.sub.off, and T durations according to Equation 8.
[0108] In step 1506, the controller can generate the ramp signal that decreases from the first ramp voltage to a second ramp voltage. The controller can include DAC 1014 and counter 1016. Counter 1016 can provide a set of count values to DAC 1014, which can provide an analog voltage as the ramp signal and decrease the analog voltage from the first ramp voltage to a second ramp voltage (e.g., zero) responsive to the count values during the second ramp cycle.
[0109] In step 1508, the controller can provide a pulse width modulation (PWM) signal having a first state to a control terminal of a switch of the PFC circuit.
[0110] Specifically, the controller can provide the PWM signal in a second switching cycle that coincides with the second ramp cycle. From the beginning of the second switching cycle, the charging interval t.sub.on starts, and the PWM signal can be in the first state (e.g., an asserted state). The switch to receive the PWM signal can be switch 308 of
[0111] In step 1510, the controller can receive a second voltage representing through the switch when the PWM signal is in the first state. Referring again to
[0112] In step 1512, the controller can compare the second voltage and the ramp signal to generate a decision, and in step 1514, responsive to the decision indicating that the second voltage intersects the ramp signal, the controller can switch the PWM signal from the first state to a second state to disable the switch.
[0113] Specifically, referring again to
[0114] Any of the methods described herein may be totally or partially performed with a computing system including one or more processors, which can be configured to perform the steps. Thus, embodiments can be directed to computing systems configured to perform the steps of any of the methods described herein, potentially with different components performing a respective steps or a respective group of steps. Although presented as numbered steps, steps of methods herein can be performed at a same time or in a different order. Additionally, portions of these steps may be used with portions of other steps from other methods. Also, all or portions of a step may be optional. Additionally, any of the steps of any of the methods can be performed with modules, units, circuits, or other means for performing these steps.
[0115] In this description, the term “couple” may cover connections, communications or signal paths that enable a functional relationship consistent with this description. For example, if device A provides a signal to control device B to perform an action, then: (a) in a first example, device A is directly coupled to device B; or (b) in a second example, device A is indirectly coupled to device B through intervening component C if intervening component C does not substantially alter the functional relationship between device A and device B, so device B is controlled by device A via the control signal provided by device A.
[0116] A device that is “configured to” perform a task or function may be configured (e.g., programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or reconfigurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof.
[0117] A circuit or device that is described herein as including certain components may instead be adapted to be coupled to those components to form the described circuitry or device. For example, a structure described herein as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors and/or inductors), and/or one or more sources (such as voltage and/or current sources) may instead include only the semiconductor elements within a single physical device (e.g., a semiconductor die and/or integrated circuit (IC) package) and may be adapted to be coupled to at least some of the passive elements and/or the sources to form the described structure either at a time of manufacture or after a time of manufacture, such as by an end-user and/or a third party.
[0118] Certain components may be described herein as being of a particular process technology, but these components may be exchanged for components of other process technologies. Circuits described herein are reconfigurable to include the replaced components to provide functionality at least partially similar to functionality available prior to the component replacement. Components shown as resistors, unless otherwise stated, are generally representative of any one or more elements coupled in series and/or parallel to provide an amount of impedance represented by the shown resistor. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in series or in parallel between the same two nodes as the single resistor or capacitor.
[0119] Uses of the phrase “ground voltage potential” in this description include a chassis ground, an Earth ground, a floating ground, a virtual ground, a digital ground, a common ground, and/or any other form of ground connection applicable to, or suitable for, the teachings of this description. In this description, unless otherwise stated, “about,” “approximately” or “substantially” preceding a parameter means being within +/−10 percent of that parameter.
[0120] Modifications are possible in the described examples, and other examples are possible, within the scope of the claims.