BER MEASUREMENT IN THE NOISY CHANNEL

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

CONVOLUTIONAL CODING

BASE-LINE WANDER & LINE CODING

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

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

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

BLOCK CODING & DECODING

Experiment 4: Eye Patterns

Experiment 13 Sampling and reconstruction

R3B Si TRACKER CABLE TEST REPORT

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

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

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

Experiment 9 Analog/Digital Conversion

Technical Description

Exercise 1-2. Digital Trunk Interface EXERCISE OBJECTIVE

MP212 Principles of Audio Technology II

The Measurement Tools and What They Do

OWNERS MANUAL LUNATEC V3 MICROPHONE PREAMPLIFIER AND A/D CONVERTER

AIM: To study and verify the truth table of logic gates

OTM-3000-I FREQUENCY AGILE TELEVISION MODULATOR PAL I STANDARD INSTRUCTION MANUAL

ASNT_PRBS20B_1 18Gbps PRBS7/15 Generator Featuring Jitter Insertion, Selectable Sync, and Output Amplitude Control

RX40_V1_0 Measurement Report F.Faccio

Datasheet SHF A

DIGITAL COMMUNICATION

Analogue Versus Digital [5 M]

OTM-3550-SW FREQUENCY AGILE F.C.C. COMPATIBLE TELEVISION MODULATOR INSTRUCTION MANUAL

Electrical and Electronic Laboratory Faculty of Engineering Chulalongkorn University. Cathode-Ray Oscilloscope (CRO)

SM02. High Definition Video Encoder and Pattern Generator. User Manual

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Revision History. SDG2000X Firmware Revision History and Update Instructions

FSK Transmitter/Receiver Simulation Using AWR VSS

EC 6501 DIGITAL COMMUNICATION

FRQM-2 Frequency Counter & RF Multimeter

INSTRUCTION MANUAL FOR MODEL IOC534 LOW LATENCY FIBER OPTIC TRANSMIT / RECEIVE MODULE

CS311: Data Communication. Transmission of Digital Signal - I

32 G/64 Gbaud Multi Channel PAM4 BERT

Agilent Technologies. N5106A PXB MIMO Receiver Tester. Error Messages. Agilent Technologies

AMEK SYSTEM 9098 DUAL MIC AMPLIFIER (DMA) by RUPERT NEVE the Designer

40G SWDM4 MSA Technical Specifications Optical Specifications

Datasheet SHF A Multi-Channel Error Analyzer

J R Sky, Inc. tel: fax:

Agilent E4430B 1 GHz, E4431B 2 GHz, E4432B 3 GHz, E4433B 4 GHz Measuring Bit Error Rate Using the ESG-D Series RF Signal Generators, Option UN7

Getting Started with the LabVIEW Sound and Vibration Toolkit

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

Part No. ENC-LAB01 Users Manual Introduction EncoderLAB

Draft Baseline Proposal for CDAUI-8 Chipto-Module (C2M) Electrical Interface (NRZ)

What is sync? Why is sync important? How can sync signals be compromised within an A/V system?... 3

IT T35 Digital system desigm y - ii /s - iii

Chapter 9 Introduction to Sequential Logic

DSA-1. The Prism Sound DSA-1 is a hand-held AES/EBU Signal Analyzer and Generator.

A MISSILE INSTRUMENTATION ENCODER

Manual Supplement. This supplement contains information necessary to ensure the accuracy of the above manual.

Generation of Novel Waveforms Using PSPL Pulse Generators

Tutorial on Technical and Performance Benefits of AD719x Family

OTD-3000-DC FREQUENCY AGILE TELEVISION DEMODULATOR. PAL-D (China) STANDARD INSTRUCTION MANUAL

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

Application Note AN-708 Vibration Measurements with the Vibration Synchronization Module

The EMC, Signal And Power Integrity Institute Presents

University of Utah Electrical & Computer Engineering Department ECE1050/1060 Oscilloscope

Digital Delay / Pulse Generator DG535 Digital delay and pulse generator (4-channel)

Generation and Measurement of Burst Digital Audio Signals with Audio Analyzer UPD

Benefits of the R&S RTO Oscilloscope's Digital Trigger. <Application Note> Products: R&S RTO Digital Oscilloscope

The Discussion of this exercise covers the following points:

Chapter 5 Flip-Flops and Related Devices

successive approximation register (SAR) Q digital estimate

Synthesis Technology E102 Quad Temporal Shifter User Guide Version 1.0. Dec

NAPIER. University School of Engineering. Advanced Communication Systems Module: SE Television Broadcast Signal.

MODULE 3. Combinational & Sequential logic

DELTA MODULATION AND DPCM CODING OF COLOR SIGNALS

Plog rev 1.0 MANUAL Overview

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

PicoScope 6407 Digitizer

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

D R M A X - 2 DDS FREQUENCY SYNTHESIZED DRM MW TRANSMITTER. User s Guide (Please read carefully before using for the first time!)

CMS Conference Report

Noise Detector ND-1 Operating Manual

WAVEJET 300 SERIES OSCILLOSCOPES. New Cover to Come. Unmatched Performance, Portability, and Value

40G SWDM4 MSA Technical Specifications Optical Specifications

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

DIGITAL ELECTRONICS MCQs

Full Disclosure Monitoring

Synchronization Issues During Encoder / Decoder Tests

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Digital Circuits I and II Nov. 17, 1999

Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003

Performing a Sound Level Measurement

99 Washington Street Melrose, MA Fax TestEquipmentDepot.com OPERATION MANUAL. The Best Thing on Cable

Portable Performance for Debug and Validation

Arbitrary Waveform Generator

GFT channel Time Interval Meter

WAVEJET 300 SERIES OSCILLOSCOPES. Unmatched Performance, Portability, and Value

Physics 323. Experiment # 10 - Digital Circuits

Using an oscilloscope - The Hameg 203-6

Specification of interfaces for 625 line digital PAL signals CONTENTS

News from Rohde&Schwarz Number 195 (2008/I)

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS

BTV Tuesday 21 November 2006

Transcription:

BER MEASUREMENT IN THE NOISY CHANNEL PREPARATION... 2 overview... 2 the basic system... 3 a more detailed description... 4 theoretical predictions... 5 EXPERIMENT... 6 the ERROR COUNTING UTILITIES module... 6 modelling the transmission system... 7 1.0: the transmitter... 7 2.0: the channel model... 8 3.0: the receiver... 8 4.0: the BER measurement instrumentation... 9 5.0 error counting with noise... 11 preparation... 11 adding noise - principle... 12 adding noise - practice... 12 6.0 DC threshold adjustment... 13 method #1... 14 method #2... 14 measuring the BER... 14 role of the filter... 15 conclusion... 15 TUTORIAL QUESTIONS... 15 APPENDIX... 17 the ERROR COUNTING UTILITIES module... 17 X-OR gate... 17 gate timing pulse... 17 copyright 2005 Emona Instruments Pty Ltd D2-01.DOC-rev 2.0-1

BER MEASUREMENT IN THE NOISY CHANNEL ACHIEVEMENTS: ability to set up a digital communications system over a noisy, bandlimited channel, with provision for line-coding, and instrumentation for BER measurements. This system will be used for many future experiments. PREREQUISITES: completion of the first five experiments in Volume D1 would be an advantage, especially those entitled The noisy channel model, and Detection with the DECISION MAKER. EXTRA MODULES: LINE-CODE ENCODER, LINE-CODE DECODER, DECISION MAKER, NOISE GENERATOR, ERROR COUNTING UTILITIES, WIDEBAND TRUE RMS METER, an extra SEQUENCE GENERATOR, BASEBAND CHANNEL FILTERS. PREPARATION overview This experiment serves as an introduction to bit error rate (BER) measurement. It models a digital communication system transmitting binary data over a noisy, bandlimited channel. A complete instrumentation setup is included, that allows measurement of BER as a function of signal-to-noise ratio (SNR). Many variations of this system are possible, and the measurement of the performance of each of these can form the subject of separate experiments. In this first experiment the system is configured in its most elementary form. Other experiments can add different forms of message coding, line coding, different channel characteristics, bit clock regeneration, and so forth. D2-01.DOC - 2 copyright 2005 Emona Instruments Pty Ltd

BER measurement in the noisy channel the basic system A simplified block diagram of the basic system is shown in Figure 1 below. PRBS NOISY BANDLIMITED CHANNEL DETECTOR X-OR ERROR COUNT BIT CLOCK REFERENCE MESSAGE stolen bit clock TRANSMITTER CHANNEL RECEIVER INSTRUMENTATION Figure 1: block diagram of system The system can be divided into four sections: the transmitter At the transmitter is the originating message sequence, from a pseudo random binary sequence (PRBS) generator, driven by a system bit clock. the channel The channel has provision for changing its bandlimiting characteristic, and the addition of noise or other sources of interference. the receiver The receiver (detector) regenerates the transmitted (message) sequence. It uses a stolen bit clock. the BER instrumentation The instrumentation consists of the following elements: 1. a sequence generator identical to that used at the transmitter. It is clocked by the system bit clock (stolen, in this case). This sequence becomes the reference against which to compare the received sequence. 2. a means of aligning the instrumentation sequence generator with the received sequence. A sliding window correlator is used. This was introduced in the experiment entitled Detection with the DECISION MAKER in Volume D1. 3. a means of measuring the errors, after alignment. The error signal comes from an X-OR gate. There is one pulse per error. The counter counts these pulses, over a period set by a gate, which may be left open for a known number of bit clock periods. D2-01.DOC - 3 copyright 2005 Emona Instruments Pty Ltd

a more detailed description Having examined the overall operation of the basic system, and gained an idea of the purpose of each element, we proceed now to show more of the specifics you will need when modelling with TIMS. So Figure 1 has been expanded into Figure 2 below. The detector is the DECISION MAKER module, introduced in the experiment entitled Detection with the DECISION MAKER. The LINE-CODE ENCODER and LINE-CODE DECODER modules were introduced in the experiment entitled Line coding in Volume D1. SEQUENCE GENERATOR PRBS sync reset bit clk 2.083 khz LINE CODE ENCODER MASTER CLOCK 8.333 khz TRANSMITTER NOISE BANDLIMITED CHANNEL adjust to detector threshold stolen bit clock CHANNEL DETECTOR RECEIVER LINE CODE DECODER retimed bit clock CLOCKED X-OR make and break for alignment Figure 2: block diagram of system in more detail ERROR COUNT gate SEQUENCE GENERATOR PRBS sync reset bit clk INSTRUMENTATION The extra detail in Figure 2 includes: 1. provision for transforming the data before transmission, using any one of a number of line codes. In this experiment we use the NRZ-L code which provides level shift and amplitude scaling, to suit the analog channel. 2. bit clock generation. Because the line coder requires quarter-bit-period timing information, it is driven by a master clock at four-times the bit-clock rate. The timing information is obtained by dividing the master clock by four (within the LINE-CODE ENCODER). This divided-by-four version of the master clock becomes the system bit clock. 3. provision for adding noise to the channel via the adder on the input side of the bandlimiting channel. 4. inclusion of an ADDER on the output side of the channel. This restores the polarity change introduced by the input ADDER (for line codes which are polarity sensitive). It also provides an opportunity to fine-trim the DC level to match the threshold of the DECISION MAKER. 5. a decoder for the line code. 6. instrumentation for SNR adjustment (not shown) and BER measurement. D2-01.DOC - 4 copyright 2005 Emona Instruments Pty Ltd

