AD AD7874

a
LC2MOS 4-Channel, 12-Bit Simultaneous
Sampling Data Acquisition System
AD7874
FEATURES
Four On-Chip Track/Hold Amplifiers
Simultaneous Sampling of 4 Channels
Fast 12-Bit ADC with 8 ms Conversion Time/Channel
29 kHz Sample Rate for All Four Channels
On-Chip Reference
610 V Input Range
65 V Supplies
APPLICATIONS
Sonar
Motor Controllers
Adaptive Filters
Digital Signal Processing
FUNCTIONAL BLOCK DIAGRAM
INT
CS
RD CONVST
CONTROL LOGIC
VIN1
TRACK/
HOLD 1
VIN2
TRACK/
HOLD 2
TRACK/
HOLD 3
VIN4
TRACK/
HOLD 4
INTERNAL
CLOCK
CLK
DATA
REGISTERS
DB0
COMP
MUX
VIN3
VDD VDD
SAR
DB11
REFERENCE
BUFFER
12-BIT
DAC
REF IN
AD7874
GENERAL DESCRIPTION
The AD7874 is a four-channel simultaneous sampling, 12-bit
data acquisition system. The part contains a high speed 12-bit
ADC, on-chip reference, on-chip clock and four track/hold amplifiers. This latter feature allows the four input channels to be
sampled simultaneously, thus preserving the relative phase
information of the four input channels, which is not possible if
all four channels share a single track/hold amplifier. This makes
the AD7874 ideal for applications such as phased-array sonar
and ac motor controllers where the relative phase information is
important.
PRODUCT HIGHLIGHTS
The aperture delay of the four track/hold amplifiers is small and
specified with minimum and maximum limits. This allows several AD7874s to sample multiple input channels simultaneously
without incurring phase errors between signals connected to
several devices. A reference output/reference input facility also
allows several AD7874s to be driven from the same reference
source.
2. Tight Aperture Delay Matching.
The aperture delay for each channel is small and the aperture
delay matching between the four channels is less than 4 ns.
Additionally, the aperture delay specification has upper and
lower limits allowing multiple AD7874s to sample more than
four channels.
In addition to the traditional dc accuracy specifications such as
linearity, full-scale and offset errors, the AD7874 is also fully
specified for dynamic performance parameters including distortion and signal-to-noise ratio.
3V
REFERENCE
AGND DGND
REF OUT
VSS
1. Simultaneous Sampling of Four Input Channels.
Four input channels, each with its own track/hold amplifier,
allow simultaneous sampling of input signals. Track/hold acquisition time is 2 µs, and the conversion time per channel is
8 µs, allowing 29 kHz sample rate for all four channels.
3. Fast Microprocessor Interface.
The high speed digital interface of the AD7874 allows direct
connection to all modern 16-bit microprocessors and digital
signal processors.
The AD7874 is fabricated in Analog Devices’ Linear Compatible CMOS (LC2MOS) process, a mixed technology process
that combines precision bipolar circuits with low-power CMOS
logic. The part is available in a 28-pin, 0.6" wide, plastic or hermetic dual-in-line package (DIP), in a 28-terminal leadless ceramic chip carrier (LCCC) and in a 28-pin SOIC.
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
which may result from its use. No license is granted by implication or
otherwise under any patent or patent rights of Analog Devices.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 617/329-4700
Fax: 617/326-8703
(VDD = +5 V, VSS = –5 V, AGND = DGND = 0 V, REF IN = +3 V, fCLK = 2.5 MHz
MIN to TMAX unless otherwise noted.)
AD7874–SPECIFICATIONS external. All specifications T
Parameter
SAMPLE-AND-HOLD
Acquisition Time2 to 0.01%
Droop Rate2, 3
–3 dB Small Signal Bandwidth3
Aperture Delay2
Aperture Jitter2, 3
Aperture Delay Matching2
A Version B Version S Version Units
2
1
500
0
40
200
4
2
1
500
0
40
200
4
2
2
500
0
40
200
4
µs max
mV/ms max
kHz typ
ns min
ns max
ps typ
ns max
Test Conditions/Comments
VIN = 500 mV p-p
SAMPLE-AND-HOLD AND ADC
DYNAMIC PERFORMANCE
Signal-to-Noise Ratio
Total Harmonic Distortion
Peak Harmonic or Spurious Noise
Intermodulation Distortion
2nd Order Terms
3rd Order Terms
Channel-to-Channel Isolation2
70
–78
–78
71
–80
–80
70
–78
–78
dB min
dB max
dB max
–80
–80
–80
–80
–80
–80
–80
–80
–80
dB max
dB max
dB max
DC ACCURACY
Resolution
Relative Accuracy
Differential Nonlinearity
Positive Full-Scale Error4
Negative Full-Scale Error4
Full-Scale Error Match
Bipolar Zero Error
Bipolar Zero Error Match
12
±1
±1
±5
±5
5
±5
4
12
± 1/2
±1
±5
±5
5
±5
4
12
±1
±1
±5
±5
5
±5
4
Bits
LSB max
LSB max
LSB max
LSB max
LSB max
LSB max
LSB max
ANALOG INPUTS
Input Voltage Range
Input Current
± 10
± 600
± 10
± 600
± 10
± 600
Volts
µA max
REFERENCE OUTPUTS
REF OUT
REF OUT Error @ +25°C
TMIN to TMAX
REF OUT Temperature Coefficient
Reference Load Change
3
± 0.33
±1
± 35
±1
3
± 0.33
±1
± 35
±1
3
± 0.33
±1
± 35
±2
V nom
% max
% max
ppm/°C typ
mV max
REFERENCE INPUT
Input Voltage Range
Input Current
Input Capacitance3
2.85/3.15
±1
10
2.85/3.15
±1
10
2.85/3.15
±1
10
V min/V max 3 V ± 5%
µA max
pF max
LOGIC INPUTS
Input High Voltage, VINH
Input Low Voltage, VINL
Input Current, IIN
Input Capacitance, CIN3
2.4
0.8
± 10
10
2.4
0.8
± 10
10
2.4
0.8
± 10
10
V min
V max
µA max
pF max
VDD = 5 V ± 5%
VDD = 5 V ± 5%
VIN = 0 V to VDD
4.0
0.4
4.0
0.4
4.0
0.4
V min
V max
VDD = 5 V ± 5%; ISOURCE = 40 µA
VDD = 5 V ± 5%; ISINK = 1–6 mA
µA max
pF max
VIN = 0 V to VDD
V nom
V nom
mA max
mA max
mW max
± 5% for Specified Performance
± 5% for Specified Performance
CS = RD = CONVST = +5 V; Typically 12 mA
CS = RD = CONVST = +5 V; Typically 8 mA
CS = RD = CONVST = +5 V; Typically 100 mW
LOGIC OUTPUTS
Output High Voltage, VOH
Output Low Voltage, VOL
DB0–DB11
Floating-State Leakage Current
Floating-State Output Capacitance
Output Coding
POWER REQUIREMENTS
VDD
VSS
IDD
ISS
Power Dissipation
± 10
10
+5
–5
18
12
150
± 10
± 10
10
10
2s COMPLEMENT
+5
–5
18
12
150
+5
–5
18
12
150
fIN = 10 kHz Sine Wave, fSAMPLE = 29 kHz
fIN = 10 kHz Sine Wave, fSAMPLE = 29 kHz
fIN = 10 kHz Sine Wave, fSAMPLE = 29 kHz
fa = 9 kHz, fb = 9.5 kHz, fSAMPLE = 29 kHz
No Missing Codes Guaranteed
Any Channel
Any Channel
Between Channels
Any Channel
Between Channels
Reference Load Current Change (0–500 µA)
Reference Load Should Not Be Changed During Conversion
NOTES
1
Temperature ranges are as follows: A, B Versions: –40°C to +85°C; S Version: –55°C to +125°C.
2
See Terminology.
3
Sample tested @ +25°C to ensure compliance.
4
Measured with respect to the REF IN voltage and includes bipolar offset error.
5
For capacitive loads greater than 50 pF a series resistor is required.
Specifications subject to change without notice.
–2–
REV. C
AD7874
(VDD = +5 V 6 5%, VSS = –5 V 6 5%, AGND = DGND = O V, tCLK = 2.5 MHz external unless
TIMING CHARACTERISTICS1 otherwise noted.)
Parameter
A, B Versions
S Version
Units
Conditions/Comments
t1
t2
t3
t4
t5
t6 2
t7 3
50
0
60
0
60
57
5
45
130
31
32.5
31
35
10
50
0
70
0
60
70
5
50
150
31
32.5
31
35
10
ns min
ns min
ns min
ns min
ns max
ns max
ns min
ns max
ns min
µs min
µs max
µs min
µs max
µs max
CONVST Pulse Width
CS to RD Setup Time
RD Pulse Width
CS to RD Hold Time
RD to INT Delay
Data Access Time after RD
Bus Relinquish Time after RD
t8
tCONV
tCLK
Delay Time between Reads
CONVST to INT, External Clock
CONVST to INT, External Clock
CONVST to INT, Internal Clock
CONVST to INT, Internal Clock
Minimum Input Clock Period
NOTES
1
Timing Specifications in bold print are 100% production tested. All other times are sample tested at +25°C to ensure compliance. All input signals are specified with
tr = tf = 5 ns (10% to 90% of +5 V) and timed from a voltage level of 1.6 V.
2
t6 is measured with the load circuit of Figure 1 and defined as the time required for an output to cross 0.8 V or 2.4 V.
3
t7 is derived from the measured time taken by the data outputs to change 0.5 V when loaded with the circuit of 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 time, t 7, quoted in the timing characteristics is the true bus relinquish
time of the part and as such is independent of external bus loading capacitances.
Specifications subject to change without notice.
1.6mA
ABSOLUTE MAXIMUM RATINGS*
(TA = +25°C unless otherwise noted)
VDD to AGND . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
VDD to DGND . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
VSS to AGND . . . . . . . . . . . . . . . . . . . . . . . . . +0.3 V to –7 V
AGND to DGND . . . . . . . . . . . . . . . . –0.3 V to VDD + 0.3 V
VIN to AGND . . . . . . . . . . . . . . . . . . . . . . . . . –15 V to +15 V
REF OUT to AGND . . . . . . . . . . . . . . . . . . . . . . . 0 V to VDD
Digital Inputs to DGND . . . . . . . . . . . –0.3 V to VDD + 0.3 V
Digital Outputs to DGND . . . . . . . . . . –0.3 V to VDD + 0.3 V
Operating Temperature Range
Commercial (A, B Versions) . . . . . . . . . . . –40°C to +85°C
Extended (S Version) . . . . . . . . . . . . . . . . –55°C to +125°C
Storage Temperature Range . . . . . . . . . . . . –65°C to +150°C
Lead Temperature (Soldering, 10 secs) . . . . . . . . . . . +300°C
Power Dissipation (Any Package) to +75°C . . . . . . 1,000 mW
Derates above +75°C by . . . . . . . . . . . . . . . . . . . . 10 mW/°C
Figure 1. Load Circuit for Access Time
*Stresses above those listed under “Absolute Maximum Ratings” may cause
permanent damage to the device. This is a stress rating only and functional
operation of the device at these or any other conditions above those listed in the
operational sections of this specifications is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect device reliability.
Figure 2. Load Circuit for Bus Relinquish Time
TO OUTPUT
PIN
+ 2.1V
50pF
200µA
1.6mA
TO OUTPUT
PIN
+ 2.1V
50pF
200µA
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 the AD7874 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.
REV. C
–3–
WARNING!
ESD SENSITIVE DEVICE
AD7874
TERMINOLOGY
PIN CONFIGURATIONS
ACQUISITION TIME
Acquisition Time is the time required for the output of the
track/hold amplifiers to reach their final values, within ± 1/2
LSB, after the falling edge of INT (the point at which the track/
holds return to track mode). This includes switch delay time,
slewing time and settling time for a full-scale voltage change.
DIP and SOIC
VIN1
1
28 VIN4
VIN2
2
27 VIN3
VDD
3
26 VSS
INT
4
25 REF OUT
CONVST
5
24 REF IN
RD
6
23 AGND
CS
7
CLK
8
APERTURE DELAY
Aperture Delay is defined as the time required by the internal
switches to disconnect the hold capacitors from the inputs. This
produces an effective delay in sample timing. It is measured by
applying a step input and adjusting the CONVST input position
until the output code follows the step input change.
APERTURE DELAY MATCHING
AD7874
22 DB0 (LSB)
TOP VIEW
(Not to Scale) 21 DB1
VDD
9
DB11 (MSB)
10
19 DB3
DB10 11
18 DB4
Aperture Delay Matching is the maximum deviation in aperture
delays across the four on-chip track/hold amplifiers.
APERTURE JITTER
20 DB2
DB9 12
17 DB5
DB8 13
16 DB6
DGND 14
15 DB7
Aperture Jitter is the uncertainty in aperture delay caused by
internal noise and variation of switching thresholds with signal
level.
VIN2
VIN1
VIN3
VDD
Droop Rate is the change in the held analog voltage resulting
from leakage currents.
4
3
2
1 28 27 26
25 REF OUT
CONVST
5
CHANNEL-TO-CHANNEL ISOLATION
RD
6
Channel-to-Channel Isolation is a measure of the level of
crosstalk between channels. It is measured by applying a fullscale 1 kHz signal to the other three inputs. The figure given is
the worst case across all four channels.
CS
7
AD7874
CLK
8
VDD
9
TOP VIEW
(Not to Scale)
SNR, THD, IMD
VSS
DROOP RATE
INT
VIN4
LCCC
24 REF IN
23 AGND
22 DB0 (LSB)
21 DB1
DB11 (MSB) 10
20 DB2
DB10 11
19 DB3
DB4
DB6
DB5
DB7
DGND
DB9
–4–
DB8
12 13 14 15 16 17 18
See DYNAMIC SPECIFICATIONS section.
REV. C
AD7874
PIN FUNCTION DESCRIPTION
Pin
Mnemonic
Description
1
VIN1
Analog Input Channel 1. This is the first of the four input channels to be converted in a conversion cycle. Analog input voltage range is ± 10 V.
2
VIN2
Analog Input Channel 2. Analog input voltage range is ± 10 V.
3
VDD
Positive supply voltage, +5 V ± 5%. This pin should be decoupled to AGND.
4
INT
Interrupt. Active low logic output indicating converter status. See Figure 7.
5
CONVST
Convert Start. Logic Input. A low to high transition on this input puts the track/hold into its
hold mode and starts conversion. The four channels are converted sequentially, Channel 1 to
Channel 4. The CONVST input is asynchronous to CLK and independent of CS and RD.
6
RD
Read. Active low logic input. This input is used in conjunction with CS low to enable the
data outputs. Four successive reads after a conversion will read the data from the four channels in the sequence, Channel 1, 2, 3, 4.
7
CS
Chip Select. Active low logic input. The device is selected when this input is active.
8
CLK
Clock Input. An external TTL-compatible clock may be applied to this input pin. Alternatively, tying this pin to VSS enables the internal laser trimmed clock oscillator.
9
VDD
Positive Supply Voltage, +5 V ± 5%. Same as Pin 3; both pins must be tied together at the
package. This pin should be decoupled to DGND.
10
DB11
Data Bit 11 (MSB). Three-state TTL output. Output coding is 2s complement.
11–13
DB10–DB8
Data Bit 10 to Data Bit 8. Three-state TTL outputs.
14
DGND
Digital Ground. Ground reference for digital circuitry.
15–21
DB7–DB1
Data Bit 7 to Data Bit 1. Three-state TTL outputs.
22
DB0
Data Bit 0 (LSB). Three-state TTL output.
23
AGND
Analog Ground. Ground reference for track/hold, reference and DAC.
24
REF IN
Voltage Reference Input. The reference voltage for the part is applied to this pin. It is internally buffered, requiring an input current of only ± 1 µA. The nominal reference voltage for
correct operation of the AD7874 is 3 V.
25
REF OUT
Voltage Reference Output. The internal 3 V analog reference is provided at this pin. To operate the AD7874 with internal reference, REF OUT is connected to REF IN. The external
load capability of the reference is 500 µA.
26
VSS
Negative Supply Voltage, –5 V ± 5%.
27
VIN3
Analog Input Channel 3. Analog input voltage range is ± 10 V.
28
VIN4
Analog Input Channel 4. Analog input voltage range is ± 10 V.
ORDERING GUIDE
Model1
Relative
Temperature
Range
SNR
(dBs)
Accuracy
(LSB)
Package
Option2
AD7874AN
AD7874BN
AD7874AR
AD7874BR
AD7874AQ
AD7874BQ
AD7874SQ3
AD7874SE3
–40°C to +85°C
–40°C to +85°C
–40°C to +85°C
–40°C to +85°C
–40°C to +85°C
–40°C to +85°C
–55°C to +125°C
–55°C to +125°C
70 min
72 min
70 min
72 min
70 min
72 min
70 min
70 min
± 1 max
± 1/2 max
± 1 max
± 1/2 max
± 1 max
± 1/2 max
± 1 max
± 1 max
N-28
N-28
R-28
R-28
Q-28
Q-28
Q-28
E-28A
NOTES
1
To order MIL-STD-883, Class B processed parts, add /883B to part number. Contact
1
our local sales office for military data sheet and availability.
2
E = Leaded Ceramic Chip Carrier; N = Plastic DIP; Q = Cerdip; R = SOIC.
3
Available to /883B processing only.
REV. C
–5–
AD7874
CONVERTER DETAILS
EXTERNAL REFERENCE
The AD7874 is a complete 12-bit, 4-channel data acquisition
system. It is comprised of a 12-bit successive approximation
ADC, four high speed track/hold circuits, a four-channel analog
multiplexer and a 3 V Zener reference. The ADC uses a successive approximation technique and is based on a fast-settling,
voltage switching DAC, a high speed comparator, a fast CMOS
SAR and high speed logic.
In some applications, the user may require a system reference or
some other external reference to drive the AD7874 reference input. Figure 4 shows how the AD586 5 V reference can be used
to provide the 3 V reference required by the AD7874 REF IN.
+15V
+VIN
Conversion is initiated on the rising edge of CONVST. All four
input track/holds go from track to hold on this edge. Conversion
is first performed on the Channel 1 input voltage, then Channel
2 is converted and so on. The four results are stored in on-chip
registers. When all four conversions have been completed, INT
goes low indicating that data can be read from these locations.
The conversion sequence takes either 78 or 79 rising clock edges
depending on the synchronization of CONVST with CLK. Internal delays and reset times bring the total conversion time
from CONVST going high to INT going low to 32.5 µs maximum for a 2.5 MHz external clock. The AD7874 uses an implicit addressing scheme whereby four successive reads to the
same memory location access the four data words sequentially.
The first read accesses Channel 1 data, the second read accesses
Channel 2 data and so on. Individual data registers cannot be
accessed independently.
VIN1
7R*
TO INTERNAL
COMPARATOR
GND
VOUT
AD586
TRACK/HOLD 1
10kΩ
REF
IN
2.1R*
3R*
1kΩ
TO ADC
REFERENCE
CIRCUITRY
15kΩ
AGND
AD7874**
*R = 3.6kΩ TYP
**ADDITIONAL PINS OMITTED FOR CLARITY
Figure 4. AD586 Driving AD7874 REF IN
TRACK-AND-HOLD AMPLIFIER
INTERNAL REFERENCE
The track-and-hold amplifier on each analog input of the
AD7874 allows the ADC to accurately convert an input sine
wave of 20 V p-p amplitude to 12-bit accuracy. The input bandwidth of the track/hold amplifier is greater than the Nyquist rate
of the ADC even when the ADC is operated at its maximum
throughput rate. The small signal 3 dB cutoff frequency occurs
typically at 500 kHz.
The AD7874 has an on-chip temperature compensated buried
Zener reference which is factory trimmed to 3 V ± 10 mV (see
Figure 3). The reference voltage is provided at the REF OUT
pin. This reference can be used to provide both the reference
voltage for the ADC and the bipolar bias circuitry. This is
achieved by connecting REF OUT to REF IN.
The four track/hold amplifiers sample their respective input
channels simultaneously. The aperture delay of the track/hold
circuits is small and, more importantly, is well matched across
the four track/holds on one device and also well matched from
device to device. This allows the relative phase information between different input channels to be accurately preserved. It also
allows multiple AD7874s to sample more than four channels
simultaneously.
VDD
TEMPERATURE
COMPENSATION
AD7874
The operation of the track/hold amplifiers is essentially transparent to the user. Once conversion is initiated, the four channels
are automatically converted and there is no need to select which
channel is to be digitized.
VSS
REF OUT
Figure 3. AD7874 Internal Reference
ANALOG INPUT
The reference can also be used as a reference for other components and is capable of providing up to 500 µA to an external
load. In systems using several AD7874s, using the REF OUT of
one device to provide the REF IN for the other devices ensures
good full-scale tracking between all the AD7874s. Because the
AD7874 REF IN is buffered, each AD7874 presents a high impedance to the reference so one AD7874 REF OUT can drive
several AD7874 REF INs.
The analog input of Channel 1 of the AD7874 is as shown in
Figure 4. The analog input range is ± 10 V into an input resistance of typically 30 kΩ. The designed code transitions occur
midway between successive integer LSB values (i.e., 1/2 LSB,
3/2 LSBs, 5/2 LSBs, . . . FS – 3/2 LSBs). The output code is
2s complement binary with 1 LSB = FS/4096 = 20 V/4096 =
4.88 mV. The ideal input/output transfer function is shown in
Figure 5.
The maximum recommended capacitance on REF OUT for
normal operation is 50 pF. If the reference is required for other
system uses, it should be decoupled to AGND with a 200 Ω resistor in series with a parallel combination of a 10 µF tantalum
capacitor and a 0.1 µF ceramic capacitor.
–6–
REV. C
AD7874
Gain error can be adjusted at either the first code transition
(ADC negative full scale) or the last code transition (ADC positive full scale). The trim procedures for both cases are as
follows:
OUTPUT
CODE
011...111
011...110
Positive Full-Scale Adjust
Apply a voltage of +9.9927 V (FS/2 – 3/2 LSBs) at V1. Adjust
R2 until the ADC output code flickers between 0111 1111 1110
and 0111 1111 1111.
000...010
000...001
000...000
– FS
2
+ FS
– 1LSB
2
111...111
111...110
FS=20V
1LSB = FS
4096
100...001
100...000
0V
INPUT VOLTAGE
Figure 5. Input/Output Transfer Function
OFFSET AND FULL-SCALE ADJUSTMENT
In most Digital Signal Processing (DSP) applications, offset and
full-scale errors have little or no effect on system performance.
Offset error can always be eliminated in the analog domain by
ac coupling. Full-scale error effect is linear and does not cause
problems as long as the input signal is within the full dynamic
range of the ADC. Invariably, some applications will require
that the input signal span the full analog input dynamic range.
In such applications, offset and full-scale error will have to be
adjusted to zero.
Figure 6 shows a circuit which can be used to adjust the offset
and full-scale errors on the AD7874 (Channel 1 is shown for example purposes only). Where adjustment is required, offset error must be adjusted before full-scale error. This is achieved by
trimming the offset of the op amp driving the analog input of
the AD7874 while the input voltage is a 1/2 LSB below analog
ground. The trim procedure is as follows: apply a voltage of
–2.44 mV (–1/2 LSB) at V1 in Figure 6 and adjust the op amp
offset voltage until the ADC output code flickers between 1111
1111 1111 and 0000 0000 0000.
INPUT
RANGE = ±10V
V1
R1
10kΩ
R2
500Ω
VIN1
R4
10kΩ
R3
10kΩ
AD7874*
R5
10kΩ
AGND
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 6. AD7874 Full-Scale Adjust Circuit
REV. C
Negative Full-Scale Adjust
Apply a voltage of –9.9976 V ( –FS + 1/2 LSB) at V1 and adjust
R2 until the ADC output code flickers between 1000 0000 0000
and 1000 0000 0001.
An alternative scheme for adjusting full-scale error in systems
which use an external reference is to adjust the voltage at the
REF IN pin until the full-scale error for any of the channels is
adjusted out. The good full-scale matching of the channels will
ensure small full-scale errors on the other channels.
TIMING AND CONTROL
Conversion is initiated on the AD7874 by asserting the
CONVST input. This CONVST input is an asynchronous input
which is independent of the ADC clock. This is essential for
applications where precise sampling in time is important. In
these applications, the signal sampling must occur at exactly
equal intervals to minimize errors due to sampling uncertainty
or jitter. In these cases, the CONVST input is driven from a
timer or precise clock source. Once conversion is started,
CONVST should not be asserted again until conversion is complete on all four channels.
In applications where precise time interval sampling is not critical, the CONVST pulse can be generated from a microprocessor WRITE or READ line gated with a decoded address
(different to the AD7874 CS address). CONVST should not be
derived from a decoded address alone because very short
CONVST pulses (which may occur in some microprocessor systems as the address bus is changing at the start of an instruction
cycle) could initiate a conversion.
All four track/hold amplifiers go from track to hold on the rising
edge of the CONVST pulse. The four track/hold amplifiers remain in their hold mode while all four channels are converted.
The rising edge of CONVST also initiates a conversion on the
Channel 1 input voltage (VIN1). When conversion is complete
on Channel 1, its result is stored in Data Register 1, one of four
on-chip registers used to store the conversion results. When the
result from the first conversion is stored, conversion is initiated
on the voltage held by track/hold 2. When conversion has been
completed on the voltage held by track/hold 4 and its result is
stored in Data Register 4, INT goes low to indicate that the
conversion process is complete.
The sequence in which the channel conversions takes place is
automatically taken care of by the AD7874. This means that the
user does not have to provide address lines to the AD7874 or
worry about selecting which channel is to be digitized.
Reading data from the device consists of four read operations to
the same microprocessor address. Addressing of the four
on-chip data registers is again automatically taken care of by the
AD7874.
–7–
AD7874
The first read operation to the AD7874 after conversion always
accesses data from Data Register 1 (i.e., the conversion result
from the VIN1 input). INT is reset high on the falling edge of
RD during this first read operation. The second read always accesses data from Data Register 2 and so on. The address pointer
is reset to point to Data Register 1 on the rising edge of
CONVST. A read operation to the AD7874 should not be attempted during conversion. The timing diagram for the
AD7874 conversion sequence is shown in Figure 7.
TRACK/HOLDS GO
INTO HOLD
t1
CONVST
tCONV
tACQUISITION
INT
t5
CS
t8
t2
t4
t3
RD
t6
DATA
HIGH-IMPEDANCE
t7
CH1
DATA
HIGH- CH2
DATA
Z
HIGH- CH3 HIGH- CH4
DATA
DATA
Z
Z
HIGH-Z
TIMES t2, t3, t4, t6, t7, AND t8 ARE THE SAME FOR ALL FOUR READ OPERATIONS.
Figure 7. AD7874 Timing Diagram
Figure 8. AD7874 FFT Plot
AD7874 DYNAMIC SPECIFICATIONS
The AD7874 is specified and 100% tested for dynamic performance specifications as well as traditional dc specifications such
as Integral and Differential Nonlinearity. These ac specifications
are required for the signal processing applications such as
phased array sonar, adaptive filters and spectrum analysis.
These applications require information on the ADC’s effect on
the spectral content of the input signal. Hence, the parameters
for which the AD7874 is specified include SNR, harmonic distortion, intermodulation distortion and peak harmonics. These
terms are discussed in more detail in the following sections.
Effective Number of Bits
Signal-to-Noise Ratio (SNR)
Figure 9 shows a typical plot of effective number of bits versus
frequency for an AD7874BN with a sampling frequency of
29 kHz. The effective number of bits typically falls between
11.75 and 11.87 corresponding to SNR figures of 72.5 dB and
73.2 dB.
The formula given in Equation 1 relates the SNR to the number
of bits. Rewriting the formula, as in Equation 2, it is possible to
get a measure of performance expressed in effective number of
bits (N).
N=
(2)
The effective number of bits for a device can be calculated directly from its measured SNR.
SNR is the measured signal to noise ratio at the output of the
ADC. The signal is the rms magnitude of the fundamental.
Noise is the rms sum of all the nonfundamental signals up to
half the sampling frequency (fs/2) excluding dc. SNR is dependent upon the number of quantization levels used in the digitization process; the more levels, the smaller the quantization
noise. The theoretical signal to noise ratio for a sine wave input
is given by
SNR = (6.02N + 1.76) dB
SNR − 1.76
6.02
(1)
where N is the number of bits.
Thus for an ideal 12-bit converter, SNR = 74 dB.
The output spectrum from the ADC is evaluated by applying a
sine wave signal of very low distortion to the VIN input which is
sampled at a 29 kHz sampling rate. A Fast Fourier Transform
(FFT) plot is generated from which the SNR data can be obtained. Figure 8 shows a typical 2048 point FFT plot of the
AD7874BN with an input signal of 10 kHz and a sampling
frequency of 29 kHz. The SNR obtained from this graph is
73.2 dB. It should be noted that the harmonics are taken into
account when calculating the SNR.
z
Figure 9. Effective Numbers of Bits vs. Frequency
–8–
REV. C
AD7874
Total Harmonic Distortion (THD)
Peak Harmonic or Spurious Noise
Total Harmonic Distortion (THD) is the ratio of the rms sum
of harmonics to the rms value of the fundamental. For the
AD7874, THD is defined as
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 will be
determined by the largest harmonic in the spectrum, but for
parts where the harmonics are buried in the noise floor the peak
will be a noise peak.
2
THD = 20 log
2
2
2
V 2 + V 3 + V 4 + V5 + V 6
V1
2
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
sixth harmonic. The THD is also derived from the FFT plot of
the ADC output spectrum.
Intermodulation Distortion
With inputs consisting of sine waves at two frequencies, fa and
fb, any active device with nonlinearities will create distortion
products at sum and difference frequencies of mfa ± nfb where
m, n = 0, 1, 2, 3 . . ., etc. Intermodulation terms are those for
which neither m or n are equal to zero. For example, the second
order terms include (fa + fb) and (fa – fb) while 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 third
order terms are of different significance. The second order terms
are usually distanced in frequency from the original sine waves
while 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 dBs. In this case,
the input consists of two, equal amplitude, low distortion sine
waves. Figure 10 shows a typical IMD plot for the AD7874.
AC Linearity Plot
When a sine wave of specified frequency is applied to the VIN input of the AD7874 and several million samples are taken, a histogram showing the frequency of occurrence of each of the 4096
ADC codes can be generated. From this histogram data it is
possible to generate an ac integral linearity plot as shown in Figure 11. This shows very good integral linearity performance
from the AD7874 at an input frequency of 10 kHz. The absence
of large spikes in the plot shows good differential linearity. Simplified versions of the formulae used are outlined below.
 (V (i ) − V (o)) ⋅ 4096 
INL(i ) = 
 − i
V ( fs) − V (o)

where INL(i) is the integral linearity at code i. V(fs) and V(o) are
the estimated full-scale and offset transitions, and V(i) is the estimated transition for the ith code.
V(i), the estimated code transition point is derived as follows:
V (i ) = − A ⋅ Cos
[ π ⋅ cum(i )]
N
where A is the peak signal amplitude, N is the number of histogram samples
i
and cum(i ) =
∑ V (n)occurrences
n =o
Figure 11. AD7874 AC INL Plot
Figure 10. AD7874 IMD Plot
REV. C
–9–
AD7874
MICROPROCESSOR INTERFACING
TIMER
The AD7874 high speed bus timing allows direct interfacing to
DSP processors as well as modern 16-bit microprocessors.
Suitable microprocessor interfaces are shown in Figures 12
through 16.
PA2
ADDRESS BUS
PA0
AD7874–ADSP-2100 Interface
Figure 12 shows an interface between the AD7874 and the
ADSP-2100. Conversion is initiated using a timer which allows
very accurate control of the sampling instant on all four channels. The AD7874 INT line provides an interrupt to the ADSP2100 when conversion is completed on all four channels. The
four conversion results can then be read from the AD7874 using
four successive reads to the same memory address. The following instruction reads one of the four results (this instruction is
repeated four times to read all four results in sequence):
MR0 = DM(ADC)
MEN
CS
AD7874*
INT
INT
DEN
RD
DB11
DB0
D15
DATA BUS
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 13. AD7874–TMS32010 Interface
TIMER
AD7874–TMS320C25 Interface
DMA0
Figure 14 shows an interface between the AD7874 and the
TMS320C25. As with the two previous interfaces, conversion is
initiated with a timer and the processor is interrupted when the
conversion sequence is completed. The TMS320C25 does not
have a separate RD output to drive the AD7874 RD input directly. This has to be generated from the processor STRB and
R/W outputs with the addition of some logic gates. The RD signal is OR-gated with the MSC signal to provide the one WAIT
state required in the read cycle for correct interface timing.
Conversion results are read from the AD7874 using the following instruction:
IN D,ADC
CONVST
DMS
EN
D0
ADDRESS BUS
ADDR
DECODE
CONVST
TMS32010
where MR0 is the ADSP-2100 MR0 register and
ADC is the AD7874 address.
DMA13
ADDR
DECODE
CS
EN
AD7874*
ADSP-2100
(ADSP-2101/
ADSP-2102)
IRQn
INT
DMRD (RD)
RD
DB11
DB0
where D is Data Memory address and
ADC is the AD7874 address.
DMD15
DATA BUS
DMD0
* ADDITIONAL PINS OMITTED FOR CLARITY
TIMER
A15
Figure 12. AD7874–ADSP-2100 Interface
ADDRESS BUS
A0
AD7874–ADSP-2101/ADSP-2102 Interface
The interface outlined in Figure 12 also forms the basis for an
interface between the AD7874 and the ADSP-2101/ADSP-2102.
The READ line of the ADSP-2101/ADSP-2102 is labeled RD.
In this interface, the RD pulse width of the processor can be
programmed using the Data Memory Wait State Control Register. The instruction used to read one of the four results is as
outlined for the ADSP-2100.
IS
ADDR
DECODE
CONVST
EN
CS
AD7874*
TMS320C25
INT
INTn
STRB
AD7874–TMS32010 Interface
RD
R/W
An interface between the AD7874 and the TMS32010 is shown
in Figure 13. Once again the conversion is initiated using an external timer and the TMS32010 is interrupted when all four
conversions have been completed. The following instruction is
used to read the conversion results from the AD7874:
IN D,ADC
READY
DB11
MSC
DB0
D15
DATA BUS
D0
where D is Data Memory address and
ADC is the AD7874 address.
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 14. AD7874–TMS320C25 Interface
–10–
REV. C
AD7874
Some applications may require that the conversion is initiated
by the microprocessor rather than an external timer. One option
is to decode the AD7874 CONVST from the address bus so
that a write operation starts a conversion. Data is read at the
end of the conversion sequence as before. Figure 16 shows an
example of initiating conversion using this method. Note that
for all interfaces, a read operation should not be attempted during conversion.
AD7874–MC68000 Interface
An interface between the AD7874 and the MC68000 is shown
in Figure 15. As before, conversion is initiated using an external
timer. The AD7874 INT line can be used to interrupt the processor or, alternatively, software delays can ensure that conversion has been completed before a read to the AD7874 is
attempted. Because of the nature of its interrupts, the 68000
requires additional logic (not shown in Figure 15) to allow it to
be interrupted correctly. For further information on 68000 interrupts, consult the 68000 users manual.
AD7874–8086 Interface
Figure 16 shows an interface between the AD7874 and the 8086
microprocessor. Unlike the previous interface examples, the
microprocessor initiates conversion. This is achieved by gating
the 8086 WR signal with a decoded address output (different to
the AD7874 CS address). The AD7874 INT line is used to interrupt the microprocessor when the conversion sequence is
completed. Data is read from the AD7874 using the following
instruction:
MOV AX,ADC
where AX is the 8086 accumulator and
ADC is the AD7874 address.
ADDRESS BUS
ADDR
DECODE
8086
The MC68000 AS and R/W outputs are used to generate a
separate RD input signal for the AD7874. CS is used to drive
the 68000 DTACK input to allow the processor to execute a
normal read operation to the AD7874. The conversion results
are read using the following 68000 instruction:
MOVE.W ADC,D0
ALE
LATCH
RD
RD
DB11
DB0
AD15
TIMER
A15
ADDRESS/DATA BUS
ADDRESS BUS
AD0
A0
*ADDITIONAL PINS OMITTED FOR CLARITY
ADDR
DECODE
EN
DTACK
Figure 16. AD7874–8086 Interface
CONVST
CS
AD7874*
AS
RD
R/W
DB11
DB0
D15
DATA BUS
D0
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 15. AD7874–MC68000 Interface
REV. C
AD7874*
CONVST
WR
where D0 is the 68000 D0 register and
ADC is the AD7874 address.
MC68000
CS
–11–
AD7874
A block diagram of a vector motor control application using the
AD7874 is shown in Figure 17. 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. Channel 1 and
Channel 2 of the AD7874 are used to digitize this information.
APPLICATIONS
Vector Motor Control
The current drawn by a motor can be split into two components: one produces torque and the other produces magnetic
flux. For optimal performance of the motor, these two components should be controlled independently. In conventional
methods of controlling a three-phase motor, the current (or
voltage) supplied to the motor and the frequency of the drive are
the basic control variables. However, both the torque and flux
are functions of current (or voltage) and frequency. This coupling effect can reduce the performance of the motor because,
for example, if the torque is increased by increasing the frequency, the flux tends to decrease.
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 AD7874. Rotor information is obtained by
measuring the voltage from two of the inputs to the motor.
Channel 3 and Channel 4 of the AD7874 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 AD7874.
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 AD7874, with its four-channel simultaneous sampling capability, is ideally suited for use in vector motor control
applications.
DSP
MICROPROCESSOR
TORQUE & FLUX
CONTROL LOOP
CALCULATIONS &
TWO TO THREE
PHASE
INFORMATION
IC
DAC
DRIVE
CIRCUITRY
DAC
IB
VB
VA
3
PHASE
MOTOR
IA
DAC
TORQUE
SETPOINT
ISOLATION
AMPLIFIERS
FLUX
SETPOINT
VIN1
TRANSFORMATION
TO TORQUE &
FLUX CURRENT
COMPONENTS
VIN2
AD7874*
VIN3
VIN4
VOLTAGE
ATTENUATORS
*ADDITIONAL PINS OMITTED FOR CLARITY
Figure 17. Vector Motor Control Using the AD7874
–12–
REV. C
AD7874
MULTIPLE AD7874s
Figure 18 shows a system where a number of AD7874s can be
configured to handle multiple input channels. This type of configuration is common in applications such as sonar, radar, etc.
The AD7874 is specified with maximum and minimum limits on
aperture delay. This means that the user knows the maximum
difference in the sampling instant between all channels. This allows the user to maintain relative phase information between the
different channels.
A common read signal from the microprocessor drives the RD
input of all AD7874s. Each AD7874 is designated a unique address selected by the address decoder. The reference output of
AD7874 number 1 is used to drive the reference input of all
other AD7874s in the circuit shown in Figure 18. One REF
OUT pin can drive several AD7874 REF IN pins. Alternatively,
an external or system reference can be used to drive all REF IN
inputs. A common reference ensures good full-scale tracking between all channels.
RD
VCH3
AD7874(1)
VCH4
Microprocessor connections to the board are made via a 26contact IDC connector, SKT8, the pinout for which is shown in
Figure 19. This connector contains all data, control and status
signals of the AD7874 (with the exception of the CLK input
and the CONVST input which are provided via SKT5 and
SKT7, respectively). It also contains decoded R/W and STRB
inputs which are necessary for TMS32020 interfacing (and also
for 68000 interfacing although pin labels on the 68000 are different). Note that the AD7874 CS input must be decoded prior
to the AD7874 evaluation board.
SKT1, SKT2, SKT3 and SKT4 provide the inputs for VIN1,
VIN2, VIN3, VIN4 respectively. Assuming LK1 to LK4 are in
place, these input signals are fed to four buffer amplifiers, IC1,
before being applied to the AD7874. The use of an external
clock source is optional; there is a shorting plug (LK5) on the
AD7874 CLK input which must be connected to either –5 V
(for the ADCs own internal clock) or to SKT5. SKT6 and
SKT7 provide the reference and CONVST inputs respectively.
Shorting plug LK6 provides the option of using the external reference or the ADCs own internal reference.
VCH1
VCH2
the input signal connects to the buffer amplifier driving the analog input of the ADC. If the shorting plug is omitted, a wire link
can be used to connect the input signal to the PCB component
grid.
RD
CS
REF OUT
VCH5
RD
VCH6
VCH7
AD7874(2)
CS
VCH8
ADDRESS
DECODE
ADDRESS
R/W
1
2
STRB
RD
3
4
N/C
CS
5
6
N/C
N/C
7
8
INT
N/C
9
10
N/C
DB10
11
12
DB11
DB8
13
14
DB9
DB6
15
16
DB7
DB4
17
18
DB5
DB2
19
20
DB3
DB0
21
22
DB1
+ 5V
23
24
+ 5V
GND
25
26
GND
REF IN
REF IN
VCHm
VCHm+1
RD
AD7874(n)
VCHm+2
VCHm+3
CS
Figure 18. Multiple AD7874s in Multichannel System
Figure 19. SKT8, IDC Connector Pinout
DATA ACQUISITION BOARD
POWER SUPPLY CONNECTIONS
Figure 20 shows the AD7874 in a data acquisition circuit. The
corresponding printed circuit board (PCB) layout and silkscreen
are shown in Figures 21 to 23. A 26-contact IDC connector provides for a microprocessor connection to the board.
The PCB requires two analog power supplies and one 5 V digital supply. The analog supplies are labeled V+ and V– and the
range for both supplies is 12 V to 15 V (see silkscreen in Figure
23). Connection to the 5 V digital supply is made via SKT8.
The +5 V supply and the –5 V supply required by the AD7874
are generated from voltage regulators (IC3 and IC4) on the V+
and V– supplies.
A component grid is provided near the analog inputs on the
PCB which may be used to provide antialiasing filters for the
analog input channels or to provide signal conditioning circuitry.
To facilitate this option, four shorting plugs (labeled LK1 to
LK4 on the PCB) are provided on the analog inputs, one plug
per input. If the shorting plug for a particular channel is used,
REV. C
–13–
AD7874
IC3
78L05
V+
C3
C4
CONVST
SKT6
C7
C8
IC1
VDD AD713
LK1
VDD
SKT1
VIN1
LK2
CONVST
DB11
LK3
DB0
INT
CS
SKT2
VIN2
SKT3
VIN3
LK4
SKT4
SKT8
IC2
AD7874
VIN4
C1
DGND
VSS
V–
IN
IC4
79L05
OUT
C5
R1
IC5
2
1
3
IC5
B
RD
A
DGND
25, 26
B
AGND
C2
22
8
5
+ 5V
23, 24
R2
A
REF IN
VSS
11
DATA BUS
REF
OUT
CLK
A
C6 CLK
SKT5
LK5
B
REFERENCE
SKT6
Figure 20. Data Acquisition Circuit Using the AD7874
Figure 21. PCB Silkscreen for Figure 20
–14–
REV. C
AD7874
Figure 22. PCB Component Side Layout for the Circuit of Figure 20
Figure 23. PCB Solder Side Layout for the Circuit of Figure 20
REV. C
–15–
SHORTING PLUG OPTIONS
COMPONENT LIST
There are seven shorting plug options which must be set before
using the board. These are outlined below:
IC1
IC2
IC3
IC4
IC5
C1, C3, C5, C7, C9
C2, C4, C6, C8, C10
R1, R2
LK1, LK2, LK3
LK4, LK5, LK6
LK7
SKT1, SKT2, SKT3,
SKT4, SKT5, SKT6,
SKT7
SKT8
LK1–LK4
Connects the analog inputs to the buffer amplifiers. The analog inputs may also be connected to a
component grid for signal conditioning.
LK5
Selects either the AD7874 internal clock or an external clock source.
LK6
Selects either the AD7874 internal reference or an
external reference source.
LK7
Connects the AD7874 RD input directly to the
RD input of SKT8 or to a decoded STRB and
R/W input. This shorting plug setting depends on
the microprocessor, e.g., the TMS32020 and
68000 require a decoded RD signal.
AD713 Quad Op Amp
AD7874 Analog-to-Digital Converter
MC78L05 +5 V Regulator
MC79L05 –5 V Regulator
74HC00 Quad NAND Gate
10 µF Capacitors
0.1 µF Capacitors
10 kΩ Pull-Up Resistors
Shorting Plugs
C1388a–5–5/91
AD7874
BNC Sockets
26-Contact (2-Row) IDC Connector
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
Plastic (N-28)
SOIC (R-28)
Cerdip (Q-28)
LCCC (E-28A)
0.100 (2.54) 1
0.064 (1.63)
0.055 (1.40)
0.045 (1.14)
0.075
(1.91)
REF
0.028 (0.71)
0.022 (0.56)
NO. 1 PIN INDEX
BOTTOM VIEW
0.040 x 45°
(1.02 x 45°)
REF 3 PLCS
0.020 x 45°
(0.51 x 45°) REF
0.458 (11.63)
0.442 (11.23)
2
NOTES
1. THIS DIMENSION CONTROLS THE OVERALL PACKAGE
THICKNESS.
2. APPLIES TO ALL FOUR SIDES.
3. ALL TERMINALS ARE GOLD PLATED.
–16–
REV. C
PRINTED IN U.S.A.
28
0.050 ± 0.005
(1.27 ± 0.13)