ECE303L Signals and Systems Lab 1
Objectives
- Review the functionality of the function generator and oscilloscope.
- Review the use of the Agilent IO Control and Intuilink Data Capture applications.
- Learn to use the MATLAB Instrument Control Toolbox.
- Learn to load and display images using MATLAB.
- Experimentally verify properties of standard signal waveforms.
Background
You will need to download and install the ECE lab software and
MATLAB. Read the description of using the
laboratory software.
Run the MATLAB instrument control example.
Download
lab1 materials
Requirements
- Demonstrate your ability to use the function generator by doing the following:
- Set function generator to High-Z (see page 40 of user guide)
- Output a modulated waveform (see p 41-43 of user guide) and
capture an oscilloscope trace like the figure on p 41.
- Output a FSK waveform (see p 44-46 of user guide) and capture an
oscilloscope trace like the figure on p 44.
- Output a burst waveform (see p 47-48 of user guide) and capture an
oscilloscope trace like the figure on p 47.
- Output a frequency sweep (see p 49-50 of user guide) and capture
an oscilloscope trace like the figure on p 49.
- Generate and characterize a sine wave by using the function
generator to produce a sinusoid with a non-zero offset. Use the
oscilloscope to measure the frequency, average voltage, peak-to-peak
voltage, and rms voltage. Capture a trace with those measurements
visible at the bottom of the display. Compare the results with
theoretical values and the settings of the function generator.
- After doing the previous exercise manually, write a MATLAB
script using the instrument control toolbox to configure the signal
generator, and setup and capture the specified measurements.
- Generate and characterize a square wave with variable duty
cycle. Use the oscilloscope to measure the duty cycle, average
voltage, peak-to-peak voltage, and rms voltage. Capture a trace with
those measurements visible at the bottom of the display. Determine
experimentally how the rms voltage depends on duty cycle. Find a
formula for calculating the rms voltage as a function of amplitude and
duty cycle.
- Generate and characterize a triangle waveform and a ramp
waveform. Determine how the oscilloscope rms voltage measurement is
related to the waveform amplitude. Find formulas for calculating the
rms voltage of each waveform.
- Generate and characterize a sinc waveform (see p 175 for
pictures of the standard ARB waveforms). Download a scope dataset and
load the data into Excel or MATLAB. Determine the sample spacing and
generate a plot of the mathematical sinc function (continuous curve)
superimposed with the oscilloscope data (symbol markers). Also
generate a plot showing the difference between the mathematical sinc
function and the ARB waveform.
- Generate and capture scope images of each of the five standard
waveforms (sine, square, triangle, ramp, and noise) and the five
default ARB waveforms. Write a MATLAB script that loads and displays
each of the captured images. Publish the MATLAB script output as an
HTML file.
- Write a MATLAB script to cause the function generator to cycle
through examples of the ten waveforms above. Use the MATLAB pause
function to allow sufficient time for the observer to view the
changing waveforms on the oscilloscope. Demonstrate the operation of
this script.
Maintained by John Loomis,
last updated 25 August 2010