Laboratory 4 Data Transmission Through A Noise-Limited Communication Channel
Laboratory 4 Data Transmission Through A Noise-Limited Communication Channel
This lab builds on Lab 3. The important concepts studied in this experiment are signal
corruption by additive noise, signal-to-noise ratio, and effect of noise on bit errors.
In ASCII text transmission, bit errors in an ASCII code translates into errors in characters.
For example, consider letter B, with ASCII code 1000010 (without parity bit). See ASCII
table in [2]. If a bit error occurs in the LSB bit, the received code is 1000011, which is
letter C. But if a bit error occurs in the 3rd bit from the left, the received code is 1000110
which is letter F. In the case of 4 bit errors occurring within the code as follows: 0100101,
then the received character is the symbol #.
The probability that a bit is received in error, or bit error rate (BER), is an important
characteristic of a communication channel. The BER increases if the noise power
increases with respect to the signal power, that is, if the signal-to-noise ratio (SNR)
decreases. The SNR is defined as the ratio of signal power to noise power. An SNR=1000
is typical in a telephone line. The variation of BER with SNR is depicted in Fig. 3. A
BER of 10-4 in a metallic channel is reasonable (i.e., 1 bit in 10,000 bits will be in error,
on the average).
If data is transmitted through a noisy channel at a bit rate R<C, then the BER can be
made reasonably small.
If data is transmitted through a noisy channel at a bit rate R>C, then the BER cannot be
made small (i.e., will be around 1).
The main purpose of this experiment is to connect 2 PCs via the low-pass channel circuit
(used in the previous experiment), and add a noise signal to the data signal by a summing
circuit, as shown in Fig. 4. The complete circuit showing the low-pass channel, the adder
circuit for the noise is given in Fig.5. The channel is implemented by the 1 st order RC
low-pass filter, and the summing circuit is realized by the 2 opamps and the 4 resistors, R.
This complete circuit is already built on the lab board. The labels point V1, point V2,
point V3, point V4 correspond to the points marked on the lab board. A picture of the
lab board is given in Picture 1 (note points V1, V2, V3, and V4). A picture of the board
hooked up to the oscilloscope and other equipment is given in Picture 2.
2. The SNR of a typical dial-up telephone line using modems is 1000. The
bandwidth of such line is W=4000 Hz.
Calculate the capacity (bits/sec) of such dial-up line.
3. Shannons formula is based on white noise. White noise in the channel has a
constant
power spectrum density (PSD), No. The noise power at the receiver is thus
N=NoW, where W is the channel bandwidth in Hertz. If S represents the signal
power, then the SNR=S/NoW. Rewrite the formula for C in Eq. (1). Let N o =
2x10-8 Watt/Hz, and S= 8x10-2 =0.08 Watt. Find the value of C when W goes to
infinity.
2. Lab Experiment
2.1 Objective: Transmit serial data from one PC to another across a low-pass
channel with ample bandwidth, but with additive noise. By varying the strength of the
noise, we observe the effect of noise on the character errors on the receiving PC.
2.2 Apparatus: Lab board, 2 PCs, 2 RS232 cables, oscilloscope, signal source,
noise source.
2.3 Procedure
1. Verify that the TD pin of PC1 (input) is connected to point V1 on the board.
Verify that the RD pin of PC2 (output) is connected to point V4 on the board.
Apply the noise signal to point V2 on the board. For noise, use a noise source if
one is available. If not, apply a square-wave or triangular signal with a some low
frequency (e.g., 100Hz) and a low amplitude around 1V. Such signal may affect
the data signal but should not be strong enough to destroy it.
Set the bit-rate on both PCs to 300 bps, and adjust the resistance of the filter
(channel) to a value such that the bandwidth is W=600Hz (answer in lab-sheet).
Using Hyperterminal transmit a text file from PC1 to PC2. The text should appear
error-free on PC2; if not, reduce the noise signal until you see no errors
2. Increase the frequency or the amplitude of the noise. Retransmit the text file from
PC1 to PC2. Repeat this step until character errors appear in PC2. Capture screens
of both PCs.
Note: if the amplitude of the noise signal is high enough, the opamps may
saturate, and the output signal may be completely garbled. To check this
condition, connect the scope at the output of the opamps and view the signal.
3. Repeat Step 2 until you see extensive character errors. Capture screens of both
PCs. See Note above.
3. Lab Answer Sheet
Preparation:
3. Let No = 2x10-8 Watt/Hz, and S= 8x10-2 =0.08 Watt. Find the value of C when W
goes
to infinity.
Answer: bps
Experiment:
4. References
[1]. http://tcts.fpms.ac.be/cours/1005-08/speech/projects/2001/delfabro_henry_poitoux/
[2]. http://www.asciitable.com/