A kind of intelligent wireless lighting control system
Technical field
The present invention relates to a kind of Intelligent lamp control technology field, more particularly, to a kind of intelligent wireless lighting control system.
Background technology
With the development of science and technology and the raising of living standards of the people, people propose new requirement to architectural lighting system,
On the basis of base lighting demand is met, also require intelligent control, simple operation, efficient energy-saving, intelligent lighting by
This applies and given birth to.Intelligent illumination device on the market has what is controlled by Bluetooth signal at present, there is what is controlled by RF modules, also
Have by gateway control etc..
Based on the intelligent illuminating system on bluetooth basis, due to resistance of the transmission range finite sum barrier to signal of bluetooth
Gear, is unable to reach and manipulates whenever and wherever possible;Based on the intelligent illuminating system of RF signals control, because the transmission range of RF modules is limited
With RF signals energy power restriction through walls, also it is unable to reach whenever and wherever possible, key manipulation;Intelligent illuminating system based on gateway control needs
Integrated gateway is connected in circuit, then by gateway communication, added the complexity of system, reduced the convenience used.
Thus, propose it is a can not be by distance, barrier, the intelligent wireless lighting control system of a key control of place and time restriction.
The content of the invention
The technical problem to be solved in the present invention is to overcome the defects of existing, there is provided a kind of intelligent wireless lighting control system, so as to
Solve the above problems.
To achieve the above object, the present invention provides following technical scheme:A kind of intelligent wireless lighting control system, including WIFI intelligence
Energy light modulator, Cloud Server, cell phone application, wireless router and light fixture, smart mobile phone are installed the cell phone application, connected by mobile phone
The WIFI signal of wireless router offer is connect, cell phone application accesses internet, communicated with Cloud Server, the WIFI intelligence
Light modulator is realized by the WIFI chips of inside and is connected with wireless router, so as to access internet, is led to Cloud Server
Letter, the other end of the WIFI intelligent light regulators are connected with light fixture, one network of formation between them, reach information between several persons
Interaction, when there is multiple light fixtures to be connected with multiple WIFI intelligent light regulators, when being communicated with Cloud Server, just foring one can
With the intelligent wireless lighting control system controlled using cell phone application, user manipulates cell phone application and sends instruction in system, by without circuit
Network signal and the Cloud Server provided by device carries out information exchange, then passes through the logical of Cloud Server and WIFI intelligent light regulators
Letter, transmission command signal to WIFI intelligent light regulators, the WIFI intelligent light regulators are corresponding according to the signal received, output
Low and high level or pwm control signal perform switch, dimmed, color-temperature regulating etc. is dynamic to LED drive circuit, drive circuit driving light fixture
Make, the WIFI intelligent light regulators are the cores of whole system, and electricity is driven by power unit, reduction voltage circuit, WIFI module, LED
Road forms.
As a preferred technical solution of the present invention, the power unit is responsible for civil power being converted to direct current, there is provided
To light fixture and WIFI intelligent light regulators and other modules for needing electricity consumption, the reduction voltage circuit is to be reduced to the high voltage of input
The voltage that WIFI module is applicable.
As a preferred technical solution of the present invention, the LED drive circuit is mainly driving IC chip, and and light fixture
It is joined directly together, the pwm signal or low and high level exported by receiving WIFI module, and then drives adjustment control light fixture function and shape
State changes.
As a preferred technical solution of the present invention, the WIFI module is responsible for communicating with Cloud Server, reception signal
With output pwm signal or low and high level, what is played a major role in the WIFI module is WIFI chips, and the WIFI chips use
ESP8266EX chips, equivalent to one client of the ESP8266EX chips one side, can be linked to other routers hair
The WIFI signal gone out, on the other hand there are multiple GPIO pins, difference in functionality can be set to be used to inputting and exporting different signals.
As a preferred technical solution of the present invention, the WIFI chips have three kinds of mode of operations, in client mode
Under, it can be connected with router, send WIFI signal, and in terms of pin, ESP8266EX shares 17 GPIO pins, passes through
Different functions can be distributed to them by configuring appropriate register, by defining different pins, configure appropriate register
Can realizes the control to the function of lamp, such as defines 4 pin as " color-temperature regulating cool colour road control signal output or degree of lightening letter
Number output end ", it be " color-temperature regulating warm colour road control signal output or switching signal output end " to define 5 pin, then corresponding to 4
Pin configures the register of the register of cool colour road and brightness regulation output signal, 5 pin configuration warm colour road and switch output signal, when
Chip receives request of turning off the light, and 4 pin and 5 pin all export low level, and as fruit chip receives request of turning on light, 4 pin and 5 pin all export one
It is secondary turn off the light before pwm signal, LED drive chip controlled by the pwm signal or low and high level that receive, can be achieved with turning on light,
And as the colour temperature before being turned off the light after turning on light with the last time, brightness is same.
Compared with prior art, the beneficial effects of the invention are as follows:This kind of intelligent wireless lighting control system, mainly passes through intelligence
WIFI dimmer operations, and the central module of WIFI light modulators is WIFI chips, its integrated level is high, and whole module size is small,
It is possible thereby to be built into ceiling lamp, in globe lamp, reduce whole system uses space, adds aesthetics, circuit
Implement simply, be easier to realize, when for estate management, administrative staff pass through a cell phone application interface can
The state of all light fixtures is viewed, is easy to control the illuminator of whole building, not only can not be by distance, barrier, place
With the limitation of time, as long as having network can whenever and wherever possible, think that control is just controlled, and it is swift to operate, even several milliseconds at several seconds
Interior can completes the switch of multiple light fixtures, reaches power saving purpose, the system is manipulated by cell phone application, is easy to carry, manipulation side
Just, from the appearance, part is few for system, and wiring is few, and aesthetics is high, and circuit is simple, easily realizes, can be at an interface simultaneously
Check the state of multi-lamp tool, it is convenient manage whole illuminator, it is time saving and energy saving, and people are used smart mobile phone now
Generality, the scope of application of the program is also improved, everybody can install and use, scientific and reasonable for structure, safe and convenient to use, and should
System is by internet communication, as long as having 4G networks or WiFi signal can not by the time, place, and the limitation of distance, really
Accomplish to think that control is just controlled, provided a great help for people.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of intelligent wireless lighting control system structural representation of the present invention;
Fig. 2 is WIFI intelligent light regulators structural representation of the present invention;
Fig. 3 binds structural representation for configuration of the present invention;
Fig. 4 is light fixture control structure schematic diagram of the present invention;
In figure:1st, WIFI intelligent light regulators;2nd, Cloud Server;3rd, cell phone application;4th, wireless router;5th, light fixture.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments, is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Fig. 1-4 are referred to, the present invention provides a kind of technical scheme:A kind of intelligent wireless lighting control system, including WIFI intelligence
Light modulator 1, Cloud Server 2, cell phone application 3, wireless router 4 and light fixture 5, smart mobile phone installation cell phone application 3, are connected by mobile phone
The WIFI signal of the offer of wireless router 4 is connect, cell phone application 3 accesses internet, communicated with Cloud Server 2, and WIFI is intelligently adjusted
Light device 1 is realized by the WIFI chips of inside and is connected with wireless router 4, so as to access internet, is led to Cloud Server 2
Letter, the other end of WIFI intelligent light regulators 1 are connected with light fixture 5, one network of formation between them, reach information friendship between several persons
Mutually, when there are multiple light fixtures 5 to be connected with multiple WIFI intelligent light regulators 1, when being communicated with Cloud Server 2, one is just formd
The intelligent wireless lighting control system that control of cell phone application 3 can be used, user manipulates cell phone application 3 and sends instruction in system, passes through nothing
The network signal that line router 4 provides carries out information exchange with Cloud Server 2, then passes through Cloud Server 2 and WIFI intelligent dimmings
The communication of device 1, transmission command signal to WIFI intelligent light regulators 1, WIFI intelligent light regulators 1 are according to the signal received, output
Corresponding low and high level or pwm control signal perform switch, dimmed, toning to LED drive circuit, drive circuit driving light fixture 5
Temperature etc. acts, and WIFI intelligent light regulators 1 are the cores of whole system, is driven by power unit, reduction voltage circuit, WIFI module, LED
Circuit forms.
Power unit is responsible for civil power being converted to direct current, there is provided to light fixture 5 and WIFI intelligent light regulators 1 and other needs
The module of electricity consumption, reduction voltage circuit are that the high voltage of input is reduced into the voltage that WIFI module is applicable, and LED drive circuit is main
It is driving IC chip, and is joined directly together with light fixture 5, the pwm signal or low and high level exported by receiving WIFI module, and then drive
The dynamic function of adjustment control light fixture 5 and state change, WIFI module are responsible for communicating with Cloud Server 2, reception signal and output PWM letters
Number or low and high level, what is played a major role in WIFI module is WIFI chips, and WIFI chips use ESP8266EX chips,
ESP8266EX chips equivalent to one client of one side, can be linked to the WIFI signal that other routers are sent, the opposing party
There are multiple GPIO pins in face, difference in functionality can be set to be used to inputting and exporting different signals, WIFI chips have three kinds of work
Pattern, under client mode, it can be connected with router, send WIFI signal, and in terms of pin, ESP8266EX is shared
17 GPIO pins, different functions can be distributed to them by configuring appropriate register, by defining different pins,
Control of the appropriate register can realization to the function of lamp is configured, such as defines 4 pin as " color-temperature regulating cool colour road control signal is defeated
Go out end or degree of lightening signal output part ", 5 pin are defined as " color-temperature regulating warm colour road control signal output or switching signal are defeated
Go out end ", then accordingly to 4 pin configuration cool colour road and the register of brightness regulation output signal, 5 pin configure warm colour road and switched defeated
Go out the register of signal, when chip receives request of turning off the light, 4 pin and 5 pin all export low level, as fruit chip receives request of turning on light, 4
Pin and 5 pin all export last pwm signal before turning off the light, and LED drive chip passes through the pwm signal received or low and high level control
System, can be achieved with turning on light, and after turning on light and it is last turn off the light before colour temperature as, brightness is same.
Concrete principle:In use, being tied to firstly the need of by the configuration of light fixture 5 in APP, then could be manipulated by clicking on
APP interfaces, light fixture 5 is manipulated, as shown in Figure 3:Each WIFI intelligent light regulator 1 is preset uniquely when dispatching from the factory
MAC Address is as identity, and as shown in Fig. 3 " 1. obtain WIFI passwords " flow, WIFI intelligent light regulators 1 first power on
When, its internal WIFI module can be in monitor state, monitor all messages in WIFI network, scan region
WIFI lists, using the title that WIFI passwords and WIFI are inputted in connection WIFI cell phone application 3, send udp broadcast bag,
WIFI intelligent light regulators 1 get configuration information (WIFI titles and password) by UDP bags, are then log out monitor patterns, cut
Network mode is changed to, is connected to wireless router 4, can be to Cloud Server after WIFI intelligent light regulators 1 connect with wireless routing
2 distribution apparatus registration informations, after succeeding in registration, WIFI intelligent light regulators 1 can return registered mac addresses and did to
APP ends, after APP ends receive Mac addresses and did information, issue using mac addresses as the bind request identified to cloud server,
Cloud Server 2, which receives, asks and handles binding, by information exchange, shows that the WIFI of binding success is intelligently adjusted on APP interfaces
The MAC Address of device is controlled, WIFI intelligent light regulators 1 personalization can be arranged at the end interface of cell phone application 3 after binding success
Name, as the light fixture 5 connected with it is named as " ceiling lamp ", " ball lamp ", different packets is carried out, as with where it
Region, " staircase " etc. is grouped into, in this way, there is each light fixture 5 connected at the interface of cell phone application 3, as shown in Figure 4:
WIFI intelligent light regulators 1 are tied in APP, it is possible to manipulation light modulation, color-temperature regulating are clicked at APP interfaces, switch etc. is operated, had
Body communication process is as follows, hits the state (such as brightness increase) of manipulation change light fixture 5 in the end points of cell phone application 3, APP will send " bright
Degree increase changes request " Cloud Server 2 is arrived, Cloud Server 2 is handed down to WIFI intelligent light regulators 1, WIFI intelligence after receiving information
Light modulator 1 adjusts the state of light fixture 5 by output pwm signal and low and high level to LED drive circuit so that and brightness increases, when
Light fixture 5 performs after brightness changes and will report " state after change " Cloud Server 2 is again by the information transmission to Cloud Server 2
To APP ends, it can be seen that the change accordingly increased can also occur for the luminance state of light fixture 5 on APP interfaces, such system is with regard to complete
Into the process of the manipulation increased the regulation brightness of light fixture 5, other manipulations (such as turn on light, turn off the light, regulation colour temperature increase reduction etc.)
Also be not always the case realization.
This kind of intelligent wireless lighting control system, mainly worked by intelligent WIFI light modulators 1, and WIFI light modulators 1
Central module is WIFI chips, and its integrated level is high, and whole module size is small, it is possible thereby to ceiling lamp is built into, globe lamp
In, reduce whole system use space, add aesthetics, circuit realiration gets up simply, is easier to realize, for
During estate management, administrative staff view the state of all light fixtures 5 by an interface can of cell phone application 3, are easy to control whole
The illuminator of individual building, not only can not by distance, barrier, the limitation of place and time, as long as have network can with
When everywhere, think that control is just controlled, and swift to operate, can completes the switch of multiple light fixtures in several seconds even several milliseconds, reaches
Power saving purpose, the system are manipulated by cell phone application 3, are easy to carry, and manipulation is convenient, and from the appearance, part is few for system, and wiring is few,
Aesthetics is high, and circuit is simple, easily realizes, can check that multi-lamp has 5 state simultaneously at an interface, convenient management is whole
Individual illuminator, it is time saving and energy saving, and the generality that people are used smart mobile phone now, also improve the applicable model of the program
Enclose, everybody can install and use, scientific and reasonable for structure, safe and convenient to use, and the system is by internet communication, as long as there are 4G nets
Network or WiFi signal can place, the limitation of distance, are truly realized not by the time and think that control is just controlled, provided for people very big
Help.
Finally it should be noted that:The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention,
Although the present invention is described in detail with reference to the foregoing embodiments, for those skilled in the art, it still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic,
Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., it should be included in the present invention's
Within protection domain.