基于3G網(wǎng)的遠(yuǎn)程控制系統(tǒng)設(shè)計(jì)和因特網(wǎng)技術(shù)英文原文及漢語(yǔ)譯文_第1頁(yè)
基于3G網(wǎng)的遠(yuǎn)程控制系統(tǒng)設(shè)計(jì)和因特網(wǎng)技術(shù)英文原文及漢語(yǔ)譯文_第2頁(yè)
基于3G網(wǎng)的遠(yuǎn)程控制系統(tǒng)設(shè)計(jì)和因特網(wǎng)技術(shù)英文原文及漢語(yǔ)譯文_第3頁(yè)
基于3G網(wǎng)的遠(yuǎn)程控制系統(tǒng)設(shè)計(jì)和因特網(wǎng)技術(shù)英文原文及漢語(yǔ)譯文_第4頁(yè)
基于3G網(wǎng)的遠(yuǎn)程控制系統(tǒng)設(shè)計(jì)和因特網(wǎng)技術(shù)英文原文及漢語(yǔ)譯文_第5頁(yè)
已閱讀5頁(yè),還剩24頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、基于3G網(wǎng)的遠(yuǎn)程控制系統(tǒng)設(shè)計(jì)和因特網(wǎng)技術(shù)英文原文及漢語(yǔ)譯文 原文A Design of Remote Monitoring System based on 3G and Internet TechnologyShouxian WENKey Lab of Intelligent Computing and Signal Processing ofMinistry of Education Anhui UniversityHefei ChinaXingguo SUNKey Lab of Intelligent Computing and Signal Processing ofMinistry o

2、f Education Anhui UniversityHefei ChinaLei XUKey Lab of Intelligent Computing and Signal Processing ofMinistry of Education Anhui UniversityHefei ChinaXiaohui LIKey Lab of Intelligent Computing and Signal Processing ofMinistry of Education Anhui UniversityHefei China Abstract Aiming at the low-rate

3、and short-distancecommunication in existing temperature and humidity monitoringsystem this paper designs a remote monitoring system based on3G and Internet technology This system consists of dataacquisition module and data remote transmission moduleAtmega128 is used to be as a master control chip of

4、 dataacquisition module which realizes the data acquisition andpretreatment and the collected data is transmitted to the hostnode by the low-power wireless transmission module NRF905which is installed on slave nodes and then the converged data istransmitted to Internet by 3G module The system can re

5、alizeremote monitoring centralized management and so on Theexperimental results show that the system has the advantages oflow installation cost low consumption high sensitivity highaccuracy long-distance communication and high rate etcKeywords-DS18B20 3G NRF905 Standard Definition SD card Data acqui

6、sition subsystem Data remote transmissionsubsystemI INTRODUCTIONWith the rapid development of computer networks andcommunication technologies remote monitoring technology inthe data acquisition and analysis has been widely used 1-7The traditional data acquisition system generally uses thecomputer PC

7、 slave node mode Slave nodes use a wiredconnection so that wirin g tedious poor scalability Especiallyfor the vast space environment if a wired connection is usedthe cost and power consumption is high In addition in thetraditional wired data transmission system RS-485 protocolwhich transmission dist

8、ance is short is frequently used in thecommunication between PC and slave nodes The existingZigbee protocol can set up remote communicationtransmission platform through the wireless AD hoc networkbut its transmission rate is low NRF905 wireless moduletransmission rate is high but it lacks network pr

9、otocol 8-11The data remote transmission system which composes of3G and Internet can achieve a wide range of central controland remote operation However if 3G module is used in eachslave node the cost will be unacceptableFor these reasons this paper designs a remote monitoringsystem based on 3G and I

10、nternet technology The systemconsists of data acquisition and data remote transmissionsubsystem First the data acquisition subsystem acquiresinformation such as temperature humidity and then uploadsthe data to the server that has a fixed IP add ress throughremote data transmission subsystem Through

11、the reasonabledesign of the application software the global authorized usercan realize the remote data of observationII SYSTEM FRAMEWORKThe system framework is shown in Figure 1 The systemframework consists of data acquisition subsystem and dataremote transmission subsystem Data acquisition subsyste

12、mconsists of one host node and several slave nodes The host andeach slave node exchange data by using NRF905 wirelessmodule The slave node collects information by digital sensorswhich are inside of the node and sends it to the host node inform of packets The converged data via 3G is connected toInte

13、rnet and uploaded to the server The server is responsiblefor forwarding the data to the client Monitoring results will beshown to the users after the client data analysisFigure 1 The system frameworkFigure 1 The system frameworkIII THEDESIGN OFDATA ACQUISITION SUBSYSTEMA The design of hardware circu

14、it1 The design of host node hardware circuitAs a coordinator for the entire network the host node ismainly responsible for sending network signal establishing thenetwork managing the network node storing network nodeinformation and finishing the transmission of informationThe diagram of host node is

15、 shown in Figure 2 Theperipheral circuits of host node includes NRF905 wirelessmodule 3G module SD storage module indicator modulepower module and the clock module A 8-bit low-powermicro-controller Atmega128 is selected as the processor of thehost node The wireless module adopts NRF905 RF chipworkin

16、g in the 433MHz band It is mainly responsible forwireless networking of the slave node completing the datatransmission of the data acquisition subsystem 3G moduleuses the CDMA2000 standard which is mainly responsible foruploading the aggregate collection information to the serverremotely via data tr

17、ansmission subsystem Via serial peripheralinterface SPI SD storage and MCU achieve high-speed andaccurate data exchange As the basic unit in SD storage eachsector of 512 bytes stores routing information network nodeinformation inspection information of temperature andhumidity etc The indicator modul

18、e uses a variety of signallights to reflect the different state of the host node Because ofhigh instantaneous current of the power supply is needed at thebeginning of sending information LM2576 is used as powermodule2 The design of slave node hardware circuitAs relays and terminals of the entire net

19、work the slavenodes are primarily responsible for the acquisition andtransmission of the data information of the scene temperaturehumidity etc The diagram of slave node is shown in Figure 3The main composition of the slave node is NRF905wireless module data acquisition module memory modulepower modu

20、le etc For slave nodes Atmega128 is selected asthe processor and uses digital sensors DS18B20 to acquirefield temperature Taking the advantages of 1-wire bus eachIO port can be mounted many sensors Meanwhile powermode of DS18B20 is parasitic as shown in Figure 3 In thismode not only can the power co

21、nsumption be reduced butalso the slave node can continue to work even if a sensor isshort circuit on the bus With the location information of THand TL storage sensor in the DS18B20 temperature alarmtriggers the sensor is located At the time of the slave nodepower-up initialization it makes DS18B20 s

22、erial number andphysical address sequentially stored in the storage module24LC256 After the slave node receiving instructions it firstreads sensor serial number and physical address from thestorage module then collects temperature information andstores temperature data Humidity sensor adopts SHT75B

23、The design of software1 The design of host node softwareThe software flow diagram of slave node is shown inFigure 4Once the slave node is powered on the modules willinitialize including NRF905 wireless module 24LC256storage module Because of the large quantities of DS18B20 ineach slave node long ini

24、tialization time will be taken Toavoid initialization every time power on a sign bit is designedin the EEPROM of Atmega128 MCU Then user can decidewhether have the initialization of DS18B20 or not after power-on During the process of initialization of DS18B20 each busis pulled up in turn Then the se

25、rial number and the physicaladdress of each DS18B20 can be read through the binary treeaddressing which are stored in 24LC256 After initializationinterrupt mode will be set and the slave node will wait for theinstruction from the host node When the slave node receivestemperature instruction the seri

26、al number and physical addressof DS18B20 will be read from 24LC256 The slave node readsthe temperature information according to DS18B20 physicaladdress and sends it to the host node in form of packets Whenthe slave node re ceives humidity instruction it reads theoutdoor and indoor humidity informati

27、on and sends it back tothe host node If the instruction that the slave node receives isinformation instruction the slave node reads the information ofsensors from 24LC256 and sends it back to the host nodeIV THEDESIGNOFDATAREMOTE TRANSMISSIONSUBSYSTEMA Transmission frameworkThe data remote transmiss

28、ion subsystem mainly containsclient server and 3G module The structure is shown in theFigure 6The user sends instruction to 3G module through theremote client According to instruction the slave nodecompletes the temperature and humidity data collection andcontrolling Due to the 3G module connect to

29、network throughthe dial-up it transmits date based on UDP protocol the IPaddress and port is ever-changing To achieve thecommunication between the client and the 3G module theremust be a server with fixed IP address as intermediaryB The process and experiment resultsThe process of data remote transm

30、ission subsystem can bedivided into two parts communication between client andserver and communication between 3G module and serverWith reliable data transmission it is necessary to improvethe transmission rate UDP protocol between 3G module andserver can reduce the system cost and improve thetransm

31、ission speed The instruction retransmission mechanismin client can overcome the trouble that UDP transmission isunreliable Before 3G module connects to t he server theconfiguration of the module is necessary which containsserver IP address port baud rate the content and cycle of theheartbeat packets

32、 etc The different content of heartbeatpackets can distinguish different 3G modules When the 3Gmodule powers on heartbeat packet is sent to server atperiodic timesThe server work flow diagram 3G module is shown inFigure 7 The server begins to monitor UDP port when it startsIf the server receives new

33、 heart packet data it will store IPaddress and port number of 3G module However if the heartpacket data had been stored the IP address and port number of3G module would be updated If the server receivestemperature and humidity data it will store data into databaseaccording to the information and the

34、n send it to the clientThe CS work flow diagram is shown in Figure 8 Whenthe client connects to the server it sends a request to the serverto control 3G module Each 3G module can only be dominatedby one client at the same time So server response to the clientrequest or not is according to the state

35、of the 3G module When3G module accepts the request the client sends instructions tothe server by the TCP protocol and server sends theinstructions to 3G module by the UDP protocol Then hostnode collects temperature and humidity data and sends it backto the server by 3G module The server stores the d

36、ata intodatabase and sends it back to the client Then the data isdisplayed on the clientThe Measured temperature in server is shown in Figure 9The client software抯 functions are mainly consisted of real-time data display historical data view temperature andhumidity data analysis such as trend chart

37、of the temperatureand humidity data the perspective display of systemtemperature and humhidity node By this software we also canstore view backup print analyze and display the monitoringdata It provides standardized data interface which make itsimpler to implement the integration with other industri

38、alcontrol softwareV CONCLUSIONIn this paper we use NRF905 wireless RF modules whichwork in 433MHz band and 3G communication module withCDMA2000 standards to design a remote monitoring systemIt not only solves the problem of low-rate short-distancetransmission and scene cumbersome wiring but also red

39、uceshigh installation cost and power consumption In addition ithas the advantages of high sensitivity high accuracy strongcompatibility and efficient operation Users who have a PCconnected to the Internet can get monitoring variety real-timeinformation easily This system can also be widely used in t

40、hefields of industrial and agricultural productenvironmentalmonitoring traffic monitoring measurement and controlACKNOWLEDGEMENTThis project is supported by the National Natural ScienceFoundation of China No 60972040 the Anhui ProvincialNatural Science Foundation No 11040606Q06 theProvincial Project

41、 of Natural Science Research for Collegesand Universities of Anhui Province of China NoKJ2012A003 and the 211 Project of Anhui UniversityREFERENCE1 Liu Wei Zong Xiaoping揥ireless temperature and humidity collectionsystem design攈eibeichina vol 272010pp500-5022 WangYinlingSunTao 揟he Design of Greenhous

42、e EnvironmentalMonitoring of Wireless Sensor Network Nod Journal of AriculturalMechanization Reasearch Vol33 No3 20113 Huang Jianwei 揟he wireless temperature measuring s ystem based onDS18B20攈enanchinavol 29 2010pp118-1194 SUN Xiaodong 揟he design of RFID system based onnRF2401 master degree paperZhe

