Labsheet 4
Labsheet 4
In this labsheet you will study digital communication over passband channels under the assumption of
perfect frame and symbol (or bit) synchronization and perfect carrier synchronization. Please try to
modularize your code as much as possible by separating out different tasks into functions which can be
reused. All plots should have clearly labelled axes. Each intermediate result has to be shown to the
TAs/instructor for full credit.
11
12. Implement a sampler for sampling the output of the demodulator. Then implement a decision
making device - a thresholder that will convert the samples to 0 or 1, and obtain the bit estimates
at the output of the decision device.
13. Find out the bit error rate for N = 1000 for σ 2 = 0.1.
1. For all the tasks in this section you can assume that the bit sequence generated by the source is
IID and uniformly distributed.
2. You can assume that the symbol time is 1 sec. and the carrier frequency is 25 Hz for these examples.
3. The null to null bandwidth is a one-sided bandwidth defined for a passband PSD. It is equal to the
width of the main lobe of a sinc2 -like spectrum and as the name suggests is the frequency extent
around the carrier frequency upto the first nulls on either side.
4. Note that for obtaining the null to null bandwidth the average PSD across multiple runs should
be used.
Generation of passband waveforms for different modulation schemes
1. For a sequence of 200 bits obtain the waveform corresponding to QPSK. The symbol time can be
chosen to be 1 second. Record the bit rate. Plot the PSD of the QPSK waveform and record the
null to null bandwidth. Plot the signal constellation for this transmission scheme.
2. For a sequence of 400 bits obtain the waveform corresponding to 16-QAM. Again record the bit
rate and the null to null bandwidth. Plot the signal constellation for this transmission scheme.
3. For a sequence of 300 bits obtain the waveform corresponding to 8-PSK. Again record the bit rate
and the null to null bandwidth. Plot the signal constellation for this transmission scheme.
4. For a sequence of 200 bits obtain the waveform corresponding to 4-FSK. Again record the bit rate
and the null to null bandwidth.
5. Compare the bit rate, null to null bandwidth, and signal constellation for the four schemes discussed
above.
Correlation receivers for different modulation schemes
Under the assumption of perfect frame and timing synchronization, implement correlation receivers for
each of the four schemes discussed above. Please use the starter code to get an idea about how to do
this.
4. Show the TA that the received sequence of bits is the same as the transmitted sequence of bits
(since we are not modelling channel noise).
12