Adaptive Hysteretic Comparator With Op-Amp Threshold Level Setting-2008
Adaptive Hysteretic Comparator With Op-Amp Threshold Level Setting-2008
Abstract— This paper presents the design of an adaptive reduction of delay by adding a linear predictor and adaptive
hysteretic comparator optimized for noisy environment. It control to a comparator while Mikkola [7] developed a
features an input rail-to-rail opamp which uses feedback means to mitigate single event transients in comparators
networks to set varying hysteretic thresholds while maintaining
a constant hysteretic band for increased noise immunity and
through auto-zeroing techniques. In [3], hysteretic
stability. The chip which can resolve up to 9bits consumes a comparator is used as a building block for a synchronous
total power of 3.8mW and takes an active area of 0.021mm2 in a buck regulator that operates within few hundreds kilo-hertz.
2P3M 0.5 μ m CMOS process with 20ns propagation delay. In some applications, bias voltages could be externally
modulated to change the hysteresis band of the comparator,
I. INTRODUCTION but at the expense of changing its bandwidth, gain and speed.
The need for high performance comparators has always None of these implementations examined external hysteretic
resulted to the addition of hysteresis to improve their configuration which can adapt to changes in the input signal
stabilities and noise immunities when used in noisy while mitigating noise from the environment.
environments. Intrinsically, most comparators have In this paper, we present the addition of external hysteresis
hysteresis with a value of 5mV to 10mV [1, 2]. With internal to a comparator through opamp and resistors. Our goal is to
hysteresis, comparators avoid oscillations arising from vary the hysteresis thresholds while maintaining a constant
parasitic feedbacks. Though efficient in preventing self- hysteretic band. The hysteresis is implemented around the
oscillation, internal hysteresis fails in noisy environment. opamp and its output used as non-inverting input of the
Consequently, hysteresis must be implemented externally to comparator in a positive feedback arrangement. This
prevent rapid output changes and oscillations which may architecture enhances the system stability and improves
arise from noise. This is necessary since comparators have overall immunity to noise.
very high open loop gain with poor noise immunity. This paper is organized as follows: chip architecture is in
In designing external hysteretic comparator, positive section II and circuit techniques and operations in section III.
feedback is applied to the comparator. Positive feedback Section IV presents and discusses results while section V
guarantees a fast output transition state thereby minimizing gives the final conclusions.
the time the comparator stays in the intermediate state [1].
This feature prevents multiple switching. In applications like II. CHIP ARCHITECTURE
battery cells balancer and DC-to-DC converters [3], the
feedback network is used to set the threshold values for the
Vin Vout
comparator. In many cases, these networks, made up of
resistors and MOSFETS offer only static hysteresis band R1
which cannot adapt to input signal variations. Comparator
Xinquan [4] presents the design of a hysteretic comparator
by utilizing the bandgap structure of silicon in a bipolar
R2
junction transistor (BJT) process. The drawback of this
design is the dependence of the threshold voltage on Vcm
temperature. It would readily fail with marginal change in
operating temperature. In [5], Xiao presents a programmable Fig.1. A simple circuit with hysteresis
analog window comparator which can adjust its error Consider the circuit of a simple (yet popular) external
threshold based on the input voltage. The programmability hysteretic comparator shown in Fig.1 [1, 10]. In this design,
and integration complexities to circuit architectures which the positive and negative threshold voltages, respectively
incorporate comparators as building blocks are key given by (1) and (2), are set (primarily) by the output signal.
drawbacks to this circuit. Many different comparators have The resistors determine the hysteresis band, given by (3) if
been presented with features which enable them perform in Vss = 0V.
varieties of conditions [3, 6-9]. MeVay [6] focused on
R1 + R f Vo R f + Vcm R2 R f Vset
V p = Vth ± = − (4)
R1 R f + R2 R1
R f R1 + R f
ΔVth = Vth + − Vth − = Vcc (5)
R1 R f + R2
Rf
ΔVth = Vth + − Vth − = Vcc (6)
R1
The total gain of the system is given by (7) where G and A
are respectively the gain of the opamp and the comparator.
A(GVset − Vm)
Vo = (7) Fig.4. Chip architecture with switching network
AG − 1
Based on the expected level of noise and the comparator III. CIRCUITS TECHNIQUES AND OPERATIONS
inverting input (vm), the hysteresis band is set by R1 and R2. Owing to positive feedback from the comparator to the
We designed for ΔVth = 2V. This value is constant though opamp, the opamp is designed with input rail-to-rail common
mode voltage. For the same reason, the comparator has its
Vth + and Vth − can change as a result of Vset. input common mode voltage extending to the power supply
Depending on application, one potential drawback to Fig.3 rails. Further discussions of the circuits are provided in the
is the speed limitation which is introduced by the opamp. To following sections.
122
A. Rail-to-rail input opamp
Fig. 5 shows the design of the opamp [11-13]. It uses
NMOS and PMOS differential pairs to increase the input
common voltage range. By combining these pairs, input
voltage can swing from ground to power supply. In this
design, the zero-nulling resistor for compensation is
implemented with MOSFETs thereby making zero-nulling
process independent. One major drawback to this opamp
architecture is the gain fluctuation. As the input voltages
change, the total input transconductance varies. This makes
the opamp compensation very challenging. The voltages
biases (Bia1 to and Bia4) are wide swing to enable high
swing operation at the output. Fig.7 Rail-to-rail comparator
Fig.6 shows the measurement result when the opamp is
configured as a voltage follower. The result shows that the
output is nearly rail-to-rail.
Vout
Vp
Fig.8 Measured comparator result
The opamp and the comparator were designed and tested
separately. Table 1 presents the summary of other
measurements results.
Output
Input
Opamp
Fig.6 Measured opamp result. (Both axes are 2/division)
123
IV. RESULTS 4
Fig.10 shows the measured result when Vset = 2.2V, Vdd = 3.5
Vth+
Vth-
5V, Vcm = 2.5V and Vmpp = 4V @ offset of 2.3V. The delta-Vth
3
measured ΔVth is 1.99V which differs slightly from the
2.5
simulated 2V, maybe, partly due to resistor mismatch. The
Vth[V]
2
value remains the same as Vset is varied though Vth + and
1.5
Vth − could change. In our high level application, ability to 1
124