43、jiang Electrical engineeringinstitute of Zhejiang University 20085 Ni Ying Fu Da-mei The Design o f Greenhouse Monitoring SystemBased on WSN Journal of NanJing Institute of Industry Techonology201010 4 6 Yue Pengxia 揥ireless temperature and humidity data acquisitionsystem攕hanxichinavol 22009pp166-16

44、87 Lu Chao揥ireless temperatur e and humidity monitor device forGreenhouse攕hanxichinavol7 2011pp136-1398 Wang Li-yan Yang shi-feng Design of Greenhouse EnvironmentalMonotoring System Based on Zigbee Technology Journal of TianJingUniversity of ScienceTechnology 201126 1 9 XU Lei ZHANG Hong-wei LrI Xia

45、o-hui WU Xian-liang 揂 Designof Wireless Temperature and Humidity Monitoring System ICCT pp13-16 November 201010 Qiang YunxiaoWu Fengbo揥ireless temperature and humiditymeasure and control system based on ZigBeetechnology攕hanxichi navol382009pp731-73411 YU Haibin ZEN Peng 揑ntelligent wireless sensor n

46、etworksystemBeijing Science Press 2006 pp 5-6 中文翻譯基于3G網(wǎng)的遠(yuǎn)程控制系統(tǒng)設(shè)計(jì)和因特網(wǎng)技術(shù)文守先安徽大學(xué)教育部智能計(jì)算與信號(hào)處理實(shí)驗(yàn)室中國(guó)合肥孫興郭安徽大學(xué)教育部智能計(jì)算與信號(hào)處理實(shí)驗(yàn)室中國(guó)合肥李旭安徽大學(xué)教育部智能計(jì)算與信號(hào)處理實(shí)驗(yàn)室中國(guó)合肥李曉輝安徽大學(xué)教育部智能計(jì)算與信號(hào)處理實(shí)驗(yàn)室中國(guó)合肥摘要這篇文章是要設(shè)計(jì)基于3G網(wǎng)的遠(yuǎn)程控制系統(tǒng)和因特網(wǎng)技術(shù)主要針對(duì)低速率短程通信存在于控制系統(tǒng)中溫度和濕度這一系統(tǒng)包括數(shù)據(jù)組件獲得和遠(yuǎn)程數(shù)據(jù)傳輸Atmega128是用于數(shù)據(jù)獲得組件的主要控制芯片其實(shí)現(xiàn)了數(shù)據(jù)獲得和初期處理并且將所收集的數(shù)據(jù)通過低功率的無線電

47、傳輸組件NRF905傳輸?shù)街鳈C(jī)節(jié)點(diǎn)上NRF905是安裝在從屬節(jié)點(diǎn)上的并且通過3G模塊將聚合的數(shù)據(jù)傳輸?shù)揭蛱鼐W(wǎng)上這一系統(tǒng)能夠?qū)崿F(xiàn)遠(yuǎn)程控制集權(quán)管理等等實(shí)驗(yàn)結(jié)果表明這一系統(tǒng)有如下優(yōu)點(diǎn)裝置費(fèi)用低消耗低靈敏度高精確度高通信距離長(zhǎng)效率高等等關(guān)鍵詞DS18B203GNRF905標(biāo)準(zhǔn)清晰度卡SD數(shù)據(jù)獲得子系統(tǒng)數(shù)據(jù)遠(yuǎn)程傳輸子系統(tǒng)I簡(jiǎn)介隨著計(jì)算機(jī)網(wǎng)絡(luò)和通信技術(shù)的發(fā)展遠(yuǎn)程控制技術(shù)已經(jīng)在數(shù)據(jù)獲得和分析方面得以廣泛應(yīng)用1-7傳統(tǒng)的數(shù)據(jù)獲得系統(tǒng)主要用于個(gè)人計(jì)算機(jī)從屬節(jié)點(diǎn)模式從屬節(jié)點(diǎn)使用有線連接但因?yàn)榉爆嵉碾娋€較差的可伸縮性尤其是在廣闊的空間環(huán)境里如果使用有線連接那么費(fèi)用和功率消耗都比較高除此之外在傳統(tǒng)有線數(shù)據(jù)傳輸系統(tǒng)中R

