Lab 10

CMOS Dynamic Characteristics

Objectives

bullet Measure CMOS gates output rise and fall times
bullet Measure CMOS gates propagation delay
bullet Investigate relationship between gate switching and supply current spikes
bullet Study the effect of decoupling capacitors as a method of reducing supply noise

 Parts List

bullet SN74HC04N hex inverter
bullet 100 pF capacitor
bullet 1000 pF capacitor
bullet 0.1 uF capacitor
bullet 10-ohm resistor

 Equipment

bullet Agilent 54622D MSO
bullet Agilent 33120A Function/Arb Generator
bullet Fixed 5V power supply
bullet Breadboard

 

Prelab

  1.  Get a data sheet for the SN74HC04N hex inverter and  study the “Parameter Measurement Information” section to see how  the  rise and fall times and propagation delay are measured.
     
  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 (astable), 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  must have their scope probe ground clips attached to ground! Also remember that oscilloscopes measure voltages, not currents!]
     
  5. Make a photocopy of your prelab pages, and bring it to class the day before lab.

 

        Lab Procedures

Rise and Fall Time Measurement

  1. Set up the function generator to produce a 0 to 5V square wave 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 the 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.  Check if your inverter meets data sheet specifications.
     
  4. Repeat Step 3 with a 100 pF capacitive load connected on the inverter output (connect between the output terminal and ground), and then with a 1000 pF capacitive load.  Explain  the impact of capacitive loading on rise and fall time.
     
  5. Allow the inputs on the right side of the chip to float, rather than being grounded.  What effect do floating inputs have on the output waveforms?


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 (oscilloscope). That is, select one of the inverter outputs from the ring oscillator, and apply this to the input of the sixth inverter. Draw the schematics. 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. 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).
     
  4. Use the equation you derived in the prelab to estimate the propagation delay tP for a single inverter, and compare to the published specification. Check if your inverter meets data sheet specifications.
  5. 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.
     
  2. Drive one inverter with your 1 MHz square wave 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 square wave input signal (the two inverter inputs would be tied together at this point). Record the waveform and measure the peak current from your waveform.
     
  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?

 

All Done!

bullet Clean up your work area
bullet Remember to submit your lab notebook for grading  at the end of the lab or the next day. Include prints of the scope for  all the steps. Include prints of the oscilloscope with all your measurements, results, conclusions, etc.    It is the last  ECE 333 lab.