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
Embed
Introduction to Embedded and Ubiquitous Systemsjupiter.plymouth.edu/~wjt/OpSys/EmbeddedSystems1.pdf · 3 ICS212 WQ05 (Dutt) Introduction 5 Reading Materials zRecommended Books Peter
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
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
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
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
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!
7
ICS212 WQ05 (Dutt) Introduction 13
Embedded Systems
Embedded Computer Systems
Devices other than desktop PCs, servers, and notebooks
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
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
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
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?)
InstrumentationData acquisition, display, processing, and archive
RadarCommunication
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
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
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)!
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
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, …
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
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”
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!)