Question: In this assignment, you will model the behavior of the control system that lowers and raises the gate wnere a road crusses a Figure 2

In this assignment, you will model the behavior of the control system that lowers and raises the gate wnere a road crusses a
Figure 2. The control system of a railway gate.
There are two sensors, e.g. Sensor One (left) and Sensor Two (right) respectively, telling the gate that a train is passed. This is a classical example of a real-time system, which we will only model very coarsely here, assuming that there is only a single track with only one train at a time and one gate in this assignment. However, a train could go in either direction. There are some specifications of the scenario following.
-When a sensordetects that a train passes, it will emit the signal "Train Passed" to the gatecontroller system, in order to make the gate start moving to the oppositedirection to the previous one, e.g. from state up to state down
Weassume that the gate needs between 20 and 30 seconds to be lowered (to go fromthe state up to the state down) or be raised (to go from the state down to thestate up) or to come down
The gate cannot bemoved when the train is passing. Otherwise, it will lead to tragedy
Your task is to:
Develop a classmodel of the system using the correct UML notation.
Develop a state modelof the system using correct UML notation.
Point out weaknesses of the system, and describe how the system could be improved to be more safe.
Use the editor to format your answer
 In this assignment, you will model the behavior of the control

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!