欢迎访问机床与液压官方网站!

咨询热线:020-32385312 32385313 RSS EMAIL-ALERT
一种Simulink模块封装的自动代码生成技术研究
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金青年基金资助项目(61502254);湖北省教委科研基金资助项目(B20140219)


Research on Automatic Code Generation Technology for Simulink Module Encapsulation
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对飞思卡尔核心控制板MC9S12XS128编程繁杂、设计开发周期长的问题,提出利用MATLAB语言来表示控制板底层驱动接口函数,并将其封装成Simulink模块,利用RTW代码生成工具,快速生成各个模块的驱动代码,实现MC9S12XS128控制板图形化编程。为了验证该方法的可行性,搭建基于MC9S12XS128单片机的汽车电子节气门位置跟随控制试验环境。实验结果表明:Simulink模块封装的代码生成技术满足控制系统开发需求,具有很强的适用性。

    Abstract:

    Aiming at the Freescale core control board MC9S12XS128 programming complex, long development cycle problem, MATLAB language was used to represent a control lowlevel driver interface function,it was packaged in the Simulink module;using RTW code generation tool,driver codes for each module were generated rapidly,to realize graphic programming for MC9S12XS128 control board.In order to verify the feasibility of the method,the position following control experiment environment for automotive electronic throttle was built based on MC9S12XS128 control unit.The experimental results show that the code generation technology of Simulink module packaging can meet the development needs of control system and it has a very strong applicability.

    参考文献
    相似文献
    引证文献
引用本文

万彪.一种Simulink模块封装的自动代码生成技术研究[J].机床与液压,2019,47(10):166-169.
. Research on Automatic Code Generation Technology for Simulink Module Encapsulation[J]. Machine Tool & Hydraulics,2019,47(10):166-169

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2020-02-20
  • 出版日期: