Today’s Lecture What is the embedded system?

Slides:



Advertisements
Similar presentations
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Advertisements

Embedded System Lab. What is an embedded systems? An embedded system is a computer system designed for specific control functions within a larger system,
© 2008 Wayne Wolf Overheads for Computers as Components, 2nd ed. Introduction What are embedded computing systems? Challenges in embedded computing system.
Embedded Systems: Introduction
CHAPTER 1 THE 8051 MICROCONTROLLERS. Microcontroller vs. General- Purpose Microprocessor General-purpose microprocessors have ◦ No RAM ◦ No ROM ◦ No I/O.
CS4101 嵌入式系統概論 Design and Development 金仲達教授 國立清華大學資訊工程學系 Slides from Computers as Components: Principles of Embedded Computing System Design, Wayne Wolf,
ECOE 560 Design Methodologies and Tools for Software/Hardware Systems Spring 2006 Serdar Taşıran.
Embedded Systems: Introduction. Course overview: Syllabus: text, references, grading, etc. Schedule: will be updated regularly; lectures, assignments.
Embedded Systems Design: A Unified Hardware/Software Introduction 1 Introduction to embedded Systems.
Embedded System Design Using FPGAs Module F1-1. What is an Embedded System It is not a PC! Most computers in the world do not have a keyboard and screen.
Define Embedded Systems Small (?) Application Specific Computer Systems.
Introduction to Embedded Systems Introduction to Embedded Systems.
Embedded Computer Systems Chapter1: Embedded Computing Eng. Husam Y. Alzaq Islamic University of Gaza.
WELCOME M.TECH- BIOMEDICAL SIGNAL PROCESSING & INSTRUMENTATION Murigendrayya M Hiremath Lecturer –ML DSCE.
Dalya Gaber. Definition:- Embedded system is any device that includes a computer but is not itself a general purpose computer. It has hardware & software.
Microcontroller: Introduction
1 ECE 354 Slides modified from Moritz/Koren/Burleson/Kundu, UMass ; Wolf, Computers as Components, Morgan Kaufman, 2005 Embedded Systems.
COM181 Computer Hardware Ian McCrumRoom 5B18,
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Introduction to Embedded Systems. What is an Embedded System? Electronic devices that incorporate a microprocessor or microcontroller within their implementation.
1 © Unitec New Zealand Overview Of Embedded Hardware ETEC 6416 Date: - 03 Aug, 2011.
L29:Lower Power Embedded Architecture Design 성균관대학교 조 준 동 교수,
Microcontroller Systems: Motivation
Embedded Systems Design 1. 2 Embedded Systems Overview Computing systems are everywhere Most of us think of “desktop” computers –PC’s –Laptops –Mainframes.
Embedded Systems. 2 A “short list” of embedded systems And the list goes on and on Anti-lock brakes Auto-focus cameras Automatic teller machines Automatic.
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
Chapter 1 CSF 2009 Computer Abstractions and Technology.
Codesign of Embedded Systems1 Introduction to Embedded Systems Part of HW/SW Codesign of Embedded Systems Course (CE )
1 ECE 354 © Koren/Moritz 2008, some slides modified from Burleson, UMass and Wolf, Computers as Components, Morgan Kaufman, 2005 ECE 354 Lecture 1 The.
Introduction to Computers Personal Computing 10. What is a computer? Electronic device Performs instructions in a program Performs four functions –Accepts.
Computing Systems Computer abstractions and technology.
1 3-General Purpose Processors: Altera Nios II 2 Altera Nios II processor A 32-bit soft core processor from Altera Comes in three cores: Fast, Standard,
COMP3221/9221: Microprocessors and Embedded Systems COMP3221: Microprocessors and Embedded Systems Lecture 31: Embedded Systems
Lecture 13 Introduction to Embedded Systems Graduate Computer Architecture Fall 2005 Shih-Hao Hung Dept. of Computer Science and Information Engineering.
1 Lecture 1: Embedded Systems Overview, AVR Hardware/Software Introduction.
Intro to Architecture – Page 1 of 22CSCI 4717 – Computer Architecture CSCI 4717/5717 Computer Architecture Topic: Introduction Reading: Chapter 1.
SYSTEM-ON-CHIP (SoC) AND USE OF VLSI CIRCUIT DESIGN TECHNOLOGY.
High Performance Embedded Computing © 2007 Elsevier Lecture 3: Design Methodologies Embedded Computing Systems Mikko Lipasti, adapted from M. Schulte Based.
High Performance Embedded Computing © 2007 Elsevier Chapter 1, part 2: Embedded Computing High Performance Embedded Computing Wayne Wolf.
MECHATRONICS PRESETATION BY ANGSHUMAN DEBRAJ & HRISHIKESH MEHTA.
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
Embedded Systems Design: A Unified Hardware/Software Introduction 1 Chapter 3 General-Purpose Processors: Software.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
Technology discontinuities drive new computing paradigms and applications 1960 Mainframe ComputerIBM 1970 Mini-Computer DEC 1980 WorkstationSun, HP 1990PCIntel,
What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.
Lecture # 1 1. Course Website 2.
© 2000 Morgan Kaufman Overheads for Computers as Components1 Design methodologies zA procedure for designing a system. zUnderstanding your methodology.
Embedded Systems Introduction. Microprocessor building blocks 1. ALU (Arithmetic Logic Unit): The ALU is a sequential logic circuitry that is intended.
Embedded Systems Overview Prepared by Nisha Sinsinbar Subject: Microcontoller & Interfacing Sub code: EC Department.
Chapter 1: Embedded Computing Embedded System Design.
KAASHIV INFOTECH – A SOFTWARE CUM RESEARCH COMPANY IN ELECTRONICS, ELECTRICAL, CIVIL AND MECHANICAL AREAS
Heterogeneous Processing KYLE ADAMSKI. Overview What is heterogeneous processing? Why it is necessary Issues with heterogeneity CPU’s vs. GPU’s Heterogeneous.
Embedded Systems. What is Embedded Systems?  Embedded reflects the facts that they are an integral.
1 بسم الله الرحمن الرحيم لـغـة الـتـجـمـيــع Assembly Language.
ECE354 Embedded Systems Introduction C Andras Moritz.
CS4101 Introduction to Embedded Systems Design and Implementation
EmbedDed Systems – MECT190
AS PER OBE SYLLABUS DTE KARNATAKA SHANTHU M.Tech SAI JAYANI ACADEMY (R) SIXTH SEMESTER Diploma in ELECTRONICS AND COMMUNICATION ENGINEERING.
Why microcontrollers in embedded systems?
Chapter 1: The 8051 Microcontrollers
EmbedDed Systems – MECT190
Introduction to Embedded Systems
Embedded Processors.
UNIT 5 EMBEDDED SYSTEM DEVELOPMENT
UNIT 5 EMBEDDED SYSTEM DEVELOPMENT
SNS COLLEGE OF TECHNOLOGY
Introduction to Embedded Systems
CHAPTER 1 THE 8051 MICROCONTROLLERS
Embedded Systems By : Simran Amaandeep Singh
Presentation transcript:

