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

Similar documents
Experiment 02: Amplitude Modulation

Experiment # 4. Frequency Modulation

Introduction to Lab Instruments

Exploring DSP Performance

Experiment 6: Multirate Signal Processing

Experiment # 5 Baseband Pulse Transmission

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

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

Laboratory Assignment 1 Sampling Phenomena

Introduction to Simulink

Laboratory Experiment #1 Introduction to Spectral Analysis

Lab 8. Signal Analysis Using Matlab Simulink

Signal Processing Toolbox

ECEGR Lab #8: Introduction to Simulink

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

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

ECE Digital Signal Processing

Chapter 2: Signal Representation

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

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

Reference Sources. Prelab. Proakis chapter 7.4.1, equations to as attached

ECE 440L. Experiment 1: Signals and Noise (1 week)

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

CG401 Advanced Signal Processing. Dr Stuart Lawson Room A330 Tel: January 2003

Noise Measurements Using a Teledyne LeCroy Oscilloscope

Chapter 2: Digitization of Sound

SIGNALS AND SYSTEMS LABORATORY 13: Digital Communication

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

LAB #7: Digital Signal Processing

Experiment # 3. Doppler Spread

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Thermal Johnson Noise Generated by a Resistor

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

EE25266 ASIC/FPGA Chip Design. Designing a FIR Filter, FPGA in the Loop, Ethernet

DIGITAL SIGNAL PROCESSING LABORATORY

Experiment 2 Effects of Filtering

Pre-Lab. Introduction

Figure 1: Block diagram of Digital signal processing

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

Lab 4 An FPGA Based Digital System Design ReadMeFirst

Outline. Communications Engineering 1

Digital Signal Processing

Noise and Distortion in Microwave System

EE 351M Digital Signal Processing

ECE 4670 Spring 2014 Lab 1 Linear System Characteristics

EET 223 RF COMMUNICATIONS LABORATORY EXPERIMENTS

Signal Processing. Introduction

Communications I (ELCN 306)

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW

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

EE 422G - Signals and Systems Laboratory

Lab 1B LabVIEW Filter Signal

Encoding a Hidden Digital Signature onto an Audio Signal Using Psychoacoustic Masking

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

Lab S-5: DLTI GUI and Nulling Filters. Please read through the information below prior to attending your lab.

Experiment Five: The Noisy Channel Model

Fourier Theory & Practice, Part I: Theory (HP Product Note )

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

Theory of Telecommunications Networks

Innovative Communications Experiments Using an Integrated Design Laboratory

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

Lecture Schedule: Week Date Lecture Title

Mobile Computing GNU Radio Laboratory1: Basic test

Johnson Noise and the Boltzmann Constant

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

Frequency Agility and Barrage Noise Jamming

EEE 309 Communication Theory

Ultra Wideband Transceiver Design

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

The Discussion of this exercise covers the following points: Filtering Aperture distortion

Communications IB Paper 6 Handout 3: Digitisation and Digital Signals

Experiment 1 Introduction to MATLAB and Simulink

The Design and Simulation of Embedded FIR Filter based on FPGA and DSP Builder

Spring 2018 EE 445S Real-Time Digital Signal Processing Laboratory Prof. Evans. Homework #1 Sinusoids, Transforms and Transfer Functions

SYSTEM ONE * DSP SYSTEM ONE DUAL DOMAIN (preliminary)

Electrical and Telecommunication Engineering Technology NEW YORK CITY COLLEGE OF TECHNOLOGY THE CITY UNIVERSITY OF NEW YORK

Spectrum Analysis: The FFT Display

Lab 8: Frequency Response and Filtering

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

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

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

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

Digital Signal Processing

Transmit filter designs for ADSL modems

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

Proposal for Transmitter Electrical Specifications

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

Comm 502: Communication Theory

Design Implementation Description for the Digital Frequency Oscillator

Electrical & Computer Engineering Technology

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

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

-/$5,!4%$./)3% 2%&%2%.#% 5.)4 -.25

Lab 3 FFT based Spectrum Analyzer

Linear Time-Invariant Systems

EECS 307: Lab Handout 2 (FALL 2012)

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY

Part A: Question & Answers UNIT I AMPLITUDE MODULATION

DIGITAL SIGNAL PROCESSING TOOLS VERSION 4.0

