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

Similar documents
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

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

Embedded Computing Platform. Architecture and Instruction Set

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

Digital Systems Design. Introduction to embedded and digital systems

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

Embedded Systems: EmNets

ECE 3992 Final Project Proposal 4/16/08

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

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

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

VLSI Digital Signal Processing

ECE 571 Advanced Microprocessor-Based Design Lecture 20

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

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

Microprocessors And Microcontroller

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

Calendar Description

Overview of Microcontroller and Embedded Systems

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

Computer Performance

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

Wireless Sensor Networks CS742

ECE 486/586. Computer Architecture. Lecture # 2

Computer Architecture s Changing Definition

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

Components of a personal computer

CPE/EE 421 Microcomputers

ECE 571 Advanced Microprocessor-Based Design Lecture 18

Embedded Systems: Architecture

Computer Architecture. Fall Dongkun Shin, SKKU

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

Homeschool Enrichment. The System Unit: Processing & Memory

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

Today s Agenda Background/Experience Course Information Altera DE2B Board do Overview Introduction to Embedded Systems Design Abstraction Microprocess

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

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

Computer Architecture Dr. Charles Kim Howard University

CS 140 Introduction to Computing & Computer Technology. Computing Components

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

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

ELEC 5260/6260/6266 Embedded Computing Systems

Introduction to Embedded Systems

CS232: Computer Architecture II

Alternative Designs and Decision Making for Top Design Selection

LECTURE 10: Improving Memory Access: Direct and Spatial caches

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

Addressing the Memory Wall

ECE 471 Embedded Systems Lecture 2

Typical DSP application

EE414 Embedded Systems Ch 5. Memory Part 2/2

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

Computer Architecture Dr. Charles Kim Howard University

ECE 637 Integrated VLSI Circuits. Introduction. Introduction EE141

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

An Introduction to Programmable Logic

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

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

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

OUTLINE. System-on-Chip Design ( ) System-on-Chip Design for Embedded Systems ( ) WHAT IS A SYSTEM-ON-CHIP?

CM5000 DATASHEET v0.1

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

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

Lecture 1. Course Overview and The 8051 Architecture

Recap from last class

Embedded System Design

CS-3410 Systems Programming Spring 2013

VLSI Design Automation

Overview of Computer Organization. Outline

Robotic Systems ECE 401RB Fall 2006

Pharmacy college.. Assist.Prof. Dr. Abdullah A. Abdullah

ECE/CS 552: Introduction To Computer Architecture 1

New Advances in Micro-Processors and computer architectures

EE Embedded Systems Design

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

CSEE W4824 Computer Architecture Fall 2012

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

PC I/O. May 7, Howard Huang 1

Computer Systems. Communication (networks, radio links) Meatware (people, users don t forget them)

ZONAL EDUCATION OFFICE - JAFFNA

ECE 571 Advanced Microprocessor-Based Design Lecture 21

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

VLSI Design Automation

Embedded Computation

Transcription:

Reminder Course project team forming deadline Thursday 9/6 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 Next milestone Project proposal document & presentation One-page proposal document is due per team on 9/19 Proposal presentation on 9/19 and 9/24 ECE 1160/2160 Embedded Systems Design 1

Clarification on Course Gradings Graduate students need to do more Answer one additional question on the exams Undergraduate students receive 10% extra credits in all their course project scores Presentations & project reports ECE 1160/2160 Embedded Systems Design 2

Notification Class on next Monday (9/10) will be canceled due to travel ECE 1160/2160 Embedded Systems Design 3

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

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 5

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 6

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 7

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 8

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

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 10

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 11

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 12

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 13

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 14

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

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 16

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 17

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 18

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 19

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 20

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 21

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 22

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 23

The State of the Art Revival of ASICs Domain-specific chip design AI-specialized processors Utilizing the FPGA s parallelism Graphical processing Neural network computations ECE 1160/2160 Embedded Systems Design 24

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 25

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

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 27

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

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 29

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 30

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 31

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 32

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 33

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 34

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 35

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

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

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

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 39

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 40

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 41