SlideShare une entreprise Scribd logo
1  sur  36
Télécharger pour lire hors ligne
THE IOT ACADEMY
EMBEDDED SYSTEMS
Circuit Design
Design Abstraction Levels
2
n+n+
S
G
D
+
DEVICE
CIRCUIT
GATE
MODULE
SYSTEM
What is design?
 1. Specify the problem
 2. Explore top-level decomposition
 3. Discover relevant information from diverse sources
 4. Perform system analysis (where possible)
 5. Make assumptions, prioritise problems
 6. Perform detailed prototype design
 7. Evaluate prototype
 test assumptions
 identify problems & areas for further work
 8. Improve design
3
Design is not linear
4
Specify
Top-level
InformationAnalysisAssumptions
Prototype
Evaluate
Improve
Top-down
Bottom-up
These activities are
inter-dependent and
concurrent
Putting it all together
 Not all elements of design are “open”.
 Some problems are closed, with specific constraints that
allow only one solution
 Use analysisto solveclosed problems, to simplify the
design space
 No-one tells you which bits of analysis to do!
 Design requires both analysisand creative exploration
5
Design Concept
Todesignany electricalcircuit, eitheranalog or digital,
engineersneed to be able to predictthevoltagesand currents
at all placeswithinthe circuit.
Linearcircuits, that is, circuits wherein theoutputsare linearly
dependent on the inputs, can be analyzedby hand using complex
analysis.
Simple nonlinearcircuitscan also be analyzedin thisway.
Specializedsoftwarehas been created toanalyzecircuits thatare
eithertoocomplicatedor too nonlineartoanalyzeby hand.
First try to find a steadystatesolutionwhereinall the nodes
conform to Kirchhoff'sCurrent Law and thevoltagesacross and
througheach elementof thecircuit conform to thevoltage/current
equationsgoverning thatelement.
6
Design Metrics
 How to evaluate performance of a digital circuit
(gate, block, …)?
 Cost
 Reliability
 Scalability
 Speed (delay, operating frequency)
 Power dissipation
 Energy to perform a function
7
Terminology in Circuit Design
 Impedance Matching
 DC Bias
 Noise Margin
 Pull up Resister
 Pull Down Resistor
 Filters
 Loading effect
 Fan in
 Fan out
8
Impedance Matching
 It’s simplydefined as theprocess of making one impedance
look like another.
 Frequently, it becomes necessary to match a load impedance to
thesource or internalimpedance of a driving source.
 The maximum power transfertheoremsays that to transferthe
maximum amount of power from a source to a load, theload
impedance should match thesource impedance. In thebasic
circuit, a source may be dc or ac, and its internalresistance(Ri)
or generatoroutput impedance (Zg) drives a load resistance
(RL) or impedance (ZL):: RL = Ri or ZL = Zg
9
Impedance Matching (Applications)
Antenna impedance must equal the transmitter output impedance
to receive maximum power.
Transmission lines have a characteristic impedance (ZO)
that must match the load to ensure maximum power
transfer and withstand loss to standing waves.
10
Fan-Out
 Typically, theoutput of a logicgate is connectedto the input(s) of one
or more logicgates
 The fan-out is the number of gates thatare connected to theoutput
of the driving gate:
11
Fan-out leads to increased capacitive load on the
driving gate, and therefore longer propagation delay
•The input capacitances of the driven gates sum, and must be
charged through the equivalent resistance of the driver
Effect of Capacitive Loading
 When an input signal of a logicgate is changed, there is a propagation
delay before the output of the logicgatechanges. This is due to
capacitive loading at the output.
12
Propagation Delay in Timing Diagrams
To simplify the drawing of timing diagrams, we can approximate
the signal transitionsto be abrupt (though in realitytheyare
exponential).
To further simplify timing analysis, wecan definethe
propagation delay as
13
Examples of Propagation Delay
14
Reliability―
Noise in Digital Integrated Circuits
15
i(t)
Inductive coupling Capacitive coupling Power and ground
noise
v(t) VDD
DC Operation
Voltage Transfer Characteristic
16
V(x)
V(y)
V
OH
VOL
VM
V
OH
VOL
f
V(y)=V(x)
Switching Threshold
Nominal Voltage Levels
VOH = f(VOL)
VOL = f(VOH)
VM = f(VM)
Mapping between analog and digital signals
17
V
IL
V
IH
V
in
Slope = -1
Slope = -1
VOL
VOH
V
out
“ 0” V
OL
V
IL
V
IH
V
OH
Undefined
Region
“ 1”
Definition of Noise Margins
18
Noise margin high
Noise margin low
V
IH
V
IL
Undefined
Region
"1"
"0"
V
OH
V
OL
NMH
NML
Gate Output Gate Input
Noise Budget
 Allocatesgross noise margin to expected sources of
