University of Saskatchewan Electrical & Computer Engineering CME 462 Digitall Signal Processing Laboratory

Size: px
Start display at page:

Download "University of Saskatchewan Electrical & Computer Engineering CME 462 Digitall Signal Processing Laboratory"

Transcription

1 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) January 2008 Objective: This laboratory is to design digital filters, one FIR and one IIR type by using MATLAB digital filter design tool, then implement those on Texas Instrument Digital Signal Processor TMS320C6711 DSK (Starter Kit) to run in real time. This laboratory also studies the time-frequency relationship of simple waveforms; sine, square and triangular wave by the Fast Fourier Transform (FFT) implemented in real time on the TMS320C6711 processor. Reference: 1. TMS320C6711 DSK help, on line document included in DSK. 2. Getting Started With the Code Composer Studio Tutorial, on line tutorials included in Code Composer Studio. 1 Experiments 1. Design a 89 point band-pass FIR filter, which has a pass-band from 400 Hz to 1600 Hz. The digital filter operates at a sampling rate of 8 KHz. Calculate first the filter coefficients of this band-pass FIR digital filter by using MATLAB FIR filter design program, fir_window.m. Incorporate the Hamming window in the design. Use the provided sample program fir.c to realize this particular design. Measure the amplitude frequency response of the designed digital filter by applying sinusoidal wave of varying frequency to the analog input of the TMS-320C6711 DSK. Plot the frequency response with a spectrum analyzer. 2. Design a 5th order Butterworth low pass filter with a cut-off frequency of 1000Hz. Use the FIR program fir.c as reference, write a C-language program for this IIR type filter. Verify if the designed frequency response is achieved by your design and implementation. Use frequency prewarping if your design is done by the bilinear method. The MATLAB program iir_design.m calculates necessary filter coefficients to design this LP filter. 3. Make and run a FFT program FFT256.c written for TMS-320C6711 DSK as provided. This program take 256 samples from analog input (32 ms long at 8 KHz sampling rate) and immediately calculates its discrete Fourier Transform within a much shorter time than one sampling interval of 125µs. The calculated magnitude spectrum consisting of 256 points is output from the analog output. Thus, time trace and its magnitude spectrum can be observed simultaneously on an oscilloscope. Using a function generator as source, measure magnitude spectrum for three waveforms; sine, square and saw tooth wave at three different frequencies, 250 Hz, 500 Hz and 1000 Hz. Compare the results and theoretically known spectrum distributions. To help you understand the relationship between time scale and frequency scale, run MATLAB program DSPLab_FFT.m which simulates this experiment, concurrently while you are running FFT256.c. 1

2 2 Procedures Before hardware setup, down load the entire directory of DSPprojects from The directory DSPprojects contains three projects, FIR, IIR and fft to your own directory in H: drive. Make sure to keep the directory structure unchanged. Then, get necessary hardware and equipment. This laboratory requires a PC with network connection, TMS- 320C6711 DSK (mounted in aluminum case), function generator, oscilloscope and spectrum analyzer. Once all the equipment is ready, connect TMS-320C6711 DSK to the parallel port of PC and power the TMS-320C6711 DSK. Then, power your PC and log on. Start CCStudio from Texas Instruments > Code Composer Studio DSK Tools 2 > CCStudio, in an appropriate directory where this software is installed. CCStudio checks connection to TMS-320C6711 DSK and establish handshaking between TMS-320C6711 DSK and the PC. If connection fails, close CCStudio and check parallel port connection, then turn power for TMS-320C6711 DSK, OFF then ON. After TMS-320C6711 DSK is reset, restart CCStudio. In an event of broken connection or hang-up during the excution of a program, just reset TMS- 320C6711 DSK and restart CCStudio. Normally, no need for rebooting your PC. Do FIR filter first to get yourself familialized with basic functions of CCStudio. Run the provided programs in FIR project without modifications to make sure that the FIR filter (a band-pass filter to pass from 1000 Hz to 2000 Hz) works. Then, you need to modify only a filter coefficient file called bs2700.cof according to the filter design procedure described later. For IIR filter, you need to modify iir.c and bs2700.cof in IIR project. Procedures of this experiment is essentially the same as FIR filter. FFT project does not require programming. Measurements and interpretation of results are its objective. A MATLAB program is included for each of the three projects FIR, IIR and FFT to assist either your design or analysis of the results. 2.1 FIR filter: Making an excutable program on Code Composer Studio 1. Make sure that you have following files in the directory H:\DSPprojects\FIR. source include library etc. fir.c bs2700.cof C6xdsk.cmd c6xdskinit.c c6x.h rts6701.lib vectors_11.asm C6xdsk.h c6xdskinit.h c6xinterrupts.h 2. Connect the parallel port cable to TMS320C6711 DSK and to PC. Insert the power supply jack to TMS320C6711 DSK and power DSK before PC power is turned on. 3. Click on CCS-DSK ( C6000) to start Code Composer Studio. To quickly check if PC/DSK handshaking is properly established, go to the menu bar and click on GEL > Check DSK > QuickTest. If a message *****Target is Okay ******* shows up in the bottom window, PC/DSK connection is working all right. 4. Now we start a new project to build a FIR filter program from a set of provided program modules. We let the name of the new project be FIR which will create a project file FIR.pjt. Go to the menu bar and click on Project > New. Enter FIR to project name and H:\DSPprojects\ to location. Since there exists FIR project, you overwrite the existing FIR.pjt to start from scratch. 5. The next step is to add program files, header files, a command file and a library file to the project. There are three program files, fir.c, c6xdskinit.c, vectors_11.asm. Go to the menu bar and click on Project > Add Files to Project. Then, add those three files one by one from the directory H:\DSPprojects\FIR. 2

3 Figure 1: Code Composer Studio 6. Once all of the three files are added, you can see those under Source in File View window on your left. In order to bring header files with.h extension, go to the menu bar and click on Project > Scan All Dependencies. you will now see all of the necessary header files under Include in the File View window. 7. You have two more files to add to the project. Add C6xdsk.cmd. Then, add the run-time support library file rts6701.lib located in H:\DSPprojects\FIR. 8. If all of the necessary files are added to the project, the File View window should look like Fig. 1. Then, we are ready to compile and link all the program modules. Press the square icon with three downward arrows, Rebuild All. The Build windows will show up and the message Build Complete, 0 Errors, 0 Warnings, 0 Remarks should appear if all the previous steps are correct. This step has produced an excutable object file FIR.out in the directory H:\DSPprojects\FIR\Debug. 9. To load FIR.out to TMS320C6711 DSK and run it, go to the menu bar and click on File > Load Program... Select H:\DSPprojects\FIR\Debug\FIR.out and press Open. You will see a loading bar moving. The program is now loaded in DSK. You can start by pressing the icon of a running person and the similar icon with x symbol to stop. 2.2 FIR Filter: Understanding how program FIR.c works In spite of many program modules are used in the FIR project, only two programs written in C language describe the operation of the 89 point FIR digital filtering. The main program FIR.c with a include file BS2700.cof that holds filter coefficients plays a key role in this FIR filtering. FIR.c is a interrupt driven 3

4 program. Clock signal running at 8 KHz causes an interrupt every ms. When the interrupt occurs, excuting of a program is interrupted and forced to jump to c_int11() in FIR.c. Then, (a) one data sample is immediately input from A/D. (b) An output value from the FIR filter is calculated according to Eq. (1). (c) The calculated output value is output from D/A. These three steps (a), (b) and (c) are excuted and completed by the TMS320C6711 running at 150MHz or 900 MFLOPS very rapidly within a few µs. Then, it returns to the main routine main{} and idles there. The funcion of main{} is to initialize TMS320C6711 DSK and enable interrupt, and to provide an infinite loop to idle. The include file BS2700.cof has 89 FIR filter coefficients. To change the characteristics of the filter, you need to calculate the coefficients of your filter and replace them with newly caluculated coefficients. Program Listings: 1. //Fir.c FIR filter. Include coefficient file with length N #include "bs2700.cof" int yn = 0; short dly[n]; interrupt void c_int11() { short i; //coefficient file 2700Hz //initialize filter s output //delay samples //ISR } dly[0] = input_sample(); yn = 0; for (i = 0; i< N; i++) yn += (h[i] * dly[i]); for (i = N-1; i > 0; i--) dly[i] = dly[i-1]; output_sample(yn >> 15); return; //new beginning of buffer //initialize filter s output //y(n) += h(i)* x(n-i) end of buffer //update delays with data move //scale output filter void main() { comm_intr(); while(1); } //init DSK, codec, McBSP //infinite loop 2. //BS2700.cof FIR bandpass coefficients designed with MATLAB #define N 89 //number of coefficients short h[n]={-0, -34, -21, 7, -0, -9, 33, 66, -0, -87, -59, 20, -0, -26, 101, 196, -0, -250, -165, 54, -0, -67, 256, 486, -0, -598, -388, 126, -0, -155, 588, 1117, -0, -1401, -926, 308, -0, -412, 1666, 3458, -0, -5873, -5191, 3051, 8192, 3051, -5191, -5873, -0, 3458, 1666, -412, -0, 308, -926, -1401, -0, 1117, 588, -155, -0, 126, -388, -598, -0, 486, 256, -67, -0, 54, -165, -250, -0, 196, 101, -26, -0, 20, -59, -87, -0, 66, 33, -9, -0, 7, -21, -34, -0}; 2.3 FIR Filter: Measurements 1. You need a function generator and an oscilloscope to verify the operation of the FIR program. Connect a function generator to IN (Analog Input). Input voltage should be set 0.5 volt. The frequency range should be between 0-4 KHz (since the sampling rate is 8 KHz). Connect one channel of the oscilloscope to IN and the other channel to OUTof the DSK. Use a stereo phone jack for INand OUTterminals. The provided FIR filter is a band-pass filter with the pass band from 1000 Hz to 2000 Hz. Measure the cut-off frequencies where the gain drops down to -3 db (or of the pass band gain). Confirm that measured cut-off frequecies are close to 1000 Hz and 2000 Hz. 2. You can display the frequency response directly on the HP-3580A Spectum Analyzer. Feed the (frequency) sweep signal available from a BNC connnector located at the back of HP-3580A into 4

5 INand connect OUTto the input of HP-3580A. Hardcopy of the frequency response may be printed through the GPIB port. 2.4 FIR Filter: Filter Design by MATLAB program fir_window.m A MATLAB program fir_window.m is provided in H:\DSPprojects\FIR. Start MATLAB then connect to this directory. Then, enter fir_window to start this program. This program calculates FIR filter coefficients according to the window method. Enter your selection or value for each prompted question. Frequencies must be in the normalized frequency by the sampling rate (8 KHz in our case). Sample input dialogue is shown below. Once you get the filter sequence consisting of 89 coefficients as shown, you should cut and paste those values into your coefficient file BS2700.cof immediately. Remember, you are to design a band pass filter with pass-band from 400 Hz to 1600 Hz. >> fir_window What filter do you design, lp, hp, bp or bs? = bp Number of points in FIR filter = 89 Lower cut-off frequency f1 (0<f1<0.5) = 0.05 Upper cut-off frequency f2 (0<f1<0.5) = 0.2 Which window do you use? none, bartlett, hamming, hanning, blackman, kaiser : hamming ans = -36, -28, 0, 15, -0, -19, 0, 54, 84, 51, -0, 15, 91, 112, -0, -145, -153, -32, -0, -185, -392, -321, 0, 183, -0, -225, 0, 601, 907, 529, -0, 145, 860, 1034, -0, -1326, -1421, -311, -0, -2026, -4868, -4805, 0, 6689, 9830, 6689, 0, -4805, -4868, -2026, -0, -311, -1421, -1326, -0, 1034, 860, 145, -0, 529, 907, 601, 0, -225, -0, 183, 0, -321, -392, -185, -0, -32, -153, -145, -0, 112, 91, 15, -0, 51, 84, 54, 0, -19, -0, 15, 0, -28, -36, 2.5 IIR Filter: Filter Design by MATLAB program iir_design.m The second experiment is IIR filter. The algorithm of IIR filtering is given by Eq. (2). In contrast with FIR filters, IIR filter requires two sets of coefficients, one representing the numerator of a transfer function a(k) and the other representing the denominator b(k). Note that a(k) corresponds to h(k) in FIR filters, but (k) is missing in FIR filters. All the files in H:\DSPprojects\IIR are the duplicates from H:\DSPprojects\FIR. The file FIR.c was, however, renamed as IIR.c. There are two things to do to complete the IIR filter experiment. First, you must modify the renamed file IIR.c to add the second term of Eq. (2) related to b(k). Second, the filter coefficients a(k) and b(k) must be calculated by using the MATLAB program iir_design.m. You can copy the calculated a(k) and b(k) into BS2700.cof as FIR.c, or include both of the coefficients a(k) and b(k) directly in IIR.c without using #include "bs2700.cof" statement. To run iir_design.m, change working directory to in H:\DSPprojects\IIR and enter iir_design. Dialogues running this program are shown below. It is advised to use the bilinear transformation to convert an analog prototype filter to a digital filter as you can get the same number of coefficients for a(k) and b(k). When the order is set as N, the number of the coefficients is N + 1 including a constant term. For low pass digital filters of an unity gain, the sum of all a(k) should be equal to the sum of all b(k), since z = 1 at DC (frequency=0). >> iir_design Enter order of prototype filter =>5 Enter one of butt/bess/cheb1/cheb2/elli =>butt Enter freq-band conversion to lp/hp/bp/bs/none =>lp Enter new cutoff freq in Hz =>1000 Enter bilinear/impulse invariant (bil/imp) =>bil Enter sampling frequency in Hz =>8000 numerator coefficients ans = 27, 134, 268, 268, 134, 27, 5

6 denominator coefficient ans = 10000, , 30272, , 6112, -825, When a new IIR.c is completed, rebuild the excutable file IIR.out and run the program. Follow the same procedure as given in FIR filter to verify that your low pass filter is working properly. 2.6 Real Time Spectrum Analysis by FFT: Running FFT project FFT.out The FFT project to perform real time spectrum analysis on TMS-320C6711 DSK is found in H:\DSPprojects\FFT. Necessary program modules to build the excutable program are listed in the following table. The executable program FFT.out has been built and is ready to run. For this project, go to Project > Open then open FFT.pjt. Click on File > Load Program... to select Select H:\DSPprojects\FFT\Debug\FFT.out then press Open. source include library etc. FFT.c c6x.h C6xdsk.cmd FFT256c.c c6xdsk.h rts6701.lib c6xdskinit.c vectors_11.asm C6xdsk.h c6xdskinit.h c6xinterrupts.h To run this FFT project successfully, precise setting of input voltage and frequency is important. Keep input peak voltage exactly at 0.5 V. When input voltage comes close to 1 V and exceeds A/D converter s input range, input values do not properly represent the input voltage. Also, set frequency to be 500 Hz first. We change this to 250 Hz and 1000 Hz later. You may vary frequency from 200 Hz to 2000 Hz to observe the fundamental frequency to slide along the frequency axis. Try sine wave first because it is simple. Then, try square wave and saw tooth wave. You need your oscilloscope to observe two channels, one for input and the other for output. Set trigger on the output. FFT256c.c sets x1[0] = to provide a trigger to display magnitude spectrum easily on the scope. The output voltage from TMS320C6711 DSK is inverted, so display the output in inverted mode if available. After you stabilize the traces on the scope by properly adjusting the trigger level on the output signal, you can observe time trace on the input channel and frequency trace on the output channel. 2.7 Real Time Spectrum Analysis by FFT: MATLAB simulation by DSPLab_FFT.m The 256 point FFT program FFT.out to run on TMS-320C6711 DSK samples 256 input data, then immediately apply 256 point FFT. Beause of the speed of TMS-320C6711 DSK, 900 MFLOPS (Mega floating point operations per second), it takes only several micro-seconds to complete 256 point FFT. So, as soon as 256 input data are accumulated, immediately its magnitude spectrum is calculated and ready for output. Therefore, as one sample of the next 256 input data is acquired, one point of the calculated 256 point magnitude spectrum is output synchronously. That is why time data and frequency spectrum can be displayed simultaneously. Though the program FFT.out works well as long as the input voltage is kept within the range of ±0.5 V and frequency range is between 200 Hz and 2000 Hz, this program does not provide the frequency scale. Time scale can be easily calibrated on the scope. MATLAB program DSPLab_FFT.m simulate exactly what FFT.out does. DSPLab_FFT.m displays magnitude spectrum properly scaled to the frequency in Hz by taking the sampling rate of 8 KHz and the data size of 256 points. One cycle of the magnitude spectrum display is 8 KHz whereas its time span is 32 ms. Run DSPLab_FFT.m concurrently with FFT.out so that the expected magnitude spectrum is readily known for the frequency and the waveform of your input. An example of dialogue with this program is shown as follows. The expected spectra for sine, square and saw tooth wave are also shown in Fig. 2. 6

