Lab 1: Analog Modulations

Similar documents
Lab 1: Analog Modulations

and RTL-SDR Wireless Systems

Lab 2: Digital Modulations

Outline. Communications Engineering 1

Experiment # 4. Frequency Modulation

Estimation of Predetection SNR of LMR Analog FM Signals Using PL Tone Analysis

CHAPTER 3 Noise in Amplitude Modulation Systems

Faculty of Engineering Electrical Engineering Department Communication Engineering I Lab (EELE 3170) Eng. Adam M. Hammad

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

S.E. (Electronics/Electronics and Telecommunication Engg.) (Second Semester) EXAMINATION, 2014 COMMUNICATION THEORY (2008 PATTERN)

EE4512 Analog and Digital Communications Chapter 6. Chapter 6 Analog Modulation and Demodulation

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

Amplitude Modulation Chapter 2. Modulation process

Wireless Communication Systems Laboratory #2. Understanding test equipments. The students will be familiar with the following items:

Amplitude Modulated Systems

EE470 Electronic Communication Theory Exam II

Wireless Communication Fading Modulation

Introduction to Simulink Assignment Companion Document

ELEC 350 Communications Theory and Systems: I. Review. ELEC 350 Fall

4.1 REPRESENTATION OF FM AND PM SIGNALS An angle-modulated signal generally can be written as

Laboratory 3: Frequency Modulation

1B Paper 6: Communications Handout 2: Analogue Modulation

PGT313 Digital Communication Technology. Lab 3. Quadrature Phase Shift Keying (QPSK) and 8-Phase Shift Keying (8-PSK)

What's New in MATLAB and Simulink for Signal Processing? Daniel Aronsson, Application Engineer

Experiment 02: Amplitude Modulation

ES442 Final Project AM & FM De/Modulation Using SIMULINK

Code No: R Set No. 1

(b) What are the differences between FM and PM? (c) What are the differences between NBFM and WBFM? [9+4+3]

Amplitude Modulation, II

EXPERIMENT 4 INTRODUCTION TO AMPLITUDE MODULATION SUBMITTED BY

EXPERIMENT WISE VIVA QUESTIONS

Simulink Implementation of Amplitude Modulation Technique using Matlab

Lab 3: Introduction to Software Defined Radio and GNU Radio

Incorporating PlutoSDR in the Communication Laboratory and Classroom: Potential or Pitfall?

B.Tech II Year II Semester (R13) Supplementary Examinations May/June 2017 ANALOG COMMUNICATION SYSTEMS (Electronics and Communication Engineering)

AM Limitations. Amplitude Modulation II. DSB-SC Modulation. AM Modifications

Signal Generators for Anritsu RF and Microwave Handheld Instruments

EE390 Final Exam Fall Term 2002 Friday, December 13, 2002

Amplitude Modulation II

Signal Processing Toolbox

Modulation Methods Frequency Modulation

Measurement of Digital Transmission Systems Operating under Section March 23, 2005

ANALOG COMMUNICATION

COMMUNICATION LABORATORY

Lab Assignment 1 Spectrum Analyzers

Laboratory 5: Spread Spectrum Communications

TSEK02: Radio Electronics Lecture 2: Modulation (I) Ted Johansson, EKS, ISY

Charan Langton, Editor

CME312- LAB Manual DSB-SC Modulation and Demodulation Experiment 6. Experiment 6. Experiment. DSB-SC Modulation and Demodulation

15.Calculate the local oscillator frequency if incoming frequency is F1 and translated carrier frequency

Keysight X-Series Signal Analyzer

Lecture 6. Angle Modulation and Demodulation

HY448 Sample Problems

EXAMINATION FOR THE DEGREE OF B.E. Semester 1 June COMMUNICATIONS IV (ELEC ENG 4035)

EE-4022 Experiment 3 Frequency Modulation (FM)

OBJECTIVES EQUIPMENT LIST

