首页 | 本学科首页   官方微博 | 高级检索  
     

一种支持Cortex-M3的Simulink自定义目标系统设计
引用本文:常广晖,陈诚,吴越,王宇欣,刘树勇.一种支持Cortex-M3的Simulink自定义目标系统设计[J].计算机测量与控制,2021,29(8):190-195.
作者姓名:常广晖  陈诚  吴越  王宇欣  刘树勇
作者单位:海军工程大学动力工程学院,武汉 430033
基金项目:国家自然科学基金 (51579242)
摘    要:在基于模型的嵌入式控制系统设计开发中,利用Simulink Coder和Embedded Coder等工具为控制算法、系统模型等自动生成嵌入式代码被证实是一种高效、可靠、便捷的方法;Mathworks为自带的Simulink模块和MTALAB函数的目标代码生成提供了支持,缺乏的是对于嵌入式开发中目标外围功能的直接支持,比如数字、模拟输入/输出,网络通信以及其它微控制器自身功能,而这对于嵌入式系统开发往往是不可缺少的重要部分;针对工业级嵌入式产品领域应用广泛的Cortex—M3内核微控制器这一目标,设计开发了支持常用外围功能的STM32F1XTarget目标系统以及配套的嵌入式控制板,详细阐述了STM32F1XTarget的工作流程和自定义设备驱动模块设计原理;设计的目标系统支持由系统模型到应用程序下载的一键式操作,这将算法设计和产品开发无缝连接到一起,大大加速了嵌入式控制系统的开发流程,降低了成本,最后在倒立摆嵌入式控制系统开发中进行了实验验证,检验了该目标的有效性和可靠性.

关 键 词:自定义目标  基于模型设计  嵌入式控制  Cortex—M3微控制器  硬件驱动
收稿时间:2021/5/14 0:00:00
修稿时间:2021/6/23 0:00:00

A design of Simulink custom target system supporting Cortex-M3
CHANG Guanghui,CHEN Cheng,WU Yue,WANG Yuxin,LIU Shuyong.A design of Simulink custom target system supporting Cortex-M3[J].Computer Measurement & Control,2021,29(8):190-195.
Authors:CHANG Guanghui  CHEN Cheng  WU Yue  WANG Yuxin  LIU Shuyong
Abstract:In the design and development of model-based Embedded control system, it has been proved to be an efficient, reliable and convenient method to automatically generate Embedded codes for control algorithms and system models by using Simulink Coder and Embedded Coder tools. Mathworks for built-in Simulink module and target code generation of MTALAB function provides support, lack of is a target for embedded development in direct support of peripheral functions, such as digital and analog input/output, network communications and other function of micro-controller itself, and that for embedded system development is often an important and indispensable part. In order to achieve the goal of Cortex-M3 kernel micro-controller which is widely used in the field of industrial embedded products, the STM32F1XTarget target system supporting common peripheral functions and the matching embedded control board are designed and developed, and the work flow of STM32F1XTarget and the design principle of custom device driver module are described in detail. Design target system supported by the system model to the application download one-click operation, the algorithm design and product development of seamless connection together, greatly accelerated the development process of embedded control system, reduce the cost and the last in the inverted pendulum embedded control system development experimental verification, test the validity and reliability of the target.
Keywords:Custom target  Model-based design  Embedded control  Cortex-M3 micro-controller  Hardware driver
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机测量与控制》浏览原始摘要信息
点击此处可从《计算机测量与控制》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号