CN106231721A - A kind of energy-efficient intellectualized LED illuminator based on ZigBee and control method thereof - Google Patents
A kind of energy-efficient intellectualized LED illuminator based on ZigBee and control method thereof Download PDFInfo
- Publication number
- CN106231721A CN106231721A CN201610602206.0A CN201610602206A CN106231721A CN 106231721 A CN106231721 A CN 106231721A CN 201610602206 A CN201610602206 A CN 201610602206A CN 106231721 A CN106231721 A CN 106231721A
- Authority
- CN
- China
- Prior art keywords
- zigbee
- data
- network
- coordinator
- initialize
- 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.)
- Pending
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]
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The present invention relates to LED technology field, particularly relate to a kind of energy-efficient intellectualized LED illuminator based on ZigBee technology and control method thereof.ZigBee radio sensing network and Bluetooth technology are combined it by the present invention, design a LED light adjusting system controlled by cell phone intelligent, the exploitation of Zigbee protocol stack is used to set up self-organizing network system, ZigBee coordinator connects Bluetooth module, it is achieved control function to LED switch, brightness and color on smart mobile phone based on android system.Native system low energy consumption, human-based management, solve conventional mechanical switch in-convenience in use and the nonadjustable problem of conventional lamp brightness, there is certain practical value.
Description
Technical field
The present invention relates to LED technology field, particularly relate to a kind of energy-efficient intellectualized LED based on ZigBee technology and shine
Bright system and control method thereof.
Background technology
Along with electronic technology and the development of technology of wireless sensing network, people are more and more higher to the requirement of quality of life, intelligence
The illuminator of energyization has good development prospect in following lighting field, and " traditional illuminator uses wired company mostly
Connecing, wiring trouble, expense is the highest, and autgmentability is poor, and difficult in maintenance, energy resource consumption is big.
Summary of the invention
For defect or deficiency present in prior art, the technical problem to be solved is: provide a kind
Energy-efficient intellectualized LED illuminator based on ZigBee technology and control method thereof, including cell-phone customer terminal, ZigBee net
Network, LED drive circuit, ZigBee coordinator and ZigBee terminal node, bluetooth module, described ZigBee-network includes coordinating
Device, router, terminal unit;
The monitoring interface of described cell-phone customer terminal is opened bluetooth and is connected, and the bluetooth on mobile phone is connected with bluetooth module pairing, mobile phone
Issuing bluetooth module by wireless for data, data are passed to ZigBee coordinator by serial ports wire communication by bluetooth module, after powering on
The automatic building network of ZigBee coordinator, ZigBee terminal node adds network freely, and after network has been set up, ZigBee assists
The data adjusting device to receive, are transmitted to the terminal unit of setting network address, and terminal unit receives data, without data
Being transmitted through, terminal unit enters resting state, it is achieved low-power consumption, otherwise terminal unit wakes up up and processes data, and handle
The PWM signal produced is to LED drive circuit, thus regulates the change of LED state.
As a further improvement on the present invention, the peripheral circuit of described ZigBee has voltage detection circuit, infrared distant
Control transmission circuit, PT4115 pulse constant current drive source, ambient irradiance sensor, environment temperature sensor, infrared human body detection to pass
Sensor, RS232 serial communication modular, photoelectric isolating relay module, PCB wireless receiving and dispatching antenna, LCD show, Independent keys.
A kind of control method using energy-efficient intellectualized LED illuminator based on ZigBee technology, uses Z-
Stack protocol stack is controlled, and specifically includes following steps:
A, system start-up,
B, driving initialize,
C, OSAL initialize and start,
D, entrance task repeating query,
E, coordinator carry out networking,
F, router complete the forwarding of packet, terminal unit is responsible for data acquisition and executable network action.
As a further improvement on the present invention, the Central Shanxi Plain is disconnected, initialize Stack to drive initialization to include in described step B
RAM, initialization Board I/O port, initialization HAL layer drive, initialize NV FLASH, initialization MAC layer, distribute 64 physics
Address, reading NV ITEMS.
As a further improvement on the present invention, described step D enters duty cycle to include that OSAL task repeating query is main and follow
Ring, it may be judged whether event occurs, without being returned to OSAL task repeating query major cycle, compares priority if it has, enter,
When priority is at a relatively high with regard to allocating time processing routine, otherwise, it is again introduced into comparing priority, after allocating time processing routine
Judging whether to terminate, if it is, enter, event occurs, if it is not, enter back into the comparison of priority.
As a further improvement on the present invention, the work of ZigBee coordinator: when node adds network time, coordinator meeting
Automatically to its distribute unique 16 network address, networking success after detected whether that button is pressed, if be carried out by
Key processes, and otherwise just whether detection serial ports has data receiver, receives and calls data processor, does not has data receiver just detection
Whether there are transmission data, if being transmitted to bluetooth module, if not then being circulated detection.
As a further improvement on the present invention, router, terminal unit, after a series of initialization, will be searched for
Network also adds, and has next determined whether bind request, if not determining whether to receive the life from coordinator
Order, if receiving the order of coordinator, according to the data received, processes, and output PWM ripple, to drive circuit, is carried out
Corresponding light modulation, toning.
The invention has the beneficial effects as follows: the present invention uses ZigBee technology and Bluetooth of mobile phone technology, it is achieved that to LED lamp
Controlled in wireless, and through test after a while, system controls the switch of LED lamp not only by mobile phone, it is also possible to adjust
The brightness of joint LED lamp and color, reached expected result, and this system structure is simple, low cost, solves tradition machine
Tool switch in-convenience in use and the nonadjustable problem of conventional lamp brightness, there is certain practical value.
Accompanying drawing explanation
Fig. 1 is the Z-stack workflow diagram that the present invention provides;
Fig. 2 is the ZigBee coordinator flow chart that the present invention provides;
Fig. 3 is the ZigBee terminal unit flow chart that the present invention provides.
Detailed description of the invention
The present invention is further described for explanation and detailed description of the invention below in conjunction with the accompanying drawings.
The present invention includes cell-phone customer terminal, ZigBee-network, LED drive circuit, ZigBee coordinator and ZigBee terminal
Node, bluetooth module, described ZigBee-network includes coordinator, router, terminal unit;
The monitoring interface of described cell-phone customer terminal is opened bluetooth and is connected, and the bluetooth on mobile phone is connected with bluetooth module pairing, mobile phone
Issuing bluetooth module by wireless for data, data are passed to ZigBee coordinator by serial ports wire communication by bluetooth module, after powering on
The automatic building network of ZigBee coordinator, ZigBee terminal node adds network freely, and after network has been set up, ZigBee assists
The data adjusting device to receive, are transmitted to the terminal unit of setting network address, and terminal unit receives data, without data
Being transmitted through, terminal unit enters resting state, it is achieved low-power consumption, otherwise terminal unit wakes up up and processes data, and handle
The PWM signal produced is to LED drive circuit, thus regulates the change of LED state.
The peripheral circuit of described ZigBee has voltage detection circuit, infrared remote control transmission circuit, PT4115 pulse perseverance
Stream driving source, ambient irradiance sensor, environment temperature sensor, infrared human body detection sensor, RS232 serial communication modular,
Photoelectric isolating relay module, PCB wireless receiving and dispatching antenna, LCD show, Independent keys.Sensor is mainly used in ambient parameter
(illuminance, humidity, temperature etc.) carry out real-time collection;Relay is mainly used in being controlled the switch of LED;PT4115
Application pulsed constant current supply actuation techniques control current pulse frequency and dutycycle realize the PWM non-pole light regulating of LED, thus reach to close
The brightness of illumination of the needs of reason.Meanwhile, the ambient parameter of sensor Real-time Collection passes through controller CC2430 through routing node
After be sent to mediators handle device, and compare with the parameter being previously set, and quickly respond.LCD display module pair
ZigBee Sensor Network mesh information carries out real-time display;ZigBee remote control module is used for switching automatic control and manual two kinds of moulds
Formula, during manual state, user remotely can be operated by remote controller LED illumination System, during automatic control state, illuminator meeting
Change according to external environment carries out Based Intelligent Control whole system work;The communication interface of coordinator node uses standard
RS232, sets up two-way communication with PC server node, to realize the one-stop centralized management of LED Lighting Control Assembly.
A kind of control method using energy-efficient intellectualized LED illuminator based on ZigBee technology, uses Z-
Stack protocol stack is controlled, and specifically includes following steps:
A, system start-up,
B, driving initialize,
C, OSAL initialize and start,
D, entrance task repeating query,
E, coordinator carry out networking,
F, router complete the forwarding of packet, terminal unit is responsible for data acquisition and executable network action.
As it is shown in figure 1, drive initialization to include in described step B, the Central Shanxi Plain is disconnected, initialize Stack RAM, initialize Board
I/O port, initialization HAL layer drive, initialize NV FLASH, initialize MAC layer, 64 physical address of distribution, reading NV
ITEMS。
Described step D enters duty cycle and includes OSAL task repeating query major cycle, it may be judged whether event occurs, as
Fruit is not returned to OSAL task repeating query major cycle, compares priority, when just calling when priority is at a relatively high if it has, enter
Between processing routine, otherwise, be again introduced into comparing priority, judge whether after allocating time processing routine terminate, if it is, enter
Enter that event occurs, if it is not, enter back into the comparison of priority.
As in figure 2 it is shown, the work of ZigBee coordinator: when node adds network time, coordinator can distribute to it automatically
Unique 16 network address, have detected whether that button is pressed, if being carried out keystroke handling, the most just after networking success
Whether detection serial ports has data receiver, receives and calls data processor, has detected whether transmission number without data receiver
According to, if being transmitted to bluetooth module, if not then it is circulated detection.
As it is shown on figure 3, router, terminal unit are after a series of initialization, network will be searched for and add, connecing
Get off to have determined whether bind request, if not determining whether to receive the order from coordinator, if received
The order of coordinator, according to the data received, processes, and output PWM ripple, to drive circuit, dims accordingly, adjusts
Color.
Above content is to combine concrete preferred implementation further description made for the present invention, it is impossible to assert
Being embodied as of the present invention is confined to these explanations.For general technical staff of the technical field of the invention,
On the premise of present inventive concept, it is also possible to make some simple deduction or replace, all should be considered as belonging to the present invention's
Protection domain.
Claims (7)
1. an energy-efficient intellectualized LED illuminator based on ZigBee, it is characterised in that: include cell-phone customer terminal,
ZigBee-network, LED drive circuit, ZigBee coordinator and ZigBee terminal node, bluetooth module, described ZigBee-network bag
Include coordinator, router, terminal unit;
The monitoring interface of described cell-phone customer terminal is opened bluetooth and is connected, and the bluetooth on mobile phone is connected with bluetooth module pairing, mobile phone
Issuing bluetooth module by wireless for data, data are passed to ZigBee coordinator by serial ports wire communication by bluetooth module, after powering on
The automatic building network of ZigBee coordinator, ZigBee terminal node adds network freely, and after network has been set up, ZigBee assists
The data adjusting device to receive, are transmitted to the terminal unit of setting network address, and terminal unit receives data, without data
Being transmitted through, terminal unit enters resting state, it is achieved low-power consumption, otherwise terminal unit wakes up up and processes data, and handle
The PWM signal produced is to LED drive circuit, thus regulates the change of LED state.
Energy-efficient intellectualized LED illuminator based on ZigBee the most according to claim 1, it is characterised in that: institute
State the peripheral circuit of ZigBee have voltage detection circuit, infrared remote control transmission circuit, PT4115 pulse constant current drive source,
Ambient irradiance sensor, environment temperature sensor, infrared human body detection sensor, RS232 serial communication modular, Phototube Coupling
Relay module, PCB wireless receiving and dispatching antenna, LCD show, Independent keys.
3. the control method using energy-efficient intellectualized LED illuminator based on ZigBee technology, it is characterised in that:
Use Z-stack protocol stack to be controlled, specifically include following steps:
A, system start-up,
B, driving initialize,
C, OSAL initialize and start,
D, entrance task repeating query,
E, coordinator carry out networking,
F, router complete the forwarding of packet, terminal unit is responsible for data acquisition and executable network action.
Control method the most according to claim 3, it is characterised in that: described step B drives initialization include the Central Shanxi Plain disconnected,
Initialize Stack RAM, initialize Board I/O port, initialize HAL layer drive, initialize NV FLASH, initialize MAC layer,
Distribute 64 physical address, read NV ITEMS.
Control method the most according to claim 3, it is characterised in that: described step D enters duty cycle and includes OSAL
Task repeating query major cycle, it may be judged whether event occurs, without being returned to OSAL task repeating query major cycle, if it has, enter
Enter to compare priority, when priority is at a relatively high with regard to allocating time processing routine, otherwise, be again introduced into comparing priority, call
Judging whether after time-triggered protocol program to terminate, if it is, enter, event occurs, if it is not, enter back into the ratio of priority
Relatively.
Control method the most according to claim 3, it is characterised in that: the work of ZigBee coordinator: when node adds networking
When network, coordinator can distribute unique 16 network address to it automatically, has detected whether that button is pressed after networking success,
If being carried out keystroke handling, otherwise just whether detection serial ports has data receiver, receives and calls data processor, does not has
Data receiver has just detected whether transmission data, if being transmitted to bluetooth module, if not then is circulated detection.
Control method the most according to claim 3, it is characterised in that: router, terminal unit are at the beginning of a series of
After beginningization, network will be searched for and add, next having determined whether bind request, if not determined whether to receive
From the order of coordinator, if receiving the order of coordinator, according to the data received, processing, output PWM ripple is given
Drive circuit, dims accordingly, mixes colours.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610602206.0A CN106231721A (en) | 2016-07-26 | 2016-07-26 | A kind of energy-efficient intellectualized LED illuminator based on ZigBee and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610602206.0A CN106231721A (en) | 2016-07-26 | 2016-07-26 | A kind of energy-efficient intellectualized LED illuminator based on ZigBee and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106231721A true CN106231721A (en) | 2016-12-14 |
Family
ID=57533744
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610602206.0A Pending CN106231721A (en) | 2016-07-26 | 2016-07-26 | A kind of energy-efficient intellectualized LED illuminator based on ZigBee and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106231721A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108490834A (en) * | 2018-04-18 | 2018-09-04 | 哈尔滨理工大学 | A kind of home energy source management system |
CN113706838A (en) * | 2021-07-17 | 2021-11-26 | 北京工业大学 | Portable subway and underground pipe gallery construction risk automatic analyzer based on intelligent sensing |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102612214A (en) * | 2012-02-24 | 2012-07-25 | 杭州意博高科电器有限公司 | Light control system based on android smart cell phone |
US20140354162A1 (en) * | 2013-04-11 | 2014-12-04 | Zhejiang Shenghui Lighting Co., Ltd | Led lighting device and led control system |
CN204168563U (en) * | 2014-11-08 | 2015-02-18 | 天津荣天智创科技发展有限公司 | Based on the Based Intelligent Control energy efficient lighting system of ZigBee |
-
2016
- 2016-07-26 CN CN201610602206.0A patent/CN106231721A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102612214A (en) * | 2012-02-24 | 2012-07-25 | 杭州意博高科电器有限公司 | Light control system based on android smart cell phone |
US20140354162A1 (en) * | 2013-04-11 | 2014-12-04 | Zhejiang Shenghui Lighting Co., Ltd | Led lighting device and led control system |
CN204168563U (en) * | 2014-11-08 | 2015-02-18 | 天津荣天智创科技发展有限公司 | Based on the Based Intelligent Control energy efficient lighting system of ZigBee |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108490834A (en) * | 2018-04-18 | 2018-09-04 | 哈尔滨理工大学 | A kind of home energy source management system |
CN113706838A (en) * | 2021-07-17 | 2021-11-26 | 北京工业大学 | Portable subway and underground pipe gallery construction risk automatic analyzer based on intelligent sensing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106063377B (en) | The handheld device that can be interacted with illuminating equipment | |
CN104735878B (en) | A kind of wearable illuminator control device and illuminator control system | |
CN201766739U (en) | Intelligent home LED lighting system based on ZigBee and ARM techniques | |
CN106793384A (en) | Indoor intelligent inductive lightning system and its illumination control method | |
CN102612214A (en) | Light control system based on android smart cell phone | |
CN101330784A (en) | Radiotelecontrol intelligent light control system capable of setting control light hint map | |
CN104854401B (en) | For the master/slave arrangement of illuminating equipment module | |
CN106714364A (en) | Internet-of-things-based intelligent dimming LED light and intelligent lighting system | |
CN105263233A (en) | Intelligent lamplight control system based on WIFI and control method | |
CN105142264A (en) | Intelligent lamp and intelligent control system | |
CN105764197A (en) | Intelligent illumination system based on WIFI-ZigBee fusion communication | |
CN204836707U (en) | LED drive device that wireless control can adjust luminance and mix colours | |
CN106851902B (en) | A kind of wireless distances induced intelligent lamp group and intelligent adjusting method | |
CN106231721A (en) | A kind of energy-efficient intellectualized LED illuminator based on ZigBee and control method thereof | |
CN107367954A (en) | A kind of intelligent domestic environment parameter control system based on Arduino | |
CN108124347A (en) | A kind of lamp controller and method for controlling lamp | |
Visconti et al. | Wireless monitoring system of household electrical consumption with DALY-based control unit of lighting facilities remotely controlled by Internet | |
Jun et al. | LED lighting control system based on the zigbee wireless network | |
CN107544278A (en) | Intelligent domestic system | |
CN204741601U (en) | Zigbee intelligence light control system | |
CN204157109U (en) | Based on the intelligent wireless LED illumination System of 2.4GHz | |
CN202918547U (en) | Centralized powered LED device | |
CN108260246A (en) | A kind of office space intelligent illuminating system | |
CN106102274B (en) | A kind of street lamp control system | |
CN205902147U (en) | LED intelligence lighting system based on self -adaptation is adjusted luminance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161214 |
|
RJ01 | Rejection of invention patent application after publication |