Professional Documents
Culture Documents
Chap. 8 Integrated-Circuit Logic Families: Digital IC Technology Has Advanced Rapidly
Chap. 8 Integrated-Circuit Logic Families: Digital IC Technology Has Advanced Rapidly
Chap. 8 Integrated-Circuit Logic Families: Digital IC Technology Has Advanced Rapidly
8-1
Introduction
Digital IC technology has advanced rapidly(Chap 4)
Complexity Small-scale integration(SSI) Medium-scale integration(MSI) Large-scale integration(LSI) Very large-scale integration(VLSI) Ultra large-scale integration(ULSI) Giga-scale integration(GSI) Tera-scale integration(TSI) Number of Gates Fewer than 12 12 to 99(102 - 103) 100 to 9,999 (10 - 10 ) 10,000 to 99,999 (10 - 10 ) 100,000 to 999,999 7 - 109) (10 1,000,000 or more 9 - 1011) (10 (1012 or more)
5 7 3 5
Moores Law
The number of components that can be packed on a computer chip doubles every 18 months while price stays the same.
Most of the reasons that modern digital systems use integrated circuits Integrated circuits pack a lot more circuitry in a small package
the overall size of any digital system is reduced
the cost is dramatically reduced because of the economies of mass-producing large volumes of similar devices
Integrated circuits have made digital systems more reliable by reducing the number of external interconnections
Discrete components(transistor, diode, resistor, etc.) are protected from poor soldering, breaks or shorts in connecting paths on a circuit board
Digital Systems
8-2
Integrated circuits have drastically reduced the amount of electrical power needed to perform a given function
Integrated circuitry typically requires less power than their discrete counterparts
the saving in power supply costs a system does not require as much cooling
There are some things that Integrated circuits cannot do Integrated circuits can not handle very large currents or voltages (because the heat generated in such small spaces would cause temperatures to rise beyond acceptable limits) Integrated circuits can not easily implement certain electrical devices such as inductors, transformers, and large capacitors
For these reason Integrated circuits are principally used to perform low-power circuit operations that are commonly called information processing The operations that require high power levels or devices that can not be integrated are still handled by discrete components
Bipolar transistors : TTL and ECL Unipolar MOSFET transistors : NMOS, PMOS, and CMOS
Chap. 8 Integrated-Circuit Logic Families
Digital Systems
8-3
In this chapter We will present the important characteristics of each of IC families You will be much better prepared to do analysis, troubleshooting, and some design of digital circuits
Fan-Out( = Loading Factor ) maximum number of standard logic inputs that an output can drive reliably
Fan-Out = 10 : one logic gate can drive 10 standard logic inputs
Digital Systems
8-4
Propagation Delays : Fig. 8-2 (INVERTER) tPLH : delay going from LOW to HIGH tPHL : delay going from HIGH to LOW Power Requirements Every IC requires a certain amount of electrical power to operate. Power supply terminal on a chip : VCC(for TTL), VDD(for MOS) Current drain ICC on the VCC supply : Fig. 8-3
ICCH : Current drain when all of the gate outputs are HIGH ICCL : Current drain when all of the gate outputs are LOW
Average Current
ICC(avg) = ( ICCH + ICCL ) / 2
Average Power
PD(avg) = ICC(avg) X VCC
Speed-Power Product Digital IC families have historically been characterized for both speed and power
shorter gate propagation delays(higher speed) lower values of power dissipation
Digital Systems
8-5
Noise Immunity Stray electric and magnetic fields can induce voltages on the connecting wires between logic circuits
These unwanted, spurious signals are called noise
Noise Immunity
Circuits ability to tolerate noise without causing spurious changes in the output voltage
High-state noise margin : VNH = VOH (min) - VIH (min) Low-state noise margin : VNL = VIL (max) - VOL (max)
Exam. 8-1) Determine the following by using Tab. 8-1 (a) The maximum-amplitude noise spike that can be tolerated when a HIGH output is driving an input : VNH = VOH (min) - VIH (min) = 2.4 V - 2.0 V = 0.4 V (b) The maximum-amplitude noise spike that can be tolerated when a LOW output is driving an input : VNL = VIL (max) - VOL (max) = 0.8 V - 0.4 V = 0.4 V
Digital Systems
8-6
Invalid Voltage Levels Invalid Voltage Level : Input voltage between 0.8 and 2.0 V
produce an unpredictable output response
In normal operation, a logic input voltage will not fall into the invalid region (because it comes from a standard logic output) Invalid Input Voltage Level
1) Output is overloaded (= its fan-out is exceeded) 2) Power-supply voltages are outside the acceptable range
Current Sourcing/ Current Sinking Action Current Sourcing Action : Fig. 8-5(a)
When the output of gate 1 is in the HIGH state
the output of gate 1 is acting as a source of current for the gate 2 input
the output of gate 1 is acting as a sink of current for the gate 2 input
8-7
Saturate Region
IC IB
ON
Active Region
OFF
Cut-off Region
VCE
VCE(sat)
Transistor Characteristic
Diode equivalent of the multiple-emitter Tr. Q1 : Fig. 8-7(b) Diodes D2 and D3 : two E-B junctions of Q1 Diode D4 : C-B junction of Q1 VBE(on) = 0.7 V Circuit Operation - LOW output state : Fig. 8-8(a) D1 is needed to keep Q3 off ( = Level Shift Diode )
Base Voltage (Q3) = 0.8 V = VBE (Q4) + VCE (Q2) = 0.7 V + 0.1 V
Q3 ON VCE (Q4) + VD1 + VBE (Q3) = 0.1 V + 0.7 V + 0.7 V = 1.5 V 0.8 V Q3 OFF
Korea Univ. of Tech. & Edu. Dept. of Info. & Comm.
Digital Systems
8-8
Circuit Operation - HIGH output state : Fig. 8-8(a) VOH will be around 3.4 to 3.8 V
5 V (Vcc) - VBE (Q3) - VD1 = 5 V - 0.7 V - 0.7 V = 3.6 V
R1, R2, R3, and R4 in Fig. 8-8 R1 : A B 0 , R1 Vcc Ground Short R2 : R2 Q2 ON/OFF Q3 Base Vcc Q3 ON . R3 : R3 Q2 Q4 Darlington hFE = hFE (Q2) X hFE (Q4) . R4 : Q3 ON . Current-Sinking Action : Fig. 8-9(a) Q4 : Current-sinking transistor or Pull-down transistor Current-Sourcing Action : Fig. 8-9(b) Q3 : Current-sourcing transistor or Pull-up transistor IIH : small reverse-bias leakage current (typically 10 A)
Fig. 8-8(a)
Digital Systems
8-9
Q3 Q4 .
Q3 Q4 ON (5 V / 130 = 40 mA) .
This low output impedance provides a short time constant for charging up any capacitive load on the output impedance , impedance ( ).
So there is a period of a few nanoseconds during both transistors are conducting (ON) Relatively large current (30 to 40 mA) will be drawn from the power supply.
The same totem-pole arrangement as the NAND gate is used Output HIGH : Input A = B = 0
Q1 = Q2 = ON, Q3 = Q4 = OFF, Q5 = ON, Q6 = OFF
Digital Systems
8-10
No longer recommended by the manufacturers for use in new design Still enough demand in the market to keep them in production
Manufacturers Data Sheets Data Sheet for 5400/7400 NAND gate : Fig. 8-11
Recommended operating conditions, Electrical characteristics, and Switching Characteristics are shown Paragraph Data Sheet
Digital Systems
8-11
Supply Voltage and Temperature Range 74 and 54 have nominal supply voltage VCC = 5 V Supply Voltage
74 operate reliably from 4.75 to 5.25 V 54 operate reliably from 4.5 to 5.5 V
Temperature Range
74 operates from 0 to 70 C 54 operates from -55 to +125 C
Digital Systems
8-12
Fan-Out : Sec. 8-5 Typically drive 10 standard TTL inputs : Exam. 8-5
LOW Output : Current Sink
* + : - :
Exam. 8-2) Determine the maximum average power dissipation and the maximum average propagation delay of a single gate PD (max) = ICC (max) X Vcc(max) = 15 mA X 5.25 V = 78.75 mW 4 PD (max) = 19.7 mW per gate
ICC (max) = [ ICCH (max) + ICCL (max) ] / 2 = ( 8 mA + 22 mA ) / 2 = 15 mA
Digital Systems
8-13
=
0.2 0.4 0.6 V
Forward Bias
Schottky Transistor
Korea Univ. of Tech. & Edu. Dept. of Info. & Comm.
8-14
74AS : Advanced Schottky TTL Fastest TTL series (1.7 ns) 74AS compare with 74S : Tab. 8-4 74ALS : Advanced Low-power Schottky TTL Lowest speed-power product (4.8 pJ) Lowest gate power dissipation (1.2 mW) 74ALS compare with 74LS : Tab. 8-5 74F : Fast TTL Propagation delay (3 ns) Power dissipation (6 mW)
74AS 74ALS
Exam. 8-3) Calculate the dc noise margins for a 74LS IC, and compare with the standard TTL noise margins. 74LS : VNH = VOH (min) - VIH (min) = 2.7 V - 2.0 V = 0.7 V (Standard = 0.4 V) VNL = VIL (max) - VOL (max) = 0.8 V - 0.5 V = 0.3 V (Standard = 0.4 V)
Digital Systems
8-15
Exam. 8-4) Which TTL series can drive the most device inputs of the same series? Series Fan-out series Tab. 8-6 . input drive series 74AS series 40 . series series IOL, IIL, IOH , IIH Sec.8-5 .
IOL : sum of IIL currents from each input But not zero : produce a voltage drop VOL VOL must not exceed VOL(max) : 0.4 Volt
IOH : sum of IIH currents from each input VOH must not be lower than VOH(min) : 2.4 Volt
Determining the Fan-Out An IC output can drive how many different inputs
Digital Systems
8-16
Exam. 8-5) How many 7400 NAND gate inputs can be drive by a 7400 NAND gate output? Refer to the data sheet in Fig. 8-11 (p. 431) Fan-out(LOW) : Fig. 8-14
Fan-out(HIGH)
Exam. 8-6) How many 74ALS20 NAND gate inputs can be drive by the output of another 74ALS20 NAND gate? Refer to the data sheet in Appendix (p. 841)
Fan-out(LOW)
Fan-out(HIGH)
Overall Fan-Out = 20
Lower of the two values ( 80 and 20 )
Digital Systems
8-17
Fan-Out in Combination of various logic families Method for determining the loading of any digital output
Step 1 : Fan-Out (HIGH)
Add up the IIH for all inputs connected to an output. This sum must be less than the outputs IOH specification Add up the IIL for all inputs connected to an output. This sum must be less than the outputs IOL specification
Exam. 8-7) Determine if there is a loading problem (when A 74ALS00 NAND gate outputs is driving three 74S gate inputs and one 7406 gate input). Refer to the data sheet in Tab. 8-7 (p. 441)
Step 1 : Fan-Out (HIGH)
Add all IIH = Total IIH = 3 ( IIH for 74S ) + 1 (IIH for 74 ) = 3 ( 50 A ) + 1( 40A ) = 190 A This sum 190 A < 400 A ( IOH ) : No Problem Add all IIL = Total IIL = 3 ( IIL for 74S ) + 1 (IIL for 74 ) = 3 ( 2 mA ) + 1( 1.6 mA ) = 7.6 mA This sum 7.6 mA < 8 mA ( IOL ) : No Problem
Digital Systems
8-18
Exam. 8-8) The output could drive how many additional 74ALS inputs without being overloaded in Exam. 8-7 ? Refer to the data sheet in Tab. 8-7 (p. 441)
Additional current in LOW = IOL - IIL(sum of load) = 8 mA - 7.6 mA = 0.4 mA
IIL = 0.1 mA, drive up to four more 74ALS inputs IIH = 20 A, drive up to ten more 74ALS inputs
Additional current in HIGH = IOH - IIH (sum of load) = 400 A - 190 A = 210 A
Exam. 8-9) What is the maximum number of F/F CLR inputs that this gate can drive? The output of a 74AS04 inverter is providing the CLR signal to a parallel register(74AS74 D F/F) Refer to the 74AS74 data sheet (not in Appendix)
* PRE and CLR input of 74AS74 : IIL = 1.8 mA, IIH = 40 A * Output of 74AS04 : IOL = 20 mA, IOH = 2 mA Maximum number of inputs(LOW)
IOH / IIH = 2 mA / 40 A = 50
IOL / IIL = 20 mA / 1.8 mA = 11.11
Overall Fan-Out = 11
Lower of the two values ( 50 and 11 )
Chap. 8 Integrated-Circuit Logic Families
Korea Univ. of Tech. & Edu. Dept. of Info. & Comm.
Digital Systems
8-19
Unused Inputs 3
Tied-Together Inputs When two (or more) TTL inputs on the same gate are connected together
Digital Systems
8-20
Act as single input regardless of number tied together The reason for this characteristics : Fig. 8-8(b), p. 427
If input A and B are tied together and grounded, IIL is not changed (IIL is only limited by the R1)
This situation is different for OR and NOR gates : Fig. 8-10, p. 429
OR and NOR gates do not use multiple-emitter transistor (OR and NOR gates have separate input transistor for each input)
Exam. 8-10) Determine the load current at the output X in Fig. 8-16. ( Each gate is a 74LS, IIL = 0.4 mA, IIH = 20 A ) HIGH : gate 2 NAND 2 Input ( 40 A = 2 X 20 A ) LOW : gate 2 NAND 1 Input ( 0.4 mA ) Biasing TTL Inputs Low One-shot trigger on a positive transition : Fig. 8-17
Resistor R serves to keep the T input LOW while switch is open
Digital Systems
8-21
Exam. 8-11) Determine an acceptable value for R ( OS gate is a 74LS TTL, IIL = 0.4 mA ) Rmax = VIL(max) / IIL = 0.8 V / 0.4 mA = 2000 Standard resistor value for a good choice = 1.8 k Current Transients : Fig. 8-18 Whenever a totem-pole TTL output goes from LOW to HIGH, a high amplitude current spike is drawn from the Vcc supply.
:
V=L(di/dt) dt = 2 ns V .
Q4 saturated (ON) Q3 switching time Q3 Q4 ON (about 2 ns) Power Supply Line (PCB Pattern Line) distributed inductance surge current (30 to 50 mA) Voltage spike
Connect a 0.01 F or 0.1 F ceramic capacitor between Vcc and Ground near each TTL IC to short out high frequency spikes
Bypass Capacitor
The Capacitor leads are kept very short to minimize series inductance
Connect single large capacitor ( 2 to 20 F ) between Vcc and Ground on each board to filter out relatively low frequency variations in Vcc
Digital Systems
8-22
HIGH/LOW Conflict (in Totem-Pole Output) : Fig. 8-19 Suppose that the Gate A output = HIGH and the Gate B output = LOW
One gate output is trying to go LOW while another gate output is trying to go HIGH (when they are tied together) * Standard TTL IOH = IOL : as high as 50 mA
MOS and CMOS behave less predictably when outputs are tied together
HIGH (= Q4 OFF) : voltage drop will not lower the output voltage below VOH(min) = 2.4 V LOW (= Q4 ON ) : current through Q4 will be limited to a value below IOL(max) = 16mA Chap. 8 Integrated-Circuit Logic Families
Korea Univ. of Tech. & Edu. Dept. of Info. & Comm.
8-23
Wired-AND Connection Wired-AND operation using open collector gates : Fig. 8-21
Devices with OC Outputs can be connected together safely Dotted AND gate symbol eliminates the need for an actual AND gate : much slower switching speed than totem-pole outputs
Totem-pole outputs have a pull-up TR (Q3) to change up load capacitance rapidly OC circuits should not be used where speed is a principal consideration
Output TR = ON
Output TR = OFF
Output TR sinks the 25 mA of lamp current, LAMP = ON Output TR turns off, no path for current, LAMP = OFF
Q=0
Digital Systems
8-24
Output TR provide a current path to ground, forward biased, LED = ON Output TR turns off, no path for current, LED = OFF
Q=0
Tristate : A third type of TTL output configuration Three possible output states : HIGH, LOW, High-Impedance
High-impedance (= Hi-Z)
both transistor are turned off in the totem-pole arrangement output terminal is an open or floating (neither a LOW not A HIGH)
Utilize the high-speed operation of the totem-pole arrangement Permit outputs to be connected together
Tristate TTL INVERTER : Fig. 8-25 Obtained by modifying the basic totem-pole circuit : refer to Fig. 8-7, p. 426
1) Enabled State ( E = 1) : Q1 = OFF A Q1 , D2 = OFF
when A = 0 : Q1= ON, Q2 = OFF, Q3 = ON, Q4 = OFF, X = 1 when A = 1 : Q1= OFF, Q2 = ON, Q3 = OFF, Q4 = ON, X = 0
2) Disabled State ( E = 0 ) : Q1 = D2 = ON
Q2 = OFF D2 = ON Q3 = OFF, Q2 = OFF Q4 OFF Output = Hi-Z ( Q3 = Q4 = both OFF ) Chap. 8 Integrated-Circuit Logic Families
Korea Univ. of Tech. & Edu. Dept. of Info. & Comm.
Digital Systems
8-25
Advantage of Tristate Outputs can be connected together (paralleled) without sacrificing switching speed.
When Enabled, Totem-pole outputs have a high-speed characteristic
Control the passage of a logic signal from input to output Two commonly used tristate buffer ICs : 74LS125, 74LS126
Differ only in the active state of ENABLE input ( E) Contain four noninverting tristate buffers (14 pin)
Tristate buffers used to connect several signals to a common bus : Fig. 8-27
Transmit any one of A, B, and C signals over the bus line to other circuits by enabling the appropriate buffer No more than one output should be enabled at one time : Only signal B is enabled
Other Tristate ICs : 74LS374 (Octal D-type FF with tristate output) 8-bit register made up of D-type FFs Outputs are connected to tristate buffers
Digital Systems
8-26
ECL increases overall switching speed by preventing transistor saturation ECL is referred to as current-mode logic (CML)
Digital Systems
8-27
Vc1 and Vc2 are the complements of each other Output voltage levels are not the same as input voltage level : Fig. 8-29(b) addition of emitter follower
VC1 - VBE
Emitter follower subtracts 0.8 V from Vc1 and Vc2 : Vc1 - 0.8 V : 0 V - 0.8 V = - 0.8 V (logic 1), - 0.9 V - 0.8 V = 0.7 V (logic 0) Emitter follower provides a very low output impedance ( 7 ) for large fan-out and fast charging of load capacitance Emitter follower produces two complementary output : VOUT1 = VIN, VOUT2 = VIN
ECL OR/NOR Gate : Fig. 8-30 Basic circuit (Fig. 8-29) can be expanded to more than one input by paralleling transistor (Q1 and Q3) ECL characteristics Transistors never saturate
Very high switching speed ( ~ 1 ns )
Logic levels
-0.8 V for logical 1 -1.7 V for logical 0
Digital Systems
8-28
No noise spikes
Current switching
ECL compares with the TTL logic families : Tab. 8-8 High speed (short propagation delay) : high clock rate High power dissipation Low noise margin Disadvantage of ECL Not a wide range of general-purpose logic devices
only special purpose ICs : high-speed data transmission, high-speed memory, highspeed arithmetic units
Relatively low noise margins and high power dissipation 2 Negative power supply voltage ( VEE and VBB ) Difficult to use ECL devices with TTL or CMOS ICs
Logic levels are not compatible with other logic families
Digital Systems
8-29
Digital Systems
8-30
Schematic symbols for enhancement MOSFETs : Fig. 8-31 N-channel/P-channel : Gate, Drain, Source Basic MOSFET Switch N-channel MOSFET switching state : Fig. 8-32
OFF state : VGS = 0 Volt (ROFF = 1010 = open circuit) ON state : VGS = + 5 Volt (RON = 1 k)
Threshold voltage (VT) = 1.5 V N- and P-channel switching characteristics : Tab. 8-9
P-channel MOSFET uses voltages of the opposite polarity
N-MOS : free electrons are current carriers P-MOS : holes are current carriers
P- MOS
Uses only P- channel enhancement MOSFETs High density No longer part of new designs
Digital Systems
8-31
Q2 : acts as switch
N-MOS NAND gate : Fig. 8-34(a) Fig. 5-3 (p. 184) N-MOS NOR gate : Fig. 8-34(b) Fig. 5-10 (p. 189) N-MOS Flip-Flops Two N-MOS NOR gates or NAND gates can be cross-coupled
Digital Systems
8-32
Operating Speed 50 ns propagation delay for typical N- MOS NAND gate Noise Margin Typically 1. 5 V for N- MOS with VDD = 5 V
Proportionally higher for larger VDD
Fig. 8-39
Time-constant
Large ROUT ( > 1010 ) and CLOAD (2 - 5 pF) serve to increase switch time
Fan-out Around 50 Power Drain Low power dissipation because of large resistances
VIN = 0 V
RON (Q1) = 100 k, ROFF (Q2) = 1010 ID = 0. 5 nA : current from VDD supply PD = 5 V x 0. 5 nA = 2. 5 nW RON (Q1) = 100 k, RON (Q2) = 1 k ID = 5 V / 101 k = 50 A PD = 5 V x 50 A = 0.25 mW
VIN = + 5 V
Digital Systems
8-33
Static Sensitivity Static charge damage breaks down thin oxide films dielectric insulation Precautions to protect from ESD (ElectroStatic Discharge)
1) Connect the chassis of all test instruments, soldering-iron tips, and your work bench to earth ground 2) Connect yourself to earth ground with a special wrist strap 3) Keep ICs in conductive foam or aluminum foil 4) Avoid touching IC pins, and insert the IC into the circuit immediately after removing it from the protective carrier 5) Place shorting straps across the edge connectors of PC boards when the boards are being carried or transported 6) Do not leave any unused IC inputs unconnected, because open inputs tend to pick up stray static charges
Digital Systems
8-34
RON (Q1 = ON) = 1 k, ROFF (Q2 = OFF) = 1010 ROFF (Q1 = OFF) = 1010 , RON (Q2 = ON) = 1 k
A LOW LOW HIGH HIGH A LOW LOW HIGH HIGH B LOW HIGH LOW HIGH B LOW HIGH LOW HIGH X HIGH HIGH HIGH LOW X HIGH LOW LOW LOW
Functionally equivalent
logic function must be same (6 D F/F with positive edge clock)
Electrically compatible
two ICs can be connected directly to each other (without taking any special measures to ensure proper operation)
Digital Systems
8-35
4000/ 14000 series Oldest series (RCA) Very low power dissipation 3 to 15 V power- supply voltages Very slow Very low output current capability Not pin- compatible with any TTL series Not electrically- compatible with any TTL series 74C series Pin- compatible and functionally equivalent to TTL with same number Performance much like 4000 series 74HC/ HCT (high- speed CMOS) 10 times faster than 74C series Pin- compatible and functionally equivalent 74HCT devices electrically compatible with TTL 74HC devices not electrically compatible
Digital Systems
8-36
74AC/ ACT (advanced CMOS) Functionally equivalent to TTL Not pin- compatible with TTL 74AC not electrically compatible 74ACT is electrically compatible Faster than HC series Device numbering different
74AC11004 = 74HC04 74ACT11293 = 74HCT293
74AHC (advanced high- speed CMOS) Newest series Three times faster than HC series Direct replacement for HC series BiCMOS logic (Bipolar + CMOS) Low- power of CMOS (75 % reduction over 74F family) + High- speed of Bipolar Pin-compatible with TTL and standard 5 V logic 74ABT : Advanced BiCMOS (second generation of BiCMOS)
high speed and 3.3 V low voltage
Chap. 8 Integrated-Circuit Logic Families
Korea Univ. of Tech. & Edu. Dept. of Info. & Comm.
Digital Systems
8-37
Power- supply voltage (VDD) 4000/ 14000 and 74C : from 3 to 15 V 74HC/HCT and 74AC/ACT : from 2 to 6 V Logic Voltage Levels : Tab. 8-10 Voltage Levels of CMOS Logic
VOL is very close to 0 V VOH is very close to 5 V
Noise Margins CMOS devices have greater noise margins than TTL
* Sec. 8-13 Power Drain High-state noise margin : VNH = VOH (min) - VIH (min) Low-state noise margin : VNL = VIL (max) - VOL (max)
PD increases with Frequency : Fig. 8-38 Current spike : Each time a output switches from LOW to HIGH
a transient charging current (ID) must be supplied to the load capacitance (Fig. 8-39)
Digital Systems
8-38
Switching Speed 4000 series NAND : tpd = 50 ns at VDD = 5 V 74HC/ HCT series NAND : tpd = 8 ns 74AC/ ACT series NAND : tpd = 4.7 ns 74AHC series NAND : tpd = 4.3 ns Unused inputs Never leave unconnected
Unconnected CMOS input is susceptible to noise and static charges Tied either to a fixed voltage level (GND or VDD) or to another input
8-39
:
Modern CMOS ICs are designed with protection circuitry (to prevent Latch-up) Well regulated power supply Clamping diode can be connected externally to protect against such transients Unused inputs must be connected to GND or VDD
Digital Systems
8-40
Open-Drain Outputs : Fig. 8-43(a) N-channel MOSFET only (no P-channel MOSFET)
Can connect together to get wired-AND : same as TTL open collector External pull-up resistor is needed Refer to Fig. 8-27 (p. 455) Tristate Outputs : Fig. 8-43(b)
CMOS tristate outputs can be connected together : same as TTL tristate Only one output is enabled at one time
Input can be either digital or analog signals 4016/74HC4016 Quad bilateral switch : Fig. 8-45
Independently controlled : CONTA, CONTB, CONTC, CONTD Bi-directional : IN/OUTA, OUT/INA
Exam. 8-11) Describe the operation of the circuit of Fig. 8-46 OUTPUT SELECT = HIGH : upper s/w = open, lower s/w = closed (Y = VIN) OUTPUT SELECT = LOW : upper s/w = closed, lower s/w = open (X = VIN) 4316/74HC4316 : second power supply ( -VEE), VOUT = from - VEE to + VDD
Digital Systems
8-41
8-19 IC Interfacing
Interface Connecting the output(s) of one circuit or system to the input(s) of another circuit or system
Input/Output currents with a supply voltage of 5 V : Tab. 8-15 Different families have different characteristics
Checking the device data sheets for values of input and output current/voltage parameters
CMOS input current requirement : No problem TTL output current (74LS : IOH = 20 A) > CMOS input current (4000B : IIH = 1 A)
Refer to Tab. 8-10 (p. 473) CMOS input voltage requirement : Problem TTL output voltage (74LS : VOH = 2.4 V) < CMOS input voltage (4000B : VIH = 3.5 V) Pull-up register : TTL output to rise to approximately 5 V, Fig. 8-47
TTL Driving High-Voltage CMOS (VDD > 5 V) 1) Use open-collector IC : 7407 with pull-up, Fig. 8-48 2) Use voltage level-translator IC : 40104
Digital Systems
8-42
CMOS Driving TTL in the HIGH State : Fig. 8-49(a) CMOS output voltage(4000B : VOH = 4.95 V) > TTL input voltage (74LS : VIH = 2.0 V)
No problem in the HIGH state
Refer to Tab. 8-13 (p. 485) Refer to Tab. 8-10 (p. 473)
min
CMOS output current(4000B : IOH = 0.4 mA) > TTL input current (74LS : IIH = 20 A) No problem in the HIGH state
CMOS Driving TTL in the LOW State : Fig. 8-49(b) CMOS output voltage(4000B : VOL = 0.05 V) < TTL input voltage (74LS : VIL = 0.8 V)
No problem in the LOW state
max
CMOS output current(4000B : IOL = 0.4 mA) = TTL input current (74LS : IIL = 0.4 mA) No problem in driving a single TTL load
1 74LS 74LS125 Buffer IC : Fig. 8-51 4000B (IOL = 0.4 mA) can not drive even one input of 74 (IIL = 1.6 mA), 74AS (IIL = 2 mA), and 74ALS (IIL = 100 mA)
Digital Systems
8-43
Exam. 8-13) a) How many a 74HC output can drive 74LS inputs. b) How many a 4000B output can drive 74LS inputs. a) IOL = 4 mA (74HC) , IIL = 0.4 mA (74LS) : fan-out = 10 HIGH state :No problem b) IOL = 0.4 mA (4000B) , IIL = 0.4 mA (74LS) : fan-out = 1 Exam. 8-14) a) How many a 74HC output can drive 74ALS inputs. b) How many a 74HC output can drive 74AS inputs. a) IOL = 4 mA (74HC) , IIL = 100 A (74ALS) : fan-out = 40 HIGH state :No problem b) IOL = 4 mA (74HC) , IIL = 2 mA (74AS) : fan-out = 2 Exam. 8-15) Whats wrong with the circuit in Fig. 8-50(a)
IOL = 4 mA (74HC) , IIL = 2 mA (74AS) : fan-out = 2 ( 3 ) IOL = 0.4 mA (4001B) , IIL = 0.4 mA (74LS) : fan-out = 1 ( 3 )
High-Voltage CMOS Driving TTL Use voltage-level translator IC : 4050B, Fig. 8-52
Digital Systems
8-44
Exam. 8-17) Design a circuit to interface the temperature sensor to the digital circuit.
- The digital system alarm must sound when the temperature exceeds 100 F - The output voltage of LM34 temperature sensor goes up 10 mV per degree F Voltage output of the LM34 at 100 F = 100 F X 100 mV/ F = 1 V Vref = - voltage input Choose a bias current = 500 A, R = 5 V / 500 A = 10 K Voltage divider 1 V : 4 V = 2 K : 8 K , Fig. 8-53
8-23 Troubleshooting
Logic Pulser : Fig. 8-54 Logic pulser generates a short-duration pulse by pressing a pushbutton Logic pulser senses the existing voltage level at the node and produces a voltage pulse in the opposite direction
if node = LOW : produce a narrow positive-going pulse if node = HIGH : produce a narrow negative-going pulse almost shorted circuit Logic pulser has a very low output impedance (2 or less), so that it can overcome the NAND gates output and can change the voltage at the node.
Logic pulser can not produce a voltage pulse at a node that is shorted directly to ground or Vcc. Using Logic Pulser and Probe to Test a Circuit : Fig. 8-54 Logic pulser manually injects a pulse into a circuit Logic probe monitors the circuits response Logic pulser is applied to the circuit node without disconnecting the output of NAND gate
Digital Systems
8-45
Finding Shorted Nodes Press the logic pulser button (when you touch a logic pulser and a logic probe to the same node)
if the probe = constant LOW : the node is shorted to ground if the probe = constant HIGH : the node is shorted to Vcc
The Current Tracer Current tracer detects a changing current in a wire or PCB trace without breaking the circuit Current tracer senses a changing magnetic field produced by a changing current and causes a small indicator LED to flash
Insulated tip contains a magnetic pickup coil, and the tip is placed at a point in the circuit
Current tracer is used with a logic pulser to trace the exact location of shorts to ground or Vcc ) Node X is shorted to ground through the internal short at gate 2s input Tracer indicates no current pulse : Fig. 8-55(a) Tracer indicates presence of current pulse : Fig. 8-55(b) This prove that the short to ground is inside gate 2s input rather than gate 1s output
Digital Systems