Docsity

Project for Digital Communications Laboratory | ECE 463, Study Guides, Projects, Research of Digital Communication Systems

Toggle sidebar
bg1
1. Introduction
In this project, we are going to receive the RDBS (Radio Broadcast Data System)
signal using the existing setup in the communication laboratory. The RBDS provides a
method of sending extra information along with VHF/FM radio services to suitable
receiving equipment without affecting the normal audio programme in the range of
87.5MHz to 108.0 MHz which carry either stereophonic (pilot-tone system) or
monophonic programmes. The main objectives pf RBDS is to are to enable improved
functionality for FM receivers and to make them more user-friendly by using features
such as Program Identification, Program Service Name and automatic tuning for
portable and car radios.
2. RBDS signal transmitter
Although the RBDS signal accompanies the FM analog transmission, it can be
considered to belong to the large category of wireless data communication in the sense
that it has been designed to transmit one-way digital data. The RBDS system incorporates
the digital information in the base-band FM signal intended to be used by dedicated
receivers. The data rate is 1187.5
0.125 bps. This digital data incorporates mainly
information about the Program Service Name, Program Identification etc. The digital
data are differentially and bi-phase encoded and then they are shaped by a cosine filter to
conserve the required spectrum. The encoded and shaped data modulate a 57KHz sub-
carrier. The constructed spectrum is added to the spectrum of the FM program
assembling the base-band FM signal. Next, this base-band signal frequency modulates
the carrier according to the usual FM scheme. The block diagram for the transmitter is
shown in the Fig-1. In order to get a better understanding about how the RBDS signal is
generated, we will use an example to illustrate the construction of the signal.
1. Step 1clock generation. We generate a clock, and use it to determine the bit rate
of RBDS signal. The clock is generated by dividing the transmitted sub-carrier
frequency (57KHz) by 48. Hence the bit rate of the RBDS signal is
57K/48=1.1875K bps.
2. Step 2differential encoding. Suppose we are transmitting a bit stream
(0,1,0,1,1,0,1,0,0,1). The rules for differential encoding are shown in table I.
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Project for Digital Communications Laboratory | ECE 463 and more Study Guides, Projects, Research Digital Communication Systems in PDF only on Docsity!

1. Introduction

In this project, we are going to receive the RDBS (Radio Broadcast Data System) signal using the existing setup in the communication laboratory. The RBDS provides a method of sending extra information along with VHF/FM radio services to suitable receiving equipment without affecting the normal audio programme in the range of 87.5MHz to 108.0 MHz which carry either stereophonic (pilot-tone system) or monophonic programmes. The main objectives pf RBDS is to are to enable improved functionality for FM receivers and to make them more user-friendly by using features such as Program Identification, Program Service Name and automatic tuning for portable and car radios.

2. RBDS signal transmitter

Although the RBDS signal accompanies the FM analog transmission, it can be considered to belong to the large category of wireless data communication in the sense that it has been designed to transmit one-way digital data. The RBDS system incorporates the digital information in the base-band FM signal intended to be used by dedicated receivers. The data rate is 1187.5 0.125 bps. This digital data incorporates mainly information about the Program Service Name , Program Identification etc. The digital data are differentially and bi-phase encoded and then they are shaped by a cosine filter to conserve the required spectrum. The encoded and shaped data modulate a 57KHz sub- carrier. The constructed spectrum is added to the spectrum of the FM program assembling the base-band FM signal. Next, this base-band signal frequency modulates the carrier according to the usual FM scheme. The block diagram for the transmitter is shown in the Fig-1. In order to get a better understanding about how the RBDS signal is generated, we will use an example to illustrate the construction of the signal.

  1. Step 1clock generation. We generate a clock, and use it to determine the bit rate of RBDS signal. The clock is generated by dividing the transmitted sub-carrier frequency (57KHz) by 48. Hence the bit rate of the RBDS signal is 57K/48=1.1875K bps.
  2. Step 2 differential encoding. Suppose we are transmitting a bit stream (0,1,0,1,1,0,1,0,0,1). The rules for differential encoding are shown in table I.

Hence the output after differential encoding is (1,1,0,0,1,0,0,1,1,1,0).

