real-time d igital s ignal p rocessing lab development using matlab, simulink, and the ti...

1
Real-Time Real-Time D D igital igital S S ignal ignal P P rocessing Lab rocessing Lab Development Development using Matlab, Simulink, and the TI TMS320C6711 DSK using Matlab, Simulink, and the TI TMS320C6711 DSK David Rolando & Jonathan Kellerman Graduate Advisor: William Luh Faculty Advisor: Dr. Deepa Kundur Filterin Filterin g 1 g 1 Audio Audio Applications Applications Image Image Processing Processing Lab 1: Intro to DSP Lab 1: Intro to DSP Introduction to Matlab and Simulink environments FIR filters and Direct-form Realizations Non-real-time simulations Lab 2: Filter Design Lab 2: Filter Design Figure 1: Parallel FIR Filters Purpose Purpose Figure 2: 1-D Haar Wavelet Transform Matlab’s Filter Design and Analysis Tool Real-time Simulation on host computer using Real-Time Target for Windows Simple Wavelet Transform Filtering 2 Filtering 2 Lab 3: On-board Lab 3: On-board Filtering Filtering Lab 4: FFT Lab 4: FFT Convolution Convolution Lab 5: Audio Lab 5: Audio Equalizer Equalizer Design of 5-band audio equalizer Real-time host-to-target communication using RTDX 4 kHz total bandwidth Lab 6: Equalizer Lab 6: Equalizer GUI GUI Introduction to Matlab’s Graphical User Interface Design Environment (GUIDE) GUI Programming in Matlab Real-time host-to-target communication using a GUI interface Figure 6: 5-band Equalizer Figure 7: Equalizer GUI Introduction to Simulink’s Target for TI C6000 Blockset Introduction to TI’s Code Composer Studio 3.1 Linking Matlab and Code Composer Studio Implementation of an IIR filter on the board’s hardware Real-time control using manual switches on the board Figure 3: IIR Noise Filtering Frequency domain implementation of long FIR filter kernels Application of multiplication- convolution duality Practical use of the Fast Fourier Transform Frame-based Processing Overlap-add algorithm Overlap-save algorithm Figure 4: Overlap-Save Filtering Lab 7: Audio Lab 7: Audio Effects Effects Reverberation Flanging effect Chorus effect Upsampling Downsampling Non-real-time testing and real-time implementation Figure 9: Non-Integer Upsampling (“Darth Vader voice”) Lab 8: Synthesizer Lab 8: Synthesizer Combination of audio effects into Synthesizer Subsystem design Modification of audio effect implementations for RTDX compatibility Figure 11: Flanging Effect Figure 12: Reverberation Figure 13: Synthesizer Lab 9: Synthesizer Lab 9: Synthesizer GUI GUI Programming a GUI to control the Lab 8 Synthesizer Advanced Button Panel Implementation Figure 14: Synthesizer GUI Lab 10: Face Lab 10: Face Recognition Recognition Feature extraction using edge detection Image registration through translation and rotation Statistical comparison techniques Figure 16: Edge Detection of the Anchor Image (Left) and the Target Image (Right) Development of a Real-Time DSP lab curriculum for ELEN 448 Interface Matlab, Simulink, Code Composer Studio, and the TI TMS320C6711 DSK Develop all DSP algorithms at a high level in Simulink Implement DSP algorithms in non-real- time, in real-time on the host computer, and in real-time on the C6711 board Use host-to-target communication for immediate optimization Objectives Objectives Develop all of the models and code for each lab Aid in writing the lab manual Figure 15: Face Recognition Algorithm Figure 8: Chorus Effect Figure 10: Downsampling Figure 5: Overlap-Add Filtering Acknowledgements: Matlhworks Help Page- http:// www.mathworks.com/products/product_listing/index.html

Upload: gwen-roberts

Post on 31-Dec-2015

223 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Real-Time D igital S ignal P rocessing Lab Development using Matlab, Simulink, and the TI TMS320C6711 DSK David Rolando & Jonathan Kellerman Graduate Advisor:

Real-Time Real-Time DDigital igital SSignal ignal PProcessing Lab Developmentrocessing Lab Development using Matlab, Simulink, and the TI TMS320C6711 DSKusing Matlab, Simulink, and the TI TMS320C6711 DSK

David Rolando & Jonathan Kellerman Graduate Advisor: William Luh Faculty Advisor: Dr. Deepa Kundur

Filtering Filtering 11

Filtering Filtering 11

Audio ApplicationsAudio ApplicationsAudio ApplicationsAudio Applications Image Image ProcessingProcessing

Lab 1: Intro to DSPLab 1: Intro to DSPIntroduction to Matlab and Simulink environmentsFIR filters and Direct-form RealizationsNon-real-time simulations

Lab 2: Filter Design Lab 2: Filter Design

Figure 1: Parallel FIR Filters

PurposePurposePurposePurpose

Figure 2: 1-D Haar Wavelet Transform

Matlab’s Filter Design and Analysis ToolReal-time Simulation on host computer using Real-Time Target for Windows Simple Wavelet Transform

Filtering 2Filtering 2Filtering 2Filtering 2Lab 3: On-board FilteringLab 3: On-board Filtering Lab 4: FFT ConvolutionLab 4: FFT Convolution

Lab 5: Audio Lab 5: Audio EqualizerEqualizerDesign of 5-band audio equalizer

Real-time host-to-target communication using RTDX4 kHz total bandwidth

Lab 6: Equalizer GUILab 6: Equalizer GUIIntroduction to Matlab’s Graphical User Interface Design Environment (GUIDE)GUI Programming in MatlabReal-time host-to-target communication using a GUI interface

Figure 6: 5-band Equalizer Figure 7: Equalizer GUI

Introduction to Simulink’s Target for TI C6000 BlocksetIntroduction to TI’s Code Composer Studio 3.1Linking Matlab and Code Composer StudioImplementation of an IIR filter on the board’s hardwareReal-time control using manual switches on the board

Figure 3: IIR Noise Filtering

Frequency domain implementation of long FIR filter kernelsApplication of multiplication-convolution dualityPractical use of the Fast Fourier TransformFrame-based ProcessingOverlap-add algorithmOverlap-save algorithm

Figure 4: Overlap-Save Filtering

Lab 7: Audio EffectsLab 7: Audio EffectsReverberationFlanging effectChorus effectUpsamplingDownsamplingNon-real-time testing and real-time implementation

Figure 9: Non-Integer Upsampling (“Darth Vader

voice”)

Lab 8: SynthesizerLab 8: SynthesizerCombination of audio effects into SynthesizerSubsystem designModification of audio effect implementations for RTDX compatibility

Figure 11: Flanging Effect

Figure 12: Reverberation

Figure 13: Synthesizer

Lab 9: Synthesizer Lab 9: Synthesizer GUIGUI

Programming a GUI to control the Lab 8 SynthesizerAdvanced Button Panel Implementation

Figure 14: Synthesizer GUI

Lab 10: Face Lab 10: Face RecognitionRecognitionFeature extraction using edge

detectionImage registration through translation and rotationStatistical comparison techniques

Figure 16: Edge Detection of the Anchor Image (Left) and the Target Image (Right)

Development of a Real-Time DSP lab curriculum for ELEN 448Interface Matlab, Simulink, Code Composer Studio, and the TI TMS320C6711 DSKDevelop all DSP algorithms at a high level in SimulinkImplement DSP algorithms in non-real-time, in real-time on the host computer, and in real-time on the C6711 boardUse host-to-target communication for immediate optimization

ObjectivesObjectivesObjectivesObjectivesDevelop all of the models and code for each labAid in writing the lab manual

Figure 15: Face Recognition Algorithm

Figure 8: Chorus Effect

Figure 10: Downsampling

Figure 5: Overlap-Add Filtering

Acknowledgements: Matlhworks Help Page- http://www.mathworks.com/products/product_listing/index.html