SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
CMOS Voltage ComparatorCMOS Voltage ComparatorCMOS Voltage Comparator
Ramen DuttaRamen Dutta
Electronics & Electronic CommunicationElectronics & Electronic Communication EnggEngg.,.,
Indian Institute of Technology KharagpurIndian Institute of Technology Kharagpur
Advanced VLSI Design Lab, IIT KharagpurAdvanced VLSI Design Lab, IIT Kharagpur
2Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Voltage Comparator RequirementVoltage Comparator Requirement
Compares one analog signal (voltage) to another analog voltageCompares one analog signal (voltage) to another analog voltage
or a reference voltage and gives a binary output depending onor a reference voltage and gives a binary output depending on
the comparison.the comparison.
Widely used in Analog to Digital Converter (ADC). Comparator isWidely used in Analog to Digital Converter (ADC). Comparator is
considered as 1considered as 1--bit ADC.bit ADC.
Also used in detection purpose of low swing and high speedAlso used in detection purpose of low swing and high speed
digital bus.digital bus.
-
+Vp
Vn
Vo
Symbol of a comparator
3Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Vp – Vn
Vo
VOH
VOL
Ideal Voltage Transfer (Gain ~ infinity)
AV = Lim(ΔV 0) {( VOH – VOL )/ ΔV }
Where ΔV is the input voltage change
Comparator Static CharacteristicsComparator Static Characteristics
Static Characteristics :
• Gain
• Output High and Low states
(VOH and VOL)
• Input Resolution
• Offset
• Noise
4Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Comparator Static CharacteristicsComparator Static Characteristics
Vp – Vn
Vo
VIHVIL
VOS
VOH
VOL
Voltage transfer curve with input-
offset voltage.
VOL
VOH
Vp – Vn
Vo
VIHVIL
Voltage transfer curve with finite
gain.
AV = {( VOH – VOL )/ ( VIH – VIL )}
5Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Static CharacteristicsStatic Characteristics
• Offset: There are two types of offset, 1. Systematic offset. 2. Random offset.
Effect of offset can be reduced but can not be totally avoided
• Resolution : It is the input voltage change necessary to make the output swing
to valid binary states.
• Noise: Noise leads to an uncertainty in the transition in the voltage transfer
curve. This uncertainty in the transition region can lead to jitter or phase noise.
• Input Common Mode Range (ICMR): This is the input voltage range where the
comparator function normally (i.e. meets all other required specification).
6Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
t
Vo
VOH
VOL
t
Vi = Vp - Vn
VIH
VIL
tp
mid-point Total Propagation delay time =
( Rising propagation delay time +
Falling propagation delay time) / 2
Dynamic CharacteristicsDynamic Characteristics –– Propagation DelayPropagation Delay
Dynamic Characteristics :
• Propagation Delay
• Slew Rate
7Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
• For a Single Pole System:
Av (s) = Av (0) / ( sτ + 1) Vout (t) = Av (0) [ 1 – exp(-t/τ)] Vin(min)
Vout = ( VOH – VOL ) / 2 at t = tp
Overdrive applied to the input Propagation Delay Time
• For very high input voltage the comparator enters into the large-signal mode
of operation. For this case slew-rate defined by the maximum current available
will define the propagation delay.
i = C (dv/dt) tp = ( VOH – VOL) / 2 * SR
Propagation Delay and Slew RatePropagation Delay and Slew Rate
Therefore if Vin(min) is applied, tp= τ ln(2)=0.693τ
8Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Different Comparator TypesDifferent Comparator Types
Open loop comparator.Open loop comparator.
■■ These comparator basically are operational amplifier withoutThese comparator basically are operational amplifier without
compensation. Comparators are required to have lesser gaincompensation. Comparators are required to have lesser gain
and higher bandwidth thanand higher bandwidth than opampsopamps..
Regenerative Comparator.Regenerative Comparator.
■■ These comparator uses positive feedback like a latch toThese comparator uses positive feedback like a latch to
compare to signals.compare to signals.
High Speed Comparator.High Speed Comparator.
■■ These comparators are a combination of above two whichThese comparators are a combination of above two which
leads to a faster response.leads to a faster response.
9Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
M1 M2Vin+ Vin-
M3 M4
M5
VDD
VSS
Vbias
Vout
Differential Amplifier
Ibias
ac ground
Open Loop Comparator;Open Loop Comparator;
Differential AmplifierDifferential Amplifier
10Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
gm1 * Vin- rds1 1/gm3 gm2 * vin+ rds2 rds4 gm4 * v1
1 2
Note: gm1 = gm2 ; gm3 = gm4
Gain : Av = gm1 ( rds2 || rds4 )
Small Signal Model of Diff. Amp.Small Signal Model of Diff. Amp.
11Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
M1 M2 Vin+
M3 M4
M5
VDD
VSS
Vbias
Vin-
VDD
M6
M7
Vout
VSS
VSS
Cload
Gain, Av = gm1 ( rds2 || rds4 ) * gm7 ( rds6 || rds7 )
Two Stage ComparatorTwo Stage Comparator
12Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
M1
M2
Vin+
M3
M4
M5
VDD
VSS
Vbias
Vin-
VDD
M6
M7
Vout
VSS
VSS
Cload
C1
C2
p1 = -1 / {C1 * (gds2 + gds4)}
p2 = -1 / {C2 * (gds6 + gds7)}
Vout = Av (0) * Vin [ 1 + {p2 * exp(-t*p1)} / (p1 – p2) – {p1 * exp(-t*p2)} / (p1 – p2) ]
Frequency Response of The ComparatorFrequency Response of The Comparator
13Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
t
t
vin
vout
VOH
VOL
Comparator
threshold
Single value of threshold
Response of a Comparator in a NoisyResponse of a Comparator in a Noisy
EnvironmentEnvironment
14Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Upper
threshold
Lower
threshold
Different trip points for rising and falling Vin
t
t
vin
vout
VOH
VOL
Comparator with Hysteresis in a NoisyComparator with Hysteresis in a Noisy
EnvironmentEnvironment
15Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Existence of a hysteresis band
* output voltage doesn’t change as long as input is within this band.
* output changes only when the input comes out of the band.
Comparator threshold changes with the state of the output
* One trip point (VTRP+) for VOL
* Another trip point (VTRP -) for VOH
In a hysteresis comparator the output depends both on the present and
the past values of Vin ---------------- dependency on history.
Characteristics of a Comparator withCharacteristics of a Comparator with
HysteresisHysteresis
How to get the hysteresis:
1. External feedback.
2. Internal feedback.
16Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
vIN
vout
VTRP+
VTRP -
VOL
VOH
Counterclockwise Bistable
vIN
vout
VTRP+VTRP -
VOL
VOH
Clockwise Bistable
Transfer curve of a Comparator withTransfer curve of a Comparator with
HysteresisHysteresis
17Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
vIN
vout
R1
R2
vIN
vout
R1VOL/R2
VOL
VOH
R1VOH/R2
0
Upper Trip Point:
We have vOUT = VOL, the upper trip point occurs -
R1
R1 + R2
VOL +
R2
R1 + R2
VTRP+0 = VTRP+ = -R1VOL/R2
Lower Trip Point:
Here we have vOUT = VOH, the lower trip point occurs when,
R1
R1 + R2
VOH +
R2
R1 + R2
VTRP-0 = VTRP- = -R1VOH/R2
Width of the band: Δvin = VTRP+ - VTRP- = (R1/R2)(VOH – VOL)
Noninverting Comparator using ExternalNoninverting Comparator using External
Positive FeedbackPositive Feedback
18Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Width of the band: Δvin = VTRP+ - VTRP- = [R1/(R+R2)](VOH – VOL)
Lower Trip Point:
R1
R1 + R2
VTRP- = VOL
Upper Trip Point:
R1
R1 + R2
VTRP+ = VOH
vIN
vout
VOL
VOH
R1VOL/(R1+R2)
R1VOH/(R1+R2)
vIN vout
R1
R2
Inverting Comparator using ExternalInverting Comparator using External
Positive FeedbackPositive Feedback
19Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
M2
M1
M5
VDD
vi2
vi1
M4M3
Vbias
vo2
M6 M7
A Simple Comparator with an internal positive feedback
Hysteresis using Internal PositiveHysteresis using Internal Positive
FeedbackFeedback
20Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
PushPush--Pull Output ComparatorsPull Output Comparators
■■ Low gainLow gain
■■ Able to sink/source large amount of current in the output capaciAble to sink/source large amount of current in the output capacitance.tance.
M1 M2
M3
M4
M5
M6
M7M9
M8
VDD
VDD
Vin+ Vin-
Vout
Cload
Vbias
Vin+Vin-
21Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Latched ComparatorLatched Comparator
VDD
Vin+ Vin-
Vout+ Vout-
clk clk
M1 M2
M3 M4
M5 M6
M7 M8M9 M10
22Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Latched ComparatorLatched Comparator -- OperationOperation
VDD
Vin+ Vin-
Vout+ Vout-
M1 M2
M3 M4
M7 M8
Triode Region operation
• When CLK=0
Vout+=Vout-=VDD
• When CLK=1
Vout+ and Vout- gives
valid output
23Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Latch
Comparator
Buffer
Stage
Preamp
stages
Clock
Generation
Circuit
Input
signals
Reference
Voltages
Output
ARCHITECTUREARCHITECTURE
24Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
t
vout
VOL
VOH
VX
Latch
Preamplifier
Use a cascade of linear amplifiers to quickly build up the signal level and
apply this amplified signal level to a latch for quick transition to the full
binary output swing.
Minimization of Propagation DelayMinimization of Propagation Delay
25Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
High Speed Comparator StagesHigh Speed Comparator Stages
The preamplifier advantages:The preamplifier advantages:
■■ reduces the comparator inputreduces the comparator input--offset voltage.offset voltage.
■■ Reduces kickReduces kick--back noise.back noise.
The latch comparator:The latch comparator:
■■ Gives high gain.Gives high gain.
■■ Positive feedback always saturates the output.Positive feedback always saturates the output.
The latch comparator:The latch comparator:
■■ Drives high load capacitance.Drives high load capacitance.
■■ Gives output in proper shape.Gives output in proper shape.
26Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
M1 M2 Vin-
M3 M4
M5
VDD
VSS
Vbias
Vin+
VDD
M6
M7
Vout
VSS
VSS
Cload
1
2
I7
I5
Design of a twoDesign of a two--stage Comparator forstage Comparator for
slewing responseslewing response
27Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Two Stage Comparator SpecificationsTwo Stage Comparator Specifications
Design a two stage comparator which meets theDesign a two stage comparator which meets the
following specification.(180nm CMOS9, VDD=1.8V)following specification.(180nm CMOS9, VDD=1.8V)
■■ DC gain>100DC gain>100
■■ ICMR =0.6V to 1.2VICMR =0.6V to 1.2V
■■ Propagation delay<500psPropagation delay<500ps
■■ Min input voltage<20mV.Min input voltage<20mV.
■■ Output capacitance=100fF.Output capacitance=100fF.
■■ Maximum power consumption=1mW.Maximum power consumption=1mW.
28Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP
Have a Nice Day
Thank You
See you in the lab

