A real-time software controller for a digital model railroad system

R. Webster, D. Hess
{"title":"A real-time software controller for a digital model railroad system","authors":"R. Webster, D. Hess","doi":"10.1109/RTA.1993.263102","DOIUrl":null,"url":null,"abstract":"The paper describes a real-time software controller for a digital model railroad. The Unix real-time primitives of fork, pipe, and signal are used to perform interprocess communication among three concurrently executing tasks, (1) a scanning task, (2) a scheduler and collision avoidance task, and (3) a graphical user interface (GUI) task. The software engineering objective of this real-time system is to maintain control of multiple digital locomotives each running on the same track layout while at the same time allowing a computerized scheduling system to 'run' the trains. The control software continuously monitors reed contact sensors to keep track of each train's location and direction, and is constantly performing collision avoidance testing. The locomotives are digitally encoded with a chipset that is addressable, therefore messy block wiring to turn the power on and off is unnecessary. Each digital locomotive and digital turnout switch responds to computer commands that are sent to its address.<<ETX>>","PeriodicalId":293622,"journal":{"name":"[1993] Proceedings of the IEEE Workshop on Real-Time Applications","volume":"15 6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1993-05-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"[1993] Proceedings of the IEEE Workshop on Real-Time Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RTA.1993.263102","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

The paper describes a real-time software controller for a digital model railroad. The Unix real-time primitives of fork, pipe, and signal are used to perform interprocess communication among three concurrently executing tasks, (1) a scanning task, (2) a scheduler and collision avoidance task, and (3) a graphical user interface (GUI) task. The software engineering objective of this real-time system is to maintain control of multiple digital locomotives each running on the same track layout while at the same time allowing a computerized scheduling system to 'run' the trains. The control software continuously monitors reed contact sensors to keep track of each train's location and direction, and is constantly performing collision avoidance testing. The locomotives are digitally encoded with a chipset that is addressable, therefore messy block wiring to turn the power on and off is unnecessary. Each digital locomotive and digital turnout switch responds to computer commands that are sent to its address.<>
数字模型铁路系统的实时软件控制器
本文介绍了一种用于数字模型铁路的实时软件控制器。Unix实时原语(fork、pipe和signal)用于在三个并发执行的任务(1)扫描任务、(2)调度器和避免冲突任务以及(3)图形用户界面(GUI)任务之间执行进程间通信。该实时系统的软件工程目标是保持对多个数字机车的控制,每个机车在同一轨道布局上运行,同时允许计算机调度系统“运行”列车。控制软件持续监控簧片接触传感器,以跟踪每列火车的位置和方向,并不断进行避碰测试。机车是用可寻址的芯片组进行数字编码的,因此没有必要用杂乱的块接线来打开和关闭电源。每个数字机车和数字道岔开关响应发送到其地址的计算机命令。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信