Electronic Design
Testing FM in Modules and End-Use Devices

Testing FM in Modules and End-Use Devices

With each new generation of high-end mobility handheld devices, we get new capabilities. It started with digital cameras and continued with Bluetooth and GPS. Now, FM has become a standard feature.

Unlike Bluetooth, GPS and 3G cellular, wideband FM has been around since at least the early 1930s when Edwin Armstrong first suggested it as a way to broadcast speech and music.

In today’s handheld devices, FM is primarily included as a way to listen to FM broadcast. But using FM transmission, these devices also have a way to broadcast internally stored digitized music to a nearby FM receiver, such as an automobile’s entertainment system.

FM is included in high-end mobility devices. As a result, one can expect users to be discriminating about how well a device’s FM feature works. This impacts design as well as manufacturing, making thorough development and production testing an impending necessity.

One needs to know how to test FM, but more importantly, one needs to know how to do it thoroughly enough, fast enough, and at low-enough cost so that device cost is minimally impacted while device quality and user satisfaction is kept high.

WHAT IS FM?

Frequency modulation is the process whereby one varies the frequency of an RF signal in accordance with the changes in amplitude of an analog signal. In its simplest manifestation, one can produce an FM signal by modulating a voltage-controlled oscillator with a modulating signal of varying voltage. When the modulating signal is zero volts, the VCO carrier is centered. When the signal voltage varies, the instantaneous frequency of the VCO output will vary above and below that center frequency by the relationship:

f(t) = fc + Kvco*ms(t)

where f(t) is the instantaneous frequency, fc is the center frequency, Kvco is the VCO’s voltage-to frequency gain (given in Hz/V), and the product Kvco*ms(t) is the instantaneous frequency deviation.

Demodulation of an FM signal is a two-step process of differentiation followed by envelope detection. One aspect of differentiation, though, is amplification of high-frequency noise and consequent degradation of signal-to-noise ratio. To balance that out, FM broadcast signals use a high-pass transfer function called “pre-emphasis” that amplifies high-frequency content, and FM receivers apply a low-pass compensation transfer function, called “de-emphasis” that attenuates both the amplified high-frequency content and the high-frequency noise.

IN THE ABSENCE OF A STANDARD

Though there is no official industry standard for wideband FM signal specifications, there are certain common denominators. For example, all countries tend to use VHF radio spectra, typically 87.5 to 108.0 MHz, although there are countries which use additional VHF bands. Station bandwidth is typically 100 kHz with “center” frequencies either at successive odd (North America, South America, and the Caribbean) or even (some parts of Europe, Africa, and Greenland) 100-kHz increments. On an individual channel basis, though, there is more uniformity (Fig. 1). Monaural broadcast (combined right and left sub-channel audio) takes up about 15 kHz. This is the portion of the FM channel that is demodulated by monaural FM receivers (e.g. receivers that combine right and left audio for reproduction by a single speaker). For stereophonic receivers, a pilot tone transmitted at 19 kHz indicates a stereo broadcast and is used in doubler and tripler circuits to establish 38-kHz (for stereo) and 57-kHz (for RDS) local oscillator signals. Here, the receiver adds and subtracts the Left+Right sub-channel and Left-Right sub-channel to produce discrete L and R audio which can be reproduced by separate, spatially separated left and right speakers.

RDS, a digital radio data service (57 kHz), can carry narrow-bandwidth data signals (sent at 1187.5 bps), and the remainder is used for direct band and other subcarrier services.

The licensing authorities in each country establish the acceptable characteristics for frequency stability, spectral purity, and so on, for the transmitted signals. De facto reception standards have emerged for common FM devices.

But, by and large, the characteristics to be tested during design and manufacturing are not prescribed. Instead, designers have some choices about where they want to set their design and manufacturing limits. Consequently, any testing method will need to accommodate a reasonable range of values to provide broadly applicable support.

A CONSENSUS ON FM RECEIVER TESTS IN THE DESIGN PHASE

The FM receiver’s jobs include detecting the FM broadcast signals, selecting between FM broadcast channels, accurately demodulating the RF signals, maintaining sufficient isolation between the L and R channels (minimal crosstalk), and accurately reproducing the balance between L and R channels.

FM is essentially an analog transfer function between audio and RF. To test it adequately requires both RF and audio tests. The modules and end-use devices that will make up the bulk of testing now and in the near future will use both analog and digitized audio.

Module testing is easier than end-use device testing because control, stimulus, and response is more direct. In an end-use device, the tester must work through an intermediary (the device’s CPU or control processor), and the analog output must be accurately digitized for analysis by the PC. Those, however, are implementation details. The fundamental tests, in each case, are largely the same.

Let’s first examine the RF tests.

Received Signal Strength Indication (RSSI)

RSSI is the relative measure of incoming RF signal strength. Testing RSSI involves injecting an RF signal of known power and seeing whether the RSSI returns an expected indication-level result within design tolerances.

Signal-to-Noise Ratio (SNR)

How sensitive is an FM receiver? To find out, use a 30 or 50% audio deviation and measure the ratio of signal + noise /noise. As one lowers the signal strength, look for the point where the ratio drops below some value (e.g. 26 dB for stereo). The lower the signal strength that still provides a minimum ratio, the higher the sensitivity of the receiver.

RDS sensitivity/Block Error Rate

How accurate is the receiver’s data demodulation? To find out, one sends 26-bit data blocks to the receiver and compares the decoded result. As the signal level is lowered, one notes blocks with non-correctable errors, and when the number exceeds 5% of those sent, that power level establishes the RDS sensitivity limit (e.g. the signal level at which errors exceed 5%).

RX selectivity

An adequately sensitive receiver is only a partial solution. The FM broadcast band contains a group of stations spread across the band in any locality. The FM receiver must be capable of selecting among those stations to approach ideal single-signal reception. Strong adjacent stations, particularly in the presence of a weaker selected signal, can produce sideband signal energy in the latter’s channel and result in de-sensitization.

One cannot achieve selectivity that is perfect, but through careful design it is possible to limit the extent of unintended signal energy in the selected signal’s channel. Testing for selectivity would involve injecting discrete FM signals of different carrier frequencies and different signal levels so that one can simulate weak-signal selection with a strong adjacent-channel signal. By setting the in-channel signal level to the lowest level just before the SNR begins to degrade, and by raising the level of the out-of-channel signal to a point where the SNR begins to degrade, one can find the minimum out-of-channel signal level that causes SNR to fall away. In the absence of a standard, one should design for optimal selectivity based on design-cost budget and end-user expectations. That should determine the minimum power level of the out-of-channel signal before SNR degradation occurs.

AM suppression

In AM suppression testing, one wants to measure the FM receiver’s rejection of amplitude modulation of the signal. An FM signal can become amplitude modulated during fading, by transmitter distortion, and by other conditions. To test the suppression, one supplies the device with an FM signal having known AM modulation (say 30%), so that the device receives a signal having both FM and AM characteristics. By measuring the voltage of the device’s audio output, and repeating the test without AM, one can measure the output level ratio, which is a measure of suppression.

AUDIO TESTS IN THE DESIGN PHASE

This completes the description of minimum essential RF tests. Now, let’s examine the audio tests. Keep in mind that an FM receiver is meant to deliver sound. The purity of that sound is directly related to the degree to which unintended audio-frequency signal components are reduced. For example, a modulating tone of 1 kHz that is a pure sine wave and is passed through a perfectly linear audio chain would produce a 1-kHz end tone. To the extent that the signal sine wave is not perfect, and the audio chain not perfectly linear, there will be energy related to harmonics of that modulating tone (e.g. 2 kHz, 3 kHz, etc.). The ratio of the harmonic energy compared to the fundamental provides a measure of harmonic distortion. There are essentially two measures: total harmonic distortion (THD), and total harmonic distortion plus noise (THD+N, also called “SINAD”). The second is considered a better representation of real-world conditions because it includes noise in the result, and one’s ears do hear noise in addition to signal content.

But harmonically related distortion is not the only type that can impact the end signal. Non-harmonically related signal products can be caused by inter-modulation where, for example, two closely spaced tones of equal amplitude will, because of non-linearity, mix to produce sum and difference signal components. A measure of this inter-modulation distortion (IMD) will provide additional measure of end-signal distortion. A special case of IMD measurement, where one considers only the distortion caused by third-order products (e.g. 2f1-f2 and 2f2-f1), is called a third-order intercept point, or IP3.

Total Harmonic Distortion (THD)

In total harmonic distortion, one uses a high-purity tone (typically 1 kHz) and adjusts the system for 100% deviation (e.g. a full audio-signal modulation). The output is then examined for the presence of the applied and other frequencies. THD is defined as the rms voltage of the harmonics compared to that of the fundamental tone. There is no specification for maximum allowed THD. Different circuit designs will yield different THD values. This measure provides a way to compare the actual value to the design target value.

