首页 | 官方网站   微博 | 高级检索  
     

基于XCP协议的快速原型技术
引用本文:梁 恒,周文华,赵俊鹏.基于XCP协议的快速原型技术[J].机电工程,2014(4):490-494.
作者姓名:梁 恒  周文华  赵俊鹏
作者单位:浙江大学能源工程学系,浙江杭州310017
基金项目:国家“十二五”科技支撑计划资助项目(2011BAE22805)
摘    要:针对传统发动机ECU控制算法开发中测试流程复杂、开发周期过长的问题,分析了目前各种快速原型技术优势,设计了一种基于XCP on CAN协议的快速原型方式。通过Matlab将被测试功能模块生成dll文件,标定工具直接加载dll文件以实现对控制算法的调用。控制算法测试人员通过标定软件修改ECU原有代码中添加的软件钩值以完成程序流的控制,ECU与原型机的数据同步通过XCP协议的同步数据传输模式(DAQ和STIM)完成。在柴油机高压共轨控制系统的开发中对该方法进行了详细地评价。试验结果表明,在140 000个测试循环中,标定系统时间延迟在0.6 ms~1.0 ms区间中出现频次占总循环数的98.8%以上,可达到保证数据同步实时性的需要;XCP协议的数据同步模式数据传输快,可满足ECU与原型机的数据同步需要。

关 键 词:XCP  on  CAN  快速原型  BYPASS  标定系统

Rapid prototyping technology based on XCP
LIANG Heng,ZHOU Wen-hua,ZHAO Jun-peng.Rapid prototyping technology based on XCP[J].Mechanical & Electrical Engineering Magazine,2014(4):490-494.
Authors:LIANG Heng  ZHOU Wen-hua  ZHAO Jun-peng
Affiliation:(Department of Energy Engineering, Zhejiang University, Hangzhou 310027, China)
Abstract:Abs Aiming at accelerating the development process of ECU control algorithm, and shortening the development cycle, a low cost way of rapid prototyping technology based on XCP on CAN was proposed. The function module to be tested was generated to dll files by matlab, and then the calibration tool load the dll file directly in order to call the control algorithm. In the process of test, the program flow was changed based on the software hook values which was added to the original code. The communication between the ECU and the RCP system was realized by making use of synchronous data acquisition (DAQ)and synchronous data stimulation(STIM)in the XCP. This idea was tested on the development of high pressure common rail system. The results indicate that the latency times between 0.6 and 1 milliseconds can be achieved with greater than 98.8% reliability in the 140 000 test cycles. The data transmission rates of the synchronous data transfer model is fast enough to meet the needs of data synchronization between the ECU and the prototype~
Keywords:XCP on CAN  rapid prototyping  BYPASS  calibration tool
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号