已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 【数学】有序数对同步练习 2023-2024学年人教版数学七年级下册
- 安徽省芜湖市2023-2024学年八年级下学期期中地理试题
- 人力资源管理基础技能(含活页练习册) 课件 4任务四 实施培训
- 《西晋的短暂统一和北方各族的内迁作业设计方案》
- 《大树和小草导学案-2023-2024学年科学教科版2001》
- 运动鞋项目节能评估报告
- 纤维板项目人力资源分析报告
- 2024重庆市缙云教育联盟高三下学期3月月考地理试题和答案
- 大学学生迟到检讨书(集合15篇)
- 河道紧急避险专项预案
- 英汉汉英笔译知到章节答案智慧树2023年内蒙古工业大学
- 2023年西藏自治区就业援藏江苏省招聘笔试参考题库附带答案详解
- 16个露天煤矿事故案例
- 初中语文学教评一体化:理论与实践课件(共105张ppt)
- 成都市某排洪渠监理规划
- 西安某大型国际会议中心工程施工组织设计
- EICAD纵断面设计与绘图部分使用说明
- 四川省建设工程天府杯奖材料申报书及影像资料(全套)
- 人教部编版道德与法治四年级下册9《生活离不开他们》第二课时《感谢他们的劳动》说课课件
- 农民工工资代付款三方协议模板
- 矿山环境恢复治理表格(参考模板)
评论
0/150
提交评论