SlideShare a Scribd company logo
EMBEDDED
SYSTEM
HARDWARE
ARCHITECTURE II
MODULE IV
GRACE ABRAHAM
2
ELECTROSTATIC DISCHARGE EFFECTS
• ESD is an important design consideration in embedded
applications because of the potential for failure &
erroneous operation in the presence of external electric
fields
• ESD voltages are commonly impressed on embedded
interfaces-on the order of 10’s of 1000’s of volt
• This issue is in the keyboard or user i/p device
• This effect can damage or may cause latent failures
• Shielding & grounding techniques to minimize this effect
• Several useful resources like publications, seminars, test
labs and consultants who specialize in solving EDC problems
3
• FAULT TOLERANCE
 Fault tolerance has become a requirement in embedded system
 Many hardware & software solutions have been developed
 Each fault is categorized as “hard” or “soft” fault
 Hard faults cause an error that does not go away
 Soft faults are due to transient events or program errors
 Self test and diagnostic programs may be able to identify &
diagnose the failure if it is not severe
 Depending on type of fault that occurs and which devices are
effected, it is possible to design a system to detect the fault
o Eg. Pushing reset or powering down does not result in recovery from
fault
4
 In the event of a soft failure, it is possible for designers to make
the system recover from fault automatically
 A BIST program can be used to detect faults in following devices
 The data contents of ROM devices can be tested for errors using
following techniques
o Processor
o Memory
o ROM
o RAM
o E/EEPROM
o Peripheral devices
o Parity
o Checksum
o Cyclic redundancy check (CRC)
5
o Hardware error detection and correction
o Data/address pattern tests
o Data structure integrity by checking stack limits and address range
validity
 RAM memories & the integrity of information stored in RAM by
processor can be tested for proper operation using following
techniques
 The integrity of the program and proper execution sequence by
the CPU can be checked using following techniques
o Hardware parity error detection
o Duplicate, redundant hardware and cross checking or voting
o “Watch dog” timer that operates the CPU chip’s reset line
o Diagnostics that run constantly, when CPU has nothing else to do
6
HARDWARE DEVELOPMENT TOOLS
• Two general classes of hardware development tools are
• Passive analysis tools allow looking at the operation of the
system
• Active tools allow the designer to intrude on the operation
of the system while it’s running
• System under test – “target” system
• Computer that is used to develop, edit, compile, assemble,
and download the code to target system – “Host” system
 Passive tools
 Active tools
7
• Passive tools include :
• Active tools include :
 Logic probes to look at static logical level and detect pulses
 Oscilloscopes to look at single waveform
 Logic analyzers, with processor specific probes
 Software to assist hardware development, scope loops
 In-circuit emulators (ICE) for HW/SW integration are plugged
to target system in the place of CPU, allowing designer to see
inside the microcontroller, download & execute the programs
selectively
 ROM emulators(ROM ICE) allow designer to reduce the time to
edit, compile, debug programs by replacing program EPROM
with a RAM that can be loaded quickly from host computer
8
• INSTRUMENTATION ISSUES
 One of the most significant problem is the proper selection and
use of test instrumentation
 Improper selection and application of tools is the source of
wasted time & confusion for the designer
 Two common usage problems relate to the use of oscilloscope
logic analyzer probes
 2 common causes for measurement problems
 Problems causes a potential for erroneous measurements
 2 things are done two mitigate these problems :
o Excessive ground lead inductances
o Excessive capacitive loading
9
1) Use the shortest possible test leads
2) Use high-impedance probes, especially designed for high-speed
applications
10
SOFTWARE DEVELOPMENT TOOLS
• 3 categories of software development tools
• Most of available tools are available as freeware,
shareware, or low-cost commercial products
• Translators include :
 Language translators
 Debuggers
 Utility programs that generally run on the host computers
 Assembler
 Compiler
 Linker
 Interpreter
11
• Debuggers include :
• Utilities include :
 Software /firmware monitors
 Processors In circuit Emulator (ICE)
 ROM ICE
 PROM Programming
 Performance measurement
 Execution frequency histogram
12
OTHER SPECIALIZED DESIGN
CONSIDERATIONS
• Thermal characteristics of a system
• Concept of thermal resistance
• Power dissipation
• Effects on device temperature & reliability
• Battery power storage
13
• THERMAL ANALYSIS AND DESIGN
 Reliability of devices are closely related to temperature
 Device’s reliability drops exponentially with increasing temperature
 To calculate operating temperature, consider an electrical analogy
 Temperature rise(°C)=power(watts) * thermal resistance(°C/watt)
 For eg : Given a 5V linear voltage regulator with a 9V i/p providing
