Lab 10

horizontal rule

ece333 | doering | ece labs | ece | rhit

Home
Schedule
Course Information
Policies
Homework
Labs
Resources

CMOS Dynamic Behavior

horizontal rule

Introduction

 

Objectives

bulletMeasure gate propagation delay using direct and indirect measurement methods
bulletMeasure gate output rise and fall times
bulletInvestigate relationship between gate switching and supply current spikes
bulletStudy the effect of decoupling capacitors as a method of reducing supply noise

 Parts List

bulletSN74HC04N hex inverter
bullet100 pF capacitor
bullet1000 pF capacitor
bullet0.1 uF capacitor
bullet10-ohm resistor

 Equipment

bulletAgilent 54622D MSO
bulletAgilent 33120A Function/Arb Generator
bulletFixed 5V power supply
bulletBreadboard

 

horizontal rule

Prelab

  1. Obtain a data sheet for the SN74HC04N hex inverter. Study the “Parameter Measurement Information” section to determine how to measure rise and fall times and propagation delay.
     
  2. Consider the ring oscillator circuit below:

    A ring oscillator is a cascade of an odd number of inverters with the final invert output fed back to the input of the first inverter. The circuit is self-oscillating, and has no input from another circuit.

    Draw the timing diagram for the ring oscillator circuit using N = 5 inverters; the diagram will show all five inverter output waveforms. Assume a constant finite propagation delay tP for the inverters. [Hint: Assume that the first inverter has just produced an output transition from low to high, and hence an input transition to the next inverter of low to high, then follow the resulting behavior around the loop].
     
  3. Derive an equation that describes the oscillation frequency of the ring oscillator in terms of tP and the number of inverters N. Explain how this equation could be used to measure propagation delay.

     
  4. The supply current IDD is defined as positive when it enters the VDD pin of a device. Develop a method using an oscilloscope and a 10-ohm resistor that would allow you to display the dynamic supply current waveform iDD. Explain your technique and draw a circuit diagram. [Hint: Remember that the oscilloscopes in our lab must have their scope probe ground clips attached to ground!]

     
  5. Make a photocopy of your prelab pages, and bring to class the day before lab.

 

horizontal rule

Rise and Fall Time Measurement

  1. Set up the function generator to produce a 0 to 5V squarewave at 1 MHz. Apply this signal to a single inverter (the remaining inverter inputs should be tied low). Monitor both the inverter input and output with the oscilloscope.
     
  2. Adjust the oscilloscope output waveform display to maximize use of the screen in the vicinity of a rising edge on the inverter output.
     
  3. The MSO can measure rise and fall time directly using “Measure -> Quick Meas” followed by “Softkey -> more” and “Softkey -> Rise Time” (or “Fall Time”). Note the positions of marker lines, and verify that you understand how this relates to your Prelab Step 1. Record the rise time tr and fall time tf of the inverter output and compare to the published specifications – the data sheet may use the symbol “tt” to denote transition time when tr and tf are the same. [Hint: Recall that “compare” is lab handout code for “calculate percentage error and discuss your findings.”]
     
  4. Enter your value for tr under “Topic 1” and tf under “Topic 2” at http://www.rose-hulman.edu/~doering/homepage/single-line_comment.htm.
     
  5. Repeat Step 3 with a 100 pF capacitive load on the inverter output (connect between output terminal and ground), and then with a 1000 pF capacitive load. Discuss the impact of capacitive loading on rise and fall time.


Propagation Time Measurement

Using the same setup as the previous section, measure the LOW-to-HIGH propagation delay and the HIGH-to-LOW propagation delay. Compare your results to the data sheet specifications.
 

Indirect Measurement of Propagation Delay

  1. Construct a ring oscillator using N = 5 inverters. Use inverters 1 to 5 of the 74HC04 hex inverter for the ring oscillator. Use the remaining inverter as a buffer between the ring oscillator and the instrumentation (frequency counter on the oscilloscope). That is, select one of the inverter outputs from the ring oscillator, and apply this to the input of the sixth inverter. Measure the output of the sixth inverter.
     
  2. Measure the oscillation frequency of the sixth inverter’s output using the “quick measurement” feature of the oscilloscope: press “Measure -> Quick Meas” followed by “Softkey -> Frequency”. You may find it necessary to power cycle the 74HC04 device a few times to “kick start” the oscillations.
     
  3. Enter your frequency measurement from Step 2 under “Topic 3” at http://www.rose-hulman.edu/~doering/homepage/single-line_comment.htm.
     
  4. Once you have a stable reading of frequency, try probing inside the ring with your other oscilloscope probe. Note any differences in waveform quality, and note the degree to which the oscilloscope probe alters the measured frequency. What is the effective capacitance of the probe? (Hint: look at the probe connection to the oscilloscope).
     
  5. Use the equation you derived in the prelab to estimate the propagation delay tP for a single inverter, and compare to the published specification and as well as your direct measurement results.
     
  6. Study the dependency of propagation delay upon temperature. Try heating (fingertip) and cooling (ice inside a plastic bag) the package. Determine the percentage variation in propagation delay for these cases.
     
  7. Use the digital probe pod and digital waveform display to create a measured timing diagram of all five inverter outputs. Compare to your prelab prediction.

Dynamic Supply Current

  1. Set up your equipment to display the dynamic supply current iDD. Seek help from your instructor if you are in doubt about your method!
     
  2. Drive one inverter with your 1 MHz squarewave signal (the other inverters should be tied low). Record the waveform in your lab book and measure the numerical value of the peak current from your waveform.
     
  3. Next, drive two inverters with the same squarewave input signal (the two inverter inputs would be tied together at this point). Record the waveform and measure the peak current.
     
  4. Repeat the process by driving three inverters, then four, and so forth, each time recording the waveform and measuring the peak current.
     
  5. Plot peak current as a function of the number of simultaneously switched inverters. Discuss any trends in your data, and propose an explanation for the trend.
     
  6. Now that all six inverters are switching simultaneously, remove the 10-ohm resistor, then look at the dynamic supply voltage vDD at pin 14. Record the waveform and measure the peak deviation from the nominal value VDD.
     
  7. Connect a 0.1 uF capacitor (called a decoupling capacitor or bypass capacitor in this application) directly from the VDD to ground. Make sure that the capacitor is physically close to the package; you may even want to cut the leads a bit in order to minimize lead length.
     
  8. Repeat Step 6. How much did the decoupling capacitor “clean up” the supply voltage? (Do a percentage change calculation).
     
  9. Enter your result from Step 8 under “Topic 4” at http://www.rose-hulman.edu/~doering/homepage/single-line_comment.htm.

All Done!

bulletClean up your work area
bulletRemember to submit your lab notebook for grading at the beginning of next week's lab

horizontal rule

Home | Schedule | Course Information | Policies | Homework | Labs | Resources

 ECE333: Digital Systems (W 2002-03)
Department of Electrical and Computer Engineering
Rose-Hulman Institute of Technology


For questions or comments regarding this web contact:
Last updated: 03/10/05.