Transcription:

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 of noise, as it is observed in communication systems. You will simulate the generation and manipulation of noise with the use of Simulink. In particular, you will explore different types of noise and their spectral characteristics. Keywords Random Process Autocorrelation Power Spectral Density Filtering White Noise Coloured Noise Contents Introduction 1 1 Suggested Reading 2 2 Equipment and Software Tools 2 3 Experiment 2 3.1 Autocorrelation and Power Spectral Density............................................... 2 Autocorrelation Power Spectral Density 3.2 Narrow Band Noise................................................................ 3 3.3 Quantization Noise................................................................ 3 3.4 Signal to Noise Ratio (SNR).......................................................... 4 3.5 Adding Noise to an Input............................................................ 4 4 Conclusion 5 Acknowledgments 5 References 5 Introduction Noise is defined as any unwanted signal energy that is present within the passband of a communication system. If your system is designed to use a 200KHz band centered at some frequency to transmit music, whatever other signal present within this band that is not your music can be considered noise. Typically, noise can be seen as correlated or uncorrelated. The former means that the noise results from the signal itself (i.e., there is some relation between the two), whereas the latter will be present even when the signal is not. Noise can be generated externally to the system, for example by an electrostatic discharge in the atmosphere, or internally to the system, by among other things the random motion of electrons within a conductor. This latter example, named thermal noise has a flat spectrum across all frequencies. Such characteristic makes this type of noise to be referred to as white noise, as an analogy with white light that has all frequencies of the visible spectrum. It is relevant to look at noise from the statistical perspective, since modelling noise is crucial for the simulation and design of communication systems. Thermal noise, for instance, follows a Gaussian distribution and has a flat spectrum across all frequencies, making it white and Gaussian noise. If you submit a white Gausian noise source through a bandlimited linear system (say, a filter), the noise observed at the output of this filter will no longer be white (it is now bandlimited), but it still follows its Gaussian distribution. In addition, since we do have noise being added to the signal in any communication system, it becomes necessary to understand the concept of signal to noise ratio, or SNR for short.

Experiment 02: Noise 2/5 1. Suggested Reading You should prepare for this first experiment by reviewing probability and noise from the course notes or [1] and [2]. You must be familiar with time domain / frequency domain representation of signals. If you are not, you can review [3] or [4], for instance. For this practical session, you will be presented with very simple input-output block diagrams in Simulink and will be required to display the outputs of your simulation meaningfully using simulation scopes in both domains. Except for the last part of the experiment, which uses a DSP platform, all other parts will be done in simulation. The lab preparation is required and will be marked for this lab. You should have it ready prior to the beginning of the experiment. 2. Equipment and Software Tools The following list of equipment and software tools will be utilized in all experiments. Hardware: One Signal Generator; One Two-Channel Oscilloscope; One TI LCDK DSP development platform attached to a PC workstation. Coaxial cables BNC-to-BNC and a T connector. Software: Matlab - Release 2016A; Simulink with Communication Toolbox; Code Composer Studio (CCS), v.6.0. 3. Experiment 3.1 Autocorrelation and Power Spectral Density It should be known to you now that the autocorrelation of a signal is the correlation of such signal with itself. When one performs a correlation between two signals, the intention is to find an estimate of how much of one signal is present on the other. In other words, how much similarity there is between the two signals as a function of the time between two observations. The resulting sequence from the autocorrelation calculation will According to the Wiener-Khintchine theorem, the Fourier transform of the autocorrelation function of an energy signal is the Power Spectral Density (PSD) of this signal. An energy signal is one for which the total energy measured in frequency is finite. This can be, for example, a truncated sinusoidal signal. Also, if the energy signal is real-valued, the PSD is symmetric. You will explore these characteristics with the models presented below. 3.1.1 Autocorrelation Build and run the system as shown in Figure 1. (a) Unfiltered Gaussian Noise Figure 1. Autocorrelation (b) Filtered Gaussian Noise