1A of load current, the regulator will dissipate :
P = V * I
= (9-5 volts) * 1 amp
= 4 watts
 Total thermal resistance between the semiconductor junction and
ambient air
o Temperature is analogous to voltage
o Power dissipated is equivalent to current
o Thermal resistance is equivalent to electrical resistance
14
 ϴja = ϴjc + ϴca
= 1 + 10
= 11°C/watt
 Temperature rise of the junction above that of air surrounding
the regulator is given by:
T = P * ϴja
= 4 watts * 11°C/watt
= 44°C above ambient
 The designer must reduce the input voltage to reduce the thermal
resistance by forced air flow
15
• BATTERY – POWERED SYSTEM DESIGN
CONSIDERATIONS
 Rapid increase in use of portable, battery-operated electronic
devices
 Batteries are divided into 2 common groups :
 Primary cells include :
 Secondary cells include :
o Primary (one- time discharge & discard)
o Secondary (rechargeable)
o Lead-acid cell (older)
o Nickel-cadmium (NiCd) cell (older)
o Nickel metal hydride (NiMH) (newer)
o Rechargeable alkaline and lithium ion cell (newer)
o Non-rechargeable alkaline and lithium cells
16
 A wide range of special – purpose batteries that are optimized for
some specific characteristics
 Primary batteries : alkalines and lithium coin cells
 Secondary cells :
o Zinc-air primary cell
o Uses atmospheric air as an “electrode” to provide very high energy density
at low operating current
o Simple to use
o Limited to 1 to 3 years of operation
o Shelf-time limit imposed by internal leakage current that discharges the
battery slowly over time, especially at high temperatures
o Rechargeable battery types each have slightly differing charge/discharge
requirements
o Special algorithms to optimize the performance & service life of batteries
17
 Embedded devices must be designed to operate long periods of
time
 There are CMOS processors & memories which have been designed
with very low power consumption operating modes frequently
referred to as “sleep”, ‘’power down”, or “idle” modes
18
PROCESSOR PERFORMANCE METRICS
• To compare different processor performance we have
performance metrics such as
 IPS (instructions per second)
 OPS (operations per second)
 FLOPS(floating – point OPS)
 Benchmarks
19
• IPS (Instructions per second)
 Rate at which the fastest instruction executes on a machine
 MIPS (millions of IPS)
 BIPS (billions of IPS)
• OPS (Operations per second)
 OPS (MOPS & BOPS) are instruction execution times based on a
mix of different instructions
 FLOPS (mega FLOPS, giga FLOPS) are similar expect that they
weight floating – point instructions heavily to represent heavy
computational applications such as computational simulations
20
 Problem with OPS metric is that the resulting number is heavily
dependent on the instruction mix that is used to compute it,
which may not accurately represent intended application
instruction execution frequency
• BENCHMARKS
 Benchmarks are short, self contained programs that perform a critical
part of an application
 Used to compare functionally equivalent code on different machines
 Programs are run for some number of iterations, and the time is
measured and compared with that of other CPU
 Problem : Benchmark is not only the measure of the processor but
also of programmer & tools used to implement the program
21

More Related Content

PPT
Ajal mod 1
PPT
Embedded system by owais
PPT
Embedded basics For beginners
PPT
Embeded system by Mitesh Kumar
PPTX
Embedded System PPT
PPTX
Basics Of Embedded Systems
PPTX
Embeded system
PPTX
embedded-systems-for-beginners
Ajal mod 1
Embedded system by owais
Embedded basics For beginners
Embeded system by Mitesh Kumar
Embedded System PPT
Basics Of Embedded Systems
Embeded system
embedded-systems-for-beginners

What's hot (20)

