[go: up one dir, main page]

CN115426735A - A digital communication high-power LED drive control system with light attenuation compensation - Google Patents

A digital communication high-power LED drive control system with light attenuation compensation Download PDF

Info

Publication number
CN115426735A
CN115426735A CN202211148439.XA CN202211148439A CN115426735A CN 115426735 A CN115426735 A CN 115426735A CN 202211148439 A CN202211148439 A CN 202211148439A CN 115426735 A CN115426735 A CN 115426735A
Authority
CN
China
Prior art keywords
module
microcontroller
control system
light attenuation
voltage
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.)
Pending
Application number
CN202211148439.XA
Other languages
Chinese (zh)
Inventor
李明超
张聪
曹鹏彬
闫宽
罗强胜
陈绪兵
李晨雨
吴振亚
李立凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Spike Technology Co ltd
Wuhan Institute of Technology
Original Assignee
Wuhan Spike Technology Co ltd
Wuhan Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Spike Technology Co ltd, Wuhan Institute of Technology filed Critical Wuhan Spike Technology Co ltd
Priority to CN202211148439.XA priority Critical patent/CN115426735A/en
Publication of CN115426735A publication Critical patent/CN115426735A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/34Voltage stabilisation; Maintaining constant voltage
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/345Current stabilisation; Maintaining constant current
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/50Circuit arrangements for operating light-emitting diodes [LED] responsive to malfunctions or undesirable behaviour of LEDs; responsive to LED life; Protective circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/14Controlling the light source in response to determined parameters by determining electrical parameters of the light source
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本发明涉及LED驱动控制系统,尤其为一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,发明能够根据实际工作情况实现智能判断光衰程度,智能给出电路补偿值,避免使用一段时间后光照强度会变弱;能够实现电流0‑20A的调节范围,调节精度可达±6%,在满足合适的输入输出电压时,输出电流的可调精度可达±3%;可以通过Modbus协议传输控制设备发出的控制信号,控制信号包含当前输出电流、输出阈值电压(针对不同LED工作电压不同,外部控制设备通过通讯配置不同输出电压阈值,范围可达(6V‑35V)、使能信号,也可以向外部控制设备反馈系统环境温度、LED工作温度、实时输出电压信息。The invention relates to an LED drive control system, especially a digital communication high-power LED drive control system with light attenuation compensation. The invention can intelligently judge the degree of light attenuation according to actual working conditions, intelligently give circuit compensation values, and avoid using a section The light intensity will become weaker after time; the adjustment range of current 0-20A can be realized, and the adjustment accuracy can reach ±6%. When the appropriate input and output voltages are met, the adjustable accuracy of the output current can reach ±3%. The protocol transmits the control signal sent by the control device, the control signal includes the current output current, the output threshold voltage (for different LED operating voltages, the external control device configures different output voltage thresholds through communication, the range can reach (6V‑35V), the enable signal , It can also feed back the system ambient temperature, LED operating temperature, and real-time output voltage information to the external control device.

Description

一种数字化通讯的带光衰补偿的大功率LED驱动控制系统A digital communication high-power LED drive control system with light attenuation compensation

技术领域technical field

本发明涉及LED驱动控制系统,具体为一种数字化通讯的带光衰补偿的大功率LED驱动控制系统。The invention relates to an LED drive control system, in particular to a digital communication high-power LED drive control system with light attenuation compensation.

背景技术Background technique

LED可高效地将电能转化为光能,是一种常用的发光器件,它在照明领域应用广泛。在拍摄补光、投影、植物补光等场景中都需要LED光源能受控制地连续精准变化,所以能够和其它设备通讯并能够满足精确调光的要求是十分重要的,LED具有非线性的伏安特性,很小的电压波动将导致很大的电流变化,从而输出功率变化剧烈,但是现有的LED光源存在以下问题:LED can efficiently convert electrical energy into light energy. It is a commonly used light-emitting device and is widely used in the field of lighting. In scenes such as shooting fill light, projection, plant fill light, etc., it is necessary for the LED light source to be able to change continuously and accurately under control, so it is very important to be able to communicate with other devices and meet the requirements of precise dimming. LED has a nonlinear voltage Safety characteristics, a small voltage fluctuation will lead to a large current change, so the output power changes drastically, but the existing LED light source has the following problems:

1、由于LED长时间工作会出现光照强度衰减的情况,即相同功率下,在使用一段时间后光照强度会变弱,LED工作时间越久衰减越严重,且驱动电路不能根据实际使用情况(一般是计算工作时间来进行补偿,而不是根据实际衰减情况补偿)来进行衰减补偿;1. Due to long-term LED working, there will be light intensity attenuation, that is, under the same power, the light intensity will become weaker after a period of use. Calculate the working time to compensate, not to compensate according to the actual attenuation) to perform attenuation compensation;

2、大部分LED驱动电路存在扩展性差的问题,即不能受上位机或其它外部设备控制;2. Most LED drive circuits have the problem of poor scalability, that is, they cannot be controlled by the host computer or other external devices;

3、在现有的LED可调主驱动电路中,有些虽声称是大功率,但是实际功率并没有很高,虽然存在大功率主驱动电路,但是不可调,一般输出一个固定值,匹配固定的LED灯,兼容性差。3. In the existing LED adjustable main drive circuits, although some claim to be high-power, the actual power is not very high. Although there are high-power main drive circuits, they are not adjustable. Generally, a fixed value is output to match the fixed LED lights, poor compatibility.

因此需要一种数字化通讯的带光衰补偿的大功率LED驱动控制系统对上述问题做出改善。Therefore, a digital communication high-power LED drive control system with light attenuation compensation is needed to improve the above problems.

发明内容Contents of the invention

本发明的目的在于提供一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,以解决上述背景技术中提出的问题。The object of the present invention is to provide a digital communication high-power LED drive control system with light attenuation compensation to solve the problems raised in the above-mentioned background technology.

为实现上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:

一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,包括主驱动模块,所述主驱动模块电性连接有MOS开关以及微控制器模块,MOS开关通过降压模块与主电源电性连接,所述MOS开关电性连接有输出电压采集模块,输出电压采集模块电性连接有LED模块,所述输出电压采集模块与主驱动模块之间电性模块,主动驱动模块与微控制器模块之间电性连接有温度采集模块,所述微控制器模块电性连接有通讯模块,通讯模块电性连接有外部控制设备。A digital communication high-power LED drive control system with light attenuation compensation, including a main drive module, the main drive module is electrically connected to a MOS switch and a microcontroller module, and the MOS switch is electrically connected to the main power supply through the step-down module. connection, the MOS switch is electrically connected to an output voltage acquisition module, the output voltage acquisition module is electrically connected to an LED module, the electrical module between the output voltage acquisition module and the main drive module, the active drive module and the microcontroller module A temperature acquisition module is electrically connected between them, the microcontroller module is electrically connected to a communication module, and the communication module is electrically connected to an external control device.

作为本发明优选的方案,所述主驱动模块包括U1、Q1、Q2、P1、P2以及U5,U1是固定频率同步降压型DC/DC控制器LT3741,使用LT3741和MOSFET Q1、Q2组成主要变换电路,对输入的电源进行降压和恒流变换,转化为驱动LED的恒流电源,主驱动电路接收来自微控制器U2的使能和DAC模拟电压信号,控制主驱动电路的启停和输出电流的大小;LT3741的3脚为芯片电源输入脚,由其构成的恒流电路,输入电压(VIN)范围为6-36V,输出电压范围为VIN-2V(4-34V),输出电流20A连续可调,4脚EN/UVLO为使能管脚,最大输入电压小于6V,当4脚电压小于1.55V时LT3741失能停止工作;反之,当电压为1.55-6V LT3741使能开始工作,4脚与微控制器U2的A1 I/O端口连接,当A1设置为高电平(3.3V)时主驱动电路进入准备工作状态;反之低电平时(0V)停止工作,8脚CTRL1为输出电流设置管脚,最大输入电压小于2V,正常输入电压为0-1.5V,对应输出电流为0-20A,当LT3741被使能且有电流信号时主驱动电路工作,10脚FB管脚通过连接的外部数字电位器U5设置输出电压阈值,当实时输出电压超过设置电压的125%时,电路触发过压保护,主驱动电路停止输出。与14脚RT连接的电阻用于配置主驱动电路工作频率。此处上设置主驱动电路工作频率为400kHz;U5接收来自微控制器U2的SPI通讯信号设置U5数字电位器的阻值,从而设置输出电压阈值,单通道、线性变化,满阻值为100kΩ的数字电位器,具有256抽头。这个装置可以是作为一个三端电位器,TPL0501的内部寄存器可以使用SPI通讯方式来设置其阻值,其7、1、8脚相当于普通可调电位器的三个引脚。设置7脚和1脚的阻值为Ra,那么1脚和8脚的阻值为Rb=(100-Ra)kΩ,根据电阻分压原理可以得到,TPL0501-1脚输出到LT3741-10脚上的反馈电压VFB(VVCC_OUT为系统输出电压)为:As a preferred solution of the present invention, the main drive module includes U1, Q1, Q2, P1, P2 and U5, U1 is a fixed-frequency synchronous step-down DC/DC controller LT3741, and uses LT3741 and MOSFETs Q1 and Q2 to form the main conversion Circuit, step-down and constant current conversion of the input power supply, and convert it into a constant current power supply for driving LEDs. The main drive circuit receives the enable and DAC analog voltage signals from the microcontroller U2, and controls the start-stop and output of the main drive circuit. The size of the current; LT3741's 3-pin is the chip power input pin, which constitutes a constant current circuit, the input voltage (VIN) range is 6-36V, the output voltage range is VIN-2V (4-34V), and the output current is 20A continuous Adjustable, the 4-pin EN/UVLO is the enable pin, the maximum input voltage is less than 6V, when the 4-pin voltage is less than 1.55V, the LT3741 is disabled and stops working; on the contrary, when the voltage is 1.55-6V LT3741 is enabled and starts to work, the 4-pin Connect with the A1 I/O port of the microcontroller U2. When A1 is set to high level (3.3V), the main drive circuit enters the ready working state; otherwise, it stops working when it is low level (0V), and the 8-pin CTRL1 is the output current setting Pin, the maximum input voltage is less than 2V, the normal input voltage is 0-1.5V, and the corresponding output current is 0-20A. When the LT3741 is enabled and there is a current signal, the main drive circuit works, and the 10-pin FB pin is connected to the external The digital potentiometer U5 sets the output voltage threshold. When the real-time output voltage exceeds 125% of the set voltage, the circuit triggers overvoltage protection, and the main drive circuit stops output. The resistor connected to 14-pin RT is used to configure the operating frequency of the main drive circuit. Here, the operating frequency of the main drive circuit is set to 400kHz; U5 receives the SPI communication signal from the microcontroller U2 to set the resistance value of the U5 digital potentiometer, thereby setting the output voltage threshold, single channel, linear change, and a full resistance value of 100kΩ Digital potentiometer with 256 taps. This device can be used as a three-terminal potentiometer. The internal register of TPL0501 can use SPI communication to set its resistance value. Its pins 7, 1, and 8 are equivalent to the three pins of an ordinary adjustable potentiometer. Set the resistance value of pin 7 and pin 1 to Ra, then the resistance value of pin 1 and pin 8 is Rb=(100-Ra)kΩ, which can be obtained according to the principle of resistance voltage division, and the output of pin TPL0501-1 is to pin 10 of LT3741 The feedback voltage V FB (V VCC_OUT is the system output voltage) is:

Figure BDA0003854121540000031
Figure BDA0003854121540000031

由此可以通过改变数字电位器TPL0501的阻值设置输出电压阈值。与传统机械电位器相比,这种通过程序控制的输出电压阈值方法更加线性,且可快速达到想要的阈值电压,可以在不改动硬件结构的情况下,根据负载LED的电压等级直接通过程序更改输出电压阈值,也更加方便,兼容性更高。其4脚SCLK为SPI的时钟信号;5脚DIN输入SPI的MOSI(主机输出从机输入)数据信号;6脚CS为片选信号,当SPI上挂载多个从机时,可以通过设置CS电平高低来选择和哪个从机通讯,此处默认为低电平,因为此SPI总线上只存在一个从机,U5的4、5、6脚和微控制器U2的A10、A11、A12 I/O连接用于SPI数据通讯;所述U1采用固定频率同步降压型DC/DC控制器LT3741与Q1、Q2组成主要变换电路,所述U5采用数字电位器TPL0501,所述主驱动模块还包括电感L1、电容C9、电容C10,所述电感L1和电容C9、电容C10组成滤波电路,降低输出电流和电压的纹波;Therefore, the output voltage threshold can be set by changing the resistance value of the digital potentiometer TPL0501. Compared with traditional mechanical potentiometers, this program-controlled output voltage threshold method is more linear and can quickly reach the desired threshold voltage. It can be directly passed through the program according to the voltage level of the load LED without changing the hardware structure. It is also more convenient and more compatible to change the output voltage threshold. Its 4-pin SCLK is the SPI clock signal; 5-pin DIN inputs the SPI MOSI (master output slave input) data signal; 6-pin CS is the chip select signal. When multiple slaves are mounted on the SPI, you can set the CS The level is high or low to choose which slave to communicate with, here the default is low level, because there is only one slave on the SPI bus, pins 4, 5, 6 of U5 and A10, A11, A12 of the microcontroller U2 I /O connection is used for SPI data communication; the U1 uses a fixed frequency synchronous step-down DC/DC controller LT3741 and Q1, Q2 to form the main conversion circuit, the U5 uses a digital potentiometer TPL0501, and the main drive module also includes Inductor L1, capacitor C9, and capacitor C10, the inductor L1, capacitor C9, and capacitor C10 form a filter circuit to reduce output current and voltage ripple;

R6为高精度低阻值的电流采样电阻,用于电流闭环控制。根据欧姆定律U=IR,I=U/R,通过测量R6两端的电压即可得到出输出电流;R6 is a current sampling resistor with high precision and low resistance, which is used for current closed-loop control. According to Ohm's law U=IR, I=U/R, the output current can be obtained by measuring the voltage across R6;

LED1是输出指示灯,与之串联的电阻R7作用是分压,本结构也可以充当泄放电路,当负载断开时,此部分可以用放掉电容C9和C10里储存的电能;LED1 is the output indicator light, and the resistor R7 in series with it is used to divide the voltage. This structure can also act as a discharge circuit. When the load is disconnected, this part can be used to discharge the electric energy stored in the capacitors C9 and C10;

其中P1、P2为分别为电源输入、输出接口,采用多个排针并联的连接方式,既能承载额定电流,又能方便与其他设备相连接。Among them, P1 and P2 are the power input and output interfaces respectively, and adopt the connection method of multiple pin headers in parallel, which can not only carry the rated current, but also facilitate the connection with other devices.

作为本发明优选的方案,所述微控制器模块包括微控制器U2,且型号为国产兆易创新GD32F350G8U6,用于向主驱动模块发送电流控制和使能信号,所述微控制器模块通过SPI通讯方式设置U5数字电位器TPL0501的电阻阻值,从而可以设置输出阈值电压,以匹配不同电压等级的LED;采集系统环境温度、LED工作温度、实时输出电压;和外部控制设备通讯,接收外部控制设备的信号或反馈系统环境温度、LED工作温度、实时输出电压。As a preferred solution of the present invention, the microcontroller module includes a microcontroller U2, and the model is the domestic Zhaoyi Innovation GD32F350G8U6, which is used to send current control and enable signals to the main drive module. Communication mode Set the resistance value of U5 digital potentiometer TPL0501, so that the output threshold voltage can be set to match LEDs of different voltage levels; collect system ambient temperature, LED operating temperature, and real-time output voltage; communicate with external control equipment and receive external control Equipment signal or feedback system ambient temperature, LED operating temperature, real-time output voltage.

作为本发明优选的方案,所述降压模块采用降压芯片,其型号为AMS1117-3.3,用于将输入的5V电压转化为3.3V,为微控制器U2和U5数字电位器TPL0501供电。。As a preferred solution of the present invention, the step-down module adopts a step-down chip, the model of which is AMS1117-3.3, which is used to convert the input 5V voltage into 3.3V to supply power for the microcontroller U2 and U5 digital potentiometer TPL0501. .

作为本发明优选的方案,所述温度采集模块包括P4、P6,所述P4连接R15、R16,所述P6连接R11、R12,将10kΩ的NTC电阻和R15组成分压电路,当P4上接的NTC电阻受因温度阻值发生变化时,根据分压原理R16右端(输入到微控制器U2)的电压发生变化,微控制器U2通过ADC采集此电压VADC5,根据公式计算出NTC此时的阻值RNTC,再使用查表法(查找温度和NTC阻值对应的表格)得出此时温度信息。环境温度采集过程同理。As a preferred solution of the present invention, the temperature acquisition module includes P4 and P6, the P4 is connected to R15 and R16, the P6 is connected to R11 and R12, and the 10kΩ NTC resistor and R15 are used to form a voltage divider circuit. When P4 is connected When the NTC resistance changes due to temperature, the voltage at the right end of R16 (input to the microcontroller U2) changes according to the principle of voltage division. The microcontroller U2 collects this voltage V ADC5 through the ADC, and calculates the NTC at this time according to the formula Resistance value R NTC , and then use the look-up table method (find the table corresponding to the temperature and NTC resistance value) to obtain the temperature information at this time. The ambient temperature acquisition process is the same.

Figure BDA0003854121540000041
Figure BDA0003854121540000041

作为本发明优选的方案,所述通讯模块包括微控制器U3、瞬态抑制二极管D3以及P3,所述微控制器U3采用Modbus协议通讯交换数据,所述U3-10脚与微控制器U2的串口发送端相连接,U3-12脚与微控制器U2的串口接收端相连接,U3型号为MAX3232EEAE将微控制器的逻辑信号电平与RS232的电平相互转化,本发明与外部控制设备通过RS232连接,使用Modbus协议通讯交换数据。微控制器使用的是3.3V的TTL电平的串口通讯,而RS232是负逻辑电平,它定义+3~+15V为低电平,而-15~-3V为高电平,RS232串口的RX、TX需要经过电平转换才能接到微控制器的引脚上,否则高电压很可能会把微控制器烧坏;As a preferred solution of the present invention, the communication module includes a microcontroller U3, a transient suppression diode D3 and P3, the microcontroller U3 adopts the Modbus protocol to communicate and exchange data, and the U3-10 pin and the microcontroller U2 The serial port sending end is connected, U3-12 pins are connected with the serial port receiving end of the microcontroller U2, and the U3 model is MAX3232EEAE, which converts the logical signal level of the microcontroller and the level of RS232 mutually, and the present invention can communicate with the external control equipment through RS232 connection, use Modbus protocol to communicate and exchange data. The microcontroller uses 3.3V TTL level serial port communication, while RS232 is a negative logic level, which defines +3~+15V as low level, and -15~-3V as high level, RS232 serial port RX and TX need to be level-shifted before they can be connected to the pins of the microcontroller, otherwise the high voltage is likely to burn the microcontroller;

J1为DB-9的RS232标准接口,D3为瞬态抑制二极管(TVS),因为J1是与外部控制设备相连接的硬件接口,当与J1相连的硬件上存在高压静电时,则可能会损伤本发明中RS232硬件电路部分,而并联在接口电路的D3可以先吸收电能,使RS323硬件电路不受高压静电的损害。J1 is the RS232 standard interface of DB-9, D3 is a transient suppression diode (TVS), because J1 is a hardware interface connected with external control equipment, when there is high-voltage static electricity on the hardware connected to J1, it may damage the device. In the RS232 hardware circuit part of the invention, the D3 connected in parallel to the interface circuit can absorb electric energy first, so that the RS323 hardware circuit is not damaged by high-voltage static electricity.

作为本发明优选的方案,所述输出电压采集模块包括D4,D4连接有A4/ADC4,所述A4/ADC4连接有R17和R18,所述R17和R18组成分压电路,所述A4/ADC4与微控制器U2的ADC采集脚相连,所述D4为3.3V稳压二极管ZM4728,VVCC_OUT为系统输出电压,A4/ADC4与微控制器U2的ADC采集脚相连。当VVCC_OUT变化时,根据分压原理R17和R18中间(输入到微控制器U2的电压发生变化,微控制器U2通过ADC采集此电压VADC4,根据公式便可以计算出此时系统VVCC_OUT的实际输出电压。D4为3.3V稳压二极管ZM4728,用于防止微控制器I/O不受高电压损害。As a preferred solution of the present invention, the output voltage acquisition module includes D4, D4 is connected with A4/ADC4, and the A4/ADC4 is connected with R17 and R18, and the R17 and R18 form a voltage divider circuit, and the A4/ADC4 and The ADC acquisition pin of the microcontroller U2 is connected, the D4 is a 3.3V Zener diode ZM4728, V VCC_OUT is the system output voltage, and A4/ADC4 is connected with the ADC acquisition pin of the microcontroller U2. When V VCC_OUT changes, according to the principle of voltage division between R17 and R18 (the voltage input to the microcontroller U2 changes, the microcontroller U2 collects this voltage V ADC4 through the ADC, and the system V VCC_OUT at this time can be calculated according to the formula The actual output voltage. D4 is a 3.3V Zener diode ZM4728, which is used to prevent the microcontroller I/O from being damaged by high voltage.

与现有技术相比,本发明的有益效果是:Compared with prior art, the beneficial effect of the present invention is:

1、本发明能够根据实际工作情况实现智能判断光衰程度,智能给出电路补偿值,避免使用一段时间后光照强度会变弱;1. The present invention can intelligently judge the degree of light attenuation according to the actual working conditions, intelligently give the circuit compensation value, and avoid the weakening of the light intensity after a period of use;

2、本发明通过Modbus协议传输控制设备发出的控制信号,控制信号包含当前输出电流、输出阈值电压(针对不同LED工作电压不同,外部控制设备通过通讯配置不同输出电压阈值,范围可达(6V-35V)、使能信号,也可以向外部控制设备反馈系统环境温度、LED工作温度、实时输出电压信息;2. The present invention transmits the control signal sent by the control device through the Modbus protocol. The control signal includes the current output current and the output threshold voltage (for different LED operating voltages, the external control device configures different output voltage thresholds through communication, and the range can reach (6V- 35V), enable signal, and can also feed back system ambient temperature, LED operating temperature, and real-time output voltage information to external control equipment;

3、本发明能够实现最高680W的功率输出,实现电流0-20A的调节范围,调节精度可达±6%,在满足合适的输入输出电压时,输出电流的可调精度可达±3%,兼容性高。3. The present invention can realize the highest power output of 680W, realize the adjustment range of the current 0-20A, and the adjustment accuracy can reach ±6%. When the appropriate input and output voltages are met, the adjustable accuracy of the output current can reach ±3%. High compatibility.

附图说明Description of drawings

图1为本发明的系统框图;Fig. 1 is a system block diagram of the present invention;

图2为本发明程序执行流程图;Fig. 2 is the flow chart of program execution of the present invention;

图3为本发明中主驱动模块的电路图;Fig. 3 is the circuit diagram of main drive module among the present invention;

图4为本发明中微控制器模块的电路图;Fig. 4 is the circuit diagram of microcontroller module among the present invention;

图5为本发明中降压芯片的电路图;Fig. 5 is the circuit diagram of step-down chip among the present invention;

图6为本发明的温度采集模块的电路图;Fig. 6 is the circuit diagram of the temperature acquisition module of the present invention;

图7为本发明的通讯模块的电路图;Fig. 7 is the circuit diagram of the communication module of the present invention;

图8为本发明的输出电压采集模块的电路图。Fig. 8 is a circuit diagram of the output voltage acquisition module of the present invention.

具体实施方式detailed description

下面将结合本发明实施例,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the present invention Embodiments, and all other embodiments obtained by persons of ordinary skill in the art without creative efforts, all belong to the scope of protection of the present invention.

为了便于理解本发明,下面将参照相关对本发明进行更全面的描述。给出了本发明的若干实施例。但是,本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本发明的公开内容更加透彻全面。In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant ones. Several examples of the invention are given. However, the present invention can be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of the present invention will be thorough and complete.

需要说明的是,当元件被称为“固设于”另一个元件,它可以直接在另一个元件上或者也可以存在居中的元件。当一个元件被认为是“连接”另一个元件,它可以是直接连接到另一个元件或者可能同时存在居中元件。本文所使用的术语“垂直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的。It should be noted that when an element is referred to as being “fixed on” another element, it may be directly on the other element or there may be an intervening element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and similar expressions are used herein for purposes of illustration only.

除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

请参阅图1-8,本发明提供一种技术方案:Referring to Figures 1-8, the present invention provides a technical solution:

实施例,请参照图1-8,一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,包括主驱动模块,主驱动模块电性连接有MOS开关以及微控制器模块,MOS开关通过降压模块与主电源电性连接,MOS开关电性连接有输出电压采集模块,输出电压采集模块电性连接有LED模块,输出电压采集模块与主驱动模块之间电性模块,主动驱动模块与微控制器模块之间电性连接有温度采集模块,微控制器模块电性连接有通讯模块,通讯模块电性连接有外部控制设备。For the embodiment, please refer to Figures 1-8, a digital communication high-power LED drive control system with light attenuation compensation, including a main drive module, the main drive module is electrically connected to a MOS switch and a microcontroller module, and the MOS switch passes through The step-down module is electrically connected to the main power supply, the MOS switch is electrically connected to the output voltage acquisition module, the output voltage acquisition module is electrically connected to the LED module, the electrical module is between the output voltage acquisition module and the main drive module, and the active drive module is connected to the main drive module. The microcontroller modules are electrically connected to a temperature acquisition module, the microcontroller modules are electrically connected to a communication module, and the communication module is electrically connected to an external control device.

请参照图3,主驱动模块包括U1、Q1、Q2、P1、P2以及U5,U1采用固定频率同步降压型DC/DC控制器LT3741与Q1、Q2组成主要变换电路,U5采用数字电位器TPL0501,主驱动模块还包括电感L1、电容C9、电容C10,电感L1和电容C9、电容C10组成滤波电路,对输入的电源进行降压和恒流变换,转化为驱动LED的恒流电源,主驱动电路接收来自微控制器U2的使能和DAC模拟电压信号,控制主驱动电路的启停和输出电流的大小;LT3741的3脚为芯片电源输入脚,由其构成的恒流电路,输入电压(VIN)范围为6-36V,输出电压范围为VIN-2V(4-34V),输出电流20A连续可调,4脚EN/UVLO为使能管脚,最大输入电压小于6V,当4脚电压小于1.55V时LT3741失能停止工作;反之,当电压为1.55-6V LT3741使能开始工作,4脚与微控制器U2的A1 I/O端口连接,当A1设置为高电平(3.3V)时主驱动电路进入准备工作状态;反之低电平时(0V)停止工作,8脚CTRL1为输出电流设置管脚,最大输入电压小于2V,正常输入电压为0-1.5V,对应输出电流为0-20A,当LT3741被使能且有电流信号时主驱动电路工作,10脚FB管脚通过连接的外部数字电位器U5设置输出电压阈值,当实时输出电压超过设置电压的125%时,电路触发过压保护,主驱动电路停止输出。与14脚RT连接的电阻用于配置主驱动电路工作频率。此处上设置主驱动电路工作频率为400kHz;U5接收来自微控制器U2的SPI通讯信号设置U5数字电位器的阻值,从而设置输出电压阈值,单通道、线性变化,满阻值为100kΩ的数字电位器,具有256抽头。这个装置可以是作为一个三端电位器,TPL0501的内部寄存器可以使用SPI通讯方式来设置其阻值。其7、1、8脚相当于普通可调电位器的三个引脚,设置7脚和1脚的阻值为Ra,那么1脚和8脚的阻值为Rb=(100-Ra)kΩ,根据电阻分压原理可以得到,TPL0501-1脚输出到LT3741-10脚上的反馈电压VFB(VVCC_OUT为系统输出电压)为:Please refer to Figure 3. The main drive module includes U1, Q1, Q2, P1, P2 and U5. U1 uses a fixed frequency synchronous step-down DC/DC controller LT3741 to form the main conversion circuit with Q1 and Q2. U5 uses a digital potentiometer TPL0501 , the main drive module also includes inductor L1, capacitor C9, and capacitor C10. Inductor L1, capacitor C9, and capacitor C10 form a filter circuit, which steps down and converts the input power to a constant current power supply for driving LEDs. The main driver The circuit receives the enable and DAC analog voltage signal from the microcontroller U2, and controls the start and stop of the main drive circuit and the output current; pin 3 of the LT3741 is the input pin of the chip power supply, and the constant current circuit composed of it, the input voltage ( VIN) range is 6-36V, the output voltage range is VIN-2V (4-34V), the output current is 20A continuously adjustable, the 4-pin EN/UVLO is the enable pin, the maximum input voltage is less than 6V, when the 4-pin voltage is less than When the voltage is 1.55V, the LT3741 is disabled and stops working; on the contrary, when the voltage is 1.55-6V, the LT3741 is enabled and starts working, and the 4 pin is connected to the A1 I/O port of the microcontroller U2. When A1 is set to a high level (3.3V) The main drive circuit enters the ready working state; otherwise, it stops working when it is low (0V), and the 8-pin CTRL1 is the output current setting pin. The maximum input voltage is less than 2V, the normal input voltage is 0-1.5V, and the corresponding output current is 0-20A , when the LT3741 is enabled and there is a current signal, the main drive circuit works, and the 10-pin FB pin sets the output voltage threshold through the connected external digital potentiometer U5. When the real-time output voltage exceeds 125% of the set voltage, the circuit triggers overvoltage Protection, the main drive circuit stops output. The resistor connected to 14-pin RT is used to configure the operating frequency of the main drive circuit. Here, the operating frequency of the main drive circuit is set to 400kHz; U5 receives the SPI communication signal from the microcontroller U2 to set the resistance value of the U5 digital potentiometer, thereby setting the output voltage threshold, single channel, linear change, and a full resistance value of 100kΩ Digital potentiometer with 256 taps. This device can be used as a three-terminal potentiometer, and the internal register of TPL0501 can use SPI communication to set its resistance value. Its pins 7, 1, and 8 are equivalent to the three pins of an ordinary adjustable potentiometer. If the resistance value of pin 7 and pin 1 is set to Ra, then the resistance value of pin 1 and pin 8 is Rb=(100-Ra)kΩ , according to the principle of resistor voltage division, the feedback voltage V FB (V VCC_OUT is the system output voltage) output from the TPL0501-1 pin to the LT3741-10 pin is:

Figure BDA0003854121540000081
Figure BDA0003854121540000081

由此可以通过改变数字电位器TPL0501的阻值设置输出电压阈值。与传统机械电位器相比,这种通过程序控制的输出电压阈值方法更加线性,且可快速达到想要的阈值电压,可以在不改动硬件结构的情况下,根据负载LED的电压等级直接通过程序更改输出电压阈值,也更加方便,兼容性更高。其4脚SCLK为SPI的时钟信号;5脚DIN输入SPI的MOSI(主机输出从机输入)数据信号;6脚CS为片选信号,当SPI上挂载多个从机时,可以通过设置CS电平高低来选择和哪个从机通讯,此处默认为低电平,因为此SPI总线上只存在一个从机,U5的4、5、6脚和微控制器U2的A10、A11、A12 I/O连接用于SPI数据通讯;所述U1采用固定频率同步降压型DC/DC控制器LT3741与Q1、Q2组成主要变换电路,所述U5采用数字电位器TPL0501,所述主驱动模块还包括电感L1、电容C9、电容C10,所述电感L1和电容C9、电容C10组成滤波电路,降低输出电流和电压的纹波;Therefore, the output voltage threshold can be set by changing the resistance value of the digital potentiometer TPL0501. Compared with traditional mechanical potentiometers, this program-controlled output voltage threshold method is more linear and can quickly reach the desired threshold voltage. It can be directly passed through the program according to the voltage level of the load LED without changing the hardware structure. It is also more convenient and more compatible to change the output voltage threshold. Its 4-pin SCLK is the SPI clock signal; 5-pin DIN inputs the SPI MOSI (master output slave input) data signal; 6-pin CS is the chip select signal. When multiple slaves are mounted on the SPI, you can set the CS The level is high or low to choose which slave to communicate with, here the default is low level, because there is only one slave on the SPI bus, pins 4, 5, 6 of U5 and A10, A11, A12 of the microcontroller U2 I /O connection is used for SPI data communication; the U1 uses a fixed frequency synchronous step-down DC/DC controller LT3741 and Q1, Q2 to form the main conversion circuit, the U5 uses a digital potentiometer TPL0501, and the main drive module also includes Inductor L1, capacitor C9, and capacitor C10, the inductor L1, capacitor C9, and capacitor C10 form a filter circuit to reduce output current and voltage ripple;

R6为高精度低阻值的电流采样电阻,用于电流闭环控制。根据欧姆定律U=IR,I=U/R,通过测量R6两端的电压即可得到出输出电流;R6 is a current sampling resistor with high precision and low resistance, which is used for current closed-loop control. According to Ohm's law U=IR, I=U/R, the output current can be obtained by measuring the voltage across R6;

LED1是输出指示灯,与之串联的电阻R7作用是分压,本结构也可以充当泄放电路,当负载断开时,此部分可以用放掉电容C9和C10里储存的电能;LED1 is the output indicator light, and the resistor R7 in series with it is used to divide the voltage. This structure can also act as a discharge circuit. When the load is disconnected, this part can be used to discharge the electric energy stored in the capacitors C9 and C10;

其中P1、P2为分别为电源输入、输出接口,采用多个排针并联的连接方式,既能承载额定电流,又能方便与其他设备相连接。Among them, P1 and P2 are the power input and output interfaces respectively, and adopt the connection method of multiple pin headers in parallel, which can not only carry the rated current, but also facilitate the connection with other devices.

请参照图4,请参照图1、2和3,微控制器模块包括微控制器U2,且型号为国产兆易创新GD32F350G8U6,用于向主驱动模块发送电流控制和使能信号,微控制器模块通过SPI通讯方式设置U5数字电位器TPL0501的电阻阻值,从而可以设置输出阈值电压,以匹配不同电压等级的LED;采集系统环境温度、LED工作温度、实时输出电压;和外部控制设备通讯,接收外部控制设备的信号或反馈系统环境温度、LED工作温度、实时输出电压。Please refer to Figure 4, please refer to Figures 1, 2 and 3. The microcontroller module includes a microcontroller U2, and the model is the domestic Zhaoyi Innovation GD32F350G8U6, which is used to send current control and enable signals to the main drive module. The microcontroller The module sets the resistance value of U5 digital potentiometer TPL0501 through SPI communication, so that the output threshold voltage can be set to match LEDs of different voltage levels; collect system ambient temperature, LED operating temperature, and real-time output voltage; communicate with external control equipment, Receive signals from external control devices or feed back system ambient temperature, LED operating temperature, and real-time output voltage.

请参照图5,降压模块采用降压芯片,其型号为AMS1117-3.3,用于将输入的5V电压转化为3.3V,为微控制器U2和U5数字电位器TPL0501供电。Please refer to Figure 5. The step-down module uses a step-down chip, the model of which is AMS1117-3.3, which is used to convert the input 5V voltage to 3.3V to supply power for the microcontroller U2 and U5 digital potentiometer TPL0501.

请参照图6,温度采集模块包括P4、P6,P4连接R15、R16,P6连接R11、R12,将10kΩ的NTC电阻和R15组成分压电路,当P4上接的NTC电阻受因温度阻值发生变化时,根据分压原理R16右端(输入到微控制器U2)的电压发生变化,微控制器U2通过ADC采集此电压VADC5,根据公式计算出NTC此时的阻值RNTC,再使用查表法(查找温度和NTC阻值对应的表格)得出此时温度信息。环境温度采集过程同理。Please refer to Figure 6. The temperature acquisition module includes P4 and P6. P4 is connected to R15 and R16, and P6 is connected to R11 and R12. The 10kΩ NTC resistor and R15 form a voltage divider circuit. When the NTC resistor connected to P4 is affected by the temperature resistance When changing, the voltage at the right end of R16 (input to the microcontroller U2) changes according to the principle of voltage division, and the microcontroller U2 collects this voltage V ADC5 through the ADC, calculates the resistance value R NTC of the NTC at this time according to the formula, and then uses the query Table method (find the table corresponding to temperature and NTC resistance value) to get the temperature information at this time. The ambient temperature acquisition process is the same.

Figure BDA0003854121540000101
Figure BDA0003854121540000101

请参照图7,通讯模块包括微控制器U3、瞬态抑制二极管D3以及P3,微控制器U3采用Modbus协议通讯交换数据,U3-10脚与微控制器U2的串口发送端相连接,U3-12脚与微控制器U2的串口接收端相连接,U3型号为MAX3232EEAE将微控制器的逻辑信号电平与RS232的电平相互转化,本发明与外部控制设备通过RS232连接,使用Modbus协议通讯交换数据。微控制器使用的是3.3V的TTL电平的串口通讯,而RS232是负逻辑电平,它定义+3~+15V为低电平,而-15~-3V为高电平,RS232串口的RX、TX需要经过电平转换才能接到微控制器的引脚上,否则高电压很可能会把微控制器烧坏;Please refer to Figure 7. The communication module includes microcontroller U3, TVS diode D3 and P3. Microcontroller U3 adopts Modbus protocol to communicate and exchange data. Pin U3-10 is connected to the serial port sending end of microcontroller U2. U3- The 12 pins are connected to the serial port receiving end of the microcontroller U2, and the U3 model is MAX3232EEAE, which converts the logic signal level of the microcontroller and the level of RS232. data. The microcontroller uses 3.3V TTL level serial port communication, while RS232 is a negative logic level, which defines +3~+15V as low level, and -15~-3V as high level, RS232 serial port RX and TX need to be level-shifted before they can be connected to the pins of the microcontroller, otherwise the high voltage is likely to burn the microcontroller;

J1为DB-9的RS232标准接口,D3为瞬态抑制二极管(TVS),因为J1是与外部控制设备相连接的硬件接口,当与J1相连的硬件上存在高压静电时,则可能会损伤本发明中RS232硬件电路部分,而并联在接口电路的D3可以先吸收电能,使RS323硬件电路不受高压静电的损害。J1 is the RS232 standard interface of DB-9, D3 is a transient suppression diode (TVS), because J1 is a hardware interface connected with external control equipment, when there is high-voltage static electricity on the hardware connected to J1, it may damage the device. In the RS232 hardware circuit part of the invention, the D3 connected in parallel to the interface circuit can absorb electric energy first, so that the RS323 hardware circuit is not damaged by high-voltage static electricity.

请参照图8,输出电压采集模块包括D4,D4连接有A4/ADC4,A4/ADC4连接有R17和R18,R17和R18组成分压电路,A4/ADC4与微控制器U2的ADC采集脚相连,D4为3.3V稳压二极管ZM4728,VVCC_OUT为系统输出电压,A4/ADC4与微控制器U2的ADC采集脚相连。当VVCC_OUT变化时,根据分压原理R17和R18中间(输入到微控制器U2的电压发生变化,微控制器U2通过ADC采集此电压VADC4,根据公式便可以计算出此时系统VVCC_OUT的实际输出电压。D4为3.3V稳压二极管ZM4728,用于防止微控制器I/O不受高电压损害。Please refer to Figure 8, the output voltage acquisition module includes D4, D4 is connected to A4/ADC4, A4/ADC4 is connected to R17 and R18, R17 and R18 form a voltage divider circuit, A4/ADC4 is connected to the ADC acquisition pin of the microcontroller U2, D4 is a 3.3V Zener diode ZM4728, V VCC_OUT is the system output voltage, and A4/ADC4 is connected to the ADC acquisition pin of the microcontroller U2. When V VCC_OUT changes, according to the principle of voltage division between R17 and R18 (the voltage input to the microcontroller U2 changes, the microcontroller U2 collects this voltage V ADC4 through the ADC, and the system V VCC_OUT at this time can be calculated according to the formula The actual output voltage. D4 is a 3.3V Zener diode ZM4728, which is used to prevent the microcontroller I/O from being damaged by high voltage.

该控制系统的控制方法:The control method of the control system:

a.光衰补偿:系统环境温度与LED工作温度的差值记为衰减温度。对工作时间内系统输出电流和衰减温度值进行连续采样。分析一段时间相同电流下衰减温度的变化率,如果变化率持续增长则判断LED发生光照衰减则增加电流。a. Light attenuation compensation: The difference between the system ambient temperature and the LED operating temperature is recorded as the attenuation temperature. Continuously sample the system output current and attenuation temperature values during working hours. Analyze the rate of change of the attenuation temperature under the same current for a period of time. If the rate of change continues to increase, it is judged that the LED has light attenuation and the current is increased.

I=I1+ΔII=I 1 +ΔI

I为实际输出电流;I1为目标电流;ΔI为补偿电流。因为存在光照衰减,当只直接输出目标电流时,实际光照强度并不是目标强度(虽然电流已经达到,但是有部分能量转为热能),增加补偿电流ΔI;I is the actual output current; I 1 is the target current; ΔI is the compensation current. Because of the light attenuation, when only the target current is directly output, the actual light intensity is not the target intensity (although the current has reached, but some energy is converted into heat energy), increase the compensation current ΔI;

b.程序线性矫正:因为对主驱动电路的控制信号是0-1.5V的模拟电压,对应输出电流为0-20A,但是实际输出电流并不是按照下面公式执行输出电b. Program linearity correction: Because the control signal to the main drive circuit is an analog voltage of 0-1.5V, the corresponding output current is 0-20A, but the actual output current is not according to the following formula.

流:flow:

Figure BDA0003854121540000111
Figure BDA0003854121540000111

实际情况下模拟信号电压和输出电流是非线性的对应关系,利用程序进行线性矫正,达到0-1.5V模拟信号电压和0-20A实际输出电流是线性对应的关系;In the actual situation, the analog signal voltage and output current are non-linear correspondence, and the program is used for linear correction to achieve a linear correspondence between the 0-1.5V analog signal voltage and the 0-20A actual output current;

c.Modbus通讯控制:本系统与外部控制设备通讯时采用Modbus通讯协议,当外部控制设备向本系统发送控制信号时,微控制器先对信号进行解析,提取控制信息,微控制器再控制主驱动电路,同时微控制器通过通讯协议向外部控制设备反应采集的系统环境温度、LED工作温度和实时输出电压。c. Modbus communication control: The system uses the Modbus communication protocol when communicating with external control equipment. When the external control equipment sends a control signal to the system, the microcontroller first analyzes the signal, extracts control information, and then controls the main computer. The drive circuit, while the microcontroller responds to the external control equipment through the communication protocol to collect the collected system ambient temperature, LED operating temperature and real-time output voltage.

尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although the embodiments of the present invention have been shown and described, those skilled in the art can understand that various changes, modifications and substitutions can be made to these embodiments without departing from the principle and spirit of the present invention. and modifications, the scope of the invention is defined by the appended claims and their equivalents.

Claims (7)

1.一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,其特征在于:包括主驱动模块,所述主驱动模块电性连接有MOS开关以及微控制器模块,MOS开关通过降压模块与主电源电性连接,所述MOS开关电性连接有输出电压采集模块,输出电压采集模块电性连接有LED模块,所述输出电压采集模块与主驱动模块之间电性模块,主动驱动模块与微控制器模块之间电性连接有温度采集模块,所述微控制器模块电性连接有通讯模块,通讯模块电性连接有外部控制设备。1. A high-power LED drive control system with light attenuation compensation for digital communication, characterized in that: it includes a main drive module, and the main drive module is electrically connected with a MOS switch and a microcontroller module, and the MOS switch passes through a step-down The module is electrically connected to the main power supply, the MOS switch is electrically connected to the output voltage acquisition module, the output voltage acquisition module is electrically connected to the LED module, and the electrical module between the output voltage acquisition module and the main drive module is actively driven A temperature acquisition module is electrically connected between the module and the microcontroller module, the microcontroller module is electrically connected to a communication module, and the communication module is electrically connected to an external control device. 2.根据权利要求1所述的一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,其特征在于:所述主驱动模块包括U1、Q1、Q2、P1、P2以及U5,所述U1采用固定频率同步降压型DC/DC控制器LT3741与Q1、Q2组成主要变换电路,所述U5采用数字电位器TPL0501,所述主驱动模块还包括电感L1、电容C9、电容C10,所述电感L1和电容C9、电容C10组成滤波电路。2. A digital communication high-power LED drive control system with light attenuation compensation according to claim 1, characterized in that: the main drive module includes U1, Q1, Q2, P1, P2 and U5, the U1 adopts a fixed-frequency synchronous step-down DC/DC controller LT3741 and Q1, Q2 to form the main conversion circuit. The U5 uses a digital potentiometer TPL0501. The main drive module also includes an inductor L1, a capacitor C9, and a capacitor C10. Inductor L1, capacitor C9, and capacitor C10 form a filter circuit. 3.根据权利要求1所述的一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,其特征在于:所述微控制器模块包括微控制器U2,且型号为国产兆易创新GD32F350G8U6,用于向主驱动模块发送电流控制和使能信号,所述微控制器模块通过SPI通讯方式设置U5数字电位器TPL0501的电阻阻值。3. A digital communication high-power LED drive control system with light attenuation compensation according to claim 1, characterized in that: the microcontroller module includes a microcontroller U2, and the model is the domestic Zhaoyi Innovation GD32F350G8U6 , used to send current control and enable signals to the main drive module, and the microcontroller module sets the resistance value of the U5 digital potentiometer TPL0501 through SPI communication. 4.根据权利要求1所述的一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,其特征在于:所述降压模块采用降压芯片,其型号为AMS1117-3.3,用于将输入的5V电压转化为3.3V,为微控制器U2和U5数字电位器TPL0501供电。4. A digital communication high-power LED drive control system with light attenuation compensation according to claim 1, characterized in that: the step-down module adopts a step-down chip, the model of which is AMS1117-3.3, which is used to The input 5V voltage is converted to 3.3V to power the microcontroller U2 and U5 digital potentiometer TPL0501. 5.根据权利要求1所述的一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,其特征在于:所述温度采集模块包括P4、P6,所述P4连接R15、R16,所述P6连接R11、R12。5. A digital communication high-power LED drive control system with light attenuation compensation according to claim 1, characterized in that: said temperature acquisition module includes P4, P6, said P4 is connected to R15, R16, said P6 connects R11 and R12. 6.根据权利要求1所述的一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,其特征在于:所述通讯模块包括微控制器U3、瞬态抑制二极管D3以及P3,所述微控制器U3采用Modbus协议通讯交换数据,所述U3-10脚与微控制器U2的串口发送端相连接,U3-12脚与微控制器U2的串口接收端相连接。6. A digital communication high-power LED drive control system with light attenuation compensation according to claim 1, characterized in that: the communication module includes a microcontroller U3, TVS diodes D3 and P3, the Microcontroller U3 adopts Modbus protocol to communicate and exchange data, the U3-10 pins are connected with the serial port sending end of microcontroller U2, and the U3-12 pins are connected with the serial port receiving end of microcontroller U2. 7.根据权利要求1所述的一种数字化通讯的带光衰补偿的大功率LED驱动控制系统,其特征在于:所述输出电压采集模块包括D4,D4连接有A4/ADC4,所述A4/ADC4连接有R17和R18,所述R17和R18组成分压电路,所述A4/ADC4与微控制器U2的ADC采集脚相连,所述D4为3.3V稳压二极管ZM4728。7. A digital communication high-power LED drive control system with light attenuation compensation according to claim 1, characterized in that: the output voltage acquisition module includes D4, D4 is connected to A4/ADC4, and the A4/ADC4 ADC4 is connected with R17 and R18, the R17 and R18 form a voltage divider circuit, the A4/ADC4 is connected with the ADC acquisition pin of the microcontroller U2, and the D4 is a 3.3V Zener diode ZM4728.
CN202211148439.XA 2022-09-20 2022-09-20 A digital communication high-power LED drive control system with light attenuation compensation Pending CN115426735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211148439.XA CN115426735A (en) 2022-09-20 2022-09-20 A digital communication high-power LED drive control system with light attenuation compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211148439.XA CN115426735A (en) 2022-09-20 2022-09-20 A digital communication high-power LED drive control system with light attenuation compensation

Publications (1)

Publication Number Publication Date
CN115426735A true CN115426735A (en) 2022-12-02

Family

ID=84204479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211148439.XA Pending CN115426735A (en) 2022-09-20 2022-09-20 A digital communication high-power LED drive control system with light attenuation compensation

Country Status (1)

Country Link
CN (1) CN115426735A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116930671A (en) * 2023-09-19 2023-10-24 成都光创联科技有限公司 Circuit and method for testing performance of current-driven optical device
EP4468826A1 (en) 2023-05-23 2024-11-27 Xiamen PVTECH Co., Ltd. Lighting device having light decay compensation function and method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616524A (en) * 2009-07-29 2009-12-30 广州复旦奥特科技股份有限公司 A kind of commercial LED illumination driver
CN201518546U (en) * 2009-03-30 2010-06-30 西安孚莱德光电科技有限公司 Led digital driver
CN201898645U (en) * 2010-11-19 2011-07-13 陕西群力电工有限责任公司 Adaptive full-automatic optical attenuation compensation device for LED lamps
WO2013138972A1 (en) * 2012-03-19 2013-09-26 Ye Jun Led drive chip and circuit with power compensation
CN103458575A (en) * 2013-08-22 2013-12-18 广西奥顺仪器有限公司 Digital linear dimming method for high-power LED
CN112867207A (en) * 2021-02-19 2021-05-28 南京工业职业技术大学 High-linearity TRIAC dimming compatible LED driving circuit
EP3905855A1 (en) * 2020-04-30 2021-11-03 Leedarson Lighting Co., Ltd. Led driving protection circuit and lamp led

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201518546U (en) * 2009-03-30 2010-06-30 西安孚莱德光电科技有限公司 Led digital driver
CN101616524A (en) * 2009-07-29 2009-12-30 广州复旦奥特科技股份有限公司 A kind of commercial LED illumination driver
CN201898645U (en) * 2010-11-19 2011-07-13 陕西群力电工有限责任公司 Adaptive full-automatic optical attenuation compensation device for LED lamps
WO2013138972A1 (en) * 2012-03-19 2013-09-26 Ye Jun Led drive chip and circuit with power compensation
CN103458575A (en) * 2013-08-22 2013-12-18 广西奥顺仪器有限公司 Digital linear dimming method for high-power LED
EP3905855A1 (en) * 2020-04-30 2021-11-03 Leedarson Lighting Co., Ltd. Led driving protection circuit and lamp led
CN112867207A (en) * 2021-02-19 2021-05-28 南京工业职业技术大学 High-linearity TRIAC dimming compatible LED driving circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4468826A1 (en) 2023-05-23 2024-11-27 Xiamen PVTECH Co., Ltd. Lighting device having light decay compensation function and method thereof
CN116930671A (en) * 2023-09-19 2023-10-24 成都光创联科技有限公司 Circuit and method for testing performance of current-driven optical device
CN116930671B (en) * 2023-09-19 2023-11-21 成都光创联科技有限公司 Circuit and method for testing performance of current-driven optical device

Similar Documents

Publication Publication Date Title
CN102762011B (en) LED (Light Emitting Diode) constant-current dimming drive circuit device
CN115426735A (en) A digital communication high-power LED drive control system with light attenuation compensation
CN205105426U (en) Automatic linear constant current LED drive circuit of full voltage sectional type of switching mode
WO2022179187A1 (en) Voltage-adaptive laser driving circuit and control method thereof
CN201374838Y (en) LED driving power source
CN102695319B (en) LED stepless light regulating circuit
CN109066940A (en) A kind of charge control method, circuit, charger and electric tool
CN101711071A (en) LED control circuit and LED device
CN103857154B (en) A kind of LED tunable optical drives controller
CN102005718A (en) Protector for electronic load and electronic load system
CN102833902B (en) Booster type constant current driver circuit for LED
CN106026745A (en) Control chip for photovoltaic inverter integrated system
CN201489799U (en) LED display screen and power supply circuit thereof
CN202268152U (en) Backlight constant-current and constant-voltage driving circuit for display screen
CN205160851U (en) Two unification powers
CN101377614A (en) Heat radiation system of projector
CN212183153U (en) Charging circuit, control box and lamps and lanterns
CN202268710U (en) Energy-controllable output device for fuel battery
CN208890452U (en) A kind of charging control circuit, charger and electric tool
CN203504823U (en) LED drive
CN202503733U (en) Voltage-dropping constant-current light-emitting diode (LED) driving power supply with high power factors
CN110417274A (en) The Switching Power Supply that chip can be automatically shut down when a kind of low-load
CN109951921A (en) A kind of knob lamp operating circuit and hand-held lamp
CN206348513U (en) A kind of microscope Bluetooth control handle
CN202918561U (en) LED lamp power supply employing feedback voltage for light modulation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination