Experiment # 2. Pulse Code Modulation: Uniform and Non-Uniform

Size: px
Start display at page:

Download "Experiment # 2. Pulse Code Modulation: Uniform and Non-Uniform"

Transcription

1 ECE417 c 2017 Bruno Korst-Fagundes CommLab Experiment # 2 Pulse Code Modulation: Uniform and Non-Uniform Name: Experiment Date: Student No.: Day of the week: Time: Name: Student No.: Grade: / 10 E000 Input Signal Mask Output x 10 3 x 10 3 µ 1 [ln(1+mu)]^ 1 ABS X + ln X sign Purpose The purpose of this experiment is to introduce uniform and non-uniform Pulse Code Modulation (PCM). Uniform PCM will be explored through probing quantization, and Non-uniform PCM will be introduced with the implementation of a µ-law compressor. PCM is a technique widely used in communication systems, in particular in the conversion of analog signals into their digital representation for processing and transmission. This experiment will be divided in four parts: First, you will explore Uniform PCM by modifying the number of bits using to quantize each 1

2 sample of a signal. You will use different number of bits per sample and observe the relation between number of bits per sample and quantization noise; You will then simulate a µ-law compressor and modify its parameters to verify the outcomes; Finally, you will run the µ-law compressor on the DSP platform to observe the results on your oscilloscope. 2 Background Reading and Preparation It is fair to say that every textbook in digital signal processing starts by describing how an analog signal is converted into a digital one prior to being processed. Sampling and quantization are described in detail in many references. Therefore, rather than looking for a single reference for background reading, you can refer to any of the textbooks cited in the bibliography presented at the end of this outline. Keep in mind, however, that these should be seen as introductory reading, since they only touch on PCM as applied to A/D conversion. Some references [1], [2] and [3], look at PCM from the point of view of communication systems, and go beyond A/D conversion. You should review your notes on sampling and quantization, or on analog-to-digital conversion. With the µ-law PCM scheme, the signal will pass through a compressor, which will apply a logarithmic mapping to the incoming signal prior to quantization. The quantization of the compressed incoming signal is then done with a smaller number of bits per sample. The compression method you will utilize in this experiment is defined in the ITU/T G.711 standard. The outcome of µ-law and A-Law compressors is very similar, and both can be implemented in a table look-up algorithm in which the compression curve is stored in an array and the output is generated by mapping the normalized input onto that array. Non-uniform quantization allows for the signal-to-noise ratio to be kept through the dynamic range of the signal. The louder parts of the signal (which are statistically less prevalent in telephony) are quantized with a smaller number of bits than they would with a uniform quantizer, resulting in a lower signal-to-noise ratio. That is, by applying compression prior to quantization, the signal that extends beyond a certain level will likely utilize only a few more bits per sample (the most significant ones) than would a softer signal. In turn, the softer signal will present a higher signal-to-noise ratio than the louder signals, keeping the ratio constant through the dynamic range. Subjectively, compression on a voice signal would be perceived by a loss of quality in the signal for loud talkers. At the receiving end, the compressed signal is passed through an expander and the original signal is recovered. It is possible, for instance, to achieve a compression from 14 bits to 8 bits on a voice signal (a compression ratio of 1.75:1) without much computational complexity. Before coming to the lab, complete the lab preparation and hand it to the T.A.. 2

3 3 Experiment 3.1 Uniform Quantization This section is divided into three main parts: the simulation of a system presenting aliasing; the modification of sampling rates to verify the occurence of aliasing on real signals; and the verification of the relation between signal integrity and word length in the quantization process. Differently that the previous experiments where you verified the concepts by designing a whole system (such as an FM modulator), this section will touch individually on the two main parts of PCM, namely: sampling and quantization. The reason for taking this approach is primarily due to the fact that the target hardware already provides a CODEC which utilizes PCM to convert the signal from analog to digital. In this section you will modify the data generated by the existing CODEC and observe the consequences of the modifications on the output signal Fewer Bits, More Noise You should expect that as you reduce the number of bits assigned per sample of the incoming analog signal, you should have a gradually less accurate digital representation of your analog signal. Consider the extreme case: you have one bit to represent samples of a sinusoid. Of course, with only two values possible, one of them would be assigned to every sample in the positive cycle of the sinusoid and the other would be assigned to every sample in the negative cycle. The result would be a square wave with the same period as the original sinusoid. Now consider the frequency domain view of this new signal sampled with only one bit per sample. You used to have one component (ideally an impulse) in the frequency domain for the sinusoid, and after sampling it you have that same component and all of its odd harmonics. This is not at all a faithful representation of the analog signal. As you increase the number of bits, you decrease the amount of quantization noise, achieving a gradually better representation of your signal. The program to be run on the DSP is given to you. First, open Code Composer Studio and open the project named ECE316 04b quantization. You will run a version of the last experiment in ECE316. Look briefly at the code in quantization masking.c. You are to change the code to modify the number of bits used for each sample of the input signal. The CODEC provides 16 bits for each sample on each channel. You will force the samples for one of the channels to be quantized by using only a reduced number of bits. 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. So, should you modify the MSBs or the LSBs to accomplish this? The operation you will utilize to modify the word length of the incoming signal is known as masking, and you likely have already made use of it in a Microprocessors course. It consists of performing a logical AND operation between the data word passed on to the DAC and a mask that you select. Looking at your quantization.c program, you will notice that there are several masking options for the y variable. Use only one mask at a time, and comment out the others. You may change the mask to answer the questions below. Do not forget to recompile and run the program every time you make a change. 3

4 Use an input signal of around 1.8 V pp and 100Hz. You can choose to use a sine wave or a ramp. The reason you are using 1.8 V pp is that you must utilize the full range of the CODEC. If you do not have the full range of the signal going into the CODEC, you will not get the right results. You are to implement a 3-bit quantizer using an appropriate mask. What should the mask be? How many quantization levels are there? Explain what part of the sample 16-bit field the mask is selecting. (1pt) Sketch the original signal, the quantized signal, and the quantization error (noise) by using the Subtraction function in Math mode on the oscilloscope. The quantization error is the difference between the original signal and its quantized version. Using cursors, measure the error (in Volts). Now add one bit to the quantizer. Compile, run and measure the error again. What is the difference in db? (use a 500Hz Ramp as your input signal)(2pts) Show your quantization error output on the oscilloscope to the TA, and have the TA sign here. (1pt) 3.2 Non-Uniform Quantization In this part, you will simulate first and then run a µ-law compressor. You will be required to understand the implementation of the compressor and relate it back to the theory, and to verify the characteristic curves for different parameter values. This is a fancy way of saying: vary the level at the input, read the level at the output and plot points for every level. 4

5 3.2.1 Simulation of a µ-law Compressor It is assumed that you are familiar with Simulink. If you can t find the simulation blocks you are looking for, you can run a search within Simulink. Remember that you will always use discretetime systems in the ECE417 experiments, and the sampling time of your blocks must be set to 1/ This is so that the system you simulate is representative of what you will implement on the DSP target. Not every block requires that you set a sampling time. Those which do require, must be set to 1/ Your first system will be made of a DSP-Sine wave generator, a ramp generator, a switch, your compressor of choice found in the ECE417 blockset and two time-based scopes. You can use the template file exp02 sim.mdl provided on the lab web page. It will look like figure 1 below. Figure 1: Non-Uniform PCM - model for simulation Use scopes to view the output of the generators and to view the output of the compressor. Your sine wave and ramp signals should be set to 1000Hz, amplitude of 1 and sampling frequency of 48KHz (this means sampling time of 1/48000 in the proper field of the sine wave generator block). Run the system and configure the time-based scopes to provide you with the best reading. You should observe the scopes looking like the Figure 2 (notice the maximum level of 1). (a) µ-law Ramp (b) µ-law Sine Figure 2: Scope Displays After Compression: Ramp and Sine 5

6 Since you are simulating a µ-law compressor, use first a µ value of 255. As you know from your preparation, this is a standard value and is equivalent to an A-Law value of They are determined through subjective voice tests (Mean Opinion Square). If you right-click on the Mu-Law Compressor block, and select look under mask, a window will open with the block diagram presented in Figure 3 (comments were added for clarity). Figure 3: µ-law Compressor - modified from Simulink Library After you got these models going, answer the question below: Now you will draw the characteristic curve for your compressor. You will use four values for the constant, vary the input signal amplitude from 0.01 to 1.0 and measure the output (pick five points and draw the graph with input amplitude on the x axis, and output amplitude on the y axis). Use a sine as an input. Use the values 0, 10, 255 and 1000 for µ. Draw the graph for every value of the constant (that is µ) and comment on your results.(3pts) 6

7 You could, alternatively, use an XY Graph found in the main blookset in Simulink to view the curves. Your simulation model would then look like the picture below. Since you are interested in input values from 0 to 1, you should set the axis of your XY Graph to those values by right-clicking on the block. Figure 4: Alternative simulation with XY Graph Show the XY scope running and explain to the TA what is going on, so that the TA can sign the box. (1pt) 3.3 Implementing and Evaluating A-Law Compressors In this part of the experiment, you will run your compressor on a DSP platform. Keep in mind that this compression is supposed to be applied prior to assigning bits to the levels (remember uniform PCM above?), so that the most compressed (higher) signal levels will have less room to manoueuvre, as you have just observed in the simulation. At the receiving end, the signal will be expanded back to its original shape. Systems which implement compression and expansion are known as companders. Here you will be given the programs to be loaded and run on the DSP platform. If you would like to design your own compander some other time, refer to [4]. The procedure to run the program is as follows: Open Code Composer Studio (CCS). Select the project named ECE417 Exp02 A Law (this really means: click on it), from the CCS project tree. With the project selected, click on the green bug at the top of the CCS menu, so that the project compiles; If there are no errors (there shouldn t be any), run the project by clicking on the sideways green triangle at the top menu. If there are any errors, resolve them (!); 7

8 With the program running, use as input a 500Hz sine wave, 1.7 V pp. If you go beyond 1.7 V pp you will observe a corruption on the signal. There is also a 180 degree phase shift on the output relative to the input, which can be corrected with a minus sign applied to one of the outputs. There are two output channels. Look at the code and you will see that for one channel, compression is applied to the input and the result is sent straight to the output, whereas for the other channel, compression and expansion are applied prior to the output. What you observe is, then, the full process in one of the channels. Compare the channel undergoing both compression and expansion with the input coming straight from the signal generator. Use a 500Hz sinusoid at 1.7 V pp at most. You should see no qualitative difference between the two except for a phase delay, due to the process of compressing and expanding. Try to explain how the process of compressing and expanding takes place. Show the running system to the TA, and have the TA sign the box. (1pt) 4 Accomplishments In this experiment, you acquired a better understanding of Pulse Code Modulation by further probing into uniform and non-uniform quantization. You verified the impact caused by the number of bits on quantization noise, and also verified the effect of compression and expansion on a signal. References [1] S. Haykin and M. Moher Introduction to Analog and Digital Communications, 2nd Ed. - Wiley, 2007 [2] B. P. Lathi, Modern Digital and Analog Communication Systems, 3rd Edition. New York: Oxford University Press, [3] S. Haykin Communication Systems, 4th Edition. Toronto: John Wiley & Sons, Inc., [4] P. M. Embree C Algorithms for Real-Time DSP, Prentice Hall,

9 Preparation - Uniform and Non-Uniform Quantization Name: Experiment Date: Student No.: Grade: / Sketch the process of sampling and quantization for a 1KHz sine wave sampled at 8KHz. You are to use a 3 bit quantizer and assume linear quantization. Use your illustration to explain quantization noise. (2pt) 2. Write the equations for µ-law and A-Law compression. What are the typical values for the µ parameter and the A parameter? (assume 8 bits)(2pt) 3. Based on your experience in Simulink, draw a block diagram to implement a µ-law OR an A-Law compressor.(2pt) 9

10 4. Explain how the use of non-uniform quantization causes the SNR to become almost independent of the input signal power for a large dynamic range.(2pt) 5. You have a speech signal and a sinusoidal signal. Based on your knowledge of their probability density function, explain on which of them it would be most appropriate to apply non-uniform quantization. (2pt) 10

Experiment # 2 Pulse Code Modulation: Uniform and Non-Uniform

Experiment # 2 Pulse Code Modulation: Uniform and Non-Uniform 10 8 6 4 2 0 2 4 6 8 3 2 1 0 1 2 3 2 3 4 5 6 7 8 9 10 3 2 1 0 1 2 3 4 1 2 3 4 5 6 7 8 9 1.5 1 0.5 0 0.5 1 ECE417 c 2015 Bruno Korst-Fagundes CommLab Experiment # 2 Pulse Code Modulation: Uniform and Non-Uniform

More information

Experiment 02: Amplitude Modulation

Experiment 02: Amplitude Modulation ECE316, Experiment 02, 2017 Communications Lab, University of Toronto Experiment 02: Amplitude Modulation Bruno Korst - bkf@comm.utoronto.ca Abstract In this second laboratory experiment, you will see

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

Experiment # 5 Baseband Pulse Transmission

Experiment # 5 Baseband Pulse Transmission ECE 417 c 2017 Bruno Korst CommLab Name: Experiment # 5 Baseband Pulse Transmission Experiment Date: Student No.: Day of the week: Time: Name: Student No.: Grade: / 10 CHANNEL BIT SOURCE EYE DIAGRAM TX

More information

Contents. Introduction 1 1 Suggested Reading 2 2 Equipment and Software Tools 2 3 Experiment 2

Contents. Introduction 1 1 Suggested Reading 2 2 Equipment and Software Tools 2 3 Experiment 2 ECE363, Experiment 02, 2018 Communications Lab, University of Toronto Experiment 02: Noise Bruno Korst - bkf@comm.utoronto.ca Abstract This experiment will introduce you to some of the characteristics

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

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

Introduction to Lab Instruments

Introduction to Lab Instruments ECE316, Experiment 00, 2017 Communications Lab, University of Toronto Introduction to Lab Instruments Bruno Korst - bkf@comm.utoronto.ca Abstract This experiment will review the use of three lab instruments

More information

DIGITAL COMMUNICATION. In this experiment you will integrate blocks representing communication system

DIGITAL COMMUNICATION. In this experiment you will integrate blocks representing communication system OBJECTIVES EXPERIMENT 7 DIGITAL COMMUNICATION In this experiment you will integrate blocks representing communication system elements into a larger framework that will serve as a model for digital communication

More information

Pulse Code Modulation (PCM)

Pulse Code Modulation (PCM) Project Title: e-laboratories for Physics and Engineering Education Tempus Project: contract # 517102-TEMPUS-1-2011-1-SE-TEMPUS-JPCR 1. Experiment Category: Electrical Engineering >> Communications 2.

More information

Lab 6: Building a Function Generator

Lab 6: Building a Function Generator ECE 212 Spring 2010 Circuit Analysis II Names: Lab 6: Building a Function Generator Objectives In this lab exercise you will build a function generator capable of generating square, triangle, and sine

More information

DIGITAL COMMUNICATION

DIGITAL COMMUNICATION DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL COMMUNICATION Spring 00 Yrd. Doç. Dr. Burak Kelleci OUTLINE Quantization Pulse-Code Modulation THE QUANTIZATION PROCESS A continuous signal has

More information

17. Delta Modulation

17. Delta Modulation 7. Delta Modulation Introduction So far, we have seen that the pulse-code-modulation (PCM) technique converts analogue signals to digital format for transmission. For speech signals of 3.2kHz bandwidth,

More information

Voice Transmission --Basic Concepts--

Voice Transmission --Basic Concepts-- Voice Transmission --Basic Concepts-- Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics: Amplitude Frequency Phase Telephone Handset (has 2-parts) 2 1. Transmitter

More information

Experiment 6: Multirate Signal Processing

Experiment 6: Multirate Signal Processing ECE431, Experiment 6, 2018 Communications Lab, University of Toronto Experiment 6: Multirate Signal Processing Bruno Korst - bkf@comm.utoronto.ca Abstract In this experiment, you will use decimation and

More information

Digital Communication Prof. Bikash Kumar Dey Department of Electrical Engineering Indian Institute of Technology, Bombay

Digital Communication Prof. Bikash Kumar Dey Department of Electrical Engineering Indian Institute of Technology, Bombay Digital Communication Prof. Bikash Kumar Dey Department of Electrical Engineering Indian Institute of Technology, Bombay Lecture - 03 Quantization, PCM and Delta Modulation Hello everyone, today we will

More information

THE SPEAKER. The decibel scale is related to the physical sound intensity measured in watts/cm 2 by the following equation:

THE SPEAKER. The decibel scale is related to the physical sound intensity measured in watts/cm 2 by the following equation: OBJECTIVES: THE SPEAKER 1) Know the definition of "decibel" as a measure of sound intensity or power level. ) Know the relationship between voltage and power level measured in decibels. 3) Illustrate how

More information

ECE 556 BASICS OF DIGITAL SPEECH PROCESSING. Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2

ECE 556 BASICS OF DIGITAL SPEECH PROCESSING. Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2 ECE 556 BASICS OF DIGITAL SPEECH PROCESSING Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2 Analog Sound to Digital Sound Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre

More information

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback PURPOSE This lab will introduce you to the laboratory equipment and the software that allows you to link your computer to the hardware.

More information

Pulse Code Modulation

Pulse Code Modulation Pulse Code Modulation EE 44 Spring Semester Lecture 9 Analog signal Pulse Amplitude Modulation Pulse Width Modulation Pulse Position Modulation Pulse Code Modulation (3-bit coding) 1 Advantages of Digital

More information

CHAPTER 4. PULSE MODULATION Part 2

CHAPTER 4. PULSE MODULATION Part 2 CHAPTER 4 PULSE MODULATION Part 2 Pulse Modulation Analog pulse modulation: Sampling, i.e., information is transmitted only at discrete time instants. e.g. PAM, PPM and PDM Digital pulse modulation: Sampling

More information

EEE 309 Communication Theory

EEE 309 Communication Theory EEE 309 Communication Theory Semester: January 2016 Dr. Md. Farhad Hossain Associate Professor Department of EEE, BUET Email: mfarhadhossain@eee.buet.ac.bd Office: ECE 331, ECE Building Part 05 Pulse Code

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

TCET3202 Analog and digital Communications II

TCET3202 Analog and digital Communications II NEW YORK CITY COLLEGE OF TECHNOLOGY The City University of New York DEPARTMENT: SUBJECT CODE AND TITLE: COURSE DESCRIPTION: REQUIRED COURSE Electrical and Telecommunications Engineering Technology TCET3202

More information

The Fundamentals of Mixed Signal Testing

The Fundamentals of Mixed Signal Testing The Fundamentals of Mixed Signal Testing Course Information The Fundamentals of Mixed Signal Testing course is designed to provide the foundation of knowledge that is required for testing modern mixed

More information

ECE159H1S University of Toronto 2014 EXPERIMENT #2 OP AMP CIRCUITS AND WAVEFORMS ECE159H1S

ECE159H1S University of Toronto 2014 EXPERIMENT #2 OP AMP CIRCUITS AND WAVEFORMS ECE159H1S ECE159H1S University of Toronto 2014 EXPERIMENT #2 OP AMP CIRCUITS AND WAVEFORMS ECE159H1S OBJECTIVES: To study the performance and limitations of basic op-amp circuits: the inverting and noninverting

More information

Pulse Code Modulation

Pulse Code Modulation Pulse Code Modulation Modulation is the process of varying one or more parameters of a carrier signal in accordance with the instantaneous values of the message signal. The message signal is the signal

More information

INTRODUCTION TO COMMUNICATION SYSTEMS LABORATORY IV. Binary Pulse Amplitude Modulation and Pulse Code Modulation

INTRODUCTION TO COMMUNICATION SYSTEMS LABORATORY IV. Binary Pulse Amplitude Modulation and Pulse Code Modulation INTRODUCTION TO COMMUNICATION SYSTEMS Introduction: LABORATORY IV Binary Pulse Amplitude Modulation and Pulse Code Modulation In this lab we will explore some of the elementary characteristics of binary

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

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

Lab Report #10 Alex Styborski, Daniel Telesman, and Josh Kauffman Group 12 Abstract

Lab Report #10 Alex Styborski, Daniel Telesman, and Josh Kauffman Group 12 Abstract Lab Report #10 Alex Styborski, Daniel Telesman, and Josh Kauffman Group 12 Abstract During lab 10, students carried out four different experiments, each one showing the spectrum of a different wave form.

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

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement Fong Mak, Ram Sundaram, Varun Santhaseelan, and Sunil Tandle Gannon University, mak001@gannon.edu,

More information

Digital Communication (650533) CH 3 Pulse Modulation

Digital Communication (650533) CH 3 Pulse Modulation Philadelphia University/Faculty of Engineering Communication and Electronics Engineering Digital Communication (650533) CH 3 Pulse Modulation Instructor: Eng. Nada Khatib Website: http://www.philadelphia.edu.jo/academics/nkhatib/

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

8A. ANALYSIS OF COMPLEX SOUNDS. Amplitude, loudness, and decibels

8A. ANALYSIS OF COMPLEX SOUNDS. Amplitude, loudness, and decibels 8A. ANALYSIS OF COMPLEX SOUNDS Amplitude, loudness, and decibels Last week we found that we could synthesize complex sounds with a particular frequency, f, by adding together sine waves from the harmonic

More information

ENSC327 Communication Systems Fall 2011 Assignment #1 Due Wednesday, Sept. 28, 4:00 pm

ENSC327 Communication Systems Fall 2011 Assignment #1 Due Wednesday, Sept. 28, 4:00 pm ENSC327 Communication Systems Fall 2011 Assignment #1 Due Wednesday, Sept. 28, 4:00 pm All problem numbers below refer to those in Haykin & Moher s book. 1. (FT) Problem 2.20. 2. (Convolution) Problem

More information

Lab 4: Using the CODEC

Lab 4: Using the CODEC Lab 4: Using the CODEC ECE 2060 Spring, 2016 Haocheng Zhu Gregory Ochs Monday 12:40 15:40 Date of Experiment: 03/28/16 Date of Submission: 04/08/16 Abstract This lab covers the use of the CODEC that is

More information

E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r

E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r IT IS PREFERED that students ANSWER THE QUESTION/S BEFORE

More information

2 AC and RMS. To pass this lab you must solve tasks 1-2. Tasks 3 and 4 are included in the grading of the course.

2 AC and RMS. To pass this lab you must solve tasks 1-2. Tasks 3 and 4 are included in the grading of the course. 2 AC and RMS Purpose of the lab: to familiarize yourself with the oscilloscope to familiarize yourself with AC voltages and different waveforms to study RMS and average values In this lab, you have the

More information

ECE 2111 Signals and Systems Spring 2009, UMD Experiment 3: The Spectrum Analyzer

ECE 2111 Signals and Systems Spring 2009, UMD Experiment 3: The Spectrum Analyzer ECE 2111 Signals and Systems Spring 2009, UMD Experiment 3: The Spectrum Analyzer Objective: Student will gain an understanding of the basic controls and measurement techniques of the Rohde & Schwarz Handheld

More information

LAB II. INTRODUCTION TO LABVIEW

LAB II. INTRODUCTION TO LABVIEW 1. OBJECTIVE LAB II. INTRODUCTION TO LABVIEW In this lab, you are to gain a basic understanding of how LabView operates the lab equipment remotely. 2. OVERVIEW In the procedure of this lab, you will build

More information

EEE 309 Communication Theory

EEE 309 Communication Theory EEE 309 Communication Theory Semester: January 2017 Dr. Md. Farhad Hossain Associate Professor Department of EEE, BUET Email: mfarhadhossain@eee.buet.ac.bd Office: ECE 331, ECE Building Types of Modulation

More information

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14 Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) ECE3204 Lab 5 Objective The purpose of this lab is to design and test an active Butterworth

More information

Getting Started. MSO/DPO Series Oscilloscopes. Basic Concepts

Getting Started. MSO/DPO Series Oscilloscopes. Basic Concepts Getting Started MSO/DPO Series Oscilloscopes Basic Concepts 001-1523-00 Getting Started 1.1 Getting Started What is an oscilloscope? An oscilloscope is a device that draws a graph of an electrical signal.

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

ECE 2111 Signals and Systems Spring 2012, UMD Experiment 9: Sampling

