CN106028573B - A kind of control device and method of LED - Google Patents
A kind of control device and method of LED Download PDFInfo
- Publication number
- CN106028573B CN106028573B CN201610585023.2A CN201610585023A CN106028573B CN 106028573 B CN106028573 B CN 106028573B CN 201610585023 A CN201610585023 A CN 201610585023A CN 106028573 B CN106028573 B CN 106028573B
- Authority
- CN
- China
- Prior art keywords
- led
- electric capacity
- module
- control module
- pins
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
Abstract
The present invention provides a kind of control device and method of LED, and the control device includes:Rectification module, control module, electric power driving module and voltage detecting mouth, the rectification module and electric power driving module are connected with the control module respectively, the electric power driving module and control module are respectively connecting to LED, and the control module is connected to the rectification module to realize the detection of voltage signal by voltage detecting mouth;Wherein, the LED includes cool colour LED and warm colour LED.The present invention is after LED powers off, the control module judges the switching command of lamp light mode whether is received during the power supply of the voltage detecting mouth, if otherwise preserve the lamp light mode before the LED power-off, the lamp light mode of the preservation is so directly invoked when LED is opened next time, so that as long as user's operation is once, it is no longer necessary to opens LED every time and all switches repeatedly.
Description
Technical field
The present invention relates to a kind of control device, more particularly to a kind of control device of LED, and it is related to and includes the LED
The control method of the control device of lamp.
Background technology
Now traditional LED, switch on wall are the colors for often switching light by once just occurring, such as:Warm colour
100%, cool colour 100%, cool colour and warm colour each 50% are generally used for the pattern of receiving a visitor, and warm colour accounts for 20% and is generally used for mini light night pattern;This
Sample uses just occurs situation about circulating successively when just occurring and turning on light every time, and client turns on light every time may need to open repeatedly
The lamp light mode that LED can just obtain oneself liking several times is closed, is used very inconvenient.
The content of the invention
The technical problems to be solved by the invention are to need to provide a kind of control dress of LED that can be user-friendly
Put, and the control method for the control device for including the LED is provided.
On the other hand, the present invention provides a kind of control device of LED, including:Rectification module, control module, power drives mould
Block and voltage detecting mouth, the rectification module and electric power driving module are connected with the control module respectively, and the power supply drives
Dynamic model block and control module are respectively connecting to LED, and the control module is connected to the rectification module by voltage detecting mouth
To realize the detection of voltage signal;Wherein, the LED includes cool colour LED and warm colour LED.
Further improvement of the present invention is that the control module includes the wireless RF transceiver control module being connected with each other and deposited
Module is stored up, the wireless RF transceiver control module is connected with the LED.
Further improvement of the present invention is that the rectification module and electric power driving module are connected to 220V civil power electricity
Source.
Further improvement of the present invention is that the wireless RF transceiver control module includes electric capacity C42, resistance R7, electric capacity
C40, electric capacity C44, resistance R9, electric capacity C38, electric capacity C39 and main control chip U2, the electric capacity C42 one end ground connection, the resistance
R7 one end is connected to power end, the other end of the electric capacity C42 and the resistance R7 other end with the main control chip U2 3
Pin is connected;One end ground connection of the electric capacity C44, the other end of the electric capacity C44 is connected with resistance R9 one end, described
1 pipe of electric capacity C38 one end ground connection, the other end of the resistance R9 and the electric capacity C38 other end with the main control chip U2
Pin is connected;One end ground connection of the electric capacity C39, the other end of the electric capacity C39 are connected to 16 pipes of the main control chip U2
Pin;One end ground connection of the electric capacity C40, the other end of the electric capacity C40 are connected with 8 pins of the main control chip U2.
Further improvement of the present invention is that the memory module includes storage chip U3 and electric capacity C43, the storage core
Piece U3 8 pins are connected with one end of the electric capacity C43 and power end respectively, one end ground connection of the electric capacity C43, described to deposit
Storage chip U3 6 pins are connected to 10 pins of the main control chip U2, and 5 pins of the storage chip U3 are connected to the master
Control chip U2 11 pins.
Further improvement of the present invention is, the control module also includes crystal oscillator module, the crystal oscillator module with it is described
Wireless RF transceiver control module is connected.
Further improvement of the present invention is that the crystal oscillator module includes crystal oscillator X2, electric capacity C36 and electric capacity C37, the crystalline substance
Shake X2 one end respectively with the control module and electric capacity C36 of 1 pin is connected, the other end ground connection of the electric capacity C36, institute
State the one end of crystal oscillator X2 3 pins respectively with the control module and electric capacity C37 to be connected, another termination of the electric capacity C37
Ground.
The present invention also provides a kind of control method of LED, applied to the control device of LED as described above, and wraps
Include following steps:
Step S1, open LED;
Step S2, wait until the LED power off, then the rectification module by voltage detecting mouth to the control mould
Block is powered, and the switching that the control module judges whether to receive lamp light mode during the power supply of the voltage detecting mouth refers to
Order, if then responding switching command, if otherwise jumping to step S3;
Step S3, the lamp light mode before the LED power-off is preserved, and directly adjusted when LED is opened next time
With the lamp light mode of the preservation.
Further improvement of the present invention is that in the step S2, the control module judges the confession in voltage detecting mouth
Whether low and high level is received during electricity, if so, then responding switching command, export different PWM waveforms and realize lamp light mode
Switching;If it is not, then preserve the PWM waveform before the LED power-off.
Further improvement of the present invention is, in the step S2, confession of the voltage detecting mouth to the control module
Electricity continues 8 ~ 12S.
Compared with prior art, the beneficial effects of the present invention are:220V mains supply passes through the rectification module meeting
Commutating voltage is produced, and by the electric capacity storage voltage included by rectification module, after 220V mains supply is cut off, this is whole
The voltage of flow module storage can continue 10S or so by voltage detecting mouth to the control module normal power supply, such as 8S ~ 12S;
Therefore, after LED powers off, the switching command of lamp light mode whether is received during the power supply of the voltage detecting mouth, if inspection
Measuring switching command, then the control module carries out switching command, and otherwise, the control module will remember current state,
The lamp light mode before the LED power-off is preserved, the lamp of the preservation is so directly invoked when LED is opened next time
Optical mode, the i.e. present invention have the function of automatically saving last lamp light mode so that as long as user's operation is once, it is no longer necessary to
LED is opened every time all repeatedly to switch.
Brief description of the drawings
Fig. 1 is the modular structure schematic diagram of an embodiment of the present invention;
Fig. 2 is the circuit theory diagrams of an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawings, the preferably embodiment of the present invention is described in further detail.
As shown in figure 1, this example provides a kind of control device of LED, including:Rectification module 1, control module 2, power supply drive
Dynamic model block 3 and voltage detecting mouth 4, the rectification module 1 and electric power driving module 3 are connected with the control module 2 respectively, institute
State electric power driving module 3 and control module 2 is respectively connecting to LED 5, the control module 2 is connected to by voltage detecting mouth 4
The rectification module 1 is to realize the detection of voltage signal;Wherein, the LED 5 includes cool colour LED and warm colour LED, institute
It is to be illuminated power supply to LED 5 to state electric power driving module 3.The rectification module 1 and electric power driving module 3 are connected to
220V mains supply.
Control module 2 described in this example includes wireless RF transceiver control module 6 and the memory module 7 being connected with each other, described wireless
Transmitting-receiving control module 6 is connected with the LED 5.As shown in Fig. 2 the wireless RF transceiver control module 6 includes electric capacity C42, electricity
Hinder R7, electric capacity C40, electric capacity C44, resistance R9, electric capacity C38, electric capacity C39 and main control chip U2, a termination of the electric capacity C42
Ground, one end of the resistance R7 are connected to power end, the other end of the electric capacity C42 and the resistance R7 other end with the master
Control chip U2 3 pins are connected;One end ground connection of the electric capacity C44, the other end of the electric capacity C44 and resistance R9 one end
Be connected, one end of electric capacity C38 ground connection, the other end of the resistance R9 and the electric capacity C38 other end with the master control
Chip U2 1 pin is connected;One end ground connection of the electric capacity C39, the other end of the electric capacity C39 are connected to the master control core
Piece U2 16 pins;One end ground connection of the electric capacity C40,8 pins of the other end of the electric capacity C40 and the main control chip U2
It is connected.The memory module 7 include storage chip U3 and electric capacity C43, the storage chip U3 8 pins respectively with the electricity
The one end for holding C43 is connected with power end, and one end ground connection of the electric capacity C43,6 pins of the storage chip U3 are connected to institute
Main control chip U2 10 pins are stated, 5 pins of the storage chip U3 are connected to 11 pins of the main control chip U2.
As shown in Fig. 2 control module 2 described in this example also includes crystal oscillator module 8, the crystal oscillator module 8 and the wireless receipts
Hair control module 6 is connected;The crystal oscillator module 8 includes crystal oscillator X2, electric capacity C36 and electric capacity C37,1 pin of the crystal oscillator X2
One end with the control module 2 and electric capacity C36 is connected respectively, the other end ground connection of the electric capacity C36, the crystal oscillator X2's
The one end of 3 pins respectively with the control module 2 and electric capacity C37 is connected, the other end ground connection of the electric capacity C37.
This example also provides a kind of control method of LED, applied to the control device of LED 5 as described above, and including
Following steps:
Step S1, open LED 5;
Step S2, wait until the LED 5 powers off, then the rectification module 1 passes through the 4 pairs of controls of voltage detecting mouth
Molding block 2 is powered, and the control module 2 judges whether receive lamp light mode during the power supply of the voltage detecting mouth 4
Switching command, if then responding switching command, if otherwise jumping to step S3;
Step S3, the lamp light mode before the LED 5 powers off is preserved, and it is direct when LED 5 are opened next time
Call the lamp light mode of the preservation.
In step S2 described in this example, the control module 2 judges whether receive height during the power supply of voltage detecting mouth 4
Low level, if so, then responding switching command, export the switching that different PWM waveforms realizes lamp light mode;If it is not, then preserve institute
State the PWM waveform before LED 5 powers off.In the step S2, the power supply of 4 pairs of the voltage detecting mouth control module 2 continues
8 ~ 12S, preferably 10S.
The course of work of this example is as follows:220V mains supply can produce commutating voltage by the rectification module 1, and pass through
Electric capacity storage voltage included by over commutation module 1, after 220V mains supply is cut off, the electricity of the rectification module 1 storage
Pressure can continue 10S or so by voltage detecting mouth 4 to the normal power supply of control module 2, such as 8S ~ 12S;Therefore, LED is worked as
After 5 power-off, the switching command of lamp light mode whether is received during the power supply of the voltage detecting mouth 4, switching refers to if detecting
Then the control module 2 carries out switching command for order, and otherwise, the control module 2 will remember current state, that is, preserve institute
The lamp light mode before LED 5 powers off is stated, the light mould of the preservation is so directly invoked when LED 5 are opened next time
Formula, i.e. this example have the function of automatically saving last lamp light mode so that as long as user's operation is once, it is no longer necessary to open every time
LED 5 is opened all repeatedly to switch.The lamp light mode refers to proportioning between the cool colour LED and warm colour LED one by one
Corresponding control model.
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to is assert
The specific implementation of the present invention is confined to these explanations.For general technical staff of the technical field of the invention,
On the premise of not departing from present inventive concept, some simple deduction or replace can also be made, should all be considered as belonging to the present invention's
Protection domain.
Claims (8)
- A kind of 1. control device of LED, it is characterised in that including:Rectification module, control module, electric power driving module and electricity Detection mouth is pressed, the rectification module and electric power driving module are connected with the control module respectively, the electric power driving module LED is respectively connecting to control module, the control module is connected to the rectification module to realize by voltage detecting mouth The detection of voltage signal;Wherein, the LED includes cool colour LED and warm colour LED;The control module includes wireless RF transceiver control module and the memory module being connected with each other, the wireless RF transceiver control module It is connected with the LED;The wireless RF transceiver control module includes electric capacity C42, resistance R7, electric capacity C40, electric capacity C44, resistance R9, electric capacity C38, electricity Hold C39 and main control chip U2, the electric capacity C42 one end ground connection, one end of the resistance R7 is connected to power end, the electric capacity 3 pins of the C42 other end and the resistance R7 other end with the main control chip U2 are connected;One end of the electric capacity C44 Ground connection, the other end of the electric capacity C44 are connected with resistance R9 one end, one end ground connection of the electric capacity C38, the resistance R9 The other end and electric capacity C38 1 pin of the other end with the main control chip U2 be connected;A termination of the electric capacity C39 Ground, the other end of the electric capacity C39 are connected to 16 pins of the main control chip U2;One end ground connection of the electric capacity C40 is described The electric capacity C40 other end is connected with 8 pins of the main control chip U2.
- 2. the control device of LED according to claim 1, it is characterised in that the rectification module and power drives mould Block is connected to 220V mains supply.
- 3. the control device of LED according to claim 1, it is characterised in that the memory module includes storage chip U3 and electric capacity C43, the storage chip U3 8 pins are connected with one end of the electric capacity C43 and power end respectively, the electricity Hold C43 one end ground connection, 6 pins of the storage chip U3 are connected to 10 pins of the main control chip U2, the storage core Piece U3 5 pins are connected to 11 pins of the main control chip U2.
- 4. the control device of the LED according to claims 1 to 3 any one, it is characterised in that the control module is also Including crystal oscillator module, the crystal oscillator module is connected with the wireless RF transceiver control module.
- 5. the control device of LED according to claim 4, it is characterised in that the crystal oscillator module includes crystal oscillator X2, electricity Hold the one end of C36 and electric capacity C37, the crystal oscillator X2 1 pin respectively with the control module and electric capacity C36 to be connected, it is described Electric capacity C36 other end ground connection, the one end of 3 pins of the crystal oscillator X2 respectively with the control module and electric capacity C37 are connected, The other end ground connection of the electric capacity C37.
- 6. a kind of control method of LED, it is characterised in that applied to the LED as described in claim 1 to 5 any one Control device, and comprise the following steps:Step S1, open LED;Step S2, wait until the LED powers off, then the rectification module is entered by voltage detecting mouth to the control module Row power supply, the control module judge the switching command of lamp light mode whether is received during the power supply of the voltage detecting mouth, If then responding switching command, if otherwise jumping to step S3;Step S3, the lamp light mode before the LED power-off is preserved, and this is directly invoked when LED is opened next time The lamp light mode of preservation.
- 7. the control method of LED according to claim 6, it is characterised in that in the step S2, the control module Judge whether receive low and high level during the power supply of voltage detecting mouth, if so, then responding switching command, export different PWM waveform realizes the switching of lamp light mode;If it is not, then preserve the PWM waveform before the LED power-off.
- 8. the control method of LED according to claim 6, it is characterised in that in the step S2, the voltage detecting Power supply of the mouth to the control module continues 8 ~ 12S.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610585023.2A CN106028573B (en) | 2016-07-22 | 2016-07-22 | A kind of control device and method of LED |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610585023.2A CN106028573B (en) | 2016-07-22 | 2016-07-22 | A kind of control device and method of LED |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106028573A CN106028573A (en) | 2016-10-12 |
CN106028573B true CN106028573B (en) | 2018-02-13 |
Family
ID=57116365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610585023.2A Active CN106028573B (en) | 2016-07-22 | 2016-07-22 | A kind of control device and method of LED |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106028573B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019014797A1 (en) * | 2017-07-15 | 2019-01-24 | 肖志蓝 | Control circuit for circularly switching ceiling lamp and spotlight, and working method therefor |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951177B (en) * | 2010-09-06 | 2014-05-07 | Bcd半导体制造有限公司 | Switching power supply system and switching power supply control circuit |
CN203645871U (en) * | 2013-11-19 | 2014-06-11 | 黄爱群 | A color-variable LED lamp control circuit |
CN203951654U (en) * | 2014-06-20 | 2014-11-19 | 陕西亚成微电子股份有限公司 | A kind of LED adjusting control circuit |
CN204404017U (en) * | 2015-01-04 | 2015-06-17 | 深圳市基本生活用品有限公司 | The lamp of one-touch composite-key |
CN105517258A (en) * | 2016-01-29 | 2016-04-20 | 苏州东山精密制造股份有限公司 | LED street lamp |
CN206118097U (en) * | 2016-07-22 | 2017-04-19 | 深圳市创荣发电子有限公司 | Control device of LED (light -emitting diode) lamp |
-
2016
- 2016-07-22 CN CN201610585023.2A patent/CN106028573B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106028573A (en) | 2016-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN207382047U (en) | Detection of power loss and main power supply switching system in intelligent domestic system | |
CN108089689A (en) | A kind of small-sized SoC super low-power consumptions control circuit and method | |
CN106169805B (en) | A kind of super low-power consumption power-supply system and its control method and electronic equipment | |
CN106028573B (en) | A kind of control device and method of LED | |
CN107276214A (en) | A kind of fan electromotor intelligent controller | |
CN206650892U (en) | A kind of RGB LEDs of Bluetooth of mobile phone control | |
CN203181285U (en) | LED lamp control system | |
CN206118097U (en) | Control device of LED (light -emitting diode) lamp | |
CN108870269A (en) | A kind of warning LED light and its control method | |
CN206421186U (en) | A kind of ultra-low power standby intelligent control circuit | |
CN103949360B (en) | A kind of device and method that utilizes current button to realize switching controls | |
CN203775457U (en) | Control apparatus of emergency lamp | |
CN206846524U (en) | A kind of street lamp post comprehensively utilized in intelligent city | |
CN206756257U (en) | Valve tower with liquid level prompting function | |
CN207053429U (en) | A kind of electronic pore cleanser instrument control circuit | |
CN107947341A (en) | Wisdom road lamp system and its power supply unit and method of supplying power to | |
CN209016217U (en) | A kind of lead-acid accumulator off-network instrument for repairing | |
CN206742949U (en) | A kind of super low-power consumption power-supply system and electronic equipment | |
CN203456932U (en) | Multi-power supply power supplying device | |
CN206992423U (en) | A kind of Intelligent energy-saving socket | |
CN206559689U (en) | A kind of LED switch detects circuit | |
CN206713116U (en) | A kind of architectural lighting failure monitoring system | |
CN219842496U (en) | DC switch operation test tester | |
CN204185038U (en) | A kind of energy saving system of elevator | |
CN204465121U (en) | Integrated power supply control board in a kind of multiple-way supply control circuit of electrical measuring device, ammeter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |