HEADSET MANAGEMENT BY MICROPHONE TERMINAL CHARACTERISTIC DETECTION

Information

  • Patent Application
  • 20170019725
  • Publication Number
    20170019725
  • Date Filed
    May 13, 2016
    8 years ago
  • Date Published
    January 19, 2017
    7 years ago
Abstract
A headset power management system provides robust and low-power operation by detecting various connection conditions by measuring a voltage at the microphone terminal with and without injection of current from the headset. A power management circuit controls an operating state of the headset using a microphone terminal voltage detector and can determine whether a short circuit is present indicating a connection to a device that does not have a microphone input, a negative polarity voltage is present indicating that the device may be determining a connection and type of the headset using the microphone terminal, a normal connection, or whether the headset is not connected to a device at all. Depending on the connection state, some or all of the headset electronics may be disabled until a normal connection is detected. For example the microphone processing circuits may be disabled if the connection does not support a microphone input.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates generally to circuits for personal audio devices such as wireless telephones and media players, and more specifically, to circuits and methods that manage circuits within a disconnectable headset based on characteristics detected at the microphone terminal of the headset.


2. Background of the Invention


Disconnectable headsets are frequently used with wireless telephones, personal media players, and other devices that provide connections for the headsets. Recently, headsets have incorporated active electronics for such applications as ambient noise cancelling, and also include their own power source, typically a battery included within either the headset, or a dongle disposed along the headset cable.


As with other battery-operated equipment, when energy is not actually being used, e.g., when the headset is disconnected or the audio device is inactive, it is desirable to place at least a portion of the headset in a power-down mode in order to conserve battery energy. Further, battery-powered headsets typically include gain stages and have a higher input impedance, so open connections of a disconnected headset, or a connected headset that has not been properly configured with the device to which the headset is connected may generate audible noise.


Therefore, it would be desirable to provide a headset that provides power management of headset electronics without generating audible interference.


SUMMARY OF THE INVENTION

The above stated objectives of providing management of headset electronics to conserve battery power and avoid generation of audible noise is provided in a circuit within a headset, an integrated circuit, and methods of operation of the circuit.


The circuit includes a power management control circuit that controls an operating state of the headset and a microphone terminal voltage detector for detecting a voltage on at least microphone terminal of the plug that is used to connect the headset to a consumer audio device output jack. The circuit also include an analog-to-digital converter (ADC) that converts at least one audio output signal supplied to the plug from the consumer audio device to at least one digital representation and at least one digital-to-analog converter (DAC) circuit for generating a transducer output signal. The power management control circuit controls an operating state of the ADC, and optionally an operating state of the DAC, in conformity with the detected voltage of the at least one microphone terminal.


The foregoing and other objectives, features, and advantages of the invention will be apparent from the following, more particular, description of the preferred embodiment of the invention, as illustrated in the accompanying drawings.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is an illustration of a personal audio device 10 connected to a headset 30.



FIG. 2 is a block diagram depicting a connection between personal audio device 10 and headset 30.



FIG. 3 is a simplified schematic diagram depicting internal circuits of headset 30.



FIG. 4 is a simplified schematic diagram depicting details of power management block 32 of FIG. 3.



FIG. 5 is a flowchart depicting operation of a personal audio device.





DESCRIPTION OF ILLUSTRATIVE EMBODIMENT

The present disclosure encompasses headsets such as earphones or headphones for connection to personal audio devices, such as wireless telephones, media players, and other consumer personal audio playback devices. The headsets detect connection, and in some instances a type of connection from a personal audio device and manage power consumption and noise blanking based on the connection and connection type.



FIG. 1 shows an example of a personal audio device 10 connected to a headset 30 in the form of a pair of earbud speakers 8A and 8B, one of which includes a microphone element 6. Headset 30 is only exemplary, and it is understood that other types of headphones may be connected to personal audio device 10, including headphones, earbuds, in-ear earphones, and external speakers, any of which might incorporate features as disclosed herein. A standardized plug 4 provides for connection of headset 30 to personal audio device 10. While plug 4 is standardized in mechanical configuration, the connections of headset 30 and personal audio device 10 may vary between types. Also, the number of electrical contacts may vary between configurations, depending on how many transducers are included in headset 30 or how many transducers are expected for connection to a particular personal audio device 10. For example, by including one or more ring terminals disposed between the tip and shell (barrel) terminals of a phone type connector, the number of terminals can be changed, and as illustrated in the example below, headset 30 may determine that it is connected to a personal audio device 10 that only has terminals for output transducers, instead of including a microphone terminal.



FIG. 2 shows an example of circuits within personal audio device 10 and headset 30, showing the connections made by plug 4. Personal audio device 10 includes a jack (receptacle) 5 that receives plug 4 of headset 30. The two terminals at the tip of plug 4 are generally output connections from personal audio device 10, and are illustrated as provided from the outputs of headset amplifiers HA1 and HA2 that amplify the output of an audio codec 22 that generates output audio from, for example, stored audio data or downlink audio provided from a phone network interface circuit 24. The other two terminals receive connections from an external microphone forming part of headset 30. A microphone bias generator 28 provides a bias voltage to a microphone terminal 4A for operating a microphone circuit of an unpowered headset and a microphone preamplifier PA is provided to boost a signal level of audio received from an external microphone.


Exemplary headset 30 is a powered headset, operated by a battery BATT that is coupled through a power management block 32 to a microphone circuit 34 that processes signals from a microphone MIC and to an output circuit 36 that generates output audio signals for reproduction by transducers SP1 and SP2. Power management block 32 is also coupled to the microphone terminals of plug 4 and detects voltage levels on the microphone terminal 4A. Power management block 32 also injects current into microphone terminal 4A under certain conditions, in order to determine a type of connection provided by receptacle 5 of personal audio device and to determine whether plug 4 is connected to a receptacle of a device at all.



FIG. 3 shows details of circuits within headset 30. A headset integrated circuit (IC) 40 incorporates power management block 32, microphone circuit 34 and output circuit 36. External to headset IC 40, capacitors C1-C4 provide AC-coupling of output signals from personal audio device 10 through plug 4 to the inputs of output circuit 36, which processes and amplifies the received signals for reproduction by transducers SP1 and SP2. Output circuit includes analog-to-digital converters (ADCs) ADC1 and ADC2, which convert the received signals to the digital domain. The converted values are processed by digital signal processors (DSPs) DSP1-DSP2, for example, to provide equalization, adaptive noise canceling, and other forms of signal processing. The processed audio is converted back to the analog domain by digital-to-analog converters (DACs) DAC1-DAC2 and amplified by amplifiers A1 and A2 to provide the output signals for driving transducers SP1 and SP2. The return current path for the audio input signals from plug 4 includes a resistor RISO which is connected between a common terminal 4B of plug 4 and the negative terminal of battery BATT.


Microphone MIC is also AC-coupled to headset IC 40 by a pair of capacitors C5 and C6, but is DC-coupled to the reference (ground) terminal of a battery BATT that supplies operating power for headset 30 and to a mic bias circuit 35 via a resistor RB, to supply operating voltage for microphone MIC, which is generally an electret-type condenser microphone. Microphone circuit 34 receives the output signal from microphone MIC at the inputs of an ADC ADC3, which converts the microphone signal to the digital domain and provides the converted audio information to another DSP DSP3 which processes the microphone signal and provides a digital output to a DAC DAC3. The output of DAC DAC3 is buffered by an amplifier A3 and provided to microphone terminal 4A of plug 4 via a resistor RO. Amplifier A3 is referenced to terminal 4B of plug 4 via a connection to amplifier A3.As noted above, microphone terminal 4A is coupled to power management block 32 which measures and/or compares a voltage Vmic of microphone terminal 4A at a connection detector 38, which provides an output to power supply control block 39. Power supply control block 39 controls power supplied to microphone circuit 34 and output circuit 36 by enabling and disabling supply voltages VS1 and VS2, respectively. Generally, supply voltage VS2 is used to supply power to ADCs ADC1-ADC2, while power to DSPs DSP1-DSP2, DACs DAC1-DAC2 and amplifiers A1-A2 is supplied by the primary power supply VDD that is active when the headset is turned on, so that power is not wasted and noise is prevented by disabling ADCs ADC1-ADC2, but active noise canceling operations can be continued by output circuit 36. A diode D1 is provided to prevent external signals applied to microphone terminal 4A from becoming more negative than the forward-biased voltage drop of diode D1 (≈0.7V). Alternatively, control signals could be sent from power supply control block 39 to microphone circuit 34 and output circuit 36, i.e., in place of supply voltages VS1 and VS2, to set one both of microphone circuit 34 and output circuit 36 to a low power or power-down state. In such an implementation, the power supply inputs to microphone circuit 34 and output circuit 36 can be provided from primary power supply VDD.



FIG. 4 shows details of an example power management block 32 including connection detector 38 and power supply control block 39. Connection detector 38 includes a comparator K1 that compares voltage Vmic at microphone terminal 4A of plug 4 with a threshold voltage Vth1, which, in the example is 0.9V. Other comparators may optionally be provided to ensure that voltage Vmic at microphone terminal 4A of plug 4 is less than a specified maximum, e.g., 1.35V. A current source IT is coupled to microphone terminal 4A by a switch SW1 that is controlled by a control signal provided from a control logic 37 within power supply control block 39. Control logic 37 also controls transistors P1 and P2 to enable and disable supply voltages VS1 and VS2, respectively. Table I below illustrates the relationship between voltage Vmic at microphone terminal 4A of plug 4 and the connection type and state of plug 4. Switch SW1 is enabled to measure an impedance at microphone terminal 4A to determine whether plug 4 is disconnected or whether plug 4 is inserted in a jack of a device that does not have a microphone input, i.e., a headphone-only device. The magnitude of current source IT can be selected so that comparator K1 and threshold voltage Vth1 can be used to make the above-determination when switch SW1, as well as the determination of a normal headset connection when switch SW1 is open, or another comparator and threshold voltage may be provided, or threshold voltage Vth1 can be made programmable. Alternatively, connection detector 38 can be implemented by an ADC that provides a measurement of voltage Vmic to logic or processor-executed algorithm that make the determinations described herein. Comparator K2 compares voltage Vmic at microphone terminal 4A to another threshold voltage Vth2, which can be set to 0V or a negative voltage value to make the determination of whether or not plug 4 is connected to a device that is performing headset detection and therefore has reversed the polarity of the microphone bias voltage. Headset detection techniques such as the above are disclosed in U.S. Patent Publication US-20140050330-A1 entitled “HEADSET TYPE DETECTION AND CONFIGURATION TECHNIQUES”, the disclosure of which is incorporated herein by reference.














TABLE I







Plug P4 connection
P1/VS1
P2/VS2



SW1
Vmic
state
state
state
Reason







Open
Vmic > Vth1
Normal connection
On
On
Normal




to headset


Operation


Open
Vmic < Vth2
Reversed
Off
Off
Avoid noise from




connection possibly


SP1, SP2 During




due to headset detect


headset detection




ion by personal




audio device


Closed
Vmic < Vth1
Short to common
Off
On
Headset




terminal


connected to







headset-only jack


Closed
Vmic > Vth1
Open circuit
Off
Off
Headset







disconnected,







power down










FIG. 5 is a flowchart illustrating a headphone power management method as may be performed in the above-described headset. First switch S1 is set to the open state and microphone terminal voltage Vmic is measured (step 40). If microphone terminal voltage Vmic is less than 0V or greater than 1.35V (decision 41), supply voltages VS1 and VS2 are disabled (step 47). When a timeout occurs (decision 48), the process from step 40 is repeated again to determine again if microphone terminal voltage Vmic is less than 0V or greater than 1.35V (decision 41). If microphone terminal voltage Vmic is greater than 0V and less than 1.35V (decision 41), then if microphone terminal voltage Vmic is greater than 0.9V (decision 42), supply voltages VS1 and VS2 are enabled (step 43). If microphone terminal voltage Vmic is not greater than 0.9V (decision 42), then switch SW1 is closed to inject current from current source IT (step 44) and if microphone terminal voltage Vmic is less than threshold voltage Vth2, then supply voltage VS1 is disabled and supply voltage VS2 is enabled (step 46), since microphone terminal 4A is presumed shorted to common terminal 4B. Otherwise if microphone terminal voltage Vmic is greater than threshold voltage Vth2 (decision 45), then plug 4 is presumed disconnected and supply voltages VS1 and VS2 are disabled (step 46). Once the headset condition has been determined and the states of supply voltages VS1 and VS2 set, until a recheck is commenced (decision 49), which may be periodic or triggered by an event such as telephone conversation begin/end, a playlist track change, etc., the states of supply voltages VS1 and VS2 are maintained. If a recheck is commenced (decision 49) and until headset is shutdown (decision 50), steps 40-48 are repeated.


While the invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that the foregoing and other changes in form, and details may be made therein without departing from the spirit and scope of the invention.

