Skip to main content

Sound Solutions for Wireless Audio

radio using spark gap to flood the airwaves with noise in all bands

Image Source: "Induktionsapparat hg" by Dr. Hannes Grobe - CC BY 2.5

by Jon Gabay, Mouser Electronics

The earliest forms of wireless communication links used high-voltage spark gaps as a means of communicating (Figure 1). Morse code was used over these primitive radio links as a wireless replacement for the telegraph. For three decades, these were huge boons to ships and aircraft that, for the first time, had a real-time communications link to bases or stations miles away.

When vacuum tubes entered the scene, electronic control allowed the transmission of continuous waves, which permitted modulation to take place. This allowed sound to be transmitted instead of noisy impulse energy flooding all the bands. For the first time, the modulation segmented the airwaves into bands so that multiple transmissions could occur simultaneously in the same area. Early signaling links used audio tones for Morse code utilizing audio oscillators.

As the technology was improved by industry and the military, voice-quality systems spawned additional growth. Bidirectional transceivers allowed real-time voice communications, initially in half-duplex mode. This proved effective for coordinating troops, ships, and aircraft into a more cohesive fighting force.

As new industries embraced wireless technology, improvements such as higher fidelities allowed music-quality mono audio through the use of Amplitude-Modulation (AM) signaling. The design and manufacture of inexpensive radio receivers spawned an entire industry providing a low-cost communications network for news and entertainment for the masses (Figure 2).

diagram of radio wavelength and how an audio signal is encoded, then decoded with tuning, decoder, and audio amplifier

 

Figure 2: Modulation techniques allowed the first wireless audio broadcast systems to create industries we now take for granted. For the first time, real-time news and audio could be received by the masses. "Radio Transmission Diagram en" By LadyofHats - CC BY 2.5

Transceiver designs also improved as Frequency Modulation (FM) began to dominate one-way communications such as radio stations, as well as two-way communications for military and law enforcement. FM was more noise immune than AM and provided a higher bandwidth, not only providing more fidelity, but also allowing stereo transmission and reception. Relaying radio links kept the world on the edge of their seats as early astronauts began space exploration, speaking from orbit and eventually the moon.

Many data-gathering instruments also took advantage of primitive AM and FM signaling for scientific research, weather prediction, and global systems such as seismograph units. Radio engineers improved and refined radio designs for long-distance transmission of voice, video, data gathering, and control, and we even sent radio signals into space.

Digital Radios Make An Entrance

Digital radios were initially just digital modulators. AM modulation simply controlled the gating of an oscillator. FM modulation caused digital timing circuits to output one of two frequencies for Frequency Shift Keying (FSK) transmission of digital data. Logic elements soon replaced voltage-to-frequency converters in digital form, and counters, shift registers, logic gates, and flip-flops soon became the common building blocks of radio links. Thanks to precision crystal oscillators, as well as the reliable digital division and synthesis of clocks and carrier frequencies, digital radios required little tuning and did not suffer frequency drift such as their analog counterparts.

Digital also allowed new modulation techniques to emerge, and we saw the use of such keying techniques as phase-shift, quadrature-shift, and orthogonal-shift. Again pioneered by military and security concerns, spread-spectrum and frequency-hopping techniques were released for public use, and the flourishing of modern radio ignited.

Designing Modern Wireless Audio Systems

RF products are highly regulated and controlled by governmental agencies in every country. Therefore, many of the target applications will determine what type of radio, protocol, power level, and frequency band a design can use. Cost is a driving constraint, and in that regard, narrow-band AM/FM is the lowest cost to implement and is still useful for many of today's applications.

For example, a wireless speaker can easily be designed using a tuned or tunable FM stereo transmitter and receiver. Both transmit and receive radios can be implemented with a few transistors and discrete parts, creating a small- and low-cost RF link. The same holds true with many toy-like designs such as kids' walkie-talkies. CB radios did a good job of partitioning a frequency band to allow multiple concurrent voice quality links in a given area.

Broadcast AM and FM wireless audio for radio and airwaves television are still viable but for a shrinking market. The widespread use and availability of the web, cloud storage, and a frequency-hopping spread spectrum has all but displaced the need for a separate radio. Today, most get their music and audio wirelessly over cellular, Wi-Fi, and Bluetooth® links. Other RF standards and protocols can be used, but the majority of the market uses Bluetooth and Wi-Fi technology.

AM and FM technology is still a useful, low-cost solution for many applications such as radio control links, wireless microphones, baby monitors, nanny cams, and so on. In these cases, when dozens of competing transmitters and receivers are not fighting for bandwidth and air space, the older, simpler technologies provide a quality low-cost solution.

Take, for example, the Silicon Labs Si4840-A10-GU single-chip RF radio receiver. It houses a Voltage-Controlled Oscillator (VCO), Phase Lock Loop (PLL), synthesizer, RF tuner, baseband audio processor, an Automatic Gain Control (AGC) circuit, and fairly good 97dB audio DACs using simple I2C and SPI serial protocols for control and access. With a Digital Signal Processor (DSP)-based digital radio inside, the AM and FM single chip wireless radio receiver supports standard AM (520kHz - 1719kHz), and FM (76MHz - 108MHz) audio radio decoding, but also can provide concurrent I2S digital audio outputs for integrating the wireless audio with other digital audio components and devices (Figure 3).

Block diagram of the Si4689-A10

 

Figure 3: The Silicon Labs Si4689 block diagram is shown above. Even modern AM/FM style radio systems are all internally constructed using digital building blocks. Silicon has replaced copper as bulky and expensive coils are no longer needed. (Source: Mouser Electronics)

Advantages of digital foundation allow native support of digital services such as radio data services (RDS) for real-time traffic and alerts and also implements the European-sourced Digital Audio Broadcast (DAB and DAB+) VHF (168MHz - 240MHz) band lower fidelity (~15kHz) audio links. DAB is more robust with multi-path fading and noise, but has not replaced the more widespread FM that still provides better signal fidelity.

Development support is also provided by Silicon Labs with the SI468X-WLCSP-EVB that includes a component suggestion BOM, schematics, and PCB layouts for a rather compact six-layer test design that separates analog and digital layers with a ground plane.

It is interesting to note that the fairly small 7mm x 7mm, package could be used as a remote control receiver using audio modulation as a low-cost, one-way data link. A booster rocket fine-tuning control link could, for example, co-exist with other more sophisticated RF links and protocols and serve as a redundant safety backup link or fail-safe.

By the same token, dedicated one-way-only transmitters can very effectively use AM and FM techniques to create small and reliable audio or data sensor transmission links, again, using simple and low-cost audio technology.

Digital Audio Takes Over

Even modern AM/FM audio transceivers are now using digital technology inside, and almost all wireless audio is digital. While technically considered wireless technologies, 3G/4G and 5G services, as well as Wi-Fi access points, are just transport services of the digital data used to route the audio information to the desired endpoint.

The flexible nature of modern digital radio transceiver chips certainly allows for the design and creation of a proprietary protocol that can be freely used in the ISM bands. But if the requirements exceed the capabilities of a standard, a standard is always the best path to follow. If a proprietary scheme is desired, several good, general-purpose parts can be used to create wireless audio links.

Raw interfaces are simpler and do not require a lot of overhead. If multiple users are in proximity, designers need to develop their own arbitration systems and interoperability techniques. Other protocols can be designed and implemented over any raw data stream. This allows designers to craft custom, proprietary audio RF links to provide distinct competitive advantages.

However, most designs need to operate with other equipment. For example, media centers can aggregate services and use Wi-Fi as a point-to-point delivery system for wireless audio. Most handheld devices support Wi-Fi natively so that a well-established compatible link can be quickly brought to a large potential market with lower risk.

Wi-Fi is actually desirable for a greater number of high-fidelity, simultaneous channels since these might require higher-bandwidth sampling and transport. With Wi-Fi, a design engineer can program payloads and packet sizes that better deliver higher band data points. With standard AM/FM and Bluetooth, the channels and bandwidths are more limited. This means that consumer devices and CD-quality applications in stereo will most certainly use Bluetooth, while professional and broadcast-quality equipment will want to use Wi-Fi.

Wi-Fi Or Not?

Many well-engineered Wi-Fi transceiver chips and Wi-Fi modules are well-supported and stocked items. In addition, numerous RF development kits and accessories supporting standard as well as proprietary radio designs are on the shelf.

It is interesting to note that the audio portion of the link is no longer analog, so the only audio is on the front-end A/D and back-end D/A stages. This means that external audio input and output stages will be needed when using generic Wi-Fi link devices if it doesn't have on-chip mixed-signal functionality. The same holds true for data rates. Low-data-rate parts such as STMicroelectronics' SPIRIT1QTR can be used for some Wi-Fi applications, especially sensors and the Internet of Things (IoT), but are not suitable for quality audio, especially with the limited 500Kbps throughput.

