Beruflich Dokumente
Kultur Dokumente
Embedded
Systems
Objectives
Setha Pan-ngum
Contents
Setha Pan-ngum
Contents
Setha Pan-ngum
Wireless Communications
Y. Williams
20
Setha Pan-ngum
Robotics Control
22
Setha Pan-ngum
More examples
Smart Toys
Y. Williams
24
Setha Pan-ngum
Y. Williams
21
Setha Pan-ngum
Setha Pan-ngum
Setha Pan-ngum
10
Definition
Wayne Wolf
Setha Pan-ngum
11
Definition
Setha Pan-ngum
12
PCs
Laptops
Mainframes
Servers
Slide credit Vahid/Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction, 2000
Setha Pan-ngum
13
Setha Pan-ngum
14
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
VCRs, DVD players
Video game consoles
Video phones
Washers and dryers
Setha Pan-ngum
15
Setha Pan-ngum
16
Embedded Systems =
- ,
- ,
- BTU
-
-
Setha Pan-ngum
17
Setha Pan-ngum
18
Setha Pan-ngum
19
Setha Pan-ngum
20
System Bus
Processor
(Output)
Motor/Light
Observe
Temperature
Sensor
(Input)
mem
Setha Pan-ngum
21
Processors
Microprocessors for PCs
Embedded processors or Microcontrollers
for embedded systems
Setha Pan-ngum
22
Setha Pan-ngum
23
Setha Pan-ngum
24
Setha Pan-ngum
25
Setha Pan-ngum
26
Processor Market
Setha Pan-ngum
27
Growing Demand
Embedded
processors account
for
Over 97% of total
processors sold
Over 60% of total
sales from processors
Sales expected to
increase by roughly
15% each year
Setha Pan-ngum
28
Moores Law
Setha Pan-ngum
29
Setha Pan-ngum
30
1981
1984
1987
1990
1993
1996
1999
2002
10,000
transistors
150,000,000
transistors
Leading edge
chip in 1981
Leading edge
chip in 2002
Slide credit Vahid/Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction, 2000
Setha Pan-ngum
31
Tightly-constrained
Low cost, low power, small, fast, etc.
Slide credit Vahid/Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction, 2000
Setha Pan-ngum
32
Setha Pan-ngum
33
Setha Pan-ngum
34
Design Constraints
Setha Pan-ngum
35
Design Challenges
Setha Pan-ngum
36
Design Metrics
Common metrics
Unit cost: the monetary cost of manufacturing each copy of
the system, excluding NRE cost
Setha Pan-ngum
37
Design Metrics
Setha Pan-ngum
38
Power
Performance
Size
NRE cost
Setha Pan-ngum
39
Revenues ($)
Time (months)
Average time-to-market
constraint is about 8
months
Delays can be costly
Setha Pan-ngum
40
Revenues ($)
Peak revenue
Peak revenue from
delayed entry
On-time
Market fall
Market rise
Delayed
On-time
entry
Delayed
entry
2W
Time
Loss
The difference between the
on-time and delayed triangle
areas
Setha Pan-ngum
41
Dependability
Reliability: probability of system working
correctly provided that it worked at time t=0
Maintainability: probability of system working
correctly d time units after error occurred.
[Some systems require no maintenance
throughout their operating lives (e.g. electric
kettles, computer keyboards), while some may
need it such as mobile phones and airplane
flight control (software upgrade)]
Setha Pan-ngum
42
Dependability
Setha Pan-ngum
43
44
Slide credit B. Pahami
Operating environment
Some engine Electronic Control Units (ECUs) in
cars are located under the bonnets. So they have
to work at high temperature, as well as dusty
and wet environment.
Setha Pan-ngum
45
Real-Time Consideration
Setha Pan-ngum
46
Hard Real-time
System designed to meet all deadlines
A missed deadline is a design flaw
For examples: ABS brake, nuclear reactor
monitoring system
System hardware (over) designed for worstcase performance
System software rigorously tested
Formal proofs used to guarantee timing
correctness
Setha Pan-ngum
47
Firm Real-time
Setha Pan-ngum
48
Soft Real-time
Setha Pan-ngum
49
time
soft
time
firm
hard
Setha Pan-ngum
50
Setha Pan-ngum
51
Setha Pan-ngum
52
Setha Pan-ngum
53
B. Wilkie, R. Frank and J. Suchyta - Motorola Semiconductor Products Sectors, Silicon or Software: The
Foundation of Automotive Electronics, IEEE Vehicular Tech., August 95.
Setha Pan-ngum
54
Possible Ways to Do
Need to keep design process abstract for a
longer period of time.
Decomposable hierarchy (object-oriented).
Reuse previous designs:
Setha Pan-ngum
55
Setha Pan-ngum
56
Design Abstraction
Setha Pan-ngum
57
Abstraction Levels
Setha Pan-ngum
58
Abstraction Levels
Setha Pan-ngum
59
Abstraction Levels
Setha Pan-ngum
60
Abstraction Level
Setha Pan-ngum
61
Hardware vs Software
Many functions can be done by software on
a general purpose microprocessor OR by
hardware on an application specific ICs
(ASICs)
For examples: game console graphic,
PWM, PID control
Leads to Hardware/Software Co-design
concept
Setha Pan-ngum
62
Hardware or Software?
Cost.
Speed.
Reliability.
Form (size, weight, and power constraints.)
Setha Pan-ngum
63
Hardware vs Software
Power/Performance
Workstations
Personal Computers
FFT Processors
MPEG Processors
FIR Processors
Embedded
Application-Specific
Processors
Graphics Processors
DSP Processors
Network Processors
General-Purpose
Processors
Embedded
Domain-Specific
Processors
Setha Pan-ngum
64
Hardware vs Software
Setha Pan-ngum
65
Microcessor technology
Desired
functionality
General-purpose
processor
total = 0
for i = 1 to N loop
total += M[i]
end loop
Application-specific
processor
Single-purpose
processor
Slide credit Vahid/Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction, 2000
Setha Pan-ngum
66
General-purpose processors
Features
Program memory
General datapath with large register file and
general ALU
User benefits
Low time-to-market and NRE costs
High flexibility
Controller
Datapath
Control
logic and
State
register
Register
file
IR
PC
Program
memory
General
ALU
Data
memory
Assembly code
for:
total = 0
for i =1 to
Slide credit Vahid/Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction, 2000
Setha Pan-ngum
67
Single-purpose processors
Features
Contains only the components needed to
execute a single program
No program memory
Controller
Datapath
Control
logic
index
total
State
register
Data
memory
Benefits
Fast
Low power
Small size
Slide credit Vahid/Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction, 2000
68
Setha Pan-ngum
Application-specific processors
Datapath
Control
logic and
State
register
Registers
IR
PC
Features
Controller
Program memory
Optimized datapath
Special functional units
Benefits
Program
memory
Custom
ALU
Data
memory
Assembly code
for:
total = 0
for i =1 to
Slide credit Vahid/Givargis, Embedded Systems Design: A Unified Hardware/Software Introduction, 2000
69
Setha Pan-ngum
FPGA Architecture
IOB
IOB
IOB
IOB
IOB
CLB
IOB
CLB
IOB
Wiring Channels
CLB
IOB
CLB
FPGA layout with Configurable Logic Blocks (CLB) and I/O Blocks (IOB) (credit: Katzs Contemporary Logic Design)
Setha Pan-ngum
70
Setha Pan-ngum
71
Software Costs
Setha Pan-ngum
72
Setha Pan-ngum
73
Setha Pan-ngum
74
Setha Pan-ngum
75
Setha Pan-ngum
76
Setha Pan-ngum
77
Setha Pan-ngum
78
Setha Pan-ngum
79