THD+N/SINAD

THD+N is considered a more telling measure of design performance because it measures everything on the output signal rather than just individual harmonics. THD+N is the sum of rms signal components (excluding the fundamental) over a specific bandwidth. Noise shaping using “weighting filters” (such as ITU-R 468) (Fig. 2) is often used to provide more correlation with what is actually “heard.” For example, noise that is out of the most-sensitive hearing frequency region is weighted lower.

Audio signal power and balance

In an ideal case, modulating signals of equal amplitude applied to the left and right channels should result in an FM receiver producing left- and right-channel audio signals with equal power and of a power level consistent with design targets. Signal level should also be high enough so that noise added by the system does not affect what is heard.

Audio bandwidth

Typically, high-quality audio bandwidth is 20 Hz to 20 kHz. Realistically, the audio bandwidth of an FM receiver will be somewhat narrower (say, 30 Hz to 15 kHz). By varying the modulation signal’s frequency from, say, 30 Hz to 15 kHz, and keeping the power level constant, one can find the lower and upper frequency limits where the output rolls off by 3 dB.

Channel crosstalk

Crosstalk in a stereophonic system relates to the presence of one channel’s signal on the other channel. As was described earlier, FM stereo is not produced by transmitting separate right- and left-channel signals but, rather, by a sum and difference of L+R and L-R signals. That process can result in some excess L signal on the R channel and vice-versa. In addition, at later stages of the receiver, it is possible that some L signal is induced onto an R channel path and vice-versa. In any case, one wants to ensure that minimal excess signal from one channel is present on the other.

One can measure crosstalk by placing a single-tone signal on one channel while keeping the other channel’s modulation input at zero. If the signal is applied to the left channel, one samples both channels and compares the output signal level of the opposite channel to that of the intended channel. That provides a crosstalk ratio. One can make this test at different frequencies to see to what extent any crosstalk is frequency related.

Pilot suppression

The 19-kHz pilot signal tells an FM receiver that a stereo-modulated signal is being received. It also provides the signal source for the 38-kHz and 57-kHz signals. This 19-kHz tone is in the audible range of the human ear, but above the transmitted audio bandwidth ((57 kHz – 38 KHz )/ 2), so the FM receiver will filter the 19-kHz tone. The remaining finite signal must be verified to be below some threshold because it would otherwise distract from the audio being transmitted.

TRANSMITTER DESIGN CHARACTERISTICS FOR THE DESIGN PHASE

The FM subsystems in today’s advanced wireless devices are more than FM receivers. FM transmitters are also included primarily as a means for sending stored music content to another FM receiver. In a car, for example, a device with MP3 music content and FM TX capability could send that content wirelessly to the car’s entertainment system without need for any cables or connectors. The key, of course, is to ensure that the FM TX function will provide a signal that is stable and minimally distorted. Also, the FM TX function may be required to do more than transfer audio between devices; it may be used to transfer GPS information to the car radio, and to transfer simple (RDS) data messages, as well.

As with the FM receiver, the FM TX requires two kinds of tests: RF and audio quality.

RF TESTS

The following RF tests are used to verify TX power, the bandwidth its signal occupies, the quality of the audio modulation, its frequency accuracy and stability, and its RDS digital functionality.

Transmit power

One has to make sure that the power design targets have been met. The power range must be verified, and the most critical parameter is maximum power because the licensing authorities do specify such, and it is different in different countries.

To test this, one must verify that the device produces a signal of power level consistent with the regulatory maximum threshold (typically 0 to +5dBm). In testing the device, it should be instructed to transmit at its maximum power level, and that signal must be accurately measured and compared to the specified maximum. In some cases, during this test, the device may be calibrated.

Occupied bandwidth

Again, using maximum power (for worst-case results), the signal is captured and analyzed in the frequency domain to affirm that it is confined to the channel spectrum. The test should look well beyond the 100-kHz channel bandwidth to ensure that 99% of the transmitted signal power is confined inside the intended channel.

Modulation accuracy

As one would expect, successful modulation-accuracy testing hinges on a very accurate and stable signal source. The transmitted signal can contain audio, pilot, and RDS data. The deviation contributions from all of them will affect total frequency deviation. So, one must apply known audio signal, a preset deviation for the 19-kHz pilot tone, and a preset deviation for the RDS modulated data, and measure/verify the deviation each contributes.

Frequency accuracy

