CN203279208U - Gateway based on GPRS (general packet radio service) mobile network and ZigBee wireless network - Google Patents

Gateway based on GPRS (general packet radio service) mobile network and ZigBee wireless network Download PDF

Info

Publication number
CN203279208U
CN203279208U CN 201320204580 CN201320204580U CN203279208U CN 203279208 U CN203279208 U CN 203279208U CN 201320204580 CN201320204580 CN 201320204580 CN 201320204580 U CN201320204580 U CN 201320204580U CN 203279208 U CN203279208 U CN 203279208U
Authority
CN
China
Prior art keywords
module
zigbee
gprs
control module
network
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.)
Expired - Fee Related
Application number
CN 201320204580
Other languages
Chinese (zh)
Inventor
王志超
张乾燕
花於锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suqian College
Original Assignee
Suqian College
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suqian College filed Critical Suqian College
Priority to CN 201320204580 priority Critical patent/CN203279208U/en
Application granted granted Critical
Publication of CN203279208U publication Critical patent/CN203279208U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The utility model discloses a gateway based on a GPRS (general packet radio service) mobile network and a ZigBee wireless network. The gateway comprises a master control module, a GPRS module, a ZigBee module, a program downloading module, a control module, a power detection module, an automatic control module, a serial port debugging module, a watchdog module and a power supply module. The GPRS module, the ZigBee module and the serial port module are respectively connected with the master control module. The control module, the power detection module and the automatic control module are respectively connected with the ZigBee module. The program downloading module is connected with the master control module and the ZigBee module. The watchdog module is connected with the GPRS module. The power supply module is a switching power supply, and supplies DC (direct current) power to the master control module, the GPRS module and the ZigBee module respectively. The gateway based on the GPRS mobile network and the ZigBee wireless network solves a problem that the GPRS network and the ZigBee network are heterogeneous networks and cannot directly interconnect with each other to realize communication, realizes barrier-free communication between the two heterogeneous networks, and improves flexibility of the networking of the two kinds of networks.

Description

A kind of gateway based on GPRS mobile network and ZigBee wireless network
Technical field
The utility model relates to a kind of for communications switching unit between heterogeneous network, is specifically related to a kind of based on GPRS(General Packet Radio Service) gateway of mobile network and ZigBee wireless network.
Background technology
Current, along with Internet of Things is fast-developing, many popular network technologies continue to bring out and are used, and wherein ZigBee and GPRS network technology are exactly Typical Representative.
ZigBee is based on a low-power consumption territory fidonetFido of IEEE802.15.4 standard, and it is the wireless communication technology of a kind of short distance, low-power consumption.ZigBee is automatically controlling and remote control field has comparatively widely and uses, and is characterized in closely, low complex degree, self-organizing, low-power consumption, low data rate, low cost, support great deal of nodes, support the multiple network topology, fast, reliably, safety.So ZigBee technology satisfies the requirement of flexible networking in short haul connection to a certain extent.
GPRS is the general packet radio service technology, and it is a kind of mobile data services that the gsm mobile telephone user can use.The GPRS service range is wider, and concrete service range has: mobile office, Mobile business, mobile information service, mobile Internet, multimedia service.The technical advantage of GPRS: (1) relatively cheap connection charge resource utilization is high in the GSM network, at first GPRS has introduced the transmission mode of packet switching, make the GSM the transmission of data mode of original employing circuit switched mode that the variation of essence occur, this seems particularly important in the situation that Radio Resource is rare; (2) transmission rate is high, GPRS can provide the transmission rate up to 115kbps, this means to pass through portable computer within the several years, GPRS user can equally with the isdn user surf the web rapidly, and some are used the mobile multimedia of transmission rate sensitivity becomes possibility; (3) turn-on time short, packet switching is short turn-on time, it can provide wireless packet data access burst business to the mobile subscriber.So, demand remote, the multinode Sensor Network that GPRS has satisfied to a certain extent.
At present, how single use ZigBee or GPRS technology during domestic Internet of Things is used, ZigBee can not satisfy the requirement of remote co-existence network, and a large amount of uses of GPRS node have greatly consumed Internet resources, and the cost of GPRS is very expensive.The at present domestic equipment SZ11-G3 that use GPRS and ZigBee conversion are arranged, but the mode that its use ZigBee module and GPRS module are direct-connected, data congestion easily appears in this mode in big data quantity is handled up process, easily cause communication failure even to cause system's machine of delaying.
The utility model content
The utility model is for the problem of GPRS mobile network in background technology and the fusion of ZigBee wireless network, designed a kind of gateway based on GPRS mobile network and ZigBee wireless network, purpose is: saves valuable Internet resources, efficient and the flexibility of saving cost, improving internet of things networking.
Technical solution of the present utility model:
A kind of gateway based on GPRS mobile network and ZigBee wireless network is characterized in that: described gateway comprises main control module, GPRS module, ZigBee module, program download module, control module, power detection module, automatic control module, AccessPort module, watchdog module, power module; Wherein, described GPRS module, ZigBee module, AccessPort module are connected with main control module respectively, and described control module, power detection module, automatic control module are connected with the ZigBee module respectively; Described program download module is connected with the ZigBee module with main control module; Described watchdog module is connected with the GPRS module; Described power module is Switching Power Supply, DC power supply is provided for respectively main control module, GPRS module, ZigBee module.
A nearlyer step ground, described GPRS module is connected with main control module with serial ports 1 by serial ports 0 respectively with the ZigBee module; The program download module is downloaded mouth by BDM and is connected with the ZigBee module with main control module respectively; Described watchdog module is connected by the NetWork port with the GPRS module; Described control module is connected with the ZigBee module by port PTD2, PTD4, PTD5; Power detection module is connected with the ZigBee module by PTB0; Automatic control module is connected with the ZigBee module by PTB1; The AccessPort module is connected with main control module with serial ports 1 by serial ports 0.
Described GPRS module is the GTM900C of Huawei.
Described main control module is Freescale MCF52233.
Described ZigBee module is Freescale MC13213.
Described program download module is the debugging of Freescale BDM background.
Described control module is photocoupling relay.
Described power detection module is induced electromotive force A/D conversion.
Described automatic control module is light sensor.
Described AccessPort module is the MAX232 chip.
Described power module is the LM2576 switch mode power.
Described watchdog module is the CD4060 chip.
The beneficial effects of the utility model:
Based on the gateway of GPRS mobile network and ZigBee wireless network, solved GPRS network and ZigBee-network and belonged to the problem that heterogeneous network can not direct interconnected realization be communicated by letter.ZigBee can merge ZigBee-network and GPRS mobile network mutually with the design of GPRS gateway, realizes the information conversion of closely network and long distance network and communicates by letter by the conversion to the frame format between ZigBee and GPRS.Realize that communication is accessible making between above-mentioned two kinds of heterogeneous networks, improve the flexibility of two kinds of network organizings.
Description of drawings
Fig. 1 is the utility model structural representation.
Fig. 2 is the utility model gateway downlink working schematic flow sheet.
Fig. 3 is the up workflow schematic diagram of the utility model gateway.
Fig. 4 is the utility model GPRS module circuit diagram.
Fig. 5 is the utility model main control module Freescale MCF52233 governor circuit figure.
Fig. 6 is the utility model switch mode power module circuit diagram.
Fig. 7 is the utility model AccessPort module circuit diagram.
Fig. 8 is the utility model power detection module and automatic control module circuit diagram.
Fig. 9 is the utility model control module circuit diagram.
Figure 10 is that the utility model uses the hardware watchdog circuit schematic diagram.
Figure 11 is that the utility model uses ZigBee modular substrate circuit diagram.
Embodiment
Below in conjunction with accompanying drawing, the utility model is further elaborated.
As shown in Fig. 1, Fig. 4 to 11, be a kind of hardware architecture figure of the gateway based on GPRS mobile network and ZigBee wireless network, gateway is made of power module, GPRS module, AccessPort module, ZigBee module, BDM debugging module, power detection module, watchdog module, control module, automatic control module.Wherein, power module provides 3.3v, 4.2v, 5.0v voltage, supplies with respectively main control module, GPRS module and ZigBee module; The GPRS module is connected by microcontroller serial port 0 with main control module, and the Zigbee module is connected by microcontroller serial port 1 with main control module, and the AccessPort module is connected with main control module microcontroller serial port 0,1.The BDM module is connected with ZigBee with main control module by Freescale BDM interface.Watchdog module is connected by the NetWork port with the GPRS module.Power detection module is connected with the ZigBee module by the PTB0 mouth, and control module is connected with the ZigBee module by PTD2, PTD4, PTD5 respectively, and automatic control module is connected with the ZigBee module by PTB1.
As shown in Figure 4, the GPRS module: in figure, URXD0, UIXD0 are that module TTL serial ports port power representative value is 2.85 ± 0.05V, and NetWork is network signal indication interface.The GPRS module connect that cloud server is responsible for and cloud server information between transmission and acceptance, simultaneously its Frame is sent to main control module by serial ports 0, the GPRS module has automatic networking, the function of receiving and sending messages, and it is connected with Internet Server by Socket.
As shown in Figure 5, main control module: send order automatically for the GPRS module and make it connect cloud server, complete the conversion of data frame format between GPRS and ZigBee, complete simultaneously GPRS and ZigBee data communications task.
As shown in Figure 6, power module: in figure, the PWR mouth is the wide voltage input end of 9-40V, and output voltage terminal can be regulated by R21 and R22.Power module is realized by three road LM2576 chips, is the switch-type stabilized circuit, can provide 3.3v, 4.2v, 5.0v power supply by Simultaneous Stabilization, offers respectively Zigbee module, GPRS module, main control module use.
As shown in Figure 7, the AccessPort module: in figure, UIXD0, UIXD1 are the TTL serial ports, and DB9 is the MAX232 serial ports.By status monitoring and the debugging of two-way MAX232 serial port chip realization to main control module serial ports 0 and serial ports 1.
As shown in Figure 8, power detection module: in figure, COIL is the detection signal input port, PTB0 is output port, PTB0 is output port, the A/D module is connected with single-chip I/O mouth, and the induced electromotive force that produces by induction coil can detect operating voltage, electric current and the power of external equipment through the A/D translation function of Zigbee module.Automatic control module: be connected with the ZigBee module by light sensor, judge voluntarily the light environment of external equipment work, thereby external device status is made adjustment automatically.
As shown in Figure 9, control module: in figure, the PTD port is that signal input port is connected with the Single-chip Controlling mouth, and PORT is for controlling delivery outlet.Control module is connected with the ZigBee module by port and can be used for ZigBee module one-chip machine port and control 220v voltage by 3.3v.
As shown in figure 10; hardware watchdog module: in figure; NetWork is the WDT input port; watchdog circuit arranges the house dog timing by R5, R7, C4; realize by the CD4060 counter, be connected with the GPRS module by the NetWork port, when the GPRS module operation irregularity occurs or delays machine; watchdog module can from the GPRS module that newly resets within the time of setting, make it enter normal operating conditions.
As shown in figure 11, the ZigBee module: connect in the ZigBee MANET from node, complete collection and transmission from node data, simultaneously the Frame of collecting is sent to main control module by serial ports 1.The ZigBee module is connected from node module with it by MANET.
Program download module: complete burning program to main control module and ZigBee module by the BDM port.
The specific works process:
The first step: as shown in Figure 2, be described Novel descending workflow schematic diagram, after gateway energising, automatically complete dialing, add the mobile network, obtain the work such as IP address, automatic search cloud server then, connection server and waiting for server are sent instruction.Server is connected with gateway by Socket, and gateway receives whether the judgment frame format header is %IPDATA after data, sends order if not continuing waiting for server, if it is converts the GPRS frame to the ZigBee frame by main control chip.After converting, the ZigBee Frame is sent to the ZigBee module by serial ports 1.
Second step: as shown in Figure 3, be described novel up workflow schematic diagram, after the gateway energising, automatically complete dialing, add the mobile network, obtain the work such as IP address, wait for that the ZigBee module sends data by serial ports 1, gateway judges whether data are whether ZigBee frame format and frame format thereof be correct after receiving data.If incorrect give up this frame, continue wait ZigBee module and send data, if correct convert thereof into by main control chip the frame format that GPRS can identify, and send to the GPRS module by microcontroller serial port 0, finally send cloud server by the GPRS module by Socket.
GPRS network and ZigBee wireless network are merged mutually, and this not only solves closely multinode flexible networking, and saves the problem of Internet resources significant wastage in remote multinode communication.And ZigBee wireless network and GPRS mobile network are heterogeneous network, so not only can conserve network resources and cost, also greatly promote the development again in the technology of Internet of things field of two kinds of heterogeneous networks simultaneously.

Claims (12)

1. gateway based on GPRS mobile network and ZigBee wireless network, it is characterized in that: described gateway comprises main control module, GPRS module, ZigBee module, program download module, control module, power detection module, automatic control module, AccessPort module, watchdog module, power module; Wherein, described GPRS module, ZigBee module, AccessPort module are connected with main control module respectively, and described control module, power detection module, automatic control module are connected with the ZigBee module respectively; Described program download module is connected with the ZigBee module with main control module; Described watchdog module is connected with the GPRS module; Described power module is Switching Power Supply, DC power supply is provided for respectively main control module, GPRS module, ZigBee module.
2. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1, it is characterized in that: described GPRS module is connected with main control module with serial ports 1 by serial ports 0 respectively with the ZigBee module; The program download module is downloaded mouth by BDM and is connected with the ZigBee module with main control module respectively; Described watchdog module is connected by the NetWork port with the GPRS module; Described control module is connected with the ZigBee module by port PTD2, PTD4, PTD5; Power detection module is connected with the ZigBee module by PTB0; Automatic control module is connected with the ZigBee module by PTB1; The AccessPort module is connected with main control module with serial ports 1 by serial ports 0.
3. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1, it is characterized in that: described GPRS module is the GTM900C of Huawei.
4. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1, it is characterized in that: described main control module is Freescale MCF52233.
5. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1, it is characterized in that: described ZigBee module is Freescale MC13213.
6. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1 is characterized in that: described program download module is the debugging of Freescale BDM background.
7. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1, it is characterized in that: described control module is photocoupling relay.
8. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1 is characterized in that: described power detection module is induced electromotive force A/D conversion.
9. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1, it is characterized in that: described automatic control module is light sensor.
10. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1, it is characterized in that: described AccessPort module is the MAX232 chip.
11. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1, it is characterized in that: described power module is the LM2576 switch mode power.
12. a kind of gateway based on GPRS mobile network and ZigBee wireless network as claimed in claim 1, it is characterized in that: described watchdog module is the CD4060 chip.
CN 201320204580 2013-04-22 2013-04-22 Gateway based on GPRS (general packet radio service) mobile network and ZigBee wireless network Expired - Fee Related CN203279208U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201320204580 CN203279208U (en) 2013-04-22 2013-04-22 Gateway based on GPRS (general packet radio service) mobile network and ZigBee wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201320204580 CN203279208U (en) 2013-04-22 2013-04-22 Gateway based on GPRS (general packet radio service) mobile network and ZigBee wireless network

