Experiment 2: Sampling and Quantization

Size: px
Start display at page:

Download "Experiment 2: Sampling and Quantization"

Transcription

1 ECE431, Experiment 2, 2016 Communications Lab, University of Toronto Experiment 2: Sampling and Quantization Bruno Korst - bkf@comm.utoronto.ca Abstract In this experiment, you will see the effects caused by changes in sampling time and quantization levels on a digitized (i.e., sampled) sinusoidal signal. You will start by designing and testing a system to produce an output delayed half of a sample relative to the input. On the second part of the experiment, you will move on to changing the number of bits assigned to each sample of the input signal, and will observe the presence of quantization noise. Keywords sampling half-sample delay quantization levels quantization noise Contents Introduction 1 1 Experiment Half-Sample Delay Problem Statement Simulation - PreLab Questions Implementation 1.2 Quantization Accomplishments 4 Acknowledgments 4 References 4 Introduction In order to manipulate an analog signal using a microprocessor, the signal must be converted into a digital form. The purpose of this experiment is to introduce sampling and quantization. It is fair to say that every textbook on Digital Signal Processing (DSP) starts by describing how an analog signal is converted into a digital signal prior to being processed [1], [2]. A/D conversion (analog-to-digital, or simply a to d ) is the very first step to be performed, usually by a hardware device called an A/D (analog-to-digital, or simply a to d ) converter. The A/D converter will take samples of the signal at regular intervals (a process called sampling) and will assign binary quantities to these samples (a process called quantization). After the signal is processed by the microprocessor, the resulting digital samples are sent to a D/A converter to be recomposed into an analog (continuous) signal. The hardware you will use in this lab includes an integrated circuit that does both A/D and D/A conversions (a CODEC), and a dedicated signal processor (a DSP ) that performs all necessary computation as specified in the program you will run. The CODEC operates at 48KHz sampling rate, with each two-channel sample represented in 32 bits (that is, 16 bits per channel). Keep these numbers in mind throughout the lab. In this experiment, you will play with the sample time and the number of quantization bits. It is a good idea if you review your notes on convolution, half-sample delay from introduction to signals and systems, and bitwise operations from microprocessor theory. The experiment will be done in two main parts: First, you will create a half sample delay by means of a convolution between the input analog signal and an impulse response sequence that you will calculate. Second, you will observe the effects of reducing the number of bits used per sample. As this number decreases, noise increases and the resulting signal is a deteriorated version of the original analog signal.

2 Experiment 2: Sampling and Quantization 2/5 Note that the lab answer sheet is to be done in groups of two students. Before you come to the lab, complete the Preparation document. You should also print the answer sheet to bring to the lab. Note that there are a few questions marked PreLab on the answer sheet. You are expected to fill those out prior to the experiment. You will need the results of that portion for the experiment. In the lab, then, you will follow the procedure below on the computer and record your answers for the remaining questions on the answer sheet. 1. Experiment 1.1 Half-Sample Delay In a previous course on signals and systems, you would have been introduced to convolution. In this part of the lab you will design a sequence and convolve it with a sinusoid. While in MATLAB you can design your sequences to have defined lengths, in a real-time implementation your incoming signal comes from a signal generator. For all purposes, the signal coming from the generator is infinite, for it lasts while the instrument is on Problem Statement Suppose that you have the sampled version of a continuous-time signal x(t) (which is bandlimited and is assumed to satisfy the Nyquist criterion) x[n] = x(nt s ), (1) where the sampling frequency is 48kHz. Your goal is to find y[n], the half-sample delayed version of x[n], i.e., y[n] = x((n 1/2)T s ). (2) Since x(t) satisfies Nyquist, you could in principle reconstruct x(t) from x[n], then resample to get y[n]. The point of this exercise is to find a digital way to accomplish the same thing. 1 In your lab preparation, design a digital filter with impulse response h[n] so that y[n] = x[n] h[n]. (3) Derive a mathematical expression for h[n], as follows. Consider the block diagram x(t T/2) x(t) x[n] x(t) y[n] C/D D/C e st/2 C/D h[n] The bandlimited signal x(t) is sampled to produce x[n]. By the sampling theorem, x(t) will be reconstructed by D/C. Delaying x(t) by T /2 seconds gives x(t T /2). Sampling this signal produces the desired y[n]. But the system in the block diagram from x[n] to y[n] is actually a discrete-time LTI system; let h[n] be its impulse response function. To find out what h[n] is, just set x[n] to be δ[n], the unit impulse, and find y[n]. Then h[n] must be equal to y[n] by definition of impulse response. The impulse response h[n] is of infinite length (IIR). In practical implementation, we need to limit it to a finite duration. For the rest of the lab, assume that the filter length is at most Simulation - PreLab Questions Your task now is to create: a) a finite sequence (i.e., a vector) of a sinusoid of frequency 2kHz, of length 100, sampled at 48kHz (to make it better to visualize, plot only 2 cycles of the sinusoid, or 48 samples); b) a 32 element sequence h 1 [n] to generate a delay of 17 samples; and c) a 32 element sequence h 2 [n] to generate a delay of 17-and-a-half samples (similar to the one you designed above). Plot h 1 [n] and h 2 [n] and attach to your answer booklet. You will determine that the half-sample delay is taking place by comparing the results of two convolutions: sinusoid convolved with 17-sample-delayed sequence; and sinusoid convolved with 17-and-half-sample-delayed sequence. Here is a hint: your designed sequences should look like the ones presented below. You may choose the same length as presented or not, but avoid going beyond a length of 35 samples. 1 The relevant material in the text is shown in the example for Noninteger Delay

3 Experiment 2: Sampling and Quantization 3/5 (a) Half Sample Figure 1. Two sequences to be convolved with the input (b) Pure Delay (shifted impulse) Implementation The convolution that you just performed in MATLAB is the simulation of what you will do in real time. In order to run this convolution in real time, a skeleton program is given to you. Open Code Composer Studio - CCS - and click on the project named ECE431 Exp01a Half Sample Delay. After the project is selected as active (i.e., the name becomes bold-faced), click on it again to open the folder and see the files. You will need to insert your two sequences in the two coefficient files, written in C (look at the project tree on Code Composer Studio). Open the files, then copy and paste your sequences from within MATLAB. It may be a good idea to display the transpose of your sequence on the MATLAB active window and copy from there. After you do this, you will need to recompile the project and run the executable. This is done by clicking on the bug icon (a button with a green bug drawn on). Remember that the program deals with samples coming as one 32-bit word representing two channels (from a stereo CODEC). Two convolutions will be performed (one for each channel) and two outputs are generated. The outputs are combined into one word and sent back to the CODEC. With the DSP running already, turn on your oscilloscope and signal generator, and connect inputs and outputs appropriately. Make sure the output button on the signal generator is pressed or you will not have a signal. Set your signal to a 1.8 V pp (peak-to-peak) sine at 1KHz. Display both outputs on the scope. After you verify that it runs, modify the frequency to 20KHz, leaving the amplitude unchanged. Now move on to answer the questions on the answer sheet. When you are successful in observing the half-sample delay, ask the TA to sign off on your lab. Answer additional questions in the answer booklet. 1.2 Quantization This part of the experiment will be done without simulation. Stop the previous program and select now as active project the one named ECE431 Exp01b Quantization. After doing so, build it and run it. This program will leave the sampling rate untouched, but will allow you to modify the number of bits used to represent the incoming signal. The quatization done by the existing CODEC on the board provides 16 bits per sample, which means 2 16 quantization levels. That is a very good resolution for an audio signal, for instance. The hardware you use determines the word size in which samples are represented, and for this case it is two channels with 16 bits per sample each (i.e., it is a 32-bit CODEC). The experiment now is to limit the number of bits from the original 16-bit quantization, and observe the results on the oscilloscope. You will effectively increase the quantization error. As you have already reviewed, when you reduce the number of bits on the quantization, you increase the error introduced in the process by reducing the number of quantization levels available. The question to be asked is: how much error can you tolerate for your application? Or, in other words, how many bits do you really need in order to represent your signal and maintain the desired quality? Figure 2 below shows a sinusoid, its 3-bit quantization version and the resulting error. You will utilize a bit mask to modify the word length of the incoming signal. You have likely utilized masking in a Microprocessors course. It consists of performing a logical AND operation between the data word passed on to the DAC and a

4 Experiment 2: Sampling and Quantization 4/5 Figure 2. Original Sinusoid, Quantized Sinusoid and Quantization Error mask that you select. Figure 3 below shows a sinusoid and a ramp, quantized with 3 bits, for instance. Notice the 8 levels of the output. (a) Sinusoid Figure 3. A Quantized Sinusoid and a Quantized Ramp (b) Ramp (Sawtooth) You will need to rebuild the project after every change you make on the code. Use an input signal of 1.8V pp and 100Hz to answer the questions below. The reason why you are using 1.8V pp is that you want to use the full voltage range of the CODEC, so that all bits of the word will be used. If you do not have the full range of the signal going into the CODEC, the different masks may not give you the right results. 2. Accomplishments In this experiment, you acquired a better understanding of sampling and quantization by further probing into the limitations of the sampling frequency and the number of bits per sample. You verified the introduction of aliasing by sampling a signal at a rate lower than the one dictated by the sampling theorem. You also verified the consequence of reducing the quantization levels by limiting the number of bits utilized to represent the samples of a signal. Acknowledgments Thanks for all the students who have provided input on the previous versions of this experiment.

5 Experiment 2: Sampling and Quantization 5/5 References [1] Schafer R. W. Oppenheim A. V. Discrete-Time Signal Processing, 3rd. Ed. Prentice-Hall, [2] Manolakis D. K. Proakis J. G. Digital Signal Processing, Principles, Algorithms and Applications, 4th. Ed. Prentice-Hall, 2006.

Experiment # 5. Pulse Code Modulation

Experiment # 5. Pulse Code Modulation ECE 416 Fall 2002 Experiment # 5 Pulse Code Modulation 1 Purpose The purpose of this experiment is to introduce Pulse Code Modulation (PCM) by approaching this technique from two individual fronts: sampling

More information

Digital Signal Processing Laboratory 7: IIR Notch Filters Using the TMS320C6711

Digital Signal Processing Laboratory 7: IIR Notch Filters Using the TMS320C6711 Digital Signal Processing Laboratory 7: IIR Notch Filters Using the TMS320C6711 Thursday, 4 November 2010 Objective: To implement a simple filter using a digital signal processing microprocessor using

More information

ECE438 - Laboratory 4: Sampling and Reconstruction of Continuous-Time Signals

ECE438 - Laboratory 4: Sampling and Reconstruction of Continuous-Time Signals Purdue University: ECE438 - Digital Signal Processing with Applications 1 ECE438 - Laboratory 4: Sampling and Reconstruction of Continuous-Time Signals October 6, 2010 1 Introduction It is often desired

More information

Digital Signal. Continuous. Continuous. amplitude. amplitude. Discrete-time Signal. Analog Signal. Discrete. Continuous. time. time.

Digital Signal. Continuous. Continuous. amplitude. amplitude. Discrete-time Signal. Analog Signal. Discrete. Continuous. time. time. Discrete amplitude Continuous amplitude Continuous amplitude Digital Signal Analog Signal Discrete-time Signal Continuous time Discrete time Digital Signal Discrete time 1 Digital Signal contd. Analog

More information

Lab 1 Introduction to the Software Development Environment and Signal Sampling

Lab 1 Introduction to the Software Development Environment and Signal Sampling ECEn 487 Digital Signal Processing Laboratory Lab 1 Introduction to the Software Development Environment and Signal Sampling Due Dates This is a three week lab. All TA check off must be completed before

More information

Signals and Systems. Spring Room 324, Geology Palace, ,

Signals and Systems. Spring Room 324, Geology Palace, , Signals and Systems Spring 2013 Room 324, Geology Palace, 13756569051, zhukaiguang@jlu.edu.cn Chapter 7 Sampling 1) The Concept and Representation of Periodic Sampling of a CT Signal 2) Analysis of Sampling

More information

FFT Laboratory Experiments for the HP Series Oscilloscopes and HP 54657A/54658A Measurement Storage Modules

FFT Laboratory Experiments for the HP Series Oscilloscopes and HP 54657A/54658A Measurement Storage Modules FFT Laboratory Experiments for the HP 54600 Series Oscilloscopes and HP 54657A/54658A Measurement Storage Modules By: Michael W. Thompson, PhD. EE Dept. of Electrical Engineering Colorado State University

More information

Module 8 : Numerical Relaying I : Fundamentals

Module 8 : Numerical Relaying I : Fundamentals Module 8 : Numerical Relaying I : Fundamentals Lecture 28 : Sampling Theorem Objectives In this lecture, you will review the following concepts from signal processing: Role of DSP in relaying. Sampling

More information

Multirate Digital Signal Processing

Multirate Digital Signal Processing Multirate Digital Signal Processing Contents 1) What is multirate DSP? 2) Downsampling and Decimation 3) Upsampling and Interpolation 4) FIR filters 5) IIR filters a) Direct form filter b) Cascaded form

More information

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003 MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003 OBJECTIVE To become familiar with state-of-the-art digital data acquisition hardware and software. To explore common data acquisition

More information

Lab experience 1: Introduction to LabView

Lab experience 1: Introduction to LabView Lab experience 1: Introduction to LabView LabView is software for the real-time acquisition, processing and visualization of measured data. A LabView program is called a Virtual Instrument (VI) because

More information

Journal of Theoretical and Applied Information Technology 20 th July Vol. 65 No JATIT & LLS. All rights reserved.

Journal of Theoretical and Applied Information Technology 20 th July Vol. 65 No JATIT & LLS. All rights reserved. MODELING AND REAL-TIME DSK C6713 IMPLEMENTATION OF NORMALIZED LEAST MEAN SQUARE (NLMS) ADAPTIVE ALGORITHM FOR ACOUSTIC NOISE CANCELLATION (ANC) IN VOICE COMMUNICATIONS 1 AZEDDINE WAHBI, 2 AHMED ROUKHE,

More information

ELEC 310 Digital Signal Processing

ELEC 310 Digital Signal Processing ELEC 310 Digital Signal Processing Alexandra Branzan Albu 1 Instructor: Alexandra Branzan Albu email: aalbu@uvic.ca Course information Schedule: Tuesday, Wednesday, Friday 10:30-11:20 ECS 125 Office Hours:

More information

Introduction to Digital Signal Processing (Discrete-time Signal Processing) Prof. Ja-Ling Wu Dept. CSIE & GINM National Taiwan University

Introduction to Digital Signal Processing (Discrete-time Signal Processing) Prof. Ja-Ling Wu Dept. CSIE & GINM National Taiwan University Introduction to Digital Signal Processing (Discrete-time Signal Processing) Prof. Ja-Ling Wu Dept. CSIE & GINM National Taiwan University Overview Introduction to DSP Information Theory and Coding Tech.

More information

Experiment # 4 Counters and Logic Analyzer

Experiment # 4 Counters and Logic Analyzer EE20L - Introduction to Digital Circuits Experiment # 4. Synopsis: Experiment # 4 Counters and Logic Analyzer In this lab we will build an up-counter and a down-counter using 74LS76A - Flip Flops. The

More information

DSP First Lab 04: Synthesis of Sinusoidal Signals - Music Synthesis

DSP First Lab 04: Synthesis of Sinusoidal Signals - Music Synthesis DSP First Lab 04: Synthesis of Sinusoidal Signals - Music Synthesis Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in the

More information

Fundamentals of DSP Chap. 1: Introduction

Fundamentals of DSP Chap. 1: Introduction Fundamentals of DSP Chap. 1: Introduction Chia-Wen Lin Dept. CSIE, National Chung Cheng Univ. Chiayi, Taiwan Office: 511 Phone: #33120 Digital Signal Processing Signal Processing is to study how to represent,

More information

Introduction to Digital Signal Processing (DSP)

Introduction to Digital Signal Processing (DSP) Introduction to Digital Processing (DSP) 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

More information

Digital Signal Processing (DSP)

Digital Signal Processing (DSP) Digital Signal Processing (DSP) Fall 2014 ECE. Dept., Isfahan University of Technology mm_naghsh@cc.iut.ac.ir Course materials: https://naghsh.iut.ac.ir 1 DIGITAL SIGNAL PROCESSING (DSP) Introduction 2

More information

Lab 2: A/D, D/A, and Sampling Theorem

Lab 2: A/D, D/A, and Sampling Theorem Lab 2: A/D, D/A, and Sampling Theorem Introduction The purpose of this lab is to explore the principles of analog-to-digital conversion, digital-to-analog conversion, and the sampling theorem. It will

More information

LabView Exercises: Part II

