Prof. Rich Kozick
ELEC 320, Fall 1997

Laboratory 5

Design Project

The next several weeks in lab will be devoted to the design and development of a project related to signals and systems. You are free to choose the topic for your project. Some suggested topics are listed on this handout. You will have the opportunity to give an oral presentation of your project, and you will submit a written report.

Please list some potential project ideas before leaving lab today.

First, please finish some items from Lab 4:

  1. Make sure your Sun accounts are set up to use the dSPACE boxes. Go through the steps of programming the dSPACE box from Simulink and from a C program. Input a sine wave to the dSPACE box, and view the input and output waves on the oscilloscope. What happens when you increase the sine wave frequency beyond one-half the sampling rate? You might want to attach a speaker to the dSPACE output when you do this experiment. Also, modify the C program to add and subtract adjacent samples, as described on Lab 4.
  2. Try adding a digital filter block to your Simulink diagram, and run it on the dSPACE box. Understand how to set the filter cutoff, and verify the filtering behavior. Then, try the "real-time update of parameters", as described on the dSPACE Instructions page.
  3. Review the descriptions of some past projects from the 1994 and 1995 Signals and Systems course described at
  4. Take notes so that you will be able to use the dSPACE box in your project (if your project can be implemented in real-time).

Design Project Overview

You can work on the project individually, or in groups of two or three. Projects from larger groups should be more ambitious. Be creative, and choose something that interests you!

Your project can be a purely analog system, a digital signal processing system, or a combination of analog and digital. The dSPACE units are available to facilitate real-time implementation of your project. The dSPACE units contain four channels each of A/D and D/A, along with a digital signal processing chip. Alternatively, if your project is not amenable to real-time implementation, then you might perform your processing "off-line" with Matlab and Simulink. In this case the dSPACE units can be used to digitize signals (speech, music, etc.) and transfer the data to the Suns for subsequent analysis with Matlab.

Digital filtering is one application of digital signal processing. A digital filter has a similar objective as an analog filter, namely to accentuate certain frequencies while attenuating other frequencies. The digital filter is actually a computer program that processes the sampled data. The dSPACE digital signal processors allow you to implement systems of this type. A digital filter system also requires analog filters to eliminate "aliasing" due to sampling, so you may need to design analog filters to interface with the dSPACE box.

Some Project Ideas

Some suggestions for projects are listed below. Selected projects from 1994 and 1995 are summarized on the Web at
You are free (and encouraged!) to pursue a project that are in-line with your interests! I will be happy to discuss project ideas with you. Please work in groups of 1, 2, or 3 students on the project.