CTEC3902 Rigorous Systems Assignment

Assignment Help Computer Engineering
Reference no: EM132521963

CTEC3902 Rigorous Systems - De Montfort University

Assessment Indicators:
• Ability to translate informal textual system description into formal description
• Ability to justify system design decisions
• Ability to analyse a formal system specification

The following is a description of a smart freezer security system (HAL). Smart freezers are used in labs for storing experimental samples. HAL consists of sensors, actuators and a control system. The following sensors and actuators are present:
• Contamination checkers CCi (0 ≤ i ≤ 1), these can be on or off. CC0 indicates the checker for the top drawer shelf and CC1 the checker for the bottom drawer shelf. The freezer in this scenario has two drawer shelves. When a checker is in mode on, a contamination sensor is activated to analyse the drawer.
• Door sensors Di (0 ≤ i ≤ 1), indicating whether the doors are open or not. The freezer has two doors (one for each drawer shelf).
• Temperature sensor TEMPi (0 ≤  i ≤  1), indicating whether the temperature inside each drawer is the proper one.
• Switch S, indicating whether one is in the lab or away.
• Alarm A, this can be on or off.

The control system determines whether contamination checkers CC, are on or off and whether the alarm should sound and send an alert text message to the head of the laboratory, depending on the state of the various sensors.

HAL operates in two modes, lab and away. The user indicates this choice by the switch S (this can be a portable wireless switch).
When in away mode, HAL operates as follows:
• Contamination checkers CCi are switched on and off in a pre-selected patter based on the lab policy. This pattern can be set by the user on a per minute basis, away Pat [ i ] k] = 1, means contamination checker CCi should be on at time k, 0≤ k < 1440=24*60.
• If at least one of the temperature sensors TEMP, detects an increase of the temperature the alarm A should be activated.
• The user should switch HAL to away mode when all doors are closed otherwise HAL will complain that you cannot switch to away mode.
If HAL is in lab mode, it will operate as follows:
• Contamination checkers are switched on and off in a pattern selected by the user. This pattern can be set by the user on a per minute basis, labPat [i ] [ k] =1, means contamination checker CCi should be on at time k, 0 ≤ k < 1440=24*60.
• The user can set the times when HAL should check door and temperature sensors. These times can be set by the user on a per minute basis, Check [k] =1, means door and temperature sensors should be checked at time k, 0 ≤  k < 1440=24*60.

a) Give a Tempura specification of HAL. Log decisions on how you resolve any ambiguity. Use the following 24-hour scenarios to illustrate your answer with output from your Tempura program:

i) Normal working day at lab: the user works in the lab, sets labPat and Check pattern but HAL does not detect anything wrong.
ii) The forgotten open door: the user finished his experiment, put the samples in the freezer and is about to go away. He/she has set the awayPat pattern. The user presses the switch S to tell HAL to switch to away mode. However, HAL complains that it cannot switch to away mode as the user has forgotten to close the door Do. The user has to close the door and then try switch S again.
iii) A malfunction of the freezer: the user has a day off and is away from the lab all day and sets the awayPat pattern. Suddenly, at 23:40 the temperature sensor TEMPO detects an increase of the temperature inside the freezer and the alarm sounds.

The following marking scheme will be used

Environment: User/Sensors

 

 

Tempura +3 scenarios

:

10-12

Tempura + 2 scenarios

:

07-09

Tempura + 1 scenarios

:

03-06

English

:

00-02

Controller: HAL

 

 

Tempura +3 scenarios

:

10-12

Tempura + 2 scenarios

:

07-09

Tempura + 1 scenarios

:

03-06

English

:

00-02

Integration

 

 

Tempura

:

03-06

English

:

00-02

b) The system that you have specified needs to satisfy certain liveness conditions.

Give one example of a liveness condition that your system should satisfy and formulate them in ITL/Tempura.

Reference no: EM132521963

Questions Cloud

How much operating room overhead would be charged : Bill Harris had a five-hour procedure on January 22. How much operating room overhead would be charged to his procedure, using the rate determined in part (a)
Which is a franchisor problem : Which is a franchisor problem? Attempts to require franchisees to buy products exclusively from the franchisor may violate the Sherman Act.
Discussion board government : Supporters of affirmative action argue that it is intended to level an uneven playing field in which discrimination still exists. What do you think?
What amount should have been recognized on the purchase : If Gandalf had not offered the Ford truck as a trade-in, what amount should have been recognized on the purchase of the Mack truck
CTEC3902 Rigorous Systems Assignment : CTEC3902 Rigorous Systems Assignment Help and Solution, De Montfort University - Assessment Writing Service - translate informal textual system description
Find what kind of budget does amora inc use : Find What kind of budget does Amora, Inc. use? Should they use a detailed budget plan or a given budget plan, or even both? Which do you like for Amora, Inc.?
Calculate the depreciation expense : Calculate the depreciation expense under the units-of-production method, assuming the actual number of units produced was 70,620 in 2016 and 118,160 in 2017
Civil service reform act : Explain what civil service looks like since the Civil Service Reform Act of 1978. Explain what civil service looked like before 1978.
What is the variable electricity cost per hour of operation : During July, the complex will open for 570 hours. Predict the complex's total electricity costs for July using the cost estimation method employed

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd