全文预览已结束
付费下载
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
DesignofLow-powerWirelessCommunicationSystemBasedonMSP430andnRF2401ZhangYanbingSchoolofInformationandCommunicationEngineering,NorthUniversityofChina,Taiyuan,Shanxi,030051,Chinazhybg_1126AbstractAccordingtomonitorrequirementaboutcontactlesstransfer,thispaperdesignedalow-powerwirelesscommunicationsystembasedon16bitMSP430F1611andnRF2401.Itintroducedthesystemstructureandthedesignofhardwareandsoftwareindetail.Thesystemrealizedthefunctionsofreal-timedataacquisition,wirelesstransmissionandcommunicationonmicrocomputerwiththehelpofnRF2401.Ithasthecharacteristicsoflowcost,lowpower,dependableperformanceetc.Keywords-MSP430;low-power;wirelesscommunication;nRF2401I.INTRODUCTIONIncontrolsystem,bothsignalsandinstructionsdemandelectrontransfer.Ineverydaylifeandproduction,thesedataaremostlytransmittedbytwisted-pair,coaxial-cableandopticalfiber1.However,thistransmissionneedswiringandconstruction,anditoftencauseselectromagneticinterferenceandsignalattenuation2,3.Besides,whenthetestpointismovingorlayingcablesisnotallowedinindustrialcircumstances,achievingdatacontactlesstransferbywirelesscommunicationtechnologyisdemanded4.Thispaperintroducedawirelesscommunicationsystembasedon16bitMSP430F1611fromAmericanTICompanyandnRF2401fromNORDICcompanyinNorway,bywhichthedatasbidirectionalwirelesstransmissionisrealized.Thisdeviceespeciallyappliestolow-costandlowpowerwirelesscommunicationsystem,andithasawidespreadprospect.II.DESIGNOFSYSTEMHARDWARECIRCUITA.ThesystemstructureandtheworkingprincipleThewirelesscommunicationsystemincludesdataacquisitionmoduleandsystemmonitoringmodule.TheMSP430isthecoreofdataacquisitionmodule,andcontrolthismodulethroughtheprograminit.MonitoringmoduleincludesPCandsinglechip.TheMAX232mainlycompletelevelchangesfromRS232toTTL.AndRS232isthecommunicationinterfacebetweensinglechipandPC.ThewirelesscommunicationsystembetweenthetwomodulesisbuiltbywirelesscommunicationchipnRF2401,whichacceptsdataortheorderonsinglechip,receivesandsendsdatabytheantenna,andexchangesinformationbetweentwomodules.Thesystemblockdiagramisshowninfigure1.B.16bitultralowpowersinglechipMSP430F1611SinglechipMSP430isalow-powerMixedSignalProcessorproducedbytheAmericancompanyTI,whichhasaboundingperipheralinteriorlyandflexibledevelopmenttool.ThevoltageofMSP430F1611rangesfrom1.8to3.6V.280Aiscostintheactivemode,1.6Ainthestandbymode,and.0.1Ainoffmode.Itintegrates12bitA/Dconverter,comparator,D/Aconverter,timer,serialcommunicationinterface,watchdog,vibrator,lotsofI/Oportand48KB+256Bflashmemoryand10KBRAM.MSP430F1611has5kindsofsaveelectricitymodesbesidesitsnormalmode.Inordertomeettherequirementsoflowpowerconsumption,CPUwillcometoenergysavingmodeafterithasfinishedcontroltask.Thereforethesystemappliestohighintegration,lowpowerandlowcostcircumstance5.C.Singlechip2.4GHztransceivernRF2401nRF2401is2.4GHztransceiverfromNordiccompanyinNorway,whoseworkingfrequencybandis2.42.5GHzISM,whichmakeitbeapplicabletoglobalwirelessmarket6.Themajorcomponentsandpartshavefrequencysynthesizerpoweramplifier,crystaloscillator,modulatorandstandardSPIect.Theoutputpowerandcommunicationchannelcanbeconfiguredbysoftware.Itcanuse125communicationFigure1.Thesystemblockdiagram2010InternationalConferenceonMeasuringTechnologyandMechatronicsAutomation978-0-7695-3962-1/10$26.002010IEEEDOI10.1109/ICMTMA.2010.4101008Figure2.SchematicofMSP430F1611andnRF2401channelsandthetoptransmissionspeedisupto1Mb/s,soitisfasterthanthatofBluetooth.TheworkingvoltageofnRF2401is1.93.6V,whichislowpowerdevice.Whenitisconductedatthepowerof-5dBm,theworkingcurrentis10.5Ma,whilethereceivecurrentisonly18mA.DesignedbyadoptingSOCmethod,thisdeviceonlydemandsafewofperipheralequipmenttomakeupRFtransceivercircuit.BecausernRF2401ischeaperthanBluetoothproducts,nocomplicatedcommunicationagreement,cleartoconsumersandfreetocommunicatewithintheproductsofatype,itiswidelyusedinlowpower,high-integrationwirelesscommunicationsystem7.Therearefourkindsofworkingmodes:transceivermode,configuremode,idlemodeandoffmode.Thesemodescanbeconfiguredthroughthreepins:PWR_UP,CEandCS,whichisshowninTABLE1:TABLEI.RF2401OPERATINGMODEoperatingmodePWR_UPCECStransceivermode110configuremode101idlemode100Offmode0WiththethreepinsofCS,CLK1andDATA,nRF2401canbeconfiguredtoShockBurstTMTransceiverModeorDirectTransceiverMode.ThispaperadoptedShockBurstTMTransceiverMode,whichhasthefuturesofsimpleprogramandhighstability8.D.CentralcircuitThediagramofinterfacecircuitbetweenMSP430F1611andnRF2401isshowninFigure2,inwhichP1.0,P1.1,P1.2,P1.3,P3.3areconnectedtoPWR_UP,DR1,CE,CSandCLK.Thethreepins,P1.0,P1.2andP1.3,aredesignedtochoosetheoperatingmode;P1.1isforinterruptmode.P3.3issynchronousclocksignalprovidedbyMCU;thedataoperatedinSPIpatternaretransmittedtoSIMOP3.1andSOMIP3.2ofMCUbyresistance,soitachievesSPIcommunication9.III.DESIGNOFSYSTEMSOFTWAREThesystemsoftwareisprogrammedwiththedevelopmentofIAREmbeddedWorkbench,includingcomputermonitoringmodule,dataacquisitionandtransmittermoduleandsinglechipreceivermodule.Inordertolowerpowerconsumption,eachmoduleshouldbeinitializedwhenthepowersupplyisturn-onandthengointolowpowermode,LPM3.AfterPMWKUPisreceived,thesystemperformsdataacquisition,processing,storing,receivingandsending.Whenthewholeoperationisfinished,wirelessmodulegoesintointerceptionmodeandlowpowermode.A.DataacquisitionandtransmittermoduleFigure3showsthemainsoftwareflowchartofdataacquisitionandtransmittermodule.Firstofall,themoduleshouldbeinitialized,forexample,I/Oportinitialization,wirelesschipconfigure,openingTimerandexteriorinterruption.Whenthesystemreceivestheexteriorinterrupt,itgoesintointerruptservicingsubroutine,performingdataacquisitionandwirelesstransmit.TheinterruptservicingsubroutineflowchartisshowninFigure4.Figure3.ThemainprogramflowchartofdataacquisitionandtransmittermodulestartinitializationnRF2401isreceiverwaitforinterruptLPM3modeYNstartstartA/DconverternRF2401istransmittertransmitdatafinish?RETFigure4.Theinterruptsubroutineflowchart1009B.SinglechipreceivermoduleFigure5showstheflowchartofsinglechipreceivermodule.Themodulemainlyperformsdatareceivinganduploadinganditisinitializedlikedataacquisitionandtransmittermodule.Whenitreceives,dataacquisitionandtransmittermoduleshouldbewakenup,thenreceivingdataandstoringtheminRAM.ThesedataareuploadedtoPCatlast,andcanbeprocessed,displayedandprinted.C.ComputermonitoringmoduleComputermonitoringmoduleadoptsVB6.0program,transmittinginformationbetweenMSP430andPCbyRS232.MSCommofVB6.0offersstandardeventhandler,eventsandmethods,andachievesMSCOMMefficiently.Itsfunctionsincludereal-timedataexchangewithMSP430,showingeachtestedparameter,conductingdatastoring,processingandprinting.IV.CONCLUSIONSInthispaper,awirelesscommunicationsystemisdesignedbasedonMSP430F116andnRF2401chip.Itrealizedthefunctionsofreal-timeacquisitionmeasurement,wirelesstransmissionanddataupload,andputforwardforremotedataacquisitionsystemaconvenientwirelessdatatransmissionmethod.Thissystemhasthefeaturesofsmallvolume,convenienttototeandmeasure,strongstability,highprecisionandfavorableapplyforeground.Soitcanbeusedformanyfieldsasabasicmode.ACKNOWLEDGMENTOnthecompletionofmypaper,Ishouldliketoexpressmydeepestgratitudetoallthosewhosekindnessandadvicehavemadethisworkpossible.IamgreatlyindebtedtomyColleagueMr.Liangwhogavemevaluableinstructionsandhasimprovedmeinlanguage.Hiseffectiveadvice,shrewdcommentshavekeptthepaperintherightdirection.IwouldliketothankmypartnerMr.Wangforhisfriendshipandconstructivesuggestions.TheyconstantlyencouragedmewhenIfeltfrustratedwiththisdissertation.REFERENCES1WangXiaolei,WuBirui,JiangQun,WuBingxin.DesignofGasDensityMonitorandWirelessTransmissionSystemBasedonMSP430.InstrumentTechniqueandSensor.2009(04):76-80.(inChinese)2RenKai,LiangQinghua.DesignofPortableECGMonitorBasedonnRF2401.JournalofLiaoningInstituteofTechnology.2007(06):362-364.(inChinese)3ChenLijuan,ChangDanhua.WirelessDataCommunicationBasedonnRF2401.ChineseJournalOfElectronDevices.2006(01):248-250.(inChinese)4ZhangBiao,HuHui,SunChengguangAdesignofwirelessdataacquisitionmodulebasedon
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 消化道出血健康知识
- 航空航天计算机前景
- 护理专科发展路径
- 《趣味学归纳推理|让课堂告别枯燥 爱上学习》
- 职业生涯规划引言
- 金属门窗工程公司市场策划述职报告
- 会计助理工作总结(14篇)
- 环评考试题解析及答案
- 肌腱损伤试题及答案
- 2026江苏南京大学新闻传播学院准聘长聘岗位(事业编制)招聘2人笔试题库附完整答案详解【有一套】
- 天津英华国际学校人教版五年级下册数学期末测试题
- 北师大版九年级数学下册 第二章 二次函数复习题(课件)
- 江苏省苏州相城区苏州大学实验学校2023-2024学年小升初七年级上学期分班考英语试卷(含答案)
- 清华大学实验室安全教育考试题库(全)
- 西安交通大学工程热力学考研考点精编(含历年真题解析)
- SL703-2015灌溉与排水工程施工质量评定表
- DB1410-T 110-2020 地震宏观观测网建设和管理要求
- 七年级数学期中考试质量分析
- 叠合板施工技术交底57948
- 航理ppt课件 7-1概述及航空活塞动力装置-1
- 江西省食品小作坊登记申请表优质资料
评论
0/150
提交评论