《2022年一种无线数据采集和传输系统的设计-毕业论文外文翻译 .pdf》由会员分享,可在线阅读,更多相关《2022年一种无线数据采集和传输系统的设计-毕业论文外文翻译 .pdf(11页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、毕业设计(论文)译文及原稿译文题目:一种无线数据采集和传输系统的设计原稿题目:The Design of a Wireless Data Acquisition and Transmission System 原稿出处:CAI Jun,YU Shun-Zheng,LIU Jing-li The Design of a Wireless Data Acquisition and Transmission SystemJ JOURNAL OF NETWORKS 2009,4(10):1042-1049名师资料总结-精品资料欢迎下载-名师精心整理-第 1 页,共 11 页 -1 一种无线数据采集和传
2、输系统的设计【摘要】在现代无线通信领域主要有一些技术为无线传输网络提供解决方法,例如:GSM,CDMA,3G,Wi-Fi。这些方法使得网络能够高效率和高质量的工作,但是成本很高。因此要低成本和在没有基础设施或者基础设施被破坏的情况下推广它们是很困难的。根据这种情况,本论文中数据采集和无线传输网络里的信息终端和无线收发模块的关键部件,是依据nRF905收发模块和 51系列单片机的原理设计而成作为核心硬件,此外,结合目前自组无线网络的技术,可以构建一个短距离无线数据采集和传输网络,这个网络能够提供一个工作在ISM(工业科学医学)频段的低功率及高性能的数据通信系统。然后提出了一个对无线通信可行的解决
3、方案,这个方案优势在于更强的实时响应,更高的可靠性要求和更小的数据量。通过软件和硬件的调试和实际测量,这个系统在我们的解决方案基础上运行良好,达到了预期的目标并且已经成功的应用到无线车辆系统。【关键词】自组网络;数据采集;传输网络1 简介在现代无线通信里,GSM,CDMA,3G 和 Wi-Fi 因为其高速和可靠的质量而逐渐成为无线数据传输网络的主流解决方案。它们也有高成本的缺点,因此如果广泛的应用,将会引起大量的资源浪费,也不能在小区域,低速率的数据通信中得到提升。多点短距离无线数据采集和传输网络将成为最佳解决方案。此系统支持点对点,点对多点和多点对多点通信系统的发展。短距离无线通信可以适应各
4、种不同的网络技术,例如蓝牙,IEEE802.11,家庭无线网和红外。与远距离无线通信网络相比,它们的不同之处在于基本结构,应用水平,服务范围和业务(数据,语音)。设计短距离无线通信网络的最初目的是为了提供短距离宽带无线接入到移动环境或者制定临时网络,这是在移动环境里互联网更深的发展。短距离无线通信网络最主要的优势是更低的成本和更灵活的应用。本文介绍信息终端(单个器件)的硬件和软件以及多点短距离无线数据采集和传输网络的无线接收模块的设计建议,提供一个低功率高性能的工作于ISM(工业科学医学)频段的无线数据通信系统。文章剩余部分由如下内容组成:在第二部分,我们描述了无线数据采集和传输系统的通用模块
5、图表,第三部分,我们分析此系统硬件设计的关键技术,第四部分,介绍系统的软件设计,第五部分,展示系统的测试结果,最后我们在第六部分阐述结论和进一步的工作。2 系统实现模型1系统模型名师资料总结-精品资料欢迎下载-名师精心整理-第 2 页,共 11 页 -2 作为一个点对多点的多功能无线通信系统,它包含了一个中央监控系统和多个远程终端单元(图 1)。实际上,远程终端单元是一些在移动过程中可互相通信的移动电台。另外,中央监控系统与远程终端单元进行双向通信。在下一部分,设计信息终端和控制中心的软件和硬件上的一些关键部件。2相关模型本论文中的系统是根据OSI(国际标准组织)中的OSI/RM 模型里的第一
6、层(物理层)和第二层(数据链路层)而设计的,如图2 所示。物理层的功能是通过建立电路和专用芯片组完成的。然而通信协议里的数据链路层是由软件来实现的。3 系统硬件设计为了设计,管理和更新的方便,一些硬件单元和节点根据它们的功能和电学特性被划分成不同的模型。本设计以射频收发芯片nRF905为核心,以模块搭建设计为指导思想,搭建无线温度采集系统,系统主要由数据采集模块和无线传输模块组成。数据采集模块以数字式温度传感器DSl8B20 监测温度参数,并将监测的温度参数简单处理后通过 nRF905无线模块发送到接收端口。无线数据传输模块通过nRF905芯片进行数据收发处理,nRF905芯片的集成度较高,所
7、需的外围器件较少,因此整体的电路设计相对比较简单点。本设计给出其与MSP430F449的接口电路设计和接收端通过电平转换芯片 MAX3232 与 PC机连接。并根据硬件特性及连接设计相应的软件流程,并编写软件。通过相适应的无线传输模块和数据采集模块控制软件的操控,保证整个硬件系统的流畅运作。系统基本结构中包含无线射频收发模块,控制处理模块,通用串行接口模块,数据缓冲存储模块以及多功能电源管理模块等。1收发器和接收模块在数据发送过程中,数据包将被调制到高频然后发送到目标无线射频传输模块,接收过程中,高频信号通过无线射频接收模块又被解调成原始数据包。NRF905 是无线射频收发模块的关键,它的频率
8、是16 兆赫兹的晶体振荡器。NRF905 可以通过印刷式天线接收无线射频信号,但是为了提高接收机的灵敏度和抗干扰能力,这种模块也适用外部天线和滤波器电路。2控制处理模块控制处理模块包含MCU 和外部电路,有两个功能:一是使所有模块在其控制下协调工作,二是处理和传输从接口来的数据,例如路由处理,数据打包,验证和重传请求。模块的关键部件MCU 是 51系列单片机,考虑到工业功能,WINBOND 78LE546因其在 8 位 CMOS 微处理器里较好的容量特性被而被应用,与2.4-2.5伏的宽电压供电,256 比特嵌入式 RAM,16KB Flash EPROM 以及 64KB 地址空间,四个 8
9、位标准I/O 接口,一个标准 I/O 双串行口相兼容。名师资料总结-精品资料欢迎下载-名师精心整理-第 3 页,共 11 页 -3 SCM 的晶体振荡器频率是22.1184兆赫兹,电功率为 3.3 伏适合无线收发芯片里nRF905的逻辑水平。它的引脚通过与VCC 相连受到保护并保持器稳定性。MCU 与所有模块的具体连接如表1所示。4 系统软件设计系统性能的真实取决于其有效性和合理的软件控制。软件设计是在硬件环境的基础上开发一个无线网络协议,为了到达设计目标,这个协议要有诸如数据传输,冲突避免,错误后重传以及超时重试的功能。整个网络由一个主机和许多分散的终端组成,每个终端必须有一个无线收发节点(
10、此系统支持 Nrf905 单片无线收发器),整个无线网络的任何节点都有一个唯一认证地址对应一个唯一认证终端。为了方便起见,每个确定系统的终端无线收发器节点地址都是我们自己设定的4 字节。为了提高系统的稳定性,协议被设置成停止-等待模式。在数据链路层,发送过程大概如下:首先,数据源发送一个连接请求道数据目标,得到数据源的响应后传输数据。接着,每一次传输都要等待接收方的回应。如果响应正确,另一次的传输才会开始。当所有数据传输完后,数据源将发送一个释放信道请求,当收到接收方的响应后传输结束。接收过程如下:在接收方给数据源响应后将收到数据,然后会发送一个有效或无效的响应,直到收到拆除链路请求。接下来,
11、保存数据且发送一个响应来结束整个过程。5 系统测试任何两个节点之间的通信大都可以通过点对点来测试,因此在系统测试过程中,A 节点和 B 节点之间的通信模型对测试图解来说是一个很好的样本,就像图10。闭环测试电路是通过PC带双串口以及两个RS32口和通信节点 A 和 B 建立起来的。在一个终端,数据时通过串口测试辅助工具“串口助手V2.2”发送,在另一端,监控着返回的数据。数据通过PC的串口 A,RS32口发送,然后数据缓冲,最后成功到达终端无线收发器模块。然而,数据接收过程是SPI串口,数据缓冲,然后 RS32口,最后才是 PC。在本论文中,根据以收发器nRF905和 51 系列单片机作为核心
12、硬件的原理设计一个低功耗高性能的无线数据通信系统。提出无线数据通信一个可行的解决方案,这个解决方案适合于强大的实时响应,高可靠性要求和小数据量,被广泛的应用于各种领域,例如数据通信,环境监测和安全保卫系统。我们相信在软件设计进一步精炼和提高以后集成和智能通信协议将会实现。测试过程中,用数字示波器监测通信节点A、B,RS32口和 SPI口的数据传输。在接下来的部分,通过分析来自MOSI/SCK 和 MISO/SCK 的信息来验证系统的正确性。6 总结名师资料总结-精品资料欢迎下载-名师精心整理-第 4 页,共 11 页 -4 在本论文中,根据以收发器nRF905和 51系列单片机作为核心硬件的原
13、理设计一个低功耗高性能的无线数据通信系统。提出无线数据通信一个可行的解决方案,这个解决方案适合于强大的实时响应,高可靠性要求和小数据量,被广泛的应用于各种领域,例如数据通信,环境监测和安全保卫系统。我们相信在软件设计进一步精炼和提高以后集成和智能通信协议将会实现。名师资料总结-精品资料欢迎下载-名师精心整理-第 5 页,共 11 页 -5 The Design of a Wireless Data Acquisition and Transmission System AbstractIn the field of modern wireless communication,there are
14、 mainly some technologies that provide solutions to the wireless data transmission network,such as:GSM,CDMA,3G,Wi-Fi.Thesesolutions make networkwork with high efficiency andgood quality,but still with highcost.So it was difficulty in popularizing in with low cost and at the circumstance of infrastur
15、eless or infrastructure destruction.According to thissituation,in this paper,the key components of the Information Terminal and the wirelessreceiving modules on the data collection and wireless transmissionnetworkweredesigned with the principle of transceiver nRF905 and 51 series of single-chip comp
16、uteras the core hardware,besides,combining with the current technology on the Wireless Ad Hoc Networks,a short-rang wireless data samplingandtransmissionnetwork was puttingup,which provides a low-powered and high-performance wireless data communication system,works in theISM(Industrial Scientific Me
17、dical)Band.Then,anavailablesolution to thewirelessdatacommunications was put forward,and this solution was goodat stronger real-time response,higher reliability requirementand smaller data amount.Throughsoftware and hardware debugging and actual measuring,this system based on our solution had work w
18、ell,reached the expected goal and been already successfullyapplied to Wireless vehicleSystem.IndexTerms AdHocNetwork;data acquisition;transmission network.I.INTRODUCTION In modern wireless communication,GSM,CDMA,3G,andWi-Fi becomethemainstreamsolution ofwireless data transmission network because of
19、their high speed and reliable quality.They also have theshortcomings of high cost,so wider application would cause agreat waste of resources,and they cannot be promoted in small regional,low speed data communications.Multi-pointshort-rangewirelessdata collectionandtransmissionnetwork will be the bes
20、tsolution.The systemsupportsthedevelopment ofcommunicationsystemofpeer-to-peer,point-to-multipoint,andmultipoint-to-multipoint.Short-rangewirelesscommunicationcanadoptdifferentnetworktechnologies,such as Bluetooth1,IEEE802.112,HomeRF3andInfrared4.Compared withlong-distancewirelesscommunication netwo
21、rk,theyaredifferentinthebasicstructure,the applicationlevel,servicerange,andbusiness(data,voice).Theoriginalintentionofdesignofshort-range 名师资料总结-精品资料欢迎下载-名师精心整理-第 6 页,共 11 页 -6 wirelesscommunicationnetworkistoprovide short-distancebroadbandwirelessaccesstomobile environmentorformulationoftemporaryn
22、etwork,itis thefurtherdevelopmentofinternetinmobileenvironment.Themainadvantageofshort-range wireless communication network is lower cost and more flexible use.Thispaperpresentsthedesignproposalofhardware andsoftwareofinformationterminal(amachine)and wirelessreceivermoduleofmulti-pointshort-range wi
23、reless data collection and transmission network,which providesalow-poweredandhigh-performancewireless datacommunicationsystem,worksintheISM(Industrial Scientific Medical)Band.The remainder ofthispaperisorganizedasfollows.InSection,we describethegeneralblockdiagramofthewirelessdata acquisitionandtran
24、smissionsystem.Insection,we analyzethe key technologies about the system hardware design.Insection,thesystemsoftwaredesignis introduced.In section,the testing results of system is presented.Finally,wepresent theconclusionand future work in Section.II.SYSTEM IMPLEMENTATION MODEL A.System Model Asapoi
25、nttomulti-pointsmulti-missionwireless communicationsystem,itconsistsofonecentral monitoringsystem(CMS)andMultipleRemote TerminalUnits(RTU)(figure1).Infact,thisremote terminal unitissomekindofremovablestationswhich cancommunicatewithotherstationsintheprocessof motion.Furthermore,theCMScommunicate wit
26、hRTU in bidirectional way.In the next part,some pivotal segment on software and hardwareoftheinformation terminal andcontrol center was designed.B.Reference Model The system in this paper is designed based on the first layer(thephysicallayer)andthe second layer(the data link layer)of the architectur
27、e of OSI/RM(Open Systems InterconnectionReferenceModel)thattheISO(InternationalOrganizationforStandardization)proposed,suchas figure 2.The function ofthe physical layerisfinishedthroughconstructingthecircuitand special chips.Otherwise,communication protocols in the data link layer are realized by so
28、ftware.THE HARDWARE DESIGN OF THE SYSTEM Forthesakeoftheconvenienceofdesign,maintenance and update,somehardwarecircuit cell 名师资料总结-精品资料欢迎下载-名师精心整理-第 7 页,共 11 页 -7 and node was dividedintosomedifferentmodule accordingtofunctionalandelectriccharacteristic.Thereare RFTransceivermodule5,controlling andd
29、ealing module,UniversalSerialinterfacemodule,databufferandstoragemoduleandmultifunctionalpowermanagement module in the basic structure(Figure 2).Intheprocessofsending,thedatapackageshould been Modulatedwith Highfrequency and senttoobject RF Transmitting module,in the process of receiving,the high fr
30、equency signal have been demodulated to original data package through the RF receiver module.NRF9055isthekeyofRFTransceivermodule whosefrequencyis16MHz CrystalOscillator.NRF905 canreceivetheRFsignalbyPrintedAntenna,butthis module adopts the external antenna and Filter Circuits in ordertoimprovethere
31、ceiversensitivityand anti-jamming ability.B.Controlling and Treating modue The controlling and treating module consists of MCU andexternal circuit,ithavetwo functions:one made all modules working under controlandharmony;theother functionistreatingandtransmittingthedatagotfrom interface,suchasrouterp
32、rocessing,datapackaging,verification andrepeatingrequest.ModuleskeyMCUis51seriesmicroprocessor,and consideringtheindustrialfunction,theWINBONDwasappliedinthispracticalexperimentbecauseofitsgoodcapabilityin8-bitCMOS microprocessor,compatibilitywith2.4-5.5Vwidevoltageelectricsupply,256BytesembeddedRAM
33、,16KB Flash EPROM and 64KB addressing space,four 8 Bitstandard I/O interfaces,one standardI/Odualserial interface.TheCrystalOscillatorfrequencyofSCMis 22.1184MHz,and the electric power is 3.3V to adapting to nRF905 logical level in wireless transceiver chip.The impending PINwasprotectedby connecting
34、withVCC to keeping itsstability.The specificconnection between MCU and all modules is described in TABLAE 1.C.Multifunctional Electric Power Management Module Themost remarkablecharacteristic is compatibility with 8-24V wide voltage electricsupply including CMOS power and TTL power,respectively in 5
35、V and 3.3V,which provided all modules with the suitable and stable power.Meanwhile,it means so much inenergy source saving because of its electronic switch.The power supply transfer chip C851414 and AS-1117-3.3 is the primary ingredient in this module.The C851414 made the electricvoltage transfer fr
36、om 8V to 24V,then,the AS-1117-3.3 made it from 5V to 3.3V.Furthermore,suitable filter capacitance and inductance was introduced to make powers 名师资料总结-精品资料欢迎下载-名师精心整理-第 8 页,共 11 页 -8 ripple characteristic perfect as possible.D.Universal Serial Interface Module ThemainfunctionofUniversalSerialinterfac
37、e module is connecting universal terminal equipment,such assignaloutputequipmentoranalogcollection equipmentwithADtransfer.Atthesametime,it providesentrancetothecomputerterminaldata exchange through universal RS232 serial interface.E.Data Buffer and Storage Module Ithastwokindsoffunction,oneisdatabu
38、ffer,the other is data storage,respectively performed by 32KByte RAMand16KByteEEPROM.Databufferdistrict supervisebufferingsometemporarydata,suchas transmitdata,waitingdata.Datastoragedistrict supervisesome fixed datamemory,such asrouter data,localhost,localaddressandsomereneweddatafor power-off prot
39、ective.F.High Frequency Shielding Protecting Moudule Inorder to prevent electromagneticinterference from environment,circuit in our designing system is protected withmetalenclosure.Atthesametime,preventingthe digitalcircuitinterferefromtheradiofrequencycircuit inthesystem,we placedthetwocircuitsindi
40、fferent isolatedbin,such as figure 3.There is asmall hole with diameter lessthan 1/4 wavelength in themetal box side,whichiseithereasytopassthelineorpreventthe electromagnetic wave from getting in it.SYSTEM SOFTWARE DESIGN The realization ofsystemperformancedependson its effective and reasonable sof
41、twarecontrol.Thedesign of this software is on the basis of the hardware environment todevelopmentawirelessnetworkprotocolthathave functionsasdatatransmission,avoidingconflict,the retransmissionwhenerror occurs,and overtimeretry,in ordertoachievethedesigngoal.Theentirenetworkis composedofa hostandman
42、yscattered terminals,each terminalmusthaveawirelesstransceivernode(this systemadoptsnRF905 single-chipRFtransceiver),any nodesoftheentirewirelessnetworkhasaunique identifiedaddresswhichiscomposedofanunique identifiedterminal.Forconveniencessake,each terminal wireless transceiver node addresses of th
43、e actual system is set by ourselves(4 bytes).Inordertoimprovethereliabilityofthesystem,the protocol is designed as stop-wait mode.In data link layer,thesendprocessisroughlyasfollow.Firstly,thedata sources send a connection request to the data targets,and itwilltransferdataafter thedatasources respon
44、d.Then wait for response from data target after each transmission.If the response is correct,another 名师资料总结-精品资料欢迎下载-名师精心整理-第 9 页,共 11 页 -9 transmission will start.Afterallthedatatransmissionisdone,thedatasource willsendarequesttoreleasechannelresources,the transmissionisfinishedwhentheresponsefromt
45、he target isreceived.The receiveprocessisas follow:the data target will receivedataaftergive a responseto the source,and will give a effective or uneffective response,untilreceiveademolitionrequest.Then,savethedata and send a response to end the entire process.data valuesareseriallytransferred,pumpe
46、dintoa shift registerandaretheninternallyavailableforparallel processing.Here we already see an important point,that must be considered in the philosophy of SPI bus systems:Thelengthoftheshiftregistersisnotfixed,butcan differ fromdevice to device.Normally the shift registers are8Bit or integral mult
47、iples of it.Ofcoursethere alsoshiftregisterswithanoddnumberofbits.For exampletwocascaded9BitEEPROMscanstore18Bit data.If a SPI device isnotselected,its data output goes intoahigh-impedancestate,so thatit does not interfere withthecurrentlyactivateddevices.Whencascading severalSPIdevices,theyaretreat
48、edasoneslaveand therefore connected to the same chip select 5.In figure 4thecascadeddevicesareevidentlylookedatasone largerdevice andreceive therefore thesame chip select.The data output of the preceding device is tied to the data.SYSTEMTESTING Becausecommunication between any twonodes may betestedt
49、hroughpointtopoint,inthissystemTesting Process,communication model between nodeA and node B is a good example for testing schematic diagram,just like figure 10.Closed-loop testing circuit isputupthroughPCwithdoubleserialportsandtwoRS232portsandcommunication node A and B.On one terminal,data was sent
50、 through serialport testing auxiliarytool“serialport assistantV2.2”,on theotherterminal,returningdatais monitored.DataissentthroughPC sserialportA,RS232port,thendatabufferandfinallywireless transceivermodulesuccessively.However,theprocess of data receiving was SPI serial,data buffer,then RS232 port,