ECE 2111 Signals and Systems Spring 2012, UMD Experiment 9: Sampling ECE 2111 Signals and Systems Spring 2012, UMD Experiment 9: Sampling Objective: In this experiment the properties and limitations of the sampling theorem are investigated. A specific sampling circuit will

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

Digital Audio. Lecture-6

Digital Audio. Lecture-6 Digital Audio Lecture-6 Topics today Digitization of sound PCM Lossless predictive coding 2 Sound Sound is a pressure wave, taking continuous values Increase / decrease in pressure can be measured in amplitude,

More information

Lab 1: Simulating Control Systems with Simulink and MATLAB

Lab 1: Simulating Control Systems with Simulink and MATLAB Lab 1: Simulating Control Systems with Simulink and MATLAB EE128: Feedback Control Systems Fall, 2006 1 Simulink Basics Simulink is a graphical tool that allows us to simulate feedback control systems.

More information

Chapter 2: Digitization of Sound

Chapter 2: Digitization of Sound Chapter 2: Digitization of Sound Acoustics pressure waves are converted to electrical signals by use of a microphone. The output signal from the microphone is an analog signal, i.e., a continuous-valued

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

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

Lab 12 Laboratory 12 Data Acquisition Required Special Equipment: 12.1 Objectives 12.2 Introduction 12.3 A/D basics

Lab 12 Laboratory 12 Data Acquisition Required Special Equipment: 12.1 Objectives 12.2 Introduction 12.3 A/D basics Laboratory 12 Data Acquisition Required Special Equipment: Computer with LabView Software National Instruments USB 6009 Data Acquisition Card 12.1 Objectives This lab demonstrates the basic principals

More information

Oscilloscope and Function Generators

Oscilloscope and Function Generators MEHRAN UNIVERSITY OF ENGINEERING AND TECHNOLOGY, JAMSHORO DEPARTMENT OF ELECTRONIC ENGINEERING ELECTRONIC WORKSHOP # 02 Oscilloscope and Function Generators Roll. No: Checked by: Date: Grade: Object: To

More information

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS Eastern Mediterranean University Faculty of Engineering Department of Electrical and Electronic Engineering EENG 360 Communication System I Laboratory LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS General

More information

Waveform Generators and Oscilloscopes. Lab 6

Waveform Generators and Oscilloscopes. Lab 6 Waveform Generators and Oscilloscopes Lab 6 1 Equipment List WFG TEK DPO 4032A (or MDO3012) Resistors: 10kΩ, 1kΩ Capacitors: 0.01uF 2 Waveform Generators (WFG) The WFG supplies a variety of timevarying

More information

Communications IB Paper 6 Handout 3: Digitisation and Digital Signals

Communications IB Paper 6 Handout 3: Digitisation and Digital Signals Communications IB Paper 6 Handout 3: Digitisation and Digital Signals Jossy Sayir Signal Processing and Communications Lab Department of Engineering University of Cambridge jossy.sayir@eng.cam.ac.uk Lent

More information

Integrators, differentiators, and simple filters

Integrators, differentiators, and simple filters BEE 233 Laboratory-4 Integrators, differentiators, and simple filters 1. Objectives Analyze and measure characteristics of circuits built with opamps. Design and test circuits with opamps. Plot gain vs.

More information

Presentation Outline. Advisors: Dr. In Soo Ahn Dr. Thomas L. Stewart. Team Members: Luke Vercimak Karl Weyeneth. Karl. Luke

Presentation Outline. Advisors: Dr. In Soo Ahn Dr. Thomas L. Stewart. Team Members: Luke Vercimak Karl Weyeneth. Karl. Luke Bradley University Department of Electrical and Computer Engineering Senior Capstone Project Presentation May 2nd, 2006 Team Members: Luke Vercimak Karl Weyeneth Advisors: Dr. In Soo Ahn Dr. Thomas L.

More information

TELECOMMUNICATION SYSTEMS

TELECOMMUNICATION SYSTEMS TELECOMMUNICATION SYSTEMS By Syed Bakhtawar Shah Abid Lecturer in Computer Science 1 MULTIPLEXING An efficient system maximizes the utilization of all resources. Bandwidth is one of the most precious resources

More information

Part 1. Using LabVIEW to Measure Current

Part 1. Using LabVIEW to Measure Current NAME EET 2259 Lab 11 Studying Characteristic Curves with LabVIEW OBJECTIVES -Use LabVIEW to measure DC current. -Write LabVIEW programs to display the characteristic curves of resistors, diodes, and transistors

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

Introduction to Simulink Assignment Companion Document

Introduction to Simulink Assignment Companion Document Introduction to Simulink Assignment Companion Document Implementing a DSB-SC AM Modulator in Simulink The purpose of this exercise is to explore SIMULINK by implementing a DSB-SC AM modulator. DSB-SC AM

More information

Experiment # 3. Doppler Spread

Experiment # 3. Doppler Spread ECE 464 c 2016 Bruno Korst-Fagundes Spring 2016 Experiment # 3 Doppler Spread 1 Purpose Doppler spread is a variation in bandwidth caused by the combined frequency shifts of the multipath components of

