You are on page 1of 20

Application Note 14

March 1986

Designs for High Performance Voltage-to-Frequency


Converters
Jim Williams

Monolithic, modular and hybrid technologies have been The positive input voltage causes A1, the servo amplifier,
used to implement voltage-to-frequency converters. A to swing positive. The 2N3904 current sink pulls current
number of types are commercially available and overall (Trace A, Figure 2) from the varactor diode, serving as an
performance is adequate to meet many requirements. In integrated capacitor. A3 unloads the varactor and biases
many cases, however, very high performance or special a trigger made up of the ECL gate and its associated
characteristics are required and available units will not work. components. This circuit, similar to those employed in
In these instances V→F circuits specifically optimized for oscilloscope triggering applications, features voltage
the desired parameters(s) are required. This application threshold hysteresis and 1ns response time. When A3
note presents examples of circuits which offer substan- ramps to the trigger’s lower trip point, its outputs reverse
tially improved performance over commercially available state. The inverting output, operating as an unterminated
V→Fs. Various approaches (see Box Section, “V→F emitter-follower, deposits a fast positive current spike
Design Techniques”) permit improvements in speed, dy- (Trace B) into the varactor diode integrator. The trigger-
namic range, stability and linearity. Other circuits feature gate’s complementary output goes low (Trace C), clocking
low voltage operation, sine wave output and deliberate the ECL ÷ 16 counter. This counter’s output (Trace D), level
nonlinear transfer functions. shifted by the differential pair of 2N5160s, feeds the 4013
flip-flop. The 4013’s square wave drive (Trace E) to the
Ultra-High Speed 1Hz to 100MHz V→F Converter LTC1043 provides charge pump action. The switch-capaci-
Figure 1’s circuit uses a variety of circuit methods to tor pairs in the LTC1043 run out of phase and charge is
achieve wider dynamic range and higher speed than any pumped (Trace F) from A1’s positive input on each edge of
commercial V→F. Rocketing along at 100MHz full-scale the LTC1043’s square wave input. The amount of charge
(10% overrange to 110MHz is provided), it leaves all other delivered per cycle is primarily dependent on the LT®1009
V→Fs far behind. The circuit’s 160dB dynamic range voltage reference and the 100pF value of the capacitors
(8 decades) allows continuous operation down to 1Hz. (Q = CV). The slight difference between the charge delivered
Additional specifications include 0.06% linearity, 25ppm/°C on the clock’s rising and falling edge is due to capacitor
gain temperature coefficient, 50nV/°C (0.5Hz/°C) zero shift tolerances and does not influence circuit operation. The
and a 0V to 10V input range. charge pump’s overall accuracy is determined by the
stability of the LT1009 and the capacitors and the low
In this circuit an LTC®1052 chopper-stabilized amplifier charge injection of the LTC1043. The ECL counter and
servo-biases a crude by wide range V→F converter. The the flip-flop divide the trigger’s output by 32, setting the
V→F output drives a charge pump. The averaged differ- LTC1043’s maximum switching frequency at about 3MHz
ence between the charge pump’s output and the circuit’s (100MHz ÷ 32); within its specified operating range. The
input biases the servo amplifier, closing a control loop 0.22μF capacitor integrates the pumping action to DC. The
around the wide range V→F. The circuit’s wide dynamic averaged difference between the positive input-derived
range and high speed are derived from the basic V→F’s current and the charge pump feedback signal is amplified
characteristics. The chopper-stabilized amplifier and charge by A1, which servo-controls the circuit’s operating point.
pump stabilize the circuit’s operating point, contributing The compensation capacitor at A1 provides stable loop
high linearity and low drift. The LTC1052’s 50nV/°C offset compensation. Nonlinearity and drift in the basic V→F
drift allows the circuit’s 100nV/Hz gain slope, permitting L, LT, LTC, LTM, Linear Technology and the Linear logo are registered trademarks of Linear
operation down to 1Hz. Technology Corporation. All other trademarks are the property of their respective owners.
an14f

AN14-1
Application Note 14
1/4 MC10H102
4pF
15V 5.2V BUFFER TRIGGER
CURRENT SINK 15V
7.5V ECL ÷ 16
LT317A 7.5V 220 1/4 MC10H102
5.2V 390 620 LEVEL SHIFT
121Ω 5.2V
1000M
A3 82Ω 12
EL2004 9 MC10136
390Ω 13 CK ÷16 2N5160 5.2V
2N3904 S1 CARRY IN
15 390
D Q
7.5V 12k 120Ω 2k 390 ÷2 CHARGE
CK CD4013
PUMP DRIVE
Q
LT317A –5V 620
1/4 MC10H102
200k
121Ω –5V –5V OUTPUT
RAMP RESET
1Hz TO 100MHz
–5V
MV209 390
619Ω 5pF TO 40pF SERVO AMP 5.2V –5V LT1009
–5V 2.5V 220
1μF 0.1 0.1 4 17 16
–5V
1k CHARGE PUMP LTC1043
–15V LT337A + 8 7
8.2k A1
5k** 0.22
121Ω LTC1052
43k 30k
–5V – 11
360Ω CCOMP
– 100pF† 100*
5.2V
A2 (SEE TEXT) 10k 12
16k
1/2 LT1013
+ 2k 50k
100MHz 200
VARACTOR BIAS AMP TRIM 14 13
INPUT
0V TO 10V 10k 10M
1Hz 6 5
TRIM
200
EL2004 = ELANTEC 10k 2
†POLYSTYRENE
*1% FILM RESISTOR 50k
**TRW MTR-5 120ppm/°C 100pF† 1μF
–5V
10k 3

50k
– LINEARITY 18 15
TRIM
A4 AN14 F01
1/2 LT1013
+
LINEARITY BIAS AMP

Figure 1. 1Hz to 100MHz Voltage-to-Frequency Converter (King Kong V→F)

A = 1V/DIV (AC-COUPLED)
B = 5mA/DIV

C = 1V/DIV (AC-COUPLED)

D = 1V/DIV (AC-COUPLED)

E = 10V/DIV

E = 5mA/DIV

AN14 F02
HORIZONTAL = 100ns/DIV

Figure 2. 1Hz to 100MHz V→F Waveforms

an14f

AN14-2
Application Note 14
circuit are compensated by A1’s servo action, resulting in The 100MHz full-scale frequency sets stringent restric-
the high linearity and low drift previously noted. tions on oscillator cycle time. At this frequency only 10ns
Some special techniques are required for this circuit to is available for a complete ramp-and-reset sequence. The
achieve its specifications. A2, driven from the input volt- ultimate limitation on speed in the circuit is the time required
age, provides DC bias for the varactor diode-integrating to reset the varactor integrator. Figure 3 shows high speed
capacitor. This DC bias causes the varactor’s capacitance details. The combination of a small amplitude ramp and
to vary inversely with input, helping the circuit achieve fast ECL switching yields the necessary high speed opera-
its 8-decade dynamic range. The 1μF capacitor, in series tion. Trace A is the ramp and Trace B is the reset current
with the varactor, gives the relatively large ramp currents from the ECL gate’s open emitter. Note that reset occurs
a low impedance path to ground. The 1000M resistor in 3.5ns, with little aberration or overshoot.
in the current sink sources enough current to swamp Figure 4 plots output frequency jitter as a function of fre-
the effects of all leakages from the 2N3904 collector. quency. At 100MHz, jitter is 0.01%, falling to about 0.002%
This ensures that current must always be sunk from the at 1MHz. In this range the jitter is dominated by noise in the
varactor-integrator to sustain oscillation, even at the very current source and ECL inputs. Below this, jitter slowly rises
lowest frequencies. as operating frequency approaches the servo amplifier’s
The 200k diode combination in the 2N3904’s emitter roll off. At 1kHz (10ppm of full scale) jitter is still below
reduces low frequency jitter. It does this by reducing cur- 1%, with about 10% jitter at 1Hz (0.01ppm) for CCOMP =
1μF. With CCOMP = 0.1μF, jitter increases below 1kHz and
rent sink noise at low frequencies by increasing emitter
operation below 10Hz is not possible due to loop instability
resistance at low base bias voltages.
and A1’s noise floor. The trade-off is loop settling time.
The 2k pull-down resistor at the trigger input ensures With the larger compensation capacitor the loop settles
clean, quick transitions at low ramp slew rates, aiding low in 600ms. The 0.1μF value permits 60ms settling.
frequency jitter performance.
To calibrate this circuit, apply 10.000V and trim the 100MHz
The 5k input resistor specified has a temperature coef- adjustment for 100.00MHz at the output. If a fast enough
ficient which opposes that of the polystyrene capacitors in counter is not available, the ÷32 signal at Pin 16 of the
the charge pump. This reduces the effect of their tempco, LTC1043 will read 3.1250MHz. Next, ground the input,
lowering overall circuit gain drift. install CCOMP = 1μF and adjust the “1Hz trim” until the
A4 supplies a small, input-related current to the charge circuit oscillates at 1Hz. Finally, set the “linearity trim” to
pump’s voltage reference, correcting nonlinear terms due 50.00MHz for a 5.000V input. Repeat these adjustments
to residual charge imbalance in the LTC1043. The input- until all three points are fixed.
derived correction is effective because the effect of this
imbalance varies directly with frequency.
JITTER AS A PERCENT OF FREQUENCY
1 SECOND SAMPLE TIME

LOOP DOMINATED
100
10
CCOMP = 0.1μF

A = 200mV/DIV CCOMP = μF
(AC-COUPLED) 0.1 NOISE DOMINATED
0.01
0.001
B = 10mA/DIV
1 10 100 1k 10k 100k 1M 10M100M
FREQUENCY (Hz)
0.000001 0.0001 0.01 0.1 1 10 100
AN14 F03
HORIZONTAL = 10ns/DIV PERCENT OF FULL-SCALE AN14 F04

Figure 3. Ramp and Reset Current Detail at 50MHz Figure 4. Jitter vs Output Frequency
an14f

AN14-3
Application Note 14
Fast Response 1Hz to 2.5MHz V→F Converter
Figure 5’s circuit is not nearly as fast as Figure 1’s, but uses charge feedback. The charge feedback scheme used
its 2.5MHz output settles from a full-scale input step in is a highly modified, high speed variant of the approach
only 3μs. This makes the circuit a good candidate for FM originally described by R. A. Pease (see References). A
applications or any area where fast response to input servo amplifier is not used, permitting fast response to
movement is required. Linearity is 0.05% with a 50ppm/°C input steps. Instead, the charge is fed back directly to the
gain tempco. A chopper-stabilized correction network oscillator, which can respond immediately. Although this
holds zero-point error to 0.025Hz/°C. This circuit, a high approach permits fast response, it also requires attention
speed charge-dispensing type (see Box Section) also to parasitics to achieve high linearity and low drift.

D2 D1 180 LT1004 5V
5V 1k 1.2V 1k
5V
50k
Q1 360
2N3904 50pF† 220pF
120 OUTPUT
1Hz TO 2.5MHz
5V
Q2 2.4k
Q3
2N3904 2N2369
5k
2.5MHz 220pF
TRIM
24k* – 100pF 5V 5V
INPUT
0V TO 5V 1k –
A1 74C04
LTC1056 820Ω
(6)
+ A2 1
1k 1/2 LT319A
+ 2
10k

3.3pF
–5V
1000pF –
1M A3 1k
100k –5V
LTC1052
+

0.1 0.1 *TRW MTR-5/120ppm/°C


†POLYSTYRENE

–5V = 1N4148

200k
+ 5V
6 A4
5V 0.1
1/2 LT319A

7
AN14 F05
1k 470

Figure 5. 1Hz to 2.5MHz Fast Response V→F

an14f

AN14-4
Application Note 14
When an input voltage is applied, A1 integrates in a negative negative input ensures that the start-up loop will dominate
direction (Trace A, Figure 6). When its output crosses zero, over any input condition.
A2’s output switches, causing the paralleled inverters to
The 50k resistor across the 50pF charge-dispensing capaci-
go low (Trace B). The feedforward network in A2’s nega-
tor improves linearity by permitting complete discharge on
tive input aids response. This causes the LT1004 diode
each cycle, despite junction tailing effects in Q2. The input
bridge to bound at –2.4V (–VZ LT1004) + (–2VFWD). Local
resistor specified has a temperature coefficient opposite
positive feedback at A2’s positive input (Trace C) reinforces
that of the capacitor’s enhancing circuit gain tempco.
this action. During this interval, charge is pulled (Trace D)
from A1’s summing junction via the 50pF-50k combination, Figure 7 shows circuit step response. Trace A is the in-
forcing A1’s output to move quickly positive. This causes put, while Trace B is the output. Frequency shift is quick
the A2 inverter combination to switch positive (Trace B), and clean, with no evidence of poor dynamics or time
bounding the LT1004 diode bridge at 2.4V. Now the 50pF constants.
capacitor receives charge, while A1 again integrates nega- To trim the circuit, apply 5.000V and adjust the 5k potenti-
tive, and the entire cycle repeats. The frequency of this ometer for a 2.500MHz output. A3’s low offset eliminates
action is a linear function of the input voltage. the requirement for a zero trim. The circuit maintains
D1 and D2 compensate the diodes in the bridge. Diode- 0.05% linearity with 50ppm/°C drift from 1Hz to 2.5MHz.
connected Q1 compensates steering diode Q2. (The The TTL-compatible output is available at Q3’s collector
diode-connected transistors provide lower leakage from (Trace E). A 10MHz full-scale circuit of this type appears
the summing junction than conventional diodes.) A3, a in AN13.
chopper-stabilized op amp, offset stabilizes A1, eliminating
the necessity for zero trimming. High Stability Quartz Stabilized V→F Converter
A4 guards against circuit latch-up, which can occur due The gain temperature coefficient of the previous circuits
to the AC-coupled feedback loop. If the circuit latches, is affected by drift in the charge pumping capacitors.
A1’s output goes to the negative rail and stays there. Although compensation schemes were employed in both
This causes A4’s output (A4 is used in emitter-follower cases to minimize the effect of this drift, another approach
output mode) to go high. A1’s output now heads positive, is required to get significantly lower gain drift.
initiating normal circuit behavior. The diode at A1’s

A = 500mV/DIV

B = 10V/DIV

C = 500mV/DIV A = 5V/DIV
D = 10mA/DIV

B = 5V/DIV
E = 5V/DIV

AN14 F06 AN14 F07


HORIZONTAL = 100ns/DIV HORIZONTAL = 2μs/DIV

Figure 6. Fast Response V→F Waveforms Figure 7. Step Response of 2.5MHz V→F

an14f

AN14-5
Application Note 14
Figure 8’s circuit reduces gain TC to 5ppm/°C by replacing threshold. The 50kHz clock (Trace C) comes from the flip-
the capacitor with a quartz-stabilized clock. flop’s other half, which is driven by A2, a quartz-stabilized
In charge pump-based circuits the feedback is based on relaxation oscillator. The flip-flop’s Q1 output controls
Q = CV. In a quartz-stabilized circuit the feedback is based the gating of a precision current sink composed of A3,
on Q = IT, where I is a stable current source and T is an the LM199 voltage reference, a FET and the LTC1043
interval of time derived from the clock. switch. When A1 is integrating negative, the Q1 output
is high and the LTC1043 directs the current sink’s output
Figure 9 details Figure 8’s waveforms of operation. A to ground via Pins 11 and 7. When A1’s output crosses
positive input voltage causes A1 to integrate in the nega- the D input’s switching threshold, Q1 goes low at the first
tive direction (Trace A, Figure 9). The flip-flop’s Q1 output positive clock edge. LTC1043 Pins 11 and 8 close and a
(Trace B) changes state at the first positive-going clock precise, quickly rising current flows out of A1’s summing
edge after A1’s output has crossed the D input’s switching point (Trace D).

15V
2k
24k NC 2N3904 1μF
10kHz 15V +
VISHAY
TRIM
INPUT
S-102 – 0.1μF
0V TO 10V 1k S1 R1 S2 R2 –15V 50k
A1
LT1056 D1 D2 –
+ CK1 74C74 Q2 7 A2 100kHz
Q1 CK2 82pF AT CUT
LT1011
Q1 Q2 1 +
–15V
10k
–15V

10k
16
1/4 LTC1043
8 7 1μF
NC 2N3904 +
+V
–15V OUTPUT
11
–V 0kHz TO 10kHz
15V
15V
1k
+
A3
LT1001
– LM199

AN14 F08
–15V

3.5k –15V
VISHAY S-102

–15V

Figure 8. Quartz-Stabilized V→F

A = 0.5V/DIV
(AC-COUPLED)
B = 20V/DIV

C = 20V/DIV

D = 5mA/DIV
AN14 F09
HORIZONTAL = 20μs/DIV

Figure 9. Waveforms for Quartz-Stabilized V→F


an14f

AN14-6
Application Note 14
This current, scaled to be greater than the maximum sig- Additionally, short-term frequency jitter may occur because
nal-derived input current, causes A1’s output to reverse of the uncertain timing relationship between A1’s output
direction. At the first positive clock pulse after A1’s output switching the flip-flop and the clock phase. This is normally
crosses the D input’s trip point, switching again occurs not a problem because the circuit’s output is usually read
and the entire process repeats. The repetition frequency over many cycles, e.g., 0.1 to 1 second.
depends on the input-derived current, hence the frequency
As shown circuit linearity is 0.005%, gain temperature
of oscillation is directly related to the input voltage. The
coefficient is 5ppm/°C and full-scale frequency is 10kHz.
circuit’s output may be taken from the flip-flop’s Q1 or Q1
The LT1056’s low input offset reduces zero point error to
outputs. Because this circuit replaces the capacitor with
0.005Hz/°C. To trim this circuit, apply exactly 10V in and
a quartz-locked clock, temperature drift is low, typically
adjust the 2k potentiometer for 10.000kHz output.
5ppm/°C. The quartz crystal contributes about 0.5ppm/°C,
with the remaining drift a function of the current source Ultra-Linear V→F Converter
components, switching time variations and the input
resistor. Figure 10 shows a V→F circuit optimized for very high
linearity. Although it may be used in a “stand-alone” mode
The reverse-biased 2N3904s serve as Zener diodes, pro- it is specifically intended for processor-driven applications
viding about 15V across the CMOS flip-flop. The diodes which require 17-bit accuracy, such as weighing scales.
at the D1 input prevent transient overdrive from A1 during This V→F has a resolution of 1ppm, with linearity inside
circuit start-up. 7ppm (0.0007%). When combined with a processor-driven
A V→F of this type is usually restricted to relatively low gain/zero calibration loop it has negligible zero and gain
full-scale frequencies, e.g., 10kHz to 100kHz, because drift. To further ease interface with processor-based sys-
of speed limitations in accurately switching the current tems, the circuit functions from a single 5V power supply.
sink.

10μF
+ 5V 470Ω

0.01μF
10k 470Ω
+ 1N914s
A1 Q1 NC
1/2 LT1013 2N2907 OUTPUT
100kHz TO 1.1MHz
– 0.1μF 2N3904

330pF 5V 74C04
EREF 10k
INPUT – RZERO 5V
14 2k 1M
A2 200k 5V
14 LTC1043 5pF
LTC1043 1/2 LT1013 4
+ 10k
12 1/2 LTC1043
12 13 8 7
+
16 0.1μF 10μF
13 16 11
INPUT MUX TRUTH TABLE 1000pF** LT1004
MUX CONTROL A A B FUNCTION 1.2V
INPUTS B 1 1 ZERO
12
0 1 SIGNAL
1 0 REFERENCE
**POLYSTYRENE 14 13
74C90s

2μF 17 16 AOUT ÷10 BIN AOUT ÷10 BIN


AN14 F10

Figure 10. Ultra-Linear V→F

an14f

AN14-7
Application Note 14
The circuit is conceptually similar to the 100MHz V→F to 1MHz output range. The relatively low LTC1043 clock
of Figure 1. A1 servo-controls a crude V→F converter frequency furnished by the dividers permits 0.0007%
composed of Q1, in this case a current source, and the V→F linearity.
74C04 gates. The V→F ’s output is divided digitally and For processor-driven auto-zero/gain loop operation, the
drives a charge pump whose output closes a loop back input multiplexer and RZERO must be added. With the
at A1. In Figure 1’s case, the crude V→F ’s output was multiplexer set to the “zero” function (see Truth Table),
divided down to permit the LTC1043 to function; it can- A2’s input is grounded and the 200k resistor receives no
not operate at 100MHz toggle rates. Here, the divider’s drive. A1 receives bias via RZERO, however, and the circuit
purpose is to lower the toggle frequency, allowing the oscillates around 100kHz. After the processor has read this
charge pump to achieve much higher precision than with frequency it shifts the multiplexer to the “signal” function.
direct feedback. Here, A2’s output is a buffered version of the signal input.
Before discussing processor-driven operation it is neces- The circuit’s output frequency is now determined by this
sary to understand basic circuit operation. To do this, delete input and the current through RZERO. Typical outputs will
A2 and RZERO. Assume a positive voltage is applied to the range from 100kHz to 1MHz. After reading this frequency
left end of the 200k resistor which was previously con- the processor selects the “reference” multiplexer state and
nected to A2. This forces A1’s output to move negatively, determines the frequency produced. The reference voltage
turning on Q1. A1’s collector (Trace A, Figure 11) ramps must be greater than the largest signal input. It may be
the 330pF capacitor positively. When this ramp crosses either a stable potential or one ratiometrically related to
the 74C04 inverter’s threshold, its output moves toward the signal input, as is the case in many transducer-based
ground, causing the entire chain to switch. AC positive systems. Typically, it will produce a 1.1MHz output. Once
feedback from the paralleled outputs enhances switch- this measurement sequence is completed the processor
ing. The output inverter’s signal (Trace B), the circuit’s has enough information to determine the value of the signal
output, also drives the ÷100 counter chain. The counter’s input by mathematical manipulation. Additionally, because
output (Trace C) clocks the LTC1043 which is configured the multiplexing sequence occurs relatively quickly, drifts
to pump negative charge (Trace D) into the 200k-2k-2μF in the V→F are cancelled. No precision components are
junction. The 2μF capacitor integrates the discrete charge required, although the polystyrene capacitor is needed for
events to DC, closing a loop around A1. Thus, A1 biases high linearity. The circuit’s 7ppm linearity and 1ppm resolu-
Q1 at whatever point is required to maintain its inputs at tion will suit almost all applications, although processor
balance. This forces the crude V→F ’s output frequency techniques could be used to obtain even better linearity.
to be a direct function of the input voltage over a 0MHz

A = 2V/DIV

B = 5V/DIV

C = 5V/DIV

D = 5mA/DIV
AN14 F11
HORIZONTAL = 2μs/DIV

Figure 11. Ultra-Linear V→F Waveforms

an14f

AN14-8
Application Note 14
Single Cell V→F Converter
High speed and precision are not the only areas where During the ramp, C2’s output is high, turning off Q1 and
special V→F circuits are needed. Figure 12 shows a circuit biasing Q2 on. The potential across the Q3-Q4 VBE voltage
which runs from a single 1.5V cell with only 125μA current reference (Trace B) is zero. The 0.01μF capacitor receives
drain. The circuit uses an LT1017 dual micropower com- no charge. When the ramp equals the potential at C2’s
parator in a servo-controlled charge pump configuration. positive input, switching occurs. C2’s output goes low,
The input is applied to C1, which is compensated by the and the 0.02μF unit discharges. AC positive feedback
10μF and 1μF capacitors to act as an op amp. C1’s output (Trace C) “hangs up” C2 long enough for a ramp reset of
drives the 110k-0.02μF RC, causing the capacitor to ramp about 80mV. Concurrently, Q1 comes on and Q2 goes off.
(Trace A, Figure 13). The Q3-Q4 reference comes on (Trace B) and charges the
0.01μF capacitor via Q6.

1.5V 1.5V OUTPUT


1Hz TO 1kHz
1.5V
100k 100pF 2k
10k

0.1
0.1
500k +
∑ 10k
INPUT C2
0V TO 1V
+ 1/2 LT1017 Q1
C1 110k
2.2μF –
+ 1/2 LT1017 4.7k 100Ω
– 0.02

1μF

+ 110k
10k 10μF
Q5 0.01

Q2 10k 1.2k
Q6 = HP5082-2810
Q4

= 1N4148 Q3
THERMALLY COUPLE Q3, Q5 AND Q6 10k
NPN = 2N3904, PNP = 2N3906

AN14 F12

Figure 12. Single Cell V→F

A = 100mV/DIV

B = 2V/DIV

C = 1V/DIV

D = 10mV/DIV
AN14 F13
HORIZONTAL = 100μs/DIV

Figure 13. Single Cell V→F Waveforms

an14f

AN14-9
Application Note 14
When the positive feedback at C2 ceases, its output re- and Q6, giving the circuit a 250ppm/°C gain drift. Battery
turns high, cutting off Q1 and biasing Q2. Now, the 0.01μF discharge introduces less than 1% error over 1000 hours
capacitor discharges, forcing current to flow from C1’s operation.
2.2μF summing point capacitor (Trace D) via Q5 and Q2.
C1 servo-controls this oscillator to whatever frequency is Sine Wave Output V→F Converter
required to maintain C1’s summing point near zero. Since Almost all V→F converters have a pulse or square wave
the current into C1’s input is a linear function of the input output. Many applications such as audio, filter testing
voltage, oscillator frequency is also linear. The 1μF-10k and automatic test equipment require a sine wave output.
combination at C1 provides loop stability. The 100k resis- The circuit of Figure 14 meets this need, spanning a 1Hz
tor across the 0.01μF capacitor influences its discharge to 100kHz range (100dB or 5 decades) for a 0V to 10V
characteristic, aiding overall circuit linearity. input. It is significantly faster than previously published
The temperature coefficient of the 1.2V Q3-Q4 reference circuits while maintaining 0.1% frequency linearity and
is largely compensated by the junction tempcos of Q5 0.2% distortion specifications.


A2
LT1056 X1 +V
+ X2 CC
15V
SINE OUT
U1 W
68k 2VRMS
4.5k U2 Z1
AD639
15V 1k 1k COM Z2
50k VR GT
2k 22.1k FINE DISTORTION
10Hz 68k
100kHz TRIMS
DISTORTION Y1 UP
DISTORTION TRIM
TRIM 500pF –15V Y2 –V
9.09k* –15V
22M POLYSTYRENE 15pF

INPUT 10k* – Q2 Q3 5k
0V TO 10V 10k
A3 2N4391 2N4391 5k* – 10k* FREQUENCY 15V
LT1056 TRIM
+ A1 22k
25k* LT1056 + 1k
+ C1 7 1k
Q1 LT1011
2N4391 1
– 0.01
20pF
10k
–15V

*1% FILM RESISTOR LM329

= HP5082-2810 4.7k 4.7k

= 1N4148 –15V 15V


AN14 F14

Figure 14. Sine Wave Output 1Hz to 100kHz V→F (VCO)

an14f

AN14-10
Application Note 14
To understand the circuit, assume C1 is low, cutting off increase with frequency, causing distortion level to also
Q1. The positive input voltage is inverted by A3, which increase with frequency. The 15pF feedforward network at
biases the summing node of integrator A1 through the 5k C1’s input compensates the delay, keeping distortion to just
resistor and the self-biased FETs. A current, – I, is pulled 0.2% over the entire 100kHz range. At 10kHz, distortion is
from the summing point. A1’s output (Trace A, Figure 15) inside 0.07%. The effects of gate-source charge transfer,
integrates positive until C1’s input crosses 0V. When this which happens whenever Q1 switches, are minimized by
happens, C1’s output goes positive (Trace B), allowing Q1 the 20pF unit in Q1’s source line. Without this capacitor, a
to come on. The resistor in Q1’s path is scaled to produce sharp spike would occur at the triangle peaks, increasing
a current, +2I, exactly twice the absolute magnitude of the distortion. The Q2-Q3 FETs compensate the temperature
current, –I, being removed from the summing node. As a dependent on-resistance of Q1, keeping the +2I/–I relation-
result, the net current into the junction becomes +I and A1 ship constant with temperature. Circuit gain TC is 150ppm
integrates negatively at the same rate its positive excursion and zero point drift is 0.1Hz/°C.
took. When A1 integrates far enough in the negative direc-
This circuit features extremely fast response to input
tion, C1’s positive input crosses zero and it again switches.
changes, something most sine wave circuits cannot do.
This turns Q1 off and the entire cycle repeats. The result
Figure 16 shows what happens when the input switches
is a triangle waveform at A1’s output. The frequency of
between two levels (Trace A). The circuit’s output (Trace B)
this triangle is dependent on the circuit’s input voltage and
shifts frequency immediately, with no glitching or poor
varies from 1Hz to 100kHz with a 0V to 10V input. The
dynamics.
LM329 diode bridge and the series-parallel diodes provide
a stable bipolar reference which always opposes the sign To adjust this circuit, put in 10.00V and trim the 2k pot for
of A1’s output ramp. The Schottky diodes bound C1’s a symmetrical triangle output at A1. Next, put in 100μV and
positive input, assuring it clean recovery from overdrive. trim the 50k pot for triangle symmetry. Then, put in 10.00V
The AD639 trigonometric function generator, biased via A2, again and trim the 5k “frequency trim” adjustment for a
converts A1’s triangle output into a sine wave (Trace C). 100.0kHz output frequency. Finally, adjust the “distortion
The AD639 must be supplied with a triangle wave which trim” potentiometers for minimum distortion as measured
does not vary in amplitude or output distortion will result. on a distortion analyzer (Trace D). Slight readjustment of
At high frequencies, delays in the A1 integrator switching the other potentiometers may be required to get lowest
loop result in late turn on and turn off of Q1. If the effects possible distortion.
of the delays are not minimized, triangle amplitude will

A = 20V/DIV

A = 5V/DIV
B = 20V/DIV

C = 5V/DIV B = 5V/DIV

D = 5V/DIV
(0.07% DISTORTION)
AN14 F15 AN14 F16
HORIZONTAL = 20μs/DIV HORIZONTAL = 20μs/DIV

Figure 15. Sine Wave Output V→F Converter Waveforms Figure 16. Sine Wave Output V→F Input Step Response

an14f

AN14-11
Application Note 14
1/X Transfer Function V→F Converters
Another dimension in V→F design is converters which have near ground, C2 triggers low (Trace D), resetting the Q
a deliberate nonlinear transfer function. Such converters output low. This turns off Q1, allowing the ramp to begin
are useful in linearizing outputs from transducers such as again and the entire cycle repeats. Waveforms E, F, G and
gas sensors and flow meters. Figure 17’s circuit converts H are expanded versions of A through D, respectively, and
input voltages of 0V to 10V to an output frequency of 1kHz show detail of the ramp resetting sequence.
to 2Hz with a 0.05% accurate 1/X conformity. In most V→F converters the input signal controls the
A1 integrates current from the LT1009 2.5V reference. A1’s integrator slope. Here the integrator runs at a fixed slope.
negative output ramp (Trace A, Figure 18) is compared at The length of time the integrator requires to cross the input
C1 to the input voltage via a current summing network. voltage is inversely proportional to the input’s amplitude
When C1’s input goes negative, its output (Trace B) falls, and loop oscillation is related by 1/X to the input. The ramp
triggering the flip-flop (Trace C) Q output high. This turns reset time is a first order error term because it is lost in
on Q1, resetting the ramp. When the ramp reset gets very the integration. At low frequencies the ramp reset time
1.2k
15V

