首页> 外文会议>Commercial Vehicle Engineering Congress and Exhibition >Automatic Code Generation - Technology Adoption Lessons Learned From Commercial Vehicle Case Studies
【24h】

Automatic Code Generation - Technology Adoption Lessons Learned From Commercial Vehicle Case Studies

机译:自动代码生成 - 从商业车辆案例研究中吸取的技术采用经验教训

获取原文

摘要

Using Model-Based Design, engineers model complex systems and simulate them on their desktop environment for analysis and design purposes. Model-Based Design supports a wide variety of C/C++ code generation applications that include stand-alone simulation, rapid control prototyping, hardware-in-the-loop testing, and production or embedded code deployment. Many of these code generation scenarios impose different requirements on the generated code. Stand-alone simulations usually need to run fast, for parameter sweep or Monte Carlo studies, but do not need to execute in true hard real-time. Hardware-in-the-loop tests by definition use engine control unit (ECU) component hardware that requires a hard real-time execution environment to protect the physical devices. Code generated for production ECUs must satisfy hard real-time, efficiency, legacy code, and other requirements involving verification and validation efforts. With Model-Based Design, the functional behavior of the model needs to match that of the generated code. As a result the transformation of models into generated code must include necessary deployment and real-time artifacts to ensure that the code executes properly in the final software and hardware environments. For example, in a typical commercial vehicle use case, a diesel engine control algorithm and engine plant model are simulated together as a hybrid system. The plant model is input into the code generator for deployment in a hard real-time HIL lab. Code generation for the engine control algorithm is often done in two, or even three, phases. First, the code is generated for real-time rapid control prototyping for algorithm assessment and refinement. Next, the code may be generated for execution on the actual embedded microprocessor during on-target rapid prototyping for algorithm assessment on the ECU hardware. Finally, the code is generated for production ECUs and several verification steps are employed, including software-in-the-loop (SIL), processor-in-the-loop (PIL), and finally hardware-in-the-loop (HIL) testing. Organizations moving from traditional waterfall processes that involve paper documents and hand code to Model-Based Design face challenges familiar to those who have followed other technology migrations, such as drafting tables to CAD systems or Assembly language to C code. These challenges center on how to: best leverage the technology, reuse existing process, pace the transition, and develop necessary skills sets and training. This paper describes case studies on how John Deere adopted Model-Based Design for commercial vehicle development and discusses the benefits and lessons learned.
机译:使用基于模型的设计,工程师模型复杂系统,并在其桌面环境中模拟它们进行分析和设计目的。基于模型的设计支持各种C / C ++代码生成应用程序,包括独立仿真,快速控制原型,硬件循环测试和生产或嵌入式代码部署。许多这些代码生成方案对生成的代码强加不同的要求。独立的模拟通常需要快速运行,参数扫描或蒙特卡罗研究,但不需要在真正的实时执行。通过定义的硬件循环测试使用引擎控制单元(ECU)组件硬件,需要硬实时执行环境来保护物理设备。生产ECU生成的代码必须满足硬实时,效率,遗留码以及涉及验证和验证工作的其他要求。采用基于模型的设计,模型的功能行为需要匹配生成的代码的功能。结果,模型将模型转换为生成的代码必须包括必要的部署和实时工件,以确保代码在最终软件和硬件环境中正常执行。例如,在典型的商用车辆用例中,将柴油发动机控制算法和发动机设备模型作为混合系统模拟。工厂模型被输入到代码生成器中,以便在硬实时HIL实验室中进行部署。发动机控制算法的代码生成通常在两个甚至三个阶段中进行。首先,为算法评估和改进的实时快速控制原型生成代码。接下来,可以在目标快速原型期间在ECU硬件上进行算法评估期间在实际嵌入式微处理器上执行代码以在实际嵌入式微处理器上执行。最后,为生产ECU生成代码,采用了几个验证步骤,包括循环软件(SIL),循环(PIL),以及最终环路(HIL) )测试。从传统的瀑布流程中迁移的组织将纸质文件和手部代码涉及到模型的设计面临熟悉的设计面临的挑战,这些挑战是那些遵循其他技术迁移的人,例如向CAD系统或汇编语言向C代码绘制表。这些挑战中心关于如何:最佳利用技术,重用现有流程,转换,以及制定必要的技能集和培训。本文介绍了关于John Deere如何采用基于模型的商用车辆发展设计的案例研究,并讨论了所吸取的利益和经验教训。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号