noise
 Sources: supplynoise, cross talk, interference, offset
 Differentiate between fixed and proportional noise
sources
19
Key Reliability Properties
 Absolute noise margin values are deceptive
 a floating node is more easily disturbed than a node
driven by a low impedance (in terms of voltage)
 Noise immunity is the more important metric –
the capability to suppress noise sources
 Key metrics: Noise transfer functions, Output
impedance of the driver and input impedance of the
receiver;
20
Fan-in and Fan-out
21
N
Fan-out N Fan-in M
M
The Ideal Gate
22
R i = 
R o = 0
Fanout = 
NMH = NML = VDD/2
g = 
V in
V out
Delay Definitions
23
Example
 Need to set bias voltage (Vb) input to
alphanumeric LCD display module.
 From LCD datasheet:
 LCD module supply is 5v
 Vb >0.5v, Vb < 3v
 Circuit must adjust Vb to an unknown correct valuein thisrange
 Thissets LCD contrast
 Ib < 10uA
 ILCD = 2mA (typical)
24
Specify
Bias Adjust Circuit
25
Bias
Adjust
Circuit
LCD
Module
Vb
+5V
GND
Top-down
Design ideas
 Use voltageregulator IC?
 Need to read datasheets to see how to make adjustable over
required range
 Use Zener diode (last year’s circuit)
 Does not help since not variable
 Use potential divider (P.D.) with variableresistor
 Simplest solution if feasible
 Could combine P.D. and Zener for slightly better
stability
 (probably not worth it)
26
Multiple viewpoints
Variable resistors
 Preset resistors have three terminals, with a fixed
resistance between the two ends and a sliderwhich can
move anywhere between the two ends.
27
PR1
Information
Detailed circuit design using variable resistor
 This circuit will allow
Vb to be adjusted
between 0.5v & 2v
 What values R1, R3,
PR2?
28
R1
PR2
R3
2v
0.5v
Vb
+5v
GND
Vx
Vy
Detailed design
Know your resistors
 22k resistor is not 22,000 ohms!
 22k resistor has specified tolerance (1%,2%,5%)
 2% tolerance:0.98*22,000< R < 1.02*22,000
 Variableresistorstypicallyhave tolerance10%
 Resistors have preferred values:
 Fixed resistorsavailable in E24 series and multiples
1,1.1,1.2,1.3,1.5,1.6,1.8,2.0,2.2,2.4,2.7,3.0,3.3,3.6,3.9,4.3,4.7,5.1,5.6,
6.2,6.8,7.5,8.2,9.1
 Variableresistorsonly available: 1, 2, 5 and multiples!
 Check catalogues and datasheets
 Design for available precision & values
29
Information
Analysis (ohms law)
 R3 = 0.5/(2-0.5)PR2
 R1 = (5-2.5)/(2-0.5)PR2
 Choose PR2 first, calculate R3,R1
 How accurate do these ratios need to be?
 If Vx>2V, Vy<0.5V the adjustment range includes the required
range of 0.5-2V
 Precision not required
 R3,R1 can be smaller then calculated
30
Analysis
Assumptions
 PR2 too low => more current used in circuit.
 Assume want current as small as possible
 PR2 too high => Vb will vary too much with LCD bias
current change.
 Datasheet does not say how much bias current
changes so assume 10uA is possible (worst case,
since we know it is < 10uA)
 Datasheet does not say how accurate Vb must be:
assume 10%.
31
Assumptions
Analysis
Approximateanalysis
Assume Thevenin equivalent resistance at Vy =
R3 (actually slightly smaller)
Assume OK at all other voltages if OK at Vy
50mV > R3.Ib = R3.10uA => R3 < 5k
=> total divider current = 1mA
Not too bad, but significant compared with ILCD
R1=50k, PR2=15k, R3=5k
32
More analysis +
approximation
Are values realistic?
Variableresistorsareavailable10k,20k,50k
15k not possible
Couldscale by 2/3
R1=33k, PR2=10k, R3=3k3
Theseresistorvaluesare all available
Thisis notgood idea. Designing preciselyto limitsisdangerous.
Reduce R1, R3 by 20% toensure coverageof entirerangeeven if
resistorvaluesvary
R1=27k, PR2=10k, R3=2k7 (use E24 values)
Notethat precise values don’t matter
R1=22k, PR2=10k,R3=2k2 would also be fine
33
Detailed
design
Optimise circuit
 Why bother with R1, R3?
 Not really needed, but allows better adjustment
 Resolution = minimum change in resistance value that a
