REV. B
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties
which may result from its use. No license is granted by implication or
otherwise under any patent or patent rights of Analog Devices.
a
AD654
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781/329-4700 World Wide Web Site: http://www.analog.com
Fax: 781/326-8703 © Analog Devices, Inc., 1999
Low Cost Monolithic
Voltage-to-Frequency Converter
FEATURES
Low Cost
Single or Dual Supply, 5 V to 36 V, 5 V to 18 V
Full-Scale Frequency Up to 500 kHz
Minimum Number of External Components Needed
Versatile Input Amplifier
Positive or Negative Voltage Modes
Negative Current Mode
High Input Impedance, Low Drift
Low Power: 2.0 mA Quiescent Current
Low Offset: 1 mV
PRODUCT DESCRIPTION
The AD654 is a monolithic V/F converter consisting of an input
amplifier, a precision oscillator system, and a high current output
stage. A single RC network is all that is required to set up any
full scale (FS) frequency up to 500 kHz and any FS input voltage
up to ±30 V. Linearity error is only 0.03% for a 250 kHz FS,
and operation is guaranteed over an 80 dB dynamic range. The
overall temperature coefficient (excluding the effects of external
components) is typically
±50 ppm/°C. The AD654 operates from
a single supply of 5 V to 36 V and consumes only 2.0 mA quies-
cent current.
The low drift (4 µV/°C typ) input amplifier allows operation
directly from small signals such as thermocouples or strain gauges
while offering a high (250 M) input resistance. Unlike most
V/F converters, the AD654 provides a square-wave output, and
can drive up to 12 TTL loads, optocouplers, long cables, or
similar loads.
PRODUCT HIGHLIGHTS
1. Packaged in both an 8-lead mini-DIP and an 8-lead SOIC
package, the AD654 is a complete V/F converter requiring
only an RC timing network to set the desired full-scale fre-
quency and a selectable pull-up resistor for the open-collector
output stage. Any full scale input voltage range from 100 mV
to 10 volts (or greater, depending on +V
S
) can be accommo-
dated by proper selection of the timing resistor. The full-
scale frequency is then set by the timing capacitor from the
simple relationship, f = V/10 RC.
2. A minimum number of low cost external components are
necessary. A single RC network is all that is required to set
up any full scale frequency up to 500 kHz and any full-scale
input voltage up to ±30 V.
3. Plastic packaging allows low cost implementation of the
standard VFC applications: A/D conversion, isolated signal
transmission, F/V conversion, phase-locked loops, and tuning
switched-capacitor filters.
4. Power supply requirements are minimal; only 2.0 mA of
quiescent current is drawn from the single positive supply
from 4.5 volts to 36 volts. In this mode, positive inputs can
vary from 0 volts (ground) to (+V
S
–4) volts. Negative inputs
can easily be connected for below ground operation.
5. The versatile open-collector output stage can sink more than
10 mA with a saturation voltage less than 0.4 volts. The Logic
Common terminal can be connected to any level between
ground (or –V
S
) and 4 volts below +V
S
. This allows easy
direct interface to any logic family with either positive or
negative logic levels.
FUNCTIONAL BLOCK DIAGRAM
321
58 7 6
AD654
4
DRIVER OSC
FOUT LOGIC
COMMON RT+VIN
+VSCTCT–VS
–2– REV. B
AD654–SPECIFICATIONS
(T
A
= +25C and V
S
(total) = 5 V to 16.5 V, unless otherwise noted. All testing done
@ V
S
= +5 V.)
AD654JN/JR
Model Min Typ Max Units
CURRENT-TO-FREQUENCY CONVERTER
Frequency Range 0 500 kHz
Nonlinearity
1
f
MAX
= 250 kHz 0.06 0.1 %
f
MAX
= 500 kHz 0.20 0.4 %
Full-Scale Calibration Error
C = 390 pF, I
IN
= 1.000 mA –10 +10 %
vs. Supply (f
MAX
250 kHz)
V
S
= +4.75 V to +5.25 V 0.20 0.40 %/V
V
S
= +5.25 V to +16.5 V 0.05 0.10 %/V
vs. Temp (0°C to +70°C) 50 ppm/°C
ANALOG INPUT AMPLIFIER
(Voltage-to-Current Converter)
Voltage Input Range
Single Supply 0 (+V
S
– 4) V
Dual Supply –V
S
(+V
S
– 4) V
Input Bias Current
(Either Input) 30 50 nA
Input Offset Current 5 nA
Input Resistance (Noninverting) 250 M
Input Offset Voltage 0.5 1.0 mV
vs. Supply
V
S
= +4.75 V to +5.25 V 0.1 0.25 mV/V
V
S
= +5.25 V to +16.5 V 0.03 0.1 mV/V
vs. Temp (0°C to +70°C) 4 µV/°C
OUTPUT INTERFACE (Open Collector Output)
(Symmetrical Square Wave)
Output Sink Current in Logic “0”
2
V
OUT
= 0.4 V max, +25°C10 20 mA
V
OUT
= 0.4 V max, 0°C to +70°C510 mA
Output Leakage Current in Logic “1” 10 100 nA
0°C to +70°C 50 500 nA
Logic Common Level Range –V
S
(+V
S
– 4) V
Rise/Fall Times (C
T
= 0.01 µF)
I
IN
= 1 mA 0.2 µs
I
IN
= 1 µA1µs
POWER SUPPLY
Voltage, Rated Performance 4.5 16.5 V
Voltage, Operating Range
Single Supply 4.5 36 V
Dual Supply ±5±18 V
Quiescent Current
V
S
(Total) = 5 V 1.5 2.5 mA
V
S
(Total) = 30 V 2.0 3.0 mA
TEMPERATURE RANGE
Operating Range –40 +85 °C
NOTES
1
At f
MAX
= 250 kHz; R
T
= 1 k, C
T
= 390 pF, I
IN
= 0 mA–1 mA.
1
At f
MAX
= 500 kHz; R
T
= 1 k, C
T
= 200 pF, I
IN
= 0 mA–1 mA.
2
The sink current is the amount of current that can flow into Pin 1 of the AD654 while maintaining a maximum voltage of 0.4 V between Pin 1 and Logic Common.
Specifications shown in boldface are tested on all production units at final electrical test. Results from those tests are used to calculate outgoing quality levels. All min
and max specifications are guaranteed, although only those shown in boldface are tested on all production units.
Specifications subject to change without notice.
AD654
REV. B –3–
ABSOLUTE MAXIMUM RATING
Total Supply Voltage +V
S
to –V
S
. . . . . . . . . . . . . . . . . . . 36 V
Maximum Input Voltage
(Pins 3, 4) to –V
S
. . . . . . . . . . . . . . . . . . . . –300 mV to +V
S
Maximum Output Current
Instantaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 mA
Sustained . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 mA
Logic Common to –V
S
. . . . . . . . . . . . . . . –500 mV to (+V
S
–4)
Storage Temperature Range . . . . . . . . . . . . . –65°C to +150°C
ORDERING GUIDE
Model Temperature Range Package Description Package Option
AD654JN –40°C to +85°C 8-Lead Plastic DIP N-8
AD654JR –40°C to +85°C 8-Lead SOIC SO-8
AD654
–4– REV. B
CIRCUIT OPERATION
The AD654’s block diagram appears in Figure 1. A versatile
operational amplifier serves as the input stage; its purpose is to
convert and scale the input voltage signal to a drive current in the
NPN follower. Optimum performance is achieved when, at the
full-scale input voltage, a 1 mA drive current is delivered to the
current-to-frequency converter (an astable multivibrator). The
drive current provides both the bias levels and the charging current
to the externally connected timing capacitor. This “adaptive” bias
scheme allows the oscillator to provide low nonlinearity over
the entire current input range of 100 nA to 2 mA. The square
wave oscillator output goes to the output driver which provides
a floating base drive to the NPN power transistor. This floating
drive allows the logic interface to be referenced to a level other
than –V
S
.
OSC/
DRIVER
AD654
OPTIONAL
RCOMP
CR1
–VS
(
0V TO –15V
)
R1
R2
VIN
+VS
(+5V TO –VS +30) CT+VLOGIC
RPU
FOUT
FOUT =VIN
(10V) (R1 + R2) CT
Figure 1. Standard V-F Connection for Positive Input
Voltages
V/F CONNECTION FOR POSITIVE INPUT VOLTAGES
In the connection scheme of Figure 1, the input amplifier presents
a very high (250 M) impedance to the input voltage, which
is converted into the proper drive current by the scaling resistors
at Pin 3. Resistors R1 and R2 are selected to provide a 1 mA
full-scale current with enough trim range to accommodate the
AD654’s 10% FS error and the components’ tolerances. Full-
scale currents other than 1 mA can be chosen, but linearity will
be reduced; 2 mA is the maximum allowable drive. The AD654’s
positive input voltage range spans from –V
S
(ground in sink supply
operation) to four volts below the positive supply. Power sup-
ply rejection degrades as the input exceeds (+V
S
– 3.75 V) and at
(+V
S
– 3.5 V) the output frequency goes to zero.
As indicated by the scaling relationship in Figure 1, a 0.01 µF
timing capacitor will give a 10 kHz full-scale frequency, and
0.001 µF will give 100 kHz with a 1 mA drive current. Good V/F
linearity requires the use of a capacitor with low dielectric
absorption (DA), while the most stable operation over tempera-
ture calls for a component having a small tempco. Polystyrene,
polypropylene, or Teflon* capacitors are preferred for tempco and
dielectric absorption; other types will degrade linearity. The
capacitor should be wired very close to the AD654. In Figure 1,
Schottky diode CR1 (MBD101) prevents logic common from
dropping more than 500 mV below –V
S
. This diode is not
required if –V
S
is equal to logic common.
V/F CONNECTIONS FOR NEGATIVE INPUT VOLTAGE
OR CURRENT
The AD654 can accommodate a wide range of negative input
voltages with proper selection of the scaling resistor, as indicated
in Figure 2. This connection, unlike the buffered positive con-
nection, is not high impedance because the signal source must
supply the 1 mA FS drive current. However, large negative volt-
ages beyond the supply can be handled easily by modifying the
scaling resistors appropriately. If the input is a true current source,
R1 and R2 are not used. Again, diode CR1 prevents latch-up by
insuring Logic Common does not drop more than 500 mV below
–V
S
. The clamp diode (MBD101) protects the AD654 input
from “below –V
S
” inputs.
OSC/
DRIVER
AD654
OPTIONAL
R
COMP
CR1
–V
S
(0V TO –15V)
R1 R2
+V
S
(+5V TO –V
S
+30) C
T
+V
LOGIC
R
PU
F
OUT
F
OUT
=V
IN
(10V) (R1 + R2) C
T
V
IN
CLAMP
DIODE
Figure 2. V-F Connections for Negative Input Voltages or
Current
OFFSET CALIBRATION
In theory, two adjustments calibrate a V/F: scale and offset. In
practice, most applications find the AD654’s 1 mV max voltage
offset sufficiently low to forgo offset calibration. However, the
input amplifier’s 30 nA (typ) bias currents will generate an offset
due to the difference in dc sound resistance between the input
terminals. This offset can be substantial for large values of R
T
=
R1 + R2 and will vary as the bias currents drift over temperature.
Therefore, to maintain the AD654’s low offset, the application may
require balancing the dc source resistances at the inputs (Pins
3 and 4).
For positive inputs, this is accomplished by adding a compensation
resistor nominally equal to R
T
in series with the input as shown
in Figure 3a. This limits the offset to the product of the 30 nA
bias current and the mismatch between the source resistance R
T
and R
COMP
. A second, smaller offset arises from the inputs’ 5 nA
offset current flowing through the source resistance R
T
or R
COMP
.
For negative input voltage and current connections, the compensa-
tion resistor is added at Pin 4 as shown in Figure 3b in lieu of
grounding the pin directly. For both positive and negative inputs,
the use of R
COMP
may lead to noise coupling at Pin 4 and should
therefore be bypassed for lowest noise operation.
R1 R2
VIN RCOMP
AD654
(OPTIONAL)
C
Figure 3a. Bias Current Compensation—Positive Inputs
*Teflon is a trademark of E.I. Du Pont de Nemours & Co.
AD654
REV. B –5–
(OPTIONAL)
C
R1 R2
VIN
RCOMP
AD654
Figure 3b. Bias Current Compensation—Negative Inputs
If the AD654’s 1 mV offset voltage must be trimmed, the trim
must be performed external to the device. Figure 3c shows an
optional connection for positive inputs in which R
OFF1
and
R
OFF2
add a variable resistance in series with R
T
. A variable
source of ±0.6 V applied to R
OFF1
then adjusts the offset ±1 mV.
Similarly, a ±0.6 V variable source is applied to R
OFF
in Fig-
ure 3d to trim offset for negative inputs. The ±0.6 V bipolar
source could simply be an AD589 reference connected as shown
in Figure 3e.
VIN 10kV
AD654
5kV8.25kV
ROFF2
20V
ROFF1
10kV
60.6V
Figure 3c. Offset Trim Positive Input (10 V FS)
VIN
10kV
AD654
5kV8.25kV
ROFF
5.6MV
60.6V
Figure 3d. Offset Trim Negative Input (–10 V FS)
+5V
R3
10kV
60.6V
R4
10kV
R5
100kV
+
AD589
R1
10kV
R1
10kV
R2
10kV
–5V
Figure 3e. Offset Trim Bias Network
FULL-SCALE CALIBRATION
Full-scale trim is the calibration of the circuit to produce the
desired output frequency with a full-scale input applied. In most
cases this is accomplished by adjusting the scaling resistor R
T
.
Precise calibration of the AD654 requires the use of an accurate
voltage standard set to the desired FS value and an accurate
frequency meter. A scope is handy for monitoring output wave-
shape. Verification of converter linearity requires the use of a
switchable voltage source or DAC having a linearity error below
±0.005%, and the use of long measurement intervals to mini-
mize count uncertainties. Since each AD654 is factory tested for
linearity, it is unnecessary for the end-user to perform this tedious
and time consuming test on a routine basis.
Sufficient FS calibration trim range must be provided to accom-
modate the worst-case sum of all major scaling errors. This
includes the AD654’s 10% full-scale error, the tolerance of the
fixed scaling resistor, and the tolerance of the timing capacitor.
Therefore, with a resistor tolerance of 1% and a capacitor tolerance
of 5%, the fixed part of the scaling resistor should be a maximum
of 84% of nominal, with the variable portion selected to allow
116% of the nominal.
If the input is in the form of a negative current source, the scaling
resistor is no longer required, eliminating the capability of trim-
ming FS frequency in this fashion. Since it is usually not practical
to smoothly vary the capacitance for trimming purposes, an
alternative scheme such as the one shown in Figure 4 is needed.
Designed for a FS of 1 mA, this circuit divides the input into two
AD654
ROFF
100kV
R4
392VR3
1kV
60.6V
*
*OPTIONAL
OFFSET TRIM
f = IS
(20V) CT
IR
–V
1mA
FS
IS
R2
100V
R1
100V
Figure 4. Current Source FS Trim
and flowing into Pin 3; it constitutes the signal current I
T
to be
converted. The second path, through another 100 resistor R2,
carries the same nominal current. Two equal valued resistors
offer the best overall stability, and should be either 1% discrete
film units, or a pair from a common array.
Since the 1 mA FS input current is divided into two 500 µA legs
(one to ground and one to Pin 3), the total input signal current
(I
S
) is divided by a factor of two in this network. To achieve the
same conversion scale factor, C
T
must be reduced by a factor of
two. This results in a transfer unique to this hookup:
f=IS
(20 V)C
T
For calibration purposes, resistors R3 and R4 are added to the
network, allowing a ±15% trim of scale factor with the values
shown. By varying R4’s value the trim range can be modified to
accommodate wider tolerance components or perhaps the cali-
bration tolerance on a current output transducer such as the
AD592 temperature sensor. Although the values of R1–R4 shown
are valid for 1 mA FS signals only, they can be scaled upward
proportionately for lower FS currents. For instance, they should
be increased by a factor of ten for a FS current of 100 µA.
In addition to the offsets generated by the input amplifier’s bias
and offset currents, an offset voltage induced parasitic current
arises from the current fork input network. These effects are
minimized by using the bias current compensation resistor R
OFF
and offset trim scheme shown in Figure 3e.
Although device warm-up drifts are small, it is good practice to
allow the devices operating environment to stabilize before trim,
AD654
–6– REV. B
and insure the supply, source and load are appropriate. If provision
is made to trim offset, begin by setting the input to 1/10,000 of
full scale. Adjust the offset pot until the output is 1/10,000 of
full scale (for example, 25 Hz for a FS of 250 kHz). This is most
easily accomplished using a frequency meter connected to the
output. The FS input should then be applied and the gain pot
should be adjusted until the desired FS frequency is indicated.
INPUT PROTECTION
The AD654 was designed to be used with a minimum of additional
hardware. However, the successful application of a precision IC
involves a good understanding of possible pitfalls and the use of
suitable precautions. Thus +V
IN
and R
T
pins should not be driven
more than 300 mV below –V
S
. Likewise, Logic Common should
not drop more than 500 mV below –V
S
. This would cause inter-
nal junctions to conduct, possibly damaging the IC. In addition
to the diode shown in Figures 1 and 2 protecting Logic Common,
a second Schottky diode (MBD101) can protect the AD654’s
inputs from “below –V
S
’’ inputs as shown in Figure 5. It is also
desirable not to drive +V
IN
and R
T
above +V
S
. In operation, the
converter will exhibit a zero output for inputs above (+V
S
– 3.5 V).
Also, control currents above 2 mA will increase nonlinearity.
The AD654’s 80 dB dynamic range guarantees operation from a
control current of 1 mA (nominal FS) down to 100 nA (equiva-
lent to 1 mV to 10 V FS). Below 100 nA improper operation of
the oscillator may result, causing a false indication of input
amplitude. In many cases this might be due to short-lived noise
spikes which become added to input. For example, when scaled
to accept an FS input of 1 V, the –80 dB level is only 100 µV, so
when the mean input is only 60 dB below FS (1 mV), noise spikes
of 0.9 mV are sufficient to cause momentary malfunction.
This effect can be minimized by using a simple low-pass filter
ahead of the converter or a guard ring around the R
T
pin. The
filter can be assembled using the bias current compensation
resistor discussed in the previous section. For an FS of 10 kHz,
a single-pole filter with a time constant of 100 ms will be suitable,
but the optimum configuration will depend on the application
and the type of signal processing. Noise spikes are only likely to
be a cause of error when the input current remains near its mini-
mum value for long periods of time; above 100 nA full integration
of additive input noise occurs. Like the inputs, the capacitor
terminals are sensitive to interference from other signals. The
timing capacitor should be located as close as possible to the
AD654 to minimize signal pickup in the leads. In some cases,
guard rings or shielding may be required.
AD654
MBD101
IIN
Figure 5. Input Protection
DECOUPLING
It is good engineering practice to use bypass capacitors on the
supply-voltage pins and to insert small-valued resistors (10 to
100 ) in the supply lines to provide a measure of decoupling
between the various circuits in the system. Ceramic capacitors
of 0.1 µF to 1.0 µF should be applied between the supply-
voltage pins and analog signal ground for proper bypassing on
the AD654. A proper ground scheme appears in Figure 6.
8
1
7
2
6
3
5
4
AD654
+5V
GND
DIGITAL
P.S.
10V
0.1mF
C
T
R
T
R
PU
f
OUT
AGND
V
IN
Figure 6. Proper Ground Scheme
OUTPUT INTERFACING CONSIDERATION
The output stage’s design allows easy interfacing to all digital logic
families. The output NPN transistor’s emitter and collector are
both uncommitted. The emitter can be tied to any voltage between
–V
S
and 4 volts below +V
S
, and the open collector can be pulled
up to a voltage 36 volts above the emitter regardless of +V
S
. The
high power output stage can sink over 10 mA at a maximum
saturation voltage of 0.4 V. The stage limits the output current
at 25 mA and can handle this limit indefinitely without damag-
ing the device.
NONLINEARITY SPECIFICATION
The preferred method of specifying nonlinearity error is in terms
of maximum deviation from the ideal relationship after calibrat-
ing the converter at full scale. This error will vary with the full
scale frequency and the mode of operation. The AD654 operates
best at a 150 kHz full-scale frequency with a negative voltage input;
the linearity is typically within 0.05%. Operating at higher fre-
quencies or with positive inputs will degrade the linearity as
indicated in the Specifications Table. Typical linearity at various
temperatures is shown in Figure 7.
FULL-SCALE FREQUENCY – kHz
10
0.0110
MAXIMUM NONLINEARITY – %
1
150 250 350 500
5
0.5
0.10
0.05
fAMB = –408C
fAMB = 08C TO +858C
Figure 7. Typical Nonlinearities at Different Full-Scale
Frequencies
AD654
REV. B –7–
TWO-WIRE TEMPERATURE-TO-FREQUENCY
CONVERSION
Figure 8 shows the AD654 in a two-wire temperature-to-frequency
conversion scheme. The twisted pair transmission line serves the
dual purpose of supplying power to the device and also carrying
frequency data in the form of current modulation.
The positive supply line is fed to the remote V/F through a
140 resistor. This resistor is selected such that the quiescent
current of the AD654 will cause less than one V
BE
to be dropped.
As the V/F oscillates, additional switched current is drawn through
R
L
when Pin 1 goes low. The peak level of this additional cur-
rent causes Q1 to saturate, and thus regenerates the AD654’s
output square wave at the collector. The supply voltage to the
AD654 then consists of a dc level, less the resistive line drop, plus a
one V
BE
p-p square wave at the output frequency of the AD654.
This ripple is reduced by the diode/capacitor combination.
To set up the receiver circuit for a given voltage, the R
S
and R
L
resistances are selected as shown in Table I. CMOS logic stages
can be driven directly from the collector of Q1, and a single TTL
load can be driven from the junction of R
S
and R6.
Table I.
+V
S
R
S
()R
L
()
10 V 270 1.8k
15 V 680 2.7k
Table II.
(+V
S
) R1 () R2 () R3 () R4 () R5 ()
K10 V 100k 127k F = 10 Hz/K
15 V 100k 127k
°C10 V 6.49k 4.02k 1k 95.3k 22.6k F = 10 Hz/°C
15 V 12.7k 4.02k 1k 78.7k 36.5k
°F10 V 6.49k 4.42k 1k 154k 22.6k F = 5.55 Hz/°F
15 V 12.7k 4.42k 1k 105k 36.5k
At the V/F end, the AD592C temperature transducer is inter-
faced with the AD654 in such a manner that the AD654 output
frequency is proportional to temperature. The output frequency
can be sealed and offset from K to °C or °F using the resistor
values shown in Table II. Since temperature is the parameter of
interest, an NPO ceramic capacitor is used as the timing capaci-
tor for low V/F TC.
When scaling per K, resistors R1–R3 and the AD589 voltage
reference are not used. The AD592 produces a 1 µA/K current
output which drives Pin 3 of the AD654. With the timing
capacitor of 0.01 µF this produces an output frequency scaled to
10 Hz/K. When scaling per °C and °F, the AD589 and resistors
R1–R3 offset the drive current at Pin 3 by 273.2 µA for scaling
per °C and 255.42 µA for scaling per °F. This will result in fre-
quencies sealed at 10 Hz/°C and 5.55 Hz/°F, respectively.
OPTOISOLATOR COUPLING
A popular method of isolated signal coupling is via optoelec-
tronic isolators, or optocouplers. In this type of device, the signal is
coupled from an input LED to an output photo-transistor, with
light as the connecting medium. This technique allows dc to be
transmitted, is extremely useful in overcoming ground loop
problems between equipment, and is applicable over a wide
range of speeds and power.
Figure 9 shows a general purpose isolated V/F circuit using a
low cost 4N37 optoisolator. A +5 V power supply is assumed for
both the isolated (+5 V isolated) and local (+5 V local) supplies.
The input LED of the isolator is driven from the collector out-
put of the AD654, with a 9 mA current level established by R1
for high speed, as well as for a 100% current transfer ratio.
5V
(ISOLATED)
R1
390V
4N37
OPTO-ISOLATOR
5V
(LOCAL)
GRN
LED
OSC/
DRIVER
RT
1kV
VIN
(0V TO 1V)
CT
1000pF
AD654
R3
270V
74LS14
Q1
2N3904
R2
120V
V/F OUTPUT
FS = 100kHz
TTL
ISOLATED LOCAL
Figure 9. Optoisolator Interface
OSC/
DRIVER
AD654
VS
(10V TO 15V)
CT
0.01mF
f =IT
(10V) CT
RT
1mF
1N4148
R4
R5
R1
R2
R3
+
AD589
AD592
140V
RS
R6
220V
Q1
2N3906 CMOS
OUTPUT
TTL
OUTPUT
(1 LOAD)
1mA/kV
Figure 8. Two-Wire Temperature-to-Frequency Converter
AD654
–8– REV. B
At the receiver side, the output transistor is operated in the
photo-transistor mode; that is with the base lead (Pin 6) open.
This allows the highest possible output current. For reasonable
speed in this mode, it is imperative that the load impedance be
as low as possible. This is provided by the single transistor stage
current-to-voltage converter, which has a dynamic load imped-
ance of less than 10 ohms and interfaces with TTL at the output.
USING A STAND-ALONE FREQUENCY COUNTER/LED
DISPLAY DRIVER FOR VOLTMETER APPLICATIONS
Figure 10 shows the AD654 used with a stand-alone frequency
counter/LED display driver. With C
T
= 1000 pF and R
T
= 1 k
the AD654 produces an FS frequency of 100 kHz when V
IN
=
+1 V. This signal is fed into the ICM7226A, a universal counter
system that drives common anode LEDs. With the FUNCTION
pin tied to D1 through a 10 k resistor the ICM7226A counts the
frequency of the signal at A
IN
. This count period is selected by
the user and can be 10 ms, 100 ms, 1s, or 10 seconds, as shown on
Pin 21. The longer the period selected, the more resolution the
count will have. The ICM7226A then displays the frequency on
the LEDs, driving them directly as shown. Refreshing of the LEDs
is handled automatically by the ICM7226. The entire circuit op-
erates on a single +5 V supply and gives a meter with 3, 4, or 5
digit resolution.
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
8
7
6
5
1
2
3
4
V
IN
(0V TO 1V)
5V 5V
1kV
1000pF
500V825V
1kV
AD654
DI PIN 30 10kV
30kV
5V
5V
10MHz
CRYSTAL
22MV
39pF 39pF
5V 5V
10kV
5V
D1 (10ms)
D2 (100ms)
D3 (1s)
D4 (10s)
4
8
8
D.P. g e d c b af
LED
OVERFLOW
INDICATOR
D8 D7 D6 D5 D4 D3 D2 D1
AIN
HOLD
NC
OSL JN
OSL OUT
NC
D1
D2
D3
D4
D5
V+
D6
D7
D8
RANGE
ICM7226A
FUNCTION
dp
e
g
a
GND
d
b
c
f
+
N
C
= N
O
CO
NNE
C
T
Figure 10. AD654 With Stand-Alone Frequency Counter/
LED Display Driver
Longer count periods not only result in the count having more
resolution, they also serve as an integration of noisy analog signals.
For example, a normal-mode 60 Hz sine wave riding on the input
of the AD654 will result in the output frequency increasing on
the positive half of the sine wave and decreasing on the negative
half of the sine wave. This effect is cancelled by selecting a count
period equal to an integral number of noise signal periods. A
100 ms count period is effective because it not only has an inte-
gral number of 60 Hz cycles (6), it also has an integral number
of 50 Hz cycles (5). This is also true of the 1 second and 10 sec-
ond count period.
AD654-BASED ANALOG-TO-DIGITAL CONVERSION
USING A SINGLE CHIP MICROCOMPUTER
The AD654 can serve as an analog-to-digital converter when
used with a single component microcomputer that has an inter-
val timer/event counter such as the 8048. Figure 11 shows the
AD654, with a full-scale input voltage of +1 V and a full-scale
output frequency of 100 kHz, connected to the timer/counter
input Pin T1 of the 8048. Such a system can also operate on a
single +5 V supply.
The 8748 counter is negative edge triggered; after the STRT
CNT instruction is executed subsequent high to low transitions
on T1 increment the counter. The maximum rate at which the
counter may be incremented is once per three instruction cycles;
using a 6 MHz crystal, this corresponds to once every 7.5 µs, or
a maximum frequency of 133 kHz. Because the counter overflows
every 256 counts (8 bits), the timer interrupt is enabled. Each
overflow then causes a jump to a subroutine where a register is
incremented. After the STOP TCNT instruction is executed, the
number of overflows that have occurred will be the number in
this register. The number in this register multiplied by 256 plus
the number in the counter will be the total number of negative
edges counted during the count period. The count period is
handled simply by decrementing a register the number of times
necessary to correspond to the desired count time. After the
register has been decremented the required number of times the
STOP TCNT instruction is executed.
The total number of negative edges counted during the count
period is proportional to the input voltage. For example, if a 1 V
full-scale input voltage produces a 100 kHz signal and the count
period is 100 ms, then the total count will be 10,000. Scaling
from this maximum is then used to determine the input voltage,
i.e., a count of 5000 corresponds to an input voltage of 0.5 V.
As with the ICM7226, longer count times result in counts hav-
ing more resolution; and they result in the integration of noisy
analog signals.
AD654
REV. B –9–
8
7
6
5
1
2
3
4
AD654
1kV
VIN
(0V TO 1V)
1000pF
5V
10kV
825V
1%
500V
A
D
+
6MHz
20pF
20pF
1mF
XTAL1
XTAL2
RESET
EA
SS
INT
T0
T1
P10
P17
P20
P27
DB0
DB7
PORT 1
PORT 2
BUS
PORT
VCC VDD VSS
5V GND
ALE PSEN PROG WR RD
8048
NC
NC NC NC = NO CONNECT
Figure 11. AD654 VFC as an ADC
FREQUENCY DOUBLING
Since the AD654’s output is a square-wave rather than a pulse
train, information about the input signal is carried on both
halves of the output waveform. The circuit in Figure 12 converts
the output into a pulse train, effectively doubling the output
frequency, while preserving the better low frequency linearity of
the AD654. This circuit also accommodates an input voltage
that is greater than the AD654 supply voltage.
Resistors R1–R3 are used to scale the 0 V to +10 V input voltage
down to 0 V to +1 V as seen at Pin 4 of the AD654. Recall that
V
IN
must be less than V
SUPPLY
–4 V, or in this case less than 1 V.
The timing resistor and capacitor are selected such that this 0 V
to +1 V signal seen at Pin 4 results in a 0 kHz to 200 kHz output
frequency.
The use of R4, C1 and the XOR gate doubles this 200 kHz
output frequency to 400 kHz. The AD654 output transistor is
basically used as a switch, switching capacitor C1 between a
charging mode and a discharging mode of operation. The voltages
seen at the input of the 74LS86 are shown in the waveform dia-
gram. Due to the difference in the charge and discharge time
constants, the output pulse widths of the 74LS86 are not equal.
The output pulse is wider when the capacitor is charging due to
its longer rise time than fall time. The pulses should therefore be
counted on their rising, rather than falling, edges.
AD654
RT
1kVCT
500pF
RPU
2.87kV
R3
1kV
R2
2kV
R1
8.06kV
C1
1000pF
R4
1kV
5V
A
B
C
74LS86
VIN
(0V TO 10V)
V/F OUTPUT
FS = 400MHz
OFF
ON
V
0
V
0
5
0
TRANSISTOR
A
B
C
WAVEFORM DIAGRAM
OSC/
DRIVER
Figure 12. Frequency Doubler
AD654
–10– REV. B
8
7
6
5
1
2
3
4
AD654
68kV
1kV
VIN
(0V TO 1V)
CT
100pF
+5V
0.1mF
0.1mFRT = 1kV
+
A
J270
J270
Q1
Q2
MINIMUM
DISTANCE
+15V
V1
68kV
V2 10mF
10mF
+
5.9kV
1%
(32)
R7
8.2V
MINIMUM
DISTANCE
0.1mF
10mF
D–5V
V3
A3-a A3-b
18V
470pF
A3-c
A3-d V4
A3 = 74LS86
A2
LM360
D
10mF
0.1mF
+15V
Figure 13. 2 MHz, Frequency Doubling V/F
OPERATION AT HIGHER OUTPUT FREQUENCIES
Operation of the AD654 via the conventional output (Pins 1 and
2) is speed limited to approximately 500 kHz for reasons of TTL
logic compatibility. Although the output stage may become
speed limited, the multivibrator core itself is able to oscillate to
1 MHz or more. The designer may take advantage of this feature in
order to operate the device at frequencies in excess of 500 kHz.
Figure 13 illustrates this with a circuit offering 2 MHz full scale.
In this circuit the AD654 is operated at a full scale (FS) of 1 mA,
with a C
T
of 100 pF. This achieves a basic device FS frequency
of 1 MHz across C
T
. The P channel JFETs, Q1 and Q2, buffer
the differential timing capacitor waveforms to a low impedance
level where the push-pull signal is then ac coupled to the high speed
comparator A2. Hysteresis is used, via R7, for nonambiguous
switching and to eliminate the oscillations which would other-
wise occur at low frequencies.
The net result of this is a very high speed circuit which does not
compromise the AD654 dynamic range. This is a result of the FET
buffers typically having only a few pA of bias current. The high
end dynamic range is limited, however, by parasitic package and
layout capacitances in shunt with C
T
, as well as those from each node
to ac ground. Minimizing the lead length between A2–6/A2–7 and
Q1/Q2 in PC layout will help. A ground plane will also help
stability. Figure 14 shows the waveforms V1–V4 found at the
respective points shown in Figure 13.
The output of the comparator is a complementary square wave
at 1 MHz FS. Unlike pulse train output V/F converters, each
half-cycle of the AD654 output conveys information about the
input. Thus it is possible to count edges, rather than full cycles
of the output, and double the effective output frequency. The
XOR gate following A2 acts as an edge detector producing a short
pulse for each input state transition. This effectively doubles the
V/F FS frequency to 2 MHz. The final result is a 1 V full-scale
input V/F with a 2 MHz full-scale output capability; typical
nonlinearity is 0.5%.
100
90
10
0%
500ns
2V 5V
2V 5V
2V
0
2V
0
5V
0
5V
0
V1
V2
V3
V4
Figure 14. Waveforms of 2 MHz Frequency Doubler
AD654
REV. B –11–
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
8-Lead Plastic DIP (N-8)
8
14
5
0.430 (10.92)
0.348 (8.84)
0.280 (7.11)
0.240 (6.10)
PIN 1
0.100 (2.54)
BSC
SEATING
PLANE
0.022 (0.558)
0.014 (0.356)
0.060 (1.52)
0.015 (0.38)
0.210 (5.33)
MAX 0.130
(3.30)
MIN
0.070 (1.77)
0.045 (1.15)
0.160 (4.06)
0.115 (2.93)
0.325 (8.25)
0.300 (7.62)
0.015 (0.381)
0.008 (0.204)
0.195 (4.95)
0.115 (2.93)
8-Lead SOIC (SO-8)
(Narrow Body)
85
41
0. 1968 (5.00)
0. 1890 (4.80)
0.2440 (6.20)
0.2284 (5.80)
PIN 1
0.1574 (4.00)
0.1497 (3.80)
0.0500 (1.27)
BSC 0.0688 (1.75)
0.0532 (1.35)
SEATING
PLANE
0.0098 (0.25)
0.0040 (0.10) 0.0192 (0.49)
0.0138 (0.35) 0.0098 (0.25)
0.0075 (0.19)
0.0500 (1.27)
0.0160 (0.41)
88
08
0.0196 (0.50)
0.0099 (0.25) x 458
C900d–0–12/99 (rev. B)
PRINTED IN U.S.A.