Claims
  • 1. A headset for connection to a consumer audio device output jack, the headset comprising: a plug for connection to the consumer audio device output jack, the plug including at least one output terminal for receiving at least one audio output signal and at least one microphone terminal for coupling to an audio input terminal of the consumer audio device output jack;at least one output transducer for generating an acoustic output from at least one audio transducer output signal;an audio output circuit including at least one analog-to-digital converter for converting the at least one audio output signal to at least one digital representation and at least one digital-to-analog converter circuit for generating the at least one transducer output signal;a microphone terminal voltage detector for detecting a voltage at the at least microphone terminal; anda power management control circuit for controlling an operating state of the headset and having an input coupled to an output of the microphone terminal voltage detector, wherein the power management control circuit controls a power management state of the at least one analog-to-digital converter in conformity with the detected voltage of the at least one microphone terminal.
  • 2. The headset of claim 1, wherein the microphone terminal voltage detector detects a presence of a bias voltage at the at least one microphone terminal, and wherein the power management control circuit, in response to detecting the presence of the bias voltage, sets the power management state of the at least one analog-to-digital converter to an operating state.
  • 3. The headset of claim 1, wherein the microphone terminal voltage detector detects a presence of an erroneous bias voltage at the at least one microphone terminal, and wherein the power management control circuit, in response to detecting the presence of the erroneous bias voltage, sets the power management state of the at least one analog-to-digital converter to a power down state.
  • 4. The headset of claim 3, further comprising: a microphone element for generating a microphone signal; andan audio input circuit for amplifying the microphone signal and providing an amplified microphone signal to the at least one microphone terminal, wherein the power management control circuit further sets a power management state of the audio input circuit to the power down state in response to detecting the presence of the erroneous bias voltage, wherein if the microphone terminal voltage detector detects a presence of a correct bias voltage at the at least one microphone terminal, the power management control circuit sets the power management state of the audio input circuit to an operational state and sets the power management state of the at least one analog-to-digital converter to an operating state.
  • 5. The headset of claim 1, wherein the microphone terminal voltage detector comprises: a controllable current source for injecting a test current into the at least one microphone terminal; anda voltage comparator for comparing a voltage at the at least one microphone terminal to a first threshold value to determine whether or not the voltage at the at least one microphone terminal is less than a first threshold value and sets the power management state of the at least one analog-to-digital converter to an operating state, and in response to the determining that the voltage at the at least one microphone terminal is greater than the first threshold value, sets the power management state of the at least one analog-to-digital converter to a power down state.
  • 6. The headset of claim 5, further comprising: a microphone element for generating a microphone signal; andan audio input circuit for amplifying the microphone signal and providing an amplified microphone signal to the at least one microphone terminal, wherein the voltage comparator further compares the voltage at the at least one microphone terminal to a second threshold value that is less than the first threshold value indicating that a terminal of the consumer audio device output jack corresponding to the at least one microphone terminal is shorted to a return terminal of the consumer audio device output jack, and wherein the power management control circuit sets the audio input circuit to the power down state and sets the analog-to-digital converter to an operational state in response to the microphone terminal voltage detector detecting that the at least one microphone terminal is shorted to the return terminal.
  • 7. A method for operating a headset connectable to a consumer audio device output jack, the method comprising: detecting a voltage on at least one microphone terminal of the headset, wherein the headset includes a plug for connection to the consumer audio device output jack, the plug including at least one output terminal for receiving at least one audio output signal, and wherein the at least one microphone terminal is a terminal for coupling to an audio input terminal of the consumer audio device output jack; andcontrolling an operating state of the headset in conformity with a result of the detecting, wherein the controlling controls an power management state of at least one analog-to-digital converter that converts at least one output signal provided by the consumer audio device at the consumer audio device output jack to a digital representation of the at least one output signal.
  • 8. The method of claim 7, further comprising: detecting a presence of a bias voltage at the at least one microphone terminal; andsetting the power management state of the at least one analog-to-digital converter to an operating state in response to detecting the presence of the bias voltage.
  • 9. The method of claim 7, further comprising: detecting a presence of an erroneous bias voltage at the at least one microphone terminal; andsetting the power management state of the at least one analog-to-digital converter to a power down state in response to detecting the presence of the erroneous bias voltage.
  • 10. The method of claim 9, further comprising: generating a microphone signal with a microphone element;amplifying the microphone signal with an audio input circuit and providing an amplified microphone signal to the at least one microphone terminal;setting a power management state of the audio input circuit to the power down state in response to detecting the presence of the erroneous bias voltage with the power management control circuit;detecting a presence of a correct bias voltage at the at least one microphone terminal; andsetting the power management state of the audio input circuit to an operational state and setting the power management state of the at least one analog-to-digital converter to an operating state with the power management control circuit.
  • 11. The method of claim 7, further comprising: injecting a test current into the at least one microphone terminal with a controllable current source;comparing a voltage at the at least one microphone terminal to a first threshold value to determine whether or not the voltage at the at least one microphone terminal is less than a first threshold value with a voltage comparator;setting the power management state of the at least one analog-to-digital converter to an operating state; andsetting the power management state of the at least one analog-to-digital converter to a power down state in response to the determining that the voltage at the at least one microphone terminal is greater than the first threshold value.
  • 12. The method of claim 11, further comprising: generating a microphone signal with a microphone element;amplifying the microphone signal and providing an amplified microphone signal to the at least one microphone terminal with an audio input circuit;comparing the voltage at the at least one microphone terminal to a second threshold value that is less than the first threshold value indicating that a terminal of the consumer audio device output jack corresponding to the at least one microphone terminal is shorted to a return terminal of the consumer audio device output jack with the voltage comparator; andsetting the audio input circuit to the power down state and setting the analog-to-digital converter to an operational state in response to the microphone terminal voltage detector detecting that the at least one microphone terminal is shorted to the return terminal with the power management control circuit.
  • 13. An integrated circuit for operating a headset connectable to a consumer audio device output jack, the integrated circuit comprising: terminals for connection to a plug for connection to the consumer audio device output jack, the terminals including at least one output terminal for receiving at least one audio output signal and at least one microphone terminal for coupling to an audio input terminal of the consumer audio device output jack, and wherein the terminals further comprise at least one terminal for connection to at corresponding least one output transducer for providing at least one audio transducer output signal to the corresponding transducer;an audio output circuit including at least one analog-to-digital converter for converting the at least one audio output signal to at least one digital representation and at least one digital-to-analog converter circuit for generating the at least one transducer output signal;a microphone terminal voltage detector for detecting a voltage at the at least microphone terminal; anda power management control circuit for controlling an operating state of the headset and having an input coupled to an output of the microphone terminal voltage detector, wherein the power management control circuit controls an power management state of the at least one analog-to-digital converter in conformity with the detected voltage of the at least one microphone terminal.
  • 14. The integrated circuit of claim 13, wherein the microphone terminal voltage detector detects a presence of a bias voltage at the at least one microphone terminal, and wherein the power management control circuit, in response to detecting the presence of the bias voltage, sets the power management state of the at least one analog-to-digital converter to an operating state.
  • 15. The integrated circuit of claim 13, wherein the microphone terminal voltage detector detects a presence of an erroneous bias voltage at the at least one microphone terminal, and wherein the power management control circuit, in response to detecting the presence of the erroneous bias voltage, sets the power management state of the at least one analog-to-digital converter to a power down state.
  • 16. The integrated circuit of claim 15, further comprising an audio input circuit for amplifying a microphone signal and providing an amplified microphone signal to the at least one microphone terminal, wherein the power management control circuit further sets a power management state of the audio input circuit to the power down state in response to detecting the presence of the erroneous bias voltage, wherein if the microphone terminal voltage detector detects a presence of a correct bias voltage at the at least one microphone terminal, the power management control circuit sets the power management state of the audio input circuit to an operational state and sets the power management state of the at least one analog-to-digital converter to an operating state.
  • 17. The integrated circuit of claim 13, wherein the microphone terminal voltage detector comprises: a controllable current source for injecting a test current into the at least one microphone terminal; anda voltage comparator for comparing a voltage at the at least one microphone terminal to a first threshold value to determine whether or not the voltage at the at least one microphone terminal is less than a first threshold value and sets the power management state of the at least one analog-to-digital converter to an operating state, and in response to the determining that the voltage at the at least one microphone terminal is greater than the first threshold value, sets the power management state of the at least one analog-to-digital converter to a power down state.
  • 18. The integrated circuit of claim 17, further comprising an audio input circuit for amplifying a microphone signal and providing an amplified microphone signal to the at least one microphone terminal, wherein the voltage comparator further compares the voltage at the at least one microphone terminal to a second threshold value that is less than the first threshold value indicating that a terminal of the consumer audio device output jack corresponding to the at least one microphone terminal is shorted to a return terminal of the consumer audio device output jack, and wherein the power management control circuit sets the audio input circuit to the power down state and sets the analog-to-digital converter to an operational state in response to the microphone terminal voltage detector detecting that the at least one microphone terminal is shorted to the return terminal.
Provisional Applications (1)
Number Date Country
62193750 Jul 2015 US