AD790
REV.
–6–
CIRCUIT DESCRIPTION
The AD790 possesses the overall characteristics of a standard
monolithic comparator: differential inputs, high gain and a logic
output. However, its function is implemented with an architec-
ture which offers several advantages over previous comparator
designs. Specifically, the output stage alleviates some of the limi-
tations of classic “TTL” comparators and provides a symmetric
output. A simplified representation of the AD790 circuitry is
shown in Figure 5.
A1
A2
Av
OUTPUT
GAIN STAGE
OUTPUT STAGE
Q2
Q1
+
+
+
IN
+
IN
V
LOGIC
GND
Figure 5. AD790 Block Diagram
The output stage takes the amplified differential input signal and
converts it to a single-ended logic output. The output swing is
defined by the pull-up PNP and the pull-down NPN. These pro-
duce inherent rail-to-rail output levels, compatible with CMOS
logic, as well as TTL, without the need for clamping to internal
bias levels. Furthermore, the pull-up and pull-down levels are
symmetric about the center of the supply range and are refer-
enced off the V
LOGIC
supply and ground. The output stage has
nearly symmetric dynamic drive capability, yielding equal rise
and fall times into subsequent logic gates.
Unlike classic TTL or CMOS output stages, the AD790 circuit
does not exhibit large current spikes due to unwanted current
flow between the output transistors. The AD790 output stage
has a controlled switching scheme in which amplifiers A1 and
A2 drive the output transistors in a manner designed to reduce
the current flow between Q1 and Q2. This also helps minimize
the disturbances feeding back to the input which can cause
troublesome oscillations.
The output high and low levels are well controlled values defined
by V
LOGIC
(5 V), ground and the transistor equivalent Schottky
clamps and are compatible with TTL and CMOS logic require-
ments. The fanout of the output stage is shown in TPC 3 for
standard LSTTL or HCMOS gates. Output drive behavior vs.
capacitive load is shown in TPC 2.
HYSTERESIS
The AD790 uses internal feedback to develop hysteresis about
the input reference voltage. Figure 6 shows how the input offset
voltage and hysteresis terms are defined. Input offset voltage
(V
OS
) is the difference between the center of the hysteresis
range and the ground level. This can be either positive or nega-
tive. The hysteresis voltage (V
H
) is one-half the width of the
V
OH
V
OL
H
V
= HYSTERESIS VOLTAGE
H
V
0
H
V
V
OUT
IN
+
V
OS
V
OS
= INPUT OFFSET VOLTAGE
2
3
7
IN
+
OUT
V
GND
Figure 6. Hysteresis Definitions (N, Q Package Pinout)
hysteresis range. This built-in hysteresis allows the AD790 to
avoid oscillation when an input signal slowly crosses the ground
level.
SUPPLY VOLTAGE CONNECTIONS
The AD790 may be operated from either single or dual supply
voltages. Internally, the V
LOGIC
circuitry and the analog front-
end of the AD790 are connected to separate supply pins. If dual
supplies are used, any combination of voltages in which +V
S
V
LOGIC
– 0.5 V and –V
S
0 may be chosen. For single supply
operation (i.e., +V
S
= V
LOGIC
), the supply voltage can be oper-
ated between 4.5 V and 7 V. Figure 7 shows some other examples
of typical supply connections possible with the AD790.
BYPASSING AND GROUNDING
Although the AD790 is designed to be stable and free from
oscillations, it is important to properly bypass and ground the
power supplies. Ceramic 0.1 µF capacitors are recommended
and should be connected directly at the AD790’s supply pins.
These capacitors provide transient currents to the device during
comparator switching. The AD790 has three supply voltage
pins, +V
S
, –V
S
and V
LOGIC
. It is important to have a common
ground lead on the board for the supply grounds and the GND
pin of the AD790 to provide the proper return path for the
supply current.
LATCH OPERATION
The AD790 has a latch function for retaining input information
at the output. The comparator decision is “latched” and the
output state is held when Pin 5 is brought low. As long as Pin 5
is kept low, the output remains in the high or low state, and
does not respond to changing inputs. Proper capture of the
input signal requires that the timing relationships shown in
Figure 4 are followed. Pin 5 should be driven with CMOS or
TTL logic levels.
The output of the AD790 will respond to the input when Pin 5
is at a high logic level. When not in use, Pin 5 should be connected
to the positive logic supply. When using dual supplies, it is rec-
ommended that a 510 resistor be placed in series with Pin 5
and the driving logic gate to limit input currents during powerup.
E
AD790
REV.
–7–
AD790
1
2
3
4
5
6
7
8
+IN
–IN
5V
+
OUT
510
+
12V
0.1µF
0.1µF
+V
S
= +12V, –V
S
= 0V
V
LOGIC
= +5V
AD790
1
2
3
4
5
6
7
8
5V
+
OUT
15V
0.1µF
0.1µF
+V
S
= +5V, –V
S
= –15V
V
LOGIC
= +5V
+IN
–IN
AD790
1
2
3
4
5
6
7
8
5V
+
OUT
5V
0.1µF
0.1µF
+IN
–IN
+V
S
= +5V, –V
S
= –5V, V
LOGIC
= +5V
Figure 7. Typical Power Supply Connections
(N, Q Package Pinout)
Window Comparator for Overvoltage Detection
The wide differential input range of the AD790 makes it suitable
for monitoring large amplitude signals. The simple overvoltage
detection circuit shown in Figure 8 illustrates direct connection
of the input signal to the high impedance inputs of the comparator
without the need for special clamp diodes to limit the differen-
tial
input voltage across the inputs.
510
OVERRANGE = 1
7432
AD790
1
2
3
4
5
6
7
8
+15V
+5V
–15V
AD790
1
2
3
4
5
6
7
8
+15V +5V
–15V
V
IN
510
0.1µF
0.1µF
0.1µF
0.1µF
0.1µF
0.1µF
SIGN 1 = HIGH
0 = LOW
–7.5V
+7.5V
Figure 8. Overvoltage Detector
(N, Q Package Pinout)
Single Supply Ground Referred Overload Detector
The AD790 is useful as an overload detector for sensitive loads
that must be powered from a single supply. A simple ground
referenced overload detector is shown in Figure 8. The com-
parator senses a voltage across a PC board trace and compares
that to a reference (trip) voltage established by the comparator’s
minus supply current through a 2.7 resistor. This sets up a
10 mV reference level that is compared to the sense voltage.
Applying the
–7–
The minus supply current is proportional to absolute tempera-
ture and compensates for the change in the sense resistance
with temperature. The width and length of the PC board trace
determine the resistance of the trace and consequently the trip
current level.
I
LIMIT
= 10 mV/R
SENSE
R
SENSE
= rho (trace length/trace width)
rho = resistance of a unit square of trace
L
O
A
D
2.7
PC BOARD
TRACE
AD790
1
2
3
4
5
6
7
8
0.1µF
5V
+
OUTPUT
R
SENSE
10mV/100mA
+V
S
510
Figure 9. Ground Referred Overload Detector Circuit
(N, Q Package Pinout)
Precision Full-Wave Rectifier
The high speed and precision of the AD790 make it suitable
for use in the wide dynamic range full-wave rectifier shown in
Figure 10. This circuit is capable of rectifying low level signals
as small as a few mV or as high as 10 V. Input resolution, propaga-
tion delay and op amp settling will ultimately limit the maximum
input frequency for a given accuracy level. Total comparator
plus switch delay is approximately 100 ns, which limits the
maximum input frequency to 1 MHz for clean rectification.
AD711
10k
FET SWITCHES THE GAIN
FROM +1 TO –1
20k
10k
AD790
1
2
3
4
5
6
7
8
+15V
+5V
–15V
2
3
4
6
7
+15V
–15V
V
IN
V
OUT
NMOS
FET
(R
ON
< 20 )
0.1µF
510
0.1µF
0.1µF
0.1µF
0.1µF
Figure 10. Precision Full-Wave Rectifier
(N, Q Package Pinout)
E
AD790
REV.
–8–
2
3
1
4
6
7
5
8
TTL
LEVEL
OUTPUT
400 *
5V
+
GND
STANDARD
SCHOTTKY
DIODE
1k
A RESISTOR UP TO 10k MAYBE USED TO
REDUCE THE SOURCE AND SINK CURRENT OF
THE DRIVER. HOWEVER, THIS WILL SLIGHTLY
LOWER THE MAXIMUM USABLE CLOCK RATE.
*
BIPOLAR
SIGNAL
INPUT
4.7V
0.3V
5V
Figure 11. A Bipolar to CMOS TTL Line Receiver (N, Q
Package Pinout)
Bipolar to CMOS/TTL
It is sometimes desirable to translate a bipolar signal (e.g.,
± 5 V) coming from a communications cable or another section
of the system to CMOS/TTL logic levels; such an application is
referred to as a line receiver. Previously, the interface to the
bipolar signal required either a dual (± ) power supply or a refer-
ence voltage level about which the line receiver would switch.
The AD790 may be used in a simple circuit to provide a unique
capability: the ability to receive a bipolar signal while powered
from a single 5 V supply. Other comparators cannot perform
this task. Figure 11 shows a 1 k resistor in series with the input
signal which is then clamped by a Schottky diode, holding the
input of the comparator at 0.4 V below ground. Although the
comparator is specified for a common mode range down to –V
S
,
(in this case ground) it is permissible to bring one of the inputs
a few hundred mV below ground. The comparator switches
around this level and produces a CMOS/TTL compatible swing.
The circuit will operate to switching frequencies of 20 MHz.
E

AD790AQ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog Comparators Fast Prec Comparator
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union