Intelligent lighting system and method based on wireless sensor network
Technical field
The present invention relates to building intelligent lighting control technology field, particularly a kind of intelligent lighting system and method for utilizing wireless sensor network.
Background technology
The U.S. first Ground Connection in Intelligent Building occurred so far in 1984, and Ground Connection in Intelligent Building has become the trend of current intelligent building development.Along with development and the progress of new technology, new equipment, new technology, new material, the nineties in Beijing, big and medium-sized cities such as Shanghai, Guangzhou emerge large quantities of intelligent building engineerings.Lighting Control Assembly is as the requisite system of architectural electricity engineering, and its development is along with change has in essence also taken place in the continuous development of information technology, and traditional Lighting Control Assembly is replaced by intelligent lighting system.
Along with the developing rapidly and interpenetrating of computer technology, the communication technology, automatic control technology, bussing technique, signal detection technique and microelectric technique, lighting control technique has had very big development, and illumination has entered the intelligent control epoch.Realize that the intelligentized main purpose of Lighting Control Assembly has two: the one, can improve control and the managerial skills of illuminator, reduce the maintenance cost of illuminator; The 2nd, can energy savings, reduce the operation cost of illuminator.
Manual control, control and intelligent control three phases have automatically been experienced in the development of illumination control.
(1) manually control
Initial period is manual control, namely utilizes components and parts such as switch, starts and closes electric lighting with simple manual operation, thereby satisfy the requirement of illumination, reaches illumination purposes.The control of this moment illumination only rests on and allows user's manually opened electric lighting whenever necessary, can not open and close automatically it.
(2) control automatically
Be accompanied by the development of electrical apparatus technology, illumination control has entered the automatic control stage, and its feature is to control light fixture with technology such as light, electricity, sound.The shortcoming of automatic control mode is interactive less with the people, is confined to the control of single or single group light fixture, is difficult to finish the monitor task of networking.
(3) intelligent control
Intelligent Lighting Control Assembly is core with computer and network technologies, utilize microprocessor technology and memory technology, after the information about the building lighting situation of autobiography sensor is handled in the future, by the equipment in the certain procedure instruction control lighting circuit, call different programs, carry out different functions, just can reach different illumination levels, build different atmosphere and environment.Intelligent Lighting Control Assembly 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.Contain microprocessor and memory in each module, each function of system is stored in certain module.And the grid connection only needs to link to each other by bus, and he can be general Category-5 twisted pair, or is modulated on the power line by carrier system, or communicates by the wireless network mode.
Compare with the traditional lighting control system, intelligent lighting system all has many advantages in control mode, lighting system, way to manage and wiring, aspect energy-conservation etc.Traditional lighting control is the unification of energy and information flow, and control is simple, effective, directly perceived, but its system after wiring is finished just can not change again; In addition, when realizing that complicated control requires, the wiring amount will increase greatly, and this makes the reliability decrease of system, in case make mistakes, the inspection of circuit is also quite wasted time and energy.Along with the release of a large amount of commercial office buildings and compound apartment, office building administrative staff and user need be monitored the real-time working condition of ligthing paraphernalia, and conventional art is helpless to this.As for safe, comfortable, living environment easily is provided, realize the light fixture interlock, according to environment control or control lamplight brightness etc. automatically, use conventional art helpless especially.In brief, the traditional lighting control system can not satisfy modern control requirement.
As far back as the seventies in last century, with regard to having occurred traditional sensors is adopted point-to-point transmission, connects sensing controler and constitute the sensor network blank, we classify as first kind sensor network to it.Continuous development and progress along with related discipline, sensor network has also had the comprehensive treatment capability that obtains multiple information signal simultaneously, and by with the linking to each other of sensing controler, formed the sensor network that informix and disposal ability are arranged, this is second generation sensor network.And since last century Mo, field bus technique begins to be applied to sensor network, and people are set up the intellectualized sensor network with it, and a large amount of Multifunction Sensors are employed, and uses wireless technology to connect, and wireless sensor network forms gradually.
Summary of the invention
One object of the present invention just provides a kind of intelligent lighting system based on wireless sensor network, it has remedied the deficiency of traditional building lighting control, utilize comprehensive perception, reliable delivery and the Intelligent treatment of Internet of Things, effectively improved the building lighting power consumption efficiency, saves energy is convenient to management.
This purpose of the present invention is to realize by such technical scheme, server, indoor terminal, floor switch, radio network gateway, be arranged in the building a plurality of lighting apparatus and with lighting apparatus wireless lighting control equipment one to one;
Server receives the data that the floor switch sends, storage also is uploaded to the Inter net, the floor switch respectively with indoor terminal and radio network gateway data interaction, wireless lighting control equipment inserts radio network gateway by the wireless networking technology, realize and the data interaction of radio network gateway that lighting apparatus is connected on the indoor power line by wireless lighting control equipment.
Further, described wireless lighting control equipment includes single chip control module MCU, power supply conversion module, illumination detection module, infrared detection module, wireless communication module, feedback information module and relay control module;
Single chip control module MCU receives and handles illumination information and infrared information, the work of control circuit breaker control module;
The illumination detection module, the intensity of illumination in the induced environment, and illumination information handled, the illumination information after handling is sent to single chip control module;
The infrared detection module, the infrared information in the induced environment, and infrared information handled, the infrared information after the processing is sent to single chip control module;
Wireless communication module is realized the radio communication of wireless lighting control equipment and radio network gateway, receives the control command that radio network gateway issues, and uploads the state information of lighting apparatus;
The feedback information module, the control command that wireless communication module is received is sent to single chip control module MCU, and the lighting apparatus state information that single chip control module is uploaded is sent to wireless communication module;
Relay control module receives the control command that the monolithic control module sends, the control lighting apparatus.
Further, wireless lighting control equipment 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 equipment is uploaded, it is packaged into the Ethernet data form is sent to the floor switch, receive the command information of floor switch simultaneously, be sent to wireless lighting control equipment after the conversion.
Further, the floor switch, receive the control command that indoor terminal sends by the 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 that receives is sent to indoor terminal and server by the RJ45 network interface.
Further, described system also includes portable terminal, the information of uploading by Inter net reception server, and transmit control command to server to exchange face.
Another object of the present invention just provides a kind of intelligent lighting control method based on wireless sensor network, and it realizes Long-distance Control and the supervision of building lighting equipment by Internet of Things.
This purpose of the present invention is to realize by such technical scheme, concrete grammar is: by indoor terminal or portable terminal to floor switch sending controling instruction, the floor switch is forwarded to radio network gateway with the control command that receives, radio network gateway carries out protocol conversion to the control command that receives, and the control command after will changing is sent to corresponding wireless lighting control equipment, the work of wireless lighting control equipment control lighting apparatus.
Further, described wireless lighting control equipment is gathered ambient lighting information and infrared information, and adjusts illumination state and the intensity of lighting apparatus according to the control command self adaptation that receives.
Further, wireless lighting control equipment is sent to radio network gateway with the lighting apparatus state information, radio network gateway is sent to the floor switch with the information that the information that receives is encapsulated as the Ethernet data form, the floor switch is forwarded to indoor terminal and server respectively with the information that receives, server is uploaded to the Inter net with the information that receives, and portable terminal receives the lighting apparatus state information by the Inter net.
Further, in described indoor terminal and portable terminal, store the various scene control models of lighting apparatus.
Owing to adopted technique scheme, the present invention to have following advantage:
1, need not wiring, cost is low, and adaptive control and manual Long-distance Control combine, and have prolonged the service life of lighting apparatus, have saved a large amount of human costs and material resources;
2, illumination accuracy height, real-time is good, can effectively change according to external environment to make corresponding control, and can select the anti-scene control model that needs;
3, by the feedback information operating state of monitoring, illumination equipment in real time, can allow administrative staff in time check information and handle it;
4, self-built cordless communication network, strong with the external network through transport, constitute 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 being apparent to those skilled in the art to investigating hereinafter, perhaps can obtain instruction from the practice of the present invention.Target of the present invention and other advantages can realize and obtain by following specification and claims.
Description of drawings
Description of drawings of the present invention is as follows.
Fig. 1 is structural representation of the present invention;
Fig. 2 is the wireless sensor network schematic diagram;
Fig. 3 is intelligent lighting control appliance composition frame chart;
Fig. 4 is room lighting contextual model figure;
Fig. 5 is intelligent lighting system network planning figure.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
A kind of intelligent lighting system and method based on wireless sensor network can remedy the deficiency that exists in the traditional lighting control, effectively save the building lighting electricity consumption, prolong the useful life of lighting apparatus such as light fixture, are 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 based on the intelligent illuminating system of wireless sensor network in the large-scale building construction, comprise: each zones of different place in the building, the intelligent lighting control appliance is installed, lighting apparatus such as the external light fixture of each control appliance, insert radio network gateway by the wireless networking technology, by the floor switch, insert 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 server by wireless network, by the access of these intelligent terminals, can monitor and control the operating state of the lighting apparatus in each zone at any time, administrative staff also can in time check and handle it, be fit to very much save the man power and material in the large-scale building construction illumination control.
As shown in Figure 1, the intelligent wireless lighting control equipment is connected with lighting apparatus such as external light fixtures, do not need extra power supply, the voltage conversion that only needs the 220V illuminalive power-supply to be carried out corresponding necessity gets final product, simultaneously this equipment can also respond in real time ambient light according to and environmental change such as infrared, adaptively respond to control, simultaneously can also be linked in the radio network gateway, administrative staff can be at any time by the lighting apparatus in intelligent terminal remote monitoring and each zone of control, reaching needs certain regional local lighting apparatus to open then unlatching, does not need the energy-saving effect of then closing.
Radio network gateway is supported the multiple wireless protocols data to receive and is transmitted, the wireless protocols of making by oneself according to the user and a plurality of wireless lighting control equipment networking are to lighting apparatus state informations such as light fixtures, open or close, monitor in real time, radio network gateway and wireless lighting control equipment adopt wireless IEEE802.15.4e agreement to communicate networking, radio network gateway becomes the status information data format conversion Ethernet data form to send to the floor switch then, the floor switch is distributed to indoor terminal and home server to packaged information data, home server makes up database by SQL, consumption information is resolved, storage, handle the back and send to the Internet by the telecommunications broadband network, for the monitoring of telnet webpage.The network struction layer connects perception identification layer and management service layer in Internet of Things four layer models, has powerful tie effect, efficiently, stable, transmit the data of levels in time, safely, radio network gateway, floor switch, home server merge the situation of administrative staff's control command by TCP/IP, Ethernet, wireless low speed net as the bridge equipment that connects bottom lighting control equipment and the Internet and realize.
Indoor display terminal receives the status information data from the floor switch, through converting the data that display terminal can directly call after the Ethernet data form resolved to and being stored on the internal storage, simultaneously can also send control command by terminal interface, command information is issued to radio network gateway by the floor switch, and then finishes corresponding control operation by gateway forwards to control appliance; Home server after its parsing and handling, adopts SQL database to preserve data in the status data information that receives from the floor switch.Simultaneously intelligent terminals such as flat board or mobile phone then can pass through the Internet access server, login the Android of exploitation and IOS client-side program check information with send control command can.
The wireless sensor network schematic diagram as shown in Figure 2, wireless biography sensor network is made up of sensor node, radio network gateway, upper strata PC terminal.Sensor node is responsible for being placed in the zone that will monitor, is responsible for the data message in collection and the collection monitored area, and the data upload that collects is arrived radio network gateway, and the transmission of data all is wireless transmission; Radio network gateway is the maincenter of whole network system, is responsible for reception and the forwarding of data, on one side and sensor node carry out radio communication, can finish the conversion of wireless protocols in this communication process, when catching up with layer PC terminal communication, generally then be to transmit by Ethernet; Upper strata PC terminal then is that data are stored and handled, and finishes the operational order that needs, and monitors the working condition of the sensor node of bottom simultaneously.In the present invention, sensor node is exactly wireless lighting control equipment, is responsible for the illumination monitoring in building or the family room.
As shown in Figure 3, in the intelligent wireless lighting control equipment: mainly comprise single chip control module MCU, power supply conversion module, illumination detection module, infrared detection module, CC2530 wireless communication module, feedback information module and relay control module.Single chip control module: as the core of control appliance, mainly the illumination information and the infrared information that receive are handled, driven relay work simultaneously; Power transfer module: for each module provides suitable operating voltage, guarantee that each several part can operate as normal; The illumination detection module: the intensity of illumination in the induced environment, and illumination information handled, the illumination information after will handling at last sends to single-chip microcomputer; The infrared detection module: the infrared information in the induced environment, and infrared information handled, the infrared information after will handling at last sends to single-chip microcomputer; CC2530 wireless communication module: be mainly used in the radio communication of radio network gateway and bottom control equipment, receive the gateway control command that issues and the state information of uploading controlled device; Feedback information module: mainly be the two-way communication that can realize between gateway and the underlying device, namely can receive the control command that the upper strata sends to bottom, also can give the upper strata with the feedback information of underlying device controlled device simultaneously, and then show by intelligent terminal; Relay control module: mainly be to finish the driving control command that single chip control module sends, and then control controlled device (lighting apparatus).The intelligent wireless lighting control equipment can be supported ZIGBEE, 6LowPan, wireless communication protocols such as 802.15.4,802.11, WIPA simultaneously, is applicable to the development and utilization of different occasions.
As shown in Figure 4, the indoor contextual model figure of 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 of own demand can be selected to meet at portable terminal or indoor terminal according to predefined scene mode by resident family, realizes the illumination control of a human.
As shown in Figure 5, the intelligent lighting system network planning figure of present embodiment, three layers of two-level network that illuminator is made up of a main controlled node, a plurality of branch control node and more cell node.At lowermost end, cell node be responsible for throwing light on on-the-spot state-detection and control output, specifically towards can be a room, relatively independent zone or other need occasions of more related control.At top, main controlled node is responsible for orthofunction and the status monitoring of whole system.The state information of one side main controlled node collector unit node, carry out necessary local centralized control, also may be connected to local area network (LAN) by the high-level network interface when needed on the other hand, the periodic data report is provided and receive control data and control command by the requirement of higher management.It is branch control node between main controlled node and the cell node, main controlled node is connected to branch control node by primary network station, divide the control node further to be connected to cell node by two grade network, when the housing-group of whole system is implemented control, main controlled node is usually located at the central control room of main building, and divides the control node can be routed to the central control room in each minute building.When the control scale of whole system hour, can consider that then cancellation divides the control node, by the direct linkage unit node of primary network station, so network constitutes, and is changeable by main controlled node, combined and instant both can be used for the design of new building, can carry out Lao Lou again and transform.
Explanation is at last, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from aim and the scope of the technical program, it all should be encompassed in the middle of the claim scope of the present invention.