Monolithic Synchronous Voltage-to-Frequency Converter AD652 The AD652 is available in five performance grades. The 20-lead PLCC-packaged JP and KP grades are specified for operation over the 0C to +70C commercial temperature range. The 16-lead CERDIP-packaged AQ and BQ grades are specified for operation over the -40C to +85C industrial temperature range. The AD652SQ is available for operation over the full -55C to +125C extended temperature range. FEATURES Full-scale frequency (up to 2 MHz) set by external system clock Extremely low linearity error (0.005% max at 1 MHz FS, 0.02% max at 2 MHz FS) No critical external components required Accurate 5 V reference voltage Low drift (25 ppm/C max) Dual- or single-supply operation Voltage or current input MIL-STD-883 compliant versions available PRODUCT HIGHLIGHTS 1. The use of an external clock to set the full-scale frequency allows the AD652 to achieve linearity and stability far superior to other monolithic VFCs. By using the same clock to drive the AD652 and set the counting period (through a suitable divider), conversion accuracy is maintained independent of variations in clock frequency. PRODUCT DESCRIPTION The AD652 synchronous voltage-to-frequency converter (SVFC) is a powerful building block for precision analog-todigital conversion, offering typical nonlinearity of 0.002% (0.005% maximum) at a 100 kHz output frequency. The inherent monotonicity of the transfer function and wide range of clock frequencies allow the conversion time and resolution to be optimized for specific applications. 2. The AD652 synchronous VFC requires only one external component (a noncritical integrator capacitor) for operation. 3. The AD652 includes a buffered, accurate 5 V reference. 4. The AD652's clock input is TTL and CMOS compatible and can also be driven by sources referred to the negative power supply. The flexible open-collector output stage provides sufficient current sinking capability for TTL and CMOS logic, as well as for optical couplers and pulse transformers. A capacitor-programmable one-shot is provided for selection of optimum output pulse width for power reduction. The AD652 uses a variation of the charge-balancing technique to perform the conversion function. The AD652 uses an external clock to define the full-scale output frequency, rather than relying on the stability of an external capacitor. The result is a more stable, more linear transfer function, with significant application benefits in both single- and multichannel systems. Gain drift is minimized using a precision low drift reference and low TC, on-chip, thin-film scaling resistors. Furthermore, initial gain error is reduced to less than 0.5% by the use of laserwafer-trimming. 5. The AD652 can also be configured for use as a synchronous F/V converter for isolated analog signal transmission. 6. The AD652 is available in versions compliant with MILSTD-883. Refer to the Analog Devices Military Products Databook or current AD652/883B data sheet for detailed specifications. The analog and digital sections of the AD652 have been designed to allow operation from a single-ended power source, simplifying its use with isolated power supplies. FUNCTIONAL BLOCK DIAGRAM CLOCK IN VIN RIN CINT COMPARATOR D FLOP LATCH CK AND INTEGRATOR H L D Q G Q D Q ONE SHOT COS 5V 00798-001 1mA -VS Figure 1. Rev. C 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 that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.326.8703 (c) 2004 Analog Devices, Inc. All rights reserved. AD652 TABLE OF CONTENTS Specifications..................................................................................... 3 Component Selection ................................................................ 12 Absolute Maximum Ratings............................................................ 5 Digital Ground............................................................................ 13 ESD Caution.................................................................................. 5 Single-Supply Operation ........................................................... 14 Definitions of Specifications ....................................................... 5 Frequency-to-Voltage Converter ............................................. 15 Theory of Operation ........................................................................ 6 Decoupling and Grounding...................................................... 16 Overrange ...................................................................................... 8 Frequency Output Multiplier.................................................... 17 SVFC Connection for Dual Supply, Positive Input Voltages .. 9 Single-Line Multiplexed Data Transmission .......................... 18 SVFC Connections for Negative Input Voltages ...................... 9 Isolated Front End...................................................................... 22 SVFC Connection for Bipolar Input Voltages ........................ 10 A-to-D Conversion .................................................................... 22 PLCC Connections..................................................................... 11 Delta Modulator ......................................................................... 23 Gain and Offset Calibration...................................................... 11 Bridge Transducer Interface...................................................... 24 Gain Performance ...................................................................... 12 Outline Dimensions ....................................................................... 25 Reference Noise .......................................................................... 12 Ordering Guide............................................................................... 26 Digital Interfacing Considerations........................................... 12 REVISION HISTORY 5/04--Data Sheet Changed from Rev. B to Rev. C Updated Format..............................................................Universal Changes to Gain and Offset Calibration section.................... 11 Updated Outline Dimensions ................................................... 25 Changes to Ordering Guide ...................................................... 26 2/00--Data Sheet Changed from Rev. A to Rev. B Rev. C | Page 2 of 28 AD652 SPECIFICATIONS Typical @ TA = 25C, VS = 15 V, unless otherwise noted. Specifications in boldface are 100% tested at final test and are used to measure outgoing quality levels. Table 1. Parameter VOLTAGE-TO-FREQUENCY MODE Gain Error fCLOCK= 200 kHz fCLOCK = 1 MHz fCLOCK = 4 MHz Gain Temperature Coefficient fCLOCK = 200 kHz fCLOCK = 1 MHz fCLOCK = 4 MHz Power Supply Rejection Ratio Linearity Error fCLOCK = 200 kHz fCLOCK = 1 MHz fCLOCK = 2 MHz fCLOCK = 4 MHz Offset (Transfer Function, RTI) Offset Temperature Coefficient Response Time FREQUENCY-TO-VOLTAGE MODE Gain Error, fIN = 100 kHz FS Linearity Error, fIN = 100 kHz FS INPUT RESISTORS CERDIP (Figure 2)(0 to 10 V FS Range) PLCC (Figure 3) Pin 8 to Pin 7 Pin 7 to Pin 5 (0 V to 5 V FS Range) Pin 8 to Pin 5 (0 V to 10 V FS Range) Pin 9 to Pin 5 (0 V to 8 V FS Range) Pin 10 to Pin 5 (Auxiliary Input) Temperature Coefficient (All) INTEGRATOR OP AMP Input Bias Current Inverting Input (Pin 5) Noninverting Input (Pin 6) Input Offset Current Input Offset Current Drift Input Offset Voltage Input Offset Voltage Drift Open-Loop Gain Common-Mode Input Range CMRR Bandwidth Output Voltage Range (Referred to Pin 6, R1 > = 5 k) Min AD652JP/AQ/SQ Typ Max Min AD652KP/BQ Typ Max 0.5 0.5 0.5 1 1 1.5 0.25 0.25 0.25 0.5 0.5 0.75 % % % 25 25 10 25 0.001 50 50 50 75 0.01 15 15 10 15 0.001 25 25 30 50 0.01 ppm/C ppm/C ppm/C1 ppm/C %/V 0.002 0.02 0.002 0.005 0.002 0.002 0.02 0.005 0.01 0.02 0.002 0.005 0.02 0.01 0.05 0.02 1 1 3 2 10 10 50 25 One Period of New Output Frequency Plus One Clock Period. 0.5 0.002 1 0.02 19.8 20 20.2 9.9 9.9 19.8 15.8 19.8 10 10 20 16 20 50 10.1 10.1 20.2 16.2 20.2 100 5 20 20 1 1 10 86 20 50 70 3 3 25 -VS + 5 80 14 -1 Unit 0.25 0.002 0.5 0.01 % % 19.8 20 20.2 k 9.9 9.9 19.8 15.8 19.8 10 10 20 16 20 50 10.1 10.1 20.2 16.2 20.2 100 k k k k k ppm/C 5 20 20 1 1 10 86 20 50 70 2 2 15 nA nA nA nA/C mV V/C dB V dB MHz V +VS - 5 -VS + 5 80 (+VS - 4) -1 95 Rev. C | Page 3 of 28 % % % % mV V/C +VS - 5 14 95 (+VS - 4) AD652 Parameter COMPARATOR Input Bias Current Common-Mode Voltage CLOCK INPUT Maximum Frequency Threshold Voltage (Referred to Pin 12) TMIN to TMAX Input Current (-VS < VCLK < +VS) Voltage Range Rise Time OUTPUT STAGE VOL (IOUT = 10 mA) IOL VOL < 0.8 V VOL < 0.4 V, TMIN to TMAX IOH (Off Leakage) Delay Time, Positive Clock Edge to Output Pulse Fall Time (Load = 500 pF and ISINK = 5 mA) Output Capacitance OUTPUT ONE-SHOT Pulse Width, tOS COS = 300 pF COS = 1000 pF REFERENCE OUTPUT Voltage Drift Output Current Source TMIN to TMAX Sink Power Supply Rejection Supply Range = 12.5 V to 17.5 V Output Impedance (Sourcing Current) POWER SUPPLY Rated Voltage Operating Range Dual Supply Single Supply (-VS = 0) Quiescent Current Digital Common Analog Common TEMPERATURE RANGE Specified Performance JP, KP Grade AQ, BQ Grade SQ Grade 1 Min AD652JP/AQ/SQ Typ Max 0.5 -VS + 4 5 + VS - 4 0.8 5 -VS 150 0.01 200 100 5 AD652KP/BQ Typ Max 0.5 Unit 5 +VS - 4 A V 2.0 MHz V V 20 +VS 2 A V s 0.4 0.4 V 15 8 10 250 150 15 8 10 250 mA mA A ns ns pF 5 1.2 4 Min -VS + 4 4 2.0 0.8 20 +VS 2 -VS 5 1.2 5 0.01 200 100 5 1 4 1.5 5 2 6 1 4 1.5 5 2 6 s s 4.950 5.0 5.050 100 4.975 5.0 5.025 50 V ppm/C 10 100 500 10 100 500 0.3 0.015 2 0.3 15 6 +12 15 -VS -VS 0 -40 -55 +70 +85 +125 Referred to internal VREF. In PLCC package, tested on 10 V input range only. Rev. C | Page 4 of 28 0.015 2 15 18 +36 15 +VS - 4 +VS 11 mA A 6 +12 15 %/V V -VS -VS 18 +36 15 +VS - 4 +VS V V mA V V 0 -40 +70 +85 C C C 11 AD652 ABSOLUTE MAXIMUM RATINGS Table 2. Parameter Total Supply Voltage +VS to -VS Maximum Input Voltage (Figure 6) Maximum Output Current (Open Collector Output) Amplifier Short-Circuit to Ground Storage Temperature Range: CERDIP Storage Temperature Range: PLCC Ratings 36 V 36 V 50 mA Indefinite -65C to +150C -65C to +150C Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. ESD CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although this product features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. Table 3. Pin Configurations DEFINITIONS OF SPECIFICATIONS Gain Error The gain of a voltage-to-frequency converter is the scale factor setting that provides the nominal conversion relationship, e.g., 1 MHz full scale. The gain error is the difference in slope between the actual and ideal transfer functions for the V-F converter. Linearity Error The linearity error of a V-F is the deviation of the actual transfer function from a straight line passing through the endpoints of the transfer function. Gain Temperature Coefficient The gain temperature coefficient is the rate of change in fullscale frequency as a function of the temperature from +25C to TMIN or TMAX. Pin No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Rev. C | Page 5 of 28 Q-16 Package +VS TRIM TRIM OP AMP OUT OP AMP "-" OP AMP "+" 10 VOLT INPUT -VS COS CLOCK INPUT FREQ OUT DIGITAL GND ANALOG GND COMP "-" COMP "+" COMP REF P-20A Package NC +VS NC OP AMP OUT OP AMP "-" OP AMP "+" 5 VOLT INPUT 10 VOLT INPUT 8 VOLT INPUT OPTIONAL 10 V INPUT -VS COS CLOCK INPUT FREQ OUT DIGITAL GND ANALOG GND COMP "-" COMP "+" NC COMP REF AD652 AD652 5V REFERENCE 16 COMP REF TRIM 2 15 COMP "+" TRIM 3 14 COMP "-" OP AMP OUT 4 13 ANALOG GND OP AMP "-" 5 ONE SHOT OP AMP "+" 6 10 VOLT INPUT 7 -VS 8 20k 12 DIGITAL GND 11 FREQ OUT 10 CLOCK INPUT 1mA Q AND CK D "D" Q FLOP 9 COS 00798-002 +VS 1 SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER Figure 2. CERDIP Pin Configuration The pinouts of the AD652 SVFC are shown in Figure 2 and Figure 3. A block diagram of the device configured as an SVFC, along with various system waveforms, is shown in Figure 4. +VS NC COMP REF NC 2 1 20 19 AD652 OP AMP OUT 4 SYNCHRONOUS VOLTAGE-TO-FREQUENCY CONVERTER 5V REFERENCE OP AMP "-" 5 OP AMP "+" 6 AND 10k Q D "D" FLOP Q CK 5V INPUT 7 10k 10V INPUT 8 ONE SHOT 1mA 16k 18 COMP "+" 17 COMP "-" 16 ANALOG GND 15 DIGITAL GND 14 FREQ OUT 4k 13 NC = NO CONNECT 00798-003 12 CLOCK INPUT 11 COS 10 -VS 9 OPTIONAL 10V INPUT The SVFC architecture provides other system advantages besides low drift. If the output frequency is measured by counting pulses gated to a signal that is derived from the clock, the clock stability is unimportant and the device simply performs as a voltage-controlled frequency divider, producing a high resolution A/D. If a large number of inputs must be monitored simultaneously in a system, the controlled timing relationship between the frequency output pulses and the usersupplied clock greatly simplifies this signal acquisition. Also, if the clock signal is provided by a VFC, the output frequency of the SVFC is proportional to the product of the two input voltages. Therefore, multiplication and A-to-D conversion on two signals are performed simultaneously. 3 8V INPUT A synchronous VFC is similar to other voltage-to-frequency converters in that an integrator is used to perform a chargebalance of the input signal with an internal reference current. However, rather than using a one-shot as the primary timing element, which requires a high quality and low drift capacitor, a synchronous voltage-to-frequency converter (SVFC) uses an external clock. This allows the designer to determine the system stability and drift based upon the external clock selected. A crystal oscillator may also be used if desired. NC THEORY OF OPERATION Figure 3. PLCC Pin Configuration Figure 4 shows the typical up-and-down ramp integrator output of a charge-balance VFC. After the integrator output has crossed the comparator threshold and the output of the AND gate has gone high, nothing happens until a negative edge of the clock comes along to transfer the information to the output of the D FLOP. At this point, the clock level is low, so the latch does not change state. When the clock returns high, the latch output goes high and drives the switch to reset the integrator; at the same time, the latch drives the AND gate to a low output state. On the very next negative edge of the clock, the low output state of the AND gate is transferred to the output of the D FLOP. When the clock returns high, the latch output goes low and drives the switch back into the Integrate mode. At the same time, the latch drives the AND gate to a mode where it truthfully relays the information presented to it by the comparator. Because the reset pulses applied to the integrator are exactly one clock period long, the only place where drift can occur is in a variation of the symmetry of the switching speed with temperature. Since each reset pulse is identical, the AD652 SVFC produces a very linear voltage-to-frequency transfer relation. Also, because all reset pulses are gated by the clock, there are no problems with dielectric absorption causing the duration of a reset pulse to be influenced by the length of time since the last reset. Rev. C | Page 6 of 28 AD652 CLOCK IN VIN RIN CINT COMPARATOR D FLOP LATCH CK AND D INTEGRATOR H L Q ONE SHOT G Q D Q COS 5V 1mA -VS INTEGRATOR OUTPUT THRESHOLD CLOCK COMPARATOR OUT AND OUT D FLOP OUT FREQ OUT tOS 00798-004 LATCH OUT tOS Figure 4. Block Diagram and System Waveforms INTEGRATOR OUT 00798-005 THRESHOLD CLOCK Figure 5. Integrator Output for IIN = 250 A Because of this, it is very difficult to observe the waveform on an oscilloscope. During all of this time, the signal at the output of the integrator is a sawtooth wave with an envelope that is also a sawtooth. See Figure 6. 200s/BOX CINT 100s/BOX FREQ OUT 10s/BOX CLOCK IN 10s/BOX Figure 6. Integrator Output for IIN Slightly Greater than 250 s Rev. C | Page 7 of 28 00798-006 Figure 4 shows that the period between output pulses is constrained to be an exact multiple of the clock period. Consider an input current of exactly one quarter the value of the reference current. In order to achieve a charge balance, the output frequency equals the clock frequency divided by four: one clock period for reset and three clock periods of integrate. This is shown in Figure 5. If the input current is increased by a very small amount, the output frequency should also increase by a very small amount. Initially, however, no output change is observed for a very small increase in the input current. The output frequency continues to run at one quarter of the clock, delivering an average of 250 A to the summing junction. Since the input current is slightly larger than this, charge accumulates in the integrator and the sawtooth signal starts to drift downward. As the integrator sawtooth drifts down, the comparator threshold is crossed earlier and earlier in each successive cycle, until finally, a whole cycle is lost. When the cycle is lost, the integrate phase lasts for two periods of the clock instead of the usual three periods. Thus, among a long string of divide-byfours, an occasional divide-by-three occurs; the average of the output frequency is very close to one quarter of the clock, but the instantaneous frequency can be very different. AD652 Another way to view this is that the output is a frequency of approximately one-quarter of the clock that has been phase modulated. A constant frequency can be thought of as accumulating phase linearly with time at a rate equal to 2f radians per second. Therefore, the average output frequency, which is slightly in excess of a quarter of the clock, requires phase accumulation at a certain rate. However, since the SVFC is running at exactly one-quarter of the clock, it does not accumulate enough phase (see Figure 7). When the difference between the required phase (average frequency) and the actual phase equals 2, a step-in phase is taken where the deficit is made up instantaneously. The output frequency is then a steady carrier that has been phase modulated by a sawtooth signal (see Figure 7). The period of the sawtooth phase modulation is the time required to accumulate a 2 difference in phase between the required average frequency and one quarter of the clock frequency. The sawtooth phase modulation amplitude is 2. PHASE The result of this synchronism is that the rate at which data may be extracted from the series bit stream produced by the SVFC is limited. The output pulses are typically counted during a fixed gate interval and the result is interpreted as an average frequency. The resolution of such a measurement is determined by the clock frequency and the gate time. For example, if the clock frequency is 4 MHz and the gate time is 4.096 ms, a maximum count of 8,192 is produced by a full-scale frequency of 2 MHz. Thus, the resolution is 13 bits. OVERRANGE Since each reset pulse is only one clock period in length, the full-scale output frequency is equal to one-half the clock frequency. At full scale, the current steering switch spends half of the time on the summing junction; thus, an input current of 0.5 mA can be balanced. In the case of an overrange, the output of the integrator op amp drifts in the negative direction and the output of the comparator remains high. The logic circuits simply settle into a divide-by-two of the clock state. 2 EXPECTED PHASE 2 ACTUAL PHASE TIME MOD (t) TIME 2 AVERAGE CARRIER FREQUENCY PHASE MODULATION 00798-007 VOUT (t) = COS (2 x fAVE x t + MOD (t)) Figure 7. Phase Modulation Rev. C | Page 8 of 28 AD652 the AD652 is specified for a 0 V to 10 V input range using the internal 20 k resistor. If a current input is used, the gain drift is degraded by a maximum of 100 ppm/C (the TC of the 20 k resistor). If an external resistor is connected to Pin 5 to establish a different input voltage range, drift is induced to the extent that the external resistor's TC differs from the TC of the internal resistor. The external resistor used to establish a different input voltage range should be selected to provide a full-scale current of 0.5 mA (i.e., 10 k for 0 V to 5 V). SVFC CONNECTION FOR DUAL SUPPLY, POSITIVE INPUT VOLTAGES Figure 8 shows the AD652 connection scheme for the traditional dual supply, positive input mode of operation. The VS range is from 6 V to 18 V. When +VS is lower than 9.0 V, As shown in Figure 8, three additional connections are required The first connection is to short Pin 13 to Pin 8 (Analog Ground to -VS) and add a pull-up resistor to +VS (as shown in Figure 21). The pull-up resistor is determined by the following equation: 2VS - 5 V Voltages that are negative with respect to ground may be used as the input to the AD652 SVFC. In this case, Pin 7 is grounded and the input voltage is applied to Pin 6 (see Figure 9). In this mode, the input voltage can go as low as 4 V above -VS. In this configuration, the input is a high impedance, and only the 20 nA (typical) input bias current of the op amp must be supplied by the input signal. This is contrasted with the more usual positive input voltage configuration, which has a 20 k input impedance and requires 0.5 mA from the signal source. 500 A These connections ensure proper operation of the 5 V reference. Tie Pin 16 to Pin 6 (as shown in Figure 21) to ensure that the integrator output ramps down far enough to trip the comparator. The CERDIP-packaged AD652 accepts either a 0 V to 10 V or 0 mA to 0.5 mA full-scale input signal. The temperature drift of +VS AD652 SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER 1 5V REFERENCE 16 2 15 3 14 4 13 5 12 ANALOG GND CINT -VS ONE SHOT 6 RL 5V 11 20k 7 10 1mA Q 8 AND CK DIGITAL GND FREQ OUT CLOCK +VS 9 D "D" Q FLOP 00798-008 - VIN + Figure 8. Standard V/F Connection for Positive Input Voltage with Dual Supply +VS AD652 1 SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER 5V REFERENCE 16 2 15 3 14 4 13 5 12 CINT - VIN + ONE SHOT 6 ANALOG GND RL 5V 11 20k 7 10 1mA Q 8 AND -VS CK CLOCK 9 D "D" Q FLOP Figure 9. Negative Voltage Input Rev. C | Page 9 of 28 DIGITAL GND FREQ OUT +VS 00798-009 R PULLUP = SVFC CONNECTIONS FOR NEGATIVE INPUT VOLTAGES AD652 +VS AD652 1 20k SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER 5V REFERENCE 16 2 15 3 14 4 13 5 12 ANALOG GND CINT VIN 6 5V 7 ONE SHOT RL DIGITAL GND FREQ OUT 5V 11 20k 10 1mA AND -VS CLOCK CK 9 D COS "D" Q FLOP 00798-010 Q 8 Figure 10. Bipolar Offset SVFC CONNECTION FOR BIPOLAR INPUT VOLTAGES VREF FOUT ROS VIN RIN IDEAL TRANSFER RELATION FZERO VIN Using an external resistor to inject the offset current has some effect on the bipolar offset temperature coefficient. The ideal transfer curve with bipolar inputs is shown in Figure 11. The user actually has four options to use in injecting the bipolar offset current into the inverting input of the op amp: 1. Use an external resistor for ROS and the internal 20 k resistor for RIN (as shown in Figure 10). 2. Use the internal 20 k resistor as ROS and an external RIN. 4. -5V +5V Figure 11. Ideal Bipolar Input Transfer Curve over Temperature FOUT CASE 1 RIN INTERNAL ROS EXTERNAL IDEAL TEMPERATURE PERTURBED FZERO TRANSFER VIN -5V VZERO Use two external resistors. FOUT Use two internal resistors for RIN and ROS (available on PLCC version only). IDEAL CASE 2 RIN EXTERNAL ROS INTERNAL Option 4 provides the closest to the ideal transfer function as diagrammed in Figure 11. Figure 12 shows the effects of the transfer relation on the other three options. In the first case, the slope of the transfer function is unchanged with temperature. However, VZERO (the input voltage required to produce an output frequency of 0 Hz) and FZERO (the output frequency when VIN = 0 V) changes as the transfer function is displaced parallel to the voltage axis with temperature. In the second case, FZERO remains constant, but VZERO changes as the transfer function rotates about FZERO with temperature changes. In the third case, with two external resistors, the VZERO point remains invariant while the slope and offset of the transfer function change with temperature. If selecting this third option, the user should select low drift, matched resistors. FZERO TEMPERATURE PERTURBED VIN VZERO -5V FOUT CASE 3 RIN EXTERNAL ROS EXTERNAL Rev. C | Page 10 of 28 IDEAL TEMPERATURE PERTURBED FZERO VIN -5V VZERO Figure 12. Actual Bipolar Input Transfer over Temperature 00798-012 3. VZERO 00798-011 A bipolar input voltage of 5 V can be accommodated by injecting a 250 A current into Pin 5 (see Figure 10). A -5 V signal provides a zero sum current at the integrator summing junction, which results in a zero-output frequency; a +5 V signal provides a 0.5 mA (full-scale) sum current, which results in the full-scale output frequency. AD652 5 5 AD652 6 10k NC 7 10k 8 + - 9 10 NC NC 10k SYNCHRONOUS 16k VOLTAGE-TOFREQUENCY NC 7 10k CONVERTER NC 8 4k VIN AD652 6 SYNCHRONOUS 16k VOLTAGE-TOFREQUENCY CONVERTER 4k 9 + - A. PLCC 0V TO 10V INPUT 5 AD652 6 10k - 10k 10k 10k 9 10 NC CONVERTER 8 4k NC SYNCHRONOUS 16k VOLTAGE-TOFREQUENCY NC 7 CONVERTER NC 8 AD652 6 SYNCHRONOUS 16k VOLTAGE-TOFREQUENCY 7 VIN VIN B. PLCC 0V TO 8V INPUT 5 + 10 NC 4k 5V REF VIN 5V 9 10 20 NC NC = NO CONNECT 00798-013 D. PLCC 5V INPUT C. PLCC 0V TO 5V INPUT Figure 13. PLCC CONNECTIONS AD652 1 250k 5V REFERENCE 16 2 15 3 14 4 13 20k 0.02F 5 2M 500 12 ONE SHOT 6 11 20k VIN 7 10 1mA Q 8 CK 9 D AND "D" Q FLOP 00798-014 Bipolar input voltages can be accommodated by injecting 250 A into Pin 5 with the use of the 5 V reference and the input resistors. For the 5 V or 2.5 V range, the reference output, Pin 20, should be tied to Pin 10. The input signal should then be applied to Pin 8 for a 5 V signal and to Pin 7 for a 2.5 V signal. The input connections for a 5 V range are shown in Figure 13D. For a 4 V range, the input signal should be applied to Pin 9, and Pin 20 should be connected to Pin 8. SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER +VS The PLCC packaged AD652 offers additional input resistors not found on the CERDIP-packaged device. These resistors provide the user with additional input voltage ranges. Besides the 10 V range available using the on-chip resistor in the CERDIP the PLCC also offers 8 V and 5 V ranges. Figure 13A to Figure 13C show the proper connections for these ranges with positive input voltages. For negative input voltages, the appropriate resistor should be tied to analog ground and the input voltage should be applied to Pin 6, the + input of the op amp. Figure 14. CERDIP Gain and Offset Trim 350k 3.5mV OFFSET TRIM 3 500 2 1 20 19 AD652 20k SYNCHRONOUS 5V VOLTAGE-TO-FREQUENCY REFERENCE CONVERTER 4 18 5 17 0.02F The gain error of the AD652 is laser trimmed to within 0.5%. If higher accuracy is required, the internal 20 k resistor must be shunted with a 2 M resistor to produce a parallel equivalent that is 1% lower in value than the nominal 20 k. Full-scale adjustment is then accomplished using a 500 series trimmer. See Figure 14 and Figure 15. When negative input voltages are used, this 500 trimmer is tied to ground and Pin 6 is the input pin. 6 AND 10k 2M 500 Q CK 8 16 15 ONE SHOT 1mA 16k 14 4k 9 10 11 Figure 15. PLCC Gain and Offset Trim Rev. C | Page 11 of 28 "D" FLOP 7 10k VIN Q D 12 13 00798-015 GAIN AND OFFSET CALIBRATION AD652 This gain trim should be done with an input voltage of 9 V, and the output frequency should be adjusted to exactly 45% of the clock frequency. Since the device settles into a divide-by-2 mode for an input overrange condition, adjusting the gain with a 10 V input is impractical; the output frequency is exactly one-half the clock frequency if the gain is too high and does not change with adjustment until the exact proper scale factor was achieved. Thus, the gain adjustment should be done with a 9 V input. The offset of the op amp may be trimmed to zero with the trim scheme shown in Figure 14 for the CERDIP package and Figure 15 for the PLCC package. One way of trimming the offset is by grounding Pin 7 (8) of the CERDIP (PLCC) device and observing the waveform at Pin 4. If the offset voltage of the op amp is positive, the integrator has saturated and the voltage is at the positive rail. If the offset voltage is negative, there is a small effective input current that causes the AD652 to oscillate; a sawtooth waveform is observed at Pin 4. The potentiometer should be adjusted until the downward slope of this sawtooth becomes very slow, down to a frequency of 1 Hz or less. In an analog-to-digital conversion application, an easier way to trim the offset is to apply a small input voltage, such as 0.01% of the full-scale voltage, and adjust the potentiometer until the correct digital output is reached. REFERENCE NOISE The AD652 has an on-board, precision buffered 5 V reference available to the user. Besides being used to offset the noninverting comparator input in the voltage-to-frequency mode, this reference can be used for other applications such as offsetting the input to handle bipolar signals and providing bridge excitation. It can source 10 mA and sink 100 A, and is short-circuit protected. Heavy loading of the reference does not change the gain of the VFC, though it does affect the external reference voltage. For example, a 10 mA load interacting with a 0.3 typical output impedance changes the reference voltage by 0.06%. DIGITAL INTERFACING CONSIDERATIONS The AD652 clock input has a high impedance input with a threshold voltage of two diode voltages with respect to Digital Ground at Pin 12 (approximately 1.2 V at room temperature). When the clock input is low, 5 A to 10 A flows out of this pin. When the clock input is high, no current flows. The frequency output is an open collector pull-down capable of sinking 10 mA with a maximum voltage of 0.4 V. This drives 6 standard TTL inputs. The open collector pull-up voltage can be as high as 36 V above digital ground. COMPONENT SELECTION GAIN PERFORMANCE The AD652 gain error is specified as the difference in slope between the actual and the ideal transfer function over the fullscale frequency range. Figure 16 shows a plot of the typical gain error changes versus the clock input frequency, normalized to 100 kHz. Figure 16 shows the typical gain changes normalized to the original 100 kHz gain if, after using the AD652 with a full-scale clock frequency of 100 kHz, the necessary gating time is reduced by increasing the clock frequency. 5 4 The AD652 integrating capacitor should be 0.02 F. If a large amount of normal mode interference is expected (more than 0.1 V) and the clock frequency is less than 500 kHz, an integrating capacitor of 0.1 F should be used. Mylar, polypropylene, or polystyrene capacitors should be used. The open collector pull-up resistor should be chosen to give adequately fast rise times. At low clock frequencies (100 kHz), larger resistor values (several k) and slower rise times may be tolerated. However, at higher clock frequencies (1 MHz), a lower value resistor should be used. The loading of the logic input that is being driven must also be taken into consideration. For example, if two standard TTL loads are to be driven, a 3.2 mA current must be sunk, leaving 6.8 mA for the pull-up resistor if the maximum low level voltage is to be maintained at 0.4 V. A 680 resistor would therefore be selected ((5 V - 0.4 V)/6.8 mA) = 680 . 2 1 0 -1 -2 -3 00798-016 ERROR (ppm) x 103 3 -4 -5 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 CLOCK FREQUENCY (kHz) Figure 16. Gain vs. Clock Input Rev. C | Page 12 of 28 AD652 The one-shot capacitor controls the pulse width of the frequency output. The pulse is initiated by the rising edge of the clock signal. The delay time between the rising edge of the clock and the falling edge of the frequency output is typically 200 ns. The width of the pulse is 5 ns/pF, and the minimum width is about 200 ns with Pin 9 floating. If the one-shot period is accidentally chosen longer than the clock period, the width of the pulse defaults to equal the clock period. The one-shot can be disabled by connecting Pin 9 to +VS (Figure 17); the output pulse width is then equal to the clock period. The one-shot is activated (Figure 18) by connecting a capacitor from Pin 9 to +VS, -VS, or Digital Ground (+VS is preferred). DIGITAL GROUND Digital Ground can be at any potential between -VS and (+VS - 4 V). This can be very useful in systems with derived grounds rather than stiff supplies. For example, in a small isolated power circuit, often only a single supply is generated and the ground is set by a divider tap. Such a ground cannot handle the large currents associated with digital signals. With the AD652 SVFC, it is possible to connect the Digital Ground to -VS for a solid logic reference, as shown in Figure 19. +VS AD652 +VS 1 AD652 1 SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER 5V REFERENCE SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER 5V REFERENCE 15 3 14 4 13 16 2 CINT 15 5 3 14 4 - VIN + 13 5 6 7 CK "D" Q FLOP "D" Q FLOP Figure 19. Digital GND at -VS 16 2 15 3 14 4 13 5 ONE SHOT 6 12 11 20k 10 1mA Q 8 AND CK 9 D "D" Q FLOP COS ANY AC GND (+VS, -VS, OR DIGITAL GND) 00798-018 7 CK 9 CLOCK D -VS AD652 5V REFERENCE FREQ OUT COS 00798-019 D Figure 17. One-Shot Disabled 1 5V 9 00798-017 AND SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER Q AND 10 Q RL 11 10 1mA 8 11 1mA 8 12 20k 20k 7 ONE SHOT 12 ONE SHOT 6 16 2 Figure 18. One-Shot Enabled Rev. C | Page 13 of 28 AD652 SINGLE-SUPPLY OPERATION output. This resistor should be selected such that a current of approximately 500 A flows during operation. For example, with a power supply voltage of +15 V, a 20 k resistor is selected ((15 V-5 V)/500 A = 20 k). In addition to the Digital Ground being connected to -VS, it is also possible to connect Analog Ground to -VS of the AD652. Thus, the device is truly operating from a single-supply voltage that can range from 12 V to 36 V. This is shown in Figure 21 for a positive voltage input, and in Figure 20 for a negative voltage input. Figure 20 shows the negative voltage input configuration for using the AD652 in single-supply mode. In this mode, the signal source is driving the + input of the op amp, which requires only 20 nA (typical) compared to the 0.5 mA required in the positive input voltage configuration. The voltage at Pin 6 may go as low as 4 V above ground (-VS Pin 8). Since the input reference is 5.0 V above ground, this leaves a 1 V window for the input signal. To drive the integrating capacitor with a 0.5 mA full-scale current, it is necessary to provide an external 2 k resistor. This results in a 2 k resistor and a 1 V input range. The external 2 k resistor should be a low TC metal-film type for lowest drift degradation. In Figure 21, the comparator reference is used as a derived ground; the input voltage is referred to this point as well as to the op amp common mode (Pin 6 is tied to Pin 16). Since the input signal source must drive 0.5 mA of full-scale signal current into Pin 7, it must also draw the exact same current from the input reference potential. This current is therefore provided by the 5 V reference. In single-supply operation, an external resistor, RPULLUP, is necessary between the power supply, +VS, and the 5 V reference +VS RPULLUP AD652 1 INPUT REFERENCE 5V REFERENCE 16 2 15 3 14 4 13 5 12 ANALOG GND 2k CINT - ONE SHOT 6 SIGNAL SOURCE 1V FULL SCALE RL 11 5V DIGITAL GND 20k 7 10 1mA Q 8 AND CLOCK CK 9 D COS "D" Q FLOP 00798-021 + SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER Figure 20. Single-Supply Mode Negative Voltage Input +VS RPULLUP AD652 1 ISIGNAL INPUT REFERENCE 5V REFERENCE 16 2 15 3 14 4 13 5 12 ANALOG GND CINT - ONE SHOT 6 RL DIGITAL GND FREQ OUT 5V 11 20k 7 ISIGNAL 0.5mA FULL SCALE 10 1mA Q 8 AND CK CLOCK 9 D "D" Q FLOP COS 00798-020 + SIGNAL SOURCE SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER ANALOG GND Figure 21. Single-Supply Mode Positive Voltage Input Rev. C | Page 14 of 28 AD652 FREQUENCY-TO-VOLTAGE CONVERTER The AD652 SVFC also works as a frequency-to-voltage converter. Figure 22 shows the connection diagram for F/V conversion. In this case, the negative input of the comparator is fed the input pulses. Either comparator input may be used so that an input pulse of either polarity may be applied to the F/V. In Figure 22, the + input is tied to a 1.2 V reference and lowlevel TTL pulses are used as the frequency input. The pulse must be low on the falling edge of the clock. On the subsequent rising edge, the 1 mA current source is switched to the integrator summing junction and ramps up the voltage at Pin 4. Due to the action of the AND gate, the 1 mA current is switched off after only one clock period. The average current delivered to the summing junction varies from 0 mA to 0.5 mA; using the internal 20 k resistor, this results in a full-scale output voltage of 10 V at Pin 4. The frequency response of the circuit is determined by the capacitor; the -3 dB frequency is simply the RC time constant. A tradeoff exists between ripple and response. If low ripple is desired, a large value capacitor must be used (1 F); if fast response is needed, a small capacitor is used (1 nF minimum). The op amp can drive a 5 k resistor load to 10 V, using a 15 V positive power supply. If a large load capacitance (0.01 F) must be driven, it is necessary to isolate the load with a 50 resistor as shown. Because the 50 resistor is 0.25% of the full scale, and the specified gain error with the 20 k resistor is 0.5%, this extra resistor only increases the total gain error to 0.75% max. The circuit shown is unipolar and only a 0 V to +10 V output is allowed. The integrator op amp is not a general-purpose op amp. Instead, it has been optimized for simplicity and high speed. The most significant difference between this amplifier and a general-purpose op amp is the lack of an integrator (or level shift) stage. Consequently, the voltage on the output (Pin 4) must always be more positive than 1 V below the inputs (Pins 6 and 7). For example, in the F-to-V conversion mode, the noninverting input of the op amp (Pin 6) is grounded, which means the output (Pin 4) cannot go below -1 V. Normal operation of the circuit as shown never calls for a negative voltage at the output. A second difference between this op amp and a general-purpose amplifier is that the output only sinks 1.5 mA to the negative supply. The only pull-down other than the 1 mA current used for voltage-to-frequency conversion is a 0.5 mA source. The op amp sources a great deal of current from the positive supply, and is internally protected by current limiting. The op amp output may be driven to within 4 V of the positive supply when not sourcing external current. When sourcing 10 mA, the output voltage may be driven to within 6 V of the positive supply. FREQ IN +VS 5V AD652 1 5k 5V REFERENCE 16 2 15 3 14 4 13 1N4148 50 5k 0.01F C 5 ONE SHOT 6 12 11 DIGITAL GND NC CLOCK 20k 7 10 1mA Q 8 AND -VS CK D 9 NC "D" Q FLOP CLOCK FREQ IN VOLTS OUT LOADS ON FALLING EDGE OF CK SHIFTS OUT ON RISING EDGE OF CL FREQUENCY TO VOLTS CONVERTER Figure 22. Frequency-to-Voltage Converter Rev. C | Page 15 of 28 00798-022 + VOUT - SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER AD652 DECOUPLING AND GROUNDING 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 a 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 AD652. Additionally, a larger board-level decoupling capacitor of 1 F to 10 F should be located relatively close to the AD652 on each power supply line. Such precautions are imperative in high resolution data acquisition applications where one expects to exploit the full linearity and dynamic range of the AD652. Separate digital and analog grounds are provided on the AD652. Only the emitter of the open-collector frequency output transistor and the clock input threshold are returned to the digital ground. Only the 5 V reference is connected to analog ground. The purpose of the two separate grounds is to allow isolation between the high precision analog signals and the digital section of the circuitry. Much noise can be tolerated on the digital ground without affecting the accuracy of the VFC. Such ground noise is inevitable when switching the large currents associated with the frequency output signal. At high full-scale frequencies, it is necessary to use a pull-up resistor of about 500 in order to get the rise time fast enough to provide well-defined output pulses. This means that from a 5 V logic supply, for example, the open collector output draws 10 mA. This much current being switched causes ringing on long ground runs due to the self-inductance of the wires. For instance, 20-gauge wire has an inductance of about 20 nH per inch; a current of 10 mA being switched in 50 ns at the end of 12 inches of 20-gauge wire produces a voltage spike of 50 mV. The separate digital ground of the AD652 easily handles these types of switching transients. A problem remains from interference caused by radiation of electromagnetic energy from these fast transients. Typically, a voltage spike is produced by inductive switching transients; these spikes can capacitively couple into other sections of the circuit. Another problem is ringing of ground lines and power supply lines due to the distributed capacitance and inductance of the wires. Such ringing can also couple interference into sensitive analog circuits. The best solution to these problems is proper bypassing of the logic supply at the AD652 package. A 1 F to 10 F tantalum capacitor should be connected directly to the supply side of the pull-up resistor and to the digital ground, Pin 12. The pull-up resistor should be connected directly to the frequency output, Pin 11. The lead lengths on the bypass capacitor and the pull-up resistor should be as short as possible. The capacitor supplies (or absorbs) the current transients, and large ac signals flow in a physically small loop through the capacitor, pull-up resistor, and frequency output transistor. It is important that the loop be physically small for two reasons: first, there is less inductance if the wires are short, and second, the loop does not radiate RFI efficiently. The digital ground (Pin 12) should be separately connected to the power supply ground. Note that the leads to the digital power supply are only carrying dc current. There may be a dc ground drop due to the difference in currents returned on the analog and digital grounds. This does not cause a problem; these features greatly ease power distribution and ground manage-ment in large systems. The proper technique for grounding requires separate digital and analog ground returns to the power supply. Also, the signal ground must be referred directly to the analog ground (Pin 6) at the package. More information on proper grounding and reduction of interference can be found in Noise Reduction Techniques in Electronic Systems, by H.W. Ort, (John Wiley, 1976). Rev. C | Page 16 of 28 AD652 +5V RPU 2.87k 8 AD654 R1 R2 8.06k 2k 1 A OSC/DRIVER 4 1k R3 1k V1 0V-10V C B 74LS86 2 C1 500pF 3 5 6 7 fC RT 1k CT 200pF +15V AD652 1 0.02F V2 0V-10V SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER 5V REFERENCE 16 2 15 3 14 4 13 5 - 6 + 7 ONE SHOT 12 +5V 11 20k 10 1mA Q 8 AND CK 9 fOUT D "D" Q FLOP 200pF -15V +15V +5V AD652 VOUT 400pF SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER 5V REFERENCE 16 2 15 3 14 4 13 5 ONE SHOT 6 12 11 20k 7 10 1mA Q 8 AND CK 2k 1MHz CLOCK INPUT 9 D "D" Q FLOP -15V 00798-023 1 Figure 23. Frequency Output Multiplier FREQUENCY OUTPUT MULTIPLIER The AD652 can serve as a frequency output multiplier when used in conjunction with a standard voltage-to-frequency converter. Figure 23 shows the low cost AD654 VFC being used as the clock input to the AD652. Also shown is a second AD652 in the F/V mode. The AD654 is set up to produce an output frequency of 0 kHz to 500 kHz for an input voltage (V1) range of 0 V to 10 V. The use of R4, C1, and the XOR gate doubles this output frequency from 0 kHz-500 kHz to 0 MHz-1 MHz. This 1 MHz full-scale frequency is then used as the clock input to the AD652 SVFC. Because the AD652 full-scale output frequency is one-half the clock frequency, the 1 MHz FS clock frequency establishes a 500 kHz maximum output frequency for the AD652 when its input voltage (V2) is 10 V. The user therefore has an output frequency range from 0 kHz to 500 kHz, which is proportional to the product of V1 and V2. Rev. C | Page 17 of 28 AD652 system with high noise immunity. Figure 26, Figure 27, and Figure 30 show the SVFC multiplexer, a representative means of data transmission, and an SVFC demultiplexer respectively. This can be shown in equation form, where fC is the AD654 output frequency and fOUT is the AD652 output frequency: f OUT 1 MHz Multiplexer 10 V Figure 30 shows the SVFC multiplexer. The clock inputs for the several SVFC channels are generated by a TIM9904A 4-phase clock driver, and the frequency outputs are combined by strapping all the frequency output pins together (a wire OR connection). The one-shot in the AD652 sets the pulse width of the frequency output pulses to be slightly shorter than one quarter of the clock period. Synchronization is achieved by applying one of the four available phases to a fixed TTL oneshot ('121) and combining the output with external transistor. fC = V2 2 10 V 1 MHz f OUT = V1V 2 2(10 V )(10 V ) fOUT = V1 x V2 x 5 kHz/V2 The scope photo in Figure 24 shows V1 and V2 (top two traces) and the output of the F-V (bottom trace). V1 Transmitter V2 The multiplex signal can be transmitted in any manner suitable to the task at hand. A pulse transformer or an opto-isolator can provide galvanic isolation; extremely high voltage isolation or transmission through severe RF environments can be accomplished with a fiber optic link; telemetry can be achieved with a radio link. The circuit shown in Figure 27 uses an EIA RS-422 standard for digital data transmission over a balanced line. Figure 24 shows the waveforms of the four clock phases and the multiplex output signal. Note that the sync pulse is present every clock cycle, but the data pulses are no more frequent than every other clock cycle since the maximum output frequency from the SVFC is half the clock frequency. The clock frequency used in this circuit is 819.2 kHz, which provides more than 16 bits of resolution if 100 ms gate time is allowed for counting pulses of the decoded output frequencies. 00798-024 VOUT Figure 24. Multiplier Waveforms SINGLE-LINE MULTIPLEXED DATA TRANSMISSION It is often necessary to measure several different signals and relay the information to some remote location using a minimum amount of cable. Multiple AD652 SVFC devices may be used with a multiphase clock to combine these measurements for serial transmission and demultiplexing. Figure 25 shows a block diagram of a single-line multiplexed data transmission CLK GENERATOR 1 2 3 4 AD652 The width of this sync pulse is shorter than the width of the frequency output pulses to facilitate decoding the signal. The RC lag network on the input of the one-shot provides a slight delay between the rising edge of the clock and the sync pulse in order to match the 150 ns delay of the AD652 between the rising edge of the clock and the output pulse. SVFC MULTIPLEXER (SEE FIGURE 26) AD652 AD652 ONE SHOT TRANSMISSION LINK VIN1 VIN2 VIN3 f1 f2 SVFC DEMULTIPLEXER (SEE FIGURE 30) f3 SVFC DEMUX TRANSMISSION LINK (SEE FIGURE 27) 2 3 4 AD652 AD652 AD652 VOUT1 VOUT2 VOUT3 DEMULTIPLEXER FREQUENCY TO VOLTAGE CONVERSION (SEE FIGURE 31) Figure 25. Single-Line Multiplexed Data Transmission Block Diagram Rev. C | Page 18 of 28 00798-025 f C = V1 AD652 +VS +VS +VS 1 16 1 16 1 16 2 15 2 15 2 15 3 14 3 14 3 13 4 13 4 AD652 4 0.02F 5 6 VIN2 14 AD652 SYNCHRONOUS VOLTAGE-TO- 12 FREQUENCY CONVERTER 7 10 8 9 SYNCHRONOUS VOLTAGE-TO- 12 FREQUENCY CONVERTER 0.02F 5 11 6 2 VIN3 AD652 0.02F 5 11 7 10 8 9 15pF 6 3 VIN4 13 SYNCHRONOUS VOLTAGE-TO- 12 FREQUENCY CONVERTER 11 7 10 8 9 15pF -VS 15pF -VS -VS TIM 9904A 3 7.4H L = 41 TURNS T50-7 CORE MICROMETALS C = 300pF GND 1 XTAL 4 18 3.2768MHz CRYSTAL 1k 4 FFQ OSCIN 17 5 FFD OSCOUT 16 4 TTL 2 TTL 15 3 TTL 1 TTL 14 3 8 3 VDD 13 +5V 4 9 4 1 12 1 11 2 GND 2 14 NC 2 A1 13 A2 7 10 1 +5V 3 12 4 11 5 Q 1500pF 6 GND Q Q 7 MULTIPLEX OUT +5V 1 150 6 2 ONE SHOT '121 VCC +5V NC 2k NC REXT/CEXT 10 CEXT 50pF 9 RINT 8 NC 500 10k 2N2222 00798-026 2 +5V VCC 20 TANK 1 19 TANK 2 XTAL 2 18pF Figure 26. SVFC Multiplexer AM26LS31 QUAD HIGH SPEED DIFFERENTIAL LINE RECEIVER FROM ENCODER MPX INPUT +5V INPUTS A 1 16 2 15 INPUTS D 3 14 ENABLE 4 13 A OUTPUTS D OUTPUTS 5 12 ENABLE 6 11 INPUT B 7 10 B OUTPUTS C OUTPUTS GND 8 9 INPUT C AM26LS33 QUAD DIFFERENTIAL LINE RECEIVER +5V 75 INPUTS A 500 FEET BELDEN 9272 78 SHIELDED PAIR OUTPUT A 1 16 2 15 3 14 INPUTS B ENABLE 4 13 OUTPUT B OUTPUT C 5 12 ENABLE 6 11 INPUT D 7 10 8 9 INPUTS C INPUTS D MPX OUTPUT TO DECODER Figure 27. RS-422 Standard Data Transmission Rev. C | Page 19 of 28 00798-027 1 4 AD652 SVFC Demultiplexer The demultiplexer needed to separate the combined signals is shown in Figure 30. A phase-locked loop drives another 4-phase clock chip to lock onto the reconstructed clock signal. The sync pulses are distinguished from the data pulses by their shorter duration. Each falling edge on the multiplex input signal triggers the one-shot; at the end of this one-shot pulse, the multiplex input signal is sampled by a D-type flip-flop. If the signal is high, the pulse was short (a sync pulse) and the Q output of the D-flop goes low. The D-flop is cleared a short time (two gate delays) later, and the clock is reconstructed as a stream of short, low-going pulses. If the multiplex input is a data pulse, then the signal will still be low and no pulse will appear at the reconstructed clock output when the D-flop samples at the end of the one-shot period. See Figure 29. 1 2 3 4 00798-029 1MULTIPLEX OUTPUT 1 SYNC 2 3 DATA 4 Figure 28. Multiplexer Waveforms If it is desired to recover the individual frequency signals, the multiplex input is sampled with a D-flop at the appropriate time, as determined by the rising edge of the various phases generated by the clock chip. These frequency signals can be counted as a ratio relative to the reconstructed clock, so it is not even necessary for the transmitter to be crystal-controlled as shown in Figure 30. MULTIPLEX INPUT ONE SHOT RECONSTRUCTED CLOCK 1 00798-030 (PHASE LOCKED TO RECONSTRUCTED CLOCK) Figure 29. Demultiplexer Waveforms +5V RECONSTRUCTED CLOCK OUTPUT 14 MPX INPUT Q 1 CLEAR 3 1/2 '74 D CLOCK 13 4 5 10 PHASE LOCK LOOP MC4044 3.01k +5V 9 719 '00 4 2 11 3 8 0.1F 16 15 11 4 VCO 'LS629 2 50pF 5 1k '00 6 8 9 7 +5V 150 390pF Q +5V 1 A2 +5V 1 TANK 1 VCC 20 2 TANK 2 XTAL 2 19 3 GND 1 XTAL 1 18 REXT/CEXT 4 FFQ OSCIN 17 5 10 CEXT 50pF FFD OSCOUT 16 9 RINT 6 4 TTL 2 TTL 15 7 3 TTL 1 TTL 14 8 3 13 NC 3 12 NC 4 11 5 Q 6 GND 130 VCC 14 NC 2 A1 Q Q 7 2k NC 8 3 '74 (1/2) D CLOCK Q f2 '74 (1/2) 2 D CLOCK Q 4 '74 (1/2) 3 f3 RECONSTRUCTED FREQUENCY OUTPUTS +5V TIM 9904A 4 PHASE CLOCK D CLOCK Q 4 VDD 13 9 4 1 12 1 10 GND 2 2 11 2 f4 NC = NO CONNECT Figure 30. SVFC Demultiplexers Rev. C | Page 20 of 28 00798-028 ONE SHOT '121 AD652 +5V MPX INPUT 4k 1N4148 +VS 1 16 2 15 3 14 VOLTS OUT V3 +VS 1 16 2 15 3 14 AD652 4 13 5 6 1 16 2 15 3 14 AD652 4 SYNCHRONOUS VOLTAGE-TO- 12 FREQUENCY CONVERTER 0.02F VOLTS OUT V4 0.02F 5 11 7 10 8 9 6 2 -VS AD652 13 4 SYNCHRONOUS VOLTAGE-TO- 12 FREQUENCY CONVERTER 0.02F 5 11 7 10 8 9 6 3 -VS 13 SYNCHRONOUS VOLTAGE-TO- 12 FREQUENCY CONVERTER 11 7 10 8 9 4 -VS 00798-031 VOLTS OUT V2 +VS 2, 3, 4 ARE PINS 15, 7, 6 OF TIM9904A FROM DEMUX FIGURE 30 Figure 31. Demultiplexer Frequency-to-Voltage Conversion +5V CK CK D '74 Q 1.5k 1 DRIVER 2 10k 2N6659 7 OSC 200pF 3 100 MYLAR 0.01F 1.65k 5 AD654 2N6659 100 6 6.8k 4 D Q 8 1.2k V FREQUENCY OUTPUT Q '74 500 4 6 3 7 2 1.65k +5V AD589 1.2V 5 6N137 OPTOISOLATOR 8 1 +5V 24 TURNS T50- MICROMETALS 7 6 5 1 2 10H TRANSFORMER PICO 31080 3 ISOLATION BARRIER 4 1N4148 +15V 47F 7915 47F -15V REG 1 +15V REG 47F AD652 7815 47F SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER 5V REFERENCE 16 2 15 3 14 4 13 0.02F 5 -15V ONE SHOT +15V LO 6 HI 7 VIN 12 3k 11 20k 10 1mA Q 8 AND CK 9 1k D "D" Q FLOP 1nF -15V 1nF 00798-032 10k Figure 32. Isolated Synchronous VFC Analog Signal Reconstruction If it is desired to reconstruct the analog voltages from the multiplex signal, three more AD652 SVFC devices are used as frequency-to-voltage converters, as shown in Figure 31. The comparator inputs of all the devices are strapped together, the "+" inputs are held at a 1.2 V TTL threshold, and the "-" inputs are driven by the multiplex input. The three clock inputs are driven by the outputs of the clock chip. Remember that data at the comparator input of the SVFC is loaded on the falling edge of the clock signal and shifted out on the next rising edge. Note that the frequency signals for each data channel are available at the frequency output pin of each FVC. Rev. C | Page 21 of 28 AD652 In some applications, it may be necessary to have complete galvanic isolation between the analog signals being measured and the digital portions of the circuit. The circuit shown in Figure 32 runs off a single 5 V power supply and provides a selfcontained, completely isolated analog measurement system. The power for the AD652 SVFC is provided by a chopper and a transformer, and is regulated to 15 V. Both the chopper frequency and the AD652 clock frequency are 125 kHz, with the clock signal being relayed to the SVFC through the transformer. The frequency output signal is relayed through an opto-isolator and latched into a D flop. The chopper frequency is generated from an AD654 VFC, and is frequency divided by two to develop differential drive for the chopper transistors, and to ensure an accurate 50% duty cycle. The pullup resistors on the D flop outputs provide a well-defined high level voltage to the choppers to equalize the drive in each direction. The 10 H inductor in the 5 V lead of the transformer primary is necessary to equalize any residual imbalance in the drive on each half cycle, and thus prevent saturation of the core. The capacitor across the primary resonates the system so that under light loading conditions on the secondary, the wave shape is sinusoidal and the clock frequency is relayed to the SVFC. To adjust the chopper frequency, disconnect any load on the secondary and tune the AD654 for a minimum in the supply current drawn from the 5 V supply. A-TO-D CONVERSION In performing an A-to-D conversion, the output pulses of a VFC are counted for a fixed-gate interval. To achieve maximum performance with the AD652, the fixed-gate interval should be generated using a multiple of the SVFC clock input. Counting in this manner eliminates any errors due to the clock (whether it be jitter, drift with time or temperature, and so on) since it is the ratio of the clock and output frequencies that is being measured. The resolution of the A-to-D conversion measurement is determined by the clock frequency and the gate time. If, for instance, a resolution of 12 bits is desired and the clock frequency is 1 MHz (resulting in an AD652 FS frequency of 500 kHz) the gate time is: -1 1 Clock Freq FS Freq = N N 2 8192 = sec = 8.192 ms 1x 10 6 -1 1 MHz = 2( 4096 ) -1 Where N is the total number of codes for a given resolution. Figure 33 shows the AD652 SVFC as an A-to-D converter in block diagram form. VIN AD652 fOUT INPUT COUNTER TO P GATE CLOCK 00798-033 ISOLATED FRONT END /2N Figure 33. Block Diagram of SVFC A-to-D Converter To provide the /2N block, a single-chip counter such as the 4020B can be used. The 4020B is a 14-stage binary ripple counter that has a clock and master reset for inputs, and buffered outputs from the first stage and the last 11 stages. The output of the first stage is fCLOCK / 21 = fCLOCK/2, while the output of the last stage is fCLOCK / 214 = fCLOCK/16384. Therefore, using this single chip counter as the /2N block, 13-bit resolution can be achieved. Higher resolution can be achieved by cascading Dtype flip flops or another 4020B with the counter. Table 4 shows the relationship between clock frequency and gate time for various degrees of resolution. Note that if the variables are chosen such that the gate times are multiples of 50 Hz, 60 Hz, or 400 Hz, normal mode rejection (NMR) of those line frequencies occur. Table 4. Resolution 12 Bits 12 Bits 12 Bits 4 Digits 14 Bits 14 Bits 14 Bits 41/2 Digits 16 Bits 16 Bits N 4096 4096 4096 10000 16384 16384 16384 20000 65536 65536 Clock 81.92 kHz 2 MHz 4 MHz 200 kHz 327.68 kHz 1.966 MHz 1.638 MHz 400 kHz 655.36 kHz 4 MHz Conversion or Gate Time (ms) 100 4.096 2.048 100 100 16.66 20 100 200 32.77 Rev. C | Page 22 of 28 Typical Linearity (%) 0.002 0.01 0.02 0.002 0.002 0.01 0.01 0.002 0.002 0.02 Comments 50 Hz, 60 Hz,400 Hz NMR 50 Hz, 60 Hz, 400 Hz NMR 50 Hz, 60 Hz, 400 Hz NMR 60 Hz NMR 50 Hz NMR 50 Hz, 60 Hz, 400 Hz NMR 50 Hz, 60 Hz, 400 Hz NMR AD652 DELTA MODULATOR The circuit of Figure 34 shows the AD652 configured as a delta modulator. A reference voltage is applied to the input of the integrator (Pin 7), which sets the steady state output frequency at one-half of the AD652 full-scale frequency (1/4 of the clock frequency). As a 0 V to 10 V input signal is applied to the comparator (Pin 15), the output of the integrator attempts to track this signal. For an input in an idling condition (dc), the output frequency is one-half full scale. For positive-going signals, the output frequency is between one-half full scale and full scale; for negative-going signals, the output frequency is between zero and one-half full scale. The output frequency corresponds to the slope of the comparator input signal. The choice of an integrating capacitor is primarily dictated by the input signal bandwidth. Figure 37 shows this relationship. Note that as the value of CINT is lowered, the ramp size of the integrator approximation becomes larger. This can be compensated for by increasing the clock frequency. The effect of the clock frequency on the ramp size is demonstrated in Figure 35 and Figure 36. 1 5V REFERENCE 16 2 15 3 14 4 13 VIN (0V TO 10V) 1k 360pF 5 ONE SHOT 6 12 11 20k 7 -15V Figure 35. Delta Modulator Input Signal and Ramp-Wise Approximation +5V 10 1mA Q 8 AND CK 0.01F CLOCK FOUT 9 D "D" Q FLOP 0.0047F 00798-034 +15V 00798-035 AD652 SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER Figure 36. Delta Modulator Input Signal Ramp-Wise Approximation and Output Frequency Figure 35 is a scope photo showing a 20 kHz, 0 V to 10 V sine wave used as the input to the comparator and its ramp-wise approximation at the integrator output. The clock frequency used as 2 MHz and the integrating capacitor was 360 pF. Figure 36 shows the same input signal and its ramp-wise approximation, along with the output frequency corresponding to the derivative of the input signal. In this case, the clock frequency was 50 kHz. CINT (pF) 10k 1k 100 100 00798-037 Since the output frequency corresponds to the slope of the input signal, the delta modulator acts as a differentiator. A delta modulator is thus a direct way of finding the derivative of a signal. This is useful in systems where, for example, a signal corresponding to velocity exists, and it is desired to determine acceleration. 00798-036 Figure 34. Delta Modulator 1k 10k INPUT SIGNAL BANDWIDTH (Hz) Figure 37. Maximum Integrating Cap Value vs. Input Signal Bandwidth Rev. C | Page 23 of 28 AD652 These resistors should be selected such that the following equation holds: BRIDGE TRANSDUCER INTERFACE The circuit of Figure 38 illustrates a simple interface between the AD652 and a bridge-type transducer. The AD652 is an ideal choice because its buffered 5 V reference can be used as the bridge excitation, thereby ratiometrically eliminating the gain drift related errors. This reference provides a minimum of 10 mA of external current, which is adequate for bridge resistance of 600 and above. If, for example, the bridge resistance is 120 or 350 , an external pull-up resistor (RPU) is required. RPU and can be calculated using the following formula: R PU (max) = 2R 10 V = V BRIDGE F + 1 RG where 10 k RF 20 k, and VBRIDGE is the maximum output voltage of the bridge. The bridge output may be unipolar, as is the case for most pressure transducers, or it may be bipolar as in some strain measurements. If the signal is unipolar, the reference input of the AD625 (Pin 7) is simply grounded. If the bridge has a bipolar output, however, the AD652 reference can be tied to Pin 7, thereby, converting a 5 V signal (after gain) into a 0 V to +10 V input for the SVFC. +VS - 5 V 5V - 10 mA R BRIDGE An instrumentation amplifier is used to condition the bridge signal before presenting it to the SVFC. With its high CMRR, the AD652 minimizes common-mode errors and can be set to arbitrary gains between 1 and 10,000 via three resistors, simplifying the scaling for the part's calibrated 10 V input range. +15V RPU AD652 +15V VBRIDGE SYNCHRONOUS VOLTAGE-TOFREQUENCY CONVERTER 1 1 9 RF 5 AD625 2 15 3 14 4 13 10 15 RF 16 11 2 RG 5V REFERENCE 7 CINT 12 2 8 16 1 5 ONE SHOT 6 S1 7 Q AND -15V FOUT = VBRIDGE 2RF +1 RG FCLOCK2 10V Figure 38. Bridge Transducer Interface Rev. C | Page 24 of 28 CK RL FREQ OUT 11 10 1mA 8 NOTES 1. RF SHOULD BE BETWEEN 10k AND 20k. 2. RPU NEEDED IF RBRIDGE 600 3. S1 IN POSITION 1 FOR UNIPOLAR SIGNALS AND POSITION 2 FOR BIPOLAR SIGNALS. 12 20k -15V VLOGIC CLOCK IN 9 D "D" Q FLOP +15V 00798-038 RBRIDGE - + AD652 OUTLINE DIMENSIONS 0.098 (2.49) MAX 0.005 (0.13) MIN 16 0.310 (7.87) 0.220 (5.59) 9 PIN 1 1 0.200 (5.08) MAX 8 0.840 (21.34) MAX 0.060 (1.52) 0.015 (0.38) 0.320 (8.13) 0.290 (7.37) 0.150 (3.81) MIN 0.200 (5.08) 0.125 (3.18) 0.100 (2.54) BSC 0.023 (0.58) 0.014 (0.36) 0.015 (0.38) 0.008 (0.20) 15 0 0.070 (1.78) SEATING PLANE 0.030 (0.76) CONTROLLING DIMENSIONS ARE IN INCHES; MILLIMETER DIMENSIONS (IN PARENTHESES) ARE ROUNDED-OFF INCH EQUIVALENTS FOR REFERENCE ONLY AND ARE NOT APPROPRIATE FOR USE IN DESIGN Figure 39. 16-Lead Ceramic Dual In-Line Package [CERDIP] (Q-16) Dimensions shown in inches and (millimeters) 0.180 (4.57) 0.165 (4.19) 0.048 (1.21) 0.042 (1.07) 0.056 (1.42) 0.042 (1.07) 3 0.048 (1.21) 0.042 (1.07) 18 4 TOP VIEW (PINS DOWN) 0.020 (0.50) R 0.021 (0.53) 0.013 (0.33) 0.050 (1.27) BSC 0.330 (8.38) 0.032 (0.81) 0.290 (7.37) 0.026 (0.66) 14 8 9 0.020 (0.50) R 0.20 (0.51) MIN 19 BOTTOM VIEW 13 0.356 (9.04) 0.350 (8.89) SQ 0.395 (10.02) SQ 0.385 (9.78) 0.025 (0.64) MIN 0.120 (3.04) 0.090 (2.29) COMPLIANT TO JEDEC STANDARDS MO-047AA CONTROLLING DIMENSIONS ARE IN INCHES; MILLIMETER DIMENSIONS (IN PARENTHESES) ARE ROUNDED-OFF INCH EQUIVALENTS FOR REFERENCE ONLY AND ARE NOT APPROPRIATE FOR USE IN DESIGN Figure 40. 20-Lead Plastic Leaded Chip Carrier [PLCC] (P-20A) Dimensions shown in inches and (mm) 0.100 (2.54) 0.064 (1.63) 0.200 (5.08) REF 0.100 (2.54) REF 0.015 (0.38) MIN 0.075 (1.91) REF 0.095 (2.41) 0.075 (1.90) 3 19 18 0.358 (9.09) 0.342 (8.69) SQ 0.358 (9.09) MAX SQ 0.088 (2.24) 0.054 (1.37) 0.011 (0.28) 0.007 (0.18) R TYP 0.075 (1.91) REF 20 4 0.028 (0.71) 0.022 (0.56) 1 BOTTOM VIEW 14 13 0.055 (1.40) 0.045 (1.14) 0.050 (1.27) BSC 8 9 45 TYP 0.150 (3.81) BSC CONTROLLING DIMENSIONS ARE IN INCHES; MILLIMETER DIMENSIONS (IN PARENTHESES) ARE ROUNDED-OFF INCH EQUIVALENTS FOR REFERENCE ONLY AND ARE NOT APPROPRIATE FOR USE IN DESIGN Figure 41. 20-Terminal Leadless Chip Carrier [LCC] (E-20A) Dimensions shown in inches and (mm) Rev. C | Page 25 of 28 (PINS UP) AD652 ORDERING GUIDE Model AD652JP AD652JP-REEL AD652JP-REEL7 AD652KP AD652KP-REEL AD652AQ2 AD652BQ2 AD652SE/883B2 AD652SQ2 AD652SQ/883B2 1 2 Gain Drift, 100 kHz 50 ppm/C max 50 ppm/C max 50 ppm/C max 25 ppm/C max 25 ppm/C max 50 ppm/C max 25 ppm/C max 50 ppm/C max 50 ppm/C max 50 ppm/C max 1 MHz Linearity (%) 0.02 max 0.02 max 0.02 max 0.005 max 0.005 max 0.02 max 0.005 max 0.02 max 0.02 max 0.02 max Specified Temperature Range 0C to +70C 0C to +70C 0C to +70C 0C to +70C 0C to +70C -40C to +85C -40C to +85C -55C to +125C -55C to +125C -55C to +125C Package Options 1 PLCC (P-20A) PLCC (P-20A) PLCC (P-20A) PLCC (P-20A) PLCC (P-20A) CERDIP (Q-16) CERDIP (Q-16) LCC (E-20A) CERDIP (Q-16) CERDIP (Q-16) P = Plastic Leaded Chip Carrier; Q = CERDIP, E = Leadless Chip Carrier. For details on grade and package offerings screened in accordance with MILSTD-883, refer to the Analog Devices Military Products Databook or current AD652/883 data sheet. Rev. C | Page 26 of 28 AD652 NOTES Rev. C | Page 27 of 28 AD652 NOTES (c) 2004 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. C00798-0-5/04(C) Rev. C | Page 28 of 28