Department of Computer Science and Automatic Control, UNED, Juan del Rosal 16, Madrid 28040, Spain.
Sensors (Basel). 2010;10(9):8585-603. doi: 10.3390/s100908585. Epub 2010 Sep 15.
This paper introduces a new Open Source Java library suited for the simulation of embedded control systems. The library is based on the ideas and architecture of TrueTime, a toolbox of Matlab devoted to this topic, and allows Java programmers to simulate the performance of control processes which run in a real time environment. Such simulations can improve considerably the learning and design of multitasking real-time systems. The choice of Java increases considerably the usability of our library, because many educators program already in this language. But also because the library can be easily used by Easy Java Simulations (EJS), a popular modeling and authoring tool that is increasingly used in the field of Control Education. EJS allows instructors, students, and researchers with less programming capabilities to create advanced interactive simulations in Java. The paper describes the ideas, implementation, and sample use of the new library both for pure Java programmers and for EJS users. The JTT library and some examples are online available on http://lab.dia.uned.es/jtt.
本文介绍了一个新的开源 Java 库,该库适用于嵌入式控制系统的仿真。该库基于 TrueTime 的思想和架构,TrueTime 是一个专门用于该主题的 Matlab 工具箱,它允许 Java 程序员模拟在实时环境中运行的控制过程的性能。这种仿真可以极大地提高多任务实时系统的学习和设计。选择 Java 极大地提高了我们库的可用性,因为许多教育工作者已经在使用这种语言进行编程。还因为该库可以很容易地被 Easy Java Simulations (EJS) 使用,EJS 是一种流行的建模和创作工具,在控制教育领域越来越多地被使用。EJS 允许编程能力较弱的教师、学生和研究人员用 Java 创建高级交互式仿真。本文介绍了新库的思想、实现和示例用法,既适用于纯 Java 程序员,也适用于 EJS 用户。JTT 库和一些示例可在 http://lab.dia.uned.es/jtt 上在线获得。