TWI527495B - Can be adjusted by a resistor output current ripple of the PWM controller and LED driver circuit - Google Patents

Can be adjusted by a resistor output current ripple of the PWM controller and LED driver circuit Download PDF

Info

Publication number
TWI527495B
TWI527495B TW103101854A TW103101854A TWI527495B TW I527495 B TWI527495 B TW I527495B TW 103101854 A TW103101854 A TW 103101854A TW 103101854 A TW103101854 A TW 103101854A TW I527495 B TWI527495 B TW I527495B
Authority
TW
Taiwan
Prior art keywords
coupled
signal
current
voltage
resistor
Prior art date
Application number
TW103101854A
Other languages
Chinese (zh)
Other versions
TW201531149A (en
Inventor
jian shen Li
Yueh Hua Chiang
Wei Chun Hsiao
Original Assignee
Immense Advance Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Immense Advance Technology Corp filed Critical Immense Advance Technology Corp
Priority to TW103101854A priority Critical patent/TWI527495B/en
Publication of TW201531149A publication Critical patent/TW201531149A/en
Application granted granted Critical
Publication of TWI527495B publication Critical patent/TWI527495B/en

Links

Description

可藉由一電阻調整輸出電流漣波之PWM控制器及LED驅動電路 PWM controller and LED driving circuit capable of adjusting output current ripple by a resistor

本發明係有關於脈衝寬度調變(PWM-pulse width modulation)控制器及LED(light emitting diode;發光二極體)驅動電路,特別是關於可藉由一電阻調整輸出電流漣波之脈衝寬度調變控制器及包含該脈衝寬度調變控制器的LED驅動電路。 The invention relates to a PWM-pulse width modulation controller and an LED (light emitting diode) driving circuit, in particular to adjusting a pulse width modulation of an output current chopping by a resistor A variable controller and an LED driving circuit including the pulse width modulation controller.

請參照圖1,其繪示一習知LED驅動電路之電路圖。如圖1所示,該習知LED驅動電路包含一橋式整流器10、一第一電阻11、一第一電容12、一PWM控制器13、一NMOS(n type metal oxide semiconductor;N型金氧半)電晶體14、一電感15、一第二電容16、一LED模組17、一第二電阻18、一二極體19、以及一第三電容20。 Please refer to FIG. 1 , which illustrates a circuit diagram of a conventional LED driving circuit. As shown in FIG. 1 , the conventional LED driving circuit includes a bridge rectifier 10 , a first resistor 11 , a first capacitor 12 , a PWM controller 13 , and an NMOS (n type metal oxide semiconductor). The transistor 14, an inductor 15, a second capacitor 16, an LED module 17, a second resistor 18, a diode 19, and a third capacitor 20.

橋式整流器10係用以依一交流電源VAC產生一全波整流電壓VINThe bridge rectifier 10 is configured to generate a full-wave rectified voltage V IN according to an AC power source V AC .

第一電阻11和第一電容12係用以依全波整流電壓VIN產生一直流電壓VCCThe first resistor 11 and the first capacitor 12 are configured to generate a DC voltage V CC according to the full-wave rectified voltage V IN .

PWM控制器13具有:一第一接腳以耦接直流電壓VCC;一第二接腳以提供一脈衝寬度調變信號VG以驅動N型金氧半電晶體14;一第三接腳以耦接一電流感測信號VCS,其為一正電壓信號;一第四接腳以耦接一參 考地;以及一第五接腳以耦接第三電容20以產生一比較信號VCOMPThe PWM controller 13 has a first pin coupled to the DC voltage V CC and a second pin to provide a pulse width modulation signal V G to drive the N-type MOS transistor 14; a third pin The current sensing signal V CS is coupled to a positive voltage signal; a fourth pin is coupled to a reference ground; and a fifth pin is coupled to the third capacitor 20 to generate a comparison signal V COMP .

NMOS電晶體14係依脈衝寬度調變信號VG之電壓準位導通/斷開其汲極-源極通道。 The NMOS transistor 14 turns on/off its drain-source channel according to the voltage level of the pulse width modulation signal V G .

電感15係用以在NMOS電晶體14導通時儲存能量及在NMOS電晶體14斷開時釋放能量。 The inductor 15 is used to store energy when the NMOS transistor 14 is turned on and to release energy when the NMOS transistor 14 is turned off.

第二電容16係一大電容,用以降低流過LED模組17之一電流ILED之漣波。 The second capacitor 16 is a large capacitor for reducing the ripple of the current I LED flowing through one of the LED modules 17.

第二電阻18係用以依流過其電阻之一電流IR產生電流感測信號VCS,其中,VCS為一正電壓信號。 The second resistor 18 is configured to generate a current sense signal V CS according to a current I R flowing through the resistor, wherein V CS is a positive voltage signal.

二極體19係用以在NMOS電晶體14斷開時提供電感15一放電路徑。 The diode 19 is used to provide an inductance 15 - a discharge path when the NMOS transistor 14 is turned off.

第三電容20係用以和PWM控制器13之所述第五接腳耦接以產生比較信號VCOMPThe third capacitor 20 is coupled to the fifth pin of the PWM controller 13 to generate a comparison signal V COMP .

於操作時,PWM控制器13會使電流感測信號VCS和一參考電壓(未示於圖中)之差值經第三電容20濾波以產生比較信號VCOMP;之後,PWM控制器13會使比較信號VCOMP和一固定之鋸齒波信號(未示於圖中)進行一電壓比較運算以決定脈衝寬度調變信號VG之佔空比(duty ratio)。於穩態時,經由一負回授的作用,電流感測信號VCS之平均電壓會趨近於所述的參考電壓。 In operation, the PWM controller 13 filters the difference between the current sense signal V CS and a reference voltage (not shown) via the third capacitor 20 to generate a comparison signal V COMP ; thereafter, the PWM controller 13 The comparison signal V COMP and a fixed sawtooth signal (not shown) are subjected to a voltage comparison operation to determine the duty ratio of the pulse width modulation signal V G . At steady state, the average voltage of the current sense signal V CS approaches the reference voltage via a negative feedback.

請參照圖2,其繪示另一習知LED驅動電路之電路圖。如圖2所示,該習知LED驅動電路包含一橋式整流器30、一第一電阻31、一第一電容32、一PWM控制器33、一NMOS電晶體34、一第二電阻35、一電感36、一第二電容37、一LED模組38、一二極體39、以及一第三電容40。 Please refer to FIG. 2 , which illustrates a circuit diagram of another conventional LED driving circuit. As shown in FIG. 2, the conventional LED driving circuit includes a bridge rectifier 30, a first resistor 31, a first capacitor 32, a PWM controller 33, an NMOS transistor 34, a second resistor 35, and an inductor. 36. A second capacitor 37, an LED module 38, a diode 39, and a third capacitor 40.

橋式整流器30係用以依一交流電源VAC產生一全波整流電壓VINThe bridge rectifier 30 is configured to generate a full-wave rectified voltage V IN according to an AC power source V AC .

第一電阻31和第一電容32係用以依全波整流電壓VIN產生一直流電壓VCCThe first resistor 31 and the first capacitor 32 are configured to generate a DC voltage V CC according to the full-wave rectified voltage V IN .

PWM控制器33具有:一第一接腳以耦接直流電壓VCC;一第二接腳以提供一脈衝寬度調變信號VG以驅動NMOS電晶體34;一第三接腳以耦接一電流感測信號VCS,其為一負電壓信號;一第四接腳以耦接一參考地;以及一第五接腳以耦接第三電容40以產生一比較信號VCOMPThe PWM controller 33 has a first pin coupled to the DC voltage V CC , a second pin to provide a pulse width modulation signal V G to drive the NMOS transistor 34, and a third pin to couple the first pin. The current sense signal V CS is a negative voltage signal; a fourth pin is coupled to a reference ground; and a fifth pin is coupled to the third capacitor 40 to generate a comparison signal V COMP .

NMOS電晶體34係依脈衝寬度調變信號VG之電壓準位導通/斷開其汲極-源極通道。 The NMOS transistor 34 turns on/off its drain-source channel according to the voltage level of the pulse width modulation signal V G .

第二電阻35係用以依流過其電阻之一電流IR產生電流感測信號VCS,其中,VCS為一負電壓信號。 The second resistor 35 is configured to generate a current sensing signal V CS according to a current I R flowing through the resistor, wherein V CS is a negative voltage signal.

電感36係用以在NMOS電晶體34導通時儲存能量及在NMOS電晶體34斷開時釋放能量。 Inductor 36 is used to store energy when NMOS transistor 34 is turned on and to release energy when NMOS transistor 34 is turned off.

第二電容37係一大電容,用以降低流過LED模組38之一電流ILED之漣波。 The second capacitor 37 is a large capacitor for reducing the ripple of the current I LED flowing through one of the LED modules 38.

二極體39係用以在NMOS電晶體34斷開時提供電感36一放電路徑。 The diode 39 is used to provide an inductance 36-discharge path when the NMOS transistor 34 is turned off.

第三電容40係用以和PWM控制器33之所述第五接腳耦接以產生比較信號VCOMPThe third capacitor 40 is coupled to the fifth pin of the PWM controller 33 to generate a comparison signal V COMP .

於操作時,PWM控制器33會先將電流感測信號VCS之極性反轉以產生一正電壓信號(未示於圖中),再使該正電壓信號和一參考電壓(未 示於圖中)之差值經第三電容40濾波以產生比較信號VCOMP;之後,PWM控制器33會使比較信號VCOMP和一固定之鋸齒波信號(未示於圖中)進行一電壓比較運算以決定脈衝寬度調變信號VG之佔空比(duty ratio)。於穩態時,經由一負回授的作用,該正電壓信號之平均電壓會趨近於所述的參考電壓。 During operation, the PWM controller 33 first inverts the polarity of the current sense signal V CS to generate a positive voltage signal (not shown), and then causes the positive voltage signal and a reference voltage (not shown). The difference is filtered by the third capacitor 40 to generate a comparison signal V COMP ; afterwards, the PWM controller 33 compares the comparison signal V COMP with a fixed sawtooth signal (not shown) for a voltage comparison operation. The duty ratio of the pulse width modulation signal V G is determined. At steady state, the average voltage of the positive voltage signal approaches the reference voltage via a negative feedback.

由於電流感測信號VCS之電壓絕對值等於第二電阻35之電阻值和電流IR的乘積,亦即,第二電阻35之電阻值和電流IR成反比,因此,藉由改變第二電阻35之電阻值即可改變電流IR,從而使電流ILED產生不同的平均值。 Since the absolute value of the voltage of the current sensing signal V CS is equal to the product of the resistance value of the second resistor 35 and the current I R , that is, the resistance value of the second resistor 35 is inversely proportional to the current I R , and therefore, by changing the second The resistance value of the resistor 35 changes the current I R such that the current I LED produces a different average value.

另外,在圖1中,電流IR的漣波係與電感15之電感值有關一電感值愈大,電流IR的漣波就愈小,電流ILED的漣波也就愈小;在圖2中,電流IR的漣波係與電感36之電感值有關一電感值愈大,電流IR的漣波就愈小,電流ILED的漣波也就愈小。然而,電感值愈大,成本就愈高。因此,在圖1中,該LED驅動電路乃藉由使第二電容16具有一大的電容值,以吸收電流IR的交流成分,從而降低電流ILED之漣波;以及在圖2中,該LED驅動電路乃藉由使第二電容37具有一大的電容值,以吸收電流IR的交流成分,從而降低電流ILED之漣波。 In addition, in FIG. 1, the chopping current of the current I R is related to the inductance value of the inductor 15 . The larger the inductance value is, the smaller the chopping current I R is, and the smaller the chopping current of the current I LED is. In 2, the chopping current of the current I R is related to the inductance value of the inductor 36. The larger the inductance value is, the smaller the chopping current I R is, and the smaller the chopping current of the current I LED is. However, the larger the inductance value, the higher the cost. Therefore, in FIG. 1, the LED driving circuit reduces the chopping of the current I LED by causing the second capacitor 16 to have a large capacitance value to absorb the AC component of the current I R ; and in FIG. 2 The LED driver circuit reduces the ripple of the current I LED by causing the second capacitor 37 to have a large capacitance value to absorb the AC component of the current I R .

然而,具大電容值的電容成本較高,也容易損壞。因此,圖1及圖2的習知LED驅動電路皆有工作壽命不長的缺點。 However, capacitors with large capacitance values are costly and easily damaged. Therefore, the conventional LED driving circuits of FIGS. 1 and 2 have the disadvantages that the working life is not long.

為解決前述的問題,吾人亟需一新穎的脈衝寬度調變控制器和一對應的LED驅動電路架構。 In order to solve the aforementioned problems, we need a novel pulse width modulation controller and a corresponding LED driving circuit architecture.

本發明之一目的在於揭露一種PWM控制器,其可藉由一外 接電阻調整一輸出電流之漣波。 An object of the present invention is to disclose a PWM controller which can be externally The resistor adjusts the ripple of an output current.

本發明之另一目的在於揭露一種PWM控制器,其所具之一輸出電流漣波調整機制可提供一高功因。 Another object of the present invention is to disclose a PWM controller having an output current chopping adjustment mechanism that provides a high power factor.

本發明之另一目的在於揭露一種LED驅動電路,其可藉由一外接電阻調整一輸出電流之漣波。 Another object of the present invention is to disclose an LED driving circuit that can adjust the chopping of an output current by an external resistor.

本發明之又一目的在於揭露一種LED驅動電路,其所具之一輸出電流漣波調整機制可提供一高功因。 Another object of the present invention is to disclose an LED driving circuit having an output current chopping adjustment mechanism that provides a high power factor.

為達前述目的,一種可藉由一電阻調整輸出電流漣波之PWM控制器乃被提出,其具有:一鋸齒波信號產生單元,用以依一控制電流、一正電壓信號、及一定電流產生一鋸齒波信號,其中該控制電流係由一外接電阻決定,且該鋸齒波信號之上升斜率係和該控制電流呈同向變化或反向變化;一放大器,具有一正輸入端以耦接一參考電壓,一負輸入端以耦接一電流感測信號,以及一輸出端以耦接一外接電容以產生一比較信號;以及一比較器,具有一正輸入端以耦接該鋸齒波信號,一負輸入端以耦接該比較信號,以及一輸出端以產生一導通終了信號,其中,該導通終了信號會在該鋸齒波信號觸及該比較信號時呈現一作用狀態。 In order to achieve the foregoing object, a PWM controller capable of adjusting output current ripple by a resistor is proposed, which has a sawtooth signal generating unit for generating a control current, a positive voltage signal, and a constant current. a sawtooth signal, wherein the control current is determined by an external resistor, and the rising slope of the sawtooth signal changes in the same direction or opposite direction to the control current; an amplifier having a positive input terminal coupled to the a reference voltage, a negative input coupled to a current sense signal, and an output coupled to an external capacitor to generate a comparison signal; and a comparator having a positive input coupled to the sawtooth signal, A negative input terminal is coupled to the comparison signal, and an output terminal is configured to generate a conduction end signal, wherein the conduction end signal exhibits an active state when the sawtooth wave signal touches the comparison signal.

在一實施例中,所述的正電壓信號係由該電流感測信號提供。 In an embodiment, the positive voltage signal is provided by the current sense signal.

在一實施例中,所述的正電壓信號係藉由使該電流感測信號經一極性轉換電路處理而得之信號。 In one embodiment, the positive voltage signal is a signal obtained by processing the current sensing signal through a polarity switching circuit.

在一實施例中,該鋸齒波信號產生單元具有:一定電流源,具有一輸入端點以耦接一直流電壓,及一輸出端點以提供一第一電流,其中,該第一電流係所述的定電流;一電容,具有一第一端點以耦接該定電流源之所述輸出端點,及一第二端點以耦接一參考地,其中,該第一端點係用以提供該鋸齒波信號;一開關,具有一第一通道端點以耦接該電容之所述第一端點,一第二通道端點以耦接所述參考地,以及一控制輸入端點以耦接一切換信號,其中該切換信號係在該鋸齒波信號之電壓爬升至該比較信號之準位時呈現一作用狀態以使所述第一通道端點和所述第二通道端點電氣連接;一電流鏡,係由一第一PMOS (p type metal oxide semiconductor;P型金氧半)電晶體和一第二PMOS電晶體構成,其中該第一PMOS電晶體係用以提供一第二電流至該電容;一NMOS電晶體,具有一汲極、一閘極、和一源極,其中,所述汲極係耦接至該第二PMOS電晶體,且所述源極係耦接至該外接電阻;以及一放大器,具有一正輸入端以耦接一輸入電壓,一負輸入端以耦接該NMOS電晶體之所述源極,以及一輸出端以耦接該NMOS電晶體之所述閘極,其中,該輸入電壓係由所述的正電壓信號提供。 In one embodiment, the sawtooth signal generating unit has a constant current source having an input terminal coupled to the DC voltage, and an output terminal to provide a first current, wherein the first current system a constant current; a capacitor having a first end point coupled to the output end of the constant current source, and a second end point coupled to a reference ground, wherein the first end point is used Providing the sawtooth signal; a switch having a first channel end to couple the first end of the capacitor, a second channel end to couple the reference ground, and a control input terminal A switching signal is coupled, wherein the switching signal presents an active state when the voltage of the sawtooth wave signal climbs to a level of the comparison signal to electrically connect the first channel end point and the second channel end point a current mirror is formed by a first PMOS (p type metal oxide semiconductor) and a second PMOS transistor, wherein the first PMOS transistor system is used to provide a second Current to the capacitor; an NMOS transistor with a turn a pole, a gate, and a source, wherein the drain is coupled to the second PMOS transistor, and the source is coupled to the external resistor; and an amplifier having a positive input An input voltage is coupled, a negative input terminal is coupled to the source of the NMOS transistor, and an output terminal is coupled to the gate of the NMOS transistor, wherein the input voltage is The positive voltage signal is provided.

在一實施例中,該鋸齒波信號產生單元具有:一定電流源,具有一輸入端點以耦接一直流電壓,及一輸出 端點以提供一第一電流,其中,該第一電流係所述的定電流;一電容,具有一第一端點以耦接該定電流源之所述輸出端點及耦接所述外接電阻,及一第二端點以耦接一參考地,其中,該第一端點係用以提供該鋸齒波信號;一開關,具有一第一通道端點以耦接該電容之所述第一端點,一第二通道端點以耦接所述參考地,以及一控制輸入端點以耦接一切換信號,其中該切換信號係在該鋸齒波信號之電壓爬升至該比較信號之準位時呈現一作用狀態以使所述第一通道端點和所述第二通道端點電氣連接;一電流鏡,係由一第一PMOS電晶體和一第二PMOS電晶體構成,其中該第一PMOS電晶體係用以提供一第二電流至該電容;一NMOS電晶體,具有一汲極、一閘極、和一源極,其中,所述汲極係耦接至該第二PMOS電晶體;一放大器,具有一正輸入端以耦接一輸入電壓,一負輸入端以耦接該NMOS電晶體之所述源極,以及一輸出端以耦接該NMOS電晶體之所述閘極,其中,該輸入電壓係由所述的正電壓信號提供;以及一電阻,其一端係和該NMOS電晶體之所述源極耦接,另一端則耦接至所述參考地。 In an embodiment, the sawtooth signal generating unit has a constant current source having an input terminal for coupling a DC voltage and an output. An end point to provide a first current, wherein the first current is the constant current; a capacitor having a first end point to couple the output end of the constant current source and coupled to the external connection a resistor, and a second end point coupled to a reference ground, wherein the first end is used to provide the sawtooth signal; and a switch has a first channel end to couple the capacitor An end point, a second channel end point coupled to the reference ground, and a control input end point coupled to a switching signal, wherein the switching signal is caused by a voltage of the sawtooth wave signal climbing to the comparison signal Positioning an active state to electrically connect the first channel end point and the second channel end point; a current mirror is formed by a first PMOS transistor and a second PMOS transistor, wherein the a PMOS transistor system is configured to provide a second current to the capacitor; an NMOS transistor having a drain, a gate, and a source, wherein the drain is coupled to the second PMOS Crystal; an amplifier having a positive input coupled to an input voltage, a negative The input terminal is coupled to the source of the NMOS transistor, and an output terminal is coupled to the gate of the NMOS transistor, wherein the input voltage is provided by the positive voltage signal; and a resistor One end is coupled to the source of the NMOS transistor, and the other end is coupled to the reference ground.

為達前述目的,一種可藉由一電阻調整輸出電流漣波之LED驅動電路乃被提出,其具有:一橋式整流器,具有二交流輸入端、一正輸出端、以及一負輸出端,其中所述二交流輸入端係耦接至一交流電源,所述正輸出端及所 述負輸出端係用以提供一全波整流電壓;一PWM控制器,具有:一第一接腳以耦接一直流電壓;一第二接腳以提供一脈衝寬度調變信號;一第三接腳以耦接一電流感測信號;一第四接腳以耦接一參考地;一第五接腳以耦接一外接電阻以產生一控制電流;以及一第六接腳以耦接一外接電容以產生一比較信號;一NMOS電晶體,具有一汲極、一閘極、以及一源極,其中該汲極係耦接至所述的正輸出端,該閘極係耦接至所述的第二接腳,以及該源極係耦接至所述的第三接腳;一電流感測電阻,其一端係耦接至所述的參考地,另一端則耦接至所述的第三接腳,以依流過其電阻本體之一電流產生所述的電流感測信號;一電感,其一端係與該電流感測電阻耦接;一LED模組,其一端係與該電感之另一端耦接,而另一端則耦接至所述的負輸出端;以及一二極體,具有一陰極以耦接至所述的第三接腳,以及一陽極以耦接至所述的負輸出端;其中,該PWM控制器係用以:使該電流感測信號和一參考電壓之差值經所述外接電容濾波以產生所述的比較信號;以及依所述的比較信號和一鋸齒波信號進行一電壓比較運算以決定該脈衝寬度調變信號之一佔空比,其中該鋸齒波信號之上升斜率係由該控制電流控制。 In order to achieve the foregoing object, an LED driving circuit capable of adjusting an output current chopping by a resistor is proposed, which has a bridge rectifier having two AC input terminals, a positive output terminal, and a negative output terminal. The two AC input terminals are coupled to an AC power source, and the positive output terminal and the The negative output terminal is configured to provide a full-wave rectified voltage; a PWM controller having: a first pin to couple the DC voltage; a second pin to provide a pulse width modulation signal; and a third a pin is coupled to a current sensing signal; a fourth pin is coupled to a reference ground; a fifth pin is coupled to an external resistor to generate a control current; and a sixth pin is coupled to the first An external capacitor is used to generate a comparison signal; an NMOS transistor has a drain, a gate, and a source, wherein the drain is coupled to the positive output, and the gate is coupled to the a second pin, and the source is coupled to the third pin; a current sensing resistor having one end coupled to the reference ground and the other end coupled to the a third pin for generating the current sensing signal according to a current flowing through one of the resistor bodies; an inductor having one end coupled to the current sensing resistor; and an LED module having one end coupled to the inductor The other end is coupled, and the other end is coupled to the negative output end; and a diode has a negative The pole is coupled to the third pin, and an anode is coupled to the negative output terminal; wherein the PWM controller is configured to: difference between the current sensing signal and a reference voltage Filtering by the external capacitor to generate the comparison signal; and performing a voltage comparison operation on the comparison signal and a sawtooth signal to determine a duty ratio of the pulse width modulation signal, wherein the sawtooth signal The rising slope is controlled by the control current.

在一實施例中,該鋸齒波信號之上升斜率係和該控制電流呈同向變化。 In an embodiment, the rising slope of the sawtooth signal changes in the same direction as the control current.

在一實施例中,該鋸齒波信號之上升斜率係和該控制電流呈反向變化。 In one embodiment, the rising slope of the sawtooth signal and the control current are inversely varied.

為達前述目的,另一種可藉由一電阻調整輸出電流漣波之LED驅動電路乃被提出,其具有:一橋式整流器,具有二交流輸入端、一正輸出端、以及一負輸出端,其中所述二交流輸入端係耦接至一交流電源,所述正輸出端及所述負輸出端係用以提供一全波整流電壓;一PWM控制器,具有:一第一接腳以耦接一直流電壓;一第二接腳以提供一脈衝寬度調變信號;一第三接腳以耦接一電流感測信號;一第四接腳以耦接一參考地;一第五接腳以耦接一外接電阻以產生一控制電流;以及一第六接腳以耦接一外接電容以產生一比較信號;一NMOS電晶體,具有一汲極、一閘極、以及一源極,其中該汲極係耦接至所述的正輸出端,該閘極係耦接至所述的第二接腳,以及該源極係耦接至所述的參考地;一電流感測電阻,其一端係耦接至所述的參考地,另一端則耦接至所述的第三接腳,以依流過其電阻本體之一電流產生所述的電流感測信號;一電感,其一端係與該電流感測電阻耦接;一LED模組,其一端係與該電感之另一端耦接,而另一端則耦接至所述的負輸出端;以及一二極體,具有一陰極以耦接至所述的參考地,以及一陽極以耦接至所述的負輸出端; 其中,該PWM控制器係用以:將該電流感測信號之極性反轉以產生一正電壓信號;使該正電壓信號和一參考電壓之差值經所述外接電容濾波以產生所述的比較信號;以及依所述的比較信號和一鋸齒波信號進行一電壓比較運算以決定該脈衝寬度調變信號之一佔空比,其中該鋸齒波信號之上升斜率係由該控制電流控制。 In order to achieve the above object, another LED driving circuit capable of adjusting output current chopping by a resistor is proposed, which has: a bridge rectifier having two AC input terminals, one positive output terminal, and one negative output terminal, wherein The two AC input terminals are coupled to an AC power source, and the positive output terminal and the negative output terminal are configured to provide a full-wave rectified voltage; and a PWM controller has a first pin coupled to a DC voltage; a second pin to provide a pulse width modulation signal; a third pin coupled to a current sensing signal; a fourth pin coupled to a reference ground; and a fifth pin An external resistor is coupled to generate a control current; and a sixth pin is coupled to the external capacitor to generate a comparison signal; an NMOS transistor having a drain, a gate, and a source, wherein the a drain is coupled to the positive output, the gate is coupled to the second pin, and the source is coupled to the reference ground; a current sensing resistor, one end Is coupled to the reference ground, and the other end is coupled to the a third pin for generating the current sensing signal according to a current flowing through one of the resistor bodies; an inductor having one end coupled to the current sensing resistor; and an LED module having one end coupled to the inductor The other end is coupled to the other end coupled to the negative output terminal; and a diode having a cathode coupled to the reference ground and an anode coupled to the negative Output The PWM controller is configured to: invert a polarity of the current sensing signal to generate a positive voltage signal; and filter a difference between the positive voltage signal and a reference voltage by the external capacitor to generate the Comparing the signal; and performing a voltage comparison operation on the comparison signal and the sawtooth signal to determine a duty ratio of the pulse width modulation signal, wherein a rising slope of the sawtooth signal is controlled by the control current.

在一實施例中,該鋸齒波信號之上升斜率係和該控制電流呈同向變化。 In an embodiment, the rising slope of the sawtooth signal changes in the same direction as the control current.

在一實施例中,該鋸齒波信號之上升斜率係和該控制電流呈反向變化。 In one embodiment, the rising slope of the sawtooth signal and the control current are inversely varied.

為使 貴審查委員能進一步瞭解本發明之結構、特徵及其目的,茲附以圖式及較佳具體實施例之詳細說明如后。 The detailed description of the drawings and the preferred embodiments are set forth in the accompanying drawings.

10、30、100‧‧‧橋式整流器 10, 30, 100‧‧ ‧ bridge rectifier

11、31、110‧‧‧第一電阻 11, 31, 110‧‧‧ first resistance

12、32、120‧‧‧第一電容 12, 32, 120‧‧‧ first capacitor

13、33、130a、130b‧‧‧PWM控制器 13, 33, 130a, 130b‧‧‧ PWM controller

14、34、140、1316‧‧‧NMOS電晶體 14, 34, 140, 1316‧‧‧ NMOS transistors

15、36、142‧‧‧電感 15, 36, 142‧‧‧Inductance

16、37、146‧‧‧第二電容 16, 37, 146‧‧‧ second capacitor

17、38、144‧‧‧LED模組 17, 38, 144‧‧‧ LED modules

18、35、141‧‧‧第二電阻 18, 35, 141‧‧‧ second resistor

19、39、145‧‧‧二極體 19, 39, 145‧‧ ‧ diode

20、40‧‧‧第三電容 20, 40‧‧‧ third capacitor

147‧‧‧第三電阻 147‧‧‧ Third resistor

131‧‧‧鋸齒波信號產生單元 131‧‧‧Sawtooth signal generating unit

132、1317‧‧‧放大器 132, 1317‧ ‧ amplifier

133‧‧‧比較器 133‧‧‧ comparator

134‧‧‧或閘 134‧‧‧ or gate

135‧‧‧閂鎖器 135‧‧‧Latch

136‧‧‧驅動電路 136‧‧‧ drive circuit

137‧‧‧極性轉換電路 137‧‧‧Polarity conversion circuit

1311‧‧‧定電流源 1311‧‧‧Constant current source

1312‧‧‧電容 1312‧‧‧ Capacitance

1313‧‧‧開關 1313‧‧‧Switch

1314‧‧‧第一PMOS電晶體 1314‧‧‧First PMOS transistor

1315‧‧‧第二PMOS電晶體 1315‧‧‧Second PMOS transistor

1318‧‧‧電阻 1318‧‧‧resistance

圖1繪示一習知LED驅動電路之電路圖。 FIG. 1 is a circuit diagram of a conventional LED driving circuit.

圖2繪示另一習知LED驅動電路之電路圖。 2 is a circuit diagram of another conventional LED driving circuit.

圖3繪示利用本發明PWM控制器之LED驅動電路其一較佳實施例之電路圖。 3 is a circuit diagram of a preferred embodiment of an LED driver circuit using a PWM controller of the present invention.

圖4繪示利用本發明PWM控制器之LED驅動電路其另一較佳實施例之電路圖。 4 is a circuit diagram showing another preferred embodiment of an LED driving circuit using the PWM controller of the present invention.

圖5繪示圖3之一PWM控制器其一較佳實施例之電路圖。 FIG. 5 is a circuit diagram of a preferred embodiment of the PWM controller of FIG. 3. FIG.

圖6繪示圖4之一PWM控制器其一較佳實施例之電路圖。 6 is a circuit diagram of a preferred embodiment of the PWM controller of FIG. 4.

圖7繪示圖5和圖6中之一鋸齒波信號產生單元其一較佳實施例之電路 圖。 7 is a circuit diagram of a sawtooth signal generating unit of FIG. 5 and FIG. Figure.

圖8繪示圖5和圖6中之一鋸齒波信號產生單元其另一較佳實施例之電路圖。 FIG. 8 is a circuit diagram showing another preferred embodiment of one of the sawtooth signal generating units of FIGS. 5 and 6.

圖9繪示本發明一實施例在將一外接電阻設定在一高電阻值時之一鋸齒波信號VSAW和一比較信號VCOMP之一波形圖。 FIG. 9 is a waveform diagram showing one of a sawtooth wave signal V SAW and a comparison signal V COMP when an external resistor is set to a high resistance value according to an embodiment of the invention.

圖10繪示本發明一實施例在將一外接電阻設定在一低電阻值時之一鋸齒波信號VSAW和一比較信號VCOMP之一波形圖。 FIG. 10 is a waveform diagram showing one of a sawtooth wave signal V SAW and a comparison signal V COMP when an external resistor is set to a low resistance value according to an embodiment of the invention.

圖11繪示本發明一實施例在將一外接電阻設定在一高電阻值時之一輸出電流波形ILED1,及設定在一低電阻值時之一輸出電流波形ILED2FIG. 11 is a diagram showing an output current waveform I LED1 when an external resistor is set to a high resistance value, and an output current waveform I LED2 when a low resistance value is set, according to an embodiment of the invention.

請參照圖3,其繪示利用本發明PWM控制器之LED驅動電路其一較佳實施例之電路圖。如圖3所示,該LED驅動電路包括一橋式整流器100、一第一電阻110、一第一電容120、一PWM控制器130a、一NMOS電晶體140、一第二電阻141、一電感142、一LED模組144、一二極體145、一第二電容146、以及一第三電阻147。 Referring to FIG. 3, a circuit diagram of a preferred embodiment of an LED driving circuit using the PWM controller of the present invention is shown. As shown in FIG. 3, the LED driving circuit includes a bridge rectifier 100, a first resistor 110, a first capacitor 120, a PWM controller 130a, an NMOS transistor 140, a second resistor 141, and an inductor 142. An LED module 144, a diode 145, a second capacitor 146, and a third resistor 147.

橋式整流器100具有二交流輸入端、一正輸出端、以及一負輸出端,其中所述二交流輸入端係耦接至一交流電源VAC,所述正輸出端及所述負輸出端係用以提供一全波整流電壓VIN,其中所述的負輸出端係一第一參考地。 The bridge rectifier 100 has two AC input terminals, a positive output terminal, and a negative output terminal, wherein the two AC input terminals are coupled to an AC power source V AC , and the positive output terminal and the negative output terminal are coupled to each other. The method provides a full-wave rectified voltage V IN , wherein the negative output terminal is a first reference ground.

第一電阻110和第一電容120係用以依全波整流電壓VIN產生一直流電壓VCC,其中VCC之電壓係相對於一第二參考地。 The first resistor 110 and the first capacitor 120 are configured to generate a DC voltage V CC according to the full-wave rectified voltage V IN , wherein the voltage of V CC is relative to a second reference ground.

PWM控制器130a具有:一第一接腳以耦接直流電壓VCC;一 第二接腳以提供一脈衝寬度調變信號VG以驅動NMOS電晶體140;一第三接腳以耦接一電流感測信號VCS,其為一正電壓信號;一第四接腳以耦接所述的第二參考地;一第五接腳以耦接第三電阻147以產生一控制電流IX;以及一第六接腳以耦接第二電容146以產生一比較信號VCOMPThe PWM controller 130a has a first pin to couple the DC voltage V CC , a second pin to provide a pulse width modulation signal V G to drive the NMOS transistor 140, and a third pin to couple the first pin. The current sensing signal V CS is a positive voltage signal; a fourth pin is coupled to the second reference ground; and a fifth pin is coupled to the third resistor 147 to generate a control current I X ; And a sixth pin to couple the second capacitor 146 to generate a comparison signal V COMP .

NMOS電晶體140,具有一汲極、一閘極、以及一源極,其中該汲極係耦接至所述的正輸出端,該閘極係耦接至所述的第二接腳,以及該源極係耦接至所述的第三接腳。 The NMOS transistor 140 has a drain, a gate, and a source, wherein the drain is coupled to the positive output, the gate is coupled to the second pin, and The source is coupled to the third pin.

第二電阻141係一電流感測電阻,其一端係耦接至所述的第二參考地,另一端則耦接至所述的第三接腳,以依流過其電阻本體之一電流IR產生所述的電流感測信號VCS,其中,VCS相對於所述第二參考地而言為一正電壓信號。 The second resistor 141 is a current sensing resistor, one end of which is coupled to the second reference ground, and the other end of which is coupled to the third pin to flow through a current I of the resistive body R generates the current sense signal V CS , wherein V CS is a positive voltage signal relative to the second reference ground.

電感142其一端係與第二電阻141耦接。電感142係用以在NMOS電晶體140導通時儲存能量及在NMOS電晶體140斷開時釋放能量。 The inductor 142 has one end coupled to the second resistor 141. The inductor 142 is used to store energy when the NMOS transistor 140 is turned on and to release energy when the NMOS transistor 140 is turned off.

LED模組144之一端係與電感142之另一端耦接,而LED模組144之另一端則耦接至所述的負輸出端。 One end of the LED module 144 is coupled to the other end of the inductor 142, and the other end of the LED module 144 is coupled to the negative output.

二極體145具有一陰極以耦接至所述的第三接腳,以及一陽極以耦接至所述的負輸出端,且其係用以在NMOS電晶體140斷開時提供電感142一放電路徑。 The diode 145 has a cathode coupled to the third pin, and an anode coupled to the negative output terminal, and is configured to provide an inductance 142 when the NMOS transistor 140 is disconnected. Discharge path.

第二電容146係耦接於所述第二參考地和PWM控制器130a之所述第六接腳之間以產生比較信號VCOMPThe second capacitor 146 is coupled between the second reference ground and the sixth pin of the PWM controller 130a to generate a comparison signal V COMP .

第三電阻147係耦接於所述第二參考地和PWM控制器130a之所述第五接腳之間以產生控制電流IXThe third resistor 147 is coupled between the second reference ground and the fifth pin of the PWM controller 130a to generate a control current I X .

於操作時,PWM控制器130a會使電流感測信號VCS和一參考電壓(未示於圖中)之差值經第二電容146濾波以產生比較信號VCOMP;之後,PWM控制器130a會使比較信號VCOMP和一鋸齒波信號(未示於圖中)進行一電壓比較運算以決定脈衝寬度調變信號VG之佔空比(duty ratio),於穩態時,經由一負回授的作用,電流感測信號VCS之平均電壓會趨近於所述的參考電壓。另外,該鋸齒波信號之上升斜率係由控制電流IX控制一該鋸齒波信號之上升斜率可和控制電流IX呈同向變化或反向變化。當該鋸齒波信號之上升斜率變大/變小時,比較信號VCOMP之準位會升高/降低,而電流感測信號VCS(亦即電流IR)的漣波會變小/變大。亦即,藉由改變第三電阻147的電阻值,即可改變電流IR的漣波大小,從而改變電流ILED的漣波大小。 In operation, the PWM controller 130a filters the difference between the current sense signal V CS and a reference voltage (not shown) via the second capacitor 146 to generate a comparison signal V COMP ; thereafter, the PWM controller 130a The comparison signal V COMP and a sawtooth wave signal (not shown) are subjected to a voltage comparison operation to determine a duty ratio of the pulse width modulation signal V G , and at a steady state, via a negative feedback The average voltage of the current sense signal V CS will approach the reference voltage. In addition, the rising slope of the sawtooth signal is controlled by the control current I X . The rising slope of the sawtooth signal may change in the same direction or in the opposite direction as the control current I X . When the rising slope of the sawtooth signal becomes larger/smaller, the level of the comparison signal V COMP rises/decreases, and the chopping of the current sensing signal V CS (ie, the current I R ) becomes smaller/larger. . That is, by changing the resistance value of the third resistor 147, the chopping magnitude of the current I R can be changed, thereby changing the chopping magnitude of the current I LED .

請參照圖4,其繪示利用本發明PWM控制器之LED驅動電路其另一較佳實施例之電路圖。如圖4所示,該LED驅動電路包括一橋式整流器100、一第一電阻110、一第一電容120、一PWM控制器130b、一NMOS電晶體140、一第二電阻141、一電感142、一LED模組144、一二極體145、一第二電容146、以及一第三電阻147。 Referring to FIG. 4, a circuit diagram of another preferred embodiment of an LED driving circuit using the PWM controller of the present invention is shown. As shown in FIG. 4, the LED driving circuit includes a bridge rectifier 100, a first resistor 110, a first capacitor 120, a PWM controller 130b, an NMOS transistor 140, a second resistor 141, and an inductor 142. An LED module 144, a diode 145, a second capacitor 146, and a third resistor 147.

橋式整流器100具有二交流輸入端、一正輸出端、以及一負輸出端,其中所述二交流輸入端係耦接至一交流電源VAC,所述正輸出端及所述負輸出端係用以提供一全波整流電壓VIN,其中所述的負輸出端係一第一參考地。 The bridge rectifier 100 has two AC input terminals, a positive output terminal, and a negative output terminal, wherein the two AC input terminals are coupled to an AC power source V AC , and the positive output terminal and the negative output terminal are coupled to each other. The method provides a full-wave rectified voltage V IN , wherein the negative output terminal is a first reference ground.

第一電阻110和第一電容120係用以依全波整流電壓VIN產生一直流電壓VCC,其中VCC之電壓係相對於一第二參考地。 The first resistor 110 and the first capacitor 120 are configured to generate a DC voltage V CC according to the full-wave rectified voltage V IN , wherein the voltage of V CC is relative to a second reference ground.

PWM控制器130b具有:一第一接腳以耦接直流電壓VCC;一 第二接腳以提供一脈衝寬度調變信號VG以驅動NMOS電晶體140;一第三接腳以耦接一電流感測信號VCS,其為一負電壓信號;一第四接腳以耦接所述的第二參考地;一第五接腳以耦接第三電阻147以產生一控制電流IX;以及一第六接腳以耦接第二電容146以產生一比較信號VCOMPThe PWM controller 130b has a first pin coupled to the DC voltage V CC , a second pin to provide a pulse width modulation signal V G to drive the NMOS transistor 140, and a third pin to couple the first pin. The current sensing signal V CS is a negative voltage signal; a fourth pin is coupled to the second reference ground; and a fifth pin is coupled to the third resistor 147 to generate a control current I X ; And a sixth pin to couple the second capacitor 146 to generate a comparison signal V COMP .

NMOS電晶體140具有一汲極、一閘極、以及一源極,其中該汲極係耦接至所述的正輸出端,該閘極係耦接至所述的第二接腳,以及該源極係耦接至所述的第二參考地。 The NMOS transistor 140 has a drain, a gate, and a source, wherein the drain is coupled to the positive output, the gate is coupled to the second pin, and the gate The source is coupled to the second reference ground.

第二電阻141係一電流感測電阻,其一端係耦接至所述的第二參考地,另一端則耦接至所述的第三接腳,以依流過其電阻本體之一電流IR產生所述的電流感測信號VCS,其中,VCS相對於所述第二參考地而言係一負電壓信號。 The second resistor 141 is a current sensing resistor, one end of which is coupled to the second reference ground, and the other end of which is coupled to the third pin to flow through a current I of the resistive body R generates the current sense signal V CS , wherein V CS is a negative voltage signal relative to the second reference ground.

電感142其一端係與第二電阻141耦接。電感142係用以在NMOS電晶體140導通時儲存能量及在NMOS電晶體140斷開時釋放能量。 The inductor 142 has one end coupled to the second resistor 141. The inductor 142 is used to store energy when the NMOS transistor 140 is turned on and to release energy when the NMOS transistor 140 is turned off.

LED模組144之一端係與電感142之另一端耦接,而LED模組144之另一端則耦接至所述的負輸出端。 One end of the LED module 144 is coupled to the other end of the inductor 142, and the other end of the LED module 144 is coupled to the negative output.

二極體145具有一陰極以耦接至所述的第二參考地,以及一陽極以耦接至所述的負輸出端。二極體145係用以在NMOS電晶體140斷開時提供電感142一放電路徑。 The diode 145 has a cathode coupled to the second reference ground and an anode coupled to the negative output. The diode 145 is used to provide an inductance 142-discharge path when the NMOS transistor 140 is turned off.

第二電容146係耦接於所述第二參考地和PWM控制器130b之所述第六接腳之間以產生比較信號VCOMPThe second capacitor 146 is coupled between the second reference ground and the sixth pin of the PWM controller 130b to generate a comparison signal V COMP .

第三電阻147係耦接於所述第二參考地和PWM控制器130b之所述第五接腳之間以產生控制電流IXThe third resistor 147 is coupled between the second reference ground and the fifth pin of the PWM controller 130b to generate a control current I X .

於操作時,PWM控制器130b會先將電流感測信號VCS之極性反轉以產生一正電壓信號(未示於圖中),再使該正電壓信號和一參考電壓(未示於圖中)之差值經第二電容146濾波以產生比較信號VCOMP;之後,PWM控制器130b會使比較信號VCOMP和一鋸齒波信號(未示於圖中)進行一電壓比較運算以決定脈衝寬度調變信號VG之佔空比(duty ratio)。於穩態時,經由一負回授的作用,該正電壓信號之平均電壓會趨近於所述的參考電壓。另外,該鋸齒波信號之上升斜率係由控制電流IX控制一該鋸齒波信號之上升斜率可和控制電流IX呈同向變化或反向變化。當該鋸齒波信號之上升斜率變大/變小時,比較信號VCOMP之準位會升高/降低,而電流感測信號VCS(亦即電流IR)的漣波會變小/變大。亦即,藉由改變第三電阻147的電阻值,即可改變電流IR的漣波大小,從而改變電流ILED的漣波大小。 In operation, the PWM controller 130b first inverts the polarity of the current sense signal V CS to generate a positive voltage signal (not shown), and then causes the positive voltage signal and a reference voltage (not shown). The difference between the two is filtered by the second capacitor 146 to generate a comparison signal V COMP ; afterwards, the PWM controller 130b compares the comparison signal V COMP with a sawtooth signal (not shown) to determine a pulse. The duty ratio of the width modulation signal V G . At steady state, the average voltage of the positive voltage signal approaches the reference voltage via a negative feedback. In addition, the rising slope of the sawtooth signal is controlled by the control current I X . The rising slope of the sawtooth signal may change in the same direction or in the opposite direction as the control current I X . When the rising slope of the sawtooth signal becomes larger/smaller, the level of the comparison signal V COMP rises/decreases, and the chopping of the current sensing signal V CS (ie, the current I R ) becomes smaller/larger. . That is, by changing the resistance value of the third resistor 147, the chopping magnitude of the current I R can be changed, thereby changing the chopping magnitude of the current I LED .

請參照圖5,其繪示圖3之PWM控制器130a其一較佳實施例之電路圖。如圖5所示,PWM控制器130a具有一鋸齒波信號產生單元131、一放大器132、一比較器133、一或閘134、一閂鎖器135、以及一驅動電路136。 Please refer to FIG. 5, which is a circuit diagram of a preferred embodiment of the PWM controller 130a of FIG. As shown in FIG. 5, the PWM controller 130a has a sawtooth signal generating unit 131, an amplifier 132, a comparator 133, a gate 134, a latch 135, and a driving circuit 136.

鋸齒波信號產生單元131係用以依控制電流IX、所述正電壓信號(由電流感測信號VCS提供)、及一定電流(未示於圖中)產生一鋸齒波信號VSAW,其中IX=VCS/第三電阻147的電阻值,且鋸齒波信號VSAW之上升斜率可和控制電流IX呈同向變化或反向變化。 The sawtooth signal generating unit 131 is configured to generate a sawtooth wave signal V SAW according to the control current I X , the positive voltage signal (provided by the current sensing signal V CS ), and a certain current (not shown). The resistance value of I X = V CS / third resistor 147, and the rising slope of the sawtooth wave signal V SAW may vary in the same direction or in the opposite direction as the control current I X .

放大器132具有一正輸入端以耦接一參考電壓VREF,一負輸入端以耦接電流感測信號VCS,以及一輸出端以耦接第二電容146以產生比較信號VCOMPThe amplifier 132 has a positive input terminal coupled to a reference voltage V REF , a negative input terminal coupled to the current sense signal V CS , and an output terminal coupled to the second capacitor 146 to generate the comparison signal V COMP .

比較器133具有一正輸入端以耦接鋸齒波信號VSAW,一負輸 入端以耦接比較信號VCOMP,以及一輸出端以產生一導通終了信號VEON以傳送至或閘134,其中,導通終了信號VEON會在鋸齒波信號VSAW觸及比較信號VCOMP時呈現一作用狀態(例如但不限於為一高電位)。 The comparator 133 has a positive input terminal coupled to the sawtooth wave signal V SAW , a negative input terminal coupled to the comparison signal V COMP , and an output terminal to generate a conduction end signal V EON for transmission to the OR gate 134, wherein The turn-on signal V EON exhibits an active state (such as, but not limited to, a high potential) when the sawtooth signal V SAW touches the comparison signal V COMP .

或閘134具有一第一輸入端以耦接比較器133之所述輸出端,一第二輸入端以耦接一過電流保護信號OCP,以及一輸出端以耦接閂鎖器135。 The OR gate 134 has a first input terminal coupled to the output terminal of the comparator 133, a second input terminal coupled to an overcurrent protection signal OCP, and an output terminal coupled to the latch 135.

閂鎖器135具有一設定輸入端以耦接一時脈信號CLK,一重置輸入端以耦接或閘134之所述輸出端,以及一狀態輸出端以耦接驅動電路136。 The latch 135 has a set input to couple a clock signal CLK, a reset input to couple the output of the gate 134, and a state output to couple the drive circuit 136.

驅動電路136具有一輸入端以耦接閂鎖器135之所述狀態輸出端,以及一輸出端以提供脈衝寬度調變信號VGThe drive circuit 136 has an input coupled to the state output of the latch 135 and an output to provide a pulse width modulated signal V G .

請參照圖6,其繪示圖4之PWM控制器130b其一較佳實施例之電路圖。如圖6所示,PWM控制器130b具有一鋸齒波信號產生單元131、一放大器132、一比較器133、一或閘134、一閂鎖器135、一驅動電路136、以及一極性轉換電路137。 Please refer to FIG. 6, which is a circuit diagram of a preferred embodiment of the PWM controller 130b of FIG. As shown in FIG. 6, the PWM controller 130b has a sawtooth signal generating unit 131, an amplifier 132, a comparator 133, a gate 134, a latch 135, a driving circuit 136, and a polarity switching circuit 137. .

鋸齒波信號產生單元131係用以依控制電流IX、所述正電壓信號(係依電流感測信號VCS產生)、及一定電流(未示於圖中)產生一鋸齒波信號VSAW,其中IX=VCS/第三電阻147的電阻值,且鋸齒波信號VSAW之上升斜率可和控制電流IX呈同向變化或反向變化。 Sawtooth signal generating unit 131 is used by the control system current I X, a positive voltage signal (lines generated by the current sense signal V CS), and a constant current (not shown in the drawing) generates a sawtooth signal V SAW, Wherein the resistance value of I X =V CS /third resistance 147, and the rising slope of the sawtooth wave signal V SAW may change in the same direction or in the opposite direction as the control current I X .

放大器132具有一正輸入端以耦接一參考電壓VREF,一負輸入端以耦接由極性轉換電路137輸出之一正電壓信號,以及一輸出端以耦接第二電容146以產生比較信號VCOMPThe amplifier 132 has a positive input terminal coupled to a reference voltage V REF , a negative input terminal coupled to the positive voltage signal output by the polarity switching circuit 137 , and an output terminal coupled to the second capacitor 146 to generate a comparison signal. V COMP .

比較器133具有一正輸入端以耦接鋸齒波信號VSAW,一負輸入端以耦接比較信號VCOMP,以及一輸出端以產生一導通終了信號VEON以傳送至或閘134,其中,導通終了信號VEON會在鋸齒波信號VSAW觸及比較信號VCOMP時呈現一作用狀態(例如但不限於為一高電位)。 The comparator 133 has a positive input terminal coupled to the sawtooth wave signal V SAW , a negative input terminal coupled to the comparison signal V COMP , and an output terminal to generate a conduction end signal V EON for transmission to the OR gate 134, wherein The turn-on signal V EON exhibits an active state (such as, but not limited to, a high potential) when the sawtooth signal V SAW touches the comparison signal V COMP .

或閘134具有一第一輸入端以耦接比較器133之所述輸出端,一第二輸入端以耦接一過電流保護信號OCP,以及一輸出端以耦接閂鎖器135。 The OR gate 134 has a first input terminal coupled to the output terminal of the comparator 133, a second input terminal coupled to an overcurrent protection signal OCP, and an output terminal coupled to the latch 135.

閂鎖器135具有一設定輸入端以耦接一時脈信號CLK,一重置輸入端以耦接或閘134之所述輸出端,以及一狀態輸出端以耦接驅動電路136。 The latch 135 has a set input to couple a clock signal CLK, a reset input to couple the output of the gate 134, and a state output to couple the drive circuit 136.

驅動電路136具有一輸入端以耦接閂鎖器135之所述狀態輸出端,以及一輸出端以提供脈衝寬度調變信號VGThe drive circuit 136 has an input coupled to the state output of the latch 135 and an output to provide a pulse width modulated signal V G .

極性轉換電路137具有一輸入端以耦接電流感測信號VCS,以及一輸出端以提供所述的正電壓信號,其中所述正電壓信號之電壓值係和電流感測信號VCS的絕對電壓值成正比。 The polarity switching circuit 137 has an input terminal coupled to the current sensing signal V CS and an output terminal to provide the positive voltage signal, wherein the voltage value of the positive voltage signal and the absolute value of the current sensing signal V CS The voltage value is proportional.

請參照圖7,其繪示圖5和圖6中之鋸齒波信號產生單元131其一較佳實施例之電路圖。如圖7所示,鋸齒波信號產生單元131具有一定電流源1311、一電容1312、一開關1313、一第一PMOS電晶體1314、一第二PMOS電晶體1315、一NMOS電晶體1316、以及一放大器1317。 Please refer to FIG. 7, which is a circuit diagram of a preferred embodiment of the sawtooth signal generating unit 131 of FIGS. 5 and 6. As shown in FIG. 7, the sawtooth wave signal generating unit 131 has a constant current source 1311, a capacitor 1312, a switch 1313, a first PMOS transistor 1314, a second PMOS transistor 1315, an NMOS transistor 1316, and a Amplifier 1317.

定電流源1311具有一輸入端點以耦接一直流電壓VDD,及一輸出端點以提供一第一電流I1,其中,第一電流I1係一定電流。 The constant current source 1311 has an input terminal to couple the DC voltage V DD and an output terminal to provide a first current I 1 , wherein the first current I 1 is a constant current.

電容1312具有一第一端點以耦接定電流源1311之所述輸出 端點,及一第二端點以耦接所述第二參考地,其中,該第一端點係用以提供鋸齒波信號VSAWThe capacitor 1312 has a first end point coupled to the output end of the constant current source 1311, and a second end point coupled to the second reference ground, wherein the first end point is used to provide a sawtooth Wave signal V SAW .

開關1313具有一第一通道端點以耦接電容1312之所述第一端點,一第二通道端點以耦接所述第二參考地,以及一控制輸入端點以耦接一切換信號VSW,其中切換信號VSW係在鋸齒波信號VSAW之電壓爬升至比較信號VCOMP之準位時呈現一作用狀態(例如但不限於為一高電位)以使所述第一通道端點和所述第二通道端點電氣連接,從而將電容1312的電壓歸零。 The switch 1313 has a first channel end to couple the first end of the capacitor 1312, a second channel end to couple the second reference ground, and a control input end to couple a switching signal V SW , wherein the switching signal V SW exhibits an active state (such as, but not limited to, a high potential) when the voltage of the sawtooth wave signal V SAW climbs to the level of the comparison signal V COMP to make the first channel end point An electrical connection is made to the second channel end to zero the voltage of the capacitor 1312.

第一PMOS電晶體1314和第二PMOS電晶體1315係用以形成一電流鏡以在直流電壓VDD之供電下,由第一PMOS電晶體1314提供一第二電流I2至電容1312。 The first PMOS transistor 1314 and the second PMOS transistor 1315 are used to form a current mirror to provide a second current I 2 to the capacitor 1312 by the first PMOS transistor 1314 under the power supply of the DC voltage V DD .

NMOS電晶體1316具有一汲極、一閘極、和一源極,其中,所述汲極係耦接至第二PMOS電晶體1315,且所述源極係耦接至第三電阻147。 The NMOS transistor 1316 has a drain, a gate, and a source, wherein the drain is coupled to the second PMOS transistor 1315, and the source is coupled to the third resistor 147.

放大器1317具有一正輸入端以耦接一輸入電壓VP,一負輸入端以耦接NMOS電晶體1316之所述源極,以及一輸出端以耦接NMOS電晶體1316之所述閘極,其中,輸入電壓VP係由所述的正電壓信號提供。 The amplifier 1317 has a positive input terminal coupled to an input voltage V P , a negative input terminal coupled to the source of the NMOS transistor 1316 , and an output terminal coupled to the gate of the NMOS transistor 1316. Wherein, the input voltage V P is provided by the positive voltage signal.

當第三電阻147之電阻值變小/變大時,電流IX會變大/變小,致使第二電流I2變大/變小,從而使鋸齒波信號VSAW之斜率變大/變小。另外,由於電流感測信號VCS也會影響鋸齒波信號VSAW,因此,本發明之輸出電流漣波調整機制亦可提供一高功因。 When the resistance value of the third resistor 147 becomes smaller/larger, the current I X becomes larger/smaller, causing the second current I 2 to become larger/smaller, thereby making the slope of the sawtooth wave signal V SAW larger/variable. small. In addition, since the current sensing signal V CS also affects the sawtooth wave signal V SAW , the output current chopping adjustment mechanism of the present invention can also provide a high power factor.

請參照圖8,其繪示圖5和圖6中之鋸齒波信號產生單元131其另一較佳實施例之電路圖。如圖8所示,鋸齒波信號產生單元131具有一定 電流源1311、一電容1312、一開關1313、一第一PMOS電晶體1314、一第二PMOS電晶體1315、一NMOS電晶體1316、一放大器1317、以及一電阻1318。 Referring to FIG. 8, a circuit diagram of another preferred embodiment of the sawtooth signal generating unit 131 of FIGS. 5 and 6 is illustrated. As shown in FIG. 8, the sawtooth wave signal generating unit 131 has a certain A current source 1311, a capacitor 1312, a switch 1313, a first PMOS transistor 1314, a second PMOS transistor 1315, an NMOS transistor 1316, an amplifier 1317, and a resistor 1318.

定電流源1311具有一輸入端點以耦接一直流電壓VDD,及一輸出端點以提供一第一電流I1,其中,第一電流I1係一定電流。 The constant current source 1311 has an input terminal to couple the DC voltage V DD and an output terminal to provide a first current I 1 , wherein the first current I 1 is a constant current.

電容1312具有一第一端點以耦接定電流源1311之所述輸出端點及耦接第三電阻147,及一第二端點以耦接所述第二參考地,其中,該第一端點係用以提供鋸齒波信號VSAWThe capacitor 1312 has a first end point coupled to the output end of the constant current source 1311 and coupled to the third resistor 147, and a second end point coupled to the second reference ground, wherein the first The endpoint is used to provide a sawtooth signal V SAW .

開關1313具有一第一通道端點以耦接電容1312之所述第一端點,一第二通道端點以耦接所述第二參考地,以及一控制輸入端點以耦接一切換信號VSW,其中切換信號VSW係在鋸齒波信號VSAW之電壓爬升至比較信號VCOMP之準位時呈現一作用狀態(例如但不限於為一高電位)以使所述第一通道端點和所述第二通道端點電氣連接,從而將電容1312的電壓歸零。 The switch 1313 has a first channel end to couple the first end of the capacitor 1312, a second channel end to couple the second reference ground, and a control input end to couple a switching signal V SW , wherein the switching signal V SW exhibits an active state (such as, but not limited to, a high potential) when the voltage of the sawtooth wave signal V SAW climbs to the level of the comparison signal V COMP to make the first channel end point An electrical connection is made to the second channel end to zero the voltage of the capacitor 1312.

第一PMOS電晶體1314和第二PMOS電晶體1315係用以形成一電流鏡以在直流電壓VDD之供電下,由第一PMOS電晶體1314提供一第二電流I2至電容1312。 The first PMOS transistor 1314 and the second PMOS transistor 1315 are used to form a current mirror to provide a second current I 2 to the capacitor 1312 by the first PMOS transistor 1314 under the power supply of the DC voltage V DD .

NMOS電晶體1316具有一汲極、一閘極、和一源極,其中,所述汲極係耦接至第二PMOS電晶體1315,且所述源極係耦接至電阻1318。 The NMOS transistor 1316 has a drain, a gate, and a source, wherein the drain is coupled to the second PMOS transistor 1315, and the source is coupled to the resistor 1318.

放大器1317具有一正輸入端以耦接一輸入電壓VP,一負輸入端以耦接NMOS電晶體1316之所述源極,以及一輸出端以耦接NMOS電晶體1316之所述閘極,其中,輸入電壓VP係由所述的正電壓信號提供。 The amplifier 1317 has a positive input terminal coupled to an input voltage V P , a negative input terminal coupled to the source of the NMOS transistor 1316 , and an output terminal coupled to the gate of the NMOS transistor 1316. Wherein, the input voltage V P is provided by the positive voltage signal.

電阻1318之一端係和NMOS電晶體1316之所述源極耦接,另一端則耦接至所述第二參考地。 One end of the resistor 1318 is coupled to the source of the NMOS transistor 1316, and the other end is coupled to the second reference ground.

當第三電阻147之電阻值變小/變大時,電流IX會變大/變小,致使I1+I2-IX變小/變大,從而使鋸齒波信號VSAW之斜率變小/變大。另外,由於電流感測信號VCS也會影響鋸齒波信號VSAW,因此,本發明之輸出電流漣波調整機制亦可提供一高功因。 When the resistance value of the third resistor 147 becomes smaller/larger, the current I X becomes larger/smaller, causing I 1 +I 2 -I X to become smaller/larger, thereby causing the slope of the sawtooth wave signal V SAW to become smaller. Small / bigger. In addition, since the current sensing signal V CS also affects the sawtooth wave signal V SAW , the output current chopping adjustment mechanism of the present invention can also provide a high power factor.

請一併參照圖9、10、及11,當鋸齒波信號VSAW之斜率變小時,如圖9所示,比較信號VCOMP之準位會變低,而此時電流ILED之波形係如圖11的ILED1所示,具有較大的漣波;當鋸齒波信號VSAW之斜率變大時,如圖10所示,比較信號VCOMP之準位會變高,而此時電流ILED之波形係如圖11的ILED2所示,具有較小的漣波。 Referring to Figures 9, 10, and 11, together, when the slope of the sawtooth wave signal V SAW becomes small, as shown in Figure 9, the level of the comparison signal V COMP becomes lower, and at this time, the waveform of the current I LED is as follows. As shown by I LED1 of Fig. 11, there is a large chopping; when the slope of the sawtooth wave signal V SAW becomes large, as shown in Fig. 10, the level of the comparison signal V COMP becomes high, and at this time, the current I LED The waveform is as shown by I LED 2 of Figure 11, with a small chopping.

藉由前述所揭露的設計,本發明具有以下的優點: With the above disclosed design, the present invention has the following advantages:

1.本發明的PWM控制器可藉由一外接電阻調整一輸出電流之漣波。 1. The PWM controller of the present invention can adjust the chopping of an output current by an external resistor.

2.本發明的PWM控制器其所具之一輸出電流漣波調整機制可提供一高功因。 2. The PWM controller of the present invention has an output current chopping adjustment mechanism that provides a high power factor.

3.本發明的LED驅動電路可藉由一外接電阻調整一輸出電流之漣波。 3. The LED driving circuit of the present invention can adjust the chopping of an output current by an external resistor.

4.本發明的LED驅動電路其所具之一輸出電流漣波調整機制可提供一高功因。 4. The LED drive circuit of the present invention has an output current chopping adjustment mechanism that provides a high power factor.

本案所揭示者,乃較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。 The disclosure of the present invention is a preferred embodiment. Any change or modification of the present invention originating from the technical idea of the present invention and being easily inferred by those skilled in the art will not deviate from the scope of patent rights of the present invention.

綜上所陳,本案無論就目的、手段與功效,在在顯示其迥異 於習知之技術特徵,且其首先發明合於實用,亦在在符合發明之專利要件,懇請 貴審查委員明察,並祈早日賜予專利,俾嘉惠社會,實感德便。 In summary, this case shows its difference in terms of purpose, means and function. In the technical characteristics of Xizhi, and its first invention is practical and practical, it is also in compliance with the patent requirements of the invention. Please ask your review committee to inspect it and pray for an early patent.

130a‧‧‧PWM控制器 130a‧‧‧PWM controller

146‧‧‧第二電容 146‧‧‧second capacitor

147‧‧‧第三電阻 147‧‧‧ Third resistor

131‧‧‧鋸齒波信號產生單元 131‧‧‧Sawtooth signal generating unit

132‧‧‧放大器 132‧‧‧Amplifier

133‧‧‧比較器 133‧‧‧ comparator

134‧‧‧或閘 134‧‧‧ or gate

135‧‧‧閂鎖器 135‧‧‧Latch

136‧‧‧驅動電路 136‧‧‧ drive circuit

Claims (8)

一種可藉由一電阻調整輸出電流漣波之PWM控制器,其具有:一鋸齒波信號產生單元,用以依一控制電流、一正電壓信號、及一定電流產生一鋸齒波信號,其中該控制電流係由一外接電阻決定,且該鋸齒波信號之上升斜率係和該控制電流呈同向變化或反向變化;一放大器,具有一正輸入端以耦接一參考電壓,一負輸入端以耦接一電流感測信號,以及一輸出端以耦接一外接電容以產生一比較信號;以及一比較器,具有一正輸入端以耦接該鋸齒波信號,一負輸入端以耦接該比較信號,以及一輸出端以產生一導通終了信號,其中,該導通終了信號會在該鋸齒波信號觸及該比較信號時呈現一作用狀態;其中該鋸齒波信號產生單元具有:一定電流源,具有一輸入端點以耦接一直流電壓,及一輸出端點以提供一第一電流,其中,該第一電流係所述的定電流;一電容,具有一第一端點以耦接該定電流源之所述輸出端點,及一第二端點以耦接一參考地,其中,該第一端點係用以提供該鋸齒波信號;一開關,具有一第一通道端點以耦接該電容之所述第一端點,一第二通道端點以耦接所述參考地,以及一控制輸入端點以耦接一切換信號,其中該切換信號係在該鋸齒波信號之電壓爬升至該比較信號之準位時呈現一作用狀態以使所述第一通道端點和所述第二通道端點電氣連接;一電流鏡,係由一第一PMOS電晶體和一第二PMOS電晶體構成, 其中該第一PMOS電晶體係用以提供一第二電流至該電容;一NMOS電晶體,具有一汲極、一閘極、和一源極,其中,所述汲極係耦接至該第二PMOS電晶體,且所述源極係耦接至該外接電阻;以及一放大器,具有一正輸入端以耦接一輸入電壓,一負輸入端以耦接該NMOS電晶體之所述源極,以及一輸出端以耦接該NMOS電晶體之所述閘極,其中,該輸入電壓係由所述的正電壓信號提供。 A PWM controller capable of adjusting output current ripple by a resistor, comprising: a sawtooth signal generating unit for generating a sawtooth signal according to a control current, a positive voltage signal, and a certain current, wherein the control The current is determined by an external resistor, and the rising slope of the sawtooth signal changes in the same direction or opposite direction to the control current; an amplifier having a positive input terminal coupled to a reference voltage and a negative input terminal a current sensing signal is coupled, and an output is coupled to an external capacitor to generate a comparison signal; and a comparator having a positive input coupled to the sawtooth signal and a negative input coupled to the output Comparing the signal, and an output end to generate a turn-on end signal, wherein the turn-on end signal exhibits an active state when the sawtooth wave signal touches the comparison signal; wherein the sawtooth wave signal generating unit has: a constant current source, having An input terminal is coupled to the DC voltage, and an output terminal is configured to provide a first current, wherein the first current is the constant current; The first end point is coupled to the output end of the constant current source, and the second end point is coupled to a reference ground, wherein the first end point is used to provide the sawtooth wave signal; a switch having a first channel end to couple the first end of the capacitor, a second channel end to couple the reference ground, and a control input end to couple a switching signal, Wherein the switching signal is in an active state when the voltage of the sawtooth wave signal climbs to a level of the comparison signal to electrically connect the first channel end point and the second channel end point; a current mirror Composed of a first PMOS transistor and a second PMOS transistor, The first PMOS transistor system is configured to provide a second current to the capacitor; an NMOS transistor having a drain, a gate, and a source, wherein the drain is coupled to the first a PMOS transistor, wherein the source is coupled to the external resistor; and an amplifier having a positive input coupled to an input voltage and a negative input coupled to the source of the NMOS transistor And an output coupled to the gate of the NMOS transistor, wherein the input voltage is provided by the positive voltage signal. 如申請專利範圍第1項所述之可藉由一電阻調整輸出電流漣波之PWM控制器,其中所述的正電壓信號係由該電流感測信號提供。 A PWM controller capable of adjusting an output current chopping by a resistor according to the first aspect of the patent application, wherein the positive voltage signal is provided by the current sensing signal. 如申請專利範圍第1項所述之可藉由一電阻調整輸出電流漣波之PWM控制器,其中所述的正電壓信號係藉由使該電流感測信號經一極性轉換電路處理而得之信號。 A PWM controller capable of adjusting an output current chopping by a resistor according to the first aspect of the patent application, wherein the positive voltage signal is obtained by processing the current sensing signal through a polarity switching circuit. signal. 一種可藉由一電阻調整輸出電流漣波之PWM控制器,其具有:一鋸齒波信號產生單元,用以依一控制電流、一正電壓信號、及一定電流產生一鋸齒波信號,其中該控制電流係由一外接電阻決定,且該鋸齒波信號之上升斜率係和該控制電流呈同向變化或反向變化;一放大器,具有一正輸入端以耦接一參考電壓,一負輸入端以耦接一電流感測信號,以及一輸出端以耦接一外接電容以產生一比較信號;以及一比較器,具有一正輸入端以耦接該鋸齒波信號,一負輸入端以耦接該比較信號,以及一輸出端以產生一導通終了信號,其中,該導通終了信號會在該鋸齒波信號觸及該比較信號時呈現一作用狀態; 其中該鋸齒波信號產生單元具有:一定電流源,具有一輸入端點以耦接一直流電壓,及一輸出端點以提供一第一電流,其中,該第一電流係所述的定電流;一電容,具有一第一端點以耦接該定電流源之所述輸出端點及耦接所述外接電阻,及一第二端點以耦接一參考地,其中,該第一端點係用以提供該鋸齒波信號;一開關,具有一第一通道端點以耦接該電容之所述第一端點,一第二通道端點以耦接所述參考地,以及一控制輸入端點以耦接一切換信號,其中該切換信號係在該鋸齒波信號之電壓爬升至該比較信號之準位時呈現一作用狀態以使所述第一通道端點和所述第二通道端點電氣連接;一電流鏡,係由一第一PMOS電晶體和一第二PMOS電晶體構成,其中該第一PMOS電晶體係用以提供一第二電流至該電容;一NMOS電晶體,具有一汲極、一閘極、和一源極,其中,所述汲極係耦接至該第二PMOS電晶體;一放大器,具有一正輸入端以耦接一輸入電壓,一負輸入端以耦接該NMOS電晶體之所述源極,以及一輸出端以耦接該NMOS電晶體之所述閘極,其中,該輸入電壓係由所述的正電壓信號提供;以及一電阻,其一端係和該NMOS電晶體之所述源極耦接,另一端則耦接至所述參考地。 A PWM controller capable of adjusting output current ripple by a resistor, comprising: a sawtooth signal generating unit for generating a sawtooth signal according to a control current, a positive voltage signal, and a certain current, wherein the control The current is determined by an external resistor, and the rising slope of the sawtooth signal changes in the same direction or opposite direction to the control current; an amplifier having a positive input terminal coupled to a reference voltage and a negative input terminal a current sensing signal is coupled, and an output is coupled to an external capacitor to generate a comparison signal; and a comparator having a positive input coupled to the sawtooth signal and a negative input coupled to the output Comparing the signal, and an output end to generate a conduction end signal, wherein the conduction end signal exhibits an active state when the sawtooth wave signal touches the comparison signal; The sawtooth signal generating unit has a constant current source having an input terminal to couple a DC voltage, and an output terminal to provide a first current, wherein the first current is the constant current; a capacitor having a first end point coupled to the output terminal of the constant current source and coupled to the external resistor, and a second end point coupled to a reference ground, wherein the first end point Providing the sawtooth signal; a switch having a first channel end to couple the first end of the capacitor, a second channel end to couple the reference ground, and a control input The end point is coupled to a switching signal, wherein the switching signal exhibits an active state when the voltage of the sawtooth wave signal climbs to a level of the comparison signal to cause the first channel end point and the second channel end Point electrical connection; a current mirror is composed of a first PMOS transistor and a second PMOS transistor, wherein the first PMOS transistor system is used to provide a second current to the capacitor; an NMOS transistor has a bungee, a gate, and a source, of which The anode is coupled to the second PMOS transistor; an amplifier having a positive input coupled to an input voltage, a negative input coupled to the source of the NMOS transistor, and a The output end is coupled to the gate of the NMOS transistor, wherein the input voltage is provided by the positive voltage signal; and a resistor having one end coupled to the source of the NMOS transistor, The other end is coupled to the reference ground. 一種可藉由一電阻調整輸出電流漣波之LED驅動電路,其具有:一橋式整流器,具有二交流輸入端、一正輸出端、以及一負輸出端, 其中所述二交流輸入端係耦接至一交流電源,所述正輸出端及所述負輸出端係用以提供一全波整流電壓;一PWM控制器,具有:一第一接腳以耦接一直流電壓;一第二接腳以提供一脈衝寬度調變信號;一第三接腳以耦接一電流感測信號;一第四接腳以耦接一參考地;一第五接腳以耦接一外接電阻以產生一控制電流;以及一第六接腳以耦接一外接電容以產生一比較信號;一NMOS電晶體,具有一汲極、一閘極、以及一源極,其中該汲極係耦接至所述的正輸出端,該閘極係耦接至所述的第二接腳,以及該源極係耦接至所述的第三接腳;一電流感測電阻,其一端係耦接至所述的參考地,另一端則耦接至所述的第三接腳,以依流過其電阻本體之一電流產生所述的電流感測信號;一電感,其一端係與該電流感測電阻耦接;一LED模組,其一端係與該電感之另一端耦接,而另一端則耦接至所述的負輸出端;以及一二極體,具有一陰極以耦接至所述的第三接腳,以及一陽極以耦接至所述的負輸出端;其中,該PWM控制器係用以:使該電流感測信號和一參考電壓之差值經所述外接電容濾波以產生所述的比較信號;以及依所述的比較信號和一鋸齒波信號進行一電壓比較運算以決定該脈衝寬度調變信號之一佔空比,其中該鋸齒波信號之上升斜率係由該控制電流控制。 An LED driving circuit capable of adjusting output current chopping by a resistor, comprising: a bridge rectifier having two AC input terminals, one positive output terminal, and one negative output terminal The two AC input terminals are coupled to an AC power source, and the positive output terminal and the negative output terminal are configured to provide a full-wave rectified voltage; and a PWM controller has: a first pin coupled Connect a DC voltage; a second pin to provide a pulse width modulation signal; a third pin to couple a current sensing signal; a fourth pin to couple a reference ground; and a fifth pin An external resistor is coupled to generate a control current; and a sixth pin is coupled to the external capacitor to generate a comparison signal; an NMOS transistor having a drain, a gate, and a source, wherein The gate is coupled to the positive output terminal, the gate is coupled to the second pin, and the source is coupled to the third pin; a current sensing resistor One end is coupled to the reference ground, and the other end is coupled to the third pin to generate the current sensing signal according to a current flowing through one of the resistance bodies; an inductor One end is coupled to the current sensing resistor; one LED module has one end coupled to the other end of the inductor The other end is coupled to the negative output terminal; and a diode having a cathode coupled to the third pin and an anode coupled to the negative output terminal; The PWM controller is configured to: filter a difference between the current sensing signal and a reference voltage by the external capacitor to generate the comparison signal; and perform the comparison signal and a sawtooth signal according to the comparison signal and a sawtooth signal A voltage comparison operation determines a duty cycle of the pulse width modulation signal, wherein a rising slope of the sawtooth signal is controlled by the control current. 如申請專利範圍第5項所述之可藉由一電阻調整輸出電流漣波之LED 驅動電路,其中該鋸齒波信號之上升斜率係和該控制電流呈同向變化或反向變化。 The LED capable of adjusting the output current chopping by a resistor as described in item 5 of the patent application scope The driving circuit, wherein the rising slope of the sawtooth signal changes in the same direction or in the opposite direction to the control current. 一種可藉由一電阻調整輸出電流漣波之LED驅動電路,其具有:一橋式整流器,具有二交流輸入端、一正輸出端、以及一負輸出端,其中所述二交流輸入端係耦接至一交流電源,所述正輸出端及所述負輸出端係用以提供一全波整流電壓;一PWM控制器,具有:一第一接腳以耦接一直流電壓;一第二接腳以提供一脈衝寬度調變信號;一第三接腳以耦接一電流感測信號;一第四接腳以耦接一參考地;一第五接腳以耦接一外接電阻以產生一控制電流;以及一第六接腳以耦接一外接電容以產生一比較信號;一NMOS電晶體,具有一汲極、一閘極、以及一源極,其中該汲極係耦接至所述的正輸出端,該閘極係耦接至所述的第二接腳,以及該源極係耦接至所述的參考地;一電流感測電阻,其一端係耦接至所述的參考地,另一端則耦接至所述的第三接腳,以依流過其電阻本體之一電流產生所述的電流感測信號;一電感,其一端係與該電流感測電阻耦接;一LED模組,其一端係與該電感之另一端耦接,而另一端則耦接至所述的負輸出端;以及一二極體,具有一陰極以耦接至所述的參考地,以及一陽極以耦接至所述的負輸出端;其中,該PWM控制器係用以:將該電流感測信號之極性反轉以產 生一正電壓信號;使該正電壓信號和一參考電壓之差值經所述外接電容濾波以產生所述的比較信號;以及依所述的比較信號和一鋸齒波信號進行一電壓比較運算以決定該脈衝寬度調變信號之一佔空比,其中該鋸齒波信號之上升斜率係由該控制電流控制。 An LED driving circuit capable of adjusting an output current chopping by a resistor, comprising: a bridge rectifier having two AC input terminals, a positive output terminal, and a negative output terminal, wherein the two AC input terminals are coupled To an AC power source, the positive output terminal and the negative output terminal are used to provide a full-wave rectified voltage; a PWM controller having: a first pin to couple a DC voltage; and a second pin Providing a pulse width modulation signal; a third pin coupled to a current sensing signal; a fourth pin coupled to a reference ground; and a fifth pin coupled to an external resistor to generate a control And a sixth pin for coupling an external capacitor to generate a comparison signal; an NMOS transistor having a drain, a gate, and a source, wherein the drain is coupled to the current a positive output terminal, the gate is coupled to the second pin, and the source is coupled to the reference ground; a current sensing resistor having one end coupled to the reference ground The other end is coupled to the third pin to flow through the resistor One current of the body generates the current sensing signal; one end of the inductor is coupled to the current sensing resistor; one LED module has one end coupled to the other end of the inductor and the other end coupled Connecting to the negative output terminal; and a diode having a cathode coupled to the reference ground and an anode coupled to the negative output terminal; wherein the PWM controller is used To reverse the polarity of the current sense signal Generating a positive voltage signal; filtering a difference between the positive voltage signal and a reference voltage via the external capacitor to generate the comparison signal; and performing a voltage comparison operation based on the comparison signal and a sawtooth signal A duty cycle of the pulse width modulation signal is determined, wherein a rising slope of the sawtooth signal is controlled by the control current. 如申請專利範圍第7項所述之可藉由一電阻調整輸出電流漣波之LED驅動電路,其中該鋸齒波信號之上升斜率係和該控制電流呈同向變化或反向變化。 The LED driving circuit capable of adjusting the output current chopping by a resistor according to the seventh aspect of the patent application, wherein the rising slope of the sawtooth wave signal changes in the same direction or in the opposite direction to the control current.
TW103101854A 2014-01-17 2014-01-17 Can be adjusted by a resistor output current ripple of the PWM controller and LED driver circuit TWI527495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103101854A TWI527495B (en) 2014-01-17 2014-01-17 Can be adjusted by a resistor output current ripple of the PWM controller and LED driver circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103101854A TWI527495B (en) 2014-01-17 2014-01-17 Can be adjusted by a resistor output current ripple of the PWM controller and LED driver circuit

Publications (2)

Publication Number Publication Date
TW201531149A TW201531149A (en) 2015-08-01
TWI527495B true TWI527495B (en) 2016-03-21

Family

ID=54342931

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103101854A TWI527495B (en) 2014-01-17 2014-01-17 Can be adjusted by a resistor output current ripple of the PWM controller and LED driver circuit

Country Status (1)

Country Link
TW (1) TWI527495B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI587736B (en) * 2016-01-05 2017-06-11 立錡科技股份有限公司 Light Emitting Device Driver Circuit and Driving Method of Light Emitting Device Circuit
TWI623243B (en) * 2017-05-26 2018-05-01 Conversion constant current LED driver
CN108966403B (en) * 2017-05-26 2020-09-04 台湾半导体股份有限公司 Conversion type constant current LED driver
CN108964542A (en) * 2018-08-31 2018-12-07 东南大学 A kind of energy-saving electromagnetic brake monitor of Width funtion power supply

Also Published As

Publication number Publication date
TW201531149A (en) 2015-08-01

Similar Documents

Publication Publication Date Title
US9136699B2 (en) Dynamic damper and lighting driving circuit comprising the dynamic damper
US9831780B2 (en) Buck-boost converter and method for controlling buck-boost converter
JP5657584B2 (en) AC / DC LED drive circuit
TWI472137B (en) Switch-mode voltage converter and its control circuit and control method
US9373997B1 (en) Power converting apparatus with dynamic driving adjustment
US8766711B2 (en) Switching circuit with controlled driver circuit
US9246381B2 (en) Active power factor correction control circuit, chip and LED driving circuit thereof
TWI454036B (en) Bridge rectifier for a pfc power converter
JP2010226916A (en) Switching power supply unit and control circuit for same
CN104837237A (en) Vehicle lamp, driving device thereof, and control method thereof
US9923557B2 (en) Switching circuit and power conversion circuit
TWI479780B (en) Synchronous buck converter
JP5530489B2 (en) LED protection circuit
TWI527495B (en) Can be adjusted by a resistor output current ripple of the PWM controller and LED driver circuit
CN106877846B (en) Pulse generation circuit, switching power supply circuit and average current calculation method
US20180324913A1 (en) Ripple suppression circuit and light emitting diode driver
TW201810904A (en) Switching regulator
TWI523382B (en) Power conversion apparatus and protection method thereof while feedback current signal abnormal
TWI543519B (en) Bridge rectifier circuit
CN106558979B (en) Semiconductor device with a plurality of semiconductor chips
US20150137777A1 (en) Electronic system, voltage conversion circuit and method thereof
US9660541B2 (en) Switching power supply device
US9763294B2 (en) Lighting device and lighting fixture using same
US20150002113A1 (en) Power supply circuit
TWI710205B (en) Switching regulator

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees