SlideShare una empresa de Scribd logo
1 de 43
Prof. Dr. Muhammad Iram Baig

1
What is an Embedded System?
 A physical system that employs computer control for a

specific purpose, rather than for general-purpose
computation
 Any device that includes a computer but is not itself a general-

purpose computer

 Hardware and Software, part of some larger systems and

expected to work without human intervention.
 Often the user of the device is not even aware that a
computer is present.
 Respond, monitor, control external environment using sensors &

actuators.
2
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




























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
Life-support systems
Medical testing systems

And the list goes on and on
3
Embedded System Applications
Aerospace

Navigation systems, automatic landing systems, flight
attitude controls, engine controls, space exploration
(e.g., the Mars Pathfinder).

Automotive

Fuel injection control, passenger environmental controls,
anti-lock braking systems, air bag controls, GPS
mapping.

Children's Toys

Nintendo's "Game Boy", Mattel's "My Interactive Pooh",
Tiger Electronic's "Furby".

Communications

Satellites; network routers, switches, hubs.

Home

Dishwashers, microwave ovens, VCRs, televisions,
stereos, fire/security alarm systems, lawn sprinkler
controls, thermostats, cameras, clock radios, answering
machines.
4
Embedded System Applications
Industrial

Elevator controls, surveillance systems, robots.

Office
Automation

FAX machines, copiers, telephones, cash registers.

Medical

Imaging systems (e.g., XRAY, MRI, and ultrasound),
patient monitors, heart pacers.

Personal

Personal Digital Assistants (PDAs), pagers, cell phones,
wrist watches, video games, portable MP3 players, GPS.

Instrumentation

Data collection, oscilloscopes, signal generators, signal
analyzers, power supplies

Computer
Peripherals

Printers, scanners, keyboards, displays, modems, hard
disk drives, CD-ROM drives.

5
6
Embedded Systems Hardware
Embedded systems hardware is used for processing input to
provide output in task specific fashion

Input
Interface

Information
Processing Systems

Output
Interface

7
Processors
 Micro-processors and Microcontrollers
 Key Requirements:
 Energy Efficiency
 High Code Density



Combined Size of all instruction
Characteristics of a particular instruction set

8
Microprocessors
 CPU for computers
 No RAM, ROM, IO on CPU chip itself
 Example: Intel x86, Motorola 680x0


CPU

DataBus

RAM



ROM

I/O
Ports

Timers

Serial
Port

Address Bus
9
Microcontrollers ?
 Basically microcontroller is a device which

integrates a number of the components of a
microprocessor system onto a single microchip.
 A Micro-controller combines onto the same
microchip.
 The CPU core

CPU

RAM

ROM

I/O

Timers

Serial
Port

 Memory

(both RAM and ROM)
 Parallel Digital I/Os
 other I/Os & more

10
Components of a Micro-controller
 A Timer module to allow the micro-controller

to perform tasks for certain time periods
 A serial I/O port to allow data to flow between
the micro-controller and other devices such as
a PC or another micro-controller
 An ADC to allow the micro-controller to accept
analogue input data for processing
11
Micro-controller

12
Why Micro-controller?
 Low cost, small packaging
 Low power consumption
 Programmable, re-programmable
 Lots of I/O capabilities
 Easy integration with circuits
 For applications in which cost, power and space are
critical
 Single-purpose
13
Architectures
Von Neuman
 Only one Memory holds data + instructions
 Data and Program share the same bus and the

same memory, and so must have the same width.
 CPU Registers:


PC, IR and other general
purpose

 Bottleneck: Getting

instructions interferes with
accessing RAM
14
Architectures

contd…

Harvard
 Separate program bus and data bus
 Can be different widths!
 Pipelining Easy
 Allows 2 simultaneous

memory Fetches
 Greater memory Bandwidth
 More predictable Bandwidth
 Most DSPs use Harvard Architecture for streaming data.
15
Architectures

contd…

CISC - (Complex Instruction Set Computer)
 A large number of instructions each carrying