Embedded System Spring, 2011 Lecture 1: Introduction to Embedded Computing Eng. Wazen M. Shbair

Today’s Lecture What is the embedded system? Challenges in embedded computing system design. IUG- Embedded System

What Are Embedded Systems? Definition: an embedded system is any device that includes a programmable computer but is not itself a general-purpose computer. Take advantage of application characteristics to optimize the design: Performance Cost/size Real time requirements Power consumption Reliability etc. IUG- Embedded System

Early History Originally designed to control an aircraft simulator. Late 1940’s: MIT Whirlwind computer was designed for real-time operations. Originally designed to control an aircraft simulator. First microprocessor was Intel 4004 in early 1970’s. HP-35 calculator used several chips to implement a microprocessor in 1972. Automobiles used microprocessor-based engine controllers starting in 1970’s. Control fuel/air mixture, engine timing, etc. Provides lower emissions, better fuel efficiency. IUG- Embedded System

A Short List of Embedded Systems Anti-lock brakes Auto-focus cameras Automatic teller machines Automatic toll systems Automatic transmission Avionic systems Battery chargers Camcorders Cell phones Cell-phone base stations Cordless phones Cruise control Curbside check-in systems Digital cameras Disk drives Electronic card readers Electronic instruments Electronic toys/games Factory control Fax machines Fingerprint identifiers Home security systems Life-support systems Medical testing systems Modems MPEG decoders Network cards Network switches/routers On-board navigation Pagers Photocopiers Point-of-sale systems Portable video games Printers Satellite phones Scanners Smart ovens/dishwashers Speech recognizers Stereo systems Teleconferencing systems Televisions Temperature controllers Theft tracking systems TV set-top boxes VCR’s, DVD players Video game consoles Video phones Washers and dryers IUG- Embedded System

