Distributed Embedded Systems, Fall 2000 PhD Project Report
Lu Luo December 2000
A UML documentation for an elevator system
Lu Luo
A UML documentation for an elevator system
1. Introduction
This paper is a PhD project report for the course Distributed Embedded Systems at Carnegie Mellon University. Throughout this course, a distributed real-time system – an elevator control system– is specified, designed, built, and simulated. Object Oriented Analysis and Design methods, in specific the Unified Modeling Language (UML) are used when designing the system. A lot of corners in the design of this elevator system are cut in the regular class. The existing UML documentations for the elevator lab of this course are pretty lame compared to real elevators. It is therefore not so clear whether UML will really represent the design of an elevator well. In this report, a rigorous UML documentation package for the class project is given, based on current system design. From different points of view how UML can be used in a real-time, distributed system, three groups of UML diagrams are given, the diagrams in these groups differ mostly in their class diagrams, focusing on the viewpoint of object architecture, software architecture and system architecture correspondingly. In the following part of this report, overviews of UML and distributed embedded systems are given in section 2 and section 3, correspondingly. In section 4, the design of our elevator control system is presented from a static structural point of view, i.e. the Use Case diagram and the Class diagrams are presented and analyzed. The Sequence diagrams and State Chart diagrams given in Section 5 emphasize on the dynamic aspects of the system. Section 6 is the conclusion.
2. A Brief Introduction to UML
The Unified Modeling Language (UML) is the industry-standard language for specifying, visualizing, constructing, and documenting the artifacts of software