HF Receivers, Part 2

Massachusetts Institute of Technology Dept. of Electrical Engineering and Computer Science Fall Semester, Introduction to EECS 2

Analog Communication.

Communications IB Paper 6 Handout 2: Analogue Modulation

Problems from the 3 rd edition

Angle Modulated Systems

Exercise 1: RF Stage, Mixer, and IF Filter

Elements of Communication System Channel Fig: 1: Block Diagram of Communication System Terminology in Communication System

UNIT-2 Angle Modulation System

ENSC327 Communications Systems 14: Multiplexing. School of Engineering Science Simon Fraser University

TSEK02: Radio Electronics Lecture 2: Modulation (I) Ted Johansson, EKS, ISY

Laboratory 2: Amplitude Modulation

ECEGR Lab #8: Introduction to Simulink

COMM 601: Modulation I

ENSC327 Communications Systems 14: Multiplexing. Jie Liang School of Engineering Science Simon Fraser University

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


Wireless Communication Systems Laboratory Lab #3: Introduction to wireless front-end

THE SPECTRUM ANALYZER AND SPECTRAL CONTENT

DT Filters 2/19. Atousa Hajshirmohammadi, SFU

Waveform Generation and Testing with Software-Defined Radios (SDR) and RF instruments

Wireless Transmission Detection and Monitoring System using GNU Radio and Multiple RTL SDR Receivers

Matlab exercises 2015 ELEC-E5410 Signal processing for communications

Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective

UNIT 1 QUESTIONS WITH ANSWERS

DSP First. Laboratory Exercise #7. Everyday Sinusoidal Signals

ELG3175: Introduction to Communication Systems. Laboratory II: Amplitude Modulation

AM and FM MODULATION Lecture 5&6

Laboratory Experiment #1 Introduction to Spectral Analysis

Technician License Course Chapter 2. Lesson Plan Module 3 Modulation and Bandwidth

Wireless Communication Systems Lab-Manual-3 Introduction to Wireless Front End. Objective

Chapter 3. Amplitude Modulation Fundamentals

APPENDIX A TEST PLOTS. (Model: 15Z970)

ANALOGUE TRANSMISSION OVER FADING CHANNELS

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

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

Frequency Modulation

EECE 301 Signals & Systems Prof. Mark Fowler

Local Oscillator Phase Noise and its effect on Receiver Performance C. John Grebenkemper

Antenna Measurements using Modulated Signals

Application of a Telemetry System using DSB-AM Sub-Carriers

Lab 4: Measuring Received Signal Power EE 361 Signal Propagation Spring 2017

Enhanced Learning Combining MATLAB Simulation with Telecommunication Instructional Modeling (TIMS ) in a Senior Level Communication Systems Course

UNIT-I AMPLITUDE MODULATION (2 Marks Questions and Answers)

Transcription:

Lab 1: Analog Modulations Due: October 11, 2018 This lab contains two parts: for the first part you will perform simulation entirely in MATLAB, for the second part you will use a hardware device to interface with MATLAB and receive radio signals. Part 1. Generate a pure cosine signal x(t) = cos(2π10000t) for 0 t 2, and use Spectrum Analyzer to plot its spectrum as follows SpecAnlyzr1 = dsp.spectrumanalyzer( SampleRate,fs, PlotAsTwoSidedSpectrum,true); SpecAnlyzr1(x) The recommended sampling frequency is f s = 1024000 sample/s. 1. Use this cosine signal to perform SSB modulation of a cosine carrier at 200 KHz. (a) Display the spectrum of the SSB signal (you only need to show the frequency range around the carrier enough to display the whole SSB frequency response). Comment on the result, does it agree with what you expect to see? (b) What is the bandwidth of the SSB modulated signal? 2. Use the cosine signal to perform FM modulation of the same carrier at 200 KHz using a modulation index β = 4. (a) Display the spectrum of the FM signal and measure the 99% bandwidth using the Channel Measurements menu bar in the Spectrum Analyzer window. Set the center frequency to f c = 200 khz and make sure to set enough Span (Hz) to cover the whole spectrum. Does Carson s rule apply, why or why not? (b) Change the value of beta to 2 and 10 and repeat the exercise for each new value of beta. Comment on the FM bandwidth as beta increases. Part 2. Load the following sample audio file from MATLAB audio = audioread( handel.ogg ); This audio signal has been sampled at 44, 100 Hz and has a duration of 8.9249 seconds. 1. Use the interp command to increase the sampling rate by 8 and display its spectrum using the following commands: 1