BER measurement in the noisy channel theoretical predictions Bit error probability (P B ) is a function of E n /N o. For matched filter reception of bipolar baseband signalling it has been shown that: P B = Q 2E N o b... 1 The symbols are defined in the Chapter entitled BER instrumentation macro module in this Volume You will measure not P B, but BER; and not E n /N o, but SNR. Figure 3 shows theoretical predictions, based on eqn(1) above. Figure 3 theoretical expectations - BER versus SNR (for bi-polar signalling) D2-01.DOC - 5 copyright 2005 Emona Instruments Pty Ltd

EXPERIMENT Familiarity with the setting up of a transmitter, receiver, and noisy channel, using a stolen clock for bit clock synchronization, and the sliding window correlator for sequence alignment, is assumed. The system under examination, the principle of which is illustrated in block diagram form in Figure 1, is shown modelled by the patching diagram of Figure 4 on the next page. Within that diagram is included the macro CHANNEL MODEL module, and the BER INSTRUMENTATION macro module. The macro CHANNEL MODEL module was introduced in the experiment entitled The noisy channel model in Volume D1, which you should already have completed. As a reminder, details of the macro CHANNEL MODEL module are reproduced in Figure 4 below. ANY FILTER MODULE IN OUT INPUT and noise level adjust OUTPUT and DC threshold adjust IN OUT Figure 4: details of the macro CHANNEL MODEL module Remember that, during testing, and afterwards, the oscilloscope triggering comes from: the SYNC output from the transmitter SEQUENCE GENERATOR for snapshots the bit clock for eye patterns. the ERROR COUNTING UTILITIES module This is the first time the pulse counting capabilities of the ERROR COUNTING UTILITIES module have been used. A complete description of the characteristics and behaviour of the module can be obtained from the TIMS Advanced Modules User Manual. A condensed description of its function is given in the Chapter entitled Digital utility sub-systems in this Volume, under the two headings Timed Pulse (for the counting function) and Exclusive-OR. D2-01.DOC - 6 copyright 2005 Emona Instruments Pty Ltd

BER measurement in the noisy channel modelling the transmission system The system to be modelled is shown in Figure 5. It will be patched up systematically, section by section, according to the scheme detailed below. It has not been cluttered by showing oscilloscope connections. You should set up the SCOPE SELECTOR for maximum usage of the facility for toggling between the A and B options for each channel. data in Z-MOD data out re-timed bit clock? stolen bit clock TRANSMITTER NOISY CHANNEL RECEIVER INSTRUMENTATION Figure 5: the TIMS model of Figure 2 1.0: : the transmitter T1.1 patch the transmitter according to Figure 5, from a SEQUENCE GENERATOR (set to a short sequence - both toggles of SW2, on circuit board, UP), a LINE-CODE ENCODER (using NRZ-L), and the MASTER SIGNALS module. Note that the LINE-CODE ENCODER accepts the master clock, which is the 8.333 khz TTL sample clock from the MASTER SIGNALS module, and divides it by four to produce the 2.083 khz system bit clock for the SEQUENCE GENERATOR. T1.2 press the reset on the LINE-CODE ENCODER. Check on CH1-A that a short TTL sequence has been generated by the SEQUENCE GENERATOR. T1.3 simultaneously with the previous observation on CH1-A, check the NRZ-L output of the LINE-CODE ENCODER on CH2-A. Relative to the TTL on CH1-A it will be delayed half a bit period. This is the signal being transmitted to the channel. Confirm the code format. D2-01.DOC - 7 copyright 2005 Emona Instruments Pty Ltd

