The present invention relates generally to wireless communication, and more particularly to radio data system.
Radio Data System (RDS) is a world-wide radio standard used for sending small amounts of digital information using conventional FM radio broadcasts. The RDS system standardizes several types of information transmitted, including time and station identification. More recently, with regard to music, RDS has been used to convey digital information about a particular song such as song title, author, type of music, etc.
Generally, RDS transmission involves combining a RDS signal with a FM audio signal. The combined signal is used to modulate a FM transmitter which transmits an FM signal with the audio data and the RDS information to a FM receiver. The RDS receiver, or FM receiver capable of receiving an RDS signal, receives and separates the RDS data from the FM audio data to allow the two types of information to be processed separately.
In stereophonic FM transmission a pilot tone of 19 kHz is used to indicate stereophonic transmission to the FM receiver, and also is used to demodulate the stereophonic information. To avoid interference with the normal FM transmission, RDS uses a 57 kHz sub-carrier which is three times the pilot tone so as to operate outside the normal FM transmission bandwidth.
RDS transmission is conventionally done at radio stations where the FM is transmitted at a high power for long range FM transmission. Unfortunately, due to the hardware involved in implementing the RDS standard, the implementation of RDS has been proven to be complex and cost prohibitive for short range transmission systems.
There is therefore a need for a cost effective RDS system that is simple to integrate with lower power short range FM transmission systems.
Embodiments of the present invention provide a FM transmitter with RDS transmission capability. In one embodiment, an RDS circuit is implemented in firmware. The firmware is configured in one or more stages to allow the RDS system to be integrated with a variety of FM transmission systems.
In one embodiment, the present invention provides a system that includes a processor and a computer readable storage medium coupled to the processor. The computer readable storage medium includes code for differentially encoding a radio data message from a radio data message source, and code for generating a bi-phase coded radio data signal from the differentially encoded radio data message. The system also includes a wireless transmitter. The wireless transmitter is adapted to transmit a wireless signal including the radio data message, wherein the wireless signal is derived from the bi-phase code radio-data signal.
In one embodiment, the present invention provides a wireless transmission system. The system includes a first logic circuit configured to digitally process a digital data signal received from a data source and a clock signal to generate a modulation signal. The data signal includes digital data pertaining to the content of a baseband signal. The system further includes a radio frequency transmitter circuit configured transmit a wireless signal carrying the radio signal and digital data in response the modulation signal and the baseband signal.
In one embodiment, the present invention provides a method of wirelessly transmitting within a radio data system a baseband signal and digital data pertaining to the baseband signal. The method includes processing digital data pertaining to the content of a baseband signal to form a first modulation signal, generating from the first modulation signal a plurality of harmonic signals, selecting one harmonic signal from the plurality of harmonic signals to generate a second modulation signal, summing the baseband signal with the second modulation signal to generate a third modulation signal, and modulating an output frequency of a wireless transmitter with the third modulation signal to generate a wireless signal transmitting the baseband signal and the digital data over a transmission medium.
These and other embodiments of the invention are described in further detail below.
The present invention provides a FM transmitter with Radio Data System (RDS) data transmission capability. The information transmitted using the RDS system includes information about the content of the signal transmitted from the transmitter to the receiver, such as audio content, artist, radio station, and the like, as described herein. In one embodiment, an RDS circuit is implemented using firmware (e.g., software code) and hardware in combination. The firmware may be configured in one or more stages to allow the RDS system to be integrated with a variety of FM transmission systems capable of transmitting a signal to a receiver over a transmission medium such as air, conductors, optical paths, and the like.
In one embodiment, the RDS circuit 202 receives audio signals (i.e., baseband signals) and RDS signals from (i.e., digital data signals), for example, from source 102. For example, audio signals may be received on “L” and “R” pins of the FM transmitter 210, and the RDS signal may be received from source 102 as a digital word input to microcontroller 202. In other embodiment, the audio signals and the RDS signals may be combined into a multiplexed signal for later de-multiplexing. As describer further below, in one embodiment, during operation, the microcontroller 202 is configured to generate a modulation signal in response to a 19 kHz signal, and the RDS signal. The modulation signal is then combined with the audio signal to modulate the output frequency of the FM transmitter in order to transmit the RDS information and audio content to receiver 120.
Generation of the 19 kHz Clock
In one embodiment, circuit 200 generates a 19 kHz pilot tone to act as the master clock for the generation of the RDS signal, as per the RDS standard “Radio Data System for VHF/FM broadcasting” herein incorporated by reference for all purposes. As described herein, the 19 kHz pilot tone may be generated on-board the circuit 200 and/or may be provided by an external signal, for example, a signal generator.
In other embodiments, where the 19 kHz clock is not directly available on the FM transmitter 210, the 19 kHz clock may be extractable from a composite multiplex signal output if available from the FM transmitter 210, for example pin 212 of the FM transmitter 210 may be configured to output the composite multiplex signal. This composite multiplex signal contains base-band L+R audio, the 19 kHz pilot tone, and the L-R audio around 38 kHz. In some FM transmitters 210, due to multiplex mixing, the predominant feature of this waveform may be the 38 kHz switching frequency.
In embodiments of the present invention, the 19 kHz pilot tone may be extracted from the composite multiplex signal using a variety of suitable signal extraction techniques. For example, in one embodiment a narrowband filter centered on 19 kHz may be used to extract the pilot tone. However, there are some considerations with this approach. First, in one embodiment, the filter is narrow in bandwidth and centered on the pilot tone. Secondly, the audio signal is suitably band-limited to avoid encroaching on the 19 kHz tone. A phase lock loop (PLL) with low loop bandwidth to the recovered signal may be used to reduce jitter resulting from audio signal encroachment, and other signal processing issues.
In one embodiment, FM transmitter 210 may be configured to produce the 19 kHz tone. For example, pin 212 may be configured to provide the 19 kHz Pilot tone. For FM transmitters 210 configured to supply the pilot tone, a 19 kHz digital clock signal may be further processed using a comparator 300 as illustrated in
In one embodiment, the RDS signal requires a 57 kHz carrier frequency. In order to implement the 57 kHz RDS carrier, higher rate multiples of 19 kHz digital clock may be required. In particular, a three-times rate clock of the 19 kHz subcarrier may be configured to generate the 57 kHz. To generate required multiples of the 19 kHz frequency, in an embodiment, the 19 kHz is formed into a square wave, or approximation thereof, and the third harmonic is selected. For example, a 57 kHz clock may be generated by processing a 19 kHz squarewave with a band-pass filter centered on 57 kHz to extract the third harmonic, followed by squaring the result up to produce a digital signal. In one embodiment, the bandpass filter includes an op-amp and a comparator. A multistage filter is contemplated having two op-amps and configured with a relatively high Q to reduce jitter.
Generation of RDS Signal
Method 400 may be entered into at step 402 by a user using system 100 to wirelessly transmit RDS data from a source 102 to a receiver 120. In one embodiment, with regards to the various firmware configurations as described below, at step 404, RDS information is obtained form the source 102. At step, 406 bi-phase symbols are generated from the RDS information. A 57 kHz sub carrier is generated that includes the bi-phase symbols at step 408. The 57 kHz sub carrier is summed with the audio data to produce the modulation signal used to modulate the FM transmitter output at step 410. At step 412, FM transmitter 210 generates a FM signal with the RDS data which is transmitted to a receiver 120. Method 400 ends at step 420.
For generating an RDS signal, there are at least two embodiments. For example, firmware may be written on a FM system microcontroller, for example a MSP430 microcontroller, or firmware could be written for a separate microcontroller.
Therefore, in one embodiment, for the purpose of demonstrating one embodiment of the present invention, Applicants provided firmware on a separate microcontroller, however, the present invention is not so limited. In one embodiment to reduce costs, the additional functionality may be implemented on the FM system microcontroller. For a more modular RDS add-on which might find application in several products, or to avoid major changes to the existing printed circuit boards, the additional functionality may be implemented in an additional microcontroller. The test firmware may be written is written in C or any suitable software programming language.
In one embodiment,
The data message source may originate in firmware, having been generated from the song information (e.g., data about the content of the baseband signal) extracted from the source 102 (e.g., iPod, MP3 player, etc.). Similarly, the 57 kHz subcarrier may ultimately exist as an analog signal, to be added to the transmit modulation signal.
In one embodiment, the RDS signal generation and addition to the FM carrier may be implemented in at least three embodiments using combination of firmware and analog hardware. For example, three configurations as described herein may include:
In embodiments of the present invention, message source stage 601 generates a data stream comprising successive binary digits (bits) of successive words of successive “blocks” of successive “groups” of a message properly formatted according to the RDS standard. The message carries the intended information. The result is signal S1 which is the input to the RDS encoder proper. Illustratively, the data rate may be configured to 1187.5 bits-per-second (bps). Embodiments of stage 601 may be provided either in logic hardware or in software.
Differential encoder stage 602 combines signal S1 with the current state of signal S2 in an exclusive-or operation to produce the next state of signal S2. In this example, the data rate is still 1187.5 bits-per-second. Embodiments of stage 602 may be provided either in logic hardware or in software.
Bi-phase symbol generator stage 603 may be configured to generate bi-phase impulses pairs from signal S2; such that a logic one gives a positive impulse followed by a negative one, and logic 0 gives the opposite result. The impulse rate in this illustration is 2375 Hz. In the frequency domain the spectrum has nulls at DC and 2375 Hz, and repeats at 2375 Hz intervals. Embodiments of stage 603 may be provided either in logic hardware or in software.
Shaping filter 604 stage is configured to shape the impulses from stage 603. In one embodiment, to shape the spectrum between DC and 2375 Hz to help eliminate the energy above 2375 Hz, the filter stage 604 has a raised-cosine frequency response. Embodiments of stage 604 may be provided either in logic hardware or in firmware. Filter stage 604 may be implemented in hardware given a suitable number of filter stages to obtain an adequate Q.
Mixer stage 605 multiplies (in the time domain) the signal S5 with a 57 kHz sub-carrier, generating signal S6 which is to be added to the audio stereo multiplex signal before frequency modulation of the radio carrier of the FM transmitter. Embodiments of stage 604 may be provided either in logic hardware or in firmware. Implementation of this stage in hardware is available with the availability of a 57 kHz clock source, and the like. Implementation of this stage in firmware is also available with the availability of a 2×57 kHz clock, and the like.
Generating Waveforms S1 and S2
For illustrative purposes, Applicants performed almost all the measurements of the RDS waveforms described herein with a pseudo-random bit-stream (PS) standing in for the RDS data at waveform S2.
In one embodiment, the firmware was configured to generate type 0B groups containing blocks containing PI, TP, PTY, TA, M/S and DI data with sensible default values, and PS data containing an arbitrary string. The firmware generates a sequence of four such groups to fill the eight-character PS string, then repeats the sequence generation. Illustratively, this sequence approximates the functionality required in a final product, except that the sequence is a fixed PS string whereas the final product may transmit a changing PS string to implement scrolling.
Applicants tests were indicative that the functions generating the RDS data are able to run in the background on the test microcontroller (5MIPS available) whilst the interrupt-driven generation of the RDS waveform runs concurrently. As described below,
In one embodiment, the RDS transmitter 110 may be configured without the mixer stage 605. For example, the shaping filter 604 may be implemented in software as a finite impulse response (FIR) filter 604-1 with the sampling frequency chosen as 19 kHz. This gives rise to images (e.g., harmonics) of the baseband signal centered around multiples of the sampling frequency. The bandpass filter 606 may be may be configured such that the third image of the output of the bandpass filter 606, centered around 57 kHz, is identical to the signal that would be produced by the mixer stage 605.
In another embodiment, generating the output of shaping filter 604 may be configured as a series of bi-polar impulses. With a conventional sample-and-hold output the frequency response exhibits a sin(x)/x response, emphasizing the baseband signal and reducing the other images. However, with such bi-polar pulse output the baseband is reduced and the images are emphasized. In embodiments of the present invention the time between positive and negative pulses is chosen as approximately 8.7 μs (one half the period of 57 kHz) to emphasize the image centered on 57 kHz.
In an embodiment, to reduce unwanted components in signal S5 at baseband, 19 kHz, 38 kHz, 76 kHz and higher to an acceptable level, the band-pass filter stage 605 is configured with a response on 57 kHz, which provides the desired 57 kHz signal S6.
Embodiments of the present invention may be configured to reduce the complexity of the implementation of shaping filter 604 by not requiring N multiplications and additions per output sample (where N is the filter length). For example, noting that although the filter is run at a sampling rate of 19 kHz, the input notionally consists of impulses at a rate of only 2375 Hz, with all samples between impulses being zero. Thus, in one embodiment, the shaping filter 604 may be implemented as a look-up table requiring only N×2375/19000=N/8 additions per sample. The effect of the bi-phase symbol generator 603 may be pre-computed and combined into the look-up table of the implementation of shaping filter 604, reducing the input rate of the filter from 2375 Hz to 1187.5 Hz, reducing the computational expense of the filter by a further factor of 2.
Song Display
This following describes one embodiment of the present invention related to communicating with the source 102 and extracting the audio data. Examples herein describe for example, sources 102 such as an iPOD™ from Apple computer, however, those skilled in the art will appreciate that other suitable sources my be used.
The source 102 communicates with simple peripherals over an RS232-like serial interface. Baud rates of 9600, 19200, 38400 and 57600 are supported, depending on the capability of the source 102. Where the source 102 provides 3.3V logic level signals rather than true RS232, interfacing to a microcontroller on the FM transmitter may not require level-shifting interface components.
In one embodiment, where the processor 202 does not provide a Universal Asynchronous Receiver/Transmitter (UART), the serial communications may be “bit-banged” in the firmware, i.e., implemented using general purpose I/O signals.
For example, in order to bit-bang the serial data, in one embodiment, the source 102 is polled for song information, spend ten seconds or so transmitting RDS to scroll this across the radio display, then suspend RDS transmission briefly whilst the source 102 is polled again for updated information. Applicants submit that preliminary experiments indicate that RDS receivers 120 sync quickly to the data stream, so interrupting it momentarily should not be a problem.
As illustrated in
In one embodiment, Applicants process the RDS data to scroll data across the receiver display using the eight-character PS name as illustrated in
Generating Waveform S4 in Firmware
In one embodiment, firmware is used to generate waveform S4 at an effective sample rate, for example, of 2.4 ksps. The firmware may be configured to generate S4 such that unwanted side-lobes are removed to minimize audible interference in the L-R channel, and minimize the mixer imbalance to minimize audible interference in the L+R channel.
In one test embodiment, Applicants provided test firmware to generate waveform S4. At this point a pseudo-random sequence was used as the input to the biphase symbol generator.
Waveform S4 was produced in an embodiment requiring a three-level signal by resistively combining two digital outputs. The spectrum has nulls at DC and 2.4 kHz, and repeats essentially flat. The three-level signal falls off with frequency (to a null above the plot limit) due to the finite pulse width, finite rise-time, and small parasitic RC filter.
In one embodiment, the shaping filter 604 is configured to shape the energy below the 2.4 kHz null, and remove most if not all of the signal energy above 2.4 kHz to prevent such energy to ultimately being mixed into audible bands.
In this illustration, the waveform is shown filtered with an RC filter (1 kw 100 nF) at 1.67 kHz. This is a first-order approximation of the shaping filter 604. The out-of-band signal peak is −6 dBc as illustrated in
As illustrated, where the firmware generates waveform S4, approximations to the analog shaping filter 604 may provided. In this embodiment, the shaping filter 604 may be configured very steep around 2.4 kHz in order to adequately suppress the unwanted sidelobes without affecting the selected signal. Applicants submit that preliminary calculations indicate that a forth-order filter may be used (i.e., two op-amps).
In one embodiment, the mixing does not have to be full four-quadrant multiplication. The 57 kHz subcarrier can be a squarewave with levels of +1 and −1, so the mixer can simply be an alternating inversion followed by a low-pass filter to remove the harmonics. For example, the low pass filter may be formed using an op-amp and analog switch.
Generating Waveform S5 in Firmware
As described above, the shaping filter 604 may be implemented in firmware using a FIR allowing waveform S5 to be generated and filtered at any suitable sample rate. In one embodiment, when higher sample rates are employed, such shaping filter 604 may be configured to filter any unwanted signals as higher sample rates extend the images further away in the frequency domain which simplifies post-DAC filtering. As such, the resolution of the DAC (number of bits) sets the quantization noise floor.
In one test configuration, Applicants provided test firmware to generate waveform
S5. A pseudo-random sequence was used as the input to the biphase symbol generator. Various combinations of sampling rate, DAC resolution and FIR length were investigated. The calculation of the FIR filter coefficients is shown in
In one embodiment, 6 bits of DAC resolution may be required to produce an adequately low noise floor. To provide smoothing of the noise, a small amount of dither may be employed.
Where processing overhead of microcontroller is low, in one embodiment, a suitable sample rate may be employed to allow for adequate filtering while minimizing the amount of processing overhead. A lower 9.5 ksps rate the image may be too close to the desired signal to be effectively removed with a conventional RC filter. At the higher 57 ksps rate the firmware required about 3MIPS which may be close to the limit of some conventional microcontrollers. In an embodiment, a 19 ksps sample rate may be used to allow for signal filtering while minimizing the amount of processing overhead.
In embodiments of the present invention, waveform S5 is generated in firmware at a 19 ksps sample rate which is then mixed with 57 kHz in hardware. This configuration may utilize a DAC, a first-order RC post-DAC filter, and a double-sideband suppressed-carrier AM mix to 57 kHz. In other embodiments, a suitable post-mix band-pass filter may be used to remove harmonics and other undesired products. In one embodiment, the mix may be accomplished using a 57 kHz clock and an alternating-inversion type mixer, such as shown in
As discussed above, the generation of a 57 kHz clock may require a band-pass filter containing two op-amp stages and a comparator. The mixer likely requires an op-amp plus an analog switch, or something of similar complexity. An additional op-amp may also be required to buffer the mid-rail virtual earth. Applicants contemplate that such stages may be optional.
For Example, as illustrated in
In order to remove unwanted images (i.e., signals), a band-pass filter may be used. For example, a band-pass filter may be configured to remove the unwanted images about the 57 kHz signal, primarily those around 38 kHz and 19 kHz. Because the RIDS signal is itself 31 dB down on the peak audio due to the +2 kHz peak deviation vs. ±75 kHz peak deviation, a further 30 dB of suppression may be generated by the band-pass filter to provided about 60 dB signal suppression.
In one embodiment, a further 30 dB of suppression may be achieved with a band-pass filter with a Q of 10, such as illustrated in
Generating Waveform S6 in Firmware
Illustratively, Applicants provided firmware to generate waveform S6. A pseudo-random sequence was used as the input to the biphase symbol generator.
Audio Filtering
In one embodiment, additional low-pass filtering may be added to the audio signal before it is coupled to the FM transmitter audio inputs. For example, one approach is to use two op-amps acting as differential amplifiers for the L and R input signals from the source. Alternatively, a low-pass response may be produced with the addition of passives, without requiring further op-amps.
An alternative approach would be to filter the multiplex signal to notch out the 57 kHz band, prior to adding the RDS signal to produce the modulation signal for the FM transmitter 210. This approach has the advantage of removing the 57 kHz harmonic of the pilot tone.
FIR Filter Coefficients
The calculation of the coefficients for the various FIR filters are illustrated. Referring to
For illustration purposes, the shaping filter 604 is shown as non-causal, with influence extending both before and after the stimulus as illustrated in
The shaping filter is defined as:
Since the same filter is to be used in the receiver, the overall end-to-end response is a full raised cosine as illustrated in the following equation and
The following calculations were performed by octave, but with minor changes the same file could be used, for example with Matlab or Scilab.
The required coefficients are now available in the variable “tx3,” which is illustrated in
Advantages of embodiments of the present invention include elimination of the mixer stage reduces cost by removing the need for a hardware mixer circuit, or by removing the need for sufficient processing power to implement a mixer in software (i.e., reducing the cost of the processor required). Elimination of the mixer stage removes the need for a 57 kHz or 2×57 kHz clock signal, phase locked to the 19 kHz stereo pilot tone, which may not readily be available. The requirement is only for a 19 kHz clock, which is present in a stereo FM transmitter by definition as the stereo pilot tone. Reduction of the complexity of the shaping filter reduces costs by reducing the processing power required for its implementation (i.e., reducing the cost of the processor required).
Any of the above described steps may be embodied as computer code on a computer readable medium. The computer readable medium may reside on one or more computational apparatuses and may use any suitable data storage technology.
The present invention can be implemented in the form of control logic in software or hardware or a combination of both. The control logic may be stored in an information storage medium as a plurality of instructions adapted to direct an information processing device to perform a set of steps disclosed in embodiment of the present invention. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will appreciate other ways and/or methods to implement the present invention.
The above description is illustrative but not restrictive. Many variations of the invention will become apparent to those skilled in the art upon review of the disclosure. The scope of the invention should, therefore, be determined not with reference to the above description, but instead should be determined with reference to the pending claims along with their full scope or equivalents.
A recitation of “a,” “an” or “the” is intended to mean “one or more” unless specifically indicated to the contrary.
All patents, patent applications, publications, and descriptions mentioned above are herein incorporated by reference in their entirety for all purposes. None is admitted to be prior art.
This application is a non-provisional, and claims the benefit, of co-pending, commonly assigned, U.S. Provisional Application No. 60/869,277, filed Dec. 8, 2006, entitled “RDS ENCODER FOR FM TRANSMITTER,” the entirety of which is herein incorporated by reference for all purposes.
Number | Date | Country | |
---|---|---|---|
60869277 | Dec 2006 | US |