CN107666735B - LED controller - Google Patents
LED controller Download PDFInfo
- Publication number
- CN107666735B CN107666735B CN201610618682.1A CN201610618682A CN107666735B CN 107666735 B CN107666735 B CN 107666735B CN 201610618682 A CN201610618682 A CN 201610618682A CN 107666735 B CN107666735 B CN 107666735B
- Authority
- CN
- China
- Prior art keywords
- chip
- main control
- led
- current source
- constant current
- 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]
-
- 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]
- H05B45/50—Circuit arrangements for operating light-emitting diodes [LED] responsive to malfunctions or undesirable behaviour of LEDs; responsive to LED life; Protective circuits
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses an LED controller, which relates to the field of smart home and comprises the following components: the system comprises a main control chip, a hardware watchdog circuit, a wireless receiving module, an LED driving circuit, a power supply module and a memory; the output end of the wireless receiving module is electrically connected with the wireless receiving input end of the main control chip; the input end of the LED driving circuit is electrically connected with the PWM output end of the main control chip; the memory is electrically connected with the memory interface of the main control chip; the first output end of the hardware watchdog circuit is electrically connected with the reset port of the main control chip, and the counting zero clearing input end of the hardware watchdog circuit is electrically connected with the timing output end of the main control chip. The hardware watchdog is adopted, so that the program error of the main control chip is avoided; the MCU chip of the hardware watchdog can control the LED load when the main control chip fails; various scene modules are stored in the memory, so that the user can select the scene modules conveniently; and the PWM signal is adopted to control the driving circuit, so that the LED load current is stable.
Description
Technical Field
The invention relates to the field of smart homes, in particular to an LED controller.
Background
With the continuous development of the internet of things technology in smart homes, more and more wireless technologies are applied to various electric appliances. The wireless technology has the advantages of low cost, low power consumption, convenient control and the like, and the traditional household appliance has the advantages of higher safety, better reliability, more accordance with the use habits of people and the like. Therefore, the advanced wireless technology is integrated into the traditional household appliance, the use habit of consumers can be better met, and the user experience can be greatly improved.
At present, the light control is mainly controlled by a wired mode mostly, and the function is single. But with the diversification of the requirements of people on light control and the inconvenience of the existing products, the development of multifunctional, intelligent and humanized control is promoted.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, the technical problem to be solved by the present invention is to provide an LED controller, which is intended for programming a controlled LED lamp in a wireless manner; meanwhile, the LED driving circuit avoids the disorder of the program of the main control chip and has stable LED driving.
To achieve the above object, the present invention provides an LED controller, comprising:
the system comprises a main control chip, a hardware watchdog circuit, a wireless receiving module, an LED driving circuit, a power supply module and a memory; the output end of the wireless receiving module is electrically connected with the wireless receiving input end of the main control chip; the input end of the LED driving circuit is electrically connected with the PWM output end of the main control chip; the memory is electrically connected with the memory interface of the main control chip; the output end of the LED driving circuit is connected with an LED load; the wireless receiving module is used for communicating with the wireless sending module; the first output end of the hardware watchdog circuit is electrically connected with the reset port of the main control chip, and the counting zero clearing input end of the hardware watchdog circuit is electrically connected with the timing output end of the main control chip.
In the technical scheme, a wireless receiving module receives codes of control signals transmitted by a wireless transmitting module of a remote control or remote control panel and transmits the codes to a main control chip for decoding, and the codes are set according to the number of electric appliances and control requirements and can prevent code crosstalk; a hardware watchdog circuit is arranged, and when the program of the main control chip is wrong, the main control chip is reset; the LED driving circuit inputs the PWM control signal and generates a constant current power supply to drive the LED load, and the current is stable.
Furthermore, the hardware watchdog circuit comprises an MCU chip, a second output end of the MCU chip is electrically connected with an input end of the LED drive circuit, and a third port of the MCU chip is electrically connected with the memory.
In the technical scheme, a watchdog circuit is composed of an MCU chip, the MCU chip of the watchdog circuit counts, and a main control chip sends a signal to the watchdog MCU chip at regular time to clear the count; if the master control chip fails, the watchdog MCU chip counts and overflows, and resets the master control chip, so that the master control chip is prevented from making mistakes. In addition, in this technical scheme, the MCU chip still connects LED drive circuit, and when the main control chip became invalid, the MCU chip controlled the LED load, realized normal demonstration or LED scintillation and reported to the police.
Further, the LED driving circuit includes: the constant current source circuit comprises a voltage reduction constant current source chip U1, a load interface, a first inductor L1, a first voltage stabilizing diode DZ1, a first capacitor C1 and a first resistor R1;
the anode of the first voltage-stabilizing diode DZ1 is connected with pin 1 of the buck constant-current source chip U1, and the cathode of the first voltage-stabilizing diode DZ1 is connected with pin 5 of the buck constant-current source chip U1; one end of the first inductor L1 is connected with pin 1 of the voltage-reducing constant-current source chip U1, and the other end of the first inductor L1 is connected with pin 2 of the load; the pin 1 of the load is connected with the pin 4 of the voltage reduction constant current source chip U1; one end of the first capacitor is connected with a pin 2 of the voltage reduction constant current source chip U1, and the other end of the first capacitor is connected with a pin 5 of the voltage reduction constant current source chip U1; one end of the first resistor R1 is connected with the pin 5 of the voltage-reducing constant current source chip U1, and the other end of the first resistor R1 is connected with the pin 4 of the voltage-reducing constant current source chip U1.
In the technical scheme, the LED driving circuit is formed by a voltage reduction constant current source chip, an inductor, a voltage stabilizing diode and the like, can be controlled by PWM, has stable output current and is suitable for driving an LED load.
Further, the memory stores LED control information, and the LED control information includes a plurality of types of contextual model information and LED control setting information.
In the technical scheme, the main control chip extracts the driving parameters of the control information, including the PWM duty ratio, from the memory according to the control information of the wireless receiving module, and then the LED drives and controls the LED load to realize one of a plurality of contextual models.
The invention has the beneficial effects that: the hardware watchdog is adopted, so that the program error of the main control chip is avoided; the MCU chip of the hardware watchdog can also control the LED load when the main control chip fails, so that normal display or LED flickering alarm is realized; the storage stores a plurality of scene modules lighted by LED light, which is convenient for users to select; the LED driving circuit inputs the PWM control signal and generates a constant current power supply to drive the LED load, and the current is stable.
Drawings
FIG. 1 is a schematic structural diagram of an embodiment of the present invention;
fig. 2 is a circuit schematic of an embodiment of the present invention.
Detailed Description
The invention is further illustrated by the following examples in conjunction with the accompanying drawings:
as shown in fig. 1, the present embodiment provides an LED controller, including: the system comprises a main control chip, a hardware watchdog circuit, a wireless receiving module, an LED driving circuit, a power supply module and a memory; the output end of the wireless receiving module is electrically connected with the wireless receiving input end of the main control chip; the input end of the LED driving circuit is electrically connected with the PWM output end of the main control chip; the memory is electrically connected with the memory interface of the main control chip; the output end of the LED driving circuit is connected with an LED load; the wireless receiving module is used for communicating with the wireless sending module; the first output end of the hardware watchdog circuit is electrically connected with the reset port of the main control chip, and the counting zero clearing input end of the hardware watchdog circuit is electrically connected with the timing output end of the main control chip.
The transmitting code of the transmitting end of the remote control or remote control panel is a specific 32-bit code, and the design has strong code string prevention capacity; and through automatic ID logic programming, at least more than 100 hundred million different ID user codes can be programmed, namely, each user can form an independent ID number, thereby not causing the generation of serial codes of adjacent users due to wireless.
In this embodiment, the hardware watchdog circuit includes an MCU chip, a second output terminal of the MCU chip is electrically connected to an input terminal of the LED driving circuit, and a third port of the MCU chip is electrically connected to the memory.
As shown in fig. 2, in the present embodiment, the LED driving circuit includes: the constant current source circuit comprises a voltage reduction constant current source chip U1, a load interface, a first inductor L1, a first voltage stabilizing diode DZ1, a first capacitor C1 and a first resistor R1; the anode of the first voltage-stabilizing diode DZ1 is connected with pin 1 of the buck constant-current source chip U1, and the cathode of the first voltage-stabilizing diode DZ1 is connected with pin 5 of the buck constant-current source chip U1; one end of the first inductor L1 is connected with pin 1 of the voltage-reducing constant-current source chip U1, and the other end of the first inductor L1 is connected with pin 2 of the load; the pin 1 of the load is connected with the pin 4 of the voltage reduction constant current source chip U1; one end of the first capacitor is connected with a pin 2 of the voltage reduction constant current source chip U1, and the other end of the first capacitor is connected with a pin 5 of the voltage reduction constant current source chip U1; one end of the first resistor R1 is connected with the pin 5 of the voltage-reducing constant current source chip U1, and the other end is connected with the pin 4 of the voltage-reducing constant current source chip U1. In addition, in fig. 2, a circuit diagram of other modules of the LED controller is also given. The model of the voltage-reducing constant-current source chip U1 is MT 7201.
In this embodiment, the memory stores LED control information, and the LED control information includes a plurality of types of profile information and LED control setting information.
In the invention, the LED lamp is programmed and controlled in a wireless mode, in the embodiment, multiple paths of light are controlled, each path of light can be set into multiple contextual models, and the setting state of each contextual model is memorized. The operation is simple and convenient, the setting is flexible, and the control is simple; and the independent control and linkage setting are flexibly realized.
The foregoing detailed description of the preferred embodiments of the invention has been presented. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions available to those skilled in the art through logic analysis, reasoning and limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection defined by the claims.
Claims (2)
1. An LED controller, comprising:
the system comprises a main control chip, a hardware watchdog circuit, a wireless receiving module, an LED driving circuit, a power supply module and a memory;
the output end of the wireless receiving module is electrically connected with the wireless receiving input end of the main control chip; the input end of the LED driving circuit is electrically connected with the PWM output end of the main control chip; the memory is electrically connected with the memory interface of the main control chip; the output end of the LED driving circuit is connected with an LED load; the wireless receiving module is used for communicating with the wireless sending module;
a first output end of the hardware watchdog circuit is electrically connected with a reset port of the main control chip, and a counting zero clearing input end of the hardware watchdog circuit is electrically connected with a timing output end of the main control chip;
the hardware watchdog circuit comprises an MCU chip, a second output end of the MCU chip is electrically connected with the input end of the LED drive circuit, and a third port of the MCU chip is electrically connected with the memory;
the LED drive circuit includes: the voltage reduction constant current source circuit comprises a voltage reduction constant current source chip (U1), a load interface, a first inductor (L1), a first voltage stabilizing diode (DZ1), a first capacitor (C1) and a first resistor (R1);
the anode of the first voltage stabilizing diode (DZ1) is connected with pin 1 of the buck constant current source chip (U1), and the cathode of the first voltage stabilizing diode (DZ1) is connected with pin 5 of the buck constant current source chip (U1); one end of the first inductor (L1) is connected with a pin 1 of the voltage reduction constant current source chip (U1), and the other end of the first inductor is connected with a pin 2 of the load; the pin 1 of the load is connected with the pin 4 of the voltage reduction constant current source chip (U1); one end of the first capacitor is connected with a pin 2 of the voltage reduction constant current source chip (U1), and the other end of the first capacitor is connected with a pin 5 of the voltage reduction constant current source chip (U1); one end of the first resistor (R1) is connected with the pin 5 of the voltage reduction constant current source chip (U1), and the other end of the first resistor is connected with the pin 4 of the voltage reduction constant current source chip (U1); the model of the voltage constant current source chip (U1) is MT 7201.
2. The LED controller of claim 1, wherein the memory stores LED control information, the LED control information comprising a plurality of types of scene mode information and LED control setting information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610618682.1A CN107666735B (en) | 2016-07-29 | 2016-07-29 | LED controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610618682.1A CN107666735B (en) | 2016-07-29 | 2016-07-29 | LED controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107666735A CN107666735A (en) | 2018-02-06 |
CN107666735B true CN107666735B (en) | 2019-12-20 |
Family
ID=61122144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610618682.1A Active CN107666735B (en) | 2016-07-29 | 2016-07-29 | LED controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107666735B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090548B (en) * | 2019-12-26 | 2022-09-02 | 亚瑞源科技(深圳)有限公司 | MCU reset restarting method and circuit |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101375229B1 (en) * | 2012-02-28 | 2014-03-18 | 주식회사 퓨처테크 | Apparatus for Street Light Control in Grid-Connected Street Light System |
CN203618176U (en) * | 2013-07-30 | 2014-05-28 | 广州众恒光电科技有限公司 | LED intelligent light controller |
CN105517239B (en) * | 2015-12-29 | 2017-09-15 | 厦门格绿能光电股份有限公司 | Led lamp intelligent terminal controller |
CN205902151U (en) * | 2016-07-29 | 2017-01-18 | 重庆臣蓝智能科技有限公司 | LED wireless receiving controller |
-
2016
- 2016-07-29 CN CN201610618682.1A patent/CN107666735B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107666735A (en) | 2018-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103472752B (en) | A kind of infrared many gears gesture identification switch and gesture identification method | |
CN105933193B (en) | Intelligent switch control system and method | |
CN103032975A (en) | Remote control system of solar water heater | |
CN104768287A (en) | Intelligent night lamp | |
Lee et al. | Design and implementation of a leader-follower smart office lighting control system based on IoT technology | |
CN107666735B (en) | LED controller | |
CN113316294B (en) | Circuit control system, series control device and control method thereof | |
CN205160866U (en) | Wireless Intelligence panel -switch that human response in area and illumiinance were surveyed | |
CN205902151U (en) | LED wireless receiving controller | |
CN202857093U (en) | Lighting intelligent control switch | |
CN203535410U (en) | Infrared multiple-gear hand gesture recognition switch | |
CN102280021A (en) | Infrared remote control switch | |
CN103048957A (en) | Intelligent power supply control system | |
CN104238392A (en) | Remote control power supply device, remote control lamp assembly thereof and code matching method thereof | |
CN203289701U (en) | Breathing lamp control circuit and electronic equipment | |
CN203386359U (en) | Learning infrared remote controller based on ZIGBEE | |
CN105280438A (en) | Wireless intelligent switch panel having timing motion function and method | |
CN1722926B (en) | Intelligent LED control system and method | |
CN205003502U (en) | Wireless Intelligence flush mounting plate of switch with timing holding function | |
CN205316464U (en) | Warm controller of internet electricity | |
CN105222353B (en) | A kind of water heater, water-heater system and its control method | |
CN204044547U (en) | Remote circuit device and remote controlled lantern assembly thereof | |
CN108377588A (en) | A kind of LED wireless receivings controller | |
CN110912396A (en) | Master-slave control system and indication driving circuit thereof | |
Khan et al. | Smart box: A TV remote controller based programmable home appliance manager |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20191127 Address after: 518000 2, 3 floor, Central Road, South Dafu community, Guan Hu Street, Longhua District, Shenzhen, Guangdong, China. 360 Applicant after: Shenzhen Yu innovis Community Technology Co. Ltd. Address before: 402460 No. 107 Cathay Pacific Road, Chang Zhou street, Rongchang County, 39, attached to Chongqing Applicant before: Chongqing blue Intelligent Technology Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |