安卓平臺ZigBee遠(yuǎn)程監(jiān)測應(yīng)用網(wǎng)關(guān)設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時間:2018-04-06 03:24
本文選題:環(huán)境參量測量 切入點(diǎn):ZigBee 出處:《西安工業(yè)大學(xué)》2014年碩士論文
【摘要】:獲取第一手野外監(jiān)測數(shù)據(jù)可以為研究環(huán)境、氣候變化及自然災(zāi)害提供數(shù)據(jù)支持,長期以來此類監(jiān)測主要依靠人工監(jiān)測手段,易受天氣影響且可靠性差,也無法滿足野外大規(guī)模長期監(jiān)測的需求;赯igBee的野外環(huán)境參量自動監(jiān)測系統(tǒng),利用各種高精度傳感器實(shí)現(xiàn)對監(jiān)測區(qū)域內(nèi)環(huán)境信息的自動監(jiān)控,使研究人員在第一時間獲知環(huán)境特性參量的變化,采取及時有效的應(yīng)對措施,可以大大減輕野外人工監(jiān)測強(qiáng)度。 本文針對野外環(huán)境參量自動監(jiān)測系統(tǒng)中的WSN網(wǎng)關(guān)進(jìn)行設(shè)計(jì),介紹了遠(yuǎn)程通信網(wǎng)關(guān)的基本功能和構(gòu)成,分析了目前WSN網(wǎng)關(guān)采用中心節(jié)點(diǎn)與PC機(jī)通過串口相連形成網(wǎng)關(guān)、在中心節(jié)點(diǎn)擴(kuò)展網(wǎng)絡(luò)通信模塊作為網(wǎng)關(guān)等方式及其所存在的需要鋪設(shè)線纜、專用現(xiàn)場機(jī)房等開銷大、實(shí)施不便的缺點(diǎn),設(shè)計(jì)了一種基于Android平臺的WSN遠(yuǎn)程應(yīng)用網(wǎng)關(guān)。系統(tǒng)在Eclipse-android環(huán)境下開發(fā)完成,開發(fā)成本低且應(yīng)用程序具有很好的移植性,利用無線通信開發(fā)包實(shí)現(xiàn)的無線傳輸方式,受監(jiān)測環(huán)境約束小,設(shè)施簡便,并可解決一般網(wǎng)關(guān)數(shù)據(jù)儲存不足的問題。 本方案中,采用華為V880類型移動終端作為載體來完成通信中轉(zhuǎn)功能,并根據(jù)網(wǎng)關(guān)的功能需求分析,進(jìn)一步完善網(wǎng)關(guān)的管理功能。在網(wǎng)關(guān)通信功能開發(fā)中,包括與底層協(xié)調(diào)節(jié)點(diǎn)的藍(lán)牙通信以及經(jīng)由3G網(wǎng)連入互聯(lián)網(wǎng)與監(jiān)測中心的網(wǎng)絡(luò)通信。在此基礎(chǔ)上,分析WSN時間同步的設(shè)計(jì)方法,選擇UTC時間來作為系統(tǒng)同步基準(zhǔn)信號;數(shù)據(jù)處理方面,在Android平臺上開發(fā)專用的SQLite數(shù)據(jù)庫進(jìn)行數(shù)據(jù)的管理儲存;實(shí)現(xiàn)系統(tǒng)節(jié)點(diǎn)配置管理及任務(wù)調(diào)度,確保所接收信息的正確性并準(zhǔn)確發(fā)布測量任務(wù);完成數(shù)據(jù)在網(wǎng)關(guān)部分的備份保留;在測量任務(wù)及狀態(tài)上報(bào)部分,采用FTP上傳來實(shí)現(xiàn)與監(jiān)測中心服務(wù)器的交互。 最后介紹了網(wǎng)關(guān)開發(fā)環(huán)境及測試情況,采用串口調(diào)試助手SSCOM3.2、 TCP/UDPSocket調(diào)試工具、Quick Easy FTP Server4.0.0來對設(shè)計(jì)的應(yīng)用網(wǎng)關(guān)進(jìn)行模塊和整體功能測試。結(jié)果表明,此應(yīng)用網(wǎng)關(guān)能實(shí)現(xiàn)上下層通信、網(wǎng)關(guān)多項(xiàng)管理功能及數(shù)據(jù)上報(bào)等諸多要求。
[Abstract]:Obtaining first-hand field monitoring data can provide data support for the research environment, climate change and natural disasters. For a long time, such monitoring mainly relies on manual monitoring, which is vulnerable to weather and has poor reliability.It is also unable to meet the needs of large-scale long-term monitoring in the field.Based on the field environment parameter automatic monitoring system based on ZigBee, various kinds of high precision sensors are used to realize the automatic monitoring of the environmental information in the monitoring area, so that the researchers can know the change of the environmental characteristic parameter in the first time.Timely and effective response measures can greatly reduce the intensity of field manual monitoring.In this paper, the WSN gateway in the field environment parameter automatic monitoring system is designed, the basic function and structure of the remote communication gateway are introduced, and the current WSN gateway which is connected by the central node and PC through serial port is analyzed.In order to extend the network communication module as a gateway at the central node and its disadvantages such as laying cable, special field computer room and so on, a WSN remote application gateway based on Android platform is designed.The system is developed under the Eclipse-android environment, the development cost is low and the application program has good portability. The wireless transmission mode realized by the wireless communication development kit is less constrained by the monitoring environment, and the facilities are simple and convenient.And can solve the general gateway data storage problem.In this scheme, Huawei V880 mobile terminal is used as the carrier to complete the communication transfer function, and the management function of the gateway is further improved according to the functional requirements of the gateway.In the development of gateway communication function, the Bluetooth communication with the underlying coordination node and the network communication between the Internet and the monitoring center via 3G network are included.On this basis, the design method of WSN time synchronization is analyzed, and the UTC time is selected as the system synchronization reference signal. In the aspect of data processing, the special SQLite database is developed on the Android platform to manage and store the data.System node configuration management and task scheduling to ensure the correctness of the received information and accurate release of the measurement task; complete the backup of data in the gateway part of the reservation; in the measurement task and status reporting section,FTP upload is used to realize the interaction with the monitoring center server.Finally, this paper introduces the development environment and testing situation of the gateway, adopts serial port debugging assistant SSCOM3.2 and TCP/UDPSocket debugging tool Quick Easy FTP Server4.0.0 to test the module and the whole function of the designed application gateway.The results show that the application gateway can realize the communication between the upper and lower layers, the management functions of the gateway and the data reporting requirements.
【學(xué)位授予單位】:西安工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TN915.05;TN92
【參考文獻(xiàn)】
相關(guān)期刊論文 前6條
1 李良;朱善安;;基于Java的串口通信[J];電子器件;2007年02期
2 李國剛;;從傳統(tǒng)走向現(xiàn)代——發(fā)展中的中國環(huán)境監(jiān)測[J];環(huán)境監(jiān)測管理與技術(shù);2005年06期
3 劉新;吳秋峰;;無線個域網(wǎng)技術(shù)及相關(guān)協(xié)議[J];計(jì)算機(jī)工程;2006年22期
4 高鍵;方濱;尹金玉;胡葛軍;;ZigBee無線通信網(wǎng)絡(luò)節(jié)點(diǎn)設(shè)計(jì)與組網(wǎng)實(shí)現(xiàn)[J];計(jì)算機(jī)測量與控制;2008年12期
5 周海濤;高興鎖;江曉峰;;基于java數(shù)據(jù)采集串口通訊的設(shè)計(jì)和實(shí)現(xiàn)[J];微計(jì)算機(jī)信息;2006年04期
6 黃志偉;王光焱;;論生態(tài)環(huán)境監(jiān)測[J];污染防治技術(shù);2005年04期
相關(guān)博士學(xué)位論文 前1條
1 羅丹彥;無線傳感器網(wǎng)絡(luò)能量高效組建關(guān)鍵技術(shù)的研究[D];哈爾濱工業(yè)大學(xué);2009年
,本文編號:1717764
本文鏈接:http://sikaile.net/kejilunwen/wltx/1717764.html
最近更新
教材專著