Mais conteúdo relacionado

Mais procurados

SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGNSHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGNNITHIN KALLE PALLY
 
Verilog coding of demux 8 x1
Verilog coding of demux  8 x1Verilog coding of demux  8 x1
Verilog coding of demux 8 x1Rakesh kumar jha
 
Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifiersarunkutti
 
Divide by N clock
Divide by N clockDivide by N clock
Divide by N clockMantra VLSI
 
VHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptVHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptDr.YNM
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingNaveen Jakhar, I.T.S
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingAnkur Mahajan
 
Differentiator OP Amp
Differentiator OP AmpDifferentiator OP Amp
Differentiator OP AmpDr.Raja R
 
Ece 523 project – fully differential two stage telescopic op amp
Ece 523 project – fully differential two stage telescopic op ampEce 523 project – fully differential two stage telescopic op amp
Ece 523 project – fully differential two stage telescopic op ampKarthik Rathinavel
 
Cmos design
Cmos designCmos design
Cmos designMahi
 
MOS-Nonideal charecteristics
MOS-Nonideal charecteristicsMOS-Nonideal charecteristics
MOS-Nonideal charecteristicsShanmuga Raju
 
Pipelining approach
Pipelining approachPipelining approach
Pipelining approachGopinathD17
 
Low power vlsi design ppt
Low power vlsi design pptLow power vlsi design ppt
Low power vlsi design pptAnil Yadav
 

Mais procurados (20)

SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGNSHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
SHORT CHANNEL EFFECTS IN MOSFETS- VLSI DESIGN
 
Verilog coding of demux 8 x1
Verilog coding of demux  8 x1Verilog coding of demux  8 x1
Verilog coding of demux 8 x1
 
Ditial to Analog Converter
Ditial to Analog ConverterDitial to Analog Converter
Ditial to Analog Converter
 
Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifier
 
Mosfet
MosfetMosfet
Mosfet
 
Low noise amplifier
Low noise amplifierLow noise amplifier
Low noise amplifier
 
current mirrors
current mirrorscurrent mirrors
current mirrors
 
Divide by N clock
Divide by N clockDivide by N clock
Divide by N clock
 
VHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptVHDL-PRESENTATION.ppt
VHDL-PRESENTATION.ppt
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacing
 
Differentiator OP Amp
Differentiator OP AmpDifferentiator OP Amp
Differentiator OP Amp
 
Field Effect Transistor
Field Effect TransistorField Effect Transistor
Field Effect Transistor
 
Ece 523 project – fully differential two stage telescopic op amp
Ece 523 project – fully differential two stage telescopic op ampEce 523 project – fully differential two stage telescopic op amp
Ece 523 project – fully differential two stage telescopic op amp
 