An Application Example: Digital Camera Digital Camera Block Diagram IUG- Embedded System

Components of Embedded Systems Memory Controllers Interface Software (Application Programs) Processor Coprocessors ASIC Converters Analog Digital Analog IUG- Embedded System

Components of Embedded Systems Analog Components Sensors, Actuators, Controllers, … Digital Components Processor, Coprocessors Memories Controllers, Buses Application Specific Integrated Circuits (ASIC) Converters – A2D, D2A, … Software Application Programs Exception Handlers IUG- Embedded System

Automotive Embedded Systems Today’s high-end automobile may have 100 microprocessors: 4-bit microcontroller checks seat belt; microcontrollers run dashboard devices; 16/32-bit microprocessor controls engine. Customer’s requirements Reduced cost Increased functionality Improved performance Increased overall dependability IUG- Embedded System

An Engineering View IUG- Embedded System

BMW 850i Brake and Stability Control System Anti-lock brake system (ABS): pumps brakes to reduce skidding. Automatic stability control (ASC+T): controls engine to improve stability. ABS and ASC+T communicate. ABS was introduced first---needed to interface to existing ABS module. IUG- Embedded System

BMW 850i, cont’d. sensor sensor brake brake hydraulic pump ABS brake IUG- Embedded System

Why Use Microprocessors? Alternatives: field-programmable gate arrays (FPGAs), custom logic, application specific integrated circuit (ASIC), etc. Microprocessors are often very efficient: can use same logic to perform many different functions. Microprocessors simplify the design of families of products. IUG- Embedded System

Why Use Microprocessors? Two factors that work together to make microprocessor-based designs fast First, microprocessors execute programs very efficiently. While there is overhead that must be paid for interpreting instructions, it can often be hidden by clever utilization of parallelism within the CPU Second, microprocessor manufacturers spend a great deal of money to make their CPUs run very fast. IUG- Embedded System

Why Use Microprocessors? Performance Microprocessors use much more logic to implement a function than does custom logic. But microprocessors are often at least as fast: heavily pipelined; large design teams; aggressive VLSI technology. Power consumption Custom logic is a clear winner for low power devices. Modern microprocessors offer features to help control power consumption. Software design techniques can help reduce power consumption. Heterogeneous systems: some custom logic for well-defined functions, CPUs+ software for everything else. IUG- Embedded System

Microprocessor Varieties Microcontroller: includes I/O devices, on-board memory. Digital signal processor (DSP): microprocessor optimized for digital signal processing. Typical embedded word sizes: 8-bit, 16-bit, 32-bit. IUG- Embedded System

Microprocessor Varieties 4-bit, 8-bit, 16-bit, 32-bit : 8-bit processor : more than 3 billion new chips per year 32-bit microprocessors : PowerPC, 68k, MIPS, and ARM chips. ARM-based chips alone do about triple the volume that Intel and AMD peddle to PC makers. Most (98% or so) 32-bit processors are used in embedded systems, not PCs. RISC-type processor owns most of the overall embedded market [MPF: 2002]. IUG- Embedded System

Platforms Embedded computing platform: hardware architecture + associated software. Many platforms are multiprocessors. Examples: Single-chip multiprocessors for cell phone baseband. Automotive network + processors. IUG- Embedded System

The physics of software Computing is a physical act. Software doesn’t do anything without hardware. Executing software consumes energy, requires time. To understand the dynamics of software (time, energy), we need to characterize the platform on which the software runs. IUG- Embedded System

Challenges in Embedded Computing System Design How much hardware do we need? How do we meet deadlines? How do we minimize power consumption? How do we design for upgradability? Does it really work? IUG- Embedded System

What does “Performance” mean? In general-purpose computing, performance often means average-case, may not be well-defined. In real-time systems, performance means meeting deadlines. Missing the deadline by even a little is bad. Finishing ahead of the deadline may not help. IUG- Embedded System

Characterizing performance We need to analyze the system at several levels of abstraction to understand performance: CPU: microprocessor architecture. Platform: bus, I/O devices. Program: implementation, structure. Task: multitasking, interaction between tasks. Multiprocessor: interaction between processors. IUG- Embedded System

