




已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
TheEighthInternationalConferenceonElectronicMeasurementandInstrumentsICEMI2007ResearchontheIntelligentDisplayInstrumentforConstructionMachineryBasedonEmbeddedRTOSXuChuanpeiLiZhiHuCongWangWeiDept.ofElectronicEngineeringGuiLinUniversityofElectronicTechnology,Guilin,541004China)Abstract:Takingtheintelligentwheelloaderasaninstance,thispaperresearchesontheintelligentdisplayinstrumentforConstructionMachinerybasedonembeddedRTOS.AstructureofembeddedsystembasedonRTOSisproposed,anddesignsofboththehardwareandsoftwarearecompleted.ThesystemtakestheTMS320LF2407AchipoftheTIasthehardwareplatform,andthereal-timeoperatesystemofC/OS-asthesoftwareplatform;completesreal-timemonitoringandmanagementoftheconstructionmachinerybytheCANbuscommunicatingwiththemaincontroller.Keywords:EmbeddedSystem;C/OS-;TMS320LF2407A;CANBus;DisplayInstrument1IntroductionTheconstructionmachinerydisplayinstrumentistheimportantinterfacebetweenthedriverandtheconstructionmachinerytocommunicateinformation,whichplaysavitalroletotheconstructionmachinerysecurityandtheeconomy.Inrecentyears,alongwiththeconstructionmachineryelectronictechnologydevelopment,theinformationwhichdisplayedontheconstructionmachineryinstrumentisunceasinglyincreasing.Thetraditionalmechanicalindicatorforconstructionmachinerycombinationinstrumentismoreandmoreunabletomeettheactualneeds.Particularly,withthecomputer,themicroelectronanddifferentkindsoffieldbuscommunicationbecomewidespreadapplications,takingtheembeddedmicroprocessorasthecoreintelligentdigitaldisplayinstrumentwouldbeaninevitabletrendfortheconstructionmachineryinstrumentdevelopment.Thispapercombinesthereal-timeembeddedtechnology,theCANbustechnology,thetouch-screentechnologyandtheGPSpositiontechnologytogethertoapplytotheconstructionmachineryLCDmonitor,withthewheeledloaderastheresearchobject,andresearchesontheintelligentdisplayinstrumentforconstructionmachinery.2SystemArchitectureThearchitectureoftheonboardintelligentdisplayinstrumentsystemiscomposedofthepowersourcemodule,theDSPmodule,theLCDmodule,themechanicalkeyboardmodule,thetouch-screenmodule,theGPSorientationmodule,theADsupplementallightingsamplemodule,theCANcommunicationinterfacemoduleandthesoundalarmingmodulesetc.,whichareshownasfigure1.TMS320LF2407AControllerC/OS-IIRTOSPowersourcemoduleADmoduleSupply-lightingsampleMechanicalkeyboardmoduleCANmoduleWheeledloadermaincontrollerSCImoduleGPSPositionmoduleLCDDisplayTouch3.3V-5VlevelisolateTurning-lampsampleOpto-isolateTurningcontrolSoundalarmingmodulesFig.1IntelligentDisplayInstrumentSystemArchitectureThepowersourcemoduledealswiththevehicle+24Vpowersourcewiththefilterconditions;removesthepossiblenoises,outputsforthemaincontrollermoduleandtheLCD.Thepowersourceis4-8241-4244-1135-1/07/$25.002007IEEE.Authorizedlicenseduselimitedto:JILINUNIVERSITY.DownloadedonDecember17,2008at06:08fromIEEEXplore.Restrictionsapply.TheEighthInternationalConferenceonElectronicMeasurementandInstrumentsICEMI2007transformedto+3.3Vand+5VconstantvoltagesupplypowerforothermodulesintheLCD.TheDSPmoduleincludsTMS320LF2407Achip,extendprogramanddatamemory,resetchipetc.,whichisthehardwareplatformofthisembeddedreal-timeoperatingsystem.TheLCDdisplaymoduleisthehumanmachineinterfaceusedfordisplayingallkindsofstatusinformationofthewheeledloaderwhichistransmittedthroughtheCANbus.Themechanicalkeyboardandthetouch-screenaretheinstrumentstoachievetheoperatorcontrollingandmonitoringwheeledloaderwithallkindofstatusintime.TheGPSpositionmoduletransmitsthewheeledloadergeographicalpositioninformationtothedisplayinstrumentaboutthewheeledloaderthroughtheSCI.Thedisplayinstrumenttransmitstheinformationtothemaincontrollerforprocessingontime.Consequently,thelong-distancesupervisorcentercanreal-timequerythewheeledloadersworkingpositionbytheGPRSwirelessnetwork.Whenthelighteningofthewheeledloadersworkingenvironmentisinsufficient,theADsupplementallightingsamplemoduleautomaticallyopensasupplementallighttostrengthenthebrightness,whichisconvenientforoperatorcontrolling.TheCANbusmoduleisthekeyforthedisplayinstrumentandthewheeledloadermaincontrollercommunication.ThedisplayinstrumentcouldgetallkindsofoperationalparametersandthedataoftheentirewheeledloaderonlythroughtheCANcommunication,andcouldcontrolthewheeledloadertocarryonthecorrespondingfunctionaloperations,whichisakeypositiontoconnectthedisplayinstrumentandthemaincontroller.Whenthewheeledloaderworkswithsomefaults,thedisplayinstrumentcouldpromptalarmsbythespeechalarmingmodule,whichcouldinformtheoperatorimmediatelytocarryonprocessingtothesefaults,thusmayavoidgreateconomicloss.TheembeddedsystemsoftwareachievestointelligentLCDmonitoronthewheeledloaderandinteractdatawiththewheeledloadermaincontrollerbasedonthisplatformofhardwarefunctionmodule.3SystemHardwareDesignThedisplayinstrumentisresponsiblefordisplaying,monitoring,processingandcontrollingofallkindsofparametersofthewheeledloadermaincontrollerwhicharereceivedfromtheCANinterface.Accordingtothefunctionsoftheintelligentdisplay,itcanbedividedintofollowingmodulecircuitstodesign:1)TheprocessorofTMS320LF2407Amaincircuit(includestheCANinterface);2)Keystrokegatheringcircuit;3)Touch-screenmodule;4)Powersourceprocessingmodule;5)GPSpositionmodule;6)Liquidcrystalinterfacecontrolcircuit;7)Speechchipcontrolcircuit;8)Distinctionchangescircuitetc.Theschematicsystemhardwareisshownasfigure2.TMS320LF2407AextendprogramanddatamemoryAddBusDataBuswheeledloadermaincontrollerCANLevelisolation74LVTH245LCDTouchIOGPSSCIMechanicalKeysSupplementallightingturning-lampsampleADCopto-couplerSCICANIOADC1IOPOWERFig.2SchematicsystemhardwarecircuitAccordingtothesystemhardwareplatform,dividetheresourcesontheplanofthemicroprocessorDSPLF2407A:1)1channelADinput,usestheon-chipADCmodule(ADC1);2)12mechanicalkeystrokesampling,achieveswithIOPE0IOPE7andXINT1;3)2channelswitchinputs(left-rightturnsignallamp),usestwoIOport;4)CommunicationwithGPSusingon-chipSCImodule;5)CANbusinterface,usingon-chipCANcontroller;6)ControlofthespeechchipwiththeIOport;4-825Authorizedlicenseduselimitedto:JILINUNIVERSITY.DownloadedonDecember17,2008at06:08fromIEEEXplore.Restrictionsapply.TheEighthInternationalConferenceonElectronicMeasurementandInstrumentsICEMI20077)Thedatamemoryandtheprogrammemoryextendinterface(D0-D15,A0-A15);8)TheJTAGsimulationinterface,thecrystaloscillatorclockinput,resetsignal,thepowersourcepinetc.BecausetheTMS320LF2407Aworkson3.3Vvoltage,inordertoavoidleveltransforming,thesystemusestwopiecesofCY7C1021CV33chipswhichmadeinCypressCorporationtoexpandsystemexternalmemoryspace.CY7C1021CV33isoneofthe64Kbyte,16bitstaticRAM,3.3Vpowersupply.InordertoadapttheDSPofTMS320LF2407A3.3Vworkingvoltageandsatisfythelowpowerconsumptionfeatures,SN65HVD232isselectedforCANbustransceiverofTICorporation.ItisonekindofCANbusdevicewith3.3V/5Vmixedvoltage.Thistransceiverfeaturesasflows:thesignaltransferratecanachieve1Mbps(signaldistanceis40m),andquitelowmaintenancecurrent.Thusitusesforquiteideallylowpowerconsumption.InthedesignusingthisCANbustransceivertocommunicatebetweenthedisplayinstrumentandthemaincontrollerofintelligentwheelloader.Inthedesign,consideringthatitmustcontrolandprocesstheheadandtailrainwiper,theheadandtaillamp,thefrontheadlamp,thesprayingofwater,thesmalllamp,theworkpump,theparking,thenamelysentinformation,thealarminformation,themenuoperationofthewheelloaderetc.,12mechanicalkeystrokearedesignedinthissystemactingasman-machineinteractionmethodforthedisplayinstrumentandthewheelloadermaincontrol.Aftertheoverallevaluation,CM320240-7SLYBofShenzhenBrilliantCrystalTechnologyCO.LTDisselectedfortheliquidcrystalmodule.ItisasectionproperattentiontobothChineseandEnglishwritingandthecartographypatternspotmatrixliquidcrystaldisplaymodule,thebluecolorbacklight,includebuild-in512KBytetheROMglyphcode,candisplayChinesecharacter,numericcharacter,Englishletter,Japaneseletter,Europeanletteretc.,andincludesbuild-inTwoPagedisplaymemory.Inthecharacterpattern,itcanreceivethestandardChinesecharacterencodingtodisplayChinesedirectly,butdoesnotneedtoenterthecartographypatterntodepictChinese.Itcancutmuchmicroprocessortime,promoteliquidcrystaldisplayChineseefficiently.Itsupports4/8of6800/8080MCUinterface,includebuild-in8*8keyboardscanningKeyScan,supportscreenrollsuphorizontallyandrollsupvertically,insidesitconstructs512ByteSRAMtobepossibletomakethecharactercustom,providetheChineseandEnglishcharacteralignandinside10-BitADCsupporttouch-screenapplication.Becauseofthoseadvantages,soweusedtheRA8803withitstouch-screenfunctionforthetouch-screenfunctionprograminthedesigns.WhentheprocessorofLF2407Aworksin40MHz,itcanresultintimingconfusionbecausetheRA8803workingfrequencycannotfollowDSPworkingfrequencybyfar.Consideringtheabovefactor,IOPBofDSPisselectedasthedatalineconnecttoLCDdataportDB0DB7,usingIOofIOPFastheLCDtimingcontrolwiretooperatetheliquidcrystal.Althoughitsspeedisslow,itcanguaranteethesystemwithstability.4SoftwareDesignoftheSystemThetaskdivisionandthepriorityassignmentarebasedonthefunctionrequirements.Thefunctionsofthedisplayinstrumentrequiredaregivenasfollows:Itshouldgainthereal7-timedata,faultinformation,remindingmessages,shortmessagesbycommunicatingwiththemaincontrollerofthewheelloader,andthendisplayonLCD;8Sampleskeystrokeofmechanicalkeyboard;controlsthemaincontrollertocarryonthecorrespondingoperationthroughdifferentkeystrokeinformation.9OnechannelADsample.SamplesonechannelanalogvaluethroughtheDSPADCfunction,thatistosay,itcarriesonmakinguplightgathering:wheninsidecablightisinsufficient,thelightlampisturnedonautomatically;:Touch-screeninformationgathering.Thetouch-screenfunction,insteadofthemechanicalkeyboard,canfacilitatethedrivermuchbetterto4-826Authorizedlicenseduselimitedto:JILINUNIVERSITY.DownloadedonDecember17,2008at06:08fromIEEEXplore.Restrictionsapply.TheEighthInternationalConferenceonElectronicMeasurementandInstrumentsICEMI2007operating.Accordingtothewheelloaderoperator;soperationinformation,aturningdirectionisdecided,andthenlightentheturninglampasthecorrespondingchanges.Accordingtothedriver,thecontrolcommandshouldberespectivelysenttothemaincontrollerofthewheelloaderandtheexecutivecomponentsoflight,rainblows,andbrake,thenthedisplayinstrumentshouldreadthefeedbackandjudgetheexecutingimplementationworkingconditions.=ItshouldgainthelatitudeandlongitudeinformationbytheSCIcorrespondencebetweenthedisplayinstrumentandtheGPSmodule,anduploadtimingtostoretheinformationinthemaincontrolleraccordingtothedemand.Task4,systeminitializationincludesstartingthesystemclock,systeminitialization,initializationkeystrokegainingprocedure,thetouch-screenfunction,thefaultinformationpointertable,startingalarmfunction.Thedividingreasonisgivenasfollows:TheC/OS-IIclockTICKinterruptiscompletedbythereal-timeclock,butthe2407chipdoesnothavethistimer,soitshouldusegeneraltimerT1tocomplete.Thefollowingtipsshouldbepaidattention:ClearinterruptflagintheTICKinterrupt.7thetimershouldbestartedupinthehighestpriority8duty,ifitisstartedupbeforeOSStart()starts,thesystemwillcollapse.Thefunctionsofkeyboardsample,touch-screenandsoonaffectthelateroperationdirectly.Andthefaultinformationtablesaffectthefollowingfaultdisplaying.Ifthealarmflagisopened,itcangivethespeechalarmforthefaultofthewheelloaderatthefirsttime.Allofthesebelongtoaninitializationpart,andneedtobestartedbeforeothertasks;thereforewegroupthemasawholetask.Task5,taskforCANcommunication.Ifthedisplayinstrumentnormallylinkswiththemaincontroller,itgetsallkindsofparametersofthemaincontrollerimmediately,andshowsdynamicallyonLCDafterbeingprocessed.Thedivisionreasonsareshownasbelow:Accessingandupdatingthereal-timeofthemaincontrollerdataisveryimportanttotheoperators.Theoperatorsneedtogetthestatesofthemachineintime.Therefore,thecommunicationbetweentheCANbusandthemaincontrollerisessentialtothedesign,sowetakeitastheonlyinferiortasktoopeningtheclock.Task6,taskforsupplementallightingsample.Forty-eightLEDswouldautomaticallyturnontohelptheoperatorsbyimprovingtheintensityoflightwhenthewheelloaderisworkingatlightinsufficientlyorinthedark.Itopensanalarmattheendofthetask.Theworkingconditionofwheelloaderisgenerallysobadthatthelightiscomparativelydim,sowetakethetask6asanindependentmoduleandg
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 抽水蓄能与其他储能方式的协同优势
- 小麦白粉病抗性育种的群体遗传学分析
- 创新引领未来之路
- 多元协同推进学院建设风险管理评估
- 2025学校食堂厨师聘用合同
- 护理管理提升班
- 2025标准购房合同模板下载
- 大肠改道造口护理
- 2025至2030年中国德式钳工锤行业投资前景及策略咨询报告
- 2025至2030年中国彩色转黑白红外摄像机行业投资前景及策略咨询报告
- 2025年导游资格证考试笔试模拟试卷:旅游法规与政策解读与应用案例试题
- 中小学学校德育工作管理制度汇编
- 混凝土浇筑清包合同范本
- 2025-2030中国军用无人机行业市场现状供需分析及投资评估规划分析研究报告
- 生子前签协议书
- 2025年中国工装治具市场调查研究报告
- 收购烂尾楼可行性研究报告
- 加装电梯补偿协议书
- 人教版小学语文五年级下册复习材料
- 2025年国际贸易实务课程考试试题及答案
- 爆炸事故赔偿协议书
评论
0/150
提交评论