Chapter 11 Practical Considerations for Digital Design William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education,

Slides:



Advertisements
Similar presentations
FIGURE 7.1 Elements of the final control operation.
Advertisements

Sequential Logic Design
Chapter 12 Power Amplifiers
Chapter 14 Feedback and Oscillator Circuits
Chapter 5: BJT AC Analysis. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Electronic Devices and.
FIGURE 6.1 The electromagnetic radiation spectrum covers everything from very low frequency (VLF) radio to X-rays and beyond. Curtis Johnson Process.
FIGURE 3.1 System for illustrating Boolean applications to control.
FIGURE 2.1 The purpose of linearization is to provide an output that varies linearly with some variable even if the sensor output does not. Curtis.
FIGURE 8.1 Process and controller.
FIGURE 5.1 Potentiometric displacement sensor.
FIGURE 6-1 Comparison of: (a) ac waveform: (b) dc waveform; (c) dc variable power supply and battery-sources of dc; (d) function generator-a source.
Chapter 3 Logic Gates.
Selected Design Topics. Integrated Circuits Integrated circuit (informally, a chip) is a semiconductor crystal (most often silicon) containing the electronic.
Exclusive-OR and Exclusive-NOR Gates
Figure 3–1 Standard logic symbols for the inverter (ANSI/IEEE Std
Flip-Flops and Registers
FIGURE 11-1 Electrical system parts.
An Electronic System Power Supply Example
Counter Circuits and Applications
FIGURE 12-1 Op-amp symbols and packages.
Interfacing to the Analog World
Practical Considerations for Digital Design
Chapter 13 Shift Registers
Thomas L. Floyd Digital Fundamentals, 9e
Multivibrators and the 555 Timer
Multivibrators and the 555 Timer
Figure An amplifier transfer characteristic that is linear except for output saturation.
FIGURE 3-1 Basic parts of a computer. Dale R. Patrick Electricity and Electronics: A Survey, 5e Copyright ©2002 by Pearson Education, Inc. Upper Saddle.
Chapter 20: pnpn and Other Devices
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Figure 7–1 Two versions of SET-RESET (S-R) latches
Chapter 10 Flip-Flops and Registers Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. William Kleitz.
Logic Families and Their Characteristics
Chapter 3 Basic Logic Gates
Digital Tachometer ENGR 4803 Electromechanical Systems & Mechatronics.
Chap.10 Digital Integrated Circuits. Content  10-1 Introduction  10-2 Feature  10-3 Feature of BJT  10-4 RTL and DTL  10-5 TTL  10-6 ECL  10-7.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Astable multivibrators I
Synchronous Sequential Circuit Design Digital Clock Design.
WATER LEVEL CONTROLLER USING 555 TIMER
EET 1131 Unit 13 Multivibrators and the 555 Timer
Chapter 1 Quick review over Electronics and Electric Components Prepared By : Elec Solv.
Synchronous Sequential Circuit Design
Arithmetic Operations and Circuits
Chapter 15 Power Supplies (Voltage Regulators). Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Electronic.
Electronic Devices Ninth Edition Floyd Chapter 13.
CHAPTER 9 Oscilloscopes and Graphing Multimeters
Chapter 4 Programmable Logic Devices: CPLDs with VHDL Design Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights.
Chapter 2 Digital Electronic Signals and Switches Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.
Chapter 4 Programmable Logic Devices: CPLDs with VHDL Design Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights.
Chapter 3 Basic Logic Gates William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River,
Chapter 17 pnpn and Other Devices
EMT212 Analog Electronic II
Electronics Technology Fundamentals Chapter 24 Switching Circuits.
Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey All rights reserved. Digital Fundamentals, Tenth Edition Thomas.
Power Supplies (Voltage Regulators)
RASH DRIVING WARNING SYSTEM FOR HIGHWAY POLICE
OVER VOLTAGE OR UNDER VOLTAGE
LOAD CUTOFF SWITCH UPON OVER VOLTAGE OR UNDER VOLTAGE
EI205 Lecture 8 Dianguang Ma Fall 2008.
Digital Fundamentals Floyd Chapter 7 Tenth Edition
AC Inlet & AC Input Filter
FASTEST FINGER PRESS QUIZ BUZZER
QUIZ COMPETITION SENSOR FOR FASTEST FINGER PRESS
Wave Generation and Shaping
Multivibrator.
Satish Pradhan Dnyanasadhana college, Thane
EET 1131 Unit 13 Multivibrators and the 555 Timer
Edge-Based Circuits DIGI-260 ©Paul R. Godin gmail.com.
Presentation transcript:

Chapter 11 Practical Considerations for Digital Design William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Flip-Flop Time Parameters Race condition –See Figure 11-1 Data Manual –ac waveforms illustrate measuring points –See Figure 11-2 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure 11-1 Figure 11-2 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Flip-Flop Time Parameters Setup time –prior to active clock edge –t s (L) and t s (H) Hold time –t h (L) and t h (H) –See Figure 11-3 Propagation delay –delay from input to output William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure 11-3 William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Flip-Flop Time Parameters Manufacturer’s Data Manual –maximum frequency (f max ) –clock pulse width [t w (L)] and [t w (H)] –set or reset pulse width [t w (L)] Metastable state –output voltage at an invalid level Delay gate ICs to provide delay William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Automatic Reset To automatically reset at power-up Use RC circuit See Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Schmitt Trigger ICs Positive feedback to speed up level transitions Hysteresis –switching thresholds of positive and negative-going signals are different –useful to ignore small amounts of jitter –See Figure Transfer Function –See Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Switch Debouncing Switch bounce when a mechanical switch is opened or closed –See Figure J-K Flip-Flop method –See Figure Schmitt method –See Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Switch Debouncing Cross-NAND method –See Figure D flip-flop method –See Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Sizing Pull-Up Resistors Used to prevent floating –avoid high power consumption –10 K ohm resistor works fine Pull-down resistor –to keep terminal LOW –100 ohm resistor works fine William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Practical Input and Output Considerations 5 V Power Supply –78XX series integrated circuit voltage regulators –ac-to-dc rectifier circuit –ripple-free output –See Figure Hz clock –zener diode –See Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Practical Input and Output Considerations Driving Light-Emitting Diodes –provide current by sinking when output is LOW –330 ohm resistor to limit current –See Figure Connecting multiple I/O to a CPLD or FPGA –see figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Practical Input and Output Considerations Phototransistor Input to a Latching Alarm –See Figure Using an Optocoupler for Level Shifting –See Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Practical Input and Output Considerations Power MOSFET to Drive a Relay –See Figure Level Detecting with Analog Comparator –LM339 –See Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Figure Figure William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Summary Unpredictable results on IC logic can occur if strict timing requirements are not met. A setup time is required to ensure that the input data to a logic circuit is present some defined time prior to the active clock edge. A hold time is required to ensure that the input data to a logic circuit is held for some definite time after the active clock edge. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Summary The propagation delay is the length of time it takes for the output of a logic circuit to respond to an input stimulus. Delay gates are available to purposely introduce time delays when required. The charging voltage on a capacitor in a series RC circuit can be used to create a short delay for a power-up reset. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Summary The two key features of Schmitt trigger ICs are that they output extremely sharp edges and they have two distinct input threshold voltages. The difference between the threshold voltages is called the hysteresis voltage. Mechanical switches exhibit a phenomenon called switch bounce, which can cause problems in most kinds of logic circuits. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Summary Pull-up resistors are required to make a normally floating input act like a HIGH. Pull-down resistors are required to make a normally floating input act like a LOW. A practical, inexpensive 5 V power supply can be made with just a transformer, four diodes, some capacitors, and a voltage regulator. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Summary A 60-pulse-per-second clock oscillator can be made using the power supply’s transformer and a few additional components. The resistance from collector to emitter of a phototransistor changes from about 10 M ohm down to about 1000 ohm when light shines on its base region. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.

Summary An optocoupler provides electrical isolation from one part of a circuit to another. Power MOSFETs are commonly used to increase the output drive capability of IC logic from less than 100 mA to more than 1A. William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.