您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > 基于XCP协议的ECU测量系统设计
毕业设计(论文)--I摘要随着汽车电子技术的飞速发展,现代汽车系统中加入了越来越多的安全舒适性电控功能。虽然电子控制单元(ElectronicControlUnit,ECU)的数量得到了控制,但是这就意味着要增加单个设备的复杂度来补偿功能的增长。XCP(UniversalCalibrationProtocol)通信协议为这些分布式系统开发过程的合理化做出了重要的贡献,其主要任务包括实时地测量和标定ECU内部变量。该协议继承了CCP(CANCalibrationProtocol),它的一个巨大优势就是与物理传输层无关。本文根据XCP标定系统资源库封装XCP协议,利用API函数对标定测量功能进行描述,屏蔽了功能的实现细节。在ECU的软件开发过程中,应用层只需调用这些接口即可,不需要重复开发。由于标准资源库是基于硬件抽象的标准接口开发,与硬件无关。XCP协议实现的协议层与传输层的相互独立。数据测量(DataAcquisition,DAQ)就是主设备不断获得ECU从设备的采样数据。选用LINUX系统作为开发环境,TCP/IP作为传输层协议。实现主设备基于XCP-ON-ETHERNET的对ECU从设备进行数据测量。【关键词】XCP协议ECU测量DAQ电控单元毕业设计(论文)--IIABSTRACTWiththerapiddevelopmentofautomobileElectronictechnology,moreandmoreElectronicfunctionsforsafetyandconveniencearefindingtheirwayintothemodernautomobile.SincethenumberofECUsisbeingheldincheck,however,thismeansthatthecomplexityofindividualdevicesmustgrowtocompensate.MakinganimportantcontributiontowardrationalizationofthedevelopmentprocessforthesedistributedsystemsistheXCPcommunicationprotocol,whosemaintasksincludemeasurementandcalibrationofECU-internalvariablesatruntime.AtremendousadvantageofthissuccessorprotocoltoCCPisitsindependenceofthephysicaltransportlayer。BasedonthestandardcalibrationresourceofXCP,makeXCPprotocoltothepackage,usingstandardAPIfunctiontodescribefunctionofCalibrationandmeasurement,shieldingthefunctionalimplementationdetails.IntheECUsoftwaredevelopmentprocess,theapplicationlayercansimplycalltheseinterfacesdonotneedtorepeatthedevelopment.Sincethestandardresouceisbasedonthestandardinterfaceofabstractionhardware,hardware-independent.XCPprotocollayerandtransportlayerprotocolindependentofeachother.DataMeasurement(DataAcquisition,DAQ)iscontinuetoreceivethesampleddatafromthedeviceECU.UsingLINUXsystemasthedevelopmentenvironment,TCP/IPasthetransportlayerprotocol.soimplementmeasurementofECUdatafromthedevicetomasterbasedonXCP-ON-ETHERNET.【Keywords】XCPECUMeasurementDAQElectronicControl毕业设计(论文)--III目录摘要.....................................................................................................................................IABSTRACT...............................................................................................................................II前言....................................................................................................................................1第一章基于XCP的ECU测量系统概述...............................................................................2第一节研究背景和意义........................................................................................................2第二节测量系统的发展状况................................................................................................3第三节测量系统的协议发展................................................................................................4第四节本文研究的主要内容................................................................................................5第二章XCP协议分析...........................................................................................................7第一节ASAM接口标准.........................................................................................................7第二节XCP协议特性............................................................................................................7第三节XCP资源需求和性能方面的考虑.............................................................................8第四节XCP协议拓扑............................................................................................................8第五节XCP消息....................................................................................................................9一、消息分类....................................................................................................................9二、基于ETHERNET的消息............................................................................................10三、命令传输对象..........................................................................................................12四、数据传输对象..........................................................................................................12第六节XCP的工作模式......................................................................................................13一、标准通信模式........................................................................................................13二、块传输的通信模式.................................................................................................15三、交错通信模式........................................................................................................16第七节小结..........................................................................................................................16第三章测量系统设计.........................................................................................................17第一节基于XCP协议的从设备状态..................................................................................17第二节XCP协议在从设备端的实现流程...........................................................................18毕业设计(论文)--IV第三节小结.............................................................................................................
本文标题:基于XCP协议的ECU测量系统设计
链接地址:https://www.777doc.com/doc-6226321 .html