2N5434 18k 1k
15V
0.01† TTL OUTPUT
1kHz TO 2Hz
10k
2N3904 470
4M* – 12k
LT1009 A1 10k*
2.5V LT1056 + 3k
VCC Q Q +V
+ C1 1
S
LT1011 74C74
5k
1kHz TRIM 1 D CLK –V R
10k* –
EIN 4
0V TO 10V
–15V
–15V
*1% FILM RESISTOR –
†POLYSTYRENE

C2 6
LT1011 AN14 F17
+ 1 100k
4

–15V
1M 1k
–15V
0.1

I
Figure 17.   →   Frequency Converter
EIN

A = 100mV/DIV
B = 50V/DIV
C = 50V/DIV
D = 50V/DIV

E = 100mV/DIV
F = 20V/DIV

G = 20V/DIV
H = 20V/DIV
AN14 F18
A, B, C, D HORIZONTAL = 100μs/DIV
E, F, G, H HORIZONTAL = 200ns/DIV

I
Figure 18.   →   Frequency Converter Waveforms
EIN
an14f

AN14-12
Application Note 14
is a small term, even though reset takes longer (because conformity can only be achieved by limiting maximum
the ramp had to run to a higher amplitude to cross the frequency to about 1kHz. It is worth noting that this circuit
input). At higher frequencies, even though it is shorter, the has almost ten times the accuracy of analog multipliers
reset period becomes significant because its “dead time” and other analog 1/X computing techniques. Circuit drift
is a substantial percentage of the oscillation frequency. is about 150ppm/°C. To trim the circuit, put in 50mV and
The 2-comparator flip-flop reset scheme reduces this adjust the 5k potentiometer for 1kHz output.
error by adaptively controlling and minimizing the ramp
Figure 19’s 1/X V→F, developed by R. Essaff, provides
reset time, regardless of peak ramp amplitude. A simple
better performance, although it is somewhat more com-
fixed AC feedback scheme would not do this because its
plex. This charge pump class design gives 0.005% 1/X
time constant would have to be long enough to reset the
conformity, 50ppm/°C drift and 10kHz to 50Hz outputs
ramp from large peak amplitudes (e.g., at low frequency).
for 0V to 5V in.
Even with this reset arrangement, the circuit’s 0.05% 1/X

fOUT
10kHz TO 50Hz
5V
2k
15 16

18
820pF

LT1056 LT1010 3
+
2

OPTIONAL
EIN EIN BUFFER
5V 5 6
LTC1043
14 13

12
0.01μF*

5V 4 11

8 7

17

0.022μF
–5V
LT1009
2.5V
909k** 5V 5V
0.1μF
1% – 5V 5V

200k A1 – 10k Q B C VCC 3k


2k
FULL-SCALE
TRIM + LT1056 5V C1
A 74C221 RC
–5V 1M 1/2 LT319A 0.01
4.7k 50pF + C
–5V GND
7 AN14 F19
*POLYSTYRENE
**TRW MTR-5 120ppm –5V
+ 5V –5V
4.7k C2
2N3904 1/2 LT319A 100k
1N4148 –
2
NC
1N4148
–5V

I
Figure 19. Charge Pump   →   Frequency Converter
EIN
an14f

AN14-13
Application Note 14
A1 and its associated components form an integrator This circuit’s primary disadvantage is that the input signal
which ramps positive (Trace A, Figure 20). When A1’s must be capable of supplying substantial current each
output crosses zero, C1 goes negative (Trace B), trigger- time the LTC1043 commutates the 0.01μF capacitor to
ing the one-shot. The one-shot output (Trace C) toggles A1’s summing point. The current required varies directly
the LTC1043 switch, transferring charge from EIN to A1’s with input voltage, with 25mA drawn at EIN = 5V. The
summing point via the 0.01μF capacitor (Trace D). This optional input buffer shown will provide the necessary
forces A1’s output negative by an amount related to the drive, although input voltage range must fall within the
charge transferred. When charge transfer ceases, A1 again buffer’s common mode limits.
ramps positively. The depth of A1’s negative excursion is To calibrate this circuit, apply exactly 5V and trim the
directly proportional to EIN, hence loop oscillation frequency 200kΩ potentiometer for 50Hz output.
is inversely (1/X) related to EIN.
The circuit’s output is taken from the paralleled LTC1043 EX Transfer Function V→F Converter
switch sections. Figure 21’s V→F circuit responds exponentially to its input
Because this circuit relies on charge feedback, integrator voltage. It is ideally suited to electronic music synthesiz-
reset time does not influence accuracy. The loop runs at ers and, as shown, has a 1V in/octave of frequency out
whatever frequency is required to maintain A1’s summing scale factor. Exponential conformity is within 0.13% over
point at zero. a 10Hz to 20kHz range and drift is 150ppm/°C. The circuit
has a pulse output and also provides a ramp output for
If A1’s output ever overruns 0V, the oscillator loop will applications which require substantial power at the fun-
latch. This condition is detected by C2, which goes high, damental frequency.
driving current into A1’s summing point via the low leak-
age 2N3904 BE junction. A1’s output is forced negative,
and normal circuit operation commences.

A = 100mV/DIV

B = 20V/DIV

C = 20V/DIV

D = 2mA/DIV

AN14 F20
HORIZONTAL = 100μs/DIV

I
Figure 20. Charge Pump-Based   →   Frequency Converter Waveforms
EIN

an14f

AN14-14
Application Note 14
A1’s 1μF input capacitor integrates current from Q4’s action forces A1’s input ramp to go in a negative direction,
emitter, forming a ramp at A1’s input (Trace A, Figure 22). resetting it toward zero. When the positive AC feedback
When the ramp crosses zero, A1’s output flips (Trace B, around A1 decays, the cycle repeats. Q5 and its associated
Figure 22), causing the LTC1043 to change states. The components form a start-up loop, insuring proper circuit
0.0012μF capacitor, charged to the LT1021’s 10V poten- start sequence. Start-up conditions or input overdrive could
tial, is switched to pull current from A1’s summing point force A1’s output to go to the negative rail and stay there.
(Trace C). The 30pF capacitor provides A1’s positive input If this occurs, Q5 comes on, pulling A1’s negative input
with positive AC feedback (Trace D), insuring enough toward –15V and initializing normal circuit operation.
time for a complete discharge of the 0.0012μF unit. This

