BACKGROUND OF THE INVENTION
1. Field of the Invention
The invention relates to a switching current synthesis circuit, and more particularly to a switching current synthesis circuit for a power converter operating in a continuous current mode (CCM) and a discontinuous current mode (DCM).
2. Description of the Related Art
A power factor correction (PFC) power converter is a good example for illustrating the present invention. FIG. 1 shows a prior art of a PFC power converter. It includes a resistor 31 coupled to sense a switching current IL of an inductor 20. The resistor 31 is coupled in the charging and discharging path of the inductor 20. The current flowing through the resistor 31 is an average value of the switching current IL. Therefore, the circuit scheme shown in the FIG. 1 is called as “average-current control”. The drawback of the average-current control scheme has higher power consumption in the resistor 31. Furthermore, it cannot be applied to the parallel topologies for high efficiency power conversion, such as the solution shown in the prior art, such as U.S. Pat. No. 7,626,372 titled “Control circuit for multi-phase, multi-channels PFC power converter with variable switching frequency” and U.S. Pat. No. 7,944,721 titled “Switching control circuit for multi-channels and multi-phases power converter operated at continuous current mode”.
BRIEF SUMMARY OF THE INVENTION
An exemplary embodiment of a control circuit of a power converter is provided. The control circuit comprises a PWM circuit, a sample circuit, and emulation circuit. The PWM circuit generates a switching signal for switching an inductor and generating a switching current of the inductor in response to a current feedback signal. The sample circuit is coupled to sample a switching current signal into a capacitor during an on time of the switching signal. The emulation circuit generates a discharge current couple to discharge the capacitor during an off time of the switching signal for generating the current feedback signal. The switching current signal is correlated to the switching current of the inductor, and the discharge current is generated in response to an input voltage of the inductor, an output voltage of the power converter, and the on time of the switching signal.
An exemplary embodiment of a method for controlling a power converter is provided. The method comprises steps of generating a switching signal for switching an inductor and generating a switching current of the inductor in response to a current feedback signal; sampling a switching current signal into a capacitor during an on time of the switching signal; generating a discharge current to discharge the capacitor during an off time of the switching signal for generating an emulated switching current signal. The switching current signal is correlated to the switching current of the inductor, the discharge current is generated in response to an input voltage of the inductor, an output voltage of the power converter, and the on time of the switching signal, and the emulated switching current signal is coupled to generate the current feedback signal.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
FIG. 1 shows a prior art of a PFC power converter;
FIG. 2 shows an exemplary embodiment of a PFC power converter;
FIG. 2A shows discontinuous current mode (DCM) waveforms of a switching signal, a switching current, and a switching current signal of the PFC power converter in FIG. 2;
FIG. 2B shows continuous current mode (CCM) waveforms of a switching signal, a switching current, and a switching current signal of the PFC power converter in FIG. 2;
FIG. 3 is an exemplary embodiment of a control circuit of the PFC power converter in FIG. 2;
FIG. 4 is an exemplary embodiment of a synthesis circuit of the control circuit in FIG. 3;
FIG. 5 shows waveforms of a synthesis current signal, a pulse signal, a switching current signal, a switching signal, and a signal of the power converter in FIG. 2 in a DCM operation;
FIG. 6 shows the waveforms of a synthesis current signal, a pulse signal, a switching current signal, a switching signal, and a signal of the power converter in FIG. 2 in a CCM operation.
FIG. 7 is an exemplary embodiment of an emulation circuit of the synthesis circuit in FIG. 4;
FIG. 8 is an exemplary embodiment of a detection circuit of the control circuit in FIG. 3;
FIG. 9 is an exemplary embodiment of a circuit of the detection circuit in FIG. 8;
FIG. 10 shows an exemplary embodiment of a PWM circuit of the control circuit in FIG. 3;
FIG. 11 shows waveforms of a ramp signal, a pulse signal, and a switching signal of the PWM circuit in FIG. 10.
DETAILED DESCRIPTION OF THE INVENTION
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
FIG. 2 shows an exemplary embodiment of a power factor correction (PFC) power converter. As shown in FIG. 2, the PFC power converter comprises a current sense resistor 35 coupled to sample a switching current IL of an inductor 20 and generate a switching current signal VS coupled to a PFC control circuit 100. According to the switching current signal VS, the FPC control circuit 100 will generate a switching signal SW to switch the inductor 20 and generate the switching current IL via a power transistor 30. The switching current IL further generate the switching current signal VS at the resistor 35, which develops a close current loop for the PFC control. A capacitor 53 is used for frequency compensation of the current loop. A resistor 50 is coupled to detect an input voltage VIN of the inductor 20 and generate an input-voltage signal IAC coupled to the PFC control circuit 100. The input voltage VIN is obtained from an alternating current (AC) mains VAC through a bridge rectifier 10. The switching current IL of the inductor 20 is discharged to an output capacitor 45 via a rectifier 40 to generate an output voltage VO. Resistors 41 and 22 form a voltage divider coupled to the output of the PFC power converter to detect the output voltage VO and generate a signal VFB coupled to the PFC control circuit 100 for regulating of the output voltage VO. The signals VFB, SW, and the output voltage VO develop a voltage loop for the PFC control. A capacitor 51 is used for frequency compensation of the voltage loop. The current sense resistor 35 can only detect the charge signal of the switching current IL during on time of the power transistor 30. The object of this invention is to emulate the discharge signal of the switching current IL and provide an accurate synthesis for the switching current signal VS during the off time of the power transistor 30. Because the inductance of the inductor 20 is changed in response to the change of the operating temperature and the change of the switching current IL, the synthesis discharge signal must be correlated to the charge signal of the switching current IL.
FIG. 2A shows discontinuous current mode (DCM) waveforms of the switching signal SW, the switching current IL, and the switching current signal VS. The switching current IL of the inductor 20 is fully discharged before the start of the next switching cycle. FIG. 2B shows continuous current mode (CCM) waveforms of the switching signal SW, the switching current IL, and the switching current signal VS. The switching current IL of the inductor 20 still has a current I1 existed in the inductor 20 before the start of the next switching cycle. The slope of the charge signal (charge current) of the switching current IL is equal to the slope of the discharge signal (discharge current) of the switching current IL, which can be expressed as:
where L is the inductance of the inductor 20. TON is the on time of the switching signal SW, also shown in FIGS. 2A and 2B. TDS is the discharge time of the inductor 20.
Equation (1) shows the switching current IL operated in a DCM, wherein TOFF>TDS, and TOFF is the off time of the switching signal SW. Equation (2) shows the switching current IL operated in a CCM, wherein TDS>TOFF. Therefore, the current I1 is still existed in the inductor 20 when the next switching signal SW starts.
FIG. 3 is an exemplary embodiment of the PFC control circuit 100 according to the present invention. A transconductance amplifier (GM) 110 is coupled to receive the signal VFB and a reference signal VR for generating a voltage loop signal VEA. The capacitor 51 is coupled to the voltage loop signal VEA for the frequency compensation of the voltage loop. A multiplier-divider 130 generates a switching-current command signal VM in accordance with the voltage loop signal VEA and the input-voltage signal IAC. The skill of the multiplier-divider 130 can be found in some prior arts, such as U.S. Pat. No. 7,057,440 titled “Multiplier-divider circuit for a PFC controller”.
A synthesis circuit (IAV) 150 is couple to receive the switching current signal VS for generating a synthesis current signal VI (also referred to as a current feedback signal). The switching current signal VS is only available during the on time TON of the switching signal SW. This is because when the power transistor 30 is turned off (shown in FIG. 2), the switching current signal VS has a zero value during the off time of the switching signal SW, which is shown in FIG. 2A and FIG. 2B. The synthesis circuit 150 is utilized to sample the switching current signal VS and emulate the switching current IL during the discharge period of the inductor 20. Thus, the synthesis current signal VI includes the switching current signal VS in the on time of the switching signal SW and the discharge signal in the off time of the switching signal SW. The signal VFB, the input-voltage signal IAC, and the switching signal SW are coupled to the synthesis circuit 150 for emulating the discharge signal. The synthesis circuit 150 further generates signals VX, IVO and IVIN, wherein the signals IVO and IVIN are coupled to a detection circuit (DET) 200. The signal IVO is correlated to the level of the output voltage VO. The signal IVIN is correlated to the level of the input voltage VIN. The signal (also referred to as a first signal) VX is correlated to the switching current signal VS. The detection circuit 200 is coupled to receive the switching signal SW, the input-voltage signal IAC, and a pulse signal PLS for generating a control signal NN NO. The control signal NN NO is coupled to modulate the discharge signal of the synthesis current signal VI in response to the signal VX.
A transconductance amplifier (GM) 120 receives the switching-current command signal VM and the synthesis current signal VI to generate a current loop signal IEA. The capacitor 53 is coupled to the current loop signal IEA (shown in FIG. 2) for the frequency compensation of the current loop compensation. A pulse width modulation (PWM) circuit (PWM) 300 generates the switching signal SW in accordance with the current loop signal IEA. The PWM circuit 300 further generates the pulse signal PLS coupled to the detection circuit 200.
FIG. 4 is an exemplary embodiment of the synthesis circuit 150 according to the present invention. A positive terminal of an amplifier 160 receives the switching current signal VS, and a negative terminal thereof is coupled to a ground via a resistor 161. A resistor 162 is coupled between the negative terminal and an output of the amplifier 160. The amplifier 160 generates the signal VX at the output of the amplifier 160 in accordance with the switching current signal VS. The amplifier 160 further generates the synthesis current signal VI by sampling the switching current signal VS via a resistor 163 and a switch 165 during the on time of the switching signal SW. The synthesis current signal VI is hold in a capacitor 167 after the switch 165 is turned off. An emulation circuit 170 generates a discharge current IDS in response to the signals VFB, the input-voltage signal IAC, and the control signal NN NO. The discharge current IDS is coupled to discharge the capacitor 167 for emulating the discharge signal of the synthesis current signal VI during the off time of the switching signal SW. In the embodiment, the amplifier 160, the resistors 161-163, the switch 165, and the capacitor 167 form a sample circuit. The sample circuit samples the switching current signal into the capacitor 167 during the on time of the switching signal The emulation circuit 170 further generates the signals IVO and IVIN coupled to the detection circuit 200.
The emulation circuit 170 is developed for generating the discharge current IDS. The detail operation for the discharge (demagnetizing) of the inductor can be found in some prior arts, such as U.S. Pat. No. 7,471,523 titled “Method and apparatus for detecting demagnetizing time of magnetic device”.
Equation (3) shows the discharge current IDS.
wherein k is a constant, which represents a slope of the discharge signal.
The discharge current IDS is correlated to the discharge time TDS. The input-voltage signal IAC is correlated to the input voltage VIN. The signal VFB is correlated to the output voltage VO. The discharge current IDS associated with the capacitance of the capacitor 167 determines the discharge time TDS.
FIG. 5 shows the waveforms of the synthesis current signal VI, the pulse signal PLS, the switching current signal VS, the switching signal SW, and a signal SD operated in the DCM. The slope of the discharge signal of the synthesis current signal VI is modulated in accordance with the signal SD (a discharge signal developed in accordance with Equation (3)). The signal SD is enabled (logic-high) in response to the turned-off state of the switching signal SW. The synthesis current signal VI will be discharged to a zero value when the signal SD is disabled (logic-low). A sample-signal SMP1 indicates the end of the discharge time TDS (the signal SD is disabled). If the synthesis current signal VI cannot be discharged to the zero, then the control signal NN NO will be modulated to increase the discharge slope of the synthesis current signal VI.
FIG. 6 shows the waveforms of the synthesis current signal VI, the pulse signal PLS, the switching current signal VS, the switching signal SW, and the signal SD operated in the CCM. The slope of the discharge signal of the synthesis current signal VI is generated in accordance with the value by sampling the switching current signal VS (by a sample-signal SMP2). The sample-signal SMP2 is applied to sample the initial value of the switching current signal VS when the switching signal SW is turned on. A short time-delay is required to avoid the turned-on spike of the switching current signal VS. The initial value of the switching current signal VS indicates the continuous current I1 shown in FIG. 2B. According to Equation (3), the signal SD is still enabled when the switching signal SW is turned on in the CCM operation. The signal SD will be disabled in response to the turned-on state of the switching signal SW. The synthesis current signal VI will be discharged to the initial value of the switching current signal VS in response to the pulse signal PLS. The pulse signal PLS is developed to indicate the end of the switching cycle. The sample-signal SMP1 is utilized to sample the value of the synthesis current signal VI at the end of the switching cycle. If the sampled value of the synthesis current signal VI is not equal to the initial value of the switching current signal VS, then the control signal NN NO will be modulated to change the discharge slope of the synthesis current signal VI.
FIG. 7 is an exemplary embodiment of the emulation circuit 170 according to the present invention. An amplifier 171, a resistor 173, and a transistor 172 develop a V-to-I converter for generating a current I172 in accordance with the signal VFB. Transistors 180, 181, 182, 185, and 186 form a first current mirror to generate the signal IVO and a current I182. Transistors 192, 193, and 194 form a second current mirror to generate the signal IVIN and a current I192. Transistors 195 and 196˜199 develop a third current mirror generates the discharge current IDS in response to the current I182 and the current I192. The discharge current IDS is modulated by the control signal NN NO via switches 177˜179.
where R41 is the resistance of the resistor 41. R42 is the resistance of the resistor 42. R50 is the resistance of the resistor 50. R173 is the resistance of the resistor 173. k1, k2 and KN are current mirror ratio;
The discharge current IDS shown in Equation (4) can be expressed as Equation (5).
where k1, k2 and KN are current mirror ratios;
The constant KN is determined by the control signal NN NO via the switches 177˜179. Changing the constant KN will change the slope of the discharge current IDS.
The charge slope of the switching current signal VS should be equal to the discharge slope of the synthesis current signal VI, which is shown in Equation (6).
According to Equation (5), Equation (6) can be rewritten as Equation (7) and Equation (8),
wherein L20 is the inductance of the inductor 20. C167 is the capacitance of the capacitor 167.
Equation (8) can be rewritten as Equation (3). Changing the constant KN will change the constant k.
FIG. 8 is an exemplary embodiment of the detection circuit 200 according to the present invention. The detection circuit 200 is developed to generate the control signal NN NO and detect the operation of the DCM or CCM. The detection circuit 200 will determine the sample-signals SMP1 and SMP2 (shown in FIG. 5 and FIG. 6). The signal IVIN is coupled to charge a capacitor 230 via transistors 210, 211, 215, and 216 and a switch 220 during on time of the switching signal SW. When the switching signal SW is turned off, the signal IVO and the signal IVIN are coupled to discharge the capacitor 230 via a switch 225 and a transistor 217 during the discharge time TDS. The discharge signal SD controls the switch 225. The enabling of the discharge signal SD indicates the discharge time TDS. The switching signal SW controls the switch 220. A circuit 245 generates a pulse signal SP according to the rising edge of the switching signal SW, and the pulse signal SP is coupled to discharge the capacitor 230 through a transistor 246. A saw signal SAW is thus generated in the capacitor 230 in response to the switching signal SW and the discharge signal SD.
A comparator 240 is utilized to compare the saw signal SAW with a threshold VT. The output of the comparator 240 is coupled to enable the discharge signal SD via an AND gate 242 and an inverter 241 when the switching signal SW is turned off and the saw signal SAW is higher than the threshold VT. The discharge signal SD, the switching signal SW, the signal VX, and the pulse signal PLS are coupled to a circuit 250 for generating an up-count signal SU. The up-count signal SU and the pulse signal PLS are coupled to a flip-flop 248 for generating an up/down signal U/D. The rising edge of the pulse signal PLS is applied to enable of the switching signal SW and latch the status of the up-count signal SU. The up/down signal U/D is coupled to a counter 249 for generating the control signal NN NO in response to the falling edge of the switching signal SW. The control signal NN NO will be increased to change the slope of the discharge signal of the synthesis current signal VI when the up/down signal U/D is enabled (logic-high). Equation (9) shows the operation of the detection circuit 200.
(IVIN×ka)×TON=(IVO−IVIN×kb)×TDS (9)
Equation (9) can be expressed as Equation (10).
(VIN×kc)×TON=(VO×kd−VIN×ke)×TDS (10)
set the kd=ke and
then Equation (10) will be same as Equation (7).
where ka, kb, kc, kd, ke are the constant determined by the circuit parameters.
FIG. 9 is an exemplary embodiment of the circuit 250 according to the present invention. The circuit is used for generating a CCM signal SCCM (mode signal) when the switching current IL is operated in CCM and generating the up-count signal SU. The discharge signal SD and the pulse signal PLS are coupled to generate the sample-signal SMP1 via an AND gate 253. The sample-signal SMP1 is coupled to sample the synthesis current signal VI into a capacitor 271 through a buffer 251, a resistor 252, and a switch 267 for generating a signal VIH. The rising edge of the switching signal SW generates a pulse sample-signal SMP2 via a pulse generator 256. The sample-signal SMP2 is coupled to sample the signal VX into a capacitor 272 via a switch 269 for generating a signal VXH. The signal VX is correlated to the switching current signal VS. The discharge signal SD and the pulse signal PLS are coupled to a flip-flop 263 to generate the CCM signal SCCM. If the discharge signal SD (discharge time TDS) is still enable (available) in response to the rising edge of the pulse signal PLS (the start of the next switching cycle), then it indicates the CCM operation. The CCM signal SCCM is coupled to a DCM/CCM multiplexer for generating the up-count signal SU. An inverter 283, an OR gate 290, and AND gates 286 and 285 develop the DCM/CCM multiplexer.
The signal VIH and a threshold VT2 are coupled to a comparator 280 to check if the signal VIH is higher than a zero value when the switching current IL is operated in the DCM. The output of the comparator 280 is coupled to the input of the AND gate 285. The signal VIH and the signal VXH are coupled to a comparator 281 to check if the signal VIH is higher than the signal VXH (the initial value of the signal VS) when the switching current IL is operated in the CCM. The output of the comparator 281 is coupled to the input of the AND gate 286.
FIG. 10 shows an exemplary embodiment of the PWM circuit 300. An oscillator (OSC) 310 generates the pulse signal PLS and a ramp signal RMP. The pulse signal PLS is coupled to generate the switching signal SW and provide a dead-time for the switching signal SW. The ramp signal RMP is coupled to compare with the signal IEA for the reset of a flip-flop 350 via a comparator 320. The flip-flop 350 generates the switching signal SW through an AND gate 360 and an output buffer 365.
FIG. 11 shows the waveforms of the ramp signal RMP, the pulse signal PLS, and the switching signal SW.
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.