摘要
在控制系统开发工程中程序编译是较为重要的一环,而借助控制模型建模仿真的手段形成相关程序是一种较为高效的方法。文章基于MATLAB/Simulink数学软件,以简单的控制模型为例,借助其自带的功能及第三方软件完成C程序的编写。以STM32嵌入式控制为硬件实现方式,根据硬件的基础参数再对主体程序进行匹配,通过下载调试实现开发,为相关控制程序编译提供参考。
Program compilation is an important part in control system development engineering,and it is an efficient method to form related programs by means of building and simulating control model.Based on the MATLAB/Simulink mathematical software,this paper takes a simple control model for example to complete the program C with the help of its own functions and the third-party software.It used the STM32 embedded mcu controling as hardware working.And the main program is matched according to the basic parameters of the hardware.It developes through the download debugging.From this way,it provides the reference for the control program compilation.
作者
徐彪
吕涛
陈宝导
桂进
Xu Biao;Lv Tao;Chen Baodao;Gui Jin(Troops32153 PLA,Hebei Zhangjiakou 076150;Tongren Polytechnic College,Guizhou Tongren 554300)
出处
《汽车实用技术》
2021年第9期72-75,共4页
Automobile Applied Technology
关键词
联合仿真
控制策略
嵌入式开发
程序编译
Co-simulation
Control strategy
Embedded development
Program compiling