Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Simple and Low-Cost Realization of RDS Encoder: Gordan SISUL, Borivoj MODLIC, Mario CVITKOVIC

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

88 G. SISUL, B. MODLIC, M.

CVITKOVIC, SIMPLE AND LOW-COST REALIZATION OF RDS ENCODER

Simple and Low-Cost Realization of RDS Encoder


Gordan SISUL, Borivoj MODLIC, Mario CVITKOVIC

University of Zagreb, Faculty of Electrical Engineering and Computing, Unska 3, 10 000 Zagreb, Croatia

gordan.sisul@fer.hr, borivoj.modlic@fer.hr, mario.cvitkovic@fer.hr

Abstract. This paper presents a simple and easy way of The basic clock frequency is obtained by dividing the
realization of RDS encoder. Autonomous equipment which transmitted subcarrier frequency by 48 which yields system
is capable to generate wanted data stream, modulate that basic data rate to be 1187.5 bit/s.
data stream and mixed generated signal with stereo or
mono FM composite multiplex signal is simulated and
produced.
Parts of encoder are described, simulated and measured.
The use of RDS makes FM receivers more user-friendly.
With this simple and cheap RDS encoder, smaller FM
broadcasters have a chance to improve business ability.

Fig. 2. Structure of the baseband coding.


Keywords
Fig. 2 shows the structure of the baseband coding. The
FM, RDS, D/A Converter, ATmega8, MFB filter, largest element in the structure is called a "group" having
DSB-SC. 104 bits. Each group comprises of 4 blocks with 26 bits.
Every block consists of information word and a check-
word. Information word has 16 bits, while checkword has
1. Introduction 10 bits. There are 16 different groups, where each group
can be version A and version B. For details about groups
After initial EBU-RDS research, the next goal was to see the EBU RDS recommendations [2]. After forming
realize RDS autonomous equipment with Atmel microcon- groups, RDS signal is differentially encoded and send to
troller which will be able to generate a RDS stream without bi-phase modulator.
PC assistant.
Subcarrier of the RDS signal is amplitude-modulated
by the shaped and bi-phase coded signal. To achieve com- 2. Building RDS Encoder
patibility with ARI system, RDS uses DSB-SC, that is,
The main part of the RDS encoder is Atmel micro-
amplitude modulation with suppressed subcarrier. Carrier
controller, ATmega8 [3], which collects user information,
frequency of 57 kHz is obtained from the third harmonic of
forms blocks and groups and generates a 4-bit digital dif-
19 kHz stereo pilot tone [1]. This method of modulation
ferential bi-phase coded eight times over sampled signal.
may alternatively be considered as a form of two-phase
Next, the signal goes to a 4-bit D/A converter and then to
phase shift keying (PSK) with a phase deviation of 90.
anti-aliasing filter which outputs baseband RDS signal.
Spectrum of FM composite multiplex signal with spectrum
Finally, RDS signal goes to a DSB-SC modulator where it
of the RDS signal is shown in Fig. 1.
is modulated with 57 kHz subcarrier and then mixed with
stereo or mono FM composite multiplex signal.

2.1 RDS Encoder Block Diagram


The RDS encoder block diagram is shown in Fig. 4.
A user uses the keyboard to enter the RDS information like
PS, PI, PTY, music/speech flag, mono/stereo flag and TP
flag. There is a special key for TA flag which allows tog-
gling TA flag without entering into the setup program. All
Fig. 1. FM composite multiplex spectrum. information and setup enters are shown on an alphanu-
RADIOENGINEERING, VOL. 17, NO. 2, JUNE 2008 89

meric 2x16 LCD. Dealing with the encoder is clear and 2.2 4-Bit D/A Converter
intuitive and is shown in Fig. 3.
The 4-bit D/A converter is done with a R-2R ladder
START
network as shown in Fig. 5 and produces the output volt-
age according to (1), where the D's take the value 0 or 1
and Vref= 5 V.
PREVIOUS DATA
ENTRY

RF D3 D2 D1 D0
NO Vout = + + + Vref (1)
NO STOP
TA
TRANSMISSION R 2 4 8 16
MEASUREMENT YES YES

NO

FREQUENCY YES START


CARRIER NEW SETUP
MEASUREMENT NO
MEASUREMENT

YES

NO

YES
NEW PS PS ENTRY PS OK

NO YES

NO

YES
NEW PI PI ENTRY PI OK

NO YES

NO Fig. 5. R-2R ladder network.


YES
NEW PTY PTY SELECTION PTY OK

NO YES

TP
YES

NO

MUSIC / SPEECH
M

MONO / STEREO SAVING NEW DATA


M

Fig. 3. Microcontroller operating algorithm.

Atmel Atmega8 microcontroller drives LCD and keyboard


to collect RDS information and then generates blocks and
groups. Next task for ATmega8 is to generate 4-bit dif-
Fig. 6. Digital RDS signal.
ferential bi-phase signal. Other blocks in RDS block
diagram are explained in detail further on. Digitally generated eight time over sampled RDS signal
after D/A converter and related 4-bit bus states are shown
in Fig. 6. At this point anti-aliasing filter is needed to
smooth this curve.

Fig. 4. RDS encoder block diagram. Fig. 7. Anti-aliasing filter frequency response.
90 G. SISUL, B. MODLIC, M. CVITKOVIC, SIMPLE AND LOW-COST REALIZATION OF RDS ENCODER

2.3 Anti-Aliasing Filter u m (t ) = A cos( m t ) (3)


Since baseband RDS signal is eight times over sam- where A is the amplitude of the modulation signal and m
pled digitally generated, overtones are occurring. The first is the circular frequency of the modulation signal. Using
overtone is 8 x 1.1875 kHz = 9.5 kHz. The anti-aliasing (2) and (3) gives the DSB-SC expression as follows,
filter is needed to suppress the overtones. This filter is
fourth order active lowpass filter and its made with cas- u DSBSC (t ) = A cos( m t ) cos( 0 t ) (4)
cading three MFB filter topology stages. Its frequency
and finally in (5) we can see that the DSB-SC modulation
response is shown in Fig. 7, where it can be seen that the
method have an upper side band (0 + m) and a lower
first overtone is suppressed with approximately 40 dB.
side band (0 m) around the suppressed carrier.
After RDS signal passes through the filter, only baseband
A A
cos[(0 + m ) t ] + cos[(0 m ) t ] . (5)
bi-phase signal remains as shown in Fig. 8.
u DSBSC (t ) =
2 2
DSB-SC realization in our case is obtained by sam-
pling the baseband bi-phase signal with a 57 kHz clock and
filtering around 57 kHz with a bandpass filter. The band-
pass filter is fourth order active filter (type Butterworth)
shown in Fig. 10.

Fig. 8. Baseband RDS bi-phase signal.

Spectrum of the baseband bi-phase signal is shown in Fig. 10. Bandpass filter.
Fig. 9. Maximum baseband frequency is 2.4 kHz, and all The whole principle of DSB-SC modulation with this
the frequencies above 2.4 kHz are suppressed over 30 dB. method is shown in Fig. 11. After the DSB-SC realization
method, a RDS signal obtains the final figure as shown in
Fig. 12. The related spectrum is shown in Fig. 13.

Fig. 11. DSB-SC realization.

Fig. 9. Spectrum of bi-phase signal.

2.4 DSB-SC Modulation


Double side band - suppressed carrier modulation
method is described as
u DSBSC (t ) = u m (t ) cos( 0 t ) (2)

where um(t) is the modulation signal, and 0 is the circular


frequency of the modulated carrier. If um(t) is a harmonious
function such as, Fig. 12. DSB-SC modulated RDS signal.
RADIOENGINEERING, VOL. 17, NO. 2, JUNE 2008 91

amplifier outputs the MPX and RDS signal together as


shown in Fig. 4. The related spectrum is shown in Fig. 1.

Fig. 13. RDS signal spectrum.

2.5 Subcarrier Oscillator 57 kHz Fig. 15. PLL signals.


