Passive Proximity Detection

Information

  • Patent Application
  • 20150289070
  • Publication Number
    20150289070
  • Date Filed
    April 13, 2015
    9 years ago
  • Date Published
    October 08, 2015
    9 years ago
Abstract
Techniques and devices are disclosed for utilizing passively received audio signals to determine proximity of devices to other objects. In one embodiment, a method of passive proximity detection is provided that includes sensing a first sound wave using a first audio transducer and generating a first signal representative of the first sound wave. A second sound wave is also sensed and a second signal is generated. The method includes comparing characteristics of the first and second signals using a processor to determine if differences between the first and second signals indicate the first audio transducer is proximately located to another object.
Description
TECHNICAL FIELD

The present application relates to proximity detection and, more particularly, to proximity detection based on audio signals.


BACKGROUND

Proximity detection can be useful in a variety of contexts. For example, proximity detection may be utilized to activate certain devices and/or features of those devices. In particular, a speaker volume and/or display activation may be operatively related to detection of the speaker or display being proximately located with an object. Generally, proximity detection in computing devices and mobile electronic devices has been implemented utilizing infrared (IR), light sensors or, even, active sonar based sensing. However, each of these techniques may include dedicated components which may increase the size, weight and/or cost of manufacture of the devices in which they are implemented.


SUMMARY

Techniques and devices are disclosed for utilizing passively received audio signals to determine proximity of devices to other objects. One embodiment may take the form of a method of passive proximity detection is provided that includes sensing a first sound wave using an audio transducer and generating a first signal representative of the first sound wave. The method also includes sensing a second sound wave and generating a second signal. The method further includes comparing characteristics of the first and second signals using a processor to determine if differences between the first and second signals indicate the first audio transducer is proximately located to another object.


Another embodiment takes the form of a computing device is provided that includes a processor and a storage device coupled to the processor. The storage device stores instructions executable by the processor to determine proximity of the device to another object based on signals. A first audio transducer of the device is configured to sense ambient sound waves and convert the sensed sound waves into an electrical data signal. The device is configured to store a first electrical data signal from the first audio transducer and a second electrical data signal and determine if differences between the first and second electrical data signals indicate that the first audio transducer is proximately located to an object external to the device.


One embodiment takes the form of a communication device configured to passively determine proximity to other objects is provided. The device includes a multi-sided housing having an aperture to allow for receipt and transmission of sound waves therethrough and an audio transducer located within the housing adjacent to the aperture. The audio transducer is configured to sense ambient sound waves. The device includes a processor configured to evaluate signals generated by the audio transducer to determine if the device is in proximity to other objects based on at least one of: a narrowing of a spike about a frequency, an amplification of a spike, an increase in low frequency signals, and a diminution of received sound signals indicating muffling.


While multiple embodiments are disclosed, still other embodiments of the present invention will become apparent to those skilled in the art from the following Detailed Description. As will be realized, the embodiments are capable of modifications in various aspects, all without departing from the spirit and scope of the embodiments. Accordingly, the drawings and detailed description are to be regarded as illustrative in nature and not restrictive.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 illustrates an electronic device having at least one audio transducer configured for use in passively determining proximity of the device to other objects.



FIG. 2 is a block diagram of the electronic device of FIG. 1,



FIG. 3 is a flowchart illustrating a method for utilizing an audio transducer for proximity detection.



FIG. 4 illustrates ambient sound waves reaching the electronic device of FIG. 1.



FIG. 5 is a flowchart illustrating a sound wave impacting two audio transducers simultaneously.



FIG. 6 illustrates an example equalization curve that may be generated when the electronic device of FIG. 1 is not proximately located to another object.



FIGS. 7A and 7B illustrate example equalization curves that may be generated when the electronic device of FIG. 1 is proximately located to another object.



FIG. 8 illustrates the electronic device of FIG. 1 in close proximity to a user's face.



FIG. 9 illustrates the electronic device of FIG. 1 having a directional audio transducer.



FIG. 10 illustrates an example equalization curve resulting from the proximity effect when the electronic device of FIG. 1 is proximately located to another object.



FIG. 11 illustrates the electronic device of FIG. 1 having audio transducers located on each surface plane of the device house.



FIG. 12 illustrates the electronic device of FIG. 1 having audio transducers located adjacent to each other.





DETAILED DESCRIPTION

The use of passively received audio signals to determine proximity of objects to devices such as mobile devices (e.g., media players, phones, and the like) is provided. Generally, audio transducers (e.g., microphones) imprint an equalization curve upon the broad spectrum of audio signals received and the transducer's geometry within the device. That is, audio transducers are subject to a specific set of attenuations based on each transducer's composition and its orientation in space relative to other objects. An equalization curve is generally illustrates a relative amplitude of particular frequencies within the spectrum of received sounds.


A given audio transducer's signal equalization curve resulting from a given audio source is generally modified as the microphone is brought near an object or surface, because objects/surfaces variably reflect elements of the sound wave, thereby changing the equalization curve. This effect may be noticed when sound is reflected by soft material as opposed to a hard surface. Generally, sound reflected off the soft surface will seem muted when compared to the same sound reflected off a hard surface located at the same distance and angle from an audio transducer and a sound source. Additionally, a temporary resonant chamber may be created with the device. This may be noticed, for example, by placing a hand over an ear at some angle to simulate a resonant chamber that a device may create. Further, muffling of the incoming sound will result as the surfaces are brought into close proximity such that sound waves from the audio source are obscured or blocked out.


In some embodiments, a comparison of differences in received audio signals at one or more audio transducers, located on different planes of the device, or at some distance from each other along the device, are used to detect proximity of objects. Specifically, per acoustic principles, sound-wave propagation and interference by objects cause detectable shifts in broad-audio-spectrum response to ambient sound to indicated user-preference in close-proximity to the device. The relate this to a common phenomenon, when a sea shell is held up to one's ear a resonant cavity is formed that amplifies ambient sounds. This hi-Q filtering results in the ocean like sounds one hears.


This phenomenon can be demonstrated by analysis of real-time differences between two transducer's signals. For example, if transducers are located on opposite sides of a cell-phone a transducer will produce relatively hi-Q peak audio-spectrum response relative to the other transducer when the first transducer is brought into close proximity with a surface (e.g., the user's face). In some instances, a comparison may be made based on changes in the response of a single transducer over time. That is, the transducer's response may be monitored when not pressed against the users' face and compared with when it is pressed against or close to the user's face. When the transducer is near the user's face it may provide a relatively hi-Q signal (e.g., peaked in a tight region) or may provide variable but characteristic response in a particular region of the spectrum. The differences in the responses can be amplified by electronic and/or software techniques to increase proximity detection sensitivity.


In other embodiments, a single transducer (such as a microphone) may be used to accomplish proximity detection by comparing before and after signals. In particular, a first sample is taken and used as a baseline for determining proximity detection. This may be referred to as the “before” signal. A second sample is taken (e.g., an “after” signal) and compared to with the first sample to determine if differences between the before signal and after signal indicated a change in proximity.


In some embodiments, the timing of the sampling may be triggered by a user's action. For example, the first sample may be taken soon after a number has been dialed into a cell-phone. The second sample may be taken at some point thereafter (e.g., when the user may be expected to have the device in close proximity to his/her face).


