SlideShare a Scribd company logo
1 of 43
Introduction to
Embedded Systems
Mohamed Saied
Books
What’s an
Embedded
System?
• Embedded systems =
 information processing systems
embedded into a larger product
• Two types of computing
 Desktop – produced millions/year
 Embedded – billions/year
• Non-Embedded Systems
 PCs, servers, and notebooks
• The future of computing!
 Automobiles, entertainment,
communication, aviation, handheld
devices, military and medical
equipments.
3
Languages of Embedded Systems
Where to find C++
Where to find C++
Connected Cars
8
Embedded Systems
• Devices other than desktop PCs, servers, and notebooks
 Electricity running through
 Perform 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!
8
An Example Embedded System
Digital Camera Block Diagram
ES: Simplified Block Diagram
10
actuators
Course Outline
Winter 2010- CS 244 11
Concept
Specification
HW/SW
Partitioning
Hardware Components
Software Components
Estimation -
Exploration
Hardware
Software
Validation and Evaluation (area, power, performance, …)
Modern Software Engineering Practices
Continuous Integration CI
Components of Embedded Systems
14
Hardware
Software
•Sensors, Actuators, Controllers, …
Analog Components
•Processor, Coprocessors
•Memories
•Controllers, Buses
•Application Specific Integrated Circuits (ASIC)
Digital Components
Converters – A2D, D2A, …
•Application Programs
•Exception Handlers
Software
Hardware
Components
Hardware Components of Embedded
Systems- an example
16
Analog Digital Analog
Memory
Coprocessors
Controllers
Converters
Processor
Interface
Software
(Application Programs)
ASIC
17
Processors
What is a processor?
•Artifact that computes (runs algorithms)
•Controller and data-path
General-purpose (GP) processors:
•Variety of computation tasks
•Functional flexibility and low cost at high volumes (maybe)
•Slow and power hungry
Single-purpose (SP) processors (or ASIC)
•One particular computation task
•Fast and power efficient
•Functional inflexibility and high cost at low volumes (maybe)
17
18
GP/SP Processor Architecture
18
Data-Path
Data
Input
Data
Output
Control
Status
Controller
Control
General-purpose processors
• Programmable device used in a
variety of applications
 Also known as “microprocessor”
• Features
 Program memory
 General datapath with large register
file and general ALU
• User benefits
 Low time-to-market and NRE costs
 High flexibility
• Examples
 Pentium, Athlon, PowerPC
Winter
2010-
CS
244
19
IR PC
Register
file
General
ALU
Datapath
Controller
Program
memory
Assembly code
for:
total = 0
for i =1 to …
Control
logic and
State register
Data
memory
Application-specific IS processors (ASIPs)
• Compromise between general-purpose
and ASIC (custom hardware)
Programmable processor
optimized for a particular
class of applications
having common
characteristics
• Program memory
• Optimized datapath
• Special functional units
Features
• Some flexibility, good performance, size
and power
Benefits
• DSPs, Video Signal Processors, Network
Processors,..
Examples
Winter
2010-
CS
244
20
IR PC
Registers
Custom
ALU
Datapath
Controller
Program
memory
Assembly code
for:
total = 0
for i =1 to …
Control
logic and
State register
Data
memory
Application-Specific ICs (ASICs)
Digital circuit designed to execute exactly
one program
• coprocessor, hardware accelerator
Features
• Contains only the components needed to execute a
single program
• No program memory
Benefits
• Fast
• Low power
• Small size
21
Datapath
Controller
Control
logic
State
register
Data
memory
index
total
+
Application Specific Circuits (ASIC)
Custom-designed
circuits necessary if
ultimate speed or
energy efficiency is the
goal and large numbers
can be sold.
Approach suffers from
long design times and
high costs.
Winter
2010-
CS
244
22
23
GP vs. SP Processors
• Programmable controller
 Control logic is stored in
memory
 Fetch/decode overhead
• Highly general data-path
 Typical bit-width (8, 16, 32, 64)
 Complete set of arithmetic/logic
units
 Large set of registers
• High NRE/sale-volume
• Hardwired controller
 No need for program memory and
cache
 No fetch/decode overhead
• Highly tuned data-path
 Custom bit-width
 Custom arithmetic/logic units
 Custom set of registers
• Low NRE/sale-volume
23
GP: ASIC:
24
Storage
What is a memory?
Artifact that stores bits
Storage fabric and access logic
Write-ability Manner and speed a memory can be written
Storage-permanence
ability of memory to hold stored bits after they are
written
Many different types of memories Flash, SRAM, DRAM, etc.
Common to compose memories
24
25
Write-ability
• Ranges of write ability
 High end
 Processor writes to memory simply and quickly
 E.g., RAM
 Middle range
 Processor writes to memory, but slower
 E.g., FLASH, EEPROM
 Lower range
 Special equipment, “programmer”, must be used to write to memory
 E.g., EPROM, OTP ROM
 Low end
 Bits stored only during fabrication
 E.g., Mask-programmed ROM
25
Storage-permanence
• Range of storage permanence
 High end
 Essentially never loses bits
 E.g., mask-programmed ROM
 Middle range
 Holds bits days/months/years after memory’s
power source turned off
 E.g., NVRAM
 Lower range
 Holds bits as long as power supplied to memory
 E.g., SRAM
 Low end
 Begins to lose bits almost immediately after
written
 E.g., DRAM
26
27
Memory Types
27
Storage-permanence
Write-ability
Mask-programmed ROM
OTP ROM
EPROM EEPROM Flash
NVRAM
SRAM/DRAM
Ideal
In-system programmable
Nonvolatile
28
Communication
• What is a bus?
 An artifact that transfers bits
 Wires, air, or fiber and interface logic
• Associated with a bus, we have:
 Connectivity scheme
 Serial Communication
 Parallel Communication
 Wireless Communication
 Protocol
 Ports
 Timing Diagrams
 Read and write cycles
 Arbitration scheme, error detection/correction, DMA, etc.
28
29
Serial Communication
A single wire used for data transfer
One or more additional wires used for control (but, some protocols may not use additional
control wires)
Higher throughput for long distance communication
•Often across processing node
Lower cost in terms of wires (cable)
E.g., USB, Ethernet, RS232, I2C, etc.
29
30
Parallel Communication
• Multiple buses used for data transfer
• One or more additional wires used for control
• Higher throughput for short distance communication
 Data misalignment problem
 Often used within a processing node
• Higher cost in terms of wires (cable)
• E.g., ISA, AMBA, PCI, etc.
30
Winter
2010-
CS
244
31
Wireless Communication
Infrared (IR)
Electronic wave frequencies just below
visible light spectrum
Diode emits infrared light to generate
signal
Infrared transistor detects signal, conducts
when exposed to infrared light
Cheap to build
Need line of sight, limited range
Radio frequency (RF)
Electromagnetic wave frequencies in radio
spectrum
Analog circuitry and antenna needed on
both sides of transmission
Line of sight not needed, transmitter
power determines range
31
Winter
2010-
CS
244
32
Peripherals
Perform specific computation task
Custom single-purpose
processors
Designed by us for a unique task
Standard single-purpose
processors
“Off-the-shelf”
pre-designed for a common task
32
Winter
2010-
CS
244
33
Timers
• Timers: measure
time intervals
 To generate timed
output events
 To measure input
events
 Top: max count reached
• Range and
resolution
33
16-bit up counter
Clk
Cnt
Basic timer
Top
Reset
16
Winter
2010-
CS
244
34
Counters
• Counter: like a timer, but counts
pulses on a general input signal
rather than clock
 e.g., count cars passing over a sensor
 Can often configure device as either a timer or
