ETC AB-116

®
SYNCHRONIZATION OF EXTERNAL ANALOG
MULTIPLEXERS WITH THE ∆Σ A/D CONVERTERS
By Bonnie C. Baker
Many of the delta-sigma Analog-to-Digital converters in
Burr-Brown’s product line come in pairs, where one is a
single channel differential input converter and the second is
a four channel differential input converter. This is true for
the ADS1210 and ADS1211. The ADS1210 has one differential input, where the ADS1211 has four differential inputs
(as shown in Figure 1). Another similar pair in the BurrBrown product line is the ADS1212 (one differential input)
and the ADS1213 (four differential inputs). In the case of the
ADS1211 and ADS1213, the four channel input capability is
implemented internally with a analog multiplexer input
stage followed by a single programmable gain amplifier
stage and a second-order modulator. At the end of the signal
path a third-order digital filter is used to refine the accuracy
to 23 bits for the ADS1210 and ADS1211 and 19 bits for the
ADS1212 and ADS1213.
stage continually samples the input signal and changes it to
a steady stream of ones and zeros. The stream of ones and
zeros is then sampled and brought into the digital filter
section in a FIFO manner. The digital filter implements a
moving average algorithm on block of the bits contained in
its registers. The results of the digital averaging calculation
is presented at the output of the A/D converter as one
conversion. The digital filter that is designed in the ADS1210,
ADS1211, ADS1212, and ADS1213 is a third order FIR
filter and calculates a weighted average of three consecutive
conversions; the current conversion data which is most
heavily weighted and was modulated three conversions
prior, the next conversion data which was modulated two
conversions prior and the modulator data that was most
recently modulated which is the most lightly weighted data.
This method of achieving high accuracies of 19 bits
(ADS1212 and ADS1213) or 23 bits (ADS1210 or ADS1211)
has little impact if the analog input signal is slow changing.
A worst case scenario is where the input signal jumps from
minus full scale to plus full scale as a step function. This can
easily occur if a multiplexer is used at the input of the
device. The advantage of having internal multiplexers, as is
Multiplexing signals at the input of A/D converters is not a
new technique, however, the combination of modulator
stage and digital filter in these products offer challenging
synchronization problems. In simple terms, the modulator
AGND AVDD REFOUT
REFIN
+2.5V
Reference
AIN1P
1
VBIAS
XIN
+3.3V Bias
Generator
XOUT
MODE
Clock Generator
DGND
AIN1N
DVDD
Micro Controller
AIN2P
AINP
AIN2N
AIN3P
MUX
PGA
AINN
Second-Order
∆∑
Modulator
Third-Order
Digital Filter
AIN3N
AIN4P
AIN4N
Instruction Register
Command Register
Data Output Register
Offset Register
Full-Scale Register
Modulator Control
ADS1211 Only
ADS1210/11
Serial Interface
DSYNC
CS
SCLK
SDIO
SDOUT
DRDY
FIGURE 1. The circuit topology of the delta-sigma converter line from Burr-Brown, including the ADS1210, ADS1211,
ADS1212, and ADS1213 is shown here. The ADS1211 and ADS1213 have internal, four channel analog
multiplexers added to their front end.
©
1997 Burr-Brown Corporation
AB-116
1
Printed in U.S.A. June, 1997
3
4
with the ADS1211 and ADS1213, is that the multiplexer
switching action is synchronized with the digital filter and
final output conversion of the device. As a consequence, the
settling time from one channel of the multiplexer to another
channel is three conversions. If the multiplexer switch is not
synchronized with the converters digital filter, the settling
time becomes four conversions. This affect is characterized
and discussed in Burr-Brown’s application note, AB-111,
“DEM-ADS1210/11 Demo Board Tricks to Evaluate the
Step Responses of the ADS1211 Multiplexer Switching”.
The timing diagram for this circuit is shown in Figure 3. The
DRDY is used for the binary counter’s clock. When three
DRDYs have occurred, the RCO pin of the binary counter
provides a reset pulse through the 74AC11074 flip-flop to
the LOAD pin of the binary counter. This reset pulse is also
used to flag the micro controller to intiate the analog multiplexer channel change, followed by the data transfer from
the A/D converter to the controller.
It is useful to know that the A/D converter modulator section
samples normally at a rate of 20kHz with a 10MHz clock. If
the Turbo Mode is increased from 1 to 2, the sampling rate
then becomes 40kHz. And so it follows, for a Turbo Mode
of 4, 8 and 16, the sampling rate of the modulator section is
80kHz, 160kHz, and 320kHz, inclusively. Once DRDY goes
low, the output of the modulator presents the next conversion’s
sampled data at its output at the rates mentioned above. It is
for this reason that the speed at which the micro controller
responds to the RCO pulse is critical. If the output of the
modulator completes more than 2 cycles (in accordance with
the Turbo Mode setting), the settling time of the converter
will start to be compromised. This is true regardless of
whether the internal multiplexer of the A/D converter (for
the ADS1211 or ADS1213) or an external mux is used. With
Although the ADS1211 and ADS1213 four channel input
A/D converters offer a convenient solution to this synchronization problem, there may be circuits where it is most
effective to have more than four multiplexed channels per
converter. In these cases an external analog multiplexer(s) is
required. Figure 2 gives an easy way to synchronize external
multiplexers to this family of A/D converters. In this circuit,
the falling edge of DRDY is used to switch the multiplexer
channels. With this circuit, only three conversions are required to allow the ∆Σ converter to settle to its final value as
opposed to four conversions in a non-synchronized case.
These three conversions can be counted by the µC or a
simple counter such as a 74HC163 binary counter.
74AC11074
Q
Micro
D
Q
CLK
Controller
+5
74AS163
CLR
LOAD
Analog
Multiplexer
System
REFIN
AINN
REFOUT
ENT
AVDD
ENP
AGND
•
•
•
+5
AINP
MODE
VBIAS
CS
RCO
ADS1210 DRDY
CLK
+5
DSYNC
SDOUT
XIN
SDIO
XOUT
SCLK
DGND
DVDD
A
B
C
D
FIGURE 2. External multiplexer systems can be synchronized to Burr-Brown's delta-sigma converter line with this circuit.
DRDY of the delta-sigma A/D converter, ADS1210, is used as the clock signal to the 74AS163 decade counter.
The decade counter is configured to count three DRDY pulses, then to notify the micro controller through RCO
of the counter.
2
DRDY
RCO
SCLK
MUX
System
Channel
Change
FIGURE 3. This is the timing diagram for the circuit shown in Figure 2. DRDY is used as the counter's clock. At the end of
three conversions of the recent conversion is taken from the ADS1210. In the slave mode the ADS1210 is prompted
using CS and SCLK. In the master mode, SCLK is monitored to clock in the data transfer.
6.00
5.00
Digital Output
4.00
3.00
2.00
1.00
0.00
–1.00
1
2
3
4
5
6
7
8
9
10
11
Samples at Output of A/D Converter
FIGURE 4. An external multiplexer is used in conjunction with the ADS1210. Channel 1 of the multiplexer is grounded, while
channel 2 is driven with a 5V input. Four data points are taken per multiplexer channel switching to illustrate that
the A/D converter has in fact settled to its final value are only three conversions. The digital output is translated
to its equivalent analog input value in volts.
the external multiplexer circuit (Figure 2), it is preferable
that the analog multiplexer channel is changed prior to the
transfer of data from the A/D converter to the controller.
With the external multiplexer system synchronized to the
conversion process of the A/D converter the settling time for
this circuit can be returned to the optimum three conversions.
To verify the circuit concept, a DEM-ADS1210/11 demonstration fixture was used with the ADS1210, A/D converter
inserted as the DUT. The timing circuit was configured to
clock the change between channel 1 and channel 2 of an
external multiplexer every four DRDY pulses. Channel 1 of
the analog multiplexer is grounded, while channel 2 is
driven with the 5V power supply voltage. The results are
shown in Figure 4.
The information provided herein is believed to be reliable; however, BURR-BROWN assumes no responsibility for inaccuracies or omissions. BURR-BROWN assumes
no responsibility for the use of this information, and all use of such information shall be entirely at the user’s own risk. Prices and specifications are subject to change
without notice. No patent rights or licenses to any of the circuits described herein are implied or granted to any third party. BURR-BROWN does not authorize or warrant
any BURR-BROWN product for use in life support devices and/or systems.
3