Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-g8jcs Total loading time: 0 Render date: 2024-11-26T23:40:49.259Z Has data issue: false hasContentIssue false

20 - Railroad Crossing Control System Case Study

from Part IV - Real-Time Software Design Case Studies for Embedded Systems

Published online by Cambridge University Press:  05 March 2016

Hassan Gomaa
Affiliation:
George Mason University, Virginia
Get access

Summary

This chapter describes a case study for a railroad crossing control embedded system. This software design is for a safety-critical system, in which the raising and lowering of railroad barriers must be done safely and in a timely manner. As is typical of embedded systems, the system interfaces with the external environment by means of several sensors and actuators. It also must send status messages to a Rail Operations Service. Control of the railroad crossing is state dependent, which necessitates the design of a state machine to provide overall control of the software system. As the Railroad Crossing Control System (RXCS) is an embedded system, the design approach benefits from starting with a systems engineering perspective of the total hardware/software system, the Railroad Crossing Embedded System.

The problem is described in Section 20.1. Section 20.2 describes the structural modeling of the system, consisting of the structural model of the problem domain, followed by the system and software system context models, and the hardware/software boundary model. Section 20.3 describes the use case model from a software engineering perspective, describing both the functional and nonfunctional requirements of the safety-critical system. Section 20.4 describes the dynamic state machine modeling, which is particularly important to model the state dependent intricacies of this embedded system. Section 20.5 describes how the object and class structuring criteria are applied to this system. Section 20.6 describes how dynamic interaction modeling is used to develop sequence diagrams from the use cases. Section 20.7 describes the design model for the software system, which is designed as a concurrent software architecture that is based on software architectural patterns. Section 20.8 describes the performance analysis of the real-time design executing on single and multiprocessor systems. Section 20.9 describes the design of the RXCS component-based software architecture that is part of the distributed Light Rail System described in Chapter 21. Section 20.10 describes system configuration and deployment.

PROBLEM DESCRIPTION

A railroad crossing consists of two barriers, each with a flashing warning light and an audio warning signal. The barriers are normally raised. When a train approaches, the barriers are lowered, the warning lights start flashing, and the audio warnings are sounded. When the train departs, the barriers are raised, the warning lights stop flashing, and the audio warnings are stopped.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2016

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×