48、S-485協(xié)議頻繁使用于個(gè)人計(jì)算機(jī)和從屬節(jié)點(diǎn)之間它是短距離的無線個(gè)域網(wǎng)通過無線AD hoc網(wǎng)絡(luò)建立遠(yuǎn)程通信傳輸平臺(tái)但是這種傳輸速度比較低NFR905無線模塊傳輸率是比較高的但是其又缺乏網(wǎng)絡(luò)協(xié)議8-11遠(yuǎn)程數(shù)據(jù)傳輸系統(tǒng)包括3G和因特網(wǎng)其能夠?qū)崿F(xiàn)大范圍的中央控制和遠(yuǎn)程操作但是如果將3G模塊應(yīng)用于每個(gè)從屬節(jié)點(diǎn)的話費(fèi)用是令人難以接受的基于這些原因本文設(shè)計(jì)了以3G和因特網(wǎng)技術(shù)為基礎(chǔ)的遠(yuǎn)程控制系統(tǒng)這一系統(tǒng)包括數(shù)據(jù)獲得和遠(yuǎn)程數(shù)據(jù)傳輸子系統(tǒng)首先數(shù)據(jù)獲得子系統(tǒng)要獲取信息例如溫度濕度然后要通過遠(yuǎn)程數(shù)據(jù)傳輸子系統(tǒng)將數(shù)據(jù)上傳到擁有固定IP地址的服務(wù)器上通過軟件應(yīng)用的合理設(shè)計(jì)世界權(quán)威用戶能實(shí)現(xiàn)遠(yuǎn)程距離的觀察II系統(tǒng)結(jié)構(gòu)

49、 系統(tǒng)結(jié)構(gòu)如圖1所示這一數(shù)據(jù)系統(tǒng)結(jié)構(gòu)包括數(shù)據(jù)獲得子系統(tǒng)和遠(yuǎn)程數(shù)據(jù)傳輸子系統(tǒng)數(shù)據(jù)獲得子系統(tǒng)包括一個(gè)主節(jié)點(diǎn)和一些從屬節(jié)點(diǎn)主節(jié)點(diǎn)和從屬節(jié)點(diǎn)通過使用NFR905無線模塊交換數(shù)據(jù)從屬節(jié)點(diǎn)通過節(jié)點(diǎn)內(nèi)部的數(shù)字傳感器收集信息然后將其發(fā)送到主節(jié)點(diǎn)數(shù)據(jù)包裹聚合數(shù)據(jù)通過3G連接到因特網(wǎng)上并且上傳至服務(wù)器服務(wù)器負(fù)責(zé)將數(shù)據(jù)寄發(fā)到客戶端控制結(jié)果在客戶端數(shù)據(jù)分析后展示給用戶 圖示 1系統(tǒng)結(jié)構(gòu) Data remote transmission subsystem遠(yuǎn)程數(shù)據(jù)傳輸子系統(tǒng)Server服務(wù)器Client客戶端Data acquisition subsystem數(shù)據(jù)獲得子系統(tǒng)Host node主節(jié)點(diǎn)Slave node從

50、屬節(jié)點(diǎn) III數(shù)據(jù)獲得子系統(tǒng)設(shè)計(jì)A 硬件回路設(shè)計(jì)1主節(jié)點(diǎn)硬件回路設(shè)計(jì)作為整個(gè)網(wǎng)絡(luò)的協(xié)調(diào)器主節(jié)點(diǎn)主要負(fù)責(zé)發(fā)送網(wǎng)絡(luò)信號(hào)確定網(wǎng)絡(luò)管理網(wǎng)絡(luò)節(jié)點(diǎn)儲(chǔ)存網(wǎng)絡(luò)節(jié)點(diǎn)信息完成信息傳輸主節(jié)點(diǎn)圖解如圖2所示主節(jié)點(diǎn)的外回路包括NFR905模塊3G模塊SD存儲(chǔ)模塊指示符模塊功率模塊以及計(jì)時(shí)器模塊選擇一個(gè)8比特的低功率微型控制器Atmega128作為主節(jié)點(diǎn)處理器無線模塊采用了NFR905芯片以433兆赫茲波段運(yùn)行其主要負(fù)責(zé)從屬節(jié)點(diǎn)的無線網(wǎng)絡(luò)交流完成數(shù)據(jù)獲得子系統(tǒng)的數(shù)據(jù)傳輸3G模塊應(yīng)用CDMA2000標(biāo)準(zhǔn)其主要負(fù)責(zé)將收集的信息通過數(shù)據(jù)傳輸子系統(tǒng)上傳至遠(yuǎn)距離服務(wù)器經(jīng)過一系列的外圍接口SPISD存儲(chǔ)器和MCU微程序控制器實(shí)現(xiàn)了高