counter
34
16-bit up
counter
Clk
16
Cnt_in
2x1
mux
Mode
Timer/counter
Top
Reset
Cnt
Winter
2010-
CS
244
35
Watchdog Timer
Must reset timer
every X time unit,
else timer
generates a signal
Common use:
detect failure,
self-reset
35
Winter
2010-
CS
244
36
UART
UART: Universal Asynchronous Receiver Transmitter
• Takes parallel data and transmits serially
• Receives serial data and converts to parallel
Parity: extra bit for simple error checking
Start bit, stop bit
Baud rate
• Signal changes per second
• Bit rate, sometimes different
36
Winter
2010-
CS
244
37
Pulse Width Modulator (PWM)
• Generates pulses with specific high/low times
• Duty cycle: % time high
 Square wave: 50% duty cycle
• Common use: control average voltage to electric
device
 Simpler than DC-DC converter or digital-analog converter
 DC motor speed, dimmer lights
37
Winter
2010-
CS
244
39
LCD and OLED
• Liquid Crystal Display
• N rows by M columns
• Controller build into
the LCD module
• Simple microprocessor
interface using ports
• Software controlled
39
• Organic Light emitting
Diodes
• N rows by M columns
• Communicates over
serial
• Software controlled
Winter
2010-
CS
244
40
Keypad
40
N1
N2
N3
N4
M1
M2
M3
M4
key_code
keypad controller
k_pressed
key_code
4
N=4, M=4
41
Stepper Motor Controller
• Stepper motor: rotates fixed number of degrees when given a “step” signal
 In contrast, DC motor just rotates when power applied, coasts to stop
• Rotation achieved by applying specific voltage sequence to coils
• Controller greatly simplifies this
41
42
Analog-to-Digital Converter
42
proportionality
Vmax = 7.5V
0V
1111
1110
0000
0010
0100
0110
1000
1010
1100
0001
0011
0101
0111
1001
1011
1101
0.5V
1.0V
1.5V
2.0V
2.5V
3.0V
3.5V
4.0V
4.5V
5.0V
5.5V
6.0V
6.5V
7.0V
Analog to Digital (A/D)
4
3
2
1
t1 t2 t3 t4
0100 1000 0110 0101
time
analog
input
(V)
Digital output
Digital to Analog
(D/A)
4
3
2
1
0100 1000 0110 0101
t1 t2 t3 t4
time
analog
output
(V)
Digital input
Summary
• Hardware: Information Processing
 Processors
 Memories
 Communication
 Peripherals
43

More Related Content

Similar to Introduction to Embedded Systems: An Overview

39245203 intro-es-iv
39245203 intro-es-iv39245203 intro-es-iv
39245203 intro-es-ivEmbeddedbvp
 
Basics of embedded system design
Basics of embedded system designBasics of embedded system design
Basics of embedded system designK Senthil Kumar
 
04 Mcu Day Stellaris 8 12b Editado
04   Mcu Day   Stellaris 8 12b   Editado04   Mcu Day   Stellaris 8 12b   Editado
04 Mcu Day Stellaris 8 12b EditadoTexas Instruments
 
Mces MOD 1.pptx
Mces MOD 1.pptxMces MOD 1.pptx
Mces MOD 1.pptxRadhaC10
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded SystemZakaria Gomaa
 
Embedded systems 101 final
Embedded systems 101 finalEmbedded systems 101 final
Embedded systems 101 finalKhalid Elmeadawy
 
13. Module-3-Embedded systems.pptx
13. Module-3-Embedded systems.pptx13. Module-3-Embedded systems.pptx
13. Module-3-Embedded systems.pptxChaitanya Jambotkar
 
MICROPROCESSOR VS MICROCONTROLLER
MICROPROCESSOR VS MICROCONTROLLERMICROPROCESSOR VS MICROCONTROLLER
MICROPROCESSOR VS MICROCONTROLLERAshutoshTiwari292
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
Embedded sysyetm components
Embedded sysyetm componentsEmbedded sysyetm components
Embedded sysyetm componentslambanaveen
 
