LED intelligent lamp strip controller
Technical Field
The invention relates to the field of illumination, in particular to an LED intelligent lamp strip controller.
Background
The LED lamp has the advantages of softness, random curling, cutting and delayed connection and the like, and is widely applied to decoration and illumination on buildings (indoor and outdoor decoration), bridges, roads, gardens, courtyards, floors, ceilings, furniture, automobiles, ponds, water bottoms, advertisements, signboards, signs and the like at present; the lighting function of the swimming pool lamp is characterized in that the color of the underwater colored lamp is generally five colors, namely red, yellow, green, blue and white, the color can be selected according to application occasions, irradiation objects and created atmospheres, the conditions of water resistance, 12V low-voltage safety electricity, safe and reliable operation and the like are required, but the general intelligent lamp belt controller cannot meet the requirements.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a water-bottom lamp belt system for 12V low-voltage application based on an application environment and the characteristics thereof, which has the characteristics of a lamp belt and a water-bottom lamp, is safe in low voltage, waterproof, RGB (red, green and blue) color changing, can select a color changing program through a controller, and can realize color changing brightness adjustment; when multiple lamps are applied, the LED intelligent lamp belt controller can ensure that the color change consistency is controlled within 30ms (the data is the data which realizes the synchronous operation of a program within 1-2 periods by detecting the electrifying signal of the alternating current pulse through the MCU, namely the program starts to operate 1-2 periods after receiving the PF alternating current pulse).
In order to achieve the purpose, the invention provides the following technical scheme:
the LED intelligent lamp belt controller comprises a main power supply circuit module, an MCU power supply circuit module, an alternating current detection circuit module, an MCU control circuit module and an LED control circuit module,
the main power supply circuit module is used for supplying power to the whole set of controller system and providing constant voltage or constant current output;
the MCU power supply circuit module is used for supplying power to the MCU and the controller auxiliary system and providing stable voltage;
the alternating current detection circuit module is used for detecting an alternating current signal and feeding the signal back to the MCU;
the MCU control circuit module is used for giving corresponding data to the LED control circuit according to signals provided by the outside,
the LED control circuit module is used for receiving a signal given by the MCU and providing a corresponding power supply current voltage for the LED, so that the effect of controlling the brightness and the color of the LED is achieved.
Furthermore, the main power supply circuit module comprises a front-stage fuse and a rear-stage BUCK constant voltage circuit, a CLC filter device is arranged on the front-stage fuse, and the rear-stage BUCK constant voltage circuit stabilizes the output at the maximum direct current voltage of 12V.
Further, the MCU supply circuit module comprises a diode (D2) for separating from the previous circuit V +, a capacitor (E1) for electrolytically maintaining the stored energy and a capacitor (E2).
Further, the alternating current detection circuit module comprises a low dropout linear regulator (LDO) for voltage reduction.
Further, the MCU control circuit module comprises an MCU (U2), an LED detection circuit and two dial switches,
the low dropout linear regulator (LDO) reduces the voltage in the MCU power supply circuit module from 12V to 5V and supplies the power to the MCU (U2) and the optical coupler (IC 5),
the alternating current detection circuit module feeds back an alternating current signal to the MCU (U2), the MCU (U2) selects a corresponding program to feed back the program to the LED control circuit module,
the LED detection circuit responds synchronously with the LEDs in the LED control circuit module,
the two dial switches are used for selecting different programs and different brightness respectively.
Furthermore, the LED control circuit module comprises a linear switch circuit composed of MOS tubes, and the linear switch circuit is used for controlling the output of a plurality of LEDs,
the MCU outputs high and low levels to a plurality of pins of the MCU, controls the on and off of the capacitor elements corresponding to the pins one by one, and controls the change of output current.
Further, the controller includes the shell that is used for protection and installation electrical components, and the shell comprises upper cover and the lower cover of dismantling the connection, and the cross-section of lower cover is U-shaped and the lower cover includes accommodation space, all opens the louvre on the upper cover both sides.
Further, the upper cover includes the roof, stretches into accommodation space and two baffles of being connected with the roof and two curb plates of being connected with the roof, and two baffles and two curb plates encircle the roof, and the louvre is extended to the curb plate by the roof.
Further, form the inserting groove of pegging graft with the lower cover between baffle and the curb plate, the lower cover is including being isosceles trapezoid's riser, and the riser is pegged graft with the inserting groove.
By adopting the technical scheme, the invention has the beneficial effects that:
1. the brightness change and PF program control of the LED can be controlled by an external knob connected with the dial switch, and the distance is reliably controlled without being limited by the distance;
2. LED lamps automatically adapt to the AC10-16V working voltage range;
3. three-channel RGB full-color control, full-section control, and maximum output to 5A;
5. various different programs can be selected through the program selection switch, various combinations and gray level control are realized, and various fixed color and gradual change modes are provided;
6. the adjusting brightness of each change mode can be independently selected;
7. the device uses a low-voltage high-current control technology to effectively ensure the personal safety of installation and control personnel in a near-water and humid environment;
8. the shell of the controller is convenient to disassemble, and the heat dissipation effect is good.
Drawings
Fig. 1 is a schematic circuit diagram according to an embodiment of the present invention.
Fig. 2 is a schematic circuit diagram of the main power supply circuit module.
Fig. 3 is a schematic circuit diagram of the MCU power supply circuit module.
Fig. 4 is a schematic circuit diagram of the ac detection circuit module.
Fig. 5 is a schematic circuit diagram of the MCU control circuit module.
Fig. 6 is a schematic circuit diagram of the LED control circuit module.
Fig. 7 is a schematic structural view of the housing.
Detailed Description
Embodiments of the present invention are further described with reference to fig. 1 to 7.
Specific embodiments of the invention:
as shown in fig. 1, the whole driving scheme mainly comprises five parts of circuits, which are respectively a: main power supply circuit (the effect is for the whole system power supply, provides constant voltage or constant current output), B: MCU supply circuit (the effect is for MCU and some auxiliary system power supplies, provides stable voltage, can realize with switching power supply or linear circuit), C: AC detection circuit (the effect is the detection AC signal, does a signal feedback for rear end MCU), D: MCU control circuit (function is to give LED control circuit corresponding data according to externally provided signal), E: an LED control circuit (for receiving signals given by the MCU and providing corresponding power supply current and voltage of the LED to achieve the effect of controlling the brightness and color of the LED, and can be realized by various circuit topologies);
in practical application, the control logic is that the AC end is powered on, the circuit A works to provide corresponding voltage for the circuits B and E, the circuit B works to supply power for the circuits C and D, the circuit D receives a detection feedback signal of the circuit C after working and can provide a control signal for the circuit E, and the circuit E performs an action of controlling the LED under the power supply provided by the circuit B and the control signal of the circuit D to realize a preset effect.
As shown in fig. 2, in the circuit of the main power supply circuit module, a front stage fuse adds CLC filtering, and the fuse mainly plays a role of overload protection; when the fuse is correctly arranged in the circuit, the fuse can be fused to cut off the current when the current is abnormally increased to a certain height and heat, so that the safe operation of the circuit is protected; the output of the switching power supply contains abundant ripples, which bring adverse effect to a power supply system, and the CLC filter circuit has a certain inhibition effect on the ripples.
The rear-stage BUCK constant-voltage circuit stabilizes the output at DC 12V, and the rear-stage BUCK constant-voltage circuit needs a stable direct-current voltage-stabilizing source and can stably and continuously provide output for a rear-stage circuit; because the load voltage is about 12V, the voltage is stabilized at 12V, the whole system can achieve higher working efficiency, the heat loss is reduced, and the system reliability is improved.
As shown in fig. 3, a diode D2 is used to separate the circuit in the MCU power supply circuit module from the previous circuit V +, and E1E 2 is used to electrolyze and maintain stored energy, thereby ensuring the continuous power supply capability of the IC 3;
in MCU power supply circuit module, adopt LDO step-down, fall to 5V by 12V, give MCU (U2) and opto-coupler (IC 5) power supply, MCU and opto-coupler operating voltage are 5V, need the step-down circuit, and the electric current is not very big, just can with LDO, simple with low costs.
As shown in fig. 4, by an AC signal, fed back to U2.21,
the AC detection is synchronized (how it is done) and the circuits on the loop can detect the AC signal at the same time, which is the key to ensure the consistency of starting and color change when the multi-lamp driving is applied: the AC voltage is an alternating current sine wave, has a zero crossing point and has a positive or negative, and the signal frequency fed back by the optical coupler has a proportional relation with an alternating current signal; because all lamps are sampled through the same AC, the sampling consistency is ensured, signals fed back through the optical coupler also have consistency, and finally the action frequency reflected to the product is also consistent.
As shown in fig. 5, 5V supplies power to the MCU, and the MCU starts to operate; the AC detection circuit sends a signal to the MCU, and the MCU selects a corresponding program to send to the LED control circuit; the circuit is additionally provided with an LED detection circuit, and mainly has the main functions that a corresponding LED is added on a controller, the LED responds synchronously with an output LED, and the state of an output end can be directly seen from the LED on the drive;
two dial switches are used for selecting three sets of programs of the JP H and controlling 8 grades of output brightness respectively, and can be externally connected with a plurality of control switches to realize multiple applications: when the multi-channel output is controlled, various color effects can be realized, an induction or wireless module can be added, and induction and wireless control and the like can be realized.
As shown in fig. 6, a linear switching circuit composed of MOS controls the output of multiple LEDs, thereby making application methods diverse; the control output may also be implemented with a switching circuit.
The MCU outputs high and low levels to U2.18U 2.17U 2.16 to respectively control the on and off of Q1Q 2Q 3, so that the change of output current, namely the on and off of Q1Q 2Q 3 and the change of duty ratio are realized, the change of lamp current average value is realized, the change of lamp brightness is caused, the proportion and brightness of lamps with various colors are changed, and the dimming and color changing effects can be realized.
In summary, the intelligent controller of the present invention can realize synchronous color change through ac detection in multi-drive applications, has extremely high consistency, and can also realize program selection through ac detection;
the LED circuit is controlled by the MCU, so that the control of multipath output can be realized, different requirements and functions can be realized, and the MCU can be controlled by external logic signals to achieve certain functions, such as dimming and program selection.
As shown in fig. 7, the upper cover 1 and the lower cover 2 are detachably connected, thereby facilitating the disassembly and assembly of the housing; the heat dissipation grooves 101 are uniformly distributed and arranged on two sides of the shell, so that good heat dissipation of components in the accommodating space 102 is realized; the heat dissipation groove 101 extends from the top plate 11 to the side plate 12, so that heat dissipation can be realized on the top and the side in the accommodating space 102, and the service life of components is greatly ensured; the inserting groove 103 formed by the vertical plate 21 and the baffle 13 realizes the inserting connection of the vertical plate 21 and the upper cover 1, the width of the vertical plate 21 from top to bottom is gradually increased, the width of the top end of the vertical plate 21 is smaller than the length of the top plate 11, so that after the top plate 11 is inserted into the inserting groove 103, the inserting groove 103 is communicated with the accommodating space 102, and the inserting groove 103 also has a heat dissipation effect, thereby further enhancing the heat dissipation effect of the shell.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and those skilled in the art should be able to make general changes and substitutions within the technical scope of the present invention.