Transcript DSP
DSP Mini-Projects General • • • • • Mini-Projects are based on Filter Design All projects use FIR filter size N=128 Use MATLAB to Calculate coefficients Use “Fir_C_Fixed” or “FIR” project template Use BSL headers/libraries: – – – – – dsk6416.h dsk6416_aic23.h dsk6416_dip.h dsk6416_led.h dsk6416bsl.lib Report • Design and Implement Project (3hours) • Prepare Report Document including: – Short description of project – Final Program Listing – Frequency Response of Filters P1 - 4 Switched LPFs • Design 4 independent FIR LPFs: – Output Signal comes from one of the Filters • Use DIP-Switches to operate each one • Cut Frequencies: – Fc=400, 1600, 6400, 12000 Hz • Use Hamming Window • Fn=48KHz P2 - 4 Switched HPFs • Design 4 independent FIR HPFs: – Output Signal comes from one of the Filters • Use DIP-Switches to operate each one • Cut Frequencies: – Fc=200, 800, 3200, 12000 Hz • Use Hamming Window • Fn=48KHz P3 - 4 Switched BPFs • Design 4 independent FIR BPFs: – Output Signal comes from one of the Filters • Use DIP-Switches to operate each one • Band Limit Frequencies: – – – – F = 100-400Hz F = 400-1600Hz F = 1600-6400Hz F = 6400-12000 Hz • Use Hamming Window • Fn=48KHz P4 - 4 Switched Stereo Filters • Design 2 LPF for Left + 2 HPF for Right: – Output Signal comes from one of the Filters • Use DIP-Switches to operate each one • Cut Frequencies: – Left Fc = 1600, 6400Hz – Right Fc = 1600, 6400Hz • Use Hamming Window • Fn=48KHz P5 – 4-Band Freq Equalizer • Design Mix of 4 independent FIR BPFs: – Output Signal is a Sum of 4 Filters • Use DIP-Switches to operate each one • Band Limit Frequencies: – – – – F = 100-400Hz F = 400-1600Hz F = 1600-6400Hz F = 6400-12000 Hz • Use Hamming Window • Fn=48KHz P6 – 4-Band Spectrum Analizer • Design Mix of 4 independent FIR BPFs: – Output Signal of each filter is integrated M=1024 – Result of integration is compared with Threshold – Appropriate LED goes ON in case of result exceed Threshold • Band Limit Frequencies: – – – – F = 100-400Hz F = 400-1600Hz F = 1600-6400Hz F = 6400-12000 Hz • Use Hamming Window • Fn=48KHz