Top Banner
1 ICS212 WQ05 (Dutt) Introduction 1 Introduction to Embedded and Ubiquitous Systems + Nikil Dutt UC Irvine ICS 212 Winter 2005 +Copyrighted Material adapted from Peter Marwedel, Rajesh Gupta, Frank Vahid and Tony Givargis Templates from Prabhat Mishra ICS212 WQ05 (Dutt) Introduction 2 Welcome to ICS 212 Instructor Nikil Dutt [email protected] Course Page http://www.ics.uci.edu/~dutt/ics212.html Visit regularly for updates and announcements Class Meets Mon-Wed 2-3:20 PM CS 253
20

Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

May 30, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

1

ICS212 WQ05 (Dutt) Introduction 1

Introduction to Embedded and Ubiquitous Systems+

Nikil DuttUC Irvine

ICS 212 Winter 2005

+Copyrighted Material adapted from Peter Marwedel, Rajesh Gupta, Frank Vahid and Tony GivargisTemplates from Prabhat Mishra

ICS212 WQ05 (Dutt) Introduction 2

Welcome to ICS 212

InstructorNikil Dutt [email protected]

Course Pagehttp://www.ics.uci.edu/~dutt/ics212.htmlVisit regularly for updates and announcements

Class MeetsMon-Wed 2-3:20 PM CS 253

Page 2: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

2

ICS212 WQ05 (Dutt) Introduction 3

Course Requirements

No graduate level courses necessary

Assumes knowledge ofComputer OrganizationData Structures and AlgorithmsProgramming in C ( or C++/VHDL/Verilog)

Basic undergraduate education in CS

ICS212 WQ05 (Dutt) Introduction 4

Evaluation and Grading

Details will be announced next week

Tentatively:HomeworksES case studiesFinal exam

Page 3: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

3

ICS212 WQ05 (Dutt) Introduction 5

Reading Materials

RecommendedBooks

Peter Marwedel – Embedded Systems Design, Kluwer 2003

Vahid and Givargis – Embedded System Design, Prentice Hall 2002

Both available at Bookstore and on reserve at the Science Library

ReferencesLecture Notes

Embedded Systems CoursesSangiovanni-Vincentelli @ Berkeley, Gupta @ UCSD, …

Newsgroupscomp.arch.embedded, …

Conferences/JournalsACM TECS/TODAES, IEEE TCAD/TVLSI, Kluwer DAES,…

Web Resourceswww.embedded.com, www.eet.com, …

ICS212 WQ05 (Dutt) Introduction 6

Embedded SystemsAutomobiles

Handheld

Medical

AirplanesMilitary

Entertainment

Page 4: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

4

ICS212 WQ05 (Dutt) Introduction 7

What’s an Embedded System?

Embedded systems =information processing systems embedded into a larger product

Two types of computingDesktop – produced millions/yearEmbedded – billions/year

Non-Embedded SystemsPCs, servers, and notebooks

The future of computing!Automobiles, entertainment,

communication, aviation, handheld devices, military and medical equipments.

ICS212 WQ05 (Dutt) Introduction 8

An Example Embedded System

Digital Camera Block Diagram

Page 5: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

5

ICS212 WQ05 (Dutt) Introduction 9

Story of the Humble Transistor

1947 – Shockley, Brattain, and Bardeeninvented the transistor at Bell Labs1961 – First commercial IC by Fairchild/TI1963 – CMOS invented1965 – Moore’s law1968 – State of the art: 64 transistor chip1978 – IA 8086: ~10K transistors1986 – IA 386: ~100K transistors1990 – IA 486: ~1 M transistors1998 – IA P2: ~ 10 M transistors2004 – IA P6: ~ 1 B transistors

ICS212 WQ05 (Dutt) Introduction 10

Moore’s Law

Source: Intel

Driving force behindElectronic systems research and industry

Proliferation of embedded computing systems

Transistor capacity doubles every 18 months

Page 6: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

6

ICS212 WQ05 (Dutt) Introduction 11

1,000,000,000N

um

ber

of

Tra

nsi

sto

rs

100,000,000

10,000,000

1,000,000

100,000

10,000

10001970 1975 1980 1985 1990 1995 2000 2005

4004 8008

8080

8086

286

386

486

Pentium 4

Pentium II

Pentium

Pentium III

NVIDIA NV30 GPU

Sony Graphic SynthesizerNVIDIA NV40

Intel

Intel

Intel

Intel

Intel

Intel

Intel

Intel

IntelIntel

Intel

Sony Graphic Synthesizer

IBM Power4

NVIDIA NV25 GPU

NVIDIA NV20 GPU

AMD Athlon XPIntel Centrino

NVIDIA NV35 GPUATI Radeon X800

Motorola G4

High-end Processors: Intel only?

ICS212 WQ05 (Dutt) Introduction 12

1,000,000,000

Nu

mb

er o

f T

ran

sist

ors

100,000,000

10,000,000

1,000,000

100,000

10,000

10001970 1975 1980 1985 1990 1995 2000 2005

4004 8008

8080

8086

286

386

486

Pentium 4

