Docsity

TELE3013 Telecommunication Systems 1: Lab 5 - Digital Signals: Eye Patterns and Line Codes, Study notes of Digital Electronics

Toggle sidebar
bg1
3013LAB5 TELE3013 Lab 5 1
TELE3013 TELECOMMUNICATION SYSTEMS 1
Lab 5: Digital Signals: Eye Patterns and Line Codes
1. INTRODUCTION
In the first part of this experiment a binary digital signal will be generated using the (pseudo–
random) Sequence Generator and the effects of additive noise and filtering will be examined. In
particular the so called ā€œeye patternā€ will be generated from the binary data signal. In the second
part, the line coding module will be used to encode the binary data signal (from the Sequence
Generator) into several different line codes whose waveforms and spectra will be compared.
The general form of a binary digital signal can be represented by
āˆ‘āˆ‘ āˆ’āˆ’==
nbn)nTt(a)t(sρρ
where {an} is a set of binary symbols {0 and 1, or -1 and +1} produced by the Sequence
Generator, ρ(t) is the waveform of a pulse (rectangular in this case) and Tb is the bit period with
R = 1/Tb being the bit rate.
pf3
pf4
pf5

Partial preview of the text

Download TELE3013 Telecommunication Systems 1: Lab 5 - Digital Signals: Eye Patterns and Line Codes and more Study notes Digital Electronics in PDF only on Docsity!

3013LAB5 TELE3013 Lab 5 1

TELE3013 TELECOMMUNICATION SYSTEMS 1

Lab 5: Digital Signals: Eye Patterns and Line Codes

1. INTRODUCTION

In the first part of this experiment a binary digital signal will be generated using the (pseudo– random) Sequence Generator and the effects of additive noise and filtering will be examined. In particular the so called ā€œeye patternā€ will be generated from the binary data signal. In the second part, the line coding module will be used to encode the binary data signal (from the Sequence Generator) into several different line codes whose waveforms and spectra will be compared.

The general form of a binary digital signal can be represented by

n n^ b

s( t) a ρρ (t nT )

where {an} is a set of binary symbols {0 and 1, or -1 and +1} produced by the Sequence Generator, ρ(t) is the waveform of a pulse (rectangular in this case) and Tb is the bit period with R = 1/Tb being the bit rate.

3013S2L5 TELE3013: Lab 5 2

2. PREPARATION

P1. P1. A rectangular pulse signal

0 |t| T / 2 w (t)^1 |t| T /^2 b

b

is transmitted through a channel modelled by an ideal lowpass filter with a frequency response,





== ≤≤ 0 f| B H (f)^1 f B |

| |

Sketch w(t) and the approximate waveform of the channel output signal when i) B = 4/Tb, ii) B = 2/Tb iii) B = 1/4Tb.

You can compute and plot the channel output using MATLAB. Useful MATLAB functions are convconv (convolution) or filterfilter, sincsinc, square,square, fft,fft, fftshiftfftshift and, of course, plotplot.

P2. P2. Sketch both unipolar NRZ and polar–RZ line codes for the binary message sequence {1 0 1 1 0 0 1 0 1 1 0 1 1 0 0 1} assuming a rectangular pulse shape. Now the message is to be transmitted through an M-ary system with M=8. Sketch the waveform for the message waveform in the M-ary system?

P3. P3. Sketch the waveforms of a message sequence {1 0 0 0 1 1 1 0 1 1 0 1 1 0 1} when it is modulated by ASK, BPSK and FSK, respectively.

3013S2L5 TELE3013: Lab 5 4

3.1.1 Pulses and Eye Patterns Use the Baseband Channel Filter for h(t) and set the Audio Oscillator for a bit rate of about 1 kbit/sec. The Sequence Generator has been internally set to produce a periodic sequence of 2^5 – 1 = 31 bits. a) To observe the individual pulses of the digital signal, trigger the oscilloscope with the sync signal from the Sequence Generator. With no noise observe and sketch i) the Clock signal, ii) the Sync signal and iii) the pseudo–random data signal before and after the filter, h(t) for all three filters of the Baseband Channel Filter module. b) To observe the eye pattern, trigger the oscilloscope with the TTL Clock signal and select a time base to view one or two eyes (i.e. one or two bit periods). Again with no noise observe and record the eye patterns for each of the Baseband Channel Filters. Note the maximum magnitude of the eye opening. c) Observe the effects of additive noise on the digital signal and the eye patterns for the three filters of the Baseband Channel Filter module. The noise level should be at +22 dB and the gain of the Adder should be 1.

3.1.2 Frequency Spectrum Observe and record the spectrum and bandwidth of the signal plus noise before and after the Baseband Channel Filter by using the MATLAB commands (use only one of the filters), getrec(1024, 22050, 16): Also observe and record the noise signal spectrum and its rms value (standard deviation) using the MATLAB commands, getrec(1024, 22050, 16); load x.dat std(x)

3.1.3 Variable Bit Rate or Bandwidth Without additive noise, increase the digital signal bit rate (or bandwidth) and record in a table the frequency at which the eye pattern is just closed for each of the three Baseband Channel Filters. Establish an (approximate) relation between the channel bandwidth and the bit rate at which the eye is closed.

3013LAB5 TELE3013 Lab 5 5

3.2 Digital Line Codes

3.2.1 Line Encoding and Decoding with a Non–inverting Channel Set up the following baseband digital communication system using the Line Code Encoder and Decoder modules.

CH1A, CH1B, CH2A and CH2B are the Oscilloscope Display selector channels.

Read the TIMS manual entry for the Line Code Encoder and Decoder modules.

The Sequence Generator produces a digital signal which is a pseudo–random sequence of pulses at the bit rate. A TTL level clock should always be connected to the Master Clock (Mclk) input. Note that the frequency of the output Bit Clock (Bclk) signal will be one quarter of the applied Master Clock signal. Connect the 8.3 kHz TTL clock (available from the Master Signals module) to the Master Clock. The input Data stream at the Line Encoder should always be generated by or clocked with this module’s Bit Clock signal. The resulting encoded bit appears at the Encoder’s outputs on the following negative Bit Clock edge. The output is directly connected to the clock of the Sequence Generator.

There are eight output Line Code waveforms generated by the Line Encoder. In this experiment we will look at four them (NRZ–L, UNI–RZ, RZ–AMI and BiĆ˜ā€“L). Select one of the Encoder

Sequence Generator

Line Code Encoder

Line Code Decoder syncsync

clkclk

LineLinecodecode LineLine resetreset (^) codecode resetreset

MclkMclk (^) bclkbclk bclkbclk

triggerinput

TTL data TTL data datadata

Master Signals

8.3kHz8.3kHzTTLTTL

strbstrb

datadata CH1B

CH1A

CH2B

CH2A