AD EVAL-AD7731EB

a
Low Noise, High Throughput
24-Bit Sigma-Delta ADC
AD7731
GENERAL DESCRIPTION
FEATURES
24-Bit Sigma-Delta ADC
16 Bits p-p Resolution at 800 Hz Output Rate
Programmable Output Rates up to 6.4 kHz
Programmable Gain Front End
60.0015% Nonlinearity
Buffered Differential Inputs
Programmable Filter Cutoffs
FASTStep™* Mode for Channel Sequencing
Single Supply Operation
The AD7731 is a complete analog front-end for process control
applications. The device has a proprietary programmable gain
front end that allows it to accept a range of input signal ranges,
including low level signals, directly from a transducer. The sigmadelta architecture of the part consists of an analog modulator
and a low pass programmable digital filter, allowing adjustment
of filter cutoff, output rate and settling time.
The part features three buffered differential programmable gain
analog inputs (which can be configured as five pseudo-differential
inputs), as well as a differential reference input. The part operates from a single +5 V supply and accepts seven unipolar analog input ranges: 0 to +20 mV, +40 mV, +80 mV, +160 mV,
+320 mV, +640 mV and +1.28 V, and seven bipolar ranges:
± 20 mV, ± 40 mV, ± 80 mV, ± 160 mV, ± 320 mV, ± 640 mV and
± 1.28 V. The peak-to-peak resolution achievable directly from
the part is 16 bits at an 800 Hz output rate. The part can switch
between channels with 1 ms settling time and maintain a performance level of 13 bits of peak-to-peak resolution.
APPLICATIONS
Process Control
PLCs/DCS
Industrial Instrumentation
The serial interface on the part can be configured for three-wire
operation and is compatible with microcontrollers and digital
signal processors. The AD7731 contains self-calibration and
system calibration options and features an offset drift of less
than 5 nV/°C and a gain drift of less than 2 ppm/°C.
The part is available in a 24-lead plastic DIP, a 24-lead SOIC
and 24-lead TSSOP package.
FUNCTIONAL BLOCK DIAGRAM
REF IN(–)
DVDD
AVDD
REF IN(+)
AD7731
NC
AVDD
AIN1
100nA
AIN2
AIN3
SIGMA-DELTA A/D CONVERTER
BUFFER
SIGMADELTA
MODULATOR
PGA
MUX
PROGRAMMABLE
DIGITAL
FILTER
STANDBY
SYNC
AIN4
AIN5
100nA
AIN6
AGND
SERIAL INTERFACE
AND CONTROL LOGIC
CLOCK
GENERATION
REGISTER BANK
MCLK IN
MCLK OUT
SCLK
CS
CALIBRATION
MICROCONTROLLER
DIN
DOUT
AGND
DGND
POL
RDY
RESET
*FASTStep is a trademark of Analog Devices, Inc.
REV. 0
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
World Wide Web Site: http://www.analog.com
Fax: 617/326-8703
© Analog Devices, Inc., 1997
(AVDD = +5 V, DVDD = +3 V or +5 V; REF IN(+) = +2.5 V; REF IN(–) = AGND; AGND =
CLK IN = 4.9152 MHz. All specifications TMIN to TMAX unless otherwise noted.)
AD7731–SPECIFICATIONS DGND = 0 V; f
Parameter
STATIC PERFORMANCE (CHP = 0)
No Missing Codes2
Output Noise and Update Rates2
Integral Nonlinearity
Offset Error2
Offset Drift vs. Temperature2
Offset Drift vs. Time5
Positive Full-Scale Error2, 6
Positive Full-Scale Drift vs. Temp2, 7, 8
Positive Full-Scale Drift vs. Time5
Gain Error2, 9
Gain Drift vs. Temperature2, 7, 10
Gain Drift vs. Time5
Bipolar Negative Full-Scale Error2
Negative Full-Scale Drift vs. Temp2, 7
Power Supply Rejection11
Power Supply Rejection11
Common-Mode Rejection (CMR)11
On AIN
On AIN
On REF IN
Analog Input DC Bias Current2
Analog Input DC Bias Current Drift2
Analog Input DC Offset Current2
Analog Input DC Offset Current Drift2
STATIC PERFORMANCE (CHP = 1)2
No Missing Codes
Output Noise and Update Rates
Integral Nonlinearity
Offset Error
Offset Drift vs. Temperature
Offset Drift vs. Time5
Positive Full-Scale Error6
Positive Full-Scale Drift vs. Temp7, 8
Positive Full-Scale Drift vs. Time5
Gain Error9
Gain Drift vs. Temperature7, 10
Gain Drift vs. Time5
Bipolar Negative Full-Scale Error
Negative Full-Scale Drift vs. Temp
Power Supply Rejection11
Power Supply Rejection11
Common-Mode Rejection (CMR)11
On AIN
On AIN
On REF IN
Analog Input DC Bias Current
Analog Input DC Bias Current Drift
Analog Input DC Offset Current
Analog Input DC Offset Current Drift
ANALOG INPUTS/REFERENCE INPUTS
Normal Mode 50 Hz/60 Hz Rejection2
Common-Mode 50 Hz/60 Hz Rejection2
Analog Inputs
Differential Input Voltage Ranges12
B Version1
Units
Conditions/Comments
24
See Tables I and II
15
See Note 4
0.5
1/2/5
2.5
See Note 4
0.6
1.5/3/6
3
See Note 4
2
10
See Note 4
1
90
60
Bits min
SKIP = 03
95
85
120
60
150
30
100
dB typ
dB typ
dB typ
nA max
pA/°C typ
nA max
pA/°C typ
24
See Tables III and IV
15
See Note 4
5
25
See Note 4
2
10
See Note 4
2
10
See Note 4
2
110
85
Bits min
ppm of FS/°C max
dB typ
dB typ
110
85
120
50
100
10
50
dB typ
dB typ
dB typ
nA max
pA/°C typ
nA max
pA/°C typ
At DC. Input Range = 20 mV
At DC. Input Range = 1.28 V
88
120
dB min
dB min
50 Hz/60 Hz ± 1 Hz. SKIP = 0
50 Hz/60 Hz ± 1 Hz. SKIP = 0
mV nom
mV nom
mV nom
mV nom
mV nom
mV nom
V nom
Assuming 2.5 V or 5 V Reference with HIREF
Bit Set Appropriately
RN2, RN1, RN0 of Mode Register = 0, 0, 1
RN2, RN1, RN0 of Mode Register = 0, 1, 0
RN2, RN1, RN0 of Mode Register = 0, 1, 1
RN2, RN1, RN0 of Mode Register = 1, 0, 0
RN2, RN1, RN0 of Mode Register = 1, 0, 1
RN2, RN1, RN0 of Mode Register = 1, 1, 0
RN2, RN1, RN0 of Mode Register = 1, 1, 1
0 to +20 or ± 20
0 to +40 or ± 40
0 to +80 or ± 80
0 to +160 or ± 160
0 to +320 or ± 320
0 to +640 or ± 640
0 to +1.28 or ± 1.28
ppm of FSR max
µV/°C typ
µV/°C typ
µV/1000 Hr
µV/°C typ
µV/°C typ
µV/1000 Hr
Offset Error and Offset Drift Refer to Both
Input Range = 20 mV, 40 mV, 80 mV, 160 mV
Input Range = 320 mV/640 mV/1.28 V
Input Range = 20 mV, 40 mV, 80 mV, 160 mV
Input Range = 320 mV/640 mV/1.28 V
ppm/°C typ
ppm/1000 Hr
µV/°C typ
dB typ
dB typ
Input Range = 20 mV
Input Range = 1.28 V
At DC. Input Range = 20 mV
At DC. Input Range = 1.28 V
ppm of FSR max
nV/°C typ
nV/1000 Hr typ
Offset Error and Offset Drift Refer to Both
Unipolar Offset and Bipolar Zero Errors
ppm of FS/°C max
ppm of FS/1000 Hr
ppm/°C max
ppm/1000 Hr
–2–
Input Range = 20 mV
Input Range = 1.28 V
REV. 0
AD7731
B Version1
Units
AGND + 1.2 V
AVDD – 0.95 V
V min
V max
+2.5
+5
5.5
10
AGND – 30 mV
AVDD + 30 mV
0.3
0.65
V nom
V nom
µA max
µA max
V min
V max
V min
V max
± 10
µA max
0.8
0.4
2.0
V max
V max
V min
DVDD = +5 V
DVDD = +3 V
1.4/3
0.95/2.5
0.8/1.4
0.4/1.1
0.4/0.85
0.4/0.8
V min/V max
V min/V max
V min/V max
V min/V max
V min/V max
V min/V max
DVDD = +5 V
DVDD = +3 V
DVDD = +5 V
DVDD = +3 V
DVDD = +5 V
DVDD = +3 V
0.8
0.4
3.5
2.5
V max
V max
V min
V min
DVDD = +5 V
DVDD = +3 V
DVDD = +5 V
DVDD = +3 V
LOGIC OUTPUTS (Including MCLK OUT)
0.4
VOL, Output Low Voltage
V max
ISINK = 800 µA Except for MCLK OUT15.
VDD16 = +5 V
ISINK = 100 µA Except for MCLK OUT15.
VDD16 = +3 V
ISOURCE = 200 µA Except for MCLK OUT15.
VDD16 = +5 V
ISOURCE = 100 µA Except for MCLK OUT15.
VDD16 = +3 V
Parameter
Absolute/Common-Mode Voltage13
Reference Input
REF IN(+) – REF IN (–) Voltage
REF IN(+) – REF IN (–) Voltage
Reference DC Input Current
Reference DC Input Current
Absolute/Common-Mode Voltage14
NO REF Trigger Voltage
LOGIC INPUTS
Input Current
All Inputs Except SCLK and MCLK IN
VINL, Input Low Voltage
VINL, Input Low Voltage
VINH, Input High Voltage
SCLK Only (Schmitt Triggered Input)
VT+
VT+
VT–
VT–
VT+ – VT–
VT+ – VT–
MCLK IN Only
VINL, Input Low Voltage
VINL, Input Low Voltage
VINH, Input High Voltage
VINH, Input High Voltage
VOL, Output Low Voltage
0.4
V max
VOH, Output High Voltage
4.0
V min
VOH, Output High Voltage
DVDD – 0.6 V
V min
Floating State Leakage Current
Floating State Output Capacitance3
± 10
6
µA max
pF typ
TRANSDUCER BURNOUT17
AIN1(+) Current
AIN1(–) Current
Initial Tolerance @ 25°C
Drift
–100
100
± 10
0.1
nA nom
nA nom
% typ
%/°C typ
SYSTEM CALIBRATION
Positive Full-Scale Calibration Limit18
1.05 × FS
V max
–1.05 × FS
–1.05 × FS
0.8 × FS
2.1 × FS
V max
V min
V min
V max
+5
+2.7 to +5.25
V nom
V min to V max
10.3
1.7
3.2
25
mA max
mA max
mA max
µA max
67.5
125
mW max
µW max
Negative Full-Scale Calibration Limit18
Offset Calibration Limit19
Input Span19
POWER REQUIREMENTS
Power Supply Voltages
AVDD – AGND Voltage
DVDD Voltage
Power Supply Currents
AVDD Current (Normal Mode)
DVDD Current (Normal Mode)
DVDD Current (Normal Mode)
AVDD + DVDD Current (Standby Mode)
Power Dissipation
Normal Mode
Standby Mode
REV. 0
–3–
Conditions/Comments
HIREF Bit of Mode Register = 0
HIREF Bit of Mode Register = 1
HIREF Bit of Mode Register = 0
HIREF Bit of Mode Register = 1
NO REF Bit Active If VREF Below This Voltage
NO REF Bit Inactive If VREF Above This Voltage
FS Is the Nominal Full-Scale Voltage (20 mV,
40 mV, 80 mV, 160 mV, 320 mV, 640 mV, 1.28 V)
With AGND = 0 V
External MCLK. Digital I/Ps = 0 V or DVDD
DVDD of 2.7 V to 3.3 V
DVDD of 4.75 V to 5.25 V
Typically 10 µA. External MCLK IN = 0 V or DVDD
AVDD = DVDD = +5 V. Digital I/Ps = 0 V or DVDD
Typically 50 µW. External MCLK IN = 0 V or DVDD
AD7731
NOTES
1
Temperature Range: –40°C to +85°C.
2
Sample tested during initial release.
3
No missing codes performance with CHP = 0 and SKIP = 1 is 22 bits.
4
The offset (or zero) numbers with CHP = 0 can be up to 1 mV precalibration. Internal zero-scale calibration reduces this to 2 µV typical. Offset numbers with CHP = 1 are typically
3 µV precalibration. Internal zero-scale calibration reduces this by about 1 µV. System zero-scale calibration reduces offset numbers with CHP = 0 and CHP = 1 to the order of the
noise. Gain errors can be up to 3000 ppm precalibration with CHP = 0 and CHP = 1. Performing internal full-scale calibrations on all input ranges except the 20 mV and 40 mV input
range reduces the gain error to less than 100 ppm. When operating on the 20 mV or 40 mV range, an internal full-scale calibration should be performed on the 80 mV input range with
a resulting gain error of less than 250 ppm. System full-scale calibration reduces the gain error on all input ranges to the order of the noise. Positive and Negative Full-Scale Errors can
be calculated from the offset and gain errors.
5
These numbers are generated during life testing of the part.
6
Positive Full-Scale Error includes Zero-Scale Errors (Unipolar Offset Error or Bipolar Zero Error) and applies to both unipolar and bipolar input ranges. See Terminology.
7
Recalibration at any temperature will remove these errors.
8
Full-scale drift includes Zero-Scale Drift (Unipolar Offset Drift or Bipolar Zero Drift) and applies to both unipolar and bipolar input ranges.
9
Gain Error is a measure of the difference between the measured and the ideal span between any two points in the transfer function. The two points use to calculate the gain error are
positive full-scale and negative full-scale. See Terminology.
10
Gain Error Drift is a span drift and is effectively the drift of the part if zero-scale calibrations only were performed.
11
Power Supply Rejection and Common-Mode Rejection are given here for the upper and lower input voltage ranges. The rejection can be approximated to varying linearly (in dBs)
between these values for the other input ranges.
12
The analog input voltage range on the AIN(+) inputs is given here with respect to the voltage on the respective AIN(–) input.
13
The common-mode voltage range on the input pairs applies provided the absolute input voltage specification is obeyed.
14
The common-mode voltage range on the reference input pair (REF IN(+) and REF IN(–)) applies provided the absolute input voltage specification is obeyed.
15
These logic output levels apply to the MCLK OUT output only when it is loaded with a single CMOS load.
16
VDD refers to DVDD for all logic outputs expect D0 and D1 where it refers to AVDD. In other words, the output logic high for these two outputs is determined by AVDD.
17
See Burnout Current section.
18
After calibration, if the input voltage exceeds positive full scale, the converter will output all 1s. If the input is less than negative full scale, then the device outputs all 0s.
19
These calibration and span limits apply provided the absolute input voltage specification is obeyed. The offset calibration limit applies to both the unipolar zero point and the bipolar
zero point.
Specifications subject to change without notice.
TIMING CHARACTERISTICS1, 2
(AVDD = +4.75 V to +5.25 V; DVDD = +2.7 V to +5.25 V; AGND = DGND = 0 V;
fCLK IN = 4.9152 MHz; Input Logic 0 = 0 V, Logic 1 = DVDD unless otherwise noted)
Limit at TMIN, TMAX
(B Version)
Units
Conditions/Comments
1
5
50
50
MHz min
MHz max
ns min
ns min
For Specified Performance
ns min
ns min
ns min
ns max
ns max
ns min
ns max
ns max
ns min
ns min
ns min
ns min
ns max
ns max
RDY to CS Setup Time
CS Falling Edge to SCLK Active Edge Setup Time3
SCLK Active Edge to Data Valid Delay3
DVDD = +4.75 V to +5.25 V
DVDD = +2.7 V to +3.3 V
CS Falling Edge to Data Valid Delay3
DVDD = +4.75 V to +5.25 V
DVDD = +2.7 V to +3.3 V
SCLK High Pulse Width
SCLK Low Pulse Width
CS Rising Edge to SCLK Inactive Edge Hold Time3
Bus Relinquish Time after SCLK Inactive Edge3
t10
0
0
0
60
80
0
60
80
100
100
0
10
80
100
Write Operation
t11
t12
t13
t14
t15
t16
0
30
25
100
100
0
ns min
ns min
ns min
ns min
ns min
ns min
CS Falling Edge to SCLK Active Edge Setup Time3
Data Valid to SCLK Edge Setup Time
Data Valid to SCLK Edge Hold Time
SCLK High Pulse Width
SCLK Low Pulse Width
CS Rising Edge to SCLK Edge Hold Time
Parameter
Master Clock Range
t1
t2
Read Operation
t3
t4
t5 4
t5A4, 5
t6
t7
t8
t9 6
SYNC Pulse Width
RESET Pulse Width
SCLK Active Edge to RDY High3, 7
NOTES
1
Sample tested during initial release to ensure compliance. All input signals are specified with tr = tf = 5 ns (10% to 90% of DV DD) and timed from a voltage level of 1.6 V.
2
See Figures 15 and 16.
3
SCLK active edge is falling edge of SCLK with POL = 1; SCLK active edge is rising edge of SCLK with POL = 0.
4
These numbers are measured with the load circuit of Figure 1 and defined as the time required for the output to cross the V OL or VOH limits.
5
This specification only comes into play if CS goes low while SCLK is low (POL = 1) or if CS goes low while SCLK is high (POL = 0). It is required primarily for interfacing to
DSP machines.
6
These numbers are derived from the measured time taken by the data output to change 0.5 V when loaded with the circuit of Figure 1. The measured number is then extrapolated back to remove 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.
7
RDY returns high after the first read from the device after an output update. The same data can be read again, if required, while RDY is high, although care should be taken that
subsequent reads do not occur close to the next output update.
–4–
REV. 0
AD7731
ABSOLUTE MAXIMUM RATINGS*
Plastic DIP Package, Power Dissipation . . . . . . . . . . 450 mW
θJA Thermal Impedance . . . . . . . . . . . . . . . . . . . . . 105°C/W
Lead Temperature (Soldering, 10 sec) . . . . . . . . . . . +260°C
TSSOP Package, Power Dissipation . . . . . . . . . . . . . 450 mW
θJA Thermal Impedance . . . . . . . . . . . . . . . . . . . . . 128°C/W
Lead Temperature, Soldering
Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . +215°C
Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . +220°C
SOIC Package, Power Dissipation . . . . . . . . . . . . . . . 450 mW
θJA Thermal Impedance . . . . . . . . . . . . . . . . . . . . . . 75°C/W
Lead Temperature, Soldering
Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . +215°C
Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . +220°C
(TA = +25°C unless otherwise noted)
AVDD to AGND . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
AVDD to DGND . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
DVDD to AGND . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
DVDD to DGND . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
AGND to DGND . . . . . . . . . . . . . . . . . . . . . . –5 V to +0.3 V
AVDD to DVDD . . . . . . . . . . . . . . . . . . . . . . . . . . –2 V to +5 V
Analog Input Voltage to AGND . . . . –0.3 V to AVDD + 0.3 V
Reference Input Voltage to AGND . . –0.3 V to AVDD + 0.3 V
AIN/REF IN Current (Indefinite) . . . . . . . . . . . . . . . . . 30 mA
Digital Input Voltage to DGND . . . . –0.3 V to DVDD + 0.3 V
Digital Output Voltage to DGND . . . –0.3 V to DVDD + 0.3 V
Output Voltage (D0, D1) to DGND . . –0.3 V to AVDD + 0.3 V
Operating Temperature Range
Industrial (B Version) . . . . . . . . . . . . . . . . –40°C to +85°C
Storage Temperature Range . . . . . . . . . . . –65°C to +150°C
Junction Temperature . . . . . . . . . . . . . . . . . . . . . . . . . +150°C
*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 listed in the operational
sections of this specification is not implied. Exposure to absolute maximum rating
conditions for extended periods may affect device reliability.
ORDERING GUIDE
Model
Temperature Range
Package Description
Package Options
AD7731BN
AD7731BR
AD7731BRU
EVAL-AD7731EB
–40°C to +85°C
–40°C to +85°C
–40°C to +85°C
Evaluation Board
Plastic DIP
Small Outline
Thin Shrink Small Outline (TSSOP)
N-24
R-24
RU-24
ISINK (800µA AT DVDD = +5V
100µA AT DVDD = +3V)
TO OUTPUT
PIN
+1.6V
50pF
ISOURCE (200µA AT DVDD = +5V
100µA AT DVDD = +3V)
Figure 1. Load Circuit for Access Time and Bus Relinquish Time
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 AD7731 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. 0
–5–
WARNING!
ESD SENSITIVE DEVICE
AD7731
BUFFER AMPLIFIER
BURNOUT CURRENTS
TWO 100nA BURNOUT
CURRENTS ALLOW THE
USER TO EASILY DETECT
IF A TRANSDUCER HAS
BURNT OUT OR GONE
OPEN-CIRCUIT
THE BUFFER AMPLIFIER
PRESENTS A HIGH
IMPEDANCE INPUT STAGE
FOR THE ANALOG INPUTS
ALLOWING SIGNIFICANT
EXTERNAL SOURCE
IMPEDANCES
PROGRAMMABLE
DIGITAL FILTER
PROGRAMMABLE GAIN
AMPLIFIER
DIFFERENTIAL
REFERENCE
THE PROGRAMMABLE
GAIN AMPLIFIER ALLOWS
SEVEN UNIPOLAR AND
SEVEN BIPOLAR INPUT
RANGES FROM +20mV TO
+1.28V
THE REFERENCE INPUT TO THE
PART IS DIFFERENTIAL AND
FACILITATES RATIOMETRIC
OPERATION. THE REFERENCE
VOLTAGE CAN BE SELECTED TO
BE NOMINALLY +2.5V OR +5V.
REFERENCE DETECT CIRCUITRY
TESTS FOR OPEN OR SHORTED
REFERENCES
SEE PAGE 23
SIGMA-DELTA ADC
TWO STAGE FILTER THAT
ALLOWS PROGRAMMING OF
OUTPUT UPDATE RATE AND
SETTLING TIME AND THAT
HAS A FASTSTEPTM MODE
(SEE FIGURE 3)
THE SIGMA-DELTA
ARCHITECTURE ENSURES
24 BITS NO MISSING
CODES. THE ENTIRE
SIGMA-DELTA ADC CAN BE
CHOPPED TO REMOVE
DRIFT ERRORS
SEE PAGE 24
SEE PAGE 24
SEE PAGE 23
SEE PAGE 24
STANDBY MODE
DVDD
AVDD
SEE PAGE 23
REF IN(–) REF IN(+)
THE STANDBY MODE
REDUCES POWER
CONSUMPTION TO 50mW
AVDD
AIN1
AIN3/D1
STANDBY
SIGMA-DELTA A/D CONVERTER
AIN2
MUX
SIGMADELTA
MODULATOR
PGA
PROGRAMMABLE
DIGITAL
FILTER
SYNC
CLOCK OSCILLATOR
CIRCUIT
AIN4/D0
BUFFER
AIN5
AIN6
SERIAL INTERFACE
AND CONTROL LOGIC
AGND
MCLK IN
CLOCK
GENERATION
MCLK OUT
REGISTER BANK
SCLK
DOUT
POL
RDY
OUTPUT DRIVERS
THE AIN3 AND AIN4 INPUT
CHANNELS CAN BE
RECONFIGURED TO BECOME
TWO OUTPUT DIGITAL PORT
LINES THAT CAN BE
PROGRAMMED OVER THE
SERIAL INTERFACE
SEE PAGE 23
SEE PAGE 32
CALIBRATION
MICROCONTROLLER
THE AD7731 OFFERS A
NUMBER OF DIFFERENT
CALIBRATION OPTIONS
INCLUDING SELF AND
SYSTEM CALIBRATION
SERIAL INTERFACE
SPI*-COMPATIBLE OR DSPCOMPATIBLE SERIAL
INTERFACE THAT CAN BE
OPERATED FROM JUST THREE
WIRES. ALL FUNCTIONS ON THE
PART (APART FROM MASTER
RESET) CAN BE ACCESSED VIA
THE SERIAL INTERFACE
RESET
ANALOG MULTIPLEXER
A DIFFERENTIAL MULTIPLEXER
ALLOWS SELECTION OF THREE
FULLY DIFFERENTIAL PAIRS OR
FIVE PSEUDO-DIFFERENTIAL INPUT
PAIRS TO BE SWITCHED TO THE
BUFFER AMPLIFIER. THE
MULTIPLEXER IS CONTROLLED
VIA THE SERIAL INTERFACE
SEE PAGE 31
DIN
AD7731
DGND
THE CLOCK SOURCE FOR THE
PART CAN BE PROVIDED BY
AN EXTERNALLY-APPLIED
CLOCK OR BY CONNECTING A
CRYSTAL OR CERAMIC
RESONATOR ACROSS THE
CLOCK PINS
CS
CALIBRATION
MICROCONTROLLER
AGND
SEE PAGE 32
REGISTER BANK
SEE PAGE 33
TWELVE REGISTERS CONTROL
ALL FUNCTIONS ON THE PART
AND PROVIDE STATUS
INFORMATION AND
CONVERSION RESULTS
SEE PAGE 20
SEE PAGE 28
*SPI IS A TRADEMARK OF MOTOROLA, INC.
Figure 2. Detailed Functional Block Diagram
–6–
REV. 0
AD7731
SINC3 FILTER
INPUT CHOPPING
CHOPPING DISABLED
THE FIRST STAGE OF THE DIGITAL
FILTERING ON THE PART IS THE
SINC3 FILTER. THE OUTPUT UPDATE
RATE AND BANDWIDTH OF THIS
FILTER CAN BE PROGRAMMED. IN
SKIP MODE, THE SINC3 FILTER IS
THE ONLY FILTERING PERFORMED
SEE PAGE 25
ON THE P3T.
THE ANALOG INPUT TO THE PART
CAN BE CHOPPED. IN CHOPPING MODE,
THE INPUT IS CHOPPEDAND THE OUTPUT OF
THE FIRST STAGE FILTER IS CHOPPED
REMOVING ERRORS IN THAT PATH.
THE DEFAULT CONDITION IS
SKIP MODE
22-TAP FIR FILTER
IN SKIP MODE, THERE IS NO
SECOND STAGE OF FILTERING ON
THE PART. THE SINC3 FILTER IS
THE ONLY FILTERING PERFORMED
ON THE PART. THIS IS THE
SECOND STAGE FILTER
WITH SKIP DISABLED, THE NORMAL
OPERATING MODE OF THE SECOND STAGE
OF THE DIGITAL FILTERING ON THE PART IS
A FIXED 22-TAP FIR FILTER. IN SKIP MODE,
THIS FIR FILTER IS BYPASSED. WHEN
FASTSTEP™ MODE IS ENABLED AND A
STEP INPUT IS DETECTED, THE SECOND
STAGE FILTERING IS PERFORMED BY THE
FAST STEP FILTER UNTIL THE OUTPUT OF
THIS FILTER HAS FULLY SETTLED
SEE PAGE 25
SEE PAGE 25
SEE PAGE 26
22-TAP
FIR FILTER
ANALOG
INPUT
CHOP
BUFFER
PGA &
SIGMA-DELTA
MODULATOR
SINC3
FILTER
SKIP
CHOP
OUTPUT
SCALING
DIGITAL
OUTPUT
FASTSTEP™
FILTER
BUFFER
THE INPUT SIGNAL IS BUFFERED
ON-CHIP BEFORE BEING APPLIED
TO THE SAMPLING CAPACITOR OF
THE SIGMA DELTA MODULATOR.
THIS ISOLATES THE SAMPLING
CAPACITOR CHARGING CURRENTS
FROM THE ANALOG INPUT PINS
SEE PAGE 23
FASTSTEP™ FILTER
YY
OUTPUT CHOPPING
PGA & SIGMA-DELTA
MODULATOR
THE PROGRAMMABLE GAIN
CAPABILITY OF THE PART IS
INCORPORATED AROUND THE
SIGMA DELTA MODULATOR.THE
MODULATOR PROVIDES A HIGHFREQUENCY 1-BIT DATA STREAM
TO THE DIGITAL FILTER.
THE OUTPUT OF THE FIRST STAGE
OF FILTERING ON THE PART CAN
BE CHOPPED. THE DEFAULT
CONDITION IS CHOPPING
DISABLED
SEE PAGE 25
WHEN FASTSTEP™ MODE IS
ENABLED AND A STEP CHANGE ON
THE INPUT HAS BEEN DETECTED,
THE SECOND STAGE FILTERING IS
PERFORMED BY THE FASTSTEP™
FILTER UNTIL THE FIR FILTER HAS
FULLY SETTLED.
OUTPUT SCALING
THE OUTPUT WORD FROM THE
DIGITAL FILTER IS SCALED BY THE
CALIBRATION COEFFICIENTS
BEFORE BEING PROVIDED AS THE
CONVERSION RESULT
SEE PAGE 29
SEE PAGE 28
SEE PAGE 24
Figure 3. Signal Processing Chain
PIN CONFIGURATION
SCLK
1
MCLK IN
2
23 DVDD
MCLK OUT
3
22 DIN
21 DOUT
POL
4
SYNC
5
RESET
6
NC
7
AGND
8
AVDD
9
24 DGND
AD7731
20
RDY
19
CS
TOP VIEW
(Not to Scale) 18
STANDBY
17 AIN6
16 AIN5
AIN1 10
15 REF IN(–)
14 REF IN(+)
AIN2 11
AIN3/D1 12
13 AIN4/D0
NC = NO CONNECT
PIN FUNCTION DESCRIPTIONS
Pin
No.
Pin
Mnemonic
1
SCLK
2
MCLK IN
REV. 0
Function
Serial Clock. Schmitt-Triggered Logic Input. An external serial clock is applied to this input to transfer
serial data to or from the AD7731. This serial clock can be a continuous clock with all data transmitted in a
continuous train of pulses. Alternatively, it can be a noncontinuous clock with the information being transmitted to or from the AD7731 in smaller batches of data.
Master Clock signal for the device. This can be provided in the form of a crystal/resonator or external clock.
A crystal/resonator can be tied across the MCLK IN and MCLK OUT pins. Alternatively, the MCLK IN
pin can be driven with a CMOS-compatible clock and MCLK OUT left unconnected. The part is specified
with a clock input frequency of 4.9152 MHz.
–7–
AD7731
PIN FUNCTION DESCRIPTIONS (Continued)
Pin
No.
Pin
Mnemonic
3
MCLK OUT
4
POL
5
SYNC
6
RESET
7
8
9
10
NC
AGND
AVDD
AIN1
11
AIN2
12
AIN3/D1
13
AIN4/D0
14
REF IN(+)
15
REF IN(–)
16
AIN5
17
AIN6
18
STANDBY
19
CS
Function
When the master clock for the device is a crystal/resonator, the crystal/resonator is connected between
MCLK IN and MCLK OUT. If an external clock is applied to the MCLK IN, MCLK OUT provides an
inverted clock signal. This clock can be used to provide a clock source for external circuits and MCLK OUT
is capable of driving one CMOS load.
Clock Polarity. Logic Input. This determines the polarity of the serial clock. If the active edge for the processor is a high-to-low SCLK transition, this input should be low. In this mode, the AD7731 puts out data on
the DATA OUT line in a read operation on a low-to-high transition of SCLK and clocks in data from the
DATA IN line in a write operation on a high-to-low transition of SCLK. In applications with a noncontinuous
serial clock (such as most microcontroller applications), this means that the serial clock should idle low
between data transfers. If the active edge for the processor is a low-to-high SCLK transition, this input
should be high. In this mode, the AD7731 puts out data on the DATA OUT line in a read operation on a
high-to-low transition of SCLK and clocks in data from the DATA IN line in a write operation on a low-tohigh transition of SCLK. In applications with a noncontinuous serial clock (such as most microcontroller
applications), this means that the serial clock should idle high between data transfers.
Logic Input that allows for synchronization of the digital filters and analog modulators when using a number
of AD7731s. While SYNC is low, the nodes of the digital filter, the filter control logic and the calibration
control logic are reset and the analog modulator is also held in its reset state. SYNC does not affect the
digital interface but does reset RDY to a high state if it is low. While SYNC is asserted, the Mode Bits may
be set up for a subsequent operation that will commence when the SYNC pin is deasserted.
Logic Input. Active low input that resets the control logic, interface logic, digital filter, analog modulator and
all on-chip registers of the part to power-on status. Effectively, everything on the part except for the clock
oscillator is reset when the RESET pin is exercised.
No Connect. The user is advised not to connect anything to this pin.
Ground reference point for analog circuitry.
Analog Positive Supply Voltage. The AVDD to AGND differential is 5 V nominal.
Analog Input Channel 1. Programmable-gain analog input that can be used as a pseudo-differential input
when used with AIN6 or as the positive input of a differential pair when used with AIN2.
Analog Input Channel 2. Programmable-gain analog input that can be used as a pseudo-differential input
when used with AIN6 or as the negative input of a differential pair when used with AIN1.
Analog Input Channel 3 or Digital Output 1. This pin can be used as either an analog input or a digital
output bit as determined by the DEN bit of the Mode Register. When selected as a programmable-gain
analog input, it can be used as a pseudo-differential input when used with AIN6 or as the positive input of a
differential pair when used with AIN4. When selected as a digital output, this output can be programmed
over the serial interface using bit D1 of the Mode Register.
Analog Input Channel 4 or Digital Output 0. This pin can be used as either an analog input or a digital
output bit as determined by the DEN bit of the Mode Register. When selected as a programmable-gain
analog input, it can be used as a pseudo-differential input when used with AIN6 or as the negative input of a
differential pair when used with AIN3. When selected as a digital output, this output can be programmed
over the serial interface using bit D0 of the Mode Register.
Reference Input. Positive terminal of the differential reference input to the AD7731. REF IN(+) can lie
anywhere between AVDD and AGND. The nominal reference voltage (i.e., the differential voltage between
REF IN(+) and REF IN(–)) should be +2.5 V when the HIREF bit of the Mode Register is 0 and is +5 V
when the HIREF bit of the Mode Register is 1.
Reference Input. Negative terminal of the differential reference input to the AD7731. The REF IN(–) can lie
anywhere between AVDD and AGND.
Analog Input Channel 5. Programmable-gain analog input which can be used is the positive input of a differential pair when used with AIN6.
Analog Input Channel 6. Reference point for AIN1 through AIN4 in pseudo-differential mode or as the
negative input of a differential input pair when used with AIN5.
Logic Input. Taking this pin low shuts down the analog and digital circuitry, reducing current consumption
to the 10 µA range. The on-chip registers retain all their values when the part is in standby mode.
Chip Select. Active low Logic Input used to select the AD7731. With this input hardwired low, the
AD7731 can operate in its three-wire interface mode with SCLK, DIN and DOUT used to interface to the
device. CS can be used to select the device in systems with more than one device on the serial bus or as a
frame synchronization signal in communicating with the AD7731.
–8–
REV. 0
AD7731
PIN FUNCTION DESCRIPTIONS (Continued)
Pin
No.
Pin
Mnemonic
20
RDY
21
DOUT
22
DIN
23
24
DVDD
DGND
Function
Logic output. Used as a status output in both conversion mode and calibration mode. In conversion mode, a
logic low on this output indicates that a new output word is available from the AD7731 data register. The
RDY pin will return high upon completion of a read operation of a full output word. If no data read has
taken place after an output update, the RDY line will return high prior to the next output update, remain
high while the update is taking place and return low again. This gives an indication of when a read operation
should not be initiated to avoid initiating a read from the data register as it is being updated. In calibration
mode, RDY goes high when calibration is initiated and returns low to indicate that calibration is complete. A
number of different events on the AD7731 set the RDY high and these are outlined in Table XVII.
Serial Data Output with serial data being read from the output shift register on the part. This output shift
register can contain information from the calibration registers, mode register, status register, filter register or
data register depending on the register selection bits of the Communications Register.
Serial Data Input with serial data being written to the input shift register on the part. Data from this input
shift register is transferred to the calibration registers, mode register, communications register or filter register depending on the register selection bits of the Communications Register.
Digital Supply Voltage, +3 V or +5 V nominal.
Ground reference point for digital circuitry.
TERMINOLOGY
POSITIVE FULL-SCALE OVERRANGE
INTEGRAL NONLINEARITY
Positive Full-Scale Overrange is the amount of overhead available to handle input voltages on AIN(+) input greater than
AIN(–) + VREF/GAIN (for example, noise peaks or excess voltages due to system gain errors in system calibration routines)
without introducing errors due to overloading the analog modulator or overflowing the digital filter.
This is the maximum deviation of any code from a straight line
passing through the endpoints of the transfer function. The endpoints of the transfer function are zero scale (not to be confused
with bipolar zero), a point 0.5 LSB below the first code transition (000 . . . 000 to 000 . . . 001) and full scale, a point 0.5 LSB
above the last code transition (111 . . . 110 to 111 . . . 111). The
error is expressed as a percentage of full scale.
This is the amount of overhead available to handle voltages on
AIN(+) below AIN(–) – VREF/GAIN without overloading the
analog modulator or overflowing the digital filter.
POSITIVE FULL-SCALE ERROR
Positive Full-Scale Error is the deviation of the last code transition (111 . . . 110 to 111 . . . 111) from the ideal AIN(+) voltage
(AIN(–) + VREF/GAIN – 3/2 LSBs). It applies to both unipolar
and bipolar analog input ranges.
OFFSET CALIBRATION RANGE
In the system calibration modes, the AD7731 calibrates its
offset with respect to the analog input. The Offset Calibration
Range specification defines the range of voltages the AD7731
can accept and still accurately calibrate offset.
UNIPOLAR OFFSET ERROR
Unipolar Offset Error is the deviation of the first code transition
from the ideal AIN(+) voltage (AIN(–) + 0.5 LSB) when operating in the unipolar mode.
FULL-SCALE CALIBRATION RANGE
This is the range of voltages that the AD7731 can accept in the
system calibration mode and still accurately calibrate full scale.
BIPOLAR ZERO ERROR
This is the deviation of the midscale transition (0111 . . . 111
to 1000 . . . 000) from the ideal AIN(+) voltage (AIN(–) –
0.5 LSB) when operating in the bipolar mode.
INPUT SPAN
In system calibration schemes, two voltages applied in sequence
to the AD7731’s analog input define the analog input range.
The input span specification defines the minimum and maximum input voltages from zero to full scale that the AD7731 can
accept and still accurately calibrate gain.
GAIN ERROR
This is a measure of the span error of the ADC. It is a measure
of the difference between the measured and the ideal span between any two points in the transfer function. The two points
used to calculate the gain error are positive full scale and negative full scale.
BIPOLAR NEGATIVE FULL-SCALE ERROR
This is the deviation of the first code transition from the ideal
AIN(+) voltage (AIN(–) – VREF/GAIN + 0.5 LSB) when operating in the bipolar mode. Negative full-scale error is a summation
of zero error and gain error.
REV. 0
NEGATIVE FULL-SCALE OVERRANGE
–9–
AD7731
OUTPUT NOISE AND RESOLUTION SPECIFICATION
The AD7731 has a number of different modes of operation of the on-chip filter and chopping features. These options are discussed
in more detail in later sections. The part can be programmed either to optimize the throughput rate and settling time or to optimize
noise and drift performance. Noise tables for two of the primary modes of operation of the part are outlined below for a selection of
output rates and settling times. The first mode, where the AD7731 is configured with CHP = 0 and SKIP mode enabled, provides
fast settling time while still maintaining high resolution. The second mode, where CHP = 1 and the full second filter is included,
provides very low noise numbers with lower output rates. Settling time refers to the time taken to get an output that is 100% settled
to the new value after a channel change or exercising SYNC.
Output Noise (CHP = 0, SKIP = 1)
Table I shows the output rms noise for some typical output update rates and –3 dB frequencies for the AD7731 when used in
nonchop mode (CHP of Filter Register = 0) and with the second filter bypassed (SKIP of Filter Register = 1). The table is generated
with a master clock frequency of 4.9152 MHz. These numbers are typical and generated at a differential analog input voltage of 0 V.
The output update rate is selected via the SF0 to SF11 bits of the Filter Register. Table II, meanwhile, shows the output peak-topeak resolution in bits (rounded to the nearest 0.5 LSB) for the same output update rates. It is important to note that the numbers in
Table II represent the resolution for which there will be no code flicker within a six-sigma limit. They are not calculated based on
rms noise but on peak-to-peak noise.
The numbers are generated for the bipolar input ranges. When the part is operated in unipolar mode, the output noise will be the
same as the equivalent bipolar input range. As a result, the numbers in Table I will remain the same for unipolar ranges. To calculate
the numbers for Table II for unipolar input ranges simply subtract one from the peak-to-peak resolution number in bits.
Table I. Output Noise vs. Input Range and Update Rate (CHP = 0, SKIP = 1)
Typical Output RMS Noise in mV
Output
Data Rate
–3 dB
Frequency
SF
Word
Settling
Time
61.28 V
6640 mV
6320 mV
150 Hz
200 Hz
300 Hz
400 Hz
600 Hz
800 Hz
1200 Hz
1600 Hz
2400 Hz
3200 Hz
4800 Hz
6400 Hz
39.3 Hz
52.4 Hz
78.6 Hz
104.8 Hz
157 Hz
209.6 Hz
314 Hz
419.2 Hz
629 Hz
838.4 Hz
1260 Hz
1676 Hz
2048
1536
1024
768
512
384
256
192
128
96
64
48
20 ms
15 ms
10 ms
7.5 ms
5 ms
3.75 ms
2.5 ms
1.87 ms
1.25 ms
0.94 ms
0.625 ms
0.47 ms
2.6
3.0
3.7
4.2
5.2
6
7.8
10.9
27.1
47
99
193
1.45
1.66
2
2.3
2.9
3.3
4.3
5.4
13.9
24.4
50.3
97
0.87
1.02
1.26
1.46
1.78
2.1
2.6
3.5
7.3
11.4
24.5
48
Input Range
6160 mV 680 mV 640 mV
0.6
0.69
0.84
1.0
1.2
1.4
1.8
2.18
3.5
5.3
12.5
24
0.43
0.48
0.58
0.69
0.85
0.98
1.27
1.51
2.22
3.1
6.5
11.8
0.28
0.32
0.41
0.46
0.58
0.66
0.82
0.94
1.24
1.9
3.3
6.6
620 mV
0.2
0.22
0.28
0.32
0.41
0.47
0.57
0.64
0.83
1.0
1.7
3.0
Table II. Peak-to-Peak Resolution vs. Input Range and Update Rate (CHP = 0, SKIP = 1)
Peak-to-Peak Resolution in Bits
Output
Data Rate
–3 dB
Frequency
SF
Word
Settling
Time
61.28 V
6640 mV
6320 mV
150 Hz
200 Hz
300 Hz
400 Hz
600 Hz
800 Hz
1200 Hz
1600 Hz
2400 Hz
3200 Hz
4800 Hz
6400 Hz
39.3 Hz
52.4 Hz
78.6 Hz
104.8 Hz
157 Hz
209.6 Hz
314 Hz
419.2 Hz
629 Hz
838.4 Hz
1260 Hz
1676 Hz
2048
1536
1024
768
512
384
256
192
128
96
64
48
20 ms
15 ms
10 ms
7.5 ms
5 ms
3.75 ms
2.5 ms
1.87 ms
1.25 ms
0.94 ms
0.625 ms
0.47 ms
17.5
17
17
16.5
16.5
16
15.5
15
14
13
12
11
17
17
16.5
16.5
16
16
15.5
15.5
14
13
12
11
17
16.5
16.5
16
16
15.5
15.5
15
14
13
12
11
–10–
Input Range
6160 mV 680 mV 640 mV
16.5
16.5
16
15.5
15.5
15
15
14.5
14
13
12
11
16
16
15.5
15.5
15
14.5
14.5
14
13.5
13
12
11
15.5
15.5
15
15
14.5
14.5
14
14
13.5
13
11.5
11
620 mV
15
15
14.5
14.5
14
14
13.5
13.5
13
12.5
12
11
REV. 0
AD7731
Output Noise (CHP = 1, SKIP = 0)
Table III shows the output rms noise for some typical output update rates and –3 dB frequencies for the AD7731 when used in
chopping mode (CHP of Filter Register = 1) and with the second filter included in the loop. The numbers are generated with a master clock frequency of 4.9152 MHz. These numbers are typical and generated at a differential analog input voltage of 0 V. The output update rate is selected via the SF0 to SF11 bits of the Filter Register. Table IV, meanwhile, shows the output peak-to-peak
resolution in bits (rounded to the nearest 0.5 LSB) for the same output update rates. It is important to note that the numbers in
Table IV represent the resolution for which there will be no code flicker within a six-sigma limit. They are not calculated based on
rms noise but on peak-to-peak noise.
The numbers are generated for the bipolar input ranges. When the part is operated in unipolar mode, the output noise will be the
same as the equivalent bipolar input range. As a result, the numbers in Table III will remain the same for unipolar ranges. To calculate the number for Table IV for unipolar input ranges simply subtract one from the peak-to-peak resolution number in bits.
Table III. Output Noise vs. Input Range and Update Rate (CHP = 1, SKIP = 0)
Typical Output RMS Noise in nV
Output
–3 dB
SF
Data Rate Frequency Word
Settling Time
Normal Fast Step
Input Range
61.28 V 6640 mV 6320 mV 6160 mV 680 mV 640 mV 620 mV
50 Hz
100 Hz
150 Hz
200 Hz
400 Hz
800 Hz
440 ms
220 ms
147 ms
110 ms
55 ms
27.5 ms
700
980
1230
1260
2000
3800
1.97 Hz
3.95 Hz
5.92 Hz
7.9 Hz
15.8 Hz
31.6 Hz
2048
1024
683
512
256
128
40 ms
20 ms
13.3 ms
10 ms
5 ms
2.5 ms
425
550
700
840
1230
2100
265
330
445
500
690
1400
170
230
270
340
430
760
120
190
210
245
335
590
85
115
140
170
215
345
55
90
100
105
160
220
Table IV. Peak-to-Peak Resolution vs. Input Range and Update Rate (CHP = 1, SKIP = 0)
Peak-to-Peak Resolution in Bits
Output
–3 dB
SF
Data Rate Frequency Word
Settling Time
Normal Fast Step
Input Range
61.28 V 6640 mV 6320 mV 6160 mV 680 mV 640 mV 620 mV
50 Hz
100 Hz
150 Hz
200 Hz
400 Hz
800 Hz
440 ms
230 ms
147 ms
110 ms
55 ms
27.5 ms
19
19
18.5
18.5
17.5
17
1.97 Hz
3.95 Hz
5.92 Hz
7.9 Hz
15.8 Hz
31.6 Hz
2048
1024
683
512
256
128
40 ms
30 ms
13.3 ms
10 ms
5 ms
2.5 ms
19
18.5
18
18
17.5
16.5
18.5
18.5
18
17.5
17
16
18.5
18
17.5
17.5
17
16
18
17
17
17
16.5
15.5
17.5
17
16.5
16.5
16
15
17
16
16
16
15.5
15
COMMUNICATIONS REGISTER
DIN
DIN
RS2 RS1 RS0
ON-CHIP REGISTERS
The AD7731 contains 12 on-chip registers that can be accessed
via the serial port of the part. These registers are summarized in
Figure 4 and in Table V, and described in detail in the following
sections.
DOUT
DOUT
STATUS REGISTER
DOUT
DATA REGISTER
DIN
DOUT
DOUT
DOUT
DOUT
DOUT
MODE REGISTER
DIN
FILTER REGISTER
DIN
OFFSET REGISTER (x3)
DIN
GAIN REGISTER (x3)
DIN
TEST REGISTER
Figure 4. Register Overview
REV. 0
–11–
REGISTER
SELECT
DECODER
AD7731
Table V. Summary of On-Chip Registers
Register Name
Type
Size
Power-On/Reset
Default Value
Communications
Register
Write Only
8 Bits
Not Applicable
WEN ZERO
RW1
Status Register
RDY
STDY
RW0
Read Only
STBY
NOREF
ZERO
RS2
8 Bits
MS3
Data Register
Read Only
Mode Register
Read/Write 16 Bits
RS1
RS0
CX Hex
MS2
MS1
MS0
16 Bits or 24 Bits 000000 Hex
0174 Hex
MD2
MD1
MD0
B/U
DEN
D1
D0
WL
HIREF
RN2
RN1
RN0
BO
CH2
CH1
CH0
Filter Register
Read/Write 16 Bits
2002 Hex
SF11 SF10
SF9
SF8
SF7
SF3
SF1
SF0
ZERO CHP
SF2
SF6
SF5
SF4
SKIP
FAST
Function
All operations to other registers are initiated through
the Communications Register. This controls whether
subsequent operations are read or write operations
and also selects the register for that subsequent operation. Most subsequent operations return control to
the Communications Register except for the continuous read mode of operation.
Provides status information on conversions, calibrations, settling to step inputs, standby operation and
the validity of the reference voltage.
Provides the most up-to-date conversion result from
the part. Register length can be programmed to be
16 bit or 24 bit.
Controls functions such as mode of operation, unipolar/bipolar operation, controlling the function of
AIN3/D1 and AIN4/D0, burnout current and Data
Register word length. It also contains the reference
selection bit, the range selection bits and the channel
selection bits.
Controls the amount of averaging in the first stage
filter, selects the fast step and skip modes and controls the chopping modes on the part.
Offset Register
Read/Write 24 Bits
Contains a 24-bit word which is the offset calibration
coefficient for the part. The contents of this register
are used to provide offset correction on the output
from the digital filter. There are three Offset Registers on the part and these are associated with input
channel pairs as outlined in Table XIII.
Gain Register
Read/Write 24 Bits
Contains a 24-bit word which is the gain calibration
coefficient for the part. The contents of this register
are used to provide gain correction on the output
from the digital filter. There are three Gain Registers
on the part and these are associated with input channel pairs as outlined in Table XIII.
Test Register
Read/Write 24 Bits
000000 Hex
–12–
Controls the test modes of the part which are used
when testing the part. The user is advised not to
change the contents of this register.
REV. 0
AD7731
Communications Register (RS2-RS0 = 0, 0, 0)
The Communications Register is an 8-bit write-only register. All communications to the part must start with a write operation to the
Communications Register. The data written to the Communications Register determines whether the next operation is a read or
write operation, the type of read operation and to which register this operation takes place. For single-shot read or write operations,
once the subsequent read or write operation to the selected register is complete, the interface returns to where it expects a write operation to the Communications Register. This is the default state of the interface, and on power-up or after a RESET, the AD7731 is
in this default state waiting for a write operation to the Communications Register. In situations where the interface sequence is lost, a
write operation of at least 32 serial clock cycles with DIN high, returns the AD7731 to this default state by resetting the part. Table
VI outlines the bit designations for the Communications Register. CR0 through CR7 indicate the bit location, CR denoting the bits
are in the Communications Register. CR7 denotes the first bit of the data stream.
Table VI. Communications Register
CR7
CR6
CR5
CR4
CR3
CR2
CR1
CR0
WEN
ZERO
RW1
RW0
ZERO
RS2
RS1
RS0
Bit
Location
Bit
Mnemonic
CR7
WEN
CR6
CR5, CR4
ZERO
RW1, RW0
Description
Write Enable Bit. A 0 must be written to this bit so the write operation to the Communications Register actually takes place. If a 1 is written to this bit, the part will not clock on to
subsequent bits in the register. It will stay at this bit location until a 0 is written to this bit.
Once a 0 is written to the WEN bit, the next seven bits will be loaded to the Communications Register.
A zero must be written to this bit to ensure correct operation of the AD7731.
Read Write Mode Bits. These two bits determine the nature of the subsequent read/write
operation. Table VII outlines the four options.
Table VII. Read/Write Mode
RW1
0
0
1
1
RW0
0
1
0
1
Read/Write Mode
Single Write to Specified Register
Single Read of Specified Register
Start Continuous Read of Specified Register
Stop Continuous Read Mode
With 0, 0 written to these two bits, the next operation is a write operation to the register
specified by bits RS2, RS1, RS0. Once the subsequent write operation to the specified register has been completed, the part returns to where it is expecting a write operation to the
Communications Register.
With 0, 1 written to these two bits, the next operation is a read operation of the register specified
by bits RS2, RS1, RS0. Once the subsequent read operation to the specified register has been
completed, the part returns to where it is expecting a write operation to the Communications
Register.
Writing 1, 0 to these bits, sets the part into a mode of continuous reads from the register
specified by bits RS2, RS1, RS0. The most likely registers which the user will want to use this
function with are the Data Register and the Status Register. Subsequent operations to the
part will consist of read operations to the specified register without any intermediate writes to
the Communications Register. This means that once the next read operation to the specified
register has taken place, the part will be in a mode where it is expecting another read from
that specified register. The part will remain in this continuous read mode until 30 Hex has
been written to bits RW1 and RW0.
When 1, 1 is written to these bits (and 0 written to bits CR3 through CR0), the continuous
read mode is stopped and the part returns to where it is expecting a write operation to the
Communications Register. Note, the part continues to look at the DIN line on each SCLK
edge during the continuous read mode so that it can determine when to stop the continuous
read mode. Therefore, the user must be careful not to inadvertently exit the continuous read
mode or reset the part by writing a series of 1s to the part. The easiest way to avoid this is to
place a logic 0 on the DIN line while the part is in continuous read mode.
REV. 0
–13–
AD7731
Bit
Location
Bit
Mnemonic
Description
CR3
ZERO
A zero must be written to this bit to ensure correct operation of the AD7731.
CR2-CR0
RS2-RS0
Register Selection Bits. RS2 is the MSB of the three selection bits. The three bits select to which
one of eight on-chip registers the next read or write operation takes place as shown in Table VIII.
Table VIII. Register Selection
RS2
RS1
RS0
Register
0
0
0
0
0
1
1
1
1
0
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
Communications Register (Write Operation)
Status Register (Read Operation)
Data Register
Mode Register
Filter Register
No Register Access
Offset Register
Gain Register
Test Register
Status Register (RS2-RS0 = 0, 0, 0); Power-On/Reset Status: CX Hex
The Status Register is an 8-bit read-only register. To access the Status Register, the user must write to the Communications Register
selecting either a single-shot read or continuous read mode and load bits RS2, RS1, RS0 with 0, 0, 0. Table IX outlines the bit designations for the Status Register. SR0 through SR7 indicate the bit location, SR denoting the bits are in the Status Register. SR7 denotes the first bit of the data stream. Figure 5 shows a flowchart for reading from the registers on the AD7731. The number in brackets
indicates the power-on/reset default status of that bit.
Table IX. Status Register
SR7
SR6
SR5
SR4
SR3
SR2
SR1
SR0
RDY (1)
STDY (1)
STBY (0)
NOREF (0)
MS3 (X)
MS2 (X)
MS1 (X)
MS0 (X)
Bit
Location
Bit
Mnemonic
SR7
RDY
SR6
STDY
SR5
STBY
SR4
NOREF
SR3-SR0
MS3-MS0
Description
Ready Bit. This bit provides the status of the RDY flag from the part. The status and function of this bit is the same as the RDY output pin. A number of events set the RDY bit high
as indicated in Table XVII.
Steady Bit. This bit is updated when the filter writes a result to the Data Register. If the filter
is in FASTStep™ mode (see Filter Register section), and responding to a step input, the
STDY bit remains high as the initial conversion results become available. The RDY output
and bit are set low on these initial conversions to indicate that a result is available. However,
if the STDY is high, it indicates that the result being provided is not from a fully settled
second-stage FIR filter. When the FIR filter has fully settled, the STDY bit will go low coincident with RDY. If the part is never placed into its FASTStep™ mode, the STDY bit will go
low at the first Data Register read and it is not cleared by subsequent Data Register reads.
A number of events set the STDY bit high as indicated in Table XVII. STDY is set high
along with RDY by all events in the table except a Data Register read.
Standby Bit. This bit indicates whether the AD7731 is in its Standby Mode or normal mode
of operation. The part can be placed in its standby mode using the STANDBY input pin or
by writing 011 to the MD2 to MD0 bits of the Mode Register. The power-on/reset status of
this bit is 0 assuming the STANDBY pin is high.
No Reference Bit. If the voltage between the REF IN(+) and REF IN(–) pins is below 0.5 V
or either of these inputs is open-circuit, the NOREF bit goes to 1. If NOREF is active on
completion of a conversion, the Data Register is loaded with all 1s. If NOREF is active on
completion of a calibration, updating of the calibration registers is inhibited.
These bits are for factory use. The power-on/reset status of these bits varies depending on the
factory-assigned number.
–14–
REV. 0
AD7731
Data Register (RS2-RS0 = 0, 0, 1); Power On/Reset Status: 000000 Hex
The Data Register on the part is a read-only register that contains the most up-to-date conversion result from the AD7731. Figure 5
shows a flowchart for reading from the registers on the AD7731. The register can be programmed to be either 16 or 24 bits wide,
determined by the status of the WL bit of the Mode Register. The RDY output and RDY bit of the Status Register are set low when
the Data Register is updated. The RDY pin and RDY bit will return high once the full contents of the register (either 16 or 24 bits)
have been read. If the Data Register has not been read by the time the next output update occurs, the RDY pin and RDY bit will go
high for at least 158.5 × tCLK IN indicating when a read from the Data Register should not be initiated to avoid a transfer from the
Data Register as it is being updated. Once the updating of the Data Register has taken place, RDY returns low.
If the Communications Register data sets up the part for a write operation to this register, a write operation must actually take place
in order to return the part to where it is expecting a write operation to the Communications Register (the default state of the interface). However, the 16 or 24 bits of data written to the part will be ignored by the AD7731.
Mode Register (RS2-RS0 = 0, 1, 0); Power-On/Reset Status: 0174 Hex
The Mode Register is a 16-bit register from which data can either be read or to which data can be written. This register configures
the operating modes of the AD7731, the input range selection, the channel selection and the word length of the Data Register. Table X
outlines the bit designations for the Mode Register. MR0 through MR15 indicate the bit location, MR denoting the bits are in the
Mode Register. MR15 denotes the first bit of the data stream. The number in brackets indicates the power-on/reset default status of
that bit. Figure 5 shows a flowchart for reading from the registers on the AD7731 and Figure 6 shows a flowchart for writing to the
registers on the part.
Table X. Mode Register
MR15
MR14
MR13
MR12
MR11
MR10
MR9
MR8
MD2 (0)
MD1 (0)
MD0 (0)
B/U (0)
DEN (0)
D1 (0)
D0 (0)
WL (1)
MR7
MR6
MR5
MR4
MR3
MR2
MR1
MR0
HIREF (0)
RN2 (1)
RN1 (1)
RN0 (1)
BO (0)
CH2 (1)
CH1 (0)
CH0 (0)
Bit
Location
Bit
Mnemonic
MR15–MR13
MD2–MD0
Description
Mode Bits. These three bits determine the mode of operation of the AD7731 as outlined in
Table XI. The modes are independent, such that writing new mode bits to the Mode Register will exit the part from the mode in which it is operating and place it in the new requested
mode immediately after the Mode Register write. The function of the mode bits is described
in more detail below.
Table XI. Operating Modes
REV. 0
MD2
MD1
MD0
Mode of Operation
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Sync (Idle) Mode
Continuous Conversion Mode
Single Conversion Mode
Power-Down (Standby) Mode
Internal Zero-Scale Calibration
Internal Full-Scale Calibration
System Zero-Scale Calibration
System Full-Scale Calibration
–15–
Power-On/Reset Default
AD7731
MD2
MD1
MD0
Operating Mode
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
Sync (Idle) Mode. In this mode, the modulator and filter are held in reset mode and the AD7731 is not
processing any new samples or data. Placing the part in this mode is equivalent to exerting the SYNC
input pin. However, exerting the SYNC does not actually force these mode bits to 0, 0, 0. The part returns to this mode after a calibration or after a conversion in Single Conversion Mode. This is the default
condition of these bits after Power-On/Reset.
Continuous Conversion Mode. In this mode, the AD7731 is continuously processing data and providing
conversion results to the Data Register at the programmed output update rate (as determined by the
Filter Register). For most applications, this would be the normal operating mode of the AD7731.
Single Conversion Mode. In this mode, the AD7731 performs a single conversion, updates the Data
Register, returns to the Sync Mode and resets the mode bits to 0, 0, 0. The result of the single conversion
on the AD7731 in this mode will not be provided until the full settling-time of the filter has elapsed.
Power-Down (Standby) Mode. In this mode, the AD7731 goes into its power-down or standby state. Placing
the part in this mode is equivalent to exerting the STANDBY input pin. However, exerting STANDBY does
not actually force these mode bits to 0, 1, 1.
Zero-Scale Self-Calibration Mode. This activates zero-scale self-calibration on the channel selected by the
CH2, CH1 and CH0 bits of the Mode Register. This zero-scale self-calibration is performed at the selected gain on internally shorted (zeroed) inputs. When this zero-scale self-calibration is complete, the
part updates the contents of the Offset Calibration Register and returns to Sync Mode with MD2, MD1
and MD0 returning to 0, 0, 0. The RDY output and bit go high when calibration is initiated and return
low when this zero-scale self-calibration is complete to indicate that the part is back in Sync Mode and
ready for further operations.
Full-Scale Self-Calibration Mode. This activates full-scale self-calibration on the channel selected by the
CH2, CH1 and CH0 bits of the Mode Register. This full-scale self-calibration is performed at the selected gain on an internally-generated full-scale signal. When this full-scale self-calibration is complete,
the part updates the contents of the Gain Calibration Register and returns to Sync Mode with MD2,
MD1 and MD0 returning to 0, 0, 0. The RDY output and bit go high when calibration is initiated and
return low when this full-scale self-calibration is complete to indicate that the part is back in Sync Mode
and ready for further operations.
Zero-Scale System Calibration Mode. This activates zero scale system calibration on the channel selected
by the CH2, CH1 and CH0 bits of the Mode Register. Calibration is performed at the selected gain on
the input voltage provided at the analog input during this calibration sequence. This input voltage should
remain stable for the duration of the calibration. When this zero-scale system calibration is complete, the
part updates the contents of the Offset Calibration Register and returns to Sync Mode with MD2, MD1
and MD0 returning to 0, 0, 0. The RDY output and bit go high when calibration is initiated and return
low when this zero-scale calibration is complete to indicate that the part is back in Sync Mode and ready
for further operations.
Full-Scale System Calibration Mode. This activates full-scale system calibration on the selected input
channel. Calibration is performed at the selected gain on the input voltage provided at the analog input
during this calibration sequence. This input voltage should remain stable for the duration of the calibration. When this full-scale system calibration is complete, the part updates the contents of the Gain Calibration Register and returns to Sync Mode with MD2, MD1 and MD0 returning to 0, 0, 0. The RDY
output and bit go high when calibration is initiated and return low when this full-scale calibration is complete to indicate that the part is back in Sync Mode and ready for further operations.
–16–
REV. 0
AD7731
Bit
Location
Bit
Mnemonic
MR12
B/U
MR11
DEN
MR10–MR9
D1–D0
MR8
WL
MR7
HIREF
MR6–MR4
RN2–RN0
Description
Bipolar/Unipolar Bit. A 0 in this bit selects bipolar operation and the output coding is
00...000 for negative full-scale input, 10...000 for zero input and 11...111 for positive fullscale input. A 1 in this bit selects unipolar operation and the output coding is 00...000 for
zero input and 11...111 for positive full-scale input.
Digital Output Enable Bit. With this bit at 1, the AIN3/D1 and AIN4/D0 pins assume their
digital output functions and the output drivers connected to these pins are enabled. In this
mode, the user effectively has two port bits which can be programmed over the serial interface.
Digital Output Bits. These bits determine the digital outputs on the AIN3/D1 and AIN4/D0
pins respectively when the DEN bit is a 1. For example, a 1 written to the D1 bit of the
Mode Register (with the DEN bit also a 1) will put a logic 1 on the AIN3/D1 pin. This logic
1 will remain on this pin until a 0 is written to the D1 bit (in which case, the AIN3/D1 pin
goes to a logic 0) or the digital output function is disabled by writing a 0 to the DEN bit.
Data Word Length Bit. This bit determines the word length of the Data Register. A 0 in this
bit selects 16-bit word length when reading from the data register (i.e., RDY returns high
after 16 serial clock cycles in the read operation). A 1 in this bit selects 24-bit word length for
the Data Register.
High Reference Bit. This bit should be set in accordance with the reference voltage which is
being used on the part. If the reference voltage is 2.5 V, the HIREF bit should be set to 0. If
the reference voltage is 5 V, the HIREF bit should be set to a 1. With the HIREF bit set
correctly for the appropriate applied reference voltage, the input ranges are 0 mV to +20 mV,
+40 mV, +80 mV, +160 mV, +320 mV, +640 mV and +1.28 V for unipolar operation and
±20 mV, ±40 mV, ±80 mV, ±160 mV, ±320 mV, ± 640 mV and ±1.28 V for bipolar operation.
It is possible for a user with a 2.5 V reference to set the HIREF bit to a 1. In this case, the
part is operating with a 2.5 V reference but assumes it has a 5 V reference. As a result, the
input ranges on the part become 0 mV to +10 mV through 0 mV to +640 mV for unipolar
operation and ± 10 mV through ± 640 mV for bipolar operation. However, the output noise
from the part (in nV) will remain unchanged so the resolution of the part (in LSBs) will reduce by 1.
Input Range Bits. These bits determine the analog input range for the selected analog input.
The different input ranges are outlined in Table XII. The table is valid for a reference voltage
of 2.5 V with the HIREF bit at 0 or for a reference voltage of 5 V with the HIREF bit at a
logic 1.
Table XII. Input Range Selection
REV. 0
Input Range
B/U Bit = 1
RN2
RN1
RN0
B/U Bit = 0
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
–20 mV to +20 mV
–20 mV to +20 mV
–40 mV to +40 mV
–80 mV to +80 mV
–160 mV to +160 mV
–320 mV to +320 mV
–640 mV to +640 mV
–1.28 V to +1.28 V
–17–
0 mV to +20 mV
0 mV to +20 mV
0 mV to +40 mV
0 mV to +80 mV
0 mV to +160 mV
0 mV to +320 mV
0 mV to +640 mV
0 mV to +1.28 V Power-On/Reset Default
AD7731
Bit
Location
Bit
Mnemonic
MR3
BO
Burnout Current Bit. A 1 in this bit activates the burnout currents. When active, the burnout
currents connect to the selected analog input pair, one source current to the AIN(+) input
and one sink current to the AIN(–) input. A 0 in this bit turns off the on-chip burnout
currents.
MR2–MR0
CH2–CH0
Channel Select. These three bits select a channel either for conversion or for access to calibration coefficients as outlined in Table XIII. There are three pairs of calibration registers on
the part. In fully differential mode, the part has three input channels so each channel has its
own pair of calibration registers. In pseudo-differential mode, the AD7731 has five input
channels with some of the input channel combinations sharing calibration registers. With
CH2, CH1 and CH0 at a logic 1, the part looks at the AIN6 input internally shorted to itself.
This can be used as a test method to evaluate the noise performance of the part with no external noise sources. In this mode, the AIN6 input should be connected to an external voltage within the allowable common-mode range for the part. The power-on/default status of
these bits is 1, 0, 0.
Description
Table XIII. Channel Selection
CH2
CH1
CH0 AIN(+) AIN(–) Type
Calibration Register Pair
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Register Pair 0
Register Pair 1
Register Pair 2
Register Pair 2
Register Pair 0
Register Pair 1
Register Pair 2
Register Pair 2
AIN1
AIN2
AIN3
AIN4
AIN1
AIN3
AIN5
AIN6
AIN6
AIN6
AIN6
AIN6
AIN2
AIN4
AIN6
AIN6
Pseudo Differential
Pseudo Differential
Pseudo Differential
Pseudo Differential
Fully Differential
Fully Differential
Fully Differential
Test Mode
Filter Register (RS2-RS0 = 0, 1, 1); Power-On/Reset Status: 2002 Hex
The Filter Register is a 16-bit register from which data can either be read or to which data can be written. This register determines
the amount of averaging performed by the filter and the mode of operation of the filter. It also sets the chopping mode. Table XIV
outlines the bit designations for the Filter Register. FR0 through FR15 indicate the bit location, FR denoting the bits are in the Filter
Register. FR15 denotes the first bit of the data stream. The number in brackets indicates the power-on/reset default status of that bit.
Figure 5 shows a flowchart for reading from the registers on the AD7731 and Figure 6 shows a flowchart for writing to the registers
on the part.
Table XIV. Filter Register
FR15
FR14
FR13
FR12
FR11
FR10
FR9
FR8
SF11 (0)
SF10 (0)
SF9 (1)
SF8 (0)
SF7 (0)
SF6 (0)
SF5 (0)
SF4 (0)
FR7
FR6
FR5
FR4
FR3
FR2
FR1
FR0
SF3 (0)
SF2 (0)
SF1 (0)
SF0 (0)
ZERO (0)
CHP (0)
SKIP (1)
FAST (0)
Bit
Location
Bit
Mnemonic
FR15–FR4
SF11–SF0
Description
Sinc3 Filter Selection Bits. The AD7731 contains two filters, a Sinc3 filter and an FIR filter.
The 12 bits programmed to SF11 through SF0 sets the amount of averaging which the Sinc3
filter performs. As a result, the number programmed to these 12 bits affects the –3 dB frequency and output update rate from the part (see Filter Architecture section). The allowable
range for SF words depends on whether the part is operated with CHP on or off and SKIP
on or off. Table XV outlines the SF ranges for different setups.
–18–
REV. 0
AD7731
Table XV. SF Ranges
CHOP
SKIP
SF Range
Output Update Rate Range (Assuming 4.9152 MHz Clock)
0
1
0
1
0
0
1
1
2048 to 150
2048 to 75
2048 to 40
2048 to 20
150 Hz to 2.048 kHz
50 Hz to 1.365 kHz
150 Hz to 7.6 kHz
50 Hz to 5.12 kHz
Bit
Location
Bit
Mnemonic
FR3
FR2
ZERO
CHP
FR1
SKIP
FR0
FAST
Description
A zero must be written to this bit to ensure correct operation of the AD7731.
Chop Enable Bit. This bit determines if the chopping mode on the part is enabled. A 1 in this
bit location enables chopping on the part. When the chop mode is enabled, the part is effectively chopped at its input and output to remove all offset and offset drift errors on the part.
If offset performance with time and temperature are important parameters in the design, it is
recommended that the user enable chopping on the part.
FIR Filter Skip Bit. With a 0 in this bit, the AD7731 performs two stages of filtering before
shipping a result out of the filter. The first is a Sinc3 filter followed by a 22-tap FIR filter.
With a 1 in this bit, the FIR filter on the part is bypassed and the output of the Sinc3 is fed
directly as the output result of the AD7731’s filter (see Filter Architecture for more details on
the filter implementation).
FASTStep™ Mode Enable Bit. A 1 in this bit enables the FASTStep™ mode on the AD7731. In
this mode, if a step change on the input is detected, the FIR calculation portion of the filter is
suspended and replaced by a simple moving average on the output of the Sinc3 filter. Initially, two outputs from the sinc3 filter are used to calculate an AD7731 output. The number
of sinc3 outputs used to calculate the moving average output is increased (from 2 to 4 to 8 to
16) until the STDY bit goes low. When the FIR filter has fully settled after a step, the STDY
bit will become active and the FIR filter is switched back into the processing loop (see Filter
Architecture section for more details on the FASTStep™ mode).
Offset Calibration Register (RS2–RS0 = 1, 0, 1)
The AD7731 contains three 24-bit Offset Calibration Registers, labeled Offset Calibration Register 0 to Offset Calibration Register
2, to which data can be written and from which data can be read. The three registers are totally independent of each other such that
in fully-differential mode there is an offset register for each of the input channels. This register is used in conjunction with the associated Gain Calibration Register to form a register pair. The calibration register pair used to scale the output of the filter is as outlined
in Table XIII. To access the appropriate Offset Calibration Register the user should write first to the Mode Register setting up the
appropriate address in the CH2 to CH0 bits.
The Offset Calibration Register is updated after an offset calibration routine (1, 0, 0 or 1, 1, 0 loaded to the MD2, MD1, MD0 bits
of the Mode Register). During subsequent conversions, the contents of this register are subtracted from the filter output prior to gain
scaling being performed on the word. Figure 5 shows a flowchart for reading from the registers on the AD7731 and Figure 6 shows a
flowchart for writing to the registers on the part.
Gain Calibration Register (RS2–RS0 = 1, 1, 0)
The AD7731 contains three 24-bit Gain Calibration Registers to which data can be written and from which data can be read. The
three registers are totally independent of each other such that in fully-differential mode there is a gain register for each of the input
channels. This register is used in conjunction with the associated Offset Calibration Register to form a register pair which scale the
output of the filter before it is loaded to the Data Register. These register pairs are associated with input channel pairs as outlined in
Table XIII. To access the appropriate Gain Calibration Register the user should write first to the Mode Register setting up the appropriate address in the CH2 to CH0 bits.
The Gain Calibration Register is updated after a gain calibration routine (1, 0, 1 or 1, 1, 1 loaded to the MD2, MD1, MD0 bits of
the Mode Register). During subsequent conversions, the contents of this register are used to scale the number which has already
been offset corrected with the Offset Calibration Register contents. Figure 5 shows a flowchart for reading from the registers on the
AD7731 and Figure 6 shows a flowchart for writing to the registers on the part.
Test Register (RS2–RS0 = 1, 1, 1); Power On/Reset Status: 000000Hex
The AD7731 contains a 24-bit Test Register to which data can be written and from which data can be read. The contents of this
register are used in testing the device. The user is advised not to change the status of any of the bits in this register from the default
(Power-On or RESET) status of all 0s as the part will be placed in one of its test modes and will not operate correctly. If the part
enters one of its test modes, exercising RESET or writing 32 successive 1s to the part will exit the part from the mode and return all
register contents to their power-on/reset status. Note, if the part is placed in one of its test modes, it may not be possible to read back
the contents of the Test Register depending on the test mode which the part has been placed.
REV. 0
–19–
AD7731
READING FROM AND WRITING TO THE ON-CHIP REGISTERS
The AD7731 contains a total of twelve on-chip registers. These registers are all accessed over a three-wire interface. As a result,
addressing of registers is via a write operation to the topmost register on the part, the Communications Register. Figure 5 shows a
flowchart for reading from the different registers on the part summarizing the sequence and the words to be written to access each of
the registers. Figure 6 gives a flowchart for writing to the different registers on the part, again summarizing the sequence and words
to be written to the AD7731.
START
Register
Byte W
(Hex)
Byte Y
(Hex)
Byte Z
(Hex)
Status Register
Data Register
Mode Register
Filter Register
Offset Register
Gain Register
10
11
12
13
15
16
20
21
22
N/A*
N/A*
N/A*
30
30
30
N/A*
N/A*
N/A*
CONTINUOUS
READS OF
REGISTER
REQUIRED?
YES
NO
WRITE BYTE W TO
COMMUNICATIONS REGISTER
(SEE ACCOMPANYING TABLE)
WRITE BYTE Y TO
COMMUNICATIONS REGISTER
(SEE ACCOMPANYING TABLE)
READ REGISTER
*N/A = Not Applicable. Continuous reads of these registers does
not make sense as the register contents would remain the same
since they are only changed by a write operation.
READ REGISTER
NO
STOP
CONTINUOUS
READ
OPERATION?
YES
WRITE BYTE Z TO
COMMUNICATIONS REGISTER
(SEE ACCOMPANYING TABLE)
Figure 5. Flowchart for Reading from the AD7731 Registers
START
Register
Byte Y (Hex)
Communications Register
Data Register
Mode Register
Filter Register
Offset Register
Gain Register
Test Register
00
Read Only Register.
02
03
05
06
User is advised not
to change contents of
Test Register
WRITE BYTE Y TO
COMMUNICATIONS REGISTER
(SEE ACCOMPANYING TABLE)
WRITE TO REGISTER
END
Figure 6. Flowchart for Writing to the AD7731 Registers
–20–
REV. 0
AD7731
CALIBRATION OPERATION SUMMARY
The AD7731 contains a number of calibration options as outlined previously. Table XVI summarizes the calibration types, the operations involved and the duration of the operations. There are two methods of determining the end of calibration. The first is to
monitor the hardware RDY pin using either interrupt-driven or polling routines. The second method is to do a software poll of the
RDY bit in the Status Register. This can be achieved by setting up the part for continuous reads of the Status Register once a calibration has been initiated. The RDY pin and RDY bit go high on initiating a calibration and return low at the end of the calibration
routine. At this time, the MD2, MD1, MD0 bits of the Mode Register have returned to 0, 0, 0. The FAST and SKIP bits are treated
as 0 for the calibration sequence so the full filter is always used for the calibration routines. See Calibration section for full details.
Table XVI. Calibration Operations
Calibration Type
MD2, MD1, Duration to RDY Duration to RDY
MD0
Low (CHP = 1)
Low (CHP = 0)
Internal Zero-Scale
1, 0, 0
22 × 1/Output Rate 24 × 1/Output Rate
Calibration on internal shorted input with PGA set
for selected input range. The Offset Calibration
Register for the selected channel is updated at the
end of this calibration sequence. For full self-calibration, this calibration should be preceded by an
Internal Full-Scale calibration. For applications
which require an Internal Zero-Scale and System
Full Scale calibration, this Internal Zero-Scale
calibration should be performed first.
Internal Full-Scale
1, 0, 1
44 × 1/Output Rate 48 × 1/Output Rate
Calibration on internally-generated input full-scale
with PGA set for selected input range. The Gain
Calibration Register for the selected channel is
updated at the end of this calibration sequence. It is
recommended that internal full-scale calibrations
are performed on the operating input range except
for the 20 mV and 40 mV input ranges where optimum results are achieved by calibrating on the
80 mV range. This calibration should be followed
by either an Internal Zero-Scale or System ZeroScale calibration. This calibration should be followed by either an Internal Zero-Scale or System
Zero-Scale calibration. This zero-scale calibration
should be performed at the operating input range.
System Zero-Scale
1, 1, 0
22 × 1/Output Rate 24 × 1/Output Rate
Calibration on externally-applied input voltage with
PGA set for selected input range. The input applied
is assumed to be the zero-scale of the system. For
full system calibration, this System Zero-Scale
calibration should be performed first. For applications which require a System Zero-Scale and Internal Full Scale calibration, this calibration should be
preceded by the Internal Full-Scale calibration. The
Offset Calibration Register for the selected channel
is updated at the end of this calibration sequence.
System Full-Scale
1, 1, 1
22 × 1/Output Rate 24 × 1/Output Rate
Calibration on externally-applied input voltage with
PGA set for selected input range. The input applied
is assumed to be the full-scale of the system. This
calibration should be preceded by a System ZeroScale or Internal Zero-Scale calibration. The Gain
Calibration Register for the selected channel is
updated at the end of this calibration sequence.
REV. 0
–21–
Calibration Sequence
AD7731
CIRCUIT DESCRIPTION
The AD7731 is a sigma-delta A/D converter with on-chip digital
filtering, intended for the measurement of wide dynamic range,
low-frequency signals such as those in strain-gage, pressure
transducer, temperature measurement, industrial control or process control applications. It contains a sigma-delta (or chargebalancing) ADC, a calibration microcontroller with on-chip
static RAM, a clock oscillator, a digital filter and a bidirectional
serial communications port. The part consumes 13.5 mA of
power supply current with a standby mode which consumes
only 20 µA. The part operates from a single +5 V supply. The
clock source for the part can be provided via an external clock
or by connecting a crystal oscillator or ceramic resonator across
the MCLK IN or MCLK OUT pins.
The part contains three programmable-gain fully differential
analog input channels which can be reconfigured as five pseudodifferential inputs. The part handles a total of seven different
input ranges on all channels which are programmed via the onchip registers. The differential unipolar ranges are: 0 mV to
+20 mV through 0 V to +1.28 V and the differential bipolar
ranges are: ± 20 mV through ± 1.28 V.
The AD7731 employs a sigma-delta conversion technique to
realize up to 24 bits of no missing codes performance. The
sigma-delta modulator converts the sampled input signal into a
digital pulse train whose duty cycle contains the digital information. A digital low-pass filter processes the output of the sigmadelta modulator and updates the data register at a rate that can
be programmed over the serial interface. The output data from
the part is accessed over this serial interface. The cutoff frequency and output rate of this filter can be programmed via onchip registers. The output noise performance and peak-to-peak
resolution of the part varies with gain and with the output rate
as shown in Tables I to IV.
The analog inputs are buffered on-chip, allowing the part to
handle significant source impedances on the analog input. This
means that external R, C filtering (for noise rejection or RFI
interference reduction) can be placed on the analog inputs if
required. The common-mode voltage range for the analog inputs comes within 1.2 V of AGND and 0.95 V of AVDD. The
reference input is also differential and the common-mode range
here is from AGND to AVDD.
The AD7731 contains a number of hardware and software
events that set or reset status flags and bits in registers. Table
XVII summarizes which blocks and flags are affected by the
different events.
Table XVII. Reset Events
Event
Power-On Reset
RESET Pin
STANDBY Pin
Mode 011 Write
SYNC Pin
Mode 000 Write
Conversion or
Cal Mode Write
Clock 32 1s
Data Register Read
Set Registers
to Default
Mode
Bits
Filter
Reset
Analog
Power-Down
Reset Serial
Interface
Set RDY
Pin/Bit
Set STDY
Bit
Yes
Yes
No
No
No
No
No
000
000
As Is
011
As Is
000
New
Value
As Is
As Is
Yes
Yes
Yes
Yes
Yes
Yes
Initial
Reset
No
No
Yes
No
Yes
Yes
No
No
No
Yes
Yes
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
No
Yes
Yes
Yes
No
No
No
–22–
REV. 0
AD7731
ANALOG INPUT
Analog Input Channels
The AD7731 has six analog input pins (labelled AIN1 to AIN6)
which can be configured as either three fully differential input
channels or five pseudo-differential input channels. Bits CH0,
CH1 and CH2 of the Mode Register configure the input channel arrangement and the channel selection is as outlined
previously in Table XIII. The input pairs (either differential
or pseudo-differential) provide programmable-gain, input channels which can handle either unipolar or bipolar input signals. It
should be noted that the bipolar input signals are referenced to
the respective AIN(–) input of the input pair. The AIN3 and
AIN4 pins can also be reconfigured as two digital output port
bits, also controlled by the Mode Register.
A differential multiplexer switches one of the two input channels
to the on-chip buffer amplifier. When the analog input channel
is switched, the RDY output goes high and the settling time of
the part must elapse before a valid word from the new channel is
available in the Data Register (indicated by RDY going low).
Buffered Inputs
The output of the multiplexer feeds into a high impedance input
stage of the buffer amplifier. As a result, the analog inputs can
handle significant source impedances. This buffer amplifier has
an input bias current of 50 nA (CHP = 1) and 60 nA (CHP = 0).
This current flows in each leg of the analog input pair. The
offset current on the part is the difference between the input
bias on the legs of the input pair. This offset current is less than
10 nA (CHP = 1) and 25 nA (CHP = 0). Large source resistances result in a dc offset voltage developed across the source
resistance on each leg but matched impedances on the analog
input legs will reduce the offset voltage to that generated by the
input offset current.
Analog Input Ranges
The absolute input voltage range is restricted to between
AGND + 1.2 V to AVDD – 0.95 V which also places restrictions
on the common-mode range. Care must be taken in setting up
the common-mode voltage and input voltage range so that these
limits are not exceeded, otherwise there will be a degradation in
linearity performance.
In some applications, the analog input range may be biased
either around system ground or slightly below system ground. In
such cases, the AGND of the AD7731 must be biased negative
with respect to system ground such that the analog input voltage
does not go within 1.2 V of AGND. Care should taken to ensure that the differential between either AVDD or DVDD and this
biased AGND does not exceed 5.5 V. This is discussed in more
detail in the Applications section.
Programmable Gain Amplifier
The output from the buffer amplifier is applied to the input of
the on-chip programmable gain amplifier (PGA). The PGA can
handle seven different unipolar input ranges and seven bipolar
ranges. With the HIREF bit of the Mode Register at 0 and a
+2.5 V reference (or the HIREF bit at 1 and a +5 V reference),
the unipolar ranges are 0 mV to +20 mV, 0 mV to +40 mV,
REV. 0
0 mV to +80 mV, 0 mV to +160 mV, 0 mV to +320 mV, 0 mV
to +640 mV and 0 V to +1.28 V while the bipolar ranges are
± 20 mV, ± 40 mV, ± 80 mV, ± 160 mV, ± 320 mV, ± 640 mV,
± 1.28 V. These are the nominal ranges which should appear at
the input to the on-chip PGA.
Bipolar/Unipolar Inputs
The analog inputs on the AD7731 can accept either unipolar or
bipolar input voltage ranges. Bipolar input ranges do not imply
that the part can handle negative voltages with respect to system
ground on its analog inputs unless the AGND of the part is also
biased below system ground. Unipolar and bipolar signals on
the AIN(+) input are referenced to the voltage on the respective AIN(–) input. For example, if AIN(–) is +2.5 V and the
AD7731 is configured for an analog input range of 0 mV to
+20 mV, the input voltage range on the AIN(+) input is +2.5 V
to +2.52 V. If AIN(–) is +2.5 V and the AD7731 is configured
for an analog input range of ± 1.28 V, the analog input range on
the AIN(+) input is +1.22 V to +3.78 V (i.e., 2.5 V ± 1.28 V).
Bipolar or unipolar options are chosen by programming the B/U
bit of the Mode Register. This programs the selected channel
for either unipolar or bipolar operation. Programming the channel for either unipolar or bipolar operation does not change any
of the input signal conditioning; it simply changes the data
output coding and the points on the transfer function where
calibrations occur. When the AD7731 is configured for unipolar
operation, the output coding is natural (straight) binary with a
zero differential voltage resulting in a code of 000...000, a midscale voltage resulting in a code of 100...000 and a full-scale
input voltage resulting in a code of 111...111. When the AD7731 is
configured for bipolar operation, the coding is offset binary with
a negative full-scale voltage resulting in a code of 000...000, a
zero differential voltage resulting in a code of 100...000 and a
positive full-scale voltage resulting in a code of 111...111.
Burnout Currents
The AD7731 contains two 100 nA constant current generators,
one source current from AVDD to AIN(+) and one sink from
AIN1(–) to AGND. The currents are switched to the selected
analog input pair. Both currents are either on or off depending
on the BO bit of the Mode Register. These currents can be used
in checking that a transducer is still operational before attempting to take measurements on that channel. If the currents are
turned on, allowed flow in the transducer, a measurement of the
input voltage on the analog input taken and the voltage measured is full scale then it indicates that the transducer has gone
open-circuit. If the voltage measured is 0 V, it indicates that the
transducer has gone open-circuit. For normal operation, these
burnout currents are turned off by writing a 0 to the BO bit.
The current sources work over the normal absolute input voltage range specifications.
–23–
AD7731
REFERENCE INPUT
SIGMA-DELTA MODULATOR
The AD7731’s reference inputs, REF IN(+) and REF IN(–),
provide a differential reference input capability. The commonmode range for these differential inputs is from AGND to AVDD.
The nominal reference voltage, VREF (REF IN(+) – REF IN(–)),
for specified operation is +2.5 V with the HIREF bit at 0 and
+5 V with the HIREF bit at 1. The part is also functional with
VREF of +2.5 V with the HIREF bit at 1. This results in a halving of all input ranges. The resolution in nV will be unaltered,
but will be reduced by 1 bit in terms of peak-to-peak resolution.
A sigma-delta ADC generally consists of two main blocks, an
analog modulator and a digital filter. In the case of the AD7731,
the analog modulator consists of a difference amplifier, an integrator block, a comparator and a feedback DAC as illustrated in
Figure 7. In operation, the analog signal sample is fed to the
difference amplifier along with the output of the feedback DAC.
The difference between these two signals is integrated and fed to
the comparator. The output of the comparator provides the
input to the feedback DAC so the system functions as a negative
feedback loop that tries to minimize the difference signal. The
digital data that represents the analog input voltage is contained
in the duty cycle of the pulse train appearing at the output of the
comparator. This duty cycle data can be recovered as a data
word using the digital filter. The sampling frequency of the
modulator loop is many times higher than the bandwidth of the
input signal. The integrator in the modulator shapes the quantization noise (which results from the analog to digital conversion) so
that the noise is pushed towards one half of the modulator frequency. The digital filter then bandlimits the response to a frequency significantly lower than one half of the modulator
frequency. In this manner, the 1-bit output of the comparator
is translated into a bandlimited, low noise output from the
AD7731.
Both reference inputs provide a high impedance, dynamic load.
The typical average dc input leakage current is over temperature
is 4.5 µA with HIREF = 0 and 8 µA with HIREF = 1. Because
the input impedance on each reference input is dynamic, external resistance/capacitance combinations may result in gain errors on the part.
The output noise performance outlined in Tables I through IV
is for an analog input of 0 V and is unaffected by noise on the
reference. To obtain the same noise performance as shown in
the noise tables over the full input range requires a low noise
reference source for the AD7731. If the reference noise in the
bandwidth of interest is excessive, it will degrade the performance of the AD7731. In applications where the excitation
voltage for the transducer on the analog input also drives the
reference voltage for the part, the effect of the low-frequency
noise in the excitation voltage will be removed as the application
is ratiometric. In this case, the reference voltage for the AD7731
and the excitation voltage for the transducer are the same. The
HIREF bit of the Mode Register should be set to 1.
If the AD7731 is not used in a ratiometric application, a low
noise reference should be used. Recommended reference voltage
sources for the AD7731 include the AD780, REF43 and REF192.
If any of these references are used as the reference source for the
AD7731, the HIREF bit should be set to 0. It is generally recommended to decouple the output of these references to further
reduce the noise level.
Reference Detect
The AD7731 includes on-chip circuitry to detect if the part has
a valid reference for conversions or calibrations. If the voltage
between the REF IN(+) and REF IN(–) pins goes below 0.3 V
or either the REF IN(+) or REF IN(–) inputs is open circuit,
the AD7731 detects that it no longer has a valid reference. In
this case, the NOREF bit of the Status Register is set to a 1.
If the AD7731 is performing normal conversions and the NOREF
bit becomes active, the part places all 1s in the Data Register.
Therefore, it is not necessary to continuously monitor the status
of the NOREF bit when performing conversions. It is only necessary to verify its status if the conversion result read from the
Data Register is all 1s.
If the AD7731 is performing either an offset or gain calibration
and the NOREF bit becomes active, the updating of the respective calibration register is inhibited to avoid loading incorrect
coefficients to this register. If the user is concerned about verifying that a valid reference is in place every time a calibration is
performed, then the status of the NOREF bit should be checked
at the end of the calibration cycle.
ANALOG DIFFERENCE
INPUT
AMP
COMPARATOR
INTEGRATOR
DIGITAL
FILTER
DAC
DIGITAL DATA
Figure 7. Sigma-Delta Modulator Block Diagram
DIGITAL FILTERING
Filter Architecture
The output of the modulator feeds directly into the digital filter.
This digital filter consists of two portions, a first stage filter and
a second stage filter. The cutoff frequency and output rate of
the filter are programmable. The first stage filter is a low-pass,
sinc3 or (sinx/x)3 filter whose primary function is to remove the
quantization noise introduced at the modulator. The second
stage filter has three distinct modes of operation. The first option is where it is bypassed completely such that the only filtering provided on the AD7731 is performed by the first stage sinc3
filter. The second is where it provides a low-pass 22-tap FIR
filter which processes the output of the first stage filter. The
third option is to enable FASTStep™ mode. In this mode, when
a step change is detected on the analog input or the analog input
channel switched, the second stage filter enters a mode where it
performs a variable number of averages for some time after the
step change and then the second stage filter switches back to the
FIR filter.
The AD7731 has two primary modes of operation, chop mode
(CHP = 1) and nonchop mode (CHP = 0). The AD7731 alternatively reverses its inputs with CHP = 1, and alternate outputs
from the first stage filter have a positive offset and negative
offset term included. With CHP = 0, the input is never reversed
and the output of the first stage filter includes an offset which is
always of the same polarity.
–24–
REV. 0
AD7731
0
The operation mode can be changed to achieve optimum performance in various applications. The CHP bit should generally
be set to 0 when using the AD7731 in applications where higher
throughput rates are a concern or in applications where the
reduced rejection at the chopping frequency in chop mode is an
issue. The part should be operated with CHP = 1 when drift,
noise rejection and optimum EMI rejection are important criteria in the application.
–10
–20
–30
GAIN – dB
–40
–50
–60
–70
–80
The output update rate of the AD7731 is programmed using the
SF bits of the Filter Register. With CHP = 0, the output update
is determined by the relationship:
–90
–100
–110
Output Rate = f MOD
1
×
SF
(CHP = 0)
–120
0
where SF is the decimal equivalent of the data loaded to the SF
bits of the Filter Register and fMOD is the modulator frequency
and is 1/16th of the master clock frequency.
1
3 × SF
(CHP = 1)
where SF is the decimal equivalent of the data loaded to the SF
bits of the Filter Register and fMOD is the modulator frequency
and is 1/16th of the master clock frequency.
Thus for a given SF word the output rate from the AD7731 is
three times faster with CHP = 0 than CHP = 1.
The various filter stages and options are discussed in the following sections.
First Stage Filter/SKIP Mode Enabled (SKIP = 1)
With SKIP mode enabled, the only filtering on the part is the
first stage filter. The frequency response for this first stage filter
is shown in Figure 8. The response of this first stage filter is
similar to that of an averaging filter but with a sharper roll-off.
With CHP = 0, the output rate for the filter corresponds with
the positioning of the first notch of the filter’s frequency response. Thus, for the plot of Figure 8 where the output rate is
600 Hz (fCLK IN = 4.9152 MHz and SF = 512), the first notch of
the filter is at 600 Hz. With CHP = 1, the magnitude response
is the same as in Figure 8 but in this case, the output rate is
1/3rd the output rate so for the example shown in Figure 8 the
output data rate is 200 Hz. The notches of this sinc3 filter frequency response are repeated at multiples of the first notch. The
filter provides attenuation of better than 100 dB around these
notches. Programming a different cutoff frequency via SF0 –
SF11 does not alter the profile of the filter response; it simply
changes the location of the notches. The –3 dB frequency for both
Chop and Nonchop modes is defined as:
f 3 dB = 0.262 × f MOD ×
600
800 1000 1200
FREQUENCY – Hz
1400
1600
1800
1
SF
Chop Mode (SKIP = 1, CHP = 1)
With CHP = 1, the AD7731 alternatively reverses the ADC
inputs, producing an output which contains the channel offset
when not reversed and the negative of the offset when reversed.
As a result, when operating in SKIP mode, the user has to take
two subsequent outputs from the AD7731 and average them to
produce a valid output from the first stage filter. While operating in this mode gives the benefits of chopping without the
longer settling time associated with the 22-tap FIR filter, care
should be taken with input signals near positive full-scale or
negative full-scale (zero-scale in unipolar mode). Since the
calibration coefficients are generated for the averaged offset, and
not for the individual offsets represented in each sample, one of
the two samples in the pair may record an all 1s or all 0s reading. If this happens it will result in an error in the averaged
reading. Time to first output for the part is 1/Output Rate in
this mode. However, since the user really needs two outputs to
derive a correct chopped result, the time to get two outputs for
averaging is 2 × 1/Output Rate. Table XVIII summarizes the
settling time and subsequent throughput rate for the various
different modes. If the user wants the benefits of chopping without the longer settling time associated with the 22-tap FIR filter,
it is recommended that the part be used in FASTStep™ mode.
Second Stage Filter
With SKIP mode disabled, the second stage filter is included in
the signal processing. This second stage filter produces a different response depending on the CHP and FAST bits.
Normal FIR Operation (SKIP = 0)
The normal mode of operation of the second stage filter is as a
22-tap low-pass FIR filter. This second stage filter processes the
output of the first stage filter and the net frequency response of
the filter is simply a product of the filter response of both filters.
The overall filter response of the AD7731 is guaranteed to have
no overshoot.
Nonchop Mode (SKIP = 1, CHP = 0)
With CHP = 0, the input chopping on the AD7731 is disabled
and any offset content in the samples to the first stage filter are
all of the same polarity. When using the part in SKIP mode, the
user can take the output from the AD7731 directly. Time to the
first output for the part is 3 × 1/Output Rate in this mode. Table
XVIII summarizes the settling time and subsequent throughput
rate for the various different modes.
REV. 0
400
Figure 8. SKIP Mode Frequency Response (SKIP = 1,
SF = 512)
With CHP = 1, the output update is determined by the relationship:
Output Rate = f MOD ×
200
–25–
AD7731
Chop Mode (SKIP = 0, CHP = 1)
With CHOP mode enabled and SKIP mode disabled, the second stage filter is presented with alternating first stage filter
outputs and processes data accordingly. It has two primary
functions. One is to set the overall frequency response and the
second is to eliminate the modulated offset effect which appears
on the output of the first stage filter. Time to first output is
22 × 1/Output Rate in this mode. Table XVIII summarizes the
settling time and subsequent throughput rate for the various
different modes.
Figure 9 shows the full frequency response of the AD7731 when
the second stage filter is set for normal FIR operation. This
response is for chop mode enabled with the decimal equivalent
of the word in the SF bits set to 512 and a master clock frequency of 4.9152 MHz. The response will scale proportionately
with master clock frequency. The response is shown from dc to
100 Hz. The rejection at 50 Hz ± 1 Hz and 60 Hz ± 1 Hz is
better than 88 dB.
The –3 dB frequency for the frequency response of the AD7731
with the second stage filter set for normal FIR operation and
chop mode enabled is determined by the following relationship:
f 3 dB = 0.0395 × f MOD ×
(
Figure 10 shows the frequency response for the same set of
conditions as for Figure 9 but in this case the response in shown
out to 600 Hz. This response shows that the attenuation of
input frequencies close to 200 Hz and 400 Hz is significantly
less than at other input frequencies. These “peaks” in the frequency response are a by-product of the chopping of the input.
The plot of Figure 10 is the amplitude for different input frequencies. Note that because the output rate is 200 Hz for the
conditions under which Figure 10 is plotted, if something existed in the input frequency domain at 200 Hz, it would be
aliased and appear in the output frequency domain at dc.
Because of this effect, care should be taken in choosing an output rate which is close to the line frequency in the application.
For example, if the line frequency is 50 Hz, an output update
rate of 50 Hz should not be chosen as it will significantly reduce
the AD7731’s line frequency rejection (the 50 Hz will appear as
a dc component with only 6 dB attenuation). However, choosing 60 Hz as the output rate (SF = 1707) will give better than
90 dB attenuation of the aliased line frequency. In a similar
fashion, if the line frequency is 60 Hz, it is recommended that
the user choose an output update rate of 50 Hz (SF = 2048).
0
)
1
CHP = 1
3 × SF
–10
–20
In this case, f3 dB = 7.9 Hz and the stop-band, where the attenuation is greater than 64.5 dB, is determined by:
–40
GAIN – dB
f STOP = 0.14 × f MOD
1
×
3 × SF
–30
(CHP = 1)
–50
–60
–70
–80
In this case, fSTOP = 28 Hz.
–90
0
–100
–10
–110
–20
–120
0
–30
50
100 150 200 250 300 350 400 450 500 550
FREQUENCY – Hz
600
GAIN – dB
–40
Figure 10. Expanded Full Frequency Response of AD7731
(SKIP = 0, CHP = 1, SF = 512)
–50
–60
–70
–80
–90
–100
–110
–120
0
10
20
30
40
50
60
FREQUENCY – Hz
70
80
90
100
Similarly, multiples of the line frequency should be avoided as
the output rate because harmonics of the line frequency will not
be fully attenuated. The programmability of the AD7731’s
output rate should allow the user to readily choose an output
rate which overcomes this issue. An alternative is to use the part
in nonchop mode.
Figure 9. Detailed Full Frequency Response of AD7731
(SKIP = 0, CHP = 1, SF = 512)
–26–
REV. 0
AD7731
Nonchop Mode (SKIP = 0, CHP = 0)
With CHOP mode disabled and SKIP mode disabled, the only
function of the second stage filter is to give the overall frequency
response. Figure 11 shows the frequency response for the AD7731
with the second stage filter is set for normal FIR operation, chop
mode disabled, the decimal equivalent of the word in the SF bits
set to 1536 and a master clock frequency of 4.9152 MHz. The
response is analogous to that of Figure 9 with the three-times
larger SF word producing the same 200 Hz output rate. Once
again, the response will scale proportionally with master clock
frequency. The response is shown from dc to 100 Hz. The rejection at 50 Hz ± 1 Hz and 60 Hz ± 1 Hz is better than 88 dB.
Figure 12 shows the frequency response for the same set of
conditions as for Figure 11 but in this case the response in shown
out to 600 Hz. This plot is comparable to that of Figure 10. The
most notable difference is absence of the peaks in the response
at 200 Hz and 400 Hz. As a result, interference at these frequencies will be effectively eliminated before being aliased back
to dc.
Table XVIII summarizes the settling time and subsequent throughput rate for the various different modes.
0
–10
The –3 dB frequency for the frequency response of the AD7731
with the second stage filter set for normal FIR operation and
chop mode enabled is determined by the following relationship:
1
SF
(
CHP = 0
–30
–40
GAIN – dB
f 3 dB = 0.039 × f MOD ×
–20
)
–50
–60
–70
–80
In this case, f3 dB = 7.8 Hz and the stop-band, where the attenuation is greater than 64.5 dB, is determined by:
–90
–100
f STOP = 0.14 × f MOD ×
1
SF
(CHP = 0)
–110
–120
0
In this case, fSTOP = 28 Hz.
–20
–30
–40
GAIN – dB
100 150 200 250 300 350 400 450 500 550
FREQUENCY – Hz
600
Figure 12. Expanded Full Frequency Response of AD7731
(SKIP = 0, CHP = 0, SF = 1536)
0
–10
–50
–60
–70
–80
–90
–100
–110
–120
0
10
20
30
40
50
60
FREQUENCY – Hz
70
80
90
100
Figure 11. Detailed Full Frequency Response of AD7731
(SKIP = 0, CHP = 0, SF = 1536)
REV. 0
50
–27–
AD7731
FASTStep™ Mode (SKIP = 0, FAST = 1)
The second mode of operation of the second stage filter is in
FASTStep™ mode which enables it to respond rapidly to step
inputs even when the second stage filter is in the loop. The
FASTStep™ mode is not relevant with SKIP mode enabled.
The FASTStep™ mode is enabled by placing a 1 in the FAST
bit of the Filter Register. If the FAST bit is 0, the part continues
to process step inputs with the normal FIR filter as the second
stage filter. With FASTStep™ mode enabled, the second stage
filter will continue to process steady state inputs with the filter
in its normal FIR mode of operation. However, the part is continuously monitoring the output of the first stage filter and comparing it with the second-previous output. If the difference
between these two outputs is greater than a predetermined
threshold (1% of full scale), the second stage filter switches to a
simple moving average computation. This also happens when a
change in channels takes place regardless of how close the voltages on the two channels are. When the change is detected, the
STDY bit of the Status Register goes to 1.
The initial number of averages in the moving average computation is either 2 (chop enabled) or 1 (chop disabled). The number of averages will be held at this value as long as the threshold
is exceeded. Once the threshold is no longer exceeded (the step
on the analog input has settled), the number of outputs used to
compute the moving average output is increased. The first and
second outputs from the first stage filter where the threshold is
no longer exceeded is computed as an average by 2, then 4
outputs with an average of 4, 8 outputs with an average of 8 and
6 outputs with an average of 16. At this time, the second stage
filter reverts back to its normal FIR mode of operation. When
the second stage filter reverts back to the normal FIR, the STDY
bit of the Status Register goes to 0.
Figure 13 gives an indication of the different responses to a step
input with FASTStep™ mode enabled and disabled. The vertical axis indicates the settling of the output to the input step
change while the horizontal axis shows how many outputs it
takes for that settling to occur. The positive input step change
occurs at a time coincident with the fifth output.
20000000
In FASTStep™ mode, the part has settled to the new value
much faster. For example, with CHP = 1, the FASTStep™
mode settles to its value in two outputs while the normal mode
settling takes 23 outputs. Between the second and 23rd output,
the FASTStep™ mode produces a settled result but with additional noise compared to the specified noise level for its operating conditions. This noise level starts at approximately 3 times
the final noise converging to FIR mode performance. The complete settling time to where the part is back within the specified
noise number, is the same for FASTStep™ mode and for normal
mode. When switching channels, the profile of Figure 13 will
not be seen. Since the part is synchronized when a channel
change takes place, it will not produce an output until the filter
(either FASTStep™ or FIR) is settled. Table XVIII gives an
indication of the faster settling time benefits of FASTStep™
mode.
As can be seen from Table XVIII, the FASTStep™ mode gives
a much earlier indication of where the output channel is going
and what its new value is. This feature is very useful in scanning
multiple channels where the user does not have to wait for the
FIR settling time to see if a channel has changed value. In this
case, the part can be set up with CHP = 1, SKIP = 0 and FAST
= 1. This takes advantage of the low drift, better noise immunity
benefits of the CHOP mode. When a change in channels takes
place, the part enters FASTStep™ mode and provides an output
result in 2 × 1/Output Rate.
Note, if the FAST bit is set and the part operated in single conversion mode, the AD7731 will continue to output results until
the STDY bit goes to 0.
Table XVIII. Time to First and Subsequent Outputs Following Channel Change
SKIP
CHP
FAST
Time
to First O/P1
Time to
Subsequent O/Ps
0
0
1
1
0
0
0
1
0
1
0
1
0
0
X2
X
1
1
24 × SF/fMOD
66 × SF/fMOD
3 × SF/fMOD
3 × SF/fMOD
3 × SF/fMOD
6 × SF/fMOD
SF/fMOD
3 × SF/fMOD
SF/fMOD
3 × SF/fMOD
SF/fMOD
3 × SF/fMOD
1
This O/P is fully settled.
X = Don’t Care.
15000000
CODE
2
10000000
5000000
0
0
5
10
15
NUMBER OF OUTPUTS
20
25
Figure 13. Step Response for FASTStep™ and Normal
Operation
–28–
REV. 0
AD7731
CALIBRATION
The AD7731 provides a number of calibration options that can
be programmed via the MD2, MD1 and MD0 bits of the Mode
Register. The different calibration options are outlined in the
Mode Register and Calibration Operations sections. A calibration cycle may be initiated at any time by writing to these bits of
the Mode Register. Calibration on the AD7731 removes offset
and gain errors from the device.
The AD7731 gives the user access to the on-chip calibration
registers allowing the microprocessor to read the device’s calibration coefficients and also to write its own calibration coefficients to the part from prestored values in E2PROM. This gives
the microprocessor much greater control over the AD7731’s
calibration procedure. It also means that by comparing the
coefficients after calibration with prestored values in E2PROM,
the user can verify that the device has correctly performed its
calibration. The values in these calibration registers are 24 bits
wide. In addition, the span and offset for the part can be adjusted by the user.
Internal Zero-Scale Calibration
An internal zero-scale calibration is initiated on the AD7731 by
writing the appropriate values (1, 0, 0) to the MD2, MD1 and
MD0 bits of the Mode Register. In this calibration mode with a
unipolar input range, the zero-scale point used in determining
the calibration coefficients is with the inputs of the differential
pair internally shorted on the part (i.e., AIN[+] = AIN[–] =
Externally-Applied AIN[–] voltage). The PGA is set for the
selected gain (as per the RN2, RN1, RN0 bits in the Mode
Register) for this internal zero-scale calibration conversion.
Internally in the AD7731, the coefficients are normalized before
being used to scale the words coming out of the digital filter.
The offset calibration register contains a value which, when
normalized, is subtracted from all conversion results. The gain
calibration register contains a value which, when normalized, is
multiplied by all conversion results. The offset calibration coefficient is subtracted from the result prior to the multiplication by
the gain coefficient.
The AD7731 offers self-calibration or system calibration facilities. For full calibration to occur on the selected channel, the
on-chip microcontroller must record the modulator output for
two different input conditions. These are “zero-scale” and “fullscale” points. These points are derived by performing a conversion on the different input voltages provided to the input of the
modulator during calibration. The result of the “zero-scale”
calibration conversion is stored in the Offset Calibration Register for the appropriate channel. The result of the “full-scale”
calibration conversion is stored in the Gain Calibration Register
for the appropriate channel. With these readings, the microcontroller can calculate the offset and the gain slope for the
input-to-output transfer function of the converter. Internally,
the part works with 33 bits of resolution to determine its conversion result of either 16 bits or 24 bits.
The sequence in which the zero-scale and full-scale calibration
occurs depends upon the type of full-scale calibration being
performed. The internal full-scale calibration is a two-step calibration that alters the value of the Offset Calibration Register.
Thus, the user must perform a zero-scale calibration (either
internal or system) after an internal full-scale calibration to
correct the Offset Calibration Register contents. When using
system full-scale calibration, it is recommended that the zeroscale calibration (either internal or system) is performed first.
Calibration time is the same regardless of whether the SKIP
mode is enabled or not. This is because the SKIP bit is ignored
and the second stage filter is included in the calibration cycle.
This is done to derive more accurate calibration coefficients. If
the subsequent operating mode is with CHP = 0, the calibration
should be performed with CHP = 0 so the offset calibration
coefficient and the subsequent conversion offsets are consistent.
Since the calibration coefficients are derived by performing a
REV. 0
conversion on the input voltage provided, the accuracy of the
calibration can only be as good as the noise level which the part
provides in normal mode. To optimize the calibration accuracy,
it is recommended to calibrate the part at its lowest output rate
where the noise level is lowest. The coefficients generated at any
output update rate will be valid for all selected output update
rates. This scheme of calibrating at the lowest output update
rate does mean that the duration of calibration is longer.
The duration time of the calibration depends upon the CHP bit
of the Filter Register. With CHP = 1, the duration is 22 × 1/
Output Rate; with CHP = 0, the duration is 24 × 1/Output
Rate. At this time the MD2, MD1 and MD0 bits in the Mode
Register return to 0, 0, 0 (Sync or Idle Mode for the AD7731).
The RDY line goes high when calibration is initiated and returns low when calibration is complete. Note, the part has not
performed a conversion at this time; it has simply performed a
zero-scale calibration and updated the Offset Calibration
Register for the selected channel. The user must write either
0, 0, 1 or 0, 1 ,0 to the MD2, MD1, MD0 bits of the Mode
Register to initiate a conversion. If RDY is low before (or goes
low during) the calibration command write to the Mode Register, it may take up to one modulator cycle (MCLK IN/16) before RDY goes high to indicate that calibration is in progress.
Therefore, RDY should be ignored for up to one modulator
cycle after the last bit of the calibration command is written to
the Mode Register.
For bipolar input ranges in the internal zero-scale calibrating
mode, the sequence is very similar to that just outlined. In this
case, the zero-scale point is exactly the same as above but since
the part is configured for bipolar operation, the output code for
zero differential input is 800000 Hex in 24-bit mode.
The internal zero-scale calibration needs to be performed as one
part of a two-step full calibration. However, once a full calibration has been performed, additional internal zero-scale
calibrations can be performed by themselves to adjust the
part’s zero-scale point only. When performing a two-step full
calibration, care should be taken as to the sequence in which the
two steps are performed. If the internal zero-scale calibration is
one part of a full self-calibration, then it should take place after
an internal full-scale calibration. If it takes place in association
with a system full-scale calibration, then this internal zero-scale
calibration should be performed first.
–29–
AD7731
Internal Full-Scale Calibration
An internal full-scale calibration is initiated on the AD7731 by
writing the appropriate values (1, 0, 1) to the MD2, MD1 and
MD0 bits of the Mode Register. In this calibration mode, the
full-scale point used in determining the calibration coefficients is
with an internally-generated full-scale voltage. This full-scale
voltage is derived from the reference voltage for the AD7731
and the PGA is set for the selected gain (as per the RN2, RN1,
RN0 bits in the Mode Register) for this internal full-scale calibration conversion.
Normally, the internal full-scale calibration is performed at the
required operating output range. When operating with a 20 mV
or 40 mV input range, it is recommended that internal full-scale
calibrations are performed on the 80 mV input range.
The internal full-scale calibration is a two-step sequence which
runs when an internal full-scale calibration command is written
to the AD7731. One part of the calibration is a zero-scale calibration and as a result, the contents of the Offset Calibration
Register are altered during this Internal Full-Scale Calibration.
The user must, therefore, perform a zero-scale calibration
(either internal or system) AFTER the internal full-scale calibration. This means that internal full-scale calibrations cannot
be performed in isolation.
The duration time of the calibration depends upon the CHP bit
of the Filter Register. With CHP = 1, the duration is 22 × 1/
Output Rate; with CHP = 0, the duration is 24 × 1/Output
Rate. At this time the MD2, MD1 and MD0 bits in the Mode
Register return to 0, 0, 0 (Sync or Idle Mode for the AD7731).
The RDY line goes high when calibration is initiated and returns low when calibration is complete. Note, the part has not
performed a conversion at this time; it has simply performed a
zero-scale calibration and updated the Offset Calibration Register for the selected channel. The user must write either 0, 0, 1
or 0, 1, 0 to the MD2, MD1, MD0 bits of the Mode Register to
initiate a conversion. If RDY is low before (or goes low during)
the calibration command write to the Mode Register, it may
take up to one modulator cycle (MCLK IN/16) before RDY
goes high to indicate that calibration is in progress. Therefore,
RDY should be ignored for up to one modulator cycle after the
last bit of the calibration command is written to the Mode Register.
For bipolar input ranges in the system zero-scale calibrating
mode, the sequence is very similar to that just outlined. In this
case, the zero-scale point is the mid-point of the AD7731’s
transfer function.
The system zero-scale calibration needs to be performed as one
part of a two part full calibration. However, once a full calibration has been performed, additional system zero-scale
calibrations can be performed by themselves to adjust the
part’s zero-scale point only. When performing a two-step full
calibration, care should be taken as to the sequence in which the
two steps are performed. If the system zero-scale calibration is
one part of a full system calibration, it should take place before a
system full-scale calibration. If it takes place in association with
an internal full-scale calibration, this system zero-scale calibration should be performed after the full-scale calibration.
The duration time of the calibration depends upon the CHP bit
of the Filter Register. With CHP = 1, the duration is 44 × 1/
Output Rate; with CHP = 0, the duration is 48 × 1/Output
Rate. At this time the MD2, MD1 and MD0 bits in the Mode
Register return to 0, 0, 0 (Sync or Idle Mode for the AD7731).
The RDY line goes high when calibration is initiated and returns low when calibration is complete. Note, the part has not
performed a conversion at this time. The user must write either
0, 0, 1 or 0, 1, 0 to the MD2, MD1, MD0 bits of the Mode
Register to initiate a conversion. If RDY is low before (or goes
low during) the calibration command write to the Mode Register, it may take up to one modulator cycle (MCLK IN/16) before RDY goes high to indicate that calibration is in progress.
Therefore, RDY should be ignored for up to one modulator
cycle after the last bit of the calibration command is written to
the Mode Register.
System Full-Scale Calibration
System Zero-Scale Calibration
System calibration allows the AD7731 to compensate for system
gain and offset errors as well as its own internal errors. System
calibration performs the same slope factor calculations as selfcalibration but uses voltage values presented by the system to
the AIN inputs for the zero- and full-scale points.
A system zero-scale calibration is initiated on the AD7731 by
writing the appropriate values (1, 1, 0) to the MD2, MD1 and
MD0 bits of the Mode Register. In this calibration mode with a
unipolar input range, the zero-scale point used in determining
the calibration coefficients is the bottom end of the transfer
function. The system’s zero-scale point is applied to the AD7731’s
AIN input before the calibration step and this voltage must
remain stable for the duration of the system zero-scale calibration. The PGA is set for the selected gain (as per the RN2,
RN1, RN0 bits in the Mode Register) for this system zero-scale
calibration conversion. The allowable range for the system zeroscale voltage is discussed in the Span and Offsets Section.
A system full-scale calibration is initiated on the AD7731 by
writing the appropriate values (1, 1, 1) to the MD2, MD1 and
MD0 bits of the Mode Register. System full-scale calibration is
performed using the system’s positive full-scale voltage. This
full-scale voltage must be set up before the calibration is initiated, and it must remain stable throughout the calibration step.
The system full-scale calibration is performed at the selected
gain (as per the RN2, RN1, RN0 bits in the Mode Register).
The duration time of the calibration depends upon the CHP bit
of the Filter Register. With CHP = 1, the duration is 22 × 1/
Output Rate; with CHP = 0, the duration is 24 × 1/Output Rate.
At this time the MD2, MD1 and MD0 bits in the Mode Register return to 0, 0, 0 (Sync or Idle Mode for the AD7731). The
RDY line goes high when calibration is initiated and returns low
when calibration is complete. Note, the part has not performed
a conversion at this time; it has simply performed a full-scale
calibration and updated the Gain Calibration Register for the
selected channel. The user must write either 0, 0, 1 or 0, 1, 0 to
the MD2, MD1, MD0 bits of the Mode Register to initiate a
conversion. If RDY is low before (or goes low during) the calibration command write to the Mode Register, it may take up to
one modulator cycle (MCLK IN/16) before RDY goes high to
indicate that calibration is in progress. Therefore, RDY should
be ignored for up to one modulator cycle after the last bit of the
calibration command is written to the Mode Register.
–30–
REV. 0
AD7731
The system full-scale calibration needs to be performed as one
part of a two part full calibration. However, once a full calibration has been performed, additional system full-scale calibrations can be performed by themselves to adjust the part’s gain
calibration point only. When performing a two-step full calibration, care should be taken as to the sequence in which the two
steps are performed. A system full-scale calibration should not
be carried out unless the part contains valid zero-scale coefficients. Therefore, an internal zero-scale calibration or a system
zero-scale calibration must be performed before the system fullscale calibration when a full two-step calibration operation is
being performed.
1.05
FS.
UPPER LIMIT. AD7731’s INPUT
VOLTAGE CANNOT EXCEED THIS
AD7731
INPUT RANGE
(0.8 FS TO
2.1 FS)
GAIN CALIBRATIONS EXPAND OR
CONTRACT THE AD7731’s INPUT
RANGE
0V DIFFERENTIAL
NOMINAL ZERO-SCALE POINT
ZERO-SCALE CALIBRATIONS
MOVE INPUT RANGE UP OR DOWN
–1.05
FS.
LOWER LIMIT. AD7731’s INPUT
VOLTAGE CANNOT EXCEED THIS
Span and Offset Limits
Whenever a system calibration mode is used, there are limits on
the amount of offset and span that can be accommodated. The
overriding requirement in determining the amount of offset and
gain that can be accommodated by the part is the requirement
that the positive full-scale calibration limit is ≤ 1.05 × FS, where
FS is 20 mV through 1.28 V depending on the RN2, RN1, RN0
bits in the Mode Register. This allows the input range to go 5%
above the nominal range. The built-in headroom in the AD7731’s
analog modulator ensures that the part will still operate correctly
with a positive full-scale voltage that is 5% beyond the nominal.
The range of input span in both the unipolar and bipolar modes
has a minimum value of 0.8 × FS and a maximum value of
2.1 × FS. However, the span (which is the difference between
the bottom of the AD7731’s input range and the top of its input
range) has to take into account the limitation on the positive
full-scale voltage. The amount of offset which can be accommodated depends on whether the unipolar or bipolar mode is being
used. Once again, the offset has to take into account the limitation on the positive full-scale voltage. In unipolar mode, there is
considerable flexibility in handling negative (with respect to
AIN[–]) offsets. In both unipolar and bipolar modes, the range
of positive offsets that can be handled by the part depends on
the selected span. Therefore, in determining the limits for system zero-scale and full-scale calibrations, the user has to ensure
that the offset range plus the span range does not exceed
1.05 × FS. This is best illustrated by looking at a few examples.
If the part is used in unipolar mode with a required span of
0.8 × FS, the offset range the system calibration can handle is
from –1.05 × FS to +0.25 × FS. If the part is used in unipolar
mode with a required span of FS, the offset range the system
calibration can handle is from –1.05 × FS to +0.05 × FS. Similarly, if the part is used in unipolar mode and required to remove
an offset of 0.2 × FS, the span range the system calibration can
handle is 0.85 × FS.
Power-Up and Calibration
On power-up, the AD7731 performs an internal reset that sets
the contents of the internal registers to a known state. There are
default values loaded to all registers after a power-on or reset.
The default values contain nominal calibration coefficients for
the calibration registers. However, to ensure correct calibration
for the device, a calibration routine should be performed after
power-up.
The power dissipation and temperature drift of the AD7731 are
low and no warm-up time is required before the initial calibration is performed. However, if an external reference is being
used, this reference must have stabilized before calibration is
initiated. Similarly, if the clock source for the part is generated
from a crystal or resonator across the MCLK pins, the start-up
time for the oscillator circuit should elapse before a calibration
is initiated on the part (see below).
Drift Considerations
The AD7731 uses chopper stabilization techniques to minimize
input offset drift. Charge injection in the analog multiplexer and
dc leakage currents at the analog input are the primary sources
of offset voltage drift in the part. The dc input leakage current is
essentially independent of the selected gain. Gain drift within
the converter depends primarily upon the temperature tracking
of the internal capacitors. It is not affected by leakage currents.
When operating the part in CHOP mode (CHP = 1), the signal
chain including the first-stage filter is chopped. This chopping
reduces the overall offset drift to 5 nV/°C. When operating in
CHOP mode, it is recommended to calibrate the AD7731 only
after power-up or reset to achieve the optimum drift performance from the part. Integral and differential linearity errors are
not significantly affected by temperature changes.
If the part is used in bipolar mode with a required span of
±0.4 × FS, the offset range the system calibration can handle is
from –0.65 × FS to +0.65 × FS. If the part is used in bipolar
mode with a required span of ± FS, the offset range the system
calibration can handle is from –0.05 × FS to +0.05 × FS. Similarly, if the part is used in bipolar mode and required to remove
an offset of ± 0.2 × FS, the span range the system calibration can
handle is ± 0.85 × FS. Figure 14 summarizes the span and offset
ranges.
REV. 0
Figure 14. Span and Offset Limits
Care must also be taken with external drift effects in order to
achieve optimum drift performance. The user has to be especially careful to avoid, as much as possible, thermocouple effects
from junctions of different materials. Devices should not be
placed in sockets when evaluating temperature drift, there should
be no links in series with the analog inputs and care must be
taken as to how the input voltage is applied to the input pins.
The true offset drift of the AD7731 itself can be evaluated by
performing temperature drift testing of the part with the
AIN(–)/AIN(–) input channel arrangement (i.e., internal
shorted input, test mode).
–31–
AD7731
USING THE AD7731
Clocking and Oscillator Circuit
The AD7731 requires a master clock input, which may be an
external CMOS compatible clock signal applied to the MCLK IN
pin with the MCLK OUT pin left unconnected. Alternatively, a
crystal or ceramic resonator of the correct frequency can be
connected between MCLK IN and MCLK OUT in which case
the clock circuit will function as an oscillator, providing the
clock source for the part. The input sampling frequency, the
modulator sampling frequency, the –3 dB frequency, output
update rate and calibration time are all directly related to the
master clock frequency, fCLK IN. Reducing the master clock
frequency by a factor of 2 will halve the above frequencies and
update rate and double the calibration time.
The crystal or ceramic resonator is connected across the MCLK
IN and MCLK OUT pins, as per Figure 15*. When using a
master clock frequency of 4.9152 MHz, C1 and C2 should both
have a value equal to 33 pF.
MCLK IN
C1
CRYSTAL OR
CERAMIC
RESONATOR
output updates will then be synchronized with the maximum
possible difference between the output updates of the individual
AD7731s being one MCLK IN cycle.
Single-Shot Conversions
The SYNC input can also be used as a start convert command
allowing the AD7731 to be operated in a conventional converter
fashion. In this mode, the rising edge of SYNC starts conversion
and the falling edge of RDY indicates when conversion is complete. The disadvantage of this scheme is that the settling time
of the filter has to be taken into account for every data register
update.
Writing 0, 1, 0 to the MD2, MD1, MD0 bits of the Mode register has the same effect. This initiates a single conversion on the
AD7731 with the part returning to idle mode at the end of
conversion. Once again, the full settling time of the filter has to
elapse before the Data Register is updated.
Note, if the FAST bit is set and the part operated in single conversion mode, the AD7731 will continue to output results until
the STDY bit goes to 0.
Reset Input
The RESET input on the AD7731 resets all the logic, the digital
filter and the analog modulator while all on-chip registers are
reset to their default state. RDY is driven high and the AD7731
ignores all communications to any of its registers while the
RESET input is low. When the RESET input returns high, the
AD7731 starts to process data and RDY will return low after
the filter has settled indicating a valid new word in the data
register. However, the AD7731 operates with its default setup
conditions after a RESET and it is generally necessary to set up
all registers and carry out a calibration after a RESET command.
AD7731
MCLK OUT
C2
Figure 15. Crystal/Resonator Connections
The on-chip oscillator circuit also has a start-up time associated
with it before it has attained its correct frequency and correct
voltage levels. The typical start-up time for the circuit is 6 ms
with a DVDD of +5 V and 8 ms with a DVDD of +3 V.
The AD7731’s master clock appears on the MCLK OUT pin of
the device. The maximum recommended load on this pin is one
CMOS load. When using a crystal or ceramic resonator to generate the AD7731’s clock, it may be desirable to then use this
clock as the clock source for the system. In this case, it is recommended that the MCLK OUT signal is buffered with a CMOS
buffer before being applied to the rest of the circuit.
System Synchronization
The SYNC input allows the user to reset the modulator and
digital filter without affecting any of the setup conditions on the
part. This allows the user to start gathering samples of the analog input from a known point in time, i.e., the rising edge of
SYNC.
If multiple AD7731s are operated from a common master clock,
they can be synchronized to update their output registers simultaneously. A falling edge on the SYNC input resets the digital
filter and analog modulator and places the AD7731 into a consistent, known state. While the SYNC input is low, the AD7731
will be maintained in this state. On the rising edge of SYNC,
the modulator and filter are taken out of this reset state and on
the next clock edge the part again starts to gather input samples.
In a system using multiple AD7731s, a common signal to their
SYNC inputs will synchronize their operation. This would normally be done after each AD7731 has performed its own calibration or has had calibration coefficients loaded to it. The
The AD7731’s on-chip oscillator circuit continues to function
even when the RESET input is low. The master clock signal
continues to be available on the MCLK OUT pin. Therefore, in
applications where the system clock is provided by the AD7731’s
clock, the AD7731 produces an uninterrupted master clock
during RESET commands.
Standby Mode
The STANDBY input on the AD7731 allows the user to place
the part in a power-down mode when it is not required to
provide conversion results. The part can also be placed in its
standby mode by writing 0, 1, 1 to the MD2, MD1, MD0 bits
of the Mode Register. The AD7731 retains the contents of all its
on-chip registers (including the Data Register) while in standby
mode. Data can still be read from the part in Standby Mode.
The STBY bit of the Status Register indicates whether the part
is in standby or normal operating mode. When the STANDBY
pin is taken high, the part returns to operating as it had been
prior to the STANDBY pin going low.
The STANDBY input (or 0, 1, 1 in the MD2, MD1, MD0 bits)
does not affect the digital interface. It does, however, set the
RDY bit and pin high and also sets the STDY bit high. When
STANDBY goes high again, RDY and STDY remain high until
set low by a conversion or calibration.
*The AD7731 has a capacitance of 5 pF on MCLK IN and 13 pF on MCLK
OUT.
–32–
REV. 0
AD7731
Placing the part in standby mode reduces the total current to
10 µA typical when the part is operated from an external master
clock, provided this master clock is stopped. If the external
clock continues to run in standby mode, the standby current
increases to 400 µA typical. If a crystal or ceramic resonator is
used as the clock source, then the total current in standby mode
is 400 µA typical. This is because the on-chip oscillator circuit
continues to run when the part is in its standby mode. This is
important in applications where the system clock is provided by
the AD7731’s clock, so that the AD7731 produces an uninterrupted master clock even when it is in its standby mode.
Digital Outputs
The AD7731 has two digital output pins, D0 and D1. When
the DEN bit of the Mode Register is set to 1, these digital
outputs assume the logic status of bits D0 and D1 of the
Mode Register. It gives the user access to two digital port
pins which can be programmed over the normal serial interface of the AD7731. The two outputs obtain their supply
voltage from AVDD, thus the outputs operate to 5 V levels
even in cases where DVDD = +3 V.
POWER SUPPLIES
There is no specific power sequence required for the AD7731,
either the AVDD or the DVDD supply can come up first. While
the latch-up performance of the AD7731 is very good, it is
important that power is applied to the AD7731 before signals at
REF IN, AIN or the logic input pins in order to avoid latch-up
caused by excessive current. If this is not possible, then the
current which flows in any of these pins should be limited to less
than 30 mA per pin and less than 100 mA cumulative. If separate supplies are used for the AD7731 and the system digital
circuitry, then the AD7731 should be powered up first. If it is
not possible to guarantee this, then current limiting resistors
should be placed in series with the logic inputs to again limit the
current to less than 30 mA per pin and less than 100 mA total.
Grounding and Layout
Since the analog inputs and reference input are differential,
most of the voltages in the analog modulator are common-mode
voltages. The excellent Common-Mode Rejection of the part
will remove common-mode noise on these inputs. The analog
and digital supplies to the AD7731 are independent and separately pinned out to minimize coupling between the analog and
digital sections of the device. The digital filter will provide rejection of broadband noise on the power supplies, except at integer
multiples of the modulator sampling frequency. The digital filter
also removes noise from the analog and reference inputs provided those noise sources do not saturate the analog modulator.
As a result, the AD7731 is more immune to noise interference
that a conventional high resolution converter. However, because
the resolution of the AD7731 is so high and the noise levels
from the AD7731 so low, care must be taken with regard to
grounding and layout.
The printed circuit board that houses the AD7731 should be
designed such that the analog and digital sections are separated
and confined to certain areas of the board. This facilitates the
use of ground planes which can be separated easily. A minimum
etch technique is generally best for ground planes as it gives the
best shielding. Digital and analog ground planes should only be
joined in one place. If the AD7731 is the only device requiring
REV. 0
an AGND to DGND connection, the ground planes should be
connected at the AGND and DGND pins of the AD7731. If the
AD7731 is in a system where multiple devices require AGND to
DGND connections, the connection should still be made at one
point only, a star ground point, which should be established as
close as possible to the AD7731.
Avoid running digital lines under the device as these will couple
noise onto the die. The analog ground plane should be allowed
to run under the AD7731 to avoid noise coupling. The power
supply lines to the AD7731 should use as large a trace as possible to provide low impedance paths and reduce the effects of
glitches on the power supply line. Fast switching signals like
clocks should be shielded with digital ground to avoid radiating
noise to other sections of the board and clock signals should
never be run near the analog inputs. Avoid crossover of digital
and analog signals. Traces on opposite sides of the board should
run at right angles to each other. This will reduce the effects of
feedthrough through the board. A microstrip technique is by far
the best but is not always possible with a double-sided board. In
this technique, the component side of the board is dedicated to
ground planes while signals are placed on the solder side.
Good decoupling is important when using high resolution ADCs.
All analog supplies should be decoupled with 10 µF tantalum in
parallel with 0.1 µF capacitors to AGND. To achieve the best
from these decoupling components, they have to be placed as
close as possible to the device, ideally right up against the device.
All logic chips should be decoupled with 0.1 µF disc ceramic
capacitors to DGND. In systems where a common supply voltage is used to drive both the AVDD and DVDD of the AD7731, it
is recommended that the system’s AVDD supply is used. This
supply should have the recommended analog supply decoupling
capacitors between the AVDD pin of the AD7731 and AGND
and the recommended digital supply decoupling capacitor
between the DVDD pin of the AD7731 and DGND.
Evaluating the AD7731 Performance
A recommended layout for the AD7731 is outlined in the evaluation board for the AD7731. The evaluation board package
includes a fully assembled and tested evaluation board, documentation, software for controlling the board over the printer
port of a PC and software for analyzing the AD7731’s performance on the PC. The evaluation board order number is
EVAL-AD7731EB.
Noise levels in the signals applied to the AD7731 may also
affect performance of the part. The AD7731 allows a technique
for evaluating the true performance of the part, independent of
the analog input signal. This scheme should be used after a
calibration has been performed on the part.
The first method is to select the AIN6/AIN6 input channel
arrangement. In this case, the differential inputs to the AD7731
are internally shorted together to provide a zero differential
voltage for the analog modulator. External to the device, the
AIN6 input should be connected to a voltage which is within the
allowable common-mode range of the part.
The software in the evaluation board package allows the user to
look at the noise performance in terms of bits and nV. Once the
user has established that the noise performance of the part is
satisfactory in this mode, then an external input voltage can be
applied to the device incorporating more of the signal chain.
–33–
AD7731
SERIAL INTERFACE
The AD7731’s programmable functions are controlled via a set
of on-chip registers. Access to these registers is via the part’s
serial interface. After power-on or RESET, the device expects a
write to its Communications Register. The data written to this
register determines whether the next operation to the part is a
read or a write operation and also determines to which register
this read or write operation occurs. Therefore, write access to
one of the control registers on the part starts with a write operation to the Communications Register followed by a write to the
selected register. Reading from the part’s on-chip registers can
either take the form of a single read or continuous read. A single
read from a register consists of a write to the Communications
Register (with RW1 = 0 and RW0 = 1) followed by the read
from the specified register. To perform continuous reads from a
register, write to the Communications Register (with RW1 = 1
and RW0 = 0) to place the part in continuous read mode. The
specified register can then be read from continuously until a
write operation to the Communications Register (with RW1 = 1
and RW0 = 1) which takes the part out of continuous read
mode. When operating in continuous read mode, the part is
continuously monitoring its DIN line. Therefore, the DIN line
should be permanently low to allow the part to stay in continuous read mode. Figure 5 and Figure 6, shown previously, indicate the correct flow diagrams when reading and writing from
the AD7731’s registers.
The AD7731’s serial interface consists of five signals, CS, SCLK,
DIN, DOUT and RDY. The DIN line is used for transferring
data into the on-chip registers while the DOUT line is used for
accessing data from the on-chip registers. SCLK is the serial
clock input for the device and all data transfers (either on DIN
or DOUT) take place with respect to this SCLK signal.
Write Operation
The transfer of data into the part is to an input shift register. On
completion of a write operation, data is transferred to the specified register. This internal transfer will not take place until the
correct number of bits for the specified register have been
loaded to the input shift register. For example, the transfer of
data from the input shift register takes place after eight serial
clock cycles for a DAC Register write while the transfer of data
from the input shift register takes place after 24 serial clock
cycles when writing to the Filter Register. Figure 16 shows a
timing diagram for a write operation to the input shift register of
the AD7731. With the POL input at a logic high, the data is
latched into the input shift register on the rising edge of SCLK.
With the POL input at a logic low, the data is latched into the
input shift register on the falling edge of SCLK.
Figure 16 also shows the CS input being used to decode the
write operation to the AD7731. However, this CS input can be
used in a number of different ways. It is possible to operate the
part in three-wire mode where the CS input is permanently tied
low. In this case, the SCLK line should idle high between data
transfer when the POL input is high and should idle low between data transfers when the POL input is low. For POL = 1,
the first falling edge of SCLK clocks data from the microcontroller
onto the DIN line of the AD7731. It is then clocked into the
input shift register on the next rising edge of SCLK. For POL = 0,
the first clock edge which clocks data from the microcontroller
onto the DIN line of the AD7731 is a rising edge. It is then
clocked into the input shift register on the next falling edge of
SCLK.
In other microcontroller applications, which require a decoding
of the AD7731, CS can be generated from a port line. In this
case, CS would go low well in advance of the first falling edge of
SCLK (POL = 1) or the first rising edge of SCLK (POL = 0).
Clocking of each bit of data is as just described.
In DSP applications, the SCLK is generally a continuous clock.
In these applications, the CS input for the AD7731 is generated
from a frame synchronization signal from the DSP. For processors with the rising edge of SCLK as the active edge, the POL
input should be tied high. For processors with the falling edge of
SCLK as the active edge, the POL input should be tied low. In
these applications, the first edge after CS goes low is the active
edge. The MSB of the data to be shifted into the AD7731 must
be set up prior to this first active edge.
CS
t11
t16
t14
SCLK
(POL = 1)
t15
t14
SCLK
(POL = 0)
t15
t12
t13
DIN
MSB
LSB
Figure 16. Write Cycle Timing Diagram
–34–
REV. 0
AD7731
Read Operation
The reading of data from the part is from an output shift register. On initiation of a read operation, data is transferred from
the specified register to the output shift register. This is a parallel shift and is transparent to the user. Figure 16 shows a timing
diagram for a read operation from the output shift register of the
AD7731. With the POL input at a logic high, the data is clocked
out of the output shift register on the falling edge of SCLK.
With the POL input at a logic low, the data is clocked out of the
output shift register on the rising edge of SCLK.
Figure 16 also shows the CS input being used to decode the
read operation to the AD7731. However, this CS input can be
used in a number of different ways. It is possible to operate the
part in three-wire mode where the CS input is tied low permanently. In this case, the SCLK line should idle high between
data transfer when the POL input is high and should idle low
between data transfers when the POL input is low. For POL = 1,
the first falling edge of SCLK clocks data from the output shift
register onto the DOUT line of the AD7731. It is then clocked
into the microcontroller on the next rising edge of SCLK. For
POL = 0, the first clock edge which clocks data from the AD7731
onto the DOUT line is a rising edge. It is then clocked into the
microcontroller on the next falling edge of SCLK.
In other microcontroller applications, which require a decoding
of the AD7731, CS can be generated from a port line. In this
case, CS would go low well in advance of the first falling edge of
SCLK (POL = 1) or the first rising edge of SCLK (POL = 0).
Clocking of each bit of data is as just described.
In DSP applications, the SCLK is generally a continuous clock.
In these applications, the CS input for the AD7731 is generated
from a frame synchronization signal from the DSP. In these
applications, the first edge after CS goes low is the active edge.
The MSB of the data to be shifted into the microcontroller must
be set up prior to this first active edge. Unlike microcontroller
applications, the DSP does not provide a clock edge to clock the
MSB from the AD7731. In this case, the CS of the AD7731
places the MSB on the DOUT line. For processors with the
rising edge of SCLK as the active edge, the POL input should
be tied high. In this case, the microcontroller takes data on the
rising edge. If CS goes low while SCLK is low, the MSB is
clocked out on the DOUT line from the CS. Subsequent data
bits are clocked from the falling edge of SCLK. For processors
with the falling edge of SCLK as the active edge, the POL input
should be tied low. In this case, the microcontroller takes data
on the falling edge. If CS goes low while SCLK is high, then the
MSB is clocked out on the DOUT line from the CS. Subsequent data bits are clocked from the rising edge of SCLK.
The RDY line is used as a status signal to indicate when data is
ready to be read from the AD7731’s data register. RDY goes
low when a new data word is available in the data register. It is
reset high when a read operation from the data register is complete. It also goes high prior to the updating of the data register
to indicate when a read from the data register should not be
initiated. This is to ensure that the transfer of data from the data
register to the output shift register does not occur while the data
register is being updated. It is possible to read the same data
twice from the output register even though the RDY line returns
high after the first read operation. Care must be taken, however,
to ensure that the read operations are not initiated as the next
output update is about to take place.
For systems with a single data line, the DIN and DOUT lines
on the AD7731 can be connected together but care must be
taken in this case not to place the part in continuous read mode
as the part monitors DIN while supplying data on DOUT and
as a result, it may not be possible to take the part out of its
continuous read mode.
RDY
t10
t3
CS
t4
t8
t6
SCLK
(POL = 1)
t7
t6
SCLK
(POL = 0)
t7
t5
t9
t5A
DOUT
MSB
LSB
Figure 17. Read Cycle Timing Diagram
REV. 0
–35–
AD7731
CONFIGURING THE AD7731
The AD7731 contains twelve on-chip registers which can be accessed via the serial interface. Figure 5 and Figure 6 have outlined a
flowchart for the reading and writing of these registers. Table XIX and Table XX outline sample pseudo-code for some commonly
used routines. The required operating conditions will dictate the values loaded to the Mode and Filter Registers. The values given
here are for example purposes only.
Table XIX. Pseudo-Code for Initiating a Self-Calibration after Power-On/Reset
Write 03 Hex to Serial Port1
/* Writes to Communications Register Setting Next Operation as Write to
Filter Register*/
Write 1332 Hex to Serial Port1
/* Writes to Filter Register Setting a 1 kHz Output Rate in nonCHOP
Mode*/
Write 02 Hex to Serial Port
/* Writes to Communications Register Setting Next Operation as Write to
Mode Register*/
Write B174 Hex to Serial Port
/* Writes to Mode Register Initiating Internal Full-Scale Calibration for
0 V to +1.28 V Input Range on Channel Pair AIN1/AIN2*/
Wait for RDY Low
/* Wait for RDY pin to go low to indicate end of calibration cycle*/
Write 02 Hex to Serial Port
/* Writes to Communications Register Setting Next Operation as Write to
Mode Register*/
Write 9174 Hex to Serial Port
/* Writes to Mode Register Initiating Internal Zero-Scale Calibration for
0 V to +1.28 V Input Range*/
Wait for RDY Low
/* Wait for RDY pin to go low to indicate end of calibration cycle*/
/* The part has now completed self-calibration and is in idle mode*/
1
This operation is not necessary if the default values of the Filter Register are the values used in the application.
Table XX. Pseudo-Code for Looping AD7731 Through Three Fully-Differential Channels
CHANNEL = 4 Hex
/* Sets a Variable Called CHANNEL*/
CH_LOOP: MODE = 2177 Hex
/* Sets a Variable Called MODE */
MODE = MODE AND CHANNEL
/* Logical AND of Both Variables */
Write 02 Hex to Serial Port
/* Writes to Communications Register Setting Next Operation as Write to
Mode Register*/
Write MODE to Serial Port
/* Writes to Mode Register Setting Continuous Conversion Mode for 0 V
to +1.28 V Input Range on Channel Determined by CHANNEL Variable*/
Wait for RDY Low
/* Wait for RDY pin to go low to Indicate Output Update*/
Write 11 Hex to Serial Port
/* Writes to Communications Register Setting Next Operation as Read
From Data Register*/
Read 24-Bit Data From Serial Port
/* Read Conversion Result from AD7731’s Data Register*/
Increment CHANNEL
/* Increments Channel Address*/
If CHANNEL = 7Hex Then Set CHANNEL = 4 Hex
/* Resets Channel Address*/
Loop to CH_LOOP
–36–
REV. 0
AD7731
MICROCOMPUTER/MICROPROCESSOR INTERFACING
The AD7731’s flexible serial interface allows for easy interface
to most microcomputers and microprocessors. The pseudo-code
of Table XVIII and Table XIX outline typical sequences for
interfacing a microcontroller or microprocessor to the AD7731.
Figures 18, 19 and 20 show some typical interface circuits.
The serial interface on the AD7731 has the capability of operating from just three wires and is compatible with SPI interface
protocols. The three-wire operation makes the part ideal for
isolated systems where minimizing the number of interface lines
minimizes the number of opto-isolators required in the system.
that the SCLK idle high, the CPOL bit of the 68HC11 should
be set to a logic 1 and the POL input of the AD7731 should be
hard-wired to a logic high.
The AD7731 is not capable of full duplex operation. If the
AD7731 is configured for a write operation, no data appears on
the DATA OUT lines even when the SCLK input is active.
However, when the AD7731 is configured for continuous read
operation, data presented to the part on the DATA IN line is
monitored to determine when to exit the continuous read mode.
DVDD
Register lengths on the AD7731 vary from 8 to 16 to 24 bits.
The 8-bit serial serial ports of most microcontrollers can handle
communication with these registers as either one, two or three
8-bit transfers. DSP processors and microprocessors generally
transfer 16 bits of data in a serial data operation. Some of these
processors, such as the ADSP-2105, have the facility to program
the amount of cycles in a serial transfer. This allows the user to
tailor the number of bits in any transfer to match the register
length of the required register in the AD7731. In any case,
writing 32 bits of data to a 24-bit register is not an issue provided the final 8 bits of the word are all 1s. This is because the
part returns to the Communications Register following a write
operation.
AD7731 to 68HC11 Interface
Figure 18 shows an interface between the AD7731 and the
68HC11 microcontroller. The diagram shows the minimum
(three-wire) interface with CS on the AD7731 hard-wired low.
In this scheme, the RDY bit of the Status Register is monitored
to determine when the Data Register is updated. An alternative
scheme, which increases the number of interface lines to four, is
to monitor the RDY output line from the AD7731. The monitoring of the RDY line can be done in two ways. First, RDY can
be connected to one of the 68HC11’s port bits (such as PC0)
which is configured as an input. This port bit is then polled to
determine the status of RDY. The second scheme is to use an
interrupt driven system in which case, the RDY output is connected to the IRQ input of the 68HC11. For interfaces which
require control of the CS input on the AD7731, one of the port
bits of the 68HC11 (such as PC1), which is configured as an
output, can be used to drive the CS input.
The 68HC11 is configured in the master mode with its CPOL
bit set to a logic zero and its CPHA bit set to a logic one. When
the 68HC11 is configured like this, its SCLK line idles low
between data transfers. Therefore, the POL input of the AD7731
should be hard-wired low. For systems where it is preferable
REV. 0
SS
DVDD
SYNC
RESET
68HC11
AD7731
SCK
SCLK
MISO
DATA OUT
MOSI
DATA IN
CS
POL
Figure 18. AD7731 to 68HC11 Interface
AD7731 to 8051 Interface
An interface circuit between the AD7731 and the 8XC51 microcontroller is shown in Figure 19. The diagram shows the minimum number of interface connections with CS on the AD7731
hard-wired low. In the case of the 8XC51 interface the minimum number of interconnects is just two. In this scheme, the
RDY bit of the Status Register is monitored to determine when
the Data Register is updated. The alternative scheme, which
increases the number of interface lines to three, is to monitor
the RDY output line from the AD7731. The monitoring of the
RDY line can be done in two ways. First, RDY can be connected to one of the 8XC51’s port bits (such as P1.0) which is
configured as an input. This port bit is then polled to determine
the status of RDY. The second scheme is to use an interrupt
driven system in which case, the RDY output is connected to
the INT1 input of the 8XC51. For interfaces which require
control of the CS input on the AD7731, one of the port bits of
the 8XC51 (such as P1.1), which is configured as an output,
can be used to drive the CS input.
–37–
AD7731
The 8XC51 is configured in its Mode 0 serial interface mode.
Its serial interface contains a single data line. As a result, the
DATA OUT and DATA IN pins of the AD7731 should be
connected together. This means that the AD7731 must not be
configured for continuous read operation when interfacing to
the 8XC51. The serial clock on the 8XC51 idles high between
data transfers and, therefore, the POL input of the AD7731
should be hard-wired to a logic high. The 8XC51 outputs the
LSB first in a write operation while the AD7731 expects the
MSB first so the data to be transmitted has to be rearranged
before being written to the output serial register. Similarly, the
AD7731 outputs the MSB first during a read operation while
the 8XC51 expects the LSB first. Therefore, the data read into
the serial buffer needs to be rearranged before the correct data
word from the AD7731 is available in the accumulator.
AD7731 to ADSP-2103/ADSP-2105 Interface
Figure 20 shows an interface between the AD7731 and the
ADSP-2105 DSP processor. In the interface shown, the RDY
bit of the Status Register is again monitored to determine when
the Data Register is updated. The alternative scheme is to use
an interrupt driven system, in which case the RDY output is
connected to the IRQ2 input of the ADSP-2105. The RFS and
TFS pins of the ADSP-2105 are configured as active low outputs and the ADSP-2105 serial clock line, SCLK, is also configured as an output. The POL pin of the AD7731 is hard-wired
low. Because the SCLK from the ADSP-2105 is a continuous
clock, the CS of the AD7731 must be used to gate off the clock
once the transfer is complete. The CS for the AD7731 is active
when either the RFS or TFS outputs from the ADSP-2105 are
active. The serial clock rate on the ADSP-2105 should be limited to 3 MHz to ensure correct operation with the AD7731.
DVDD
DVDD
SYNC
SYNC
ADSP-2105
RESET
RESET
8XC51
POL
AD7731
RFS
TFS
P3.0
CS
AD7731
DATA OUT
DR
DATA OUT
DT
DATA IN
DATA IN
P3.1
SCLK
SCLK
SCLK
POL
CS
Figure 20. AD7731 to ADSP-2105 Interface
Figure 19. AD7731 to 8XC51 Interface
–38–
REV. 0
AD7731
APPLICATIONS
Data Acquisition
The on-chip PGA allows the AD7731 to handle analog input
voltage ranges from 20 mV to 1.28 V. This makes the AD7731
suitable for a range of application areas from handling signals
directly from a transducer to processing fully-conditioned fullscale inputs. Some of these applications are discussed in the
following sections.
The AD7731 with its three differential channels (or five pseudodifferential channels) is suited to low bandwidth, high resolution
data acquisition systems. In addition, the three-wire digital
interface allows this data acquisition front end to be isolated
with just three optoisolators. The entire system can be operated
from a single +5 V supply provided that the input signals to the
AD7731’s analog inputs are all of positive polarity. Figure 21
shows the AD7731 in an isolated three-channel data acquisition
system.
The AD7731 offers both unipolar and bipolar input ranges. In
many cases, the application is single supply with the bipolar
input voltages referenced to a biased-up differential voltage.
Some applications will, however, require the flexibility of handling true bipolar inputs. Figure 25 shows how to configure the
AD7731 to handle this type of signal.
Programmable Logic Controllers
It should be noted in multiplexed applications that an input
overvoltage (either >AVDD + 0.3 V or <AGND – 0.3 V) on an
unselected channel can affect the conversion result on the selected channel. The system design should ensure that the input
voltage on channels where input leads may be unconnected or
broken be kept within the above limits.
The AD7731 has a variety of different modes aimed at optimizing the AD7731’s performance across differing application requirements. The issue of filtering and settling time and throughput rates
in multichannel applications has previously been discussed in the
Filter Architecture section.
The AD7731 is also suited to programmable logic controller
applications. In such applications, the ADC is required to
handle signals from a variety of different transducers. The
AD7731’s programmable gain front end allows the part to either
handle low level signals directly from a transducer or full-scale
signals which have already been conditioned. The fast throughput rate and settling-time of the part is also an important feature
in these applications where loop response time is often critical.
The configuration of the AD7731 in PLC applications is similar
to that outlined in Figure 21 for the data acquisition system.
+5V
AVDD
DVDD
AVDD
AD7731
100nA
AIN1
IN1+
SIGMA-DELTA A/D
CONVERTER
AIN3
IN2+
AIN4
IN2–
AIN5
IN3+
AIN6
SWITCHING
MATRIX
AIN2
IN1–
SIGMADELTA
MODULATOR
PGA
+5V
100nA
REF IN (+)
AD780
DIGITAL
FILTER
SYNC
MCLK IN
IN3–
+VIN
STANDBY
BUFFER
AGND
SERIAL INTERFACE
AND CONTROL LOGIC
CLOCK
GENERATION
MCLK OUT
REGISTER BANK
RESET
VOUT
RDY
REF IN (–)
POL
GND
AGND
DGND
DOUT
DIN
CS
MICROCONTROLLER
SCLK
OPTO-ISOLATORS
Figure 21. Data Acquisition Using the AD7731
REV. 0
–39–
AD7731
Figure 24 shows another temperature measurement application
for the AD7731. In this case, the temperature transducer is an
RTD (Resistive Temperature Device), a PT100. The arrangement is a four-lead RTD configuration. There are voltage drops
across lead resistances RL1 and RL4 and across resistor R2 but
these simply shift the common-mode voltage. Resistor R2 is
required to set the common-mode voltage within the allowable
range for the AD7731. The voltage differential caused by RL2
and RL3 and the AD7731’s offset current is negligible.
Pressure Measurement
One typical application of the AD7731 where it is connected
directly to a transducer is in pressure measurement. Figure 22
shows the AD7731 with a pressure transducer in a bridge
arrangement. The differential output from the transducer is
connected directly to the AIN1/AIN2 input channel. The entire
circuit is powered from a single +5 V supply that generates the
excitation voltage for the transducer and the power supply, and
reference voltage for the AD7731. The application is ratiometric
and variations in the excitation voltage do not introduce errors
in the measurement.
In the application shown, the external 400 µA current source
provides the excitation current for the PT100 and it also generates the reference voltage for the AD7731 via resistor R1. Variations in the excitation current do not affect the circuit as the
input voltage and the reference voltage vary ratiometrically with
the excitation current. Resistor R1, however, must have a low
temperature coefficient to avoid errors in the reference voltage
over temperature.
Temperature Measurement
Another application area where the transducer can be connected
directly to the AD7731 is in temperature measurement. Figure
23 outlines a connection between a thermocouple and the
AD7731. In order to place the differential voltage from the
AD7731 on a suitable common-mode voltage, the AIN2 input
of the AD7731 is biased up at the reference voltage, +2.5 V.
EXCITATION VOLTAGE = +5V
AVDD
DVDD
AVDD
IN+
AD7731
100nA
OUT+
OUT–
AIN1
SIGMA-DELTA A/D
CONVERTER
IN–
AIN3
AIN4
AIN5
SWITCHING
MATRIX
AIN2
PGA
SIGMADELTA
MODULATOR
DIGITAL
FILTER
SYNC
MCLK IN
AIN6
100nA
REF IN (+)
STANDBY
BUFFER
CLOCK
GENERATION
SERIAL INTERFACE
AND CONTROL LOGIC
MCLK OUT
REGISTER BANK
AGND
RESET
RDY
POL
REF IN (–)
AGND
DGND
DOUT
DIN
CS
SCLK
Figure 22. Pressure Measurement Using the AD7731
–40–
REV. 0
AD7731
+5V
AVDD
DVDD
AVDD
AD7731
100nA
THERMOCOUPLE
JUNCTION
R
AIN1
SIGMA-DELTA A/D
CONVERTER
AIN2
C
C
AIN3
AIN4
AIN5
SWITCHING
MATRIX
R
PGA
SIGMADELTA
MODULATOR
+5V
100nA
REF IN (+)
AD780
DIGITAL
FILTER
SYNC
MCLK IN
AIN6
+VIN
STANDBY
BUFFER
CLOCK
GENERATION
SERIAL INTERFACE
AND CONTROL LOGIC
MCLK OUT
REGISTER BANK
AGND
SCLK
CS
VOUT
REF IN (–)
GND
DIN
DOUT
AGND
DGND
RDY
POL
RESET
Figure 23. Temperature Measurement Using the AD7731
+5V
AVDD
400mA
REF IN (+)
RL1
R1
6.25kΩ
DVDD
AD7731
AVDD
100nA
REF IN (–)
RTD
RL3
AIN1
AIN2
SWITCHING
MATRIX
SIGMA-DELTA A/D
CONVERTER
RL2
BUFFER
PGA
DIGITAL
FILTER
SYNC
MCLK IN
100nA
R2
3kΩ
SIGMADELTA
MODULATOR
STANDBY
CLOCK
GENERATION
SERIAL INTERFACE
AND CONTROL LOGIC
MCLK OUT
REGISTER BANK
RL4
AGND
AGND
RESET
RDY
POL
DGND
DOUT
DIN
CS
SCLK
Figure 24. RTD Measurement Using the AD7731
REV. 0
–41–
AD7731
A1 and A2 buffer the resistor string voltages and provide the
AVDD and AGND voltages as well as the REF IN(+) and REF
IN(–) voltages for the AD7731. The differential reference voltage for the part is +5 V. If the input voltage is from a transducer
excited by the ± 5 V, the AD7731 retains its ratiometric operation with this reference voltage varying in sympathy with the
analog input voltage.
Bipolar Input Signals
As mentioned previously, some applications will require that the
AD7731 handle input signals that are negative with respect to
system ground. The number of applications requiring this are
limited but with the addition of some external components the
AD7731 is capable of handling such signals. Figure 25 outlines
one approach to the problem.
The example shown is a system that is driven from ± 5 V supplies. In such a circuit, two issues must be addressed. The first
is how to get the AD7731 to handle input voltages below ground
and the second is how to generate a suitable reference voltage
for the AD7731. The circuit of Figure 25 attempts to address
these two issues simultaneously.
The values of the resistors in the resistor string are chosen assuming the maximum input voltage range of ± 1.28 V is applied
to the AD7731. The minimum input voltage must be 1.2 V above
the AD7731’s AGND, while the maximum input voltage must be
0.95 V below the AD7731’s AVDD. For smaller input voltage
ranges, the resistor ratios in the resistor string can be changed
to allow a larger DVDD voltage. For example, if R1 = 3 kΩ,
R2 = 10 kΩ and R3 = 6.8 kΩ, the AVDD and AGND voltages
become +3.49 V and –1.56 V respectively. This allows the
AD7731 to be used with a +3.6 V DVDD voltage while allowing
analog input ranges of ± 320 mV and below.
The AD7731’s analog and digital supplies can be split such that
AVDD and DVDD can be at separate potentials and AGND and
DGND can also be at separate potentials. The only stipulation
is that AVDD or DVDD must not exceed the AGND by 5.5 V. In
Figure 25, the DVDD is operated at +3 V which allows the AGND
to go down to –2.5 V with respect to system ground. This
means that all logic signals to the part must not exceed 3 V with
respect to system ground. The AVDD is operated at +2.5 V with
respect to system ground.
An alternate scheme is to generate the AVDD and AGND voltages from regulators or Zener diodes driven from the +5 V and
–5 V supplies respectively. The reference voltage for the part
can be generated from an AD780 whose GND pin is connected
to the AD7731’s AGND pin.
The resistor string R1, R2 and R3 takes the ± 5 V supply voltage
and generates a differential voltage of nominally 5 V. Amplifiers
+3V
1/2 OP284
OR 1/2 OP213
+5V
DVDD
AVDD
AD7731
AVDD
+5V
R1
5kΩ
REF IN(+)
A1
100nA
SIGMA-DELTA A/D CONVERTER
–5V
STANDBY
R2
10kΩ
AIN1(–)
+5V
R3
5kΩ
–5V
REF IN(–)
A2
SWITCHING
MATRIX
AIN1(+)
BUFFER
AGND
PROGRAMMABLE
DIGITAL
FILTER
SYNC
MCLK IN
SERIAL INTERFACE
AND CONTROL LOGIC
–5V
1/2 OP284
OR 1/2 OP213
SIGMADELTA
MODULATOR
PGA
100nA
CLOCK
GENERATION
MCLK OUT
REGISTER BANK
AGND
SCLK
CS
CALIBRATION
MICROCONTROLLER
DIN
DOUT
ALL VOLTAGE VALUES ARE WITH
RESPECT TO SYSTEM GROUND.
DGND
SYSTEM
GROUND
POL
RDY
RESET
Figure 25. Bipolar Input Signals on the AD7731
–42–
REV. 0
AD7731
PAGE INDEX
Topic
Page
FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
GENERAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . 1
SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
TIMING CHARACTERISTICS . . . . . . . . . . . . . . . . . . . . . 4
ABSOLUTE MAXIMUM RATINGS . . . . . . . . . . . . . . . . . 5
ORDERING GUIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
DETAILED FUNCTIONAL BLOCK DIAGRAM . . . . . . . 6
SIGNAL PROCESSING CHAIN . . . . . . . . . . . . . . . . . . . . . 7
PIN CONFIGURATION . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
PIN FUNCTION DESCRIPTIONS . . . . . . . . . . . . . . . . . . 7
TERMINOLOGY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
OUTPUT NOISE AND RESOLUTION
SPECIFICATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
ON-CHIP REGISTERS . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Summary Of On-Chip Registers . . . . . . . . . . . . . . . . . . . 12
Communications Register . . . . . . . . . . . . . . . . . . . . . . . . 13
Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Mode Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Filter Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Offset Calibration Register . . . . . . . . . . . . . . . . . . . . . . . 19
Gain Calibration Register . . . . . . . . . . . . . . . . . . . . . . . . 19
Test Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
READING FROM AND WRITING TO THE
ON-CHIP REGISTERS . . . . . . . . . . . . . . . . . . . . . . . . . 20
CALIBRATION OPERATION SUMMARY . . . . . . . . . . . 21
CIRCUIT DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . 22
ANALOG INPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Analog Input Channels . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Analog Input Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Bipolar/Unipolar Inputs . . . . . . . . . . . . . . . . . . . . . . . . . 23
Burnout Currents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
REFERENCE INPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Reference Detect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
SIGMA-DELTA MODULATOR . . . . . . . . . . . . . . . . . . . . 24
DIGITAL FILTERING . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Filter Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
First Stage Filter/SKIP Mode Enabled . . . . . . . . . . . . . . 25
Second Stage Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Normal FIR Operation . . . . . . . . . . . . . . . . . . . . . . . . . . 25
FASTStep™ Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
CALIBRATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Internal Zero-Scale Calibration . . . . . . . . . . . . . . . . . . . . 29
Internal Full-Scale Calibration . . . . . . . . . . . . . . . . . . . . 30
System Zero-Scale Calibration . . . . . . . . . . . . . . . . . . . . 30
System Full-Scale Calibration . . . . . . . . . . . . . . . . . . . . . 30
Span and Offset Limits . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Power-Up and Calibration . . . . . . . . . . . . . . . . . . . . . . . 31
Drift Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
USING THE AD7731 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Clocking and Oscillator Circuit . . . . . . . . . . . . . . . . . . . . 32
System Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . 32
Single-Shot Conversions . . . . . . . . . . . . . . . . . . . . . . . . . 32
Reset Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Standby Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Digital Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
POWER SUPPLIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Grounding and Layout . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Evaluating the AD7731 Performance . . . . . . . . . . . . . . . 33
REV. 0
Topic
Page
SERIAL INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Write Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Read Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
CONFIGURING THE AD7731 . . . . . . . . . . . . . . . . . . . . . 36
MICROCOMPUTER/MICROPROCESSOR
INTERFACING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
AD7731 to 68HC11 Interface . . . . . . . . . . . . . . . . . . . . . 37
AD7731 to 8051 Interface . . . . . . . . . . . . . . . . . . . . . . . 37
AD7731 to ADSP-2103/ADSP-2105 Interface . . . . . . . . 38
APPLICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Data Acquisition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Programmable Logic Controllers . . . . . . . . . . . . . . . . . . 39
Pressure Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Temperature Measurement . . . . . . . . . . . . . . . . . . . . . . . 40
Bipolar Input Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
OUTLINE DIMENSIONS . . . . . . . . . . . . . . . . . . . . . . . . . 44
TABLE INDEX
Table
Title
Page
Table I.
Output Noise vs. Input Range and
Update Rate (CHP = 0, SKIP = 1) . . . . . . . 10
Table II.
Peak-to-Peak Resolution vs. Input Range
and Update Rate (CHP = 0, SKIP = 1) . . . . 10
Table III.
Output Noise vs. Input Range and
Update Rate (CHP = 1, SKIP = 0) . . . . . . . 11
Table IV.
Peak-to-Peak Resolution vs. Input Range
and Update Rate (CHP = 1, SKIP = 0) . . . . 11
Table V.
Summary of On-Chip Registers . . . . . . . . . . 12
Table VI.
Communications Register . . . . . . . . . . . . . . 13
Table VII.
Read/Write Mode . . . . . . . . . . . . . . . . . . . . 13
Table VIII.
Register Selection . . . . . . . . . . . . . . . . . . . . 14
Table IX.
Status Register . . . . . . . . . . . . . . . . . . . . . . . 14
Table X.
Mode Register . . . . . . . . . . . . . . . . . . . . . . . 15
Table XI.
Operating Modes . . . . . . . . . . . . . . . . . . . . . 15
Table XII.
Input Range Selection . . . . . . . . . . . . . . . . . 17
Table XIII.
Channel Selection . . . . . . . . . . . . . . . . . . . . 18
Table XIV.
Filter Register . . . . . . . . . . . . . . . . . . . . . . . 18
Table XV.
SF Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table XVI.
Calibration Operations . . . . . . . . . . . . . . . . 21
Table XVII.
Reset Events . . . . . . . . . . . . . . . . . . . . . . . . 22
Table XVIII. Time to First and Subsequent Outputs
Following Channel Change . . . . . . . . . . . . . 28
Table XIX.
Pseudo-Code for Initiating a
Self-Calibration After Power-On/Reset . . . . 36
Table XX.
Pseudo-Code for Looping Through Three
Fully-Differential Channels . . . . . . . . . . . . . 36
–43–
AD7731
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
24-Lead Plastic DIP
(N-24)
24
13
1
12
PIN 1
0.210
(5.33)
MAX
0.200 (5.05)
0.125 (3.18)
0.280 (7.11)
0.240 (6.10)
0.325 (8.25)
0.300 (7.62) 0.195 (4.95)
0.115 (2.93)
0.060 (1.52)
0.015 (0.38)
0.150
(3.81)
MIN
0.100 (2.54)
BSC
0.022 (0.558)
0.014 (0.356)
C3152–12–7/97
1.275 (32.30)
1.125 (28.60)
0.070 (1.77)
0.045 (1.15)
0.015 (0.381)
0.008 (0.204)
SEATING
PLANE
24-Lead Wide Body (SOIC)
(R-24)
13
1
12
PIN 1
0.1043 (2.65)
0.0926 (2.35)
0.0500
(1.27)
BSC
0.0118 (0.30)
0.0040 (0.10)
0.4193 (10.65)
0.3937 (10.00)
24
0.2992 (7.60)
0.2914 (7.40)
0.6141 (15.60)
0.5985 (15.20)
0.0291 (0.74)
x 45°
0.0098 (0.25)
8°
0.0192 (0.49)
0°
SEATING
0.0125 (0.32)
0.0138 (0.35) PLANE
0.0091 (0.23)
0.0500 (1.27)
0.0157 (0.40)
24-Lead Thin Shrink Small Outline (TSSOP)
(RU-24)
13
0.256 (6.50)
0.246 (6.25)
0.177 (4.50)
0.169 (4.30)
24
1
0.006 (0.15)
0.002 (0.05)
SEATING
PLANE
PRINTED IN U.S.A.
0.311 (7.90)
0.303 (7.70)
12
PIN 1
0.0433
(1.10)
MAX
0.0256 (0.65)
BSC
0.0118 (0.30)
0.0075 (0.19)
–44–
0.0079 (0.20)
0.0035 (0.090)
8°
0°
0.028 (0.70)
0.020 (0.50)
REV. 0