Electronic Troubleshooting. Chapter 10 Digital Circuits



Similar documents
Counters and Decoders

The components. E3: Digital electronics. Goals:

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Module 3: Floyd, Digital Fundamental

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Upon completion of unit 1.1, students will be able to

Decimal Number (base 10) Binary Number (base 2)

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

DEPARTMENT OF INFORMATION TECHNLOGY

CHAPTER 11: Flip Flops

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

Sequential Logic Design Principles.Latches and Flip-Flops

Lecture 8: Synchronous Digital Systems

Operating Manual Ver.1.1

Chapter 8. Sequential Circuits for Registers and Counters

ENGI 241 Experiment 5 Basic Logic Gates

Contents COUNTER. Unit III- Counters

Gates, Circuits, and Boolean Algebra

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Asynchronous Counters. Asynchronous Counters

EXPERIMENT 8. Flip-Flops and Sequential Circuits

A Lesson on Digital Clocks, One Shots and Counters

Digital Electronics Detailed Outline

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

Chapter 10 Advanced CMOS Circuits

A Digital Timer Implementation using 7 Segment Displays

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

Digital Logic Elements, Clock, and Memory Elements

CHAPTER 11 LATCHES AND FLIP-FLOPS

A Lesson on Digital Clocks, One Shots and Counters

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

BINARY CODED DECIMAL: B.C.D.

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

Design: a mod-8 Counter

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

PLL frequency synthesizer

Seven-Segment LED Displays

[ 4 ] Logic Symbols and Truth Table

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

3.Basic Gate Combinations

Copyright Peter R. Rony All rights reserved.

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

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

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

CD4013BC Dual D-Type Flip-Flop

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

Digital Logic Design Sequential circuits

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

Physics 120 Lab 6: Field Effect Transistors - Ohmic region

3-Digit Counter and Display

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

ECE124 Digital Circuits and Systems Page 1

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

Napier University. School of Engineering. Electronic Engineering A Module: SE42205 Digital Design

Chapter 9 Latches, Flip-Flops, and Timers

CHAPTER 3 Boolean Algebra and Digital Logic

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

Neonixie 6 Digit Nixie Clock Controller Introduction and Assembly

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, Lab 2. The Full-Adder

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

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Lab 11 Digital Dice. Figure Digital Dice Circuit on NI ELVIS II Workstation

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Memory Elements. Combinational logic cannot remember

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

Interfacing To Alphanumeric Displays

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

3-Phase DC Brushless Motor Pre-Drivers Technical Information NJM2625A

A simple RF/Microwave frequency counter

Analog & Digital Electronics Course No: PH-218

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Application Note AN-940

CS311 Lecture: Sequential Circuits

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

Binary Adders: Half Adders and Full Adders

Gray Code Generator and Decoder by Carsten Kristiansen Napier University. November 2004

DS1307ZN. 64 x 8 Serial Real-Time Clock

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Flip-Flops, Registers, Counters, and a Simple Processor

SN54/74LS192 SN54/74LS193

Obsolete Product(s) - Obsolete Product(s)

ASYNCHRONOUS COUNTERS

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits.

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

DATA SHEET. HEF40193B MSI 4-bit up/down binary counter. For a complete data sheet, please also download: INTEGRATED CIRCUITS

Microprocessor & Assembly Language

Counters & Shift Registers Chapter 8 of R.P Jain

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

Transcription:

Electronic Troubleshooting Chapter 10 Digital Circuits

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

AND Gate Logic Gates

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

Sample Application Inverters 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

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 Three components less

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 we decrease if R2 was made smaller However significant current would flow when Q2 was turned on

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

Actual Gate Considerations Rise Time Problems Totem Pole Operation When both inputs are High Reverse currents supply base of Q2, Q2 conducts Base of Q4 goes high and Q4 conducts Output is Low Much faster Rise times Since Q3 only conducts when the output is high, R3 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 - 7400

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

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 (Q2) and it is off -Vdd Gate to-source on Q1 and it is on and acts like a 1000 Ω resistor Vdd on the output With the input at ground Logic 1 Q1 conducts and appears as a 1000 Ω resistor Q2 is off and appears as an open

MOS Circuits NOR Gate Characteristics Refer to Figure 10-16 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 VDD 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 Q1 and Q2 turn on and conduct Q3 and Q4 are open and not conducting - VDD 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 - VDD 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

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 QA 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 http://www.datasheetcatalog.org/datasheet/nationalsemiconductor/ds006533.pdf

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