There are two modes of operation depending whether
RDS encoder operates in mono or stereo mode. As shown
earlier in Fig. 4, there is control signal coming from an
ATmega8 microcontroller, which, using a digital switch,
decides which subcarrier oscillator will be in use. When
the RDS encoder operates in mono mode, a subcarrier
oscillator is stand-alone quartz controlled digital oscillator,
done with PLL [4]. This is because for stereo mode the
subcarrier must be locked to the third harmonic of the
19 kHz pilot-tone. The tolerance of the frequency for the
19 kHz pilot-tone is 2 Hz; therefore the tolerance for the
frequency of the subcarrier during stereo broadcast is Fig. 16. Realization of summation block.
6 Hz. Fig. 14 shows the block diagram of the PLL sys-
tem. First, the 19 kHz bandpass filter is needed to isolate
19 kHz stereo pilot-tone from the MPX signal. Next, the 3. RDS Encoder Measurements
signal goes to the phase detector where it is compared with
a three times divided VCO signal. The phase detector gives Following the building of the RDS encoder, we have
error signal which passes through the lowpass filter con- done several measurements. All the results were similar to
trolled by the VCO. Since the signal from the VCO is three the ones obtained with the simulations. Fig. 17. shows the
times divided, frequency of the output signal is three times RDS signal in time domain. The related spectrum is shown
multiplied, thus 3x19 kHz = 57 kHz. in Fig. 18. RDS encoder prototype is shown in Fig. 19.

Fig. 14. PLL system.

Fig. 15 shows the waveform of the 19 kHz input and


57 kHz output of the PLL circuit.

2.6 Summation Block


The last issue is to sum RDS signal with a FM com-
posite stereo multiplex or mono signal depending on the
input signal. We can use a variable resistor which is used
to set the RDS signal level. After the summing, buffer Fig. 17. RDS signal.
92 G. SISUL, B. MODLIC, M. CVITKOVIC, SIMPLE AND LOW-COST REALIZATION OF RDS ENCODER

References
[1] DOMITROVIC, H., JAMBROSIC, K. Receivers. Available at
http://www.zea.fer.hr/Predmeti/Prijamnici/prijamnici.htm
[2] RDS FORUM, RDS standards, IEC 62106. First edition 2001.
Available at http://www.rds.org.uk/rds98/rds98.htm
[3] ATMEL CORPORATION, ATmega8 ATmega8L Summary,
Available at http://www.atmel.com/dyn/resources/prod_documents/
2486S.pdf
[4] MODLIC, B., MODLIC, I. Modulacije i modulatori. Zagreb:
Skolska knjiga, 1995.

Fig. 18. RDS signal spectrum. About Authors...


Gordan SISUL received B.Sc., M. Sc. and Ph.D. in elec-
trical engineering from the Faculty of Electrical Engineer-
ing, University of Zagreb, Croatia in 1996, 2000 and 2004,
respectively. He is currently employed as a researcher at
the same Faculty. His academic interests include wireless
communications, signal processing applications in commu-
nications, modulation techniques and coding.
Borivoj MODLIC received B.Sc., M. Sc. and Ph.D. in
electrical engineering from the Faculty of Electrical Engi-
neering, University of Zagreb, Croatia, in 1972, 1974 and
1976, respectively. He started his professional career as an
assistant professor, Department of Radio-frequency Engi-
neering (presently Department of Wireless Communica-
Fig. 19. RDS encoder prototype. tions), Faculty of Electrical Engineering and Computing,
University of Zagreb where he has worked ever since. He
is the coauthor of six university textbooks and editor of the
4. Conclusion Engineering Handbook. His research interests are: signal
processing in communications, especially modulation
The goal was to make simple RDS autonomous methods, wireless access systems, electromagnetic com-
equipment. That is done using only one microcontroller for patibility and electromagnetic field impacts on human
collecting data and for generating bi-phase signal. There is health and the related health hazards estimation.
a RS232 port on RDS encoder which can be used to con-
nect to a PC. Mario CVITKOVIC is currently a postgraduate student at
the Faculty of Electrical Engineering and Computing, Uni-
RDS encoder was tested on air with FM transmitter versity of Zagreb, Croatia under the Department of Wire-
and it worked within expectations. less Communications. He has completed his Bachelor of
Future work on RDS encoder is to implement alterna- Electrical Engineering also at the Faculty of Electrical
tive frequencies (AF), radio text (RT), enhanced other Engineering and Computing, University of Zagreb,
networks information (EON) and clock time (CT). We will Croatia. His research interests are: signal processing in
try to minimize the number of hardware elements and build communications, especially modulation methods and
the RDS encoder with a SMD technology. coding, broadband wireless access systems.

You might also like