

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points of this past exam are: Petri-Nets, Conflict, Inhibitor Arc, Self-Loop, Concurrency, Join, Real-Time System, Human Operators, Operator Errors, Real-Time System
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Instructions Answer any THREE questions. Note: Question 1 = 34 marks. All other questions = 33 marks. Real-Time Systems Reference Booklet Available
Examiners: Dr. J. Creagh Dr. J. Buckley Dr. A. Kinsella
Q1. (a) (i) Describe the different types of Petri-Nets giving clear examples. (6 Marks) (ii) With examples, clearly explain each of the following Petri-Net concepts:
Q2. (a) An automatic train system has the following safety sub-system. A distance sensor can detect accurately the distance of another train in front of our train. If the distance is greater than 500, then no action is taken by the safety sub-system. If the distance is less than 500, then the accelerator is disengaged. If the distance is less than 300, then the brakes are applied and the accelerator is disengaged. If the distance is less than 200, then the brakes are applied and the accelerator is disengaged. Also, the alarm is turned on. Sensor : Distance sensor Actuator : Brake, Accelerator, Alarm Write an ADA program to solve this problem. The distance sensor indicates a reading between 0..1000 and must be monitored every 0.5 seconds, with a deadline of 100 ms. For actuators, 1 = ON, 0 = OFF. Note: A register called ‘CSR’ controls hardware. Refer to the reference booklet. A second register ‘READING’ is provided for reading a value from a sensor. A third register ‘WRITING’ is provided for writing a value to an actuator. (22 Marks)
(b) Define the HRT-HOOD protected object. Also, with an outline example, show how the ADA language facilitates protected object implementation. (11 Marks)
Q3. (a) Referring to real-time systems, briefly define the following: