Electronic Troubleshooting Chapter 10 Digital Circuits.

Slides:



Advertisements
Similar presentations
Programmable Logic Controllers.
Advertisements

Chapter 20 Digital Circuits. Chapter 20 Digital Circuits.
Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
CSET 4650 Field Programmable Logic Devices
TTL (Transistor Transistor Logic).  Transistor Transistor logic or just TTL, logic gates are built around only transistors.  TTL was developed in 1965.
Sequential Logic Building Blocks – Flip-flops
Digital Logic Chapter 5 Presented by Prof Tim Johnson
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Introduction to Digital Systems By Dr. John Abraham UT-Panam.
Chapter 3 Basic Logic Gates 1.
Transistors These are three terminal devices, where the current or voltage at one terminal, the input terminal, controls the flow of current between the.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #4
Chapter 4 Gates and Circuits.
DIGITAL CIRCUITS Dr. L M Head Sophomore Clinic Fall 2004.
BCD to 7-Segment Display
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
Electronics Technology
Chapter 7 Counters and Registers
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
Logic Gate A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs. The output signal appears only.
Principles & Applications
Electronics Technology
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Electronic Troubleshooting
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
Chapter 4 Gates and Circuits.
The Transistor A transistor is an automatic switch. It can only be on or off. base emitter collector 0.7 V When the transistor is on, current flows from.
1 Electronics 4.4: Digital Processes Transistors and Digital Electronics Electronics 4.4: Digital Processes.
by Prof. Dr. Ali S. Hennache
ECE 101 An Introduction to Information Technology Digital Logic.
Electronic Troubleshooting Chapter 11 Digital Systems.
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
1 Electronics 4.4: Digital Processes PageTitle 1)Contents Page 2)Header Page 3)Learning Outcomes 4)Introducing Transistors 5)Transistor Terminals 6)Transistor.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Chapter 4 Logic Families.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
Chapter 3 (part 2) Basic Logic Gates 1.
Chapter 1 Combinational CMOS Logic Circuits Lecture # 4 Pass Transistors and Transmission Gates.
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
IC Logic Families Wen-Hung Liao, Ph.D.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
CMOS Logic.  The CMOS Logic uses a combination of p-type and n-type Metal-Oxide-Semiconductor Field Effect Transistors (MOSFETs) to implement logic gates.
Counter Circuits and VHDL State Machines
Decade Counter (BCD Counter). Introduction A counter which is reset at the 10 th clock pulse is called decade counter. The decade counter is otherwise.
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
Boolean and Sequential Logic Last week – Basic Gates AND OR NOT NOR XOR NAND.
Counters.
CMOS Logic Gates. NMOS transistor acts as a switch 2 When gate voltage is 0 V No channel is formed current does not flow easily “open switch” When gate.
EE Electronics Circuit Design Digital Logic Gates 14.2nMOS Logic Families 14.3Dynamic MOS Logic Families 14.4CMOS Logic Families 14.5TTL Logic.
Chapter5: Synchronous Sequential Logic – Part 1
ECE DIGITAL LOGIC LECTURE 5: BINARY LOGIC AND DIGITAL LOGIC GATES Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/28/2016.
Synchronous Counter Design
Electrical Characteristics of Logic Gates Gate Characteristics Last Mod: January 2008  Paul R. Godin.
Combinational Logic Logic gates. and, or, not Derived gates. nand, nor, xor John F. Wakerly – Digital Design. 4 th edition. Chapter 4.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Flip-Flop Flip-flops Objectives Upon completion of this chapter, you will be able to :  Construct and analyze the operation of a latch flip-flop made.
Logic Gates Unit 16.
EI205 Lecture 3 Dianguang Ma Fall, 2008.
Clocks A clock is a free-running signal with a cycle time.
EI205 Lecture 15 Dianguang Ma Fall 2008.
Principles & Applications
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
ELECTRONIC SYSTEMS Note: There is no compulsory question set on Section 25 of the syllabus. Questions set on topics within Section 25 are always set as.
Flip-Flops.
Presentation transcript:

Electronic Troubleshooting Chapter 10 Digital Circuits

Key Aspects Logic Gates Inverters NAND Gates Specialized Test Equipment MOS Circuits Flip-Flops and Counters

Logic Gates Characteristics A combinational Logic circuit with two or more inputs and one output OR Gates And Gates Exclusive OR Gates etc. Inputs are limited too two values High –Logic 1 Often assumed to be +5V Low – Logic 0 Often assumed to be 0V

Logic Gates Characteristics Inputs are limited too two values Possible combinations 2-inputs with 2-possible values => 4 permutations Permutations 2 n, n= number of inputs OR Gate

Logic Gates AND Gate

Logic Gates Exclusive OR Gate The XOR gate (sometimes EOR gate) is a digital logic gate that implements exclusive disjunction - it behaves according to the truth table A HIGH output (1) results if one, and only one, of the inputs to the gate is HIGH (1). If both inputs are LOW (0) or both are HIGH (1), a LOW output (0) results. Boolean algebra

Logic Gates Sample Gate Application AND Gate What would the Output be with: OR Gate, XOR Gate

Inverters Characteristics Changes one logic level to the other Often needed in digital circuits Chapter 9 page 248 » The “R” input to the flip-flop has an invert on it

Inverters Sample Application Notice the line over BURST. It is called BURST NOT

NAND Gates Key Aspects Can be built with the gates already covered An AND Gate followed by an Inverter So commonly used construction – are available monolithic implementations Characteristics

In Class Review Combination Logic and Truth Tables Problem 10-2 on page 293 Problem 10-5 on page 293 Simple Troubleshooting Problem 10-3 on page 293

Actual Gate Considerations Key Aspects Will use NAND Gates as a sub fro all gates Simplified /Improved Component Count Two emitters almost as easy in manufacturing as one Accomplished when artwork for the IC is made Less components Q 1 functions like the three diodes it replaced, not as an amplifier

Actual Gate Considerations Rise Time Problems Caused by the input capacitance of gates driven high TTL gates typically have a Fan out of 10 Thus the parallel connection the gate’s input capacitance is significant Rise time will decrease if R 2 was made smaller However significant current would flow when Q 2 was turned on

Actual Gate Considerations Rise Time Problems Solution Use Totem Pole Output Totem Pole Operation When at least on input is low Q 2 is off, No current in R3 and Q 4 is off Q 3 is on and R 4 can be small and minimize the time constant for the output to go high » With a Low out Q 3 is off When both inputs are High Reverse currents supply base of Q 4

Actual Gate Considerations Rise Time Problems Totem Pole Operation When both inputs are High Reverse currents supply base of Q 2, Q 2 conducts Base of Q 4 goes high and Q 4 conducts Output is Low Much faster Rise times Since Q 3 only conducts when the output is high, R 3 can be sized to minimize the time constant and not cause a heat and efficiency problem

Actual Gate Considerations Typical TTL parameters

Actual Gate Considerations Typical TTL part

Actual Gate Considerations Standard 74 series TTL has evolved into other series: Standard TTL, 74 series Schottky TTL, 74S series, Low power Schottky TTL, 74LS series (LS-TTL), Advanced Schottky TTL, 74AS series (AS- TTL), Advanced low power Schottky TTL, 74ALS series 74F fast TTL CMOS series CD 4000, incompatible with TTL voltage levels Low power CMOS 74 series pin compatible, 74LS series Low power CMOS that is TTL level and pin compatable – 74HCT, Improved versions, e.g., LV, LVT, ALVT, AC/ACT (A is for advanced, T is for TTL compatable)

Specialized Test Equipment Logic Probe Example: Instek GLP-1A Logic Probe

Specialized Test Equipment Digital Pulser Digital Pulser (SJ-1) Accurate Timebase Generator Output: Open Collector (Interfaceable with any Logic Circuits) Supply: 4.5V-18VDC 9 Selectable Output Frequencies: 16MHz (crystal osc. output), 8MHz, 1MHz, 100KHz, 10KHz, 1KHz, 100Hz, 10Hz & 1Hz.

Specialized Test Equipment Logic Analyzere

Specialized Test Equipment Testing a gate in a Live Circuit

MOS Circuits Characteristics Most common type is CMOS – Complementary MOS Circuits use both P-Channel and N-Channel devices in the same circuit CMOS Circuits consume very little power Most of the TTL logic gates have been implemented in CMOS Typical Gates covered Inverters and NOR gates Inverter Same logic symbol as for the TTL version Same truth table