variable resistor can be adjusted to.
 Typically 1%. 1.5V across PR2 =>15mV res
 R3 missing => 2V across PR2 => 20mV res
 R1 & R3 missing => 5V across PR2 => 50mV res
 R3 probablynot needed (1.5V -> 2V)
 R1 maybe also not needed (1.5V -> 5V)
34
Optimise
Possible circuits
35
R1
PR2
R3
2v
0.5v
Vb
+5v
GND
R1
PR2
Vb
+5v
GND
PR2
Vb
+5v
GND
10k
30k
3k0
20k
27k
50k
Guess which one is
recommended in the
LCD datasheets?
36

Contenu connexe

Tendances (20)

Statics switches
Statics switchesStatics switches
Statics switches
 
Automatic room temperature control
Automatic room temperature controlAutomatic room temperature control
Automatic room temperature control
 
Power Electronics Basic by Engr.Rajesh Roy
Power Electronics Basic by  Engr.Rajesh RoyPower Electronics Basic by  Engr.Rajesh Roy
Power Electronics Basic by Engr.Rajesh Roy
 
Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]
 
GATE TURN OFF THYRISTOR
GATE TURN OFF THYRISTORGATE TURN OFF THYRISTOR
GATE TURN OFF THYRISTOR
 
JFET
JFETJFET
JFET
 
LOGIC FAMILY.pptx
LOGIC FAMILY.pptxLOGIC FAMILY.pptx
LOGIC FAMILY.pptx
 
Power line communication
Power line communicationPower line communication
Power line communication
 
Industrial instrumentation
Industrial instrumentationIndustrial instrumentation
Industrial instrumentation
 
Analog Electronics HandWritten Notes
Analog Electronics HandWritten NotesAnalog Electronics HandWritten Notes
Analog Electronics HandWritten Notes
 
Voltage regulators
Voltage regulatorsVoltage regulators
Voltage regulators
 
Termistor
TermistorTermistor
Termistor
 
Pulse width modulation (PWM)
Pulse width modulation (PWM)Pulse width modulation (PWM)
Pulse width modulation (PWM)
 
LVDT
LVDTLVDT
LVDT
 
Digital voltmeter (DVM) and its Classification
Digital voltmeter (DVM) and its ClassificationDigital voltmeter (DVM) and its Classification
Digital voltmeter (DVM) and its Classification
 
Time response second order
Time response second orderTime response second order
Time response second order
 
Unit 2
Unit 2Unit 2
Unit 2
 
Matlab for Electrical Engineers
Matlab for Electrical EngineersMatlab for Electrical Engineers
Matlab for Electrical Engineers
 
Introduction to control systems
Introduction to control systemsIntroduction to control systems
Introduction to control systems
 
GSM BASED FIRE ALARM SYSTEM
GSM BASED FIRE ALARM SYSTEMGSM BASED FIRE ALARM SYSTEM
GSM BASED FIRE ALARM SYSTEM
 

Similaire à The iot academy_embeddedsystems_training_circuitdesignpart3

Assignment 1 Description Marks out of Wtg() Due date .docx
Assignment 1  Description Marks out of Wtg() Due date .docxAssignment 1  Description Marks out of Wtg() Due date .docx
Assignment 1 Description Marks out of Wtg() Due date .docxfredharris32
 
Project_Kaveh & Mohammad
Project_Kaveh & MohammadProject_Kaveh & Mohammad
Project_Kaveh & MohammadKaveh Dehno
 
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYAUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYGaurav Singh
 
File 1389427052
File 1389427052File 1389427052
File 1389427052Aman_preet
 
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1Javed G S, PhD
 
