UNIVERSITY OF BAHRAIN COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING

Similar documents
DIGITAL COMMUNICATION

Assignment 2 Line Coding Lab

CAP240 First semester 1430/1431. Sheet 4

EC 6501 DIGITAL COMMUNICATION

CS311: Data Communication. Transmission of Digital Signal - I

BASE-LINE WANDER & LINE CODING

Communication Lab. Assignment On. Bi-Phase Code and Integrate-and-Dump (DC 7) MSc Telecommunications and Computer Networks Engineering

Experiment 13 Sampling and reconstruction

Getting Started with the LabVIEW Sound and Vibration Toolkit

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

FSK Transmitter/Receiver Simulation Using AWR VSS

DELTA MODULATION AND DPCM CODING OF COLOR SIGNALS

System Identification

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

BER MEASUREMENT IN THE NOISY CHANNEL

CPE 400L Computer Communication Laboratory. Laboratory Exercise #9 Baseband Digital Communication

Experiment 7: Bit Error Rate (BER) Measurement in the Noisy Channel

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

The EMC, Signal And Power Integrity Institute Presents

Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series

Detection and demodulation of non-cooperative burst signal Feng Yue 1, Wu Guangzhi 1, Tao Min 1

Vibration Measurement and Analysis

Lab 5 Linear Predictive Coding

Course Web site:

Digitization: Sampling & Quantization

German Jordanian University. Department of Communication Engineering. Digital Communication Systems Lab. CME 313-Lab. Experiment 3.

Experiment 4: Eye Patterns

A Matlab toolbox for. Characterisation Of Recorded Underwater Sound (CHORUS) USER S GUIDE

TERRESTRIAL broadcasting of digital television (DTV)

Supplementary Course Notes: Continuous vs. Discrete (Analog vs. Digital) Representation of Information

The effect of nonlinear amplification on the analog TV signals caused by the terrestrial digital TV broadcast signals. Keisuke MUTO*, Akira OGAWA**

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

LabView Exercises: Part II

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

Techniques for Extending Real-Time Oscilloscope Bandwidth

H-Ternary Line Decoder for Digital Data Transmission: Circuit Design and Modelling

Frame Synchronization in Digital Communication Systems

Collection of Setups for Measurements with the R&S UPV and R&S UPP Audio Analyzers. Application Note. Products:

Vocoder Reference Test TELECOMMUNICATIONS INDUSTRY ASSOCIATION

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

UTILIZATION OF MATLAB FOR THE DIGITAL SIGNAL TRANSMISSION SIMULATION AND ANALYSIS IN DTV AND DVB AREA. Tomáš Kratochvíl

SDR Implementation of Convolutional Encoder and Viterbi Decoder

2. AN INTROSPECTION OF THE MORPHING PROCESS

SERIAL HIGH DENSITY DIGITAL RECORDING USING AN ANALOG MAGNETIC TAPE RECORDER/REPRODUCER

Handout 1 - Introduction to plots in Matlab 7

COSC3213W04 Exercise Set 2 - Solutions

Synthesized Clock Generator

Signal processing in the Philips 'VLP' system

2 MHz Lock-In Amplifier

Interface Practices Subcommittee SCTE STANDARD SCTE Measurement Procedure for Noise Power Ratio

Quartzlock Model A7-MX Close-in Phase Noise Measurement & Ultra Low Noise Allan Variance, Phase/Frequency Comparison

Application Note. Serial Line Coding Converters AN-CM-264

Analyzing Modulated Signals with the V93000 Signal Analyzer Tool. Joe Kelly, Verigy, Inc.

Session 1 Introduction to Data Acquisition and Real-Time Control

An Implementation of a Forward Error Correction Technique using Convolution Encoding with Viterbi Decoding

Diamond Cut Productions / Application Notes AN-2

Using Multiple DMs for Increased Spatial Frequency Response

Audio Compression Technology for Voice Transmission

Rec. ITU-R BT RECOMMENDATION ITU-R BT * WIDE-SCREEN SIGNALLING FOR BROADCASTING

Design Matched Filter for Digital Transmission Ethernet

Signal Stability Analyser

Pitch. The perceptual correlate of frequency: the perceptual dimension along which sounds can be ordered from low to high.

CHAPTER 3 SEPARATION OF CONDUCTED EMI

10 Gb/s Duobinary Signaling over Electrical Backplanes Experimental Results and Discussion

Communication Theory and Engineering

Rec. ITU-R BT RECOMMENDATION ITU-R BT PARAMETER VALUES FOR THE HDTV STANDARDS FOR PRODUCTION AND INTERNATIONAL PROGRAMME EXCHANGE

Development of an oscilloscope based TDP metric

Multirate Digital Signal Processing

Copyright Warning & Restrictions

Design & Simulation of 128x Interpolator Filter

Keysight Technologies Decoding Automotive Key Fob Communication based on Manchester-encoded ASK Modulation

1 Introduction to PSQM

DISTRIBUTION STATEMENT A 7001Ö

Development of an oscilloscope based TDP metric

MICROWAVE MEASURING INSTRUMENTS

SPECIAL SPECIFICATION 6911 Fiber Optic Video Data Transmission Equipment

Application Note DT-AN-2115B-1. DTA-2115B Verification of Specifations

FPGA IMPLEMENTATION AN ALGORITHM TO ESTIMATE THE PROXIMITY OF A MOVING TARGET

Optimum Frame Synchronization for Preamble-less Packet Transmission of Turbo Codes

Analysis of Packet Loss for Compressed Video: Does Burst-Length Matter?

B3ZS Encoder/Decoder Reference Design APPLICATION NOTE OCTOBER 2001 APPLICABLE TDK DEVICES 78P P7200L 78P7202L 78P7203L 78P7204L

Midterm Review. Yao Wang Polytechnic University, Brooklyn, NY11201

SPECIAL SPECIFICATION 1291 Fiber Optic Video Data Transmission Equipment

The Effect of Time-Domain Interpolation on Response Spectral Calculations. David M. Boore

Hands-on session on timing analysis

Rack-Mount Receiver Analyzer 101

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

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

Implementation of Real- Time Spectrum Analysis

Understanding. Here s an examination of high-frequency pathological signal transmission issues in today s high-bandwidth equipment.

Agilent PN Time-Capture Capabilities of the Agilent Series Vector Signal Analyzers Product Note

Specification of interfaces for 625 line digital PAL signals CONTENTS

E E Introduction to Wavelets & Filter Banks Spring Semester 2009

DATA COMPRESSION USING THE FFT

Department of Electrical & Electronic Engineering Imperial College of Science, Technology and Medicine. Project: Real-Time Speech Enhancement

Application Note DT-AN DTU-315 Verification of Specifications

M.G.M.'S COLLEGE OF ENGG. NANDED. DEPT OF ECT QUESTION BANK NO:- 1 CLASS:-BE(ECT) SUB:-DVD DATE: / /...

A Parametric Autoregressive Model for the Extraction of Electric Network Frequency Fluctuations in Audio Forensic Authentication

Decoder Assisted Channel Estimation and Frame Synchronization

Spectral Sounds Summary

Transcription:

UNIVERSITY OF BAHRAIN COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EENG 373: DIGITAL COMMUNICATIONS EXPERIMENT NO. 3 BASEBAND DIGITAL TRANSMISSION Objective This experiment investigates how a digital data stream can be encoded into a sequence of pulses for transmission through a baseband analog channel. Specifically, you will examine: various line coding methods used for digital baseband modulation in data communication applications; spectral properties of those lines codes, i.e. their power spectral densities; two important causes of signal distortion in a data communication channel: additive gaussian noise and filtering effects due to the bandwidth of the channel; Laboratory Procedure

1. Line codes for binary signaling over baseband channels Binary digits produced by a data source can be serially encoded using a variety of signaling formats called line codes for transmission over an analog baseband channel. Their structure and spectral properties will be examined in this section. You will be using the modul custom MATLAB command: output = modul(<binary_sequence>,<line_code_name>,<fd>,<fs>); where Fd is the data rate in symbols per second (bauds) and Fs is the simulation sampling frequency. The action of the command is to take the vector binary_sequence and modulate it according to the specified line code. The following codes are supported: unipolar_nrz, bipolar_nrz, bipolar_rz, ami and manchester. Many of the custom MATLAB commands (scope, modul etc.) require the Fd and Fs parameters. 1.1 First, create this binary sequence: >>b = [1 0 1 0 0 0 1 1 1 1]; Then, generate the coded signal representing b using the modul command with a data rate of Fd= 1 kb/s, a sampling rate Fs= 10 kb/s and using the unipolar NRZ line code: >> Fs = 10000; >> Fd = 1000; >>T = 1/Fd; >> s = modul(b, unipolar_nrz, Fd, Fs); Display the resulting signal: >> scope(s, one- shot,10*t); Repeat these steps above for the following line codes: bipolar NRZ; bipolar RZ; manchester; AMI. Result: (Print the graphs)

1.2 Power spectral densities of the line codes We will now examine the power spectral densities of the line codes. Generate a random binary sequence of 1000 bits: >> b = round(rand(1,1000)); Display the PSD function 1 of this sequence after it has been encoded using unipolar NRZ: >> [Ss,f] = psd(modul(b, unipolar_nrz, Fd, Fs),10000,Fs, mean ); >> plot(f,ss); The resulting plot is what you would observe by plugging a spectrum analyzer operating in linear scale at point s in the conceptual diagram of Figure 1. To locate peaks and nulls, it is sometimes helpful to also examine the PSD in logarithmic scale: >> plot(f,10*log10(ss)); By observing the psd plot, identify the location on the frequency axis of the first and second spectral peaks (denoted by f p1and f p2 ) and the first and second spectral nulls (f n1and f n2). Please note that while the first spectral peak can be situated at f =0, we are only interested in spectral nulls for f > 0, i.e. a null at f = 0 doesn t count. The location of the peaks and nulls should be entered in the table below. Repeat the operation for all the line codes studied in part 1.1 and record your results in Table 1. Table 1: Spectral characteristics of line codes at 1kb/s data rate. line code f p1[hz] f p2[hz] f n1[hz] f n2[hz] W [Hz] uniploar NRZ bipolar NRZ bipolar RZ manchester AMI Result: (Print the graphs and record the results in Table 1) ------------------------ 1. The number 10000 is passed as an argument to the psd command; it represents the number of samples in the sequence, i.e. 1000 bits xfs/fd. If you use a shorter sequence length due to the student edition limitation, adjust this parameter accordingly.

1.3 Examine the relationship between the PSD and the data rate: Let us now examine the relationship between the PSD and the data rate Fd. Use Manchester coding and produce a PSD for different values of Fd: >> [Ss,f] = psd(modul(b, manchester,<data_rate>, Fs),10000*Fs/data_rate>,Fs, mean ); >> plot(f,ss); where <data_rate> is successively taken to be 250, 500 and 1000 b/s. Observe the displacement of the spectral nulls and peaks and relate it to the binary data rate. Result: (Write the MATLAB Codes,print the graphs and deduce the bandwidth values)

2. Simulating a baseband channel with noise You will now simulate the characteristics of an ideal baseband communication channel including additive white Gaussian noise. The channel is modelled as an ideal low-pass filter whose output is summed with the output of a white Gaussian noise generator (see conceptual diagram of Figure 1). This channel model is implemented as the custom MATLAB function bbchannel: out = bbchannel(<input>,<gain>,<noise_power>,<bandwidth>,<fs>); 2.1 Create a 10 bit binary sequence b and encode it into an analog waveform using bipolar NRZ. >>b = [0 1 0 0 1 0 0 1 1 0]; >> s = modul(b, bipolar_nrz, Fd, Fs); From your observation in part 1, determine the transmission bandwidth W of s: W = [Hz] 2.2 Transmit the waveform s over a baseband channel with unity gain and additive white Gaussian noise (AWGN) where the noise power is 0.01 W and the channel bandwidth is 4.9 khz. Display the channel input and output: >> x = bbchannel(s,1,0.01,4900); >> subplot(211), scope(s, one- shot,0.01); >> subplot(212), scope(x, one- shot,0.01); Has the information been preserved by this channel? In other words, could you estimate visually the sequence that was transmitted with knowledge of the output only? Yes or NO 2.3 To observe the effect of noise on the transmitted signal, you will gradually increase the channel noise power while keeping the bandwidth constant at 4.9 khz. >> clf; subplot(321), scope(s, one- shot,0.01); >> title( Original signal ); >>subplot(32<sub_win>),scope(bbchannel(s,1,<noise_power>,4900), one- shot,0.01); >> title( noise power = <noise_power> W );

where you will use successively in lieu of noise_power values in the{0.1, 0.5, 1, 2, 5} set, and you will plot each signal in a different subwindow. Therefore, <sub_win> will take on values in the set {2, 3, 4, 5, 6}. Result: (Write the MATLAB Codes and print this graph) At which noise power level does the channel output become undistinguishable from noise? σ!! = [W] It is also possible to observe the effect of increasing the noise power by plotting the PSD of the channel output. First, produce a plot of the PSD of the modulated signal s: >> b = round(rand(1,1000)); >> s = modul(b, bipolar_nrz, Fd, Fs); >> [Ss,f] = psd(s,length(s),fs, mean ); >> clf, subplot(221), plot(f,ss), a = axis; >> title( PSD of original signal ); Then, produce a series of PSDs corresponding to the channel output with noise power levels {0.01, 1, 5} and plot them in a separate subwindow. The <sub_win> variable will take on values in the set {2, 3, 4}. >> [Sx,f] = psd(bbchannel(s,1,<noise_power>,4900),length(s), Fs, mean ); >> subplot(22<sub_win>), plot(f,sx); axis(a); >> title( PSD of received signal; noise power = <noise_power>w ); Result: (Write the MATLAB Codes and print this graph) 2.4 We will now look at the effects of channel bandwidth on the transmitted signal. The channel we are studying in this experiment is an ideal low-pass filter and it introduces distortion by cutting off the higher portion of the signal s spectrum. To study this effect, set the noise power to zero and generate output waveforms for channel bandwidths of {4900, 3000, 2000, 1000, 500} Hz : >> clf; >>b = [0 1 0 0 1 0 0 1 1 0]; >> s = modul(b, bipolar_nrz, Fd, Fs);

>> subplot(611), scope(s, one- shot,10*t); >> subplot(612), scope(bbchannel(s,1,0,4900), one- shot, 10*T); >> subplot(613), scope(bbchannel(s,1,0,3000), one- shot, 10*T); and so on for the other bandwidth values... You should now have a series of 6 plots with the top plot being the original transmitted waveform and the subsequent plots showing increasing levels of distortion. Result: (Write the MATLAB Codes and print this graph)

Questions Q1. Assuming unit pulse amplitude and binary data rate Rb = 1 kb/s, plot the waveforms representing the binary sequence b ={ 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1} using the following line codes: a) unipolar NRZ1 (on-off signaling); b) binary antipodal signaling (bipolar NRZ); c) Alternate Mark Inversion (AMI) d) Manchester (split-phase); Q2. Determine analytically and sketch the power spectral density functions for each of the above line codes. Use a bit rate of Fd = 1 kb/s. Q3. Determine the bandwidth for the line codes in question 1 as a function of Fd.