FORMALIZING REQUIREMENTS Hartmut Lackner, 16 th July 2011, VINO‘11.

Slides:



Advertisements
Similar presentations
IGCSE ICT Control Systems.
Advertisements

Operating Functions.
Daikin Altherma™ Troubling Shooting
(PLEASE SWITCH TO THE SLIDE SHOW MODE)
Part 2.2 Well Control. Objectives After reading the chapter and reviewing the materials presented the students will be able to: Understand well control.
Jeff Bilger - CSE P 590TU - Winter 2006 The Role of Cryptography in Combating Software Piracy.
8086 Interrupts. Interrupt Normal prog execution is interrupted by – Some external signal, or – A special instruction in the prog.
® IBM Software Group © 2014 IBM Corporation Innovation for a smarter planet MBSE for Complex Systems Development Dr. Bruce Powel Douglass, Ph.D. Chief.
1 Introduction to Software Engineering Lecture 42 – Communication Skills.
Quality is about testing early and testing often Joe Apuzzo, Ngozi Nwana, Sweety Varghese Student/Faculty Research Day CSIS Pace University May 6th, 2005.
DeltaV Sequence Function Block Tutorial. Introduction For this tutorial, you will gain some skill at building a discrete control function. Our objective.
TEST CASE DESIGN Prepared by: Fatih Kızkun. OUTLINE Introduction –Importance of Test –Essential Test Case Development A Variety of Test Methods –Risk.
„ Save Energy and Resources with BRAUMAT Analysis and Options.
Gas Alarm System 4th Floor, Kjemi V If Gas Alarm, What to do? 1.There is 1 min delay before signal goes to the fire brigades (if high alarm) 2.Hurry to.
Timed UML State Machines Ognyana Hristova Tutor: Priv.-Doz. Dr. Thomas Noll June, 2007.
-Nikhil Bhatia 28 th October What is RUP? Central Elements of RUP Project Lifecycle Phases Six Engineering Disciplines Three Supporting Disciplines.
Rapid Application Development (RAD) Software Development Approaches.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
 P&I Diagram  Gas Room Controls  Gas Panels Controls in the Hall  GUI  Oxygen Sensor Cart.
IP Other safety devices © Oxford University Press 2011 Other safety devices.
Software Engineering General architecture. Architectural components:  Program organisation overview Major building blocks in a system Definition of each.
Pogorazdov Roman Automation of business processes in accordance with specifications, technical requirements in the environment of electronic.
Gauge Operation and Software by Scott A. Ager. Computer Recommendations 750 MHz Pentium III 64 Meg SRAM 40 Gig Hard Drive 1024 x 768 graphics CD Writer.
Chapter 11 Analysis Concepts and Principles
Reference: Ian Sommerville, Chap 15  Systems which monitor and control their environment.  Sometimes associated with hardware devices ◦ Sensors: Collect.
Grey Box testing Tor Stålhane. What is Grey Box testing Grey Box testing is testing done with limited knowledge of the internal of the system. Grey Box.
Chapter 4 프로세스 모델 Process Models
ECS642U Embedded Systems Cyclic Execution and Polling William Marsh.
Ideas about Tests and Sequencing C.N.P.Gee Rutherford Appleton Laboratory 3rd March 2001.
UML MARTE Time Model for Spirit IP-XACT Aoste Project INRIA Sophia-Antipolis.
Structured lab text problems
Requirements Engineering for Web Applications. SR: System Vision Document Written by key stakeholders Written by key stakeholders An executive summary.
Fan Coils Units Control
Mission Science By Team Team 07 Members Jiashuo Li Chen Li Sergey Mukhin Hanadi Mardah Yun Shao Farica Mascarenhas 2.
Interactively change status, schedules, setpoints and strategies
BA6 Cooling Towers Test Day Process Control Functionality and Performance Tests TCR – PCR Monitoring.
Statistical data editing - UNECE work session – OSLO September 2012 Proposal of a revised approach for data validation within the European Statistical.
Service Section Technical Training December 2005.
Name Of The College & Dept
Department of Electronic & Electrical Engineering Program design. USE CASES. Flow charts. Decisions. Program state.
Winter 2007SEG2101 Chapter 121 Chapter 12 Verification and Validation.
Electricity and Electronic Engines Engine Management Systems and Refrigeration.
Atacama Large Millimeter/submillimeter Array Karl G. Jansky Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array Software Monitoring.
Polar Flight Laptop Application v v Flight Crew Display Baseline File Updated: 23 July 2014 Developer: UAB-CBSE DGUEEXPRSPOLRST1021.
Control Technology START What is control technology? What is this diagram called? In which program have you used these before? Lets Go!
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTRODUCTION TO INTERSTAGE BPM.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To understand the structure of a C-language program. ❏ To write your first C.
Monitoring and Control
Electrical Instrumentation Operation and Service
FLoor Heating Controller
Monitoring and Control
Actuators Topics covered in this presentation:
Introduction to the C Language
FLoor Heating Controller
Service Section Technical Training Dec 2005.
Day 08 Processes.
Day 09 Processes.
Fault Operations Software Team System-Level Software Health
Object Modeling Approach
Data acquisition and data processing software for magnetic measurements for NICA magnets Alexander Bychkov LHEP, JINR 2017.
What are the Symptoms of a Bad Car AC Expansion Valve
Introduction to the C Language
An Introduction to Embedded Software Architecture and Design
دانشگاه شهیدرجایی تهران
تعهدات مشتری در کنوانسیون بیع بین المللی
Requirements Engineering Introduction
The Safe Use of Electricity
PPT4: Requirement analysis
Presentation transcript:

