Intelligent domestic gateway based on Zigbee network
Technical field
The utility model relates to a kind of gateway, especially relates to a kind of intelligent domestic gateway.
Background technology
Along with the development of mobile network's technology, it is more and more extensively that the interconnected needs between equipment become, and realizes that this interconnected technology also enters increasing application; Yet the various electric equipments that use in current modern house can't directly be linked in Internet substantially, also just can't better realize the communication between various electric equipments; Even if use smart mobile phone, computer controller equipment also to run into same problem, the development of intelligent domestic system affected adversely.Although also there is the communication technology that adopts comparatively widely 433MHz to be carrier wave frequency range to realize interconnected between equipment.Yet adopt the intelligent domestic gateway that 433MHz is carrier wave, due to the characteristic of channel carrier wave itself, can't hold a large amount of nodes at a network, the communication stability between node also can't be protected simultaneously; Therefore adopt intelligent domestic gateway that 433MHz is carrier wave more and more difficult meet control for needs the electric equipment quantity needs that grow with each passing day and can hold in the occasions such as Modern Family, office space, hotel that a large amount of control nodes could meet user demand.
The utility model content
The utility model exists to be difficult to satisfy the demand and holds a kind of problem that can effectively solve great deal of nodes communication in network that the present situation such as a large amount of control nodes provides for solving existing intelligent domestic gateway, better realizes the modern house electric equipment is carried out the intelligent domestic gateway based on Zigbee network of interconnected communication.
The utility model is to solve the problems of the technologies described above adopted concrete technical scheme to be: a kind of intelligent domestic gateway based on Zigbee network is characterized in that: comprise
Be used to the intelligent domestic gateway main frame to provide UDP/TCP to connect, make user's terminal program be connected to the ethernet module of intelligent domestic gateway main frame;
Provide the zigbee network accessibility for the intelligent domestic gateway main frame, realize controlling the zigbee module of the electric equipment that the zigbee module is housed;
For according to control program forwarding data between zigbee network and Ethernet, realize that the user terminal program is grasped in time and the embedded controller of control apparatus equipment running status;
Be used to the intelligent domestic gateway main frame to provide to send note or call the gsm module of function;
For 485 communication modules that realize that the intelligent domestic gateway main frame can be controlled the operate that uses 485 bus systems.
The power module that is used to intelligent domestic gateway main frame and 485 control system to provide power supply to supply with;
Be used to indicate the directs display module that shows the connection of intelligent domestic gateway main frame zigbee network, signal intelligence, system operation working condition.
For preserving the code of intelligent domestic gateway main frame and moving required systematic parameter and application parameter, realize still can continuing according to state before the memory module of operation after system reset;
Be used to the intelligent domestic gateway main frame that clock signal is provided, the clock module of recording clock information.
Adopt Zigbee automatic network-building technology, work in the 2.4GHz frequency range, without with main frame manually to code, it have low in energy consumption safe, compatible good, realize low cost and other advantages, the spread scope that can extend signal simultaneously; Adopt the form of MANET, allow 255 nodes to network simultaneously, network capacity is relatively large, 65000 nodes can be arranged at most, " multi-hop " transmission mode is used in communication between the zigbee nodes simultaneously, has more effectively overcome and has adopted the defect problem that in the 433MHz communication system, network node quantity is few, communication distance is limited.Effectively make smart mobile phone, computer to be connected to the intelligent domestic gateway main frame by wireless, cable network connected mode.Systematic parameter and application parameter all can obtain safe and reliable effective storage and read.
As preferably, between described family terminal program and electric equipment, adopt two-way communication mode.Communication process is controlled timely and effective accurate more safely.
As preferably, the power module that described intelligent domestic gateway main frame and 485 control system adopt is isolated mutually.
As preferably, described embedded controller adopts two-way communication mode respectively and between ethernet module, zigbee module, gsm module, 485 communication modules, directs display module, memory module and clock module.Improve safety and timely and effective accuracy that communication process is controlled.
As preferably, described directs display module adopts LED lamp indicating module.Further, described LED lamp indicating module comprises: power light, client communication pilot lamp, zigbee connect the pilot lamp pilot lamp of communicating by letter with zigbee.Timely monitoring system ruuning situation, when the network of intelligent domestic gateway main frame or system operation abnormal, change the prompting user by the flicker of LED lamp, improves the information feedback speed to the system operation.
As preferably, be provided with the sensor of monitoring electric equipment operation state in described embedded controller.Raising each parameter detecting degree of accuracy to indoor electric appliance equipment.
The beneficial effects of the utility model are: low in energy consumption safe, compatible good, realize low cost and other advantages, the spread scope that can extend signal simultaneously; Adopt the form of MANET, allow 255 nodes to network simultaneously, network capacity is relatively large, 65000 nodes can be arranged at most, " multi-hop " transmission mode is used in communication between the zigbee nodes simultaneously, has more effectively overcome and has adopted the defect problem that in the 433MHz communication system, network node quantity is few, communication distance is limited.Effectively make smart mobile phone, computer to be connected to the intelligent domestic gateway main frame by wireless, cable network connected mode.Systematic parameter and application parameter all can obtain safe and reliable effective storage and read.Can allow a plurality of mobile clients to log in simultaneously, realize that a plurality of users are operated controlled electric equipment; Controlled electric equipment can receive steering order by the zigbee module on intelligent domestic gateway and 485 modules; Simultaneously the feedback information of controlled electric equipment also can be sent to the zigbee module, and intelligent domestic gateway is crossed this information exchange ethernet module again and is sent to all mobile clients that log in, the state that these mobile clients can the Real-time Obtaining electric equipment; And can support the timing controlled electric equipment, steering order is on ZigBee intelligent gateway main frame in memory module, and when arriving the time of setting, ZigBee intelligent gateway main frame is sent to electric equipment by order; The temporal information of intelligent domestic gateway is provided by clock module in addition, and feedback is according to temporal information in time; The function that also has power down protection can return to the state of power down, and continue operation after the system breakpoint is restarted, and moves required information and is stored in memory module; Except using ethernet module to online client sends warning message, also use gsm module that the warning of note and the form of calling is provided to the user in addition.Network connection state and system running state mean by the blink states of pilot lamp, and the user can see state of the present utility model intuitively, finds in time the system run-time error, is convenient to that installation personnel is disposed, debug system simultaneously.
the accompanying drawing explanation:
Below in conjunction with the drawings and specific embodiments, the utility model is described in further detail.
Fig. 1 is the structural representation of the preferred implementation of the intelligent domestic gateway of the utility model based on Zigbee network.
Embodiment
In embodiment shown in Fig. 1, a kind of intelligent domestic gateway based on Zigbee network, comprise
Be used to the intelligent domestic gateway main frame to provide UDP/TCP to connect, make user's terminal program be connected to the ethernet module 10 of intelligent domestic gateway main frame;
Provide the zigbee network accessibility for the intelligent domestic gateway main frame, realize controlling the zigbee module 20 of the electric equipment that the zigbee module is housed;
For according to control program forwarding data between zigbee network and Ethernet, realize that the user terminal program is grasped in time and the embedded controller 80 of control apparatus equipment running status;
Be used to the intelligent domestic gateway main frame to provide to send note or call the gsm module 90 of function;
For 485 communication modules 30 that realize that the intelligent domestic gateway main frame can be controlled the operate that uses 485 bus systems.
The power module 50 that is used to intelligent domestic gateway main frame and 485 control system to provide power supply to supply with;
Be used to indicate the directs display module 40 that shows the connection of intelligent domestic gateway main frame zigbee network, signal intelligence, system operation working condition.
For preserving the code of intelligent domestic gateway main frame and moving required systematic parameter and application parameter, realize still can continuing according to state before the memory module 60 of operation after system reset;
Be used to the intelligent domestic gateway main frame that clock signal is provided, the clock module 70 of recording clock information.
Adopt two-way communication mode between family terminal program and electric equipment.The power module that intelligent domestic gateway main frame and 485 control system adopt is isolated mutually.Embedded controller adopts two-way communication mode respectively and between ethernet module, zigbee module, gsm module, 485 communication modules, directs display module, memory module and clock module.Directs display module adopts LED lamp indicating module.Be provided with the sensor of monitoring electric equipment operation state in embedded controller.
In this novel practical: 1. ethernet module is used DM9000, its with 8. embedded controllers between adopt parallel port to be connected, the ability of high speed access is provided, and makes this novel use there is the UDP/TCP merit of communicating by letter;
2.Zigbee module is used DRF1605, to connect controlled electric equipment.
3. 485 communication modules are used SN65HVD3082E, connect the 485 bus communication equipment such as central air conditioner and ground warm device.
4. the pilot lamp adopted in directs display module is comprised of 4 LED, is respectively power light, client communication pilot lamp, zigbee and connects the pilot lamp pilot lamp of communicating by letter with zigbee.
5. power module is that AC220V turns the DC5V power adaptation, uses BT5050T isolation output two-way 5V power supply, offers respectively 3. 485 communication modules and other modules in addition.
6. memory module is used K9F1216U0A and HY57V561620FTP, provides respectively this novel use required volatile and non-volatile storage space.
7. clock module is used DS1302Z, and uses button cell as backup battery, and when this novel practical loses the AC220V power supply, clock circuit still can work.
8. embedded controller is used S3C2440, and the operation (SuSE) Linux OS, for this novel practical provides the ability of multi-job operation.
9.GSM module adopts double frequency SIM900A, the function of support voice calling and short message receiving-transmitting.
This novel practical needs the configuration-system parameter while using first, configuration completes by mobile client, has configured the novel storage unit that is stored in system of rear configuration.
This novel practical is generally placed the center in house, guarantees the area coverage of its communication.ZigBee intelligent gateway main frame is connected with network access equipment by wired form.
Although this paper has more been used the terms such as ethernet module, zigbee module, embedded controller, gsm module, 485 communication modules, power module, directs display module; But do not get rid of the possibility of using other term.Using these terms is only in order to describe more easily and explain essence of the present invention; They are construed to any additional restriction is all contrary with spirit of the present invention.