7 >> DSPLab_FFT Magnitude must be set to be 0.25 V or 0.5 Vp-p Sampling frequency is internally set at 8000 samples/sec. Specify Input waveform, sine, square, triangle or random >square Specify frequency in KHz 0<f<4KHz >0.5 Specify time delay in number of sampling intervals, 0=<n<256 >0 Figure 2: Comparision of Time-Frequency Display of Waveforms 3 Mathematical Background 3.1 Digital Filters An N point FIR digital filter is given by the following transfer function in the z-transform. N 1 H(z) = h(k)z k. For a given input sequence X (z), the output from the filter Y (z) is N 1 Y (z) = H(z)X (z) = h(k)z k X (z). 7

8 Taking the inverse z-transform, we have its time domain equivalence: y(n) = N 1 h(k)x(n k) (1) = h(0)x(n) + h(1)x(n 1) + h(2)x(n 2) + + h(n 2)x(n N + 2) + h(n 1)x(n N + 1) This equation of convolution between the filter sequence h(k) and the past N input data x(k) for 0 k < N is used in the C-language program FIR.c. In this program, both of the filter sequence h(k) and the input x(k) are defined as short integer (16 bits), and y as integer (32 bits). Therefore, the filter sequence calculated by MATLAB program must be scaled for the short integer by multiplying them by or = The filter coefficients generated by MATLAB program by the window method or frequency sampling method, are generally scaled to make pass pand gain to be unity and they are fractional numbers. For IIR filters, the FIR filter program must be modified to included poles as well as zeros (already included in FIR). The general form of the Nth order IIR filter transfer function H(z) is given by H(z) = 1 + N a k z k. N b k z k The input-output equation, Y (z) = H(z)X (z), is expressed in a equivalent difference equation, y(n) = k=1 N N a(k)x(n k) b(k)y(n k). (2) In the case of IIR filters, N means the order of the filter rather than the length of the filter. Since Nth order polynomial has the highest order for a constant, and the term z N for the most negative power of N, the total number of terms involved is N + 1. The Nth order IIR filter has N + 1 points (0 through N) for both numerator and denominator. Also, the coefficients a(k) and b(k) should be scaled by a single scale factor to implement the filter in short integers. k=1 3.2 Fourier Series of Simple waveforms In this laboratory, We are dealing with the Discrete Fourier Transform (DFT) applied for periodic waveforms looked through a short time window of 256 samples. What you observe as magnitude spectrum for the three kinds of waveforms, sine wave, square waveform and saw tooth waveform are better interpreted by the Fourier series. When you switch from one waveform to another, you will immediately notice the difference in higher harmonics. The Fourier series of these three wave forms are given here to recall that (1) sine wave has only one spectrum at the frequency of the sine wave. (2) square wave has only odd harmonics and their magnitude decreases inversely proportional to the harminic number (odd only), (3) saw tooth wave has odd and even harmonics and their magnitude decreases inversely proportional to the harmonic number. Keep in mind that the fundamental frequency varies when you change the frequency of the input wave and their hamonics appear at the mulpiple of the fundamental frequency. So, the Fourier series actually expands or contrants as you increase or decrease the frequencey. The Fourier series of those three waveforms that occupy 2π to fit one cycle are shown below. 1. Sine Wave f (t) = sin kt for π < t < +π b n = δ(n k) 8

9 2. Square Wave f (t) = { 1 for 0 < t < π 1 for pi < t < 0 b 2n+1 = 4 π(2n + 1) for n 0 3. Saw Tooth Wave f (t) = t π for π < t < +π b n = 2 πn ( 1)n 1 for n 1 The E N D 9

DSP Laboratory (EELE 4110) Lab#11 Implement FIR filters on TMS320C6711 DSK.

DSP Laboratory (EELE 4110) Lab#11 Implement FIR filters on TMS320C6711 DSK. 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

More information

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) 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 information

LAB #7: Digital Signal Processing

LAB #7: Digital Signal Processing LAB #7: Digital Signal Processing Equipment: Pentium PC with NI PCI-MIO-16E-4 data-acquisition board NI BNC 2120 Accessory Box VirtualBench Instrument Library version 2.6 Function Generator (Tektronix

More information

Exploring DSP Performance

