Electronic Troubleshooting Chapter 11 Digital Systems.

Slides:



Advertisements
Similar presentations
Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
Advertisements

Programmable Interval Timer
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 10.1 Sequential Logic  Introduction  Bistables  Memory Registers  Shift.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Digital Logic Chapter 5 Presented by Prof Tim Johnson
EKT 124 / 3 DIGITAL ELEKTRONIC 1
LOGIC GATES ADDERS FLIP-FLOPS REGISTERS Digital Electronics Mark Neil - Microprocessor Course 1.
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
Data Acquisition ET 228 Chapter
Chapter 3 Basic Logic Gates 1.
CHAPTER 1 Digital Concepts
Counter Circuits and VHDL State Machines
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
DIGITAL CIRCUITS Dr. L M Head Sophomore Clinic Fall 2004.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
TIMERS.
Electronics Technology
Logic Device and Memory. Tri-state Devices Tri-state logic devices have three states: logic 1, logic 0, and high impedance. A tri-state device has three.
Chapter 7 Counters and Registers
Digital and Analog Quantities
Practical Aspects of Logic Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
Figure 1–1 Graph of an analog quantity (temperature versus time). Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education, Inc. Upper.
The Microcomputer System In this presentation you will: Investigate the microprocessor Title Page.
Electronic Troubleshooting
Digital Fundamentals Floyd Chapter 1 Tenth Edition
Electronic Troubleshooting Chapter 10 Digital Circuits.
Flip Flop
Integrated Circuits. Integrated Circuit (IC) A silicon crystal (chip) containing electronic components that create the logic gates we’ve been looking.
Microprocessor Address Decoding.
Practical Digital Design Considerations Part 1 Last Mod: January 2008 ©Paul R. Godin.
PHY 202 (Blum)1 Analog-to-Digital Converter and Multi-vibrators.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Counter Application (Part B) By : Pn Siti Nor Diana Ismail CHAPTER 3.
Flip-Flops and Registers
Memory and Storage Dr. Rebhi S. Baraka
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
PHY 201 (Blum)1 Transistor Odds and Ends. PHY 201 (Blum)2 RTL NOR.
8279 KEYBOARD AND DISPLAY INTERFACING
PHY 201 (Blum)1 Transistor Odds and Ends. PHY 201 (Blum)2 RTL NOR.
Integrated Circuits. Integrated Circuit (IC) A silicon crystal (chip) containing electronic components that create the logic gates we’ve been looking.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
8254 Timer.
1 Digital Fundamentals Chapter 8 Flip-Flops and Related Devices Resource: CYU / CSIE / Yu-Hua Lee / Not made by Engr. Umar Talha,
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd © 2008 Pearson Education Chapter 1.
8279 KEYBOARD AND DISPLAY INTERFACING
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
EKT 121 / 4 ELEKTRONIK DIGIT I
Digital-to-Analog Analog-to-Digital Week 10. Data Handling Systems  Both data about the physical world and control signals sent to interact with the.
Microprocessors 3 Buses, Addresses and Machine Cycles 1 Modified April 2011 ©Paul R. Godin prgodin gmail.com.
Ch.5 Flip Flops and Related Devices
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 1 Digital Electronics.
발표자 : 이재신 발표 일시 : Chapter 2 Hardware Fundamentals for the Software Engineer The embedded-systems software engineer must often understand.
Programmable Logic Devices
EKT124 Digital Electronics 1 Introduction to Digital Electronics
The 8085 Microprocessor Architecture
Digital Fundamentals Floyd Chapter 1 Digital concepts Tenth Edition
Introduction Molecules: made up of atoms of individual elements.
The 8085 Microprocessor Architecture
Instructor: Alexander Stoytchev
Chapter 11 Sequential Circuits.
Interfacing Memory Interfacing.
Programmable Interval timer 8253 / 8254
Programmable Interval timer 8253 / 8254
Digital Fundamentals Floyd Chapter 1 Tenth Edition
The 8085 Microprocessor Architecture
8253 – PROGRAMMABLE INTERVAL TIMER (PIT). What is a Timer? Timer is a specialized type of device that is used to measure timing intervals. Timers can.
Registers and Counters
Presentation transcript:

Electronic Troubleshooting Chapter 11 Digital Systems

Key Aspects Analyzing large systems based upon info in system diagrams Topics covered Understanding Digital Systems Bus-oriented Systems Problems in digital systems Troubleshooting Digital Systems Testing and Troubleshooting Microprocessor systems

