ADC0831/ADC0832/ADC0834 and ADC0838 8-Bit Serial I/O A/D Converters With Multiplexer Options
ADC0831/ADC0832/ADC0834 and ADC0838 8-Bit Serial I/O A/D Converters With Multiplexer Options
ADC0831/ADC0832/ADC0834 and ADC0838 8-Bit Serial I/O A/D Converters With Multiplexer Options
A
D
C
0
8
3
1
A
D
C
0
8
3
2
A
D
C
0
8
3
4
a
n
d
A
D
C
0
8
3
8
8
-
B
i
t
S
e
r
i
a
l
I
O
A
D
C
o
n
v
e
r
t
e
r
s
w
i
t
h
M
u
l
t
i
p
l
e
x
e
r
O
p
t
i
o
n
s
January 1995
ADC0831ADC0832ADC0834 and ADC0838
8-Bit Serial IO AD Converters with Multiplexer Options
General Description
The ADC0831 series are 8-bit successive approximation
AD converters with a serial IO and configurable input mul-
tiplexers with up to 8 channels The serial IO is configured
to comply with the NSC MICROWIRE
TM
serial data ex-
change standard for easy interface to the COPS
TM
family of
processors and can interface with standard shift registers
or mPs
The 2- 4- or 8-channel multiplexers are software configured
for single-ended or differential inputs as well as channel as-
signment
The differential analog voltage input allows increasing the
common-mode rejection and offsetting the analog zero in-
put voltage value In addition the voltage reference input
can be adjusted to allow encoding any smaller analog volt-
age span to the full 8 bits of resolution
Features
Y
NSC MICROWIRE compatibledirect interface to
COPS family processors
Y
Easy interface to all microprocessors or operates
stand-alone
Y
Operates ratiometrically or with 5 V
DC
voltage
reference
Y
No zero or full-scale adjust required
Y
2- 4- or 8-channel multiplexer options with address
logic
Y
Shunt regulator allows operation with high voltage
supplies
Y
0V to 5V input range with single 5V power supply
Y
Remote operation with serial digital data link
Y
TTLMOS inputoutput compatible
Y
03" standard width 8- 14- or 20-pin DIP package
Y
20 Pin Molded Chip Carrier Package (ADC0838 only)
Y
Surface-Mount Package
Key Specifications
Y
Resolution 8 Bits
Y
Total Unadjusted Error g LSB and g1 LSB
Y
Single Supply 5 V
DC
Y
Low Power 15 mW
Y
Conversion Time 32 ms
Typical Application
TLH55831
TRI-STATE is a registered trademark of National Semiconductor Corporation
COPSTM and MICROWIRETM are trademarks of National Semiconductor Corporation
C1995 National Semiconductor Corporation RRD-B30M115Printed in U S A
Absolute Maximum Ratings (Notes 1 2)
If MilitaryAerospace specified devices are required
please contact the National Semiconductor Sales
OfficeDistributors for availability and specifications
Current into V
a
(Note 3) 15 mA
Supply Voltage V
CC
(Note 3) 65V
Voltage
Logic Inputs b03V to V
CC
a 03V
Analog Inputs b03V to V
CC
a 03V
Input Current per Pin (Note 4) g5 mA
Package g20 mA
Storage Temperature b65`C to a150`C
Package Dissipation
at T
A
e25`C (Board Mount) 08W
Lead Temperature (Soldering 10 sec)
Dual-In-Line Package (Plastic) 260`C
Dual-In-Line Package (Ceramic) 300`C
Molded Chip Carrier Package
Vapor Phase (60 sec) 215`C
Infrared (15 sec) 220`C
ESD Susceptibility (Note 5) 2000V
Operating Ratings (Notes 1 2)
Supply Voltage V
CC
45 V
DC
to 63 V
DC
Temperature Range T
MIN
s
T
A
s
T
MAX
ADC08318BCJ
ADC083148CCJ
ADC0832BIWM
ADC0831248CIWM b40`C to a85`C
ADC0831248BCN
ADC0838BCV
ADC0831248CCN
ADC0838CCV
ADC0831248CCWM 0`C to a70`C
Converter and Multiplexer Electrical Characteristics
The following specifications apply for V
CC
e Va e V
REF
e 5V V
REF
s
V
CC
a01V T
A
e T
j
e 25`C and f
CLK
e 250 kHz
unless otherwise specified Boldface limits apply from T
MIN
to T
MAX
5
5
8
3
6
*
M
a
k
e
s
u
r
e
c
l
o
c
k
e
d
g
e
1
8
c
l
o
c
k
s
i
n
t
h
e
L
S
B
b
e
f
o
r
e
S
E
i
s
t
a
k
e
n
l
o
w
8
ADC0838 Functional Block Diagram
T
L
5
5
8
3
7
*Some of these functionspins are not available with other options
Note 1 For the ADC0834 D1 is input directly to the D input of SELECT 1 SELECT 0 is forced to a 1 For the ADC0832 DI is input directly to the DI input of
ODDSIGN SELECT 0 is forced to a 0 and SELECT 1 is forced to a 1
9
Connection Diagrams
ADC0838 8-Channel MUX
Small OutlineDual-In-Line Package (J M and N)
TLH55838
Top View
ADC0834 4-Channel MUX
Small OutlineDual-In-Line Package (J M and N)
TLH558330
Top View
COM internally connected to A GND
ADC0832 2-Channel MUX
Dual-In-Line Package (J and N)
TLH558331
Top View
COM internally connected to GND
V
REF
internally connected to V
CC
256)
TLH558310
a) Ratiometric b) Absolute with a Reduced Span
FIGURE 2 Reference Examples
14
Functional Description (Continued)
40 THE ANALOG INPUTS
The most important feature of these converters is that they
can be located right at the analog signal source and through
just a few wires can communicate with a controlling proces-
sor with a highly noise immune serial bit stream This in itself
greatly minimizes circuitry to maintain analog signal accura-
cy which otherwise is most susceptible to noise pickup
However a few words are in order with regard to the analog
inputs should the input be noisy to begin with or possibly
riding on a large common-mode voltage
The differential input of these converters actually reduces
the effects of common-mode input noise a signal common
to both selected a and b inputs for a conversion (60
Hz is most typical) The time interval between sampling the
a input and then the b input is of a clock period
The change in the common-mode voltage during this short
time interval can cause conversion errors For a sinusoidal
common-mode signal this error is
V
error
(max)e V
PEAK
(2qf
CM
)
05
f
CLK J
where f
CM
is the frequency of the common-mode signal
V
PEAK
is its peak voltage value
and f
CLK
is the AD clock frequency
For a 60 Hz common-mode signal to generate a LSB
error (5 mV) with the converter running at 250 kHz its
peak value would have to be 663V which would be larger
than allowed as it exceeds the maximum analog input limits
Due to the sampling nature of the analog inputs short spikes
of current enter the a input and exit the b input at the
clock edges during the actual conversion These currents
decay rapidly and do not cause errors as the internal com-
parator is strobed at the end of a clock period Bypass ca-
pacitors at the inputs will average these currents and cause
an effective DC current to flow through the output resist-
ance of the analog signal source Bypass capacitors should
not be used if the source resistance is greater than 1 kX
This source resistance limitation is important with regard to
the DC leakage currents of input multiplexer as well The
worst-case leakage current of g1 mA over temperature will
create a 1 mV input error with a 1 kX source resistance An
op amp RC active low pass filter can provide both imped-
ance buffering and noise filtering should a high impedance
signal source be required
50 OPTIONAL ADJUSTMENTS
51 Zero Error
The zero of the AD does not require adjustment If the
minimum analog input voltage value V
IN(MIN)
is not ground
a zero offset can be done The converter can be made to
output 0000 0000 digital code for this minimum input voltage
by biasing any V
IN
(b) input at this V
IN(MIN)
value This
utilizes the differential mode operation of the AD
The zero error of the AD converter relates to the location
of the first riser of the transfer function and can be mea-
sured by grounding the V
IN
(b) input and applying a small
magnitude positive voltage to the V
IN
(a) input Zero error is
the difference between the actual DC input voltage which is
necessary to just cause an output digital code transition
from 0000 0000 to 0000 0001 and the ideal LSB value
( LSBe98 mV for V
REF
e5000 V
DC
)
52 Full-Scale
The full-scale adjustment can be made by applying a differ-
ential input voltage which is 1 LSB down from the desired
analog full-scale voltage range and then adjusting the mag-
nitude of the V
REF
input (or V
CC
for the ADC0832) for a
digital output code which is just changing from 1111 1110 to
1111 1111
53 Adjusting for an Arbitrary Analog Input Voltage
Range
If the analog zero voltage of the AD is shifted away from
ground (for example to accommodate an analog input sig-
nal which does not go to ground) this new zero reference
should be properly adjusted first A V
IN
(a) voltage which
equals this desired zero reference plus LSB (where the
LSB is calculated for the desired analog span using
1 LSBe analog span256) is applied to selected a input
and the zero reference voltage at the corresponding b
input should then be adjusted to just obtain the 00
HEX
to
01
HEX
code transition
The full-scale adjustment should be made |with the proper
V
IN
(b) voltage applied] by forcing a voltage to the V
IN
(a)
input which is given by
V
IN
(a) fs adj e V
MAX
b15
(V
MAX
bV
MIN
)
256 (
where
V
MAX
e the high end of the analog input range
and
V
MIN
e the low end (the offset zero) of the analog
range
(Both are ground referenced)
The V
REF
(or V
CC
) voltage is then adjusted to provide a
code change from FE
HEX
to FF
HEX
This completes the ad-
justment procedure
60 POWER SUPPLY
A unique feature of the ADC0838 and ADC0834 is the inclu-
sion of a zener diode connected from the V
a
terminal to
ground which also connects to the V
CC
terminal (which is
the actual converter supply) through a silicon diode as
shown in Figure 3 (See Note 3)
TLH558311
FIGURE 3 An On-Chip Shunt Regulator Diode
15
Functional Description (Continued)
This zener is intended for use as a shunt voltage regulator
to eliminate the need for any additional regulating compo-
nents This is most desirable if the converter is to be re-
motely located from the system power source Figures 4
and 5 illustrate two useful applications of this on-board ze-
ner when an external transistor can be afforded
An important use of the interconnecting diode between V
a
and V
CC
is shown in Figures 6 and 7 Here this diode is
used as a rectifier to allow the V
CC
supply for the converter
to be derived from the clock The low current requirements
of the AD and the relatively high clock frequencies used
(typically in the range of 10k400 kHz) allows using the
small value filter capacitor shown to keep the ripple on the
V
CC
line to well under of an LSB The shunt zener regula-
tor can also be used in this mode This requires a clock
voltage swing which is in excess of V
Z
A current limit for the
zener is needed either built into the clock generator or a
resistor can be used from the CLK pin to the V
a
pin
Applications
TLH558312
FIGURE 4 Operating with a Temperature
Compensated Reference
TLH558334
FIGURE 5 Using the AD as
the System Supply Regulator
TLH558335
FIGURE 6 Generating V
CC
from the Converter Clock
TLH558336
FIGURE 7 Remote Sensing
Clock and Power on 1 Wire
*Note 45V s V
CC
s 63V
16
Applications (Continued)
Digital Link and Sample Controlling Software for the
Serially Oriented COP420 and the Bit Programmable IO INS8048
TLH558313
COP CODING EXAMPLE
Mnemonic Instruction
LEI ENABLES SIOs INPUT AND OUTPUT
SC C e 1
OGI G0e0 (CSe0)
CLR A CLEARS ACCUMULATOR
AISC 1 LOADS ACCUMULATOR WITH 1
XAS EXCHANGES SIO WITH ACCUMULATOR
AND STARTS SK CLOCK
LDD LOADS MUX ADDRESS FROM RAM
INTO ACCUMULATOR
NOP
XAS LOADS MUX ADDRESS FROM
ACCUMULATOR TO SIO REGISTER
u
8 INSTRUCTIONS
v
XAS READS HIGH ORDER NIBBLE (4 BITS)
INTO ACCUMULATOR
XIS PUTS HIGH ORDER NIBBLE INTO RAM
CLR A CLEARS ACCUMULATOR
RC C e 0
XAS READS LOW ORDER NIBBLE INTO
ACCUMULATOR AND STOPS SK
XIS PUTS LOW ORDER NIBBLE INTO RAM
OGI G0e1 (CSe1)
LEI DISABLES SIOs INPUT AND OUTPUT
8048 CODING EXAMPLE
Mnemonic Instruction
START ANL P1 0F7H SELECT AD (CSe0)
MOV B 5 BIT COUNTERw5
MOV A ADDR AwMUX ADDRESS
LOOP 1 RRC A CYwADDRESS BIT
JC ONE TEST BIT
BITe0
ZERO ANL P1 0FEH DIw0
JMP CONT CONTINUE
BITe1
ONE ORL P1 1 DIw1
CONT CALL PULSE PULSE SK 0x1x0
DJNZ B LOOP 1 CONTINUE UNTIL DONE
CALL PULSE EXTRA CLOCK FOR SYNC
MOV B 8 BIT COUNTERw8
LOOP 2 CALL PULSE PULSE SK 0x1x0
IN A P1 CYwDO
RRC A
RRC A
MOV A C AwRESULT
RLC A A(0)wBIT AND SHIFT
MOV C A CwRESULT
DJNZ B LOOP 2 CONTINUE UNTIL DONE
RETR
PULSE SUBROUTINE
PULSE ORL P1 04 SKw1
NOP DELAY
ANL P1 0FBH SKw0
RET
17
Applications (Continued)
A Stand-Alone Hook-Up for ADC0838 Evaluation
*Pinouts shown for ADC0838
For all other products tie to
pin functions as shown
Low-Cost Remote Temperature Sensor
TLH558314
18
Applications (Continued)
Digitizing a Current Flow
TLH558315
Operating with Ratiometric Transducers
TLH558337
*V
IN
(b) e 015 V
CC
15% of V
CC
s V
XDR
s 85% of V
CC
19
Applications (Continued)
Span Adjust OV
s
V
IN
s
3V
Zero-Shift and Span Adjust 2V
s
V
IN
s
5V
TLH558316
20
Applications (Continued)
Obtaining Higher Resolution
TLH558317
Controller performs a routine to determine which input polarity (9-bit example) or which channel pair (10-bit example) provides a non-zero output code
This information provides the extra bits
a) 9-Bit AD b)10-Bit AD
Protecting the Input
Diodes are 1N914
TLH558318
21
Applications (Continued)
High Accuracy Comparators
TLH558338
DO e all 1s if aV
IN
l bV
IN
DO e all 0s if aV
IN
k bV
IN
Digital Load Cell
TLH558319
Uses one more wire than load cell itself
Two mini-DIPs could be mounted inside load cell for digital output transducer
Electronic offset and gain trims relax mechanical specs for gauge factor and offset
Low level cell output is converted immediately for high noise immunity
22
Applications (Continued)
4 mA20 mA Current Loop Converter
All power supplied by loop
1500V isolation at output TLH558320
Isolated Data Converter
No power required remotely
1500V isolation
TLH558339
23
Applications (Continued)
TLH558321
T
w
o
W
i
r
e
I
n
t
e
r
f
a
c
e
f
o
r
8
C
h
a
n
n
e
l
s
24
Applications (Continued)
Two Wire 1-Channel Interface
TLH558322
Ordering Information
Part Number
Analog Input Total
Package
Temperature
Channels Unadjusted Error Range
ADC0831BCJ
1
g
Hermetic (J) b40`C to a85`C
ADC0831BCN Molded (N) 0`C to a70`C
ADC0831CCJ
g1
Hermetic (J) b40`C to a85`C
ADC0831CCN Molded (N) 0`C to a70`C
ADC0831CIWM SO(M) b40`C to a85`C
ADC0831CCWM SO(M) 0`C to a70`C
ADC0832BIWM
2
g
SO(M) b40`C to a85`C
ADC0832BCN Molded (N) 0`C to a70`C
ADC0832CIWM
g1
SO(M) b40`C to a85`C
ADC0832CCN Molded (N) 0`C to a70`C
ADC0832CCWM SO(M) 0`C to a70`C
25
Ordering Information (Continued)
Part Number
Analog Input Total
Package
Temperature
Channels Unadjusted Error Range
ADC0834BCN
4
g Molded (N) 0`C to a70`C
ADC0834CCJ
g1
Hermetic (J) b40`C to a85`C
ADC0834CCN Molded (N) 0`C to a70`C
ADC0834CCWM SO(M) 0`C to a70`C
ADC0834CIWM SO(M) b40`C to a85`C
ADC0838BCJ
8
g
Hermetic (J) b40`C to a85`C
ADC0838BCV PCC (V) 0`C to a70`C
ADC0838BCN Molded (N) 0`C to a70`C
ADC0838CCJ
g1
Hermetic (J) b40`C to a85`C
ADC0838CCV PCC (V) 0`C to a70`C
ADC0838CCN Molded (N) 0`C to a70`C
ADC0838CIWM SO(M) b40`C to a85`C
ADC0838CCWM SO(M) 0`C to a70`C
See NS Package Number J08A J14A J20A M14B M20B N08E N14A N20A or V20A
26
27
Physical Dimensions inches (millimeters)
Ceramic Dual-In-Line Package (J)
NS Package Number J08A
Ceramic Dual-In-Line Package (J)
NS Package Number J14A
28
Physical Dimensions inches (millimeters) (Continued)
Ceramic Dual-In-Line Package (J)
NS Package Number J20A
Hermetic Dual-In-Line Package (M)
NS Package Number M14B
29
Physical Dimensions inches (millimeters) (Continued)
Hermetic Dual-In-Line Package (M)
NS Package Number M20B
Molded Dual-In-Line Package (N)
NS Package Number N08E
30
Physical Dimensions inches (millimeters) (Continued)
Molded Dual-In-Line Package (N)
NS Package Number N14A
Molded-Dual-In-Line Package (N)
NS Package Number N20A
31
A
D
C
0
8
3
1
A
D
C
0
8
3
2
A
D
C
0
8
3
4
a
n
d
A
D
C
0
8
3
8
8
-
B
i
t
S
e
r
i
a
l
I
O
A
D
C
o
n
v
e
r
t
e
r
s
w
i
t
h
M
u
l
t
i
p
l
e
x
e
r
O
p
t
i
o
n
s
Physical Dimensions inches (millimeters) (Continued)
Molded Chip Carrier Package (V)
Order Number ADC0838BCV or ADC0838CCV
NS Package Number V20A
LIFE SUPPORT POLICY
NATIONALS PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL
SEMICONDUCTOR CORPORATION As used herein
1 Life support devices or systems are devices or 2 A critical component is any component of a life
systems which (a) are intended for surgical implant support device or system whose failure to perform can
into the body or (b) support or sustain life and whose be reasonably expected to cause the failure of the life
failure to perform when properly used in accordance support device or system or to affect its safety or
with instructions for use provided in the labeling can effectiveness
be reasonably expected to result in a significant injury
to the user
National Semiconductor National Semiconductor National Semiconductor National Semiconductor
Corporation Europe Hong Kong Ltd Japan Ltd
1111 West Bardin Road Fax (a49) 0-180-530 85 86 13th Floor Straight Block Tel 81-043-299-2309
Arlington TX 76017 Email cnjwge@tevm2nsccom Ocean Centre 5 Canton Rd Fax 81-043-299-2408
Tel 1(800) 272-9959 Deutsch Tel (a49) 0-180-530 85 85 Tsimshatsui Kowloon
Fax 1(800) 737-7018 English Tel (a49) 0-180-532 78 32 Hong Kong
Franais Tel (a49) 0-180-532 93 58 Tel (852) 2737-1600
Italiano Tel (a49) 0-180-534 16 80 Fax (852) 2736-9960
National does not assume any responsibility for use of any circuitry described no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications
This datasheet has been download from:
www.datasheetcatalog.com
Datasheets for electronics components.