Documente Academic
Documente Profesional
Documente Cultură
Surendra Shrestha
surendra@ioe.edu.np, surendtha@gmail.com
Education:
• Post Doc. (Graphene Tech.), Madrid Polytechnic University, Spain
PROFESSIONAL EXPERIENCE:
electronic devices
– Hard to define. Nearly any
computing system other
than a desktop computer
Lots more of these,
– Billions of units produced though they cost a lot
less each.
yearly, versus millions of
desktop units
General Purpose Computing System Embedded System
• A system which is a • A system which is a combination
combination of a generic of special purpose hardware and
hardware and a General embedded OS for executing a
Purpose Operating System for specific set of application
executing a variety of
application
• May or may not contain an
• Contains a General Purpose operating system for functioning
Operating System (GPOS)
• The firmware of the embedded
• Applications are alterable system is pre- programmed and
(programmable) by the user (It it is non- alterable by the end-
is possible for the end user to user (there may be exceptions
re-install the operating system, for system supporting OS kernel
and also add or remove user image flashing through special
application) hardware settings)
General Purpose Computing
System … Embedded System …
• Performance is the key • Application-specific requirement
deciding factor in the (like performance, power
selection of the system. requirements, memory usage, etc.)
Always, ‘Faster is Better’ are the key deciding factors
• Highly tailored to take advantage of
• Less/not at all tailored
the power saving modes supported
towards reduced operating
by the hardware and the operating
power requirements, options system
for different levels of power
• For certain category of ESs like
management. mission critical systems, the
• Response requirements are response time requirement is
not time-critical highly critical
• Need not be deterministic in • Execution behavior is deterministic
execution behavior for certain types of ESs like ‘Hard
Real Time’ systems
A “short list” of embedded systems
•Anti-lock brakes •Modems
•Auto-focus cameras •MPEG decoders
•Automatic teller machines •Network cards
•Automatic toll systems •Network switches/routers
•Automatic transmission •On-board navigation
•Avionic systems •Pagers
•Battery chargers •Photocopiers
•Camcorders •Point-of-sale systems
•Cell phones •Portable video games
•Cell-phone base stations •Printers
•Cordless phones •Satellite phones
•Cruise control •Scanners
•Curbside check-in systems •Smart ovens/dishwashers
•Digital cameras •Speech recognizers
•Disk drives •Stereo systems
•Electronic card readers •Teleconferencing systems
•Electronic instruments •Televisions
•Electronic toys/games •Temperature controllers
•Factory control •Theft tracking systems
•Fax machines •TV set-top boxes
•Fingerprint identifiers •VCR’s, DVD players
•Home security systems •Video game consoles
•Life-support systems •Video phones
•Medical testing systems •Washers and dryers
• Single-functioned
– Executes a single program, repeatedly
• Tightly-constrained
– Low cost, low power, small, fast, etc.
• Reactive and real-time
– Continually reacts to changes in the system’s
environment
– Must compute certain results in real-time without
delay
An embedded system example –
a digital camera
Digital camera chip
CCD
lens
1. Based on generation
requirements
4. Based on triggering
Classification based on Generation:
• First Generation: ES were built around 8 bit
microprocessors like 8085, and Z80, and 4 bit
microcontrollers. Simple in hardware circuits with
firmware developed in Assembly code. e.g. telephone
keypads, stepper motor control unit.
• Second Generation: ES are built around 16 bit
microprocessors and 8 or 16 bit microcontrollers,
following the first generation ESs. The instruction set for
the second generation processors/controllers were much
more complex and powerful then 1st generation. Some of
2nd G ESs contained embedded operating systems for their
operation. Data Acquisition System, SCADA (Supervisory
Control And Data Acquisition) system.
Classification based on Generation: …
• Third Generation: With advances in processor tech.,
ES developers started making use of powerful 32 bit
processor 16 bit microcontrollers for their design. e.g.
DSPs, Application Specific Integrated Circuits (ASICs),
processors like Intel, Pentium, Motorola 68K.
• Common metrics
– Unit cost: the monetary cost of manufacturing each copy of the
system, excluding NRE cost
• Example
– NRE=$2000, unit=$100
– For 10 units
– total cost = $2000 + 10*$100 = $3000
– per-product cost = $2000/10 + $100 = $300
Amortizing NRE cost over the units results in an
additional $200 per unit