基于嵌入式平台的智能小车控制器的设计的外文文献与翻译.docx
- 文档编号:6443193
- 上传时间:2023-01-06
- 格式:DOCX
- 页数:6
- 大小:22.48KB
基于嵌入式平台的智能小车控制器的设计的外文文献与翻译.docx
《基于嵌入式平台的智能小车控制器的设计的外文文献与翻译.docx》由会员分享,可在线阅读,更多相关《基于嵌入式平台的智能小车控制器的设计的外文文献与翻译.docx(6页珍藏版)》请在冰豆网上搜索。
基于嵌入式平台的智能小车控制器的设计的外文文献与翻译
DesignofanIntelligentCarController
BasedonEmbeddedPlatform
LiuGangZhangQingyuWangYanlin
(KeyLaboratoryofModernMeasurement&ControlTechnology(BeijingInformationScience&TechnologyUniversity),MinistryofEducation.)
(BeijingInformationScience&TechnologyUniversityBeijing100192China)
Abstract:
ThepaperpresentsadesignofanintelligentcarcontrollerusingembeddedARM7chipsascorecomponent.Modularmethodhasbeenappliedinthedesignofthehardware;thepaperfocusesonlayoutoftrackingcircuitforthecaranddesignideasforthesoftware.Theexperimentresultprovesthatthedesignedintelligentcarisstableinoperationandgoodintrackingperformance.
Keywords:
ARMIntelligentTracking
1、Introduction
Inthe21stcentury,withdevelopmentofscienceandtechnology,researchesonintelligentcaranditscorrelativetechniqueshavebecomethefocusinthisfield.Aimingtoenhancepracticalability,innovation,andteamworkperformanceofcollegestudentsacrossthecountry,theEducationDepartmentsponsoredNationalUndergraduateIntelligentCarContest.Basedonthebackground,thepaperintroducesthedesignofmultifunctionalintelligentcarcontrolleronembeddedplatform,includingdesignofhardwarecircuitandsoftwareimplementationforkeyfunctionalmodules.
2、Designofhardware
Byfunctionandapplication,thecontrollingplatformfortheintelligentcarisdividedintoseveralmodulesasshownbelow.
2.1Designofcoremodule
AT91SAM7S256microprocessorproducedbyATMELhasbeenadoptedforthecontrollerofthecar,whicha32-bitlow-powerRISCmicroprocessorchipbasedonARM7TDMI-Score,andembeddedwith64KBSARM,256KBhigh-speedFlashandJTAGportfordownloadingordebuggingoftheprogram.Asthecorecomponentofthecar,themicroprocessorplaysakeyroleincontrollingallrunningstatusesofthecar.PWMgeneratingmoduleinsideitcanbechangedutycycleofoutputtedsquarewavebyprogramming,andthuschangethevoltageloadedontheDCmotor,whichisamplifiedtocontroltherevolutionspeedofthemotor.TheportsPA0,PA1,PA2andPA3ofthePWMmodulerespectivelycontroltheDCmotorandthesteeringmotortoperformfunctionssuchasgoforward,retreatandturnetc.
2.2Designofpowermodule
ThecarispoweredbyfourAAdrybatteries.Thevoltageisoutputtedthroughlow-NoiseLDOregulatorMIC5209-3.3tosupplypowerforARM7chipsandperipheralcircuits.TheworkingcurrentofMIC5209-3.3isashighas500mA.Wheninputvoltageisabove3.5V,themoduleofMIC5209-3.3canoutputstablevoltageof3.3Vandachievelowpowerconsumption.
2.3TemperaturedetectionModule
Mono-linedigitaltemperaturesensorDS18B20isusedtodetecttemperatureinthecar.Themeasurerangeisfrom-55℃to+125℃,withincrementof0.5℃.Itislowinpowerconsumptionandsmallinsize,occupyingonlyoneI/Oport.
2.4Autotrackingmodule
2.4.1Principlesfortrackingofintelligentcar
Trackingmeansthatthecargoesalongthetwo-centimeter-wideblackguidelineonthewhitefloor.Infraredacquisitionandcamerashootingacquisitionarecommonlyusedforit.
Infraredacquisition:
Takingadvantageofthefeaturethatinfraredlightcanchangeitsreflectivequalityaccordingtoobjectsurfaceofvariouscolors.Duringrunningthecarcontinuouslysendsinfraredlighttotheground,whichwill,eitherbereflectedbackbythewhitefloorandreceivedbythereceivingtubeinthecar,orbeabsorbedbytheblackguidelineandthusmissedbythereceivingtube.Bythismeanstheblackguidelineispositionedtoidentifythepathforthecar.
Camerashootingacquisition:
Incertainresolutionsampletheimagebyinterlacedscanning.Whenscanningapoint,imagesensortransfersthegraythresholdintocorrespondingvoltagewhichwillbeoutputtedviavideosignalport.Asthecarachievesautotrackingbyrecognizingtheblackguidelineonthetrack,theimageprocessingisaprocessofextractingthedestinationguideline.Thetaskofimageprocessingprogramistoidentifythedotsintheblack-and-whiteimageandfilternoise,recorddotpositionsrelativetotheimage,andfinally,byalgorithmofcontrolstrategy,realizetrackingandturningofthecaralongtheguideline.
2.4.2Installationoftrackinginfraredprobe
Choosingproperdetectionmethodandsensoristheimportantfactortoachievetracking.Herewechooseinfraredacquisition.Correctinstallationofdeviceisalsoadecisivefactorforaccomplishmentoftrackingcircuit.Intermsofsimplicity,easiness,practicalityandreliability,fourinfraredprobesneedbeinstalledonthefrontchassisofthecartofulfilltwo-stageddirectionalcorrectioncontroltoenhancethereliabilityoftracking.Fourtrackingsensorshavebeenfixed,allinoneline,amongwhichL1andR1areprimarysensorsfordirectioncontrol;L2andR2aresecondarysensors.Thedistancebetweenthetwoipsilateralsensorsshouldnorbemorethanwidthoftheblackdirectioncontrol.Whenthecarisrunning,theblackguidelineisalwayskeptrightbetweenthetwoprimarysensorsL1andL2.Whenthecargoesofftheblackline,theprimarysensorsdetectit,andthustheARM7chipdetectleveljumpandexecutethepre-preparedcorrectionprogramtonavigatethecarbackontothetrack.Thesecondarysensorsareactuallyaback-upfortheprimary.Oncethecaroffsetsthetrackforinertia,beyondthereachofdetectionoftheprimaryprobes,thesecondaryperformtocorrectthemotionofthecar,soastoensurethereliabilityoftracking.
3Designofsoftware
ThesoftwareisdevelopedinClanguageinKeilUvision3IDE,debuggedanddownloadedinJ-LinkARMemulator.J-LinkisaJTAGemulatorwhichwasbroughtoutbySEGGERinUSAtosupportemulationchipswithARMcore.ItworkswithIDEssuchasIAREWARM,ADS,Keil,WINARM,andRealView,supportsallARM7/ARM9corechipssimulation,andseamlesslyconnectswithvariousIDEbyRDIinterface.Easytooperateandtoconnectto,itisthemostpracticaltoolforstudyanddevelopmentofARM.
Thekeyforthedesignofsoftwareliesinthecontrolprocessoftracking.ThesensorsareequippedwithE3F-DS10C4integratedinfraredprobeswithphotoelectricswitch.Thereareonlythreewires(powerwire,groundwire,andsignalwire)attheoutputpinofthemodule.ConnectthesignalwiretoI/OportofARM7chip,andexecuteenquirycheck.Lowlevelwillbedetectedfortheblackguideline,whilehighlevelforthewhitefloor.Accordingtotheprinciplesstatedabove,flowsofthealgorithmforcontroltrackingofthecar.Two-stagecontrolmethodisadoptedtoensurethecar’sadherencetotheblackguideline,andtheeffectissatisdied.
4Debuggingofthefinishedcar
Basedonthedesignschemepresentedabove,finishmakingofPCBboardforhardwarecircuitofthecar,weldingofcomponents,anddebugginganddownloadingofthesoftware.TestthecarforseveraltimesonthetrackmadeofwhiteKTboardinthemiddleofwhichatwo-centimeter-wideblackguidelineispasted.Theresultshaveshowedthat,thecarrunssteadilyevenatahighspeedalongstraightblackguideline.Whenaroundthecurve,ifcontrolthespeedproperly,thecargoessmoothlyaswell.Twopiecesofexperienceasshownbelow:
(1)E3F-DS10C4photoelectricsensorshouldbefixedasclosetothegroundaspossibletominimizetheinterferenceofenvironmentallighttoit.Verticalheightofthesensorhadbetterbe5~8mm.Toofardistancefromthegroundcausesweakreflectivesignalandunstableoutputofuplevelsignal;tooclosedistancemaydamagethesensorandintensifytheeffectofdiffusereflection.
(2)DuetocommonDCmotoradoptedforit,thecontrolofthecarisnotaccurateandstableenoughtoperformabreakturnunlessseveralsamephotoelectricsensorsareaddedtothebottomofthecar.
5Conclusion
Intelligentcarisafrontsubjectwhichhassynthesizedmanyothersubjectsandhasawidely-appliedprospect.ItparticularlyhelpstodevelopthepresentChineseundergraduates’imagination,practicalabilities,teamawareness,andhi-techinnovationcapacity.
References
[1]WuBinghua,HuangWeihua,ChengLeiamongothers,SystematicDesignofIntelligentCarBasedonRouteIdentification[J].ApplicationofElectronicTechnique,2007(3):
80-83.
[2]WangChaoyi,WangYihuai.DesignofControlSystemofAutoTrackingCarBasedonInfraredSensor[J];ComputerandAutomationTechniques,2008,34(11):
60-62
[3]LiYi,LuRenYi,&WuTian.IntelligenceTrackingCar[J].ElectronicTechniques,2008,45
(1):
39-41
[4]WenQuangang,PrinciplesandApplicationofEmbeddedSystemInterface[M].Beijing:
AeronauticsandAstronauticsUniversityPress,2009
[5]G.C.Hua,F.C.Lee.Soft-switchingtechniqueinPWMconverter[J].IEEETrans.onIndustrialElectronics995.42(6):
595-603.
AuthorBiography
LiuGang:
(1963-)male,seniorengineer,receivedhisBachelor’sdegreefromBeijingUniversityofAeronautics&astronauticsin1991,mainresearchdirection:
computermeasurementandcontroltechnologyete
基于嵌入式平台的智能小车控制器的设计
刘刚郑清宇王燕林
(教育部现代测量与控制技术主实验室(北京信息科技大学))
(北京信息科技大学中国北京100192)
摘要:
本论文介绍了智能小车控制器的设计方案。
其所使用的核心元件为嵌入式ARM7芯片。
硬件设计采用模块化方法。
本论文致力于小车跟踪电路的线路图以及软件的设计理念。
实验结果证明,设计的智能小车操作平稳,跟踪性能良好。
关键词:
ARM;智能;跟踪
1.引言
21世纪,随着科学技术的发展,关于智能小车及其相关技术的研究已经成为该领域的焦点。
为了加强全国大学生的实际操作能力,创新思想和团队合作意识,教育部主办了全国在校生智能小车竞赛。
基于这种情况,本论文介绍了嵌入式多功能智能小车控制器的设计方案,包括主要实用模块上硬件电路和执行软件的设计。
2、硬件设计
就功能和应用而言,智能小车的控制平台可分为以下几个模块。
2.1、核心模块的设计
小车的控制器采用了ATMEL生产的AT91SAM7S256微处理器。
该处理机带有一个基于ARM7TDMI-S核心的32位低能RISC微型处理芯片,同时被嵌入了64KBSRAM,256KB高速闪光存储器和JTAG端口以供程序的下载与调试。
作为小车的核心元件,微处理器在控制小车所有运行状态方面起着关键作用。
它里面的PWM生成模块可以通过编程设计来改变输出矩形波的填充系数,并从而改变马达上的电压,增强对马达运行速度的控制。
PWM模块上的端口PA0,PA1,PA2andPA3分别控制DC马达和转向马达来执行一些功能,比如前进,后
退和转弯等等。
2.2、电
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于 嵌入式 平台 智能 小车 控制器 设计 外文 文献 翻译