Professional Documents
Culture Documents
INTRODUCTION
modules
basic: 2 x ADDER, TUNEABLE LPF, SEQUENCE GENERATOR
extra: SEQUENCE GENERATOR
advanced: LINE-CODE ENCODER, LINE-CODE DECODER, DECISION MAKER, NOISE
GENERATOR, ERROR COUNTING UTILITIES, WIDEBAND TRUE RMS METER
overview
This experiment models a digital communication system transmitting binary data over a noisy,
bandlimited baseband channel. It measures bit error rate (BER) as a function of signal-to-noise
ratio (SNR).
NOISY
PRBS BANDLIMITED ERROR
DETECTOR X-OR
CHANNEL COUNT
BIT REFERENCE
CLOCK MESSAGE
www.emona-tims.com 1/4
Emona-TIMS BER measurement - introduction L-41 rev 1.3
SEQUENCE
GENERATOR ERROR
LINE BANDLIMITED LINE
CODE DETECTOR COUNT
PRBS CHANNEL CODE CLOCKED
ENCODER DECODER X-OR
sync
gate
reset
bit clk
NOISE adjust to
2.083 kHz detector
threshold retimed
bit clock SEQUENCE
GENERATOR
MASTER
CLOCK PRBS
8.333 kHz sync
make and break
stolen bit clock for alignment reset
bit clk
Note:
1. line coding uses NRZ-L code; providing level shift and amplitude scaling to suit the
analog channel.
2. because the LINE-CODE ENCODER module requires quarter-bit-period timing
information, it is driven by a master clock at four-times the bit-clock rate. The result
becomes the system bit clock.
3. the bit clock for the receiver is stolen from the transmitter
experiment
Refresh your understanding of all the advanced modules to be used by referring to the TIMS
Advanced Modules User Manual. Also refer to the Lab Sheets in which they are described .
TIMS Lab Sheet copyright tim hooper 1999, amberley holdings pty ltd ACN 001-080-093 2/4
Emona-TIMS BER measurement - introduction L-41 rev 1.3
re-timed
2.083 kHz TTL bit clock
8.333 kHz TTL
stolen bit clock
transmitter
The LINE-CODE ENCODER and LINE-CODE DECODER modules are described in the Lab
Sheet entitled Line coding & decoding. Set the on-board switch of both of them to NRZ-L.
Initially use a short sequence from the SEQUENCE GENERATOR. Trigger the oscilloscope
with the start-of-sequence SYNCH signal, and monitor the message source on CH1-A.
channel
The channel macro model is defined in the Lab Sheet entitled The noisy channel. Use a
TUNEABLE LPF as the channel bandlimiting element. Set the NOISE GENERATOR to
maximum output, but reduce the channel noise to zero with the input ADDER control.
Initially set the message from the input ADDER to the TIMS ANALOG REFERENCE LEVEL (± 2V
peak) at the input to the TUNEABLE LPF. With the filter bandwidth set to maximum, monitor
the output on CH2-A. Set the gain of the channel (filter) to unity (input and output at the
TIMS ANALOG REFERENCE LEVEL).
Initially set the DC offset adjust output to zero, and the channel output ADDER gain to unity.
The input to the DECISION MAKER is now at the TIMS ANALOG REFERENCE LEVEL. This is
the point where the receiver signal-to-noise ratio will be measured.
receiver
The receiver uses the DECISION MAKER as the detector. This module is introduced in the
Lab Sheet entitled Detection with the DECISION MAKER. Set the on-board switches
appropriately - SW1 to NRZ-L; SW2 to INT. Presumably J1 has previously been set to suit
your oscilloscope.
Adjust the decision point to what you consider an optimum position (switch to an eye
pattern ?).
instrumentation
The BER INSTRUMENT macro model is described in the Lab Sheet entitled BER
instrumentation.
Set the reference SEQUENCE GENERATOR to the same sequence and sequence length as
that at the transmitter. Monitor its output (say on CH2-B). Confirm it is synchronized, but
probably not aligned, with the transmitted message.
Momentarily connect the patch lead to the RESET input of the reference SEQUENCE
GENERATOR. The two sequences should now be aligned. If not, carry out a step-by-step
check of all signals, from system input to output.
When confident the system is operating satisfactorily:
TIMS Lab Sheet copyright tim hooper 1999, amberley holdings pty ltd ACN 001-080-093 3/4
Emona-TIMS BER measurement - introduction L-41 rev 1.3
BER
Set up a reference signal-to-noise ratio at the detector input (we suggest 0 dB) by introducing
noise at the channel input. Monitor the detector input with the WIDEBAND TRUE RMS
METER, adjusting for equal noise and signal power. At all times ensure no signal-plus-noise
at any analog module input exceeds the TIMS ANALOG REFERENCE LEVEL. When finished, the
signal level to the detector, with negligible noise, should be at about half the reference level.
Reduce the SNR with the calibrated attenuator of the NOISE GENERATOR. Change each
SEQUENCE GENERATOR to a long sequence, and re-align them. Check for errors - there
should be almost none. Increase the noise; errors should appear. Compare with expectations !
conclusion
This experiment was intended to familiarize you with the general procedures of BER
measurement over a noisy, bandlimited channel.
Attention to detail throughout the setting up and measurement of the system is important. It
will be repaid by consistent and reproduceable results.
The system is sufficiently versatile to allow for expansion. For example, the insertion of
different modulation schemes between the message source and the channel; different line
coding schemes; different types of channel; and so on.
TIMS Lab Sheet copyright tim hooper 1999, amberley holdings pty ltd ACN 001-080-093 4/4