南京航空航天大学硕士学位论文某型工程车自动检测/代用仪姓名:杨旭申请学位级别:硕士专业:机械电子工程指导教师:杨明20080101i51MAX392CPLDCPLDCPLD//iiAbstractTheautomaticdetectionequipmentcanbeusedtodetectthecircuit-controlsystemofacertainkindofengineeringvehicle.Thedetectionequipmentiscomposedbyfollowingmodules:centralprocessingunit(MCS-51),multi-selector(MAX392),externalinterface.TheexternalinterfaceisexpandedbyCPLD.Thedetectionequipmentcaneasilycollect,processthesignalsanddisplaythem,itprovideaccuracydataandinformationforthemaintenancementoconsulttofixthevehicle.Thisdetectionequipmentcanalsobeusedasasubstituteforthevehicle.Itcouldbeexpandedandbeupdated,andafault-rulesdatabasecouldalsobeestablishedtoprovidemoreandcorrectguidancetomaintenancemen.Thisarticlebeginswithclassificationanddevelopmentofintelligencediagnosisinstrument,arguesexaminationmethodsandprojectsofthesystem,andanalyzesapossibilitythatuseMCS-51ascentralprocessunitanduseCPLDtoconnectelectriccircuitstomaketheMCS-51tobeabletocontrolseveralmoreinstruments.Afterwards,thearticletellsaboutthestructureoftheEngineeringVehicle’selectricity-controlsystemandtheworkprincipleoftheelectricity-controlsystem,thenitgivestheprojectofthedesignofthedetectionequipment.Thepaperintroducesindetailthefunctioncharacteristicsandimportantmethodsofthehardware’sdesignandthemodules’structureofthesoftware,especially,thepaperintroducethefunctionoftheCPLD’ssoftware.Inthemeantime,thearticlealsotellssomeproblemswhichshouldbeavoidandsomemethodsshouldbeusedinthedesign.Thedetectionequipment’sfunctionsoffaultdiagnosisandmaintenanceareverypractical,whichhavebeendemonstratedbythefieldtestandtrial.Keywords:Automaticdetection/substitutionequipment,SingleChipProcessor,Complexprogrammablelogiccontroller,expandedexternalinterface/vi1.1.............................................................................62.1...........................................................................123.1...........................................................................................133.2...................................................................................143.3...................................................................................153.4MCS51..........................................................163.5PLD.................................................................173.6...................................................................173.7...............................................183.8CPLD..........................................................193.9A/D.......................................................................193.10A/D..............................................................203.11A/D......................................................................213.12.........................................................223.13MAX392...................................................223.14..................................................................233.15ST7920................................................243.16.....................................................253.17CPLD....................................253.18.........................................................................................263.19.....................................................................................263.20.................................................................................273.21MC1403....................................283.22ICL7660..................293.23.........................................................................................303.24.................................................................................304.1...............................................................................324.2.......................................................................334.3.......................................................................................344.4...............................................................354.5...........................................................................364.6...............................................................364.7...............................................................................39vii4.8...................................................................394.9MAX+plusII........................................................................414.10CPLD......................................414.11CPLD..............................................414.12.....................................................................................445.1“”...........................................................................465.2...........................................................................485.3MAX813L.............................................................................485.4...........................................................493.1A/D................................................................213.2MAX392...............................................233.4ST7920.........................