Reminder. Course project team forming deadline. Course project ideas. Friday 9/8 11:59pm You will be randomly assigned to a team after the deadline

Similar documents
Reminder. Course project team forming deadline. Course project ideas. Next milestone

ECE 1160/2160 Embedded Systems Design. Midterm Review. Wei Gao. ECE 1160/2160 Embedded Systems Design

The Embedded System Design Process. Wolf Text - Chapter 1.3

The Embedded System Design Process. Wolf Text - Chapter 1.3

Introduction. Definition. What is an embedded system? What are embedded systems? Challenges in embedded computing system design. Design methodologies.

Embedded Systems. Octav Chipara. Thursday, September 13, 12

Design of Embedded Systems

Reference: Barry & Crowley, Modern Embedded Computing: Designing Connected, Pervasive, Media-Rich Systems, Morgan Kaufmann, 2012.

Digital Systems Design. Introduction to embedded and digital systems

Embedded Computing Platform. Architecture and Instruction Set

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

José Costa What is an embedded system? Examples of embedded systems. Characteristics of embedded systems

Introduction to Microprocessor

ELEC 5260/6260/6266 Embedded Computing Systems

Embedded Systems: Hardware Components (part I) Todor Stefanov

Basic Components of Digital Computer

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

ECE 3992 Final Project Proposal 4/16/08

ELC4438: Embedded System Design Embedded Processor

Introduction to Microcontrollers

Introduction to Embedded Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

Introduction to Embedded Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Chapter 1 Introduction. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

ECE 571 Advanced Microprocessor-Based Design Lecture 20

Microprocessors And Microcontroller

Computing platforms. Design methodology. Consumer electronics architectures. System-level performance and power analysis.

Calendar Description

Introduction to Embedded Systems

Intel Research mote. Ralph Kling Intel Corporation Research Santa Clara, CA

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

UNIT 2 (ECS-10CS72) VTU Question paper solutions

Computer Architecture s Changing Definition

Embedded Systems: Architecture

ECE 571 Advanced Microprocessor-Based Design Lecture 18

Smart Dust : Dispersed, Un-tethered Geospatial Monitoring. Dr. Raja R. Kadiyala Chief Technology Officer CH2M HILL - Oakland, CA

Overview of Microcontroller and Embedded Systems

Review: Performance Latency vs. Throughput. Time (seconds/program) is performance measure Instructions Clock cycles Seconds.

Embedded Systems: EmNets