audio_inp = interp(audio,8); SpecAnlyzr1 = dsp.spectrumanalyzer( SampleRate,fs, PlotAsTwoSidedSpectrum,false); SpecAnlyzr1(audio_inp) 2. Use the interpolated audio signal to modulate a sinusoidal carrier at f c = 100 KHz using SSB modulation (suppressed carrier). Display the spectra of the message and modulated signals, and measure the 99% transmission bandwidth. Calculate the average power (in db) of the modulated signal. You can use the following command to calculate the average signal power: L = length(audio_mod); Avg_sig_pow = 10*log10((norm(audio_mod))^2/L) 3. Add some white Gaussian noise to the modulated signal. Create a noise vector of the same length as the modulated signal using the following command: noise = wgn(l,1,p_n); where P N represents the noise power in dbw. You can choose P N comparable to the modulated signal power to begin with. 4. Demodulate the signal with noise. Display the output spectrum and listen to the demodulated signal. Vary the noise power and comment on the result. What is the noise power level that does not affect the output much? What is the noise power level that the output music is barely recognizable? What is the noise power level that you wouldn t want to listen to the music anymore? 5. Repeat parts 2 4 for FM modulation using a modulation index β = 4. Note the frequency deviation in FM modulation command (fmmod) can be calculated as f = β.w, where W is the message bandwidth (use the SSB 99% bandwidth you obtained in part 2.2). 6. Next change β to two different values, one much larger and one much smaller (for example β = 10 and β = 2). For each new beta, use the same noise levels as before and listen to the demodulated FM signal. Comment on the clarity of the music. This exercise should demonstrate that you can adjust FM bandwidth for better noise performance. Specifically you can trade off more bandwidth (higher β) to get better performance in FM at the same noise level. This ability is not present in AM. 7. Crank up the noise gradually in FM and listen to the output (until the output music is no longer recognizable). Do you observe any special effect when noise is increased gradually in FM? Repeat this exercise with SSB, what do you observe? 2

FM receivers are nonlinear and exhibit a threshold effect, which means when noise is above a certain threshold, the receiver stops functioning correctly and just outputs noise. This effect is not present in linear receivers such as a coherent detector where the output just gradually degrades as noise increases. 8. Include in your report the answer to each of the steps above. Also include the comparison between SSB and FM modulatixons at different β factors and noise levels in the following aspects: Transmission bandwidth: The 99% bandwidth in MATLAB corresponds to the bandwidth that contain 99% of the power spectral density (PSD). For more information, you can check the MAT- LAB documentation for obw command. Transmit power (power of the modulated signal) Noise performance: which system performs better at the same noise level, and which is more robust to noise? Note: You need to support all your comparison with results from your simulations, including figures and calculation. Part 3. Software-Defined Radio (SDR) SDR is a radio system in which communication components (mixers, filters, modulators, demodulators, etc.) are implemented by means of software instead of real hardware. In other words, SDR utilizes software to perform signal processing tasks that are traditionally done in hardware. In this lab, we will use an RTL- SDR, a software defined radio device from NooElec (NESDR Mini 2+), to receive FM signals. You can read more information about this device at the following link: http://www.nooelec.com/store/sdr/sdr-receivers/nesdr-mini-2-plus.html For this lab, you need to sign out a NESDR package from the TA (one package per student). Each package includes a NESDR dongle and an antenna. You can use the package for the duration of the lab and return it at together with the lab report. Note that it is important to keep the package in good condition and return it at the end for future uses. Your grade will not be released until the package is safely returned. 3