Microprocessor fundamentals
Microprocessor fundamentalsMicroprocessor fundamentals
Microprocessor fundamentalsJLoknathDora
 
13086000.ppt
13086000.ppt13086000.ppt
13086000.pptyibe5
 
Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introductionmohamed drahem
 

Similar to Introduction to Embedded Systems: An Overview (20)

Embedded systems basics
Embedded systems basicsEmbedded systems basics
Embedded systems basics
 
12429908.ppt
12429908.ppt12429908.ppt
12429908.ppt
 
39245203 intro-es-iv
39245203 intro-es-iv39245203 intro-es-iv
39245203 intro-es-iv
 
Basics of embedded system design
Basics of embedded system designBasics of embedded system design
Basics of embedded system design
 
04 Mcu Day Stellaris 8 12b Editado
04   Mcu Day   Stellaris 8 12b   Editado04   Mcu Day   Stellaris 8 12b   Editado
04 Mcu Day Stellaris 8 12b Editado
 
Mces MOD 1.pptx
Mces MOD 1.pptxMces MOD 1.pptx
Mces MOD 1.pptx
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
 
Embedded systems 101 final
Embedded systems 101 finalEmbedded systems 101 final
Embedded systems 101 final
 
13. Module-3-Embedded systems.pptx
13. Module-3-Embedded systems.pptx13. Module-3-Embedded systems.pptx
13. Module-3-Embedded systems.pptx
 
MICROPROCESSOR VS MICROCONTROLLER
MICROPROCESSOR VS MICROCONTROLLERMICROPROCESSOR VS MICROCONTROLLER
MICROPROCESSOR VS MICROCONTROLLER
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Embeddedsystem
EmbeddedsystemEmbeddedsystem
Embeddedsystem
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Embedded sysyetm components
Embedded sysyetm componentsEmbedded sysyetm components
Embedded sysyetm components
 
Dsp ajal
Dsp  ajalDsp  ajal
Dsp ajal
 
Microprocessor fundamentals
Microprocessor fundamentalsMicroprocessor fundamentals
Microprocessor fundamentals
 
13086000.ppt
13086000.ppt13086000.ppt
13086000.ppt
 
Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introduction
 
fundamentalofcomputer 2.pptx
fundamentalofcomputer 2.pptxfundamentalofcomputer 2.pptx
fundamentalofcomputer 2.pptx
 
Training ppt
Training pptTraining ppt
Training ppt
 

Recently uploaded

chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 

Recently uploaded (20)

chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 

