EE 472 Embedded Systems Dr Shwetak Patel Assistant
EE 472 – Embedded Systems Dr. Shwetak Patel Assistant Professor Computer Science & Engineering Electrical Engineering
Agenda n Engineering Design Cycles n Structured Design n Unified Modeling Language (UML) Shwetak N. Patel - EE 472 2
Why care about the design process?
Makes development efficient! n Easy to fall into the trap of ah-hoc building n Spending 1 hour planning can save 10 hours debugging!! Shwetak N. Patel - EE 472 4
The Development Cycle n Product specifications to final product Shwetak N. Patel - EE 472 5
The Development Stages n Requirements analysis and specs n Conceptual design n Detailed program design n Implementation n Unit and integration testing n System delivery n Maintenance Shwetak N. Patel - EE 472 6
Example Development Life Cycle Models n The Waterfall Model n V cycle n Spiral n Rapid Prototyping n Agile Methods Shwetak N. Patel - EE 472 7
Waterfall Model Shwetak N. Patel - EE 472 8
V Cycle Shwetak N. Patel - EE 472 9
Spiral Shwetak N. Patel - EE 472 10
Rapid Prototyping n Break the problem into little pieces n Get a front-end implementation out quick Shwetak N. Patel - EE 472 11
Agile Methods n n Extreme Programming n Focus on small increments n Pair-wise or team programming Sprints n n Well defined quick tasks to get something out Scrum� n Quick meetings daily and/or weekly Shwetak N. Patel - EE 472 12
The Actual Design Process n Key steps for success: n Requirement definitions n System specification n Functional design n Architectural design n Protoyping Shwetak N. Patel - EE 472 13
Structured Design n Breaking down a problem and systematically deriving a solution n How do you represent this? Shwetak N. Patel - EE 472 14
Unified Modeling Language (UML) n A “language” for specifying various aspects of the product during the design process n Universal way of sharing ideas Shwetak N. Patel - EE 472 15
Use Case Diagrams Shwetak N. Patel - EE 472 16
Sequence Diagrams Shwetak N. Patel - EE 472 17
Activity Diagram Shwetak N. Patel - EE 472 18
State Diagrams Shwetak N. Patel - EE 472 19
Class Diagrams Shwetak N. Patel - EE 472 20
Class Diagrams Shwetak N. Patel - EE 472 21
Summary of UML Diagrams Shwetak N. Patel - EE 472 22
Class Exercise n A person interacting with a digital camera Shwetak N. Patel - EE 472 23
Class Exercise n Design a cruise control system for a car Shwetak N. Patel - EE 472 24
Class Exercise n Model the interaction with an ATM machine Shwetak N. Patel - EE 472 25
- Slides: 25