Analog & Digital Electronics Course No: PH-218



Similar documents
Chapter 6 TRANSISTOR-TRANSISTOR LOGIC. 3-emitter transistor.

CMOS Logic Integrated Circuits

EXPERIMENT 3: TTL AND CMOS CHARACTERISTICS

CpE358/CS381. Switching Theory and Logical Design. Class 4

CD4001BC/CD4011BC Quad 2-Input NOR Buffered B Series Gate Quad 2-Input NAND Buffered B Series Gate

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

AP331A XX G - 7. Lead Free G : Green. Packaging (Note 2)

MM74HC4538 Dual Retriggerable Monostable Multivibrator

HIGH SPEED-10 MBit/s LOGIC GATE OPTOCOUPLERS

Gates. J. Robert Jump Department of Electrical And Computer Engineering Rice University Houston, TX 77251

MM74HC174 Hex D-Type Flip-Flops with Clear

. HIGH SPEED .LOW POWER DISSIPATION .COMPATIBLE WITH TTL OUTPUTS M54HCT27 M74HCT27 TRIPLE 3-INPUT NOR GATE. tpd = 9 ns (TYP.

MM74HC14 Hex Inverting Schmitt Trigger

Here we introduced (1) basic circuit for logic and (2)recent nano-devices, and presented (3) some practical issues on nano-devices.

CD4001BC/CD4011BC Quad 2-Input NOR Buffered B Series Gate Quad 2-Input NAND Buffered B Series Gate

HCF4010B HEX BUFFER/CONVERTER (NON INVERTING)

HCF4001B QUAD 2-INPUT NOR GATE

CD4027BC Dual J-K Master/Slave Flip-Flop with Set and Reset

MM74HC273 Octal D-Type Flip-Flops with Clear

CMOS, the Ideal Logic Family

CD40174BC CD40175BC Hex D-Type Flip-Flop Quad D-Type Flip-Flop

Data Sheet. HFBR-0600Z Series SERCOS Fiber Optic Transmitters and Receivers

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Chapter 10 Advanced CMOS Circuits

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

HCF4081B QUAD 2 INPUT AND GATE

3 The TTL NAND Gate. Fig. 3.1 Multiple Input Emitter Structure of TTL

HCF4028B BCD TO DECIMAL DECODER

DM74LS47 BCD to 7-Segment Decoder/Driver with Open-Collector Outputs

CD4013BC Dual D-Type Flip-Flop

HCC4541B HCF4541B PROGRAMMABLE TIMER

MC14001B Series. B Suffix Series CMOS Gates MC14001B, MC14011B, MC14023B, MC14025B, MC14071B, MC14073B, MC14081B, MC14082B

MADR TR. Single Driver for GaAs FET or PIN Diode Switches and Attenuators Rev. V1. Functional Schematic. Features.

74HCU General description. 2. Features and benefits. 3. Ordering information. Hex unbuffered inverter

DM74121 One-Shot with Clear and Complementary Outputs

4-bit binary full adder with fast carry CIN + (A1 + B1) + 2(A2 + B2) + 4(A3 + B3) + 8(A4 + B4) = = S1 + 2S2 + 4S3 + 8S4 + 16COUT

74F257A Quad 2-line to 1-line selector/multiplexer, non-inverting (3-State)

LM139/LM239/LM339/LM2901/LM3302 Low Power Low Offset Voltage Quad Comparators

MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer

BJT Characteristics and Amplifiers

ANALOG & DIGITAL ELECTRONICS

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

HCF4070B QUAD EXCLUSIVE OR GATE

.LOW POWER DISSIPATION .HIGH NOISE IMMUNITY M74HC154 4 TO 16 LINE DECODER/DEMULTIPLEXER. HIGH SPEED tpd = 15 ns (TYP.) at VCC =5V

MIC4451/4452. General Description. Features. Applications. Functional Diagram V S. 12A-Peak Low-Side MOSFET Driver. Bipolar/CMOS/DMOS Process

Bipolar Junction Transistor Basics

74HC238; 74HCT to-8 line decoder/demultiplexer

DM74157 Quad 2-Line to 1-Line Data Selectors/Multiplexers

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

MM74HCT373 MM74HCT374 3-STATE Octal D-Type Latch 3-STATE Octal D-Type Flip-Flop

INTEGRATED CIRCUITS. 74LVC08A Quad 2-input AND gate. Product specification IC24 Data Handbook Jun 30

High and Low Side Driver

CD4093BM CD4093BC Quad 2-Input NAND Schmitt Trigger

Quad 2-Line to 1-Line Data Selectors Multiplexers

CD4008BM CD4008BC 4-Bit Full Adder

Pass Gate Logic An alternative to implementing complex logic is to realize it using a logic network of pass transistors (switches).

DM74LS05 Hex Inverters with Open-Collector Outputs

.OPERATING SUPPLY VOLTAGE UP TO 46 V

MADR TR. Quad Driver for GaAs FET or PIN Diode Switches and Attenuators Rev. 4. Functional Schematic. Features.

Description. 5k (10k) - + 5k (10k)

74HC02; 74HCT General description. 2. Features and benefits. Ordering information. Quad 2-input NOR gate

74HC138; 74HCT to-8 line decoder/demultiplexer; inverting

DG2302. High-Speed, Low r ON, SPST Analog Switch. Vishay Siliconix. (1-Bit Bus Switch with Level-Shifter) RoHS* COMPLIANT DESCRIPTION FEATURES

Application Examples

High-Speed, Low-Power, 3V/5V, Rail-to-Rail, Single-Supply Comparators MAX941/MAX942/ MAX944. General Description. Features. Ordering Information

SEMICONDUCTOR TECHNICAL DATA

The 74LVC1G11 provides a single 3-input AND gate.

74HC107; 74HCT107. Dual JK flip-flop with reset; negative-edge trigger

Low-power configurable multiple function gate

74HC573; 74HCT General description. 2. Features and benefits. Octal D-type transparent latch; 3-state

Field-Effect (FET) transistors

Interfacing 3V and 5V applications

Transistors. NPN Bipolar Junction Transistor

74HC154; 74HCT to-16 line decoder/demultiplexer

74HC4040; 74HCT stage binary ripple counter

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

DM74LS00 Quad 2-Input NAND Gate

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Obsolete Product(s) - Obsolete Product(s)

74HC123; 74HCT123. Dual retriggerable monostable multivibrator with reset

54157 DM54157 DM74157 Quad 2-Line to 1-Line Data Selectors Multiplexers

TS555. Low-power single CMOS timer. Description. Features. The TS555 is a single CMOS timer with very low consumption:

MC74HC132A. Quad 2-Input NAND Gate with Schmitt-Trigger Inputs. High Performance Silicon Gate CMOS

MC33064DM 5 UNDERVOLTAGE SENSING CIRCUIT

2003 THRU 2024 HIGH-VOLTAGE, HIGH-CURRENT DARLINGTON ARRAYS ABSOLUTE MAXIMUM RATINGS FEATURES

EGR 278 Digital Logic Lab File: N278L3A Lab # 3 Open-Collector and Driver Gates

L297 STEPPER MOTOR CONTROLLERS

UMM AL-QURA UNIVERSITY

74HC165; 74HCT bit parallel-in/serial out shift register

CD4027BM CD4027BC Dual J-K Master Slave Flip-Flop with Set and Reset

DM7474 Dual Positive-Edge-Triggered D-Type Flip-Flops with Preset, Clear and Complementary Outputs

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

MADR TR. Quad Driver for GaAs FET or PIN Diode Switches and Attenuators. Functional Schematic. Features. Description. Pin Configuration 2

ECE124 Digital Circuits and Systems Page 1

74AC139 74ACT139 Dual 1-of-4 Decoder/Demultiplexer

IR2110(-1-2)(S)PbF/IR2113(-1-2)(S)PbF HIGH AND LOW SIDE DRIVER Product Summary

NTE923 & NTE923D Integrated Circuit Precision Voltage Regulator

Diode Circuits. Operating in the Reverse Breakdown region. (Zener Diode)

High-Speed, Low r ON, SPST Analog Switch (1-Bit Bus Switch)

Transcription:

Analog & Digital Electronics Course No: PH-218 Lec-28: Logic Gates & Family Course Instructor: Dr. A. P. VAJPEYI Department of Physics, Indian Institute of Technology Guwahati, India 1

Digital Logic Gates NOT The electrical circuits which perform logical operations are called gates. A C 0 1 A All data manipulation is based on logic 1 0 Logic follows well defined rules, producing predictable digital output from certain input. Main Logic gates are AND, OR, NOT, NAND, NOR and XOR AND OR NAND NOR XOR A C 0 0 0 0 1 0 1 0 0 1 1 1 A C 0 0 0 0 1 1 1 0 1 1 1 1 A C 0 0 1 0 1 1 1 0 1 1 1 0 A C 0 0 1 0 1 0 1 0 0 1 1 0 A C 0 0 0 0 1 1 1 0 1 1 1 0 A C A A A A Digital logic gates NAND and NOR are called universal logic gate because we can construct all other logic gates using NAND gate or NOR gate alone. NAND gate can be built using 4 MOSFETs ( 2NMOS and 2PMOS). 2

NAND A Universal Logic Gates A NAND A C 0 0 1 0 1 1 1 0 1 1 1 0 NOT A C 0 1 1 0 OR A C 0 0 0 0 1 1 1 0 1 1 1 1 AND A C 0 0 0 0 1 0 1 0 0 1 1 1 invert output (invert NAND) NOR A C 0 0 1 0 1 0 1 0 0 1 1 0 invert both inputs invert inputs and output (invert OR) 3

NOR A Universal Logic Gates NOR A C 0 0 1 0 1 0 1 0 0 1 1 0 A C NOT A C 0 1 1 0 A A OR A C 0 0 0 0 1 1 1 0 1 1 1 1 A C AND A C 0 0 0 0 1 0 1 0 0 1 1 1 A C 4

XOR Logic Gates A C XOR = (A NAND ) AND (A OR ) And this you already know you can make from composite NAND gates (though requiring 6 total) Then, obviously, XNOR is the inverse of XOR so just stick an inverter on the output of XOR Exclusive OR operator: operating on two variables A and is true if A or is a 1, but not when both A and are 1, i.e. it excludes both A and being a 1; symbol 5

Logic Family / Level Of Integration Scheme # gates / chip Small Scale Integration (SSI) <12 Medium Scale Integration (MSI) 12-99 Large Scale Integration (LSI) 1000 Very large Scale Integration (VLSI) Ultra large Scale Integration (ULSI) Giga Scale Integration (GSI) 10k 100k 1Meg Note: Ratio gate count/transistor count is roughly 1/10 IC logic gates fall under SSI, combinational logic circuits fall under MSI, and Microprocessor system come under LSI and VLSI. 6

Digital Logic Family Logic families can be classified broadly according to the technologies they are built with There are various logic families namely Diode logic (DL) Resistor-Transistor logic (RTL) Diode-Transistor logic (DTL) Emitter coupled logic (ECL) Transistor-Transistor logic (TTL) CMOS logic TTL and CMOS logic family is most widely used IC technologies. Within each family, several subfamilies of logic types are available, with different rating for speed, power consumption, temperature range, voltage level and current level. 7

Nomenclature of Logic family The different manufacturers of digital logic ICs have standardized a numbering scheme so that basic part number will be same regardless of the manufacturer. The prefix of the part number represents the manufacturer code and the suffix at the middle denotes the subfamily of the ICs and suffix at the end denotes the packaging type. For example: If the part number is S74F08N. The 7408 is the basic number used by all manufacturer for quad AND gate. The S prefix is the manufacture s code for Signetics, F stands for FAST TTL subfamily, and the N suffix at the end is used to specify the plastic dual in line packaging Suffix used for packaging: N - Plastic dual in line package W - Ceramic flat pack D - Surface mounted plastic package Prefix used for manufacturers: S - Signetics SN - Texas Instruments DM - National Semiconductor Suffix used for subfamily: 74H04 -High-speed 74L045-Low-Power 74S04 -Uses a Schottky Diode 74ALS04 - Advanced low power Schottky 8

Diode Logic Family In diode logic family, all the logic is implemented using diodes and resistors. One basic thing about the diode, is that diode needs to be forward biased to conduct. OR X Y Z 0 0 0 0 1 1 1 0 1 1 1 1 Diode Logic suffers from voltage degradation from one stage to the next. Diode Logic only permits OR and AND functions, cannot perform a NOT function. Diode Logic is used extensively but not in integrated circuits How to build AND gate using Diode logic? 9

Resistor Transistor Logic (RTL) Family In RTL (resistor transistor logic), all the logic are implemented using resistors and transistors. One basic thing about the transistor (NPN), is that HIGH at input causes output to be LOW (i.e. like a inverter). NOR X Y Z 0 0 1 0 1 0 1 0 0 1 1 0 A NOR gate using RTL RTL draw a significant amount of current from the power supply for each gate. Another limitation is that RTL gates cannot switch at the high speeds used by today's computers, although they are still useful in slower applications 10

Transistor Transistor Logic (TTL) Family One basic function of TTL IC is as a complimenting switch or inverter. When V in equals 1 (+5V), the transistor is turned on (saturation) and V out equals 0 (0V). When V in equals 0 (0V), the transistor is turned off and V out equals 1 (5V), assuming R L > R C V out = V CC (R C R L + R L ) +5V Thus level 1 of inverter output is very much dependent on R L, which can typically vary by factor of 10. Thus we need very small R C compared to R L i.e. R L > > R C. ut when transistor is saturated (V out = 0V), I C will be very large if R C is very small. V in I R IC IE C E RC RE V out R L Thus we need large R C when transistor is in satuaration and small R C when transistor is off. The idea of variable R C is accommodated by TTL IC. 11

Transistor Transistor Logic (TTL) Family The idea of variable R C is accommodated by TTL IC. It uses another transistor Q3 in place of R C to act like a varying resistance. Q3 is cutoff (act like a high R C ) when output transistor Q4 is saturated and Q3 is saturated (act like a low R C ) when output transistor Q4 is cutoff. Thus one transistor is ON at one time. The combination of Q3 and Q4 is called totem pole arrangement. Q1 is called input transistor, which is multiemitter transistor, that drive transistor Q2 which is used to control Q3 and Q4. Diode D1 and D2 is used to protect Q1 from unwanted negative voltages and diode D3 ensures when Q4 is ON, Q3 is OFF. Multi-emitter input transistor is a striking feature of TTL logic family. 12

Transistor Transistor Logic - Dual In Line Packaging (DIP) IC 7400 Dual In Line package (DIP) is the most common pin layout for integrated circuits. The pins are aligned in two straight lines, one on each side of the IC. 13

Transistor Transistor Logic - Dual In Line Packaging (DIP) IC 7404 IC 7408 IC 7402 Some common digital ICs used in labs are: IC7400 (Quad NAND gate), IC 7404 ( hex inverter), IC 7408 (quad AND gate) and IC7402 (quad NOR gates). 14

A NAND gate using TTL logic / Static analysis NAND A C 0 0 1 0 1 1 1 0 1 1 1 0 When one or both inputs low (connected to GND), base-emitter junction of Q1 is forward bias so Q1 ON (saturated) and output at collector will be low making Q2 off. Q4 off and Q3 & D1 on making output HIGH. Power dissipation in R1, Q1, R2, R4, Q3, D1 When inputs high, base-emitter junction of Q1 is reverse bias so Q1 OFF and output at collector will be high making Q2 ON. Q4 ON and Q3 & D1 OFF so output is LOW. Power dissipation in R1, Q1, R2, Q2, R3, Q4. 15

Performance Parameters of logic families Fan-out Input and Output Voltage level Noise Margin Rise and Fall time, and Propagation delay Power Dissipation. 16

Input / Output Current and Fan-out The fan-out of a subfamily is defined as the number of gate inputs of the same subfamily that can be connected to a single output without exceeding the current ratings of the gate. A typical fan-out for most TTL subfamilies is 10. The fan-out really depends on the amount of electric current a gate can source or sink while driving other gates. The effects of loading a logic gate output with more than its rated fan-out will degrade the performance of the circuit. The gate delay increases with increase in fan-out. 17

Input / Output Current and Fan-out To determine fan-out, one must know how much input current gate load draws (I in ) and how much output current the driving gate can supply (I o ). The output current capability for the HIGH condition is abbreviated I oh and is called source current. I oh for the 7400 is -400uA maximum. (- sign shows current is leaving the gate) The input current required under HIGH condition is abbreviated I IH and for 74xx subfamily is equal to 40uA maximum. Fan-out = 400/40 = 10 For the LOW condition, the maximum output current for the 74xx subfamily is 16mA, and the input requirement is -1.6mA maximum. The fan-out is usually same for both the HIGH and LOW conditions for 74xx subfamily; if not, we use the lower of the two. ecause a LOW output level is close to 0V, the current actually flows into the output terminal and sinks down to ground. This is called sink current. 18

Input / Output Voltage for TTL family There is a limit on voltage until it is considered HIGH. As we draw more and more current out of the HIGH level output, the output voltage drops lower and lower, until finally it will not be recognized as a HIGH level anymore by the other TTL gates that it is feeding. V OHmin : The minimum output voltage in HIGH state (logic '1') = 2.4V for TTL V OLmax : The maximum output voltage in LOW state (logic '0') = 0.4V for TTL V IHmin : The minimum input voltage guaranteed to be recognised as logic 1. VI Hmin = 2 V for TTL V ILmax : The maximum input voltage guaranteed to be recognised as logic 0. VI Lmax = 0.8 V for TTL 19

Noise Margin for TTL family Noise-Margin measures how much external electrical noise a gate can withstand before producing an incorrect output. TTL will take anything below about 0.8 volt as a 0, and anything above about 2 volts as a high. LNM (Low noise margin): The largest noise amplitude that is guaranteed not to change the output voltage level when superimposed on the input voltage of the logic gate (when this voltage is in the LOW). LNM=VI Lmax -VO Lmax = 0.8V-0.4V = 0.4V HNM (High noise margin): The largest noise amplitude that is guaranteed not to change the output voltage level if superimposed on the input voltage of the logic gate (when this voltage is in the HIGH). HNM=VO Hmin -VI Hmin = 2.4-2.0 = 0.4V 20

Switching time and Propagation delay time The rise time (t r ) is the length of time it takes for a pulse to rise from its 10% point up to its 90% point. The fall time (t f ) is the length of time it takes for a pulse to fall from its 90% point to its 10% point. The propagation delay time is define as the average of low to- high (t PLH ) propagation delay time and the high-to-low (t PHL ) propagation delay time. propagation delay time t P = (t PLH + t PHL ) / 2 The propagation delay time is directly proportional to the switching time and increases as the Fan-out increases. 21

Estimation of propagation delay time The propagation delay time is due to limitations in transistor switching speeds caused by undesirable internal capacitive stored charges. The two modes of capacitive charging/discharging that contribute to propagation delay 22

Estimation of propagation delay time To calculate delay, we consider transistor as a switch dv I = C dt dt = dv C I = RC dv V = = V dv V t = 1 - t t p RC 1 0 RC ln V o V V 1 o For fall delay t phl, V 0 =V cc, V 1 =V cc /2 t phl = 0.69R n C L t plh = 0.69R P C L Total propagation delay time: t P = (t PLH + t PHL ) / 2 23

Evolution of TTL Logic Family TTL 74 Series Standard TTL logic saturated JT, Obsolete now, Don t use in new designs TTL 74H Series HighspeedTTL logic decreasethe resistance to lower the internal time constant but increase in P dis. Typical P dis =22mW and t = 6ns TTL 74S Series Schottky TTL logic Deep saturation prevented by C Schottky Diode. Reduced storage time delay. Practically obsolete. Typical P dis =20mW and t = 3ns TTL 74L Series LowPowerTTL logic Increasethe resistance to lower the P dis but increase in internal time constant. Typical P dis =1mW and t = 35ns TTL 74LS Series TTL 74ALS Series Low power SchottkyTTL. Typical P dis =2mW and t = 10ns Low power, high speed Schottky TTL logic-innovations in IC design and fabrication. Improvement in speed and power dissipation. Popular.