In still other embodiments, live input to a transducer may be utilized to determine when the device is held against a surface (e.g., against a user's face). This input will have relatively high amplitude low-end signals, with attenuated high-end signals. This is generally a tell-tale response of the transducer being in close proximity with a surface and, accordingly, can be interpreted as an indication of proximity. As such, the user's voice may be used to determine proximity. Further, ambient/background noise such as traffic, rushing water, music, conversations, and other ambient noise/sounds may be used for the proximity determination.


In some embodiments, speakers, earpieces, receivers, and the like, which normally transform electrical signals to audible output, can be used as audio input devices/microphones. This may be achieved by switching the connections of the transducers so that electrical signals generated when sound waves cause a diaphragm of the speaker to move may be detected. That is, rather than having providing an input signal to the device, a signal generated by the device is sensed as an input.


Turning to the drawings and referring initially to FIG. 1, an example electronic device 100 is illustrated as a smart phone, such as the iPhone® manufactured by Apple, Inc. It should be appreciated that the smart phone is provided merely as an example and that the methods, techniques and so forth discussed herein may be implemented in a variety of different devices, including desktop computing devices, notebook computers, tablet computers, cellular phones, mobile phones, media recorder/player devices, and the like. Generally, the device 100 may include a face 102 having a display 104 and one or more apertures 106 to allow for sound waves to traverse the face 102 and reach or emit from an audio transducer 107. Additionally, one or more apertures 108 may be provided on at least one side other than the face 102 of the device 100 to allow sound waves to reach audio transducers 109. For example, one or more apertures may be provided in a sidewall 110 or on a back side of the device 100 to allow for sound waves to be passed into or out of the device 100. As discussed in greater detail below, the apertures 106, 108, may be located at positions on the device and be shaped to help facilitate certain functionality, such as proximity detection.


In some embodiments, one or more other input/output (I/O) devices may also be provided. For example, a camera 114, one or more buttons 116, and/or switches 118 may be provided and may provide various functionality to the device 100, such as volume control, power control, and so forth.


The device 100 may include one or more processors 120, as illustrated in FIG. 2. A data storage device 122 and a memory device 124 may be coupled to the processor 120. Generally, the storage device 122 may take the form of one or more storage technologies such as flash memory, magnetic disk drives, magnetic tape drives, optical drives, and so forth. The memory device 124 may be implemented in any form of digital random access memory (RAM) including dynamic RAM, synchronous dynamic RAM, and so forth. Generally, the storage device 122 may store operating instructions that are executable by the processor 120 to provide certain functionality. For example, the storage device 122 may store a proximity detection program 126.


Additionally, the I/O devices, such as audio transducers 107, 109; the display 104, the camera 114, and buttons 116, may be coupled to the processor 120 either directly or indirectly. In some embodiments, the processor 120, memory 124 and I/O interfaces may be provided on a single chip as part of a system-on-a-chip (SOC) design, while in other embodiments, the processor, memory and I/O devices may be communicatively coupled together by traces or vias on/in a board. In some embodiments, a dedicated digital signal processor 128 (DSP) may be provided. The DSP may be configured to process received audio signals to determine if the device 100 is in proximity with another object. It should be appreciated that the device 100 can have additional components not shown, or can omit certain components in different embodiments. Thus, the device 100 is shown as a general overview only and is not intended to be exhaustive or indicate all possible connections between components, or all possible component configurations.


Referring to FIG. 3, a flowchart illustrating an example method 115 for utilizing audio transducers for proximity detection. The method 115 includes initially capturing a sound wave (Block 117). The sound wave (or its characteristics) is stored as a baseline for comparison with later captured sound wave (Block 119). A new sound wave is then captured (Block 121) and compared with the baseline sound wave (Block 123). Proximity information is derived from the comparison (Block 125). For example, the comparison may indicate that a transducer is proximately located to another object or not. The proximity information may be derived in a number of different ways, as discussed below.



FIG. 4 illustrates the device 100 receiving sound waves 130. The sound waves 130 may generally represent ambient sounds that are present within the area the device 100 is located. The sound waves 130 may be sampled and characterized by the processor 120. For example, the amplitude and frequency of the sound waves may be determined by the processor 120 and an equalization curve may be generated indicating the amplitude and frequencies of the sound wave 130. The processor 120 may be configured to execute software the provides an output similar to that of a spectrum analyzer, for example.



FIG. 5 is a flow chart 129 illustrating the sound wave 130 reaching the transducers 107, 108 simultaneously. Additional acoustics are provided by an object 131 (e.g., a user's face) reflecting a sound wave 137 that is detected by the transducer 107. The sound waves 130, 137 are captured (Block 133, 135) by the respective transducers and compared using digital signal processing (Block 139). Further proximity information is derived based on the comparison results and as compared to a baseline model (Block 141).



FIG. 6 illustrates an example equalization curve 140 which may generally represent characteristics of the sound waves 130. Generally, the equalization curve 140 shows the sound waves as having noise 142 throughout the spectrum and a broad peak 144 near 1 kHZ. This equalization curve may be utilized as a baseline for comparison with subsequently captured sound waves to determine proximity of objects to the device 100. It should be appreciated, that the peak's frequency is given merely as an example and that the characteristics of an actual implementation may vary based on a variety of factors. However, characteristics may be determined empirically for a particular transducer and in a particular device such that an equalization curve indicative proximity may be determined for the transducer and the device.



FIGS. 7A and 7B illustrate equalization curves 150, 150′ that result when an objects is proximately located to the device 100, for example, when the device 100 is held closely to a user's face 152, as shown in FIG. 8. As may be seen, the equalization curve 150 in FIG. 7A is different from the equalization curve 140 of FIG. 5. In particular, the noise 142 has been reduced, while the peak 144 at about 1 kHZ is narrower than that of the equalization curve 140 and it has a higher amplitude (e.g., more strength). This results from the object (e.g., the user's face 152) brought into proximity of the device 100 acting as a bandwidth limiter to effectively limit the frequency band of sound waves that may be received at an audio transducer. Further, certain frequencies are amplified due to resonance based on the characteristics of the device relative to the user's face 152. The sound waves 130 may be both band limited and certain frequencies amplified based in part on the shape and size of the resonant cavity formed by the aperture 106 and/or between the user/object and the device 100. The equalization curve 150′ in FIG. 7B shows a similar reduction in noise, but the peak 144′ is strongly attenuated relative to the peak 144 in FIG. 6. The strong attenuation may indicate that the device is in close proximity to an object. As such, characteristics of the equalization curve may be evaluated to make a proximity determination.


The differences between the first equalization curve 140 and the second equalization curve 150 may be analyzed using digital signal processing software. For example, fast-Fourier transform windows may be applied to time limited portions of the curves to determine the differences and to determine if a particular equalization curve represents proximity of the device with another object. Further, the differences between the two curves in a given sampled interval may be further amplified by electronics and/or software to increase the sensitivity of proximity detection.


In some embodiments, sound waves 130 may be sensed using multiple audio transducers. For example, a first transducer may be located on the face of the device 100 and a second transducer may be located on a back side of the device. Generally, the signals generated by the two transducers based on the ambient noise will be similar unless one of the sides of the device is located proximately to another object. For example, as the face 102 of the device 100 approaches or is located proximately to a user while in use, the equalization curve from the first transducer may resemble curve 150, while the curve from the second transducer may resemble curve 140. Hence, it may be determined that the face 102 of the device 100 is proximately located to another object.


In other embodiments, a single transducer may be utilized. In particular, samples of sound may be taken by the single transducer at different times (e.g., periodically, intermittently or after certain events have occurred such as after a phone number has been dialed). The samples taken at different times may be compared against each other to determine if there has been any band limiting effects, amplification of certain frequencies, and/or muffling to indicate proximity of the device to another objection. In some embodiments, an on-the-fly analysis may be performed with a first sample being taken and then subsequently compared with other samples. Changes that occur relative to the first sample may indicate that the transducer has moved into proximity of an object or that it has moved away from an object (e.g., the first sample was taken while in proximity to the object). Alternatively, profiles may be created for the determination of proximity. That is a proximity profile may be used to compare with the sample to see if the samples approximate the proximity profile. If they do, then it may indicate that the transducer is in proximity with an object.


In some embodiments, one or more directional microphones may be utilized as the audio transducers to take advantage of the proximity effect. The proximity effect generally involves three different aspects of operation of directional microphones, namely; angular dependence, phase difference and amplitude.


Generally, directional microphones are constructed having a diaphragm whose mechanical movement is translated into electrical signals. Movement of the diaphragm is based on air pressure differences from sound waves reaching both a front and rear of the diaphragm. Specifically, sound waves reflected from surfaces behind the diaphragm are allowed to be incident to the rear of the diaphragm, whereas the front of the diaphragm receives direct sound waves. Since the sound waves reaching the rear of the diaphragm travel further, they are out of phase with those that reach the front. This phase difference causes displacement of the diaphragm. The phase difference is accentuated when the source of sound is axial to the diaphragm, as the waves incident to the rear of the diaphragm travel a relatively farther distance than when the sound source is not axial to the diaphragm.


Additionally, the phase difference across the diaphragm is smallest at low frequencies because the difference in path length is a smaller portion of the wavelength of the sound. Further, the amplitude of the sound waves that are incident to the front of the diaphragm is larger than those that are incident to the rear of the diaphragm. This is because of the distance the sound waves travel and the inverse square law of attenuation. Generally, the inverse square law is an extension of the law of conservation of energy and relates to the dispersion of a sound wave as they travel outwardly from a source. Specifically, the energy in the sound wave decreases in amount equal to the inverse of the distance from the source squared. As the source is brought close to the diaphragm, the amplitude component of the pressure differences increases, particularly at lower frequencies. The resulting phenomenon may be seen as an increase in the low end (e.g., bass) signals produced by the microphone and is commonly referred to as the “proximity effect.”



FIG. 9 illustrates the use of a directional microphone 160 located in an aperture 162. The aperture 162 allows for the sound waves to reach a first side of a diaphragm of the directional microphone 160. The aperture 162 may be configured/shaped so as to receive sound waves within a particular frequency band and/or amplify such sound waves through resonance. In particular, the aperture 162 may have surfaces that have angles or have bean treated so as to diminish sound waves not within a particular band and/or to accentuate sound waves within the desired band. Additional apertures 164 may be provided on a side other than the face 102 of the device to allow for sound waves to be incident to the rear of the diaphragm. As illustrated, the apertures 164 may be located on a side 166 and/or a top 168 of the device 100. In other embodiments, an aperture may be provided on the rear of the device to allow for sound waves to be incident to the rear of the diaphragm. In some embodiments, the apertures 164 may be configures/shaped so as to amplify or resonate at certain frequencies.


In some embodiments, characteristics of live input to the transducers while in proximity to an object, such as a user's face, may be used as an indicator of proximity. Due to the proximity effect, the received signals will have a large low end signal and relatively little high end signal, as shown in FIG. 10. Specifically, an equalization curve 170 is shown having a relatively large amount of energy in the low frequency (bass) signals 172 and diminishing energy in higher frequencies. This weighting of the curve towards the low end of the spectrum may indicate that the source of sound (e.g., live input such as a user speaking into the device) is relatively close to the transducer so that the waves incident to the front of a diaphragm are out of phase with and larger relative to those that are incident to the rear of the diaphragm. This technique may be useful when utilizing an audio signal generated by a speaker/transducer for proximity detection. That is, sound emanating from the speaker when the other person speaks, for example, or a dead-air “hiss” sound that comes from the speaker when no one is talking may each be used for the proximity detection. Using the hiss as a proximity source may also effectively use frequency peak analysis techniques for the proximity detection.


This proximity effect may also be useful in the case of the device being located in a confined space, such as a purse or pocket. For example, occasionally, a call may be unintentionally placed while the device is in a confined location such as a purse or pocket. If, when the outgoing ring is sensed by the transducers to be weighted towards the low end of the spectrum, it may be determined that the device 100 is in a confined location, such as a pocket or purse. Upon determining that it is located in a purse or pockets, device 100 may end the call and/or the device may vibrate to let the user know that an inadvertent call has been terminated. In some embodiments, the passive proximity sensing may begin before the outgoing call is even placed. For example, it may begin the moment dialing commences or when a contact is dialed. Additionally, accidental dialing may similarly be treated. In one example, a user may have an odd grasp on the phone (e.g., for a two-finger pinch, front-to-back, with a thumb covering the earpiece hole in which the muffle sensing transducer is located). Instead of dialing, the device may provide a warning tone or vibration and or ask the user if the call should be connected.


Although the examples to this point have included one or two transducers, in some embodiments, more than two audio transducers 107, 108 may be implemented as shown in FIG. 10. The multiple transducers 180 may be positioned at different locations and/or on different surfaces so that proximity of a particular location and/or surface to another object may be determined. That is, for example, each surface of the device may have one or more transducer that may be configured for use in proximity detection. Additionally, the signals from multiple transducers distributed about the housing of the device may provide for more accurate proximity detection and/or allow for proximity detection in multiple planes. Further, one or more of the transducers may be configured for dual use as both a speaker and as a microphone. That is, a speaker may be repurposed by switching its connections so that it may provided audio input into the device 100 for proximity detection. Moreover, the multiple transducers may provide redundancy which may allow for selective utilization of one or more of the transducers and/or disabling other transducers based on the way the device is being held or positioned.


In some embodiments, a microphone may be positioned adjacent to a speaker of the device. In particular, in some embodiment, a common aperture, such as aperture 106, may be shared by the transducer (speaker) 107 and the transducer (microphone) 182, as shown in FIG. 12. For example, an omnidirectional microphone may be positioned adjacent to the speaker. In some embodiments, the microphone may be included as a shaped capsule near an ear piece of the device. The shaped capsule may be configured to function as a resonant cavity that may accentuate certain frequencies when in proximity to another object. Moreover, the sound emitting from the speaker may be utilized, at least in part, for the proximity determination. That is, the sound originating from the speaker may be sampled and compared for determination of proximity.


In some embodiments, two microphones may be placed adjacent to each other. Specifically, an omnidirectional microphone and a directional microphone may be positioned adjacent to each other. The signals from the omnidirectional microphone may be compared with one another and with those of the directional microphone to make a determination as to the proximity of the device to an object. In some embodiments, a baseline difference between the signals of the two microphones may be amplified to provide more sensitive proximity detection.


It should be appreciated that the audio transducers discussed herein may be implemented in any suitable form. For example, electric condenser microphones, piezo-electric microphone, micro-electromechanical microphones, dynamic microphones, and so forth may be implemented. Moreover, their polar patterns may include omnidirectional, cardiod, directional and/or other patterns. Further, in some embodiments, a narrow band microphone may be implemented to focus attention on a particular band of frequencies. In some embodiments, a band of frequencies outside the range of normal human hearing may be utilized for the proximity determination.


Further, some devices may be configured with multiple microphones that may be utilized and/or repurposed for proximity detection. Additionally, digital signal processing software and hardware may already be provided within existing devices that may be utilized for making the proximity determination. Accordingly, the present techniques may be implemented without significant addition of costs or labor to current manufacture.


The foregoing discussion describes some example embodiments for passively determining object proximity. Although the foregoing discussion has presented specific embodiments, persons skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the embodiments. Accordingly, the specific embodiments described herein should be understood as examples and not limiting the scope thereof.

Claims
  • 1. A communication device configured to passively determine proximity to other objects, the communication device comprising: a housing;an audio transducer located within the housing, wherein the audio transducer is configured to sense ambient sound waves; anda processor configured to evaluate signals generated by the audio transducer to determine if the device is in proximity to other objects.
Parent Case Info

This application is a continuation of U.S. patent application Ser. No. 13/089,054, filed Apr. 18, 2011, which is hereby incorporated by reference herein in its entirety. This application claims the benefit of and claims priority to U.S. patent application Ser. No. 13/089,054, filed Apr. 18, 2011.

Continuations (1)
Number Date Country
Parent 13089054 Apr 2011 US
Child 14685001 US