Exploring DSP Performance ECE1756, Experiment 02, 2015 Communications Lab, University of Toronto Exploring DSP Performance Bruno Korst, Siu Pak Mok & Vaughn Betz Abstract The performance of two DSP architectures will be probed

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(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 information

Experiment # 4. Frequency Modulation

Experiment # 4. Frequency Modulation ECE 416 Fall 2002 Experiment # 4 Frequency Modulation 1 Purpose In Experiment # 3, a modulator and demodulator for AM were designed and built. In this experiment, another widely used modulation technique

More information

DFT: Discrete Fourier Transform & Linear Signal Processing

DFT: Discrete Fourier Transform & Linear Signal Processing DFT: Discrete Fourier Transform & Linear Signal Processing 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Textbooks... 3 Recommended

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(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 information

DIGITAL SIGNAL PROCESSING LABORATORY

DIGITAL SIGNAL PROCESSING LABORATORY DIGITAL SIGNAL PROCESSING LABORATORY SECOND EDITION В. Preetham Kumar CRC Press Taylor & Francis Group Boca Raton London New York CRC Press is an imprint of the Taylor & Francis Croup, an informa business

More information

EE 422G - Signals and Systems Laboratory

EE 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 information

Electrical & Computer Engineering Technology

Electrical & 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 information

Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Objectives:

Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Objectives: Advanced Lab LAB 6: Signal Acquisition & Spectrum Analysis Using VirtualBench DSA Equipment: Pentium PC with National Instruments PCI-MIO-16E-4 data-acquisition board (12-bit resolution; software-controlled

More information

EE477 Digital Signal Processing Laboratory Exercise #13

EE477 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 information

Discrete Fourier Transform (DFT)

Discrete Fourier Transform (DFT) Amplitude Amplitude Discrete Fourier Transform (DFT) DFT transforms the time domain signal samples to the frequency domain components. DFT Signal Spectrum Time Frequency DFT is often used to do frequency

More information

Laboratory Assignment 4. Fourier Sound Synthesis

Laboratory Assignment 4. Fourier Sound Synthesis Laboratory Assignment 4 Fourier Sound Synthesis PURPOSE This lab investigates how to use a computer to evaluate the Fourier series for periodic signals and to synthesize audio signals from Fourier series

More information

Lab 4 Digital Scope and Spectrum Analyzer

Lab 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 information

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE) Code: 13A04602 R13 B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 (Common to ECE and EIE) PART A (Compulsory Question) 1 Answer the following: (10 X 02 = 20 Marks)

More information

Spectrum Analysis: The FFT Display

Spectrum Analysis: The FFT Display Spectrum Analysis: The FFT Display Equipment: Capstone, voltage sensor 1 Introduction It is often useful to represent a function by a series expansion, such as a Taylor series. There are other series representations

More information

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202)

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202) Department of Electronic Engineering NED University of Engineering & Technology LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202) Instructor Name: Student Name: Roll Number: Semester: Batch:

More information

The University of Queensland School of Information Technology and Electrical Engineering. ELEC3004/7312: Signals, Systems and Controls

The University of Queensland School of Information Technology and Electrical Engineering. ELEC3004/7312: Signals, Systems and Controls The University of Queensland School of Information Technology and Electrical Engineering ELEC3004/7312: Signals, Systems and Controls EXPERIMENT 3: ECHO FILTERS ON THE NEXYS 2 Aims In this laboratory session

More information

Laboratory Assignment 1 Sampling Phenomena

Laboratory Assignment 1 Sampling Phenomena 1 Main Topics Signal Acquisition Audio Processing Aliasing, Anti-Aliasing Filters Laboratory Assignment 1 Sampling Phenomena 2.171 Analysis and Design of Digital Control Systems Digital Filter Design and

More information

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class Description In this project, MATLAB and Simulink are used to construct a system experiment. The experiment

More information

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Digital 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 information

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido The Discrete Fourier Transform Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido CCC-INAOE Autumn 2015 The Discrete Fourier Transform Fourier analysis is a family of mathematical

More information

SMS045 - 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 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 information

EECS 452 Midterm Exam Winter 2012

EECS 452 Midterm Exam Winter 2012 EECS 452 Midterm Exam Winter 2012 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 Section I /40 Section II

More information

LLS - Introduction to Equipment

LLS - Introduction to Equipment Published on Advanced Lab (http://experimentationlab.berkeley.edu) Home > LLS - Introduction to Equipment LLS - Introduction to Equipment All pages in this lab 1. Low Light Signal Measurements [1] 2. Introduction

More information

Fourier Signal Analysis

Fourier Signal Analysis Part 1B Experimental Engineering Integrated Coursework Location: Baker Building South Wing Mechanics Lab Experiment A4 Signal Processing Fourier Signal Analysis Please bring the lab sheet from 1A experiment

More information

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b Exam 1 February 3, 006 Each subquestion is worth 10 points. 1. Consider a periodic sawtooth waveform x(t) with period T 0 = 1 sec shown below: (c) x(n)= u(n). In this case, show that the output has the

More information

Laboratory Experiment #1 Introduction to Spectral Analysis

Laboratory Experiment #1 Introduction to Spectral Analysis J.B.Francis College of Engineering Mechanical Engineering Department 22-403 Laboratory Experiment #1 Introduction to Spectral Analysis Introduction The quantification of electrical energy can be accomplished

More information

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1).

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1). Chapter 5 Window Functions 5.1 Introduction As discussed in section (3.7.5), the DTFS assumes that the input waveform is periodic with a period of N (number of samples). This is observed in table (3.1).

More information

Digital Filtering: Realization

Digital 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 information

Lab 4 An FPGA Based Digital System Design ReadMeFirst

Lab 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 information

FIR/Convolution. Visulalizing the convolution sum. Frequency-Domain (Fast) Convolution

FIR/Convolution. Visulalizing the convolution sum. Frequency-Domain (Fast) Convolution FIR/Convolution CMPT 468: Delay Effects Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University November 8, 23 Since the feedforward coefficient s of the FIR filter are the

More information

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

ELEC-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 information

GUJARAT TECHNOLOGICAL UNIVERSITY

GUJARAT TECHNOLOGICAL UNIVERSITY Type of course: Compulsory GUJARAT TECHNOLOGICAL UNIVERSITY SUBJECT NAME: Digital Signal Processing SUBJECT CODE: 2171003 B.E. 7 th SEMESTER Prerequisite: Higher Engineering Mathematics, Different Transforms

More information

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10

Digital 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 information

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools MAE106 Laboratory Exercises Lab # 1 - Laboratory tools University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To learn how to use the oscilloscope, function generator,

More information

Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15. Figure 2: DAD pin configuration

Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15. Figure 2: DAD pin configuration Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15 INTRODUCTION The Diligent Analog Discovery (DAD) allows you to design and test both analog and digital circuits. It can produce, measure and

More information

AC : INTERACTIVE LEARNING DISCRETE TIME SIGNALS AND SYSTEMS WITH MATLAB AND TI DSK6713 DSP KIT

AC : 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 information

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

ECE438 - 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 information

Signal Processing for Digitizers

Signal Processing for Digitizers Signal Processing for Digitizers Modular digitizers allow accurate, high resolution data acquisition that can be quickly transferred to a host computer. Signal processing functions, applied in the digitizer

More information

CMPT 468: Delay Effects

CMPT 468: Delay Effects CMPT 468: Delay Effects Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University November 8, 2013 1 FIR/Convolution Since the feedforward coefficient s of the FIR filter are

More information

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering EIE2106 Signal and System Analysis Lab 2 Fourier series 1. Objective The goal of this laboratory exercise is to

More information

2) How fast can we implement these in a system

2) How fast can we implement these in a system Filtration Now that we have looked at the concept of interpolation we have seen practically that a "digital filter" (hold, or interpolate) can affect the frequency response of the overall system. We need

More information

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis All circuit simulation packages that use the Pspice engine allow users to do complex analysis that were once impossible to

More information

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM

ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Spring 2018 What to Turn In: ECE 2713 Homework 7 DUE: 05/1/2018, 11:59 PM Dr. Havlicek Submit your solution for this assignment electronically on Canvas by uploading a file to ECE-2713-001 > Assignments

More information

Experiment 2 Effects of Filtering

Experiment 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 information

Digital Filters FIR and IIR Systems

Digital 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 information

Subtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis

Subtractive 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 information

FIR/Convolution. Visulalizing the convolution sum. Convolution

FIR/Convolution. Visulalizing the convolution sum. Convolution FIR/Convolution CMPT 368: Lecture Delay Effects Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University April 2, 27 Since the feedforward coefficient s of the FIR filter are

More information

ECEN 325 Lab 5: Operational Amplifiers Part III

ECEN 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 information

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling Note: Printed Manuals 6 are not in Color Objectives This chapter explains the following: The principles of sampling, especially the benefits of coherent sampling How to apply sampling principles in a test

More information

P a g e 1 ST985. TDR Cable Analyzer Instruction Manual. Analog Arts Inc.

P a g e 1 ST985. TDR Cable Analyzer Instruction Manual. Analog Arts Inc. P a g e 1 ST985 TDR Cable Analyzer Instruction Manual Analog Arts Inc. www.analogarts.com P a g e 2 Contents Software Installation... 4 Specifications... 4 Handling Precautions... 4 Operation Instruction...

More information

Lakehead University. Department of Electrical Engineering

Lakehead University. Department of Electrical Engineering Lakehead University Department of Electrical Engineering Lab Manual Engr. 053 (Digital Signal Processing) Instructor: Dr. M. Nasir Uddin Last updated on January 16, 003 1 Contents: Item Page # Guidelines

More information

EE 470 Signals and Systems

EE 470 Signals and Systems EE 470 Signals and Systems 9. Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah Textbook Luis Chapparo, Signals and Systems Using Matlab, 2 nd ed., Academic Press, 2015. Filters

More information

ECEn 487 Digital Signal Processing Laboratory. Lab 3 FFT-based Spectrum Analyzer

ECEn 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 information

Frequency Domain Representation of Signals

Frequency Domain Representation of Signals Frequency Domain Representation of Signals The Discrete Fourier Transform (DFT) of a sampled time domain waveform x n x 0, x 1,..., x 1 is a set of Fourier Coefficients whose samples are 1 n0 X k X0, X

More information

Digital Signal Processing

Digital 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 information

Lab 0: Introduction to TIMS AND MATLAB

Lab 0: Introduction to TIMS AND MATLAB TELE3013 TELECOMMUNICATION SYSTEMS 1 Lab 0: Introduction to TIMS AND MATLAB 1. INTRODUCTION The TIMS (Telecommunication Instructional Modelling System) system was first developed by Tim Hooper, then a

More information

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual Memorial University of Newfoundland Faculty of Engineering and Applied Science Engineering 6871 Communication Principles Lab Manual Fall 2014 Lab 1 AMPLITUDE MODULATION Purpose: 1. Learn how to use Matlab

More information

Lecture 17 z-transforms 2

Lecture 17 z-transforms 2 Lecture 17 z-transforms 2 Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/5/3 1 Factoring z-polynomials We can also factor z-transform polynomials to break down a large system into

More information

SIMULATION AND PROGRAM REALIZATION OF RECURSIVE DIGITAL FILTERS

SIMULATION AND PROGRAM REALIZATION OF RECURSIVE DIGITAL FILTERS SIMULATION AND PROGRAM REALIZATION OF RECURSIVE DIGITAL FILTERS Stela Angelova Stefanova, Radostina Stefanova Gercheva Technology School Electronic System associated to the Technical University of Sofia,

More information

EET 223 RF COMMUNICATIONS LABORATORY EXPERIMENTS

EET 223 RF COMMUNICATIONS LABORATORY EXPERIMENTS EET 223 RF COMMUNICATIONS LABORATORY EXPERIMENTS Experimental Goals A good technician needs to make accurate measurements, keep good records and know the proper usage and limitations of the instruments

More information

Sampling and Reconstruction

Sampling and Reconstruction Experiment 10 Sampling and Reconstruction In this experiment we shall learn how an analog signal can be sampled in the time domain and then how the same samples can be used to reconstruct the original

More information

ME 461 Laboratory #2 Timers and Pulse-Width Modulation

ME 461 Laboratory #2 Timers and Pulse-Width Modulation ME 461 Laboratory #2 Timers and Pulse-Width Modulation Goals: 1. Understand how to use timers to control the frequency at which events occur. 2. Generate PWM signals using Timer A. 3. Explore the frequency

More information

Experiment 1 Introduction to MATLAB and Simulink

Experiment 1 Introduction to MATLAB and Simulink Experiment 1 Introduction to MATLAB and Simulink INTRODUCTION MATLAB s Simulink is a powerful modeling tool capable of simulating complex digital communications systems under realistic conditions. It includes

More information

Corso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo

Corso 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 information

Lab 6 - MCU CODEC IIR Filter ReadMeFirst

Lab 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 information

Linear Time-Invariant Systems

Linear Time-Invariant Systems Linear Time-Invariant Systems Modules: Wideband True RMS Meter, Audio Oscillator, Utilities, Digital Utilities, Twin Pulse Generator, Tuneable LPF, 100-kHz Channel Filters, Phase Shifter, Quadrature Phase

More information

ME scope Application Note 01 The FFT, Leakage, and Windowing

ME scope Application Note 01 The FFT, Leakage, and Windowing INTRODUCTION ME scope Application Note 01 The FFT, Leakage, and Windowing NOTE: The steps in this Application Note can be duplicated using any Package that includes the VES-3600 Advanced Signal Processing

More information

Design of FIR Filters

Design of FIR Filters Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 1 FIR as a

More information

Gentec-EO USA. T-RAD-USB Users Manual. T-Rad-USB Operating Instructions /15/2010 Page 1 of 24

Gentec-EO USA. T-RAD-USB Users Manual. T-Rad-USB Operating Instructions /15/2010 Page 1 of 24 Gentec-EO USA T-RAD-USB Users Manual Gentec-EO USA 5825 Jean Road Center Lake Oswego, Oregon, 97035 503-697-1870 voice 503-697-0633 fax 121-201795 11/15/2010 Page 1 of 24 System Overview Welcome to the

More information

DTMF Signal Detection Using Z8 Encore! XP F64xx Series MCUs

DTMF Signal Detection Using Z8 Encore! XP F64xx Series MCUs DTMF Signal Detection Using Z8 Encore! XP F64xx Series MCUs AN033501-1011 Abstract This application note demonstrates Dual-Tone Multi-Frequency (DTMF) signal detection using Zilog s Z8F64xx Series microcontrollers.

More information

CHAPTER. delta-sigma modulators 1.0

CHAPTER. delta-sigma modulators 1.0 CHAPTER 1 CHAPTER Conventional delta-sigma modulators 1.0 This Chapter presents the traditional first- and second-order DSM. The main sources for non-ideal operation are described together with some commonly

More information

Filters. Phani Chavali

Filters. 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 information

ECE 4670 Spring 2014 Lab 1 Linear System Characteristics

ECE 4670 Spring 2014 Lab 1 Linear System Characteristics ECE 4670 Spring 2014 Lab 1 Linear System Characteristics 1 Linear System Characteristics The first part of this experiment will serve as an introduction to the use of the spectrum analyzer in making absolute

More information

EE 3302 LAB 1 EQIUPMENT ORIENTATION