Characteristics of Embedded Systems Very high performance, sophisticated functionality Vision + compression + speech + networking all on the same platform. Multiple task, heterogeneous. Real-time. Often low power. Low manufacturing cost.. Highly reliable. I reboot my piano every 4 months, my PC every day. Designed to tight deadlines by small teams. IUG- Embedded System

Functional Complexity Often have to run sophisticated algorithms or multiple algorithms. Cell phone, laser printer. Often provide sophisticated user interfaces. IUG- Embedded System

Real-Time Operation Must finish operations by deadlines. Hard real time: missing deadline causes failure. Soft real time: missing deadline results in degraded performance. Many systems are multi-rate: must handle operations at widely varying rates. IUG- Embedded System

Design methodologies A procedure for designing a system. Understanding your methodology helps you ensure you didn’t skip anything. Compilers, software engineering tools, computer-aided design (CAD) tools, etc., can be used to: help automate methodology steps; keep track of the methodology itself. IUG- Embedded System

Design goals Performance. Functionality and user interface. Overall speed, deadlines. Functionality and user interface. Manufacturing cost. Power consumption. Other requirements (physical size, etc.) IUG- Embedded System

Levels of abstraction requirements specification architecture component design system integration IUG- Embedded System

Top-down vs. bottom-up Top-down design: Bottom-up design: start from most abstract description; work to most detailed. Bottom-up design: work from small components to big system. Real design uses both techniques. IUG- Embedded System

Stepwise refinement At each level of abstraction, we must: analyze the design to determine characteristics of the current state of the design; refine the design to add detail. IUG- Embedded System

Requirements Plain language description of what the user wants and expects to get. May be developed in several ways: talking directly to customers; talking to marketing representatives; providing prototypes to users for comment. IUG- Embedded System

Functional vs. non-functional requirements output as a function of input. Non-functional requirements: time required to compute output; size, weight, etc.; power consumption; reliability; etc. IUG- Embedded System

Our requirements form IUG- Embedded System

Example: GPS moving map requirements Moving map obtains position from GPS, paints map from local database. I-78 Scotch Road lat: 40 13 lon: 32 19 © 2008 Wayne Wolf IUG- Embedded System Overheads for Computers as Components, 2nd ed.

GPS moving map needs Functionality: For automotive use. Show major roads and landmarks. User interface: At least 400 x 600 pixel screen. Three buttons max. Pop-up menu. Performance: Map should scroll smoothly. No more than 1 sec power-up. Lock onto GPS within 15 seconds. Cost: $120 street price = approx. $30 cost of goods sold. IUG- Embedded System

GPS moving map needs, cont’d. Physical size/weight: Should fit in hand. Power consumption: Should run for 8 hours on four AA batteries. IUG- Embedded System

GPS moving map requirements form © 2008 Wayne Wolf IUG- Embedded System Overheads for Computers as Components, 2nd ed.

Specification A 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. May be executable or may be in mathematical form for proofs. IUG- Embedded System

GPS specification Should include: What is received from GPS; map data; user interface; operations required to satisfy user requests; background operations needed to keep the system running. IUG- Embedded System

Architecture design What major components go satisfying the specification? Hardware components: CPUs, peripherals, etc. Software components: major programs and their operations. Must take into account functional and non-functional specifications. IUG- Embedded System

GPS moving map block diagram display GPS receiver search engine renderer database user interface IUG- Embedded System

GPS moving map hardware architecture display frame buffer CPU GPS receiver memory panel I/O IUG- Embedded System

GPS moving map software architecture database search renderer pixels position user interface timer IUG- Embedded System

Designing hardware and software components Must spend time architecting the system before you start coding. Some components are ready-made, some can be modified from existing designs, others must be designed from scratch. © 2008 Wayne Wolf IUG- Embedded System

System integration Put together the components. Many bugs appear only at this stage. Have a plan for integrating components to uncover bugs quickly, test as much functionality as early as possible. © 2008 Wayne Wolf IUG- Embedded System

Summary Embedded computers are all around us. Many systems have complex embedded hardware and software. Embedded systems pose many design challenges: design time, deadlines, power, etc. Design methodologies help us manage the design process. IUG- Embedded System

References Jie Hu , ECE692 Embedded Computing Systems , Fall 2010. Wayne Wolf’s , Computers as Components © 2000 , Morgan Kaufman IUG- Embedded System