首页> 外文期刊>Studies in Informatics and Control >A Domain-specific Language for Real-time Dynamical Systems Emulation on a Microcontroller
【24h】

A Domain-specific Language for Real-time Dynamical Systems Emulation on a Microcontroller

机译:用于微控制器上实时动态系统仿真的领域特定语言

获取原文
获取原文并翻译 | 示例

摘要

Translating a control law to code so that it can be executed in real time by a microcontroller is time-consuming and requires knowledge in diverse areas. There are powerful tools like Matlab and DSpace, that can ease the process, however, these tools are expensive and hide the way the translation is actually made. These two factors greatly diminish the use of these tools in education and small business. This paper presents SystDynam, a high-level language designed for describing static and dynamical systems and hence, controllers. The language was purposely created to be easy to process in order to obtain a C code by using free software tools. Therefore, a senior student or a control engineer with a short training in language processors can understand how the translation is made. The necessary code for translation is described here and is freely available. Having the controller described by C code, it can be compiled to be executed as the main task in a real-time operating systems, thereby obtaining the real-time controller. The complete process can also be used for emulating dynamical systems, thereby enabling the use of hardware in the loop simulations and low-cost rapid prototyping and providing an auxiliary tool for teaching some engineering courses.
机译:将控制律转换为代码,以便可以由微控制器实时执行,这非常耗时,并且需要各个领域的知识。有一些功能强大的工具(例如Matlab和DSpace)可以简化过程,但是这些工具价格昂贵,并且掩盖了实际翻译的方式。这两个因素极大地减少了在教育和小型企业中使用这些工具的可能性。本文介绍了SystDynam,这是一种高级语言,旨在描述静态和动态系统以及控制器。专门创建该语言是为了使其易于处理,以便使用自由软件工具获得C代码。因此,在语言处理方面接受过短期培训的高年级学生或控制工程师可以理解翻译的过程。此处介绍了翻译所需的代码,该代码可免费获得。通过使用C代码描述控制器,可以将其编译为在实时操作系统中作为主要任务执行,从而获得实时控制器。完整的过程也可以用于仿真动态系统,从而可以在循环仿真中使用硬件并以低成本进行快速原型制作,并为一些工程课程的教学提供了辅助工具。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号