EE 3302 LAB 1 EQIUPMENT ORIENTATION EE 3302 LAB 1 EQIUPMENT ORIENTATION Pre Lab: Calculate the theoretical gain of the 4 th order Butterworth filter (using the formula provided. Record your answers in Table 1 before you come to class. Introduction:

More information

Module 5. DC to AC Converters. Version 2 EE IIT, Kharagpur 1

Module 5. DC to AC Converters. Version 2 EE IIT, Kharagpur 1 Module 5 DC to AC Converters Version 2 EE IIT, Kharagpur 1 Lesson 37 Sine PWM and its Realization Version 2 EE IIT, Kharagpur 2 After completion of this lesson, the reader shall be able to: 1. Explain

More information

Notes on Experiment #1

Notes on Experiment #1 Notes on Experiment #1 Bring graph paper (cm cm is best) From this week on, be sure to print a copy of each experiment and bring it with you to lab. There will not be any experiment copies available in

More information

Experiment Guide: RC/RLC Filters and LabVIEW

Experiment Guide: RC/RLC Filters and LabVIEW Description and ackground Experiment Guide: RC/RLC Filters and LabIEW In this lab you will (a) manipulate instruments manually to determine the input-output characteristics of an RC filter, and then (b)

More information

1. In the command window, type "help conv" and press [enter]. Read the information displayed.

1. In the command window, type help conv and press [enter]. Read the information displayed. ECE 317 Experiment 0 The purpose of this experiment is to understand how to represent signals in MATLAB, perform the convolution of signals, and study some simple LTI systems. Please answer all questions

More information

Spectrum analyzer for frequency bands of 8-12, and MHz

Spectrum analyzer for frequency bands of 8-12, and MHz EE389 Electronic Design Lab Project Report, EE Dept, IIT Bombay, November 2006 Spectrum analyzer for frequency bands of 8-12, 12-16 and 16-20 MHz Group No. D-13 Paras Choudhary (03d07012)

More information

Combinational logic: Breadboard adders

Combinational logic: Breadboard adders ! ENEE 245: Digital Circuits & Systems Lab Lab 1 Combinational logic: Breadboard adders ENEE 245: Digital Circuits and Systems Laboratory Lab 1 Objectives The objectives of this laboratory are the following:

More information

Electronics Communications Laboratory Practical Session 4: Digital Communications. ASK Transceiver

Electronics Communications Laboratory Practical Session 4: Digital Communications. ASK Transceiver Electronics Communications Laboratory Practical Session 4: Digital Communications. ASK Transceiver 4. Introduction. This practice proposes to implement an ASK transmitter and receiver using the DSP development

More information

ASC-50. OPERATION MANUAL September 2001

ASC-50. OPERATION MANUAL September 2001 ASC-5 ASC-5 OPERATION MANUAL September 21 25 Locust St, Haverhill, Massachusetts 183 Tel: 8/252-774, 978/374-761 FAX: 978/521-1839 TABLE OF CONTENTS ASC-5 1. ASC-5 Overview.......................................................

More information

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3 NH 67, Karur Trichy Highways, Puliyur C.F, 639 114 Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3 IIR FILTER DESIGN Structure of IIR System design of Discrete time

More information

Experiment 4- Finite Impulse Response Filters

Experiment 4- Finite Impulse Response Filters Experiment 4- Finite Impulse Response Filters 18 February 2009 Abstract In this experiment we design different Finite Impulse Response filters and study their characteristics. 1 Introduction The transfer

More information

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

Instruction 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 information

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS Objectives: There are two goals in this laboratory exercise. The first is to reinforce the Fourier series analysis you have done in the lecture portion of this course.

More information

RTTY: an FSK decoder program for Linux. Jesús Arias (EB1DIX)

RTTY: an FSK decoder program for Linux. Jesús Arias (EB1DIX) RTTY: an FSK decoder program for Linux. Jesús Arias (EB1DIX) June 15, 2001 Contents 1 rtty-2.0 Program Description. 2 1.1 What is RTTY........................................... 2 1.1.1 The RTTY transmissions.................................

More information

The 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 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 information

ECE 5650/4650 Exam II November 20, 2018 Name:

ECE 5650/4650 Exam II November 20, 2018 Name: ECE 5650/4650 Exam II November 0, 08 Name: Take-Home Exam Honor Code This being a take-home exam a strict honor code is assumed. Each person is to do his/her own work. Bring any questions you have about

More information

Lab 8. Signal Analysis Using Matlab Simulink

Lab 8. Signal Analysis Using Matlab Simulink E E 2 7 5 Lab June 30, 2006 Lab 8. Signal Analysis Using Matlab Simulink Introduction The Matlab Simulink software allows you to model digital signals, examine power spectra of digital signals, represent

More information

SHF Communication Technologies AG. Wilhelm-von-Siemens-Str. 23D Berlin Germany. Phone Fax

SHF Communication Technologies AG. Wilhelm-von-Siemens-Str. 23D Berlin Germany. Phone Fax SHF Communication Technologies AG Wilhelm-von-Siemens-Str. 23D 12277 Berlin Germany Phone +49 30 772051-0 Fax ++49 30 7531078 E-Mail: sales@shf.de Web: http://www.shf.de Application Note Jitter Injection

More information

UNIVERSITY OF SWAZILAND

UNIVERSITY OF SWAZILAND UNIVERSITY OF SWAZILAND MAIN EXAMINATION, MAY 2013 FACULTY OF SCIENCE AND ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING TITLE OF PAPER: INTRODUCTION TO DIGITAL SIGNAL PROCESSING COURSE

More information

Answers to Problems of Chapter 4

Answers to Problems of Chapter 4 Answers to Problems of Chapter 4 The answers to the problems of this chapter are based on the use of MATLAB. Thus, if the readers have some prior elementary knowledge on it, it will be easier for them

More information

Lab 3 FFT based Spectrum Analyzer

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 prior to the beginning of class on the lab book submission

More information

Discrete-Time Signal Processing (DTSP) v14

Discrete-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 information

Signal Processing. Naureen Ghani. December 9, 2017

Signal Processing. Naureen Ghani. December 9, 2017 Signal Processing Naureen Ghani December 9, 27 Introduction Signal processing is used to enhance signal components in noisy measurements. It is especially important in analyzing time-series data in neuroscience.

More information