2.0: : the channel model The macro CHANNEL MODEL module is shown modelled in Figure 4. T2.1 patch up the channel according to Figure 4 and insert it into the position shown in Figure 5. T2.2 set the front panel attenuator of the NOISE GENERATOR to maximum output; but reduce the channel noise to zero by rotating the INPUT ADDER gain control g fully anti-clockwise. T2.3 adjust the amplitude of the signal into the BASEBAND CHANNEL FILTERS module to near the TIMS ANALOG REFERENCE LEVEL (say, 2 volt peak-to-peak) with the INPUT ADDER gain control G. This level will need resetting when noise is added. T2.4 select channel #3 of the BASEBAND CHANNEL FILTERS module. T2.5 set the gain of the DC threshold adjustment path through the OUTPUT ADDER to zero. T2.6 adjust the amplitude of the signal out of the CHANNEL MODEL to, say, 2 volt peak-to-peak with the OUTPUT ADDER gain control G. The gain through the channel is now unity. T2.7 confirm that the signal at the OUTPUT ADDER, although of different shape, and further delayed, is clearly related to the input sequence. When tracing the sequence through the system, notice that there is a polarity inversion introduced by the INPUT ADDER of the channel, and a second inversion introduced by the OUTPUT ADDER. 3.0: : the receiver The receiver consists of the DECISION MAKER and LINE-CODE DECODER modules. T3.1 before plugging in the DECISION MAKER: a) switch the on-board switch SW2 to IN (DECISION POINT can now be adjusted with the front panel control). b) select the expected line code with the on-board rotary switch SW1 (upper rear of board). For this experiment it is NRZ-L. D2-01.DOC - 8 copyright 2005 Emona Instruments Pty Ltd

BER measurement in the noisy channel T3.2 patch up the DECISION MAKER, including the Z-MOD output to the oscilloscope. It is assumed that the Z-MOD adjustments have been made on the circuit board to suit your oscilloscope 1. T3.3 trigger the oscilloscope from the bit clock, and obtain an eye pattern at the channel output. Adjust the sampling instant, with the DECISION MAKER front panel control, to the centre of the eye. Remember that some fine adjustment of the intensity control of the oscilloscope will probably be necessary to easily identify the bright spot at the sampling instant. T3.4 trigger the oscilloscope from the SYNC output of the transmitter SEQUENCE GENERATOR. Check that the reconstructed analog output from the DECISION MAKER is a delayed version of, but otherwise the same shape as, that at the channel input. T3.5 refer to the DECISION MAKER in the TIMS User Manual for threshold level information. This varies according to the code in use. For the NRZ-L code the threshold is approximately 25 mv. Thus the input signal amplitude must either swamp any possible DC threshold, or, if small, must be adjusted to straddle it. There is provision in the model (the OUTPUT ADDER) for this; it will be checked in the next Section. For now confirm that the output waveform is centred approximately about zero volts. T3.6 patch up the LINE-CODE DECODER, selecting the NRZ-L output. T3.7 press the reset on the LINE-CODE DECODER. Check that the TTL output sequence is identical, except for a delay, with that at the transmitter SEQUENCE GENERATOR output. Do not proceed unless these two TTL signals are identical! 4.0: : the BER measurement instrumentation The transmission system is now fully set up. You will now proceed to verify its overall operation. The BER measurement instrumentation system is used to generate an identical sequence to that transmitted, and aligned with that from the receiver detector. These two sequences will be compared, bit by bit, and any disagreements counted. The count is made over a pre-determined number of bit clock periods, and so the bit error rate (BER) may be calculated. You will record the BER for various levels of noise, and compare with theoretical expectations. D2-01.DOC - 9 1 refer to the experiment entitled Detection with the DECISION MAKER. in Volume D1 copyright 2005 Emona Instruments Pty Ltd

T4.1 patch up according to Figure 5. Note the instrumentation (receiver) SEQUENCE GENERATOR uses the LINE-CODE DECODER strobe as its bit clock. Trigger the oscilloscope for a snapshot. Check that there is a short sequence coming from the instrumentation SEQUENCE GENERATOR output. T4.2 see the Appendix to this experiment for a short description of the ERROR COUNTING UTILITIES module, including on-board jumper and switch settings. Plug it in. Check that the line from the X-OR output to the instrumentation SEQUENCE GENERATOR RESET is open. T4.3 observe the two inputs to the X-OR gate simultaneously. It is unlikely that they are aligned, but they should be synchronized. Your good work is about to be rewarded with the sight of the two sequences snapping into alignment. T4.4 momentarily close the line from the X-OR output to the instrumentation SEQUENCE GENERATOR RESET. Confirm that the two sequences, already synchronized, are now aligned. If you want to see the sliding window correlator at work again, press the reset on the instrumentation SEQUENCE GENERATOR, and alignment will be lost. Realign by repeating the last Task. T4.5 set the FREQUENCY COUNTER to its COUNT mode, and patch it into the system, complete with the gate signal from the ERROR COUNTING UTILITIES module. T4.6 switch the gate of the ERROR COUNTING UTILITIES, with the PULSE COUNT switch, to be active for 10 5 bit clock periods. Make a mental calculation to estimate how long that will be! T4.7 to make an error count: a) reset the FREQUENCY COUNTER. b) start the error count by pressing the TRIG button of the ERROR COUNTING UTILITIES module. The active LED on the ERROR COUNTING UTILITIES module will light, and remain alight until 90% of the count is completed, when it will blink before finally extinguishing, indicating the count has concluded. D2-01.DOC - 10 copyright 2005 Emona Instruments Pty Ltd

BER measurement in the noisy channel With no noise there should be no errors. But... warning: every time a count is initiated one count will be recorded immediately. This is a confidence count, to reassure you the system is active, especially for those cases when the actual errors are minimal. It does not represent an error, and should always be subtracted from the final count. Despite the above single confidence-count you may wish to make a further check of the error counting facility, before using noise. T4.8 if the ERROR COUNTING UTILITIES GATE is still open press the instrumentation SEQUENCE GENERATOR reset button (else press the TRIG to open the GATE). The sequences should now be out of alignment. The counter will start counting (and continue counting) errors until the GATE shuts. It will record a count of between 2 and 10 n (with the PULSE COUNT switch set to make 10 n counts). You will record a different count each time this is repeated. Why would this be? well done! You have just completed a major setting-up procedure. If it was achieved without any problems you are to be congratulated! Although TIMS itself will behave reliably, it is easy to make patching errors, and their discovery and rectification is all part of the learning process. You are now almost ready to sit back and let TIMS do the measurements for you. 5.0 error counting with noise preparation T5.1 increase the message sequence length of both SEQUENCE GENERATOR modules (both toggles of SW2 DOWN). See Tutorial Question Q2. T5.2 re-establish sequence alignment by pressing all the reset buttons, in order input to output, then momentarily connect the X-OR output to the instrumentation SEQUENCE GENERATOR RESET input. D2-01.DOC - 11 copyright 2005 Emona Instruments Pty Ltd

