DocumentCode
3489971
Title
A real-time software controller for a digital model railroad system
Author
Webster, R.W. ; Hess, David
Author_Institution
Dept. of Comput. Sci., Millersville Univ., PA, USA
fYear
1993
fDate
13-14 May 1993
Firstpage
126
Lastpage
130
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
Keywords
Unix; graphical user interfaces; rail traffic; real-time systems; traffic computer control; Unix real-time primitives; collision avoidance; computerized scheduling system; digital model railroad system; fork; graphical user interface; interprocess communication; multiple digital locomotives; pipe; real-time software controller; reed contact sensors; scanning task; signal; software engineering; Collision avoidance; Communication system control; Control systems; Digital control; Graphical user interfaces; Layout; Processor scheduling; Real time systems; Software engineering; Switches;
fLanguage
English
Publisher
ieee
Conference_Titel
Real-Time Applications, 1993., Proceedings of the IEEE Workshop on
Conference_Location
New York, NY
Print_ISBN
0-8186-4130-4
Type
conf
DOI
10.1109/RTA.1993.263102
Filename
263102
Link To Document