The color-changed LED light controller
Technical field
The utility model relates to the LED lamp controller, relates in particular to a kind of color-changed LED light controller.
Background technology
Often use decorative lamp, especially red-letter day in the daily life, the LED lamp string of various different colours is widely applied in celebration and decorating building and the Christmas lights.These can change the LED lamp string that n kind color, and the conventional dynamic control mode is by controller output n road, directly control n road versicolor LED lamp string respectively and could change and n kind color.If promptly will realize the dynamic change of three kinds of colors, will allow controller export three the tunnel with traditional technical scheme could realize.This mode is the consumption that has increased material, brings certain degree of difficulty for again production and processing aspect.
The utility model content
The purpose of this utility model is to overcome above-mentioned weak point of the prior art and provides a kind of and send three kinds of color of light controllers by one tunnel output control color-changed LED light.
For reaching described purpose, the utility model provides a kind of controller that sends three kinds of color of light by one tunnel output control color-changed LED light.This device comprise AC power input unit, the microprocessing unit MCU of have input (AC1) and input (AC2) and be connected in power input unit and microprocessing unit MCU between the current limliting voltage stabilizing circuit, the current limliting voltage stabilizing circuit is microprocessing unit MCU power supply; Also further comprise the sample circuit that is connected between power input unit and the microprocessing unit MCU, sample circuit is gathered the signal period of input AC electricity and is sent to microprocessing unit MCU; Also further comprise the function selecting unit that is connected with microprocessing unit, the function selecting unit is used for input control order, the color that control LED lamp is lighted and light duration; Also further comprise the two-way halfwave rectifier drive circuit that is connected between power input unit and the microprocessing unit MCU, two-way halfwave rectifier drive circuit has two outputs, two-way halfwave rectifier drive circuit obtains control signal from microprocessing unit MCU, the lighting, extinguish and color control conversion of the LED lamp of control connection between two outputs of two-way halfwave rectifier drive circuit.
Described current limliting voltage stabilizing circuit by resistance (R2), diode (D5) and (D3), voltage stabilizing didoe (Z1) and electric capacity (C1) forms; Resistance (R2) is connected between the positive terminal of ac power input end (AC1) and diode (D5); The positive pole of electric capacity (C1) and the negative pole end of diode (D5), and the negative pole end of voltage stabilizing didoe (Z1) is connected, the negative pole of electric capacity (C1) passes through diode (D3) and is connected with another ac power input end (AC2); Voltage stabilizing didoe (Z1) is connected in two ends of electric capacity (C1), and the positive terminal of voltage stabilizing didoe (Z1) connects the negative pole of electric capacity (C1); The positive pole of electric capacity (C1) connects the positive source input (VDD) of microprocessing unit MCU, and the negative pole of electric capacity (C1) connects the negative power supply input (VSS) of microprocessing unit MCU.
Described AC signal sample circuit is made up of resistance (R3), electric capacity (C2) and resistance (R1); Electric capacity (C2) links to each other with alternating current input (AC1) by resistance (R3), links to each other with ac power input end (AC2) by resistance (R1); The end that electric capacity (C2) is connected with resistance (R3) connects the signal input part (Y) of microprocessing unit MCU simultaneously.
Described function selector circuit is formed by connecting by resistance (R5) and switch (S1); One end of switch (S1) is connected with the cathode power supply input (VDD) of microprocessing unit MCU by resistance (R5), and the other end is connected with the negative power supply input (VSS) of microprocessing unit MCU; The end that switch (S1) is connected with resistance (R5) connects the manual command signal input part (Z) of microprocessing unit MCU simultaneously.
Described two-way halfwave rectifier drive circuit comprises that one is made up of four diodes (D 1), (D2), (D3), (D4) and controllable silicon (Q1), the negative pole end of diode (D1) is connected with the positive terminal of diode (D2), the positive terminal of diode (D3) is connected with the positive terminal of diode (D4), the positive terminal of diode (D2) is connected with the negative pole end of diode (D3), and the positive terminal of diode (D1) is connected with the negative pole end of diode (D4); Two outputs of two-way halfwave rectifier drive circuit are connected between the positive terminal of ac power input end (AC1) and diode (D1); Ac power input end (AC2) is connected with the positive terminal of diode (D2); The anode tap of controllable silicon (Q1) is connected with the negative pole end of diode (D1), and the cathode terminal of controllable silicon (Q1) is connected with the positive terminal of diode (D4), and the control end of controllable silicon (Q1) connects the signal output part (X pin) of microprocessor MCU by resistance (R4); One end of resistance (R1) is connected with ac power input end (AC2), and the other end is connected with the positive terminal of diode (D4).
According to the utility model, because color-changed LED light controller, wave period signal according to the alternating current that collects of sample circuit, light color-changed LED light in the time of can making four kinds of selection: a, positive wave (high level), light color-changed LED light when b, negative wave (low level), c, positive wave (high level) all light color-changed LED light during with negative wave (low level), and d, positive wave (high level) are not all lighted the LED lamp during with negative wave (low level).Alternating current has certain frequency, and the time of not lighting is very short, and what eye was felt is the coloured light of lighting, so two kinds of situations of aforementioned a and b can be seen two kinds of different coloured light, aforementioned c situation, two kinds of coloured light are alternately lighted, see to be the third light that two kinds of coloured light mix.
Description of drawings
Fig. 1 is the block diagram that the utility model color-changed LED light controller is implemented.
Fig. 2 is the circuit theory diagrams of the utility model color-changed LED light controller embodiment.
Fig. 3 is the schematic diagram of the LED lamp controlled of the utility model color-changed LED light controller embodiment.
Fig. 4 is the circuit theory diagrams of the utility model color-changed LED light controller embodiment when connecting LED lamp string.
Embodiment
The utility model is described in further detail below in conjunction with accompanying drawing.
Most typical can be as shown in Figure 3 with the color-changed LED light of present embodiment controller and method control, comprise two pins 101 and 102 and encapsulating shells 105, be provided with the LED luminescence chip of two different colours in the encapsulating shell 105, two LED luminescence chips 103 and 104 in parallel and be connected between two pins, the polarity of two LED luminescence chips is towards difference.
The color-changed LED light controller that present embodiment relates to, with reference to figure 1, this device comprise AC power input unit, the microprocessing unit MCU of have input (AC1) and input (AC2) and be connected in power input unit and microprocessing unit MCU between the current limliting voltage stabilizing circuit, the current limliting voltage stabilizing circuit is microprocessing unit MCU power supply; Also further comprise the sample circuit that is connected between power input unit and the microprocessing unit MCU, sample circuit is gathered the signal period of input AC electricity and is sent to microprocessing unit MCU; Also further comprise the function selecting unit that is connected with microprocessing unit, the function selecting unit is used for input control order, the color that control LED lamp is lighted and light duration; Also further comprise the two-way halfwave rectifier drive circuit that is connected between power input unit and the microprocessing unit MCU, two-way halfwave rectifier drive circuit has two outputs, two-way halfwave rectifier drive circuit obtains control signal from microprocessing unit MCU, the lighting, extinguish and color control conversion of the LED lamp of control connection between two outputs of two-way halfwave rectifier drive circuit.
With reference to figure 2, described current limliting voltage stabilizing circuit by resistance (R2), diode (D5) and (D3), voltage stabilizing didoe (Z1) and electric capacity (C1) forms; Resistance (R2) is connected between the positive terminal of ac power input end (AC1) and diode (D5); The positive pole of electric capacity (C1) and the negative pole end of diode (D5), and the negative pole end of voltage stabilizing didoe (Z1) is connected, the negative pole of electric capacity (C1) passes through diode (D3) and is connected with another ac power input end (AC2); Voltage stabilizing didoe (Z1) is connected in two ends of electric capacity (C1), and the positive terminal of voltage stabilizing didoe (Z1) connects the negative pole of electric capacity (C1); The positive pole of electric capacity (C1) connects the positive source input (VDD) of microprocessing unit MCU, and the negative pole of electric capacity (C1) connects the negative power supply input (VSS) of microprocessing unit MCU.
With reference to figure 2, described AC signal sample circuit is made up of resistance (R3), electric capacity (C2) and resistance (R1); Electric capacity (C2) links to each other with alternating current input (AC1) by resistance (R3), links to each other with ac power input end (AC2) by resistance (R1); The end that electric capacity (C2) is connected with resistance (R3) connects the signal input part (Y) of microprocessing unit MCU simultaneously.
With reference to figure 2, described function selector circuit is formed by connecting by resistance (R5) and switch (S1); One end of switch (S1) is connected with the cathode power supply input (VDD) of microprocessing unit MCU by resistance (R5), and the other end is connected with the negative power supply input (VSS) of microprocessing unit MCU; The end that switch (S1) is connected with resistance (R5) connects the manual command signal input part (Z) of microprocessing unit MCU simultaneously.
With reference to figure 2, described two-way halfwave rectifier drive circuit comprises that one is made up of four diodes (D1), (D2), (D3), (D4) and controllable silicon (Q1), the negative pole end of diode (D1) is connected with the positive terminal of diode (D2), the positive terminal of diode (D3) is connected with the positive terminal of diode (D4), the positive terminal of diode (D2) is connected with the negative pole end of diode (D3), and (negative pole end of D41 is connected the positive terminal of diode (D1) with diode; Two outputs of two-way halfwave rectifier drive circuit are connected between the positive terminal of ac power input end (AC1) and diode (D1); Ac power input end (AC2) is connected with the positive terminal of diode (D2); The anode tap of controllable silicon (Q1) is connected with the negative pole end of diode (D1), and the cathode terminal of controllable silicon (Q1) is connected with the positive terminal of diode (D4), and the control end of controllable silicon (Q1) connects the signal output part (X pin) of microprocessor MCU by resistance (R4); One end of resistance (R1) is connected with ac power input end (AC2), and the other end is connected with the positive terminal of diode (D4).
Circuit theory diagrams when Fig. 4 shows the utility model color-changed LED light controller connection LED lamp string.Color-changed LED light controller 201 has two power input AC1 and AC2, and two outputs, and several color-changed LED lights 202 conspire to create a string with series system, is connected between two outputs.Color-changed LED light 202 comprises two pins and an encapsulating shell, is provided with the LED luminescence chip of two different colours in the encapsulating shell, two LED luminescence chips 2021 and 2022 in parallel and be connected between two pins, and the polarity of two LED luminescence chips is towards difference.
With color-changed LED light shown in Figure 3, be connected with the color-changed LED light controller according to mode shown in Figure 4, can light, extinguish, reach the control of color by button S1 realization color-changed LED light.Realize a kind ofly sending three kinds of color of light controls by one tunnel output control color-changed LED light.
The range of application of the utility model controller is not limited to the color-changed LED light string of serial connection, also can be single color-changed LED light or color-changed LED light string in parallel.