Smartphones Have Microphones – Part 1

Image
Marshall Chasin
October 31, 2017

There is a multitude of apps for Smartphones that can turn them into sound level meters, recording devices, playback devices, and even allow them to be coupled with external devices for hearing aids via Bluetooth or other wireless protocols.

However, each step in the recording/playback/control pathways can add some error to the final measured result. Some of these errors are small and are well-discussed in the literature such as the realm of usefulness of a Smartphone as a sound level meter; other sources of error are less discussed in the literature.

Starting at the “beginning”, Smartphones have microphones that are quite amazing for their size and whose production quality is quite high given the sheer numbers that need to be manufactured. They are MEMS microphones and that stands for MicroElectroMechanicalSystems.  These are from the cellphone industry and many have built in A/D converters. MEMS microphones use silicon instead of Teflon; an element that can get hotter before it starts to lose electrons.  MEMS microphones still lose electrons though which is why the use a charge pump to replace the lost electrons on the microphone diaphragm.

Electrons are replaced on the microphone diaphragm to maintain the function. Courtesy of www.comsol.com

So far so good.  But many of the modern Smartphones have more than one microphone.  The reason is the same reason as why modern hearing aids also have more than one microphone: to allow the microphone system to be directional in the sense that it helps to reject unwanted noise if the noise is coming from the rear direction.  Although this noise-rejection strategy can be very useful, it may be problematic if the noise is what you want to measure.  

For example, if one wants to use an app that turns the Smartphone into a sound level meter, then this can pose problems if the Smartphone is not held properly or aimed appropriately at the noise source.

While use of a MEMS microphone has added substantially to the quality of modern Smartphones- you can leave the Smartphone in your car on a hot summer’s day with temperatures hovering around 40 degrees Celsius- there are limitations with the signal to noise ratio (SNR).

The SNR is the difference in decibels (dB) between the quietest sound that can be transduced by the microphone and the loudest one.   The SNR for modern MEMS microphones is on the order of 60 dB.  The difference between the softest speech sound (‘th’ as in ‘thin”) and the loudest sound (‘a’ as in ‘father’) is about 35 dB.   A MEMS microphone that can handle a 60 dB range is therefore quite adequate for speech.   It may be a different story for inputs that have a greater dynamic range such as music.   Some form of compression or AGC would be required to match the large dynamic range of music to the 60 dB SNR capability of a MEMS microphone.

And to further complicate things, many microphones have a frequency response that have been optimized for phone communication-after all, these are telephones.  The issue arises if one wants to measure sound sources that are not speech or speech-like.  This many include using the Smartphone as a noise measuring device or as a recorder of music.

There is even a YouTube video (actually I am sure that there are many) describing how to connect an external microphone to a Smartphone.

The frequency region of concern consist of the bass notes below middle C on the piano keyboard.  Having said this, app developers can use  an “Application Programming Interfaces” or API that are provided by the Smartphone manufacturers on their operating systems (OS).  These APIs can assist to provide a broader frequency response as well as disable certain features such as compression or AGC that would normally be implemented.  Not all developers use these APIs with the result that two seemingly similar apps may function quite differently.

A strategy that some app developers have used is to utilize an external microphone that is connected directly to the Smartphone.  This obviates many of the concerns about using the internal microphone(s) and some of the design parameters, such as compression and directionality, which may have posed a problem.

Not all Smartphone microphones are created equal.  Actually they are, but the subsequent hardware and software design decisions can create quite different animals.

In part 2 of this blog series, the potentially deleterious issue of time delay will be discussed.

Leave a Reply