FORMALIZING REQUIREMENTS Hartmut Lackner, 16 th July 2011, VINO‘11

The Role of Requirements  Requirements are the building blocks for developing a software product.  Detecting errors early saves costs.  Requirements can be considered as the contract between stakeholder and developer.  Tests can „show“ that the requirements are met.  How to formalize requirements for test generation?

Contents  Introduction to a Single Requirements Document  Possible Formalizations in  UPPAAL  (UML)  (MS SpecExplorer)  What is this going to be?  (Interactive) Modeling Session

The Requirements Document  ECU: Protect a valve to freeze, by killing the engine. The valve controls the gas flow from the tank to the engine.  Definitions  Temperature Sensor reads: invalid, warm, cold, too cold  Time Window: Short (3s), Long (15s)  Initial values  Time Window: Short  Temperature: invalid

Rules  If the temperature sensor is more than 3s (short delay) "too cold" a quick stop occurs and the engine is shut off.  If the temperature sensor was invalid and switches to valid again and during the following 3s the temperature is not warm a long delay of 15s is activated. In this state a "too cold" triggers the quick-stop after 15s (long delay). (Long delay replaces the initial short delay).  If the temperature is “warm" then the 3s (short delay) is valid again.  If the valid temperature switches to invalid the 3s (short delay) is valid again.  If during the delay the valid temperature is not "too cold" for more than 0.2s the delay timer is reset to start a new delay period. Definitions Temperature Sensor reads: invalid, warm, cold, too cold Time Window: Short (3s), Long (15s)

Modeling: UPPAAL

Rule 1 If the temperature sensor is more than 3s (short delay) "too cold" a quick stop occurs and the engine is shut off.  Design Decisions:  One template for each rule  Global Declarations  Channels: changeTemp, quickstop;  clock x;  int[-1,2] temp;  int[3,15] delay; Temperature SensorEngine Rule 1

Rule 2  Attention: Clock x is reused  Bad Design?  This Template is dependent on Rule 3 + 4! If the temperature sensor was invalid and switches to valid again and during the following 3s the temperature is not warm a long delay of 15s is activated. In this state a "too cold" triggers the quick-stop after 15s (long delay). (Long delay replaces the initial short delay).

Rule If the temperature is “warm" then the 3s (short delay) is valid again. 4. If the valid temperature switches to invalid the 3s (short delay) is valid again. Rule 3Rule 4

Rule 5  Local Declaration:  clock y; If during the delay the valid temperature is not "too cold" for more than 0.2s the delay timer is reset to start a new delay period.

Next Steps

Future Work  Design the UML model  Compare the models to the requirements  Is modeling „straight-forward“?  Generate tests from the models  How strong is the „fault detection capability“ for each model?  Mutation analysis

Thanks for your Attention! Questions?