permutation of the same operation
 Instructions provide for complex operations

 Different instructions of different format
 Different instructions of different length
 Many Addressing modes

 Requires multiple cycles for execution
16
Architectures

contd…

RISC- (Reduced Instruction Set Computer)
 Reduced set of Instructions for simple operations
 Pipeline Friendly
 Each instruction of fixed length
 Instructions that can be executed in a single cycle
 Large general purpose Register set
 Can contain data or addresses
 Load-store Architecture
 No Memory Access for data
17
Architectures
RISC vs

contd…

CISC

18
Architectures

contd…

 Super Scalar
 Multiple CPUs in a single Processor
 Processor decides at runtime about the instructions that

can be executed parallel. (Complex HW)
 Instructions will be executed in an order different from the
strictly sequential one with the restriction that the result
must be correct.
 Execution policies:
 1. In-order issue with in-order completion
 2. In-order issue with out-of-order completion
 3. Out-of-order issue with out-of-order completion

 Examples:
Intel’s Pentium, IBM Power2, AMD K5, MIPS R10K, HP PA8500,
Cyrix 6x86

19
Architectures

contd…

VLIW (Very Large Instruction Word)
 Multiple CPUs in a single Processor
 Compiler decides about the instructions that can

be executed parallel and can be grouped in one
bundle (ILP, Instruction Level Parallelism)
 Examples:
i860 (dual mode: RISC and VLIW), TriMedia, SHARC,
Itanium, EPIC, ST200, StarCore, Transmeta Crusoe,
Xtensa

20
CISC vs RISC vs SS vs VLIW
CISC

RISC

Superscalar

VLIW

Instruction
size

variable size

fixed size

fixed size

fixed size (but
large)

Instruction
format

variable
format

fixed format

fixed format

fixed format

Registers

few, some
special

many GP

GP and rename many, many
(RUU)
GP

Memory
reference

embedded in
many instr’s

load/store

load/store

load/store

Key Issues

decode
complexity

data
forwarding,
hazards

hardware
dependency
resolution

code
scheduling,
(compiler)

Instruction
flow

EX M WB

IF ID

EX M WB

IF ID

EX M WB

IF ID

EX M WB

IF ID

IF ID

EX M WB

IF ID

EX M WB

IF ID

EX M WB

IF ID

EX M WB
EX M WB

IF ID

EX M WB
EX M WB
Performance Comparison
Performance Comparison

contd…
Traditional Embedded Systems

24
Components of Embedded Systems

25
Simplified View of PIC MCUs
Few Examples of Embedded Systems

Product: Hunter Programmable Digital
Thermostat.

Microprocessor: 4-bit

27
Product:Vendo V-MAX 720 vending
machine.
Microprocessor:
8-bit Motorola 68HC11.
Product: Sonicare Plus toothbrush.
Microprocessor: 8-bit Zilog Z8.
Product: Miele
dishwashers.
Microprocessor: 8bit Motorola
68HC05.
Product: NASA's
Mars Sojourner
Rover.

Microprocessor:
8-bit Intel 80C85.
Product: CoinCo USQ-712 coin
changer.
Microprocessor:
8-bit Motorola 68HC912.
Product: Garmin
StreetPilot GPS
Receiver.

Microprocessor:
16-bit.
Product: TIQIT
Computer’s
“Matchbox PC”.
Microprocessor: 32bit AMD Elan
SC410.
Product: Palm Vx
handheld.
Microprocessor:
32-bit Motorola
Dragonball EZ.
Product: Motorola
i1000plus iDEN MultiService Digital Phone.
Microprocessor:
Motorola 32-bit MCORE.
Product: Rio 800 MP3 Player.

Microprocessor: 32-bit RISC.
Product: RCA RC5400P DVD
player.
Microprocessor: 32-bit RISC.
Product: IBM
Research’s Linux
wrist watch
prototype.
Microprocessor:
32-bit ARM RISC.
Product: Sony Aibo
ERS-110 Robotic
Dog.

