TWI713409B - A led driving circuit - Google Patents
A led driving circuit Download PDFInfo
- Publication number
- TWI713409B TWI713409B TW108143840A TW108143840A TWI713409B TW I713409 B TWI713409 B TW I713409B TW 108143840 A TW108143840 A TW 108143840A TW 108143840 A TW108143840 A TW 108143840A TW I713409 B TWI713409 B TW I713409B
- Authority
- TW
- Taiwan
- Prior art keywords
- current
- semiconductor resistor
- semiconductor
- signal
- control signal
- Prior art date
Links
Images
Landscapes
- Led Devices (AREA)
- Control Of Electrical Variables (AREA)
Abstract
Description
本發明涉及電路技術領域,尤其涉及一種用於LED的驅動電路。 The present invention relates to the technical field of circuits, in particular to a driving circuit for LEDs.
隨著科學技術的不斷發展,發光二極體(LED,Light Emitting Diode)在日常生活中得到了越來越廣泛的應用。基於安全、可靠、準確的目的,LED產品需要驅動電路輸出恆定的電流。目前,LED驅動電路通常在晶片外利用一外部電阻以設定輸出電流。但是,該種提供恆定驅動電流的方式,需要額外佔用晶片的一只腳位來連接外部電阻,此電阻又會增加成本並佔用電路基板(常用基板為印刷電路板(PCB,Printed Circuit Board))面積,其不僅增加了開發者的設計難度,導致PCB面積增大以及繞線難度的增加,同時還提高了驅動電路的加工成本。 With the continuous development of science and technology, light emitting diodes (LED, Light Emitting Diode) have been more and more widely used in daily life. For the purpose of safety, reliability, and accuracy, LED products need a drive circuit to output a constant current. At present, the LED driving circuit usually uses an external resistor outside the chip to set the output current. However, this method of providing a constant drive current requires an additional pin of the chip to connect to an external resistor, which will increase the cost and occupy the circuit substrate (the common substrate is a printed circuit board (PCB, Printed Circuit Board)) Area, which not only increases the design difficulty for developers, leads to an increase in PCB area and winding difficulty, but also increases the processing cost of the drive circuit.
本發明所要解決的技術問題在於提供一種用於LED驅動電路,其採用半導體工藝製造的內部電阻,可與驅動電路整合於同一晶片中,用以解決採用外部電路所帶來的設計難度增加、晶片腳數增加、PCB面積增大、繞線難度增加以及加工成本增加的問題。 The technical problem to be solved by the present invention is to provide an LED drive circuit, which uses a semiconductor process to manufacture internal resistance, which can be integrated with the drive circuit in the same chip, so as to solve the increase in design difficulty caused by the use of external circuits. The number of pins increases, PCB area increases, winding difficulty increases, and processing costs increase.
為實現上述發明目的,本發明採用下述的技術方案. In order to achieve the above purpose of the invention, the present invention uses the following technical solutions.
根據本發明的一個方面提供一種用於LED驅動電路,所述驅動電路包含一非揮發性記憶體(NVM,Non-Volatile Memory)及一恆流模組,該恆流模組在內部設置半導體電阻。該非揮發性記憶體用於儲存外部輸入之校正控制信號,確保每次上電後,都能依據該儲存於非揮發記憶體的校正控制信號,將輸出電流校正到目標值,而無需每次上電後都重複輸入校正控制信號;該恆流模組基於所述半導體電阻及校正控制信號,及外部提供的電流倍率信號產生恆定驅動電流。 According to one aspect of the present invention, there is provided a driving circuit for LED, the driving circuit includes a non-volatile memory (NVM, Non-Volatile Memory) and a constant current module, the constant current module is provided with a semiconductor resistor inside . The non-volatile memory is used to store the externally input calibration control signal to ensure that the output current can be calibrated to the target value according to the calibration control signal stored in the non-volatile memory after each power-on The correction control signal is repeatedly input after power-on; the constant current module generates a constant drive current based on the semiconductor resistance, the correction control signal, and the current multiplier signal provided by the outside.
可選的,所述恆流模組具體包括:電壓產生模組,用於提供參考電壓;電流產生模組,包括所述半導體電阻,其中,所述半導體電阻為可調的半導體電阻;所述電流產生模組,用於根據校正控制信號對所述半導體電阻進行調整,並根據所述參考電壓、調整後的半導體電阻值以及外部提供的電流倍率信號產生恆定驅動電流。 Optionally, the constant current module specifically includes: a voltage generating module for providing a reference voltage; a current generating module including the semiconductor resistor, wherein the semiconductor resistor is an adjustable semiconductor resistor; The current generating module is used for adjusting the semiconductor resistance according to the correction control signal, and generating a constant driving current according to the reference voltage, the adjusted semiconductor resistance value, and a current multiplier signal provided by the outside.
可選的,所述恆流模組具體包括:電壓產生模組,用於提供參考電壓;電流產生模組,包括所述半導體電阻及電流鏡電路,根據儲存於非揮發性記憶體的校正控制信號對電流鏡進行校正性微調,以根據參考電壓、半導體電阻得到參考電流,並根據外部提供的電流倍率信號對電流鏡倍率進行調整,以產生恆定驅動電流。 Optionally, the constant current module specifically includes: a voltage generating module for providing a reference voltage; a current generating module, including the semiconductor resistor and a current mirror circuit, according to the calibration control stored in the non-volatile memory The signal correctively fine-tunes the current mirror to obtain the reference current according to the reference voltage and semiconductor resistance, and adjusts the current mirror magnification according to the current magnification signal provided by the outside to generate a constant drive current.
可選的,所述電流產生模組包括校正單元以及倍率調整單元;其中,校正單元包括可調的半導體電阻,用於根據儲存於非揮發性記憶體的校正控制信號對所述半導體電阻的電阻值進行調整;倍率調整單元,包括電流鏡電路,用於根據所述參考電壓、調整後的所述半導體電阻的電阻值得到參考電流以及根據外部提供的電流倍率信號對所述參考電流進行倍率調整,以產生恆定驅動電流。 Optionally, the current generation module includes a correction unit and a magnification adjustment unit; wherein, the correction unit includes an adjustable semiconductor resistor for adjusting the resistance of the semiconductor resistor according to a correction control signal stored in a non-volatile memory. The magnification adjustment unit includes a current mirror circuit for obtaining a reference current according to the reference voltage and the adjusted resistance value of the semiconductor resistor, and adjusting the magnification of the reference current according to a current magnification signal provided by the outside , To produce a constant drive current.
可選的,所述恆流模組包括:電壓產生模組,包括所述半導體電阻,其中,所述半導體電阻為可調的半導體電阻,所述電壓產生模組用於根據儲存於非揮發性記憶體的校正控制信號對所述半導體電阻進行調整,用於調整得到所需參考電壓;電流產生模組,包括電流鏡電路,用於根據參考電壓得到參考電流以及外部提供的電流倍率信號對所述參考電流進行倍率調整,以產生恆定驅動電流。 Optionally, the constant current module includes: a voltage generating module, including the semiconductor resistor, wherein the semiconductor resistor is an adjustable semiconductor resistor, and the voltage generating module is used for storing in a nonvolatile The correction control signal of the memory adjusts the semiconductor resistor to obtain the required reference voltage; the current generation module includes a current mirror circuit, which is used to obtain the reference current according to the reference voltage and the current magnification signal provided by the outside. The reference current is adjusted for magnification to generate a constant drive current.
可選的,所述電流鏡電路由一級電流鏡或一級以上的電流鏡串接而成;所述電流鏡電路輸入側用於得到所述參考電流,輸入側和/或輸出側根據所述電流倍率信號控制各級的電晶體(常用的電晶體為金屬氧化物場效電晶體(MOSFET,Metal-Oxide-Semiconductor Field-Effect Transistor,簡稱MOS))的導通數量,以調整輸出的恆定驅動電流相對於所述參考電流的倍率。 Optionally, the current mirror circuit is formed by a first-level current mirror or more than one-level current mirrors connected in series; the input side of the current mirror circuit is used to obtain the reference current, and the input side and/or output side is based on the current The magnification signal controls the conduction number of the transistors at all levels (the commonly used transistor is a metal-oxide field-effect transistor (MOSFET, Metal-Oxide-Semiconductor Field-Effect Transistor, referred to as MOS)) to adjust the output constant drive current relative to The ratio of the reference current.
可選的,所述半導體電阻包括多個電晶體和多個電阻;所述多個電晶體用於根據校正控制信號進行導通和關閉,以控制所述半導體電阻中電阻的導通數量。 Optionally, the semiconductor resistor includes a plurality of transistors and a plurality of resistors; the plurality of transistors are used to turn on and off according to a correction control signal to control the number of conductions of the resistors in the semiconductor resistor.
可選的,所述半導體電阻中採用一種低溫度係數材質,或者由兩種以上的相反溫度係數的材質組成。 Optionally, the semiconductor resistor adopts a material with a low temperature coefficient, or is composed of two or more materials with opposite temperature coefficients.
可選的,所述恆流模組具體包括:電壓產生模組,包括所述半導體電阻,其中,所述半導體電阻為可調的半導體電阻,所述電壓產生模組用於根據外部提供的電流倍率信號對所述半導體電阻進行倍率調整,用於調整得到所需參考電壓;電流產生模組,包括電流鏡電路,用於根據參考電壓及儲存於非揮發性記憶體的校正控制信號對所述電流鏡進行調整,以產生恆定驅動電流。 Optionally, the constant current module specifically includes: a voltage generating module including the semiconductor resistor, wherein the semiconductor resistor is an adjustable semiconductor resistor, and the voltage generating module is used to generate a current The magnification signal is used to adjust the magnification of the semiconductor resistor to obtain the required reference voltage; the current generation module, including a current mirror circuit, is used to adjust the reference voltage and the correction control signal stored in the non-volatile memory The current mirror is adjusted to generate a constant drive current.
可選的,所述恆流模組包括:電壓產生模組,包括所述半導體電阻,其中,所述半導體電阻為可調的半導體電阻,所述電壓產生模組用於根據儲存於非揮發性記憶體的校正控制信號對所述半導體電阻進行調整,並根據外部提供的電流倍率信號對另一半導體電阻進行倍率調整,用於調整得到所需參考電壓;電流產生模組,包括電流鏡電路,用於根據參考電壓得到參考電流,以產生恆定驅動電流。 Optionally, the constant current module includes: a voltage generating module, including the semiconductor resistor, wherein the semiconductor resistor is an adjustable semiconductor resistor, and the voltage generating module is used for storing in a nonvolatile The correction control signal of the memory adjusts the semiconductor resistor, and adjusts the magnification of another semiconductor resistor according to the current magnification signal provided by the outside, so as to obtain the required reference voltage; the current generation module includes a current mirror circuit, Used to obtain the reference current according to the reference voltage to generate a constant drive current.
可選的,進一步,本發明將外部輸入之校正控制信號、及電流倍率信號由同一信號輸入端以分時方式輸入,並連接至一移位暫存器(Shift-in Register),用於接收並暫時儲存外部輸入之各種信號,該移位暫存器將校正控制信號輸出至前述非揮發性記憶體,並將電流倍率信號送至前述相對應之控制電路,如此可以最精簡之晶片腳位實現對驅動電路之控制。 Optionally, further, the present invention inputs the externally input calibration control signal and the current multiplier signal from the same signal input terminal in a time-sharing manner, and connects to a shift register (Shift-in Register) for receiving It also temporarily stores various externally input signals. The shift register outputs the correction control signal to the aforementioned non-volatile memory, and sends the current rate signal to the aforementioned corresponding control circuit, so that the chip footprint can be simplified Realize the control of the drive circuit.
可選的,更進一步,前述移位暫存器輸出之校正控制信號或電流倍率信號信號,可以先儲存於一組態暫存器(Configuration Register)中,再由該組態暫存器 傳送至前述非揮發性記憶體或驅動電路,如此可以減少相同信號重複輸入,簡化控制程序。 Optionally, and further, the correction control signal or current multiplier signal signal output by the aforementioned shift register can be stored in a configuration register (Configuration Register), and then the configuration register It is transmitted to the aforementioned non-volatile memory or drive circuit, which can reduce the repeated input of the same signal and simplify the control procedure.
本發明所提供的LED驅動電路在採用設置內部電阻的形式,該內部電阻為半導體制程中的電阻,根據儲存於非揮發性記憶體的校正控制信號對電阻值進行校正,或微調電流鏡倍率,以補償半導體電阻的誤差,等效於對電阻進行校正;再根據外部電流倍率信號對輸出電流進行倍率調整,即可使得整個驅動電路準確輸出所需的恆定驅動電流。上述電阻選用低溫度係數半導體電阻,可以輸出恆定驅動電流。並且僅使用同一信號輸入端,分時輸入之校正控制信號、及電流倍率信號。故本發明無需要額外佔用晶片緊缺的腳位,提高晶片腳位的利用率,同時還可以節省外部電阻成本、有效減小PCB面積,降低繞線難度以及整個驅動電路的加工成本。 The LED drive circuit provided by the present invention adopts the form of setting an internal resistance. The internal resistance is a resistance in the semiconductor manufacturing process. The resistance value is corrected according to the correction control signal stored in the non-volatile memory, or the current mirror magnification is fine-tuned, To compensate for the error of the semiconductor resistance, it is equivalent to correcting the resistance; and then the output current is adjusted according to the external current ratio signal, so that the entire driving circuit can accurately output the required constant driving current. The above resistors are selected from low temperature coefficient semiconductor resistors, which can output a constant drive current. And only use the same signal input terminal, time-sharing input correction control signal, and current multiplier signal. Therefore, the present invention does not need to occupy additional chip pins, which improves the utilization rate of chip pins. At the same time, it can save the cost of external resistance, effectively reduce the PCB area, reduce the winding difficulty and the processing cost of the entire driving circuit.
10:LED驅動電路 10: LED drive circuit
110:恆流模組 110: Constant current module
120:非揮發性記憶體 120: Non-volatile memory
130:移位暫存器 130: shift register
140:組態暫存器 140: Configuration register
150:信號輸入端 150: signal input
160:驅動電流輸出端 160: drive current output
1110:電流產生模組 1110: Current generation module
1120:電壓產生模組 1120: Voltage generation module
1130:半導體電阻 1130: Semiconductor resistance
11110:校正單元 11110: correction unit
11120:倍率調整單元 11120: Magnification adjustment unit
BG:能帶隙參考電壓電路 BG: Bandgap reference voltage circuit
CGA<2:0>:電流倍率信號 CGA<2:0>: Current rate signal
CGB<2:0>:電流倍率信號 CGB<2:0>: Current rate signal
CGC<2:0>:電流倍率信號 CGC<2:0>: Current rate signal
CGD<2:0>:電流倍率信號 CGD<2:0>: Current rate signal
CGE<2:0>:電流倍率信號 CGE<2:0>: Current rate signal
IOUT、IOUT2~4:恆定驅動電流 IOUT, IOUT2~4: constant drive current
M1~M33:開關電晶體 M1~M33: switching transistor
MN1~MN6:NMOS,構成可調電流鏡 MN1~MN6: NMOS, constitute an adjustable current mirror
MN10、MN11:NMOS MN10, MN11: NMOS
MP1~MP10:PMOS,構成可調電流鏡 MP1~MP10: PMOS, constitute an adjustable current mirror
OP1、OP2、OP4:運算放大器 OP1, OP2, OP4: operational amplifier
R1~R5:半導體可調電阻 R1~R5: Semiconductor adjustable resistance
R6、R7:半導體電阻 R6, R7: Semiconductor resistance
Trim1~Trim4:校正控制信號 Trim1~Trim4: Correction control signal
VBG:能帶隙參考電壓 VBG: Bandgap reference voltage
VREF2:參考電壓 VREF2: Reference voltage
圖1為本發明實施例中用於LED驅動電路的原理架構圖;圖2為本發明一可選實施例中用於LED驅動電路的原理架構圖;圖3為本發明一可選實施例中用於LED驅動電路的原理架構圖;圖4為本發明一可選實施例中用於LED驅動電路的原理架構圖;圖5為本發明一可選實施例中校正單元的原理架構圖;圖6為本發明一可選具體實施例中驅動電路的電路圖;圖7為本發明一可選具體實施例中驅動電路的電路圖;圖8為本發明一可選具體實施例中驅動電路的電路圖;圖9為本發明一可選具體實施例中驅動電路的電路圖;圖10為本發明一可選具體實施例中驅動電路的電路圖;圖11為本發明一可選實施例中用於LED驅動電路的原理架構圖;圖12為本發明一可選實施例中用於LED驅動電路的原理架構圖;圖13為本發明一可選實施例中用於LED驅動電路的原理架構圖;圖14為本發明一可選實施例中用於LED驅動電路的原理架構圖;圖15為本發明一可選實施例中用於LED驅動電路的原理架構圖; Fig. 1 is a schematic diagram of a principle structure of an LED drive circuit in an embodiment of the present invention; Fig. 2 is a principle structure diagram of an LED drive circuit in an alternative embodiment of the present invention; Fig. 3 is an alternative embodiment of the present invention Fig. 4 is a schematic structure diagram of an LED drive circuit in an optional embodiment of the present invention; Fig. 5 is a schematic structure diagram of a correction unit in an optional embodiment of the present invention; 6 is a circuit diagram of a driving circuit in an alternative specific embodiment of the present invention; FIG. 7 is a circuit diagram of a driving circuit in an alternative specific embodiment of the present invention; FIG. 8 is a circuit diagram of a driving circuit in an alternative specific embodiment of the present invention; Fig. 9 is a circuit diagram of a driving circuit in an alternative embodiment of the present invention; Fig. 10 is a circuit diagram of a driving circuit in an alternative embodiment of the present invention; Fig. 11 is a circuit diagram for an LED driving circuit in an alternative embodiment of the present invention Figure 12 is a schematic structural diagram of an LED drive circuit in an alternative embodiment of the present invention; Figure 13 is a schematic structural diagram of an LED drive circuit in an alternative embodiment of the present invention; Figure 14 is A schematic structure diagram of an LED driving circuit in an optional embodiment of the present invention; FIG. 15 is a schematic structure diagram of an LED driving circuit in an optional embodiment of the present invention;
以下配合圖式及本發明的較佳實施例,進一步闡述本發明為達成預定發明目的所採取的技術手段。 The following describes the technical means adopted by the present invention to achieve the intended purpose of the invention in conjunction with the drawings and preferred embodiments of the present invention.
本發明提供一種用於LED驅動電路10如圖1所示,該驅動電路包括一信號輸入端150,用於分時輸入外部輸入之校正控制信號、電流倍率信號;及一驅動電流輸出端160;及一恆流模組110;及一非揮發性記憶體120;該恆流模組內部設置一半導體電阻1130;該非揮發性記憶體儲存外部提供的校正控制信號,該驅動電路根據該非揮發性記憶體儲存之校正控制信號、及外部提供的電流倍率信號,以及內部的半導體電阻產生恆定驅動電流。其中,驅動電路根據校正控制信號對半導體可調電阻進行調整,或微調電流鏡倍率,以補償半導體電阻的誤差,等效於對電阻進行校正,以此校正最終輸出恆定驅動電流,具體如何調整及校正在後文中進行詳述。
The present invention provides a
上述半導體電阻為內部電阻,其採用半導體工藝製成,可由一種或多種不同材質的電阻組成,且具有低溫度係數(電阻值隨溫度變化而改變的幅度很小)的特性,具體的,半導體電阻中採用一種低溫度係數材質,或者由兩種以上的相反溫度係數的材質組成。但半導體工藝製造的內部電阻阻值變異甚大,包括晶片間的阻值誤差,與不同溫度下的阻值差異,一般無法作為精準電流輸出的依據;且內部電阻本身不易置換,也無法像外部電阻一樣可以彈性設定輸出電流。因此本發明中通過校正控制信號對電阻值或電流鏡倍率進行校正,再根據電流倍率信號對電流進行調整,即可使得整個驅動電路準確輸出所需的恆定驅動電流。 The above-mentioned semiconductor resistors are internal resistors, which are made by semiconductor technology and can be composed of one or more resistors of different materials, and have the characteristics of low temperature coefficient (the resistance value changes with a small change in temperature). Specifically, semiconductor resistors It uses a low temperature coefficient material, or is composed of two or more materials with opposite temperature coefficients. However, the resistance of internal resistors manufactured by semiconductor technology varies greatly, including resistance errors between chips, and resistance differences at different temperatures, which generally cannot be used as a basis for accurate current output; and the internal resistance itself is not easy to replace, nor can it be like an external resistance. The output current can also be set flexibly. Therefore, in the present invention, the resistance value or current mirror magnification is corrected by the correction control signal, and the current is adjusted according to the current magnification signal, so that the entire driving circuit can accurately output the required constant driving current.
本發明一實施例中,如圖2所示,所述用於LED驅動電路之恆流模組具體包括:電壓產生模組1120,用於提供參考電壓;本發明中的電壓產生模組可採用能帶隙(Bandgap)參考電壓電路實現,此為本領域技術人員所熟知的技術,這裡不做過多的介紹。
In an embodiment of the present invention, as shown in FIG. 2, the constant current module used in the LED driving circuit specifically includes: a
電流產生模組1110,包括所述半導體電阻,並設計該半導體電阻為阻值可調的,用於根據儲存於非揮發性記憶體的校正控制信號對半導體電阻的電阻值
進行調整,並根據參考電壓、調整後的電阻值以及外部提供的電流倍率信號產生恆定驅動電流。
The
另一種電流產生模組實施方式為:包括半導體電阻及電流鏡電路,根據儲存於非揮發性記憶體的校正控制信號對電流鏡電路進行校正性微調,以補償半導體電阻的誤差,效果與校正半導體電阻相當,並根據參考電壓、半導體電阻得到參考電流;並根據外部提供的電流倍率信號對電流鏡倍率進行調整,以對參考電流進行倍率以產生恆定驅動電流。 Another implementation of the current generation module includes a semiconductor resistor and a current mirror circuit. The current mirror circuit is corrected and fine-tuned according to the correction control signal stored in the non-volatile memory to compensate for the error of the semiconductor resistance. The resistance is equivalent, and the reference current is obtained according to the reference voltage and the semiconductor resistance; and the current mirror magnification is adjusted according to the current magnification signal provided by the outside, so as to multiply the reference current to generate a constant drive current.
上述半導體電阻可以用一種或多種材料的電阻組合而成產生低溫度係數電阻,並據以產生恆定驅動電流。 The above-mentioned semiconductor resistors can be combined with resistors of one or more materials to generate low temperature coefficient resistors and thereby generate a constant driving current.
上述提到的校正控制信號和電流倍率信號可由外部器件提供,例如控制器等通過控制指令即可輸出不同的控制信號。本發明採用的LED驅動電路採用內部電阻即可實現恆定驅動電流的輸出,而無需要額外佔用晶片緊缺的腳位,提高晶片腳位的利用率,同時還可以有效減小PCB面積,降低繞線難度以及整個驅動電路的加工成本。 The above-mentioned correction control signal and current rate signal can be provided by an external device, for example, a controller can output different control signals through control commands. The LED drive circuit used in the present invention can achieve constant drive current output by adopting internal resistance without occupying additional chip pins, which improves the utilization rate of chip pins. At the same time, it can effectively reduce PCB area and reduce winding. Difficulty and processing cost of the entire drive circuit.
本發明一實施例中,如圖3所示,該用於LED驅動電路之恆流模組具體包括:電壓產生模組,用於提供參考電壓;包括可調的半導體電阻,根據儲存於非揮發性記憶體的校正控制信號對半導體電阻進行調整,以調整得到所需參考電壓;電流產生模組,用於根據調整後的參考電壓以及外部提供的電流倍率信號產生恆定驅動電流。 In an embodiment of the present invention, as shown in FIG. 3, the constant current module used for the LED driving circuit specifically includes: a voltage generating module for providing a reference voltage; including an adjustable semiconductor resistor, which is stored in a non-volatile The calibration control signal of the flexible memory adjusts the semiconductor resistance to adjust the required reference voltage; the current generation module is used to generate a constant driving current according to the adjusted reference voltage and the current multiplier signal provided by the outside.
本發明圖2其中一種具體實施例為,電流產生模組包括校正單元11110以及倍率調整單元11120。如圖4所示,校正單元包括可調的半導體電阻,根據儲存於非揮發性記憶體的校正控制信號對半導體電阻進行調整;倍率調整單元,包括電流鏡電路,根據參考電壓、調整後的半導體電阻的電阻值得到參考電流以及外部提供的電流倍率信號對參考電流進行倍率調整,以產生恆定驅動電流;其中,對於可調半導體電阻的實現方式,本發明一實施例中,採用多個電晶體(因最常使用MOS,以下簡稱MOS)和多個電阻組成的半導體電阻實現。多個MOS根據校正控制信號進行導通和關閉,以控制半導體電阻中電阻的導通數量。例如,如圖5所示,多個MOS根據校正控制信號trim1、trim2……trim4進行導通和關閉,以控制半導體可調電阻中電阻R1~R5的導通數量。需要說明的
是,在該圖中,電阻的數量以及MOS可以根據實際需要進行調整,以選擇合適的電阻調整範圍。當然可採用其他通過校正控制信號實現電阻校正的形式,本發明中所提供的實現方式僅用於說明,不用於對本發明技術內容的限定。對於上述幾個實施例中,電流鏡電路可以採用一級電流鏡或一級以上的電流鏡串接而成。電流鏡電路輸入側用於得到所述參考電流,輸入側和/或輸出側根據所述電流倍率信號控制各級的MOS的導通數量,以調整輸出的恆定驅動電流相對於所述參考電流的倍率。
In a specific embodiment of FIG. 2 of the present invention, the current generation module includes a
這裡,提到的在根據電流倍率信號對參考電流倍率時有多種實現形式,可以在輸入側和/或輸出側進行電流的調整,具體包括:一種方式是,電流鏡電路輸入側可接入參考電壓產生一參考電流,輸入側及輸出側同時根據電流倍率信號對參考電流進行倍率調整,得到符合設定大小的恆定驅動電流。具體的,在輸入側接入參考電壓時,電流鏡電路輸入側根據參考電壓以及導通的電阻直接得到參考電流;輸入側及輸出側根據電流倍率信號控制MOS的導通數量,對電流鏡進行倍率調整,得到符合設定大小的電流。 Here, it is mentioned that there are multiple implementation forms for the reference current magnification according to the current magnification signal. The current can be adjusted on the input side and/or the output side, including: One way is that the input side of the current mirror circuit can be connected to the reference The voltage generates a reference current, and the input side and the output side simultaneously adjust the reference current according to the current ratio signal to obtain a constant drive current that meets the set size. Specifically, when the reference voltage is connected to the input side, the input side of the current mirror circuit directly obtains the reference current according to the reference voltage and the conduction resistance; the input side and the output side control the conduction number of the MOS according to the current magnification signal, and adjust the magnification of the current mirror , Get the current that meets the set size.
一可選具體實施例中,圖6所示,能帶隙參考電壓電路BG輸出能帶隙參考電壓VBG,電流鏡電路輸入側包括MOS MP1、MP2、MP3,運算放大器OP1的負相輸入端連接VBG,正相輸入端連接半導體電阻R1~R5,輸出端透過開關MOS M4、M5、M6、M10、M11、M12連接電流鏡PMOS MP1~MP6的閘極(Gate),構成一負回授回路,利用運算放大器OP1於此負回授電路穩定時,會使其兩輸入端電壓接近的特性,可以依其接入參考電壓VBG、可調半導體電阻的導通電阻R1~R5、產生一參考電流;輸出側包括MOS MP4、MP5、MP6。部件M1~M12為開關元器件,可以根據信號電流倍率信號CGA<2:0>、CGB<2:0>進行打開或者關閉,以控制MP1~MP6導通或關閉。對於部件M1~M12可選擇多路選擇器等實現開關控制功能的元器件,其可以也集成於同一元件器中,這裡不做具體的限定。通過控制MOS MP1~MP6導通或關閉,可以控制輸出側與輸入側之間的電流倍率,輸出總的鏡像電流為經過倍率後的參考電流,也就是本發明中的恆定驅動電流IOUT。這裡,在輸入側及輸出側根據電流倍率信號控制MOS的導通數量可實現參考電流的倍率調整。因此在選擇所需電流倍率時,還可以通過在輸入側或輸出側增加或減少並聯電流鏡MOS的方式。對於輸入側和輸出側MOS的長寬不做具體限定,可以根據實際所需電流進行選擇。 In an alternative specific embodiment, as shown in FIG. 6, the bandgap reference voltage circuit BG outputs the bandgap reference voltage VBG, the input side of the current mirror circuit includes MOS MP1, MP2, and MP3, and the negative phase input terminal of the operational amplifier OP1 is connected VBG, the positive phase input terminal is connected to semiconductor resistors R1~R5, and the output terminal is connected to the gate of the current mirror PMOS MP1~MP6 through the switch MOS M4, M5, M6, M10, M11, M12, forming a negative feedback loop. When the operational amplifier OP1 is used to stabilize the negative feedback circuit, the voltage at its two input terminals will be close. It can be connected to the reference voltage VBG and the on-resistance R1~R5 of the adjustable semiconductor resistor to generate a reference current; The side includes MOS MP4, MP5, MP6. Components M1~M12 are switching components, which can be turned on or off according to the signal current ratio signals CGA<2:0>, CGB<2:0> to control MP1~MP6 to turn on or off. For the components M1~M12, multiple selectors and other components that realize the switch control function can be selected, which can also be integrated in the same component device, and there is no specific limitation here. By controlling the MOS MP1~MP6 to turn on or off, the current magnification between the output side and the input side can be controlled. The total output mirror current is the reference current after the magnification, which is the constant drive current IOUT in the present invention. Here, on the input side and the output side according to the current magnification signal to control the number of MOS conduction can achieve the reference current magnification adjustment. Therefore, when selecting the required current magnification, you can also increase or decrease the parallel current mirror MOS on the input side or the output side. The length and width of the input side and output side MOS are not specifically limited, and can be selected according to the actual current required.
上述利用運算放大器與參考電壓、電流鏡、電阻的結構以產生恆定參考電流的方式,僅為實際應用中一種簡單實施例,另有多種等效電路可以依相同原理達到產生恆定驅動電流的效果,例如電流倍率信號也可以只對輸出側進行倍率調整,又例如可以選擇在可調半導體電阻實現電流倍率調整功能,本發明包括但不限於此實施例。 The above-mentioned method of generating a constant reference current using the structure of an operational amplifier and a reference voltage, a current mirror, and a resistor is only a simple embodiment in practical applications. There are also many equivalent circuits that can achieve the effect of generating a constant drive current based on the same principle. For example, the current magnification signal can also only be used to adjust the magnification of the output side, and for example, an adjustable semiconductor resistor can be selected to implement the current magnification adjustment function. The present invention includes but is not limited to this embodiment.
上述電流鏡也可以同時作為校正電流之用,如果不直接校正上述半導體電阻值,可以在電流鏡的其中一級,加入校正用的控制電路,以控制電流鏡MOS導通數量,即可校正最終輸出電流,達到與校正電阻相同的效果。例如,可以選擇在前述圖6中的輸入側校正電流,其中半導體電阻可用圖中所示的形式即電阻R1~R5,也可採用定值的半導體電阻,根據校正控制信號校正參考電流,以實現與校正半導體電阻相同的效果。具體的,根據校正控制信號CGA<2:0>通過控制M1~M6導通或關閉,可以控制MP1~MP3導通或關閉、進而校正輸出的參考電流。通常校正的電流變化幅度遠小於前述電流倍率的變化幅度,因此校正用的MOS寬長比(Width/Length)通常較小,以達到微調電流的目的。這樣,輸入側的信號則用於校正參考電流,而後輸出側再根據電流倍率信號CGB<2:0>進行倍率調整。 The above-mentioned current mirror can also be used to correct the current at the same time. If the above-mentioned semiconductor resistance value is not directly corrected, a correction control circuit can be added to one of the current mirror stages to control the conduction amount of the current mirror MOS to correct the final output current. , To achieve the same effect as the correction resistor. For example, you can choose to correct the current on the input side in Figure 6 above. The semiconductor resistors can be in the form shown in the figure, namely resistors R1~R5, or fixed-value semiconductor resistors can be used to correct the reference current according to the correction control signal to achieve Same effect as correcting semiconductor resistance. Specifically, according to the correction control signal CGA<2:0>, by controlling M1~M6 to be turned on or off, MP1~MP3 can be controlled to be turned on or off, and the output reference current can be corrected. Generally, the amplitude of the corrected current change is much smaller than that of the aforementioned current magnification, so the MOS width/length ratio (Width/Length) used for correction is usually small to achieve the purpose of fine-tuning the current. In this way, the signal on the input side is used to calibrate the reference current, and then the output side adjusts the magnification according to the current magnification signal CGB<2:0>.
其中,電流鏡可採用並聯的結構以實現一個或者多個恆定驅動電流的輸出,例如,將圖6中的輸出側複製並且並聯,即為圖7的MP7~MP9及M17~M22,可產生第二個電流輸出IOUT2。這樣通過並聯的方式,可以輸出多個恆定驅動電流。 Among them, the current mirror can adopt a parallel structure to realize the output of one or more constant drive currents. For example, the output side in Figure 6 is copied and connected in parallel, that is, MP7~MP9 and M17~M22 in Figure 7, which can generate the first Two current outputs IOUT2. In this way, multiple constant drive currents can be output through parallel connection.
對於電流鏡電路的具體實現,可依應用需求採用PMOS電流鏡或NMOS電流鏡,也可採用一組以上的PMOS電流鏡以及一組以上的NMOS電流鏡相串聯的形式,如圖8。電流倍率調整功能可以依實際應用,選擇於電流鏡其中一處或多處中實現,圖8中所示為串聯兩級電流鏡的輸出入兩側都具有電流倍率調整功能。本發明中對於電流鏡的形式與電流倍率調整形式不做具體的限定。 For the specific realization of the current mirror circuit, a PMOS current mirror or an NMOS current mirror can be used according to the application requirements, or more than one set of PMOS current mirrors and more than one set of NMOS current mirrors are connected in series, as shown in Figure 8. The current magnification adjustment function can be implemented in one or more of the current mirrors according to the actual application. As shown in Figure 8, the output and input sides of the two-stage current mirror in series have the current magnification adjustment function. In the present invention, the form of the current mirror and the current magnification adjustment form are not specifically limited.
與此同時,為了減小電流鏡在不同輸出電壓下的輸出電流變化,可選擇採用疊接(Cascode)電流鏡。對於疊接電流鏡其屬於本領域技術人員所熟知的技術,這裡不再贅述。 At the same time, in order to reduce the output current change of the current mirror under different output voltages, a Cascode current mirror can be selected. The overlapping current mirror belongs to a technique well known to those skilled in the art, and will not be repeated here.
一可選具體實施例中,如圖9所示,電壓產生模組輸出連接運放OP1的正相輸入端,負相輸入端連接可調的半導體電阻R1~R5,輸出端連接NMOS的閘極,構成一負回授回路。NMOS的汲極(Drain)連接PMOS電流鏡,源極(Source) 則連接可調的半導體電阻和OP1的負相輸入端。在該PMOS電流鏡輸出端,改用運放OP2以及PMOS MP10。運放OP2的正相端和反相端分別連接PMOS MP1~MP3、PMOS MP4~MP6的汲極,這樣可以保證輸出入側PMOS的VGS(閘極-源極電壓)及VDS(汲極-源極電壓)的電壓相同,以使電流鏡輸出正比於參考電流的恆定驅動電流。 In an alternative specific embodiment, as shown in Figure 9, the output of the voltage generating module is connected to the positive input terminal of the operational amplifier OP1, the negative input terminal is connected to the adjustable semiconductor resistors R1~R5, and the output terminal is connected to the gate of the NMOS , Constitute a negative feedback loop. The drain of the NMOS is connected to the current mirror of the PMOS, and the source (Source) Connect the adjustable semiconductor resistor to the negative input terminal of OP1. At the output end of the PMOS current mirror, op amp OP2 and PMOS MP10 are used instead. The positive and negative ends of the op amp OP2 are connected to the drains of PMOS MP1~MP3 and PMOS MP4~MP6 respectively, so as to ensure the VGS (gate-source voltage) and VDS (drain-source voltage) of the PMOS on the input and output sides The voltage of the pole voltage) is the same, so that the current mirror outputs a constant drive current proportional to the reference current.
圖9的PMOS電流鏡作法,亦可用於NMOS,並與圖9的PMOS電流鏡串接,以輸出恆定驅動電流。 The PMOS current mirror method of FIG. 9 can also be used for NMOS, and is connected in series with the PMOS current mirror of FIG. 9 to output a constant drive current.
另外,圖3的其中一種可選具體實施例可參見圖10。在該驅動電路中,帶隙基準電路BG產生VBG,連接圖10中運放OP4的正相輸入端,負相輸入端連接可調半導體電阻R1~R5,輸出端連接NMOS的閘極。NMOS的汲極連接電壓VDD,源極則連接可調的半導體電阻R1~R5和OP4的負相輸入端,半導體電阻R1~R5通過電阻R6連接電壓VSS,半導體電阻R1~R5與電阻R6的連接處為參考電壓VREF2的輸出端。通過校正控制信號控制可調半導體電阻R1~R5的導通數量,以使得參考電壓輸出不同的數值。參考電壓VREF2後續通過運放OP1連接PMOS電流鏡模組實現恆定驅動電流IOUT的輸出。在該實施例中,通過改變導通的電阻數,將帶隙基準電壓VBG產生可校正的參考電壓VREF2,再根據參考電壓VREF2產生參考電流,也可得到期望的恆定驅動電流。 In addition, one of the alternative specific embodiments of FIG. 3 can be seen in FIG. 10. In this drive circuit, the bandgap reference circuit BG generates VBG, which is connected to the positive phase input end of the operational amplifier OP4 in Figure 10, the negative phase input end is connected to the adjustable semiconductor resistors R1~R5, and the output end is connected to the gate of the NMOS. The drain of the NMOS is connected to the voltage VDD, and the source is connected to the negative input of the adjustable semiconductor resistors R1~R5 and OP4. The semiconductor resistors R1 to R5 are connected to the voltage VSS through the resistor R6, and the semiconductor resistors R1 to R5 are connected to the resistor R6. Where is the output terminal of the reference voltage VREF2. The conduction number of the adjustable semiconductor resistors R1 to R5 is controlled by the correction control signal, so that the reference voltage outputs different values. The reference voltage VREF2 is subsequently connected to the PMOS current mirror module through the operational amplifier OP1 to realize the output of the constant drive current IOUT. In this embodiment, by changing the number of on-resistances, the bandgap reference voltage VBG is generated to generate a correctable reference voltage VREF2, and then a reference current is generated according to the reference voltage VREF2, and the desired constant drive current can also be obtained.
前例中,也可以通過調整可調半導體電阻來調整參考電壓倍率,以實現電流倍率調整功能。綜合前述各實施例可知,可調半導體電阻也可選擇放在電壓產生模組或電流產生模組;而校正與電流倍率調整,分別都可以選擇通過控制電壓產生模組實現,或選擇通過控制電流產生模組實現,如圖11及圖12。圖11中,一種具體實施方式可以透過串接兩組前段所述之VREF2產生電路,分別實現參考電壓之校正與倍率調整功能。 In the previous example, the reference voltage magnification can also be adjusted by adjusting the adjustable semiconductor resistance to achieve the current magnification adjustment function. Based on the foregoing embodiments, it can be seen that the adjustable semiconductor resistance can also be placed in the voltage generating module or the current generating module; and the correction and current ratio adjustment can be achieved by controlling the voltage generating module or controlling the current. The generation module is realized, as shown in Figure 11 and Figure 12. In FIG. 11, a specific implementation can realize the functions of reference voltage correction and magnification adjustment by connecting two sets of VREF2 generating circuits described in the previous paragraph in series.
基於不同的實施例可知,在本發明中,內部電阻為半導體制程中的電阻,尤指低溫度係數之電阻。通過校正控制信號對電阻值或電流鏡進行校正,可保證參考電流的準確輸出,再根據電流倍率信號對輸出電流進行倍率調整,即可使得整個驅動電路準確輸出所需的低溫度係數恆定驅動電流。在電流倍率方面,可以採用不同的電流鏡相配合的形式,實現倍率的調整,及一組或者多組恆定驅動電流的輸出。因此,本發明中無需採用外部電阻,可以有效避免外部電阻所帶來的各種問題,同時通過校正和電流倍率功能,可以有效避免採用內部電阻所帶來的半導體電阻精準度差以及無法調整阻值的問題。 Based on different embodiments, it can be seen that in the present invention, the internal resistance is the resistance in the semiconductor manufacturing process, especially the resistance with low temperature coefficient. Correct the resistance value or current mirror by correcting the control signal to ensure the accurate output of the reference current, and then adjust the output current according to the current magnification signal, so that the entire drive circuit can accurately output the required low temperature coefficient constant drive current . In terms of current magnification, different current mirrors can be used to cooperate to achieve the adjustment of magnification and the output of one or more sets of constant drive current. Therefore, there is no need to use external resistors in the present invention, which can effectively avoid various problems caused by external resistors. At the same time, through the correction and current magnification functions, it can effectively avoid the poor accuracy of semiconductor resistors and the inability to adjust resistance caused by internal resistors. The problem.
一可選具體實施例中,如圖13,可將外部輸入之校正控制信號、及電流倍率信號由同一信號輸入端以分時方式輸入,並連接至一移位暫存器130,用於接收並暫時儲存外部輸入之各種信號,該移位暫存器將校正控制信號輸出至前述非揮發性記憶體,並將電流倍率信號送至前述相對應之控制電路,如此可以最精簡之晶片腳位實現對驅動電路之控制。
In an alternative embodiment, as shown in FIG. 13, the externally input calibration control signal and the current multiplier signal can be input from the same signal input terminal in a time-sharing manner, and connected to a
進一步,另一可選具體實施例中,如圖14及圖15,前述移位暫存器輸出之校正控制信號或電流倍率信號信號,可以先儲存於一組態暫存器140中,再由該組態暫存器傳送至前述非揮發性記憶體或驅動電路,如此可以減少相同信號重複輸入,簡化控制程序。非揮發性記憶體輸出之校正控制信號亦可先儲存於一暫存器,再輸出至前述相對應之校正電路,如此每次上電後僅需讀取該非揮發性記憶體一次。
Further, in another alternative specific embodiment, as shown in FIGS. 14 and 15, the correction control signal or current multiplier signal signal output by the aforementioned shift register may be stored in a
為便於說明,以上僅是本發明的簡易實施例而已,並非對本發明做任何形式上的限制,雖然本發明已以簡易實施例揭露如上,然而並非用以限定本發明,任何熟悉本專業的技術人員,在不脫離本發明技術方案的範圍內,當可利用上述揭示的技術內容作出些許更動,或變換電路組合,或修飾為等同變化的等效實施例,但凡是未脫離本發明技術方案的內容,依據本發明的技術實質對以上實施例所作的任何簡單修改、等同變化與修飾,均仍屬於本發明技術方案的範圍內。 For the convenience of description, the above are only simple embodiments of the present invention and do not limit the present invention in any form. Although the present invention has been disclosed as simple embodiments, it is not intended to limit the present invention. Anyone familiar with the professional technology Personnel, without departing from the scope of the technical solution of the present invention, can make use of the above-disclosed technical content to make slight changes, or to change circuit combinations, or to modify equivalent embodiments with equivalent changes, but all that does not depart from the technical solution of the present invention Contents, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention still fall within the scope of the technical solutions of the present invention.
10:LED驅動電路 10: LED drive circuit
110:恆流模組 110: Constant current module
120:非揮發性記憶體 120: Non-volatile memory
150:信號輸入端 150: signal input
160:驅動電流輸出端 160: drive current output
1130:半導體電阻 1130: Semiconductor resistance
Claims (10)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107143168 | 2018-12-01 | ||
TW107143168 | 2018-12-01 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202023323A TW202023323A (en) | 2020-06-16 |
TWI713409B true TWI713409B (en) | 2020-12-11 |
Family
ID=72175705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108143840A TWI713409B (en) | 2018-12-01 | 2019-11-29 | A led driving circuit |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI713409B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200739504A (en) * | 2006-04-07 | 2007-10-16 | Himax Tech Ltd | Source driver for display and method of driving thereof |
TWI322973B (en) * | 2005-02-03 | 2010-04-01 | Samsung Electronics Co Ltd | Current-driven data driver ic with decreased number of transistors |
TWI325522B (en) * | 2006-05-23 | 2010-06-01 | Phison Electronics Corp | |
TWI400452B (en) * | 2009-01-23 | 2013-07-01 | Mstar Semiconductor Inc | Current calibration method and associated circuit |
CN104662597A (en) * | 2012-09-28 | 2015-05-27 | 夏普株式会社 | Liquid-crystal display device and drive method thereof |
-
2019
- 2019-11-29 TW TW108143840A patent/TWI713409B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI322973B (en) * | 2005-02-03 | 2010-04-01 | Samsung Electronics Co Ltd | Current-driven data driver ic with decreased number of transistors |
TW200739504A (en) * | 2006-04-07 | 2007-10-16 | Himax Tech Ltd | Source driver for display and method of driving thereof |
TWI325522B (en) * | 2006-05-23 | 2010-06-01 | Phison Electronics Corp | |
TWI400452B (en) * | 2009-01-23 | 2013-07-01 | Mstar Semiconductor Inc | Current calibration method and associated circuit |
CN104662597A (en) * | 2012-09-28 | 2015-05-27 | 夏普株式会社 | Liquid-crystal display device and drive method thereof |
Also Published As
Publication number | Publication date |
---|---|
TW202023323A (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7557558B2 (en) | Integrated circuit current reference | |
US7599416B2 (en) | Laser diode driving circuit | |
US20080297131A1 (en) | Bandgap reference circuit | |
US7199647B2 (en) | Constant current circuit | |
US11237585B2 (en) | Self-biased current trimmer with digital scaling input | |
US6774666B1 (en) | Method and circuit for generating a constant current source insensitive to process, voltage and temperature variations | |
US8471548B2 (en) | Power supply circuit configured to supply stabilized output voltage by avoiding offset voltage in error amplifier | |
US7719341B2 (en) | MOS resistor with second or higher order compensation | |
US6940338B2 (en) | Semiconductor integrated circuit | |
TWI713409B (en) | A led driving circuit | |
US8791686B2 (en) | Constant output reference voltage circuit | |
TWI727673B (en) | Bias current generation circuit | |
CN111258366A (en) | Driving circuit for LED | |
JP2006260209A (en) | Voltage controlling voltage source | |
JP7065966B2 (en) | Field-effect transistor configuration and how to adjust the drain current of the field-effect transistor | |
JP4285266B2 (en) | Constant current control circuit device | |
US7852062B2 (en) | Reference current generating apparatus | |
JP2001175343A (en) | Current mirror circuit and its current regulating method | |
US20210011507A1 (en) | Constant voltage circuit | |
US20240243650A1 (en) | Low power voltage reference | |
US20070018503A1 (en) | Semiconductor circuit and resistance value controlling method | |
KR102624225B1 (en) | Constant current supply circuit applying the replica bias scheme and adaptive current compensation method thereof | |
CN117270618A (en) | Wide-range current regulating circuit | |
JP2009118059A (en) | Current mirror circuit, and current characteristics correction method of current mirror circuit | |
JP2007281776A (en) | Digital/analog converter circuit |