Académique Documents
Professionnel Documents
Culture Documents
using ADC0808
By
Raghuveer Varahagiri
Roll No. 99726
AU Regd. No. 2012326
4/4 Electronics and Instrumentation
Engineering
Srikanth Mallajyosula
Roll No. 99748
AU Regd. No. 2012347
4/4 Electronics and Instrumentation
Engineering
COLLEGE OF ENGINEERING
GANDHI INSTITUTE OF TECHNOLOGY AND MANAGEMENT
VISAKHAPATNAM
Certificate
This is to certify that Mr. Raghuveer Varahagiri bearing Roll No.99726
(A.U. Regd. No. 2012326) has carried out the project work entitled Simple
Analog-to-Digital Converter using ADC0808 and submitted in the partial
fulfillment of the requirements for the award of the degree of Bachelor of
Engineering during the academic year 2002-2003.
Contents
Introduction
Project Objective
Analog-to-Digital Conversion
Successive Approximation A-to-D Conversion
The ADC0808
Astable Multivibrator using 7404 inverter gates
Circuit Diagram
Circuit Description
Result
Bibliography
Introduction
Project Objective
The objective of this project is to construct a simple analog-to-digital converter
circuit using the ADC0808 IC.
The ADC0808 is an 8-bit Analog-to-Digital converter IC which uses the
successive approximation technique for the conversion. It has a total
unadjusted error of LSB. It is capable of converting one of the eight analog
input signals, selected with the help of an 8-channel multiplexer. The clock
signal required by the IC is generated using an astable multivibrator circuit
constructed using 7404 inverter gates. The digital output is displayed using an
array of eight LEDs.
Analog-to-Digital conversion
The function of an analog-to-digital converter is to produce a digital word
which represents the magnitude of some analog voltage or current. The
following are some specifications of an Analog-to-digital converter.
Resolution
The resolution of an Analog-to-Digital converter refers to the number of bits in
the output binary word. For example, ADC0808 which produces an 8-bit
binary word as output, has a resolution of 1 part in 256 (= 28) or 0.39 percent.
Accuracy
The accuracy specification of an Analog-to-Digital converter is a comparison
between the actual output and the expected output. It is specified as a
percentage of the full-scale output. Ideally the maximum error for a converter
should be no more than the value of LSB.
Linearity
Linearity is a measure of how much the output of the converter deviates from
an ideal straight line transfer curve as the input varies from the minimum to
the maximum.
Conversion Time
It is the time taken by the converter to produce a valid output binary code for
an applied input voltage. A converter is said to be high-speed if it has a short
conversion time.
Many different types of analog-to-digital converters are available. Differing
ADC types offer varying resolution, accuracy and speed specifications. The
most popular techniques used for Analog-to-Digital conversion are
1. Parallel (Flash) conversion
2. Successive Approximation ADC
3. Integrating or Dual-Slope ADC
Since the ADC0808 uses the Successive Approximation technique for the
conversion, this technique will be discussed in detail.
Successive Approximation A-to-D conversion
Successive Approximation is a very effective and relatively inexpensive method
of analog-to-digital conversion. This is an electronic implementation of a
technique called binary regression.
A successive approximation ADC employs a digital-to-analog converter (DAC)
and a single comparator. A special shift register called a SuccessiveApproximation Register (SAR) is used to control the DAC. The ADC effectively
makes a bisection or binomial search by beginning with an output of zero. It
provisionally sets each bit of the DAC, beginning with the most significant bit.
The search compares the output of the DAC to the voltage being measured. If
setting a bit to one causes the DAC output to rise above the input voltage,
that bit is set to zero. Otherwise, that bit is left unaltered. This process is
continued for all the bits of the SAR.
A Start Conversion (SC) signal is provided, which when pulsed, initiates the
conversion cycle. An N-bit ADC requires N clock cycles for the conversion of
an analog input. When the conversion is complete, the binary result is placed
on the parallel outputs of the SAR, and the SAR sends out an End-OfConversion (EOC) signal. For continuous conversion, the EOC signal may be
connected to the SC signal.
For an 8-bit ADC whose input range is 0-5V, The output of the DAC is given
by
) Volts
The sequence of operations carried out for the conversion of an input of 3.2V
is shown below.
Iteration
SAR
D7 D6 D5 D4 D3 D2 D1 D0 VDAC (Volts)
Vin (Volts)
Output
1 0 0 0 0 0 0 0
2.5
3.2
1 1 0 0 0 0 0 0
3.75
3.2
1 0 1 0 0 0 0 0
3.125
3.2
1 0 1 1 0 0 0 0
3.4375
3.2
1 0 1 0 1 0 0 0
3.28125
3.2
1 0 1 0 0 1 0 0
3.203125
3.2
1 0 1 0 0 0 1 0
3.1640625
3.2
1 0 1 0 0 0 1 1
3.18359375
3.2
VCE = VCC I C RC
The collector current in cut-off is negligible (IC = hFE IE; IE = 0 in cut-off) and
thus the collector terminal is at logic HIGH i.e., VCC.
When a logic HIGH input (VCC) is applied at the base terminal, both the
junctions are forward-biased and the transistor is driven to saturation. The
output terminal is at a potential of VCE = VCE
SAT
considered as ground potential. Thus the output of the circuit is logic LOW.
An astable multivibrator or a free-running oscillator circuit has two quasistable states and makes periodic transitions between the two states. A
collector-coupled astable multivibrator circuit is shown below.
VC = VCC e
RC
The time required for the capacitor to charge from 0V to the threshold voltage
VT is given by
V
t = RC ln T
VCC
This corresponds to half the time period of the square wave output (i.e., t =
T/2). Thus, the frequency of the output waveform is given by
f =
1
=
T
1
V
2 RC ln T
VCC
R=
1
V
2 fC ln T
VCC
= 613.72
Circuit Diagram
Circuit Description
As shown in the circuit diagram, the power supply and the eight single-ended
analog inputs are given to the circuit through a 10-pin connector. The input
signal to be converted is selected through a DIP switch. In the OFF state of the
switches, the address lines are pulled HIGH by 100k pull-up resistors. When
the switches are in the ON state, the address lines are grounded. The large
value of the pull-up resistors prevents excessive flow of current from the
power supply.
The ADC0808 is connected to provide continuous conversion by connecting
the EOC signal (Pin 7) to the SC input (Pin 6). The SC signal for the first
conversion after power-up may be provided manually through the pushbutton provided. The address available on the address lines is latched into the
decoder during the low-to-high transition of the ALE signal. The ALE (Pin 22)
has also been connected to the pushbutton to facilitate the latching of a new
address selected through the DIP switch. In the OFF state of the pushbutton,
the SC input is pulled LOW by the 100k pull-down resistor. The large value of
the pull-down resistor prevents excessive currents when the pushbutton is
pressed or when the EOC signal becomes HIGH. Moreover, since the EOC
signal is also connected to the ALE input, the address available on the address
lines is loaded into the address latch at the beginning of each conversion.
When an analog input in the range VREF(+) (5V) and VREF(-) (0V) is given to one
of the input terminals, and the corresponding address is selected using the
DIP switch, the ADC0808 converts the analog input into an 8-bit binary word
which is displayed by the array of LEDs. Since the ADC has been connected in
the continuous conversion mode, the selected input is continuously sampled
and converted, and the output follows the variations in the input.
Result
The above Analog-to-Digital converter circuit has been constructed, with the
clock signal being provided by the astable multivibrator employing 7404
inverter gates. The circuit has been found to provide accurate and continuous
digital output for input voltage in the entire range of VREF(-) through VREF(+),
applied at the selected input terminal.
Bibliography
1. Simple Analog-to-Digital Converter - B. P. Ladgaonkar, Electronics for
You, September 1999.
2. Microprocessors and Interfacing : Programming and Hardware, 2nd Ed.
Douglas V. Hall, Tata McGraw-Hill Publishing Company Limited, 1999.
3. Modern Electronic Instrumentation and Measurenment Techniques
Albert D. Helfrick and William D. Cooper, Prentice Hall of India Private
Limited, 1997.
4. Microprocessor Architecture, Programming and Applications With the
8085 Ramesh S. Gaonkar, Penram International Publishing (India),
1997.
5. ADC0808/ADC0809 8-Bit Microprocessor Compatible A/D Converters
with 8-channel Multiplexer : Datasheet National Semiconductors.
6. Pulse, Digital and Switching waveforms Jacob Millman and Herbert
Taub, Tata McGraw-Hill Publishing Company Limited, 1991.
7. Pulse, Digital Circuits and Computer Fundamentals R. Venkataraman,
Dhanpat Rai Publications, 1994.
Appendix A
National Semiconductor
ADC0808/ADC0809
ADC0808/ADC0809
8-Bit P Compatible A/D Converters with 8-Channel
Multiplexer
General Description
Features
Key Specifications
n
n
n
n
n
Resolution
Total Unadjusted Error
Single Supply
Low Power
Conversion Time
8 Bits
Block Diagram
DS005672-1
See Ordering
Information
DS005672
www.national.com
October 1999
ADC0808/ADC0809
Connection Diagrams
Dual-In-Line Package
DS005672-12
DS005672-11
Ordering Information
TEMPERATURE RANGE
Error
12 LSB Unadjusted
1 LSB Unadjusted
Package Outline
www.national.com
40C to +85C
ADC0808CCN
ADC0808CCV
ADC0809CCN
ADC0809CCV
55C to +125C
ADC0808CCJ
ADC0808CJ
Operating Conditions
300C
215C
220C
400V
(Notes 1, 2)
TMINTATMAX
40CTA+85C
40C TA +85C
4.5 VDC to 6.0 VDC
Electrical Characteristics
Converter Specifications: VCC = 5 VDC = VREF+, VREF() = GND, TMINTATMAX and fCLK = 640 kHz unless otherwise stated.
Symbol
Parameter
Conditions
Min
Typ
Max
Units
12
34
LSB
1
114
LSB
VCC+0.10
VDC
ADC0808
Total Unadjusted Error
25C
(Note 5)
TMIN to TMAX
LSB
ADC0809
VREF(+)
0C to 70C
(Note 5)
TMIN to TMAX
Input Resistance
1.0
GND0.10
Measured at Ref(+)
VREF()
IIN
VCC/2-0.1
Measured at Ref()
fc = 640 kHz, (Note 6)
LSB
2.5
VCC
VCC+0.1
VCC/2
VCC/2+0.1
0.1
0.5
Electrical Characteristics
Digital Levels and DC Specifications: ADC0808CCN, ADC0808CCV, ADC0809CCN and ADC0809CCV, 4.75VCC5.25V,
40CTA+85C unless otherwise noted
Symbol
Parameter
Conditions
Min
Typ
Max
Units
10
200
nA
1.0
ANALOG MULTIPLEXER
IOFF(+)
IOFF()
TMIN to TMAX
VCC = 5V, VIN = 0,
TA = 25C
200
TMIN to TMAX
1.0
10
nA
A
CONTROL INPUTS
VIN(1)
VIN(0)
IIN(1)
VCC1.5
VIN = 15V
1.5
1.0
VIN = 0
1.0
Supply Current
0.3
3.0
mA
www.national.com
ADC0808/ADC0809
ADC0808/ADC0809
Electrical Characteristics
(Continued)
Digital Levels and DC Specifications: ADC0808CCN, ADC0808CCV, ADC0809CCN and ADC0809CCV, 4.75VCC5.25V,
40CTA+85C unless otherwise noted
Symbol
Parameter
Conditions
Min
Typ
Max
Units
VOUT(0)
VOUT(0)
IOUT
VCC = 4.75V
IOUT = 360A
IOUT = 10A
IO = 1.6 mA
2.4
4.5
V(min)
V(min)
0.45
IO = 1.2 mA
VO = 5V
VO = 0
0.45
Electrical Characteristics
Timing Specifications VCC = VREF(+) = 5V, VREF() = GND, tr = tf = 20 ns and TA = 25C unless otherwise noted.
Typ
Max
Units
tWS
Symbol
Parameter
(Figure 5)
Conditions
MIn
100
200
ns
tWALE
(Figure 5)
100
200
ns
ts
(Figure 5)
25
50
ns
tH
25
50
ns
tD
(Figure 5)
RS = 0 (Figure 5)
2.5
125
250
ns
125
250
ns
90
100
116
10
640
1280
kHz
From ALE
tH1, tH0
t1H, t0H
OE Control to Hi-Z
tc
Conversion Time
fc
Clock Frequency
tEOC
(Figure 5)
8+2 S
Clock
Periods
CIN
Input Capacitance
At Control Inputs
10
15
pF
COUT
TRI-STATE Output
At TRI-STATE Outputs
10
15
pF
Capacitance
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. DC and AC electrical specifications do not apply when operating
the device beyond its specified operating conditions.
Note 2: All voltages are measured with respect to GND, unless othewise specified.
Note 3: A zener diode exists, internally, from VCC to GND and has a typical breakdown voltage of 7 VDC.
Note 4: Two on-chip diodes are tied to each analog input which will forward conduct for analog input voltages one diode drop below ground or one diode drop greater
than the VCCn supply. The spec allows 100 mV forward bias of either diode. This means that as long as the analog VIN does not exceed the supply voltage by more
than 100 mV, the output code will be correct. To achieve an absolute 0VDC to 5VDC input voltage range will therefore require a minimum supply voltage of 4.900 VDC
over temperature variations, initial tolerance and loading.
Note 5: Total unadjusted error includes offset, full-scale, linearity, and multiplexer errors. See Figure 3. None of these A/Ds requires a zero or full-scale adjust. However, if an all zero code is desired for an analog input other than 0.0V, or if a narrow full-scale span exists (for example: 0.5V to 4.5V full-scale) the reference voltages
can be adjusted to achieve this. See Figure 13.
Note 6: Comparator input current is a bias current into or out of the chopper stabilized comparator. The bias current varies directly with clock frequency and has little
temperature dependence (Figure 6). See paragraph 4.0.
Note 7: The outputs of the data register are updated one clock cycle before the rising edge of EOC.
Note 8: Human body model, 100 pF discharged through a 1.5 k resistor.
www.national.com
The successive approximation register (SAR) performs 8 iterations to approximate the input voltage. For any SAR type
converter, n-iterations are required for an n-bit converter.
Figure 2 shows a typical example of a 3-bit converter. In the
ADC0808, ADC0809, the approximation technique is extended to 8 bits using the 256R network.
TABLE 1.
SELECTED
ADDRESS LINE
ANALOG
CHANNEL
IN0
IN1
IN2
IN3
IN4
IN5
IN6
IN7
CONVERTER CHARACTERISTICS
The Converter
The heart of this single chip data acquisition system is its
8-bit analog-to-digital converter. The converter is designed to
give fast, accurate, and repeatable conversions over a wide
range of temperatures. The converter is partitioned into 3
major sections: the 256R ladder network, the successive approximation register, and the comparator. The converters
digital outputs are positive true.
The 256R ladder network approach (Figure 1) was chosen
over the conventional R/2R ladder because of its inherent
monotonicity, which guarantees no missing digital codes.
Monotonicity is particularly important in closed loop feedback
control systems. A non-monotonic relationship can cause oscillations that will be catastrophic for the system. Additionally,
the 256R network does not cause load variations on the reference voltage.
www.national.com
ADC0808/ADC0809
The bottom resistor and the top resistor of the ladder network in Figure 1 are not the same value as the remainder of
the network. The difference in these resistors causes the
output characteristic to be symmetrical with the zero and
full-scale points of the transfer curve. The first output transition occurs when the analog signal has reached +12 LSB
and succeeding output transitions occur every 1 LSB later up
to full-scale.
Functional Description
ADC0808/ADC0809
Functional Description
(Continued)
DS005672-2
DS005672-13
DS005672-14
DS005672-15
www.national.com
ADC0808/ADC0809
Timing Diagram
DS005672-4
FIGURE 5.
www.national.com
ADC0808/ADC0809
DS005672-16
DS005672-17
t1H, tH1
DS005672-18
tH1, CL = 50 pF
DS005672-19
t0H, CL = 10 pF
t0H, tH0
DS005672-22
DS005672-21
DS005672-20
tH0, CL = 50 pF
DS005672-23
FIGURE 8.
DX = Data point being measured
DMAX = Maximum data limit
DMIN = Minimum data limit
A good example of a ratiometric transducer is a potentiometer used as a position sensor. The position of the wiper is directly proportional to the output voltage which is a ratio of the
full-scale voltage across it. Since the data is represented as
a proportion of full-scale, reference requirements are greatly
reduced, eliminating a large source of error and cost for
many applications. A major advantage of the ADC0808,
ADC0809 is that the input voltage range is equal to the supply range so the transducers can be connected directly
across the supply and their outputs connected directly into
the multiplexer inputs, (Figure 9).
Ratiometric transducers such as potentiometers, strain
gauges, thermistor bridges, pressure transducers, etc., are
suitable for measuring proportional relationships; however,
many types of measurements must be referred to an absolute standard such as voltage or current. This means a sys-
Applications Information
OPERATION
1.0 RATIOMETRIC CONVERSION
The ADC0808, ADC0809 is designed as a complete Data
Acquisition System (DAS) for ratiometric conversion systems. In ratiometric systems, the physical variable being
measured is expressed as a percentage of full-scale which is
not necessarily related to an absolute standard. The voltage
input to the ADC0808 is expressed by the equation
(1)
VIN = Input voltage into the ADC0808
Vfs = Full-scale voltage
VZ = Zero voltage
www.national.com
(Continued)
tem reference must be used which relates the full-scale voltage to the standard volt. For example, if VCC = VREF = 5.12V,
then the full-scale range is divided into 256 standard steps.
The smallest standard step is 1 LSB which is then 20 mV.
2.0 RESISTOR LADDER LIMITATIONS
The voltages from the resistor ladder are compared to the
selected into 8 times in a conversion. These voltages are
coupled to the comparator via an analog switch tree which is
referenced to the supply. The voltages at the top, center and
bottom of the ladder must be controlled to maintain proper
operation.
Figure 10 shows a ground referenced system with a separate supply and reference. In this system, the supply must be
trimmed to match the reference voltage. For instance, if a
5.12V is used, the supply should be adjusted to the same
voltage within 0.1V.
DS005672-7
www.national.com
ADC0808/ADC0809
Applications Information
ADC0808/ADC0809
Applications Information
(Continued)
DS005672-24
DS005672-25
www.national.com
10
ADC0808/ADC0809
Applications Information
(Continued)
DS005672-26
DS005672-27
RA = RB
*Ratiometric transducers
(4)
Where: VIN = Voltage at comparator input
VREF(+) = Voltage at Ref(+)
VREF() = Voltage at Ref()
VTUE = Total unadjusted error voltage (typically
VREF(+)512)
(2)
The center of an output code N is given by:
(3)
11
www.national.com
ADC0808/ADC0809
Applications Information
(Continued)
Typical Application
DS005672-10
*Address latches needed for 8085 and SC/MP interfacing the ADC0808 to a microprocessor
www.national.com
READ
WRITE
INTERRUPT (COMMENT)
8080
MEMR
MEMW
8085
RD
WR
Z-80
RD
WR
SC/MP
NRDS
NWDS
SA (Thru Sense A)
6800
VMA 2 R/W
VMA R/W
12
ADC0808/ADC0809
Physical Dimensions
www.national.com
Notes
National Semiconductor
Europe
Fax: +49 (0) 1 80-530 85 86
Email: europe.support@nsc.com
Deutsch Tel: +49 (0) 1 80-530 85 85
English Tel: +49 (0) 1 80-532 78 32
Franais Tel: +49 (0) 1 80-532 93 58
Italiano Tel: +49 (0) 1 80-534 16 80
National Semiconductor
Asia Pacific Customer
Response Group
Tel: 65-2544466
Fax: 65-2504466
Email: sea.support@nsc.com
National Semiconductor
Japan Ltd.
Tel: 81-3-5639-7560
Fax: 81-3-5639-7507
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.
Appendix B
Texas Instruments
HEX INVERTERS
description
These devices contain six independent inverters.
SN5404 . . . J PACKAGE
SN54LS04, SN54S04 . . . J OR W PACKAGE
SN7404 . . . D, N, OR NS PACKAGE
SN74LS04 . . . D, DB, N, OR NS PACKAGE
SN74S04 . . . D OR N PACKAGE
(TOP VIEW)
1A
1Y
2A
2Y
3A
3Y
GND
14
13
12
11
10
VCC
6A
6Y
5A
5Y
4A
4Y
SN5404 . . . W PACKAGE
(TOP VIEW)
1A
2Y
2A
14
13
12
VCC
3A
3Y
4A
11
10
1Y
6A
6Y
GND
5Y
5A
4Y
1Y
1A
NC
VCC
6A
3 2 1 20 19
18
17
16
15
14
9 10 11 12 13
6Y
NC
5A
NC
5Y
3Y
GND
NC
4Y
4A
2A
NC
2Y
NC
3A
NC No internal connection
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
Copyright 2002, Texas Instruments Incorporated
ORDERING INFORMATION
PDIP N
0C to 70C
ORDERABLE
PART NUMBER
PACKAGE
TA
SOIC D
SOP NS
SSOP DB
CDIP J
55C to 125C
CFP W
LCCC FK
TOP-SIDE
MARKING
Tube
SN7404N
SN7404N
Tube
SN74LS04N
SN74LS04N
Tube
SN74S04N
SN74S04N
Tube
SN7404D
7404
Tube
SN74LS04D
SN74LS04DR
Tube
SN74S04D
SN74S04DR
SN7404NSR
SN7404
SN74LS04NSR
74LS04
SN74LS04DBR
LS04
Tube
SN5404J
SN5404J
Tube
SNJ5404J
SNJ5404J
Tube
SN54LS04J
SN54LS04J
Tube
SN54S04J
SN54S04J
Tube
SNJ54LS04J
SNJ54LS04J
Tube
SNJ54S04J
SNJ54S04J
Tube
SNJ5404W
SNJ5404W
Tube
SNJ54LS04W
SNJ54LS04W
Tube
SNJ54S04W
SNJ54S04W
Tube
SNJ54LS04FK
SNJ54LS04FK
Tube
SNJ54S04FK
LS04
S04
SNJ54S04FK
Package drawings, standard packing quantities, thermal data, symbolization, and PCB design guidelines
are available at www.ti.com/sc/package.
FUNCTION TABLE
(each inverter)
INPUT
A
OUTPUT
Y
1Y
2A
2Y
3A
3Y
4A
4Y
5A
5Y
6A
6Y
Y=A
4 k
130
1.6 k
Input A
Output Y
1 k
GND
LS04
S04
VCC
20 k
120
8 k
Input
A
VCC
4 k
2.8 k
Output
Y
50
900
Input
A
3.5 k
Output
Y
12 k
500
250
3 k
1.5 k
GND
GND
absolute maximum ratings over operating free-air temperature range (unless otherwise noted)
Supply voltage, VCC (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 V
Input voltage, VI: 04, S04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5 V
LS04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 V
Package thermal impedance, JA (see Note 2): D package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86C/W
DB package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96C/W
N package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80C/W
NS package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76C/W
Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65C to 150C
Stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. This are stress ratings only, and
functional operation of the device at these or any other conditions beyond those indicated under recommended operating conditions is not
implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
NOTES: 1. Voltage values are with respect to network ground terminal.
2. The package thermal impedance is calculated in accordance with JESD 51-7.
SN5404
VCC
VIH
Supply voltage
VIL
IOH
IOL
TA
MIN
NOM
MAX
MIN
NOM
MAX
4.5
5.5
4.75
5.25
V
V
0.8
0.8
0.4
0.4
mA
16
mA
70
16
UNIT
125
TEST CONDITIONS
PARAMETER
VIK
VOH
VCC = MIN,
VCC = MIN,
II = 12 mA
VIL = 0.8 V,
VOL
II
VCC = MIN,
VCC = MAX,
VIH = 2 V,
VI = 5.5 V
IIH
IIL
VCC = MAX,
VCC = MAX,
VI = 2.4 V
VI = 0.4 V
IOS
ICCH
VCC = MAX
VCC = MAX,
MAX
SN7404
MIN TYP
1.5
IOH = 0.4 mA
IOL = 16 mA
2.4
3.4
0.2
1.5
2.4
0.4
3.4
0.2
20
MAX
UNIT
V
V
0.4
1
V
mA
40
40
1.6
1.6
mA
55
mA
12
mA
ICCL
VCC = MAX,
18
33
18
For conditions shown as MIN or MAX, use the appropriate value specified under recommended operating conditions.
All typical values are at VCC = 5 V, TA = 25C.
Not more than one output should be shorted at a time.
33
mA
VI = 0 V
VI = 4.5 V
55
6
18
12
FROM
(INPUT)
TO
(OUTPUT)
SN5404
SN7404
TEST CONDITIONS
MIN
RL = 400
,
CL = 15 pF
F
UNIT
TYP
MAX
12
22
15
ns
SN54LS04
VCC
VIH
Supply voltage
VIL
IOH
IOL
TA
MIN
NOM
MAX
MIN
NOM
MAX
4.5
5.5
4.75
5.25
V
V
0.7
0.8
0.4
0.4
mA
mA
70
UNIT
125
VIK
VOH
SN54LS04
MIN TYP
MAX
TEST CONDITIONS
PARAMETER
VCC = MIN,
VCC = MIN,
II = 18 mA
VIL = MAX,
VOL
VCC = MIN
MIN,
VIH = 2 V
II
IIH
VCC = MAX,
VCC = MAX,
VI = 7 V
VI = 2.7 V
IIL
IOS
VCC = MAX,
VCC = MAX
VI = 0.4 V
ICCH
ICCL
VCC = MAX,
VCC = MAX,
VI = 0 V
VI = 4.5 V
SN74LS04
MIN TYP
MAX
1.5
IOH = 0.4 mA
IOL = 4 mA
2.5
3.4
0.25
1.5
2.7
3.4
0.4
0.25
0.5
0.1
0.1
mA
20
20
0.4
20
V
V
0.4
IOL = 8 mA
UNIT
100
20
0.4
mA
100
mA
1.2
2.4
1.2
2.4
mA
3.6
6.6
3.6
6.6
mA
For conditions shown as MIN or MAX, use the appropriate value specified under recommended operating conditions.
All typical values are at VCC = 5 V, TA = 25C.
Not more than one output should be shorted at a time and the duration of the short-circuit should not exceed one second.
FROM
(INPUT)
TO
(OUTPUT)
TEST CONDITIONS
SN54LS04
SN74LS04
MIN
RL = 2 k
k,
CL = 15 pF
F
UNIT
TYP
MAX
15
10
15
ns
SN54S04
MIN
NOM
MAX
MIN
NOM
MAX
4.5
5.5
4.75
5.25
UNIT
VCC
VIH
Supply voltage
VIL
IOH
0.8
0.8
mA
IOL
TA
20
mA
70
20
55
125
TEST CONDITIONS
PARAMETER
VIK
VOH
VCC = MIN,
VCC = MIN,
II = 18 mA
VIL = 0.8 V,
VOL
II
VCC = MIN,
VCC = MAX,
VIH = 2 V,
VI = 5.5 V
IIH
IIL
VCC = MAX,
VCC = MAX,
VI = 2.7 V
VI = 0.5 V
IOS
ICCH
VCC = MAX
VCC = MAX,
SN74S04
MIN TYP
MAX
1.2
IOH = 1 mA
IOL = 20 mA
2.5
3.4
40
1.2
2.7
3.4
UNIT
V
V
0.5
0.5
V
mA
50
50
mA
100
mA
15
24
mA
ICCL
VCC = MAX,
30
54
30
For conditions shown as MIN or MAX, use the appropriate value specified under recommended operating conditions.
All typical values are at VCC = 5 V, TA = 25C.
Not more than one output should be shorted at a time and the duration of the short-circuit should not exceed one second.
54
mA
VI = 0 V
VI = 4.5 V
100
15
40
24
TO
(OUTPUT)
tPLH
tPHL
RL = 280
,
CL = 15 pF
F
tPLH
tPHL
RL = 280
,
CL = 50 pF
F
PARAMETER
SN54S04
SN74S04
TEST CONDITIONS
MIN
UNIT
TYP
MAX
4.5
4.5
5
ns
ns
VCC
RL
(see Note B)
From Output
Under Test
CL
(see Note A)
High-Level
Pulse
1.5 V
S2
LOAD CIRCUIT
FOR 3-STATE OUTPUTS
3V
Timing
Input
1.5 V
1 k
Test
Point
LOAD CIRCUIT
FOR OPEN-COLLECTOR OUTPUTS
LOAD CIRCUIT
FOR 2-STATE TOTEM-POLE OUTPUTS
S1
(see Note B)
CL
(see Note A)
RL
CL
(see Note A)
RL
From Output
Under Test
VCC
From Output
Under Test
Test
Point
1.5 V
0V
tw
Low-Level
Pulse
1.5 V
tsu
Data
Input
1.5 V
VOLTAGE WAVEFORMS
PULSE DURATIONS
1.5 V
1.5 V
In-Phase
Output
(see Note D)
tPHL
VOH
1.5 V
Out-of-Phase
Output
(see Note D)
0V
1.5 V
1.5 V
Waveform 1
(see Notes C
and D)
tPLZ
VOH
1.5 V
1.5 V
VOL
VOLTAGE WAVEFORMS
PROPAGATION DELAY TIMES
1.5 V
1.5 V
VOL
tPZH
tPLH
1.5 V
0V
tPZL
VOL
tPHL
1.5 V
3V
Output
Control
(low-level
enabling)
0V
tPLH
3V
1.5 V
VOLTAGE WAVEFORMS
SETUP AND HOLD TIMES
3V
Input
th
Waveform 2
(see Notes C
and D)
VOL + 0.5 V
tPHZ
VOH
1.5 V
VOH 0.5 V
1.5 V
VOLTAGE WAVEFORMS
ENABLE AND DISABLE TIMES, 3-STATE OUTPUTS
VCC
RL
From Output
Under Test
CL
(see Note A)
CL
(see Note A)
High-Level
Pulse
1.3 V
S2
LOAD CIRCUIT
FOR 3-STATE OUTPUTS
3V
Timing
Input
1.3 V
5 k
Test
Point
LOAD CIRCUIT
FOR OPEN-COLLECTOR OUTPUTS
LOAD CIRCUIT
FOR 2-STATE TOTEM-POLE OUTPUTS
S1
(see Note B)
CL
(see Note A)
RL
(see Note B)
RL
From Output
Under Test
VCC
From Output
Under Test
Test
Point
1.3 V
0V
tw
Low-Level
Pulse
1.3 V
tsu
0V
In-Phase
Output
(see Note D)
3V
1.3 V
1.3 V
0V
tPZL
tPLZ
tPHL
VOH
1.3 V
1.3 V
Waveform 1
(see Notes C
and D)
VOL
tPZH
tPLH
VOH
1.3 V
1.3 V
VOL
Waveform 2
(see Notes C
and D)
VOLTAGE WAVEFORMS
PROPAGATION DELAY TIMES
1.5 V
1.3 V
VOL
tPHL
Out-of-Phase
Output
(see Note D)
1.3 V
0V
Output
Control
(low-level
enabling)
1.3 V
tPLH
1.3 V
VOLTAGE WAVEFORMS
SETUP AND HOLD TIMES
3V
1.3 V
3V
Data
Input
1.3 V
VOLTAGE WAVEFORMS
PULSE DURATIONS
Input
th
VOL + 0.5 V
tPHZ
VOH
1.3 V
VOH 0.5 V
1.5 V
VOLTAGE WAVEFORMS
ENABLE AND DISABLE TIMES, 3-STATE OUTPUTS
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,
enhancements, improvements, and other changes to its products and services at any time and to discontinue
any product or service without notice. Customers should obtain the latest relevant information before placing
orders and should verify that such information is current and complete. All products are sold subject to TIs terms
and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in
accordance with TIs standard warranty. Testing and other quality control techniques are used to the extent TI
deems necessary to support this warranty. Except where mandated by government requirements, testing of all
parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for
their products and applications using TI components. To minimize the risks associated with customer products
and applications, customers should provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right,
copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process
in which TI products or services are used. Information published by TI regarding thirdparty products or services
does not constitute a license from TI to use such products or services or a warranty or endorsement thereof.
Use of such information may require a license from a third party under the patents or other intellectual property
of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if reproduction is without
alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction
of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for
such altered documentation.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that
product or service voids all express and any implied warranties for the associated TI product or service and
is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.
Mailing Address:
Texas Instruments
Post Office Box 655303
Dallas, Texas 75265