MOS Circuits Inverter Circuit Operation With the input at ground – Logic 0 0V Gate-source on the N-Channel device (Q 2 ) and it is off -Vdd Gate to-Source on Q 1 and it is on and acts like a 1000 Ω resistor Vdd on the output With the input high – Logic 1 Q 2 conducts and appears as a 1000 Ω resistor Q 1 is off and appears as an open

MOS Circuits NOR Gate Characteristics Refer to Figure on page 281 of the textbook Logic table Logic 1 out only with all logic 0s on the input Construction Two P channel MOSFETs connected to the inputs and connected in series with the V DD and the output Two N channel MOSFETs connected to the inputs and in parallel between the output and ground Circuit Operation With both inputs at ground – A & B at Logic 0 Q 1 and Q 2 (P channel devices) turn on and conduct Q 3 and Q 4 (N channel devices) are open and not conducting - V DD appears at the Output

MOS Circuits NOR Gate Circuit Operation With both inputs, A & B at Logic 0 Q1 and Q2 turn on and conduct Q3 and Q4 are open and not conducting - V DD appears at the Output With either or both A & B at Logic 1 Either Q1 or Q2, or both are turned off and not conducting much Either Q3, Q4, or both are turned on and conducting Logic 0 appears at the Output CMOS Characteristics See chart on the next slide Handling Precautions – see top of page 283

MOS Circuits CMOS Characteristics

In Class Review Logic Levels Logic Level ReferencesReferences Problem 10-1 on page 292 using TTL levels Problem 10-1 on page 292 using 5V CMOS Open Inputs Problem on page 295 Fan Outs Problem on page 295 Problem on page 295 Problem on page 296 Problem on page 296

Flip-Flops and Counters Characteristics Used to make sequential logic circuits Outputs depend upon: A previous event Combinational logic inputs The circuits remember what has happened Covered topics RS Flip-Flops D Flip-Flops J-K Flip-Flops Binary and Decade Counters 7-Segment displays

Flip-Flops and Counters RS Flip-Flops Can be implemented using NAND, NOR, AND, OR, and Inverters NOR gate Implementation Lower right drawing Used ½ of a 7402 IC Inputs are Active Highs A high input will change the state of the Gate NAND gate Implementation Used ½ of a 7400 IC

Flip-Flops and Counters RS Flip-Flops NAND gate Implementation Notice on the circuit and the logic symbol – Active Low inputs A Low input will change the state of the Gate A High input will not effect the output Other implementations use AND & OR gates with inverters See NAND Gates below

Flip-Flops and Counters RS Flip-Flops NAND Gate version Alternate Logic symbol drawing Also – Pull-Up Resistor

Flip-Flops and Counters D Flip-Flops Operation Logic symbol arrows indicate I/O PR and CLR act like the Set (S) and Reset (R) inputs on a NAND Gate R-S Filip-Flop Q and Q are always in opposite states The input CK (clock) on a positive transition causes Q to go either high or low depending on the D input Q’s state will match the state of D at that time

Flip-Flops and Counters J-K Flip-Flops Operation Has same PR and CLR as type D Has two inputs J and K instead of the D input See the truth Table Has an additional MODE of operation – Toggle » Outputs will toggle when a new clock pulse arrives at the CK pin Bubble on the CK indicates that negative transition is active

Flip-Flops and Counters Binary Counter using J-K Flip-Flops Q output acts as the clock input to the next Flip-Flop Walk through the circuit and timing diagram

Flip-Flops and Counters Sample Monolithic Counter 7493 Can be a 3-bit or 4-bit counter Wire Q A output to input B for 4-bit » MOD 16 counter Otherwise use input B » MOD 8 counter 14 – pin DIP

Flip-Flops and Counters Sample Monolithic Counter 7490 Decade counter Counts 0 – 9 and can be reset to zero Has 4 outputs Reference

Flip-Flops and Counters BCD Displays A common Anode version is shown Common Cathode versions are also available

Flip-Flops and Counters Interface Circuit The BCD counters output binary that resets after 9 The 7 segment display with decimal point has eight inputs that cause numbers 0-9 to display The 7447 is a seven segment display driver that translates binary counts into a seven segment inputs See pages 291 and 292

In Class Review Timing Problem on page 296 Identifying problems in Digital Circuits Problem on page 297 Problem on page 298 Problem on page 298 Problem on page 298