+
RAMP
A2
OUTPUT
LT318A
20Hz TO 20kHz
1/2 LTC1043 LT1021-10V – 100k
8 7 OUT IN 15V
GND

11 1k
15V 4 0.0012† 1μF

12 +
0.01 22μF

14 13

17 16 *1% METAL FILM


COUPLED TRANSISTORS ARE CA3096AE ARRAY
4 TIE CA3096 SUBSTRATE (PIN 16) TO –15V
†POLYSTYRENE
4.99k* –
11.8k* 5 1N914
INPUT 1μF A1 PULSE
Q4
0V TO 10V LT1056 OUTPUT
250* 6 + 0.033
5M 4.7k 10k* 10k*
30pF 15V
1

9
8 3k 8
22k 330k A3 Q3
LM301A
+ 2
7
Q5
13 1 Q2
2N3906
1μF 3 33Ω
1N914 + 14 Q1 2k
–15V
15 AN14 F21

Figure 21. EINX → Frequency Converter

A = 50mV/DIV

B = 20V/DIV

C = 10V/DIV

D = 10V/DIV

AN14 F22
HORIZONTAL = 20μs/DIV

Figure 22. EINX → Frequency Converter Waveforms


an14f

AN14-15
Application Note 14
The oscillation frequency of this charge pump class current- The 6012 DAC serves as a simple source of two identical
to-frequency converter is linearly related to Q4’s emitter currents. The DAC’s MSB is set high and all other bits are
current. Q4’s emitter current, in turn, is exponentially related low. This sets the DAC’s output currents equal. With con-
to its VBE, which is determined by the resistors connected stant, equal, currents through them, R1 and R2 produce
to it and the input voltage. This is in accordance with the a differential voltage which is sampled by the LTC1043
well-known relationship between collector current and VBE switch-capacitor configuration. The LTC1043’s internal
in transistors. Normally Q4’s operating point would be quite clock continuously switches the 3900pF capacitor across
sensitive to temperature, but it is part of an array which is the R1-R2 pair and then dumps the charge into A1’s sum-
temperature-stabilized by the A3 configuration. Q1, also ming point. The quantity of charge delivered per cycle is a
part of the array, senses temperature. A3 compares Q1’s direct function of the voltage difference across R1 and R2
VBE with a bridge potential and drives array transistor Q3 (Q = CV). A1’s output ramps (Trace A, Figure 24) negative.
to close a thermal control loop. This stabilizes the array, The ramp is compared to A2’s output at C1. A2’s DC output
preventing ambient temperature shifts from influencing is a function of the 330pF charge pump capacitor at the
Q4’s operation. Q2, serving as a clamp, ensures against LTC1043, A2’s feedback resistor and the LTC1043 clock
loop lock-up conditions and prevents Q3 from ever be- frequency. Because A1 and A2 are receiving charge at the
coming reverse biased. same rate, LTC1043 oscillator drift affects each equally
With the thermal loop controlling Q4, the circuit’s expo- and does not contribute error.
nential behavior is stable and repeatable. The 5MΩ value When A1’s ramp crosses A2’s output value, C1 goes high
from Q4’s collector to A1’s positive input introduces a (Trace B), turning on the FET. AC positive feedback to C1’s
slight shift in A1’s operating point at high frequencies positive input (Trace C) ensures a complete discharge for
(e.g., high Q4 collector currents). This compensates Q4’s A1’s feedback capacitor. When the feedback ceases, the
bulk emitter resistance term, maintaining good exponential cycle repeats. The oscillation frequency is a linear function
performance up to 20kHz. The 4.99k resistor sets the of the R1-R2 ratio.
0V input frequency at about 10Hz, while the 250Ω value
The two polystyrene capacitors at the LTC1043 provide
establishes circuit k factor, nominally 1V in/octave output,
temperature coefficient cancellation. A2’s specified feed-
as shown.
back resistor compensates A1’s polystyrene feedback
To use this circuit, adjust the 2k potentiometer so that capacitor. Overall circuit tempco is about 35ppm/°C. As
A3’s negative input is 100mV below its positive input with shown, a 0°C to 100°C excursion at the R1 sensor gives
Q3’s base grounded. Next, underground Q3’s base and the a 0kHz to 1kHz output with an accuracy, limited by the
circuit is ready for use. sensor, of 0.35°C. This is well outside the dead time error
produced by A1’s reset time and the circuit contributes no
R1 V1 appreciable measurement error. In practice, slight trimming
= → Frequency Converter
R2 V2 of R2’s value may be required to compensate for individual
R1 tolerances at 0°. The 5k potentiometer trims for 1kHz
Figure 23’s circuit produces an output frequency propor- out at a 100°C R1 temperature. This circuit may be used
tional to the ratio of the voltages across two externally with any resistive based transducer. For negative tempco
supplied resistors. This circuit has wide application in devices, reverse the positions of R1 and R2.
transducer signal conditioning. Both R1 and R2 are
ground referred, preferable for noise considerations. In
this case, R1 is a Platinum resistance sensor, with R2
being set at the sensor’s 0°C value. The grounded end
of R2 allows fine trimming with decade boxes without
excessive noise problems. R1’s grounded side allows it
to be located at the end of a cable run, with similar noise
rejection properties.

an14f

AN14-16
Application Note 14

13 14

12
1N914
33k
3900pF†
5V 5V
MSB LSB 2N4391
11

0.01†
5V
10k* IO 7 8
REF 6012 1μF –
3k 330Ω
IO A1 – OUTPUT
COMP LT1056 0kHz TO 1kHz
+ C1 20k
R1 R2 2N2222
0.1 LT1011
–15V
SENSOR TYPICALLY +
100Ω AT 0°C 100Ω (TRIM) 1N4148
30pF
LTC1043 –15V
5V
15V LT317 4
121
360

–5V
–15V LT337 17
*1% FILM
121 4.7μF **TRW MTR-5/–120ppm°C
+ †POLYSTYRENE
5V 6 15 33k

360

