SlideShare a Scribd company logo
1 of 19
Introduction to
EMBEDDED SYSTEM
(2nd Edition)
SHIBU K V
Dr Moe Moe Myint
Department of Computer Engineering & Information Technology
Mandalay Technological University
www.slideshare.net/MoeMoeMyint
moemoemyint@mtu.edu.mm
drmoemoemyint.blogspot.com
IT-52061
Chapter 8
Embedded Hardware Design and Development
Learning Objectives
 Learn about the various elements of Embedded Hardware and their design principles
 Refresh knowledge on the basic Analog Electronic components and circuits – Resistor, Capacitor, Diode,
Inductor, Transistor etc. and their use in embedded applications
 Refresh knowledge on the basic Digital Electronic components and circuits – Logic Gates, Buffer Ics, Latch
ICs, Decoder and Encoder ICs, Multiplexer (MUX) and De-multiplexer (D-MUX), Combinational and
Sequential Circuits and their use in embedded applications
 Learn about Integrated Circuits (ICs), the degree of integration in various types of Integrated Circuits,
Analog, Digital and Mixed Signal Integrated Circuits, the steps involved in IC Design
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Outlines
 Analog Electronic Components 229 (Roll no.1)
 Digital Electronic Components 230 (Roll no. 2,3,4,5,6,7,8,9,10,11)
 VLSI and Integrated Circuit Design 243 (Roll no. 12, 13,14)
 Electronic Design Automation (EDA) Tools 248
 How to use the Eagle EDA Tool? 249
 Schematic Design using Eagle Capture CIS 249
 The PCB Layout Design 267
 Printed Circuit Board (PCB) Fabrication 288
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
3
Finished
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
8.1 Analog Electronic Components
 Resistors, capacitors, diodes, inductors, operational amplifiers (OpAmps), transistors, etc.
are the commonly used analog electronic components in embedded hardware design.
Resistor
 A resistor limits the current flowing through a circuit.
 Interfacing of LEDs, buzzer, etc. with the port pins of microcontroller through current
limiting resistors is a typical example for the usage of resistors in embedded application.
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Cont’d
Capacitors & Inductors
 Capacitors and inductors are used in signal filtering and resonating circuits.
 Reset circuit implementation, matching circuits for RF designs, power supply decoupling,
etc. are examples for the usage of capacitors in embedded hardware circuit.
 Electrolytic capacitors, ceramic capacitors, tantalum capacitors, etc. are the commonly used
capacitors in embedded hardware design.
 Inductors are widely used for filtering the power supply from ripples and noise signals.
 Inductors with inductance value in the microhenry (𝜇𝐻) range are commonly used in
embedded applications for filter and matching circuit implementation.
Diodes
 P-N Junction diode, Schottky diode, Zener diode, etc. are the commonly used diodes in
embedded hardware circuits.
 A schottky diode is same as a P-N Junction diode except that its forward voltage drop
(voltage drop across diode when conducting) is very low (of the order of 0.15V to 0.45)
when compared to ordinary P-N junction diode (of the order of 0.7V to 1.7V).
 Also the current switching time of schottky diode is very small compared to the ordinary
P-N junction diode.
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Cont’d
Mandalay Technological University
Department of Computer Engineering and Information Technology
 A zener diode acts as normal P-N junction diode when forward biased.
It also permits current flow in the reverse direction, if the voltage is greater than the junction
breakdown voltage.
 It is normally used for voltage clamping applications.
 Reverse polarity protection, voltage rectification (AC-DC converters), freewheeling of
current produced in inductive circuits, clamping of voltages to a desired level (e.g., Brown-
out protection circuit implementation using zener diode), etc. are examples for the usage of
diodes in embedded applications.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Cont’d
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Cont’d
Transistors
 Transistors in embedded applications are used for either switching or amplification purpose.
 In switching application, the transistor is in either ON or OFF state.
 In amplification operation, the transistor is always in the ON state (partially ON).
The common emitter configuration of NPN transistor is widely used in switching and driving
circuits in embedded applications.
 Relay, buzzer and stepper motor driving circuits are examples for common emitter
configuration based driver circuit implementation using transistor.
 Digital electronics deal with digital or discrete signals.
 Microprocessors, microcontrollers and system on chips (SoCs) work on digital principles.
 Embedded systems employ various digital electronic circuits for ‘Glue logic’
implementation.
 ‘Glue logic’ is the custom digital electronic circuitry required to achieve compatible
interface between two different integrated circuit chips.
 Address decoders, latches, encoders/decoders, etc. are examples for glue logic circuits.
 Transistor Transistor Logic (TTL), Complementary Metal Oxide Semiconductor (CMOS)
logic etc. are some of the standards describing the electrical characteristics of digital signals
in a digital system.
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
8.2 Digital Electronic Components
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Open Collector and Tri-State Output
Open Collector
 Open collector is an I/O interface standard in digital system
design and a common type of output found on many Integrated
Circuit (IC) chip which behaves like a switch that is either
connected to ground or disconnected.
 Instead of outputting a signal of a specific voltage or current, the
output signal is applied to the base of an internal NPN transistor
whose collector is externalized (open) on a pin of the IC.
 The emitter of the transistor is connected internally to the ground
pin.
 Figure illustrates an open collector output configuration.
Figure. Open collector output configuration
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Cont’d
 For the output pin to function properly, the output pin should be pulled, to the desired voltage for
the o/p device, through a pull-up resistor.
 The output signal of the IC is fed to the base of an open collector transistor.
 When the base drive to the transistor is ON and the collector is in open state, the o/p pin floats.
This state is also known as ‘high impedance’ state. Here the output is neither driven to logic ‘high’
nor logic ‘low’.
 If a pull-up resistor is connected to the o/p pin, when the base drive is ON, the o/p pin becomes at
logic 0 (0 V).
 With a pull-up resistor, if the base driver is 0, the o/p will be at logic high (Voltage = 𝑉𝑐𝑐).
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Cont’d
The advantages of open collector output in embedded system design are listed below:
i. It facilitates the interfacing of devices, operating at a voltage different from the IC, with
the IC. Thereby, it eliminates the need for additional interface circuits for connecting
devices at different voltage levels.
ii. An open collector configuration supports multi-drop connection, i.e., connecting more
than one open collector communication interfaces like I2C, 1-Wire, etc. Please refer to
the various interfaces described in Chapter 2 under the section ‘Onboard Communication
Interfaces’.
iii. It is easy to build ‘Wired AND’ and ‘Wired OR’ configuration using open collector
output lines.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Tri-State Output
 The output of a standard logic device has two states, namely ‘Logic 0 (LOW)’ and
‘Logic 1 (HIGH)’ whereas tri-state devices have three states for the output, namely,
‘Logic 0 (LOW)’, ‘Logic 1 (HIGH)’, and the ‘High Impedance (FLOAT)’.
 A tri-state logic device contains a device activation line called ‘Device Enable’.
 When the ‘Device Enable’ line is activated (set at ‘Logic 1’ for an active ‘HIGH’
enable input and at ‘Logic 0’ for an active ‘LOW’ enable input), the device acts like a
normal logic device and the output will be in any one of the logic conditions, ‘Logic 0
(LOW)’ or ‘Logic 1 (HIGH)’.
When the ‘Device Enable’ line is de-activated (set at ‘Logic 0’ for an active ‘HIGH’
enable input and at ‘Logic 1’ for an active ‘LOW’ enable input), the output of the logic
device enters in a high impedance state and the device is said to be in the floating state.
Mandalay Technological University
Department of Computer Engineering and Information Technology
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Logic Gates
 Logic gates are the building blocks of digital circuits.
 Logic gates control the flow of digital information by performing a logical operation of the input
signals.
 Depending on the logical operation, the logic gates used in digital design are classified into-AND, OR,
XOR, NOT, NAND, NOR and XNOR.
 The logical relationship between the output signal and the input signals for a logic gate is represented
using a truth table.
 Figure illustrates the truth table and symbolic representation of each logic gate.
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Objective Questions (1 Mark for each)
1. Which of the following analog electronic component is used for clamping of voltage in electronic
circuits.
(a) Schottky diode (b) Transistor (c) TRIAC (d) Zener diode
2. Which of the following analog electronic component(s) is (are) used for noise signal filtering in
electronic circuits.
(a) Capacitor (b) Transistor (c) Inductor (d) All of these
(e) Only (a) and (c)
3. Which of the following is (are) true about Open Collector configuration?
(a) The emitter of the transistor is grounded (b) The emitter of the transistor is open
(c) The collector of the transistor is open (d) The collector of the transistor is grounded
(e) (a) and (c) (f) (b) and (d)
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Review Questions
1. Explain the role of the analog electronic components resistor, transistor, capacitor and diode
in embedded hardware design. (5 Marks)
2. What is open collector? State its significance in embedded hardware development. (5 Marks)
3. Explain the role of logic gates in embedded hardware design. (2 Marks)
 Only Original Owner has full rights reserved for copied images.
 This PPT is only for fair academic use.
 Coming soon for chapter 8 (3rd portion)
17
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
18
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Pin configured as input
 pinMode()ဖန်ရှင်ဖဖင့်် Arduino တခုခုကု input အဖဖစ် သတ်မှတ်လုက်ပါက ထုငုတ်သည် high
impedance state တွင် ရှသည်ဟုဆုသည်/ ထုအခါ ထုငုတ်တွင် ဆက်သွယ်ထ ားသည့်် sensor ကု
ဖတ်ယူနုင်သည်/ အကယ်၍ ငုတ်တစ်ခုကု input အဖဖစ် သတ်မှတ်ထ ားပပား ထုငုတ်တွင်
ဆက်သွယ်ထ ားသည့်် ခလုတ်တစ်ခု၏ အခဖခကု ဖတ်မည် ဆုပါစု ့်/ ထုအခါ ခလုတ်သည်် open ဖြစ်နေပါက
floating ဖြစ်နေသည််ဟု ဆုသည်/ ဤအခဖခအခနတွင် ဖတ်ယူရရှမည့်် data သည် မခမ ်မှန်ားနုင်သည့််
တန်ဖုားဖဖစ်ခနလမ့််မည်/ ထု ို့န ကြောင်ို့ ခလုတ်သည်် open ဖြစ်နေသည််ို့အခါ မှေ်ကေ်သည််ို့ တေ်ြုိုးကု
ြတ်ယူရရှနုင်နစရေ် အတွက် pull up သညု ို့မဟုတ် pull down resistor ကု သညုိုးရမ််/ မ ြောိုးနသညြောအြောိုးဖြင်ို့ 10k
resistors ကု သညုိုးနလို့ရှသည််/
Pull down resistor ကု သုားမည်ဆုပါက ခလုတ်သည် open ဖဖစ်ခနလ င် အ၀င်ငုတ်သည် low state တွင်
ရှခနမည်/ ခလုတ်နှပ်လုက်သည့််အခါ ထုငုတ်သည် high state သု ့်ခရ က်ရှမည်/
Pull up resistor ကု သုားခ့်လ င် ခလုတ်သည် open ဖဖစ်ခနသည့််အခါ တွင် high state ရှခနမည် ဖဖစ်ပပား
ခလုတ်ကု နှပ်လုက်လ င် low state သု ့်ခရ က်ရှသွ ားမည်/

More Related Content

What's hot

Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
Rayees CK
 

What's hot (20)

Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)Chapter 8 Embedded Hardware Design and Development (third portion)
Chapter 8 Embedded Hardware Design and Development (third portion)
 
Computational models in embedded design
Computational models in embedded designComputational models in embedded design
Computational models in embedded design
 
Device drivers and interrupt service mechanism
Device drivers and interrupt service mechanismDevice drivers and interrupt service mechanism
Device drivers and interrupt service mechanism
 
Chapter 4 Embedded System: Application and Domain Specific
Chapter 4 Embedded System: Application and Domain SpecificChapter 4 Embedded System: Application and Domain Specific
Chapter 4 Embedded System: Application and Domain Specific
 
Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)
 
Embedded systems - UNIT-1 - Mtech
Embedded systems - UNIT-1 - MtechEmbedded systems - UNIT-1 - Mtech
Embedded systems - UNIT-1 - Mtech
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
Embedded systems notes
Embedded systems notesEmbedded systems notes
Embedded systems notes
 
E.s unit 6
E.s unit 6E.s unit 6
E.s unit 6
 
Task communication
Task communicationTask communication
Task communication
 
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
EMBEDDED SYSTEMS SYBSC IT SEM IV UNIT V Embedded Systems Integrated Developme...
 
Mac protocols
Mac protocolsMac protocols
Mac protocols
 
MicroC/OS-II
MicroC/OS-IIMicroC/OS-II
MicroC/OS-II
 
Quality attributes of Embedded Systems
Quality attributes of Embedded Systems Quality attributes of Embedded Systems
Quality attributes of Embedded Systems
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Introduction to IoT Architectures and Protocols
Introduction to IoT Architectures and ProtocolsIntroduction to IoT Architectures and Protocols
Introduction to IoT Architectures and Protocols
 
Classification of embedded systems
Classification of embedded systemsClassification of embedded systems
Classification of embedded systems
 
Introduction to embedded systems
Introduction  to embedded systemsIntroduction  to embedded systems
Introduction to embedded systems
 

Similar to Chapter 8 Embedded Hardware Design and Development (second portion)

Design and Detection of Underground Cable Fault Using Raspberry Pi and IoT Sy...
Design and Detection of Underground Cable Fault Using Raspberry Pi and IoT Sy...Design and Detection of Underground Cable Fault Using Raspberry Pi and IoT Sy...
Design and Detection of Underground Cable Fault Using Raspberry Pi and IoT Sy...
ijtsrd
 
Wireless charging scheme for medium power range application systems
Wireless charging scheme for medium power range application systemsWireless charging scheme for medium power range application systems
Wireless charging scheme for medium power range application systems
International Journal of Power Electronics and Drive Systems
 

Similar to Chapter 8 Embedded Hardware Design and Development (second portion) (20)

Introduction to Embedded System I : Chapter 2 (3rd portion)
Introduction to Embedded System I : Chapter 2 (3rd portion)Introduction to Embedded System I : Chapter 2 (3rd portion)
Introduction to Embedded System I : Chapter 2 (3rd portion)
 
IRJET- Password based Circuit Breaker using DTMF
IRJET-  	  Password based Circuit Breaker using DTMFIRJET-  	  Password based Circuit Breaker using DTMF
IRJET- Password based Circuit Breaker using DTMF
 
embedded system
embedded system  embedded system
embedded system
 
IRJET - Expansion of Logic Gates using Trainer
IRJET - Expansion of Logic Gates using TrainerIRJET - Expansion of Logic Gates using Trainer
IRJET - Expansion of Logic Gates using Trainer
 
Introduction.ppt
Introduction.pptIntroduction.ppt
Introduction.ppt
 
Digital logic families
Digital logic familiesDigital logic families
Digital logic families
 
233466440 rg-major-project-final-complete upload
233466440 rg-major-project-final-complete upload233466440 rg-major-project-final-complete upload
233466440 rg-major-project-final-complete upload
 
Design and Detection of Underground Cable Fault Using Raspberry Pi and IoT Sy...
Design and Detection of Underground Cable Fault Using Raspberry Pi and IoT Sy...Design and Detection of Underground Cable Fault Using Raspberry Pi and IoT Sy...
Design and Detection of Underground Cable Fault Using Raspberry Pi and IoT Sy...
 
IRJET- Intelligent Power Emulator
IRJET-  	  Intelligent Power EmulatorIRJET-  	  Intelligent Power Emulator
IRJET- Intelligent Power Emulator
 
IRJET- Intelligent Power Emulator
IRJET- Intelligent Power EmulatorIRJET- Intelligent Power Emulator
IRJET- Intelligent Power Emulator
 
LECTURE NOTES-DSD1.doc
LECTURE NOTES-DSD1.docLECTURE NOTES-DSD1.doc
LECTURE NOTES-DSD1.doc
 
electronics design associate certification
electronics design associate certificationelectronics design associate certification
electronics design associate certification
 
Pdc 2 mark
Pdc   2 markPdc   2 mark
Pdc 2 mark
 
Project on orientation programme
Project on orientation programmeProject on orientation programme
Project on orientation programme
 
Analysis of leakage current calculation for nanoscale MOSFET and FinFET
Analysis of leakage current calculation for nanoscale MOSFET and FinFETAnalysis of leakage current calculation for nanoscale MOSFET and FinFET
Analysis of leakage current calculation for nanoscale MOSFET and FinFET
 
Design of wireless sensor network for building management systems
Design of wireless sensor network for building management systemsDesign of wireless sensor network for building management systems
Design of wireless sensor network for building management systems
 
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit OverviewIDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
 
IRJET- PLC Based Intelligent Control of Substation
IRJET- PLC Based Intelligent Control of SubstationIRJET- PLC Based Intelligent Control of Substation
IRJET- PLC Based Intelligent Control of Substation
 
Automation of Railway Gate and Road traffic using Internet of Things (IoT)
Automation of Railway Gate and Road traffic using Internet of Things (IoT)Automation of Railway Gate and Road traffic using Internet of Things (IoT)
Automation of Railway Gate and Road traffic using Internet of Things (IoT)
 
Wireless charging scheme for medium power range application systems
Wireless charging scheme for medium power range application systemsWireless charging scheme for medium power range application systems
Wireless charging scheme for medium power range application systems
 

More from Moe Moe Myint

More from Moe Moe Myint (18)

Schematic and PCB Design Using Eagle
Schematic and PCB Design Using EagleSchematic and PCB Design Using Eagle
Schematic and PCB Design Using Eagle
 
Introduction to Embedded System: Chapter 2 (4th portion)
Introduction to Embedded System:  Chapter 2 (4th portion)Introduction to Embedded System:  Chapter 2 (4th portion)
Introduction to Embedded System: Chapter 2 (4th portion)
 
Introduction to Embedded System I : Chapter 2 (2nd portion)
Introduction to Embedded System I : Chapter 2 (2nd portion)Introduction to Embedded System I : Chapter 2 (2nd portion)
Introduction to Embedded System I : Chapter 2 (2nd portion)
 
Introduction to Embedded Systems I: Chapter 2 (1st portion)
Introduction to Embedded Systems I: Chapter 2 (1st portion)Introduction to Embedded Systems I: Chapter 2 (1st portion)
Introduction to Embedded Systems I: Chapter 2 (1st portion)
 
Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1
 
Lect 06
Lect 06 Lect 06
Lect 06
 
Lect 03 - first portion
Lect 03 - first portionLect 03 - first portion
Lect 03 - first portion
 
Lect 02 second portion
Lect 02  second portionLect 02  second portion
Lect 02 second portion
 
Lect 02 first portion
Lect 02   first portionLect 02   first portion
Lect 02 first portion
 
Lect 02 first portion
Lect 02   first portionLect 02   first portion
Lect 02 first portion
 
Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)
 
Digital Image Processing (Lab 09 and 10)
Digital Image Processing (Lab 09 and 10)Digital Image Processing (Lab 09 and 10)
Digital Image Processing (Lab 09 and 10)
 
Digital Image Processing (Lab 08)
Digital Image Processing (Lab 08)Digital Image Processing (Lab 08)
Digital Image Processing (Lab 08)
 
Digital Image Processing (Lab 07)
Digital Image Processing (Lab 07)Digital Image Processing (Lab 07)
Digital Image Processing (Lab 07)
 
Digital Image Processing (Lab 06)
Digital Image Processing (Lab 06)Digital Image Processing (Lab 06)
Digital Image Processing (Lab 06)
 
Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)
 
Dital Image Processing (Lab 2+3+4)
Dital Image Processing (Lab 2+3+4)Dital Image Processing (Lab 2+3+4)
Dital Image Processing (Lab 2+3+4)
 
Digital image processing lab 1
Digital image processing lab 1Digital image processing lab 1
Digital image processing lab 1
 

Recently uploaded

Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
meharikiros2
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 

Recently uploaded (20)

Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 

Chapter 8 Embedded Hardware Design and Development (second portion)

  • 1. Introduction to EMBEDDED SYSTEM (2nd Edition) SHIBU K V Dr Moe Moe Myint Department of Computer Engineering & Information Technology Mandalay Technological University www.slideshare.net/MoeMoeMyint moemoemyint@mtu.edu.mm drmoemoemyint.blogspot.com IT-52061 Chapter 8 Embedded Hardware Design and Development
  • 2. Learning Objectives  Learn about the various elements of Embedded Hardware and their design principles  Refresh knowledge on the basic Analog Electronic components and circuits – Resistor, Capacitor, Diode, Inductor, Transistor etc. and their use in embedded applications  Refresh knowledge on the basic Digital Electronic components and circuits – Logic Gates, Buffer Ics, Latch ICs, Decoder and Encoder ICs, Multiplexer (MUX) and De-multiplexer (D-MUX), Combinational and Sequential Circuits and their use in embedded applications  Learn about Integrated Circuits (ICs), the degree of integration in various types of Integrated Circuits, Analog, Digital and Mixed Signal Integrated Circuits, the steps involved in IC Design Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 3. Outlines  Analog Electronic Components 229 (Roll no.1)  Digital Electronic Components 230 (Roll no. 2,3,4,5,6,7,8,9,10,11)  VLSI and Integrated Circuit Design 243 (Roll no. 12, 13,14)  Electronic Design Automation (EDA) Tools 248  How to use the Eagle EDA Tool? 249  Schematic Design using Eagle Capture CIS 249  The PCB Layout Design 267  Printed Circuit Board (PCB) Fabrication 288 Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 3 Finished
  • 4. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 8.1 Analog Electronic Components  Resistors, capacitors, diodes, inductors, operational amplifiers (OpAmps), transistors, etc. are the commonly used analog electronic components in embedded hardware design. Resistor  A resistor limits the current flowing through a circuit.  Interfacing of LEDs, buzzer, etc. with the port pins of microcontroller through current limiting resistors is a typical example for the usage of resistors in embedded application.
  • 5. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Cont’d Capacitors & Inductors  Capacitors and inductors are used in signal filtering and resonating circuits.  Reset circuit implementation, matching circuits for RF designs, power supply decoupling, etc. are examples for the usage of capacitors in embedded hardware circuit.  Electrolytic capacitors, ceramic capacitors, tantalum capacitors, etc. are the commonly used capacitors in embedded hardware design.  Inductors are widely used for filtering the power supply from ripples and noise signals.  Inductors with inductance value in the microhenry (𝜇𝐻) range are commonly used in embedded applications for filter and matching circuit implementation.
  • 6. Diodes  P-N Junction diode, Schottky diode, Zener diode, etc. are the commonly used diodes in embedded hardware circuits.  A schottky diode is same as a P-N Junction diode except that its forward voltage drop (voltage drop across diode when conducting) is very low (of the order of 0.15V to 0.45) when compared to ordinary P-N junction diode (of the order of 0.7V to 1.7V).  Also the current switching time of schottky diode is very small compared to the ordinary P-N junction diode. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Cont’d
  • 7. Mandalay Technological University Department of Computer Engineering and Information Technology  A zener diode acts as normal P-N junction diode when forward biased. It also permits current flow in the reverse direction, if the voltage is greater than the junction breakdown voltage.  It is normally used for voltage clamping applications.  Reverse polarity protection, voltage rectification (AC-DC converters), freewheeling of current produced in inductive circuits, clamping of voltages to a desired level (e.g., Brown- out protection circuit implementation using zener diode), etc. are examples for the usage of diodes in embedded applications. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Cont’d
  • 8. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Cont’d Transistors  Transistors in embedded applications are used for either switching or amplification purpose.  In switching application, the transistor is in either ON or OFF state.  In amplification operation, the transistor is always in the ON state (partially ON). The common emitter configuration of NPN transistor is widely used in switching and driving circuits in embedded applications.  Relay, buzzer and stepper motor driving circuits are examples for common emitter configuration based driver circuit implementation using transistor.
  • 9.  Digital electronics deal with digital or discrete signals.  Microprocessors, microcontrollers and system on chips (SoCs) work on digital principles.  Embedded systems employ various digital electronic circuits for ‘Glue logic’ implementation.  ‘Glue logic’ is the custom digital electronic circuitry required to achieve compatible interface between two different integrated circuit chips.  Address decoders, latches, encoders/decoders, etc. are examples for glue logic circuits.  Transistor Transistor Logic (TTL), Complementary Metal Oxide Semiconductor (CMOS) logic etc. are some of the standards describing the electrical characteristics of digital signals in a digital system. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 8.2 Digital Electronic Components
  • 10. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Open Collector and Tri-State Output Open Collector  Open collector is an I/O interface standard in digital system design and a common type of output found on many Integrated Circuit (IC) chip which behaves like a switch that is either connected to ground or disconnected.  Instead of outputting a signal of a specific voltage or current, the output signal is applied to the base of an internal NPN transistor whose collector is externalized (open) on a pin of the IC.  The emitter of the transistor is connected internally to the ground pin.  Figure illustrates an open collector output configuration. Figure. Open collector output configuration
  • 11. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Cont’d  For the output pin to function properly, the output pin should be pulled, to the desired voltage for the o/p device, through a pull-up resistor.  The output signal of the IC is fed to the base of an open collector transistor.  When the base drive to the transistor is ON and the collector is in open state, the o/p pin floats. This state is also known as ‘high impedance’ state. Here the output is neither driven to logic ‘high’ nor logic ‘low’.  If a pull-up resistor is connected to the o/p pin, when the base drive is ON, the o/p pin becomes at logic 0 (0 V).  With a pull-up resistor, if the base driver is 0, the o/p will be at logic high (Voltage = 𝑉𝑐𝑐).
  • 12. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Cont’d The advantages of open collector output in embedded system design are listed below: i. It facilitates the interfacing of devices, operating at a voltage different from the IC, with the IC. Thereby, it eliminates the need for additional interface circuits for connecting devices at different voltage levels. ii. An open collector configuration supports multi-drop connection, i.e., connecting more than one open collector communication interfaces like I2C, 1-Wire, etc. Please refer to the various interfaces described in Chapter 2 under the section ‘Onboard Communication Interfaces’. iii. It is easy to build ‘Wired AND’ and ‘Wired OR’ configuration using open collector output lines.
  • 13. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Tri-State Output  The output of a standard logic device has two states, namely ‘Logic 0 (LOW)’ and ‘Logic 1 (HIGH)’ whereas tri-state devices have three states for the output, namely, ‘Logic 0 (LOW)’, ‘Logic 1 (HIGH)’, and the ‘High Impedance (FLOAT)’.  A tri-state logic device contains a device activation line called ‘Device Enable’.  When the ‘Device Enable’ line is activated (set at ‘Logic 1’ for an active ‘HIGH’ enable input and at ‘Logic 0’ for an active ‘LOW’ enable input), the device acts like a normal logic device and the output will be in any one of the logic conditions, ‘Logic 0 (LOW)’ or ‘Logic 1 (HIGH)’. When the ‘Device Enable’ line is de-activated (set at ‘Logic 0’ for an active ‘HIGH’ enable input and at ‘Logic 1’ for an active ‘LOW’ enable input), the output of the logic device enters in a high impedance state and the device is said to be in the floating state. Mandalay Technological University Department of Computer Engineering and Information Technology
  • 14. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Logic Gates  Logic gates are the building blocks of digital circuits.  Logic gates control the flow of digital information by performing a logical operation of the input signals.  Depending on the logical operation, the logic gates used in digital design are classified into-AND, OR, XOR, NOT, NAND, NOR and XNOR.  The logical relationship between the output signal and the input signals for a logic gate is represented using a truth table.  Figure illustrates the truth table and symbolic representation of each logic gate.
  • 15. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Objective Questions (1 Mark for each) 1. Which of the following analog electronic component is used for clamping of voltage in electronic circuits. (a) Schottky diode (b) Transistor (c) TRIAC (d) Zener diode 2. Which of the following analog electronic component(s) is (are) used for noise signal filtering in electronic circuits. (a) Capacitor (b) Transistor (c) Inductor (d) All of these (e) Only (a) and (c) 3. Which of the following is (are) true about Open Collector configuration? (a) The emitter of the transistor is grounded (b) The emitter of the transistor is open (c) The collector of the transistor is open (d) The collector of the transistor is grounded (e) (a) and (c) (f) (b) and (d)
  • 16. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Review Questions 1. Explain the role of the analog electronic components resistor, transistor, capacitor and diode in embedded hardware design. (5 Marks) 2. What is open collector? State its significance in embedded hardware development. (5 Marks) 3. Explain the role of logic gates in embedded hardware design. (2 Marks)
  • 17.  Only Original Owner has full rights reserved for copied images.  This PPT is only for fair academic use.  Coming soon for chapter 8 (3rd portion) 17 Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 18. 18
  • 19. Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Pin configured as input  pinMode()ဖန်ရှင်ဖဖင့်် Arduino တခုခုကု input အဖဖစ် သတ်မှတ်လုက်ပါက ထုငုတ်သည် high impedance state တွင် ရှသည်ဟုဆုသည်/ ထုအခါ ထုငုတ်တွင် ဆက်သွယ်ထ ားသည့်် sensor ကု ဖတ်ယူနုင်သည်/ အကယ်၍ ငုတ်တစ်ခုကု input အဖဖစ် သတ်မှတ်ထ ားပပား ထုငုတ်တွင် ဆက်သွယ်ထ ားသည့်် ခလုတ်တစ်ခု၏ အခဖခကု ဖတ်မည် ဆုပါစု ့်/ ထုအခါ ခလုတ်သည်် open ဖြစ်နေပါက floating ဖြစ်နေသည််ဟု ဆုသည်/ ဤအခဖခအခနတွင် ဖတ်ယူရရှမည့်် data သည် မခမ ်မှန်ားနုင်သည့်် တန်ဖုားဖဖစ်ခနလမ့််မည်/ ထု ို့န ကြောင်ို့ ခလုတ်သည်် open ဖြစ်နေသည််ို့အခါ မှေ်ကေ်သည််ို့ တေ်ြုိုးကု ြတ်ယူရရှနုင်နစရေ် အတွက် pull up သညု ို့မဟုတ် pull down resistor ကု သညုိုးရမ််/ မ ြောိုးနသညြောအြောိုးဖြင်ို့ 10k resistors ကု သညုိုးနလို့ရှသည််/ Pull down resistor ကု သုားမည်ဆုပါက ခလုတ်သည် open ဖဖစ်ခနလ င် အ၀င်ငုတ်သည် low state တွင် ရှခနမည်/ ခလုတ်နှပ်လုက်သည့််အခါ ထုငုတ်သည် high state သု ့်ခရ က်ရှမည်/ Pull up resistor ကု သုားခ့်လ င် ခလုတ်သည် open ဖဖစ်ခနသည့််အခါ တွင် high state ရှခနမည် ဖဖစ်ပပား ခလုတ်ကု နှပ်လုက်လ င် low state သု ့်ခရ က်ရှသွ ားမည်/

Editor's Notes

  1. Resonating cirucit  producing the resonant frequency Highest frequency amplitude from initiating energy  oscillation (LC oscillation, RC, Crystal…) Ripples (specifically ripple voltage) (specifically ripple current) in electronics AC-DC power supply and DC-DC converter datasheets should always include output “Ripple & Noise” specifications. An inductor, also called a coil, choke or reactor, is a passive two-terminal electrical component that stores energy in a magnetic field when electric current flows through it.[1] An inductor typically consists of an insulated wire wound into a coil around a core.
  2. Schotty  high speed  switching circuit Zener  voltage regulator Zener diode: a form of semiconductor diode in which at a critical reverse voltage a large reverse current can flow. A p–n junction is a boundary or interface between two types of semiconductor materials, p-type and n-type, inside a single crystal of semiconductor. sa solid-state diode having a metal-semiconductor junction, used in fast switching applications. Schottky diode: a solid-state diode having a metal-semiconductor junction, used in fast switching applications.
  3. Schotty  high speed  switching circuit Zener  voltage regulator Freewheeling of current… not to enter backelectromagnetic voltage to coil There is a diode connected across the connections of the motor. Diodes only allow electricity to flow in one direction (the direction of their arrow). When you turn the power off to a motor, you get a negative spike of voltage, that can damage your Arduino or the transistor. The diode protects against this, by shorting out any such reverse current from the motor.
  4. The small DC motor, is likely to use more power than an Arduino digital output can handle directly. If we tried to connect the motor straight to an Arduino pin, there is a good chance that it could damage the Arduino. A small transistor like the PN2222 can be used as a switch that uses just a little current from the Arduino digital output to control the much bigger current of the motor. The transistor has three leads. An n-p-n transistor has three pins namely emitter, base and collector. In transistor current can flow through collector to emitter depending on the state of the base pin with respect to the emitter. If the base is at higher potential than emitter, we have current flowing from collector to emitter. This can be restricted if the base is grounded. So basically here transistor is used as a switch.
  5. Glue logic implementation to achieve compatible interface between two different digital circuits………
  6. An n-p-n transistor has three pins namely emitter, base and collector. In transistor current can flow through collector to emitter depending on the state of the base pin with respect to the emitter. If the base is at higher potential than emitter, we have current flowing from collector to emitter
  7. An open collector is a common type of output found on many integrated circuits (IC), which behaves like a switch that is either connected to ground or disconnected. Instead of outputting a signal of a specific voltage or current, the output signal is applied to the base of an internal NPN transistor whose collector is externalized (open) on a pin of the IC. The emitter of the transistor is connected internally to the ground pin. If the output device is a MOSFET the output is called open drain and it functions in a similar way.
  8. An open collector is a common type of output found on many integrated circuits (IC), which behaves like a switch that is either connected to ground or disconnected. Instead of outputting a signal of a specific voltage or current, the output signal is applied to the base of an internal NPN transistor whose collector is externalized (open) on a pin of the IC. The emitter of the transistor is connected internally to the ground pin. If the output device is a MOSFET the output is called open drain and it functions in a similar way.
  9. The output of a standard logic device has two states, namely ‘Logic 0 (LOW)’ and ‘Logic 1 (HIGH)’ whereas tri-state devices have three states for the output, namely, ‘Logic 0 (LOW)’, ‘Logic 1 (HIGH)’, and the ‘High Impedance (FLOAT)’. In digital electronics three-state, tri-state, or 3-state logic allows an output port to assume a high impedance state, effectively removing the output from the circuit, in addition to the 0 and 1 logic levels. This allows multiple circuits to share the same output line or lines (such as a bus which cannot listen to more than one device at a time). Three-state outputs are implemented in many registers, bus drivers, and flip-flops in the 7400 and 4000 series as well as in other types, but also internally in many integrated circuits. Other typical uses are internal and external buses in microprocessors, computer memory, and peripherals. Many devices are controlled by an active-low input called OE (Output Enable) which dictates whether the outputs should be held in a high-impedance state or drive their respective loads (to either 0- or 1-level). The term tri-state[1] should not be confused with ternary logic (3-value logic).
  10. Logic gates are the basic building blocks of any digital system. It is an electronic circuit having one or more than one input and only one output. The relationship between the input and the output is based on a certain logic. Based on this, logic gates are named as AND gate, OR gate, NOT gate etc. Q : Explain the role of logic gates in embedded hardware design. Draw a circuit using the ‘AND’ and ‘OR’ gate ICs in embedded application. 𝑌=𝐴𝐵+ 𝐵 𝐶+𝐴𝐶
  11. An open collector is a common type of output found on many integrated circuits (IC), which behaves like a switch that is either connected to ground or disconnected. Instead of outputting a signal of a specific voltage or current, the output signal is applied to the base of an internal NPN transistor whose collector is externalized (open) on a pin of the IC. The emitter of the transistor is connected internally to the ground pin. If the output device is a MOSFET the output is called open drain and it functions in a similar way.
  12. The output of a standard logic device has two states, namely ‘Logic 0 (LOW)’ and ‘Logic 1 (HIGH)’ whereas tri-state devices have three states for the output, namely, ‘Logic 0 (LOW)’, ‘Logic 1 (HIGH)’, and the ‘High Impedance (FLOAT)’. In digital electronics three-state, tri-state, or 3-state logic allows an output port to assume a high impedance state, effectively removing the output from the circuit, in addition to the 0 and 1 logic levels. This allows multiple circuits to share the same output line or lines (such as a bus which cannot listen to more than one device at a time). Three-state outputs are implemented in many registers, bus drivers, and flip-flops in the 7400 and 4000 series as well as in other types, but also internally in many integrated circuits. Other typical uses are internal and external buses in microprocessors, computer memory, and peripherals. Many devices are controlled by an active-low input called OE (Output Enable) which dictates whether the outputs should be held in a high-impedance state or drive their respective loads (to either 0- or 1-level). The term tri-state[1] should not be confused with ternary logic (3-value logic).