Multipliers in VLSI
Multipliers in VLSIMultipliers in VLSI
Multipliers in VLSI
 
Cmos design
Cmos designCmos design
Cmos design
 
MOS-Nonideal charecteristics
MOS-Nonideal charecteristicsMOS-Nonideal charecteristics
MOS-Nonideal charecteristics
 
Power MOSFET
Power MOSFETPower MOSFET
Power MOSFET
 
Pipelining approach
Pipelining approachPipelining approach
Pipelining approach
 
Low power vlsi design ppt
Low power vlsi design pptLow power vlsi design ppt
Low power vlsi design ppt
 

Destaque

Destaque (8)

Chapter 4 comparators
Chapter 4 comparatorsChapter 4 comparators
Chapter 4 comparators
 
Comparators ppt
Comparators pptComparators ppt
Comparators ppt
 
Comparators
Comparators Comparators
Comparators
 
Reed and sigma type comparators
Reed and sigma type comparatorsReed and sigma type comparators
Reed and sigma type comparators
 
Comparators: mechanical
Comparators: mechanicalComparators: mechanical
Comparators: mechanical
 
Mechanical Comparators
Mechanical ComparatorsMechanical Comparators
Mechanical Comparators
 
comparators
comparatorscomparators
comparators
 
Comparators
ComparatorsComparators
Comparators
 

Semelhante a Comparator

Rec101 unit iii operational amplifier
Rec101 unit iii operational amplifierRec101 unit iii operational amplifier
Rec101 unit iii operational amplifierDr Naim R Kidwai
 
