201009532 九、發明說明: 【發明所屬之技術領域】 本發明係有關一種控制電路,特別是關於一種具有一多功能 端點(multi-function terminal)之控制電路。 【先前技術】 第1圖所示係習知之一反馳式轉換器(flyback converter)10,經由濾波及整流後之一輸入電壓vin耦合至 一變壓器 TX 的一次側繞組(primary-side winding)Lp,一功 率開關101受控於一脈波寬度調變(pulse width modulation; PWM)控制訊號Vg’ 一感測電阻RS用以感測流經功率開關 101之一次側電流Ip,一控制電路1〇〇根據相應於轉換器 10輸出端之一回授訊號Vcomp以及一次侧電流Ip來決定 控制訊號Vg的責任週期(duty cycle),因而穩定輸出電壓 Vo ° 電阻130及140組成一分壓電路(voltage divider),控 制電路100透過此分壓電路偵測一感測電壓Vbno,因此感 測電壓Vbno值係比例於輸入電壓Vin,當偵測到感測電壓 Vbno低於一預設值時,控制電路1〇〇使功率開關1〇1停止 切換,目的在於避免轉換器10工作於一輸入電壓過低之異 常情況,而造成損壞。 【發明内容】 201009532 本發明之一實施例提出一種控制電路,適用於一電源 轉換器。該控制電路包含有一多功能端點、一電流比較電 路以及一過低電壓偵測電路。 當該電源轉換器之一功率開關導通時,該電流比較電 路透過該多功能端點比較一流經該功率開關之電流以及一 參考值,當該電流達到該參考值時,該電流比較電路使該 功率開關關閉。當該功率開關關閉時,該過低電壓偵測電 路透過該多功能端點偵測該電源轉換器之一輸入電壓是否 低於一預設值,當該輸入電壓低於該預設值時,固定該功 率開關於一關閉狀態。 本發明之另一實施例提出一種控制方法,包含有:(1) 提供一多功能端點;(2)當該電源轉換器之一功率開關導通 時,透過該多功能端點比較一流經該功率開關之電流以及 _ 一參考值;(3)當該電流達到該參考值時,使該功率開關關 ❹ 閉;(4)產生一比例於該輸入電壓之一感測電壓於該多功能 端點;(5)當該功率開關關閉時,偵測該感測電壓是否低於 一預設值;以及(6)當該輸入電壓低於該預設值時,固定該 功率開關於一關閉狀態。 【實施方式】 第2圖係為本發明較佳實施例之一反驰式轉換器20之 電路圖,轉換器20主要包含一控制電路200、一功率開關 201009532 201以及一分壓電路205,分壓電路205由一電阻R1、一 電阻R2及一感測電阻Rs組成。在此實施例中,電阻R1 的電阻值,遠高於R2的電阻值與感測電阻Rs的電阻值之 總和。 控制電路200,譬如說,是一個積體電路,包含一多功 能端點CS、一電流比較電路210以及一過低電壓(under voltage)偵測電路220。 電阻R1配置於轉換器20之一輸入電壓Vin與多功能 端點CS之間。電阻R2與電容C1組成一低通濾波器(low pass filter),其配置於感測電阻Rs與多功能端點CS之間, 用以濾除感測電壓Vs之高頻雜訊。 當功率開關201導通時,轉換器20之一次侧電流Ip流 經該功率開關201與感測電阻Rs,因此感測電阻Rs上之 一感測電壓Vs(〜Ip*Rs)係比例於一次侧電流Ip。 當功率開關201導通時,電流比較電路210比較一感測 電壓Vcs以及一參考電壓Vcomp,感測電壓Vcs係多功能 端點CS上之所偵測之電壓,其可依下列公式(1)推導得知。 ⑴ m+R2 因電阻R1的電阻值,遠高於R2的電阻值與感測電阻 Rs的電阻值之總和,所以公式(1)中的Vin貢獻可以忽略, 而導致感測電壓Vcs係大致等於感測電壓Vs。參考電壓 201009532201009532 IX. Description of the Invention: [Technical Field] The present invention relates to a control circuit, and more particularly to a control circuit having a multi-function terminal. [Prior Art] Fig. 1 shows a conventional flyback converter 10, which is coupled to a primary-side winding Lp of a transformer TX via a filtered and rectified input voltage vin. A power switch 101 is controlled by a pulse width modulation (PWM) control signal Vg'. A sensing resistor RS is used to sense the primary current Ip flowing through the power switch 101, a control circuit 1〇决定Determining the duty cycle of the control signal Vg according to the feedback signal Vcomp and the primary side current Ip corresponding to one of the outputs of the converter 10, thereby stabilizing the output voltage Vo ° The resistors 130 and 140 form a voltage dividing circuit ( Voltage divider), the control circuit 100 detects a sensing voltage Vbno through the voltage dividing circuit, so the sensing voltage Vbno value is proportional to the input voltage Vin, when detecting that the sensing voltage Vbno is lower than a preset value, The control circuit 1 stops the switching of the power switch 1〇1 in order to prevent the converter 10 from operating in an abnormal condition in which the input voltage is too low, thereby causing damage. SUMMARY OF THE INVENTION 201009532 One embodiment of the present invention provides a control circuit suitable for use in a power converter. The control circuit includes a multi-function terminal, a current comparison circuit, and an over-voltage detection circuit. When the power switch of the power converter is turned on, the current comparison circuit compares the current of the power switch through the multi-function terminal and a reference value. When the current reaches the reference value, the current comparison circuit makes the current comparison circuit The power switch is off. When the power switch is turned off, the over-voltage detection circuit detects whether the input voltage of one of the power converters is lower than a preset value through the multi-function terminal, when the input voltage is lower than the preset value, The power switch is fixed in an off state. Another embodiment of the present invention provides a control method, including: (1) providing a multi-function endpoint; (2) when one of the power converters is turned on, the multi-function endpoint is relatively The current of the power switch and a reference value; (3) when the current reaches the reference value, the power switch is turned off; (4) generating a ratio of the sensing voltage to the multi-function terminal Point (5) detecting whether the sensing voltage is lower than a preset value when the power switch is off; and (6) fixing the power switch to a closed state when the input voltage is lower than the preset value . [Embodiment] FIG. 2 is a circuit diagram of a flyback converter 20 according to a preferred embodiment of the present invention. The converter 20 mainly includes a control circuit 200, a power switch 201009532 201, and a voltage dividing circuit 205. The voltage circuit 205 is composed of a resistor R1, a resistor R2 and a sensing resistor Rs. In this embodiment, the resistance of the resistor R1 is much higher than the sum of the resistance of R2 and the resistance of the sense resistor Rs. The control circuit 200, for example, is an integrated circuit including a multi-function terminal CS, a current comparison circuit 210, and an under voltage detection circuit 220. The resistor R1 is disposed between the input voltage Vin of one of the converters 20 and the multi-function terminal CS. The resistor R2 and the capacitor C1 form a low pass filter, which is disposed between the sensing resistor Rs and the multi-function terminal CS for filtering high frequency noise of the sensing voltage Vs. When the power switch 201 is turned on, the primary side current Ip of the converter 20 flows through the power switch 201 and the sensing resistor Rs, so that one of the sensing voltages Vs (~Ip*Rs) on the sensing resistor Rs is proportional to the primary side. Current Ip. When the power switch 201 is turned on, the current comparison circuit 210 compares a sense voltage Vcs with a reference voltage Vcomp, and the sense voltage Vcs is the detected voltage on the multi-function terminal CS, which can be derived according to the following formula (1). Learned. (1) m+R2 Since the resistance value of the resistor R1 is much higher than the sum of the resistance value of R2 and the resistance value of the sensing resistor Rs, the contribution of Vin in the formula (1) can be neglected, and the sensing voltage Vcs is substantially equal to The voltage Vs is sensed. Voltage reference 201009532
Vcomp係相應於轉換器2〇輪出電壓%之一回授電壓。每 S感/則電壓Vcs達到該參考電壓時,電流比較電路 210觸發- SR正反器231,— pwM控制訊號%之邏輯準 位因而轉態,使功率開關2〇1結束導通狀態。換言之,當 該一次側電流Ip達到或超過一參考值時,電流比較電路 210使功率開關201關閉。 ❹ 過低電壓偵測電路220包含有一比較器222以及一取樣 保持電路,取樣保持電路包含有一取樣開關224以及—電 壓保持電路226,於此實施例中,取樣開關224可為一 N通道 金氧半導體,電壓保持電路226可為一電容。 當功率開關201關閉時,過低電壓偵測電路透過電阻 R1偵測多功能端點CS上之感測電壓Vcs,此時感測電壓Vcomp is a feedback voltage corresponding to one of the converter 2 turns out voltage. When the S sense/voltage Vcs reaches the reference voltage, the current comparison circuit 210 triggers the -SR flip-flop 231, - pwM controls the logic level of the signal % and thus transitions, causing the power switch 2〇1 to end the on state. In other words, when the primary side current Ip reaches or exceeds a reference value, the current comparison circuit 210 turns off the power switch 201. The low voltage detection circuit 220 includes a comparator 222 and a sample and hold circuit. The sample and hold circuit includes a sampling switch 224 and a voltage holding circuit 226. In this embodiment, the sampling switch 224 can be an N channel gold oxide. The semiconductor, voltage hold circuit 226 can be a capacitor. When the power switch 201 is turned off, the over-voltage detecting circuit detects the sensing voltage Vcs on the multi-function terminal CS through the resistor R1, and at this time, the sensing voltage
Vcs值為乃’其係比例於輸入電壓vin,因此可 ❹用以偵測輸入電壓Vin是否低於一預設值。 取樣開關224與功率開關201同樣受控於PWM控制訊 號Vg ’當功率開關201關閉時,取樣開關224導通,使比 較器222之一輸入端可偵測感測電壓Vcs。若感測電壓Vcs 高於一參考電壓Vthl時,比較器222判定目前之輸入電壓 Vin正常,所以輸出一邏輯高準位訊號,PWM控制訊號Vg 將依然隨著SR正反器之輸出而變化。若感測電壓vcs低於 一參考電壓Vthl時’比較器222判定目前之輸入電壓vin 201009532 過低,所以輸出一邏輯低準位訊號,使一邏輯閘235輸出 之PWM控制訊號Vg固定為邏輯低準位,功率開關201因而 停止切換,固定在關閉狀態。 每當功率開關201導通時,因為取樣開關224的隔離, 所以電壓保持電路226中記憶了功率開關201上一次關閉 狀態結束時之感測電壓Vcs,使比較器222之輸出訊號能 維持於為一邏輯高準位,功率開關201得以正常切換。 因過低電壓偵測電路220僅僅操作於功率開關201關閉 時,因此不會影響該電流比較電路210於功率開關201導 通時之操作。 本實施例之控制電路200若整合於一晶片,過低電壓偵 測電路與電流比較電路210可透過同一多功能端點CS來 偵測感測電壓Vcs,相較於第1圖所示之控制電路100,即 可省去一晶片腳位。 此外,根據上述之實施例,可得到一相對應的PWM控 制方法,其步驟可簡述如下:(1)提供一多功能端點;(2) 當該電源轉換器之一功率開關導通時,透過該多功能端點 比較一流經該功率開關之電流以及一參考值;(3)當該電流 達到該參考值時,使該功率開關關閉;(4)產生一比例於該 輸入電壓之一感測電壓於該多功能端點;(5)當該功率開關 關閉時,透過該多功能端點偵測該感測電壓是否低於一預 201009532 設值;以及(6)當該輸入電壓低於該預設值時,固定該功率 開關於一關閉狀態。 唯以上所述者,僅為本發明之較佳實施例,當不能以之 限制本發明的範圍。即大凡依本發明申請專利範圍所做之 均等變化及修飾,仍將不失本發明之要義所在,亦不脫離 本發明之精神和範圍,故都應視為本發明的進一步實施狀 況。 ®【圖式簡單說明】 第1圖係習知的反馳式轉換器。 第2圖係本發明較佳實施例的一反馳式轉換器。 【主要元件符號說明】 轉換器10 變壓器TX 一次侧繞組Lp _ 功率開關101 控制電路100 脈波寬度調變控制訊號Vg 電阻130 電阻140 轉換器20 控制電路200 11 201009532The Vcs value is 'the ratio is proportional to the input voltage vin, so it can be used to detect whether the input voltage Vin is lower than a preset value. The sampling switch 224 is controlled by the PWM control signal Vg' as well as the power switch 201. When the power switch 201 is turned off, the sampling switch 224 is turned on, so that the input voltage of one of the comparators 222 can detect the sensing voltage Vcs. If the sense voltage Vcs is higher than a reference voltage Vth1, the comparator 222 determines that the current input voltage Vin is normal, so a logic high level signal is output, and the PWM control signal Vg will still vary with the output of the SR flip-flop. If the sense voltage vcs is lower than a reference voltage Vth1, the comparator 222 determines that the current input voltage vin 201009532 is too low, so a logic low level signal is output, so that the PWM control signal Vg outputted by a logic gate 235 is fixed to a logic low. At the level, the power switch 201 thus stops switching and is fixed in the off state. When the power switch 201 is turned on, because of the isolation of the sampling switch 224, the voltage holding circuit 226 stores the sensing voltage Vcs at the end of the last power-off state of the power switch 201, so that the output signal of the comparator 222 can be maintained at one. At the logic high level, the power switch 201 is normally switched. Since the over-voltage detecting circuit 220 only operates when the power switch 201 is turned off, the operation of the current comparing circuit 210 when the power switch 201 is turned on is not affected. If the control circuit 200 of the embodiment is integrated on a chip, the over-voltage detection circuit and the current comparison circuit 210 can detect the sensing voltage Vcs through the same multi-function terminal CS, as compared with FIG. By controlling the circuit 100, a wafer pin can be omitted. In addition, according to the above embodiments, a corresponding PWM control method can be obtained, and the steps thereof can be briefly described as follows: (1) providing a multi-function terminal; (2) when one of the power converters is turned on, Comparing the current through the power switch with a reference value through the multi-function terminal; (3) turning off the power switch when the current reaches the reference value; (4) generating a sense of the input voltage Measuring voltage at the multi-function terminal; (5) detecting, when the power switch is off, detecting whether the sensing voltage is lower than a pre-201009532 setting value through the multi-function terminal; and (6) when the input voltage is lower than When the preset value is set, the power switch is fixed in an off state. The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto. It is to be understood that the scope of the present invention is not limited by the spirit and scope of the present invention, and should be considered as a further embodiment of the present invention. ® [Simple description of the diagram] Figure 1 is a conventional flyback converter. Figure 2 is a flyback converter in accordance with a preferred embodiment of the present invention. [Main component symbol description] Converter 10 Transformer TX Primary winding Lp _ Power switch 101 Control circuit 100 Pulse width modulation control signal Vg Resistance 130 Resistance 140 Converter 20 Control circuit 200 11 201009532
功率開關201 分壓電路205 電阻R1 電阻R2 感測電阻Rs 多功能端點CS 電流比較電路210 過低電壓偵測電路220 正反器231 比較器222 取樣開關224 電壓保持電路226 邏輯閘235 電容C1 12Power switch 201 voltage divider circuit 205 resistor R1 resistor R2 sense resistor Rs multi-function terminal CS current comparison circuit 210 low voltage detection circuit 220 flip-flop 231 comparator 222 sampling switch 224 voltage hold circuit 226 logic gate 235 capacitor C1 12