PPTX
Embedded systems presentation
PPTX
Summer training embedded system and its scope
PPT
Embedded system apsd
PDF
Summer training embedded system and its scope
PPTX
Embedded Basics
PDF
Fundamentals of Modern Embedded Systems
PPTX
basic embedded system presentation
PPTX
embedded system and AVR
DOCX
Embedded system notes
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
PPT
Embeded System
PPT
Embedded System Basics
PPTX
Embedded system
PPTX
embedded system
PPT
E.s unit 4 and 5
PDF
Tutorial Embedded System
PPT
Embedded system Design
PPTX
Microcontoller and Embedded System
PPTX
Presentation on embedded system by abhishek sharma
DOCX
Embedded System
Embedded systems presentation
Summer training embedded system and its scope
Embedded system apsd
Summer training embedded system and its scope
Embedded Basics
Fundamentals of Modern Embedded Systems
basic embedded system presentation
embedded system and AVR
Embedded system notes
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
Embeded System
Embedded System Basics
Embedded system
embedded system
E.s unit 4 and 5
Tutorial Embedded System
Embedded system Design
Microcontoller and Embedded System
Presentation on embedded system by abhishek sharma
Embedded System
Ad

Viewers also liked (15)

PDF
Big data workshop 02 - Social Network Analysis
PPTX
Human resource management
PDF
35 anael-13 novembre-2011-articleb59a
PPT
Joan Maragall
PPTX
4 reasons why you need online assessments
ODP
Joan Maragall
PPT
Belle Haven Toy Presentation
PPT
Design of embedded systems
PPTX
8. bölüm pazarlama ilkeleri dağitim kanallari
PDF
GDC Europe 2015: Saying No to the CEO
PPTX
Dağıtım kanalı türleri sunumu
PPTX
Power point
PDF
Lifestylepitch
PPT
Psyc 388 ch 2 van wormer
PDF
Lifestylepitch
Big data workshop 02 - Social Network Analysis
Human resource management
35 anael-13 novembre-2011-articleb59a
Joan Maragall
4 reasons why you need online assessments
Joan Maragall
Belle Haven Toy Presentation
Design of embedded systems
8. bölüm pazarlama ilkeleri dağitim kanallari
GDC Europe 2015: Saying No to the CEO
Dağıtım kanalı türleri sunumu
Power point
Lifestylepitch
Psyc 388 ch 2 van wormer
Lifestylepitch
Ad

Similar to Embedded system hardware architecture ii (20)

PDF
The Art of Applied Engineering - An Overview
PDF
EDCC14 Keynote, Newcastle 15may14
PPT
Instruction level power analysis
PPT
L14-Embedded.ppt
PPTX
Mirabilis_Presentation_SCC_July_2024.pptx
PDF
Embedded Systems Q and A M.Sc.(IT) PART II SEM III
 
PDF
A017110106
PDF
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
PPT
Soc.pptx
PDF
Low Power Design and Verification
PDF
Low power design-ver_26_mar08
PDF
Shultz dallas q108
PDF
Schulz dallas q1_2008
PDF
Roy aerofone power_verif
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Peripherals
PDF
Mehta mayur d2_audio_dv_club_verification_flow
PDF
Design Verification at D2Audio
PDF
D2 audio dv_club_verification_flow
PPTX
Esd module1
PPT
L1_Introduction.ppt
The Art of Applied Engineering - An Overview
EDCC14 Keynote, Newcastle 15may14
Instruction level power analysis
L14-Embedded.ppt
Mirabilis_Presentation_SCC_July_2024.pptx
Embedded Systems Q and A M.Sc.(IT) PART II SEM III
 
A017110106
Development of a D.C Circuit Analysis Software Using Microsoft Visual C#.Net
Soc.pptx
Low Power Design and Verification
Low power design-ver_26_mar08
Shultz dallas q108
Schulz dallas q1_2008
Roy aerofone power_verif
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT II Embedded Systems Peripherals
Mehta mayur d2_audio_dv_club_verification_flow
Design Verification at D2Audio
D2 audio dv_club_verification_flow
Esd module1
L1_Introduction.ppt

More from Grace Abraham (7)

PPTX
Maha an energy efficient malleable hardware accelerator for data intensive a...
PPTX
Design and implementation of cmos rail to-rail operational amplifiers
PPTX
Clock recovery in mesochronous systems and pleisochronous systems
PPTX
MEMS ACCELEROMETER BASED NONSPECIFIC – USER HAND GESTURE RECOGNITION
PPTX
Implementation of 1 bit full adder using gate diffusion input (gdi) technique
PPTX
Rtl design optimizations and tradeoffs
PPTX
A 128 kbit sram with an embedded energy monitoring circuit and sense amplifie...
Maha an energy efficient malleable hardware accelerator for data intensive a...
Design and implementation of cmos rail to-rail operational amplifiers
Clock recovery in mesochronous systems and pleisochronous systems
MEMS ACCELEROMETER BASED NONSPECIFIC – USER HAND GESTURE RECOGNITION
Implementation of 1 bit full adder using gate diffusion input (gdi) technique
Rtl design optimizations and tradeoffs
A 128 kbit sram with an embedded energy monitoring circuit and sense amplifie...

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Geodesy 1.pptx...............................................
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
UNIT 4 Total Quality Management .pptx
DOCX
573137875-Attendance-Management-System-original
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Welding lecture in detail for understanding
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
additive manufacturing of ss316l using mig welding
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Construction Project Organization Group 2.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
PPT on Performance Review to get promotions
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Structs to JSON How Go Powers REST APIs.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Geodesy 1.pptx...............................................
OOP with Java - Java Introduction (Basics)
UNIT 4 Total Quality Management .pptx
573137875-Attendance-Management-System-original
Operating System & Kernel Study Guide-1 - converted.pdf
Welding lecture in detail for understanding
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Internet of Things (IOT) - A guide to understanding
additive manufacturing of ss316l using mig welding
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Construction Project Organization Group 2.pptx
Lecture Notes Electrical Wiring System Components
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
bas. eng. economics group 4 presentation 1.pptx
PPT on Performance Review to get promotions
Embodied AI: Ushering in the Next Era of Intelligent Systems
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
CH1 Production IntroductoryConcepts.pptx
Structs to JSON How Go Powers REST APIs.pdf

