EE 4440 Comm Theory Lab 5 Line Codes

Similar documents
QUESTION BANK SUBJECT: DIGITAL COMMUNICATION (15EC61)

Innovative Communications Experiments Using an Integrated Design Laboratory

Introduction: Presence or absence of inherent error detection properties.

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

UNIT TEST I Digital Communication

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

UNIT I Source Coding Systems

Experiment 2 Effects of Filtering

EE 422G - Signals and Systems Laboratory

Serial Data Transmission

Ș.l. dr. ing. Lucian-Florentin Bărbulescu

SigCalRP User s Guide

QUESTION BANK EC 1351 DIGITAL COMMUNICATION YEAR / SEM : III / VI UNIT I- PULSE MODULATION PART-A (2 Marks) 1. What is the purpose of sample and hold

Lab 1B LabVIEW Filter Signal

6. has units of bits/second. a. Throughput b. Propagation speed c. Propagation time d. (b)or(c)

Chapter 2 Line Code Decoder

EE 3302 LAB 1 EQIUPMENT ORIENTATION

ENGR 210 Lab 12: Sampling and Aliasing

Comm 502: Communication Theory. Lecture 4. Line Coding M-ary PCM-Delta Modulation

Exploring QAM using LabView Simulation *

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

Quadrature Amplitude Modulation (QAM) Experiments Using the National Instruments PXI-based Vector Signal Analyzer *

Laboratory Experiment #1 Introduction to Spectral Analysis

SigCal32 User s Guide Version 3.0

Sampling and Reconstruction

Experiment One: Generating Frequency Modulation (FM) Using Voltage Controlled Oscillator (VCO)

Chapter Two. Fundamentals of Data and Signals. Data Communications and Computer Networks: A Business User's Approach Seventh Edition

Noise Measurements Using a Teledyne LeCroy Oscilloscope

EEE482F: Problem Set 1

Basic Concepts in Data Transmission

Time-Varying Signals

BSc (Hons) Computer Science with Network Security, BEng (Hons) Electronic Engineering. Cohorts: BCNS/17A/FT & BEE/16B/FT

Downloaded from 1

END-OF-YEAR EXAMINATIONS ELEC321 Communication Systems (D2) Tuesday, 22 November 2005, 9:20 a.m. Three hours plus 10 minutes reading time.

Picking the Optimal Oscilloscope for Serial Data Signal Integrity Validation and Debug

COMPUTER COMMUNICATION AND NETWORKS ENCODING TECHNIQUES

Level 6 Graduate Diploma in Engineering Communication systems

MSK has three important properties. However, the PSD of the MSK only drops by 10log 10 9 = 9.54 db below its midband value at ft b = 0.

EIE 441 Advanced Digital communications

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

Chapter 1 Line Code Encoder

EE 210 Lab Exercise #3 Introduction to PSPICE

Year : TYEJ Sub: Digital Communication (17535) Assignment No. 1. Introduction of Digital Communication. Question Exam Marks

Department of Electronics & Communication Engineering LAB MANUAL SUBJECT: DIGITAL COMMUNICATION LABORATORY [ECE324] (Branch: ECE)

Combinational logic: Breadboard adders

Lab 2: Digital Modulations

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

Text Book: Simon Haykin & Michael Moher,

EE3723 : Digital Communications

EE 460L University of Nevada, Las Vegas ECE Department

a) Abasebanddigitalcommunicationsystemhasthetransmitterfilterg(t) thatisshowninthe figure, and a matched filter at the receiver.

EE5713 : Advanced Digital Communications

Experiment # 5 Baseband Pulse Transmission

Qiz 1. 3.discrete time signals can be obtained by a continuous-time signal. a. sampling b. digitizing c.defined d.

Signal Processing for Digitizers

Principles of Baseband Digital Data Transmission

EE 400L Communications. Laboratory Exercise #7 Digital Modulation

LAB #7: Digital Signal Processing

Emona DATEx. Volume 2 Further Experiments in Modern Analog & Digital Telecommunications For NI ELVIS I and II. Barry Duncan

Fundamentals of Digital Communication

Fourier Theory & Practice, Part II: Practice Operating the Agilent Series Scope with Measurement/Storage Module

MTI 7603 Pseudo-Ternary Codes

Objectives. Presentation Outline. Digital Modulation Revision

Chapter 5: Modulation Techniques. Abdullah Al-Meshal

Department of Electronics and Communication Engineering 1

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

Ph 3455 The Franck-Hertz Experiment

PHYC 500: Introduction to LabView. Exercise 9 (v 1.1) Spectral content of waveforms. M.P. Hasselbeck, University of New Mexico

Lab Reference Manual. ECEN 326 Electronic Circuits. Texas A&M University Department of Electrical and Computer Engineering

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


Chapter 3: DIFFERENTIAL ENCODING

University of Swaziland Faculty of Science Department of Electrical and Electronic Engineering Main Examination 2016