Microprocessor: 64bit MIPS RISC.
Embedded Automotive

More than 30% of the cost of a car is now in Electronics
90% of all innovations will be based on electronic systems

41
Concluding Remarks
 Embedded computers are all around us.
 Many systems have complex embedded

hardware and software
 Embedded systems have pose many design
challenges: design time, deadlines, power, etc
 Design methodologies help us manage the
design process
43

Más contenido relacionado

La actualidad más candente

computer architecture
computer architecture computer architecture
computer architecture Dr.Umadevi V
 
Introduction to embedded systems
Introduction  to embedded systemsIntroduction  to embedded systems
Introduction to embedded systemsRAMPRAKASHT1
 
ARM Cortex-M3 Training
ARM Cortex-M3 TrainingARM Cortex-M3 Training
ARM Cortex-M3 TrainingRaghav Nayak
 
Introduction to Embedded Architecture
Introduction to Embedded Architecture Introduction to Embedded Architecture
Introduction to Embedded Architecture amrutachintawar239
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design processRayees CK
 
Unit 2 processor&memory-organisation
Unit 2 processor&memory-organisationUnit 2 processor&memory-organisation
Unit 2 processor&memory-organisationPavithra S
 
IPTV Set-top box monitoring
IPTV Set-top box monitoringIPTV Set-top box monitoring
IPTV Set-top box monitoringDávid Károly
 
Topic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structureTopic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structureBai Haqi
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersappasami
 
RISC Vs CISC, Harvard v/s Van Neumann
RISC Vs CISC, Harvard v/s Van NeumannRISC Vs CISC, Harvard v/s Van Neumann
RISC Vs CISC, Harvard v/s Van NeumannRavikumar Tiwari
 
Embedded systems-unit-1
Embedded systems-unit-1Embedded systems-unit-1
Embedded systems-unit-1Prabhu Mali
 
Lecture1 - Computer Architecture
Lecture1 - Computer ArchitectureLecture1 - Computer Architecture
Lecture1 - Computer ArchitectureVolodymyr Ushenko
 
SOC Application Studies: Image Compression
SOC Application Studies: Image CompressionSOC Application Studies: Image Compression
SOC Application Studies: Image CompressionA B Shinde
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Subhasis Dash
 
UNIT-I-RTOS and Concepts
UNIT-I-RTOS and ConceptsUNIT-I-RTOS and Concepts
UNIT-I-RTOS and ConceptsDr.YNM
 

La actualidad más candente (20)

Arm processor
Arm processorArm processor
Arm processor
 
computer architecture
computer architecture computer architecture
computer architecture
 
Ec8791 lpc2148
Ec8791 lpc2148Ec8791 lpc2148
Ec8791 lpc2148
 
Introduction to embedded systems
Introduction  to embedded systemsIntroduction  to embedded systems
Introduction to embedded systems
 
CPU Architecture
CPU ArchitectureCPU Architecture
CPU Architecture
 
ARM Cortex-M3 Training
ARM Cortex-M3 TrainingARM Cortex-M3 Training
ARM Cortex-M3 Training
 
Introduction to Embedded Architecture
Introduction to Embedded Architecture Introduction to Embedded Architecture
Introduction to Embedded Architecture
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
Unit 2 processor&memory-organisation
Unit 2 processor&memory-organisationUnit 2 processor&memory-organisation
Unit 2 processor&memory-organisation
 
IPTV Set-top box monitoring
IPTV Set-top box monitoringIPTV Set-top box monitoring
IPTV Set-top box monitoring
 
Reconfigurable computing
Reconfigurable computingReconfigurable computing
Reconfigurable computing
 
Choosing the right processor
Choosing the right processorChoosing the right processor
Choosing the right processor
 
Topic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structureTopic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structure
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answers
 
RISC Vs CISC, Harvard v/s Van Neumann
RISC Vs CISC, Harvard v/s Van NeumannRISC Vs CISC, Harvard v/s Van Neumann
RISC Vs CISC, Harvard v/s Van Neumann
 
