上海交通大学硕士学位论文带CAN总线的汽车智能前照灯系统设计姓名:郑志军申请学位级别:硕士专业:电气工程指导教师:唐厚君20070901286200710183862007101820071018CAN486AFS(AdaptiveFrontlightingSystem)CANCANCANECER48AFSCAN586DesignofAdvancedFront-LightingSystemBasedonIn-VehicleNetworkAbstract:Lamps’lowbeamasatraditionalroaddrivinglighting,itcouldworkonlyinonemodewhichisexactlyanimmovablelightshape.Buttheactualroadsurroundinganddrivingconditionareextremelycomplex,forexampleroadcorners,deviousroads,thedifferencehighnessofroads,numberofthepassengers,luggageloadandspeedup-downchanging.That’swhythetopic,traffic-safetybecameabigproblem.Withtheautoelectronictechnologydeveloping,therequirementsfrompeopleofdrivinginthenightareraisingup.So,atthebeginningofthecentury,themorehumanlysystem-Adaptive,FrontlightingSystem(AFS)becamethemostoffamouscarmakers’investigationfavorwhichcanmatchtherequirementsmuchbetter.Recentyears,theapplicationofautobustechnologygetsmoreattentionanditiswidelyusedinordertopredigestauto-bodywiring.BaseonthecombinationofbustechnologyandAFS,thisarticleinvestigatesthetopologynetwork,hardwareandsoftwaredesignofAFSwithbusmode.AndacompleteAFSwhichbasedonCANbusisdesignedinmyarticle.Thisarticleintroducedthebeginning,developingandapplicationstatus,thenIanalyzedtheconstitution,functionandworktheory.Afterthedevelopmentofauto-bodynetworknowadayswasintroducedindetail,theAFSbasedonCANbuswasdesigned.Themoduleofdatacollection-process,motordrive,CANcommunicationandfailurediagnostication-processareincludinginthesystem.Inthesectionabouthardware,therearesensormodule,powermodel,controllercircuit,motordrivemodule,failurecheckcircuitandhardwareprotectioncircuit.Inthesectionaboutsoftware,thereisawholesystemflowincludingbasicprogram,applicationprogram,arithmeticprogramandsoon,allaboverealizedacompleteauto-bodycommunicationsystem.FromtheAFStestresult,wegottheconclusionthatthissystemcanrealizenotonlyup-downandleft-rightadjustcontrolbutalsofailurediagnosticationfunction.Soallofthesemakesuretoprovidedriversthebestlightinginmanykindsofconditions(speedup,speeddown,upgrade,downgrade,turndirectionandfailuremode),andhelptoavoidingdazzleaswell.Theresultofthetestalsoshowsusthefeasibilityandcorrectnessofthedesign.ThewholesystemcanreachtherequirementsofECER48forlighting.Attheendofthearticle,thereissummarizeforthetopic,therearealsosomequestionswhichhaven’tsolvedyet,Ithinktheycouldbetheideasforimprovingthesysteminthefuture.Keywords:AFSauto-bodynetworkCANbusintelligencepowermodulefailurediagnostication8861.1[1]1.2.:3.:4.,,90%,,30[2]70,9864AFS(AdaptiveFrontlightingSystem)1.2.3.4.1.2AFS2003“”Pre-AFSAFSECE,SAE[2]“”1110861-1AFSFig.1-1LightingKomparationAFSheadlampandtraditionalheadlampAFSAFS1.3AFSAFSA85CLSEMB6RX330VARILIS1-21-31-41-51-2Fig.1-2villagelighting11861-3Fig.1-3citylighting1-4Fig.1-4freewaylighting1-5Fig.1-5highbeamlightingVARILISAFS1.GPS12862.LED1W3WLEDAFS10000LED1-6[2]1-6LEDAFSFig.1-6AFSwithLEDaslightsource1.4.CAN1.2.CAN3.TP2.013861486CANCANBENZBMWVolkswagenVolvoCANJ1850CAN2.1CAN[3][4][5]CANControllerAreaNetwork20RobertBosch19862Bosch“”UweKienckeSiegfriedDaisMartinLitschel1990BoschCANCAN2.0“VehicleAreaNetwork(VAN)”199311CANISO11898[5]CAN[6]1MbpsISO11519-2CAN1995ISO1189829CANCANISO11898-1“CAN”ISO11898-2“CAN”ISO11898-3“CAN”ISO11992()ISO11783()SAEJ1939CANCAN152000ISOCANBerndMuellerThomasFuehrerBosch“CAN(TTCAN)”[7]ISO11898-4CAN1586CANX-by-WireCANCAN1.2.CANCAN3.ECUCANKWP200ISO142304.CAN2.2CAN2.0A/CAN2.0BCAN19919PHILIPSCANVersion2.0AB2.0ACAN1.2CAN2.0BCANCAN1129CANCAN2.0CAN[8]zthephysicallayerzCANthetransferlayerzCANtheobjectlayer2.2.1CANCAN2.0CANCAN2.0ACANzCAN2.0AzCAN1686zCAN2.0BCANz(1)(LogicalLinkControlLLC)(2)MediumAccessControlMACMACLLCLLCCANMACLLCLLCLLCz,,CAN/CAN2.0A/B,CAN2.2.2CANCAN7CRC,CAN2.0B11RTRID28ID1829SRRIDERTRID28ID0IDE“”IDE“”SRR“SubstituteRemoteRequestBIT”SRRRTRRTRRTRRTR“1786RemoteTransmissionRequestbit”RTR“”“”/0801/088/CRC15CRC1(“1”)CRCCRCCRC/CANCAN,,(),72-12-22-1Table2-1FormatofStandardFrameCRCSOF11RTRIDER0DLCN×byte16bit2bit7bit2-2Table2-2FormatofExtendedFrameCRCSOF11SRRIDE18RTRR0R1DLCN×byte16bit2bit7bit6CRCRTR“”08RTRRTR“”RTR1886“”CANCRC5zACK“”——“”“”zCRC6a5b5zCRCCRCCRCCRCCRCCRCzCRCzACK“”CANTECRECCANCANRECTEC128127TEC25512811“”“”0“”2.2.3CAN1986=1/zSYNC_SEG:msCANzPROP_SEG1-82×z1PHASE_SEG11-8z2PHASE_SEG21124CANCAN42z1z224[9]CANBITTIME=SYNC_SEG+PROP_SEG+PHASE_SEG1+PHASE_SEG220863.1AFS2003“”Pre-AFSAFSECE,SAE“”43-1AFS3-1AFSFig.3-1LightingKomparationAFSheadlampandtraditionalheadlamp17.3-23-2AFSFig.3-2AFSsystemwithstasticbendinglight2186AFS1.2.3.4.AFS5.6.ABS7.8.AFSAFS3-3:3-3AFSFig.3-3composingofAFSsystem3.23-422863-4AFSFig.3-4DiagramofAFSsystemAFSAFSAFSAFS3.3CAN500KAFSCANCANCANAFSAFSAFSCANAFSCAN3-5AFSAFSAFSAFSAFSABSAFSAFSAFSAFSAFSAFSAFSAFSABSAFSAFS23863-5AFSFig.3-5networktopologicalstructureframeofAFSsystemCAN3-63-6CANFig.3-6sketchmapofCANbussystemstructureandcontrol3.4AFSCANBUSAFSAFSAFSAFS/AFSCANBUSAFSAFSAFSAFSAFS/AFS2486Αmax≤sin1100*H/2*R3-7[11]3-7Fig.3-7maximumturningangleoflighting65cm,3-83-8AFSFig.3-8relationgraphofAFSsystem’sturningradiusandturingangle3-925863-9AFSFig.3-9turningcontrolc