LabView Exercises: Part II Physics 3100 Electronics, Fall 2008, Digital Circuits 1 LabView Exercises: Part II The working VIs should be handed in to the TA at the end of the lab. Using LabView for Calculations and Simulations LabView

More information

Digital Effects Pedal Description Ross Jongeward 10 December 2014

Digital Effects Pedal Description Ross Jongeward 10 December 2014 Digital Effects Pedal Description Ross Jongeward 10 December 2014 1 Contents Section Number Title Page 1.1 Introduction..3 2.1 Project Electrical Specifications..3 2.1.1 Project Specifications...3 2.2.1

More information

Data Converter Overview: DACs and ADCs. Dr. Paul Hasler and Dr. Philip Allen

Data Converter Overview: DACs and ADCs. Dr. Paul Hasler and Dr. Philip Allen Data Converter Overview: DACs and ADCs Dr. Paul Hasler and Dr. Philip Allen The need for Data Converters ANALOG SIGNAL (Speech, Images, Sensors, Radar, etc.) PRE-PROCESSING (Filtering and analog to digital

More information

Lab P-6: Synthesis of Sinusoidal Signals A Music Illusion. A k cos.! k t C k / (1)

Lab P-6: Synthesis of Sinusoidal Signals A Music Illusion. A k cos.! k t C k / (1) DSP First, 2e Signal Processing First Lab P-6: Synthesis of Sinusoidal Signals A Music Illusion Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab. Verification:

More information

1 Overview. 1.1 Digital Images GEORGIA INSTITUTE OF TECHNOLOGY. ECE 2026 Summer 2016 Lab #6: Sampling: A/D and D/A & Aliasing

1 Overview. 1.1 Digital Images GEORGIA INSTITUTE OF TECHNOLOGY. ECE 2026 Summer 2016 Lab #6: Sampling: A/D and D/A & Aliasing GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING ECE 2026 Summer 2016 Lab #6: Sampling: A/D and D/A & Aliasing Date: 30 June 2016 Pre-Lab: You should read the Pre-Lab section

More information

Design and VLSI Implementation of Oversampling Sigma Delta Digital to Analog Convertor Used For Hearing Aid Application

Design and VLSI Implementation of Oversampling Sigma Delta Digital to Analog Convertor Used For Hearing Aid Application Page48 Design and VLSI Implementation of Oversampling Sigma Delta Digital to Analog Convertor Used For Hearing Aid Application ABSTRACT: Anusheya M* & Selvi S** *PG scholar, Department of Electronics and

More information

Digital Fundamentals. Introduction to Digital Signal Processing

Digital Fundamentals. Introduction to Digital Signal Processing Digital Fundamentals Introduction to Digital Signal Processing 1 Objectives List the essential elements in a digital signal processing system Explain how analog signals are converted to digital form Discuss

More information

1 Overview. 1.1 Digital Images GEORGIA INSTITUTE OF TECHNOLOGY. ECE 2026 Summer 2018 Lab #5: Sampling: A/D and D/A & Aliasing

1 Overview. 1.1 Digital Images GEORGIA INSTITUTE OF TECHNOLOGY. ECE 2026 Summer 2018 Lab #5: Sampling: A/D and D/A & Aliasing GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING ECE 2026 Summer 2018 Lab #5: Sampling: A/D and D/A & Aliasing Date: 21 June 2018 Pre-Lab: You should read the Pre-Lab section

More information

Course Web site:

Course Web site: The University of Texas at Austin Spring 2018 EE 445S Real- Time Digital Signal Processing Laboratory Prof. Evans Solutions for Homework #1 on Sinusoids, Transforms and Transfer Functions 1. Transfer Functions.

More information

Laboratory 5: DSP - Digital Signal Processing

Laboratory 5: DSP - Digital Signal Processing Laboratory 5: DSP - Digital Signal Processing OBJECTIVES - Familiarize the students with Digital Signal Processing using software tools on the treatment of audio signals. - To study the time domain and

More information

NanoGiant Oscilloscope/Function-Generator Program. Getting Started

NanoGiant Oscilloscope/Function-Generator Program. Getting Started Getting Started Page 1 of 17 NanoGiant Oscilloscope/Function-Generator Program Getting Started This NanoGiant Oscilloscope program gives you a small impression of the capabilities of the NanoGiant multi-purpose

More information

Experiment 9 Analog/Digital Conversion

Experiment 9 Analog/Digital Conversion Experiment 9 Analog/Digital Conversion Introduction Most digital signal processing systems are interfaced to the analog world through analogto-digital converters (A/D) and digital-to-analog converters

More information

Laboratory Assignment 3. Digital Music Synthesis: Beethoven s Fifth Symphony Using MATLAB

Laboratory Assignment 3. Digital Music Synthesis: Beethoven s Fifth Symphony Using MATLAB Laboratory Assignment 3 Digital Music Synthesis: Beethoven s Fifth Symphony Using MATLAB PURPOSE In this laboratory assignment, you will use MATLAB to synthesize the audio tones that make up a well-known

More information

-SQA-SCOTTISH QUALIFICATIONS AUTHORITY HIGHER NATIONAL UNIT SPECIFICATION GENERAL INFORMATION

-SQA-SCOTTISH QUALIFICATIONS AUTHORITY HIGHER NATIONAL UNIT SPECIFICATION GENERAL INFORMATION -SQA-SCOTTISH QUALIFICATIONS AUTHORITY HIGHER NATIONAL UNIT SPECIFICATION GENERAL INFORMATION -Unit Number- 2451657 -Superclass- -Title- XL D/A AND A/D CONVERTERS -----------------------------------------

More information

Lab 5 Linear Predictive Coding

Lab 5 Linear Predictive Coding Lab 5 Linear Predictive Coding 1 of 1 Idea When plain speech audio is recorded and needs to be transmitted over a channel with limited bandwidth it is often necessary to either compress or encode the audio

More information

Voice Controlled Car System

Voice Controlled Car System Voice Controlled Car System 6.111 Project Proposal Ekin Karasan & Driss Hafdi November 3, 2016 1. Overview Voice controlled car systems have been very important in providing the ability to drivers to adjust

More information

Introduction to Signal Processing D R. T A R E K T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y

Introduction to Signal Processing D R. T A R E K T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y Introduction to Signal Processing D R. T A R E K T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y 2 0 1 4 What is a Signal? A physical quantity that varies with time, frequency, space, or any

More information

Digital Signal Processing Lecture One Introduction to Digital Signal Processing Third Stage Prepared by: Marwah Kareem

Digital Signal Processing Lecture One Introduction to Digital Signal Processing Third Stage Prepared by: Marwah Kareem Lecture One Introduction to Digital Signal Processing Third Stage Prepared by: Marwah Kareem Digital Signal Processing Digital signal processing (DSP) technology and its advancements have dramatically

More information

Department of Communication Engineering Digital Communication Systems Lab CME 313-Lab

Department of Communication Engineering Digital Communication Systems Lab CME 313-Lab German Jordanian University Department of Communication Engineering Digital Communication Systems Lab CME 313-Lab Experiment 3 Pulse Code Modulation Eng. Anas Alashqar Dr. Ala' Khalifeh 1 Experiment 2Experiment

More information

Crash Course in Digital Signal Processing

Crash Course in Digital Signal Processing Crash Course in Digital Signal Processing Signals and Systems Conversion Digital Signals and Their Spectra Digital Filtering Speech, Music, Images and More DSP-G 1.1 Signals and Systems Signals Something

More information

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4 PCM ENCODING PREPARATION... 2 PCM... 2 PCM encoding... 2 the PCM ENCODER module... 4 front panel features... 4 the TIMS PCM time frame... 5 pre-calculations... 5 EXPERIMENT... 5 patching up... 6 quantizing

More information

AN INTEGRATED MATLAB SUITE FOR INTRODUCTORY DSP EDUCATION. Richard Radke and Sanjeev Kulkarni

AN INTEGRATED MATLAB SUITE FOR INTRODUCTORY DSP EDUCATION. Richard Radke and Sanjeev Kulkarni SPE Workshop October 15 18, 2000 AN INTEGRATED MATLAB SUITE FOR INTRODUCTORY DSP EDUCATION Richard Radke and Sanjeev Kulkarni Department of Electrical Engineering Princeton University Princeton, NJ 08540

More information

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1 Interfacing Analog to Digital Data Converters A/D D/A Converter 1 In most of the cases, the PPI 8255 is used for interfacing the analog to digital converters with microprocessor. The analog to digital

More information

Lesson 2.2: Digitizing and Packetizing Voice. Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations

Lesson 2.2: Digitizing and Packetizing Voice. Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations Lesson 2.2: Digitizing and Packetizing Voice Objectives Describe the process of analog to digital conversion. Describe the

More information

Figure 1: Feature Vector Sequence Generator block diagram.

Figure 1: Feature Vector Sequence Generator block diagram. 1 Introduction Figure 1: Feature Vector Sequence Generator block diagram. We propose designing a simple isolated word speech recognition system in Verilog. Our design is naturally divided into two modules.

More information

OCTAVE C 3 D 3 E 3 F 3 G 3 A 3 B 3 C 4 D 4 E 4 F 4 G 4 A 4 B 4 C 5 D 5 E 5 F 5 G 5 A 5 B 5. Middle-C A-440

OCTAVE C 3 D 3 E 3 F 3 G 3 A 3 B 3 C 4 D 4 E 4 F 4 G 4 A 4 B 4 C 5 D 5 E 5 F 5 G 5 A 5 B 5. Middle-C A-440 DSP First Laboratory Exercise # Synthesis of Sinusoidal Signals This lab includes a project on music synthesis with sinusoids. One of several candidate songs can be selected when doing the synthesis program.

More information

ECE 5765 Modern Communication Fall 2005, UMD Experiment 10: PRBS Messages, Eye Patterns & Noise Simulation using PRBS

ECE 5765 Modern Communication Fall 2005, UMD Experiment 10: PRBS Messages, Eye Patterns & Noise Simulation using PRBS ECE 5765 Modern Communication Fall 2005, UMD Experiment 10: PRBS Messages, Eye Patterns & Noise Simulation using PRBS modules basic: SEQUENCE GENERATOR, TUNEABLE LPF, ADDER, BUFFER AMPLIFIER extra basic:

More information

Spectrum Analyser Basics

Spectrum Analyser Basics Hands-On Learning Spectrum Analyser Basics Peter D. Hiscocks Syscomp Electronic Design Limited Email: phiscock@ee.ryerson.ca June 28, 2014 Introduction Figure 1: GUI Startup Screen In a previous exercise,

More information

ECE 2274 Pre-Lab for Experiment Timer Chip

ECE 2274 Pre-Lab for Experiment Timer Chip ECE 2274 Pre-Lab for Experiment 6 555 Timer Chip Introduction to the 555 Timer The 555 IC is a popular chip for acting as multivibrators. Go to the web to obtain a data sheet to be turn-in with the pre-lab.

More information

Digital Logic. ECE 206, Fall 2001: Lab 1. Learning Objectives. The Logic Simulator

Digital Logic. ECE 206, Fall 2001: Lab 1. Learning Objectives. The Logic Simulator Learning Objectives ECE 206, : Lab 1 Digital Logic This lab will give you practice in building and analyzing digital logic circuits. You will use a logic simulator to implement circuits and see how they

More information

1.1 Digital Signal Processing Hands-on Lab Courses

1.1 Digital Signal Processing Hands-on Lab Courses 1. Introduction The field of digital signal processing (DSP) has experienced a considerable growth in the last two decades primarily due to the availability and advancements in digital signal processors

More information

Towards More Efficient DSP Implementations: An Analysis into the Sources of Error in DSP Design

Towards More Efficient DSP Implementations: An Analysis into the Sources of Error in DSP Design Towards More Efficient DSP Implementations: An Analysis into the Sources of Error in DSP Design Tinotenda Zwavashe 1, Rudo Duri 2, Mainford Mutandavari 3 M Tech Student, Department of ECE, Jawaharlal Nehru

More information

Introduction To LabVIEW and the DSP Board

Introduction To LabVIEW and the DSP Board EE-289, DIGITAL SIGNAL PROCESSING LAB November 2005 Introduction To LabVIEW and the DSP Board 1 Overview The purpose of this lab is to familiarize you with the DSP development system by looking at sampling,

More information

Reconfigurable FPGA Implementation of FIR Filter using Modified DA Method

Reconfigurable FPGA Implementation of FIR Filter using Modified DA Method Reconfigurable FPGA Implementation of FIR Filter using Modified DA Method M. Backia Lakshmi 1, D. Sellathambi 2 1 PG Student, Department of Electronics and Communication Engineering, Parisutham Institute

More information

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK Professor Laurence S. Dooley School of Computing and Communications Milton Keynes, UK The Song of the Talking Wire 1904 Henry Farny painting Communications It s an analogue world Our world is continuous

More information

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition INTRODUCTION Many sensors produce continuous voltage signals. In this lab, you will learn about some common methods

More information

International Journal of Engineering Research-Online A Peer Reviewed International Journal

International Journal of Engineering Research-Online A Peer Reviewed International Journal RESEARCH ARTICLE ISSN: 2321-7758 VLSI IMPLEMENTATION OF SERIES INTEGRATOR COMPOSITE FILTERS FOR SIGNAL PROCESSING MURALI KRISHNA BATHULA Research scholar, ECE Department, UCEK, JNTU Kakinada ABSTRACT The

More information

Lab #6: Combinational Circuits Design

Lab #6: Combinational Circuits Design Lab #6: Combinational Circuits Design PURPOSE: The purpose of this laboratory assignment is to investigate the design of combinational circuits using SSI circuits. The combinational circuits being implemented

More information

INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR NPTEL ONLINE CERTIFICATION COURSE. On Industrial Automation and Control

INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR NPTEL ONLINE CERTIFICATION COURSE. On Industrial Automation and Control INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR NPTEL ONLINE CERTIFICATION COURSE On Industrial Automation and Control By Prof. S. Mukhopadhyay Department of Electrical Engineering IIT Kharagpur Topic Lecture

More information

ON THE INTERPOLATION OF ULTRASONIC GUIDED WAVE SIGNALS

ON THE INTERPOLATION OF ULTRASONIC GUIDED WAVE SIGNALS ON THE INTERPOLATION OF ULTRASONIC GUIDED WAVE SIGNALS Jennifer E. Michaels 1, Ren-Jean Liou 2, Jason P. Zutty 1, and Thomas E. Michaels 1 1 School of Electrical & Computer Engineering, Georgia Institute

More information

Converters: Analogue to Digital

Converters: Analogue to Digital Converters: Analogue to Digital Presented by: Dr. Walid Ghoneim References: Process Control Instrumentation Technology, Curtis Johnson Op Amps Design, Operation and Troubleshooting. David Terrell 1 - ADC

More information

Techniques for Extending Real-Time Oscilloscope Bandwidth

Techniques for Extending Real-Time Oscilloscope Bandwidth Techniques for Extending Real-Time Oscilloscope Bandwidth Over the past decade, data communication rates have increased by a factor well over 10X. Data rates that were once 1Gb/sec and below are now routinely

More information

Rapid prototyping of of DSP algorithms. real-time. Mattias Arlbrant. Grupphandledare, ANC

Rapid prototyping of of DSP algorithms. real-time. Mattias Arlbrant. Grupphandledare, ANC Rapid prototyping of of DSP algorithms real-time Mattias Arlbrant Grupphandledare, ANC Agenda 1. 1. Our Our DSP DSP system system 2. 2. Creating Creating a Simulink Simulink model model 3. 3. Running Running

More information

Memory efficient Distributed architecture LUT Design using Unified Architecture

Memory efficient Distributed architecture LUT Design using Unified Architecture Research Article Memory efficient Distributed architecture LUT Design using Unified Architecture Authors: 1 S.M.L.V.K. Durga, 2 N.S. Govind. Address for Correspondence: 1 M.Tech II Year, ECE Dept., ASR

More information

Getting Started with the LabVIEW Sound and Vibration Toolkit

Getting Started with the LabVIEW Sound and Vibration Toolkit 1 Getting Started with the LabVIEW Sound and Vibration Toolkit This tutorial is designed to introduce you to some of the sound and vibration analysis capabilities in the industry-leading software tool

More information

S I N E V I B E S FRACTION AUDIO SLICING WORKSTATION

S I N E V I B E S FRACTION AUDIO SLICING WORKSTATION S I N E V I B E S FRACTION AUDIO SLICING WORKSTATION INTRODUCTION Fraction is a plugin for deep on-the-fly remixing and mangling of sound. It features 8x independent slicers which record and repeat short

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion What the heck is analog to digital conversion? Why do we care? Analog to Digital Conversion What the heck is analog to digital conversion? Why do we care? A means to convert

More information

Keywords Xilinx ISE, LUT, FIR System, SDR, Spectrum- Sensing, FPGA, Memory- optimization, A-OMS LUT.

Keywords Xilinx ISE, LUT, FIR System, SDR, Spectrum- Sensing, FPGA, Memory- optimization, A-OMS LUT. An Advanced and Area Optimized L.U.T Design using A.P.C. and O.M.S K.Sreelakshmi, A.Srinivasa Rao Department of Electronics and Communication Engineering Nimra College of Engineering and Technology Krishna

More information

SREV1 Sampling Guide. An Introduction to Impulse-response Sampling with the SREV1 Sampling Reverberator

SREV1 Sampling Guide. An Introduction to Impulse-response Sampling with the SREV1 Sampling Reverberator An Introduction to Impulse-response Sampling with the SREV Sampling Reverberator Contents Introduction.............................. 2 What is Sound Field Sampling?.....................................

More information

Analyzing and Saving a Signal

Analyzing and Saving a Signal Analyzing and Saving a Signal Approximate Time You can complete this exercise in approximately 45 minutes. Background LabVIEW includes a set of Express VIs that help you analyze signals. This chapter teaches

More information

Chapter 2 Signals. 2.1 Signals in the Wild One-Dimensional Continuous Time Signals

Chapter 2 Signals. 2.1 Signals in the Wild One-Dimensional Continuous Time Signals Chapter 2 Signals Lasciate ogni speranza, voi ch entrate. Dante Alighieri, The Divine Comedy We all send and receive signals. A letter or a phone call, a raised hand, a hunger cry signals are our information

More information

Introduction to the oscilloscope and digital data acquisition

Introduction to the oscilloscope and digital data acquisition Introduction to the oscilloscope and digital data acquisition Eric D. Black California Institute of Technology v1.1 There are a certain number of essential tools that are so widely used that every aspiring

More information

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing Universal Journal of Electrical and Electronic Engineering 4(2): 67-72, 2016 DOI: 10.13189/ujeee.2016.040204 http://www.hrpub.org Investigation of Digital Signal Processing of High-speed DACs Signals for

More information

Lab #10 Hexadecimal-to-Seven-Segment Decoder, 4-bit Adder-Subtractor and Shift Register. Fall 2017

Lab #10 Hexadecimal-to-Seven-Segment Decoder, 4-bit Adder-Subtractor and Shift Register. Fall 2017 University of Texas at El Paso Electrical and Computer Engineering Department EE 2169 Laboratory for Digital Systems Design I Lab #10 Hexadecimal-to-Seven-Segment Decoder, 4-bit Adder-Subtractor and Shift

More information

Problem Set #1 Problem Set Due: Friday, April 12

Problem Set #1 Problem Set Due: Friday, April 12 1 EE102B Pring 2018-19 Signal Processing and Linear Systems II Pauly Problem Set #1 Problem Set Due: Friday, April 12 In the following problems, assume that δ T (t) = δ(t nt ) n = is an infinite array

More information

Multirate Signal Processing: Graphical Representation & Comparison of Decimation & Interpolation Identities using MATLAB

Multirate Signal Processing: Graphical Representation & Comparison of Decimation & Interpolation Identities using MATLAB International Journal of Electronics and Communication Engineering. ISSN 0974-2166 Volume 4, Number 4 (2011), pp. 443-452 International Research Publication House http://www.irphouse.com Multirate Signal

More information

Session 1 Introduction to Data Acquisition and Real-Time Control

Session 1 Introduction to Data Acquisition and Real-Time Control EE-371 CONTROL SYSTEMS LABORATORY Session 1 Introduction to Data Acquisition and Real-Time Control Purpose The objectives of this session are To gain familiarity with the MultiQ3 board and WinCon software.

More information

Sampling. Sampling. CS 450: Introduction to Digital Signal and Image Processing. Bryan Morse BYU Computer Science

Sampling. Sampling. CS 450: Introduction to Digital Signal and Image Processing. Bryan Morse BYU Computer Science Sampling CS 450: Introduction to Digital Signal and Image Processing Bryan Morse BYU Computer Science Introduction Sampling f(t) Continuous t f(t) Discrete t Introduction Sampling Sampling a continuous

More information

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer

ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer ECE 4220 Real Time Embedded Systems Final Project Spectrum Analyzer by: Matt Mazzola 12222670 Abstract The design of a spectrum analyzer on an embedded device is presented. The device achieves minimum

More information

Design and Implementation of Partial Reconfigurable Fir Filter Using Distributed Arithmetic Architecture

Design and Implementation of Partial Reconfigurable Fir Filter Using Distributed Arithmetic Architecture Design and Implementation of Partial Reconfigurable Fir Filter Using Distributed Arithmetic Architecture Vinaykumar Bagali 1, Deepika S Karishankari 2 1 Asst Prof, Electrical and Electronics Dept, BLDEA

More information

DHANALAKSHMI COLLEGE OF ENGINEERING Tambaram, Chennai

DHANALAKSHMI COLLEGE OF ENGINEERING Tambaram, Chennai DHANALAKSHMI COLLEGE OF ENGINEERING Tambaram, Chennai 601 301 DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6511 DIGITAL SIGNAL PROCESSING LABORATORY V SEMESTER - R 2013 LABORATORY MANUAL Name

More information

Muscle Sensor KI 2 Instructions

Muscle Sensor KI 2 Instructions Muscle Sensor KI 2 Instructions Overview This KI pre-work will involve two sections. Section A covers data collection and section B has the specific problems to solve. For the problems section, only answer

More information

SCIENCE & TECHNOLOGY

SCIENCE & TECHNOLOGY Pertanika J. Sci. & Technol. 25 (S): 109-118 (2017) SCIENCE & TECHNOLOGY Journal homepage: http://www.pertanika.upm.edu.my/ A Stand-alone Application Software of Graph Plot for Digital Signal Processing

More information

with - < n < +. There are two types of approximations associated with the sampling process. finite precision of the ADC finite sampling frequency.

with - < n < +. There are two types of approximations associated with the sampling process. finite precision of the ADC finite sampling frequency. EE345M/EE380L.6 Lecture 0. Lecture 0 objectives are to: Introduce basic principles involved in digital filtering, Define the and use it to analyze filters, Develop digital filter implementations "hello",

More information

Experiment 13 Sampling and reconstruction

Experiment 13 Sampling and reconstruction Experiment 13 Sampling and reconstruction Preliminary discussion So far, the experiments in this manual have concentrated on communications systems that transmit analog signals. However, digital transmission

More information

Performance Analysis and Behaviour of Cascaded Integrator Comb Filters

Performance Analysis and Behaviour of Cascaded Integrator Comb Filters Performance Analysis and Behaviour of Cascaded Integrator Comb Filters 1Sweta Soni, 2Zoonubiya Ali PG Student/M.Tech VLSI and Embedded System Design, Professor/Department of ECE DIMAT Raipur (C.G) Abstract

More information

Chapter 1. Introduction to Digital Signal Processing

Chapter 1. Introduction to Digital Signal Processing Chapter 1 Introduction to Digital Signal Processing 1. Introduction Signal processing is a discipline concerned with the acquisition, representation, manipulation, and transformation of signals required

More information

Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series

Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series Introduction System designers and device manufacturers so long have been using one set of instruments for creating digitally modulated

More information

NON-UNIFORM KERNEL SAMPLING IN AUDIO SIGNAL RESAMPLER

NON-UNIFORM KERNEL SAMPLING IN AUDIO SIGNAL RESAMPLER NON-UNIFORM KERNEL SAMPLING IN AUDIO SIGNAL RESAMPLER Grzegorz Kraszewski Białystok Technical University, Electrical Engineering Faculty, ul. Wiejska 45D, 15-351 Białystok, Poland, e-mail: krashan@teleinfo.pb.bialystok.pl

More information

Audio Signal Processing Studio Remote Lab for Signals and Systems Class

Audio Signal Processing Studio Remote Lab for Signals and Systems Class Audio Signal Processing Studio Remote Lab for Signals and Systems Class Hai Ho and Florian Misoc Kennesaw State University, Southern Polytechnic College of Engineering and Engineering Technology Abstract

More information

Digitization: Sampling & Quantization

Digitization: Sampling & Quantization Digitization: Sampling & Quantization Mechanical Engineer Modeling & Simulation Electro- Mechanics Electrical- Electronics Engineer Sensors Actuators Computer Systems Engineer Embedded Control Controls

More information

High Performance Real-Time Software Asynchronous Sample Rate Converter Kernel

High Performance Real-Time Software Asynchronous Sample Rate Converter Kernel Audio Engineering Society Convention Paper Presented at the 120th Convention 2006 May 20 23 Paris, France This convention paper has been reproduced from the author's advance manuscript, without editing,

More information

Virtual instruments and introduction to LabView

Virtual instruments and introduction to LabView Introduction Virtual instruments and introduction to LabView (BME-MIT, updated: 26/08/2014 Tamás Krébesz krebesz@mit.bme.hu) The purpose of the measurement is to present and apply the concept of virtual

More information

Exercise 2: D-Type Flip-Flop

Exercise 2: D-Type Flip-Flop Flip-Flops Digital Logic Fundamentals Exercise 2: D-Type Flip-Flop EXERCISE OBJECTIVE When you have completed this exercise, you will be able to determine the characteristics of a D-type results with an

More information

The following exercises illustrate the execution of collaborative simulations in J-DSP. The exercises namely a

The following exercises illustrate the execution of collaborative simulations in J-DSP. The exercises namely a Exercises: The following exercises illustrate the execution of collaborative simulations in J-DSP. The exercises namely a Pole-zero cancellation simulation and a Peak-picking analysis and synthesis simulation

More information

Embedded Signal Processing with the Micro Signal Architecture

Embedded Signal Processing with the Micro Signal Architecture LabVIEW Experiments and Appendix Accompanying Embedded Signal Processing with the Micro Signal Architecture By Dr. Woon-Seng S. Gan, Dr. Sen M. Kuo 2006 John Wiley and Sons, Inc. National Instruments Contributors

More information

Introduction to Data Conversion and Processing

Introduction to Data Conversion and Processing Introduction to Data Conversion and Processing The proliferation of digital computing and signal processing in electronic systems is often described as "the world is becoming more digital every day." Compared

More information

ni.com Digital Signal Processing for Every Application

ni.com Digital Signal Processing for Every Application Digital Signal Processing for Every Application Digital Signal Processing is Everywhere High-Volume Image Processing Production Test Structural Sound Health and Vibration Monitoring RF WiMAX, and Microwave

More information

California State University, Bakersfield Computer & Electrical Engineering & Computer Science ECE 3220: Digital Design with VHDL Laboratory 7

California State University, Bakersfield Computer & Electrical Engineering & Computer Science ECE 3220: Digital Design with VHDL Laboratory 7 California State University, Bakersfield Computer & Electrical Engineering & Computer Science ECE 322: Digital Design with VHDL Laboratory 7 Rational: The purpose of this lab is to become familiar in using

More information

B I O E N / Biological Signals & Data Acquisition

B I O E N / Biological Signals & Data Acquisition B I O E N 4 6 8 / 5 6 8 Lectures 1-2 Analog to Conversion Binary numbers Biological Signals & Data Acquisition In order to extract the information that may be crucial to understand a particular biological

More information