Based on intelligent lighting system and the method for wireless sensor network
The present invention relates to building intelligent lighting control technique field, particularly a kind of intelligent lighting system and method utilizing wireless sensor network.
1984 there is First Ground Connection in Intelligent Building so far in the U.S., and Ground Connection in Intelligent Building has become the trend of current intelligent building development.Along with the development and progression of new technology, new equipment, new technology, new material, the nineties in Beijing, Shanghai, the big and medium-sized cities such as Guangzhou emerge large quantities of intelligent building engineering.Lighting Control Assembly is as the requisite system of building electric engineering, and its development also there occurs change in essence along with the development of information technology, traditional Lighting Control Assembly replace by intelligent lighting system.
Developing rapidly and interpenetrating along with computer technology, the communication technology, automatic control technology, bussing technique, signal detection technique and microelectric technique, lighting control technique has a great development, and illumination enters the intelligentized control method epoch.Realizing the intelligentized main purpose of Lighting Control Assembly has two: one to be the control and management level that can improve illuminator, reduces the maintenance cost of illuminator; Two is can energy savings, reduces the operation cost of illuminator.
The development experience of Lighting control Non-follow control, automatically to control and intelligentized control method three phases.
(1) Non-follow control
Initial period is Non-follow control, namely utilizes the components and parts such as switch, starts and close electric lighting with the simplest manual operation, thus meets the requirement of illumination, reaches the object of illumination.The control of now throwing light on only rests on and allows user's manually opened electric lighting whenever necessary, can not open and close automatically it.
(2) automatically control
Along with the development of electrical apparatus technology, Lighting control enters the automatic control stage, and its feature is to control light fixture with technology such as optical, electrical, sound.The shortcoming of automatic control mode is less with the interaction of people, is confined to the control of single or single group light fixture, has been difficult to the monitor task of networking.
(3) intelligentized control method
HDL wireles intelligent lighting control system take computer and network technologies as core, utilize microprocessor technology and memory technology, after the information about building lighting situation of sensor processes in the future, the equipment in lighting circuit is controlled by certain program command, call different programs, perform different functions, just can reach different illumination levels, build different atmosphere and environment.HDL wireles intelligent lighting control system is digital, simulated, distributed control system.Whole system is made up of various functional modules such as administration module, light-adjusting module, detecting module, operational modules.Containing microprocessor and memory in each module, each function of system is stored in certain module.And grid connection only need be connected by bus, he can be general Category-5 twisted pair, or is modulated on power line by carrier system, or is communicated by wireless network mode.
Compared with traditional lighting control system, intelligent lighting system control mode, lighting system, way to manage and wiring, energy-conservation in etc. all have many advantages.Traditional lighting control is the unification of Energy and Informational Current, control simple, effective, directly perceived, but its system after wiring completes just can not be changed again; In addition, when realizing complicated control overflow, wiring amount will increase greatly, and this makes the reliability decrease of system, once make mistakes, the inspection of circuit is also quite wasted time and energy.Along with the release of a large amount of commercial office building and compound apartment, office building administrative staff and user need to be monitored the real-time working condition of ligthing paraphernalia, and conventional art is helpless to this.As for providing safe, comfortable, living environment easily, realize light fixture interlock, environmentally automatically control or control lamplight brightness etc., use conventional art helpless especially.In brief, traditional lighting control system can not meet modern control overflow.
As far back as the seventies in last century, traditional sensors is adopted point-to-point transmission with regard to having occurred, connect sensing controler and form sensor network blank, we classify as first kind sensor network it.Along with development and the progress of related discipline, sensor network has also had the comprehensive treatment capability obtaining much information signal simultaneously, and by with being connected of sensing controler, constitute the sensor network of informix and disposal ability, this is second generation sensor network.And from last century Mo, field bus technique starts to be applied to sensor network, people set up intellectualized sensor network with it, and a large amount of Multifunction Sensor is employed, and uses wireless technology to connect, and wireless sensor network is formed gradually.
Summary of the invention
One object of the present invention is just to provide a kind of intelligent lighting system based on wireless sensor network, it compensate for the deficiency that traditional building lighting controls, utilize the complete perception of Internet of Things, reliable delivery and Intelligent treatment, effectively improve building lighting power consumption efficiency, saves energy, is convenient to management.
This object of the present invention is realized by such technical scheme, server, indoor terminal, floor switch, radio network gateway, be arranged on multiple lighting apparatus in building and with lighting apparatus wireless lighting control appliance one to one;
Server receives the data that floor switch sends, store and be uploaded to Inter net, floor switch respectively with indoor terminal and radio network gateway data interaction, wireless lighting control appliance accesses radio network gateway by Wireless Network, realize the data interaction with radio network gateway, lighting apparatus is connected on indoor power line by wireless lighting control appliance.
Further, described wireless lighting control appliance includes single chip control module MCU, power conversion module, illumination detection module, infrared detection module, wireless communication module, information feedback module and relay control module;
Single chip control module MCU, receives and processes Lighting information and infrared information, controls the work of circuit breaker control module;
Illumination detection module, the intensity of illumination in induced environment, and Lighting information is processed, the Lighting information after process is sent to single chip control module;
Infrared detection module, the infrared information in induced environment, and infrared information is processed, the infrared information after process is sent to single chip control module;
Wireless communication module, realizes the radio communication of wireless lighting control appliance and radio network gateway, receives the control command that radio network gateway issues, uploads the state information of lighting apparatus;
Information feedback module, the control command received by wireless communication module is sent to single chip control module MCU, and lighting apparatus state information single chip control module uploaded is sent to wireless communication module;
Relay control module, receives the control command that monolithic control module sends, and controls lighting apparatus.
Further, wireless lighting control appliance and radio network gateway adopt wireless IEEE802.15.4E communication protocol to realize data interaction, radio network gateway receives the lighting apparatus status information data that wireless lighting control appliance is uploaded, be packaged into Ethernet data form and be sent to floor switch, receive the command information of floor switch simultaneously, after conversion, be sent to wireless lighting control appliance.
Further, floor switch, the control command of indoor terminal transmission is received by RJ45 network interface, control command is sent to radio network gateway, receive the lighting apparatus state information that radio network gateway is uploaded simultaneously, respectively the information received is sent to indoor terminal and server by RJ45 network interface.
Further, described system also includes mobile terminal, the information uploaded by Inter net reception server, and forwards control command to server to exchange face.
Another object of the present invention is just to provide a kind of intelligent lighting controls method based on wireless sensor network, and it, by Internet of Things, realizes Long-distance Control and the supervision of building lighting equipment.
This object of the present invention is realized by such technical scheme, concrete grammar is: by indoor terminal or mobile terminal to floor switch sending controling instruction, the control command received is forwarded to radio network gateway by floor switch, radio network gateway carries out protocol conversion to the control command received, and the control command after conversion is sent to corresponding wireless lighting control appliance, wireless lighting control appliance controls lighting apparatus work.
Further, described wireless lighting control appliance gathers ambient lighting information and infrared information, and according to the illumination conditions of the control command self-adaptative adjustment lighting apparatus received and intensity.
Further, lighting apparatus state information is sent to radio network gateway by wireless lighting control appliance, the Information encapsulation received is that the information of Ethernet data form is sent to floor switch by radio network gateway, the information received is forwarded to indoor terminal and server by floor switch respectively, the information received is uploaded to Inter net by server, and mobile terminal receives lighting apparatus state information by Inter net.
Further, in described indoor terminal and mobile terminal, store the various scenery control patterns of lighting apparatus.
Owing to have employed technique scheme, the present invention has following advantage:
1, without the need to wiring, cost is low, and adaptive control and manual-remote control to combine, and extend the service life of lighting apparatus, save a large amount of human cost and material resources;
2, accuracy of throwing light on is high, and real-time is good, effectively can make corresponding control according to external environment change, and can select the anti-scenery control pattern needed;
3, can the operating state of monitoring, illumination equipment in real time by information feed back, administrative staff can be allowed to check information in time and handle it;
4, self-built cordless communication network, strong with external network through transport, form ubiquitous network communications environment.
Other advantages of the present invention, target and feature will be set forth to a certain extent in the following description, and to a certain extent, based on will be apparent to those skilled in the art to investigating hereafter, or can be instructed from the practice of the present invention.Target of the present invention and other advantages can be realized by specification below and claims and be obtained.
Accompanying drawing explanation
Accompanying drawing of the present invention is described as follows.
Fig. 1 is structural representation of the present invention;
Fig. 2 is wireless sensor network schematic diagram;
Fig. 3 is intelligent lighting controls equipment composition frame chart;
Fig. 4 is room lighting contextual model figure;
Fig. 5 is intelligent lighting system network planning figure.
Below in conjunction with drawings and Examples, the invention will be further described.
Based on intelligent lighting system and the method for wireless sensor network, can make up during traditional lighting controls the deficiency existed, the electricity consumption of effective saving building lighting, extends the useful life of the lighting apparatus such as light fixture, is convenient to gerentocratic control and management simultaneously.The present invention also provides corresponding system constructing, below will elaborate to whole system.
As shown in Figure 1, the concrete execution mode of the present invention is the intelligent illuminating system based on wireless sensor network in large buildings building, comprise: in building, each zones of different is local, intelligent lighting controls equipment is installed, the lighting apparatus such as the external light fixture of each control appliance, radio network gateway is accessed by Wireless Network, pass through floor switch, access indoor display terminal on the one hand, access server connects long-range PC by Internet on the one hand, simultaneously mobile phone and dull and stereotyped can access services device by wireless network, by the access of these intelligent terminals, can the operating state of lighting apparatus at any time in each region of monitor and forecast, administrative staff also can check in time and handle it, be applicable to very much in large buildings architectural lighting control, save man power and material.
As shown in Figure 1, intelligent wireless lighting control equipment is connected with lighting apparatus such as external light fixtures, do not need extra power supply, the photovoltaic conversion of corresponding necessity only need be carried out to 220V illuminalive power-supply, simultaneously this equipment can also respond in real time ambient light according to and the environmental change such as infrared, adaptive carry out induction control, can also be linked in radio network gateway simultaneously, administrative staff can at any time by the lighting apparatus in intelligent terminal remote monitoring and control regional, reach and need the local lighting apparatus unlatching in certain region then to open, do not need, the energy-saving effect of closing.
Radio network gateway supports multiple wireless protocols data receiver and forwarding, the wireless protocols made by oneself according to user and the networking of multiple wireless lighting control appliance are to lighting apparatus state informations such as light fixtures, open or close, carry out Real-Time Monitoring, radio network gateway and wireless lighting control appliance adopt wireless IEEE802.15.4e agreement to carry out constructing communication network, then radio network gateway becomes Ethernet data form to send to floor switch status information data format conversion, floor switch is distributed to indoor terminal and home server packaged information data, home server builds database by SQL, consumption information is resolved, store, the Internet is sent to by telecommunications broadband network after process, for telnet web monitor.Network struction layer connects apperceive identity layer and management service layer in Internet of Things four layer model, there is powerful Link role, efficiently, stable, the data of transmitting levels in time, safely, radio network gateway, floor switch, home server merge the situation of the control command of administrative staff by TCP/IP, Ethernet, wireless low speed net realize as the bridge equipment connecting bottom lighting control equipment and the Internet.
Indoor display terminal receives the status information data from floor switch, after Ethernet data form is resolved, convert data that display terminal can directly call to and be stored on internal storage, also send control command by terminal interface simultaneously, command information is issued to radio network gateway by floor switch, and then completes corresponding control operation by gateway forwards to control appliance; Home server is receiving the status data information from floor switch, resolves and after processing, adopt SQL database to preserve data to it.Simultaneously the intelligent terminal such as dull and stereotyped or mobile phone is then by Internet access services device, Android and the IOS client-side program logining exploitation is checked information and sent control command can.
As shown in Figure 2, wireless biography sensor network is made up of sensor node, radio network gateway, upper strata PC terminal wireless sensor network schematic diagram.Sensor node is responsible for being placed in the region that will monitor, and is responsible for the data message gathering and collect in monitored area, and by the data upload that collects to radio network gateway, the transmission of data is all wireless transmission; Radio network gateway is the maincenter of whole network system, is responsible for the reception of data and forwarding, carries out radio communication, can complete the conversion of wireless protocols in this communication process with sensor node, is then generally transmitted by Ethernet when catching up with layer PC terminal communication; Upper strata PC terminal is then carry out Storage and Processing to data, completes the operational order of needs, monitors the working condition of the sensor node of bottom simultaneously.In the present invention, sensor node is exactly wireless lighting control appliance, is responsible for the illumination monitoring in building or family room.
As shown in Figure 3, in intelligent wireless lighting control equipment: mainly comprise single chip control module MCU, power conversion module, illumination detection module, infrared detection module, CC2530 wireless communication module, information feedback module and relay control module.Single chip control module: as the core of control appliance, mainly processes the Lighting information received and infrared information, drives relay work simultaneously; Power transfer module: for modules provides suitable operating voltage, ensures that each several part can normally work; Illumination detection module: the intensity of illumination in induced environment, and Lighting information is processed, finally the Lighting information after process is sent to single-chip microcomputer; Infrared detection module: the infrared information in induced environment, and infrared information is processed, finally the infrared information after process is sent to single-chip microcomputer; CC2530 wireless communication module: the radio communication being mainly used in radio network gateway and bottom control equipment, receives the control command that gateway issues and the state information uploading controlled device; Information feedback module: mainly can realize the two-way communication between gateway and underlying device, namely the control command that upper strata sends to bottom can be received, also by the information feed back of underlying device controlled device to upper strata, and then can be shown by intelligent terminal simultaneously; Relay control module: mainly complete the drived control instruction that single chip control module sends, and then control controlled device (lighting apparatus).Intelligent wireless lighting control equipment can support simultaneously ZIGBEE, 6LowPan, 802.15.4,802.11, the wireless communication protocol such as WIPA, be applicable to the development and utilization of different occasion.
As shown in Figure 4, the indoor scene ideograph of the present embodiment, for family room's intraoral illumination provides a good selection, according to different indoor divisions, the scene mode different according to the requirements set of resident family, each pattern will be different illuminating effect, and the lighting demand meeting oneself demand can be selected according to the scene mode preset on mobile terminal or indoor terminal by resident family, realizes the Lighting control of a human.
As shown in Figure 5, the intelligent lighting system network planning figure of the present embodiment, three layers of two-level network that illuminator is made up of a main controlled node, multiple sub-control node and more cell node.At lowermost end, cell node be responsible for throwing light on on-the-spot state-detection with control to export, specifically towards can be a room, a relatively independent region or other need the occasion of more association control.At top, main controlled node is responsible for orthofunction and the status monitoring of whole system.The state information of main controlled node collector unit node on the one hand, perform necessary local centralized control, also may be connected to local area network (LAN) by high-level network interface when needed on the other hand, provide periodic data to report by the requirement of higher management and receive control data and control command.It is sub-control node between main controlled node and cell node, main controlled node is connected to sub-control node by primary network station, sub-control node is connected to cell node further by two grade network, when the housing-group of whole system is implemented to control, main controlled node is usually located at the central control room of main building, and sub-control node can be routed to the central control room in Ge Fen building.When the magnitude control of whole system is less, then can consider to cancel sub-control node, by main controlled node by the direct linkage unit node of primary network station, network like this is formed, changeable, combined and instant, both may be used for the design of new building, and can carry out Lao Lou transformation again.
What finally illustrate is, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from aim and the scope of the technical program, it all should be encompassed in the middle of right of the present invention.