This application claims the priority under 35 U.S.C. §119 of European patent application no. 14168439.9, filed on May 15, 2014, the contents of which are incorporated by reference herein.
This invention relates to a motion sensor for a mobile device.
Mobile devices such as mobile phones and tablet computers are getting smarter with more “always-on” functionalities which continuously sense the environment to perform actions such as device wake-up, voice keyword detection. Consequently mobile devices have a variety of sensors such as touch screens and accelerometers or motion sensors. These sensors may also be used to replace traditional input devices such as buttons. For example device wake-up is traditionally done using a dedicated button that wakes up the main processor when pressed. Some smartphones even currently support device awakening and unlocking by screen tapping or swiping such as LG G2 “Knock knock” or HTC M8 “Motion Launch” Moreover, most accelerometers now support a low power sleep mode allowing the detection of specific events (such as (double) tapping, free fall, activity, . . . ) at a reduced power consumption.
Various aspects of the invention are defined in the accompanying claims. In a first aspect there is defined a motion sensor for a mobile device comprising a loudspeaker for outputting an audio signal, the loudspeaker having a loudspeaker input; a trigger detector having a trigger input coupled to the loudspeaker input, and a trigger output; wherein the trigger detector is operable to output a detection signal on the trigger output in response to a mechanically induced signal on the loudspeaker input due to a motion source.
The motion sensor requires very little current to operate when in a standby or sleep mode since the loudspeaker does not require any DC bias. The loudspeaker is sensitive to mechanical vibrations and less sensitive to audio sources which may cause a response by acoustic coupling. The response of the loudspeaker to a user input may therefore be detected more simply, since the loudspeaker response to a mechanical impulse will be greater than a response to an external audio source.
A motion source may be, for example a user tapping the motion sensor or a surface mechanically coupled to the motion sensor. A motion source may be for example a user picking up the mobile sensor. The action of tapping or picking up the motion sensor may result in a mechanical impulse or vibration being transmitted to the loudspeaker. The resulting response of the loudspeaker may induce an electrical signal on the input terminals.
In embodiments the trigger detector may comprise a reference waveform module for storing at least one reference waveform and a comparison module, the comparison module having a first input coupled to the trigger input, a second input coupled to an output of the at least one reference waveform, and an output coupled to the trigger output, and wherein trigger detector is operable to output the detection signal on the trigger output if a signal on the trigger input matches a reference waveform , wherein each reference waveform represents an expected mechanically induced signal generated on the input of the loudspeaker.
The reference waveform may be an expected signal waveform or may be a collection of parameters representing an expected signal. The collection of parameters may be referred to as a signal signature. For example, a signal signature may be a signal with a signal level above a user-defined threshold within a user-defined time interval.
In embodiments the trigger detector may comprise a filter having an input coupled to the loudspeaker input.
The filter may be a low pass filter since the mechanically induced response of the loudspeaker may have more low frequency components than an acoustic response. The upper cut-off frequency of the filter may be at a frequency of at least one octave below the resonant frequency of the loudspeaker.
In embodiments, the trigger detector comprises a comparator having an input coupled to the filter output and wherein the comparator is operable to output a signal above a predetermined threshold value.
In embodiments the trigger detector may comprise a controller having an input coupled to the output of the comparator and an output coupled to the trigger output wherein the controller is operable to determine if the output of the comparator matches a predetermined reference waveform and output a signal on the trigger output.
The comparator may have a predetermined threshold value according to the expected response. The comparator may be left always powered on since typical implementations may consume less than 1 micro amp.
In embodiments of the motion sensor, the trigger detector may comprise a controller having an input coupled to the output of the comparator and an output coupled to the trigger output wherein the controller is operable to output an activation signal if the comparator outputs two or more signals above the predetermined threshold value within a predetermined time period.
The controller may include one or more counters to determine how many events have been detected. This may improve the reliability of the motion detection. The controller may also be configured to respond to a specific motion source, for example a user double-tapping the motion sensor.
In embodiments, the motion sensor may comprise a further loudspeaker for outputting an audio signal, the further loudspeaker having a further loudspeaker input, the trigger detector further comprising a further trigger input coupled to the further loudspeaker input, and operable to detect the mechanically induced response of the further loudspeaker input to a motion source, wherein the loudspeaker is mechanically coupled to the further loudspeaker.
In embodiments of the motion sensor with multiple loudspeakers, the trigger detector may comprise a multi-trigger detector module coupled to the trigger input, the further trigger input and the trigger output, and wherein the multi-trigger detector module is operable to compare a signal received on the trigger input with a reference waveform, to compare a signal received on the further trigger input with a further reference waveform, and to output an activation signal on the trigger output if the reference waveform matches a signal received on the trigger input and the further reference waveform matches the signal received on the further trigger input, and wherein the further reference waveform represents an expected mechanically induced signal generated on the input of the further loudspeaker in response to a motion source.
The use of multiple speakers may improve the reliability of detecting a motion source. For example, the output of the motion sensor may only be triggered if a response is detected above a predetermined threshold on all the inputs of the trigger detector.
In embodiments of the motion sensor with multiple loudspeakers, the trigger detector is further arranged to determine a delay value from a measurement of the delay between a signal received on the trigger input and a signal received on the further trigger input and to determine a location of the motion source from the delay value.
The delay in response between loudspeakers may be used to determine a location of the motion source. This may be for example the location of a user tapping a surface mechanically coupled to the motion sensor.
In embodiments, the motion sensor may be incorporated into a mobile device comprising a housing mechanically coupled to the loudspeaker.
Since the housing is mechanically coupled to the loudspeaker, the motion sensor may be sensitive to any vibration on the housing. This may be due to a motion source such as a user tapping the housing, or a user picking up the mobile device. Example mobile devices include but are not limited to a mobile phone, a tablet computer, a laptop, or a portable audio player.
In embodiments, the motion sensor may be incorporated into a mobile device comprising an audio amplifier coupled to the loudspeaker input and a processor coupled to the trigger output, wherein the mobile device is operable to change from a first mode to a second mode of operation in response to a user tapping the housing.
The first mode of operation may be a standby mode which consumes less power than the second mode of operation. The motion sensor may be used to detect a user tap indicating that the mobile device should wake up.
In embodiments, the mobile device may be operable to switch on in response to a user tapping the housing. Because of the extremely low power consumption, the motion sensor may be used as a replacement to a power on switch.
In embodiments of a motion sensor incorporated in a mobile device, in a first mode of operation, the trigger detector is enabled and the audio amplifier is disabled and in a second mode of operation the trigger detector is disabled and the audio amplifier is enabled.
If the motion detection is only required in a specific mode of operation, then by disabling a normal audio output, the detection circuitry in the trigger detector may be simplified. For example, a filter may be replaced by a simple switch.
In embodiments of a motion sensor incorporated in a mobile device, the mobile device may be operable to determine a location of a tap on the housing by a user.
In the figures and description like reference numerals refer to like features Embodiments of the invention are now described in detail, by way of example only, illustrated by the accompanying drawings in which:
a and 4b illustrates a motion sensor with two loudspeakers according to an embodiment.
a and 5b illustrates location detection using the motion sensor of
The loudspeaker 10 may be for example an electro-dynamic loudspeaker. The trigger detector 14 may output an interrupt signal on the trigger detector output 16 in an example mobile device including a motion sensor, the interrupt signal may be used to signal an application processor to wake up the mobile device, that is change from a low-power standby or sleep mode to a higher power, normal mode of operation.
In an alternative example implementation of the trigger detector 20, the amplifier 26 may be omitted if the signal level output by the loudspeaker is sufficiently large for a motion source to be reliably detected directly by the comparator module.
a shows a motion sensor 400 having a first loudspeaker 10 and a further loudspeaker 10′. The first loudspeaker 10 and the second loudspeaker 10′ may be housed in a housing 52. The motion sensor 400 may be incorporated as part of the mobile device. The input of the loudspeaker 10 may be connected to a first amplifier 26 by connections 12. The input of the loudspeaker 10′ may be connected to the input of a second amplifier 26′ by connections 12′. The output of the first amplifier 26 may be connected to an input of a multi-trigger module 54. An output of second amplifier 26′ may be connected to a further input of the multi-trigger module 54. The output of multi-trigger module 54 may be connected to a trigger output 58. An amplifier 26, second amplifier 26′, and multi-trigger module 54 may be considered to form a trigger detector 56. In operation the motion sensor 400 may detect a motion from a motion source which causes a mechanical vibration in the housing, resulting in a loudspeaker 10 and the second loudspeaker 10′ resonating. The motion source may be for example a user tapping the housing 52. Since the housing 52 is mechanically coupled to the first loudspeaker 10 and the second loudspeaker 10′, any vibration induced in the housing will be coupled to the first loudspeaker 10 and the second loudspeaker 10′. Alternatively the motion source may be a user moving the housing 52. The movement of the housing 52 may also induce vibration which in turn is transmitted to the first loudspeaker 10 and the second loudspeaker 10′, thereby inducing a voltage on the input terminals of the first loudspeaker 10 and the second loudspeaker 10′. The voltage induced on the terminals of the first speaker 10 and the terminals of the second loudspeaker 10′ may then be detected by the multi-trigger module 54. The multi-trigger module 54 may then generate an output signal on the trigger detector output 58. This output signal may be used as an interrupt if connected to an application processor (not shown). The use of two loudspeakers as inputs to the trigger detector 56 may be used to improve the accuracy of the trigger detection thereby preventing false triggers. For example, the trigger detector output 58 may only output a signal if both the output of amplifier 26 and the output of second amplifier 26′ generate a signal within a predetermined time interval.
In other examples, multiple loudspeakers may be included to further improve the accuracy of motion detection.
Furthermore the use of two or more loudspeakers may enable position information to be determined. This is illustrated for example in
a shows the motion sensor 400 with a first tapping area 60 and second tapping area 62.
Embodiments of the motion sensor may be incorporated into a mobile device, such as a mobile phone, a tablet computer or a laptop computer. An example of the use of a motion sensor as herein described to generate a wake-up signal by tapping a mobile device when in a standby mode or other low power mode is illustrated in
In step 82 a comparison may be made between a threshold value and a speaker signal. If the speaker signal is greater than a threshold value, a first tap is detected and the method proceeds to step 84 where the time out counter is started. This may be done for example by enabling an oscillator. An event counter may also be started and incremented. When in step 82 and If the speaker signal is less than or equal to the threshold value then the method returns to step 80. When in step 84, the method proceeds to step 86 where a second tap may be detected. If the speaker signal is below the threshold value a check is made in step 94 to determine if the timeout value has been reached. If the timeout is reached, then in step 96 indications are made that the timeout has been detected so therefore there is a false trigger. In step 96 method returns to step 80 where the sequence begins again. If the timeout has not been reached in step 94 the method returns to the comparison step 86. If the speaker signal exceeds the threshold, in step 88 a signal and event count value may be stored for sequence detection. In step 90 a check may be made to see if a tap sequence has been detected. If a tap sequencer has not been detected the method returns to step 86. If a tap sequence has been detected then in step 92 an output trigger is set indicating a sequence detected. The method then returns to step 80. The skilled person will appreciate that if this output trigger is then used to wake-up the system connected to the motion detector then the standby mode may be exited and the process described in
Although the appended claims are directed to particular combinations of features, it should be understood that the scope of the disclosure of the present invention also includes any novel feature or any novel combination of features disclosed herein either explicitly or implicitly or any generalisation thereof, whether or not it relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as does the present invention.
Features which are described in the context of separate embodiments may also be provided in combination in a single embodiment. Conversely, various features which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable sub combination.
The applicant hereby gives notice that new claims may be formulated to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom.
For the sake of completeness it is also stated that the term “comprising” does not exclude other elements or steps, the term “a” or “an” does not exclude a plurality, a single processor or other unit may fulfil the functions of several means recited in the claims and reference signs in the claims shall not be construed as limiting the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
14168439.9 | May 2014 | EP | regional |