Experiment 02: Noise 3/5 For all models in this experiment, you will use the sample time of 1/48000. This is to be compatible with future experiments using the DSP platform, where you will necessarily use 48KHz as your sampling frequency. The objective of this section is to compare the autocorrelation of unfiltered and filtered Gaussian noise. In particular, you should observe the effect of the bandwidth limitation on the output of the autocorrelation operation. It will likely make your life easier to have both systems (i.e., 1(a) and 1(b)) running to make a visual comparison. The Digital Filter Design block should be set to have order 100, and for this portion you will work with a lowpass filter only. This will accomplish a filter with very sharp cutoff, or small transition band. Your task will be to modify the cutoff frequency of the filter and observe the consequences. Do not forget to press the Design button on the GUI after you make the changes. After you make your system run, answer some questions on the answer sheet. 3.1.2 Power Spectral Density For this section, your task is to build the models shown in Figure 2 below. The objective of this section is to observe the effects of filtering on the power spectral density (PSD) of the signal as well. We start by looking at the PSD display for white Gaussian noise. Build the models as shown below, and explore with the options for the frequency domain display, particularly for the subsystem you build for the model in Figure 2(b). (a) With Existing Analyzer Figure 2. Gaussian Noise Spectrum (b) Build Your Own Analyzer For Figure 2(b), your buffer should be 1024 samples long, and that should also be the length of your FFT. The Magnitude FFT block should be set also to magnitude squared, and the Vector Scope should be set to display frequency. After you do all this and run your models, answer some questions in the answer sheet. 3.2 Narrow Band Noise In order to probe narrow band noise, you will generate white noise and restrict its spectrum to a frequency interval, by adding a bandpass filter to the path. In order to do this, you will bring into the previous model the Digital Filter Design block, found under the DSP System Toolbox -- Filter Implementations. When you finish connecting this new block, double-click on it and select Bandpass, and use 100 as the order for the filter. Leave the other numbers as default for now. When you click on the Design button, you will see that this will give you a filter with very sharp edges. The model should look like the one found in Figure 3. Run your model now and answer some questions in the answer sheet. Figure 3. Simulating Narrow Band Noise 3.3 Quantization Noise In systems that transform analog signals into digital signals, two operations are performed to accomplish this transformation. They are: sampling and quantization. Whereas the process of sampling must follow certain limits in terms of how often the signal is to be sampled to allow for its recovery, the quantization process is limited by the number of bits used to represent each sample. This is to say that there will be some degree of quantization noise albeit very small as a result of the finite number

Experiment 02: Noise 4/5 of bits used in the representation of the sample. For a CD quality audio system, for instance, 16 bits are typically used per sample, and samples are taken once every 44.1 thousands of a second. More on sampling and quantization later in the course. Below you will explore quantization noise and its spectrum. Build a model like the one on Figure 4. Figure 4. Model for Quantization Noise The main blocks you will use are DSP Sine, Quantizer, Mux, Add, Scope and Power Spectral Density. The latter block is found in the Simulink Extras library, under Additional Sinks. The purpose for this exercise is for you to determine how noise in this case quantization noise is reduced for every extra bit used in the quantization process. Run your model now and answer some questions in the answer sheet. 3.4 Signal to Noise Ratio (SNR) For this part you will build a slightly more complex model. This is because you will add white noise to a single tone and will measure SNR with the system running. Your system should look like the one provided in Figure 5. The main components are a DSP Sine, representing the signal and the Gaussian Noise Generator representing the noise. You will add a Slider Gain to the signal, varying from 0 to 5. The SNR will be calculated in terms of the RMS values of both signal and noise. Therefore, you will need an RMS block found in the DSP System Toolbox, attached to a Display block. The calculation itself is done by implementing the equation SNR db = 20 log(v RMS Signal /V RMS Noise ). Figure 5. Calculating Signal to Noise Ratio 3.5 Adding Noise to an Input In this part of the experiment you will use Code Composer Studio and a DSP platform to generate bandlimited noise and add it to an input. This is done in C code, via a random number generator whose output is added to an input signal and then it is split in two directions. One goes straight to the output and the other is passed through a filter. In this case, an FIR lowpass digital filter. After you run the system, you will notice from the code that the same number from the random number generator is used as input to two paths: one path goes through a filter, and the other goes direct to the output with some scaling. The objective of

Experiment 02: Noise 5/5 this exercise is to familiarize you with the frequency domain display of the oscilloscope, and how to use built-in cursors to perform measurements on the oscilloscope. You will find the program to run under ECE363 Lab02 Noise. Compile the program and run it. Use as input to it a 1V pp, 1KHz sinusoid. The noise level will be varied with a slider within CCS. After you have your system running, answer some questions on the answer sheet. 4. Conclusion In this experiment you explored some of the characteristics and types of noise. In particular, you have seen white and coloured noise via simulation, you have explored wideband and narrowband noise, you have looked at the role of the autocorrelation function, power spectral density and filtering. Finally, you implemented a system that generated noise and added noise of different bandwidths to an input. Acknowledgments Thanks to all the students who have provided input on the previous versions of this experiment. References [1] S. Haykin and M. Moher. Introduction to Analog and Digital Communications, 2nd. Ed. 2007. [2] B.P. Lathi. Modern Digital and Analog Communication Systems, 3rd Ed. 1998. [3] Schafer R. W. Yoder M.A. McClellan, J.H. Signal Processing First. 2003. [4] Schafer R. W. Oppenheim A. V. Discrete-Time Signal Processing, 3rd. Ed. 2009.