adding noise - principle It is now time to add the noise to the signal. Noise must be introduced before bandlimiting, since the channel bandlimiting filters are required to bandlimit the noise as well. The noise from the NOISE GENERATOR is wideband. Its peak amplitude must not overload an analog module, so its output has been restricted to 4 volt peak-topeak (the TIMS ANALOG REFERENCE LEVEL). As soon as it is bandlimited, this amplitude is reduced. Amplification cannot be used to bring it up to a convenient level until after bandlimiting. But by this time the signal has been added, so that is not possible. So the only way to obtain a small signal-to-noise ratio (relatively high noise) is to reduce the signal level. This is done with the INPUT ADDER. To set the noise level: a) remove the signal from the channel input b) add as much noise as is available, to implement the worst SNR possible, by maximising the gain through the INPUT ADDER, and setting the attenuator of the NOISE GENERATOR for maximum noise output. The SNR can later be increased - less noise - with this attenuator. c) measure the noise level into the DECISION MAKER with the WIDEBAND TRUE RMS METER. Then remove the noise, replace the signal, and adjust it to the same level. d) replace the noise. The SNR is 0 db. The system is now set up for the worst conditions under which measurements are to be made. From now on the SNR will be improved, in calibrated steps of the NOISE GENERATOR attenuator, and BER measurements recorded. The above steps will now be implemented. adding noise - practice T5.3 patch both the oscilloscope and the WIDEBAND TRUE RMS METER to observe the signal at the output of the channel. T5.4 reduce the signal amplitude to zero with the G gain control of the INPUT ADDER. T5.5 set the attenuator of the NOISE GENERATOR for maximum output. Increase the noise level into the channel, with the INPUT ADDER, to maximum. Record the reading of the rms meter (N volt rms amplitude). T5.6 remove the noise by unplugging the patch cord from the INPUT ADDER. T5.7 introduce some signal with the G control of the channel INPUT ADDER, until the rms meter is reading the same as the previous noise reading. Record this reading (S volt rms amplitude). D2-01.DOC - 12 copyright 2005 Emona Instruments Pty Ltd

BER measurement in the noisy channel T5.8 replace the noise. Do not disturb the INPUT ADDER gain settings from now on! T5.9 check the signal level at the channel output. Use the G gain control of the OUTPUT ADDER to raise the input level to the DECISION MAKER to the TIMS ANALOG REFERENCE LEVEL (4 V peak-to-peak is allowable, although there may be insufficient gain in the ADDER). The SNR is now set up to a reference value 10 log 10 S2 N2 db and this will be 0 db. However you may have your own reasons for selecting some other ratio, but it needs to result in many errors. From now on you can only reduce the noise, using the calibrated attenuator of the NOISE GENERATOR. This will increase the SNR, which will in turn reduce the error rate. warning: if alignment is ever lost the noise must be removed before attempting re-alignment! T5.10 set the SNR to, say, 10 db, and set the decision instant with the aid of an eye pattern. 6.0 DC threshold adjustment The effect of any DC threshold of the DECISION MAKER must be offset with DC introduced by the OUTPUT ADDER. Two methods are suggested. 1. after setting up as above, add a small DC to the signal from the channel. If the error count can be reduced then adjust for the smallest count. 2. set the DC output from the channel to +25 mv. This is the threshold level of the DECISION MAKER in NRZ-L mode. Recall the measurement made in this regard in the experiment entitled Detection with the DECISION MAKER in Volume D1. See Tutorial Question Q3. Now implement one or the other method of threshold adjustment. D2-01.DOC - 13 copyright 2005 Emona Instruments Pty Ltd

method #1 T6.1 set the PULSE COUNT on the DECISION MAKER to 10 5 and press the TRIG button. Adjust the noise level with the attenuator so that errors are accumulating at about 10 per second (watch the second last digit). T6.2 rotate the VARIABLE DC level about 45 0 anti-clockwise. Advance the g control of the OUTPUT ADDER about 20 0. The error rate should increase. T6.3 slowly reduce the DC offset voltage magnitude (rotate the VARIABLE DC control clockwise towards zero). The error rate should slowly reduce, then increase. Return to the lowest rate and stay there. This is an important adjustment. It takes some practice. At all times set the error rate (with the noise source attenuator) so it is about 10 errors per second. Concentrate on the second last, and then the last digit, as the minimum is approached. method #2 T6.4 remove both inputs from the INPUT ADDER. Using both the VARIABLE DC control and the OUTPUT ADDER g control, set the DC level at the input to the DECISION MAKER +25 mv (use the WIDEBAND TRUE RMS METER). Replace the inputs to the INPUT ADDER. measuring the BER Everything is now set up for some serious measurements. It is assumed that: both SEQUENCE GENERATORS are set for long sequences (both toggles of the on-board switch SW2 are DOWN). line code NRZ-L has been patched (for this experiment) on the LINE-CODE ENCODER and LINE-CODE DECODER. line code NRZ-L has been selected with SW1 on the DECISION MAKER board. all reset button have been pushed (in turn from input to output). levels throughout the system have been set correctly (typically with SNR = 0 db with max noise from the NOISE GENERATOR). DC threshold at the DECISION MAKER has been accounted for. D2-01.DOC - 14 copyright 2005 Emona Instruments Pty Ltd