Embedded systems-unit-1
Embedded systems-unit-1Embedded systems-unit-1
Embedded systems-unit-1
 
Lecture1 - Computer Architecture
Lecture1 - Computer ArchitectureLecture1 - Computer Architecture
Lecture1 - Computer Architecture
 
SOC Application Studies: Image Compression
SOC Application Studies: Image CompressionSOC Application Studies: Image Compression
SOC Application Studies: Image Compression
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
UNIT-I-RTOS and Concepts
UNIT-I-RTOS and ConceptsUNIT-I-RTOS and Concepts
UNIT-I-RTOS and Concepts
 

Similar a Embedded Systems Introdution

Microcontoller and Embedded System
Microcontoller and Embedded SystemMicrocontoller and Embedded System
Microcontoller and Embedded SystemKaran Thakkar
 
An Entire Concept of Embedded systems
An Entire Concept of Embedded systems An Entire Concept of Embedded systems
An Entire Concept of Embedded systems Prabhakar Captain
 
An entire concept of embedded systems entire ppt
An entire concept of embedded systems entire pptAn entire concept of embedded systems entire ppt
An entire concept of embedded systems entire pptPrabhakar Captain
 
39245196 intro-es-iii
39245196 intro-es-iii39245196 intro-es-iii
39245196 intro-es-iiiEmbeddedbvp
 
How to Select Hardware for Internet of Things Systems?
How to Select Hardware for Internet of Things Systems?How to Select Hardware for Internet of Things Systems?
How to Select Hardware for Internet of Things Systems?Hannes Tschofenig
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
Embedded System
Embedded SystemEmbedded System
Embedded Systemsureskal
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systemsanishgoel
 
MCI-Unit_1.PPTX electronics communication Engineering
MCI-Unit_1.PPTX electronics communication EngineeringMCI-Unit_1.PPTX electronics communication Engineering
MCI-Unit_1.PPTX electronics communication EngineeringKongaMadhukar
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptxPratik Gohel
 
Necessity of 32-Bit Controllers
Necessity of 32-Bit ControllersNecessity of 32-Bit Controllers
Necessity of 32-Bit Controllersmohanav
 
Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة salih mahmod
 
microprocessor
microprocessormicroprocessor
microprocessorillpa
 
18CS44-MODULE1-PPT.pptx
18CS44-MODULE1-PPT.pptx18CS44-MODULE1-PPT.pptx
18CS44-MODULE1-PPT.pptxKokilaK25
 
Msp 430 architecture module 1
Msp 430 architecture module 1Msp 430 architecture module 1
Msp 430 architecture module 1SARALA T
 

Similar a Embedded Systems Introdution (20)

Embedded system
Embedded systemEmbedded system
Embedded system
 
Embeddedsystem
EmbeddedsystemEmbeddedsystem
Embeddedsystem
 
Microcontoller and Embedded System
Microcontoller and Embedded SystemMicrocontoller and Embedded System
Microcontoller and Embedded System
 
An Entire Concept of Embedded systems
An Entire Concept of Embedded systems An Entire Concept of Embedded systems
An Entire Concept of Embedded systems
 
An entire concept of embedded systems entire ppt
An entire concept of embedded systems entire pptAn entire concept of embedded systems entire ppt
An entire concept of embedded systems entire ppt
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
39245196 intro-es-iii
39245196 intro-es-iii39245196 intro-es-iii
39245196 intro-es-iii
 
How to Select Hardware for Internet of Things Systems?
How to Select Hardware for Internet of Things Systems?How to Select Hardware for Internet of Things Systems?
How to Select Hardware for Internet of Things Systems?
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Embedded System
Embedded SystemEmbedded System
Embedded System
 
Embedded Systems
Embedded SystemsEmbedded Systems
Embedded Systems
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systems
 
MCI-Unit_1.PPTX electronics communication Engineering
MCI-Unit_1.PPTX electronics communication EngineeringMCI-Unit_1.PPTX electronics communication Engineering
MCI-Unit_1.PPTX electronics communication Engineering
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptx
 