The Texas Instruments CC3200AUDBOOST might be more suitable with its four-channel 12bit A/D converters, I2S digital audio ports, embedded 80MHz Arm® Cortex M4 CPU, power management, and more (Figure 4). A nice feature is the SDMMC flash interfaces, which are ideal for adding smart-card connectivity for storing audio files.

Block diagram of the SWAS032-011

 

Figure 4: The Texas Instruments CC3200 functional block diagram is shown above. Modern digital links for audio are embedded processors surrounded by the peripherals needed to capture, filter, and modulate the signals in purely digital form. Either high-end on-chip A/D converters can be used with software-based filtering, or, external subsystem blocks can easily be bolted on using serial audio links. (Source: Mouser Electronics)

The maximum attainable fidelity for audio is directly related to data rates, and the 16Mbps data rate has enough room to provide higher fidelity than humans can hear. Even with the higher associated overhead of a digital transport link, this provides enough room for multi-speaker, surround-sound, lossless professional and broadcast-quality audio. Even interoperability with multiple units can be accomplished with channel and bandwidth control and tethering.

The Bluetooth In The Room

Bluetooth has clearly become the de facto standard for low-cost wireless headsets, speakers, and shared audio. The inclusion of Bluetooth on computers, laptops, tablets, and phones has thrust this standard onto everyone's equipment, and it offers some benefits for designers and users alike.

CD-quality audio is good enough for most. Only professionals or the "gotta-haves" need more. The tethering is also useful and has proven to be rather effective, even in crowded settings. The range is more than sufficient for personal audio devices, either handheld or part of a Person Area Network (PAN). The power management of transmit power also maximizes battery life and exposes us to less RF.

Like Wi-Fi, many Bluetooth chips and modules are ready to use with a lot of reference materials, designs, and even software stacks for the IP protocols.

A Jumping-Off Point

In the form of data, wireless audio information is routed and directed through a network of switches, routers, and protocol converters. Often, one wired or wireless standard must extract data for retransmission through another wired or wireless standard. Wi-Fi can be the jumping-off point to Bluetooth, so a device that combines both protocols and standards on a single module or chip makes a lot of sense here.

Consider the Sparkfun ESP32 Thing, a Wi-Fi and Bluetooth transceiver-in-one. With data rates up to 150Mbps, the 3.3V dual transceiver operates in the 802.11b/g/n and Bluetooth bands to create a comprehensive all-in-one dual-band solution.

This transceiver features adaptive radio biasing for better low-power modes as well as hardware-accelerated security. In addition, quality of service standards and schemes are built in to ensure timely, reliable delivery of data.

Note that transceiver modules in chip form factors can be very desirable in many respects, not the least of which is the agency certifications and compliances that come along with a manufactured, pre-certified solution. The freedom to not have to be intricately involved in the latest and greatest specifications subtleties is also a big bonus, as the module manufacturers are responsible for that. And finally, design and application support practically make designing with wireless a cut-and-paste operation.

Two Designs In One

With design engineers constantly facing time-to-market pressures, modular solutions are often the way to go. They not only allow rapid prototyping and testing, but they also bring with them the encapsulated expertise of rather complex standards in a manufactured form.

Note that costs might be higher with modules since they are finished products in their own right. But, there is no reason that pilot runs and even production runs of a product using modules can't take place while the engineering team is quietly working in the background on their own RF link.

If volumes are high enough, the possible cost savings of creating your own designs can eventually add to the bottom line. But time will still be needed for international certifications once a design is ready for inclusion on the finished products. Also, re-certification might need to take place if components change, become obsolete, or otherwise unavailable. In any case, development support is available as are reference designs, sample code, and even PCB layouts.

 

 

About the Author

After completing his studies in electrical engineering, Jon Gabay has worked with defense, commercial, industrial, consumer, energy, and medical companies as a design engineer, firmware coder, system designer, research scientist, and product developer. As an alternative energy researcher and inventor, he has been involved with automation technology since he founded and ran Dedicated Devices Corp. up until 2004. Since then, he has been doing research and development, writing articles, and developing technologies for next-generation engineers and students.

Profile Photo of Jon Gabay