AD6545VGNDFREQUENCY DOUBLING Since the AD654’s output is a square-wave rather than a pulse train, information about the input signal is carried on both 20pFVCC VDDVSSP10 halves of the output waveform. The circuit in Figure 12 converts XTAL1PORT 1 the output into a pulse train, effectively doubling the output 6MHz20pFP17 frequency, while preserving the better low frequency linearity of XTAL21 m FP20 the AD654. This circuit also accommodates an input voltage RESET that is greater than the AD654 supply voltage. PORT 2EA8048 Resistors R1–R3 are used to scale the 0 V to +10 V input voltage NCSSP27 down to 0 V to +1 V as seen at Pin 4 of the AD654. Recall that INTDB0 VIN must be less than VSUPPLY –4 V, or in this case less than 1 V. T0BUS The timing resistor and capacitor are selected such that this 0 V PORTT1DB7 to +1 V signal seen at Pin 4 results in a 0 kHz to 200 kHz output ALEPSEN PROG WR RD frequency. NCNC The use of R4, C1 and the XOR gate doubles this 200 kHz 5VNC = NO CONNECT output frequency to 400 kHz. The AD654 output transistor is 10k V basically used as a switch, switching capacitor C1 between a charging mode and a discharging mode of operation. The voltages 18 seen at the input of the 74LS86 are shown in the waveform dia- 27AD6541000pF gram. Due to the difference in the charge and discharge time 36 constants, the output pulse widths of the 74LS86 are not equal. 1k V +45 The output pulse is wider when the capacitor is charging due to its longer rise time than fall time. The pulses should therefore be V825 V IN1% counted on their rising, rather than falling, edges. (0V TO 1V)500 V –DA Figure 11. AD654 VFC as an ADC 5VRPU 2.87k V 74LS86AAD654CR1R28.06k V 2k V OSC/R4DRIVER1k V BC11000pFR3V/F OUTPUTVIN1k V FS = 400MHz(0V TO 10V)RT 1k V CT500pFOFFTRANSISTOR ONVA0VB05C0WAVEFORM DIAGRAM Figure 12. Frequency Doubler REV. C –9–