Functional Decomposition

Slides:



Advertisements
Similar presentations
Ch:8 Design Concepts S.W Design should have following quality attribute: Functionality Usability Reliability Performance Supportability (extensibility,
Advertisements

1 Software Design Introduction  The chapter will address the following questions:  How do you factor a program into manageable program modules that can.
Lecture 9: D/A and A/D Converters
What is Software Design?  Introduction  Software design consists of two components, modular design and packaging.  Modular design is the decomposition.
Copyright Irwin/McGraw-Hill Software Design Prepared by Kevin C. Dittman for Systems Analysis & Design Methods 4ed by J. L. Whitten & L. D. Bentley.
Chapter 10 – Digital System Projects Using HDL Copyright © 2011, 2007, 2004, 2001, 1998 by Pearson Education, Inc. Upper Saddle River, New Jersey
1 Block Diagrams Diagrams used to describe a complex system in terms of inputs, outputs, and basic functions, processes, devices, or transfer functions.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Overview Part 1 – Design Procedure 3-1 Design Procedure
Team of engineers who build a system need:  An abstraction of the system  An unambiguous communication medium  A way to describe the subsystems ◦ Inputs.
Digital Fundamentals Floyd Chapter 1 Tenth Edition
Digital Electronics. Digital circuits work on the basis of a transistor being used as a switch. Consider a light switch, a transistor can be considered.
Combinational Logic Design BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
1 Systems Analysis and Design in a Changing World, Thursday, January 18, 2007.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Chapter 6 Voltage Regulators By En. Rosemizi Bin Abd Rahim EMT212 – Analog Electronic II.
1 EENG 1920 Chapter 5 System Design I: Functional Decomposition.
CEC 220 Digital Circuit Design Number Systems & Conversions Friday, January 9 CEC 220 Digital Circuit Design Slide 1 of 16.
 Engineers have led the way on project management, it is now “hot and trendy”.  #1 Area of Continuing Education reported by Penn State Behrend ECE alumni.
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
EMT212 – Analog Electronic II
10 Aug 2010 ECE/BENG-492 SENIOR ADVANCED DESIGN PROJECT Meeting #4.
CEC 220 Digital Circuit Design Number Systems & Conversions Wednesday, Aug 26 CEC 220 Digital Circuit Design Slide 1 of 16.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
ECE DIGITAL LOGIC LECTURE 2: DIGITAL COMPUTER AND NUMBER SYSTEMS Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/14/2016.
Lecture Notes / PPT UNIT III
Unit 1 Introduction Number Systems and Conversion.
Chapter 5 Operational Amplifier
EKT124 Digital Electronics 1 Introduction to Digital Electronics
Overview Part 1 – Design Procedure Part 2 – Combinational Logic
(3) Signal Conditioning
Design and Documentation
CHAPTER 6 VOLTAGE REGULATOR Tulus Ikhsan Nasution.
Combinational Logic Design&Analysis.
IS301 – Software Engineering Dept of Computer Information Systems
3 PHASE SEQUENCE CHECKER BY LED INDICATION
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Lecture 9- Design Concepts and Principles
9 LEVEL OVERHEAD WATER TANK NDICATOR
Systems Analysis and Design
Principles & Applications
Lecture 2 Introduction to Programming
INTRODUCTION TO ELECTRONIC INSTRUMENTATION
INTELLIGENT WATERHEAD LEVEL INDICATOR
Fundamentals & Ethics of Information Systems IS 201
Section 3: Producing Electric Current
ECET 105 Innovative Education--snaptutorial.com
ECET 105Competitive Success/snaptutorial.com
BEE1244 Digital System and Electronics BEE1244 Digital System and Electronic Chapter 2 Number Systems.
Chapter 1 The Systems Development Environment
ECE 434 Advanced Digital System L13
Chapter 4 Number Systems.
Software Engineering Lecture #8.
Data Representation Conversion 05/12/2018.
Lecture 9- Design Concepts and Principles
Chapter 1 Number System RGGP, Narwana.
Digital Fundamentals Floyd Chapter 1 Tenth Edition
Introduction to Systems Analysis and Design Stefano Moshi Memorial University College System Analysis & Design BIT
Data Acquisition (DAQ)
Data Representation and Organization
Combinational Circuits
Combinational Circuits
Applications of Basic Electronics Components
Electronic systems 7.
Presentation transcript:

Functional Decomposition

Motivation – System Design Team of engineers who build a system need: An abstraction of the system An unambiguous communication medium A way to describe the subsystems Inputs Outputs Behavior Functional Decomposition Function – transformation from inputs to outputs Decomposition – reduce to constituent parts

Bottom-Up Approach Given constituent parts Develop a working system Build modules to accomplish specific tasks Integrate modules together into working system For example Given a supply AND, OR and NOT gates. Build a computer Pros Leads to efficient subsystem Cons Complexity is difficult to manage Little thought to designing reusable modules Redesign cycles

Top-Down Approach Given the specifications of a system Develop a working system Divide the problem into abstract modules Reiterate until constituent parts are reached Pros Highly predictable design cycle Efficient division of labor Cons More time spent in planning

Functional Decomposition Recursively divide and conquer Split a module into several submodules Define the input, output, and behavior Stop when you reach realizable components

Guidance The design process is iterative Upfront time saves redesign time later Submodules should have similar complexity Precise input, output, and behavior specifications Examine alternative architectures and technologies Don’t decompose ad infinitium

Guidance, continued Use suitable abstraction to describe submodules ( flowcharts, state diagrams, data flow diagrams, etc.) Look at how it has been done before Use existing technology Keep it simple. Do not add complexity that is not needed. Communicate results (documentation)

Example: Thermometer Design The system must Measure temperature between 0 and 200C. Have an accuracy of 0.4% of full scale. Display the temperature digitally, including one digit beyond the decimal point. Be powered by a standard 120V 60Hz AC outlet. Use an RTD (thermal resistive device) that has an accuracy of 0.55C over the range. The resistance of the RTD varies linearly with temperature from 100Ω at 0C to 178Ω at 200C.

Level 0 Overall goal: Convert a sensed temperature to a digital reading

Level 0 Module Digital Thermometer Inputs Ambient temperature: 0-200C. Power: 120V AC power. Outputs Digital temperature display: A four digit display, including one digit beyond the decimal point. Functionality Displays temperature on digital readout with an accuracy of 0.4% of full scale.

Level 1

Level 1 Module Temperature Conversion Unit Inputs Ambient temperature: 0-200C. Power: ?V DC (to power the electronics). Outputs VT: temperature proportional voltage. VT= αT, and ranges from ? to ?V. Functionality Produces an output voltage that is linearly proportional to temperature. It must achieve an accuracy of ?%.

Level 1 Module A/D Converter Inputs VT: voltage proportional to temperature that ranges from ? to ?V. Power: ?V DC. Outputs bN-1 -b0: ?-bit binary representation of VT. Functionality Converts analog input to binary digital output.

Level 1 Module BCD Conversion Unit Inputs 10-bit binary no. representing the range 0.0-200.0 C. Power: ?V DC. Outputs BCD0: 4-bit BCD representation of tenths digit. BCD1: 4-bit BCD representation of ones digit. BCD2: 4-bit BCD representation of tens digit. BCD3: 4-bit BCD representation of hundreds digit. Functionality Converts the 10-bit binary number to BCD representation of temperature. Must refresh the displays twice a second.

Level 1 Module Seven-segment LED Driver Inputs Outputs BCD0: 4-bit BCD representation of tenths digit. BCD1: 4-bit BCD representation of ones digit. BCD2: 4-bit BCD representation of tens digit. BCD3: 4-bit BCD representation of hundreds digit. Power: ?V DC. Outputs Four seven-segment driver lines Functionality Converts the BCD for each digit into outputs that turn on LEDs in seven-segment package to display the temperature.

Level 1 Module Power Supply Inputs 120 V ACrms Outputs  ? V DC with up to ? mA of current Regulation of ?% Functionality Converts AC wall outlet voltage to positive and negative DC output voltages with enough current to drive all circuits subsystems.

Coupling and Cohesion Coupling describes interconnectedness of modules Phenomena of tightly coupled systems A failure in one module propagates Difficult to redesign one module Phenomena of loosely coupled systems Maximizes the cohesion of a design Cohesion describes focus of modules Phenomena of highly cohesive systems Easy to test modules independently Simple (non-existent) control interface Phenomena of low cohesive systems Less reuse of modules

Documenting The Functional Design Design Level 0 Present a single module block diagram with inputs and outputs identified. Present the functional requirements: inputs, outputs, and functionality. Design Level 1 Present the Level 1 diagram (system architecture) with all modules and interconnections shown. Describe the theory of operation. This should explain how the modules work together to achieve the functional objectives. Present the functional requirements for each module at this level. Design Level N (for N>1) Repeat the process from design Level 1 as necessary. Design Alternatives Describe the different alternatives that were considered, the tradeoffs, and the rationale for the choices made. This should be based upon concept evaluation methods in Chapter 4.

System Design Deliverable Analyze and evaluate different options/ concepts for the design (different design architectures and/or different decisions for elements of the overall system) Develop a clear and feasible system design by describing the major systems and the subsystems of the design (functional decomposition, flowcharts, etc.) Copyright 2005 Ralph M. Ford and Chris Coulston Design for Electrical and Computer Engineers (Published by McGraw Hill) Not to be transmitted or reproduced without written consent of authors