Fig-1 The RBDS signal transmitter block diagram

  1. Step 3pulse shaping. The power of the data signal at and close to the 57KHz sub-carrier is minimized by coding each source data bit as a bi-phase symbol. The Audio L+R L-R

19 KHz  2 KHz Pilot-tone ( )^3  48 Bit-rate=57KHz/ =1.1875K bps 57 KHz  6 KHz Sub-Carrier Differential Encoding (1,0,0,1,0,0,1,1,1,0) Pulse Shaping 1 0 0 1 0 0 1 1 1 0

X

FM Modulation (91.7MHz) RBDS Signal (0,1,0,1,1,0,1,0,0,1)

Look at the time-domain function. If we are at the middle of the bi-phase symbol and the slope is negative, then a “1” is transmitted. On the other hand, if the slope is positive, then a “0” is transmitted. This is illustrated in the block diagram in Fig-1.

  1. Step 4Sub-carrier modulation. The output after bi-phase pulse shaping is mixed with the 57KHz sub-carrier.
  2. Step 5FM modulation. Finally, the audio signal L+R and L-R, the 19KHz pilot- tone, and the modulated 57KHz sub-carrier is assembled to form the base-band signal. Then the base-band signal frequency modulates the carrier according to the usual FM scheme. In our example, the carrier is 91.7MHz.

3. RBDS signal receiver

The block diagram for the receiver is shown in the Fig-4. The received analog waveform is first converted to digital samples and then frequency demodulated. Then this digital waveform is filtered to get the 19KHz pilot-tone. We cube this pilot-tone to get the 57KHz sub-carrier. Due to the delay introduced in various filters, the 57KHz sub-carrier may not be coherent with the input. Hence we have to adjust the phase of this 57KHz sub-carrier in order to get a coherent sub-carrier. This is done by trying different delays of the 57KHz sub-carrier and then look at the base-band I-Q plot until most of the energy is concentrated in the I-channel. Once we have the coherent 57KHz sub-carrier, we can use it to demodulate the RBDS signal. This is done by first filter out the RBDS portion in the input waveform, mixing it with the coherent 57KHz sub-carrier and then low pass filtering. At this stage, we already get the bi-phase symbol train for the RBDS signal. In order to get the RBDS digital signal (0,1,0,1,…..), we pass this bi-phase symbol train through a matched-filter, sample it at appropriate time instant, and threshold the samples. Then we successfully extract the RBDS digital signal in the (0,1,0,1,….) form. The above steps are explained in more detail in the following.

Fig-4 The RBDS signal receiver block diagram

  1. Step 1set the LO frequency and sample the input analog waveform. By setting the carrier frequency in the front panel to 91.7MHz, this is automatically done in the PXI box.
  2. Step 2Frequency demodulate the output waveform of step 1. Basically, we can see the base-band signal (audio L+R, audio L-R, the 19KHz pilot-tone, and the modulated 57KHz sub-carrier) after frequency demodulation. The output corresponds to the mark “1” in the block diagram. The corresponding spectrum at this point is shown in Fig-5. In the spectrum, we can clearly see the 19KHz pilot tone and the RBDS signal around 57KHz.
  3. Step 3Strip out the 19KHz pilot tone. This is done by passing the base-band signal through a 19KHz band-pass filter. For the band-pass filter, we use a Butterworth filter of order 8, centered at 19KHz, with low cut-off frequency = 18KHz and high cut-off frequency=20KHz, respectively. The output corresponds to the mark “2” in the block diagram. The corresponding spectrum at this point is shown in Fig-6. In the spectrum, we can see a very sharp 19KHz pilot tone. LNA 28db-gain PXI-Box x 91,7MHz LO Anti-aliasing Filter nTs (^) I Q FM Demodulation I’ BPF 18-20KHz center=19KHz ( ) 3 BPF 56-58KHz center=57KHz Hilbert Transform

Rotate (phase adjust) cos(  t ) sin(  t ) cos(  t ) sin(  t ) X X cos(  t ) sin(  t ) LPF BW=4KHz LPF BW=4KHz IQ plot  48 Sampling Matched Filter Sampling BPF 54-60KHz center=57KHz 4 5 6

