Exercise 5: Frequency Shift Keying Transmitters and Receivers
Exercise 5: Frequency Shift Keying Transmitters and Receivers
Exercise 5: Frequency Shift Keying Transmitters and Receivers
1. Using the procedure established in previous exercises, set up a simple link to determine the
frequency offset between the transmitter and receiver. For the remainder of this exercise, the
carrier frequency of the transmitter will be set to 436MHz. Set the receiver carrier frequency
to be shifted by the offset so that the transmitter and receiver frequencies are as close as
possible.
2. Create a Simulink transmitter model to generate a BFSK signal with a data rate of 1Kbps and
a frequency separation of 4KHz. Use a random integer generator as the input.
a. Observe the spectrum of this signal with a simple receiver model (no demodulator)
that contains a spectrum scope. Confirm that the spectrum is as expected.
b. Add vector scopes at the output of the FSK modulator (transmitter) to observe the I
and Q components of the transmitted signal. Confirm that they are as expected.
c. Increase the frequency separation of the BFSK modulator and confirm that the
spectrum and I and Q components are as expected.
3. Modify the receiver to include a BFSK demodulator block. Apply the output of the
demodulator block to a To Workspace block (from the DSP toolbox) and a display. Replace
the random integer generator with a From Workspace block (DSP toolbox) that will generate
a 1Kbps data stream with a pattern of 1010101010…. Set the frequency separation to 4KHz.
Make sure that the samples per symbol are set to obtain the proper sampling frequency for
the D/A in the USRP transmitter. Note that no timing recovery block is needed in BFSK.
a. Confirm that the correct output is received.
b. Using a method similar to the one used in exercise 4, determine the waterfall curve
for the BFSK link.
c. For a low BER case (10-4 or less) introduce a frequency error in the receiver of +500.
This can be done by changing the carrier frequency in the SDRu receiver block. Is
the BER affected?
d. Continue to increase frequency error and plot BER versus frequency error for this
link. Apply both positive and negative frequency errors.
1
4. Change the data rate to 5Kbps and frequency separation to 20KHz. Vary other parameters as
needed. Repeat step 3. Remember that initially you need to reset the receiver frequency so
that it is synchronized with the transmitter.
5. Set up a QFSK link with a data rate of 2Kbps and a frequency separation of 8KHz
a. Verify the spectrum at the receiver is as expected.
b. Verify that the data is received correctly at the receiver.
6. Repeat step 5 for an 8-FSK link with a data rate of 3Kbps.
2