More information

PULSE CODE MODULATION (PCM)

PULSE CODE MODULATION (PCM) PULSE CODE MODULATION (PCM) 1. PCM quantization Techniques 2. PCM Transmission Bandwidth 3. PCM Coding Techniques 4. PCM Integrated Circuits 5. Advantages of PCM 6. Delta Modulation 7. Adaptive Delta Modulation

More information

Advanced Audiovisual Processing Expected Background

Advanced Audiovisual Processing Expected Background Advanced Audiovisual Processing Expected Background As an advanced module, we will not cover introductory topics in lecture. You are expected to already be proficient with all of the following topics,

More information

Communications I (ELCN 306)

Communications I (ELCN 306) Communications I (ELCN 306) c Samy S. Soliman Electronics and Electrical Communications Engineering Department Cairo University, Egypt Email: samy.soliman@cu.edu.eg Website: http://scholar.cu.edu.eg/samysoliman

More information

ECE 3155 Experiment I AC Circuits and Bode Plots Rev. lpt jan 2013

ECE 3155 Experiment I AC Circuits and Bode Plots Rev. lpt jan 2013 Signature Name (print, please) Lab section # Lab partner s name (if any) Date(s) lab was performed ECE 3155 Experiment I AC Circuits and Bode Plots Rev. lpt jan 2013 In this lab we will demonstrate basic

More information

Physics 120 Lab 1 (2018) - Instruments and DC Circuits

Physics 120 Lab 1 (2018) - Instruments and DC Circuits Physics 120 Lab 1 (2018) - Instruments and DC Circuits Welcome to the first laboratory exercise in Physics 120. Your state-of-the art equipment includes: Digital oscilloscope w/usb output for SCREENSHOTS.

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

EE-4022 Experiment 2 Amplitude Modulation (AM)

EE-4022 Experiment 2 Amplitude Modulation (AM) EE-4022 MILWAUKEE SCHOOL OF ENGINEERING 2015 Page 2-1 Student objectives: EE-4022 Experiment 2 Amplitude Modulation (AM) In this experiment the student will use laboratory modules to implement operations

More information

10 Speech and Audio Signals

10 Speech and Audio Signals 0 Speech and Audio Signals Introduction Speech and audio signals are normally converted into PCM, which can be stored or transmitted as a PCM code, or compressed to reduce the number of bits used to code

More information

Exercise 1: AC Waveform Generator Familiarization

Exercise 1: AC Waveform Generator Familiarization Exercise 1: AC Waveform Generator Familiarization EXERCISE OBJECTIVE When you have completed this exercise, you will be able to operate an ac waveform generator by using equipment provided. You will verify

More information

Senior Design Project: Converting an Analog Transceiver into a Digital one

Senior Design Project: Converting an Analog Transceiver into a Digital one Session 2793 Senior Design Project: Converting an Analog Transceiver into a Digital one George Edwards University of Denver Abstract The Capstone Senior Design Project that is offered to graduating seniors

More information

Lab E2: B-field of a Solenoid. In the case that the B-field is uniform and perpendicular to the area, (1) reduces to

Lab E2: B-field of a Solenoid. In the case that the B-field is uniform and perpendicular to the area, (1) reduces to E2.1 Lab E2: B-field of a Solenoid In this lab, we will explore the magnetic field created by a solenoid. First, we must review some basic electromagnetic theory. The magnetic flux over some area A is

More information

MTI 7602 PCM Modulation and Demodulation

MTI 7602 PCM Modulation and Demodulation Page 1 of 1 MTI 7602 PCM Modulation and Demodulation Contents Aims of the Exercise Learning about the functioning principle of the pulse-code modulation (quantisation, coding, time division multiplex operation)

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

Downloaded from 1

Downloaded from  1 VII SEMESTER FINAL EXAMINATION-2004 Attempt ALL questions. Q. [1] How does Digital communication System differ from Analog systems? Draw functional block diagram of DCS and explain the significance of

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY /6.071 Introduction to Electronics, Signals and Measurement Spring 2006

MASSACHUSETTS INSTITUTE OF TECHNOLOGY /6.071 Introduction to Electronics, Signals and Measurement Spring 2006 MASSACHUSETTS INSTITUTE OF TECHNOLOGY.071/6.071 Introduction to Electronics, Signals and Measurement Spring 006 Lab. Introduction to signals. Goals for this Lab: Further explore the lab hardware. The oscilloscope

More information

Problem Sheet 1 Probability, random processes, and noise

Problem Sheet 1 Probability, random processes, and noise Problem Sheet 1 Probability, random processes, and noise 1. If F X (x) is the distribution function of a random variable X and x 1 x 2, show that F X (x 1 ) F X (x 2 ). 2. Use the definition of the cumulative

More information

Class #9: Experiment Diodes Part II: LEDs

Class #9: Experiment Diodes Part II: LEDs Class #9: Experiment Diodes Part II: LEDs Purpose: The objective of this experiment is to become familiar with the properties and uses of LEDs, particularly as a communication device. This is a continuation

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

