节点文献
发动机标定数据管理系统开发
The Development of Engine Calibration Data Management System
【作者】 周洋;
【导师】 侯献军;
【作者基本信息】 武汉理工大学 , 动力机械及工程, 2013, 硕士
【摘要】 标定系统是对电子控制单元进行检测、标定和诊断的工具,随着现代电子控制技术的发展,标定系统的研究越来越受到人们的重视。目前,国外出现了很多功能完善、自动化程度高的标定系统,而国内由于研究时间短,开发经费不足等原因,尚未开发出一套成熟的标定系统。鉴于这种情况,本文对标定系统的核心部分——标定数据管理系统进行开发,对标定系统的建立有着重要的意义。首先基于ASAM标准分析,从数据储存、数据通讯、数据文件解析、数据更新和数据传递等五个模块对标定系统数据管理系统进行开发。基于ASAM1标准的分析,开发硬件系统及底层驱动程序,并介绍外部接口参数模块,分析数据通讯模块信息,完成数据通讯模块的开发。其中底层驱动程序的开发包括CAN驱动程序开发和CCP驱动程序开发,CAN驱动程序开发包括CAN初始化程序开发、CAN发送程序开发和CAN接收程序开发。CCP驱动程序开发包括命令处理模块程序开发和DAQ处理模块程序开发。标定数据切换功能是数据存储模块的核心部分,基于标定参数数据格式及电控单元存储区的分析,合理分配标定参数存储区,提出“全局变量”和“双参数区”切换方案实现在线标定,介绍标定参数模块,分析数据存储模块信息,完成数据存储模块的开发。然后运用Visual C++6.0开发工具,开发电子控制单元描述性文件——A2L文件和S19文件解析器。在A2L文件解析器开发过程中,将A2L文件分成两部分——具有固定格式的标准模块和格式不固定的A2ML模块及IF_DATA模块,分别进行解析。在S19文件解析器开发过程中,简要介绍S19文件的内容,在对A2L文件解析的基础上,完成对S19文件的解析。最后配置CCP命令组,从标定功能模块、数据监测模块和FLASH数据更新模块三方面建立标定系统功能模块,对数据更新和数据传递进行分析。在标定功能模块中,主要对CCP协议逻辑连接命令组和标定数据初始化命令组进行分析。在数据监测模块中,主要对查询模式命令组和DAQ数据上传模式命令组进行分析。在FLASH数据更新模块中,主要对FLASH数据更新命令组进行分析。
【Abstract】 Calibration system is the tools for testing, calibration and diagnostics of electronic control unit. With the development of modern electronic control technology, more and more people pay attention to calibration system research. At present, there are many calibration systems with perfect functions, high degree of automation abroad, but a mature calibration system has not yet been developed because of the short research time or inadequate development funds at home. Given this situation, this paper is the devolpment of calibration data management system which is the core part of the calibration system, it is important for the establishment of calibration system.First, based on the analysis of ASAM standard, the calibration system data management method is researched in five aspects which are data storage, data communication, data files parsing, data update and data transmission in this paper. Based on the analysis of AS AMI standard, the hardware and driver are devolped, the external interface parameter module is introducesed, the information of data communication module is analysised. Above all, the development of data communication module is completed. The development of driver program includes development of CAN driver and CCP driver development. CAN driver development includes the CAN initialization program development, CAN sending program development and CAN receiving program development. CCP driver development includes command processing module program development and DAQ processing module program development. Calibration data switching mechanism is the core part of the data storage module. Based on the analysis of calibration data format and ECU storage areas, the storage area of parameter calibration is reasonably devolped, the "global variable" and the "double parameter areas" switching schemes are put forward to realize on-line calibration, the calibration parameters module is introduced, the data storage module information is analysised.Above all, the development of data storage module is completed.Then, using Visual c++6.0development tools, the parsers of description file of Electronic control unit—A2L file and S19file are developed. In the parsing process of A2L file, the A2L file is divided into two parts—the standard modules that were fixed formatted and A2ML modules or IF DATA modules that weren’t fixed formatted to parsed. In the parsing process of S19file, The content of S19file is introduced briefly, on the basis of A2L file parsing, complete the S19file parsing.Last, configuring CCP command groups, the data update and data transmission are built from the calibration function module, data monitoring module and FLASH data update module. In the calibration function module, CCP protocol logical connection command group and the calibration data initialization command group are analyzed mainly. In data monitoring module, the polling mode command group and DAQ data upload command group are analyzed mainly. In the FLASH data update module, the FLASH data update command group is analyzed mainly.
【Key words】 Electronic control unit; A2L file parsing; On-line calibration; Calibrationparameters;