51、速度和高精確度的數(shù)據(jù)交換作為SD存儲(chǔ)器中的基本單位512比特的象限儀能夠存儲(chǔ)常規(guī)信息收集節(jié)點(diǎn)信息及檢查溫度與濕度的信息等等由于需要在發(fā)送信息初期功率供應(yīng)的高速度和即時(shí)性指示符模塊使用大量的信號(hào)燈來反映不同狀態(tài)的主節(jié)點(diǎn)2從屬節(jié)點(diǎn)硬件回路設(shè)計(jì)作為整個(gè)網(wǎng)絡(luò)的繼電器和終點(diǎn)從屬節(jié)點(diǎn)主要負(fù)責(zé)溫度和濕度的數(shù)據(jù)信息的獲得與傳輸?shù)鹊葟膶俟?jié)點(diǎn)的圖解如圖3所示從屬節(jié)點(diǎn)主要包括NFR905無線模塊數(shù)據(jù)獲得模塊記憶模塊以及功率模塊等等對(duì)于從屬節(jié)點(diǎn)來說選擇Atmega128作為處理器并使用數(shù)字傳感器DS18B20來獲取溫度范圍采用一個(gè)總線的優(yōu)勢(shì)每個(gè)I0端口能夠增加許多傳感器同時(shí)DS18B20的功率模式是寄生的如圖3所示在

52、這一模式中不僅能降低功率消耗而且即使傳感器在總電線是短回路的情況下從屬節(jié)點(diǎn)也能持續(xù)運(yùn)行在DS18B20中傳感器處于TH和TL存儲(chǔ)傳感器的信息位置觸發(fā)器處當(dāng)從屬節(jié)點(diǎn)啟動(dòng)初始化時(shí)其使DS18B20序列號(hào)和物理地址有序地存儲(chǔ)在24LC256模塊中在從屬節(jié)點(diǎn)接收到指令后其首先讀取來自存儲(chǔ)模塊的傳感器序列號(hào)和物理地址然后收集溫度信息存儲(chǔ)溫度數(shù)據(jù)B軟件設(shè)計(jì)1 主節(jié)點(diǎn)軟件設(shè)計(jì)從屬節(jié)點(diǎn)軟件設(shè)計(jì)如圖4所示當(dāng)啟動(dòng)主節(jié)點(diǎn)時(shí)其首先初始化NFR905無線模塊3G模塊SD存儲(chǔ)模塊計(jì)時(shí)器模塊以及寄存器配置初始化之后其轉(zhuǎn)向中斷模塊然后等待來自遠(yuǎn)程傳輸子系統(tǒng)的指令在接收到控制指令之前主節(jié)點(diǎn)將接收到從屬節(jié)點(diǎn)的上傳信息指令然后通過