Presentation_ON-CHIP CURRENT SENSING TECHNIQUE FOR CMOS MONOLITHIC SWITCH-MOD...
Presentation_ON-CHIP CURRENT SENSING TECHNIQUE FOR CMOS MONOLITHIC SWITCH-MOD...Presentation_ON-CHIP CURRENT SENSING TECHNIQUE FOR CMOS MONOLITHIC SWITCH-MOD...
Presentation_ON-CHIP CURRENT SENSING TECHNIQUE FOR CMOS MONOLITHIC SWITCH-MOD...Manmeet Singh
 
Analog and Digital Electronics Lab Manual
Analog and Digital Electronics Lab ManualAnalog and Digital Electronics Lab Manual
Analog and Digital Electronics Lab ManualChirag Shetty
 
power grid synchronization failure detection
power grid synchronization failure detectionpower grid synchronization failure detection
power grid synchronization failure detectionJay Hind
 
Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)Mohamed Atef
 
Original High Performance Off-Line Controller IC ACT30 CT30 30 New Active-Semi
Original High Performance Off-Line Controller IC ACT30 CT30 30 New Active-SemiOriginal High Performance Off-Line Controller IC ACT30 CT30 30 New Active-Semi
Original High Performance Off-Line Controller IC ACT30 CT30 30 New Active-SemiAUTHELECTRONIC
 
Design Basics on Power Amplifiers
Design Basics on Power Amplifiers Design Basics on Power Amplifiers
Design Basics on Power Amplifiers ls234
 
Nabeelpbm1998@gmail.com
Nabeelpbm1998@gmail.comNabeelpbm1998@gmail.com
Nabeelpbm1998@gmail.comnabeelavulan
 
Rs232 laser transceiver
Rs232 laser transceiverRs232 laser transceiver
Rs232 laser transceiverNoopur Koli
 
High Speed, Low Offset, Low Power, Fully Dynamic Cmos Latched Comparator
High Speed, Low Offset, Low Power, Fully Dynamic Cmos Latched ComparatorHigh Speed, Low Offset, Low Power, Fully Dynamic Cmos Latched Comparator
High Speed, Low Offset, Low Power, Fully Dynamic Cmos Latched Comparatoriosrjce
 
RF Module Design - [Chapter 6] Power Amplifier
RF Module Design - [Chapter 6]  Power AmplifierRF Module Design - [Chapter 6]  Power Amplifier
RF Module Design - [Chapter 6] Power AmplifierSimen Li
 
ETRO_296_Final_Presentation
ETRO_296_Final_PresentationETRO_296_Final_Presentation
ETRO_296_Final_PresentationWagner Nunes
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORAnil Yadav
 

Similaire à The iot academy_embeddedsystems_training_circuitdesignpart3 (20)

Buck converter design
Buck converter designBuck converter design
Buck converter design
 
Assignment 1 Description Marks out of Wtg() Due date .docx
Assignment 1  Description Marks out of Wtg() Due date .docxAssignment 1  Description Marks out of Wtg() Due date .docx
Assignment 1 Description Marks out of Wtg() Due date .docx
 
Project_Kaveh & Mohammad
Project_Kaveh & MohammadProject_Kaveh & Mohammad
Project_Kaveh & Mohammad
 
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYAUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
 
File 1389427052
File 1389427052File 1389427052
File 1389427052
 
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1
 
Presentation_ON-CHIP CURRENT SENSING TECHNIQUE FOR CMOS MONOLITHIC SWITCH-MOD...
Presentation_ON-CHIP CURRENT SENSING TECHNIQUE FOR CMOS MONOLITHIC SWITCH-MOD...Presentation_ON-CHIP CURRENT SENSING TECHNIQUE FOR CMOS MONOLITHIC SWITCH-MOD...
Presentation_ON-CHIP CURRENT SENSING TECHNIQUE FOR CMOS MONOLITHIC SWITCH-MOD...
 
embedded system
embedded system  embedded system
embedded system
 
Analog and Digital Electronics Lab Manual
Analog and Digital Electronics Lab ManualAnalog and Digital Electronics Lab Manual
Analog and Digital Electronics Lab Manual
 
Diodes
DiodesDiodes
Diodes
 
power grid synchronization failure detection
power grid synchronization failure detectionpower grid synchronization failure detection
power grid synchronization failure detection
 
Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)
 
Original High Performance Off-Line Controller IC ACT30 CT30 30 New Active-Semi
Original High Performance Off-Line Controller IC ACT30 CT30 30 New Active-SemiOriginal High Performance Off-Line Controller IC ACT30 CT30 30 New Active-Semi
Original High Performance Off-Line Controller IC ACT30 CT30 30 New Active-Semi
 