Publications (1)

Publication Number Publication Date
CN203279208U true CN203279208U (en) 2013-11-06

Family

ID=49509524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201320204580 Expired - Fee Related CN203279208U (en) 2013-04-22 2013-04-22 Gateway based on GPRS (general packet radio service) mobile network and ZigBee wireless network

Country Status (1)

Country Link
CN (1) CN203279208U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333508A (en) * 2014-10-31 2015-02-04 常州机电职业技术学院 Zigbee gateway based on cloud computing
CN104967656A (en) * 2015-04-29 2015-10-07 北京玛斯特科技有限公司 Wireless ZigBee data acquisition and real-time house deformation monitoring remote transmission system
CN108305467A (en) * 2018-03-13 2018-07-20 中国电子科技集团公司第三十八研究所 A kind of bicycle road entrance vehicle flow detection system based on self-identifying

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333508A (en) * 2014-10-31 2015-02-04 常州机电职业技术学院 Zigbee gateway based on cloud computing
CN104967656A (en) * 2015-04-29 2015-10-07 北京玛斯特科技有限公司 Wireless ZigBee data acquisition and real-time house deformation monitoring remote transmission system
CN104967656B (en) * 2015-04-29 2024-02-13 上海上咨建设工程咨询有限公司 Remote transmission system for monitoring house deformation in real time through wireless ZigBee data acquisition
CN108305467A (en) * 2018-03-13 2018-07-20 中国电子科技集团公司第三十八研究所 A kind of bicycle road entrance vehicle flow detection system based on self-identifying

Similar Documents

Publication Publication Date Title
CN101853563B (en) Terminal and method for acquiring power utilization information
CN202133715U (en) Distributed electric energy metering system based on sensing net
WO2012113219A1 (en) Method and device for controlling operating mode of household electrical appliance, and intelligent household electrical appliance controller
CN103840328A (en) Intelligent socket control system based on WSN and wireless communication
CN102692557A (en) Power-expenditure information acquisition terminal and method
CN203279208U (en) Gateway based on GPRS (general packet radio service) mobile network and ZigBee wireless network
CN203910000U (en) Concentrator electricity meter reading on-site communication failure analysis system based on mobile phone Bluetooth
CN203251470U (en) Intelligent street lamp control system based on mobile network and wireless sensing network
CN206533195U (en) A kind of intelligent appliance managing and control system
Yan Design of smart home gateway based on ZigBee technology
CN202373127U (en) Wireless gas meter reading management system
CN205068752U (en) Electric power demand side energy information acquisition node
CN208819044U (en) A kind of water quality monitoring system based on ZigBee
CN201570900U (en) Power consumption system fine monitoring and electricity-saving optimized management system
CN203130462U (en) Remote inquiring and control system of photovoltaic water pump
CN204721367U (en) Width funtion based on ethernet ip v6 communication protocol is powered concentrator
CN102147961A (en) Wireless network based wireless transmission equipment
Lei et al. Design of wireless Andon system based on ZigBee
CN201111714Y (en) Communication module of multifunctional watch
CN207664993U (en) A kind of RS485 turns the serial port networked server of WiFi Ethernets
CN202385138U (en) Mobile phone remote monitoring system of household solar heating system
CN202795724U (en) Wireless remote meter reading system based on ad hoc multi-hop network
CN201788580U (en) GPRS wireless communication device based on MC55
CN101882357A (en) Meter reading terminal system
CN201199701Y (en) Household appliance gateway apparatus

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131106

Termination date: 20140422