Department of Electronics & Telecommunication Engg. LAB MANUAL. B.Tech V Semester [ ] (Branch: ETE)

II. LAB. * Open the LabVIEW program (Start > All Programs > National Instruments > LabVIEW 2012 > LabVIEW 2012)

EENG-201 Experiment # 4: Function Generator, Oscilloscope

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

Part 1. Using LabVIEW to Measure Current

54645D. Mixed Signal Oscilloscope

Using Raised Cosine Filter to Reduce Inter Symbol Interference in OFDM with BPSK Technique

Digital Communication Systems Third year communications Midterm exam (15 points)

Digital Debug With Oscilloscopes Lab Experiment

The figures and the logic used for the MATLAB are given below.

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

Signal Generators for Anritsu RF and Microwave Handheld Instruments

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS

LLS - Introduction to Equipment

Lab 3: RC Circuits. Construct circuit 2 in EveryCircuit. Set values for the capacitor and resistor to match those in figure 2 and set the frequency to

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

FFT Analyzer. Gianfranco Miele, Ph.D

Line Coding for Digital Communication

IVI STEP TYPES. Contents

LAB II. INTRODUCTION TO LABVIEW

Introduction to Lab Instruments

Handout 11: Digital Baseband Transmission

EEE 309 Communication Theory

EET 223 RF COMMUNICATIONS LABORATORY EXPERIMENTS

EEE 309 Communication Theory

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

14 fasttest. Multitone Audio Analyzer. Multitone and Synchronous FFT Concepts

Transcription:

EE 4440 Comm Theory Lab 5 Line Codes Purpose: The purpose of this lab is to investigate the properties of various line codes. Specific parameters investigated will be wave shape, bandwidth, and transparency. Simple pulse shaping will be investigated as well. Note: For this lab, no formal lab report is due. Be sure to answer all questions in the lab (questions are in BOLD typeface). Please turn in the answers to the questions with your sketches. Typed reports are required for this lab. Be sure to label all sketches and keep the sketches relatively neat and clean. Equipment: This lab will utilize two pieces of the lab equipment. The first piece is the Agilent 54622D mixed-signal oscilloscope used in the first four labs. The other piece of equipment is the computer equipped with LabVIEW and the Data Acquisition Cards (DAQs). The computer will serve as the generator of the lines codes and also provide a spectrum analyzer to observe the frequency content of the line codes. Background: Line codes are used everyday to transmit digital data streams. Line codes are a method of defining high and low bits in a digital data stream for transmission. Each line code contains inherent properties that may make it a better solution given a set of conditions. These properties often are defined into transmission bandwidth, power efficiency, error detection and correction, timing content, and transparency. The line codes implemented in the lab are Polar, Bipolar, On-Off, and Manchester. For more information on these specific line codes, refer to Chapter 7 in the book. Basic binary encoding uses square waves. Basic binary waveforms are generated using a simple square wave. To properly generate the binary line codes and to provide flexibility in the wave shapes, a different approach is necessary. First, the binary bits are encoded in an impulse train representing their logical 1 or 0 value. This impulse is then convolved with a basis waveform to create the actual line code shape. The line codes in this lab are generated using this method. The primary pulse wave shape used for the lab is a normal rectangular pulse. When convolved, this roughly creates a square wave. The spectrum of a square wave continues on infinitely and has a very large bandwidth. Filtering the data or applying a different wave shape can reduce this bandwidth reduced to a level acceptable for data transmission. Such filtering or wave shape application is known as pulse shaping. To demonstrate pulse shaping, the second wave shape used in the lab is a Gaussian (Normal) pulse. When convolved, the resulting line code uses significantly less bandwidth than the rectangular pulse version. Other wave shapes could be used to better satisfy bandwidth and inter-symbol-interference (ISI) conditions.

Procedure and Questions: Notes: - Connect the oscilloscope to the DAC 0 channel (yellow wire) of the DAQ board for this lab - Connect the Analog Channel 7 input (red wire) of the DAQ board to the same location as the DAC 0 channel. This will provide the input for the spectrum analyzer. - Be patient with LabVIEW. Changing the line code will take several seconds to propagate through the software. When changing the line code, ensure Acquire ON is selected and wait 25 seconds before obtaining data. - To stop the LabVIEW module, press the ESC key. It tends to work better than the Stop System button. (Note: This completely stops the module, it doesn t just pause the data flow like Acquire ON). - To use the LabVIEW capture option, you may need to click the Acquire ONCE button a couple times before the file dialog opens (if the spectrum analyzer is stopped). - Pulse shaping for the lab is designed around a 1 MSample/second sampling rate and 50 kbits/second data rate, so changing either of these values may result in erratic pulse-shaped waveforms. - LabVIEW exports the spectral data with a f value first, followed by the actual spectral information (in db). To properly plot this data in Excel (or another spreadsheet program), you will need to generate the frequency column. - To observe the line codes in the time domain, it is often useful to stop the oscilloscope and then press the Single key until an acceptable binary sequence is displayed on the oscilloscope screen. This acquires a single trigger s worth of data and then puts the oscilloscope back into stopped mode. - An oscilloscope time base of 200 s/div provides the same FFT sampling rate as the LabVIEW spectrum analyzer for a more direct comparison. Part 1: Line code shape and bandwidth Open the LabVIEW module Lab 5.vi on the desktop. Ensure that the DAQ settings are set to 1 MSa/sec for both input and output sampling frequency. Be sure the bit rate is set to 50 kbits/sec and Shaping is not enabled. Adjust the Spectrum Analyzer to a data length of 1024, an FFT size of 4096, a Hann (Von Hann, Hanning) window, and 25 averages. Also ensure the coupling button is set for DC coupling. i) Run the LabVIEW module. Set the oscilloscope time base to 200 s/div. Turn on the FFT function of the oscilloscope and adjust the display so the FFT span is 500 khz and the center frequency is 250 khz. This will set the oscilloscope s FFT function to display data in the same range as

ii) iii) iv) LabVIEW. Adjust the scaling and offset properties of the FFT if necessary. Start with the Polar RZ line code. Adjust the horizontal time base on the oscilloscope to obtain at least 6 cycles (bits) of the waveform. Stop the oscilloscope and sketch these six cycles. Be sure to label the corresponding voltages and bit pattern. Resume the oscilloscope and set the horizontal time base to 200 s/div. Observe the FFT spectrum on the oscilloscope and the output of the spectrum analyzer. Sketch or capture the output of the spectrum analyzer. Be sure to label relative frequencies and amplitudes. To stop the spectrum analyzer, click the Acquire ON button to deselect it and then click the Acquire ONCE button to obtain one set of data. From this stopped view, what is the estimated bandwidth of the Polar RZ line code (use 40 db from the peak value)? If the value exceeds the display range, simply put the uppermost frequency. What is the frequency of the first notch/zero crossing in the frequency spectrum? Repeat steps ii and iii for each line code (RZ and NRZ). Remember to wait for LabVIEW to propagate the new line code and be sure to change the Acquire setting back to Acquire ON when changing line code types. Part 2: Pulse shaping Leave the settings in LabVIEW the same as in Part 1. Resume the LabVIEW module if it is not currently running. i) Set the line code to Bipolar RZ (also known as AMI RZ). ii) Observe the frequency content of the signal on both the oscilloscope and LabVIEW spectrum analyzer. (Make sure you are still using 200 s/div for the time base on the oscilloscope). Comment on any differences between the displays. iii) Enable the pulse shaping function by toggling the Shaping Enabled switch. Allow LabVIEW time to adjust to the new display. Freeze the spectrum analyzer display and sketch or capture the new spectrum. What is the estimated bandwidth of this pulse shaped line code (Use -20 db from the peak amplitude as your bandwidth criterion)? iv) Sketch six cycles of the waveform on the oscilloscope display and label its bit pattern. v) Change the line code and observe the resulting spectrums with pulse shaping both enabled and disabled. Sketch or capture the spectrum of at least one other line code and estimate the bandwidth of the signal.

Part 3: Transparency Sketch six cycles of the corresponding time domain signal and label its bit pattern. Ensure that pulse shaping is disabled initially. Again, leave the settings in LabVIEW the same as for the first section of the lab for now. i) Set the line code to On-Off RZ to begin with. ii) Change the binary string to a 4 character string. iii) Observe spectrum and time domain signal on both the oscilloscope and spectrum analyzer for each line code (use the same sequence). Be sure to observe both the unshaped and shaped cases for each line code. Occasionally you may need to wait for the sequence of actual data characters to cycle through the visible line code. Ensure you are observing both the normal data and a long string of similar bits (0 s) for each line code. Which line code(s) provides the best transparency and why? Try different binary string values and different amplitudes with and without pulse shaping and observe the results. Any adjustments to the bit rate and sampling rate require the LabVIEW module to be stopped and restarted. Please note that the module does not give very satisfactory results for lower bit rates, so avoid decreasing the bit rate below 50 kbits/s. Also try to maintain the bit rate/sampling rate ratio (as far as integer relations, not an exact ratio since the DAQ boards do not function well above 1 MSa/sec) the same for best results. For your lab report, answer the following additional questions: i) Some transmission channels are AC-coupled. This means that DC components will not transmit well or at all along this type of channel. From your observations, which line codes would you expect to have a problem with this type of channel and why. Is decoding still possible with these line codes? ii) Again from your observations, which line codes contain obvious timing content and why.

EE 4440 Comm Theory Prelab for Line Code Lab The following questions are to be answered before coming to lab. The prelab will be due at the beginning of the lab period. 1) Given the choice of line codes for the lab (mentioned in the Background section) including the return to zero cases, which line codes will provide the best signal bandwidth and why? 2) Given your choices above, do these waveforms have any severe disadvantages?