The present invention relates generally to mobile devices, and more particularly to driving headphones through an analog output port in such a mobile device.
It is now common for people to listen to music using mobile devices such as smartphones or other mobile media players (collectively “smartphones”). Users have rapidly become accustomed to having music played back through such devices, and often tend to have their smartphones with them at all times. At least many, if not most, of these users want to be able to listen to music having high sound quality. Smartphone makers have recognized this, and many have introduced ‘hifi’ smartphones, and even based much of their marketing strategy on their ability to deliver better quality sound reproduction than was available previously.
While smartphones have small loudspeakers, often used for making telephone calls and “speakerphone” calls, and may alternatively be connected to some external loudspeaker, many, if not most, users listen to music from their smartphones on headphones. A typical headphone to be used with a smartphone is an analog output device that includes a plug that fits into an analog port on the smartphone, and one or more earpieces that contain transducers that are activated by signals from the smartphone and produce sound to the user. The term “headphone” includes both over-ear devices that are often referred to as “headphones,” as well as in-ear devices that are often called “ear buds.”
An output audio signal is sent from the smartphone by an audio subsystem in the smartphone to the earpiece(s) in the headphone and activates the transducers to produce sound so that a user may listen to the audio output. The analog port typically contains two output channels, referred to in the art as “Left” and “Right” (and generally intended to go to the left and right ear of the user, respectively), so as to be capable of providing stereo audio output. If the headphone includes two earpieces and the source material has been recorded in a stereo format, one channel will go to each earpiece and the user will hear stereo audio output. Other devices, such as some eternal loudspeakers and amplifiers, may also have a plug that fits into the analog port to receive the output audio in stereo.
While current smartphones are able to reproduce stereo music with high sound quality, they are typically sold with included headphones that tend to be of mediocre or even poor quality, thus limiting the user's musical experience. It is thus not uncommon for the purchaser of a new smartphone to almost immediately discard the included headphones and purchase a set of after-market headphones of higher quality than those included in order to take full advantage of the ability of the smartphone to play music with high sound quality.
However, the performance of even high quality headphones is typically limited by the performance of the connection from the audio output port on the smartphone to the headphone transducers, and how the audio signals are provided to the headphones.
The industry-standard analog port for outputting audio from the smartphone typically has a receptacle known as a “socket” that accepts an inserted element, most often a 3.5 millimeter (mm) “jack” or plug. (A less common alternative is a port that accepts a 2.5 mm jack.) One version of the industry standard jack is shown in
However, since jack 102 only has a 3-pole connection, and two of the poles are used for the Left and Right outputs, this configuration thus requires that the ground return signal paths for both channels, labeled LGnd and RGnd, are shared through the Sleeve of the jack, and then through the socket connection to the smartphone and across the internal device circuit board.
This common grounding of the channels results in crosstalk and signal loss through the parasitic resistance of this shared signal ground return path. While there are some specific circuit implementations that have been tried to mitigate these issues, for example where feedback to the amplifiers is taken from as close to the jack common ground point as possible, ultimately it is not possible to avoid the common grounding of the left and right signal return paths in a 3-pole connector.
Returning to
In most mobile communication devices such as smartphones the extra pole on the standard 3.5 mm jack, and the corresponding portion of the socket, is used to support connection of a microphone in the headset for voice communication. A headphone including a microphone is sometimes called a “headset”; as used herein, “headphone” includes headsets. As is well known in the art, many headsets include a device, sometimes called a “dongle,” that includes one or more buttons that the user may press to select certain functions from the audio subsystem in the smartphone, such as to answer a telephone call, pause or play audio, or increase or decrease the volume of the transducers in the headset. This device is typically located on the cord from the earpieces of the headphone to the jack.
It will be apparent that, although the jack and socket arrangement is now a 4-pole jack, there is still only one pole available for the ground return signals of the Left and Right audio channels, and now for the microphone as well.
There are two industry-standard configurations of a 4-pole jack presently in use with smartphones.
In a CTIA configuration, as with the 3-pole configuration of
The second common configuration is the OMTP standard (from the Open Mobile Terminal Platform).
As compared to the CTIA configuration, however, the OMTP configuration reverses the connections of the microphone and ground, so that the ground signal return paths, again for both audio channels and the microphone signal, are through the Sleeve, while the microphone signal is passed to the headphone through Ring2.
However, as with the 3-pole jack 202 of
All known smartphone or other mobile audio devices use audio output sockets configured to accept industry standard 3-pole jacks or CTIA or OMTP 4-pole jacks. Thus, all such known devices provide common ground signal return paths, and thus suffer from these described audio signal quality issues. It would be advantageous to be able connect high quality headphones to mobile devices in such a way as to avoid the need for a common ground return path for left and right channel audio signals.
An apparatus and method is described whereby improved sound quality is achieved from mobile ‘hifi’ playback devices by driving compatible headphones in ‘balanced’ or ‘differential’ mode via standard size headphone connectors on the device, while retaining full compliance with legacy jack connections and conventional headphones. An apparatus and method for determining the type of headphone or other reproduction device connected to the playback device and configuring the playback device to produce an audio output appropriate for the connected device is also described.
One embodiment discloses a mobile audio device for producing a balanced stereo signal, comprising: an analog audio output socket having 4 poles and configured to receive a 4-pole jack corresponding to either the CTIA or OMTP standard; a first amplifier for providing a left channel audio signal to a first pole of the output socket corresponding to a Tip of the jack; a second amplifier for providing a right channel audio signal to a second pole of the output socket corresponding to a Ring1 of the jack; a third amplifier for providing an inverted left channel audio signal of opposite phase to the left channel audio signal to a third pole of the output socket; and a fourth amplifier for providing an inverted right channel audio signal of opposite phase to the right channel audio signal to a fourth pole of the output socket.
Another embodiment discloses a method of producing a balanced stereo signal from a mobile audio device having an analog audio output socket with 4 poles and configured to receive a 4-pole jack corresponding to either the CTIA or OMTP standard, comprising: providing a left channel audio signal to a first pole of the output socket corresponding to a Tip of the jack; providing a right channel audio signal to a second pole of the output socket corresponding to a Ring1 of the jack; providing an inverted left channel audio signal of opposite phase to the left channel audio signal to a third pole of the output socket; and providing an inverted right channel audio signal of opposite phase to the right channel audio signal to a fourth pole of the output socket.
A further embodiment discloses a mobile audio device for producing a balanced stereo signal, comprising: an analog audio output socket having 4 poles and configured to receive a 4-pole jack corresponding to either the CTIA or OMTP standard; a first amplifier for providing a left channel audio signal; a second amplifier for providing a right channel audio signal; a third amplifier for providing an inverted left channel audio signal of opposite phase to the left channel audio signal; a fourth amplifier for providing an inverted right channel audio signal of opposite phase to the right channel audio signal; and a controller configured to: measure the impedances between a first pole of the socket and a second pole of the socket, the first pole and a third pole of the socket, a fourth pole of the socket and the second pole, and the fourth pole and the third pole; compare the measured impedances to expected values for devices using 3-pole jacks, devices using 4-pole jacks corresponding to the CTIA or OMTP standards, and devices using 4-pole jacks that can accept a balanced stereo signal; determine which of the devices is indicated by the measured impedances, and, if the device is one that can accept a balanced stereo signal, and cause the left channel audio signal to be provided to a first pole of the output socket corresponding to a Tip of the jack, the right channel audio signal to be provided to a second pole of the output socket corresponding to a Ring1 of the jack, the inverted left channel audio signal to be provided to a third pole of the output socket, and the inverted right channel audio signal to be provided to a fourth pole of the output socket.
Still another embodiment discloses a method of producing a balanced stereo signal from a mobile audio device having an analog audio output socket with 4 poles and configured to receive a 3-pole jack or a 4-pole jack corresponding to either the CTIA or OMTP standard, comprising: measuring the impedances between a first pole of the socket and a second pole of the socket, the first pole and a third pole of the socket, a fourth pole of the socket and the second pole, and the fourth pole and the third pole; comparing the measured impedances to expected values for attached sound reproduction devices using 3-pole jacks, devices using 4-pole jacks corresponding to the CTIA or OMTP standards, and devices using 4-pole jacks that can accept a balanced stereo signal; determining which attached sound reproduction device is indicated by the measured impedances, and, if the attached sound reproduction device is one that can accept a balanced stereo signal: providing a left channel audio signal to a first pole of the socket corresponding to a Tip of the jack; providing a right channel audio signal to a second pole of the socket corresponding to a Ring1 of the jack; providing an inverted left channel audio signal of opposite phase to the left channel audio signal to a third pole of the socket; and providing an inverted right channel audio signal of opposite phase to the right channel audio signal to a fourth pole of the socket.
Described herein is an apparatus and method whereby improved sound quality may be achieved from mobile ‘hifi’ playback devices by driving compatible headphones in a way that the left and right channel signals have separate ground return paths via standard size headphone connectors on the device rather than having a common ground return path, while retaining full compliance with legacy jack connections and conventional headphones. The type of headphone or other reproduction device connected to the playback device may be determined by a controller and the playback device configured to produce an audio output appropriate for the connected device.
Some high-quality headphones used for applications other than mobile devices have separate left and right channel signal return paths, rather than being connected in common as in mobile devices. Audio equipment professionals commonly refer to the use of separate signal return paths as a “balanced” or “differential” connection; such high-quality headphones that have separate signal return paths are referred to as “balanced headphones” herein.
Balanced headphones improve the sound quality for the user by eliminating the crosstalk and signal loss caused by common signal return paths as described above. In addition, the return signals may be actively driven in opposite phase to the left and right channel signals; this is sometimes also known as a “fully balanced” connection, as distinguished from separate signal return paths only. As used herein, a balanced connection includes a fully balanced connection as well.
Such prior art balanced headphones are intended for use with non-portable stereo systems, and use what is known as an XLR style connector. However, in the first instance the XLR connector is physically incompatible with smartphones (or other mobile devices). Further, the sockets used with balanced headphones are dedicated to that purpose, and do not provide the signals used by, or accept microphone signals from, CTIA or OMTP headphones.
It may thus be seen that connecting balanced headphones to a mobile device capable of providing separate signal return paths would improve the sound quality for the user. Again, however, the required signals are different from, and at least partly incompatible with, those used by conventional headphones designed for use with mobile devices.
Since a 4-pole jack by definition has 4 separate signal paths available, such a jack can be configured in a way that drives the desirable “balanced” left and right signal pairs into the headphone totally separately, providing higher quality sound than the conventional CTIA or OMTP configurations. In order to support this connection, the headphone must include a matching 4-pole jack. Because there are 4 poles, both 3.5 mm and 2.5 mm 4-pole jack and socket configurations can support this connection, although not in the conventional CTIA or OMTP configurations.
In addition, the audio production subsystem in the smartphone also has inverters 504, which invert the left and right audio channel signals LP and RP, and produce “inverted” left and right channel audio signals LN and RN, i.e., signals which are of opposite phase to left and right audio channel signals LP and RP, respectively. The inverted left audio channel signal LN is connected to Ring2 of jack 502, and the inverted right audio channel signal RN is connected to the Sleeve.
The inverters 504 are connected to Ring2 and the Sleeve by switches 506, which are not visible in
In the “fully balanced” configuration of
In the illustrated embodiment, switches 508 and 510 are also provided for use as described below. When a balanced headphone is used and audio output is produced, switches 508 and 510 are open as shown so that the inverted audio channel signals LN and RN are not connected to ground but are passed to jack 502 as described above.
Note that while the configuration of
As with balanced headphones used in non-smartphone applications, providing these audio signals from a smartphone to a balanced headphone will result in better audio quality for the user than that provided by conventional headphones. As above, this is due to the elimination of crosstalk and the signal loss due to parasitic resistance discussed above.
However, even if smartphones are manufactured with the ability to provide balanced audio signals, it is expected that some users will choose to use conventional headphones rather than high quality balanced headphones. This may be due to the increased cost of balanced headphones as compared to conventional headphones, or alternatively to the fact that a balanced headphone does not support a microphone.
It is thus apparent that it will also be desirable to make a smartphone which is capable of providing balanced audio signals also capable of operating with other standard, non-balanced headphones in the conventional ways described above. To accomplish this, the audio production subsystem of the smartphone may be designed to allow for proper operation with any standard headphone by configuring the connections to the socket so as to feed appropriate signals to each different type of headphone.
In this instance, however, switches 506 are opened so that inverted signals from inverters 504 are not provided to Ring2 and the Sleeve, respectively, since the inverted signals are not used by a CTIA headphone. Rather, as in the standard CTIA configuration shown in
In this way, the connection of
As with the use of a CTIA headphone and jack as in
In this way, the connection of
As with the CTIA and OMTP configurations of
As with the use of the prior art CTI and OMTP headphones above, switches 506 are opened so that no inverted signals from inverters 504 are provided to Ring2 and the Sleeve, respectively. Since there is only a 3-pole jack 802, both the left and right channel ground return signals pass through the Sleeve of jack 802, and thus switches 508 and 510 are both closed to provide the connections for both signals to ground.
In this way, the connection of
It can thus be seen that an appropriately designed audio subsystem in a smartphone may be capable of driving compatible headphones in ‘balanced’ or ‘differential’ mode via standard size headphone connectors on the device, as well as retaining full compliance with legacy jack connections and conventional headphones and providing appropriate signals to such headphones.
It is desirable that the user be able to plug any headphone into the audio port socket of a smartphone and hear the audio output without any selection by the user of the type of headphone connected. Thus, the audio subsystem should preferably be able to automatically detect that a jack has been inserted into the socket, and to determine what type of headphone has been connected.
The audio subsystem must first be able to detect that a headphone has been connected, i.e., that a jack has been inserted into the audio output socket. This detection is known in the art, and is typically done by the use of one or more “jack detect pins.” The jack detect pins are extra contacts inside the socket, which act as switches. The pins only sense that the plug is inserted, and are not intended for the audio signal.
When a jack is not present, the jack detect pins, or switches, are closed; when the jack is inserted, the jack flexes some of the jack detect pins, and they break contact with other of the jack detect pins so that the switches are open. The system depends on the mechanical deformation of the jack detect pins to break the connections between the jack detect pins and open the switches. Thus, for example, a 3.5 mm plastic rod could be inserted into the socket and still open the contacts, and the smartphone will think that headphones are plugged in.
Once the insertion of a jack has been detected, as discussed above there are several types of devices that a smartphone will preferably be able to detect. One way to detect the connected device that is well known in the art is by measuring the impedance between the various parts of the socket that connect to the jack. This may be done by applying a signal of a known voltage to the various parts of the socket using detection pins (not shown) and measuring the current that flows in response to the signal. One of skill in the art will appreciate that if the signal is at a frequency either below or above the normal range of human hearing, the signal will be inaudible to the user.
The first type of device is a standard stereo headphone using a 3-pole jack as described above. These devices typically have an impedance of between 6 ohms and 600 ohms from the Tip to the Sleeve, and the same from Ring1 to the Sleeve. Further, there is no separate Ring2 in a 3-pole jack, and an attempt to measure the impedance from the Tip or Ring1 to Ring2 will result in measuring the impedance from the Tip or Ring1 to the Sleeve and again a value of 6 to 600 ohms. A common impedance value for such headphones is 32 ohms.
The second type of device is a headphone with microphone (i.e., a headset) using a 4-pole jack in either the standard CTIA or OMTP configuration. Again the impedance from the Tip to ground, and from Ring1 to ground, will typically be between 6 and 600 ohms, while the impedance from the microphone contact to ground will typically be between 1000 and 5000 ohms. As above, which of the microphone and ground is connected to Ring2 and which to the Sleeve depends upon whether the headphone uses the CTIA of OMTP configuration.
Thus, in a CTIA configuration, where Ring2 is the ground connection, the impedance from the Tip (left channel) to Ring2 (ground), and from Ring1 (right channel) to Ring2 (ground), will be 6 to 600 ohms. Since the microphone is connected to the Sleeve but not to ground, the impedances from the Tip to the Sleeve and from Ring1 to the Sleeve will look like open switches and thus be of high (effectively infinite) impedance.
In the OMTP configuration, again the microphone and ground connections are reversed, so the impedance from the Tip to the Sleeve (now ground), and from Ring1 to the Sleeve, will be 6 to 600 ohms, while the impedance from the Tip to Ring2 (now the microphone), and from Ring1 to Ring2, will be high or open.
The third type of device to be detected is a balanced headphone. In the “LRLR” embodiment of the present application shown in
It may thus be seen that by measuring these impedances, i.e., Tip to Ring2, Tip to Sleeve, Ring1 to Ring2, and Ring1 to Sleeve, these various types of headphones may be distinguished. Table 1 summarizes which measurements indicate which headphones (Hi Z means high impedance or open circuit):
Currently smartphones are able to distinguish between conventional 3-pole and 4-pole jacks and their associated devices, and between CTIA and OMTP devices, by incorporating a circuit that measures the various impedances between portions of the jack. One example of a commercial product having such capability that may be incorporated in a smartphone is a TS3A227E Autonomous Audio Accessory Detection and Configuration Switch from Texas Instruments Incorporated.
It will be obvious to one of skill in the art how to modify the circuit of the Texas Instruments chip to detect the different impedances that will also determine whether balanced headphones have been connected to the analog port socket, as well as the conventional 3-pole and 4-pole CTIA and OMTP jacks of the prior art. The impedances are measured in the same way, but balanced headphones, rather than conventional headphones, are detected when the impedance measurements are as above
At step 902, the audio subsystem determines whether a jack has been inserted into the output port socket, typically by using jack detect pins as described above.
Once a jack is detected, at step 904 the audio subsystem will measure the impedances between portions of the jack as described above. Again, this is typically clone by driving the connections with a signal that is below or above the nominal frequency limits of human hearing, so that the user will not hear the test signal if the user has the headphones on.
Once the impedances are known, at step 906 the audio subsystem checks to see if the type of headphone has been determined. This is done by comparing the measured impedances to the expected values of each type as shown in Table 1 above. The expected values may, for example, be stored in a lookup table.
If no match to the measured impedances is found, the audio subsystem returns to the jack detect step 902 (or alternatively to the measure impedances step 904) to try again to identify the type of jack that has been inserted into the socket.
If there is a match and the type of headphone that is connected has been identified, then at step 908 the audio subsystem configures the switches by opening and/or closing switches as needed to arrive at the appropriate configuration shown in
At step 910, the audio subsystem determines whether a microphone is detected, i.e., whether the headphone is a CTIA or OMTP headphone including a microphone. If a microphone is detected, at step 912 a portion of the audio subsystem (not shown) is enabled that detects any signals from the device or “dongle” that may be included in the headphone cord. This is well known in the art, and is typically done by sensing changes to the microphone impedance that are caused by the switching in of additional load resistors as the buttons are pressed.
At step 914, the audio subsystem determines whether the user has selected a desired audio output. This may be in the form of a telephone call, music that is stored on the smartphone (or part of a video similarly stored), or an audio stream from the internet. If an audio selection has been made, the audio subsystem delivers the selected audio to the headphone at step 916; if no audio selection has been made, the audio subsystem waits for a selection.
It will be apparent to one of skill in the art that certain of the described steps of the method of
The disclosed system and method has been explained above with reference to several embodiments. Other embodiments will be apparent to those skilled in the art in light of this disclosure. Certain aspects of the described method and apparatus may readily be implemented using configurations or steps other than those described in the embodiments above, or in conjunction with elements other than or in addition to those described above.
For example, the described invention may also be used with a USB-C connector. As is known in the art, the USB-C connector (not shown) uses 24 pins in a 2-row×12-pin configuration and supports connection of digital interfaces using USB 3.1 or USB 2.0 protocols, as well as including power supply connections. The connector is designed to be reversible, so that a pin in either row has a corresponding duplicate that is diagonally opposed in the other row. Four pins in the center of the USB connector are used for audio signals, with the pins designated as A6 and B6 both carrying the right audio channel and pins A7 and B7 both carrying the left audio channel. As with other prior art connectors, the return path for both channels is a common ground path.
It will be apparent to one of skill in the art in light of the teachings herein that, since there are four pins carrying audio signals, rather than having two pairs of two pins each carry duplicate signals, alternatively two pins may carry the normal left and right audio channel signals, and the other two pins may carry the left and right channel signals of opposite phase as described above. In such a case, the connector will not be completely reversible, but reversing the connector will only result in all four audio signals being reversed in phase, which few users will be able to notice.
In other embodiments, the analog output port of a smartphone may also be connected to a line input of another device, such as the amplifier of an external stereo system. In such a case, the load impedances for the left and right channel signals might typically be from about 10,000 ohms to 100,000 ohms, with 22,000 ohms being common. Similarly, a connected headphone might be a noise canceling headphone, in which case the connections will be the same as either the 3-pole or 4-pole CTIA or OMTP headphones discussed above, but the load impedance on the left and right channels is higher due to an amplifier that is integrated into the headphone, with 10,000 ohms being typical.
Where elements are shown as connected, they may in some embodiments be coupled to each other through another element or component. One of skill in the art will also appreciate how to determine parameters of the components depending on other components in the smartphone or mobile device.
These and other variations upon the embodiments are intended to be covered by the present disclosure, which is limited only by the appended claims.
This application claims priority from Provisional Application Nos. 62/217,585, filed Sep. 11, 2015, and 62/309,924, filed Mar. 17, 2016, which are incorporated by reference herein in their entirety.
Number | Date | Country | |
---|---|---|---|
62217585 | Sep 2015 | US | |
62309924 | Mar 2016 | US |