<< Chapter < Page Chapter >> Page >

The following M atlab program explores a noisy system. A sequence of four-level data is generated by calling the pam.m routine. Noise is then added with power specified by p , the number of errors caused by this amount of noise is calculated in err .

b=[0.5 1 -0.6];              % define channelm=1000; s=sign(randn(1,m));  % binary source of length m r=filter(b,1,s);             % output of channeln=4; f=[0 1 0 0]';           % center spike initializationmu=.01;                      % algorithm stepsize for i=n+1:m% iterate   rr=r(i:-1:i-n+1)';         % vector of received signal  e=(f'*rr)*(1-(f'*rr)^2);   % calculate error   f=f+mu*e*rr;               % update equalizer coefficientsend
DMAequalizer.m find a DMA equalizer f for the channel b (download file)

Typical outputs of noisychan.m are shown in [link] . Each plot shows the input sequence (the four solid horizontal lines), the input plus the noise(the cloud of small dots), and the error between the input and quantized output (the dark stars). Thus the dark stars thatare not at zero represent errors in transmission. The noise P in the right-hand case is the maximum noise allowable in the plausibility argument used to derive [link] , which relates the average amplitudes of thesignal plus the noise to the number of levels in the signal. For S = 1 (the same conditions as in [link] (a)), the noise was chosen to be independent and normally distributed with power P to ensure that 4 = 1 + P P . The middle plot used a noise with power P / 3 and the left-hand plot had noise power P / 6 . As can be seen from the plots, there were essentially no errorswhen using the smallest noise, a handful of errors in the middle, and about 6 % errors when the power of the noise matched the Shannon capacity.Thus, this naive transmission of four-level data (i.e., with no coding) has many more errors than the Shannon limit suggests.

Each plot shows a four-level PAM signal (the four solid lines), the signal plus noise (the scattered dots), and the error between the data and the quantized output (the dark stars). The noise in the right-hand plot was at the Shannon limit N≈sqrt(S+P_†)/sqrt(P_†), in the middle plot the noise was at one-third the power, and in the left-hand plot the noise was at one-sixth the power.
Each plot shows a four-level PAM signal (the four solid lines), the signal plus noise (the scattered dots), and the error betweenthe data and the quantized output (the dark stars). The noise in the right-hand plot was at the Shannon limit N S + P P , in the middle plot the noise was at one-third the power, and in the left-hand plot thenoise was at one-sixth the power.

Find the amplitudes of the N -level (equally spaced) signal with unity power when

  1. N = 4 .
  2. N = 6 .
  3. N = 8 .

Use noisychan.m to compare the noise performance of two-level, four-level, and six-level transmissions.

  1. Modify the program to generate two- and six-level signals.
  2. Make a plot of the noise power versus the percentage of errors for two, four, and six levels.

Use noisychan.m to compare the power requirements for two-level, four-level, and six-level transmissions.Fix the noise power at p=0.01 , and find the error probability for four-level transmission.Experimentally find the power S that is required to make the two-level and six-level transmissions have the sameprobability of error. Can you think of a way to calculate this?

Consider the (asymmetric, nonuniformly spaced) alphabet consisting of the symbols - 1 , 1 , 3 , 4 .

  1. Find the amplitudes of this 4-level signal with unity power.
  2. Use noisychan.m to examine the noise performance of this transmission by making a plot of the noise powerversus percentage of errors.
  3. Compare this alphabet to 4-PAM with the standard alphabet ± 1 , ± 3 . Which would you prefer?

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Software receiver design. OpenStax CNX. Aug 13, 2013 Download for free at http://cnx.org/content/col11510/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Software receiver design' conversation and receive update notifications?

Ask