Any Time, Anywhere Audio

Wed, 05/16/2012 - 6:04am

Bill Boldt, Sr. Business Development Manager, Fairchild Semiconductor

With cell phone companies using merchant chip sets, they must find new ways to differentiate how their products look, feel, sound; and what they enable users to do.  As for sound, in the not-too-distant past handset users expected very little in the way of audio performance, so whatever amplifier was built into the core chip set was good enough.  But with so many innovative phones, tablets, and applications on the market user expectations have mushroomed, and that includes audio.  Users want good sounding audio at anytime and anywhere.

Any time/anywhere audio puts a huge burden on cell phone designers to get everything they can out of the little speakers on handsets and tablets, which simply are not known for great sound.  Little speakers are limited, but audio expectations are limitless.  So, component and mobile platform makers are responding by making higher output (louder) speaker amplifiers, adding DSP sound processing (aka: audio post-processing), eliminating pops and clicks, and doing other audio tricks.

Audio engineering is a work of art because sound is such a subjective and personal experience and audio engineering is replete with trade-offs and judgment calls.  Below are several examples of the techniques that audio engineers employ to bring better sound to mobile platforms.  Each can be a dissertation in and of itself, so they are briefly introduced to call to mind some of the important issues, trends, and solutions.   

1 Dynamic Range, SNR, and THD+N
The classic measure of performance in audio is signal to noise ratio (SNR) or dynamic range.  As with many comparative measures of a product’s performance, SNR measurements have been subject to “specsmanship” where various interpretations are used to position a product in the best light with less than 100% regard for objective purity.   To provide more objectivity, the Audio Engineering Society (AES) has created standards for audio engineering measurement.  Total harmonic distortion plus noise (THD+N) is a more common and useful metric than THD alone because it represents the usage case more accurately (i.e. noise matters).  To put it into a formula: THD + N = the sum of Harmonic Power + Noise Power divided by the Total Output Power.  Note that output power is meaningful only when the level of distortion present when it is measured is specified.

The chart below makes a direct comparison of the dynamic ranges of audio different equipment from CD to professional audio.  The driving force for cell phone and tablet audio performance is to approach or beat the dynamic range of MP3 players (around 100db), and that is what is happening now in the cell phone and tablet markets. 

Figure 1.  Dynamic range of audio products (SNR in dB)

2  MICROPHONES and Audio post processing
Support for several mics on mobile platforms is becoming necessary since multiple mics are required for DSP echo cancellation and other sophisticated audio and voice processing.  Differential mic inputs are being used to lower susceptibility to noise, RF, and crosstalk.  In mobile audio systems, mics, audio codecs, and DSP processors work together to enable advanced features. DSP is where the battle ground in smart phone audio increasingly is being centered.  DSP echo cancellation, 3D spatialization, and other audio features use multiple mics to provide inputs for processing. A simple example of why at least two mics are needed is the act of separating voice signals from background noise. One mic listens to the voice plus background noise and the other the background noise only.  The DSP/codec system then receives those signals to subtract out the noise to provide a clearer voice signal. 

The use of digital mics (both ECM and MEMS)  in lieu of analog mics is increasingly popular and being driven by mobile OEMs since digital traces are more immune to injection of noise from noisy cell phone processors and radio ICs such as the baseband modems.

Pop and click noise is a classic issue in audio, and occurs when an audio input is powered up or powered down, muted, or connected to different loads, which can create transients that can be heard through the speaker or headphone.  Pop and click reduction is increasingly important in mobile applications since mobile operation naturally leads to turning things off to save power. Of course, that means these they have to be turned on again creating on/off and off/on transitions can cause audible transients.  In the past, pop and click abatement was addressed with external capacitors, but with increased levels of integration the drive has been to eliminate capacitors for cost and performance reasons and provide innovative on-chip approaches to reduce pop and click.  

Switching between internal and external mics when a handset is plugged in is another source of pops and clicks.  This can be managed by providing insertion detection circuitry.  Slow turn-on and off is another way to suppress pop and click noise.  Slow turn on and off is useful with audio drivers that do not have blocking caps because DC offset voltages can be present.   Slow turn on, like it sounds, ramps the switching resistance so the slew rate of the load voltage comes up slowly enough that the pop or click noise does not occur.   One way to do that is by using integrated audio switches that provide slow turn. .  The diagram below from a Fairchild slow turn audio switch illustrates the concept.  This particular product has an adjustable (slow) turn on and off ranging from 1 to 200 msec.  The diagram shows the 100msec setting.

Figure 2.  Slow turn on/off timing.

Especially for mobile, pop and click design know-how becomes critical and is another one of those places where audio engineering starts to look more like an art form, because perception of pop and click is subjective, making experience and the little tricks of the trade a bigger part of success model. 

4  DRC (Dynamic Range Control) and speaker protection
Anyone who has turned up a home stereo amp too high (and who hasn’t) is intimately aware of what happens when a speaker is over-driven. Your ears are greeted with ugly distortion.  On the other hand, the sense of a speaker’s loudness cannot be obtained unless the amp is allowed to get close to the speaker’s limits.  A fine line needs to be approached.  One way to do that is to control the amp’s gain through dynamic range control (DRC), which tries to optimize the sound quality to prevent distortion while maximizing the recorded signal level.  This is like in the old days of making analog recordings where you would manually adjust the input volume while watching the VU meter on the tape recorder to keep the needle out of the red zone during loud passages and increasing the volume during quiet periods so as to mask the bias hiss from analog tape recorders. That was literally manual dynamic range compression.  Now it is done automatically by ICs that monitor the signal level and provide feedback to increase or decrease the gain.  The result is compression of the audible range (i.e. higher lows and lower highs), and that makes it sound better to listeners.  However, with the loudness levels increasing for small speakers, the risks of damage is going up.  Therefore, speaker protection methods are becoming more important.

One of the most dangerous phenomena a speaker can encounter is a clipped signal. Clipping occurs when the amplifier drives beyond the limits of the speaker, which causes the signal to increasingly look more like a square wave than a normal audio signal. The term clipping is used because the top looks clipped off. 

Figure 3 Clipped signal

Why clipping is dangerous to the speaker is that as the signal starts to square-off more high frequency harmonics are created thus presenting more energy than the speaker can tolerate causing permanent damage. Mobile audio amps are now adding anti-clipping mechanisms to limit their output to better match speakers. The most basic anti-clipping method is setting the gain such that it does not go beyond a pre-set level by using an AGC technique.   Other even more sophisticated methods of speaker protection are being developed that actively monitor what is happening to the speaker and feed information back to the amp to keep the operation safe. Some active speaker protection schemes can use small signal processors on the amp itself to conduct signal analysis.  All types of speaker protection, active or passive, make it easier for mobile platform makers to provide the louder and more durable audio, so speaker protection will continue to be a key item in the audio pantheon.

Certain mobile audio amplifiers are now offering a noise gate function.  A noise gate mutes the output when the signal is below a specified level, just like an old fashioned squelch, to eliminate radio, DAC, and other noise in the system.  The noise gate function is typically more useful for voice than music.   Attack and decay parameters are sometimes used to control and set the noise gate depending on how it is designed.

Figure 4. Noise gate mutes low signals to remove the perception of noise 

An equalizer is simply a set of volume controls applied to narrow slices of frequency ranges across the audio range.  5-band equalizers are typical in mobile platforms. Equalizers enable system designers to customize the output signal to optimize the performance of the speaker in a particular environment.   Back in the early days of audiophile stereo when equalizers became known to the general audio consumer, it was noted that once an equalizer was set to account for the particular acoustics of the room it was in was a matter of “set it and forget it” (to steal a phrase from Ron Popeil).  This is a similar case; but instead of the room, the mobile designer is concerned about the case of the handset or tablet.  The idea is to match the speaker and the case for optimal acoustic performance.  Equalization is particularly important if the speaker is jammed into a non-optimal position in the case, which often happens due to industrial design considerations.  The equalizer, which is on the chip set’s internal codec or in an external audio codec, sets the parameters for the particular enclosure (case) and thus improves the overall sound of the product.  Equalization can be viewed as one of the important DSP functions among several that make the hand set sound better. 

7   Class D and EMI Reduction
Discussions of audio seem to eventually get around to the concept of class warfare, meaning the comparison of the various classes of audio amplifiers.  So here we go.  Class D is a compelling technology for mobile because its efficiency versus Class AB is far better, but the downsides of Class D are EMI and that the sound is not considered to be as good as Class AB.  The invisible hand of the market weighed the trade-offs and seems to have decided that Class D for speaker amps is acceptable, at least at the current moment.  For headphones, Classes AB, G, and H remain popular choices, though Class D sometimes is used as well.

Class D’s tendency to emit unwanted EMI as a result of its inherent PWM switching architecture requires different methods to suppress EMI.  One suppression method often employed on PWM systems (like Class D) is spread spectrum modulation, where the switching frequency of the output bridge varies around a center switching frequency.  With the frequency variation being randomized the EM energy spreads out more widely and the peak radiated energy decreases.

Another method to reduce EMI is edge rate control (ERC).  In a Class D product the high frequency energy is located in the edges of the PWM square wave output, so faster output rise or fall times generate more high frequency energy.  By making the edges less sharp the amount of high frequency energy will be reduced.  Recall that the more perfect a square wave (i.e. the more square) the more (odd) harmonics are present, so reducing the perfection of the square wave eliminates the high frequency harmonic components that cause radiation. This comes, however, at the cost of making the system dissipate more power.  Also, by now it should be clear that changing the shape of the square wave signal is literally distorting it, thus increasing THD+N, though this time on purpose.  So, there is a balance as to what is acceptable, and once again we see that making the right tradeoffs is part of the “art” behind good audio engineering.

8  Boosted Speaker Amplifiers
One of the important trends in mobile audio is the move to louder audio, which is made possible by higher output speaker amps.  Higher output is accomplished by adding a DC-DC boost converter right onto the speaker amp IC.  A good example of an internally-boosted Class D amp is the Fairchild FAB3102.

Figure 5:  Boosted Class D speaker amp architecture (FAB3102)

Adding the DC/DC boost converter is having a significant impact on audio IC partitioning because boost circuitry does not fit well inside the analog mobile baseband IC or even an audio codec due to the voltage levels.   So, the need for louder operation has started a trend towards disintegration of audio amps outside of codecs and analog basedband devices.

The output power of speaker amps is currently in the range of 1.7 to 2.5 W and moving higher because mobile platform makers are saying they simply want the output to be as loud as possible.   Higher output drive, of course, means more power consumption, which is not a price mobile platform makers really want to pay.  So, audio engineers are finding new ways and re-using old tricks to reduce power.  One innovative method being applied to Class D now borrows the concepts behind Class G, namely the use of multiple power rails.  The Fairchild FAB3102 is one of the Class D audio amps using such a technique.   Figure 7 shows the concept of switching in different power rails depending on the amplitude of the audio signal.

9 New directions
New areas of mobile audio advancements to watch for may be flat membrane speakers or even using the surface of the phone or tablet as the speaker itself.  There is also a lot of buzz now about streaming music from the cloud.  Industry researchers are saying the mobile music streaming will increase from around 6 million in 2011 to over 160 million subscribers by 2016 for an amazing compound annual growth rate of 95%.  With such rapid growth in audio streaming, mobile phone and tablet hardware products will need to be equipped with the audio ICs that can bring forth the any time / anywhere mobile audio experience. 


Posted by Janine E. Mooney, Editor

May 16, 2012


Share this Story

You may login with either your assigned username or your e-mail address.
The password field is case sensitive.