Three-box Model: These three boxes need interconnecting (usually done by wiring known as a bus. 1. Processor CPU e.g. Pentium 4 2.

Wireless Sensor Networks CS742

Components of a personal computer

ECE 486/586. Computer Architecture. Lecture # 2

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 2, 2016

ELEC 5260/6260/6266 Embedded Computing Systems

CPE/EE 421 Microcomputers

ELEG3923 Microprocessor Ch.0 & Ch.1 Introduction to Microcontroller

Typical DSP application

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra

The Use Of Virtual Platforms In MP-SoC Design. Eshel Haritan, VP Engineering CoWare Inc. MPSoC 2006

Homeschool Enrichment. The System Unit: Processing & Memory

Lecture 12. Motivation. Designing for Low Power: Approaches. Architectures for Low Power: Transmeta s Crusoe Processor

Show how to connect three Full Adders to implement a 3-bit ripple-carry adder

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

CM5000 DATASHEET v0.1

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 3, 2015

CS 140 Introduction to Computing & Computer Technology. Computing Components

Lecture 1. Course Overview and The 8051 Architecture

Last Time. Making correct concurrent programs. Maintaining invariants Avoiding deadlocks

CS232: Computer Architecture II

LECTURE 10: Improving Memory Access: Direct and Spatial caches

Overview of Computer Organization. Outline

VLSI Design Automation

Robotic Systems ECE 401RB Fall 2006

New Advances in Micro-Processors and computer architectures

EE Embedded Systems Design

Alex Milenkovich 1. CPE/EE 421 Microcomputers. CPE/EE 421 Microcomputers U A H U A H U A H. Instructor: Dr Aleksandar Milenkovic Lecture Notes S01

EE414 Embedded Systems Ch 5. Memory Part 2/2

Introduction to Embedded Systems

ECE 471 Embedded Systems Lecture 2

Computer Architecture Dr. Charles Kim Howard University

ECE 4514 Digital Design II. Spring Lecture 22: Design Economics: FPGAs, ASICs, Full Custom

University of Dayton. Electrical & Computer Engineering. ECE 536 Microprocessor Applications. Dr. Ralph Barrera. Assignment (4)

ECE 571 Advanced Microprocessor-Based Design Lecture 21

An Introduction to Programmable Logic

ECE 637 Integrated VLSI Circuits. Introduction. Introduction EE141

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

Introduction. zwhat are embedded systems? zchallenges in embedded computing system design. zdesign methodologies Morgan Kaufman

Computer Architecture Dr. Charles Kim Howard University

VLSI Design Automation

Embedded Computation

Computer Performance

ECE 1161/2161 Embedded Computer System Design 2. Introduction. Wei Gao. Spring

Lecture 1: Introduction to Microprocessors

Moore s Law: Alive and Well. Mark Bohr Intel Senior Fellow

VLSI Digital Signal Processing

WHY APPLICATIONS ARE STILL DRAINING OUR BATTERIES and how we can help. Aaron Schulman & Sachin Katti

Recap from last class

Introduction to Embedded Systems

CS 425 / ECE 428 Distributed Systems Fall 2014

CS/COE0447: Computer Organization

Microelectronics. Moore s Law. Initially, only a few gates or memory cells could be reliably manufactured and packaged together.

Overview of Computer Organization. Chapter 1 S. Dandamudi

Embedded System Design

VLSI Design Automation. Maurizio Palesi

Introducing Microcontrollers System Design

ELCT 912: Advanced Embedded Systems

MA Unit 4. Question Option A Option B Option C Option D

PC I/O. May 7, Howard Huang 1

Transcription:

Reminder Course project team forming deadline Friday 9/8 11:59pm You will be randomly assigned to a team after the deadline Course project ideas If you have difficulty in finding team mates, send your ideas to me for distribution ECE 1160/2160 Embedded Systems Design 1

ECE 1160/2160 Embedded Systems Design Design Methodology Wei Gao ECE 1160/2160 Embedded Systems Design 2

System Characteristics Non-functional requirements 1. Real-time 2. Low power 3. Low cost Performance constraints Marketing issues Short development cycles Small yet efficient teams ECE 1160/2160 Embedded Systems Design 3

1. Real-Time System works properly only if it meets its timing constraints Timing constraints Deadline: complete a task within D millisec E.g., ABS, GPS Throughput / rate: complete N tasks per sec E.g., portable DVD player ECE 1160/2160 Embedded Systems Design 4

1. Real-Time Hard real time: violating timing constraints causes failure Anti-lock Brake System (ABS) CD burner Software modem Soft real time: missing deadline results in degraded performance Video GPS map Audio (MP3 player)? ECE 1160/2160 Embedded Systems Design 5

2. Low Power Battery-powered devices Cell phone, ipod, wireless sensors... Wall-powered devices: excessive power consumption increases system cost Cooling Energy bills ECE 1160/2160 Embedded Systems Design 6

Great Duck Island Require 9 month lifetime on batteries! ECE 1160/2160 Embedded Systems Design 7

3. Low Cost Source: Lama Nachman, presentation at TinyOS Technology Exchange Constraints on memory size, processor speed, I/O interfaces Example: Intel imote 2 ECE 1160/2160 Embedded Systems Design 8

imote 2 Price Sheet Source: Lama Nachman, presentation at TinyOS Technology Exchange Item Description Cost Intel PXA 270/271/273 processor Discrete / 32M F+S / 32M F $17.75 / $32.44 / $23 PMIC Dialog power management IC $3.75 CC2420 ChipCon 802.15.4 Radio $3.6 Crystals 13 MHz, 16 MHz, 32KHz ~$2.8 Antenna Giga Ant surface mount $1.5 LED + Driver Agilent $1 Connectors Basic (2) + Advanced (2) $1 + $1.6 Passives ~ $9 Fab + Assembly Rough estimate from imote 1 ~ $10 Total With PXA 270 / 271 / 273 $52 + F / $67 / $57 Prices above assume 1K units, except for PXA and PMIC (special Intel pricing) PXA 270 configuration will need an external flash + bringing out addr/data bus ECE 1160/2160 Embedded Systems Design 9

imote 2 : Cost Consideration Source: Lama Nachman, presentation at TinyOS Technology Exchange No A/D on mote board Reduce cost Digital sensors don t need it Applications have different A/D requirements (number of channels, sampling rate, filtering ) A/D will be integrated into the sensor board SDIO (Secure Digital I/O) Connector is too big (30x30 mm) and costly ($1.74) to be included on Imote 2 board Pins will be exposed through basic connector ECE 1160/2160 Embedded Systems Design 10

Performance Constraints Due to the requirements of low power and low cost Example: Crossbow TelosB http://www.willow.co.uk/telosb_datasheet.pdf Processing capability 8 MHz TI MSP430 microprocessor Memory size 10kB RAM 48kB Flash memory for program 1Mb external flash for data logging Data transmission ZigBee: 250kbps data rate ECE 1160/2160 Embedded Systems Design 11

Design Teams Often designed by a small team Often have to meet tight deadlines 6 month market window is common. Example: Can t miss back-to-school window for calculator. Compare to teams for Pentium Windows XP, Vista ECE 1160/2160 Embedded Systems Design 12

Embedding A Computer output analog analog actuators CPU input analog analog sensors embedded computer mem ECE 1160/2160 Embedded Systems Design 13

Alternative Technology for CPU Application-Specific Integrated Circuits (ASICs) Microprocessors Field-Programmable Gate Arrays (FPGAs) Why do we use a microprocessor? ECE 1160/2160 Embedded Systems Design 14

ASIC Example: Digital baseband processing for cell phones Performance: Fast! Power: Fewer logic elements low power Development cost: Very high 2 million $ for starting production of a new ASIC Needs a long time and a large team Reprogrammability: None! Single-purpose devices Difficult to upgrade systems ECE 1160/2160 Embedded Systems Design 15

Microprocessors Performance Paradox Von Neumann (or Harvard) architecture is fundamentally slow! Fetch, decode instructions But engineering optimization often fixes it! heavily pipelined cache clock frequency circuit density aggressive VLSI technology multi-core processor ECE 1160/2160 Embedded Systems Design 16

Microprocessors Power However, microprocessors improve performance at the cost of power! Performance/watt remains low. Solution Modern microprocessors offer features to help control power consumption. Software can help reduce power consumption. ECE 1160/2160 Embedded Systems Design 17

Microprocessors Reprogrammability and Development Cost Let software do the work! Fast and cheap development Easy to upgrade, patch, and reuse Simplify the design of families of products Multi-purpose device: same hardware can run multiple applications (e.g., camera phones) ECE 1160/2160 Embedded Systems Design 18

FPGA Programmable hardware Combine the benefits of ASIC and microprocessor Hardware implementation good performance/watt Reprogammable lower development cost ECE 1160/2160 Embedded Systems Design 19

FPGA - Limitations Current FPGAs are not ready as a standalone platform Many overhead transistors waste power! Configurable connections Personalization memory: contribute to 70% of the transistors on a chip More difficult to program than software More commonly used for prototyping ECE 1160/2160 Embedded Systems Design 20

State of The Practice Microprocessor is the dominant player Flexibility and low development cost >> performance/watt consideration Power management techniques are crucial To be covered in this class. Microprocessor + ASIC is common Ex: cell phone FPGA is expected to play an increasingly important role ECE 1160/2160 Embedded Systems Design 21

Design Challenges Non-functional constraints How do we meet deadlines? Faster hardware or better software? How do we minimize power? Turn off unnecessary logic? Reduce memory accesses? Slow down CPU? Cost considerations Trade-offs among constraints Optimization & analysis are important! Will be covered in this course ECE 1160/2160 Embedded Systems Design 22

Design Methodologies requirements specification Top-down design architecture component design system integration Bottom-up design ECE 1160/2160 Embedded Systems Design 23

Requirements Plain language description of what the user wants and expects to get. May be developed in several ways: Talking directly to customers; Providing prototypes to users for comment. Functional vs. non-functional requirements Functional: output as a function of input Non-functional: timing constraints, power consumption, size, weight, etc. ECE 1160/2160 Embedded Systems Design 24

Requirements Form name purpose inputs outputs functions performance manufacturing cost power physical size/weight ECE 1160/2160 Embedded Systems Design 25

Example: GPS Moving Map Requirements Purpose: Obtains position from GPS, paints map from local database. I-78 Scotch Road lat: 40 13 lon: 32 19 ECE 1160/2160 Embedded Systems Design 26

GPS Moving Map Requirements Functionality For car driving use, not for airplanes or boats Show major roads and landmarks. User interface At least 400 x 600 pixel screen. Three buttons max. Pop-up menu. Performance No more than 1 sec power-up. Lock onto GPS within 15 seconds. Update location every 0.25 sec. ECE 1160/2160 Embedded Systems Design 27

GPS Moving Map Requirements Cost: street price no more than $100 Physical size/weight: Should fit in hand. Power consumption: Should run for at least 8 hours on four AA batteries. ECE 1160/2160 Embedded Systems Design 28

GPS Map Requirements From name GPS moving map purpose consumer-grade moving map for driving inputs power button, two control buttons outputs back-lit LCD 400 X 600 functions performance manufacturing cost power 5-receiver GPS; three resolutions; displays current lat/lon updates screen within 0.25 sec of movement $100 cost-of-goodssold 100 mw physical size/weight no more than 2: X 6:, 12 oz. ECE 1160/2160 Embedded Systems Design 29

Specification More precise description of the system: should not imply a particular architecture; provides input to the architecture design process. May include functional and non-functional elements. UML: Unified Modeling Language Not required in this course ECE 1160/2160 Embedded Systems Design 30

GPS Specification Should include: what is received from GPS; map data, format; user interface, menu items; operations required to satisfy user requests; background operations needed to keep the system running Event-driven or periodic?. ECE 1160/2160 Embedded Systems Design 31

Architecture Design What major components can satisfy the specifications? Hardware components: CPUs, memory, GPS receiver, etc. Software components: Topographical database, access functions, etc. Must take into account functional and non-functional specifications. ECE 1160/2160 Embedded Systems Design 32

GPS Moving Map Block Diagram GPS receiver search engine renderer display database user interface ECE 1160/2160 Embedded Systems Design 33

GPS Moving Map Hardware Architecture display frame buffer CPU GPS receiver memory panel I/O ECE 1160/2160 Embedded Systems Design 34

GPS Moving Map Software Architecture position database search renderer pixels user interface timer ECE 1160/2160 Embedded Systems Design 35

Designing Hardware and Software Components Must spend time architecting the system before you start coding. Components maybe ready-made modified from existing designs designed from scratch Components in an embedded system will be covered in following classes ECE 1160/2160 Embedded Systems Design 36

System Integration Put together the components. Many bugs appear only at this stage. Individual components should be tested first! ECE 1160/2160 Embedded Systems Design 37

Summary Characteristics of embedded systems Non-functional requirements: real-time, low-power, low-cost Why do we use microprocessors today? Embedded systems pose many design challenges: Design time Deadlines Power Cost Design methodologies help us manage the design process. Top-down vs. bottom-up ECE 1160/2160 Embedded Systems Design 38