Understanding Digital Systems Key Aspects Most digital and computer (microprocessor or micro-controller) controlled systems can be represented by a block diagram similar to the one on the right

Understanding Digital Systems Example System Simple Interval Counter Control subsystem: Control Flip-Flop Clock NAND Gate –regulates control signals Input Subsystem Reset, Start, & Stop switches Arithmetic Subsystem Tree 7490’s arranged in a multistage counter

Understanding Digital Systems Example System Simple Interval Counter Output 7-Segement displays, drivers, and input signals Memory Lacks this subsystem Testing notes If the subsystem inputs and outputs are known Subsystems operation testable using I/O values

Bus-oriented Systems Characteristics Bus Symbols on diagrams Arrow with a diagonal line and the number of connected lines Replaced 7 lines between the 7447 IC and the 7-Seg display Busses structures require multiple devices to use circuits (lines) in a bus as Inputs & Outputs Can cause significant problems Example: Gate 1 tries to pull point X to a logic 1 and Gate 2 tries to put it at a logic 0 – Indeterminate result

Bus-oriented Systems Characteristics Replace the gates driving lines of a Bus with gates that use external pull-up resistors Example 7401 NAND Gates w/external pull-up resistors The previous using these types of gates resolves to the gate putting out a logic 0 controls the line

Bus-oriented Systems Bus Example Both “X” and “W” inputs drive the lines of th bus 4-bit data bus Lines b 0 – b f Drives multiple gated outputs “Y” & “Z”

Bus-oriented Systems Tristate Outputs Better solution Has the faster rise time of the Totem Pole outputs Has 3 states : High, Low, High Impedance Operation The added diode D1 will ground out the collector of Q2 and the base of Q3 Q2 and Q3 are off No current through R3 and Q4 is off Equivalent Circuit – lower left

Bus-oriented Systems Tristate Outputs Example Circuit

Bus-oriented Systems Address Bus Used to select ICs, memory locations, multi-line Tristate inverters or buffers (same as inverters but no inversion of levels), etc Three binary address lines select one of eight outputs A way to select a bank of tristes to activate

Bus-oriented Systems Address Decoder circuit Three lines on a 8-bit address bus is used to activate one of up- to eight banks of tristates Controlling the writing data to another Bus Typical circuit in Bus based systems Microcomputers, micro-controllors, etc

Problems in digital systems Typical Problems covered Ringing and Reflections Power Supply Glitches Changes in Layout, Components, and Temperature Ringing and Reflections

Problems in digital systems Ringing and Reflections Caused by long interconnecting lines As the interconnection lines length becomes significant to the wavelength or the signal frequency Load, source and transmission line impedance mismatch can lead to signal reflections and distortions Reflected waves interfere with new signals on the same line » May be in or out of phase with the new signal » End Result: the refection combines with the signal forming a new third signal.

Problems in digital systems Ringing and Reflections Distortion call also occur on long interconnecting lines due to the different impedances seen by different components of the square wave placed on the lines All interconnecting lines have distributed capacitance and inductances The longer the lines the more the significant the distributed components Square waves have been analyzed as consisting of a large collection of signals with a large range of frequencies with differing amplitudes They react to long transmission line according to that analysis

Problems in digital systems Ringing and Reflections Square waves have been analyzed - continued Higher frequency component waveforms suffer more attenuation than lower frequency waveforms Thus more distortion Noise pick-up and crosstalk Longer lines form better antennas to pick-up external signals/noise Longer lines form better antennas to pick-up internal signals from nearby lines caring other signals - aka Crosstalk

Problems in digital systems Power Supply Glitches Sudden changes in current draw by one of several components in a parallel connection to a regulated power supply can cause a voltage glitch Caused by the voltage developed across the distributed inductance of the line supplying the power Very short duration – only as long as the current draw is changing Voltage spike per the following: See Example Problem 11-1 on page 320

Problems in digital systems Power Supply Glitches Solution Below:

Problems in digital systems Ground Plane caused problems A large shared ground plane (as shown in the previous examples) Large current draws can lead to ground level fluctuations and related problems Best cure is at design time Provide each part of the circuit it’s own path to ground » Thus minimizing the sharing of problems See Figure on page 321

Troubleshooting Digital Systems Same steps as for an analog system Understand the circuit operation Apply typical inputs Successively split the system into smaller and smaller sections. Look for circuits that have good inputs and abnormal outputs Start at the approximate middle between inputs and outputs Sample circuit is analyzed A frequency Counter