ECEGR Lab #8: Introduction to Simulink

ECEGR Lab #8: Introduction to Simulink Page 1 ECEGR 317 - Lab #8: Introduction to Simulink Objective: By: Joe McMichael This lab is an introduction to Simulink. The student will become familiar with the Help menu, go through a short example,

More information

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1 .A Working with Lab Equipment Electronics Design Laboratory 1 1.A.0 1.A.1 3 1.A.4 Procedures Turn in your Pre Lab before doing anything else Setup the lab waveform generator to output desired test waveforms,

More information

RC Filters and Basic Timer Functionality

RC Filters and Basic Timer Functionality RC-1 Learning Objectives: RC Filters and Basic Timer Functionality The student who successfully completes this lab will be able to: Build circuits using passive components (resistors and capacitors) from

More information

University of California, San Diego Department of Electrical and Computer Engineering

University of California, San Diego Department of Electrical and Computer Engineering University of California, San Diego Department of Electrical and Computer Engineering Part One: Introduction of Lab TAs ECE65, Spring 2007 Lab 0, ECE 65 Lab Orientation 1) James Liao, geniojames@yahoo.com

More information

EEE482F: Problem Set 1

EEE482F: Problem Set 1 EEE482F: Problem Set 1 1. A digital source emits 1.0 and 0.0V levels with a probability of 0.2 each, and +3.0 and +4.0V levels with a probability of 0.3 each. Evaluate the average information of the source.

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

When you have completed this exercise, you will be able to determine the frequency response of a

When you have completed this exercise, you will be able to determine the frequency response of a When you have completed this exercise, you will be able to determine the frequency response of a an oscilloscope. Voltage gain (Av), the voltage ratio of the input signal to the output signal, can be expressed

More information

Tektronix digital oscilloscope, BK Precision Function Generator, coaxial cables, breadboard, the crystal earpiece from your AM radio kit.

Tektronix digital oscilloscope, BK Precision Function Generator, coaxial cables, breadboard, the crystal earpiece from your AM radio kit. Experiment 0: Review I. References The 174 and 275 Lab Manuals Any standard text on error analysis (for example, Introduction to Error Analysis, J. Taylor, University Science Books, 1997) The manual for

More information

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17 LABORATORY 4 ASSIGNED: 3/21/17 OBJECTIVE: The purpose of this lab is to evaluate the transient and steady-state circuit response of first order and second order circuits. MINIMUM EQUIPMENT LIST: You will

More information

USE OF BASIC ELECTRONIC MEASURING INSTRUMENTS Part II, & ANALYSIS OF MEASUREMENT ERROR 1

USE OF BASIC ELECTRONIC MEASURING INSTRUMENTS Part II, & ANALYSIS OF MEASUREMENT ERROR 1 EE 241 Experiment #3: USE OF BASIC ELECTRONIC MEASURING INSTRUMENTS Part II, & ANALYSIS OF MEASUREMENT ERROR 1 PURPOSE: To become familiar with additional the instruments in the laboratory. To become aware

More information

Class #8: Experiment Diodes Part I

Class #8: Experiment Diodes Part I Class #8: Experiment Diodes Part I Purpose: The objective of this experiment is to become familiar with the properties and uses of diodes. We used a 1N914 diode in two previous experiments, but now we

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

ENSC327/328 Communication Systems Course Information. Paul Ho Professor School of Engineering Science Simon Fraser University

ENSC327/328 Communication Systems Course Information. Paul Ho Professor School of Engineering Science Simon Fraser University ENSC327/328 Communication Systems Course Information Paul Ho Professor School of Engineering Science Simon Fraser University 1 Schedule & Instructor Class Schedule: Mon 2:30 4:20pm AQ 3159 Wed 1:30 2:20pm

More information

Multirate DSP, part 3: ADC oversampling

Multirate DSP, part 3: ADC oversampling Multirate DSP, part 3: ADC oversampling Li Tan - May 04, 2008 Order this book today at www.elsevierdirect.com or by calling 1-800-545-2522 and receive an additional 20% discount. Use promotion code 92562

More information

CHAPTER 4 FIELD PROGRAMMABLE GATE ARRAY IMPLEMENTATION OF FIVE LEVEL CASCADED MULTILEVEL INVERTER

CHAPTER 4 FIELD PROGRAMMABLE GATE ARRAY IMPLEMENTATION OF FIVE LEVEL CASCADED MULTILEVEL INVERTER 87 CHAPTER 4 FIELD PROGRAMMABLE GATE ARRAY IMPLEMENTATION OF FIVE LEVEL CASCADED MULTILEVEL INVERTER 4.1 INTRODUCTION The Field Programmable Gate Array (FPGA) is a high performance data processing general

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

Experiment # 1 Introduction to Lab Equipment

Experiment # 1 Introduction to Lab Equipment Experiment # 1 Introduction to Lab Equipment 1. Synopsis: In this introductory lab, we will review the basic concepts of digital logic design and learn how to use the equipment available in the laboratory.

More information