St. Louis, Missouri
June 18, 2000
June 18, 2000
June 21, 2000
5.596.1 - 5.596.11
Teaching Practical Hands-On DSP with MATLAB and the C31 DSK Thad B. Welch, Michael G. Morrow Department of Electrical Engineering U.S. Naval Academy, MD Cameron H. G. Wright Department of Electrical Engineering U.S. Air Force Academy, CO
Abstract A graphically oriented MATLAB program, written by the authors, facilitates teaching real-world DSP concepts such as quantization of digital filter coefficients that occur in fixed-point processors. While many universities own or plan to buy, the inexpensive floating-point TMS320C31 DSKs for pedagogical reasons, this MATLAB program fully supports that decision by allowing filter coefficient quantization effects to be demonstrated using either fixed-point or floating point filtering algorithms on a single DSP device. This program eliminates the need to purchase expensive specialized software programs or additional DSP hardware. The program described in this paper provides an interactive graphical user interface, which communicates directly with the DSK, and demonstrates in real-time how both coefficient quantization and filter implementation affect filter performance. All of this is accomplished without the need for tedious programming of the DSK. The latest version of the software allows the floating-point TMS320C31 to directly implement the fixed-point filtering algorithm. This enhancement represents a considerable cost and timesavings for both the student and professor since only one type of digital signal processor is required.
1. Introduction Modern software tools such as MATLAB greatly facilitate the professor's ability to demonstrate the concepts of digital signal processing (DSP) in class, and to assign realistic projects to reinforce these concepts.1–3 An increasing number of DSP textbooks are available which take advantage of this ability,4–9 and a growing trend is for DSP concepts to be introduced earlier in the curriculum.10 These concepts can be further reinforced, and greater interest generated by the students, if they can be easily implemented in real-time on modern DSP hardware. Affordable hardware is now available to schools: Texas Instruments, for example, markets DSP Starter Kits (DSKs) for $99.11 While fixed-point processors are more prevalent in industry,12 floating-point processors are becoming more popular for schools for pedagogical reasons. We will examine how MATLAB, already accepted as a powerful learning tool for DSP, can be closely integrated with a DSK for teaching purposes while avoiding the tedium of manually programming the DSP processor.
Wright, C., & Morrow, M., & Welch, T. (2000, June), Teaching Practical Hands On Dsp With Matlab And The C31 Dsk Paper presented at 2000 Annual Conference, St. Louis, Missouri. https://peer.asee.org/8757
ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2000 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015