Embodiments generally relate to headphone technology. More particularly, embodiments relate to extending battery life in headphones via acoustic idle detection.
Headphones with built-in active noise cancellation have made a sweeping change to the content consumption experience such that it may be a must-have accessory for more than just audiophiles. When paired with wireless connectivity, users may be able to use them anywhere they want for their listening pleasure, making phone calls, or to enjoy some peace and quiet. Like many electronic gadgets, however, these devices may be powered by a battery, even when wired. No one appreciates their listening experiences or quiet enjoyment being disturbed because the batteries need to be changed or recharged. Indeed, there may be occasions when a user forgets to turn the headphone devices off when not in use, thereby resulting in the battery power being drained more quickly.
One solution may be to automatically turn the power off when wireless (e.g., Bluetooth) headphones are not being used for a period of time such as, for example, five (5) minutes. Such idleness may be detected by checking whether the headphones are paired and/or connected with an audio source. While such a solution may work for wireless headphones, it typically does not work for non-digital wired headphones. In addition, even if a wireless headphone is paired and/or connected with an audio source, there may still be scenarios where a user may forget to stop the source when the headphones are not in use.
The various advantages of the embodiments will become apparent to one skilled in the art by reading the following specification and appended claims, and by referencing the following drawings, in which:
In the following detailed description, reference is made to the accompanying drawings which form a part hereof wherein like numerals designate like parts throughout, and in which is shown by way of illustration embodiments that may be practiced. It is to be understood that other embodiments may be utilized and structural or logical changes may be made without departing from the scope of the present disclosure. Therefore, the following detailed description is not to be taken in a limiting sense, and the scope of embodiments is defined by the appended claims and their equivalents.
Technology to extend the battery life of headphones left unattended for a period of time while powered-on is described herein. Embodiments use acoustic idle techniques to determine whether the headphones should be powered-down. When the headphones are left in the on state, but are not worn on the ears, each earpiece may listen for the content of the other earpiece due to their physical adjacency and determine if the signal is above a certain threshold that indicates the user's ears and head are not blocking the content. If an audio source is still playing through the earpieces, the headphone may be able to recognize this by comparing the captured audio against its knowledge of what is being rendered to the other earpiece. If an audio source is not available or detected, a chirp pattern, such as, for example, an ultrasonic waveform, may be transmitted from one earpiece in order for the other earpiece to receive it. In both cases, the headphones “eavesdrop” the nearby sounds, and using the captured audio, determine if the device is idle. Based on the length of time the headphones have been idle, a decision may be made to safely shut-off power to the headphones. Embodiments allow for the replacement of a physical on/off switch with a stateless button that is controllable manually and via software. Stateless buttons are well known in the relevant art(s).
For example, the headphones 104 may be placed such that both earpieces are collapsed together (106). In another example, the headphones 104 may be placed such that both earpieces are coupled against each other in close proximity, with each earpiece facing the same direction (108). In any one of the three positions of the headphones 104 shown at time t2, the user 102 has forgotten to turn the power off. Thus, allowing the headphones 104 to remain powered-on for long periods of time, resulting in reduced battery life. Approximately 4 hours later, at time t3, the user 102 decides to listen to some music, make phone calls, or enjoy peace and quiet using her headphones 104. When the user 102 places the headphones 104 over her ears, the user 102 is dismayed because the batteries in the headphones 104 are drained, as shown at time t3 by the frown upon her face. The user 102 can no longer listen to music, make phone calls, or enjoy peace and quiet using her headphones 104 without re-charging the batteries.
At time t2, the user 102 may place the headphones 202 around her neck or place the headphones 202 on a surface in one of the positions identified by 106 and 108 as described above in
Embodiments use acoustic idle detection techniques to listen for specific audio content from one earpiece on the other earpiece in order to make a determination as to whether or not the user is wearing the headphones. Embodiments utilize headphones with built-in microphones and noise cancellation. In embodiments, the headphones eavesdrop the surrounding sounds to detect the audio between the earpieces. Embodiments do not require that both earpieces must be facing each other or that the sound waves are uni-directional. In fact, when the transmitter and receiver are not facing each other, the earpieces may include multiple transceivers having omni-directional transducers that enable the earpieces to pick up surrounding sounds. The transducers may be capable of periodically transmitting inaudible signals, such as, for example, chirps using ultrasounds, or other high frequency inaudible sound waves to better detect when the headphones are not in use when used for noise cancellation only or when audio is played from a single channel, i.e., mono (vs. multiple channels, i.e., stereo).
The left channel capture pipeline 302 may include a left demuxer 304, a noise reduction 306, an acoustic echo cancellation (AEC) 308, and a right channel chirp/content comparator 310. The left demuxer 304 may be coupled to the noise reduction 306, while the noise reduction 306 may be coupled to the acoustic echo cancellation 308. The acoustic echo cancellation 308 is coupled to the right channel chirp/content comparator 310.
The illustrated left demuxer 304 operates as a splitter. The left demuxer 304 may send input received from the left microphone to the left channel capture pipeline 302 and to the left channel render pipeline 312.
With respect to the left channel capture pipeline 302, the audio signal received from the left microphone may be sent to the noise reduction 306. The noise reduction 306 reduces ambient noise as well as other noises happening in the environment from the audio signal.
The audio signal may then be sent to the acoustic echo canceller (AEC) 308. The acoustic echo canceller 308 is used to cancel the acoustic feedback between the speaker and the microphone. In other words, the AEC 308 may remove from the signal whatever the left earpiece is playing and feeds the remaining signal into the right channel chirp/content comparator 310.
In embodiments, the right channel chirp/content comparator 310 also receives an audio signal from the right channel pipeline (shown below in
If the difference between the two signals is less than or equal to the pre-determined threshold, then a signal is sent to the power management logic to indicate that the power management logic should power-down the headphone because the headphones are not being used. Alternatively, if the difference between the two signals exceeds the pre-determined threshold, this is an indication that the headphones are in use by someone. In this instance, the headphones remain powered-up.
As previously indicated, the left channel render pipeline 312 provides output to a speaker. The left channel render pipeline 312 includes a cancellation noise generator 314, a left channel chirp generator 316, a headphone pre-processor 318, and a left mixer 320. The cancellation noise generator 314 is coupled to the left demuxer 304 of the left channel capture pipeline 302 and to the left mixer 320. The left channel chirp generator 316 is coupled to the left mixer 320. The headphone pre-processor 318 is also coupled to the left mixer 320.
The left channel render pipeline 312 receives the left channel of the content to be rendered. In other words, audio comes out of the left earpiece from the left channel render pipeline 312. The content source is input into the headphone pre-processing logic 318. The content source may be, for example, music, sound from movies, television, video clips, etc., or speech. The pre-processing logic 318 may be used as an option to enhance the content source sound. The output from the pre-processing logic 318 is fed into the left mixer 320. Although not shown, if enhancement of the content source sound is not needed or is not desired, the pre-processing logic 318 may be by-passed. In embodiments where the headphones are used for noise cancellation purposes only, the pre-processing logic 318 may also be by-passed.
The left channel chirp generator 316 is used to generate chirps that may be sent to the right earpiece of the headphone to determine whether or not to power off the headphone. The left channel chirp generator 316 is fed into the left mixer 320.
The cancellation noise generator 314 receives as input the audio signal from the left microphone. The cancellation noise generator 314 cancels the ambient noises coming from the left microphone. It takes the noise from the microphone and plays the opposite signal out of the earpiece so that the user thinks that they do not hear the noise. The output of the cancellation noise generator 314 is fed into the left mixer 320 in order to cancel the noise captured from the left microphone.
The left mixer 320 receives the cancellation noise of the left microphone from the cancellation noise generator 314, the chirps generated from the left channel chirp generator 316, and the rendered content from the headphone pre-processing logic 318 and mixes the signals together for rendering the content to the left earpiece and to the right channel pipeline shown in
Note that embodiments may operate using the rendered content and the chirp or the chirp alone to drive the power management logic. In one embodiment, only the chirp content is provided to the chirp/content comparator 310. In another embodiment, both the rendered content and the chirp are provided to the chirp/content comparator 310. In one embodiment, the chirp may be generated from the left earpiece and sent to the right earpiece and vice versa.
The acoustic processing pipeline 400 includes a right channel capture pipeline 402 and a right channel render pipeline 412. The right channel capture pipeline 402 may obtain input from a right microphone to capture or record audio. The right channel render pipeline 412 may send output to a speaker to render or play audio. This allows the headphones to operate as a microphone using the right channel capture pipeline 402 and a speaker using the right channel render pipeline 412.
The right channel capture pipeline 402 may include a right demuxer 404, a noise reduction 406, an acoustic echo cancellation (AEC) 408, and a left channel chirp/content comparator 410. The right demuxer 404 may be coupled to the noise reduction 406, while the noise reduction 406 may be coupled to the acoustic echo cancellation 408. The acoustic echo cancellation 408 may be coupled to the left channel chirp/content comparator 410.
The right demuxer 404 operates as a splitter. The right demuxer 404 sends input received from the right microphone to the right channel capture pipeline 402 and to the right channel render pipeline 412.
With respect to the right channel capture pipeline 402, the audio signal received from the right microphone is sent to the noise reduction 406. The noise reduction 406 reduces ambient noise as well as other noises happening in the environment from the audio signal.
The audio signal from the noise reduction 406 is sent to the acoustic echo canceller (AEC) 408. The acoustic echo canceller 408 is used to cancel the acoustic feedback between the speaker and the microphone. In other words, the AEC 408 removes from the signal whatever the right earpiece is playing and feeds the signal into the left channel chirp/content comparator 410.
In embodiments, the left channel chirp/content comparator 410 also receives an audio signal from the left channel pipeline (shown above in
As previously indicated, the right channel render pipeline 412 provides output to a speaker. The right channel render pipeline 412 includes a cancellation noise generator 414, a right channel chirp generator 416, a headphone pre-processor 418, and a right mixer 420. The cancellation noise generator 414 is coupled to the right demuxer 404 of the right channel capture pipeline 402 and to the right mixer 420. The right channel chirp generator 416 is coupled to the right mixer 420. The headphone pre-processor 418 is also coupled to the right mixer 420.
The right channel render pipeline 412 receives the right channel of the content to be rendered. In other words, audio comes out of the right earpiece from the right channel render pipeline 412. The content source is input into the headphone pre-processing logic 418. The content source may be, for example, music, sound from movies, television, video clips, etc., or speech. The pre-processing logic 418 may be used as an option to enhance the content source sound. The output from the pre-processing logic 418 is fed into the right mixer 420. Although not shown, if enhancement of the content source sound is not needed or is not desired, the pre-processing logic 418 may be by-passed. In embodiments where the headphones are used for noise cancellation purposes only, the pre-processing logic 418 may also be by-passed.
The right channel chirp generator 416 is used to generate chirps that may be sent to the left earpiece of the headphone to determine whether or not to power off the headphones. The right channel chirp generator 416 is fed into the right mixer 420.
The cancellation noise generator 414 receives as input the audio signal from the right microphone. The cancellation noise generator 414 cancels the ambient noises coming from the right microphone. It takes the noise from the microphone and plays the opposite signal out of the earpiece so that the user thinks that they do not hear the noise. The output of the cancellation noise generator 414 is fed into the right mixer 420 in order to cancel the noise captured from the right microphone.
The right mixer 420 receives the cancellation noise of the right microphone from the cancellation noise generator 414, the chirps generated from the right channel chirp generator 416, and the rendered content from the headphone pre-processing logic 418 and mixes the signals together for rendering the content to the right earpiece and to the left channel pipeline shown in
Note again that embodiments may operate using the rendered content and the chirp or the chirp alone to drive the power management logic. In one embodiment, only the chirp content is provided to the chirp/content comparator 410. In another embodiment, both the rendered content and the chirp are provided to the chirp/content comparator 410.
Although embodiments have been described where both earpieces of the headphones are capable of performing acoustic idle detection, embodiments are not limited to the right and left earpieces being symmetrical. In one embodiment, the earpieces may be asymmetrical, thus allowing for only one earpiece of the headphones to perform acoustic idle detection.
Note that
In embodiments, power is also preserved by performing the acoustic detection as described above periodically to determine whether the headphones should be powered down. For example, in one embodiment, the acoustic signals from the earpieces of the headphones are sampled and compared once every minute. Sampling and comparing too frequently may lead to more power consumption instead of preserving power.
For example, computer program code to carry out operations shown in the method 500 may be written in any combination of one or more programming languages, including an object-oriented programming language such as JAVA, SMALLTALK, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. Additionally, logic instructions might include assembler instruction, instruction set architecture (ISA) instructions, machine instruction, machine depended instruction, microcode, state setting data, configuration data for integrated circuitry, state information that personalizes electronic circuitry and/or other structural components that are native to hardware (e.g., host processor, central processing unit (CPU), microcontroller, etc.).
The process begins in block 502, where the process immediately proceeds to block 504.
In block 504, a chirp/content comparator receives a first signal from a microphone of a first earpiece. The first earpiece is part of a headphone. The first signal from the microphone of the first earpiece has been passed through a noise reduction and acoustic echo cancellation to isolate the microphone signal such that an identifying signal from the opposite earpiece can be detected by the chirp/content detector. The process proceeds to block 506.
In block 506, a second signal is received from the opposite earpiece of the headphones. The second signal may be a chirp from the opposite earpiece or a combination of the chirp and source content from the opposite earpiece. The process then proceeds to block 507.
In block 507, the chirp/content comparator compares the first signal to the second signal. The process then proceeds to decision block 508.
In decision block 508, if the difference between the first and second signals is less than or equal to a pre-determined threshold, the process proceeds to block 512.
In block 512, a signal is sent to the power management logic to enable the power management logic to power down the headphones. The process then proceeds to block 514, where the process ends.
Returning to decision block 508, if the difference between the first and second signals is greater than the pre-determined threshold, the process proceeds to block 510, where the headphones remain powered on. The process then proceeds back to block 504 to periodically repeat the process of determining whether the headphones are being used. As previously indicated, the process may repeat once every minute. In other embodiments the process may repeat once every 5 minutes or at a different time interval to be determined by the user.
Embodiments are intended for use with headphones that have built-in microphones. Furthermore, embodiments are intended for headphones having noise cancellation capabilities. Thus, the headphones may operate in noise cancellation only mode or in audio playback with noise cancellation mode. When in audio playback with noise cancellation mode, the process for single channel audio (i.e., mono) is different than multiple channel audio (i.e., stereo). This is to avoid the risk of the acoustic echo cancellation, performed on the signal captured from the microphone, removing the microphone audio signal from the signal being fed into the chirp/content comparator on the capture pipeline side since the microphone signal is identical to the signal being rendered or played out of the same earpiece. Although not explicitly shown, the headphones include a processor that knows whether the audio being played is in mono or stereo.
The process begins in block 520, where the process immediately proceeds to decision block 522. In decision block 522, it is determined whether audio is playing. If audio is playing, the process proceeds to decision block 524.
In decision block 524, it is determined whether the audio is stereo or mono. If the audio is stereo, the process proceeds to block 526.
In block 526, both earpieces listen for a signal that matches the opposite earpiece. The process then proceeds to decision block 528.
In decision block 528, it is determined whether a matching signal has been found. If the difference between the signals from the earpieces is less than or equal to a predetermined threshold, the signal is characterized as matching. If a matching signal has been found, the process proceeds to block 530, where it is determined that the headphones are not being used and are powered-down.
Returning to decision block 528, if a matching signal has not been found (i.e., the resulting signal is greater than the predetermined threshold), the process proceeds to block 532, where it is determined that the headphones are being used. In this instance, the headphones remain powered-on.
Returning to decision block 522, if audio is not being played and the headphones are operating in noise cancellation mode only, the process proceeds to block 534. In block 534, the right or the left earpiece may periodically send a high frequency chirp signal. The process then proceeds to decision block 536.
In decision block 536, it is determined whether the difference between the signal received, or bounced, back from the opposite earpiece, or from another object, and the signal sent is less than or equal to a pre-determined threshold level. As previously indicated, the pre-determined threshold level may vary depending on the model and make of the headphones and other factors, and therefore, is determined prior to its use. If the difference between the signal received and the signal sent is less than or equal to the pre-determined threshold level, the process proceeds to block 540. In block 540, the headphones are not being used and are powered-down.
Returning to decision block 536, if the difference between the receiving signal and the sent signal is greater than the predetermined threshold level, the process proceeds to block 538. In block 538, the headphones are being used and remain powered-on.
Returning to decision block 524, if it is determined that the audio is being played in mono or a single channel, the process proceeds to block 534 as described above. In other words, if the audio is being played on a single channel, the process is identical to the process for noise cancellation mode only shown in blocks 534-540.
The acoustic idle detection logic 604 may be in the form of logic instructions, configurable logic, fixed-functionality hardware logic, etc., or any combination thereof. The acoustic idle detection logic 604 is used to preserve the battery 622 when the headphones are left idle with the power in an ON state. The timing logic 604a determines how often the system 600 should check the headphones for idleness. The comparator logic 604b periodically (based on the timing logic) receives signals from both earpieces and determines whether the signals match within a pre-determined threshold. The power management logic 604c may shut down the power based on the results of the comparison logic 604b. Although the illustrated acoustic idle detection logic 604 is shown as being implemented on the processor 602, one or more aspects of the acoustic idle detection logic 604 may be implemented on the earpieces 618 and/or 620.
The system memory 610 and/or the mass storage 614 may be memory devices that store instructions 612, which when executed by the processor 602, cause the system 600 to perform one or more aspects of the methods 500 (
Although the processor 602 and the I/O module 608 are illustrated as separate blocks, the processor 602 and the I/O module 608 may be implemented as a system on chip (SoC) on the same semiconductor die. The processor 602 and the IO module 608 may be incorporated into a shared die 616 as a system on chip (SoC).
The processor core 800 is shown including execution logic 850 having a set of execution units 855-1 through 855-N. Some embodiments may include a number of execution units dedicated to specific functions or sets of functions. Other embodiments may include only one execution unit or one execution unit that can perform a particular function. The illustrated execution logic 850 performs the operations specified by code instructions.
After completion of execution of the operations specified by the code instructions, back end logic 860 retires the instructions of the code 805. In one embodiment, the processor core 800 allows out of order execution but requires in order retirement of instructions. Retirement logic 865 may take a variety of forms as known to those of skill in the art (e.g., re-order buffers or the like). In this manner, the processor core 800 is transformed during execution of the code 805, at least in terms of the output generated by the decoder, the hardware registers and tables utilized by the register renaming logic 825, and any registers (not shown) modified by the execution logic 850.
Although not illustrated in
Embodiments are applicable for use with all types of semiconductor integrated circuit (“IC”) chips. Examples of these IC chips include but are not limited to processors, controllers, chipset components, programmable logic arrays (PLAs), memory chips, network chips, systems on chip (SoCs), SSD/NAND controller ASICs, and the like. In addition, in some of the drawings, signal conductor lines are represented with lines. Some may be different, to indicate more constituent signal paths, have a number label, to indicate a number of constituent signal paths, and/or have arrows at one or more ends, to indicate primary information flow direction. This, however, should not be construed in a limiting manner. Rather, such added detail may be used in connection with one or more exemplary embodiments to facilitate easier understanding of a circuit. Any represented signal lines, whether or not having additional information, may actually comprise one or more signals that may travel in multiple directions and may be implemented with any suitable type of signal scheme, e.g., digital or analog lines implemented with differential pairs, optical fiber lines, and/or single-ended lines.
Example sizes/models/values/ranges may have been given, although embodiments are not limited to the same. As manufacturing techniques (e.g., photolithography) mature over time, it is expected that devices of smaller size could be manufactured. In addition, well known power/ground connections to IC chips and other components may or may not be shown within the figures, for simplicity of illustration and discussion, and so as not to obscure certain aspects of the embodiments. Further, arrangements may be shown in block diagram form in order to avoid obscuring embodiments, and also in view of the fact that specifics with respect to implementation of such block diagram arrangements are highly dependent upon the computing system within which the embodiment is to be implemented, i.e., such specifics should be well within purview of one skilled in the art. Where specific details (e.g., circuits) are set forth in order to describe example embodiments, it should be apparent to one skilled in the art that embodiments can be practiced without, or with variation of, these specific details. The description is thus to be regarded as illustrative instead of limiting.
As used in this application and in the claims, a list of items joined by the term “one or more of” may mean any combination of the listed terms. For example, the phrases “one or more of A, B or C” may mean A; B; C; A and B; A and C; B and C; or A, B and C.
References in the specification to “one embodiment,” “an embodiment,” “an illustrative embodiment,” etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may or may not necessarily include that particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
The disclosed embodiments may be implemented, in some cases, in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage medium, which may be read and executed by one or more processors. A machine-readable storage medium may be embodied as any storage device, mechanism, or other physical structure for storing or transmitting information in a form readable by a machine (e.g., a volatile or non-volatile memory, a media disc, or other media device). As used herein, the term “logic” and “module” may refer to, be part of, or include an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group), and/or memory (shared, dedicated, or group) that execute one or more software or firmware programs having machine instructions (generated from an assembler and/or a compiler), a combinational logic circuit, and/or other suitable components that provide the described functionality.
In the drawings, some structural or method features may be shown in specific arrangements and/or orderings. However, it should be appreciated that such specific arrangements and/or orderings may not be required. Rather, in some embodiments, such features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of a structural or method feature in a particular figure is not meant to imply that such feature is required in all embodiments and, in some embodiments, it may not be included or may be combined with other features.
The term “coupled” may be used herein to refer to any type of relationship, direct or indirect, between the components in question, and may apply to electrical, mechanical, fluid, optical, electromagnetic, electromechanical or other connections. In addition, the terms “first”, “second”, etc. may be used herein only to facilitate discussion, and carry no particular temporal or chronological significance unless otherwise indicated.
Various operations may be described as multiple discrete actions or operations in turn, in a manner that is most helpful in understanding the claimed subject matter. However, the order of description should not be construed as to imply that these operations are necessarily order dependent. In particular, these operations may not be performed in the order of presentation. Operations described may be performed in a different order than the described embodiment. Various additional operations may be performed and/or described operations may be omitted in additional embodiments.
Those skilled in the art will appreciate from the foregoing description that the broad techniques of the embodiments can be implemented in a variety of forms. Therefore, while the embodiments have been described in connection with particular examples thereof, the true scope of the embodiments should not be so limited since other modifications will become apparent to the skilled practitioner upon a study of the drawings, specification, and following claims.