Embedded system hardware architecture ii

  • 2. 2 ELECTROSTATIC DISCHARGE EFFECTS • ESD is an important design consideration in embedded applications because of the potential for failure & erroneous operation in the presence of external electric fields • ESD voltages are commonly impressed on embedded interfaces-on the order of 10’s of 1000’s of volt • This issue is in the keyboard or user i/p device • This effect can damage or may cause latent failures • Shielding & grounding techniques to minimize this effect • Several useful resources like publications, seminars, test labs and consultants who specialize in solving EDC problems
  • 3. 3 • FAULT TOLERANCE  Fault tolerance has become a requirement in embedded system  Many hardware & software solutions have been developed  Each fault is categorized as “hard” or “soft” fault  Hard faults cause an error that does not go away  Soft faults are due to transient events or program errors  Self test and diagnostic programs may be able to identify & diagnose the failure if it is not severe  Depending on type of fault that occurs and which devices are effected, it is possible to design a system to detect the fault o Eg. Pushing reset or powering down does not result in recovery from fault
  • 4. 4  In the event of a soft failure, it is possible for designers to make the system recover from fault automatically  A BIST program can be used to detect faults in following devices  The data contents of ROM devices can be tested for errors using following techniques o Processor o Memory o ROM o RAM o E/EEPROM o Peripheral devices o Parity o Checksum o Cyclic redundancy check (CRC)
  • 5. 5 o Hardware error detection and correction o Data/address pattern tests o Data structure integrity by checking stack limits and address range validity  RAM memories & the integrity of information stored in RAM by processor can be tested for proper operation using following techniques  The integrity of the program and proper execution sequence by the CPU can be checked using following techniques o Hardware parity error detection o Duplicate, redundant hardware and cross checking or voting o “Watch dog” timer that operates the CPU chip’s reset line o Diagnostics that run constantly, when CPU has nothing else to do
  • 6. 6 HARDWARE DEVELOPMENT TOOLS • Two general classes of hardware development tools are • Passive analysis tools allow looking at the operation of the system • Active tools allow the designer to intrude on the operation of the system while it’s running • System under test – “target” system • Computer that is used to develop, edit, compile, assemble, and download the code to target system – “Host” system  Passive tools  Active tools
  • 7. 7 • Passive tools include : • Active tools include :  Logic probes to look at static logical level and detect pulses  Oscilloscopes to look at single waveform  Logic analyzers, with processor specific probes  Software to assist hardware development, scope loops  In-circuit emulators (ICE) for HW/SW integration are plugged to target system in the place of CPU, allowing designer to see inside the microcontroller, download & execute the programs selectively  ROM emulators(ROM ICE) allow designer to reduce the time to edit, compile, debug programs by replacing program EPROM with a RAM that can be loaded quickly from host computer
  • 8. 8 • INSTRUMENTATION ISSUES  One of the most significant problem is the proper selection and use of test instrumentation  Improper selection and application of tools is the source of wasted time & confusion for the designer  Two common usage problems relate to the use of oscilloscope logic analyzer probes  2 common causes for measurement problems  Problems causes a potential for erroneous measurements  2 things are done two mitigate these problems : o Excessive ground lead inductances o Excessive capacitive loading
  • 9. 9 1) Use the shortest possible test leads 2) Use high-impedance probes, especially designed for high-speed applications
  • 10. 10 SOFTWARE DEVELOPMENT TOOLS • 3 categories of software development tools • Most of available tools are available as freeware, shareware, or low-cost commercial products • Translators include :  Language translators  Debuggers  Utility programs that generally run on the host computers  Assembler  Compiler  Linker  Interpreter
  • 11. 11 • Debuggers include : • Utilities include :  Software /firmware monitors  Processors In circuit Emulator (ICE)  ROM ICE  PROM Programming  Performance measurement  Execution frequency histogram
  • 12. 12 OTHER SPECIALIZED DESIGN CONSIDERATIONS • Thermal characteristics of a system • Concept of thermal resistance • Power dissipation • Effects on device temperature & reliability • Battery power storage
  • 13. 13 • THERMAL ANALYSIS AND DESIGN  Reliability of devices are closely related to temperature  Device’s reliability drops exponentially with increasing temperature  To calculate operating temperature, consider an electrical analogy  Temperature rise(°C)=power(watts) * thermal resistance(°C/watt)  For eg : Given a 5V linear voltage regulator with a 9V i/p providing 1A of load current, the regulator will dissipate : P = V * I = (9-5 volts) * 1 amp = 4 watts  Total thermal resistance between the semiconductor junction and ambient air o Temperature is analogous to voltage o Power dissipated is equivalent to current o Thermal resistance is equivalent to electrical resistance
  • 14. 14  ϴja = ϴjc + ϴca = 1 + 10 = 11°C/watt  Temperature rise of the junction above that of air surrounding the regulator is given by: T = P * ϴja = 4 watts * 11°C/watt = 44°C above ambient  The designer must reduce the input voltage to reduce the thermal resistance by forced air flow
  • 15. 15 • BATTERY – POWERED SYSTEM DESIGN CONSIDERATIONS  Rapid increase in use of portable, battery-operated electronic devices  Batteries are divided into 2 common groups :  Primary cells include :  Secondary cells include : o Primary (one- time discharge & discard) o Secondary (rechargeable) o Lead-acid cell (older) o Nickel-cadmium (NiCd) cell (older) o Nickel metal hydride (NiMH) (newer) o Rechargeable alkaline and lithium ion cell (newer) o Non-rechargeable alkaline and lithium cells
  • 16. 16  A wide range of special – purpose batteries that are optimized for some specific characteristics  Primary batteries : alkalines and lithium coin cells  Secondary cells : o Zinc-air primary cell o Uses atmospheric air as an “electrode” to provide very high energy density at low operating current o Simple to use o Limited to 1 to 3 years of operation o Shelf-time limit imposed by internal leakage current that discharges the battery slowly over time, especially at high temperatures o Rechargeable battery types each have slightly differing charge/discharge requirements o Special algorithms to optimize the performance & service life of batteries
  • 17. 17  Embedded devices must be designed to operate long periods of time  There are CMOS processors & memories which have been designed with very low power consumption operating modes frequently referred to as “sleep”, ‘’power down”, or “idle” modes
  • 18. 18 PROCESSOR PERFORMANCE METRICS • To compare different processor performance we have performance metrics such as  IPS (instructions per second)  OPS (operations per second)  FLOPS(floating – point OPS)  Benchmarks
  • 19. 19 • IPS (Instructions per second)  Rate at which the fastest instruction executes on a machine  MIPS (millions of IPS)  BIPS (billions of IPS) • OPS (Operations per second)  OPS (MOPS & BOPS) are instruction execution times based on a mix of different instructions  FLOPS (mega FLOPS, giga FLOPS) are similar expect that they weight floating – point instructions heavily to represent heavy computational applications such as computational simulations
  • 20. 20  Problem with OPS metric is that the resulting number is heavily dependent on the instruction mix that is used to compute it, which may not accurately represent intended application instruction execution frequency • BENCHMARKS  Benchmarks are short, self contained programs that perform a critical part of an application  Used to compare functionally equivalent code on different machines  Programs are run for some number of iterations, and the time is measured and compared with that of other CPU  Problem : Benchmark is not only the measure of the processor but also of programmer & tools used to implement the program
  • 21. 21