BER measurement in the noisy channel signal into the DECISION MAKER is ideally at the TIMS ANALOG REFERENCE LEVEL (but probably considerably lower with the model of Figure 4). the DECISION POINT of the DECISION MAKER has been set up, using an eye pattern (with moderate noise present - say an SNR of 10 db). the SEQUENCE GENERATOR at the receiver has been aligned with the incoming sequence (carried out with no noise present - a high SNR). conditions for a known (reference) SNR are recorded. channel bandwidth is recorded (eg, which filter of the BASEBAND CHANNEL FILTERS module is in use ). T6.5 measure BER according to the procedure in Task T4.7. Record the measurement, and the conditions under which it was made. Compare results with counts over short and long periods. T6.6 decrease the noise level by one increment of the NOISE GENERATOR front panel attenuator. Go to the previous Task. Loop as many times as appropriate. T6.7 plot BER versus SNR. Relate your results to expectations. role of the filter The characteristics of the filter will influence the result. The theoretical results assume an ideal filter. We do not have that. conclusion Future experiments will use this system configuration to measure BER under different conditions - for example, with the addition of error control coding, bit clock regeneration, and so on. It is important, then, that you familiarize yourself with the setting up procedures of the basic system which was the subject of this experiment. TUTORIAL QUESTIONS D2-01.DOC - 15 Q1 once sequence alignment is attained, the sliding window correlator is disabled. Explain why alignment is not lost even if the noise level is raised until the BER increases to unacceptably high levels. Q2 why were you advised to use a long sequence when counting errors? copyright 2005 Emona Instruments Pty Ltd

Q3 explain the principle of what you were doing when adjusting the DC at the input to the DECISION MAKER. D2-01.DOC - 16 copyright 2005 Emona Instruments Pty Ltd

BER measurement in the noisy channel APPENDIX ERROR COUNTING UTILITIES module A full description of this module is available in the TIMS Advanced Module User Manual. This should be essential reading before the module is used. Before use it is necessary to check the settings of the on-board switches SW1 and SW2, and the jumper J1. Briefly, the module consists of two sub-systems: X-OR gate This has two modes: 1. pulse mode: with a clock signal connected. Acts as a gated sub-system. Somewhere near the middle of each clock pulse it makes an X-OR decision regarding the two TTL inputs. Its output is a TTL HI if they are different, otherwise a LO. In the present application it compares each bit of the regenerated received signal with a reference generator. Differences - which represent errors - are counted by the FREQUENCY COUNTER in COUNT mode. 2. normal mode: with no clock input gate timing pulse This clocked sub-system, on receipt of a trigger pulse - manual or electronic - outputs a pulse of length (number of clock periods) determined by the front panel switch PULSE COUNT, the toggles of the on-board switch SW2, and jumper J1. In this experiment the trigger pulse is initiated by the front panel TRIG push button. Th GATE output pulse (a LO, selected by toggle 2 of the on-board switch SW1) is used to activate the FREQUENCY COUNTER, in COUNT mode. on-board settings for this experiment switch/jumper toggle position comments J1 NORM SW1 1 - TRIG HI - to left suits press button SW1 2 - GATE LO - to right counter activated on LO SW2 1 ON - to right PULSE COUNT switch SW2 2 ON - to right settings times unity D2-01.DOC - 17 copyright 2005 Emona Instruments Pty Ltd

D2-01.DOC - 18 copyright 2005 Emona Instruments Pty Ltd