University of Illinois at Urbana-Champaign

Similar documents
EXPERIMENT #6 DIGITAL BASICS

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

16 Stage Bi-Directional LED Sequencer

Laboratory 9 Digital Circuits: Flip Flops, One-Shot, Shift Register, Ripple Counter

PHY 351/651 LABORATORY 9 Digital Electronics The Basics

ECB DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER

Physics 323. Experiment # 10 - Digital Circuits

006 Dual Divider. Two clock/frequency dividers with reset

PHYS 3322 Modern Laboratory Methods I Digital Devices

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore)

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore)

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

Laboratory 8. Digital Circuits - Counter and LED Display

Digital Circuits I and II Nov. 17, 1999

Lab #6: Combinational Circuits Design

ECE 2274 Pre-Lab for Experiment Timer Chip

CPE 200L LABORATORY 3: SEQUENTIAL LOGIC CIRCUITS UNIVERSITY OF NEVADA, LAS VEGAS GOALS: BACKGROUND: SR FLIP-FLOP/LATCH

ECE 372 Microcontroller Design

[2 credit course- 3 hours per week]

Data Sheet. Electronic displays

DIY KIT MHZ 8-DIGIT FREQUENCY METER

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

Laboratory 7. Lab 7. Digital Circuits - Logic and Latching

Dev Bhoomi Institute Of Technology Department of Electronics and Communication Engineering PRACTICAL INSTRUCTION SHEET

Today 3/8/11 Lecture 8 Sequential Logic, Clocks, and Displays

A FOUR GAIN READOUT INTEGRATED CIRCUIT : FRIC 96_1

DepartmentofElectronicEngineering NEDUniversity ofengineering &Technology LABORATORY WORKBOOK DIGITAL LOGIC DESIGN (TC-201)

4.9 BEAM BLANKING AND PULSING OPTIONS

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science

Chapter 9 MSI Logic Circuits

University of Victoria. Department of Electrical and Computer Engineering. CENG 290 Digital Design I Lab Manual

ME 515 Mechatronics. Introduction to Digital Electronics

WINTER 15 EXAMINATION Model Answer

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

successive approximation register (SAR) Q digital estimate

Chapter 3: Sequential Logic Systems

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

EECS150 - Digital Design Lecture 2 - CMOS

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

Analogue Versus Digital [5 M]

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

Chapter 18. DRAM Circuitry Discussion. Block Diagram Description. DRAM Circuitry 113

Lab #11: Register Files

Digital Circuits. Innovation Fellows Program

Bell. Program of Study. Accelerated Digital Electronics. Dave Bell TJHSST

Operating Manual Ver.1.1

EE 367 Lab Part 1: Sequential Logic

List of the CMOS 4000 series Dual tri-input NOR Gate and Inverter Quad 2-input NOR gate Dual 4-input NOR gate

Light Emitting Diodes and Digital Circuits I

INTRODUCTION (EE2499_Introduction.doc revised 1/1/18)

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous)

ELEC 4609 IC DESIGN TERM PROJECT: DYNAMIC PRSG v1.2

Light Emitting Diodes and Digital Circuits I

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset

Light Emitting Diodes and Digital Circuits I

Decade Counters Mod-5 counter: Decade Counter:

TEST-3 (DIGITAL ELECTRONICS)-(EECTRONIC)

Physics 217A LAB 4 Spring 2016 Shift Registers Tri-State Bus. Part I

MSCI 222C Fall 2018 Introduction to Electronics

LATCHES & FLIP-FLOP. Chapter 7

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

MSCI 222C Fall 2018 Introduction to Electronics

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

LABORATORY # 1 LAB MANUAL. Digital Signals

Microprocessor Design

Microcontrollers and Interfacing week 7 exercises

Engineering College. Electrical Engineering Department. Digital Electronics Lab

Integration of Virtual Instrumentation into a Compressed Electricity and Electronic Curriculum

Rensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

Physics 120 Lab 10 (2018): Flip-flops and Registers

A MISSILE INSTRUMENTATION ENCODER

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter

Lesson 12. Advanced Digital Integrated Circuits Flip-Flops, Counters, Decoders, Displays

EE Chip list. Page 1

WINTER 14 EXAMINATION

MSCI 222C Class Readings Schedule. MSCI 222C - Electronics 11/27/18. Copyright 2018 C.P.Rubenstein Class Seating Chart Mondays

Computer Systems Architecture

1 Hour Sample Test Papers: Sample Test Paper 1. Roll No.

7 SEGMENT LED DISPLAY KIT

Music Electronics Finally DeMorgan's Theorem establishes two very important simplifications 3 : Multiplexers

Experiment # 4 Counters and Logic Analyzer

PRACTICAL WORK BOOK For Academic Session Semester. DIGITAL LOGIC DESIGN (TC-203) For SE (TC)

Mission. Lab Project B

Introduction to Digital Electronics

The Micropython Microcontroller

55:131 Introduction to VLSI Design Project #1 -- Fall 2009 Counter built from NAND gates, timing Due Date: Friday October 9, 2009.

Introduction. Serial In - Serial Out Shift Registers (SISO)

Chapter 4. Logic Design

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

LAB #6 State Machine, Decoder, Buffer/Driver and Seven Segment Display

Build A Video Switcher

Scanned and edited by Michael Holley Nov 28, 2004 Southwest Technical Products Corporation Document Circa 1976

IT T35 Digital system desigm y - ii /s - iii

CS302 Glossary. address : The location of a given storage cell or group of cells in a memory; a unique memory location containing one byte.

Digital Delay / Pulse Generator DG535 Digital delay and pulse generator (4-channel)

Transcription:

University of Illinois at Urbana-Champaign Digital Electronics Laboratory Physics Department Physics 40 Laboratory Experiment 3: CMOS Digital Logic. Introduction The purpose of this lab is to continue our investigation of various types (i.e. families) and kinds of logic circuits, and moving further towards highly-integrated circuit chips that carry out several functions. 2. Special Handling Requirements For CMOS Logic Circuits: Examples of Complementary Metal Oxide Semiconductor (CMOS) logic circuits are the CD 4007 dual complementary pair, the CD 40 quadruple 2 input NAND gate and the CD 406 quad bilateral switch, as shown below in Figures a c. When using CMOS IC s, it is very important to keep in mind that MOSFET s have extremely high input impedance (typically 0 2 Ω), and because of this, they can be very easily destroyed by the application of excessive voltages to the gate and/or discharges of static electricity! Please read the precautions listed under Operating considerations in the manufacturer s specifications and follow the rules carefully. The input voltage requirement: SS I must be strictly adhered to at ALL times - i.e. = + olts must never be turned off while a (positive) input voltage, I is applied to any input. You must connect all unused inputs either to = +, or to SS = 0 (i.e. ground). In order to minimize capacitive pick up, it is wise/good practice to also connect the ground plate of the breadboard to SS = 0 volts. For more information on CMOS logic, refer e.g. to the RCA Solid State Data Book SSD 203C, COS/MOS Digital Integrated Circuits; CMOS Integrated Circuits, National; Section 4 CMOS of Fairchild MOS/CCD Data Book; Motorola Semiconductor Library ol. CMOS, etc.

Physics 40 Lab 3 CMOS Digital Logic Page 2/9 Physics Department, UIUC P 6 3 3 8 N 4 2 N P 0 P N 7 4 9 Terminal No. 4 = Terminal No. 7 = SS 2 A B J K C D SS 2 3 4 6 7 J = A B K = C D L = E F M = G H 4 3 2 0 9 8 H G M L F E CD 4007 (a) CD 40A (b) Figure a & b. Pin-out information for the CMOS CD 4007 and CD 40A IC s. IN/OUT OUT/IN 2 SWA 4 3 CONTROL A (c) OUT/IN IN/OUT CONTROL B CONTROL C SS 3 4 6 7 SWD SWB SWC 2 0 9 8 CONTROL D IN/OUT OUT /IN OUT/IN IN/OUT CD 406B Fig. c. Pin-out information for the CMOS CD 406B/CD 4066 Analog Switch IC.

Physics 40 Lab 3 CMOS Digital Logic Page 3/9 Physics Department, UIUC 3. Exercises with CMOS Integrated Circuits: Part A: a.) Measure the voltage transfer characteristics, 0 versus I associated with a CMOS CD 40A NAND gate for = 3,, 0 and volts. Plot out your 0 versus I measurements on a graph in your lab book, similar to those shown below in Figure 2 (Note that graph paper is available in one of the filing cabinets in the Physics 40 lab and also online, on the Physics 40 web page). b) What are the 0 and logic levels for each of the four values of? ( ) 0 = 0 = = 0 INPUT (OLTS) Figure 2: oltage Transfer Characteristics, 0 versus I of a CMOS CD 40A NAND gate for =, 0 and volts. Part B: a.) Measure the switching speed of a CMOS CD 40A NAND gate for = volts. Apply a square wave to one input and observe the output signals if the gates are connected in series. How does the capacitance of your scope probe affect your measurement of the rise and fall times? * b.) Connect five CMOS inverters (CD4069) in a loop like in the previous lab and measure the frequency of oscillation as a function of. Part C: Interfaces Between TTL and CMOS Gates: (Note: = + volts) a.) Are the TTL logic levels and/or currents adequate to drive a CMOS gate? b.) Are the CMOS logic levels and/or currents adequate to drive a TTL gate? c.) What kind of interface circuit(s) between TTL CMOS logic are required in order for them to communicate properly with each other? * Did you use a compensated 0X scope probe? Explain.

Physics 40 Lab 3 CMOS Digital Logic Page 4/9 Physics Department, UIUC 4. CMOS Three Digit Counter and Display: CMOS circuits are particularly desirable for use in large-scale systems. The Motorola MC 43B and MC 443B are examples of several logic functions integrated into a single IC. The MC 43B is a three-digit BCD (Binary Coded Decimal) counter with overflow (for cascading purposes). Refer to the MC43B data sheet for details of the following: Three separate counters (with 4-bit BCD output data) are driven by a common clock input. Three individual 4-bit latches store BCD information associated with each counter. The content of each of the three 4-bit latches is multiplexed and output serially, digit-by-digit. Three output lines (DS, DS2 and DS3) indicate which digit ( s, 0 s or 00 s ) the BCD data (Q0, Q, Q2 and Q3) is being displayed at the output. An internal oscillator can be used to determine the 3-digit multiplexing frequency, using CA & CB lines. The BCD data output from the MC 43B IC can then be subsequently decoded by a BCD-to-seven segment latch/decoder/display driver IC, the MC 443B (n.b. the CD406B is equivalent to the Motorola MC 443B). 4 3 2 0 3 CA Clock LE Dis MR CB Q0 Q Q2 Q3 O.F. DS DS2 DS3 4 = Pin 6 SS = Pin 8 MC 43 B Figure 3. The MC 43B 3-Digit BCD Counter IC.

Physics 40 Lab 3 CMOS Digital Logic Page /9 Physics Department, UIUC Details of the MC43B 3-Digit BCD Counter IC: DS, DS2, DS3 (outputs) indicate which digit ( s, 0 s or 00 s ) is associated with the BCD data (Q0, Q, Q2 and Q3). Level is low for the digit being displayed. Q0, Q, Q2, Q3 (outputs) BCD data associated with the particular digit ( s, 0 s or 00 s ) being displayed. LE (input) Latches BCD data from the counter into the output(s). Raising this line will latch the current count into the output display register(s). This is function is analogous to the elapsed time on a stop watch. The displayed count at the instant the LE line was initially raised (thus latching the count data) will remain at this count while the counter is still counting. To update the displayed number, simply momentarily drop the LE line low. If the LE line is continuously held low, the displayed number will always equal the current count. MR (input) {Master} Reset of the counter. Raising this line resets the counter to 0. To start counting again, drop this line low. DIS (input) Disables counting. When this line is high the counter stops counting. When the line is again dropped low, the counter begins counting again, continuing on from its previous count value. OF (output) Overflow. This line goes high when the (0:999) counter overflows, i.e. when the count =000 (and higher). CIA, CIB These lines control the 3-digit MUX display rate i.e. the rate at which the BCD data (outputs Q0, Q, Q2 and Q3) changes between the three digits ( s, 0 s or 00 s ). The 3-digit MUX display rate can be directly controlled by supplying a clock pulse-train to pin 4, or by placing a capacitor (e.g. 0.00 µf) between CA & CB (pins 3 and 4) to cycle through the digits.

Physics 40 Lab 3 CMOS Digital Logic Page 6/9 Physics Department, UIUC 3 2 4 6 A B C D Ph a b c d e 9 0 2 3 a f g b e c d 7 BI LD f g 4 DISPLAY 0 2 3 4 6 7 8 9 MC443 MC 443 B Output Ph Common Cathode LED (a) MC 443 B Output Ph Common Anode LED SS (b) Fig. 4. (a) MC443 BCD-to-Seven Segment Latch/Decoder/Driver IC and LED readout. Note that for MC443, is Pin 6 and SS is Pin 8. (b) LED connection with MC 443. [Bipolar transistors may be added for gain (for 0 or Iout 0 ma)]

Physics 40 Lab 3 CMOS Digital Logic Page 7/9 Physics Department, UIUC Details of the MC443B BCD-to-Seven Segment Latch/Decoder/Driver IC: For a given digit ( s, 0 s or 00 s), the MC443 IC takes the 4-bit BCD code and outputs data for which of the 7 segments of the LED display are to be on, for that particular number. The MC443 IC is capable of driving either 7-segment common anode or common cathode displays. For common anode (common cathode) mode, the segments that are to be on will have a low (high) level, respectively. LD (input) Latch Disable. Set high (low) to enable (disable) the display numbers, respectively. A,B,C,D (input) 4-bit BCD number. a,b,c,d,e,f,g outputs to drive the seven-segment display. Ph (input) Internally configures the MC443B for driving common anode or common cathode displays. Set Ph=0 (=) for use with common cathode (common anode) 7- segment LED displays, respectively. BI (input) Setting this line high (low) blanks (enables) the display, respectively. Multiplexed 7-Segment LED Displays: Cathode e d Cathode 2 x f a g b Cathode a b c d e f g Cathode Cathode 2 Cathode 3 Figure. HP 082-7433 schematic and connections.

Physics 40 Lab 3 CMOS Digital Logic Page 8/9 Physics Department, UIUC Two different types of multiplexed 7-segment LED displays are available in the lab: the HP082-7433 3-digit bubble displays and the Lumex 4-digit displays [ LDQ-N6RI (common cathode) and LDQ-M6RI (common anode)]. The HP082-7433 is a common cathode 7-segment LED display and its use is shown as an example in our circuit. Note that the line for each segment of HP 082-7433 is the same for each digit. Therefore applying a voltage to a pin will light the segment on each digit whose cathode is connected to ground. See Figure. During the construction of the 3-digit counter & diplay circuit (using e.g. the common-cathode 7-segment LED display), it is important to understand the details of how the MC443 3-digit BCD counter acutally outputs the data used for displaying numbers on the 3-digit LED display. MC443 outputs 7-segment data associated with a number for a given digit ( s, 0 s or 00 s) one number at a time, and which digit s data that is being output at that time is indicated by a low level on one of the three DS# pins. The MC443 3digit BCD counter IC begins by outputting the 7-segment data for the s digit, with DS going low. Then it outputs the 7-segment data for the 0 s digit with DS2 going low. Then it outputs the 7-segment data for the 00 s digit with DS3 going low. Then it goes back to outputting the 7-segment data for the s digit and so on. Thus, if all three of your LED display s common cathodes of are hooked directly to ground, then the same number will be simultaneously displayed on all three digits which is not what we want! In order to properly (i.e. separately, sequentially) display the 7-segment data for the s, 0 s and 00 s digits, the common cathode associated with each LED display digit must be grounded only during the time its 7-segment data is supposed to be displayed. A simple way to accomplish this task is to use each of the DS# lines to drive an NPN transistor to control the current flow in the common cathodes associated with each LED display digit. a.) Design and assemble this circuit on your breadboard using the MC 43 3-digit BCD counter IC to count pulses and check out its operation at low frequencies using e.g. a 3-digit, 7-segment common cathode LED display.

Physics 40 Lab 3 CMOS Digital Logic Page 9/9 Physics Department, UIUC b.) Investigate (i.e. determine) the maximum frequency of operation of your 3-digit counter and display circuit. Using 0 Ohm impedance RG-8/RG-74 coax cables and BNC Tees, breeze-by the output of your function generator (0 Ohm output impedance) first to the channel input of your oscilloscope input ( Meg-Ohm input impedance), then to the input of your HP 3440 DMM (which also has a Meg-Ohm input impedance) and finally to the input of your circuit. Use a Ohm resistor at the input of your circuit to properly impedance-match the input impedance of your circuit to the 0 Ohm transmission-line/coax cable. Note also that you will need to re-adjust the output level of the function generator with the Ohm coax cable termination resistor installed on the input of your circuit. Run the frequency of your function generator up from low frequencies continuously through the KHz, 0 s of KHz, 00 s of KHz bands, simultaneously observing the behavior of your circuit, the function generator signal on the scope and measuring the frequency on the HP 3440 DMM. erify that the function generator frequency agrees with that measured by the HP3440 DMM and with the frequency as measured from waveform observed on your oscilloscope. Then slowly raise the frequency of your function generator up into the MHz region. Is your HP 3440 DMM capable of measuring frequencies above MHz? Refer to the HP 3440 DMM User Manual for specifications on this device. Raise the frequency of your function generator past 2 MHz, simultaneously monitoring the signal on your scope and your circuit. What happens? From the waveform displayed on your oscilloscope, determine the maximum frequency of operation of your 3-digit counter and display circuit. Explain in your lab report why impedance matching from the output of the function generator to the input of your circuit is important. Is impedance matching important/necessary at all frequencies low and high? If not, what are the criteria for which impedance-matching between function generator output and circuit input becomes important? c.) What additional components would be necessary for your 3-digit counter and display circuit in order to build a frequency meter? (see e.g. Horowitz and Hill 2 nd ed., section.0) d.) What additional components would be necessary for your 3-digit counter and display circuit in order to enable it to measure higher frequencies?