Design Basics on Power Amplifiers
Design Basics on Power Amplifiers Design Basics on Power Amplifiers
Design Basics on Power Amplifiers
 
Nabeelpbm1998@gmail.com
Nabeelpbm1998@gmail.comNabeelpbm1998@gmail.com
Nabeelpbm1998@gmail.com
 
Rs232 laser transceiver
Rs232 laser transceiverRs232 laser transceiver
Rs232 laser transceiver
 
High Speed, Low Offset, Low Power, Fully Dynamic Cmos Latched Comparator
High Speed, Low Offset, Low Power, Fully Dynamic Cmos Latched ComparatorHigh Speed, Low Offset, Low Power, Fully Dynamic Cmos Latched Comparator
High Speed, Low Offset, Low Power, Fully Dynamic Cmos Latched Comparator
 
RF Module Design - [Chapter 6] Power Amplifier
RF Module Design - [Chapter 6]  Power AmplifierRF Module Design - [Chapter 6]  Power Amplifier
RF Module Design - [Chapter 6] Power Amplifier
 
ETRO_296_Final_Presentation
ETRO_296_Final_PresentationETRO_296_Final_Presentation
ETRO_296_Final_Presentation
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
 

Plus de The IOT Academy

Embedded Systems Programming
Embedded Systems ProgrammingEmbedded Systems Programming
Embedded Systems ProgrammingThe IOT Academy
 
Introduction to Digital Marketing Certification Course.pdf
Introduction to Digital Marketing Certification Course.pdfIntroduction to Digital Marketing Certification Course.pdf
Introduction to Digital Marketing Certification Course.pdfThe IOT Academy
 
Google SEO 2023: Complete SEO Guide
Google SEO 2023: Complete SEO GuideGoogle SEO 2023: Complete SEO Guide
Google SEO 2023: Complete SEO GuideThe IOT Academy
 
Embedded C The IoT Academy
Embedded C The IoT AcademyEmbedded C The IoT Academy
Embedded C The IoT AcademyThe IOT Academy
 
Basics of c++ Programming Language
Basics of c++ Programming LanguageBasics of c++ Programming Language
Basics of c++ Programming LanguageThe IOT Academy
 
MachineLlearning introduction
MachineLlearning introductionMachineLlearning introduction
MachineLlearning introductionThe IOT Academy
 
IoT Node-Red Presentation
IoT  Node-Red PresentationIoT  Node-Red Presentation
IoT Node-Red PresentationThe IOT Academy
 
IoT Introduction Architecture and Applications
IoT Introduction Architecture and ApplicationsIoT Introduction Architecture and Applications
IoT Introduction Architecture and ApplicationsThe IOT Academy
 
UCT IoT Deployment and Challenges
UCT IoT Deployment and ChallengesUCT IoT Deployment and Challenges
UCT IoT Deployment and ChallengesThe IOT Academy
 
UCT Electrical Vehicle Infrastructure
UCT Electrical Vehicle InfrastructureUCT Electrical Vehicle Infrastructure
UCT Electrical Vehicle InfrastructureThe IOT Academy
 
Fdp uct industry4.0_talk
Fdp uct industry4.0_talkFdp uct industry4.0_talk
Fdp uct industry4.0_talkThe IOT Academy
 
Success ladder to the Corporate world
Success ladder to the Corporate worldSuccess ladder to the Corporate world
Success ladder to the Corporate worldThe IOT Academy
 
The iot academy_lpwan_lora
The iot academy_lpwan_loraThe iot academy_lpwan_lora
The iot academy_lpwan_loraThe IOT Academy
 
The iotacademy industry4.0_talk_slideshare
The iotacademy industry4.0_talk_slideshareThe iotacademy industry4.0_talk_slideshare
The iotacademy industry4.0_talk_slideshareThe IOT Academy
 
The iot acdemy_awstraining_part4_aws_lab
The iot acdemy_awstraining_part4_aws_labThe iot acdemy_awstraining_part4_aws_lab
The iot acdemy_awstraining_part4_aws_labThe IOT Academy
 
The IoT Academy_awstraining_part2_aws_ec2_iaas
The IoT Academy_awstraining_part2_aws_ec2_iaasThe IoT Academy_awstraining_part2_aws_ec2_iaas
The IoT Academy_awstraining_part2_aws_ec2_iaasThe IOT Academy
 