Use pspice for behavioral modeling of VCOs, EDN 2002
Use pspice for behavioral modeling of VCOs, EDN 2002Use pspice for behavioral modeling of VCOs, EDN 2002
Use pspice for behavioral modeling of VCOs, EDN 2002dpdobrev
 
Schmitt trigger basics
Schmitt trigger  basicsSchmitt trigger  basics
Schmitt trigger basicsSAQUIB AHMAD
 
Analog Electronics interview and viva questions.pdf
Analog Electronics interview and viva questions.pdfAnalog Electronics interview and viva questions.pdf
Analog Electronics interview and viva questions.pdfEngineering Funda
 
A Study on High Precision Op-Amps
A Study on High Precision Op-AmpsA Study on High Precision Op-Amps
A Study on High Precision Op-AmpsPremier Farnell
 
LIC UNIT II.pptx
LIC UNIT II.pptxLIC UNIT II.pptx
LIC UNIT II.pptxArunS118525
 
Comparator, Zero Crossing Detector and schmitt trigger using opamp
Comparator, Zero Crossing Detector and schmitt trigger using opampComparator, Zero Crossing Detector and schmitt trigger using opamp
Comparator, Zero Crossing Detector and schmitt trigger using opampDivyanshu Rai
 
13 linear digital i cs
13 linear digital i cs13 linear digital i cs
13 linear digital i csTony Mac Apple
 
5942709.ppt
5942709.ppt5942709.ppt
5942709.pptmoh2020
 
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
 
Reflectometer Product Cal/Test Signal Simulation
Reflectometer Product Cal/Test Signal  SimulationReflectometer Product Cal/Test Signal  Simulation
Reflectometer Product Cal/Test Signal SimulationStephen Nibblett
 
High Speed Amplifiers Part 1
High Speed Amplifiers Part 1High Speed Amplifiers Part 1
High Speed Amplifiers Part 1Premier Farnell
 
analog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptanalog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptdaredevil15082004
 

Semelhante a Comparator (20)

Rec101 unit iii operational amplifier
Rec101 unit iii operational amplifierRec101 unit iii operational amplifier
Rec101 unit iii operational amplifier
 
Use pspice for behavioral modeling of VCOs, EDN 2002
Use pspice for behavioral modeling of VCOs, EDN 2002Use pspice for behavioral modeling of VCOs, EDN 2002
Use pspice for behavioral modeling of VCOs, EDN 2002
 
Schmitt trigger basics
Schmitt trigger  basicsSchmitt trigger  basics
Schmitt trigger basics
 
Analog Electronics interview and viva questions.pdf
Analog Electronics interview and viva questions.pdfAnalog Electronics interview and viva questions.pdf
Analog Electronics interview and viva questions.pdf
 
A Study on High Precision Op-Amps
A Study on High Precision Op-AmpsA Study on High Precision Op-Amps
A Study on High Precision Op-Amps
 
Ab45
Ab45Ab45
Ab45
 
LIC UNIT II.pptx
LIC UNIT II.pptxLIC UNIT II.pptx
LIC UNIT II.pptx
 
Comparator, Zero Crossing Detector and schmitt trigger using opamp
Comparator, Zero Crossing Detector and schmitt trigger using opampComparator, Zero Crossing Detector and schmitt trigger using opamp
Comparator, Zero Crossing Detector and schmitt trigger using opamp
 
Aec manual2017 imp
Aec manual2017 impAec manual2017 imp
Aec manual2017 imp
 
13 linear digital i cs
13 linear digital i cs13 linear digital i cs
13 linear digital i cs
 
5942709.ppt
5942709.ppt5942709.ppt
5942709.ppt
 
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
 
Buffer op amplifier
Buffer op amplifierBuffer op amplifier
Buffer op amplifier
 
Analog CMOS design
Analog CMOS designAnalog CMOS design
Analog CMOS design
 
Unit 6.pptx
Unit 6.pptxUnit 6.pptx
Unit 6.pptx
 
Digital design chap 6
Digital design  chap 6Digital design  chap 6
Digital design chap 6
 