Pentium II

Pentium

Pentium III

NVIDIA NV30 GPU

Sony Graphic SynthesizerNVIDIA NV40

Intel

Intel

Intel

Intel

Intel

Intel

Intel

Intel

IntelIntel

Intel

Sony Graphic Synthesizer

IBM Power4

NVIDIA NV25 GPU

NVIDIA NV20 GPU

AMD Athlon XPIntel Centrino

NVIDIA NV35 GPUATI Radeon X800

Motorola G4

High-end: Embedded Processors!

Page 7: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

7

ICS212 WQ05 (Dutt) Introduction 13

Embedded Systems

Embedded Computer Systems

Devices other than desktop PCs, servers, and notebooks

Electricity running throughPerform something intelligent

Hardware/software which form a component of a larger system, but are concealed from user

Computers camouflaged as non-computers

The future of computing!

ICS212 WQ05 (Dutt) Introduction 14

Profusion of Embedded Systems

GartnerGroup estimates 70 Billion µP used in embedded systems in 2001

Other estimates say 50 to 120 Billion µP

Average embedded system has 4 µP

Of all µP sold, 90% go into “non-computers”, 10% in “computers”

You will most likely end up working with a “non-computer” at some point in your career

Page 8: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

8

ICS212 WQ05 (Dutt) Introduction 15

Components of Embedded Systems

Analog Digital Analog

Memory

Coprocessors

Controllers

Converters

Processor

Interface

Software(Application Programs)

ASIC

ICS212 WQ05 (Dutt) Introduction 16

Components of Embedded Systems

Analog ComponentsSensors, Actuators, Controllers, …

Digital ComponentsProcessor, CoprocessorsMemoriesControllers, BusesApplication Specific Integrated Circuits (ASIC)

Converters – A2D, D2A, …Software

Application ProgramsException Handlers

Page 9: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

9

ICS212 WQ05 (Dutt) Introduction 17

Computing Elements in ES

ProcessingTransformation of dataUse processors

Storage Retention of dataUse memories

CommunicationTransfer of dataUse buses

Peripherals

ICS212 WQ05 (Dutt) Introduction 18

Example: BMW 745i

2, 000, 000 LOCWindows CE OS53 8-bit µP11 32-bit µP7 16-bit µPMultiple NetworksBuggy!

Page 10: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

10

ICS212 WQ05 (Dutt) Introduction 19

Characteristics

Application SpecificApplications are known a prioriOptimize for cost, area, power, and performance

Digital Signal ProcessingSignals are represented digitally

ReactiveReacts to changes in the system’s environment

Real-timeCompute certain tasks before deadline

Distributed, Networked, …

ICS212 WQ05 (Dutt) Introduction 20

Characteristics

ReliabilityProbability of system working correctly provided

that is was working at t=0

MaintainabilityProbability of system working correctly d time

units after error occurred.

SafetyNot harmful for user

SecurityConfidential and authentic communication

Page 11: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

11

ICS212 WQ05 (Dutt) Introduction 21

Traditional Design Challenges

Low cost

Light weight

Reliability

Low power

Portable

Complexity

Ease of use

Mixed digital/analog requirements

Shrinking time-to-market

Short product lifetime

Real-time processing

Inherent concurrency

HW/SW co-design

ICS212 WQ05 (Dutt) Introduction 22

Recent Design ChallengesDesign Complexity

Ultra low powerHighly adaptiveActive power management (voltage scaling, etc.)Alternative energy source (scavenge, solar, etc.)

Internet awareIncorporate RF technologiesNetworking capabilities

Verification

Security

Page 12: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

12

ICS212 WQ05 (Dutt) Introduction 23

ICS212 – Lecture 2Embedded Applications

ICS212 WQ05 (Dutt) Introduction 24

OverviewHybrid embedded systems

Aerospace, automobiles, robotics, process control, and sensor nets

Multimedia

Consumer electronicsAppliances, office electronics, and home/office automation

Network componentsBridges, routers, switches, and hubs

Medical instrumentsPatient monitoring, MRI, and artificial hearts

E-BusinessATM, vending machines

Distributed & grid computing

OV

ER

LA

PP

ING

Page 13: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

13

ICS212 WQ05 (Dutt) Introduction 25

Hybrid Embedded SystemsComputation systems whose behavior is tightly integrated with the physical world

E.g., the behavior of an unmanned aerial vehicle (UAV) can be modeled by a combination of differential equations (the aerodynamics and low level feedback controllers) and a finite state automata (high level flight path decisions, such as to ascend or descend).

Behavior is governed by both continuous-state dynamics from the physical world and discrete-state dynamics from the computation

Passage of time during computation affects the state of the physical world

Inherently concurrent (inherent vs. built-in concurrency?)

ICS212 WQ05 (Dutt) Introduction 26

Aerospace

Flight controlStability: real-time differential feedback loops

Positioning & navigationGPS, INS

InstrumentationData acquisition, display, processing, and archive

RadarCommunication

Page 14: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

14

ICS212 WQ05 (Dutt) Introduction 27

Automobiles

Engine managementFuel, ignition, timing

