TW201926886A - Compensation circuit for input voltage offset of error amplifier - Google Patents
Compensation circuit for input voltage offset of error amplifier Download PDFInfo
- Publication number
- TW201926886A TW201926886A TW106140826A TW106140826A TW201926886A TW 201926886 A TW201926886 A TW 201926886A TW 106140826 A TW106140826 A TW 106140826A TW 106140826 A TW106140826 A TW 106140826A TW 201926886 A TW201926886 A TW 201926886A
- Authority
- TW
- Taiwan
- Prior art keywords
- trimming
- voltage
- circuit
- error amplifier
- reference voltage
- Prior art date
Links
Abstract
Description
本發明涉及一種誤差放大器電路,且特別涉及一種用於補償誤差放大器的輸入電壓偏移的補償電路和具有所述補償電路的誤差放大器電路。The present invention relates to an error amplifier circuit, and more particularly to a compensation circuit for compensating for an input voltage offset of an error amplifier and an error amplifier circuit having the compensation circuit.
目前市場上銷售的開關式發光二極體(LED)驅動器以邊界電流模式(BCM)工作,並且還具有用於鎖定LED電流的閉環電路。參考第1A圖,第1A圖是傳統開關模式LED驅動器的示意圖。傳統的開關模式LED驅動器1包括電流-電壓轉換器11、誤差放大器EA、補償電容C_COMP和比較器CMP。電流-電壓轉換器11連接到誤差放大器EA,誤差放大器EA連接到補償電容C_COMP和比較器CMP。Switched light-emitting diode (LED) drivers currently on the market operate in boundary current mode (BCM) and also have a closed loop circuit for locking the LED current. Referring to Figure 1A, Figure 1A is a schematic illustration of a conventional switch mode LED driver. The conventional switch mode LED driver 1 includes a current-voltage converter 11, an error amplifier EA, a compensation capacitor C_COMP, and a comparator CMP. The current-to-voltage converter 11 is connected to an error amplifier EA which is connected to a compensation capacitor C_COMP and a comparator CMP.
LED電流iLED(即,通過LED的電流)被回饋到開關模式LED驅動器1,並且電流-電壓轉換器11接收LED電流iLED並將LED電流iLED轉換為回饋電壓CS,其中LED電流iLED是三角波信號,因此回饋電壓CS也是三角波信號。誤差放大器EA接收回饋電壓CS和參考電壓VREF,然後將回饋電壓CS與參考電壓VREF進行比較,以相應地產生誤差信號COMP。補償電容C_COMP連接在誤差放大器EA的輸出端和接地電壓GND之間,用於補償誤差信號COMP。比較器CMP將誤差信號COMP與鋸齒波信號V_SAW進行比較,以產生用於調製LED電流iLED的脈衝信號DUTY。The LED current iLED (ie, the current through the LED) is fed back to the switch mode LED driver 1, and the current-voltage converter 11 receives the LED current iLED and converts the LED current iLED into a feedback voltage CS, wherein the LED current iLED is a triangular wave signal, Therefore, the feedback voltage CS is also a triangular wave signal. The error amplifier EA receives the feedback voltage CS and the reference voltage VREF, and then compares the feedback voltage CS with the reference voltage VREF to generate the error signal COMP accordingly. The compensation capacitor C_COMP is connected between the output of the error amplifier EA and the ground voltage GND for compensating for the error signal COMP. The comparator CMP compares the error signal COMP with the sawtooth signal V_SAW to generate a pulse signal DUTY for modulating the LED current iLED.
參考第1B圖,第1B圖是誤差放大器的示意圖。誤差放大器EA包括電流源IS、NMOS電晶體MN1至MN4以及PMOS電晶體MP1至MP4。PMOS電晶體MP3和MP4的源極端連接到高電壓(例如,系統電壓),PMOS電晶體MP3和MP4的閘極端彼此連接,PMOS電晶體MP3和MP4的汲極端分別連接到PMOS電晶體MP3的閘極端和補償電容C_COMP的一端。Referring to Figure 1B, Figure 1B is a schematic diagram of an error amplifier. The error amplifier EA includes a current source IS, NMOS transistors MN1 to MN4, and PMOS transistors MP1 to MP4. The source terminals of the PMOS transistors MP3 and MP4 are connected to a high voltage (for example, a system voltage), the gate terminals of the PMOS transistors MP3 and MP4 are connected to each other, and the NMOS terminals of the PMOS transistors MP3 and MP4 are respectively connected to the gates of the PMOS transistor MP3. Extreme and compensation capacitor C_COMP one end.
NMOS電晶體MN1至MN4的源極端連接到低電壓(例如,接地電壓),NMOS電晶體MN1和MN3的閘極端彼此連接,NMOS電晶體MN2和MN4的閘極端連接到每個NMOS電晶體MN3和MN1的汲極端分別連接到PMOS電晶體MP3的汲極端和NMOS電晶體MN1的閘極端,NMOS電晶體MN4和MN2的汲極端分別連接到PMOS電晶體MP4的汲極端和NMOS電晶體MN2的閘極端。The source terminals of the NMOS transistors MN1 to MN4 are connected to a low voltage (for example, a ground voltage), the gate terminals of the NMOS transistors MN1 and MN3 are connected to each other, and the gate terminals of the NMOS transistors MN2 and MN4 are connected to each of the NMOS transistors MN3 and The 汲 terminal of MN1 is connected to the 汲 terminal of PMOS transistor MP3 and the gate terminal of NMOS transistor MN1, respectively, and the 汲 terminals of NMOS transistors MN4 and MN2 are respectively connected to the 汲 terminal of PMOS transistor MP4 and the gate terminal of NMOS transistor MN2, respectively. .
PMOS電晶體MP1和MP2的源極端連接到電流源IS,PMOS電晶體MP1和MP2的閘極端分別接收回饋電壓CS和參考電壓VREF,以及PMOS電晶體MP1和MP2的汲極端分別連接到NMOS電晶體MN1和MN2的汲極端。PMOS電晶體MP1和MP2用以作為差分對電路,NMOS電晶體MN1和MN2用以作為主動負載電路。The source terminals of the PMOS transistors MP1 and MP2 are connected to the current source IS, the gate terminals of the PMOS transistors MP1 and MP2 receive the feedback voltage CS and the reference voltage VREF, respectively, and the 汲 terminals of the PMOS transistors MP1 and MP2 are respectively connected to the NMOS transistor. The 汲 extremes of MN1 and MN2. The PMOS transistors MP1 and MP2 are used as differential pair circuits, and the NMOS transistors MN1 and MN2 are used as active load circuits.
誤差放大器EA必須允許回饋電壓CS和參考電壓VREF所形成的大的輸入差分信號。為了確保誤差放大器EA能允許較大的差分信號,誤差放大器EA應具有小的跨導Gm,並且差分對電路和主動負載電路應分別具有小的跨導Gm1和Gm2。然而,主動負載電路的不匹配(即電壓偏移Vos2)反映到差分對電路的輸入電壓偏移Vos2',即Vos2'= Vos2 * Gm2 / Gm1,所以,小的跨導Gm操作的誤差放大器EA導致更大的輸入偏移。The error amplifier EA must allow a large input differential signal formed by the feedback voltage CS and the reference voltage VREF. To ensure that the error amplifier EA can tolerate a large differential signal, the error amplifier EA should have a small transconductance Gm, and the differential pair circuit and the active load circuit should have small transconductances Gm1 and Gm2, respectively. However, the mismatch of the active load circuit (ie, voltage offset Vos2) is reflected to the input voltage offset Vos2' of the differential pair circuit, ie Vos2' = Vos2 * Gm2 / Gm1, so the error amplifier EA for small transconductance Gm operation Causes a larger input offset.
為了治癒輸入電壓偏移的缺陷(即減小輸入電壓偏移),一種方式是增加誤差放大器EA的面積。然而,在當前的應用中,傳統開關模式LED驅動器的參考電壓VREF被要求為具有±3%容忍範圍的200微伏特,因此需要小的電壓偏移。In order to heal the defect of the input voltage offset (ie, reduce the input voltage offset), one way is to increase the area of the error amplifier EA. However, in current applications, the reference voltage VREF of a conventional switch mode LED driver is required to be 200 microvolts with a tolerance of ± 3%, thus requiring a small voltage offset.
參考第2A圖,第2A圖是用於補償誤差放大器之輸入電壓偏移的傳統補償電路的示意圖。傳統補償電路2包括能隙電壓產生器21、修整電路22、開關SW1,SW2和調光控制電路23。能隙電壓產生器21連接到修整電路22,開關SW1連接到修整電路22和誤差放大器EA,且開關SW2連接到調光控制電路23和誤差放大器EA。Referring to FIG. 2A, FIG. 2A is a schematic diagram of a conventional compensation circuit for compensating for an input voltage offset of an error amplifier. The conventional compensation circuit 2 includes a bandgap voltage generator 21, a trimming circuit 22, switches SW1, SW2, and a dimming control circuit 23. The bandgap voltage generator 21 is connected to the trimming circuit 22, the switch SW1 is connected to the trimming circuit 22 and the error amplifier EA, and the switch SW2 is connected to the dimming control circuit 23 and the error amplifier EA.
能隙電壓產生器21用於產生能隙電壓給修整電路21。修整電路21具有串聯連接的電阻R1~R4,並且還具有熔斷器F1和F2,其中熔斷器F1並聯連接到電阻R2 ,並且熔斷器F2並聯連接到電阻R3。電阻R2和R3的連接點連接到誤差放大器EA,以提供參考電壓VREF給誤差放大器EA。The bandgap voltage generator 21 is for generating a bandgap voltage to the trimming circuit 21. The trimming circuit 21 has resistors R1 to R4 connected in series, and also has fuses F1 and F2, wherein the fuse F1 is connected in parallel to the resistor R2, and the fuse F2 is connected in parallel to the resistor R3. The junction of resistors R2 and R3 is coupled to error amplifier EA to provide a reference voltage VREF to error amplifier EA.
能隙電壓被輸入到修整電路21。當輸入電壓偏移Vos不存在時,熔斷器F1和F2不熔斷,使得參考電壓VREF是由電阻R1和R4對能隙電壓分壓所產生的分壓。當輸入電壓偏移Vos存在時,熔斷器F1和F2中的至少一個熔斷,參考電壓VREF是由電阻“R1、R2、R4”、“R1、R3、R4”或“R1~R4”對能隙電壓分壓所產生的分壓,以補償輸入電壓偏移Vos。例如,當所需的參考電壓VREF為200微伏特,而輸入電壓偏移Vos為-20微伏特時,為了補償-20微伏特,熔斷器F1和F2中的至少一個被熔斷,因此實際參考電壓VREF增加到220微伏特。The bandgap voltage is input to the trimming circuit 21. When the input voltage offset Vos is not present, the fuses F1 and F2 are not blown, so that the reference voltage VREF is the divided voltage generated by the voltage division of the bandgap voltage by the resistors R1 and R4. When the input voltage offset Vos is present, at least one of the fuses F1 and F2 is blown, and the reference voltage VREF is the energy gap by the resistors "R1, R2, R4", "R1, R3, R4" or "R1 to R4". The voltage division produces a partial voltage to compensate for the input voltage offset Vos. For example, when the required reference voltage VREF is 200 microvolts and the input voltage offset Vos is -20 microvolts, at least one of the fuses F1 and F2 is blown to compensate for -20 microvolts, so the actual reference voltage VREF is increased to 220 microvolts.
當調光功能禁能時,開關SW1導通,因此輸入電壓偏移Vos已被補償的參考電壓VREF會被輸入到誤差放大器。當調光功能致能時,開關SW2導通。調光控制電路23具有定義輸入類比信號AND和參考電壓VREF之關係的類比調光比率曲線,因此調光控制電路23基於類比調光比率曲線將輸入類比信號AND轉換為參考電壓VREF 。When the dimming function is disabled, the switch SW1 is turned on, so the reference voltage VREF whose input voltage offset Vos has been compensated is input to the error amplifier. When the dimming function is enabled, the switch SW2 is turned on. The dimming control circuit 23 has an analog dimming ratio curve defining the relationship between the input analog signal AND and the reference voltage VREF, and thus the dimming control circuit 23 converts the input analog signal AND into the reference voltage VREF based on the analog dimming ratio curve.
參考第2B圖,第2B圖是類比調光比率曲線的曲線圖。調光控制電路23的理想類比調光比率曲線如第2B圖所示。然而,因輸入電壓偏移Vos存在的原因,類比調光比率曲線會向上或向下偏移。也就是說,修整電路21不能幫助調光控制電路23補償輸入電壓偏移Vos的影響,並且調光控制電路23應該調整理想的類比調光例比曲線,以處理輸入電壓偏移Vos的影響。Referring to Figure 2B, Figure 2B is a graph of an analog dimming ratio curve. The ideal analog dimming ratio curve of the dimming control circuit 23 is as shown in FIG. 2B. However, the analog dimming ratio curve shifts up or down due to the presence of the input voltage offset Vos. That is, the trimming circuit 21 cannot help the dimming control circuit 23 to compensate for the influence of the input voltage offset Vos, and the dimming control circuit 23 should adjust the ideal analog dimming example ratio curve to handle the influence of the input voltage offset Vos.
在此請注意,對於如第2A圖與第2B圖所示的類比調光,用於調光的實際參考電壓VREF可以表示為VREF =(AND-0.2)+ Vos。此外,在使用脈波寬度調製(PWM)調光的同時,輸入電壓偏移Vos仍然影響PWM調光,調光的實際參考電壓VREF可以表示為VREF =(VREFIDEAL + Vos)* DUTY,其中理想參考電壓表示為VREFIDEAL ,佔空比表示為DUTY。簡而言之,在調光功能中不能應用上述補償輸入電壓偏移的修整方式。Note here that for analog dimming as shown in Figures 2A and 2B, the actual reference voltage VREF for dimming can be expressed as VREF = (AND - 0.2) + Vos. In addition, while using pulse width modulation (PWM) dimming, the input voltage offset Vos still affects PWM dimming. The actual reference voltage VREF of dimming can be expressed as VREF = (VREF IDEAL + Vos) * DUTY, where ideal The reference voltage is expressed as VREF IDEAL and the duty cycle is expressed as DUTY. In short, the above-mentioned trimming method of compensating for the input voltage offset cannot be applied in the dimming function.
市面上尚有其他用於補償誤差放大器的輸入電壓偏移的補償補償電路。然而,在上述每個市售的補償電路中,誤差放大器的電流源須與補償電流源相同,且在補償之前,必須得先知道偏移電流,並且補償電路中的兩個以上的電晶體應設計為匹配。 不幸的是,偏移電流隨著製程變化而變化是不容易知道的,並且用於匹配兩個以上電晶體的設計也不容易。There are other compensation compensation circuits on the market for compensating for the input voltage offset of the error amplifier. However, in each of the above commercially available compensation circuits, the current source of the error amplifier must be the same as the compensation current source, and the offset current must be known before compensation, and more than two transistors in the compensation circuit should be Designed to match. Unfortunately, the offset current is not readily known as the process changes, and the design used to match more than two transistors is not easy.
本發明的示範實施例提供了用於補償誤差放大器的輸入電壓偏移的補償電路,並且所述補償電路包括準位移位器、第一修整電路、第二修整電路和補償電流吸收裝置。準位移位器用於移位回饋電壓的準位和預定參考電壓的準位,從而輸出準位移位回饋電壓和準位移位參考電壓。第一修整電路連接到準位移位器和誤差放大器,用以根據修整碼修整其第一電阻值,以調整準位移位參考電壓,其中修整碼具有輸入電壓偏移和要修整的電阻值的比率關係。第二修整電路連接到準位移位器和誤差放大器,用以根據修整碼修整其第二電阻值,以調整準位移位回饋電壓。補償電流吸收裝置連接到第一和第二修整電路,用於吸收通過第一和第二修整電路的電流。An exemplary embodiment of the present invention provides a compensation circuit for compensating for an input voltage offset of an error amplifier, and the compensation circuit includes a quasi-displacer, a first trim circuit, a second trim circuit, and a compensation current sink. The quasi-displacer is configured to shift the level of the feedback voltage and the level of the predetermined reference voltage, thereby outputting the quasi-displacement feedback voltage and the quasi-displacement reference voltage. The first trimming circuit is connected to the quasi-displacer and the error amplifier for trimming the first resistance value according to the trimming code to adjust the quasi-displacement bit reference voltage, wherein the trimming code has an input voltage offset and a resistance value to be trimmed Ratio relationship. The second trimming circuit is connected to the quasi-displacer and the error amplifier for trimming the second resistance value according to the trimming code to adjust the quasi-displacement feedback voltage. A compensation current absorbing device is coupled to the first and second trimming circuits for absorbing current through the first and second trimming circuits.
本發明的示範實施例還提供了包括誤差放大器和上述補償電路的誤差放大器電路。Exemplary embodiments of the present invention also provide an error amplifier circuit including an error amplifier and the above-described compensation circuit.
綜上所述,因為只有兩個電晶體須被設計成匹配,以及只有電阻須被設計為匹配,因此所提供之用以補償誤差放大器的輸入電壓偏移的補償電路可以容易地被設計,且具有較小的面積。In summary, because only two transistors must be designed to match, and only the resistors must be designed to match, the compensation circuit provided to compensate for the input voltage offset of the error amplifier can be easily designed, and Has a smaller area.
為了進一步理解本發明的技術、手段和效果,可以參考以下詳細描述和附圖,從而可以徹底和具體地理解本發明的目的、特徵和概念。然而,以下詳細描述和附圖僅用於參考和說明本發明的實現方式,其並非用於限制本發明。The objects, features, and concepts of the present invention will be more fully understood and understood by the appended claims. However, the following detailed description and drawings are merely for the purpose of illustration
現在將詳細參考本發明的示範實施例,其示範實施例會在附圖中被繪示出。在可能的情況下,在附圖和說明書中使用相同的元件符號來指代相同或相似的部件。Reference will now be made in detail to the exemplary embodiments embodiments embodiments Wherever possible, the same reference numerals are in the
本發明的示範實施例提供了在誤差放大器電路中使用的補償電路,並且補償電路可以補償誤差放大器電路中的誤差放大器的輸入電壓偏移。補償電路補償誤差放大器輸入端前方的輸入電壓偏移,從而在電路探測過程中只需要測量輸入電壓偏移。然後,可以計算輸入電壓偏移的修整碼,其中修整碼記錄輸入電壓偏移和要修整的電阻值的比率關係。An exemplary embodiment of the present invention provides a compensation circuit for use in an error amplifier circuit, and the compensation circuit can compensate for an input voltage offset of an error amplifier in the error amplifier circuit. The compensation circuit compensates for the input voltage offset in front of the input of the error amplifier, so that only the input voltage offset needs to be measured during circuit detection. Then, the trimming code of the input voltage offset can be calculated, wherein the trimming code records the ratio of the input voltage offset to the resistance value to be trimmed.
在本發明示範實施例中,電阻應被設計為彼此匹配,並且僅兩個電晶體須被設計為彼此匹配。因此,本發明的示範實施例中的補償電路的匹配設計比傳統補償電路的匹配設計更容易。此外,由於僅需要將兩個電晶體設計成彼此匹配,所以在示範實施例中,補償電路的電路面積可以減少,且可以不考慮其他電晶體的工作點和補償電流。In an exemplary embodiment of the invention, the resistors should be designed to match each other and only two transistors must be designed to match each other. Therefore, the matching design of the compensation circuit in the exemplary embodiment of the present invention is easier than the matching design of the conventional compensation circuit. Furthermore, since it is only necessary to design the two transistors to match each other, in the exemplary embodiment, the circuit area of the compensation circuit can be reduced, and the operating point and compensation current of other transistors can be ignored.
本發明示範實施例中的補償電路包括準位移位器、第一修整電路、第二修整電路和補償電流吸收裝置。 準位移位器接收預定參考電壓和由LED電流產生的回饋電壓,並將經準位移位的參考電壓和回饋電壓分別輸出到第一和第二修整電路。第一和第二修整電路中的每一者具有串聯連接的多個電阻和並聯連接到多個電阻的多個熔斷器。補償電流吸收裝置連接到第一和第二修整電路,以吸收補償電流。The compensation circuit in the exemplary embodiment of the present invention includes a quasi-displacer, a first trimming circuit, a second trimming circuit, and a compensating current sinking device. The quasi-bit shifter receives the predetermined reference voltage and the feedback voltage generated by the LED current, and outputs the reference voltage and the feedback voltage of the quasi-displaced bit to the first and second trimming circuits, respectively. Each of the first and second trimming circuits has a plurality of resistors connected in series and a plurality of fuses connected in parallel to the plurality of resistors. A compensation current absorbing device is coupled to the first and second trimming circuits to absorb the compensation current.
修整碼記錄輸入電壓偏移和要修整的第一或第二修整電路的電阻值的比率關係。第一或第二修整電路中的熔斷器根據修整碼被熔斷,因此第一或第二修整電路可以修整準位移位參考電壓(準位移位後的參考電壓)或準位移位回饋電壓(準位移位後的回饋電壓),以將修整參考電壓(修整後的參考電壓)或修整回饋電壓(修整後的回饋電壓)輸出到誤差放大器。由於準位電移位參考電壓或準位移位回饋電壓被修整,故可以補償輸入電壓偏移。The trimming code records the ratio of the input voltage offset to the resistance of the first or second trimming circuit to be trimmed. The fuse in the first or second trimming circuit is blown according to the trimming code, so the first or second trimming circuit can trim the quasi-displacement bit reference voltage (reference voltage after the quasi-displacement bit) or the quasi-displacement feedback voltage (The feedback voltage after the quasi-displacement bit) to output the trimming reference voltage (trimmed reference voltage) or the trimming feedback voltage (trimmed feedback voltage) to the error amplifier. Since the level shift reference voltage or the quasi-bit shift feedback voltage is trimmed, the input voltage offset can be compensated.
請參考第3圖,第3圖是本發明示範實施例的誤差放大器電路的示意圖。誤差放大器電路包括誤差放大器EA和補償電路3。補償電路3連接到誤差放大器EA,並且輸出修整參考電壓(即VREF + Vos)和準位移位回饋電壓給誤差放大器EA(當輸入電壓偏移為正時),提供或者替代地,輸出準位移位參考電壓與修整回饋電壓給誤差放大器EA(當輸入電壓偏移為負時)。Please refer to FIG. 3, which is a schematic diagram of an error amplifier circuit of an exemplary embodiment of the present invention. The error amplifier circuit includes an error amplifier EA and a compensation circuit 3. The compensation circuit 3 is connected to the error amplifier EA and outputs a trim reference voltage (ie VREF + Vos) and a quasi-bit shift feedback voltage to the error amplifier EA (when the input voltage offset is positive), or alternatively, the output level Shift the reference voltage and trim the feedback voltage to the error amplifier EA (when the input voltage offset is negative).
補償電路3包括能隙電壓產生器31、分壓器32、第一修整電路33、第二修整電路34、準位移位器35和補償電流吸收裝置36。能隙電壓產生器31連接到準位移位器35,準位移位器35連接到第一修整電路33和第二修整電路34。第一修整電路33和第二修整電路34連接到誤差放大器EA和補償電流吸收裝置36。The compensation circuit 3 includes a bandgap voltage generator 31, a voltage divider 32, a first trimming circuit 33, a second trimming circuit 34, a quasi-displacer 35, and a compensating current sinking device 36. The bandgap voltage generator 31 is connected to the quasi-displacer 35, which is connected to the first trimming circuit 33 and the second trimming circuit 34. The first trimming circuit 33 and the second trimming circuit 34 are connected to the error amplifier EA and the compensating current sinking device 36.
能隙電壓產生器31用於提供能隙電壓。分壓器32用以來對能隙電壓進行分壓,以產生預定參考電壓VD(例如,200微伏特)。分壓器32可以包括串聯連接的電阻R1和R2,並且在電阻R1和R2的連接點產生預定參考電壓VD。 在此請注意,前述分壓器32的實現方式不用於限制本發明。此外,能隙電壓產生器31和分壓器32並非補償電路3中的必要元件,並且預定參考電壓VD可以從外部電壓源輸入到補償電路3。The bandgap voltage generator 31 is for providing a bandgap voltage. The voltage divider 32 divides the bandgap voltage to produce a predetermined reference voltage VD (e.g., 200 microvolts). The voltage divider 32 may include resistors R1 and R2 connected in series, and generate a predetermined reference voltage VD at a connection point of the resistors R1 and R2. It should be noted here that the implementation of the aforementioned voltage divider 32 is not intended to limit the invention. Further, the bandgap voltage generator 31 and the voltage divider 32 are not necessary components in the compensation circuit 3, and the predetermined reference voltage VD can be input from the external voltage source to the compensation circuit 3.
準位移位器35用於接收預定參考電壓VD和回饋電壓CS,並且移位預定參考電壓VD和回饋電壓CS的準位,以分別產生準位移位參考電壓和準位移位回饋電壓給第一修整電路33和第二修整電路34。The quasi-bit shifter 35 is configured to receive the predetermined reference voltage VD and the feedback voltage CS, and shift the positions of the predetermined reference voltage VD and the feedback voltage CS to respectively generate the quasi-displacement bit reference voltage and the quasi-displacement bit feedback voltage to The first trimming circuit 33 and the second trimming circuit 34.
準位移位器35可以由電流源IS1、IS2和PMOS電晶體MP1、MP2來實現,並且本發明不限制準位移位器35的實現方式。PMOS電晶體MP1的閘極端連接到電阻R1和R2的連接點,以接收預定參考電壓VD,PMOS電晶體MP1的源極端連接到電流源IS1和第一修整電路33,並且PMOS電晶體MP1的汲極端連接到接地電壓GND。PMOS電晶體MP2的閘極端用於接收回饋電壓CS,PMOS電晶體MP2的源極端連接到電流源IS2和第二修整電路34,PMOS電晶體MP2的汲極端連接到接地電壓GND。The quasi-displacer 35 can be implemented by current sources IS1, IS2 and PMOS transistors MP1, MP2, and the present invention does not limit the implementation of the quasi-displacer 35. The gate terminal of the PMOS transistor MP1 is connected to the connection point of the resistors R1 and R2 to receive a predetermined reference voltage VD, the source terminal of the PMOS transistor MP1 is connected to the current source IS1 and the first trimming circuit 33, and the PMOS transistor MP1 is turned on. Extremely connected to the ground voltage GND. The gate terminal of the PMOS transistor MP2 is for receiving the feedback voltage CS, the source terminal of the PMOS transistor MP2 is connected to the current source IS2 and the second trimming circuit 34, and the drain terminal of the PMOS transistor MP2 is connected to the ground voltage GND.
第一修整電路33包括串聯連接的多個電阻RA和並聯連接到多個電阻RA的多個熔斷器F1。第二修整電路34包括串聯連接的多個電阻RB和並聯連接到多個電阻RB的多個熔斷器F2。在此請注意,為了使第3圖較圍簡潔,第3圖僅繪示了第一修整電路33中的一個電阻RA和一個熔斷器F1,以及繪示了第二修整電路34中的一個電阻RB和一個熔斷器F2,但是本發明不限制於此。熔斷器F1和F2根據修整碼被熔斷,以修整準位移位參考電壓,因此第一修整電路33用於產生修整參考電壓(即VREF + Vos)給誤差放大器EA的一個輸入端。The first trimming circuit 33 includes a plurality of resistors RA connected in series and a plurality of fuses F1 connected in parallel to the plurality of resistors RA. The second trimming circuit 34 includes a plurality of resistors RB connected in series and a plurality of fuses F2 connected in parallel to the plurality of resistors RB. Please note that in order to make FIG. 3 more compact, FIG. 3 only shows one resistor RA and one fuse F1 in the first trimming circuit 33, and one resistor in the second trimming circuit 34 is illustrated. RB and one fuse F2, but the invention is not limited thereto. The fuses F1 and F2 are blown according to the trimming code to trim the quasi-displacement bit reference voltage, so the first trimming circuit 33 is used to generate a trim reference voltage (ie, VREF + Vos) to one input of the error amplifier EA.
具體地說,在理想情況下,輸入電壓偏移Vos不存在,因此所有熔斷器F1和F2都不被熔斷。此時,第一修整電路33和第二修整電路34分別輸出參考電壓VREF(例如,200微伏特)和準位移位回饋電壓到誤差放大器EA。當輸入電壓偏移Vos為正時,至少一個熔斷器F1被熔斷,因此第一修整電路33產生到誤差放大器EA的修整參考電壓(即VREF + Vos)。當輸入電壓偏移Vos為負時,至少一個熔斷器F2被熔斷,因此第二修整電路34產生到誤差放大器EA的修整回饋電壓(即CS + Vos)。Specifically, in the ideal case, the input voltage offset Vos does not exist, so that all of the fuses F1 and F2 are not blown. At this time, the first trimming circuit 33 and the second trimming circuit 34 respectively output the reference voltage VREF (for example, 200 microvolts) and the quasi-shift bit feedback voltage to the error amplifier EA. When the input voltage offset Vos is positive, at least one fuse F1 is blown, so the first trimming circuit 33 generates a trimming reference voltage (ie, VREF + Vos) to the error amplifier EA. When the input voltage offset Vos is negative, at least one of the fuses F2 is blown, so the second trimming circuit 34 generates a trimming feedback voltage (i.e., CS + Vos) to the error amplifier EA.
在此請注意,電阻RA可以具有不同的電阻值。例如,電阻RA的電阻可以是0.25R、0.5R、R、2R、4R和R乘以2的其他冪次方,其中R是單位電阻值。以此類似的方式,電阻RB的電阻可以是0.25R、0.5R、R、2R、4R和R乘以2的其他冪次方。然而,電阻RA和RB的電阻值不用於限制本發明。Please note here that the resistor RA can have different resistance values. For example, the resistance of the resistor RA may be 0.25R, 0.5R, R, 2R, 4R, and R multiplied by 2, where R is the unit resistance value. In a similar manner, the resistance of resistor RB can be 0.25R, 0.5R, R, 2R, 4R, and R multiplied by 2 to other powers. However, the resistance values of the resistors RA and RB are not intended to limit the invention.
PMOS電晶體MP1和MP2可以不用被設計為彼此匹配,因為第一或第二修整電路33、34的修整參考電壓或修整回饋電壓不僅補償誤差放大器EA的輸入電壓偏移Vos,而且還補償準位移位器35中的PMOS電晶體MP1和MP2的不匹配。The PMOS transistors MP1 and MP2 may not be designed to match each other because the trim reference voltage or the trim feedback voltage of the first or second trimming circuits 33, 34 not only compensates for the input voltage offset Vos of the error amplifier EA, but also compensates for the level. The mismatch of the PMOS transistors MP1 and MP2 in the shifter 35.
補償電流吸收裝置36用於吸收補償電流,其中補償電流是通過第一修整電路33和第二修整電路34的電流Ios_B、Ios_A的總和。補償電流吸收裝置36包括具有高增益和較小電壓偏移的運算放大器Ios_OP、NMOS電晶體MN1、MN2和電阻RC。運算放大器Ios_OP的輸入端分別連接到預定參考電壓VD(或另一個調節的電壓基準)和電阻RC的一端。NMOS電晶體MN1和MN2的閘極端連接到運算放大器Ios_OP的輸出端。NMOS電晶體MN1和MN2的源端連接到電阻器RC的一端,電阻RC的另一端連接到接地電壓GND。NMOS電晶體MN1和MN2的汲極端分別連接到第二修整電路34和第一修整電路33。The compensation current absorbing means 36 is for absorbing the compensation current, wherein the compensation current is the sum of the currents Ios_B, Ios_A passing through the first trimming circuit 33 and the second trimming circuit 34. The compensation current absorbing device 36 includes an operational amplifier Ios_OP having a high gain and a small voltage offset, NMOS transistors MN1, MN2, and a resistor RC. The input terminals of the operational amplifier Ios_OP are respectively connected to a predetermined reference voltage VD (or another regulated voltage reference) and one end of the resistor RC. The gate terminals of the NMOS transistors MN1 and MN2 are connected to the output of the operational amplifier Ios_OP. The source terminals of the NMOS transistors MN1 and MN2 are connected to one end of the resistor RC, and the other end of the resistor RC is connected to the ground voltage GND. The NMOS terminals of the NMOS transistors MN1 and MN2 are connected to the second trimming circuit 34 and the first trimming circuit 33, respectively.
NMOS電晶體MN1和MN2應被設計成彼此匹配,使得通過NMOS電晶體MN1和MN2的電流Ios_B,Ios_A相同。此外,電阻RC的電阻值可以是單位電阻R的倍數,例如10R,也就是說,電阻RA、RB、RC需要被設計成彼此匹配。應注意,匹配電阻RA、RB、RC的設計比匹配電晶體的設計更容易,並且匹配僅兩個NMOS電晶體MN1和MN2的設計比用於匹配多於兩個電晶體的設計更容易。The NMOS transistors MN1 and MN2 should be designed to match each other such that the currents Ios_B, Ios_A through the NMOS transistors MN1 and MN2 are the same. Further, the resistance value of the resistor RC may be a multiple of the unit resistance R, for example, 10R, that is, the resistors RA, RB, RC need to be designed to match each other. It should be noted that the design of the matching resistors RA, RB, RC is easier than the design of the matching transistor, and matching the design of only two NMOS transistors MN1 and MN2 is easier than designing for matching more than two transistors.
例如,當預定參考電壓為200微伏特(mv)時,電阻RC的電阻值為10R,輸入電壓偏移Vos為5微伏特,對應於具有5R之電阻值的電阻RA之一個熔斷器F1在第一修整電路33中被熔斷,以便用5微伏特補償輸入電壓偏移Vos。也就是說,參考電壓VREF上的增量電壓為Vos_c = 0.5 *(200mv / 10R)* RA,當Vos_c為5微伏特時,電阻RA的電阻值應為R,其中通過第一修整電路33的電流Ios_B為0.5 *(200mv / 10R)。For example, when the predetermined reference voltage is 200 microvolts (mv), the resistance value of the resistor RC is 10R, the input voltage offset Vos is 5 microvolts, and one fuse F1 corresponding to the resistor RA having a resistance value of 5R is in the first A trim circuit 33 is blown to compensate for the input voltage offset Vos with 5 microvolts. That is, the incremental voltage on the reference voltage VREF is Vos_c = 0.5 *(200mv / 10R)* RA, and when Vos_c is 5 microvolts, the resistance value of the resistor RA should be R, wherein the first trimming circuit 33 The current Ios_B is 0.5 * (200 mv / 10R).
如上所述,運算放大器Ios_OP具有較小的電壓偏移,並且運算放大器Ios_OP的電壓偏移可以除以電阻RC的電阻值。例如,在三個標準偏差的情況下,誤差放大器EA具有20微伏特的最大輸入電壓偏移Vos,運算放大器Ios_OP的電壓偏移被表示為Vos_x,並且對應於具有2R之電阻值的電阻器RA的一個熔斷器被熔斷。此時,參考電壓VREF上的增量電壓為Vos_c = 0.5 *(200mv + Vos_x)/ 10R * 2R = 20mv + Vos_x / 10。假設運算放大器Ios_OP的輸入級面積大小為400μm2 ,在三個標準偏差的情況下,電壓偏移Vos_x的最大值為3.3微伏特。因此,影響參考電壓VREF上的增量電壓的電壓偏移Vos_x僅為0.33微伏特。0.33微伏特為200微伏特之0.165%的電壓變化,符合200微伏特之±3%容忍範圍的規範。As described above, the operational amplifier Ios_OP has a small voltage offset, and the voltage offset of the operational amplifier Ios_OP can be divided by the resistance value of the resistor RC. For example, in the case of three standard deviations, the error amplifier EA has a maximum input voltage offset Vos of 20 microvolts, the voltage offset of the operational amplifier Ios_OP is represented as Vos_x, and corresponds to a resistor RA having a resistance value of 2R One of the fuses is blown. At this time, the incremental voltage on the reference voltage VREF is Vos_c = 0.5 * (200mv + Vos_x) / 10R * 2R = 20mv + Vos_x / 10. Assume that the input stage area size of the operational amplifier Ios_OP is 400 μm 2 , and in the case of three standard deviations, the maximum value of the voltage offset Vos_x is 3.3 microvolts. Therefore, the voltage offset Vos_x affecting the incremental voltage on the reference voltage VREF is only 0.33 microvolts. 0.33 microvolts is a 0.165% voltage change of 200 microvolts, which meets the specification of a tolerance of ±3% of 200 microvolts.
因此,在本發明示範實施例中,因為僅兩個晶體管須被設計為匹配,以及多個電阻須被設計為匹配,因此用於補償誤差放大器的輸入電壓偏移的補償電路可以容易地被設計,並且具有小的面積。此外,在電路探測過程中,只須知道輸入電壓偏移即可,誤差放大器的偏移電流和誤差放大器的跨導可以忽略,而無須知悉。Therefore, in the exemplary embodiment of the present invention, since only two transistors must be designed to be matched, and a plurality of resistors must be designed to match, the compensation circuit for compensating the input voltage offset of the error amplifier can be easily designed And has a small area. In addition, in the circuit detection process, it is only necessary to know the input voltage offset, and the offset current of the error amplifier and the transconductance of the error amplifier can be ignored without being known.
上述描述僅僅是本發明的示範實施例,而不意圖限制本發明的範圍。 因此,基於本發明的權利要求的各種等效的改變、替代或修改都被視為被本發明之範圍所包含。The above description is only exemplary embodiments of the invention and is not intended to limit the scope of the invention. Accordingly, various equivalents, modifications, and alterations of the present invention are intended to be included within the scope of the present invention.
1‧‧‧開關模式LED驅動器1‧‧‧Switch mode LED driver
11‧‧‧電流-電壓轉換器11‧‧‧Current-to-Voltage Converter
2‧‧‧傳統補償電路2‧‧‧Traditional compensation circuit
22‧‧‧修整電路22‧‧‧Finishing circuit
23‧‧‧調光控制電路23‧‧‧ dimming control circuit
3‧‧‧補償電路3‧‧‧Compensation circuit
2、31‧‧‧能隙電壓產生器2, 31‧‧‧gap voltage generator
32‧‧‧分壓器32‧‧‧Divider
33‧‧‧第一修整電路33‧‧‧First trimming circuit
34‧‧‧第二修整電路34‧‧‧Second trimming circuit
35‧‧‧準位移位器35‧‧‧quasi-positioner
36‧‧‧補償電流吸收裝置36‧‧‧Compensated current absorbing device
AND‧‧‧輸入類比信號AND‧‧‧ input analog signal
C_COMP‧‧‧補償電容C_COMP‧‧‧Compensation Capacitor
CMP‧‧‧比較器CMP‧‧‧ comparator
COMP‧‧‧誤差信號COMP‧‧‧ error signal
CS‧‧‧回饋電壓CS‧‧‧feedback voltage
DUTY‧‧‧脈衝信號DUTY‧‧‧ pulse signal
EA‧‧‧誤差放大器EA‧‧‧Error Amplifier
F1、F2‧‧‧熔斷器F1, F2‧‧‧ fuse
GND‧‧‧接地電壓GND‧‧‧ Grounding voltage
iLED‧‧‧LED電流iLED‧‧‧LED current
Ios_OP‧‧‧運算放大器Ios_OP‧‧‧Operational Amplifier
IOS_A、IOS_B‧‧‧電流IOS_A, IOS_B‧‧‧ current
IS、IS1、IS2‧‧‧電流源IS, IS1, IS2‧‧‧ current source
MN1、MN2、MN3、MN4‧‧‧NMOS電晶體MN1, MN2, MN3, MN4‧‧‧ NMOS transistor
MP1、MP2、MP3、MP4‧‧‧PMOS電晶體MP1, MP2, MP3, MP4‧‧‧ PMOS transistors
R1、R2、R3、R4、RA、RB、RC‧‧‧電阻R1, R2, R3, R4, RA, RB, RC‧‧‧ resistance
SW1、SW2‧‧‧開關SW1, SW2‧‧‧ switch
VD‧‧‧預定參考電壓VD‧‧‧Predetermined reference voltage
VREF‧‧‧參考電壓VREF‧‧‧reference voltage
V_SAW‧‧‧鋸齒波信號V_SAW‧‧‧Sawtooth signal
Vos‧‧‧輸入電壓偏移Vos‧‧‧Input voltage offset
提供的附圖用以使本發明所屬技術領域具有通常知識者可以進一步理解本發明,並且被併入與構成本發明之說明書的一部分。附圖示出了本發明的示範實施例,並且用以與本發明之說明書一起用於解釋本發明的原理。The drawings are provided to enable a person of ordinary skill in the art to have a further understanding of the invention, and are incorporated in and constitute a part of the specification. The drawings illustrate exemplary embodiments of the invention and, together,
第1A圖是傳統開關模式LED驅動器的示意圖。Figure 1A is a schematic diagram of a conventional switch mode LED driver.
第1B圖是誤差放大器的示意圖。Figure 1B is a schematic diagram of an error amplifier.
第2A圖是用於補償誤差放大器之輸入電壓偏移的傳統補償電路的示意圖。Figure 2A is a schematic diagram of a conventional compensation circuit for compensating for the input voltage offset of the error amplifier.
第2B圖是類比調光比率曲線的曲線圖。Figure 2B is a graph of the analog dimming ratio curve.
第3圖是本發明的示範實施例之誤差放大器電路的示意圖。Figure 3 is a schematic diagram of an error amplifier circuit of an exemplary embodiment of the present invention.
無no
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106140826A TWI635702B (en) | 2017-11-23 | 2017-11-23 | Compensation circuit for input voltage offset of error amplifier |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106140826A TWI635702B (en) | 2017-11-23 | 2017-11-23 | Compensation circuit for input voltage offset of error amplifier |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI635702B TWI635702B (en) | 2018-09-11 |
TW201926886A true TW201926886A (en) | 2019-07-01 |
Family
ID=64452855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106140826A TWI635702B (en) | 2017-11-23 | 2017-11-23 | Compensation circuit for input voltage offset of error amplifier |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI635702B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355492B (en) * | 2018-12-21 | 2023-03-24 | 瑞昱半导体股份有限公司 | Comparator and analog-digital conversion circuit |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5067443B2 (en) * | 2010-05-24 | 2012-11-07 | サンケン電気株式会社 | LED lighting device |
US9018930B2 (en) * | 2010-12-23 | 2015-04-28 | Stmicroelectronics S.R.L. | Current generator for temperature compensation |
JP6248430B2 (en) * | 2013-06-24 | 2017-12-20 | サンケン電気株式会社 | LED driving device, LED lighting device, and error amplification circuit |
-
2017
- 2017-11-23 TW TW106140826A patent/TWI635702B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI635702B (en) | 2018-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7400163B2 (en) | Dead time control circuit capable of adjusting temperature characteristics of dead time | |
US9298200B2 (en) | Constant voltage circuit with drooping and foldback overcurrent protection | |
JP6927070B2 (en) | Corrected current output circuit and reference voltage circuit with correction function | |
US20050184805A1 (en) | Differential amplifier circuit | |
KR20190095097A (en) | Overcurrent limitation circuit, overcurrent limitation method and power source circuit | |
US11402863B2 (en) | Reference voltage circuit | |
TWI635702B (en) | Compensation circuit for input voltage offset of error amplifier | |
JP2019216346A (en) | Transimpedance amplifier circuit and variable gain amplifier | |
US9864387B2 (en) | Voltage regulator | |
US11409317B2 (en) | Piecewise correction of errors over temperature without using on-chip temperature sensor/comparators | |
JP2010003115A (en) | Constant current circuit | |
CN110034734B (en) | Compensation circuit for compensating input bias of error amplifier | |
US10979000B2 (en) | Differential amplifier circuit | |
WO2022007744A1 (en) | Temperature compensation circuit of power amplifier and temperature compensation method | |
US10014848B1 (en) | Compensation circuit for input voltage offset of error amplifier and error amplifier circuit | |
US8723502B2 (en) | Bandgap reference voltage generator | |
JP4411633B2 (en) | Delay-fixed loop power supply voltage supply apparatus and power supply voltage supply method | |
JP2008072234A (en) | Driver circuit | |
JP2020022103A (en) | Apparatus with differential amplifier circuit | |
US20220368288A1 (en) | Amplifying Circuit and Voltage Generating Circuit | |
US11507123B2 (en) | Constant voltage circuit | |
JP2008271449A (en) | Attenuator | |
JP4946643B2 (en) | Power amplifier circuit | |
CN106992755B (en) | Transconductance operational amplifier suitable for wide input range application | |
US8653859B2 (en) | Electronic comparison circuit |