Utility model content
In order to solve the above technical problems, the purpose of the utility model is to provide a kind of touch control and pulse output modulation
The block switch of LED operation.
The technical solution adopted in the utility model is:
A kind of touch control and the block switch of pulse output modulation LED operation, comprising:
Touch key-press module, for acquiring touch signal;
Main control module is electrically connected with touch key-press module according to touch signal modulation control signal;
Pulse output module, pulse output module include control terminal, input terminal and output end, the control of pulse output module
End processed and main control module are electrically connected to receive control signal, and the input terminal and external communication electricity of pulse output module are electrically connected
And for pulse output module according to control signal output pulse signal, the output end of pulse output module can be with external toning
Temperature or degree of lightening LED driving lamp group are electrically connected to switch the luminous situation of color-temperature regulating or degree of lightening LED driving lamp group.
It further include the temperature detecting module for detecting ambient temperature signal, main control module electrically connects with temperature detecting module
It connects according to ambient temperature signal modulation control signal.
The main control module is provided with delay unit, and delay unit formulates delay letter according to the touch duration of touch signal
Number, main control module is according to time delayed signal modulation control signal.
The touch key-press module further include brightness detection module and prompt lamp group, prompt lamp group be used to indicate touch by
The position of collection terminal is touched in key module, main control module is electrically connected with brightness detection module, prompt lamp group respectively.
The pulse output module includes photoelectrical coupler, bidirectional triode thyristor SCR1, resistance R14, resistance R15, resistance
R16, capacitor C5, photoelectrical coupler include photophore and light-receiving device, anode and the main control module electricity of the photophore of photoelectrical coupler
Property connection, the cathode ground connection of the photophore of photoelectrical coupler, one end of the input terminal of the light-receiving device of photoelectrical coupler and resistance R14
Be electrically connected, the other end of resistance R14 respectively with the pole L of external communication electricity, the anode of bidirectional triode thyristor SCR1, resistance R16
One end is electrically connected, the control of the output end of the light-receiving device of photoelectrical coupler respectively at one end, bidirectional triode thyristor SCR1 of resistance R15
Pole processed is electrically connected, the cathode of bidirectional triode thyristor SCR1 respectively with the other end of resistance R15, one end of capacitor C5, color-temperature regulating or
Person's degree of lightening LED drives lamp group to be electrically connected, and the other end of capacitor C5 and the other end of resistance R16 are electrically connected.
The color-temperature regulating or degree of lightening LED driving lamp group include warm white lamp, cool white lamp and switching driving chip,
Switching driving chip includes input terminal, the first output end being electrically connected with warm white lamp and is electrically connected with cool white lamp
Second output terminal, switching driving chip can according to input terminal input switching signal come control the first output end,
The conducting and shutdown of second output terminal;
The touch key-press module includes controlling warm white touch unit, the cool white lighted of control cool white lamp that warm white lamp is lighted
Touch unit and control warm white lamp and cool white lamp mix the light mixing touch unit lighted, and main control module touches with warm white single respectively
Member, cool white touch unit and light mixing touch unit are electrically connected;
The input terminal of switching driving chip and the output end of pulse output module are electrically connected, and switching drives core
Piece is lighted according to pulse signal control warm white lamp and/or cool white lamp is lighted.
Further include the temperature detecting module for detecting ambient temperature signal, the touch key-press module further include temperature from
Touch unit is adjusted, main control module and temperature self-regulating touch unit are electrically connected to receive the touch signal of temperature self-regulating touch unit
Start-up temperature self-regulated mode afterwards, main control module according to ambient temperature signal modulation control signal, and then control warm white lamp light and/
Or cool white lamp is lighted.
It further include rectifying and voltage-stabilizing module, rectifying and voltage-stabilizing module and external communication electricity are electrically connected to be straight by AC conversion
Galvanic electricity is touch key-press module, the power supply of main control module electricity.
The utility model has the beneficial effects that
The utility model LED drive circuit, touch key-press module use the touch signal of user, and main control module is according to touch
Signal modulation controls signal, and pulse output module accesses in color-temperature regulating or degree of lightening LED driving lamp group, pulse output module root
According to control signal output pulse signal, when previous color-temperature regulating or degree of lightening LED drive lamp group switched conductive state, need to pass through
Switch key component opens shutdown lamps and lanterns in a short time to generate switching signal, and the design output pulse signal is simulated
And instead of the switching signal that original switch key component generates, color-temperature regulating or degree of lightening LED driving lamp group are according to arteries and veins
It rushes signal and carrys out switched conductive state, do not need to be switched on and off lamps and lanterns in multiple times, meanwhile, main control module is in touch signal next time
Triggering switching LED drives lamp group switched conductive state, can also drive leading for lamp group according to current color-temperature regulating or degree of lightening LED
Logical state and the first output end, being connected with the turn-on logic relationship of shutdown for second output terminal adjust pulse signal, thus
Flashing times are reduced, the user experience of sectional dimming or color-temperature regulating lamps and lanterns is improved, meanwhile, increase delay electricity in lamp body driver
Road can more effectively remove flashing.
Specific embodiment
As shown in Figure 1-Figure 3, the block switch of the utility model modulation LED operation, comprising:
Touch key-press module 1, for acquiring touch signal;
Main control module 2 is electrically connected with touch key-press module 1 according to touch signal modulation control signal;
Pulse output module 3, pulse output module 3 include control terminal, input terminal and output end, pulse output module 3
Control terminal and main control module 2 be electrically connected to receive control signal, input terminal and external communication the electricity electricity of pulse output module 3
Property connection and pulse output module 3 according to control signal output pulse signal, the output end of pulse output module 3 can with it is outer
The color-temperature regulating in portion or degree of lightening LED driving lamp group 4 are electrically connected.
Wherein, main control module 2 herein can be MCU or cpu chip, further include rectifying and voltage-stabilizing module 9, hand over outside
Galvanic electricity is electrically connected as direct current to be that touch key-press module 1, the electricity of main control module 2 are powered by AC conversion.
Further, the design acquires touch signal, and touch signal can be there are many form herein, and user can not breakpoint
Touch key-press module is hit to generate the touch signal with different information, in the design preferred embodiment, uses multiple touches
Unit, the touch signal that different touch units are input to main control module represent different information.
For example, color-temperature regulating or degree of lightening LED driving lamp group 4 include that warm white lamp, cool white lamp and switching drive core
Piece, switching driving chip include input terminal, the first output end being electrically connected with warm white lamp and electrically connect with cool white lamp
The second output terminal connect, switching driving chip can control the first output according to the switching signal that input terminal inputs
The conducting and shutdown at end, second output terminal;
Touch key-press module 1 includes warm white touch unit 11, the cool white lighted of control cool white lamp that control warm white lamp is lighted
Touch unit 12 and control warm white lamp and cool white lamp mix the light mixing touch unit 13 lighted, main control module 2 respectively with warm white
Touch unit 11, cool white touch unit 12 and light mixing touch unit 13 are electrically connected;
The input terminal of switching driving chip and the output end of pulse output module 3 are electrically connected, switching driving
Chip is lighted according to pulse signal control warm white lamp and/or cool white lamp is lighted, and can be realized the function of one key switching in this embodiment
Energy.
Touch key-press module 1 is using the touch signal of user, and main control module 2 is according to touch signal modulation control signal, arteries and veins
It rushes output module 3 to access in color-temperature regulating or degree of lightening LED driving lamp group 4, pulse output module 3 exports arteries and veins according to control signal
When rushing signal, previous color-temperature regulating or degree of lightening LED driving 4 switched conductive state of lamp group, need to exist by switch key component
Shutdown lamps and lanterns are opened in short time to generate switching signal, and the design output pulse signal is simulated and is opened instead of original
The switching signal that close button component generates, color-temperature regulating or degree of lightening LED driving lamp group 4 are led according to pulse signal to switch
Logical state, does not need to be switched on and off lamps and lanterns in multiple times, and the time interval switched in pulse signal is short, received far below human eye
Range, meanwhile, main control module 2 triggers switching LED in touch signal next time and drives 4 switched conductive state of lamp group, can also root
According to current color-temperature regulating or degree of lightening LED driving lamp group 4 on state and the first output end, second output terminal conducting with
The turn-on logic relationship of shutdown adjusts pulse signal, to reduce flashing times, improves sectional dimming or color-temperature regulating lamps and lanterns
User experience, meanwhile, increase delay circuit in lamp body driver, can more effectively remove flashing.
Further, as shown in Fig. 2, the design pulse output module 3 includes photoelectrical coupler 31, bidirectional triode thyristor
SCR1, resistance R14, resistance R15, resistance R16, capacitor C5, photoelectrical coupler 31 include photophore and light-receiving device, photoelectrical coupler
The anode of 31 photophore is electrically connected with main control module 2, the cathode ground connection of the photophore of photoelectrical coupler 31, photoelectrical coupler
One end of the input terminal of 31 light-receiving device and resistance R14 are electrically connected, the other end of the resistance R14 L with external communication electricity respectively
One end electric connection of pole, the anode of bidirectional triode thyristor SCR1, resistance R16, the output end point of the light-receiving device of photoelectrical coupler 31
Not in one end of resistance R15, bidirectional triode thyristor SCR1 control electrode be electrically connected, the cathode of bidirectional triode thyristor SCR1 respectively with electricity
It hinders the other end of R15, one end of capacitor C5, color-temperature regulating or degree of lightening LED driving lamp group to be electrically connected, the other end of capacitor C5
It is electrically connected with the other end of resistance R16.
In order to enrich the various functions of the design, the design can also increase following improvement:
The design further includes the temperature detecting module 5 for detecting ambient temperature signal, main control module 2 and temperature detection mould
Block 5 is electrically connected according to ambient temperature signal modulation control signal.
Main control module 2 is provided with delay unit 6, and delay unit 6 formulates time delayed signal according to the touch duration of touch signal,
Main control module 2 is according to time delayed signal modulation control signal.
The touch key-press module 1 further includes brightness detection module 7 and prompt lamp group 8, and lamp group is prompted to be used to indicate touching
The position that collection terminal is touched in key module 1 is touched, main control module 2 is electrically connected with brightness detection module 7, prompt lamp group 8 respectively.
With with warm white lamp and cool white lamp color-temperature regulating or degree of lightening LED driving lamp group be combined, such as Fig. 1-Fig. 3 institute
Show, touch key-press module 1 further includes temperature self-regulating touch unit 14, and main control module 2 electrically connects with temperature self-regulating touch unit 14
It connects to receive start-up temperature self-regulated mode after the touch signal of temperature self-regulating touch unit 14, main control module 2 is according to environment temperature
Signal modulation controls signal, and then control warm white lamp is lighted and/or cool white lamp is lighted, and the design further includes for closing lamp group
OFF touch key-press, temperature self-regulating touch unit is integrated with OFF touch key-press herein, under turn-off, touches by OFF
Key (i.e. temperature self-regulating touch unit) can enter temperature self-regulating mode, when environment temperature is high, export corresponding pulse signal
LED driving lamp group is switched into the state that cool white lamp is lighted, warm white lamp is closed, and when environment temperature is low, export corresponding pulse
Signal by LED driving lamp group switch to warm white lamp close, the state lighted of cool white lamp, here by software design, save by
The number of key.
Long-pressing 3s night-light touch unit, delay unit 6 specify time delayed signal to be sent to master control template 2, and master control template 2 is 30
Signal of turning off the light is issued after minute.At this point, prompt lamp group 8 also can flash for prompting enter delay turn-off.
And prompt that lamp group corresponds to warm white touch unit or cool white touch unit or light mixing touch unit is provided with LED
Warning light also can be used different colours and be distinguished, controlled by luminance signal, in the case where ambient brightness is darker, control
System prompt lamp group shines, and prompts the position of touch key-press module.
The foregoing is merely the preferred embodiments of the utility model, the utility model is not limited to above-mentioned embodiment party
Formula, if with essentially identical means realize the utility model aim technical solution belong to the protection scope of the utility model it
It is interior.