An 849
An 849An 849
An 849
 
Reflectometer Product Cal/Test Signal Simulation
Reflectometer Product Cal/Test Signal  SimulationReflectometer Product Cal/Test Signal  Simulation
Reflectometer Product Cal/Test Signal Simulation
 
High Speed Amplifiers Part 1
High Speed Amplifiers Part 1High Speed Amplifiers Part 1
High Speed Amplifiers Part 1
 
analog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptanalog to digital adn digital to analog .ppt
analog to digital adn digital to analog .ppt
 

Último

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
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
 

Último (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 

Comparator

  • 1. CMOS Voltage ComparatorCMOS Voltage ComparatorCMOS Voltage Comparator Ramen DuttaRamen Dutta Electronics & Electronic CommunicationElectronics & Electronic Communication EnggEngg.,., Indian Institute of Technology KharagpurIndian Institute of Technology Kharagpur Advanced VLSI Design Lab, IIT KharagpurAdvanced VLSI Design Lab, IIT Kharagpur
  • 2. 2Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Voltage Comparator RequirementVoltage Comparator Requirement Compares one analog signal (voltage) to another analog voltageCompares one analog signal (voltage) to another analog voltage or a reference voltage and gives a binary output depending onor a reference voltage and gives a binary output depending on the comparison.the comparison. Widely used in Analog to Digital Converter (ADC). Comparator isWidely used in Analog to Digital Converter (ADC). Comparator is considered as 1considered as 1--bit ADC.bit ADC. Also used in detection purpose of low swing and high speedAlso used in detection purpose of low swing and high speed digital bus.digital bus. - +Vp Vn Vo Symbol of a comparator
  • 3. 3Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Vp – Vn Vo VOH VOL Ideal Voltage Transfer (Gain ~ infinity) AV = Lim(ΔV 0) {( VOH – VOL )/ ΔV } Where ΔV is the input voltage change Comparator Static CharacteristicsComparator Static Characteristics Static Characteristics : • Gain • Output High and Low states (VOH and VOL) • Input Resolution • Offset • Noise
  • 4. 4Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Comparator Static CharacteristicsComparator Static Characteristics Vp – Vn Vo VIHVIL VOS VOH VOL Voltage transfer curve with input- offset voltage. VOL VOH Vp – Vn Vo VIHVIL Voltage transfer curve with finite gain. AV = {( VOH – VOL )/ ( VIH – VIL )}
  • 5. 5Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Static CharacteristicsStatic Characteristics • Offset: There are two types of offset, 1. Systematic offset. 2. Random offset. Effect of offset can be reduced but can not be totally avoided • Resolution : It is the input voltage change necessary to make the output swing to valid binary states. • Noise: Noise leads to an uncertainty in the transition in the voltage transfer curve. This uncertainty in the transition region can lead to jitter or phase noise. • Input Common Mode Range (ICMR): This is the input voltage range where the comparator function normally (i.e. meets all other required specification).
  • 6. 6Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP t Vo VOH VOL t Vi = Vp - Vn VIH VIL tp mid-point Total Propagation delay time = ( Rising propagation delay time + Falling propagation delay time) / 2 Dynamic CharacteristicsDynamic Characteristics –– Propagation DelayPropagation Delay Dynamic Characteristics : • Propagation Delay • Slew Rate
  • 7. 7Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP • For a Single Pole System: Av (s) = Av (0) / ( sτ + 1) Vout (t) = Av (0) [ 1 – exp(-t/τ)] Vin(min) Vout = ( VOH – VOL ) / 2 at t = tp Overdrive applied to the input Propagation Delay Time • For very high input voltage the comparator enters into the large-signal mode of operation. For this case slew-rate defined by the maximum current available will define the propagation delay. i = C (dv/dt) tp = ( VOH – VOL) / 2 * SR Propagation Delay and Slew RatePropagation Delay and Slew Rate Therefore if Vin(min) is applied, tp= τ ln(2)=0.693τ
  • 8. 8Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Different Comparator TypesDifferent Comparator Types Open loop comparator.Open loop comparator. ■■ These comparator basically are operational amplifier withoutThese comparator basically are operational amplifier without compensation. Comparators are required to have lesser gaincompensation. Comparators are required to have lesser gain and higher bandwidth thanand higher bandwidth than opampsopamps.. Regenerative Comparator.Regenerative Comparator. ■■ These comparator uses positive feedback like a latch toThese comparator uses positive feedback like a latch to compare to signals.compare to signals. High Speed Comparator.High Speed Comparator. ■■ These comparators are a combination of above two whichThese comparators are a combination of above two which leads to a faster response.leads to a faster response.
  • 9. 9Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP M1 M2Vin+ Vin- M3 M4 M5 VDD VSS Vbias Vout Differential Amplifier Ibias ac ground Open Loop Comparator;Open Loop Comparator; Differential AmplifierDifferential Amplifier
  • 10. 10Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP gm1 * Vin- rds1 1/gm3 gm2 * vin+ rds2 rds4 gm4 * v1 1 2 Note: gm1 = gm2 ; gm3 = gm4 Gain : Av = gm1 ( rds2 || rds4 ) Small Signal Model of Diff. Amp.Small Signal Model of Diff. Amp.
  • 11. 11Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP M1 M2 Vin+ M3 M4 M5 VDD VSS Vbias Vin- VDD M6 M7 Vout VSS VSS Cload Gain, Av = gm1 ( rds2 || rds4 ) * gm7 ( rds6 || rds7 ) Two Stage ComparatorTwo Stage Comparator
  • 12. 12Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP M1 M2 Vin+ M3 M4 M5 VDD VSS Vbias Vin- VDD M6 M7 Vout VSS VSS Cload C1 C2 p1 = -1 / {C1 * (gds2 + gds4)} p2 = -1 / {C2 * (gds6 + gds7)} Vout = Av (0) * Vin [ 1 + {p2 * exp(-t*p1)} / (p1 – p2) – {p1 * exp(-t*p2)} / (p1 – p2) ] Frequency Response of The ComparatorFrequency Response of The Comparator
  • 13. 13Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP t t vin vout VOH VOL Comparator threshold Single value of threshold Response of a Comparator in a NoisyResponse of a Comparator in a Noisy EnvironmentEnvironment
  • 14. 14Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Upper threshold Lower threshold Different trip points for rising and falling Vin t t vin vout VOH VOL Comparator with Hysteresis in a NoisyComparator with Hysteresis in a Noisy EnvironmentEnvironment
  • 15. 15Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Existence of a hysteresis band * output voltage doesn’t change as long as input is within this band. * output changes only when the input comes out of the band. Comparator threshold changes with the state of the output * One trip point (VTRP+) for VOL * Another trip point (VTRP -) for VOH In a hysteresis comparator the output depends both on the present and the past values of Vin ---------------- dependency on history. Characteristics of a Comparator withCharacteristics of a Comparator with HysteresisHysteresis How to get the hysteresis: 1. External feedback. 2. Internal feedback.
  • 16. 16Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP vIN vout VTRP+ VTRP - VOL VOH Counterclockwise Bistable vIN vout VTRP+VTRP - VOL VOH Clockwise Bistable Transfer curve of a Comparator withTransfer curve of a Comparator with HysteresisHysteresis
  • 17. 17Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP vIN vout R1 R2 vIN vout R1VOL/R2 VOL VOH R1VOH/R2 0 Upper Trip Point: We have vOUT = VOL, the upper trip point occurs - R1 R1 + R2 VOL + R2 R1 + R2 VTRP+0 = VTRP+ = -R1VOL/R2 Lower Trip Point: Here we have vOUT = VOH, the lower trip point occurs when, R1 R1 + R2 VOH + R2 R1 + R2 VTRP-0 = VTRP- = -R1VOH/R2 Width of the band: Δvin = VTRP+ - VTRP- = (R1/R2)(VOH – VOL) Noninverting Comparator using ExternalNoninverting Comparator using External Positive FeedbackPositive Feedback
  • 18. 18Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Width of the band: Δvin = VTRP+ - VTRP- = [R1/(R+R2)](VOH – VOL) Lower Trip Point: R1 R1 + R2 VTRP- = VOL Upper Trip Point: R1 R1 + R2 VTRP+ = VOH vIN vout VOL VOH R1VOL/(R1+R2) R1VOH/(R1+R2) vIN vout R1 R2 Inverting Comparator using ExternalInverting Comparator using External Positive FeedbackPositive Feedback
  • 19. 19Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP M2 M1 M5 VDD vi2 vi1 M4M3 Vbias vo2 M6 M7 A Simple Comparator with an internal positive feedback Hysteresis using Internal PositiveHysteresis using Internal Positive FeedbackFeedback
  • 20. 20Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP PushPush--Pull Output ComparatorsPull Output Comparators ■■ Low gainLow gain ■■ Able to sink/source large amount of current in the output capaciAble to sink/source large amount of current in the output capacitance.tance. M1 M2 M3 M4 M5 M6 M7M9 M8 VDD VDD Vin+ Vin- Vout Cload Vbias Vin+Vin-
  • 21. 21Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Latched ComparatorLatched Comparator VDD Vin+ Vin- Vout+ Vout- clk clk M1 M2 M3 M4 M5 M6 M7 M8M9 M10
  • 22. 22Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Latched ComparatorLatched Comparator -- OperationOperation VDD Vin+ Vin- Vout+ Vout- M1 M2 M3 M4 M7 M8 Triode Region operation • When CLK=0 Vout+=Vout-=VDD • When CLK=1 Vout+ and Vout- gives valid output
  • 23. 23Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Latch Comparator Buffer Stage Preamp stages Clock Generation Circuit Input signals Reference Voltages Output ARCHITECTUREARCHITECTURE
  • 24. 24Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP t vout VOL VOH VX Latch Preamplifier Use a cascade of linear amplifiers to quickly build up the signal level and apply this amplified signal level to a latch for quick transition to the full binary output swing. Minimization of Propagation DelayMinimization of Propagation Delay
  • 25. 25Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP High Speed Comparator StagesHigh Speed Comparator Stages The preamplifier advantages:The preamplifier advantages: ■■ reduces the comparator inputreduces the comparator input--offset voltage.offset voltage. ■■ Reduces kickReduces kick--back noise.back noise. The latch comparator:The latch comparator: ■■ Gives high gain.Gives high gain. ■■ Positive feedback always saturates the output.Positive feedback always saturates the output. The latch comparator:The latch comparator: ■■ Drives high load capacitance.Drives high load capacitance. ■■ Gives output in proper shape.Gives output in proper shape.
  • 26. 26Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP M1 M2 Vin- M3 M4 M5 VDD VSS Vbias Vin+ VDD M6 M7 Vout VSS VSS Cload 1 2 I7 I5 Design of a twoDesign of a two--stage Comparator forstage Comparator for slewing responseslewing response
  • 27. 27Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Two Stage Comparator SpecificationsTwo Stage Comparator Specifications Design a two stage comparator which meets theDesign a two stage comparator which meets the following specification.(180nm CMOS9, VDD=1.8V)following specification.(180nm CMOS9, VDD=1.8V) ■■ DC gain>100DC gain>100 ■■ ICMR =0.6V to 1.2VICMR =0.6V to 1.2V ■■ Propagation delay<500psPropagation delay<500ps ■■ Min input voltage<20mV.Min input voltage<20mV. ■■ Output capacitance=100fF.Output capacitance=100fF. ■■ Maximum power consumption=1mW.Maximum power consumption=1mW.
  • 28. 28Advanced VLSI Design Lab, IIT KGPAdvanced VLSI Design Lab, IIT KGP Have a Nice Day Thank You See you in the lab