Summary of the invention
In view of this, it is necessary to provide a kind of LED drivings that can be detected LED multi-path and drive these LED with self-checking function
Device.
A kind of LED drive device with self-checking function, for driving the LED light string with male terminal, including MCU to control mould
Block, at least two constant-current driven modules and female terminal connecting with the MCU control module, the female terminal respectively correspond each perseverance
It flows drive module and is equipped with a socket, the socket is connect with the constant-current driven module respectively, which is equipped at least
One plug, each plug are connect with a LED light string, and the LED light string is plugged in the socket by the plug, further includes
The output electric current measure module being connect with the socket, when slotting on the socket that the output electric current measure module detects its connection
After being connected to LED light string, the output electric current measure module will test the LED light string classification and quantity and will test signal feedback
The MCU control module is given, which controls the constant-current driven module according to the detection signal and provide to the LED light string
Different driving currents.
Compared with prior art, when the output electric current measure module detect its connection socket on be plugged with LED light
After string, the output electric current measure module will test the LED light string classification and quantity and will test signal feed back to the MCU control
Molding block, the MCU control module control the constant-current driven module according to the detection signal and provide different drivings to the LED light string
Electric current realizes the function of detecting and control automatically different lamp-type to control corresponding LED light string.Due to only passing through a MCU
Control module just can control different number, different types of LED light string, and a control module can only control compared to the prior art
The scheme of one LED light, the LED drive device with self-checking function have and can detect LED multi-path and drive that these LED's is excellent
Point.
Detailed description of the invention
Fig. 1 is the circuit diagram with automatic detection function LED driver circuit of first embodiment of the invention.
Fig. 2 is the structural schematic diagram of the female terminal of first embodiment of the invention.
Fig. 3 is the structural schematic diagram of the first male terminal of first embodiment of the invention.
Fig. 4 is the structural schematic diagram of the second male terminal of first embodiment of the invention.
Fig. 5 is the structural schematic diagram of the third male terminal of first embodiment of the invention.
Description of symbols:
10 rectification filtering modules
20 constant pressure drive modules
30 MCU control modules
40 constant-current driven modules
50 output electric current measure modules
60 female terminals
61 first sockets
62 second sockets
63 third sockets
64 the 4th sockets
65 first orientation slots
66 second orientation slots
The first male terminal of 70a
The second male terminal of 70b
70c third male terminal
71 plugs
72 oriented tiles.
Specific embodiment
Present invention is further described in detail with specific embodiment with reference to the accompanying drawing.
Please refer to Fig. 1, Fig. 2, the LED drive device with self-checking function of first embodiment of the invention, for driving band public
The LED light string of terminal.The LED drive device includes host computer, rectification filtering module 10, constant pressure drive module 20, MCU control mould
30, four constant-current driven modules 40 of block and female terminal 60.The host computer is equipped with control interface, and the host computer and the MCU are controlled
Molding block 30 connects, and is equipped with different control programs for different classes of LED light string in the host computer.
The rectification filtering module 10 connects constant pressure drive module 20, which drives with the constant current respectively
Module 40 connects, to provide constant voltage to the constant-current driven module 40.The constant pressure drive module 20 and the MCU control module
30 connections, to power to the MCU control module 30.The MCU control module 30 connects four constant-current driven modules 40 and female end
Son 60, the female terminal 60 respectively correspond each constant-current driven module 40 equipped with a socket, these sockets drive with the constant current respectively
Dynamic model block 40 connects.The male terminal of the LED light string is equipped with plug, which connect with LED light string, and the LED light string passes through
The plug is plugged in the socket.It further include four output electric current measure modules 50 being connect with these sockets, when these outputs
Current detection module 50 detect its connection socket on be plugged with LED light string after, these output electric current measure modules 50 will examine
It surveys the classification of these LED light strings and quantity and will test signal and feed back to the MCU control module 30.The MCU control module 30
These constant-current driven modules 40 are controlled according to the detection signal, and different driving currents is provided to these LED light strings.These output electricity
Stream detection module 50 judged by detecting the current strength in the LED light string LED light string classification (monochromatic warm, double-colored temperature or
RGB).
Fig. 2 to Fig. 5 is please referred to, is successively arranged the first socket 61, first orientation slot 65, on the female terminal 60 from left to right
Two sockets 62, third socket 63, second orientation slot 66 and the 4th socket 64.According to LED light string classification (monochromatic temperature, double-colored temperature or
RGB) be correspondingly provided with three kinds of male terminals: i.e. the first male terminal 70a(is shown in Fig. 3), the second male terminal 70b(is shown in Fig. 4) and third male end
Sub- 70c(is shown in Fig. 5).The first male terminal 70a is equipped with a plug 71 and an oriented tile 72, which inserts with respect to this
First 71 position and the orientation slots 65 are with respect to the position of the socket 61 and the position phase of the opposite socket 63 of the orientation slots 66
Together.So that first socket 61 and first orientation slot 65 can be inserted by first male terminal 70a or third socket 63 or the second takes
To slot 66, but the socket 62 and 64 cannot be inserted into.The plug 71 connects the LED light string of a monochromatic temperature.Second male terminal 70b
On set there are two plug 71 and an oriented tile 72, the position of the oriented tile 72 is with respect to the orientation slots 65 and 66 setting.This two
Plug 71b is separately connected the LED light string of two different-colours.Second male terminal 70b can be inserted the first socket 61, first take
To slot 65, the second socket 62 or third socket 63, second orientation slot 66 and the 4th socket 64.Third male terminal 70c is equipped with
The position of three plugs 71 and two oriented tiles 72, the oriented tile 72 is arranged with respect to the orientation slots 65 and 66.Three plugs 71
It is separately connected the LED light string of the different luminescent colors of RGB tri-, third male terminal 70c can be inserted the first socket 61, first take
To slot 65, the second socket 62, second orientation slot 66 and the 4th socket 64.It, should only when the oriented tile is inserted into the orientation slots
All plugs of male terminal could be inserted into the socket of the female terminal, and the output electric current measure module 50 is according on the female terminal 60
The plug quantity of connection and insertion position judge the classification and quantity of LED light string.Since first male terminal 70a can not be inserted into
In 4th socket 64, so the MCU control module 30 can be a third male terminal 70c by what is connect on female terminal, still
One the first male terminal 70a and a second male terminal 70b are distinguished.
The control signal of MCU control module 30 can be the wireless modes such as RF, infrared or wired control mode or PLC etc.
Deng.Host computer can be mobile phone or remote controler, server equipped with APP etc..User can pass through the control interface of host computer
It controls 30 output pwm signal of MCU control module, lamp is controlled.
It is respectively equipped with a Lamp cup and bulb housing for each LED light string, the LED light string is arranged in the Lamp cup, should
Bulb housing is located at the top of the Lamp cup, to constitute a LED light source.Certainly, the LED light string also can be set mould group,
On fluorescent lamp or lamp bar.
When work, which will test on the female terminal 60 has be inserted into plug for which socket.And
And the current strength that can be accessed by detection after LED light string judges the classification of the LED light string.By judging which socket is inserted
Having entered plug may determine that the LED light string for having accessed which classification or quantity.In this way, the MCU control module can recall
Different drivers is powered to LED light string.For example, what is accessed is the LED light string of RGB type, then need using for RGB
The driver of LED light string.If what is accessed is the LED light string of two double-colored temperature, need to mention to two LED light strings respectively
Driving signal is dimmed for two PWM.
Compared with prior art, when the output electric current measure module detect its connection socket on be plugged with LED light
After string, the output electric current measure module will test the LED light string classification and quantity and will test signal feed back to the MCU control
Molding block, the MCU control module control the constant-current driven module according to the detection signal and provide different drivings to the LED light string
Electric current realizes the function of detecting and control automatically different lamp-type to control corresponding LED light string.Due to only passing through a MCU
Control module just can control different number, different types of LED light string, and a control module can only control compared to the prior art
The scheme of one LED light, the LED drive device with self-checking function have and can detect LED multi-path and drive that these LED's is excellent
Point.
The lamp string quantity that the present invention is not limited to four tunnels driving output circuit and be correspondingly connected with, institute's band lamp string quantity and corresponding drive
Dynamic output circuit can also be able to achieve automatic detection function for 4 integral multiple, or conceive institute based on same technique of the present invention
The equivalent transformation of work is within scope of the claimed of the present invention.