2 5k
FULL-SCALE
TRIM
330pF† 17k**
0.2
3


18 5
A2 AN14 F23

+ LT1056

R1 V1
Figure 23. = →Frequency Converter
R2 V2

A = 1V/DIV

B = 5V/DIV

C = 2V/DIV

AN14 F24
HORIZONTAL = 200μs/DIV

R1 V1
Figure 24. = →Frequency Converter Waveforms
R2 V2

an14f

AN14-17
Application Note 14
REFERENCES
1. “Trigger Circuit” Model 2235 Oscilloscope Service 5. Gilbert B., “A Versatile Monolithic Voltage-to-Frequency
Manual, Tektronix, Inc. Converter,” IEEE J. Solid State Circuits, Volume SC-11,
2. Pease R. A., “A New Ultra-Linear Voltage-to-Frequency pages 852-864, December 1976.
Converter,” 1973 NEREM Record, Vol. I, page 167. 6. Williams, J., “Applications Considerations and Circuits
3. Pease R. A., assignee to Teledyne, “Amplitude to Fre- for a New Chopper Stabilized Op Amp,” 1Hz-30MHz
quency Converter,” U.S. patent 3,746,968, filed September V→F, pages 14-15, Linear Technology Corporation,
1972. Application Note 9.

4. Williams, J., “Low Cost A→D Conversion Uses


Single-Slope Techniques,” EDN, August 5, 1978, pages
101-104.

BOX SECTION

V→F Techniques
There are many ways to convert a voltage to a frequency. results in significant linearity error as operating frequency
The best approach in an application varies with desired approaches it. For example, a 1μs reset interval introduces
precision, speed, response time, dynamic range and 0.1% error at 1kHz, rising to 1% at 10kHz. Also, varia-
other considerations. Figure B1 shows one of the most tions in reset time contribute additional errors. Because
obvious. The input drives an integrator. The integrator’s of this, circuit operation is restricted to relatively low
ramp slope varies with the input-derived current. When frequencies if good linearity and stability are required.
the ramp crosses VREF , the comparator turns on the Although various compensation methods can reduce
switch, discharging the capacitor and reinitializing the these errors, performance is still limited.
cycle. The frequency of this action directly relates to Figure B2 gets around B1’s problems by enclosing the
input voltage. With careful design, one op amp can integrator in a charge-dispensing loop. In this approach
serve as both integrator and comparator, providing C1 charges to VREF during the integrator’s ramping time.
circuit economy. When the comparator trips, C1 is discharged into A1’s
A serious drawback to this approach is the capacitor’s summing point, forcing its output high. After C1’s dis-
discharge-reset time. This time, “lost” in the integration, charge, A1 begins to ramp and the cycle repeats.

IAVG = IIN
IAVG
–VREF

C1
– IIN
EIN COMPARATOR –
EIN
OP AMP + COMPARATOR
+ ONE- OP AMP +
SHOT + ONE-
– SHOT
AN14 FB1
– AN14 FB2
VREF

Figure B1. Ramp-Comparator V→F Figure B2. Charge Pump V→F

an14f

AN14-18
Application Note 14

Because the loop acts to force the average summing cur- period, the integrators output again heads negative. The
rents to zero, integrator time constant and reset time do frequency of this action is input-related.
not affect frequency. This approach yields high linearity
Figure B4 uses DC loop correction. This arrangement
(typically 0.01%) up to high frequencies. With attention
offers all the advantages of charge and current balancing
to design, converters of this type can be constructed
except that response time is slower. Additionally, it can
with a single op amp.
achieve exceptionally high linearity (0.001%), output
Figure B3 is conceptually similar, except that it uses speeds exceeding 100MHz and very wide dynamic range
feedback current instead of charge to maintain the op (160dB). The DC amplifier controls a relatively crude
amp’s summing point. Each time the op amp’s output V→F. This V→F is designed for high speed and wide
trips the comparator, the current sink pulls current from dynamic range at the expense of linearity and thermal
the summing point. Current is pulled from the sum- stability. The circuit’s output switches a charge pump
ming point for the timing reference’s duration, forcing whose output, integrated to DC, is compared to the
the integrator positive. At the end of the current sink’s input voltage.

IIN

EIN
COMPARATOR
OP AMP + CAN BE ONE-SHOT OR
SWITCHED +
IOUT TIMING DIGITALLY GENERATED
REFERENCE WITH A CRYSTAL CLOCK
– AN14 FB3

SWITCHED
CURRENT SOURCE
I > IIN FULL SCALE

–V

Figure B3. Current Balance V→F

+
OP AMP CRUDE VmF

EIN

LOOP COMPENSATION

CHARGE
PUMP AN14 FB4

Figure B4. Loop-Charge Pump V→F

an14f

Information furnished by Linear Technology Corporation is believed to be accurate and reliable.


However, no responsibility is assumed for its use. Linear Technology Corporation makes no representa-
tion that the interconnection of its circuits as described herein will not infringe on existing patent rights. AN14-19
Application Note 14

The DC amplifier forces V→F operating frequency to loop forces the DAC’s LSB to oscillate around the ideal
be a direct function of input voltage. The DC amplifier’s value. These oscillations are integrated to DC in the loop
frequency compensation capacitor, required because compensation capacitor. Hence, the circuit will track input
of loop delays, limits loop response time. Figure B5 shifts much smaller than a DAC LSB. Typically, a 12-bit
is similar, except that the charge pump is replaced by DAC (4096 steps) will yield 1 part in 50,000 resolution.
digital counters, a quartz time base and a DAC. Although Circuit linearity, however, is set by the DAC’s specifica-
it is not immediately obvious, this circuit’s resolution is tion. An example of this approach appears in AN-13,
not restricted by the DAC’s quantizing limitations. The “High Speed Comparator Techniques”.

CRYSTAL
CLOCK

RESET
ONE-SHOT
+
GATE
OP AMP CRUDE VmF

EIN

LOOP COMPENSATION

LATCHED
DAC
COUNTERS

AN14 FB5

Figure B5. Loop-DAC V→F

an14f

GP/IM 0686 5K • PRINTED IN USA


Linear Technology Corporation
AN14-20 1630 McCarthy Blvd., Milpitas, CA 95035-7417
(408) 432-1900 ● FAX: (408) 434-0507 ● www.linear.com © LINEAR TECHNOLOGY CORPORATION 1986

You might also like