This invention relates to handheld wireless communications devices that have a built-in processor for enhancing an audio signal.
Handheld electronic devices and other portable electronic devices are becoming increasingly popular. Examples of handheld devices include handheld computers, cellular telephones, media players, and hybrid devices that include the functionality of multiple devices of this type. Popular portable electronic devices that are somewhat larger than traditional handheld electronic devices include laptop computers and tablet computers.
Handheld wireless communications devices often have several functions that involve digital audio signal processing. For example, consider their use as a mobile telephony device (e.g., a cellular telephone handset). Following a call set up or connection phase, a simultaneous two-way voice conversation between a local user of the device and another (remote) user in a telephone call may be enabled as follows.
A so-called uplink chain in the device is responsible for digitizing the local user's speech that has been detected by a built-in microphone. This may result in a raw digital audio signal or bit stream, e.g. a pulse code modulated, PCM, audio signal or bitstream. The uplink chain then digitally codes the raw signal, to remove its redundant content. For instance, a 64 kbits/sec raw speech bitstream may be encoded as a 14 kbits/sec bitstream, without causing a noticeable drop in sound quality. Next, the uplink chain modulates a RF carrier signal with the coded signal (and other information regarding the call). An antenna of the device is then driven with the modulated RF carrier. The local user's speech is thus transmitted to the cellular telephone network.
To enable the above-mentioned two-way conversation, a downlink chain is provided in the device, so that the local user can hear the remote user's speech. The downlink chain operates in parallel with or simultaneously as the uplink chain, to enable the real-time two-way conversation. The downlink chain may essentially perform the reverse of the uplink chain's operations. Thus, an antenna of the device outputs a downlink RF signal sent by the cellular telephone network. The downlink chain then demodulates the downlink RF signal to yield a so-called baseband signal. The latter contains a coded audio signal, which includes an encoded version of the captured speech of the remote user. The coded audio signal is decoded (e.g., into a PCM bitstream), converted to analog format and then played to the local user, through a receiver or speaker of the device. To render higher quality or better sound when an audio signal is played back, various signal processing operations may be performed on the digital audio signal in both the downlink and uplink chains. These may include noise filtering or noise suppression (sometimes referred to as noise cancellation), gain control, and echo cancellation.
Most handheld wireless communications devices are typically certified for use with a given cellular communications network. This may be in accordance with a specification that is governed by an approved authority such as the PCS Type Certification Review Board (PTCRB). The certification process entails the laboratory testing of a manufactured specimen of the device, to determine its compliance with the specification. For example, the audio portion of the specification for Global System for Mobile communications, GSM, devices requires that an artificial speech signal (or “cert signal”) be sent over the air during a wireless call with the device. For the downlink portion of the test, the cert signal is received over the air by the device. The sound of this cert signal as output by the device's receiver (earpiece speaker) is then measured, at a given volume or loudness setting of the device. For the uplink portion of the test, the cert signal is transmitted by the device over the air to a receiving test station where it is converted into sound. In order for the device to pass the certification, the measured sound output (which is a function of frequency) needs to fall within a certain range or mask that is defined in the specification, for the duration of the signal (e.g., about twenty seconds).
An embodiment of the invention is a handheld wireless communications device having an adjustable volume setting, an uplink audio processor, and a downlink audio processor. A noise suppressor (e.g., as part of the uplink audio processor and/or as part of the downlink audio processor) attenuates its output signal in accordance with a delay parameter. The delay parameter controls how much the onset of said attenuation is delayed. The delay parameter is automatically set to indicate a “short” delay when the communications device is at a “higher” volume setting, and a “long” delay when the device is at a “lower” volume setting consistent.
In one embodiment, the long delay is about the same amount of time as an artificial voice signal defined by a communications device certification standard, e.g. about the same period of time as an ITU-T P.50 certification signal which may be on the order of twenty seconds. In contrast, the short delay is a substantially shorter interval of time, e.g. no more than a few seconds. The longer delay is used at the lower volume setting, which may be a nominal setting defined by the certification standard as one that results in a given, received loudness rating, RLR, at the output of the receiver (earpiece speaker) of the device. The nominal setting is expected to be substantially lower in loudness than the normal setting needed to allow most end-users of the device to comfortably hear the far side of a telephone call that is being performed by the device. By automatically configuring the noise suppressor with a delay that is at least as long as the cert signal (when the volume is at the much lower nominal setting during certification testing), the noise suppressor may pass through the cert signal un-attenuated, thereby promoting compliance with the certification process. When the volume level has been raised to the normal level (or higher), which is typical of an end-user configuration, the noise suppressor is automatically configured to react more quickly to the noise that is typical in actual two-way conversations.
The above summary does not include an exhaustive list of all aspects of the present invention. It is contemplated that the invention includes all systems and methods that can be practiced from all suitable combinations of the various aspects summarized above, as well as those disclosed in the Detailed Description below and particularly pointed out in the claims filed with the application. Such combinations have particular advantages not specifically recited in the above summary.
The embodiments of the invention are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment of the invention in this disclosure are not necessarily to the same embodiment, and they mean at least one.
Various embodiments of the invention, as methods and circuitry for audio signal processing to be used in a handheld wireless communications device for meeting certification requirements are now described in some detail, beginning with an overview of the electronic hardware and software components that make up an example wireless handheld communications device.
The device 200 shown and described here has similarities to the iPhone™ device by Apple Inc. of Cupertino, Calif. Alternatively, it could be another portable or mobile, handheld multi-function electronic device or smart phone that has some or all of the certification enhancement functionality described below. The device 200 in this case has a fixed, single piece housing, sometimes described as a candy bar or chocolate bar type, in which the primary mechanism for visual and tactile interaction with the user is a touch sensitive display screen 252. An alternative to this type of mobile device is one that has a moveable, multi-piece housing such as a clam shell design or one with a sliding, physical key pad as used by other smart phone manufacturers. The touch screen 252, or in other cases a simple display screen, will display typical smart phone features, such as visual voicemail, web browsing, email functions, digital camera pictures, as well as others. The example in
The device 200 has a wireless telephony function that enables its user to receive and place audio and/or video calls. At the upper end of the housing, an opening 210 is formed through which downlink audio during a call is emitted from an earpiece speaker 220. At a bottom end portion of the device 200, a microphone 216 is located to pickup the near end user's speech, which is then transmitted in an uplink signal to the far end user, during the call. In some cases, the device 200 also has a speakerphone speaker 218 built into the device housing, which allows the user to conduct a call without having to hold the device 200 against her ear. A proximity sensor 254 (see also
In one example, the codec 214 operates in two modes. It can be configured into either mode, by control signals or programming supplied by an applications processor 150 over an I2C bus or other component bus. In one mode, referred to as media player mode, the device 200 is operating as a digital media player (e.g., an MP3 player that is playing back a music file stored in the device 100). In that mode, the codec 214 applies analog to digital and digital to analog conversion to the analog acoustic transducer signals to generate corresponding digital signals. In this mode, the codec 214 supplies the digitized microphone signal to an applications processor 150, and converts a digital audio signal from the applications processor 150 into analog form and then applies it to the receiver and/or speaker for play back.
In another mode, referred to as call mode, the device 200 is operating as a mobile telephony device (e.g., allowing its user to be in a real time audio conversation with another remote user during a cellular telephone call). In that mode the codec 24 acts as an analog pass through with no digital conversion, so that the analog acoustic transducer signals are passed through, with perhaps some analog amplification or buffering, between the baseband processor 52 and the acoustic transducers (signal line 152 outputs the microphone signal, while signal line 154 inputs the receiver or speaker signal).
The baseband processor 52 includes an interface to receive and transmit signals from and transmitted to a cellular network. The baseband processor, which may be a separate integrated circuit (IC) package, has an input port to receive a downlink signal, and an output port to transmit an uplink signal. These may be in a band around 26 MHz, for example, but alternatively they may be at other frequency bands that are considered intermediate (between baseband and RF at the antenna input). The downlink signal may be ready to be upconverted into a cellular network RF signal, such as a long range wireless communications signal that is directed to a cellular telephone network's base station, for example in a 3G or Universal Mobile Telecommunications System, UMTS, band, e.g. 850 MHz, 900 MHz, 1800 MHz, and 1900 MHz bands. Similarly, the uplink signal that is input to the baseband processor has been downcoverted from such an RF band, down to intermediate frequencies, e.g. 26 MHz band.
The downlink/uplink RF signal that is input/output from the baseband processor may be downcoverted/upconverted into the antenna's radiation band, by a frequency downconverter/upconverter that is external to the baseband processor IC package (e.g., as part of the RF transceiver IC package 54). Thus, the signal at the input/output port of the baseband processor may be an intermediate frequency (IF) signal that is above the baseband frequencies but below the cellular network band frequencies (so called RF frequencies here). As an alternative, the RF up conversion and down conversion may be direct, from and to baseband, rather than going through an intermediate frequency.
The baseband processor may perform known cellular baseband processing tasks including cellular protocol signaling, coding and decoding, and signaling with the external RF transceiver. These together with the RF processing in the external RF transceiver may be referred to as the radio section of the device 200. The base band processor 52 may be programmable, in accordance with software that has been encoded and stored in its associated non-volatile memory 154. Permission to access the cellular network may be granted to the near end user in accordance with a subscriber identify module, SIM, card that is installed in the mobile device 200 to connect with the SIM connector 258.
The device 200 and the cellular network may be in agreement with respect to a particular voice coding (vocoding) scheme that is to be applied to the raw digital audio signal from the microphone (uplink signal) which is transmitted by the device 200. Similarly, an agreement is needed for the particular voice decode scheme which the device 200 should be applying to a downlink signal. Any known voice coding and decoding scheme that is suitable for the particular wireless communications protocol used may be adopted. The voice coding and decoding sections of the baseband processor may also be considered to be part of the radio section of the device 200.
The device 200 may also have further wireless communications capability, to provide a global positioning system, GPS, service, a Bluetooth link, and a TCP/IP link to a wireless local area network. To this end, a Bluetooth transceiver 160 is provided together with a wireless local area network, WLAN, transceiver 164, which provide additional wireless communication channels for the device 200. These two channels may share an antenna 63 for short range wireless communications (e.g., in accordance with a Bluetooth protocol and/or a wireless local area network protocol). An RF diplexer 188 has a pair of RF ports that are coupled to the antenna 63. One of the RF ports is used for GPS services, which a GPS receiver integrated circuit 156 uses to obtain GPS data that allows the mobile device 200 to locate itself to its user. The other RF port of the diplexer 188 is coupled to an RF front end 172 that combines Bluetooth and WLAN RF signals.
The cellular network, GPS, Bluetooth, and WLAN services may be managed by programming the applications processor 150 to communicate with the base band processor 52, Bluetooth transceiver 160, and wireless transceiver 164 through separate, component buses. Although not shown, there may also be separate component buses connecting the base band processor 52 to the Bluetooth transceiver 160 and WLAN transceiver 164, to enable the latter transceivers to take advantage of the audio processing engine available in the base band processor 52, to, for example, conduct a wireless voice over IP call (using the WLAN transceiver 164) and to allow the near end user to conduct the call through a wireless headset (using Bluetooth transceiver 160).
The so-called power hungry components of the mobile device 200 may include the base band processor 52, the applications processor 150, the touch screen 252, and the transmit RF power amplifiers that are part of the RF circuitry 54. These are coupled to be monitored by a power management unit 248. The power management unit 248 may monitor power consumption by individual components of the device 200 and may signal power management commands to one or more of the components as needed so as to conserve battery energy and control battery temperature.
Other lower level hardware and functionality of the mobile device 200 include an on/off or reset button 250, a vibrator 274 used to indicate the ringing signal of an incoming call, an audio ringer, a physical menu button, and a volume up/down button (collectively referred to as circuit elements 272 which may be coupled to output pins of the processor 150 as shown). The mobile device 200 may also have a dock connector 230 that communicates with a USB port of the processor 150, allowing the device 200 to, for example, synchronize certain files of the user with corresponding files that are stored in a desktop or notebook personal computer of the same user. The dock connector 230 may also be used to connect with a power adapter or other electricity source for charging the battery (via the battery connector 108).
In a further embodiment, the mobile device 200 may have digital camera circuitry and optics 264 that are coupled to the processor 250, enabling the mobile device to be used as a digital still or video camera.
Having described the lower level components of the mobile device 200, a brief discussion of the higher level software functionality of the device is in order. As suggested above, the device 200 may be essentially considered to be a computer whose processor 150 executes boot code and an operating system (OS) stored in the memory 262 within the device. Running on top of the operating system are several application programs or modules that, when executed by the processor 150, manage at a high level the following example functions: placing or receiving a call (phone module); retrieving and displaying email messages (mail module); browsing the web (browser module); and digital media playback (iPod™ player module). Additional applications or widgets may be executed by the processor 150, such as those depicted in
The device 200 has a digital audio signal processing structure between its radio section 302 (responsible for interfacing with the cellular phone network for example or a wireless local area network), and its baseband analog front end (BB AFE) 304, as depicted in
The digital signal processing structure includes a downlink signal processing chain or downlink audio processor 308 that has an input coupled to the radio section 302 and an output feeding the AFE 304. The downlink audio processor 308 may perform several digital signal processing operations upon the decoded, digital or sampled voice signal or bit stream (also referred to as the downlink baseband or audio signal), in order to enhance the latter. These may include a combination of one or more of the following operations performed on the downlink audio signal: adjust its gain using a downlink programmable gain amplifier (PGA) 310; apply general filtering to it using a downlink programmable digital filter 312; perform multi-band audio compression upon it using a downlink multi-band compressor 314; and reduce noise using a noise suppressor 316. Not all of these operations are needed in the downlink chain—for example, the noise suppressor 316 may be omitted. The downlink audio signal received from the radio section 302 may be in the form of a pulse code modulated bit stream.
The device 200 may also perform enhancement operations on an uplink audio signal. This is done using an uplink audio processor 318 that acts upon an uplink digital voice signal or bit stream received from the microphone 216 via the AFE 304 (prior to the voice coding of the signal for transmission). In the example of
The downlink audio processor 308 and the uplink audio processor 318 may each be implemented as a separate programmed processor, or a separate combination of a programmed processor and dedicated hardwired logic. Alternatively, the functions of the downlink and uplink chains may be performed by the combination of a single, programmable processor, e.g. such as one that is available in the baseband processor 52 (see
In accordance with an embodiment of the invention, the uplink voice signal, the downlink voice signal, or both, can be enhanced for purposes of passing a certification test. Before describing the problem and its solution, some background on a typical certification test is provided.
In the downlink portion of GSM certification testing of cellular phone handsets, a multi-sine certification signal, which is an artificial speech signal that lasts about twenty seconds, is sent over the air to the device 200, becoming in effect the downlink audio signal. The characteristics of this cert signal including its duration and spectral content may be in accordance with an industry standard, e.g. the International Telecommunication Union telecommunication standardization sector's ITU-T, Recommendation P.50. To test the device 200, a receiver (earpiece speaker) volume setting of the device is placed in a “nominal” setting, which is one that results in a required, received loudness rating, RLR, (measured typically in dB) from the device' receiver or earpiece speaker, while the received cert signal is being emitted from it. As an example, the nominal RLR may be 2 dB. The nominal volume setting may be about the midpoint of the full volume range (between minimum and maximum) available from the device 200. Once the volume has been set to this nominal setting, the cert signal is sent to the device 200 and is immediately emitted by the device as sound from its receiver (earpiece speaker). The measured sound output of the receiver, for the cert signal, should fall within or meet a defined mask or envelope, over the entire required frequency range of the mask and for a given duration of the signal. Such a certification process may be one that is governed by the PCS Type Certification Review Board, PTCRB.
For the uplink portion of the certification test, the artificial speech signal is played to the microphone of the device 200. The signal is processed by the uplink audio processor 318 and then transmitted over the air, e.g. during a wireless call, to a testing destination. There, the signal is converted to sound, picked up by a test microphone, and then evaluated for compliance with a specified, Send Loudness Rating, SLR (by further test equipment).
The following problem might occur during certification testing of devices that have a certain type of noise suppressor in either the downlink or uplink chain of the digital audio DSP structure. The noise suppressor generally serves to reduce the level of noise in the voice signal being passed through it, to improve the quality of the sound eventually heard by the user through a receiver or speaker. It operates by digitally attenuating an input voice signal in accordance with a known noise detection algorithm. In other words, when the algorithm “sees” what is likely to be a time interval of just noise, in the input bit stream, the samples of the bit stream in that time interval are attenuated. In some cases, however, the noise suppressor may become “confused” by the certification signal that is applied to the device 200 during for example GSM certification testing. In that case, the typical noise suppressor would attenuate essentially the entirety of the cert signal, thinking it is noise, thereby causing the certification test to fail when the sound output drops.
The multi-sine cert signal has essentially no pauses in it, unlike an actual speech signal in which there are naturally occurring pauses between spoken words. The noise suppressor may be designed to respond to such pauses, and, based on the detected pauses, appropriately attenuates those pause intervals. A large part of the cert signal might in that case be mistakenly taken to be a pause interval.
In accordance with an embodiment of the invention, referring now to
As seen in
In other words, the variable delay noise suppressor 416, which may be viewed as a type of digital filter, may pass its input samples through unattenuated, until it detects noise in the input samples. The noise suppressor 416 will then attenuate its output signal to suppress the detected noise. However, it delays attenuating the output signal, from some reference point in time or in the output sequence, i.e. continues to pass its input samples unattenuated, until after the set delay has elapsed. At a nominal volume setting, this delay is set based on the duration of the expected multi-sine cert signal to which the device 200 will be subjected for certification testing.
However, at a substantially higher volume setting, which is normally used by customers or end users of the device 200 in a typical mobile phone usage environment, the delay parameter is set to indicate a substantially shorter delay (e.g., 3 seconds or less). In other words, the onset of attenuation in the output samples of the noise suppressor 416 is much sooner. Thus, during normal end-user use of the device 200, where the volume setting is set much higher than the “nominal” setting, the noise suppressor 416 works in accordance with a much shorter delay than when the volume is at the nominal setting.
Viewed another way, the device 200 responds automatically to a lower volume setting, e.g. set manually by its user, by configuring its noise suppressor's delay (of the onset of attenuation) to be long, and to a higher volume setting by configuring the delay to be short.
To conclude, various aspects of a technique for giving a user of a communications device more convenient control of sound quality have been described. As explained above, an embodiment of the invention may be a machine-readable medium having stored or encoded thereon instructions which program a processor to perform some of the operations described above. In other embodiments, some of these operations might be performed by specific hardware components that contain hardwired logic. Those operations might alternatively be performed by any combination of programmed data processing components and fixed hardware circuit components.
A machine-readable medium may include any mechanism for storing or transferring information in a form readable by a machine (e.g., a computer), such as Compact Disc Read-Only Memory (CD-ROMs), Read-Only Memory (ROMs), Random Access Memory (RAM), and Erasable Programmable Read-Only Memory (EPROM).
The invention is not limited to the specific embodiments described above. For example, the numerical values given in
This application claims the benefit of the earlier filing date of U.S. provisional application Ser. No. 61/042,622, filed Apr. 4, 2008, entitled “Audio Signal Processing in a Handheld Wireless Communications Device”.
Number | Date | Country | |
---|---|---|---|
61042622 | Apr 2008 | US |