1. Field of the Invention
The present invention relates to a power converter, and more specifically relates to a control circuit of switching power converters.
2. Description of Related Art
Various power converters have been widely used to provide regulated voltage and current. For the sake of safety reasons, an off-line power converter uses a transformer to isolate its primary side and secondary side. Because the reflected voltage of the transformer can be used for regulations, the controller of the power converter normally includes a voltage-detection terminal coupled to the transformer to detect the reflected voltage of the transformer. In recent development, many control schemes have been disclosed, such as “Primary-side controlled flyback power converter” by Yang, et al, U.S. Pat. No. 6,853,563; “Close-loop PWM controller for primary-side controlled power converters” by Yang, et al, U.S. Pat. No. 7,016,204; in which the voltage-detection terminal is operated as a feedback input terminal. The object of the present invention is to provide a detection circuit using the voltage-detection terminal to sense the input voltage of transformer. Therefore, no further flyback input terminal is needed.
The present invention provides a detection circuit to detect an input voltage of a transformer. The detection circuit comprises a current source circuit coupled to a winding of a transformer. A current-to-voltage circuit is coupled to the current source circuit to generate a first voltage in response to the current outputted from the current source circuit. A sample-and-hold circuit generates an output voltage by sampling the first voltage. A pulse generator is coupled to the sample-and-hold circuit to provide a pulse signal in response to the switching of the transformer. The operating of the sample-and-hold circuit provides low pass filtering to the output voltage. The transformer is coupled to an input voltage. The output voltage is therefore correlated to the input voltage of the transformer.
The accompanying drawings are included to provide further understanding of the invention, and are incorporated into and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
where the TNA and TNP are winding turns of the auxiliary winding NA and the primary winding NP respectively; K is the ratio of the divider (resistors 30 and 35); REQ is the equivalent resistance of resistors 30 and 35; VIN is the input voltage of the transformer 10.
A second circuit is coupled to the first circuit to generate an output voltage VX in response to the current IS. The second circuit includes a current-to-voltage circuit and a sample-and-hold circuit. The current-to-voltage circuit is connected to the first circuit to generate a first voltage in response to the current outputted from the first circuit. The sample-and-hold circuit further generates the output voltage VX by sampling the first voltage. Transistors 63, 64 and a resistive device 65 form the current-to-voltage circuit. The transistor 63 is coupled to receive the current of the transistor 61. The transistor 64 mirrors a current from the transistor 63 to the resistive device 65. The first voltage is generated at the resistive device 65. The sample-and-hold circuit includes switches 81, 85 and capacitors 82, 86. The switch 81 is connected to the resistive device 65 to sample the first voltage to the capacitor 82. The capacitor 85 is connected to the capacitor 82 to sample the signal from the capacitor 82 to the capacitor 86. The capacitance of the capacitor 86 is larger than the capacitance of the capacitor 82. Therefore, the switching operation of the switch 85 and capacitor 86 forms a low pass filter. The output voltage VX is generated at the capacitor 86. Because the transformer 10 is coupled to the input voltage VIN, the output voltage VX is therefore correlated to the input voltage VIN of the transformer 10. The output voltage VX can be expressed by the following equations (2) and (3):
where G is a gain determined by the geometrical ratio of transistors 63 and 64; R65 is the resistance of the device 65; ω0 is a dominant pole of the low pass filter.
A switching circuit generates a switching signal VSW to regulate the power converter. The switching signal VSW is used for generating a drive signal VG through an output buffer 90 to control the transistor 20 as shown in
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention covers modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.