53、NFR905無線電模塊完成與從屬節(jié)點(diǎn)的無線電交流如此主節(jié)點(diǎn)即可得到從屬節(jié)點(diǎn)傳感器信息的最佳路線和分配然后將其存儲(chǔ)在主節(jié)點(diǎn)的SD存儲(chǔ)模塊中有兩種模式分別為輪詢監(jiān)測(cè)和單一監(jiān)測(cè)主節(jié)點(diǎn)能夠依據(jù)接收到的指令選擇其一監(jiān)測(cè)時(shí)間點(diǎn)和間隔時(shí)間包含在輪詢監(jiān)測(cè)指令中而且主節(jié)點(diǎn)還可依據(jù)指令設(shè)置信息時(shí)間主節(jié)點(diǎn)首先讀取信息配置和來自SD卡的從屬節(jié)點(diǎn)的路線信息然后再監(jiān)測(cè)開始時(shí)將指令發(fā)送到從屬節(jié)點(diǎn)最后主節(jié)點(diǎn)完成從屬節(jié)點(diǎn)的聚合數(shù)據(jù)監(jiān)測(cè)然后將數(shù)據(jù)存儲(chǔ)在SD卡中當(dāng)主節(jié)點(diǎn)接收到從輪詢監(jiān)測(cè)模式中提取的指令時(shí)主節(jié)點(diǎn)將提取并且通過遠(yuǎn)程數(shù)據(jù)子系統(tǒng)把數(shù)據(jù)傳送到服務(wù)器當(dāng)主節(jié)點(diǎn)接收到單一監(jiān)測(cè)的指令時(shí)主節(jié)點(diǎn)將會(huì)直接把數(shù)據(jù)信息傳送到服務(wù)器這并不需要存

54、儲(chǔ)到SD卡中 在傳輸子系統(tǒng)中網(wǎng)絡(luò)通信協(xié)議的NFR905無線電模塊的結(jié)構(gòu)格式如表格1所示類型表明了命令格式的類型并且其由1比特組成路線是由5比特組成其表明了路徑主節(jié)點(diǎn)的網(wǎng)絡(luò)號(hào)為01從屬節(jié)點(diǎn)的網(wǎng)絡(luò)號(hào)獨(dú)一無二的其從02到255因?yàn)橹鞴?jié)點(diǎn)不能直接與從屬節(jié)點(diǎn)交流所以其尋找到一個(gè)能與其它三個(gè)從屬節(jié)點(diǎn)交流的節(jié)點(diǎn)例如0102030405表明主節(jié)點(diǎn)將通過020304號(hào)繼電器節(jié)點(diǎn)尋找到05號(hào)節(jié)點(diǎn)路線-深度被定義為路線深度并且它的值從01排到05其能夠決定下一個(gè)與路線結(jié)合的從屬節(jié)點(diǎn)例如010203040503表明下一個(gè)節(jié)點(diǎn)是03號(hào)從屬節(jié)點(diǎn)路線-方向被定義為路線方向它的值是01或者0201代表下連接02代表上連接當(dāng)路線-方向是02時(shí)傳送的數(shù)據(jù)是有效的數(shù)據(jù)有11比特組成并且標(biāo)記比特的數(shù)據(jù)1表明了確切的數(shù)據(jù)比特其值為00-0AH數(shù)據(jù)2-數(shù)據(jù)11存儲(chǔ)傳送數(shù)據(jù)CRC被用來檢查數(shù)據(jù)結(jié)構(gòu)在本地?zé)o線電網(wǎng)絡(luò)區(qū)域內(nèi)每個(gè)傳輸模式采用半雙工交流模式在數(shù)據(jù)獲得子系統(tǒng)中只有當(dāng)從遠(yuǎn)程數(shù)據(jù)傳輸系統(tǒng)接收到的指令時(shí)從屬節(jié)點(diǎn)將回應(yīng)和傳送數(shù)據(jù)這一數(shù)據(jù)是從主節(jié)點(diǎn)所獲取只有在接收到所有數(shù)據(jù)時(shí)遠(yuǎn)程數(shù)據(jù)傳輸子系統(tǒng)才能發(fā)送指令如果接收到的信息丟失或不完整這一系統(tǒng)將自動(dòng)重發(fā)指令如果指令被發(fā)送超過8次系統(tǒng)將提醒用戶查收從屬節(jié)點(diǎn) 2從屬節(jié)點(diǎn)軟件設(shè)計(jì) 從屬節(jié)點(diǎn)軟件設(shè)計(jì)如圖5所示一旦啟動(dòng)從屬節(jié)點(diǎn)模

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論