CN103813587B - A kind of LED drive circuit of numerical model analysis light modulation - Google Patents
A kind of LED drive circuit of numerical model analysis light modulation Download PDFInfo
- Publication number
- CN103813587B CN103813587B CN201410030379.0A CN201410030379A CN103813587B CN 103813587 B CN103813587 B CN 103813587B CN 201410030379 A CN201410030379 A CN 201410030379A CN 103813587 B CN103813587 B CN 103813587B
- Authority
- CN
- China
- Prior art keywords
- nmos
- voltage
- drain
- pmos
- tube
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000004458 analytical method Methods 0.000 title description 2
- 238000001514 detection method Methods 0.000 claims abstract description 59
- 238000005070 sampling Methods 0.000 claims abstract description 40
- 102100038387 Cystatin-SN Human genes 0.000 claims abstract description 14
- 101000884768 Homo sapiens Cystatin-SN Proteins 0.000 claims abstract description 14
- 239000003990 capacitor Substances 0.000 claims description 43
- 230000004044 response Effects 0.000 abstract description 7
- 238000000034 method Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Electronic Switches (AREA)
Abstract
本发明公开了一种具有数模混合调光功能的LED驱动电路,主要解决现有电压控制模式的电路结构输入响应速度慢,包括调光控制单元,峰值电流检测采样单元和恒定关断时间控制单元。调光控制单元通过模拟和数字两种调光方式调节流过LED上的平均电流的大小来实现亮度的调节,分别输出峰值电流检测阈值VCST1给峰值电流检测采样单元,而且输出两个使能VEN1和VEN2给恒定关断时间控制单元;峰值电流检测采样单元将比较结果输入到恒定关断时间控制单元;恒定关断时间控制单元在检测到峰值电流时,产生一个恒定的关断时间。本发明提高了输入响应速度,可实现快速的数模混合调光,可应用于LED驱动电路。
The invention discloses an LED drive circuit with digital-analog hybrid dimming function, which mainly solves the slow input response speed of the circuit structure of the existing voltage control mode, including a dimming control unit, a peak current detection sampling unit and a constant off-time control unit. The dimming control unit adjusts the size of the average current flowing through the LED through two dimming methods, analog and digital, to achieve brightness adjustment, and outputs the peak current detection threshold V CST1 to the peak current detection sampling unit, and outputs two enable V EN1 and V EN2 are given to the constant off-time control unit; the peak current detection sampling unit inputs the comparison result to the constant off-time control unit; the constant off-time control unit generates a constant off-time when the peak current is detected . The invention improves the input response speed, can realize fast digital-analog hybrid dimming, and can be applied to LED driving circuits.
Description
技术领域technical field
本发明属于电子电路技术领域,涉及模拟集成电路,特别是一种数模混合调光的LED驱动电路。The invention belongs to the technical field of electronic circuits, and relates to an analog integrated circuit, in particular to a digital-analog hybrid dimming LED drive circuit.
背景技术Background technique
随着半导体技术的快速发展和应用领域的不断扩展,具有绿色环保、节能、效率高、寿命长等优点的LED照明技术现已广泛地应用在了汽车照明、建筑照明等各个领域。但要发挥这些优势则需要LED驱动芯片的配合,因此,LED驱动集成电路的进一步发展成为社会的迫切需求。在常见的几种LED驱动电路中,DC-DC转换器因其工作效率高、操作简单,现已得到了普遍的应用。DC-DC转换器是将某一直流输入电压转换为另一直流输出电压的电路结构,其原理是通过控制功率开关管的开通和关断时间来调节环路的占空比,从而维持输出的恒定。DC-DC转换电路主要有Buck(降压)、Boost(升压)、Cuk(升降压)和升-降压(Buck-Boost)四种拓扑结构,一般由功率开关管、储能元件电感、续流二极管、电容、比较器和误差放大器组成。通过由误差放大器和比较器构成的反馈环路来控制功率开关管的开启和关断时间,从而维持输出的恒定。整个电路利用电感上的储能为负载提供连续的电流。With the rapid development of semiconductor technology and the continuous expansion of application fields, LED lighting technology with the advantages of environmental protection, energy saving, high efficiency, and long life has been widely used in various fields such as automotive lighting and architectural lighting. However, to bring these advantages into play requires the cooperation of LED driver chips. Therefore, the further development of LED driver integrated circuits has become an urgent need of the society. Among several common LED drive circuits, the DC-DC converter has been widely used because of its high working efficiency and simple operation. The DC-DC converter is a circuit structure that converts a certain DC input voltage into another DC output voltage. Its principle is to adjust the duty cycle of the loop by controlling the turn-on and turn-off time of the power switch tube, so as to maintain the output voltage. constant. DC-DC conversion circuits mainly have four topologies: Buck (step-down), Boost (boost), Cuk (boost-boost) and buck-boost (Buck-Boost), generally composed of power switch tubes, energy storage element inductors , Freewheeling diodes, capacitors, comparators and error amplifiers. The turn-on and turn-off time of the power switch tube is controlled by a feedback loop composed of an error amplifier and a comparator, so as to maintain a constant output. The entire circuit uses the energy stored in the inductor to provide a continuous current to the load.
典型的电压控制模式DC-DC转换器的系统结构如图1所示。该电路中包含一个电压负反馈环路,采用脉冲宽度调制方法(PWM)实现控制。具体工作原理为:输出电压VOUT经采样电阻RSNS分压后与参考电压VREF相比较,其差值经误差放大器放大后得到VCOMP,作为PWM比较器的同相输入端,通过与PWM比较器反相输入端的锯齿波信号VRAMP进行比较,用比较后所得信号来控制功率开关管Q1的开启与关断。当输出电压VOUT下降时,由采样电阻RSNS分压所得反馈电压信号会下降,则通过误差放大器放大后的电压VCOMP会增加,使得功率开关管Q1的导通时间增加,输出电压上升。电压控制模式通过这种负反馈的方式来维持输出的恒定。但是,该电压控制模式DC-DC转换器需要外部补偿网络,使得输入响应速度慢,控制环路易受到电流的干扰。The system structure of a typical voltage control mode DC-DC converter is shown in Figure 1. The circuit includes a voltage negative feedback loop controlled by pulse width modulation (PWM). The specific working principle is: the output voltage V OUT is divided by the sampling resistor R SNS and compared with the reference voltage V REF , the difference is amplified by the error amplifier to obtain V COMP , which is used as the non-inverting input terminal of the PWM comparator, and compared with the PWM Compare the sawtooth wave signal V RAMP at the inverting input terminal of the device, and use the compared signal to control the turn-on and turn - off of the power switch tube Q1. When the output voltage V OUT drops, the feedback voltage signal obtained by dividing the voltage by the sampling resistor R SNS will drop, and the voltage V COMP amplified by the error amplifier will increase, so that the conduction time of the power switch tube Q 1 increases, and the output voltage rises . The voltage control mode keeps the output constant through this kind of negative feedback. However, this voltage-controlled mode DC-DC converter requires an external compensation network, making the input response slow and the control loop vulnerable to current disturbances.
发明内容Contents of the invention
本发明的目的在于,针对上述电压控制模式DC-DC转换器的输入响应速度慢,以及控制环路易受到电流的干扰的问题,提出一种数模混合调光的LED驱动电路,该电路能够实现恒定关断时间控制模式,并具有数模混合调光功能。在功率开关管Q1导通条件下,当第一电阻R1两端电压达到设定的比较器的阈值电压时,即检测到所设定的峰值电流,Q1关断。此外,系统的关断时间是恒定的。整个电路结构简单,控制方便;迟滞控制响应速度快;环路补偿简洁;系统稳定性好。The object of the present invention is to propose a digital-analog hybrid dimming LED drive circuit for the slow input response speed of the DC-DC converter in the above-mentioned voltage control mode and the control loop is easily disturbed by the current. Constant off-time control mode with digital-analog hybrid dimming function. When the power switch tube Q1 is turned on, when the voltage across the first resistor R1 reaches the set threshold voltage of the comparator, the set peak current is detected, and Q1 is turned off. In addition, the off-time of the system is constant. The whole circuit structure is simple, the control is convenient; the hysteresis control response speed is fast; the loop compensation is simple; the system stability is good.
为实现上述目的,本发明采用如下技术方案予以解决:In order to achieve the above object, the present invention adopts the following technical solutions to solve it:
一种数模混合调光的LED驱动电路,包括如下单元:A digital-analog hybrid dimming LED drive circuit, comprising the following units:
调光控制单元,包括模拟调光电路和数字调光电路,其中,所述模拟调光电路用于接收驱动电压VADJ1,并通过调节驱动电压VADJ1的电压值而输出峰值电流检测阈值电压VCST1,并将输入到峰值电流检测采样单元;所述数字调光电路用于接收使能信号VEN,并在使能信号VEN的控制下,向峰值电流检测采样单元和恒定关断时间控制单元输出使能信号VEN1,同时向恒定关断时间控制单元输出使能信号VEN2;The dimming control unit includes an analog dimming circuit and a digital dimming circuit, wherein the analog dimming circuit is used to receive the driving voltage V ADJ1 , and output the peak current detection threshold voltage V by adjusting the voltage value of the driving voltage V ADJ1 CST1 , and will be input to the peak current detection sampling unit; the digital dimming circuit is used to receive the enable signal V EN , and under the control of the enable signal V EN , to the peak current detection sampling unit and constant off-time control The unit outputs an enable signal V EN1 , and at the same time outputs an enable signal V EN2 to the constant off-time control unit;
峰值电流检测采样单元,用于接收调光控制单元中的接收模拟调光电路发送的峰值电流检测阈值电压VCST1以及数字调光电路发送的输出使能信号VEN1;并在使能信号VEN1的控制下,将输入电压VIN和由输入电压VIN经压降VSNS得到的电压V1与峰值检测阈值电压VCST1进行比较,以实现峰值电流的检测,并将输出信号V3输入恒定关断时间控制单元;The peak current detection sampling unit is used to receive the peak current detection threshold voltage V CST1 sent by the receiving analog dimming circuit in the dimming control unit and the output enable signal V EN1 sent by the digital dimming circuit; and the enable signal V EN1 Under the control of the input voltage V IN and the voltage V 1 obtained by the input voltage V IN through the voltage drop V SNS is compared with the peak detection threshold voltage V CST1 to realize the detection of the peak current, and the output signal V 3 is input to a constant Off time control unit;
恒定关断时间控制单元:用于接收调光控制单元中数字调光电路发送的使能信号VEN1和使能信号VEN2,同时接收峰值电流检测采样单元发送的输出信号V3;并在使能信号VEN1和使能信号VEN2控制下,在检测到峰值电流时,调节输入电压VADJ2,得到一个输出电压V2,并将输出电压V2输送至功率开关管Q1;Constant off-time control unit: used to receive the enable signal V EN1 and enable signal V EN2 sent by the digital dimming circuit in the dimming control unit, and at the same time receive the output signal V 3 sent by the peak current detection sampling unit; Under the control of the enable signal V EN1 and the enable signal V EN2 , when the peak current is detected, the input voltage V ADJ2 is adjusted to obtain an output voltage V 2 , and the output voltage V 2 is sent to the power switch tube Q 1 ;
功率开关管Q1:用于接收恒定关断时间控制单元发送的输出电压V2,并根据输出电压V2产生一恒定的关断时间TOFF;Power switch tube Q 1 : used to receive the output voltage V 2 sent by the constant off-time control unit, and generate a constant off-time T OFF according to the output voltage V 2 ;
输入的直流电源并联第一电容C1后得到输入电压VIN,第一电阻R1两端的输入电压VIN和电压V1连接到峰值电流检测单元;恒定关断时间控制单元输出的输出电压V2连接到一驱动Driver,用于控制功率开关管Q1的导通和关断;功率开关管Q1与肖特基二极管D1和第二电容C2并联,且与第一电感L1串联。The input DC power supply is connected in parallel with the first capacitor C 1 to obtain the input voltage V IN , the input voltage V IN and the voltage V 1 at both ends of the first resistor R 1 are connected to the peak current detection unit; the output voltage V output by the constant off-time control unit 2 is connected to a driver, which is used to control the turn-on and turn - off of the power switch tube Q1 ; the power switch tube Q1 is connected in parallel with the Schottky diode D1 and the second capacitor C2, and is connected in series with the first inductor L1 .
进一步的,所述调光控制单元包括模拟调光电路和数字调光电路。Further, the dimming control unit includes an analog dimming circuit and a digital dimming circuit.
进一步的,所述模拟调光电路包括放大器、NMOS管M101、第二电阻R2、第三电阻R3和电流源IS1;所述数字调光电路12包括第一施密特触发器和第二施密特触发器、反相器、PMOS管M102、PMOS管M104、NMOS管M103、NMOS管M105和第三电容C3;其中:Further, the analog dimming circuit includes an amplifier, an NMOS transistor M 101 , a second resistor R 2 , a third resistor R 3 and a current source IS1 ; the digital dimming circuit 12 includes a first Schmitt trigger and A second Schmitt trigger, an inverter, a PMOS transistor M 102 , a PMOS transistor M 104 , an NMOS transistor M 103 , an NMOS transistor M 105 and a third capacitor C 3 ; where:
所述放大器,其同相输入端连接到驱动电压VADJ1,并且通过第三电阻R3接地;其反相端通过第二电阻R2接地;其输出端连接到NMOS管M101的栅极;NMOS管M101的漏极连接到峰值电流检测采样单元的输入阈值电压VCST1,其源级通过第二电阻R2接地;电流源IS1输入端接入内部电源VDD,其输出端通过第三电阻R3接到地,并且接入VADJ1;In the amplifier, its non-inverting input terminal is connected to the driving voltage V ADJ1 and grounded through the third resistor R3 ; its inverting terminal is grounded through the second resistor R2; its output terminal is connected to the gate of the NMOS transistor M101 ; the NMOS The drain of the tube M 101 is connected to the input threshold voltage V CST1 of the peak current detection sampling unit, and its source is grounded through the second resistor R 2 ; the input terminal of the current source IS1 is connected to the internal power supply V DD , and its output terminal is connected through the third Resistor R 3 is connected to ground and connected to V ADJ1 ;
所述第一施密特触发器,其输入端接在NMOS管M103的漏极,同时接在第三电容C3的正极,其输出端接在反相器的输入端,同时接入使能信号VEN1;其电源端分别接内部电源VDD和地;The first Schmitt trigger, its input terminal is connected to the drain of the NMOS transistor M103 , and is connected to the positive pole of the third capacitor C3 at the same time, and its output terminal is connected to the input terminal of the inverter. Enable signal V EN1 ; its power supply terminals are respectively connected to internal power supply V DD and ground;
所述第二施密特触发器,其输入端接在反相器的输出端上,同时连接PMOS管M104与NMOS管M105的漏极;其输出端连接在恒定关断时间控制单元中与非门的一个输入端的使能信号VEN2上;其电源端分别接在内部电源VDD和地上;In the second Schmitt trigger, its input terminal is connected to the output terminal of the inverter, and the drains of the PMOS transistor M 104 and the NMOS transistor M 105 are connected at the same time; its output terminal is connected to the constant off-time control unit The enable signal V EN2 of one input terminal of the NAND gate; its power supply terminal is respectively connected to the internal power supply V DD and ground;
所述反相器,其输入端连接在施密特触发器的输出端上,其输出端连接在PMOS管M104的栅极上;PMOS管M102,其源极连接内部电源VDD,其栅极直接到地;PMOS管M104,其源极接入内部电源VDD;NMOS管M103,其栅极连接使能输入信号VEN,其源级接地;NMOS管M105,其源级接地,其栅极接入使能输入信号VEN;第三电容C3,其负极接地。The input of the inverter is connected to the output of the Schmitt trigger, and its output is connected to the gate of the PMOS transistor M 104 ; the source of the PMOS transistor M 102 is connected to the internal power supply V DD , and its output is connected to the gate of the PMOS transistor M 104 . The gate is directly connected to the ground; the source of the PMOS transistor M 104 is connected to the internal power supply V DD ; the gate of the NMOS transistor M 103 is connected to the enable input signal V EN , and its source is grounded; the source of the NMOS transistor M 105 is connected to the internal power supply V DD . It is grounded, and its gate is connected to the enable input signal V EN ; the third capacitor C 3 , its negative pole is grounded.
进一步的,所述峰值电流检测采样单元,包括反相器、电流源IS2、第四电阻R4、第五电阻R5、第六电阻R6、第七电阻R7、高压PMOS管M203、高压PMOS管M205、高压NMOS管M204、高压NMOS管M206、NMOS管M201、NMOS管M202、NMOS管M207、NMOS管M208、NMOS管M209、NMOS管M210、NMOS管M211、NMOS管M212、NMOS管M215、NMOS管M220、NMOS管M221、NMOS管M223、NMOS管M224、NMOS管M226、PMOS管M213、PMOS管M214、PMOS管M216、PMOS管M217、PMOS管M218、PMOS管M219、PMOS管M222和PMOS管M225;其中:Further, the peak current detection sampling unit includes an inverter, a current source I S2 , a fourth resistor R 4 , a fifth resistor R 5 , a sixth resistor R 6 , a seventh resistor R 7 , and a high-voltage PMOS transistor M 203 , High-voltage PMOS tube M 205 , High-voltage NMOS tube M 204 , High-voltage NMOS tube M 206 , NMOS tube M 201 , NMOS tube M 202 , NMOS tube M 207 , NMOS tube M 208 , NMOS tube M 209 , NMOS tube M 210 , NMOS tube Tube M 211 , NMOS tube M 212 , NMOS tube M 215 , NMOS tube M 220 , NMOS tube M 221 , NMOS tube M 223 , NMOS tube M 224 , NMOS tube M 226 , PMOS tube M 213 , PMOS tube M 214 , PMOS tube Tube M 216 , PMOS tube M 217 , PMOS tube M 218 , PMOS tube M 219 , PMOS tube M 222 and PMOS tube M 225 ; wherein:
所述反相器,其输入端连接使能输入信号VEN1,其输出端接NMOS管M207;The input of the inverter is connected to the enable input signal V EN1 , and its output is connected to the NMOS transistor M 207 ;
所述电流源IS2,其输入端接内部电源VDD,其输出端接在NMOS管M207和M208的漏极上,同时接在NMOS管M208和M209的栅极上;所述NMOS管M208、M209、M210、M211、M212构成一排电流镜,NMOS管M208、M209、M210、M211、M212的栅极都连接在NMOS管M208的栅极上,源极都接地;The input terminal of the current source IS2 is connected to the internal power supply V DD , and its output terminal is connected to the drains of the NMOS transistors M 207 and M 208 , and connected to the gates of the NMOS transistors M 208 and M 209 ; NMOS transistors M 208 , M 209 , M 210 , M 211 , and M 212 form a row of current mirrors, and the gates of NMOS transistors M 208 , M 209 , M 210 , M 211 , and M 212 are all connected to the gate of NMOS transistor M 208 Both poles and sources are grounded;
所述NMOS管M209的漏极接在组成差分对的NMOS管M201、M202的源极上;其中NMOS管M210的漏极接在高压NMOS管M204的源极上;NMOS管M211的漏极接在高压NMOS管M206的源极上,NMOS管M212的漏极接在PMOS管M213的漏极上;The drain of the NMOS transistor M 209 is connected to the sources of the NMOS transistors M 201 and M 202 forming a differential pair; the drain of the NMOS transistor M 210 is connected to the source of the high-voltage NMOS transistor M 204 ; the NMOS transistor M The drain of 211 is connected to the source of the high-voltage NMOS transistor M 206 , and the drain of the NMOS transistor M 212 is connected to the drain of the PMOS transistor M 213 ;
所述NMOS管M201和M202构成差分对,它们的漏极分别通过第六电阻R6和第七电阻R7接在输入电压VIN上,而它们的栅极则分别通过第四电阻R4和第五电阻R5连接到输入电压V1和VIN上;The NMOS transistors M201 and M202 form a differential pair, their drains are respectively connected to the input voltage V IN through the sixth resistor R6 and the seventh resistor R7 , and their gates are respectively connected through the fourth resistor R 4 and the fifth resistor R 5 are connected to the input voltage V 1 and V IN ;
所述高压PMOS管M203、M205和NMOS管M204、M206是漏极高压管,其中,高压PMOS管M203、M205的源极分别接在差分对NMOS管M201、M202的漏极上,它们的漏极分别连接在NMOS管M204、M206的漏极上,它们的栅极都连接输入电压VB1;高压NMOS管M204、M206的栅极都连接输入电压VB2,它们的源级分别连接在组成差分对的NMOS管M219、M218的栅极上;The high-voltage PMOS transistors M 203 and M 205 and the NMOS transistors M 204 and M 206 are high-voltage drain transistors, wherein the sources of the high-voltage PMOS transistors M 203 and M 205 are connected to the differential pair of NMOS transistors M 201 and M 202 respectively. On the drains, their drains are respectively connected to the drains of the NMOS transistors M 204 and M 206 , and their gates are connected to the input voltage V B1 ; the gates of the high-voltage NMOS transistors M 204 and M 206 are connected to the input voltage V B2 , their sources are respectively connected to the gates of NMOS transistors M 219 and M 218 forming a differential pair;
所述PMOS管M213、M216构成电流镜,它们的源极都接到内部电源VDD,PMOS管M216的漏极连接到组成差分对的PMOS管M218、M219的源极;PMOS管M217源极连接内部电源VDD,栅极连接使能信号VEN1,漏极连接PMOS管M213的漏极;The PMOS transistors M 213 and M 216 constitute a current mirror, their sources are connected to the internal power supply V DD , and the drain of the PMOS transistor M 216 is connected to the sources of the PMOS transistors M 218 and M 219 that form a differential pair; The source of the tube M 217 is connected to the internal power supply V DD , the gate is connected to the enable signal V EN1 , and the drain is connected to the drain of the PMOS tube M 213 ;
所述PMOS管M214和M222构成电流镜,它们的源极接内部电源VDD,其中PMOS管M214的漏极接NMOS管M215的漏极,PMOS管M222的漏极接NMOS管M223的漏极;所述NMOS管M215和M220也构成电流镜,其源级都接地,其中NMOS管M220的漏极接在组成差分对的PMOS管M218的漏极上;所述NMOS管M221和M223也构成电流镜,它们的源极都接地,NMOS管M221的漏极接在组成差分对的PMOS管M219的漏极上;The PMOS transistors M 214 and M 222 form a current mirror, and their sources are connected to the internal power supply V DD , wherein the drain of the PMOS transistor M 214 is connected to the drain of the NMOS transistor M 215 , and the drain of the PMOS transistor M 222 is connected to the NMOS transistor The drain of M 223 ; the NMOS transistors M 215 and M 220 also constitute a current mirror, and their sources are all grounded, wherein the drain of the NMOS transistor M 220 is connected to the drain of the PMOS transistor M 218 forming a differential pair; The above-mentioned NMOS transistors M 221 and M 223 also constitute a current mirror, their sources are all grounded, and the drain of the NMOS transistor M 221 is connected to the drain of the PMOS transistor M 219 that forms a differential pair;
所述NMOS管M224,其栅极连接使能信号VEN1,用于控制其开关状态,其漏极接在NMOS管M223的漏极上,源极接地;所述PMOS管M225和NMOS管M226构成反相器,该反相器的输入端接在NMOS管M223的漏极上,其输出端接输出信号V3,其中PMOS管M225的源极接内部电源VDD,NMOS管M226的源极接地。The gate of the NMOS transistor M 224 is connected to the enable signal V EN1 for controlling its switching state, its drain is connected to the drain of the NMOS transistor M 223 , and its source is grounded; the PMOS transistor M 225 and the NMOS The tube M 226 constitutes an inverter, the input terminal of the inverter is connected to the drain of the NMOS tube M 223 , and the output terminal is connected to the output signal V 3 , wherein the source of the PMOS tube M 225 is connected to the internal power supply V DD , and the NMOS tube M 225 is connected to the internal power supply V DD . The source of tube M 226 is grounded.
进一步的,所述恒定关断时间控制单元,包括放大器、比较器、RS触发器、反相器、反相器、与非门、第四电容C4、第八电阻R8、PMOS管M301、PMOS管M302、PMOS管M303和PMOS管M304、NMOS管M305和NMOS管M306;其中:Further, the constant off-time control unit includes an amplifier, a comparator, an RS flip-flop, an inverter, an inverter, a NAND gate, a fourth capacitor C 4 , an eighth resistor R 8 , and a PMOS transistor M 301 , PMOS transistor M 302 , PMOS transistor M 303 and PMOS transistor M 304 , NMOS transistor M 305 and NMOS transistor M 306 ; wherein:
所述放大器,其同相输入端连接输入电压VADJ2,反向输入端通过第八电阻R8接地,其输出端接NMOS管M305的栅极;所述比较器,其同相输入端接基准电压VREF,其反相端接PMOS管M303的漏极,其输出端接RS触发器的复位端R;所述RS触发器由两个与非门构成,其置数端S接在反相器的输出端上,其输出端接在反相器的输入端上;所述反相器,其输入端接峰值电流检测采样单元的输出信号V3,所述反相器,其输出端接与非门的一个输入上;所述与非门的另一个输入端接使能信号VEN2,其输出端接输出电压V2;In the amplifier, its non-inverting input terminal is connected to the input voltage V ADJ2 , the inverting input terminal is grounded through the eighth resistor R8 , and its output terminal is connected to the gate of the NMOS transistor M 305 ; the non-inverting input terminal of the comparator is connected to the reference voltage V REF , its inverting terminal is connected to the drain of the PMOS transistor M 303 , and its output terminal is connected to the reset terminal R of the RS flip-flop; the RS flip-flop is composed of two NAND gates, and its setting terminal S is connected to the inverting On the output terminal of the inverter, its output terminal is connected to the input terminal of the inverter; the input terminal of the inverter is connected to the output signal V 3 of the peak current detection sampling unit, and the output terminal of the inverter is connected to One input of the NAND gate; the other input terminal of the NAND gate is connected to the enable signal V EN2 , and its output terminal is connected to the output voltage V 2 ;
所述PMOS管M301、M302、M303和M304构成电流镜,其中,PMOS管M301和M302的源极接在内部电源VDD上,而漏极分别接在PMOS管M304和M303的源极上;通过取相同的管子尺寸,得到电流关系为:ID6=ID7=ID8=ID9;The PMOS transistors M 301 , M 302 , M 303 and M 304 form a current mirror, wherein the sources of the PMOS transistors M 301 and M 302 are connected to the internal power supply V DD , and the drains are respectively connected to the PMOS transistors M 304 and On the source of M 303 ; by taking the same tube size, the current relationship is: I D6= I D7= I D8= I D9 ;
所述PMOS管M304的漏极连接NMOS管M305的漏极,PMOS管M303的漏极通过第四电容C4接地;所述NMOS管M305的源极通过第八电阻R8接地,NMOS管M306的栅极接峰值电流检测采样单元的输出信号V3,其漏极接比较器的反相输入端,源极接地。The drain of the PMOS transistor M304 is connected to the drain of the NMOS transistor M305 , the drain of the PMOS transistor M303 is grounded through the fourth capacitor C4 ; the source of the NMOS transistor M305 is grounded through the eighth resistor R8 , The gate of the NMOS transistor M306 is connected to the output signal V 3 of the peak current detection sampling unit, its drain is connected to the inverting input terminal of the comparator, and its source is grounded.
进一步的,所述峰值电流检测采样单元包括反相器、第四电阻R4、第五电阻R5、PMOS管M201、PMOS管M202、PMOS管M205、PMOS管M206、PMOS管M209、PMOS管M212、PMOS管M213、NMOS管M203、NMOS管M204、NMOS管M207、NMOS管M208、NMOS管M210、NMOS管M211、NMOS管M214和NMOS管M215;其中:Further, the peak current detection sampling unit includes an inverter, a fourth resistor R 4 , a fifth resistor R 5 , a PMOS transistor M 201 , a PMOS transistor M 202 , a PMOS transistor M 205 , a PMOS transistor M 206 , and a PMOS transistor M 209 , PMOS tube M 212 , PMOS tube M 213 , NMOS tube M 203 , NMOS tube M 204 , NMOS tube M 207 , NMOS tube M 208 , NMOS tube M 210 , NMOS tube M 211 , NMOS tube M 214 , and NMOS tube M 215 ; of which:
所述反相器,其输入端连接PMOS管M213的漏极,输出端连接恒定关断时间控制单元中NMOS管M306的栅极,用于控制其开关;所述PMOS管M212和M213构成电流镜,它们的源极都连接内部电源VDD,PMOS管M212的漏极连接NMOS管M214的漏极,PMOS管M213的漏极连接NMOS管M215的漏极;In the inverter, its input end is connected to the drain of the PMOS transistor M 213 , and its output end is connected to the grid of the NMOS transistor M 306 in the constant off-time control unit for controlling its switch; the PMOS transistors M 212 and M 213 constitutes a current mirror, their sources are connected to the internal power supply V DD , the drain of the PMOS transistor M 212 is connected to the drain of the NMOS transistor M 214 , and the drain of the PMOS transistor M 213 is connected to the drain of the NMOS transistor M 215 ;
所述NMOS管M215,其栅极连接高压NMOS管M210的源级,其源极接地;NMOS管M214、M211、M208的栅极都接在NMOS管M207的栅极上,它们的源极都接地,其中NMOS管M211的漏极接高压NMOS管M210的源极,NMOS管M208的漏极连接高压NMOS管M206的源极,NMOS管M207的漏极连接高压NMOS管M205的源极;高压NMOS管M210的栅极连接内部电源VDD,其漏极连接高压PMOS管M209的漏极;所述PMOS管M209的源极连接输入电压VIN,其栅极连接PMOS管M202和高压NMOS管M204的漏极;The gate of the NMOS transistor M215 is connected to the source of the high-voltage NMOS transistor M210 , and its source is grounded; the gates of the NMOS transistors M214 , M211 , and M208 are all connected to the gate of the NMOS transistor M207 , Their sources are all grounded, wherein the drain of NMOS transistor M211 is connected to the source of high-voltage NMOS transistor M210 , the drain of NMOS transistor M208 is connected to the source of high-voltage NMOS transistor M206 , and the drain of NMOS transistor M207 is connected to The source of the high-voltage NMOS transistor M 205 ; the gate of the high-voltage NMOS transistor M 210 is connected to the internal power supply V DD , and its drain is connected to the drain of the high-voltage PMOS transistor M 209 ; the source of the PMOS transistor M 209 is connected to the input voltage V IN , the gate of which is connected to the drain of the PMOS transistor M202 and the high-voltage NMOS transistor M204 ;
所述PMOS管M201和M202构成电流镜,它们的源极连接输入电压VIN,其中PMOS管M201、M202的漏极分别连接NMOS管M203、M204的漏极;所述高压NMOS管M204,其栅极连接调光控制单元中模拟调光电路的输出阈值电压VCST,并通过第五电阻R5连接输入电压VIN,其源极和NMOS管M203的源极都连接在高压NMOS管M206的漏极;所述NMOS管M203,其栅极通过第四电阻R4连接输入电压V1;所述高压NMOS管M205和M206构成电流镜,其中,NMOS管M205的漏极连接电流源IS2。The PMOS transistors M 201 and M 202 constitute a current mirror, and their sources are connected to the input voltage V IN , wherein the drains of the PMOS transistors M 201 and M 202 are respectively connected to the drains of the NMOS transistors M 203 and M 204 ; the high voltage The NMOS transistor M 204 , its gate is connected to the output threshold voltage V CST of the analog dimming circuit in the dimming control unit, and is connected to the input voltage V IN through the fifth resistor R 5 , and its source is connected to the source of the NMOS transistor M 203 connected to the drain of the high-voltage NMOS transistor M206 ; the gate of the NMOS transistor M203 is connected to the input voltage V1 through the fourth resistor R4; the high - voltage NMOS transistors M205 and M206 form a current mirror, wherein the NMOS The drain of the tube M 205 is connected to the current source I S2 .
进一步的,所述恒定关断时间控制单元包括比较器、RS触发器、反相器和反相器、与非门、第四电容C4,第八电阻R8和NMOS管M301;其中:Further, the constant off-time control unit includes a comparator, an RS flip-flop, an inverter and an inverter, a NAND gate, a fourth capacitor C 4 , an eighth resistor R 8 and an NMOS transistor M 301 ; wherein:
所述比较器,其同相输入端接基准电压VREF,其反相输入端连接NMOS管M301的漏极,并通过第八电阻R8连接在输出电压VADJ2上或通过第四电容C4接地,其输出端接RS触发器的复位端R;所述RS触发器由两个与非门构成,其置数端S接在反相器的输出端上,其输出端接在反相器的输入端上;所述反相器,其输入端接峰值电流检测采样单元的输出信号V3;所述反相器,其输出端接与非门的一个输入上;所述与非门的另一个输入端接使能信号VEN2,其输出端接输出电压V2;所述NMOS管M301,其栅极连接峰值电流检测采样单元的输出信号V3,其源极接地。In the comparator, its non-inverting input terminal is connected to the reference voltage V REF , its inverting input terminal is connected to the drain of the NMOS transistor M301 , and is connected to the output voltage V ADJ2 through the eighth resistor R8 or through the fourth capacitor C4 It is grounded, and its output terminal is connected to the reset terminal R of the RS flip-flop; the RS flip-flop is composed of two NAND gates, and its setting terminal S is connected to the output terminal of the inverter, and its output terminal is connected to the inverter on the input terminal of the inverter; the input terminal of the inverter is connected to the output signal V 3 of the peak current detection sampling unit; the output terminal of the inverter is connected to an input of the NAND gate; the input terminal of the NAND gate The other input terminal is connected to the enable signal V EN2 , and its output terminal is connected to the output voltage V 2 ; the gate of the NMOS transistor M 301 is connected to the output signal V 3 of the peak current detection sampling unit, and its source is grounded.
本发明与现有技术相比具有以下优点:Compared with the prior art, the present invention has the following advantages:
1、本发明通过比较第一电阻R1两端电压与比较器的阈值电压来触发功率开关管的关断,不需要误差放大器和反馈网络,因此与传统的电压控制模式相比,具有更快的响应速度。1. The present invention triggers the shutdown of the power switch tube by comparing the voltage across the first resistor R1 with the threshold voltage of the comparator, and does not require an error amplifier and a feedback network. Therefore, compared with the traditional voltage control mode, it has faster response speed.
2、本发明的恒定关断时间控制模式LED驱动电路无需外部补偿网络,环路补偿简洁,易于实现,控制方便;而且开关频率只随VIN的增大而增大,系统稳定性好,有效地避免了传统的系统中控制环路易受到电流干扰的问题。2. The constant off-time control mode LED drive circuit of the present invention does not need an external compensation network, and the loop compensation is simple, easy to implement, and convenient to control; and the switching frequency only increases with the increase of V IN , and the system has good stability and is effective It avoids the problem that the control loop in the traditional system is susceptible to current interference.
附图说明Description of drawings
图1是传统的LED驱动电路的系统框图。Figure 1 is a system block diagram of a traditional LED drive circuit.
图2是本发明的数模混合调光的LED驱动电路的结构框图。Fig. 2 is a structural block diagram of the digital-analog hybrid dimming LED driving circuit of the present invention.
图3是本发明实施例1中的调光控制单元的原理图。Fig. 3 is a schematic diagram of the dimming control unit in Embodiment 1 of the present invention.
图4是本发明实施例1中峰值电流检测采样单元电路的原理图。FIG. 4 is a schematic diagram of a peak current detection sampling unit circuit in Embodiment 1 of the present invention.
图5是本发明实施例1中的恒定关断时间控制单元电路的原理图。FIG. 5 is a schematic diagram of a constant off-time control unit circuit in Embodiment 1 of the present invention.
图6是本发明实施例2中的峰值电流检测采样单元电路的原理图。FIG. 6 is a schematic diagram of a peak current detection sampling unit circuit in Embodiment 2 of the present invention.
图7是本发明实施例3中的恒定关断时间控制单元电路的原理图。FIG. 7 is a schematic diagram of a constant off-time control unit circuit in Embodiment 3 of the present invention.
以下结合附图及其实施例对本发明作进一步描述。The present invention will be further described below in conjunction with accompanying drawings and embodiments thereof.
具体实施方式Detailed ways
实施例1:Example 1:
参照图2、图3,本发明的数模混合调光的LED驱动电路,包括调光控制单元1、峰值电流检测采样单元2和恒定关断时间控制单元3。Referring to FIG. 2 and FIG. 3 , the digital-analog hybrid dimming LED drive circuit of the present invention includes a dimming control unit 1 , a peak current detection sampling unit 2 and a constant off-time control unit 3 .
所述调光控制单元1,包括模拟调光电路11和数字调光电路12,共有两个输入端a、b和三个输出端c、d、e;其中,第一输入端a和第二输入端b分别连接模拟调光电路11的输入驱动电压VADJ1和数字调光电路12的输入使能控制信号VEN,调光控制单元1通过改变VADJ1和VEN分别进行模拟调光和数字调光;第一输出端c连接数字调光电路12中第二施密特触发器的输出端的使能信号VEN2;第二输出端d连接数字调光电路12中第一施密特触发器输出端的使能信号VEN1;第三输出端e连接模拟调光电路11中的电流峰值检测阈值VCST1,它是通过VADJ1的改变而改变的。The dimming control unit 1 includes an analog dimming circuit 11 and a digital dimming circuit 12, and has two input terminals a, b and three output terminals c, d, e; wherein, the first input terminal a and the second The input end b is respectively connected to the input drive voltage V ADJ1 of the analog dimming circuit 11 and the input enable control signal V EN of the digital dimming circuit 12, and the dimming control unit 1 performs analog dimming and digital dimming by changing V ADJ1 and V EN respectively. Dimming: the first output terminal c is connected to the enable signal V EN2 of the output terminal of the second Schmitt trigger in the digital dimming circuit 12; the second output terminal d is connected to the first Schmitt trigger in the digital dimming circuit 12 The enable signal V EN1 at the output terminal; the third output terminal e is connected to the current peak detection threshold V CST1 in the analog dimming circuit 11 , which is changed by changing V ADJ1 .
所述峰值电流检测采样单元2,设有四个输入端f、g、j、k和一个输出端h;其中,第一输入端f与调光控制单元1中模拟调光电路11的输出电流峰值阈值电压VCST1连接;第二输入端g与调光控制单元1中数字调光电路12的使能信号VEN1连接,用于实现内部器件工作状态的控制;第三输入端j和第四输入端k分别与第一电阻R1的输出端V1、电路的输入端VIN连接,用于将第一电阻R1上的压降VSNS与峰值电流检测阈值VCST进行比较实现峰值电流的检测;输出端h与恒定关断时间控制单元3中的输入端连接。The peak current detection sampling unit 2 is provided with four input terminals f, g, j, k and one output terminal h; wherein, the first input terminal f is connected to the output current of the analog dimming circuit 11 in the dimming control unit 1 The peak threshold voltage V CST1 is connected; the second input terminal g is connected with the enable signal V EN1 of the digital dimming circuit 12 in the dimming control unit 1, and is used to realize the control of the working state of the internal device; the third input terminal j and the fourth The input terminal k is respectively connected to the output terminal V 1 of the first resistor R 1 and the input terminal V IN of the circuit, and is used to compare the voltage drop V SNS on the first resistor R 1 with the peak current detection threshold V CST to realize the peak current detection; the output terminal h is connected to the input terminal in the constant off-time control unit 3 .
所述恒定关断时间控制单元3,设有四个输入端m、n、o、p和一个输出端q;其中,第一输入端m与峰值电流检测采样单元2中的输出信号V3连接;第二输入端n和第三输入端o分别与调光控制单元1中数字调光电路的输出端的使能信号VEN1、VEN2连接,用于内部器件的开启和关断控制;第四输入端p与放大器的驱动电压VADJ2连接,用于调节第四电容C4的充、放电,从而实现对PMOS管Q1关断时间的控制;输出端q与输出电压V2连接。The constant off-time control unit 3 is provided with four input terminals m, n, o, p and an output terminal q; wherein, the first input terminal m is connected to the output signal V3 in the peak current detection sampling unit 2 ; The second input terminal n and the third input terminal o are respectively connected to the enable signals V EN1 and V EN2 of the output terminals of the digital dimming circuit in the dimming control unit 1, and are used to control the on and off of internal devices; the fourth The input terminal p is connected to the driving voltage V ADJ2 of the amplifier, and is used to adjust the charging and discharging of the fourth capacitor C4 , so as to realize the control of the off time of the PMOS transistor Q1 ; the output terminal q is connected to the output voltage V2.
输入的直流电源并联第一电容C1后得到输入电压VIN,第一电阻R1两端的输入电压VIN和电压V1连接到峰值电流检测单元2;恒定关断时间控制单元3输出的输出电压V2连接到一驱动Driver,用于控制功率开关管Q1的导通和关断;功率开关管Q1与肖特基二极管D1和第二电容C2并联,且与第一电感L1串联。The input DC power supply is connected in parallel with the first capacitor C 1 to obtain the input voltage V IN , the input voltage V IN and the voltage V 1 at both ends of the first resistor R 1 are connected to the peak current detection unit 2; the output of the constant off-time control unit 3 The voltage V 2 is connected to a driver Driver, which is used to control the turn-on and turn - off of the power switch tube Q1 ; the power switch tube Q1 is connected in parallel with the Schottky diode D1 and the second capacitor C2, and is connected with the first inductor L 1 in series.
当功率开关管Q1管导通时,肖特基二极管D1处于反偏,直流电源向第一电感L1充电,电感电流线性增加,直到一定程度后,LED上的电流只由直流电源提供,此时直流电源开始对第二电容C2充电,在检测到峰值电流时,功率开关管Q1关断;然后由于第一电感L1中的电流不会突变,它会产生与电感电流变化相反的感应电动势来阻止电感电流的减小,并使二极管D1导通进行续流。这正是应用了BUCK型DC-DC转化器的电路拓补结构原理,最终使得输出电压VOUT稳定,从而使得流过LED上的电流稳定。When the power switch tube Q1 is turned on , the Schottky diode D1 is in reverse bias, the DC power supply charges the first inductor L1, and the inductor current increases linearly until a certain level, the current on the LED is only provided by the DC power supply , at this time the DC power supply starts to charge the second capacitor C2, and when the peak current is detected, the power switch tube Q1 is turned off; then because the current in the first inductor L1 will not change abruptly, it will produce a change with the inductor current The opposite induced electromotive force prevents the reduction of the inductor current, and makes the diode D1 turn on for freewheeling. This is the application of the circuit topology principle of the BUCK type DC-DC converter, which finally makes the output voltage V OUT stable, so that the current flowing through the LED is stable.
以下所述的高压PMOS和高压NMOS管一般用到的承受压降在5V至80V之间。The high-voltage PMOS and high-voltage NMOS transistors described below generally have a withstand voltage drop between 5V and 80V.
参照图3,调光控制单元1包括模拟调光电路11和数字调光电路12。其中,模拟调光电路11包括放大器101、NMOS管M101、第二电阻R2、第三电阻R3和电流源IS1;数字调光电路12包括第一施密特触发器102和第二施密特触发器104、反相器103、PMOS管M102、PMOS管M104、NMOS管M103、NMOS管M105和第三电容C3。其中:Referring to FIG. 3 , the dimming control unit 1 includes an analog dimming circuit 11 and a digital dimming circuit 12 . Among them, the analog dimming circuit 11 includes an amplifier 101, an NMOS transistor M 101 , a second resistor R 2 , a third resistor R 3 and a current source IS1 ; the digital dimming circuit 12 includes a first Schmitt trigger 102 and a second A Schmitt trigger 104 , an inverter 103 , a PMOS transistor M 102 , a PMOS transistor M 104 , an NMOS transistor M 103 , an NMOS transistor M 105 and a third capacitor C 3 . in:
所述放大器101,其同相输入端连接到驱动电压VADJ1,并且通过第三电阻R3接地;其反相端通过第二电阻R2接地;其输出端连接到NMOS管M101的栅极;NMOS管M101的漏极连接到峰值电流检测采样单元2的输入阈值电压VCST1,其源级通过第二电阻R2接地;电流源IS1输入端接入内部电源VDD,其输出端通过第三电阻R3接到地,并且接入VADJ1;由于R2=5R5,因此,In the amplifier 101 , its non-inverting input terminal is connected to the drive voltage V ADJ1 and grounded through the third resistor R3 ; its inverting terminal is grounded through the second resistor R2; its output terminal is connected to the gate of the NMOS transistor M101; The drain of the NMOS transistor M 101 is connected to the input threshold voltage V CST1 of the peak current detection sampling unit 2, and its source is connected to the ground through the second resistor R 2 ; the input terminal of the current source I S1 is connected to the internal power supply V DD , and its output terminal is connected to the internal power supply V DD through The third resistor R 3 is connected to ground and connected to V ADJ1 ; since R 2 =5R 5 , therefore,
其中,VIN-VCST=VCST1;VCST为第五电阻R5上的压降;VCST1为峰值电流检测阈值。Wherein, V IN -V CST =V CST1 ; V CST is the voltage drop across the fifth resistor R 5 ; V CST1 is the peak current detection threshold.
所述第一施密特触发器102,其输入端接在NMOS管M103的漏极,同时接在第三电容C3的正极,其输出端接在反相器103的输入端,同时接入使能信号VEN1;其电源端分别接内部电源VDD和地。The first Schmitt trigger 102, its input terminal is connected to the drain of the NMOS transistor M 103 , and is connected to the positive pole of the third capacitor C3, and its output terminal is connected to the input terminal of the inverter 103, and simultaneously connected to the positive pole of the third capacitor C3. Input enable signal V EN1 ; its power supply terminals are respectively connected to internal power supply V DD and ground.
所述第二施密特触发器104,其输入端接在反相器103的输出端上,同时连接PMOS管M104与NMOS管M105的漏极;其输出端连接在恒定关断时间控制单元3中与非门306的一个输入端的使能信号VEN2上;其电源端分别接在内部电源VDD和地上。Described second Schmitt trigger 104, its input end is connected on the output end of inverter 103, connects the drain electrode of PMOS transistor M 104 and NMOS transistor M 105 at the same time; Its output end is connected in constant off-time control The enable signal V EN2 of an input terminal of the NAND gate 306 in unit 3 is connected to the internal power supply V DD and the ground respectively.
所述反相器103,其输入端连接在施密特触发器102的输出端上,其输出端连接在PMOS管M104的栅极上;PMOS管M102,其源极连接内部电源VDD,其栅极直接到地;PMOS管M104,其源极接入内部电源VDD;NMOS管M103,其栅极连接使能输入信号VEN,其源级接地;NMOS管M105,其源级接地,其栅极接入使能输入信号VEN;第三电容C3,其负极接地。In the inverter 103, its input terminal is connected to the output terminal of the Schmitt trigger 102, and its output terminal is connected to the gate of the PMOS transistor M 104 ; the source of the PMOS transistor M 102 is connected to the internal power supply V DD , whose gate is directly connected to the ground; PMOS transistor M 104 , whose source is connected to the internal power supply V DD ; NMOS transistor M 103 , whose gate is connected to the enable input signal V EN , and whose source is grounded; NMOS transistor M 105 , whose The source is grounded, and its gate is connected to the enable input signal V EN ; the negative electrode of the third capacitor C 3 is grounded.
参考图4,本实施例的峰值电流检测采样单元2,包括反相器201、电流源IS2、第四电阻R4、第五电阻R5、第六电阻R6、第七电阻R7、高压PMOS管M203、高压PMOS管M205、高压NMOS管M204、高压NMOS管M206、NMOS管M201、NMOS管M202、NMOS管M207、NMOS管M208、NMOS管M209、NMOS管M210、NMOS管M211、NMOS管M212、NMOS管M215、NMOS管M220、NMOS管M221、NMOS管M223、NMOS管M224、NMOS管M226、PMOS管M213、PMOS管M214、PMOS管M216、PMOS管M217、PMOS管M218、PMOS管M219、PMOS管M222和PMOS管M225。其中:Referring to FIG. 4 , the peak current detection sampling unit 2 of this embodiment includes an inverter 201, a current source I S2 , a fourth resistor R 4 , a fifth resistor R 5 , a sixth resistor R 6 , a seventh resistor R 7 , High-voltage PMOS tube M 203 , high-voltage PMOS tube M 205 , high-voltage NMOS tube M 204 , high-voltage NMOS tube M 206 , NMOS tube M 201 , NMOS tube M 202 , NMOS tube M 207 , NMOS tube M 208 , NMOS tube M 209 , NMOS Tube M 210 , NMOS tube M 211 , NMOS tube M 212 , NMOS tube M 215 , NMOS tube M 220 , NMOS tube M 221 , NMOS tube M 223 , NMOS tube M 224 , NMOS tube M 226 , PMOS tube M 213 , PMOS tube The transistor M 214 , the PMOS transistor M 216 , the PMOS transistor M 217 , the PMOS transistor M 218 , the PMOS transistor M 219 , the PMOS transistor M 222 and the PMOS transistor M 225 . in:
所述反相器201,其输入端连接使能输入信号VEN1,其输出端接NMOS管M207;In the inverter 201, its input end is connected to the enable input signal V EN1 , and its output end is connected to the NMOS transistor M 207 ;
所述电流源IS2,其输入端接内部电源VDD,其输出端接在NMOS管M207和M208的漏极上,同时接在NMOS管M208和M209的栅极上;所述NMOS管M208、M209、M210、M211、M212构成一排电流镜,NMOS管M208、M209、M210、M211、M212的栅极都连接在NMOS管M208的栅极上,源极都接地;NMOS管M208、M209、M210、M211、M212上流过电流的大小根据各个NMOS管尺寸计算:The input terminal of the current source IS2 is connected to the internal power supply V DD , and its output terminal is connected to the drains of the NMOS transistors M 207 and M 208 , and connected to the gates of the NMOS transistors M 208 and M 209 ; NMOS transistors M 208 , M 209 , M 210 , M 211 , and M 212 form a row of current mirrors, and the gates of NMOS transistors M 208 , M 209 , M 210 , M 211 , and M 212 are all connected to the gate of NMOS transistor M 208 Both the pole and the source are grounded; the magnitude of the current flowing on the NMOS tubes M 208 , M 209 , M 210 , M 211 , and M 212 is calculated according to the size of each NMOS tube:
所述NMOS管M209的漏极接在组成差分对的NMOS管M201、M202的源极上;其中NMOS管M210的漏极接在高压NMOS管M204的源极上;NMOS管M211的漏极接在高压NMOS管M206的源极上,NMOS管M212的漏极接在PMOS管M213的漏极上。The drain of the NMOS transistor M 209 is connected to the sources of the NMOS transistors M 201 and M 202 forming a differential pair; the drain of the NMOS transistor M 210 is connected to the source of the high-voltage NMOS transistor M 204 ; the NMOS transistor M The drain of 211 is connected to the source of the high-voltage NMOS transistor M206 , and the drain of the NMOS transistor M212 is connected to the drain of the PMOS transistor M213 .
所述NMOS管M201和M202构成差分对,它们的漏极分别通过第六电阻R6和第七电阻R7接在输入电压VIN上,而它们的栅极则分别通过第四电阻R4和第五电阻R5连接到输入电压V1和VIN上。The NMOS transistors M201 and M202 form a differential pair, their drains are respectively connected to the input voltage V IN through the sixth resistor R6 and the seventh resistor R7 , and their gates are respectively connected through the fourth resistor R 4 and the fifth resistor R5 are connected to the input voltages V1 and V IN .
所述高压PMOS管M203、M205和NMOS管M204、M206是漏极高压管,其中,高压PMOS管M203、M205的源极分别接在差分对NMOS管M201、M202的漏极上,它们的漏极分别连接在NMOS管M204、M206的漏极上,它们的栅极都连接输入电压VB1;高压NMOS管M204、M206的栅极都连接输入电压VB2,它们的源级分别连接在组成差分对的NMOS管M219、M218的栅极上,充当该差分对的输入。The high-voltage PMOS transistors M 203 and M 205 and the NMOS transistors M 204 and M 206 are high-voltage drain transistors, wherein the sources of the high-voltage PMOS transistors M 203 and M 205 are connected to the differential pair of NMOS transistors M 201 and M 202 respectively. On the drains, their drains are respectively connected to the drains of the NMOS transistors M 204 and M 206 , and their gates are connected to the input voltage V B1 ; the gates of the high-voltage NMOS transistors M 204 and M 206 are connected to the input voltage V B2 , their sources are respectively connected to the gates of the NMOS transistors M 219 and M 218 forming the differential pair, serving as the input of the differential pair.
所述PMOS管M213、M216构成电流镜,它们的源极都接到内部电源VDD,PMOS管M216的漏极连接到组成差分对的PMOS管M218、M219的源极;PMOS管M217源极连接内部电源VDD,栅极连接使能信号VEN1,漏极连接PMOS管M213的漏极。The PMOS transistors M 213 and M 216 constitute a current mirror, their sources are connected to the internal power supply V DD , and the drain of the PMOS transistor M 216 is connected to the sources of the PMOS transistors M 218 and M 219 that form a differential pair; The source of the transistor M 217 is connected to the internal power supply V DD , the gate is connected to the enable signal V EN1 , and the drain is connected to the drain of the PMOS transistor M 213 .
所述PMOS管M214和M222构成电流镜,它们的源极接内部电源VDD,其中PMOS管M214的漏极接NMOS管M215的漏极,PMOS管M222的漏极接NMOS管M223的漏极;所述NMOS管M215和M220也构成电流镜,其源级都接地,其中NMOS管M220的漏极接在组成差分对的PMOS管M218的漏极上;所述NMOS管M221和M223也构成电流镜,它们的源极都接地,NMOS管M221的漏极接在组成差分对的PMOS管M219的漏极上。The PMOS transistors M 214 and M 222 form a current mirror, and their sources are connected to the internal power supply V DD , wherein the drain of the PMOS transistor M 214 is connected to the drain of the NMOS transistor M 215 , and the drain of the PMOS transistor M 222 is connected to the NMOS transistor The drain of M 223 ; the NMOS transistors M 215 and M 220 also constitute a current mirror, and their sources are all grounded, wherein the drain of the NMOS transistor M 220 is connected to the drain of the PMOS transistor M 218 forming a differential pair; The above-mentioned NMOS transistors M221 and M223 also constitute a current mirror, and their sources are grounded, and the drain of the NMOS transistor M221 is connected to the drain of the PMOS transistor M219 forming a differential pair.
所述NMOS管M224,其栅极连接使能信号VEN1,用于控制其开关状态,其漏极接在NMOS管M223的漏极上,源极接地;所述PMOS管M225和NMOS管M226构成反相器,该反相器的输入端接在NMOS管M223的漏极上,其输出端接输出信号V3,其中PMOS管M225的源极接内部电源VDD,NMOS管M226的源极接地。The gate of the NMOS transistor M 224 is connected to the enable signal V EN1 for controlling its switching state, its drain is connected to the drain of the NMOS transistor M 223 , and its source is grounded; the PMOS transistor M 225 and the NMOS The tube M 226 constitutes an inverter, the input terminal of the inverter is connected to the drain of the NMOS tube M 223 , and the output terminal is connected to the output signal V 3 , wherein the source of the PMOS tube M 225 is connected to the internal power supply V DD , and the NMOS tube M 225 is connected to the internal power supply V DD . The source of tube M 226 is grounded.
参考图5,本实施例的恒定关断时间控制单元3,包括放大器301、比较器302、RS触发器303、反相器304、反相器305、与非门306、第四电容C4、第八电阻R8、PMOS管M301、PMOS管M302、PMOS管M303和PMOS管M304、NMOS管M305和NMOS管M306。其中:Referring to FIG. 5, the constant off-time control unit 3 of this embodiment includes an amplifier 301, a comparator 302, an RS flip-flop 303, an inverter 304, an inverter 305, a NAND gate 306, a fourth capacitor C 4 , Eighth resistor R 8 , PMOS transistor M 301 , PMOS transistor M 302 , PMOS transistor M 303 and PMOS transistor M 304 , NMOS transistor M 305 and NMOS transistor M 306 . in:
所述放大器301,其同相输入端连接输入电压VADJ2,反向输入端通过第八电阻R8接地,其输出端接NMOS管M305的栅极;所述比较器302,其同相输入端接基准电压VREF,其反相端接PMOS管M303的漏极,其输出端接RS触发器的复位端R;所述RS触发器由两个与非门构成,其置数端S接在反相器304的输出端上,其输出端接在反相器305的输入端上;所述反相器304,其输入端接峰值电流检测采样单元2的输出信号V3,所述反相器305,其输出端接与非门306的一个输入上;所述与非门306的另一个输入端接使能信号VEN2,其输出端接输出电压V2。In the amplifier 301, its non-inverting input terminal is connected to the input voltage V ADJ2 , its inverting input terminal is connected to the ground through the eighth resistor R 8 , and its output terminal is connected to the gate of the NMOS transistor M 305 ; the non-inverting input terminal of the comparator 302 is connected to The reference voltage V REF , its inverting terminal is connected to the drain of the PMOS transistor M 303 , and its output terminal is connected to the reset terminal R of the RS flip-flop; the RS flip-flop is composed of two NAND gates, and its setting terminal S is connected to The output terminal of the inverter 304 is connected to the input terminal of the inverter 305; the input terminal of the inverter 304 is connected to the output signal V 3 of the peak current detection sampling unit 2, and the inverter The output terminal of the NAND gate 305 is connected to one input of the NAND gate 306; the other input terminal of the NAND gate 306 is connected to the enable signal V EN2 , and the output terminal of the NAND gate 306 is connected to the output voltage V 2 .
所述PMOS管M301、M302、M303和M304构成电流镜,其中,PMOS管M301和M302的源极接在内部电源VDD上,而漏极分别接在PMOS管M304和M303的源极上;通过取相同的管子尺寸,得到电流关系为:ID6=ID7=ID8=ID9。The PMOS transistors M 301 , M 302 , M 303 and M 304 form a current mirror, wherein the sources of the PMOS transistors M 301 and M 302 are connected to the internal power supply V DD , and the drains are respectively connected to the PMOS transistors M 304 and On the source of M 303 ; by taking the same tube size, the current relationship is: I D6 = I D7 = I D8 = I D9 .
所述PMOS管M304的漏极连接NMOS管M305的漏极,PMOS管M303的漏极通过第四电容C4接地;所述NMOS管M305的源极通过第八电阻R8接地,NMOS管M306的栅极接峰值电流检测采样单元2的输出信号V3,其漏极接比较器302的反相输入端,源极接地。The drain of the PMOS transistor M304 is connected to the drain of the NMOS transistor M305 , the drain of the PMOS transistor M303 is grounded through the fourth capacitor C4 ; the source of the NMOS transistor M305 is grounded through the eighth resistor R8 , The gate of the NMOS transistor M 306 is connected to the output signal V 3 of the peak current detection sampling unit 2 , its drain is connected to the inverting input terminal of the comparator 302 , and its source is grounded.
本实施例的LED驱动电路,其关断时间TOFF是恒定的,主要由第八电阻R8、第四电容C4、一个恒定的输出电压VADJ2预先进行调节。TOFF的起始时刻,第四电容C4上的电压为零,随后电流镜将给电容提供电荷,电容开始充电,充电时间常数由R8和C4决定。当第四电容C4两端的电压(VCOFF)充电至和基准电压VREF相等时,关断时间结束,电容放电至零。功率开关管Q1的关断时间TOFF的计算公式为:In the LED driving circuit of this embodiment, the turn-off time T OFF is constant, which is mainly adjusted in advance by the eighth resistor R 8 , the fourth capacitor C 4 , and a constant output voltage V ADJ2 . At the initial moment of T OFF , the voltage on the fourth capacitor C4 is zero, and then the current mirror will provide charge to the capacitor, and the capacitor starts to charge, and the charging time constant is determined by R8 and C4 . When the voltage (V COFF ) across the fourth capacitor C 4 is charged to be equal to the reference voltage V REF , the off-time ends and the capacitor discharges to zero. The formula for calculating the turn - off time T OFF of the power switch tube Q1 is:
此外,此电路受峰值电流检测采样单元2的控制,当第一电阻R1检测到峰值电流时,系统导通时间TON结束,关断时间TOFF开始。通过分析可以知道一旦检测到峰值电流,输出信号V3为高电平,将此输出信号V3连接到关断时间控制电路中的NMOS管M306的栅极,保证在TOFF时间段的初始时刻,第四电容C4上的电荷为零。In addition, this circuit is controlled by the peak current detection sampling unit 2. When the first resistor R1 detects the peak current, the system on-time T ON ends and the off-time T OFF begins. Through the analysis, it can be known that once the peak current is detected, the output signal V 3 is at a high level, and this output signal V 3 is connected to the gate of the NMOS transistor M 306 in the off-time control circuit to ensure that at the initial stage of the T OFF time period At this moment, the charge on the fourth capacitor C4 is zero.
实施例2:Example 2:
本实施例的调光控制单元1和恒定关断时间控制单元3与实施例1中的相同。The dimming control unit 1 and the constant off-time control unit 3 of this embodiment are the same as those in the first embodiment.
参照图6,本实施例的峰值电流检测采样单元2包括反相器201、第四电阻R4、第五电阻R5、PMOS管M201、PMOS管M202、PMOS管M205、PMOS管M206、PMOS管M209、PMOS管M212、PMOS管M213、NMOS管M203、NMOS管M204、NMOS管M207、NMOS管M208、NMOS管M210、NMOS管M211、NMOS管M214和NMOS管M215。其中:Referring to FIG. 6 , the peak current detection sampling unit 2 of this embodiment includes an inverter 201, a fourth resistor R 4 , a fifth resistor R 5 , a PMOS transistor M 201 , a PMOS transistor M 202 , a PMOS transistor M 205 , and a PMOS transistor M 206 , PMOS tube M 209 , PMOS tube M 212 , PMOS tube M 213 , NMOS tube M 203 , NMOS tube M 204 , NMOS tube M 207 , NMOS tube M 208 , NMOS tube M 210 , NMOS tube M 211 , NMOS tube M 214 and NMOS tube M 215 . in:
所述反相器201,其输入端连接PMOS管M213的漏极,输出端连接恒定关断时间控制单元3中NMOS管M306的栅极,用于控制其开关。所述PMOS管M212和M213构成电流镜,它们的源极都连接内部电源VDD,PMOS管M212的漏极连接NMOS管M214的漏极,PMOS管M213的漏极连接NMOS管M215的漏极。The input end of the inverter 201 is connected to the drain of the PMOS transistor M213 , and the output end is connected to the gate of the NMOS transistor M306 in the constant off-time control unit 3 for controlling its switch. The PMOS transistors M 212 and M 213 form a current mirror, their sources are connected to the internal power supply V DD , the drain of the PMOS transistor M 212 is connected to the drain of the NMOS transistor M 214 , and the drain of the PMOS transistor M 213 is connected to the NMOS transistor Drain of M 215 .
所述NMOS管M215,其栅极连接高压NMOS管M210的源级,其源极接地;NMOS管M214、M211、M208的栅极都接在NMOS管M207的栅极上,它们的源极都接地,其中NMOS管M211的漏极接高压NMOS管M210的源极,NMOS管M208的漏极连接高压NMOS管M206的源极,NMOS管M207的漏极连接高压NMOS管M205的源极;高压NMOS管M210的栅极连接内部电源VDD,其漏极连接高压PMOS管M209的漏极;所述PMOS管M209的源极连接输入电压VIN,其栅极连接PMOS管M202和高压NMOS管M204的漏极。The gate of the NMOS transistor M215 is connected to the source of the high-voltage NMOS transistor M210 , and its source is grounded; the gates of the NMOS transistors M214 , M211 , and M208 are all connected to the gate of the NMOS transistor M207 , Their sources are all grounded, wherein the drain of NMOS transistor M211 is connected to the source of high-voltage NMOS transistor M210 , the drain of NMOS transistor M208 is connected to the source of high-voltage NMOS transistor M206 , and the drain of NMOS transistor M207 is connected to The source of the high-voltage NMOS transistor M 205 ; the gate of the high-voltage NMOS transistor M 210 is connected to the internal power supply V DD , and its drain is connected to the drain of the high-voltage PMOS transistor M 209 ; the source of the PMOS transistor M 209 is connected to the input voltage V IN , the gate of which is connected to the drains of the PMOS transistor M202 and the high voltage NMOS transistor M204 .
所述PMOS管M201和M202构成电流镜,它们的源极连接输入电压VIN,其中PMOS管M201、M202的漏极分别连接NMOS管M203、M204的漏极;所述高压NMOS管M204,其栅极连接调光控制单元1中模拟调光电路的输出阈值电压VCST,并通过第五电阻R5连接输入电压VIN,其源极和NMOS管M203的源极都连接在高压NMOS管M206的漏极;所述NMOS管M203,其栅极通过第四电阻R4连接输入电压V1;所述高压NMOS管M205和M206构成电流镜,其中NMOS管M205的漏极连接电流源IS2。The PMOS transistors M 201 and M 202 constitute a current mirror, and their sources are connected to the input voltage V IN , wherein the drains of the PMOS transistors M 201 and M 202 are respectively connected to the drains of the NMOS transistors M 203 and M 204 ; the high voltage The gate of the NMOS transistor M204 is connected to the output threshold voltage V CST of the analog dimming circuit in the dimming control unit 1, and is connected to the input voltage V IN through the fifth resistor R5, and its source is connected to the source of the NMOS transistor M203 Both are connected to the drain of the high-voltage NMOS transistor M206 ; the gate of the NMOS transistor M203 is connected to the input voltage V1 through the fourth resistor R4; the high - voltage NMOS transistors M205 and M206 form a current mirror, wherein the NMOS The drain of the tube M 205 is connected to the current source I S2 .
其电流关系为:
其中,IS2为电流源电流,ID10为高压NMOS管M206的漏极电流,W/L为MOS管的宽长比。Wherein, I S2 is the current source current, I D10 is the drain current of the high-voltage NMOS transistor M 206 , and W/L is the width-to-length ratio of the MOS transistor.
本实施例中,利用第一电阻R1上产生的差分电压信号进行检测。通过将第一电阻R1上的压降VSNS和电流峰值检测阈值电压VCST进行比较来实现峰值电流的检测。比较器正端输入的电压为VIN-VCST,负端输入的电压为VIN-VSNS。一旦检测到峰值电流,即VSNS大于VCST,则Q1关断,导通时间结束,此时比较器输出高电平。In this embodiment, the detection is performed by using the differential voltage signal generated on the first resistor R1. Detection of the peak current is achieved by comparing the voltage drop V SNS across the first resistor R 1 with the current peak detection threshold voltage V CST . The voltage input to the positive terminal of the comparator is V IN -V CST , and the voltage input to the negative terminal is V IN -V SNS . Once the peak current is detected, that is, V SNS is greater than V CST , Q 1 is turned off and the on-time is over, and the comparator outputs a high level at this time.
VCST的取值是由调光控制单元1中的放大器同相端的输入电压VADJ1电压决定的,放大器采用负反馈的连接方式,由于R2=5R5,故开关NMOS管M101上流过的电流可以表示为:The value of V CST is determined by the input voltage V ADJ1 of the non-inverting terminal of the amplifier in the dimming control unit 1. The amplifier adopts a negative feedback connection mode. Since R 2 =5R 5 , the current flowing through the switch NMOS transistor M 101 It can be expressed as:
因此,峰值电流检测阈值VCST表示为:Therefore, the peak current detection threshold V CST is expressed as:
此外,该电路还提供了两种调节检测阈值电压VCST的方法,都是通过改变VADJ1电压值来实现。In addition, the circuit also provides two methods for adjusting the detection threshold voltage V CST , both of which are realized by changing the voltage value of V ADJ1 .
1、VADJ1断开,直接将基准电压VREF提供作为驱动电压。1. V ADJ1 is disconnected, and the reference voltage V REF is directly provided as a driving voltage.
直接提供0~1.20V的VADJ1电压实现,通过这种方式,所设定的VCST的取值在0~240mV之间变化。It is realized by directly providing V ADJ1 voltage of 0-1.20V. In this way, the set value of V CST varies between 0-240mV.
2、在运放同向端与地之间连接电阻R2来实现,电流IS1会流过电阻R2,从而产生VADJ1电压,此时,VCST电压可表示为:2. Connect the resistor R 2 between the same direction terminal of the op amp and the ground to realize it. The current I S1 will flow through the resistor R 2 to generate the V ADJ1 voltage. At this time, the V CST voltage can be expressed as:
以上两个实施例的LED驱动电路的峰值电流检测采样单元2可以看出,此单元的核心设计是比较器,比较器的转换速度直接影响着系统导通时间和关断时间的准确程度,进而会影响系统的工作点,因此要求所设计的比较器应具有尽可能快的转换速度。这里采用两级比较器电路来实现,具体电路结构如图6所示。It can be seen from the peak current detection sampling unit 2 of the LED drive circuit of the above two embodiments that the core design of this unit is a comparator, and the switching speed of the comparator directly affects the accuracy of the system turn-on time and turn-off time. Will affect the operating point of the system, so the designed comparator should have as fast a switching speed as possible. Here, a two-stage comparator circuit is used to realize it, and the specific circuit structure is shown in Fig. 6 .
同时本实施例采用的DC-DC转换器,通过比较第一电阻R1上的压降VSNS与比较器电路的峰值电流检测阈值电压VCST来触发主开关管Q1的关断,而不需要误差放大器和反馈网络,因此与传统的电压控制模式相比,具有更快响应速度。At the same time, the DC-DC converter adopted in this embodiment triggers the shutdown of the main switching tube Q1 by comparing the voltage drop V SNS on the first resistor R1 with the peak current detection threshold voltage V CST of the comparator circuit, without Requires an error amplifier and feedback network, resulting in faster response than traditional voltage control modes.
实施例3:Example 3:
本实施例的调光控制单元1和峰值电流检测采样单元2与实施例1的相同。The dimming control unit 1 and the peak current detection sampling unit 2 of this embodiment are the same as those of the first embodiment.
参照图7,本实施例的恒定关断时间控制单元3包括比较器301、RS触发器302、反相器303和反相器304、与非门305、第四电容C4,第八电阻R8和NMOS管M301。其中:7, the constant off-time control unit 3 of this embodiment includes a comparator 301, an RS flip-flop 302, an inverter 303 and an inverter 304, a NAND gate 305, a fourth capacitor C 4 , an eighth resistor R 8 and NMOS tube M 301 . in:
所述比较器301,其同相输入端接基准电压VREF,其反相输入端连接NMOS管M301的漏极,并通过第八电阻R8连接在输出电压VADJ2上或通过第四电容C4接地,其输出端接RS触发器的复位端R;所述RS触发器由两个与非门构成,其置数端S接在反相器303的输出端上,其输出端接在反相器304的输入端上;所述反相器303,其输入端接峰值电流检测采样单元2的输出信号V3;所述反相器304,其输出端接与非门305的一个输入上;所述与非门305的另一个输入端接使能信号VEN2,其输出端接输出电压V2;所述NMOS管M301,其栅极连接峰值电流检测采样单元2的输出信号V3,其源极接地。In the comparator 301, its non-inverting input terminal is connected to the reference voltage V REF , its inverting input terminal is connected to the drain of the NMOS transistor M 301 , and is connected to the output voltage V ADJ2 through the eighth resistor R8 or through the fourth capacitor C 4 is grounded, and its output terminal is connected to the reset terminal R of the RS flip-flop; On the input terminal of phase device 304; Said inverter 303, its input terminal connects the output signal V 3 of peak current detection sampling unit 2; Described inverter 304, its output terminal connects on an input of NAND gate 305 The other input terminal of the NAND gate 305 is connected to the enable signal V EN2 , and its output terminal is connected to the output voltage V 2 ; the gate of the NMOS transistor M 301 is connected to the output signal V 3 of the peak current detection sampling unit 2 , whose source is grounded.
本实施例的LED驱动电路,其关断时间TOFF是恒定的,主要由第八电阻R8、第四电容C4、输出电压VADJ2预先进行调节。由于电路采用的是恒流驱动方式,ILED会很好的控制,所以输出电压VADJ2将会是一个恒定的值,不会随输入电压和温度的变化而变化。In the LED driving circuit of this embodiment, the turn-off time T OFF is constant, which is mainly adjusted in advance by the eighth resistor R 8 , the fourth capacitor C 4 , and the output voltage V ADJ2 . Since the circuit adopts a constant current driving method, I LED will be well controlled, so the output voltage V ADJ2 will be a constant value, which will not change with the input voltage and temperature.
TOFF时刻的起始时刻,第四电容C4上的电压为零,随后输出电压VADJ2将给电容提供电荷,电容开始充电,充电时间常数由R8和C4决定。当电容两端的电压(VCOFF)充电至和基准电压VREF相等时,关断时间结束,电容放电至零。TOFF的计算公式为:At the initial moment of T OFF , the voltage on the fourth capacitor C4 is zero, and then the output voltage V ADJ2 will provide charge to the capacitor, and the capacitor starts to charge, and the charging time constant is determined by R8 and C4 . When the voltage across the capacitor (V COFF ) charges to equal the reference voltage V REF , the off-time ends and the capacitor discharges to zero. The calculation formula of T OFF is:
由上述实施例1和实施例3中的关断时间TOFF和TOFF'可以看出:它是由第八电阻R8、第四电容C4和一个恒定的电压VADJ2决定的,因此一旦确定了它们的参数值则电路的关断时间是恒定不变的。同时,本发明中提出的恒定关断时间控制模式LED驱动电路无需外接补偿网络,环路补偿简洁,易于实现,控制方便;而且开关频率只随VIN的增大而增大,系统稳定性好。It can be seen from the off-time T OFF and T OFF ' in the above-mentioned embodiment 1 and embodiment 3: it is determined by the eighth resistor R 8 , the fourth capacitor C 4 and a constant voltage V ADJ2 , so once After determining their parameter values, the off time of the circuit is constant. At the same time, the constant off-time control mode LED drive circuit proposed in the present invention does not need an external compensation network, the loop compensation is simple, easy to implement, and convenient to control; and the switching frequency only increases with the increase of V IN , and the system stability is good .
以上仅是本发明的三个最佳实例,不构成对本发明的任何限制,显然在本发明的构思下,可以对其电路进行不同的变更与改进,但这些均在本发明的保护之列。The above are only three best examples of the present invention, and do not constitute any limitation to the present invention. Obviously, under the conception of the present invention, various changes and improvements can be made to the circuit, but these are all included in the protection of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410030379.0A CN103813587B (en) | 2014-01-22 | 2014-01-22 | A kind of LED drive circuit of numerical model analysis light modulation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410030379.0A CN103813587B (en) | 2014-01-22 | 2014-01-22 | A kind of LED drive circuit of numerical model analysis light modulation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103813587A CN103813587A (en) | 2014-05-21 |
CN103813587B true CN103813587B (en) | 2015-09-30 |
Family
ID=50709631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410030379.0A Active CN103813587B (en) | 2014-01-22 | 2014-01-22 | A kind of LED drive circuit of numerical model analysis light modulation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103813587B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106413196A (en) * | 2016-10-31 | 2017-02-15 | 北京集创北方科技股份有限公司 | LED driving device, control method of same, line voltage compensation circuit of same, and control method of line voltage compensation circuit |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104023445B (en) * | 2014-06-12 | 2016-04-06 | 电子科技大学 | A kind of LED drive circuit |
CN104202869B (en) * | 2014-08-07 | 2017-03-01 | 矽力杰半导体技术(杭州)有限公司 | A kind of constant-current control circuit, LED drive circuit and constant current control method |
CN104411069A (en) * | 2014-12-11 | 2015-03-11 | 广州市雅江光电设备有限公司 | Thyristor control and digital signal control compatible LED lamp control method |
US10178727B2 (en) * | 2015-02-27 | 2019-01-08 | Diodes Incorporated | Analog and digital dimming control for LED driver |
CN105050281B (en) * | 2015-08-11 | 2018-08-14 | 苏州晶雷光电照明科技有限公司 | The driving circuit of self-alignment LED corridor illuminating systems |
CN105517254B (en) * | 2016-01-28 | 2017-08-25 | 泉芯电子技术(深圳)有限公司 | LED power method of controlling switch |
US10622894B2 (en) * | 2016-12-22 | 2020-04-14 | Signify Holding B.V. | Synchronous converter |
EP3563641A4 (en) * | 2016-12-29 | 2019-12-11 | Texas Instruments Incorporated | ADAPTIVE OFF TIME DELAY COMPENSATION FOR LED CONTROL DEVICE |
CN106879107B (en) * | 2017-01-21 | 2018-10-26 | 陕西师范大学 | A kind of InGaN/GaN LED nanosecond pulse driving circuits |
CN107027224B (en) * | 2017-06-09 | 2024-09-13 | 厦门奇力微电子有限公司 | LED dimming circuit and LED driving circuit |
CN109921641B (en) * | 2019-03-21 | 2021-02-12 | 南京芯力微电子有限公司 | Control circuit and control method of self-adaptive differential current mode |
CN110445236B (en) * | 2019-07-30 | 2024-04-30 | 成都信息工程大学 | Energy conversion device and working method thereof |
CN113674680B (en) * | 2021-08-20 | 2023-03-14 | 南京大学 | PWM (pulse-Width modulation) driving circuit and driving method based on pixel sharing |
CN114244116B (en) * | 2021-12-21 | 2023-09-05 | 中国电子科技集团公司第二十四研究所 | Mode discrimination circuit for BUCK-BOOST controller |
CN115494779B (en) * | 2022-09-30 | 2023-09-05 | 深圳市同科激光智能科技有限公司 | Laser control system, laser control panel and laser processing equipment |
CN116106779B (en) * | 2023-04-10 | 2023-06-20 | 盈力半导体(上海)有限公司 | Enabling signal processing circuit, buck conversion circuit and chip |
CN117729666B (en) * | 2023-12-08 | 2024-07-16 | 深圳市谐振电子有限公司 | Power supply control circuit for deep dimming and novel switching power supply device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202602986U (en) * | 2012-04-10 | 2012-12-12 | 苏州聚元微电子有限公司 | LED constant-current driving circuit |
CN103152951A (en) * | 2013-03-13 | 2013-06-12 | 绍兴光大芯业微电子有限公司 | LED (light emitting diode) driving control circuit and driving circuit structure of LED driving control circuit |
CN203313497U (en) * | 2013-06-20 | 2013-11-27 | 上海登芯微电子科技有限公司 | LED self-oscillation drive circuit |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8026676B2 (en) * | 2008-10-08 | 2011-09-27 | Richtek Technology Corporation, R.O.C. | Dimming control circuit |
JP2011142043A (en) * | 2010-01-08 | 2011-07-21 | Mitsubishi Electric Corp | Lighting device |
JP5716563B2 (en) * | 2010-06-18 | 2015-05-13 | アンデン株式会社 | Light emitting diode drive power supply |
CN102421226B (en) * | 2011-09-06 | 2014-05-07 | 上海新进半导体制造有限公司 | LED (light-emitting diode) dimming driving circuit |
CN103052240B (en) * | 2013-01-16 | 2015-05-13 | 绍兴光大芯业微电子有限公司 | High-power factor light-emitting diode driving circuit structure |
CN103260318B (en) * | 2013-05-30 | 2015-03-11 | 矽力杰半导体技术(杭州)有限公司 | LED drive circuit capable of adjusting light and light adjusting method thereof |
CN103457465B (en) * | 2013-09-17 | 2015-10-21 | 长安大学 | A kind of constant current/constant voltage DC-DC converting system with outside adjustable current-limiting function |
CN203722881U (en) * | 2014-01-22 | 2014-07-16 | 长安大学 | Novel LED driving circuit |
-
2014
- 2014-01-22 CN CN201410030379.0A patent/CN103813587B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202602986U (en) * | 2012-04-10 | 2012-12-12 | 苏州聚元微电子有限公司 | LED constant-current driving circuit |
CN103152951A (en) * | 2013-03-13 | 2013-06-12 | 绍兴光大芯业微电子有限公司 | LED (light emitting diode) driving control circuit and driving circuit structure of LED driving control circuit |
CN203313497U (en) * | 2013-06-20 | 2013-11-27 | 上海登芯微电子科技有限公司 | LED self-oscillation drive circuit |
Non-Patent Citations (1)
Title |
---|
降压变换器片内集成软启动电路设计;袁冰等;《半导体学报》;20081015(第10期);2069-2073 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106413196A (en) * | 2016-10-31 | 2017-02-15 | 北京集创北方科技股份有限公司 | LED driving device, control method of same, line voltage compensation circuit of same, and control method of line voltage compensation circuit |
Also Published As
Publication number | Publication date |
---|---|
CN103813587A (en) | 2014-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103813587B (en) | A kind of LED drive circuit of numerical model analysis light modulation | |
CN101228684B (en) | Power supply device and electric device using the same | |
CN102868297B (en) | Deadline-fixed PFM (pulse frequency modulation) mode switching power supply controller | |
CN103166458A (en) | A booster circuit, a backlight drive circuit and a backlight module | |
CN102801288A (en) | Control circuit, switch mode converter and control method | |
CN102645948B (en) | Adjustable constant-current source | |
CN101951149A (en) | Frequency control circuit suitable for fixed off time control mode boost converter | |
CN105553258A (en) | Synchronous step-up DC (Direct Current)-DC converter circuit with fixed on-time mode | |
CN103298215B (en) | Control circuit of flyback LED (Light Emitting Diode) driver | |
CN204156724U (en) | A kind of rotating forward positive voltage feedback circuit | |
CN104795976A (en) | Driving control circuit capable of shutting down PMOS switch tube rapidly and designing method thereof | |
CN106992670B (en) | Adaptive turn-on time control circuit for PFM mode boost type DC-DC converter | |
CN204408184U (en) | A kind of Boost type dc-dc synchronizing power pipe current-limiting circuit | |
CN202587506U (en) | Adjustable constant current source | |
CN205377666U (en) | Direct current - direct current converter circuit | |
CN202840923U (en) | Control circuit and switch mode converter | |
CN103248226B (en) | The switch power controller of average current lag mode | |
CN102751858A (en) | Soft starting circuit for voltage regulator | |
CN203722881U (en) | Novel LED driving circuit | |
CN108462388B (en) | Realization circuit of bootstrap power supply | |
CN104092370B (en) | A kind of self-excited type Boost circuit | |
CN103441668A (en) | High-gain boost DC-DC converter allowing pseudo continuous work | |
CN103457465A (en) | Constant-current/constant-voltage DC-DC conversion system with external adjustable current-limiting function | |
CN203434859U (en) | Pseudo continuous work high-gain boost DC-DC converter | |
CN103490635A (en) | Improved H bridge buck-boost DC converter and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211012 Address after: 066000 no.22-2-2401, tomorrow Star City, Qinhuangdao Economic and Technological Development Zone, Hebei Province Patentee after: Qinhuangdao Maibo Technology Service Co., Ltd Address before: 710064 middle section of south 2nd Ring Road, Xi'an, Shaanxi Patentee before: CHANG'AN University |
|
TR01 | Transfer of patent right |