4-Channel, Simultaneous Sampling, High Speed, 12-Bit ADC AD7864
4-Channel, Simultaneous Sampling, High Speed, 12-Bit ADC AD7864
FEATURES
High speed (1.65 s) 12-bit ADC 4 simultaneously sampled inputs 4 track-and-hold amplifiers 0.35 s track-and-hold acquisition time 1.65 s conversion time per channel HW/SW select of channel sequence for conversion Single-supply operation Selection of input ranges 10 V, 5 V for AD7864-1 2.5 V for AD7864-3 0 V to 2.5 V, 0 V to 5 V for AD7864-2 High speed parallel interface that allows Interfacing to 3 V processors Low power, 90 mW typical Power saving mode, 20 W typical Overvoltage protection on analog inputs
STBY VIN1A VIN1B VIN2A VIN2B VIN3A VIN3B VIN4A VIN4B FRSTDATA BUSY EOC CONVERSION CONTROL LOGIC
VREF
VREF GND 6k
DVDD VDRIVE
2.5V REFERENCE
DGND AGND RD
AD7864
CONVST SL1 SL2 SL3 SL4 H/S CLKIN INT/EXT AGND AGND SEL CLK
Figure 1.
APPLICATIONS
AC motor control Uninterrupted power supplies Data acquisition systems Communications
GENERAL DESCRIPTION
The AD7864 is a high speed, low power, 4-channel, simultaneous sampling 12-bit analog-to-digital converter (ADC) that operates from a single 5 V supply. The part contains a 1.65 s successive approximation ADC, four track-and-hold amplifiers, a 2.5 V reference, an on-chip clock oscillator, signal conditioning circuitry, and a high speed parallel interface. The input signals on four channels sample simultaneously preserving the relative phase information of the signals on the four analog inputs. The part accepts analog input ranges of 10 V, 5 V (AD7864-1), 0 V to +2.5 V, 0 V to +5 V (AD7864-2), and 2.5 V (AD7864-3). Any subset of the four channels can be converted to maximize the throughput rate on the selected sequence. Select the channels to convert via hardware (channel select input pins) or software (programming the channel select register). A single conversion start signal (CONVST) simultaneously places all the track-and-holds into hold and initiates a conversion sequence for the selected channels. The EOC signal indicates the end of each individual conversion in the selected conversion sequence. The BUSY signal indicates the end of the conversion sequence.
Data is read from the part by a 12-bit parallel data bus using the standard CS and RD signals. Maximum throughput for a single channel is 500 kSPS. For all four channels, the maximum throughput is 130 kSPS for the read-during-conversion sequence operation. The throughput rate for the read-after-conversion sequence operation depends on the read cycle time of the processor. See the Timing and Control section. The AD7864 is available in a small (0.3 square inch area) 44-lead MQFP.
PRODUCT HIGHLIGHTS
1. Four track-and-hold amplifiers and a fast (1.65 s) ADC for simultaneous sampling and conversion of any subset of the four channels. A single 5 V supply consuming only 90 mW typical, makes it ideal for low power and portable applications. See the Standby Mode Operation section. High speed parallel interface for easy connection to microprocessors, microcontrollers, and digital signal processors. Available in three versions with different analog input ranges. The AD7864-1 offers the standard industrial input ranges of 10 V and 5 V; the AD7864-3 offers the common signal processing input range of 2.5 V; the AD7864-2 can be used in unipolar, 0 V to 2.5 V and 0 V to 5 V, applications. Features very tight aperture delay matching between the four input sample-and-hold amplifiers.
2.
3. 4.
5.
Rev. D
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.461.3113 19982009 Analog Devices, Inc. All rights reserved.
REVISION HISTORY
2/09Rev. C to Rev. D Change to t2 Parameter, Table 2 ...................................................... 5 2/09Rev. B to Rev. C Updated Format .................................................................. Universal Changes to t5 Timing Parameter, Table 2....................................... 5 Changes to Figure 15 ...................................................................... 20 Changes to AD7864 to MC68HC000 Interface Section ............ 24 Changes to Figure 25 ...................................................................... 24 Updated Outline Dimensions ....................................................... 29 Changes to Ordering Guide .......................................................... 29 3/04Rev. A to Rev. B. Changes to Specifications and to Footnote 4 .................................2 Changes to Timing Characteristics Footnote 1 .............................4 Addition to Absolute Maximum Ratings .......................................5 Changes to Ordering Guide .............................................................5 Changes to Figure 7 .........................................................................11 Changes to Figure 11 ...................................................................... 13 Updated Outline Dimensions ....................................................... 19 Added Revision History ................................................................ 20 Updated Publication Code ............................................................ 20
Rev. D | Page 2 of 28
AD7864 SPECIFICATIONS
VDD = 5 V 5%, AGND = DGND = 0 V, VREF = internal, clock = internal; all specifications TMIN to TMAX, unless otherwise noted. Table 1.
Parameter SAMPLE AND HOLD 3 dB Full Power Bandwidth Aperture Delay Aperture Jitter Aperture Delay Matching DYNAMIC PERFORMANCE 2 Signal-to-(Noise + Distortion) Ratio 3 @ 25C TMIN to TMAX Total Harmonic Distortion3 Peak Harmonic or Spurious Noise3 Intermodulation Distortion3 Second-Order Terms Third-Order Terms Channel-to-Channel Isolation3 DC ACCURACY Resolution Relative Accuracy3 Differential Nonlinearity3 AD7864-1 Positive Gain Error3 Positive Gain Error Match3 Negative Gain Error3 Negative Gain Error Match3 Bipolar Zero Error Bipolar Zero Error Match AD7864-3 Positive Gain Error3 Positive Gain Error Match3 Negative Gain Error3 Negative Gain Error Match3 Bipolar Zero Error Bipolar Zero Error Match AD7864-2 Positive Gain Error3 Positive Gain Error Match3 Unipolar Offset Error Unipolar Offset Error Match ANALOG INPUTS AD7864-1 Input Voltage Range Input Resistance AD7864-3 Input Voltage Range Input Resistance 70 70 80 80 80 80 80 12 1 0.9 3 +3 3 +3 4 +2 3 2 3 2 3 2 3 3 3 2 72 70 80 80 80 80 80 12 1/2 0.9 3 3 3 3 3 2 dB min dB min dB max dB max fa = 49 kHz, fb = 50 kHz dB typ dB typ dB max Bits LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max LSB max A Version 1 3 20 50 4 B Version 3 20 50 4 Unit MHz typ ns max ps max ns max fIN = 100.0 kHz, fS = 500 kSPS Test Conditions/Comments
No missing codes
5, 10 9, 18 2.5 4.5
5, 10 9, 18 2.5 4.5
V k min V k min
Rev. D | Page 3 of 28
AD7864
Parameter AD7864-2 Input Voltage Range Input Current (0 V to 2.5 V Option) Input Resistance (0 V to 5 V Option) REFERENCE INPUT/OUTPUT VREF In Input Voltage Range VREF In Input Capacitance 4 VREF Out Output Voltage VREF Out Error @ 25C VREF Out Error TMIN to TMAX VREF Out Temperature Coefficient VREF Out Output Impedance LOGIC INPUTS Input High Voltage, VINH Input Low Voltage, VINL Input Current, IIN Input Capacitance, CIN4 LOGIC OUTPUTS Output High Voltage, VOH Output Low Voltage, VOL DB11 to DB0 High Impedance Leakage Current Capacitance4 Output Coding AD7864-1, AD7864-3 AD7864-2 CONVERSION RATE Conversion Time Track-And-Hold Acquisition Time2, 3 Throughput Time POWER REQUIREMENTS VDD IDD Normal Mode Standby Mode Power Dissipation Normal Mode Standby Mode
1
Unit V nA max k min VMIN/VMAX pF max V nom mV max mV max ppm/C typ k typ V min V max A max pF max V min V max
Test Conditions/Comments
2.5 V 5%
10 10
10 10
A max pF max
Twos complement Straight (natural) binary 1.65 0.35 130 5 24 20 120 100 1.65 0.35 130 5 24 20 120 100 s max s max kSPS max V nom mA max A max mW max W max For one channel For all four channels 5% for specified performance 5 A typical, logic inputs = 0 V or VDD Typically 4 A Typically 90 mW Typically 20 W
Temperature ranges are as follows: A, B versions: 40C to +85C. The A version is fully specified up to 105C with a maximum sample rate of 450 kSPS and IDD maximum (normal mode) of 26 mA. 2 Performance is measured through the full channel (SHA and ADC). 3 See the Terminology section. 4 Sample tested at initial release to ensure compliance.
Rev. D | Page 4 of 28
AD7864
TIMING CHARACTERISTICS
VDRIVE = 5 V 5%, AGND = DGND = 0 V, VREF = internal, clock = internal; all specifications TMIN to TMAX, unless otherwise noted. 1, 2 Table 2.
Parameter tCONV A, B Versions 1.65 13 2.6 0.34 No. of channels (tCONV + t9) t9 2 6 35 70 0 0 35 40 35 40 t7 t8 t9 t10 t11 t12 WRITE OPERATION t13 t14 t15 t16 t17
1 2
tACQ tBUSY tWAKE-UP External VREF tWAKE-UP Internal VREF 3 t1 t2 READ OPERATION t3 t4 t5 t6 4
5
Unit s max Clock cycles s max s max s max s max ms max ns min ns max ns min ns min ns min ns min ns max ns max ns min ns max ns min ns min ns max ns max ns max ns min ns min ns min ns min ns min ns min
Test Conditions/Comments Conversion time, internal clock Conversion time, external clock CLKIN = 5 MHz Acquisition time Selected number of channels multiplied by (tCONV + EOC pulse width)EOC pulse width STBY rising edge to CONVST rising edge STBY rising edge to CONVST rising edge CONVST pulse width CONVST rising edge to BUSY rising edge CS to RD setup time CS to RD hold time Read pulse width, VDRIVE = 5 V Read pulse width, VDRIVE = 3 V Data access time after falling edge of RD, VDRIVE = 5 V Data access time after falling edge of RD, VDRIVE = 3 V Bus relinquish time after rising edge of RD Time between consecutive reads EOC pulse width RD rising edge to FRSTDATA edge (rising or falling) EOC falling edge to FRSTDATA falling delay EOC to RD delay WR pulse width CS to WR setup time WR to CS hold time Input data setup time of rising edge of WR Input data hold time
5 30 10 75 180 70 15 0 20 0 0 5 5
Sample tested at initial release to ensure compliance. All input signals are measured with tr = tf = 1 ns (10% to 90% of 5 V) and timed from a voltage level of 1.6 V. See Figure 9, Figure 10,and Figure 11. 3 Refer to the Standby Mode Operation section. The maximum specification of 6 ms is valid when using a 0.1 F decoupling capacitor on the VREF pin. 4 Measured with the load circuit of Figure 2 and defined as the time required for an output to cross 0.8 V or 2.4 V. 5 These times are derived from the measured time taken by the data outputs to change 0.5 V when loaded with the circuit shown in Figure 2. The measured number is then extrapolated back to remove the effects of charging or discharging the 50 pF capacitor. This means that the times quoted in the timing characteristics are the true bus relinquish times of the part, and as such, are independent of external bus loading capacitances.
1.6mA
TO OUTPUT 50pF
1.6V
Figure 2. Load Circuit for Access Time and Bus Relinquish Time
Rev. D | Page 5 of 28
01341-002
400A
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
Rev. D | Page 6 of 28
DB6
33 DB7 32 DB8 31 DB9 30 DB10 29 DB11 28 CLKIN 27 INT/EXT CLK 26 AGND 25 AVDD 24 VREF 23 VREF GND
AD7864
TOP VIEW (Not to Scale)
4 5 6 7 to 10 11
12 13 to 16 17 18 to 21 22 23 24
25 26
AVDD AGND
Rev. D | Page 7 of 28
01341-003
AGND
AGND
STBY
VIN4B
VIN4A
VIN3B
VIN3A
VIN2B
VIN2A
VIN1B
VIN1A
AD7864
Pin No. 27 28 Mnemonic INT/EXT CLK CLKIN Description Internal/External Clock Select Input. When this pin is at Logic 0, the AD7864 uses its internally generated master clock. When this pin is at Logic 1, the master clock is generated externally to the device. Conversion Clock Input. This is an externally applied clock that allows the user to control the conversion rate of the AD7864. Each conversion needs 14 clock cycles for the conversion to be completed and an EOC pulse to be generated. The clock should have a duty cycle that is no worse than 60/40. See the Using An External Clock section. Data Bit 11 is the MSB, followed by Data Bit 10 to Data Bit 6. Three-state TTL outputs. Output coding is twos complement for the AD7864-1 and AD7864-3. Output coding is straight (natural) binary for the AD7864-2. Positive Supply Voltage for Digital Section, 5.0 V 5%. Connect a 0.1 F decoupling capacitor between this pin and AGND. Both DVDD and AVDD should be externally tied together. This pin provides the positive supply voltage for the output drivers (DB0 to DB11), BUSY, EOC, and FRSTDATA. It is normally tied to DVDD. Decouple VDRIVE with a 0.1 F capacitor to improve performance when reading during the conversion sequence. To facilitate interfacing to 3 V processors and DSPs, the output data drivers can also be powered by a 3 V 10% supply. Digital Ground. This is the ground reference for digital circuitry. Connect this DGND pin to the AGND plane of the system at the AGND pin. Data Bit 5 to Data Bit 4. Three-state TTL outputs. Data Bit 3 to Data Bit 0. Bidirectional data pins. When a read operation takes place, these pins are three-state TTL outputs. The channel select register is programmed with the data on the DB0 to DB3 pins with standard CS and WR signals. DB0 represents Channel 1, and DB3 represents Channel 4. End-of-Conversion. Active low logic output indicating conversion status. The end of each conversion in a conversion sequence is indicated by a low-going pulse on this line.
29 to 34 35 36
37 38, 39 40 to 43
44
EOC
Rev. D | Page 8 of 28
AD7864 TERMINOLOGY
Signal-to-(Noise + Distortion) Ratio This is the measured ratio of signal-to-(noise + distortion) at the output of the ADC. The signal is the rms amplitude of the fundamental. Noise is the rms sum of all nonfundamental signals up to half the sampling frequency (fS/2), excluding dc. The ratio depends on the number of quantization levels in the digitization process; the more levels, the smaller the quantization noise. The theoretical signal-to-(noise + distortion) ratio for an ideal N-bit converter with a sine wave input is given by Signal-to-(Noise + Distortion) = (6.02 N + 1.76) dB Thus, for a 12-bit converter, this is 74 dB. Total Harmonic Distortion (THD) THD is the ratio of the rms sum of harmonics to the fundamental. For the AD7864, it is defined as Channel-to-Channel Isolation Channel-to-channel isolation is a measure of the level of crosstalk between channels. It is measured by applying a fullscale 50 kHz sine wave signal to all nonselected input channels and determining how much that signal is attenuated in the selected channel. The figure given is the worst case across all four channels. Relative Accuracy Relative accuracy, or endpoint nonlinearity, is the maximum deviation from a straight line passing through the endpoints of the ADC transfer function. Differential Nonlinearity This is the difference between the measured and the ideal 1 LSB change between any two adjacent codes in the ADC. Positive Full-Scale Error This is the deviation of the last code transition (01...110 to 01...111) from the ideal, 4 VREF 3/2 LSB (AD7864-1, 10 V), or 2 VREF 3/2 LSB (AD7864-1, 5 V range), or VREF 3/2 LSB (AD7864-3, 2.5 V range), after the bipolar offset error has been adjusted out. Positive Full-Scale Error (AD7864-2, 0 V to 2.5 V and 0 V to 5 V) This is the deviation of the last code transition (11...110 to 11...111) from the ideal 2 VREF 3/2 LSB (AD7864-2, 0 V to 5 V range) or VREF 3/2 LSB (AD7864-2, 0 V to 2.5 V range), after the unipolar offset error has been adjusted out. Bipolar Zero Error (AD7864-1, 10 V/5 V, AD7864-3, 2.5 V) This is the deviation of the midscale transition (all 0s to all 1s) from the ideal, AGND 1/2 LSB. Unipolar Offset Error (AD7864-2, 0 V to 2.5 V and 0 V to 5 V) This is the deviation of the first code transition (00...000 to 00...001) from the ideal, AGND + 1/2 LSB. Negative Full-Scale Error (AD7864-1, 10 V/5 V, and AD7864-3, 2.5 V) This is the deviation of the first code transition (10...000 to 10...001) from the ideal, 4 VREF + 1/2 LSB (AD7864-1, 10 V), 2 VREF + 1/2 LSB (AD7864-1, 5 V range) or VREF + 1/2 LSB (AD7864-3, 2.5 V range), after bipolar zero error has been adjusted out. Track-and-Hold Acquisition Time Track-and-hold acquisition time is the time required for the output of the track-and-hold amplifier to reach its final value, within 1/2 LSB, after the end of a conversion (the point at which the track-and-hold returns to track mode). It also applies to situations where there is a step input change on the input voltage applied to the selected VINxA/VINxB input of the AD7864.
V2 2 + V3 2 + V4 2 + V5 2 + V6 2 THD(dB) = 20 log V1 where V1 is the rms amplitude of the fundamental, and V2, V3, V4, V5, and V6 are the rms amplitudes of the second through the fifth harmonics.
Peak Harmonic or Spurious Noise Peak harmonic or spurious noise is defined as the ratio of the rms value of the next largest component in the ADC output spectrum (up to fS/2 and excluding dc) to the rms value of the fundamental. Normally, the value of this specification is determined by the largest harmonic in the spectrum, but for parts where the harmonics are buried in the noise floor, it is a noise peak. Intermodulation Distortion With inputs consisting of sine waves at two frequencies, fa and fb, any active device with nonlinearities creates distortion products at sum and difference frequencies of mfa nfb, where m, n = 0, 1, 2, 3, and so on. Intermodulation terms are those for which neither m nor n are equal to zero. For example, second-order terms include (fa + fb) and (fa fb), whereas third-order terms include (2 fa + fb), (2 fa fb), (fa + 2 fb), and (fa 2 fb).
The AD7864 is tested using the CCIF standard, where two input frequencies near the top end of the input bandwidth are used. In this case, the second- and third-order terms are of different significance. The second-order terms are usually distanced in frequency from the original sine waves, whereas the third-order terms are usually at a frequency close to the input frequencies. As a result, the second- and third-order terms are specified separately. The calculation of the intermodulation distortion is as per the THD specification where it is the ratio of the rms sum of the individual distortion products to the rms amplitude of the fundamental expressed in decibels.
Rev. D | Page 9 of 28
AD7864
It means that the user must wait for the duration of the trackand-hold acquisition time after the end of conversion or after a step input change to VINxA/VINxB before starting another conversion to ensure that the part operates to specification.
Rev. D | Page 10 of 28
Track-and-Hold Amplifiers
The track-and-hold amplifiers on the AD7864 allow the ADCs to accurately convert an input sine wave of full-scale amplitude to 12-bit accuracy. The input bandwidth of the track-and-hold is greater than the Nyquist rate of the ADC even when the ADC is operated at its maximum throughput rate of 500 kSPS (that is, the track-and-hold can handle input frequencies in excess of 250 kHz). The track-and-hold amplifiers acquire input signals to 12-bit accuracy in less than 350 ns. The operation of the track-andholds are essentially transparent to the user. The four track-andhold amplifiers sample their respective input channels simultaneously, on the rising edge of CONVST. The aperture time for the track-and-holds (that is, the delay time between the external CONVST signal and the track-and-hold actually going into hold) is typically 15 ns and, more importantly, is well matched across the four track-and-holds on one device as well as being well matched from device to device. This allows the relative phase information between different input channels to be accurately preserved. It also allows multiple AD7864s to sample more than four channels simultaneously. At the end of a conversion sequence, the part returns to its tracking mode. The acquisition time of the track-and-hold amplifiers begin at this point.
Reference
The AD7864 contains a single reference pin, labeled VREF. The VREF pin provides access to the 2.5 V reference within the part, or it serves as the reference source for the part by connecting VREF to an external 2.5 V reference. The part is specified with a 2.5 V reference voltage. Errors in the reference source result in gain errors in the transfer function of the AD7864 and adds to the specified full-scale errors on the part. On the AD7864-1 and AD7864-3, it also results in an offset error injected in the attenuator stage; see Figure 4 and Figure 6. The AD7864 contains an on-chip 2.5 V reference. To use this reference as the reference source for the AD7864, simply connect a 0.1 F disk ceramic capacitor from the VREF pin to AGND. The voltage that appears at this pin is internally buffered before being applied to the ADC. If this reference is used externally to the AD7864, it should be buffered because the part has a FET switch in series with the reference output resulting in a 6 k
Rev. D | Page 11 of 28
AD7864
nominal source impedance for this output. The tolerance on the internal reference is 10 mV at 25C with a typical temperature coefficient of 25 ppm/C and a maximum error overtemperature of 20 mV. If the application requires a reference with a tighter tolerance or the AD7864 needs to be used with a system reference, the user has the option of connecting an external reference to this VREF pin. The external reference effectively overdrives the internal reference and thus provides the reference source for the ADC. The reference input is buffered before being applied to the ADC with the maximum input current of 100 A. Suitable reference sources for the AD7864 include the AD680, AD780, REF192, and REF43 precision 2.5 V references.
Rev. D | Page 12 of 28
AD7864-1
Figure 4 shows the analog input section of the AD7864-1. Each input can be configured for 5 V or 10 V operation on the AD7864-1. For 5 V (AD7864-1) operation, the VINxA and VINxB inputs are tied together and the input voltage is applied to both. For 10 V (AD7864-1) operation, the VINxB input is tied to AGND and the input voltage is applied to the VINxA input. The VINxA and VINxB inputs are symmetrical and fully interchangeable. Thus for ease of printed circuit board (PCB) layout on the 10 V range, the input voltage may be applied to the VINxB input while the VINxA input is tied to AGND.
AD7864-1
6k VREF TO ADC REFERENCE CIRCUITRY 2.5V REFERENCE
Digital Output Code Transition 011...110 to 011...111 011...101 to 011...110 011...100 to 011...101 000...001 to 000...010 000...000 to 000...001 111...111 to 000...000 111...110 to 111...111 100...010 to 100...011 100...001 to 100...010 100...000 to 100...001
FSR is full-scale range and is 20 V for the 10 V range and +10 V for the 5 V range, with VREF = 2.5 V. 2 1 LSB = FSR/4096 = 4.883 mV (10 V for the AD7864-1) and 2.441 mV (5 V for the AD7864-1) with VREF = 2.5 V.
AD7864-2
Figure 5 shows the analog input section of the AD7864-2. Each input can be configured for 0 V to 5 V operation or 0 V to 2.5 V operation. For 0 V to 5 V operation, the VINxB input is tied to AGND and the input voltage is applied to the VINxA input. For 0 V to 2.5 V operation, the VINxA and VINxB inputs are tied together and the input voltage is applied to both. The VINxA and VINxB inputs are symmetrical and fully interchangeable. Thus for ease of PCB layout on the 0 V to 5 V range, the input voltage may be applied to the VINxB input while the VINxA input is tied to AGND. For the AD7864-2, R1 = 6 k and R2 = 6 k. The designed code transitions occur on successive integer least significant bit values. Output coding is straight (natural) binary with 1 LSB = FSR/4096 = 2.5 V/4096 = 0.61 mV, and 5 V/4096 = 1.22 mV, for the 0 V to 2.5 V and 0 V to 5 V options, respectively. Table 6 shows the ideal input and output transfer function for the AD7864-2.
AD7864-2
6k VREF TO ADC REFERENCE CIRCUITRY VIN1A R1 2.5V REFERENCE
R1 VIN1A R2
R3 VIN1B R4
T/H
TO INTERNAL COMPARATOR
AGND
For the AD7864-1, R1 = 6 k, R2 = 24 k, R3 = 24 k, and R4 = 12 k. The resistor input stage is followed by the high input impedance stage of the track-and-hold amplifier. The designed code transitions take place midway between successive integer least significant bit values (that is, 1/2 LSB, 3/2 LSB, 5/2 LSB, and so forth). Least significant bit size is given by the formula 1 LSB = FSR/4096. For the 5 V range, 1 LSB = 10 V/4096 = 2.44 mV. For the 10 V range, 1 LSB = 20 V/4096 = 4.88 mV. Output coding is twos complement binary with 1 LSB = FSR/4096. The ideal input/output transfer function for the AD7864-1 is shown in Table 5.
01341-004
VIN1B
R2
T/H
TO INTERNAL COMPARATOR
01341-005
Rev. D | Page 13 of 28
AD7864
Table 6. Ideal Input/Output Code Table for the AD7864-2
Analog Input1 +FSR 3/2 LSB2 +FSR 5/2 LSB +FSR 7/2 LSB AGND + 5/2 LSB AGND + 3/2 LSB AGND + 1/2 LSB
1
Digital Output Code Transition 111...110 to 111...111 111...101 to 111...110 111...100 to 111...101 000...010 to 000...011 000...001 to 000...010 000...000 to 000...001
The designed code transitions take place midway between successive integer least significant bit values (that is, 1/2 LSB, 3/2 LSB, 5/2 LSB, and so on). Least significant bit size is given by the formula 1 LSB = FSR/4096. Output coding is twos complement binary with 1 LSB = FSR/4096 = 5 V/4096 = 1.22 mV. The ideal input/ output transfer function for the AD7864-3 is shown in Table 7.
Table 7. Ideal Input/Output Code Table for the AD7864-3
Analog Input1 +FSR/2 3/2 LSB2 +FSR/2 5/2 LSB +FSR/2 7/2 LSB AGND + 3/2 LSB AGND + 1/2 LSB AGND 1/2 LSB AGND 3/2 LSB FSR/2 + 5/2 LSB FSR/2 + 3/2 LSB FSR/2 + 1/2 LSB
1 2
FSR is the full-scale range and is 0 V to 2.5 V and 0 V to 5 V for the AD7864-2 with VREF = 2.5 V. 2 1 LSB = FSR/4096 and is 0.61 mV (0 V to 2.5 V) and 1.22 mV (0 V to 5 V) for the AD7864-2 with VREF = 2.5 V.
AD7864-3
Figure 6 shows the analog input section of the AD7864-3. The analog input range is 2.5 V on the VIN1A input. The VIN1B input can be left unconnected, but if it is connected to a potential, that potential must be AGND.
AD7864-3
6k VREF TO ADC REFERENCE CIRCUITRY R1 VIN1A R2 T/H TO INTERNAL COMPARATOR 2.5V REFERENCE
Digital Output Code Transition 011...110 to 011...111 011...101 to 011...110 011...100 to 011...101 000...001 to 000...010 000...000 to 000...001 111...111 to 000...000 111...110 to 111...111 100...010 to 100...011 100...001 to 100...010 100...000 to 100...001
FSR is the full-scale range and is 5 V, with VREF = 2.5 V. 1 LSB = FSR/4096 = 1.22 mV (2.5 V AD7864-3) with VREF = 2.5 V.
For the AD7864-3, R1 = 6 k and R2 = 6 k. As a result, drive the VIN1A input from a low impedance source. The resistor input stage is followed by the high input impedance stage of the trackand-hold amplifier.
Rev. D | Page 14 of 28
01341-006
VIN1B
DATA BUS D3 D2 D1 D0
MULTIPLEXER
LATCH
SEQUENCER
WR
CS WR
t13
WR
t14
CS
t15
t16
DATA
t17
DATA IN
01341-008
Rev. D | Page 15 of 28
01341-007
TRANSPARENT WHILE WAITING FOR CONVST. LATCHED ON THE RISING EDGE OF CONVST AND DURING A CONVERSION SEQUENCE.
AD7864
logic high). The pointer is incremented to point to the next register (next conversion result) when that conversion result is available. Thus, FRSTDATA in Figure 9 is shown as going low just prior to the second EOC pulse. Repeated read operations during a conversion continue to access the data at the current pointer location until the pointer is incremented at the end of that conversion. Note that FRSTDATA has an indeterminate logic state after initial power-up. This means that for the first conversion sequence after power-up, the FRSTDATA logic output may already be logic high before the end of the first conversion (this condition is indicated by the dashed line in Figure 9). Also, the FRSTDATA logic output may already be high as a result of the previous read sequence, as is the case after the fourth read in Figure 9. The fourth read (rising edge of RD) resets the pointer to the first data location. Therefore, FRSTDATA
t1
CONVST BUSY
is already high when the next conversion sequence initiates. See the Accessing the Output Data Registers section.
QUIET TIME
EOC
t 10
FRSTDATA
t12
RD
t3
CS
t4
t5 t7
VIN2 VIN3 VIN4
t6
DATA 100ns H/S SEL VIN1
SL1 TO SL4
tBUSY
QUIET TIME
EOC
t8
RD
t3
CS
t4 t7
t6
DATA VIN1 VIN2
VIN3
VIN4
VIN1
01341-010
t10
FRSTDATA
t10
Rev. D | Page 16 of 28
01341-009
100ns
AD7864
Successive read operations access the remaining conversion results in an ascending channel order. Each read operation increments the output data register pointer. The read operation that accesses the last conversion result causes the output data register pointer to be reset so that the next read operation accesses the first conversion result again. This is shown in Figure 10, wherein the fifth read after BUSY goes low accessing the result of the conversion on VIN1. Thus, the output data registers act as a circular buffer in which the conversion results are continually accessible. The FRSTDATA signal goes high when the first conversion result is available. Data is enabled onto the data bus (DB0 to DB11) using CS and RD. Both CS and RD have the same functionality as described in the previous section. There are no restrictions or performance implications associated with the position of the read operations after BUSY goes low. The only restriction is that there is minimum time between read operations. Notice that the quiet time must be allowed before the start of the next conversion. This means a conversion time of 2.6 s compared to 1.65 s when using the internal clock. In some instances, however, it may be useful to use an external clock when high throughput rates are not required. For example, two or more AD7864s can be synchronized by using the same external clock for all devices. In this way, there is no latency between output logic signals like EOC due to differences in the frequency of the internal clock oscillators. Figure 11 shows how the various logic outputs are synchronized to the CLK signal. Each conversion requires 14 clocks. The output data register pointer is reset to point to the first register location on the falling edge of the 12th clock cycle of the first conversion in the conversion sequence see the Accessing the Output Data Registers section. At this point, the logic output FRSTDATA goes logic high. The result of the first conversion transfers to the output data registers on the falling edge of the 13th clock cycle. The FRSTDATA signal is reset on the falling edge of the 13th clock cycle of the next conversion, that is, when the result of the second conversion is transferred to its output data register. As mentioned previously, the pointer is incremented by the rising edge of the RD signal if the result of the next conversion is available. The EOC signal goes logic low on the falling edge of the 13th clock cycle and is reset high again on the falling edge of the 14th clock cycle.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 2 CLK
13 14
CONVST
FRSTDATA
EOC
RD
BUSY
Rev. D | Page 17 of 28
AD7864
STANDBY MODE OPERATION
The AD7864 has a standby mode whereby the device can be placed in a low current consumption mode (5 A typical). The AD7864 is placed in standby by bringing the Logic Input STBY low. The AD7864 can be powered up again for normal operation by bringing STBY logic high. The output data buffers remain operational while the AD7864 is in standby. This means the user can continue to access the conversion results while the AD7864 is in standby. This feature can be used to reduce the average power consumption in a system using low throughput rates. To reduce average power consumption, the AD7864 can be placed in standby at the end of each conversion sequence, that is, when BUSY goes low and is taken out of standby again prior to the start of the next conversion sequence. The time it takes the AD7864 to come out of standby is referred to as the wake-up time. The wake-up time limits the maximum throughput rate at which the AD7864 can be operated when powering down between conversion sequences. The AD7864 wakes up in approximately 2 s when using an external reference. The wake-up time is also 2 s when the standby time is less than 1 ms while using the internal reference. Figure 12 shows the wake-up time of the AD7864 for standby times greater than 1 ms. Note that when the AD7864 is left in standby for periods of time greater than 1 ms, the part requires more than 2 s to wake up. For example, after initial power-up using the internal reference, the AD7864 requires 6 ms to power up. The maximum throughput rate that can be achieved when powering down between conversions is 1/(tBUSY + 2 s) = 100 kSPS, approximately. When operating the AD7864 in a standby mode between conversions, the power savings can be significant. For example, with a throughput rate of 10 kSPS, the AD7864 is powered down (IDD = 5 A) for 90 s out of every 100 s (see Figure 13). Therefore, the average power consumption drops to 125/10 mW or 12.5 mW approximately.
100s CONVST BUSY
1.0 0.9
POWER-UP TIME (ms)
0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0.0001 0.001 0.01 0.1 STANDBY TIME (Seconds) 1 40C
01341-012
+105C +25C
10
Figure 12. Power-Up Time vs. Standby Time Using the On-Chip Reference (Decoupled with 0.1 F Capacitor)
tBUSY
7s
tBUSY tWAKE-UP
STBY
IDD = 20A
Rev. D | Page 18 of 28
01341-013
2s
AD7864
When reading the output data registers after a conversion sequence, that is, when BUSY goes low, the register pointer is incremented on the rising edge of the RD signal, as shown in Figure 14. However, when reading the conversion results during the conversion sequence, the pointer is not incremented until a valid conversion result is in the register to be addressed. In this case, the pointer is incremented when the conversion has ended and the result has been transferred to the output data register. This happens immediately before EOC goes low, therefore EOC may be used to enable the register contents onto the data bus, as described in the Reading Between Each Conversion in the Conversion Sequence subsection within the Selecting a Conversion Sequence section. The pointer is reset to point to Register 1 on the rising edge of the RD signal when the last conversion result in the sequence is being read. In the example shown, this means that the pointer is set to Register 1 when the contents of Register 3 are read.
VDRIVE
OE NO. 2 OE NO. 3
DB0 TO DB11
AD7864
Rev. D | Page 19 of 28
01341-014
*THE POINTER IS NOT INCREMENTED BY A RISING EDGE ON RD UNTIL THE CONVERSION RESULT IS IN THE OUTPUT DATA REGISTER. THE POINTER IS RESET WHEN THE LAST CONVERSION RESULT IS READ.
AD7864-1*
AGND
Rev. D | Page 20 of 28
01341-015
AD7864-1 @ 25C 5V SUPPLY SAMPLING AT 499,712Hz INPUT FREQUENCY OF 99,857Hz 8192 SAMPLES TAKEN
110
FREQUENCY (kHz)
(1)
The effective number of bits for a device can be calculated directly from its measured SNR. Figure 18 shows a typical plot of effective number of bits vs. frequency for an AD7864-2.
12 11 40C 10 +25C 9 8 7 6 5
01341-018
+105C
1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 ADC CODE
500
2500
3000
The output spectrum from the ADC is evaluated by applying a sine wave signal of very low distortion to the analog input. A fast fourier transform (FFT) plot is generated from which the SNR data can be obtained. Figure 17 shows a typical 4096 point FFT plot of the AD7864 with an input signal of 99.9 kHz and a sampling frequency of 500 kHz. The SNR obtained from this
INTERMODULATION DISTORTION
With inputs consisting of sine waves at two frequencies, fa and fb, any active device with nonlinearities creates distortion products at sum and difference frequencies of mfa nfb where m, n = 0, 1, 2, 3, and so forth. Intermodulation terms are those for which neither m nor n are equal to zero. For example, the second-order
Rev. D | Page 21 of 28
AD7864
terms include (fa + fb) and (fa fb), whereas the third-order terms include (2fa + fb), (2fa fb), (fa + 2fb), and (fa 2fb). Using the CCIF standard where two input frequencies near the top end of the input bandwidth are used, the second- and thirdorder terms are of different significance. The second-order terms are usually distanced in frequency from the original sine waves, whereas the third-order terms are usually at a frequency close to the input frequencies. As a result, the second- and third-order terms are specified separately. The calculation of the intermodulation distortion is as per the THD specification where it is the ratio of the rms sum of the individual distortion products to the rms amplitude of the fundamental expressed in decibels. In this case, the input consists of two, equal amplitude, low distortion sine waves. Figure 19 shows a typical IMD plot for the AD7864.
0 10 20 30 40 AD7864-1 @ 25C 5V SUPPLY SAMPLING AT 131072Hz INPUT FREQUENCY OF 48,928Hz AND 50,016Hz 4096 SAMPLES TAKEN
INL (LSB)
0.5 0 0.5 1.0 1.5 2.0 0 500 1000 1500 2000 2500 3000 3500 4000
01341-021
2.5
ADC CODE
(3)
(dB)
50 60 70 80 90 0 10 20 30 40 FREQUENCY (kHz) 50 60
01341-019
where: SNRJITTER is the signal-to-noise due to the rms time jitter. is the rms time jitter. fIN is the sinusoidal input frequency (1 MHz in this case). Equation 3 demonstrates that the signal-to-noise ratio due to jitter degrades significantly with frequency. At low input frequencies, the measured SNR performance of the AD7864 is indicative of noise performance due to quantization noise and system noise only (72 dB used as a typical figure in this example). Therefore, by measuring the overall SNR performance (including noise due to jitter, system, and quantization) of the AD7864, a good estimation of the jitter performance of the AD7864 can be calculated.
12 11 10 9 8 7
100
AC LINEARITY PLOTS
The plots shown in Figure 20 and Figure 21 show typical DNL and INL plots for the AD7864.
3
DNL (LSB)
500
1000
1500
2000
2500
3000
3500
4000
01341-020
ENOB
ADC CODE
6 5 900k
950k
1.05M
1.10M
Rev. D | Page 22 of 28
01341-022
AD7864
From Figure 22, the ENOB of the AD7864 at 1 MHz is approximately 11 bits. This is equivalent to 68 dB SNR. SNRTOTAL = SNRJITTER + SNRQUANT = 68 dB 68 dB = SNRJITTER + 72 dB (at 100 kHz) SNRJITTER = 70.2 dB From Equation 3 70.2 dB = 20 log10[1/(2 1 MHz )] = 49 ps where is the rms jitter of the AD7864.
Rev. D | Page 23 of 28
where D is the data memory address and ADC is the AD7864 address.
TMS320C5x
ADDRESS DECODE VIN1 VIN2 VIN3 VIN4 DB0 TO DB11 D0 TO D15 CS RD WR RD WE A0 TO A13 DS
AD7864
BUSY CONVST INTn PA0
01341-024
where MR0 is the ADSP-210x MR0 register and ADC is the AD7864 address.
ADSP-210x
ADDRESS DECODE VIN1 VIN2 VIN3 VIN4 DB0 TO DB11 D0 TO D24 CS RD WR RD WR A0 TO A13 DMS
AD7864
BUSY CONVST IRQn DT1/F0
01341-023
MOVE.W ADC,D0
AD7864
MC68HC000 ADDRESS DECODE VIN1 VIN2 VIN3 VIN4 CS A0 TO A15
DTACK AS R/W
RD
AD7864
DB0 TO DB11 D0 TO D15
Vector control of an ac motor involves controlling phase in addition to drive and current frequency. Controlling the phase of the motor requires feedback information on the position of the rotor relative to the rotating magnetic field in the motor. Using this information, a vector controller mathematically transforms the three-phase drive currents into separate torque and flux components. The AD7864, with its 4-channel simultaneous sampling capability, is ideally suited for use in vector motor control applications. A block diagram of a vector motor control application using the AD7864 is shown in Figure 26. The position of the field is derived by determining the current in each phase of the motor. Only two phase currents need to be measured because the third can be calculated if two phases are known. VIN1 and VIN2 of the AD7864 are used to digitize this information. Simultaneous sampling is critical to maintain the relative phase information between the two channels. A current sensing isolation amplifier, transformer, or Hall effect sensor is used between the motor and the AD7864. Rotor information is obtained by measuring the voltage from two of the inputs to the motor. VIN3 and VIN4 of the AD7864 are used to obtain this information. Once again, the relative phase of the two channels is important. A DSP microprocessor is used to perform the mathematical transformations and control loop calculations on the information fed back by the AD7864.
DAC IC DRIVE CIRCUITRY IB IA DAC VB THREEPHASE VA MOTOR
01341-025
CONVST
CLOCK
DAC
AD7864*
VIN3 VIN4 VOLTAGE ATTENUATORS
01341-027
Rev. D | Page 25 of 28
AD7864
MULTIPLE AD7864S IN A SYSTEM
Figure 27 shows a system where a number of AD7864s are configured to handle multiple input channels. This type of configuration is common in applications such as sonar and radar. The AD7864 is specified with maximum limits on aperture delay match. This means that the user knows the difference in the sampling instant between all channels. This allows the user to maintain relative phase information between the different channels. The AD7864 has a maximum aperture delay matching of 4 ns. All AD7864s use the same external SAR clock (5 MHz). Therefore, the conversion time for all devices is identical; consequently, all devices can be read simultaneously. In the example shown in Figure 27, the data outputs of two AD7864s are enabled onto a 32-bit wide data bus when EOC goes low.
EOC 12 32
ADSP-2106x
AD7864
CS RD RD
AD7864
CS RD
01341-026
ADDRESS DECODE
Rev. D | Page 26 of 28
TOP VIEW
(PINS DOWN)
0.23 0.11
11 23 12 22
7 0
VIEW A
ROTATED 90 CCW
COMPLIANT TO JEDEC STANDARDS MO-112-AA-1
041807-A
VIEW A
Figure 28. 44-Lead Metric Quad Flat Package [MQFP] (S-44-2) Dimensions shown in millimeters
ORDERING GUIDE
Model AD7864ASZ-1 2 AD7864ASZ-1REEL2 AD7864BSZ-12 AD7864BSZ-1REEL2 AD7864ASZ-22 AD7864ASZ-2REEL2 AD7864ASZ-32 AD7864ASZ-3REEL2 EVAL-AD7864-2CB 3 EVAL-AD7864-3CB3 EVAL-CONTROL BRD2 4
1 2
Relative Accuracy 1 LSB 1 LSB 0.5 LSB 0.5 LSB 1 LSB 1 LSB 1 LSB 1 LSB
Temperature Range 1 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C
Package Description 44-Lead MQFP 44-Lead MQFP 44-Lead MQFP 44-Lead MQFP 44-Lead MQFP 44-Lead MQFP 44-Lead MQFP 44-Lead MQFP Evaluation Board Evaluation Board Controller Board
Package Option S-44-2 S-44-2 S-44-2 S-44-2 S-44-2 S-44-2 S-44-2 S-44-2
The A version is fully specified up to 105C with a maximum sample rate of 450 kSPS and IDD maximum (normal mode) of 26 mA. Z = RoHS Compliant Part. 3 This can be used as a stand alone evaluation board or in conjunction with the Evaluation Controller Board for evaluation/demonstration purposes. 4 This board is a complete unit, allowing a PC to control and communicate with all Analog Devices, Inc., evaluation boards ending in the CB designators. To order a complete evaluation kit, the particular ADC evaluation board needs to be ordered, for example, EVAL-AD7864-1CB, the EVAL-CONTROL BRD2, and a 12 V ac transformer. See the Evaluation Board application note for more information.
Rev. D | Page 27 of 28
AD7864 NOTES
19982009 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D01341-0-2/09(D)
Rev. D | Page 28 of 28