Introduction to Embedded Systems: An Overview

  • 3. What’s an Embedded System? • Embedded systems =  information processing systems embedded into a larger product • Two types of computing  Desktop – produced millions/year  Embedded – billions/year • Non-Embedded Systems  PCs, servers, and notebooks • The future of computing!  Automobiles, entertainment, communication, aviation, handheld devices, military and medical equipments. 3
  • 8. 8 Embedded Systems • Devices other than desktop PCs, servers, and notebooks  Electricity running through  Perform 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! 8
  • 9. An Example Embedded System Digital Camera Block Diagram
  • 10. ES: Simplified Block Diagram 10 actuators
  • 11. Course Outline Winter 2010- CS 244 11 Concept Specification HW/SW Partitioning Hardware Components Software Components Estimation - Exploration Hardware Software Validation and Evaluation (area, power, performance, …)
  • 14. Components of Embedded Systems 14 Hardware Software •Sensors, Actuators, Controllers, … Analog Components •Processor, Coprocessors •Memories •Controllers, Buses •Application Specific Integrated Circuits (ASIC) Digital Components Converters – A2D, D2A, … •Application Programs •Exception Handlers Software
  • 16. Hardware Components of Embedded Systems- an example 16 Analog Digital Analog Memory Coprocessors Controllers Converters Processor Interface Software (Application Programs) ASIC
  • 17. 17 Processors What is a processor? •Artifact that computes (runs algorithms) •Controller and data-path General-purpose (GP) processors: •Variety of computation tasks •Functional flexibility and low cost at high volumes (maybe) •Slow and power hungry Single-purpose (SP) processors (or ASIC) •One particular computation task •Fast and power efficient •Functional inflexibility and high cost at low volumes (maybe) 17
  • 19. General-purpose processors • Programmable device used in a variety of applications  Also known as “microprocessor” • Features  Program memory  General datapath with large register file and general ALU • User benefits  Low time-to-market and NRE costs  High flexibility • Examples  Pentium, Athlon, PowerPC Winter 2010- CS 244 19 IR PC Register file General ALU Datapath Controller Program memory Assembly code for: total = 0 for i =1 to … Control logic and State register Data memory
  • 20. Application-specific IS processors (ASIPs) • Compromise between general-purpose and ASIC (custom hardware) Programmable processor optimized for a particular class of applications having common characteristics • Program memory • Optimized datapath • Special functional units Features • Some flexibility, good performance, size and power Benefits • DSPs, Video Signal Processors, Network Processors,.. Examples Winter 2010- CS 244 20 IR PC Registers Custom ALU Datapath Controller Program memory Assembly code for: total = 0 for i =1 to … Control logic and State register Data memory
  • 21. Application-Specific ICs (ASICs) Digital circuit designed to execute exactly one program • coprocessor, hardware accelerator Features • Contains only the components needed to execute a single program • No program memory Benefits • Fast • Low power • Small size 21 Datapath Controller Control logic State register Data memory index total +
  • 22. Application Specific Circuits (ASIC) Custom-designed circuits necessary if ultimate speed or energy efficiency is the goal and large numbers can be sold. Approach suffers from long design times and high costs. Winter 2010- CS 244 22
  • 23. 23 GP vs. SP Processors • Programmable controller  Control logic is stored in memory  Fetch/decode overhead • Highly general data-path  Typical bit-width (8, 16, 32, 64)  Complete set of arithmetic/logic units  Large set of registers • High NRE/sale-volume • Hardwired controller  No need for program memory and cache  No fetch/decode overhead • Highly tuned data-path  Custom bit-width  Custom arithmetic/logic units  Custom set of registers • Low NRE/sale-volume 23 GP: ASIC:
  • 24. 24 Storage What is a memory? Artifact that stores bits Storage fabric and access logic Write-ability Manner and speed a memory can be written Storage-permanence ability of memory to hold stored bits after they are written Many different types of memories Flash, SRAM, DRAM, etc. Common to compose memories 24
  • 25. 25 Write-ability • Ranges of write ability  High end  Processor writes to memory simply and quickly  E.g., RAM  Middle range  Processor writes to memory, but slower  E.g., FLASH, EEPROM  Lower range  Special equipment, “programmer”, must be used to write to memory  E.g., EPROM, OTP ROM  Low end  Bits stored only during fabrication  E.g., Mask-programmed ROM 25
  • 26. Storage-permanence • Range of storage permanence  High end  Essentially never loses bits  E.g., mask-programmed ROM  Middle range  Holds bits days/months/years after memory’s power source turned off  E.g., NVRAM  Lower range  Holds bits as long as power supplied to memory  E.g., SRAM  Low end  Begins to lose bits almost immediately after written  E.g., DRAM 26
  • 27. 27 Memory Types 27 Storage-permanence Write-ability Mask-programmed ROM OTP ROM EPROM EEPROM Flash NVRAM SRAM/DRAM Ideal In-system programmable Nonvolatile
  • 28. 28 Communication • What is a bus?  An artifact that transfers bits  Wires, air, or fiber and interface logic • Associated with a bus, we have:  Connectivity scheme  Serial Communication  Parallel Communication  Wireless Communication  Protocol  Ports  Timing Diagrams  Read and write cycles  Arbitration scheme, error detection/correction, DMA, etc. 28
  • 29. 29 Serial Communication A single wire used for data transfer One or more additional wires used for control (but, some protocols may not use additional control wires) Higher throughput for long distance communication •Often across processing node Lower cost in terms of wires (cable) E.g., USB, Ethernet, RS232, I2C, etc. 29
  • 30. 30 Parallel Communication • Multiple buses used for data transfer • One or more additional wires used for control • Higher throughput for short distance communication  Data misalignment problem  Often used within a processing node • Higher cost in terms of wires (cable) • E.g., ISA, AMBA, PCI, etc. 30
  • 31. Winter 2010- CS 244 31 Wireless Communication Infrared (IR) Electronic wave frequencies just below visible light spectrum Diode emits infrared light to generate signal Infrared transistor detects signal, conducts when exposed to infrared light Cheap to build Need line of sight, limited range Radio frequency (RF) Electromagnetic wave frequencies in radio spectrum Analog circuitry and antenna needed on both sides of transmission Line of sight not needed, transmitter power determines range 31
  • 32. Winter 2010- CS 244 32 Peripherals Perform specific computation task Custom single-purpose processors Designed by us for a unique task Standard single-purpose processors “Off-the-shelf” pre-designed for a common task 32
  • 33. Winter 2010- CS 244 33 Timers • Timers: measure time intervals  To generate timed output events  To measure input events  Top: max count reached • Range and resolution 33 16-bit up counter Clk Cnt Basic timer Top Reset 16
  • 34. Winter 2010- CS 244 34 Counters • Counter: like a timer, but counts pulses on a general input signal rather than clock  e.g., count cars passing over a sensor  Can often configure device as either a timer or counter 34 16-bit up counter Clk 16 Cnt_in 2x1 mux Mode Timer/counter Top Reset Cnt
  • 35. Winter 2010- CS 244 35 Watchdog Timer Must reset timer every X time unit, else timer generates a signal Common use: detect failure, self-reset 35
  • 36. Winter 2010- CS 244 36 UART UART: Universal Asynchronous Receiver Transmitter • Takes parallel data and transmits serially • Receives serial data and converts to parallel Parity: extra bit for simple error checking Start bit, stop bit Baud rate • Signal changes per second • Bit rate, sometimes different 36
  • 37. Winter 2010- CS 244 37 Pulse Width Modulator (PWM) • Generates pulses with specific high/low times • Duty cycle: % time high  Square wave: 50% duty cycle • Common use: control average voltage to electric device  Simpler than DC-DC converter or digital-analog converter  DC motor speed, dimmer lights 37
  • 38.
  • 39. Winter 2010- CS 244 39 LCD and OLED • Liquid Crystal Display • N rows by M columns • Controller build into the LCD module • Simple microprocessor interface using ports • Software controlled 39 • Organic Light emitting Diodes • N rows by M columns • Communicates over serial • Software controlled
  • 41. 41 Stepper Motor Controller • Stepper motor: rotates fixed number of degrees when given a “step” signal  In contrast, DC motor just rotates when power applied, coasts to stop • Rotation achieved by applying specific voltage sequence to coils • Controller greatly simplifies this 41
  • 42. 42 Analog-to-Digital Converter 42 proportionality Vmax = 7.5V 0V 1111 1110 0000 0010 0100 0110 1000 1010 1100 0001 0011 0101 0111 1001 1011 1101 0.5V 1.0V 1.5V 2.0V 2.5V 3.0V 3.5V 4.0V 4.5V 5.0V 5.5V 6.0V 6.5V 7.0V Analog to Digital (A/D) 4 3 2 1 t1 t2 t3 t4 0100 1000 0110 0101 time analog input (V) Digital output Digital to Analog (D/A) 4 3 2 1 0100 1000 0110 0101 t1 t2 t3 t4 time analog output (V) Digital input
  • 43. Summary • Hardware: Information Processing  Processors  Memories  Communication  Peripherals 43