Necessity of 32-Bit Controllers
Necessity of 32-Bit ControllersNecessity of 32-Bit Controllers
Necessity of 32-Bit Controllers
 
Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة
 
microprocessor
microprocessormicroprocessor
microprocessor
 
18CS44-MODULE1-PPT.pptx
18CS44-MODULE1-PPT.pptx18CS44-MODULE1-PPT.pptx
18CS44-MODULE1-PPT.pptx
 
Msp 430 architecture module 1
Msp 430 architecture module 1Msp 430 architecture module 1
Msp 430 architecture module 1
 

Último

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Último (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 

Embedded Systems Introdution

  • 1. Prof. Dr. Muhammad Iram Baig 1
  • 2. What is an Embedded System?  A physical system that employs computer control for a specific purpose, rather than for general-purpose computation  Any device that includes a computer but is not itself a general- purpose computer  Hardware and Software, part of some larger systems and expected to work without human intervention.  Often the user of the device is not even aware that a computer is present.  Respond, monitor, control external environment using sensors & actuators. 2
  • 3. 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                           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 Life-support systems Medical testing systems And the list goes on and on 3
  • 4. Embedded System Applications Aerospace Navigation systems, automatic landing systems, flight attitude controls, engine controls, space exploration (e.g., the Mars Pathfinder). Automotive Fuel injection control, passenger environmental controls, anti-lock braking systems, air bag controls, GPS mapping. Children's Toys Nintendo's "Game Boy", Mattel's "My Interactive Pooh", Tiger Electronic's "Furby". Communications Satellites; network routers, switches, hubs. Home Dishwashers, microwave ovens, VCRs, televisions, stereos, fire/security alarm systems, lawn sprinkler controls, thermostats, cameras, clock radios, answering machines. 4
  • 5. Embedded System Applications Industrial Elevator controls, surveillance systems, robots. Office Automation FAX machines, copiers, telephones, cash registers. Medical Imaging systems (e.g., XRAY, MRI, and ultrasound), patient monitors, heart pacers. Personal Personal Digital Assistants (PDAs), pagers, cell phones, wrist watches, video games, portable MP3 players, GPS. Instrumentation Data collection, oscilloscopes, signal generators, signal analyzers, power supplies Computer Peripherals Printers, scanners, keyboards, displays, modems, hard disk drives, CD-ROM drives. 5
  • 6. 6
  • 7. Embedded Systems Hardware Embedded systems hardware is used for processing input to provide output in task specific fashion Input Interface Information Processing Systems Output Interface 7
  • 8. Processors  Micro-processors and Microcontrollers  Key Requirements:  Energy Efficiency  High Code Density   Combined Size of all instruction Characteristics of a particular instruction set 8
  • 9. Microprocessors  CPU for computers  No RAM, ROM, IO on CPU chip itself  Example: Intel x86, Motorola 680x0  CPU DataBus RAM  ROM I/O Ports Timers Serial Port Address Bus 9
  • 10. Microcontrollers ?  Basically microcontroller is a device which integrates a number of the components of a microprocessor system onto a single microchip.  A Micro-controller combines onto the same microchip.  The CPU core CPU RAM ROM I/O Timers Serial Port  Memory (both RAM and ROM)  Parallel Digital I/Os  other I/Os & more 10
  • 11. Components of a Micro-controller  A Timer module to allow the micro-controller to perform tasks for certain time periods  A serial I/O port to allow data to flow between the micro-controller and other devices such as a PC or another micro-controller  An ADC to allow the micro-controller to accept analogue input data for processing 11
  • 13. Why Micro-controller?  Low cost, small packaging  Low power consumption  Programmable, re-programmable  Lots of I/O capabilities  Easy integration with circuits  For applications in which cost, power and space are critical  Single-purpose 13
  • 14. Architectures Von Neuman  Only one Memory holds data + instructions  Data and Program share the same bus and the same memory, and so must have the same width.  CPU Registers:  PC, IR and other general purpose  Bottleneck: Getting instructions interferes with accessing RAM 14
  • 15. Architectures contd… Harvard  Separate program bus and data bus  Can be different widths!  Pipelining Easy  Allows 2 simultaneous memory Fetches  Greater memory Bandwidth  More predictable Bandwidth  Most DSPs use Harvard Architecture for streaming data. 15
  • 16. Architectures contd… CISC - (Complex Instruction Set Computer)  A large number of instructions each carrying permutation of the same operation  Instructions provide for complex operations  Different instructions of different format  Different instructions of different length  Many Addressing modes  Requires multiple cycles for execution 16
  • 17. Architectures contd… RISC- (Reduced Instruction Set Computer)  Reduced set of Instructions for simple operations  Pipeline Friendly  Each instruction of fixed length  Instructions that can be executed in a single cycle  Large general purpose Register set  Can contain data or addresses  Load-store Architecture  No Memory Access for data 17
  • 19. Architectures contd…  Super Scalar  Multiple CPUs in a single Processor  Processor decides at runtime about the instructions that can be executed parallel. (Complex HW)  Instructions will be executed in an order different from the strictly sequential one with the restriction that the result must be correct.  Execution policies:  1. In-order issue with in-order completion  2. In-order issue with out-of-order completion  3. Out-of-order issue with out-of-order completion  Examples: Intel’s Pentium, IBM Power2, AMD K5, MIPS R10K, HP PA8500, Cyrix 6x86 19
  • 20. Architectures contd… VLIW (Very Large Instruction Word)  Multiple CPUs in a single Processor  Compiler decides about the instructions that can be executed parallel and can be grouped in one bundle (ILP, Instruction Level Parallelism)  Examples: i860 (dual mode: RISC and VLIW), TriMedia, SHARC, Itanium, EPIC, ST200, StarCore, Transmeta Crusoe, Xtensa 20
  • 21. CISC vs RISC vs SS vs VLIW CISC RISC Superscalar VLIW Instruction size variable size fixed size fixed size fixed size (but large) Instruction format variable format fixed format fixed format fixed format Registers few, some special many GP GP and rename many, many (RUU) GP Memory reference embedded in many instr’s load/store load/store load/store Key Issues decode complexity data forwarding, hazards hardware dependency resolution code scheduling, (compiler) Instruction flow EX M WB IF ID EX M WB IF ID EX M WB IF ID EX M WB IF ID IF ID EX M WB IF ID EX M WB IF ID EX M WB IF ID EX M WB EX M WB IF ID EX M WB EX M WB
  • 26. Simplified View of PIC MCUs
  • 27. Few Examples of Embedded Systems Product: Hunter Programmable Digital Thermostat. Microprocessor: 4-bit 27
  • 28. Product:Vendo V-MAX 720 vending machine. Microprocessor: 8-bit Motorola 68HC11.
  • 29. Product: Sonicare Plus toothbrush. Microprocessor: 8-bit Zilog Z8.
  • 32. Product: CoinCo USQ-712 coin changer. Microprocessor: 8-bit Motorola 68HC912.
  • 36. Product: Motorola i1000plus iDEN MultiService Digital Phone. Microprocessor: Motorola 32-bit MCORE.
  • 37. Product: Rio 800 MP3 Player. Microprocessor: 32-bit RISC.
  • 38. Product: RCA RC5400P DVD player. Microprocessor: 32-bit RISC.
  • 39. Product: IBM Research’s Linux wrist watch prototype. Microprocessor: 32-bit ARM RISC.
  • 40. Product: Sony Aibo ERS-110 Robotic Dog. Microprocessor: 64bit MIPS RISC.
  • 41. Embedded Automotive More than 30% of the cost of a car is now in Electronics 90% of all innovations will be based on electronic systems 41
  • 42.
  • 43. Concluding Remarks  Embedded computers are all around us.  Many systems have complex embedded hardware and software  Embedded systems have pose many design challenges: design time, deadlines, power, etc  Design methodologies help us manage the design process 43