Low Power Cmos Comparator 2
Low Power Cmos Comparator 2
Low Power Cmos Comparator 2
1
List Of Figures
5.2.1 AC response 18
2
List of Tables
3
ABSTRACT
Design of very large scale analog integrated circuit (analog VLSI) is very much
complex and requires much compromising nature to achieve application specific
objective. With maximizing the efforts to reduce power consumption and to reduce W/L
ratio, the analog integrated circuit industry is constantly developing smaller power
supplies. Now days, challenges of analog integrated circuit designer are to make block
of small power supplies with little or no reduction in performance. The CMOS LOW
POWER COMPARATOR is designed in 350nm CMOS technology with 3.3V power
supply to observe the configurations. Design and simulation of CMOS LOW POWER
COMPARATOR is done using LTspice tool. Simulation results of CMOS LOW
POWER COMPARATOR shows that the Open loop gain is 80.44dB with the bias
voltages of 0.8V,0.88V,0.5V,0.3V.
4
CHAPTER – 1
INTRODUCTION
1.1 INTRODUCTION
The Op-amp comparator compares one analogue voltage level with another
analogue voltage level, or some preset reference voltage, VREF and produces an output
signal based on this voltage comparison. In other words, the op-amp voltage comparator
compares the magnitudes of two voltage inputs and determines which is the largest of
the two.
We have seen that the operational amplifier can be used with negative feedback to
control the magnitude of its output signal in the linear region performing a variety of
different functions. We have also seen that the standard operational amplifier is
characterised by its open-loop gain AO and that its output voltage is given by the
expression: VOUT = AO(V+ – V-) where V+ and V- correspond to the voltages at the
non-inverting and the inverting terminals respectively.
Voltage comparators on the other hand, either use positive feedback or no feedback
at all (open-loop mode) to switch its output between two saturated states, because in the
open-loop mode the amplifiers voltage gain is basically equal to AVO. Then due to this
high open loop gain, the output from the comparator swings either fully to its positive
supply rail, +Vcc or fully to its negative supply rail, -Vcc on the application of varying
input signal which passes some preset threshold value.
The open-loop op-amp comparator is an analogue circuit that operates in its non-linear
region as changes in the two analogue inputs, V+ and V- causes it to behave like a
digital bistable device as triggering causes it to have two possible output
states, +Vcc or -Vcc. Then we can say that the voltage comparator is essentially a 1-bit
analogue to digital converter, as the input signal is analogue but the output behaves
digitally.
Consider the basic op-amp voltage comparator circuit below.
5
Different types of comparators:
6
1.3 BASICS OF DIFFERENTIAL AMPLIFIER
The differential amplifier is probably the most widely used circuit building block in
analog integrated circuits, principally op amps. when we were discussing input bias
current. The differential amplifier can be implemented with BJTs or MOSFETs. A
differential amplifier multiplies the voltage difference between two inputs (Vin+ - Vin-)
by some constant factor Ad, the differential gain. It may have either one output or a pair
of outputs where the signal of interest is the voltage difference between the two outputs.
A differential amplifier also tends to reject the part of the input signals that are common
to both inputs (Vin+ + Vin-)/2 . This is referred to as the common mode signal.
In CMOS opamp the output of the first stage is provided with a compensation
capacitor to make the opamp stable but in CMOS comparator the compensation
capacitor is not provided.Comparator is clocked. An op-amp is not.
Clock controls whether comparator is acquiring the input or applying positive
feedback to produce a logic level output
7
Comparator has infinite TIME gain. If you allow sufficient regeneration time, the
comparator will produce a logic output.
Op-amp has extremely high small signal gain.
Comparator small signal gain is *usually* relatively low especially compared to an
op-amp.
Op-amp is probably not as fast for comparator applications.
Comparator is specifically implemented to have very fast regeneration time (usually
this is a specification).
Op-amp may have large signal slew rate limitations.
8
1.3.2 CHARACTERESTICS OF COMPARATOR
1.3.3 SPECIFICATIONS
A power supply voltage of 3.3V with input voltage of 1V,20kHz and Input
Common Mode Range (ICMR)of 0.4-3V shows that comparator exhibits an
ultra low power consumption of 53uw at signal frequency of 100Khz having
reference voltage of 0.3V. This proposed comparator also provides Gain of 80
dB and Unity gain bandwidth of 10Mhz .Slew rate is 2.5v/usec. Load
capacitance value is 0.1pF.
9
conduction, short-circuit current power due to finite signal rise/fall times, and static
biasing power found in some logic styles (i.e. pseudo-nMOS).
PT =PD + PL+ PSC +Ps
Dynamic switching power is the major component of overall power dissipation, the
low-power design methodology concentrates on minimizing total capacitance,
supply voltage, and frequency of transistor.
PD=CV2 F
For Analog circuits design power consumption is mainly depends upon the Signal to
noise ratio(S/N) and frequency of operation also
P=SNR 8Kt Vp-p/Vb
For most CMOS circuit design, the short circuit power dissipation is approximately
5-10% of the total dynamic power. The sub-threshold current is proportional to the
transistor device size (W/L) and an exponential function of the supply voltage.
Thus, the current may be minimized by reducing the transistor sizes, and by
reducing the supply voltage. Scaling in the supply voltage appears to be the most
well-known means to reduce power consumption. However, the lower-supply
voltage increases circuit delay and degrades the drivability of cells designed with
certain logic style. One of the important obstacles in decreasing the supply voltage
is the large transistor count and Vth loss problem. By selecting proper (W/L) ratio
we can minimize the power dissipation without decreasing the supply voltage.In this
paper we have achieved the W/l ratio to achieve lowest average power consumption
in .35um CMOS technology.
10
not switching. This, in turn, is composed of two components - gate to source
leakage, which is leakage directly though the gate insulator, mostly by tunnelling,
and source-drain leakage attributed to both tunnelling and sub-threshold
conduction. The contribution of the static power component to the total power
number is growing very rapidly in the current era of Deep Sub-Micrometre (DSM)
Design.
Power can be estimated at a number of levels of detail. The higher levels of
abstraction are faster and handle larger circuits, but are less accurate. The main
levels include:
Circuit Level Power Estimation, using a circuit simulator such as SPICE
Static Power Estimation does not use the input vectors, but may use the input
statistics. Analogous to Static timing analysis
Logic-Level Power Estimation, often linked to logic simulation
Analysis at the Register-Transfer Level. Fast and high capacity, but not as accurate.
Circuit-level power optimization
A rendering of a small standard celll taken from a larger design showing heating
effects directly related to power consumption.
Many different techniques are used to reduce power consumption at the circuit level.
Some of the main ones are:
Transistor sizing: adjusting the size of each gate or transistor for minimum power.
Voltage scaling: lower supply voltages use less power, but go slower.
Voltage islands: Different blocks can be run at different voltages, saving power.
This design practice may require the use of level-shifters when two blocks with
different supply voltages communicate with each other.
Variable VDD: The voltage for a single block can be varied during operation - high
voltage (and high power) when the block needs to go fast, low voltage when slow
operation is acceptable.
Multiple threshold voltages: Modern processes can build transistors with different
thresholds. Power can be saved by using a mixture of CMOS transistors with two or
more different threshold voltages. In the simplest form there are two different
thresholds available, common called High-Vt and Low-Vt, where Vt stands for
threshold voltage. High threshold transistors are slower but leak less, and can be
used in non-critical circuits.
Power gatingg: This technique uses high Vt sleep transistors which cut-off a circuit
11
block when the block is not switching. The sleep transistor sizing is an important design
parameter. This technique, also known as MTCMOS, or Multi-Threshold CMOS
reduces stand-by or leakage power, and also enables Iddq testing.
Long-Channel transistors: Transistors of more than minimum length leak less, but
are bigger and slower.
Stacking and parking states: Logic gates may leak differently during logically
equivalent input states (say 10 on a NAND gate, as opposed to 01). State machines
may have less leakage in certain states.
Logic styles: dynamic and static logic, for example, have different speed/power
tradeoffs.
Logic synthesis for low power:
Logic synthesis can also be optimized in many ways to keep power consumption
under control. Details of the following steps can have a significant impact on power
optimization:
Clock gating
Logic Factorization
Path Balancing
Technology Mapping
State Encoding
Finite-State Machine Decomposition
Retiming
THEORITICAL ANALYSIS:
Design Equations:
Gm1 = 2*pi*UGB*C
(W/L)1,2,3 = (Gm1^2)/2*kn*I9
(W/L)4,5,6,7,8=I9/Kp*(Vdd-VICMR+-VT0+VT1)^2
(W/L)9 = (Ig*2)/Kn(Vsat)^2
(W/L)11 =( (Ig*2)/Kn(Vsat)^2)*gm11/gm9
Kp=6.475*10^-6
kn=0.72*10^-8
12
CHAPTER – 2
LITERATURE SURVEY
Currently research studies are focussing on designing high performance analog circuits
at reduced power and supply voltage. The comparator remain as the key element in
various analog integrated circuits. The realization of the comparator in low power
circuits to achieve high DC gain and high bandwidth is a difficult task.
Hernes and Sansen (2005) discuss the classification of single stage, two stage and
three stage structures based on harmonic distortion. A performance comparison of
single stage amplifier and two stage amplifier shows that single stage amplifier works
well at high frequency while two stage amplifier is good at mid frequency range. The
study also assures that noise level is maintained low for differential amplifiers with an
increases in common mode rejection ratio and power supply rejection ratio. The input
stage transistors affect the overall operation of a circuit at high frequencies and output
transistors at low frequencies.
Development of opamp lead to the development of comparator . The comparator has its
first stage as a differential amplifier and second stage as a current sink inverter.
13
CHAPTER – 3
SOFTWARE REQUIRMENTS
For the simulation of operational transconductance amplifier we used LTSPICE which
is a free integrated circuit simulator.
3.1 LTSPICE
3.2 OVERVIEW
14
LTspice IV is node-unlimited and third-party models can be imported. Circuit
simulations based on transient, AC, noise and DC analysis can be plotted as well as
Fourier analysis. Heat dissipation of components can be calculated and efficiency
reports can also be generated. LTspice IV is used within LTC, and by many users in
fields including radio frequency electronics, power electronics, digital electronics, and
other disciplines. LTspice IV does not generate printed circuit board(PCB) layouts, but
netlists can be imported into layout programs. While LTspice does support simple logic
gate simulation, it is not designed specifically for simulating logic circuits. LTspice was
originally called SwitcherCAD and is sometimes still called by that name. The software
is maintained by Mike Engelhardt. The application is written for Microsoft
Windows but, since 2003, it will run under the Wine Windows compatibility layer
under Linux. From version IV LTspice requires at least a Pentium 4 processor and
Windows 2000 or later. In 2016 LTspice XVII was released. It runs on 32- or 64-bit
editions of Windows 7, 8, and 10.
CHAPTER – 4
PROPOSED METHOD
Figure 4.1 shows the schematic diagram of LOW POWER CMOS COMPARATOR. In
this CMOS COMPARATOR the supply voltage is Vdd= 3.3V. In the below circuit of
COMPARATOR the Transistors, Transistors M5, M6 and M7,M8 works as two current
mirror pairs. The Transistors M1, M2, M3 and M4 are the Differential amplifier. The
Transistors M10,M11 is an output stage. The design parameters of this comparator are
shown in below table I. There are several different comparator’s are used in which this
compaarator is a simple comparator with low power consumption and high gain. The
Op-amp is characterized by various parameters like open loop gain, Bandwidth, Slew
Rate, Noise and etc. The performance Measures are fixed Due to Design parameters
such as Transistors size, Bias Voltage and etc. In this project we describe design of
comparator and this design is done in 0.35μm technology.
In this architecture (Fig4.1) there are two stages first stage is composite cascode
differential amplifier Nchannel input devices (M1-M4) in series with combination of
cascode active Pmos based current mirror load such as (M5-M8) that compares the two
input but provide smaller gain while the second stage is common source provide larger
swing and greater gain similar to opamp based conventional two stage open loop
15
comparator and one nchannel Mos is provided below which act as current sink for
stabilization. . Amplifiers are usually employed to achieve linear operation in closed
loop configuration which requires careful compensation to avoid unstable operation. On
the contrary the comparator does not require stability criteria as in two stage amplifier
so it eliminated need for compensation capacitor.
As shown above the Comparator is designed with many input voltages. The right side
chart is the 0.35um technology file.
TRANSISTOR SIZE
DEVICE W/L(um)
M1,M2,M3,M9 20/0.4
M4,M5,M6,M7,M8 10/0.4
M10 17/0.4
16
M11 0.4/0.4
W-WIDTH,L-LENGTH
TABLE 4.2
The above table shows the W/L ratios of the transistors used.
CHAPTER – 5
RESULTS AND DISCUSSIONS
The basic functionality of comparator is to compare input voltage with another
reference voltage , here the input signal is a sinusoidal signal and the reference voltage
is 0.3V. If the input signal is greater than reference voltage the output is Vdd else the
output is 0V.
17
Fig 5.1.1 Transient Response analysis
8
After obtaining the Transient analysis for the circuit we next found the AC analysis for
which we applied 1V AC in the circuit as shown below
18
Fig 5.2.1 AC Analysis output waveforms
19
Fig 5.3.1 slew rate
Specifications Simulated
20
Supply voltage 3.3V
CHAPTER – 6
CONCLUSION
In this project we present a low power op amp based comparator which can be used in
bio medical applications . As this circuit consumes low power of around 25uW and it
also provides a high gain of around 80.44dB.
GAIN(dB) 80.44 41
21
UGB(MHz) 15 10
The main scope of future work in CMOS comparator is that we have to reduce
the circuit area which is one of the important constraints in any VLSI design.
The comparator converts analog signal to digital signal with a high sampling
frequency. In future both area and time should be reduced so that an external
circuit can be built which should reduce the both constraints.
TPS3700
. The TPS3700 wide-supply window voltage detector operates over a 1.8-V to 18-V
range. The device has two high-accuracy comparators with an internal 400- mV
reference and two open-drain outputs rated to 18 V for over- and undervoltage
22
detection. The TPS3700 can be used as a window voltage detector or as two
independent voltage monitors; the monitored voltage can be set with the use of external
resistors. OUTA is driven low when the voltage at INA+ drops below (VITP – VHYS),
and goes high when the voltage returns above the respective threshold (VITP). OUTB is
driven low when the voltage at INB– rises above VITP, and goes high when the voltage
drops below the respective threshold (VITP – VHYS). Both comparators in the
TPS3700 include built-in hysteresis for filtering to reject brief glitches, thereby ensuring
stable output operation without false triggering. The TPS3700 is available in a SOT-6
and a 1.5-mm × 1.5-mm WSON-6 package and is specified over the junction
temperature range of –40°C to 125°C.
APPLICATIONS
TPS3701
The TPS3701 wide-supply voltage window detector operates over a 1.8-V to 36-V
range. The device has two precision comparators with an internal 400-mV reference and
two open-drain outputs (OUTA and OUTB) rated to 25 V for over- and undervoltage
detection. Use the TPS3701 as a window voltage detector or as two independent voltage
monitors; set the monitored voltage with the use of external resistors.
OUTA is driven low when the voltage at the INA pin drops below the negative
threshold, and goes high when the voltage returns above the positive threshold. OUTB
is driven low when the voltage at the INB pin rises above the positive threshold, and
goes high when the voltage drops below the negative threshold. Both comparators in the
TPS3701 include built-in hysteresis for noise rejection, thereby ensuring stable output
operation without false triggering.
The TPS3701 is available in a SOT-6 package and is specified over the junction
temperature range of –40°C to 125°C.
23
Features
Wide supply voltage range: 1.8 V to 36 V
Adjustable threshold: down to 400 mV
Open-drain outputs for over- and undervoltage detection
Low quiescent current: 7 µA (Typical)
High threshold accuracy:
0.75% Over temperature
0.25% (Typical)
Internal hysteresis: 5.5 mV (typical)
Temperature range: –40°C to 125°C
Package:
SOT-6
6.3 APPLICATIONS
Low power CMOS comparators are used in ECG that is he process of producing
an electrocardiogram (ECG or EKG[a]), a recording – a graph of voltage versus
time – of the electrical activity of the heart[4] using electrodes placed on the skin.
These electrodes detect the small electrical changes that are a consequence of
cardiac muscle depolarization followed by repolarization during each cardiac cycle
(heartbeat). Changes in the normal ECG pattern occur in numerous cardiac
abnormalities, including cardiac rhythm disturbances (such as atrial
fibrillation and ventricular tachycardia), inadequate coronary artery blood flow
(such as myocardial ischemia and myocardial infarction), and electrolyte
disturbances (such as hypokalemia and hyperkalemia).
24
communicate via electrical impulses and are active all the time, even when you're
asleep. This activity shows up as wavy lines on an EEG recording
25