Troubleshooting Digital Systems Same steps as for an analog system A frequency Counter Pages 324 and 325

Troubleshooting Digital Systems Same steps as for an analog system Sample circuit is analyzed How it works (see page 325) Signal to be measure is feed into the Squaring Block » TTL compatible square wave comes out Before the start of a measurement – the control circuit resets all the counters Then the squared input signal goes through the gate for 1 second COUNT-NOT pulses » At the freq of the input COUNT-NOT pulses are feed to the counters for 1 second » Gate is disabled to stop the counting after one second » Counters hold the count of the number of input pulses that occurred during the 1-second measurement period

Troubleshooting Digital Systems Same steps as for an analog system Sample circuit is analyzed How it works (see page 325) Then a store pulse is feed the Latches – enabling the storage of the count that was on the output pins of the counters The latches feed the BCD to 7-Segement drivers which drive the displays The clock is a 555 chip and the output from pin 3 is a rectangular waveform that has a pulse width of 1 second » Calibrated by adjusting pot R1 The falling edge of the Clock (555 chip -pin 3 ) triggers the one-shot output from pin 13 of chip » 100µsec pulse – set by R3-C2 » Enables the latches to read the output pins of the counters

Troubleshooting Digital Systems Same steps as for an analog system Sample circuit is analyzed How it works (see page 325) The falling edge of the Latch enable one-shot pulse enables another one-shot output from – pin 5 » Pulse resets the counters The count of pulses stored in the latches represents the frequency of the input signal – since they only count during the one second measurement period Timing diagram on page 327 of the textbook Troubleshooting the sample circuit Inject a testing signal of a few hundred Hz Watch the displays Normal operation is obvious

Troubleshooting Digital Systems Same steps as for an analog system Troubleshooting the sample circuit Watch the displays Indications of the source of abnormal operation can also be discerned from the displays. » If the least significant digit is operating correctly and the second and third aren’t » All the Input, timing & control circuitry is working, also IC’s 7, 10, and 13 must also be functional - check the IC supporting the other displays If none of the displays are functioning normally Go to the middle of the circuit. Check the outputs of IC 7 If good split the remaining part of the circuit and test again. etc Troubleshooting flow chart on page 328 Large scale Integrated IC version on page 331

Testing and Troubleshooting Microprocessor systems Very common to find microprocessors, microcontrollers, Programmable Logic devices in circuits Designs that can be varied to meet a situation by changing the program in the device i.e., first circuit that input buttons on a WMS Bluebird Slot Machine is a PIC microcontroller Programmed to de-bounce input button activations Some items can be checked even without a complete understanding of such a system.

Testing and Troubleshooting Microprocessor systems First Step –understand the system Sample system - MC6800 Microprocessor single board system - See Figure on page 333

Testing and Troubleshooting Microprocessor systems First Step –understand the system Sample System - MC6800 – continued Has all the subsystems shown in Figure 11-1 on page 309 MC6800 chip contains the control and arithmetic functions 74LS244 chip contains the Input circuits Tristate octal input buffer Connects external inputs to the data bus when enabled » Pins 1G and 2G are active Low Output data leaves through the octal buffer 74LS is EPROM that holds the system program(s) 8 data bits

Testing and Troubleshooting Microprocessor systems First Step –understand the system Sample System - MC6800 – continued RAM - two 2112 ICs 4 data bits Need two for a byte of data Chip Select Circuit 74LS155 – 4 to 1 decoder 2- address lines are used to select one of four ICs (A 15 and A 12 ) » A 12 = 0 and A 15 = 1 selects output 2Y 2 » A 12 = 0 and A 15 = 0 selects output 2Y 0

Testing and Troubleshooting Microprocessor systems Simple tests w/out maintenance programming and special test equipment Usually the major components are in sockets and can be removed Remove them an test surface mounted circuits that are isolated On the sample circuit the MPU, RAM and EPROM can be removed Obvious circuit to test is the clock On Sample: Pins 01 and 02 of the MC6875 and MC6800 chips Next check the Chip select circuits set MC6800 address pins A 12 & A 15 and check CE-NOT pins on the other chips

Testing and Troubleshooting Microprocessor systems Simple tests w/out –continued Major components – removed - continued Check the input buffers by using external data settings and the appropriate address settings for A 12 & A 15 Read the inputted data at the data lines for any of the removed ICs Continue with all the supporting circuits that can be directly tested. Any inverters and gates can be tested using a logic probe and digital pulser Retest with some or all the major components in place