主办:陕西省汽车工程学会
ISSN 1671-7988  CN 61-1394/TH
创刊:1976年

Automobile Applied Technology ›› 2021, Vol. 46 ›› Issue (15): 89-91.DOI: 10.16638/j.cnki.1671-7988.2021.015.024

• Design and Research • Previous Articles     Next Articles

Programming of Body Controller for a Heavy Vehicle Based on Stateflow

KANG Ruihang, WANG Yi, HAO Fei, YAN Yu, LIU Qi, ZHANG Xu   

  1. Shaanxi Wanfang Auto Parts Co., Ltd., Shaanxi Xi'an 710200
  • Online:2021-08-15 Published:2021-08-20

基于Stateflow的某重型汽车车身控制器程序设计

康瑞航, 王毅, 郝飞, 严宇, 刘奇, 张旭   

  1. 陕西万方汽车零部件有限公司,陕西 西安 710200
  • 作者简介:康瑞航,男,本科,助理工程师,就职于陕西万方汽车零部件有限公司,主要研究汽车电器件产品嵌入式软件、检测软件。

Abstract: This paper introduces a kind of body controller software design based on stateflow model, which uses Stateflow model to realize the application layer logic of each load module. Stateflow model can verify the correctness of logic by executing simulation, can synchronize with hardware design, save software development time, and generate. C and. H code for different microcontrollers by setting compiler. Block diagram design, intuitive and conducive to later maintenance.

Key words: Stateflow, Automatic code generation, Easy to maintain

摘要: 文章介绍了一种基于Stateflow模型实现的车身控制器软件设计,该设计使用Stateflow模型实现各个负载模块应用层逻辑。Stateflow模型能够通过执行仿真来验证逻辑的正确性,可以和硬件设计同步进行节约软件开发时间,通过设置编译器以生成适用于不同单片机的.C.H代码。框图化的设计,直观且有利于后期维护。

关键词: Stateflow, 自动代码生成, 易维护

CLC Number: