DSP Laboratory (EELE 4110) Lab#11 Implement FIR filters on TMS320C6711 DSK.
|
|
- Beverly Flowers
- 5 years ago
- Views:
Transcription
1 Islamic University of Gaza Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#11 Implement FIR filters on TMS320C6711 DSK. Theoretical Background Filtering is one of the most useful signal processing operations. Digital signal processors are now available to implement digital filters in real time. The TMS320C6x instruction set and architecture makes it well suited for such filtering operations. An analog filter operates on continuous signals and is typically realized with discrete components such as operational amplifiers, resistors, and capacitors. However, a digital filter, such as a finite impulse response (FIR) filter, operates on discrete-time signals and can be implemented with a digital signal processor such as the TMS320C6x. This involves use of an ADC to capture an external input signal, processing the input samples, and sending the resulting output through a DAC. Within the last few years, the cost of digital signal processors has been reduced significantly, which adds to the numerous advantages that digital filters have over their analog counterparts. These include higher reliability, accuracy, and less sensitivity to temperature and aging. Stringent magnitude and phase characteristics can be realized with a digital filter. Filter characteristics such as center frequency, bandwidth, and filter type can readily be modified. A number of tools are available to design and implement within a few minutes an FIR filter in real time using the TMS320C6xbased DSK. The filter design consists of the approximation of a transfer function with a resulting set of coefficients. Different techniques are available for the design of FIR filters, such as a commonly used technique that utilizes the Fourier series, as discussed in later on. General difference equation for any digital system: y n + a 1 y n 1 + a 2 y n a N y n (M 1) = b 0 x n + b 1 x n 1 + b 2 x n b M x n (N 1) M 1 y n = a k y n k k=1 + b k x n k M 1 The impulse response is given by: h n = a k h n k k=1 + b k δ n k
2 M 1 h n = a k h n k k =1 M 1 H z = a k z k H z k=1 + b k δ n k + b k z k Which give a transfer function of a form: k=0 b k z k H z = M a k z k k =1 For FIR Filter, h n = b o, b 1,, b M or H z = b k z k then, h n = b k δ n k = h k δ n k h n = h 0 δ n + h 1 δ n 1 + h 2 δ n h(n 1)δ n (N 1) h n = h k δ n k but, y n = x n h n = x n h k δ n k y n = h k x n δ n k y n = h k k=0 x n k (10.1)
3 FIR IMPLEMENTATION BY TMS320C6711 DSK: Within minutes, an FIR filter can be designed and implemented in real time. Several filter design packages are available for the design of FIR filters. A finite-duration impulse response filter has a system function of the form Hence the impulse response h(k) is H z = h(k)z k (11.1) h n = h(0), h(1),, h(n 1) and the difference equation representation is y n = b o x n + b 1 x n 1 + b 2 x n b x n (N 1) (11.2) y n = h k k=0 x n k (11.3) The FIR filter structures are always stable, and they are relatively simple compared to IIR structures. The difference equation (11.2) is implemented as a tapped delay line since there are no feedback paths. Let M=5 (i.e., a fourth-order FIR filter);then y n = h(0)x n + h(1)x n 1 + h(2)x n 2 + h(3)x n 3 + h(4)x n 4 (11.4) y n = b o x n + b 1 x n 1 + b 2 x n 2 + b 3 x n 3 + b 4 x n 4 The direct form structure is given in figure FIGURE Direct form FIR structure. The convolution equation (11.3) is used to program and implement these filters. We can arrange the impulse response coefficients within a buffer (array) so that the first coefficient, h(0), is at the beginning (first location) of the buffer (lower memory address).the last coefficient, h(n 1), can reside at the end (last location) of the coefficients buffer (higher-memory address).the delay samples are organized in memory so that the newest sample, x(n), is at the beginning of the samples buffer, while the oldest sample, x(n (N 1)), is at the end of the buffer. The coefficients and the samples can be arranged in memory as shown in Table 11.1.
4 Initially All the samples are set to zero. Time n The newest sample, x(n), at time n is acquired from an ADC and stored at the beginning of the sample buffer. The filter s output at time n is computed from the convolution equation (11.4). y n = h(0)x n + h(1)x n 1 + h(2)x n 2 + h(3)x n 3 + h(4)x n 4 The delay samples are then updated, so that x(n k) = x(n + 1 k) can be used to calculate y(n + 1), the output for the next unit of time, or sample period Ts. All the samples are updated except the newest sample. For example, x(n 1) = x(n), and x(n (N 1)) = x(n (N 2)).This updating process has the effect of moving the data (down) in memory (see Table 11.1, associated with time n + 1). Time n + 1 At time n + 1, a new input sample x(n + 1) is acquired and stored at the top of the sample buffer, as shown in Table The output y(n + 1) can now be calculated as y n + 1 = h 0 x n h 1 x n + + h N 1 x n N 2 and y n + 2 = h 0 x n h 1 x n h N 1 x n N 3 TABLE 11.1 Memory Organizations to Illustrate Update of Samples The samples are then updated for the next unit of time. Time n + 2 At time n + 2, a new input sample x(n + 2), is acquired. The output becomes y n + 2 = h 0 x n h 1 x n h N 1 x n N 3. This process continues to calculate the filter s output and updating the delay samples at each unit of time (sample period).
5 Example 11.1: FIR Filter Implementation: Bandstop (FIR) Step(1) Design a BSF using graphical user interface (GUI) filter designer FDATool.The filter s characteristics are shown in figure FIGURE Design BSF(2.7kHz) using FDATool. Export the coefficients of the filter (File Export) to workspace under the variable of name (Num) FIGURE Export the filter coefficients.
6 Step(2) To get the header file " bs2700.cof " we write the m-function getfircof(name,h,y,n) function x=getfircof(name,h,y,n) %x=getfircof('file_name.cof','array_name',filter_coefficient,factor) N=length(y); i=0:n-1; y=y*2^n; y=round(y) fid = fopen(name,'w'); % open/create file fprintf(fid,'#define N %d\n',n); fprintf(fid,'short '); % print array type fprintf(fid,h); % print array name fprintf(fid,'[%d]={',n); % [N]={ fprintf(fid,'%d, ',y(1:n-1)); % print N-1 points fprintf(fid,'%d ',y(n)); % print Nth point fprintf(fid,'};\n'); % print closing bracket fclose(fid); % close file Note: getfircof(name,h,y,n) FIGURE getfircof function name: is the name of the coefficient file,e.g: 'bs2700.cof' which will be included in the C program. h: is the name of the coefficient array inside the *.cof file. y: is the name of the filter coefficient that we export from FDATool. n: is a factor to make scaling for the filter, for n=15,y=round(y*2^15). getfircof('bs2700.cof','h',num,15) After we evaluate the above line, then we get (bs2700.cof ) the FIR coefficients file. This coefficient file, which contains 89 coefficients (filter order=88), represents an FIR bandstop (notch) filter centered at 2700Hz. #define N 89 short h[89]={-14, 23, -9, -6, 0, 8, 16, -58, 50, 44, -147, 119, 67, -245, 200, 72, -312, 257, 53, -299, 239, 20, -165, 88, 0, 105, -236, 33, 490, - 740, 158, 933, 1380, 392, 1348, -2070, 724, 1650, , 1104, 1776, , 1458, 1704, 29494, 1704, 1458, -3122, 1776, 1104, -2690, 1650, 724, -2070, 1348, 392, -1380, 933, 158, -740, 490, 33, -236, 105, 0, 88, -165, 20, 239, -299, 53, 257, -312, 72, 200, -245, 67, 119, -147, 44, 50, -58, 16, 8, 0, -6, -9, 23, - 14 }; FIGURE Coefficients for a FIR bandstop filter (bs2700.cof).
7 Step(3) Write the C source program FIR.c (figure 11.6), which implements an FIR filter. It is a generic FIR program, since the coefficient file included, bs2700.cof,specifies the filter s characteristics. //Fir.c FIR filter. Include coefficient file with length N #include "bs2700.cof" //coefficient file 2700Hz int yn = 0; //initialize filter s output short dly[n]; //delay samples interrupt void c_int11(){ //ISR short i; dly[0] = input_sample(); //newest top of buffer yn = 0; //initialize filter s output for (i = 0; i< N; i++) yn += (h[i] * dly[i]); //y(n) += h(i)* x(n-i) for (i = N-1; i > 0; i--) dly[i] = dly[i-1]; output_sample(yn >> 15); return; } void main(){ comm_intr(); while(1); } bottom of buffer //update delays with data move //scale output filter //init DSK, codec, McBSP //infinite loop FIGURE Generic FIR program (FIR.c). A buffer dly[n] is created for the delay samples. The newest input sample, x(n), is acquired through dly[0] and stored at the beginning of the buffer. The coefficients are stored in another buffer, h[n], with h[0] at the beginning of the coefficients buffer. The samples and coefficients are then arranged in their respective buffer, as shown in Table Two for loops are used within the interrupt service routine The first loop implements the convolution equation with N coefficients and N delay samples, for a specific time n. At time n the output is y(n) = h(0)x(n) + h(1)x(n 1) + + h(n 1)x(n (N 1)). The second loop The delay samples are then updated within the second loop to be used for calculating y n at time n + 1, or y n + 1. The newly acquired input sample always resides at the beginning of the samples buffer. The memory location that contained the sample x(n) now contains the newly acquired sample x(n + 1). The output y(n + 1) at time n + 1 is then calculated. This scheme uses a data move to update the delay samples.
8 Shift operator >> Shift right, << Shift left For example: y dec y bin y>>1 (Shift right) bin y>> y dec y bin y>>2 (Shift right) bin y>> Comment, shift the sequence y to right by n samples is equal to divided y by 2^n y >> n = y and y << n = y 2n 2n Other example: y dec y>> = = 1799 So yn >> 15 used to divided yn by 2^15. Step(4) Create a new project on CCS,add all support files and the Fir.c source file. Build your project and load the.out file. Now we are ready to test the functionality of the designed filter. Step(5) Using MATLAB, to generate different sine signals with different frequencies fo=1000; % choose different freq fs=8000; Ts=1/fs; t=(0:9999)/fs; % t=nts x=sin(2*pi*fo*t) ; sound(x) wavwrite(x,fs,'1khz.wav'); %Export the tone to wave file FIGURE generate sine wave
9 Use the program in figure 11.7 to generate sine tones with frequencies shown in figure 11.8 FIGURE sine tones Step(6) Connect the devices as shown in figure 11.9 FIGURE Components connection Step(7) Run the CCS project and test the response of the filter to the sine waves shown in figure 11.8 Comment:
10 Example 11.2: Effects on Voice Using Three FIR Lowpass Filters (FIR3LP) Figure shows a listing of the program FIR3lp.c, which implements three FIR lowpass filters with cutoff frequencies at 600, 1000, and 1500Hz, respectively. The three lowpass filters were designed with MATLAB s FDATOOL to yield the corresponding three sets of coefficients. This example expands on the generic FIR program in Example The coefficients file LP600.cof represents an 81-coefficient FIR lowpass filter with a 600Hz cutoff frequency, using the Kaiser window function(figure 11.11). FIGURE Design LPF using FDATool. getfircof('lp600.cof','hlp600',num,15) Repeat for Fc=1000Hz and 1500Hz getfircof('lp1000.cof','hlp1000',num,15) getfircof('lp1500.cof','hlp1500',num,15) the other two coefficients file are shown in figure (11.12) and (11.13)
11 //lp600.cof FIR lowpass filter coefficients using Kaizer window #define N 81 short hlp600[81]={0, -13, -28, -41, -47, -41, -21, 12, 52, 89, 114, 114, 84, 25, -55, -141, -211, -242, -220, -136, 0, 166, 326, 439, 467, 384, 186, -104, -437, -742, -937, -948, -717, -222, 518, 1439, 2444, 3410, 4212, 4742, 4928, 4742, 4212, 3410, 2444, 1439, 518, - 222, -717, -948, -937, -742, -437, -104, 186, 384, 467, 439, 326, 166, 0, -136, -220, -242, -211, -141, -55, 25, 84, 114, 114, 89, 52, 12, -21, -41, -47, -41, -28, -13, 0 }; FIGURE Coefficient file for a FIR lowpass filter with 600-Hz cutoff frequency (lp600.cof). //lp1000.cof FIR lowpass filter coefficients using Kaizer window #define N 81 short hlp1000[81]={0, -20, -35, -29, 0, 41, 67, 54, 0, -71, -113, - 90, 0, 114, 179, 141, 0, -173, -271, -212, 0, 258, 403, 314, 0, - 383, -601, -472, 0, 588, 937, 751, 0, -1001, -1675, -1438, 0, 2439, 5201, 7379, 8205, 7379, 5201, 2439, 0, -1438, -1675, -1001, 0, 751, 937, 588, 0, -472, -601, -383, 0, 314, 403, 258, 0, -212, -271, - 173, 0, 141, 179, 114, 0, -90, -113, -71, 0, 54, 67, 41, 0, -29, - 35, -20, 0 }; FIGURE Coefficient file for a FIR lowpass filter with 1000-Hz cutoff frequency (lp1000.cof). //lp1500.cof FIR lowpass filter coefficients using Kaizer window #define N 81 short hlp1500[81]={0, 26, 25, -16, -49, -22, 47, 71, 0, -92, -80, 49, 143, 61, -126, -184, 0, 226, 191, -114, -330, -139, 284, 409, 0, -500, -424, 255, 741, 317, -660, -979, 0, 1304, 1181, -776, , -1316, 3668, 9616, 12275, 9616, 3668, -1316, -2560, -776, 1181, 1304, 0, -979, -660, 317, 741, 255, -424, -500, 0, 409, 284, -139, -330, -114, 191, 226, 0, -184, -126, 61, 143, 49, -80, -92, 0, 71, 47, -22, -49, -16, 25, 26, 0 }; FIGURE Coefficient file for a FIR lowpass filter with 1500-Hz cutoff frequency (lp1500.cof). LP_number selects the desired lowpass filter to be implemented. For example, if LP_number is set to 1, h[1][i] is equal to hlp600[i] (within the for loop in the function main), which is the address of the first set of coefficients. LP_number can be changed to 2 or 3 to implement the or 1500-Hz lowpass filter, respectively. With the GEL file FIR3LP.gel (Figure 11.15), one can vary LP_number from 1 to 3 and slide through the three different filters.
12 //FIR3LP.c FIR using three lowpass coefficients with three different BW #include "lp600.cof" //coeff file 600 Hz #include "lp1000.cof" //coeff file 1500 Hz #include "lp1500.cof" //coeff file 3000 Hz short LP_number = 1; //start with 1st LP filter int yn = 0; //initialize filter s output short dly[n]; //delay samples short h[3][n]; //filter characteristics 3xN interrupt void c_int11(){ //ISR short i; dly[0] = input_sample(); //newest top of buffer yn = 0; //initialize filter output for (i = 0; i< N; i++) yn +=(h[lp_number][i]*dly[i]); //y(n) += h(lp#,i)*x(n-i) for (i = N-1; i > 0; i--) bottom of buffer dly[i] = dly[i-1]; //update delays with data move output_sample(yn >> 15); //scale output filter return; //return from interrupt } void main(){ short i; for (i=0; i<n; i++){ dly[i] = 0; //init buffer h[1][i] = hlp600[i]; //start addr of LP600 coeff h[2][i] = hlp1000[i]; //start addr of LP1000 coeff h[3][i] = hlp1500[i]; //start addr of LP1500 coeff } comm_intr(); //init DSK, codec, McBSP while(1); //infinite loop } FIGURE FIR program to implement three different FIR lowpass filters using a slider for selection (FIR3LP.c). /*FIR3LP.gel Gel file to step through 3 different LP filters*/ menuitem "Filter Characteristics" slider Filter(1,3,1,1,filterparameter) /*from 1 to 3,incr by 1*/ {LP_number = filterparameter; /*for 3 LP filters*/ } FIGURE GEL file for selecting one of three FIR lowpass filter coefficients (FIR3LP.gel). Build this project as FIR3LP. Use the.wav file as input and observe the effects of the three lowpass filters on the input voice. With the lower bandwidth of 600Hz, using the first set of coefficients, the frequency components of the speech signal above 600 Hz are suppressed. Connect the output to a speaker or a spectrum analyzer to verify such results, and observe the different bandwidths of the three FIR lowpass filters.
DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters
Islamic University of Gaza OBJECTIVES: Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters To demonstrate the concept
More informationUniversity of Saskatchewan Electrical & Computer Engineering CME 462 Digitall Signal Processing Laboratory
University of Saskatchewan Electrical & Computer Engineering CME 462 Digitall Signal Processing Laboratory FIR/IIR Filters and Real Time FFT using TMS-320C6711 DSK (Digital Signal Processor Starter Kit)
More informationThe University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam
The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam Date: December 18, 2017 Course: EE 313 Evans Name: Last, First The exam is scheduled to last three hours. Open
More informationIslamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011
Islamic University of Gaza Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#4 Sampling and Quantization OBJECTIVES: When you have completed this assignment,
More informationElectrical & Computer Engineering Technology
Electrical & Computer Engineering Technology EET 419C Digital Signal Processing Laboratory Experiments by Masood Ejaz Experiment # 1 Quantization of Analog Signals and Calculation of Quantized noise Objective:
More informationAC : FIR FILTERS FOR TECHNOLOGISTS, SCIENTISTS, AND OTHER NON-PH.D.S
AC 29-125: FIR FILTERS FOR TECHNOLOGISTS, SCIENTISTS, AND OTHER NON-PH.D.S William Blanton, East Tennessee State University Dr. Blanton is an associate professor and coordinator of the Biomedical Engineering
More informationAdaptive structures The least mean squares (LMS) algorithm Programming examples for noise cancellation and system identification using C code
7 Adaptive Filters DSP Applications Using C and the TMS320C6x DSK. Rulph Chassaing Copyright 2002 John Wiley & Sons, Inc. ISBNs: 0-471-20754-3 (Hardback); 0-471-22112-0 (Electronic) Adaptive structures
More informationThe University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1
The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1 Date: October 18, 2013 Course: EE 445S Evans Name: Last, First The exam is scheduled to last 50 minutes. Open books
More informationEEM478-WEEK8 Finite Impulse Response (FIR) Filters
EEM478-WEEK8 Finite Impulse Response (FIR) Filters Learning Objectives Introduction to the theory behind FIR filters: Properties (including aliasing). Coefficient calculation. Structure selection. Implementation
More informationProblem Point Value Your score Topic 1 28 Filter Analysis 2 24 Filter Implementation 3 24 Filter Design 4 24 Potpourri Total 100
The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1 Date: March 8, 2013 Course: EE 445S Evans Name: Last, First The exam is scheduled to last 50 minutes. Open books
More informationDigital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10
Digital Signal Processing VO Embedded Systems Engineering Armin Wasicek WS 2009/10 Overview Signals and Systems Processing of Signals Display of Signals Digital Signal Processors Common Signal Processing
More informationSMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003
SMS045 - DSP Systems in Practice Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003 Lab Purpose This lab will introduce MATLAB as a tool for designing and evaluating digital
More informationAC : INTERACTIVE LEARNING DISCRETE TIME SIGNALS AND SYSTEMS WITH MATLAB AND TI DSK6713 DSP KIT
AC 2007-2807: INTERACTIVE LEARNING DISCRETE TIME SIGNALS AND SYSTEMS WITH MATLAB AND TI DSK6713 DSP KIT Zekeriya Aliyazicioglu, California State Polytechnic University-Pomona Saeed Monemi, California State
More informationLecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications
EE4900/EE6720: Digital Communications 1 Lecture 3 Review of Signals and Systems: Part 2 Block Diagrams of Communication System Digital Communication System 2 Informatio n (sound, video, text, data, ) Transducer
More informationCHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR
22 CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR 2.1 INTRODUCTION A CI is a device that can provide a sense of sound to people who are deaf or profoundly hearing-impaired. Filters
More informationTeam proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.
Lecture 8 Today: Announcements: References: FIR filter design IIR filter design Filter roundoff and overflow sensitivity Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations
More informationECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015
Purdue University: ECE438 - Digital Signal Processing with Applications 1 ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 1 Introduction
More informationDigital Filtering: Realization
Digital Filtering: Realization Digital Filtering: Matlab Implementation: 3-tap (2 nd order) IIR filter 1 Transfer Function Differential Equation: z- Transform: Transfer Function: 2 Example: Transfer Function
More informationFX Basics. Filtering STOMPBOX DESIGN WORKSHOP. Esteban Maestre. CCRMA - Stanford University August 2013
FX Basics STOMPBOX DESIGN WORKSHOP Esteban Maestre CCRMA - Stanford University August 2013 effects modify the frequency content of the audio signal, achieving boosting or weakening specific frequency bands
More informationDigital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title
http://elec3004.com Digital Filters IIR (& Their Corresponding Analog Filters) 2017 School of Information Technology and Electrical Engineering at The University of Queensland Lecture Schedule: Week Date
More informationGEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters
GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters Date: 19. Jul 2018 Pre-Lab: You should read the Pre-Lab section of
More informationLab 6 - MCU CODEC IIR Filter ReadMeFirst
Lab 6 - MCU CODEC IIR Filter ReadMeFirst Lab Summary In this lab you will use a microcontroller and an audio CODEC to design a 2nd order low pass digital IIR filter. Use this filter to remove the noise
More informationLesson 7. Digital Signal Processors
Lesson 7 Digital Signal Processors Instructional Objectives After going through this lesson the student would learn o Architecture of a Real time Signal Processing Platform o Different Errors introduced
More informationCorso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo
Corso di DATI e SEGNALI BIOMEDICI 1 Carmelina Ruggiero Laboratorio MedInfo Digital Filters Function of a Filter In signal processing, the functions of a filter are: to remove unwanted parts of the signal,
More informationProblem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Improving Signal Quality 3 24 Filter Bank Design 4 24 Potpourri Total 100
The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1 Date: March 7, 2014 Course: EE 445S Evans Name: Last, First The exam is scheduled to last 50 minutes. Open books
More informationSignal processing preliminaries
Signal processing preliminaries ISMIR Graduate School, October 4th-9th, 2004 Contents: Digital audio signals Fourier transform Spectrum estimation Filters Signal Proc. 2 1 Digital signals Advantages of
More informationFilters. Phani Chavali
Filters Phani Chavali Filters Filtering is the most common signal processing procedure. Used as echo cancellers, equalizers, front end processing in RF receivers Used for modifying input signals by passing
More informationSignal Processing Toolbox
Signal Processing Toolbox Perform signal processing, analysis, and algorithm development Signal Processing Toolbox provides industry-standard algorithms for analog and digital signal processing (DSP).
More information(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters
FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according
More informationProblem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Upconversion 3 30 Filter Design 4 18 Potpourri Total 100
The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1 Date: October 17, 2014 Course: EE 445S Evans Name: Last, First The exam is scheduled to last 50 minutes. Open books
More informationSampling and Reconstruction of Analog Signals
Sampling and Reconstruction of Analog Signals Chapter Intended Learning Outcomes: (i) Ability to convert an analog signal to a discrete-time sequence via sampling (ii) Ability to construct an analog signal
More informationExperiment 6: Multirate Signal Processing
ECE431, Experiment 6, 2018 Communications Lab, University of Toronto Experiment 6: Multirate Signal Processing Bruno Korst - bkf@comm.utoronto.ca Abstract In this experiment, you will use decimation and
More information(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters
FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according
More informationImplementation and Comparison of Low Pass FIR Filter on FPGA Using Different Techniques
Implementation and Comparison of Low Pass FIR Filter on FPGA Using Different Techniques Miss Pooja D Kocher 1, Mr. U A Patil 2 P.G. Student, Department of Electronics Engineering, DKTE S Society Textile
More informationExperiment 2 Effects of Filtering
Experiment 2 Effects of Filtering INTRODUCTION This experiment demonstrates the relationship between the time and frequency domains. A basic rule of thumb is that the wider the bandwidth allowed for the
More informationFIR window method: A comparative Analysis
IOSR Journal of Electronics and Communication Engineering (IOSR-JECE) e-issn: 2278-2834,p- ISSN: 2278-8735.Volume 1, Issue 4, Ver. III (Jul - Aug.215), PP 15-2 www.iosrjournals.org FIR window method: A
More informationSIGMA-DELTA CONVERTER
SIGMA-DELTA CONVERTER (1995: Pacífico R. Concetti Western A. Geophysical-Argentina) The Sigma-Delta A/D Converter is not new in electronic engineering since it has been previously used as part of many
More informationEE 422G - Signals and Systems Laboratory
EE 422G - Signals and Systems Laboratory Lab 3 FIR Filters Written by Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 September 19, 2015 Objectives:
More informationWeek 1 Introduction of Digital Signal Processing with the review of SMJE 2053 Circuits & Signals for Filter Design
SMJE3163 DSP2016_Week1-04 Week 1 Introduction of Digital Signal Processing with the review of SMJE 2053 Circuits & Signals for Filter Design 1) Signals, Systems, and DSP 2) DSP system configuration 3)
More informationF I R Filter (Finite Impulse Response)
F I R Filter (Finite Impulse Response) Ir. Dadang Gunawan, Ph.D Electrical Engineering University of Indonesia The Outline 7.1 State-of-the-art 7.2 Type of Linear Phase Filter 7.3 Summary of 4 Types FIR
More informationPart B. Simple Digital Filters. 1. Simple FIR Digital Filters
Simple Digital Filters Chapter 7B Part B Simple FIR Digital Filters LTI Discrete-Time Systems in the Transform-Domain Simple Digital Filters Simple IIR Digital Filters Comb Filters 3. Simple FIR Digital
More informationCS3291: Digital Signal Processing
CS39 Exam Jan 005 //08 /BMGC University of Manchester Department of Computer Science First Semester Year 3 Examination Paper CS39: Digital Signal Processing Date of Examination: January 005 Answer THREE
More informationDigital Filters FIR and IIR Systems
Digital Filters FIR and IIR Systems ELEC 3004: Systems: Signals & Controls Dr. Surya Singh (Some material adapted from courses by Russ Tedrake and Elena Punskaya) Lecture 16 elec3004@itee.uq.edu.au http://robotics.itee.uq.edu.au/~elec3004/
More informationELEC3104: Digital Signal Processing Session 1, 2013 LABORATORY 3: IMPULSE RESPONSE, FREQUENCY RESPONSE AND POLES/ZEROS OF SYSTEMS
ELEC3104: Digital Signal Processing Session 1, 2013 The University of New South Wales School of Electrical Engineering and Telecommunications LABORATORY 3: IMPULSE RESPONSE, FREQUENCY RESPONSE AND POLES/ZEROS
More information4. Design of Discrete-Time Filters
4. Design of Discrete-Time Filters 4.1. Introduction (7.0) 4.2. Frame of Design of IIR Filters (7.1) 4.3. Design of IIR Filters by Impulse Invariance (7.1) 4.4. Design of IIR Filters by Bilinear Transformation
More informationUNIT IV FIR FILTER DESIGN 1. How phase distortion and delay distortion are introduced? The phase distortion is introduced when the phase characteristics of a filter is nonlinear within the desired frequency
More informationDSP First. Laboratory Exercise #7. Everyday Sinusoidal Signals
DSP First Laboratory Exercise #7 Everyday Sinusoidal Signals This lab introduces two practical applications where sinusoidal signals are used to transmit information: a touch-tone dialer and amplitude
More informationDIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP
DIGITAL FILTERS!! Finite Impulse Response (FIR)!! Infinite Impulse Response (IIR)!! Background!! Matlab functions 1!! Only the magnitude approximation problem!! Four basic types of ideal filters with magnitude
More informationConcordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu
Concordia University Discrete-Time Signal Processing Lab Manual (ELEC442) Course Instructor: Dr. Wei-Ping Zhu Fall 2012 Lab 1: Linear Constant Coefficient Difference Equations (LCCDE) Objective In this
More informationEE477 Digital Signal Processing Laboratory Exercise #13
EE477 Digital Signal Processing Laboratory Exercise #13 Real time FIR filtering Spring 2004 The object of this lab is to implement a C language FIR filter on the SHARC evaluation board. We will filter
More informationECE 5655/4655 Laboratory Problems
Assignment #5 ECE 5655/4655 Laboratory Problems Make Note of the Following: Due MondayApril 29, 2019 If possible write your lab report in Jupyter notebook If you choose to use the spectrum/network analyzer
More informationREAL-TIME DSP LABORATORY2:
Contents REAL-TIME DSP LABORATORY: Signals and Systems on the TMS30C6713 DSK 1 Introduction 1 Sampling And Reconstruction 1.1 Discrete-Time Systems................................. Digital Systems.....................................3
More informationECE 5650/4650 MATLAB Project 1
This project is to be treated as a take-home exam, meaning each student is to due his/her own work. The project due date is 4:30 PM Tuesday, October 18, 2011. To work the project you will need access to
More informationLab 4 Digital Scope and Spectrum Analyzer
Lab 4 Digital Scope and Spectrum Analyzer Page 4.1 Lab 4 Digital Scope and Spectrum Analyzer Goals Review Starter files Interface a microphone and record sounds, Design and implement an analog HPF, LPF
More informationExperiments #6. Convolution and Linear Time Invariant Systems
Experiments #6 Convolution and Linear Time Invariant Systems 1) Introduction: In this lab we will explain how to use computer programs to perform a convolution operation on continuous time systems and
More informationMicrocomputer Systems 1. Introduction to DSP S
Microcomputer Systems 1 Introduction to DSP S Introduction to DSP s Definition: DSP Digital Signal Processing/Processor It refers to: Theoretical signal processing by digital means (subject of ECE3222,
More informationAN2182 Application note
Application note Filters using the ST10 DSP library Introduction The ST10F2xx family provides a 16-bit multiply and accumulate unit (MAC) allowing control-oriented signal processing and filtering widely
More informationDesigning Filters Using the NI LabVIEW Digital Filter Design Toolkit
Application Note 097 Designing Filters Using the NI LabVIEW Digital Filter Design Toolkit Introduction The importance of digital filters is well established. Digital filters, and more generally digital
More informationMultirate Digital Signal Processing
Multirate Digital Signal Processing Basic Sampling Rate Alteration Devices Up-sampler - Used to increase the sampling rate by an integer factor Down-sampler - Used to increase the sampling rate by an integer
More informationECEn 487 Digital Signal Processing Laboratory. Lab 3 FFT-based Spectrum Analyzer
ECEn 487 Digital Signal Processing Laboratory Lab 3 FFT-based Spectrum Analyzer Due Dates This is a three week lab. All TA check off must be completed by Friday, March 14, at 3 PM or the lab will be marked
More informationProject 1. Notch filter Fig. 1: (Left) voice signal segment. (Right) segment corrupted by 700-Hz sinusoidal buzz.
Introduction Project Notch filter In this course we motivate our study of theory by first considering various practical problems that we can apply that theory to. Our first project is to remove a sinusoidal
More informationRapid Design of FIR Filters in the SDR- 500 Software Defined Radio Evaluation System using the ASN Filter Designer
Rapid Design of FIR Filters in the SDR- 500 Software Defined Radio Evaluation System using the ASN Filter Designer Application note (ASN-AN026) October 2017 (Rev B) SYNOPSIS SDR (Software Defined Radio)
More informationInfinite Impulse Response (IIR) Filter. Ikhwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jakarta
Infinite Impulse Response (IIR) Filter Ihwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jaarta The Outline 8.1 State-of-the-art 8.2 Coefficient Calculation Method for IIR Filter 8.2.1 Pole-Zero Placement
More informationLab 4 An FPGA Based Digital System Design ReadMeFirst
Lab 4 An FPGA Based Digital System Design ReadMeFirst Lab Summary This Lab introduces a number of Matlab functions used to design and test a lowpass IIR filter. As you have seen in the previous lab, Simulink
More informationSCUBA-2. Low Pass Filtering
Physics and Astronomy Dept. MA UBC 07/07/2008 11:06:00 SCUBA-2 Project SC2-ELE-S582-211 Version 1.3 SCUBA-2 Low Pass Filtering Revision History: Rev. 1.0 MA July 28, 2006 Initial Release Rev. 1.1 MA Sept.
More informationEECS 452 Midterm Closed book part Winter 2013
EECS 452 Midterm Closed book part Winter 2013 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Scores: # Points Closed book
More informationECEN 325 Lab 5: Operational Amplifiers Part III
ECEN Lab : Operational Amplifiers Part III Objectives The purpose of the lab is to study some of the opamp configurations commonly found in practical applications and also investigate the non-idealities
More informationDesign of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3
IJSRD - International Journal for Scientific Research & Development Vol. 3, Issue 03, 2015 ISSN (online): 2321-0613 Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz.
More informationLab 3 FFT based Spectrum Analyzer
ECEn 487 Digital Signal Processing Laboratory Lab 3 FFT based Spectrum Analyzer Due Dates This is a three week lab. All TA check off must be completed prior to the beginning of class on the lab book submission
More informationSubtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis
Subtractive Synthesis CMPT 468: Subtractive Synthesis Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University November, 23 Additive synthesis involves building the sound by
More informationII Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing
Class Subject Code Subject II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing 1.CONTENT LIST: Introduction to Unit I - Signals and Systems 2. SKILLS ADDRESSED: Listening 3. OBJECTIVE
More informationELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet
ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet Lecture 10: Summary Taneli Riihonen 16.05.2016 Lecture 10 in Course Book Sanjit K. Mitra, Digital Signal Processing: A Computer-Based Approach, 4th
More informationBrief Introduction to Signals & Systems. Phani Chavali
Brief Introduction to Signals & Systems Phani Chavali Outline Signals & Systems Continuous and discrete time signals Properties of Systems Input- Output relation : Convolution Frequency domain representation
More informationBiomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar
Biomedical Signals Signals and Images in Medicine Dr Nabeel Anwar Noise Removal: Time Domain Techniques 1. Synchronized Averaging (covered in lecture 1) 2. Moving Average Filters (today s topic) 3. Derivative
More informationDIGITAL SIGNAL PROCESSING (Date of document: 6 th May 2014)
Course Code : EEEB363 DIGITAL SIGNAL PROCESSING (Date of document: 6 th May 2014) Course Status : Core for BEEE and BEPE Level : Degree Semester Taught : 6 Credit : 3 Co-requisites : Signals and Systems
More informationijdsp Workshop: Exercise 2012 DSP Exercise Objectives
Objectives DSP Exercise The objective of this exercise is to provide hands-on experiences on ijdsp. It consists of three parts covering frequency response of LTI systems, pole/zero locations with the frequency
More informationAdaptive Filters Application of Linear Prediction
Adaptive Filters Application of Linear Prediction Gerhard Schmidt Christian-Albrechts-Universität zu Kiel Faculty of Engineering Electrical Engineering and Information Technology Digital Signal Processing
More informationThe Polyphase Filter Bank Technique
CASPER Memo 41 The Polyphase Filter Bank Technique Jayanth Chennamangalam Original: 2011.08.06 Modified: 2014.04.24 Introduction to the PFB In digital signal processing, an instrument or software that
More informationDiscrete-Time Signal Processing (DTSP) v14
EE 392 Laboratory 5-1 Discrete-Time Signal Processing (DTSP) v14 Safety - Voltages used here are less than 15 V and normally do not present a risk of shock. Objective: To study impulse response and the
More informationDepartment of Electrical and Electronics Engineering Institute of Technology, Korba Chhattisgarh, India
Design of Low Pass Filter Using Rectangular and Hamming Window Techniques Aayushi Kesharwani 1, Chetna Kashyap 2, Jyoti Yadav 3, Pranay Kumar Rahi 4 1, 2,3, B.E Scholar, 4 Assistant Professor 1,2,3,4 Department
More informationSignals and Filtering
FILTERING OBJECTIVES The objectives of this lecture are to: Introduce signal filtering concepts Introduce filter performance criteria Introduce Finite Impulse Response (FIR) filters Introduce Infinite
More informationPerformance Analysis of FIR Filter Design Using Reconfigurable Mac Unit
Volume 4 Issue 4 December 2016 ISSN: 2320-9984 (Online) International Journal of Modern Engineering & Management Research Website: www.ijmemr.org Performance Analysis of FIR Filter Design Using Reconfigurable
More informationDigital Filters Using the TMS320C6000
HUNT ENGINEERING Chestnut Court, Burton Row, Brent Knoll, Somerset, TA9 4BP, UK Tel: (+44) (0)278 76088, Fax: (+44) (0)278 76099, Email: sales@hunteng.demon.co.uk URL: http://www.hunteng.co.uk Digital
More informationACS College of Engineering Department of Biomedical Engineering. BMDSP LAB (10BML77) Pre lab Questions ( ) Cycle-1
ACS College of Engineering Department of Biomedical Engineering BMDSP LAB (10BML77) Pre lab Questions (2015-2016) Cycle-1 1 Expand ECG. 2 Who invented ECG and When? 3 Difference between Electrocardiogram
More informationInstruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts
Instruction Manual for Concept Simulators that accompany the book Signals and Systems by M. J. Roberts March 2004 - All Rights Reserved Table of Contents I. Loading and Running the Simulators II. Continuous-Time
More informationTopic. Filters, Reverberation & Convolution THEY ARE ALL ONE
Topic Filters, Reverberation & Convolution THEY ARE ALL ONE What is reverberation? Reverberation is made of echoes Echoes are delayed copies of the original sound In the physical world these are caused
More informationA Low-Power Broad-Bandwidth Noise Cancellation VLSI Circuit Design for In-Ear Headphones
A Low-Power Broad-Bandwidth Noise Cancellation VLSI Circuit Design for In-Ear Headphones Abstract: Conventional active noise cancelling (ANC) headphones often perform well in reducing the lowfrequency
More informationDigital Signal Processing
Digital Signal Processing System Analysis and Design Paulo S. R. Diniz Eduardo A. B. da Silva and Sergio L. Netto Federal University of Rio de Janeiro CAMBRIDGE UNIVERSITY PRESS Preface page xv Introduction
More informationHW 1 is due on tuesday. PPI is due on Thurs ( to hero by 5PM) Lab starts next week.
EECS 452 Lecture 2 Today: Sampling and reconstruction review FIR and IIR filters C5515 ezdsp Direct digital synthesis Reminders: HW 1 is due on tuesday. PPI is due on Thurs (email to hero by 5PM) Lab starts
More informationFYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5
FYS3240 PC-based instrumentation and microcontrollers Signal sampling Spring 2015 Lecture #5 Bekkeng, 29.1.2015 Content Aliasing Nyquist (Sampling) ADC Filtering Oversampling Triggering Analog Signal Information
More informationPROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.
PROBLEM SET 6 Issued: 2/32/19 Due: 3/1/19 Reading: During the past week we discussed change of discrete-time sampling rate, introducing the techniques of decimation and interpolation, which is covered
More informationDigital Signal Processing ETI
2011 Digital Signal Processing ETI265 2011 Introduction In the course we have 2 laboratory works for 2011. Each laboratory work is a 3 hours lesson. We will use MATLAB for illustrate some features in digital
More informationGibb s Phenomenon Analysis on FIR Filter using Window Techniques
86 Gibb s Phenomenon Analysis on FIR Filter using Window Techniques 1 Praveen Kumar Chakravarti, 2 Rajesh Mehra 1 M.E Scholar, ECE Department, NITTTR, Chandigarh 2 Associate Professor, ECE Department,
More informationDigital Signal Processing ETI
2012 Digital Signal Processing ETI265 2012 Introduction In the course we have 2 laboratory works for 2012. Each laboratory work is a 3 hours lesson. We will use MATLAB for illustrate some features in digital
More informationDigital FIR LP Filter using Window Functions
Digital FIR LP Filter using Window Functions A L Choodarathnakara Abstract The concept of analog filtering is not new to the electronics world. But the problems associated with it like attenuation and
More information1. Find the magnitude and phase response of an FIR filter represented by the difference equation y(n)= 0.5 x(n) x(n-1)
Lecture 5 1.8.1 FIR Filters FIR filters have impulse responses of finite lengths. In FIR filters the present output depends only on the past and present values of the input sequence but not on the previous
More informationChapter 9. Chapter 9 275
Chapter 9 Chapter 9: Multirate Digital Signal Processing... 76 9. Decimation... 76 9. Interpolation... 8 9.. Linear Interpolation... 85 9.. Sampling rate conversion by Non-integer factors... 86 9.. Illustration
More informationProject 2. Project 2: audio equalizer. Fig. 1: Kinter MA-170 stereo amplifier with bass and treble controls.
Introduction Project 2 Project 2: audio equalizer This project aims to motivate our study o ilters by considering the design and implementation o an audio equalizer. An equalizer (EQ) modiies the requency
More informationMATLAB for Audio Signal Processing. P. Professorson UT Arlington Night School
MATLAB for Audio Signal Processing P. Professorson UT Arlington Night School MATLAB for Audio Signal Processing Getting real world data into your computer Analysis based on frequency content Fourier analysis
More informationHARDWARE IMPLEMENTATION OF LOCK-IN AMPLIFIER FOR NOISY SIGNALS
Integrated Journal of Engineering Research and Technology HARDWARE IMPLEMENTATION OF LOCK-IN AMPLIFIER FOR NOISY SIGNALS Prachee P. Dhapte, Shriyash V. Gadve Department of Electronics and Telecommunication
More information