Emission controlInstrumentation

Data acquisition, display, processing, and archive

Safety & stabilityAirbags, active control

Entertainment & comfortRadio, A/C, …

ICS212 WQ05 (Dutt) Introduction 28

Robotics

Implies autonomous operationN physical degree of freedomArtificial intelligenceControl heavyMission oriented

Repair, search, rescue, investigate, and perform physically difficult tasks

Page 15: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

15

ICS212 WQ05 (Dutt) Introduction 29

Process Control

Industrial automationPlant monitoring and production controlSimilar to control systems but with emphasis on management

ICS212 WQ05 (Dutt) Introduction 30

Sensor NetsMany sensor nodes each capable (but limited) of sensing, computation/storage, and communication

Structure safetySearch and rescueMilitary use

Self organizationEnergy EfficientDistributed

Modern Sensor Nodes

UC Berkeley: COTS Dust

UC Berkeley: COTS DustUC Berkeley: Smart Dust

UCLA: WINS Rockwell: WINS JPL: Sensor W ebs

Page 16: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

16

ICS212 WQ05 (Dutt) Introduction 31

MultimediaAn exercise in

Signals, analog to digital conversion, quantization, sampling, processing, and digital to analogue conversionInformation theory, entropy, Huffman codes, compression, lossless compression Images, audio, video

Virtual RealityPresentationQuality of serviceThink lots of data (formats and standards too)!

ICS212 WQ05 (Dutt) Introduction 32

Consumer ElectronicsHome appliances

Yesterday’s appliances: add computationTomorrow’s appliances: add networking (Internet)

Office electronicsIntegration Electronic paper (filing, printing, sending, and receiving)

Home/office automationCommon fantasy about the automated home or office of the future with lights and appliances that operate by themselves or with minimal effort

Page 17: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

17

ICS212 WQ05 (Dutt) Introduction 33

Network ComponentsStitching LANs

BridgeConnects two parts of the same network

RouterLink networks using different network identities

Extending portsSwitch

Transmit to recipient onlyHub

Transmit to all

Handle large volume of highly structured data with little transformation

ICS212 WQ05 (Dutt) Introduction 34

Medical InstrumentsPerform diagnosis (screening/evaluation)

Data collectionAppraisal of that dataDeveloping a plan of action

Observation or monitoring

Sensing and instrumentationAccuracy and precision

Other applications:Radiation therapyArtificial hearts, arms, legs, …

Page 18: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

18

ICS212 WQ05 (Dutt) Introduction 35

E-Business

Information processing systems

ATM

Cash registers

ScannersCredit-card readers

Often the interface behind a database

Automation and convenience

ICS212 WQ05 (Dutt) Introduction 36

Distributed & Grid Computing

Coordinated resource sharing and problem solving

The grid is static, reliable, and has infinite resource (for practical purposes)

Users (the mobile device e.g., PDA) has limited resources

Middleware mitigates the resource sharing and coordination efforts

Page 19: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

19

ICS212 WQ05 (Dutt) Introduction 37

Summary of Application Domains

Looked at a number of application domains

Large amount of overlap between these domains

Often each domain has associated standards, design methodologies, and certification programs

The future appears to suggest a fusion of design differences into a single methodology

ICS212 WQ05 (Dutt) Introduction 38

Real-Time Systems

A systems where correctness depends on logical results and the time the results are produced

Safety-critical: incorrect operation leads to human lossMission-critical: incorrect operation leads to failed mission

J.A. Stankovic et al. “Strategic Directions in Real-Time and Embedded Systems”

Page 20: Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter

20

ICS212 WQ05 (Dutt) Introduction 39

Course Outline

ConceptConceptSpecificationSpecification

HW/SWHW/SWPartitioningPartitioning

Hardware ComponentsHardware Components

Software ComponentsSoftware Components

Estimation Estimation --ExplorationExploration

HardwareHardware

SoftwareSoftware

DesignDesign

(Synthesis, Layout,

(Synthesis, Layout, ……))

DesignDesign(Compilation,

(Compilation, ……))

Validation and Evaluation (area, power, performance, Validation and Evaluation (area, power, performance, ……))

ICS212 WQ05 (Dutt) Introduction 40

Course Outline1/5 W Course overview, Introduction to ES, Typical ES Applications

1/10 M ES Components (Hardware) 1/12 W ES Components (Software)

1/17 M MLK Holiday1/19 W Embedded Design Domains

1/24 M Models, Languages, Tools1/26 W Models, Languages, Tools

1/31 M HW/SW Codesign2/2 W Reconfigurable Computing

2/7 M Timing2/9 W SW4ES: RTOS, Scheduling

2/14 M SW4ES: Compilers, Firmware, Middleware2/16 ES: Validation and Testing

2/21 M DSP2/23 W Control Systems

2/28 M Networked ES: Mobile, wireless3/2 W Networked ES: Ad-hoc networks, Sensornets

3/7 M Ubiquitous Computing (Tentative!)3/9W Embedded systems and HCI/CSCW (Tentative!)

3/14 M Fault Tolerance3/16 W ES Case Studies