新的基于全自动代码模型设计的整车控制器软件开发方法
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:New software development method of vehicle controller based on full automatic code model design
  • 作者:熊宇舟 ; 刘平 ; 杨嘉陵
  • 英文作者:Xiong Yuzhou;Liu Ping;Yang Jialing;School of Mechanical Engineering Southwest Jiaotong University;
  • 关键词:整车控制器 ; 电动汽车 ; Simulink ; 全自动代码生成
  • 英文关键词:VCU;;BEV;;Simulink;;fully automatic code generation
  • 中文刊名:DZCL
  • 英文刊名:Electronic Measurement Technology
  • 机构:西南交通大学机械工程学院;
  • 出版日期:2018-12-23
  • 出版单位:电子测量技术
  • 年:2018
  • 期:v.41;No.308
  • 基金:科技支撑计划(2015GZ012)项目资助
  • 语种:中文;
  • 页:DZCL201824026
  • 页数:7
  • CN:24
  • ISSN:11-2175/TN
  • 分类号:133-139
摘要
面向纯电动车整车控制器的软件开发,提出了一种新的基于全自动代码模型设计的软件开发方法。该方法将底层硬件驱动函数封装成Simulink模块,既能够集成底层硬件驱动功能,又不需要深入到复杂的寄存器操作。将所建立的支持代码生成功能的底层硬件驱动模块、任务管理模块、上层策略算法模块在Simulink中联合建模,建立了一个全自动代码模型,利用MATLAB的RTW-EC一键生成C代码,并与芯片配置工具生成的底层硬件寄存器配置代码相集成,得到整车控制器的全部软件代码。实验结果表明,该方法所生成的全自动代码可以满足整车控制器底层硬件驱动功能、任务管理功能、策略算法功能等一系列从底层到上层的整体功能需求。
        For the software development of pure electric vehicle controller,a new software development method based on full-automatic code model design is proposed in this paper.This method encapsulates the underlying hardware drive function into the Simulink module,which can not only integrate the underlying hardware drive function,but also do not need to be deep into the complex register operation.The underlying hardware driver module,task management module and the upper layer strategy algorithm module are combined to model in Simulink,and a fully automatic code model is built.The C code is generated by thefully automatic code model based on RTW-EC of MATLAB.and it is also set up with the underlying hardware register configuration code generated by the chip configuration tool to get all the software code of the vehicle controller.The experimental results show that the full automatic code generated by this method can meet the overall function requirements of the whole vehicle controller,such as the underlying hardware drive function,task management function,strategy algorithm function and so on from the bottom to the upper level.
引文
[1]刘杰.基于模型的设计及其嵌入式实现[M].北京:北京航空航天大学出版社,2011.
    [2]朱晓琪.纯电动汽车整车控制器开发[D].长春:吉林大学,2015.
    [3]吴敏.电动汽车整车控制器基础软件开发及控制策略研究[D].长春:吉林大学,2014.
    [4]侯院军.基于模型的汽车电子电器系统设计方法[J].科技展望,2014(8):112.
    [5]洪晓君,朱磊.基于MATLAB/RTWEC自动代码生成技术整车控制器快速原型开发[J].机电一体化,2014(8):47-52.
    [6]GIUSTO P,RAMESH S,SUDHAKARAN M.Modeling and analysis of automotive systems:Current approaches and future trends[C].4th International Conference on Model-Driven Engineering and Software Development,2016:704-710.
    [7]刘耀锋,邬昌盛.基于RTW的C代码生成及其在汽车ECU开发中的应用[J].机电一体化,2014,20(3):41-45.
    [8]任佳丽,曹海燕.嵌入式软件自动代码生成和代码整合方法研究[J].太原理工大学学报,2013(4):518-521.
    [9]林枫.基于RTOS和自动代码生成的EPS软件实现研究[D].长春:吉林大学,2014.
    [10]NADIR S,STREITFERDT D.Software code generator in automotive field[C].International Conference on Computational Science and Computational Intelligence,2016:13-17.
    [11]纪淑玲.发动机电控自动代码生成应用技术研究[D].长春:吉林大学,2015.
    [12]杨润泽.MATLAB/RTWEC面向MC9S12D64的自动代码生成[J].单片机与嵌入式系统应用,2014(5):8-10,14.
    [13]郗延鹏.基于TC1728的高压共轨柴油机ECU底层驱动程序研究与开发[D].昆明:昆明理工大学,2014.
    [14]王振庆.混合动力汽车整车控制器底层软件巧计与实现[D].成都:电子科技大学,2014.
    [15]孙忠潇.Simulink仿真及代码生成技术入门到精通[M].北京:北京航空航天大学出版社,2015.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700