Fig-7 The spectrum of the 57KHz sub-carrier

  1. Step 5 adjust the phase of this 57KHz sub-carrier to get a coherent sub-carrier. This is done by first filtering out the RBDS portion of the base-band signal, then trying to introduce different delays in the 57KHz sub-carrier, using the delayed- version 57KHz sub-carrier to bring the RBDS portion to RBDS base-band and low-pass filtering it. We then look at the I-Q waveform plot at the output of the low-pass filter and adjust the amount of delay until most of the energy is concentrated in the I-channel. For the band-pass filter to extract the RBDS portion of the signal, we use a Butterworth filter of order 14, centered at 57KHz, with low cut-off frequency = 54KHz and high cut-off frequency=60KHz, respectively. The reason for choosing a 6KHz band-width stems from the fact that the RBDS bi- phase symbol roughly has a band-width of 2.4KHz, as can be seen in Fig-3. For the low-pass filter to extract the base-band RBDS signal, we use a Butterworth filter of order 14 with cut-off frequency=4KHz. The output corresponds to the mark “4” in the block diagram. In Fig-8, we show the I-Q plot of the base-band RBDS signal before and after phase adjustment, respectively. And Fig-9 shows the spectrum of the RBDS base-band signal.

Fig-8 The I-Q plot before (left) and after (right) phase

adjustment

57KHz sub-carrier

Fig-9 The spectrum of the RBDS base-band signal

  1. Step 6 Match filtering and sampling. After finding the optimal phase of the 57KHz sub-carrier, we pull out the RBDS base-band signal in the I-channel. We then pass the I-channel signal through a matched filter and then sampling the resulting matched-filter output. The matched filter used is just a FIR filter with coefficients being the time-reversal version of the bi-phase symbol, as shown in Fig-10. The output before match-filtering (the mark “5” in the block diagram) and after match-filtering (the mark “6” in the block diagram) are shown in Fig-11. Note that before matching filtering, we can see the bit transition, as expected. And the samples of the matched filter output are all at peaks, which indicate a very good sampling time. Also note that the best sampling instant for the matched filter output is equivalent to sampling the “before match-filtering signal” at positions near zero, which is intuitively correct.

Fig-10 The impulse response for the matched filter

Use the same example, we can easily see that this decoding rule correctly decode the received bit stream, as can be seen in the following. The output is (0,1,0,1,1,0,1,0,0,1), which is exactly the same as the original input.

  1. Step 2 Compute syndrome and offset word to locate the appropriate block. The format of the RBDS signal is shown in Fig-13. Each block has 26 bits. The first 16 bits carry message, and the last 10 bits corresponds to the check word for the message bits. In order to locate an appropriate block, say PI block, in the received message, we divide the received signal into blocks of length 26 and check them to see whether they can create the correct check word for the PI block. For example, if we received 100 bits, we first check bit 1 to bit 26, see whether bit1 to bit 16 can follow the rules for generating PI block’s offset word to produce exactly bit 17 to bit 26. If yes, then we can conclude that bit1 to bit 16 is the message bits we are looking for. Otherwise, we have to try bit 2 to bit 27, bit 3 to bit 28, etc. This process is continued until we find the correct block division. The correct block division for our received signal is shown in Fig-14.

Fig-13 The format of RBDS signal

Fig-14 The correct block division for our received RBDS signal

  1. Step 3 Decode the message carried in the block. According to the format of the RBDS signal, the message is carried in the first 16 bits. Since we are interested in the PI block, we must understand how to interpret these 16 bits. The meaning of these message bits is as follows:

c. Write decimal number3 = decimal number4*26+R3. R3 corresponds to the third letter. d. Decimal number4 corresponds to the second letter.

  1. We implement the above decoding procedure in Matlab. The experiment result showed that the PI code for FM 91.7MHz station in Champaign, Illinois is “WBGL”, which is the same as googled from the web.

5. Labview block diagrams and the matlab code for decoding

Please refer to the attachment.

6. Conclusion

In this project, we successfully received the RBDS signal and decode it. By applying the knowledge learned from this course, like coherent carrier generation and matched filtering, we see how we can receive some real message in the world. The drawback of this RBDS signal receiver is that sampling time instant is manually chosen right now. This can be further improved in the future by implement a DLL in our system to automatically choose correct sample timing.