Top Banner
EECE 276 – Embedded Systems 1 EECE 276 Embedded Systems Documentation techniques A case study
13

EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

Apr 02, 2018

Download

Documents

vanbao
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 1

EECE 276Embedded Systems

Documentation techniquesA case study

Page 2: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 2

Overall document structureIntroduction What?

Purpose Why?Scope Scope of systemDefinitions, Acronyms, Abbreviations ListsReferences Standards, etc.Overview

Overall Description Big pictureProduct Perspective InterfacesProduct Functions What It doesUser Characteristics User categoriesConstraints LimitationsAssumptions and Dependencies

Specific Requirements External interfaces, main classes,performance, timing

Appendices

Page 3: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 3

Traffic Light Control System

From textbook (Laplante ’04)

Page 4: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 4

Traffic Light Control System

From textbook (Laplante ’04)

Page 5: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 5

Traffic Light Control System

From textbook (Laplante ’04)

Overall Description

Page 6: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 6

Traffic Light Control SystemProduct Perspective

System InterfacesUser interfacesHardware interfacesSoftware interfacesCommunication interfacesMemory constraintsOperations

Product functionsUser characteristics

PedestriansMotor vehiclesTraffic Regulatory PersonnelSystem Administrators

ConstraintsRegulatory policyNetwork protocols…

AssumptionsSI unitsCommercial RTOS…

Page 7: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 7

Traffic Light Control System

From textbook (Laplante ’04)

Hardware Interfaces

Page 8: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 8

Traffic Light Control System

From textbook (Laplante ’04)

Specific requirements:

Top-level use-case diagram

Page 9: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 9

Traffic Light Control System

From textbook (Laplante ’04)

Specific requirements:

Preliminary class diagram

Page 10: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 10

Traffic Light Control System

From textbook (Laplante ’04)

Specific requirements:

Sample class description

Page 11: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 11

Traffic Light Control System

From textbook (Laplante ’04)

Specific requirements:

Statechart for controller sequence

Page 12: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 12

Traffic Light Control System

From textbook (Laplante ’04)

Specific requirements:

Timing requirements

Page 13: EECE 276 Embedded Systems - School of Engineeringeecs.vanderbilt.edu/courses/ee276/Fall06_lectures/19...EECE 276 – Embedded Systems 6 Traffic Light Control System Product Perspective

EECE 276 – Embedded Systems 13

Summary

Requirement analysis is critical for good system design» Errors made here are very hard to rectify later

Structured techniques are available» Small-scale: FSM, Statechart, Petri-Net» Large-scale: Functional, OOAD

Requirement documents capture essential information» Format and content are often regulated by

government agencies (FAA, DoD, NASA)