The iot academy_awstraining_part1_aws_introduction
The iot academy_awstraining_part1_aws_introductionThe iot academy_awstraining_part1_aws_introduction
The iot academy_awstraining_part1_aws_introductionThe IOT Academy
 
The IoT Academy IoT training Arduino Part 5 Arduino peripherals
The IoT Academy IoT training Arduino Part 5 Arduino peripheralsThe IoT Academy IoT training Arduino Part 5 Arduino peripherals
The IoT Academy IoT training Arduino Part 5 Arduino peripheralsThe IOT Academy
 

Plus de The IOT Academy (20)

Embedded Systems Programming
Embedded Systems ProgrammingEmbedded Systems Programming
Embedded Systems Programming
 
Introduction to Digital Marketing Certification Course.pdf
Introduction to Digital Marketing Certification Course.pdfIntroduction to Digital Marketing Certification Course.pdf
Introduction to Digital Marketing Certification Course.pdf
 
Google SEO 2023: Complete SEO Guide
Google SEO 2023: Complete SEO GuideGoogle SEO 2023: Complete SEO Guide
Google SEO 2023: Complete SEO Guide
 
Embedded C The IoT Academy
Embedded C The IoT AcademyEmbedded C The IoT Academy
Embedded C The IoT Academy
 
Basics of c++ Programming Language
Basics of c++ Programming LanguageBasics of c++ Programming Language
Basics of c++ Programming Language
 
MachineLlearning introduction
MachineLlearning introductionMachineLlearning introduction
MachineLlearning introduction
 
IoT Node-Red Presentation
IoT  Node-Red PresentationIoT  Node-Red Presentation
IoT Node-Red Presentation
 
IoT Introduction Architecture and Applications
IoT Introduction Architecture and ApplicationsIoT Introduction Architecture and Applications
IoT Introduction Architecture and Applications
 
UCT IoT Deployment and Challenges
UCT IoT Deployment and ChallengesUCT IoT Deployment and Challenges
UCT IoT Deployment and Challenges
 
UCT Electrical Vehicle Infrastructure
UCT Electrical Vehicle InfrastructureUCT Electrical Vehicle Infrastructure
UCT Electrical Vehicle Infrastructure
 
Uct 5G Autonomous Cars
Uct 5G Autonomous CarsUct 5G Autonomous Cars
Uct 5G Autonomous Cars
 
Fdp uct industry4.0_talk
Fdp uct industry4.0_talkFdp uct industry4.0_talk
Fdp uct industry4.0_talk
 
Success ladder to the Corporate world
Success ladder to the Corporate worldSuccess ladder to the Corporate world
Success ladder to the Corporate world
 
The iot academy_lpwan_lora
The iot academy_lpwan_loraThe iot academy_lpwan_lora
The iot academy_lpwan_lora
 
The iot academy_lpwan
The iot academy_lpwanThe iot academy_lpwan
The iot academy_lpwan
 
The iotacademy industry4.0_talk_slideshare
The iotacademy industry4.0_talk_slideshareThe iotacademy industry4.0_talk_slideshare
The iotacademy industry4.0_talk_slideshare
 
The iot acdemy_awstraining_part4_aws_lab
The iot acdemy_awstraining_part4_aws_labThe iot acdemy_awstraining_part4_aws_lab
The iot acdemy_awstraining_part4_aws_lab
 
The IoT Academy_awstraining_part2_aws_ec2_iaas
The IoT Academy_awstraining_part2_aws_ec2_iaasThe IoT Academy_awstraining_part2_aws_ec2_iaas
The IoT Academy_awstraining_part2_aws_ec2_iaas
 
The iot academy_awstraining_part1_aws_introduction
The iot academy_awstraining_part1_aws_introductionThe iot academy_awstraining_part1_aws_introduction
The iot academy_awstraining_part1_aws_introduction
 
The IoT Academy IoT training Arduino Part 5 Arduino peripherals
The IoT Academy IoT training Arduino Part 5 Arduino peripheralsThe IoT Academy IoT training Arduino Part 5 Arduino peripherals
The IoT Academy IoT training Arduino Part 5 Arduino peripherals
 

Dernier

Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 

Dernier (20)

Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

The iot academy_embeddedsystems_training_circuitdesignpart3

  • 1. THE IOT ACADEMY EMBEDDED SYSTEMS Circuit Design
  • 3. What is design?  1. Specify the problem  2. Explore top-level decomposition  3. Discover relevant information from diverse sources  4. Perform system analysis (where possible)  5. Make assumptions, prioritise problems  6. Perform detailed prototype design  7. Evaluate prototype  test assumptions  identify problems & areas for further work  8. Improve design 3
  • 4. Design is not linear 4 Specify Top-level InformationAnalysisAssumptions Prototype Evaluate Improve Top-down Bottom-up These activities are inter-dependent and concurrent
  • 5. Putting it all together  Not all elements of design are “open”.  Some problems are closed, with specific constraints that allow only one solution  Use analysisto solveclosed problems, to simplify the design space  No-one tells you which bits of analysis to do!  Design requires both analysisand creative exploration 5
  • 6. Design Concept Todesignany electricalcircuit, eitheranalog or digital, engineersneed to be able to predictthevoltagesand currents at all placeswithinthe circuit. Linearcircuits, that is, circuits wherein theoutputsare linearly dependent on the inputs, can be analyzedby hand using complex analysis. Simple nonlinearcircuitscan also be analyzedin thisway. Specializedsoftwarehas been created toanalyzecircuits thatare eithertoocomplicatedor too nonlineartoanalyzeby hand. First try to find a steadystatesolutionwhereinall the nodes conform to Kirchhoff'sCurrent Law and thevoltagesacross and througheach elementof thecircuit conform to thevoltage/current equationsgoverning thatelement. 6
  • 7. Design Metrics  How to evaluate performance of a digital circuit (gate, block, …)?  Cost  Reliability  Scalability  Speed (delay, operating frequency)  Power dissipation  Energy to perform a function 7
  • 8. Terminology in Circuit Design  Impedance Matching  DC Bias  Noise Margin  Pull up Resister  Pull Down Resistor  Filters  Loading effect  Fan in  Fan out 8
  • 9. Impedance Matching  It’s simplydefined as theprocess of making one impedance look like another.  Frequently, it becomes necessary to match a load impedance to thesource or internalimpedance of a driving source.  The maximum power transfertheoremsays that to transferthe maximum amount of power from a source to a load, theload impedance should match thesource impedance. In thebasic circuit, a source may be dc or ac, and its internalresistance(Ri) or generatoroutput impedance (Zg) drives a load resistance (RL) or impedance (ZL):: RL = Ri or ZL = Zg 9
  • 10. Impedance Matching (Applications) Antenna impedance must equal the transmitter output impedance to receive maximum power. Transmission lines have a characteristic impedance (ZO) that must match the load to ensure maximum power transfer and withstand loss to standing waves. 10
  • 11. Fan-Out  Typically, theoutput of a logicgate is connectedto the input(s) of one or more logicgates  The fan-out is the number of gates thatare connected to theoutput of the driving gate: 11 Fan-out leads to increased capacitive load on the driving gate, and therefore longer propagation delay •The input capacitances of the driven gates sum, and must be charged through the equivalent resistance of the driver
  • 12. Effect of Capacitive Loading  When an input signal of a logicgate is changed, there is a propagation delay before the output of the logicgatechanges. This is due to capacitive loading at the output. 12
  • 13. Propagation Delay in Timing Diagrams To simplify the drawing of timing diagrams, we can approximate the signal transitionsto be abrupt (though in realitytheyare exponential). To further simplify timing analysis, wecan definethe propagation delay as 13
  • 15. Reliability― Noise in Digital Integrated Circuits 15 i(t) Inductive coupling Capacitive coupling Power and ground noise v(t) VDD
  • 16. DC Operation Voltage Transfer Characteristic 16 V(x) V(y) V OH VOL VM V OH VOL f V(y)=V(x) Switching Threshold Nominal Voltage Levels VOH = f(VOL) VOL = f(VOH) VM = f(VM)
  • 17. Mapping between analog and digital signals 17 V IL V IH V in Slope = -1 Slope = -1 VOL VOH V out “ 0” V OL V IL V IH V OH Undefined Region “ 1”
  • 18. Definition of Noise Margins 18 Noise margin high Noise margin low V IH V IL Undefined Region "1" "0" V OH V OL NMH NML Gate Output Gate Input
  • 19. Noise Budget  Allocatesgross noise margin to expected sources of noise  Sources: supplynoise, cross talk, interference, offset  Differentiate between fixed and proportional noise sources 19
  • 20. Key Reliability Properties  Absolute noise margin values are deceptive  a floating node is more easily disturbed than a node driven by a low impedance (in terms of voltage)  Noise immunity is the more important metric – the capability to suppress noise sources  Key metrics: Noise transfer functions, Output impedance of the driver and input impedance of the receiver; 20
  • 22. The Ideal Gate 22 R i =  R o = 0 Fanout =  NMH = NML = VDD/2 g =  V in V out
  • 24. Example  Need to set bias voltage (Vb) input to alphanumeric LCD display module.  From LCD datasheet:  LCD module supply is 5v  Vb >0.5v, Vb < 3v  Circuit must adjust Vb to an unknown correct valuein thisrange  Thissets LCD contrast  Ib < 10uA  ILCD = 2mA (typical) 24 Specify
  • 26. Design ideas  Use voltageregulator IC?  Need to read datasheets to see how to make adjustable over required range  Use Zener diode (last year’s circuit)  Does not help since not variable  Use potential divider (P.D.) with variableresistor  Simplest solution if feasible  Could combine P.D. and Zener for slightly better stability  (probably not worth it) 26 Multiple viewpoints
  • 27. Variable resistors  Preset resistors have three terminals, with a fixed resistance between the two ends and a sliderwhich can move anywhere between the two ends. 27 PR1 Information
  • 28. Detailed circuit design using variable resistor  This circuit will allow Vb to be adjusted between 0.5v & 2v  What values R1, R3, PR2? 28 R1 PR2 R3 2v 0.5v Vb +5v GND Vx Vy Detailed design
  • 29. Know your resistors  22k resistor is not 22,000 ohms!  22k resistor has specified tolerance (1%,2%,5%)  2% tolerance:0.98*22,000< R < 1.02*22,000  Variableresistorstypicallyhave tolerance10%  Resistors have preferred values:  Fixed resistorsavailable in E24 series and multiples 1,1.1,1.2,1.3,1.5,1.6,1.8,2.0,2.2,2.4,2.7,3.0,3.3,3.6,3.9,4.3,4.7,5.1,5.6, 6.2,6.8,7.5,8.2,9.1  Variableresistorsonly available: 1, 2, 5 and multiples!  Check catalogues and datasheets  Design for available precision & values 29 Information
  • 30. Analysis (ohms law)  R3 = 0.5/(2-0.5)PR2  R1 = (5-2.5)/(2-0.5)PR2  Choose PR2 first, calculate R3,R1  How accurate do these ratios need to be?  If Vx>2V, Vy<0.5V the adjustment range includes the required range of 0.5-2V  Precision not required  R3,R1 can be smaller then calculated 30 Analysis
  • 31. Assumptions  PR2 too low => more current used in circuit.  Assume want current as small as possible  PR2 too high => Vb will vary too much with LCD bias current change.  Datasheet does not say how much bias current changes so assume 10uA is possible (worst case, since we know it is < 10uA)  Datasheet does not say how accurate Vb must be: assume 10%. 31 Assumptions
  • 32. Analysis Approximateanalysis Assume Thevenin equivalent resistance at Vy = R3 (actually slightly smaller) Assume OK at all other voltages if OK at Vy 50mV > R3.Ib = R3.10uA => R3 < 5k => total divider current = 1mA Not too bad, but significant compared with ILCD R1=50k, PR2=15k, R3=5k 32 More analysis + approximation
  • 33. Are values realistic? Variableresistorsareavailable10k,20k,50k 15k not possible Couldscale by 2/3 R1=33k, PR2=10k, R3=3k3 Theseresistorvaluesare all available Thisis notgood idea. Designing preciselyto limitsisdangerous. Reduce R1, R3 by 20% toensure coverageof entirerangeeven if resistorvaluesvary R1=27k, PR2=10k, R3=2k7 (use E24 values) Notethat precise values don’t matter R1=22k, PR2=10k,R3=2k2 would also be fine 33 Detailed design
  • 34. Optimise circuit  Why bother with R1, R3?  Not really needed, but allows better adjustment  Resolution = minimum change in resistance value that a variable resistor can be adjusted to.  Typically 1%. 1.5V across PR2 =>15mV res  R3 missing => 2V across PR2 => 20mV res  R1 & R3 missing => 5V across PR2 => 50mV res  R3 probablynot needed (1.5V -> 2V)  R1 maybe also not needed (1.5V -> 5V) 34 Optimise
  • 36. 36