FM Broadcast Receiver Spectrum Analyzer (Rcv. Signal) Spectrum Analyzer (Demod. Signal) Baseband File Reader FM Broadcast Captured Signal 0 1 Lost Late x <x> <Lost> FM Broadcast FM Broadcast Demodulator Baseband Audio Device Writer 1e6 104.1 Center Frequency (MHz) fc Data RTL-SDR Receiver lost RTL-SDR Receiver late x Lost Late Signal Source Selector <Late> Lost Samples Audio output.wav To Multimedia File Info Signal Source Latency Copyright 2013-2016 The MathWorks, Inc. Figure 1: FM Receiver Simulink Model 1. Setup: You have the choice to perform this lab in the lab room H229, or to do it on your own computer. (a) To perform in the lab: Go to a lab computer in H229, and run Matlab2016b program. Check the Add-On Manager to make sure the Communications System Toolbox Support Package for RTL-SDR radio is installed on the MATLAB and ready to use. To open the Add-On Manager, go to the Home tab, and select Add-Ons > Manage Add-Ons. (b) To perform on your computer: Make sure you have installed Matlab2016b or a later version. If you currently using an earlier MATLAB version, please update it to the latest version via Tufts software download (the lab may not function properly on earlier MATLAB versions): https://it.tufts.edu/book/export/html/700 Run MATLAB and go to Home > Add-Ons > Manage Add-Ons, find the Communications System Toolbox Support Package for RTL-SDR radio and install it. After the package installation is done, a new window will pop up and ask you to set up your RTL- SDR device. Plug in the device to a USB port on the computer and follow the instruction to set up the dongle. 2. Connect the SDR device with its antenna using the provided cable and use the command sdrinfo to check the connectivity of the device. 4

3. Open the FM receiver Simulink model FMReceiverSimulinkExample (a screenshot of the model is shown in Fig. 1), save as the model with a different file name, and then take the following steps: Add two spectrum analyzers to capture the spectra of the received signal and demodulated signals. Go to Library Browser > DSP System Toolbox > Sinks and drag & drop the Spectrum Analyzer block. Use the Signal Source Selector block to choose the RTL-SDR Receiver as your signal source. Set the frequency of the radio station. You are free to choose your own frequency, some options for clear signal reception are: 104.1 MHz, 106.7 MHz, and 92.9 MHz. 4. Run the model, listen to the FM output and comment on the clarity. The spectrum analyzers will display the instantaneous spectra of the received signal and the demodulated signal. In Spectrum Analyzer window, open the Trace Options panel from the menu bar and set the Average parameter to 100 in order to see the average spectra of the signals. Open the Channel Measurements panel from the menu bar and set the following parameters: Measurement type: Occupied BW Span: 40 khz Occupied BW (%): 99 The Occupied BW is the bandwidth containing the specified percentage of the total power of the spectrum. Check the documentation for Spectrum Analyzer on Mathworks website for more details. Measure the bandwidth of the received signal (transmission bandwidth) and the bandwidth of the demodulated signal. Comment on the difference. Can you infer the modulation index from these two bandwidths? 5. Repeat the exercise for a different FM frequency. Report. For the report, choose two different FM stations and perform the following tasks: (a) Print out the received FM signal power spectrum, clearly label the frequencies. (b) Measure the average power in the received signal and find the occupied bandwidth for 99% of the power. (c) Print out the demodulated signal power spectrum, clearly label the frequencies. (d) Measure the average power in the demodulated signal and find the occupied bandwidth for 99% of the power. (e) Compute the modulation index from the measured bandwidth (using Carson s formula). (f) Comment on the clarity of the demodulated signals. 5