The FM TX will, in fact, emulate an FM broadcast albeit at much lower power. The FM TX, however, will not be held to the tight frequency tolerances of an FM broadcast station. Instead, the frequency should be tested to verify that it is within the pull-in range of a typical FM receiver.

RDS check

Here, unlike in FM RX where we need to check block error rate, we just need to ensure that a data signal produces the correct modulation deviation, and that SNR is high enough to allow dependable demodulation.

AUDIO TESTS

Unlike in RX testing, where the device’s audio output was used to verify various audio-related tests, TX testing relies on the test instrument to provide those measurements based on the device’s transmitted signal. Essentially, then, one must use an audio source signal with known characteristics and measure how well the FM TX device modulates that source. The actual tests are like those done in RX. We have THD, THD+N, signal power and balance, bandwidth, and crosstalk. In RX testing, we assume the transmitted signal is near perfect and all distortions occur in the audio chain. However, in TX testing, we assume that the modulating source is near perfect and all imperfections occur in the modulation and RF chains.

Just like an FM broadcast system, the FM TX device will apply pre-emphasis. It is important that the test system has that pre-emphasis setting so it can match it with the test instrument’s de-emphasis to get accurate results.

DESIGN VERSUS MANUFACTURING TESTING

The full testing regimen described is appropriate for development where design verification is the primary objective. Once a design is proven, the testing regimen can be scaled down because one is no longer verifying the design; one is trying to detect manufacturing defects and cull out failed or substandard units.

Usually the difference between design and manufacturing testing is more one of degree than substance. For example, in verification tests that should involve more steps, a manufacturing test could use fewer steps so long as they catch a component or manufacturing defect.

The objective in verification testing is to fully stimulate and accurately measure response to prove out the design. Time is not of the essence; repeatability and accuracy are. In manufacturing, the ideal objective is to catch every device with a component or manufacturing defect. Time and cost are critical factors. If some tests can be done in parallel without compromising result accuracy, they should be done in parallel to save time and cost.

TESTING AT THE FM BLOCK LEVEL VERSUS END-USE DEVICES

Modules are a key part of most multi-radio wireless devices. A FM block would typically have an FM signal input and produce either analog right- and left-channel audio outputs or integrated interchip sound (I2S) outputs (Fig. 3). An interface subsystem would use the module’s outputs and create digitized equivalents (such as .wav files). These would provide the input data for the FM RX tests. As shown, module inputs and outputs are basic and standard, so a test system as shown in figure 3 could be used to test any of them with no need for special module-specific software.

In an end-use device, FM is just a small sub-block. It is typically interfaced to the control processor (CPU) that controls the FM sub-block. The interface to the control processor is usually through an I2S interface or analog signals (Fig. 4) plus a control interface for changing FM frequency, for example. Here, using the same tester, one would input the same kinds of test signals. However, the analog or I2S is not available to be brought out to the FM analysis tool. Instead, one would need to develop software that runs on the control processor (CPU) that translates the digitized equivalents (such as .wav files). In other words, the interface subsystem is integral to the end-use device and would require device-specific software to create the analysis-required digital output. In the case of analog signals, the CPU would use its own analog-to-digital converter to digitize the analog audio signals. Other than that, though, the testing would be identical. You would use the same FM input signals and analyze the digitized output data for the desired test metrics. Most modern devices feature a USB port which enables data to be transferred back to the measurement system. Alternatively, if the libraries are available to it, the CPU can perform the analysis itself.

SUMMING IT UP

Despite the lack of an industry-standard specification for FM RX and TX, FM capabilities are being added to wireless end-use devices, and will have to be tested to verify that design targets have been met and that mass-produced devices are free of component or manufacturing defects. Commercially available multi-radio testers can be used for FM RX/TX test (see “Multi-Radio Tester Applied to FM Testing”)

FM testing is essentially a test of an analog transfer function. The input must be known to evaluate the measured results. Testing FM RX requires an RF and audio test. Most measurements are performed on an audio signal. Testing FM TX requires an RF test and audio stimulus, and most measurements are performed on a demodulated RF signal, again using audio quality metrics.

The same types of tests are used for both design verification and manufacturing quality checking (see the table). The difference is in degree rather than substance. In manufacturing, where it is possible to do some tests in parallel (e.g. concurrently) without compromising the results accuracy, one should do so because it shortens test times and costs. There are some tests, for example, where using advanced equipment, the same stimulus can be used to measure many results. In a sense, it’s like getting something for free in that there is no additional time involved.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish