Advertisement

Class-D amplifier makes surround sound a reality in AR/VR headset

Selecting the right audio amplifier for nearfield surround sound can create optimal sound quality in an AR/VR headset for a truly immersive experience.

“The screen is a window through which one sees a virtual world. The challenge is to make that world look real, act real, sound real, feel real.” The words of Ivan Sutherland, the American computer scientist and internet pioneer who was widely regarded as the “father of computer graphics” succinctly states the challenge of creating a truly immersive augmented or virtual reality (AR/VR) experience (Fig. 1).

While much effort has focused on creating stunning visual panoplies, attention is now beginning to shift to further enhancing the audio and tactile components of the AR/VR adventure. Indeed, Jeffrey Yau, a researcher at John Hopkins University-Baltimore summarized the results of recent experiments carried out on the relationship between sound and touch. “We hear with our ears and feel with our skin, but our brains may combine this information in specific ways. Frequency information from the two senses appears to be always combined.”

For developers, this may mean that future improvements on the audio and tactile aspects of AR/VR will be done in tandem, rather than independently and in parallel.

AR/VR headset

Fig. 1: AR/VR headset (Image: Shutterstock)

In this article, we consider the type of audio experience that high-end AR/VR equipment manufacturers are looking to provide and the challenge of making that possible within the limited space constraints of a wearable head-mount. We discuss the importance of haptic feedback to the AR/VR audio experience before proposing a high-efficiency, plug-and-play digital Class-D amplifier that can be easily scaled to achieve both the desired audio and haptic experience in a tiny, space-efficient solution.

Nearfield surround sound

Surround sound is defined as a system of stereophony involving three or more speakers surrounding the listener to give a more realistic, modern cinema theater effect. It uses a 7.1 configuration (3 left, 3 right, a center channel, and a sub-woofer) to create an even more realistic surround sound experience. The task of placing eight speakers (plus an amplifier) at various locations, even within a generously proportioned room, to provide optimal sound quality is not trivial. Incredibly, AR/VR equipment manufacturers are now seeking to recreate this same nearfield surround experience within a wearable head-mount (Fig. 2)

Nearfield surround sound head-mount

Fig. 2: Nearfield surround sound head-mount (Image: Shutterstock)

Unlikely as this may sound, they are also looking for ways to use haptic rockers to create audio synchronous reverberations, thereby providing wearers with an even more satisfying sensory experience. As anyone who has been to a cinema to view a film or an auditorium to listen to a classical orchestra will know, sound is only one part of the experience. The coincident vibrations that the audience senses greatly enhance the overall experience.

3D audio in a head-mount

Faced with the daunting task of creating what amounts to the design of immersive 3D audio in a head-mount, the key to making this happen lies in choosing an appropriate audio amplifier to meet the design specification. Interconnecting up to eight speakers within the framework of a wearable head-mount requires using an audio IC that not only comes in a tiny package but also allows for straightforward board routing.

The amplifier should be as efficient as possible (90% or higher) with the ability to operate from the lowest possible supply voltage. This helps minimize power consumption and thereby extends the battery life of the headset. Like all modern audio applications, high-fidelity sound quality (high PSRR, low noise, and wide dynamic range) is almost beyond re-stating.

Another critical specification of the amplifier is its electromagnetic (EMI) performance. With multiple traces traversing various lengths across the board, it is important that the audio amplifier rejects unwanted signal frequencies that could become perceptible if passed to the speakers.

As if addressing the audio requirements was not demanding enough, the amplifier must also meet the fast turn-on time needed for synchronous connection to a haptic rocker. If the turn-on time is more than a few milliseconds, the haptic circuitry must constantly be kept awake, even when not in use, which wastes power. By using an amplifier with a fast turn-on time, the haptic circuitry is only active when needed.

 Typical but not a trivial solution

Meeting the high efficiency requirement requires using a Class-D audio amplifier. These are available aplenty in varying guises, operating from different supply voltages and with different levels of efficiency. Fig. 3 shows how eight I2S input Class-D speaker amplifiers connected to an audio processing unit typically require four separate I2S ports.

Maxim Integrated diagram of eight speakers

Fig. 3: Diagram of eight speakers driven by four I2S ports (Image: Maxim Integrated)

Accommodating four multiwire I2S channels requires a larger board (which may be difficult within the tight confines of an AR/VR headset) and increases power consumption while worsening electromagnetic compatibility (EMC) performance.

 Simpler and smaller solution

The MAX98360 digital Class-D amplifier shown in Fig. 4 addresses all aspects of the design requirements previously considered by using a simpler and smaller solution.

Maxim Integrated MAX98360 Class-D amplifier

Fig. 4: MAX98360 digital Class-D amplifier (Image: Maxim Integrated)

A major advantage of using this amplifier is that it supports 8-channel time division multiplexed (TDM) data. This means that eight different speakers signals can be driven using a single TDM port (Fig. 5) from the APU. This greatly simplifies board routing compared to the previous solution and helps keep all of the audio signals in-phase (since they are driven from a single digital audio input port).

Maxim Integrated eight speakers driven by TDM input

Fig. 5: Eight speakers driven by one TDM input (Image: Maxim Integrated)

Board design is further simplified by the fact that this IC requires no additional Class-D filtering to achieve exceptional EMI performance as shown in Fig. 6 (measured using a 12-inch stripline load).

MAX98360 Class-D amplifier EMI performance

Fig. 6: The EMI performance of the MAX98360 (Image: Maxim Integrated)

This IC has another notable benefit to help minimize board size/cost. It is available in a tiny 1.9 mm2 WLP with a clever pin layout designed to eliminate the need for costly board vias. As shown in Fig. 7, the GAIN_SLOT pin (located in the center of the package) can be conveniently connected to VDD or GND (either directly or using resistors) or left unconnected to provide the I2S/left-justified gain settings shown in Table 1.

MAX98360 Class-D amplifier gain settings

Fig. 7: Connecting GAIN_SLOT to VDD or GND for desired gain setting (Image: Maxim Integrated)

Table 1:  I2S/Left-Justified Gain Settings for MAX98360 (Image: Maxim Integrated)

Gain settings table for MAX98360 Class-D amplifier

For applications requiring variable gain settings, the GAIN_SLOT pin can be easily routed out using only a tiny 2-mil trace with 2-mil clearance, as shown in Fig. 8.

MAX98360 Class-D amplifier gain slot pin

Fig. 8: Routing out the GAIN_SLOT pin without using a via. (Image: Maxim Integrated)

Unlike older Class-D amplifiers, this IC uses automatic sample rate and bit depth configuration to eliminate the need for complicated I2C programming, providing a simple and effective “plug ’n’ play” audio solution. It has a flexible audio interface, supporting I2S, left-justified, and 8-channel TDM data formats. It accepts 8 kHz, 16 kHz, 32 kHz, 44.1 kHz, 48 kHz, 88.2 kHz, and 96 kHz sample rates and data words can be 16-bit, 24-bit, or 32-bit in I2S and left-justified modes and 16-bit or 32-bit in TDM mode. High-quality audio is guaranteed by its 1 0µVRMS output noise, 80 dB PSRR, and 110 dB dynamic range specifications.

This IC operates with just one supply voltage, over a wide 2.5 V to 5.5 V range. Operating at up to 92% efficiency is an important benefit when seeking to extend battery life. It can accept input-logic voltage levels down to 1.2 V (meaning level shifters are not required) but it is robust enough to tolerate up to 5.5 V.

Another useful feature of this IC is that if the DAIx pins are held low, it automatically enters a 1.5 µA ultra-low-power, standby mode. This can be used to greatly reduce power consumption in applications where a no-host GPIO is available to control the EN pin. Another advantage is that because it has a very fast 1 ms turn-on time (4x faster than similar Class-D amplifiers), it can wait in this low-power standby mode even when used with an LRA haptic driver. It should be noted that the EN pin can achieve additional power savings by placing the IC in a shutdown mode where it draws only 15 nA of current.

Summary

Designers of AR/VR equipment continue to push the boundaries between what is real and virtual. One way they can do this is by providing a superior audio and haptic experience. Once the preserve of the cinema or home theatre, multi-channel audio systems are now being included in high-end AR/VR headsets. In this article, we have discussed the requirements for an audio amplifier to make this possible. Apart from AR/VR applications, the Class-D digital audio amplifier also is suitable for use in tablets, notebooks, IoT devices, and smart speakers.

About the authors:

Matt Felder is a senior analog designer in the Audio team at Maxim Integrated. He has a BSEE from Texas A&M and an MSEE from UT Austin and holds 45 issued patents.

Gregory Mow is business manager for Audio Solutions at Maxim Integrated. He has a BS in Electrical Engineering at the University of California, San Diego

Michael Jackson holds the position of principal technical writer at Maxim Integrated. He has a MEng in Electronic Engineering from Dublin City University

Advertisement



Learn more about Maxim Integrated

Leave a Reply