ADAPTIVE PROXIMITY DETECTION SYSTEM
20230266464 · 2023-08-24
Assignee
Inventors
Cpc classification
Y02D10/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H04M1/21
ELECTRICITY
International classification
Abstract
A proximity detection system for a mobile device. The system includes an infrared emitter to emit infrared light, an infrared detector to detect the infrared light after reflection from a target and provide a detector signal; and a signal processing subsystem. The signal processing subsystem is configured to control the proximity detection system into a first, detect mode for detecting proximity of the target as the target approaches the mobile device, and after detection of the target to control the proximity detection system into a second, release mode for detecting movement of the target out of proximity to the mobile device. The signal processing subsystem also controls the proximity detection system such that, contrary to conventional hysteresis, for a given proximity of the target the detector signal reduces when the mode switches from the detect mode to the release mode, thus increasing reliability.
Claims
1. A proximity detection system for a mobile device, comprising: an infrared emitter to emit infrared light; an infrared detector to detect the infrared light after reflection from a target and to provide a detector signal; and a signal processing subsystem configured to control the proximity detection system into a first, detect mode for detecting proximity of the target as the target approaches the mobile device, and after detection of the target to control the proximity detection system into a second, release mode for detecting movement of the target out of proximity to the mobile device; and wherein the signal processing subsystem is configured to control the proximity detection system such that for a given proximity of the target the detector signal reduces when the mode switches from the detect mode to the release mode.
2. The system of claim 1 wherein the signal processing subsystem is configured to control the infrared emitter to emit a first level of optical energy in the detect mode and a second, lower level of optical energy in the release mode.
3. The system of claim 2 wherein the signal processing subsystem is programmable to control the optical energy by controlling one or more of a drive level, a number of pulses of the infrared light, a pulse length of the infrared light and, where the system comprises a plurality of the infrared emitters, a number of the infrared emitters used to emit the infrared light.
4. The system of claim 1 wherein the signal processing subsystem is configured to generate a proximity detect signal for the mobile device on detection of proximity of the target to enable the mobile device to perform a post-detect action, and to switch back to the detect mode in response to a detect enable signal from software running on the mobile device that indicates that a post-release action has been performed by the mobile device.
5. The system of claim 4 wherein the proximity detect signal is a detect interrupt signal generated by the signal processing system for the mobile device; and wherein the signal processing subsystem is configured to generate a release interrupt signal for the mobile device when the mode switches from the detect mode to the release mode.
6. The system of claim 1 further comprising a programmable detect threshold register and a programmable release threshold register, wherein in the detect mode the a proximity detect signal for the mobile device on detection of proximity of the target to enable the mobile device to perform a post-detect action, and to switch back to the detect mode in response to a detect enable signal from software signal processing subsystem is configured to compare a value derived from the detector signal with a value in the detect threshold register, and in the release mode the signal processing subsystem is configured to compare a value derived from the detector signal with a value in the release threshold register.
7. The system of claim 1 further configured to store a crosstalk calibration value for each of the detect mode and the release mode, wherein an analogue front end of the system or the signal processing subsystem is configured to apply the respective crosstalk calibration value in each of the detect mode and the release mode.
8. A mobile device comprising the system of claim 1 .
9. The mobile device of claim 8 wherein the mobile device has an OLED display, and wherein one or both of the infrared emitter and the infrared detector is located behind the OLED display.
10. A method of detecting proximity of a target to a mobile device using a proximity detection system, comprising: illuminating the target with infrared light from an infrared emitter; detecting reflected light from the target to provide a detector signal; detecting proximity of the target to the mobile device using the detector signal; then controlling the proximity detection system to reduce the detector signal; and detecting movement of the target out of proximity to the mobile device.
11. The method of claim 10 wherein controlling the proximity detection system to reduce the detector signal comprises reducing an optical energy output from the infrared emitter.
12. The method of claim 10 wherein detecting proximity of the target to the mobile device using the detector signal comprises comparing a value derived from the detector signal with a detect threshold, and wherein detecting movement of the target out of proximity to the mobile device comparing a value derived from the detector signal with a release threshold different to the detect threshold.
13. The method of claim 10 further comprising setting a difference between the detect threshold and the release threshold to define a false trigger rate of the proximity detection system.
14. The method of claim 14 wherein the difference between the detect threshold and the release threshold defines a proximity ratio, P.sub.r, according to:
15. Computer-readable instructions, or one or more computer storage media storing computer-readable instructions, that when executed by one or more computers cause the one or more computers to implement the signal processing subsystem of any of claim 1.
16. Computer-readable instructions, or one or more computer storage media storing computer-readable instructions, that when executed by one or more computers cause the one or more computers to implement the method of claim 10.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0025]
[0026]
[0027]
[0028]
[0029]
[0030] Like reference numerals indicate like elements.
DETAILED DESCRIPTION
[0031] This specification describes a proximity detection system for a mobile device, for example a proximity detection system for a mobile phone to detect proximity of a user’s head. Implementations of the system have a reduced false trigger rate compared to conventional approaches.
[0032]
[0033] The proximity detection system 100 includes an infrared (IR) emitter 106, an infrared detector 108. The infrared (IR) emitter 106 may be an LED (Light Emitting Diode) or VCSEL (Vertical Cavity Surface Emitting Laser). In this specification infrared light may be light with a wavelength of >700 nm, it may have a wavelength <3000 nm; as an example only, around 940 nm.
[0034] One or both of the infrared (IR) emitter 106 and infrared detector 108 may be located behind a display 104 e.g. an OLED display of the mobile device as shown in
[0035] The proximity detection system 100 includes proximity detection processing 101 which comprises a signal processing subsystem 110 coupled to a set of programmable registers 112. In some implementations these may be on a single integrated circuit. The proximity detection processing 101 provides a drive to the IR emitter 106 and receives an input from the IR detector 108 via an analogue front end 111 e.g. including an analogue-to-digital converter (ADC).
[0036] The analogue front end 111 provides a detector signal to the signal processing subsystem 110 representing an optical energy detected by the IR detector 108. The detector signal may represent a time-integrated optical energy e.g. where the IR emitter produces multiple pulses. For example the detector signal may be integrated over a detector integration time e.g. on an integration capacitor. A gain of the analogue front end 111 may be controlled by the signal processing subsystem 110.
[0037] The signal processing subsystem 110 has two modes of operation, a detect mode and a release mode, and in operation switches between the two as described later.
[0038] The drive to the IR emitter 106 is controlled by the proximity detection processing 101 such that, for a particular target proximity, the detector signal is greater in the detect mode than in the release mode. In implementations an optical (IR) energy output from the emitter is greater in the detect mode than in the release mode. For example signal processing subsystem 110 may control the drive to the IR emitter 106 such that one or more of a drive current, a drive pulse duration, and a number of drive pulses, is greater in the detect mode than in the release mode. The gain of the analogue front end 111 may also be controlled to be lower in the release mode than in the detect mode.
[0039] The programmable registers 112 may store configuration data to configure the optical (IR) energy output and/or analogue front end for the detect mode and for the release mode. The configuration data may comprise, for each mode, data defining one or more of: the drive current, the drive pulse duration, the number of drive pulses, and the gain of the analogue front end.
[0040] The programmable registers 112 may also store calibration and threshold values. In particular the programmable registers 112 may comprise a programmable detect threshold register and a programmable release threshold register to store respective detect and release threshold values for the detect and release modes. The programmable registers 112 may also comprise a calibration value register for each of the detect and release modes, to store a respective crosstalk calibration value for each mode.
[0041] As well as programmable registers 112 the proximity detection processing 101 may include a detector signal register storing a value representing the detector signal i.e. a detected level of infrared optical energy.
[0042] The signal processing subsystem 110 also provides an interface to the mobile device e.g. comprising data and/or clock signals 114 for reading from or writing to registers of the signal processing subsystem 110. The interface may also provide one or more interrupt outputs 116 for interrupting a processor of the mobile device.
[0043] In some implementations the infrared emitter 106, infrared detector 108, and proximity detection processing 101 may be combined in a single integrated circuit; in others the infrared emitter 106 and infrared detector 108 may be separate.
[0044]
[0045] The IR detector 108 detects a first level of IR light reflected by the target to generate the detector signal. The signal processing subsystem 110 may apply an offset value, P.sub.offset for the detect mode, to the detector signal to cancel crosstalk between the IR emitter 106 and IR detector 108 i.e. light which reaches the IR detector 108 without having been reflected by the target.
[0046] The value of P.sub.offset may be read from the programmable registers 112 and in implementations a different value of P.sub.offset is used in the detect mode and in the release mode, e.g. P.sub.offset_detect and P.sub.offset_release. The offset value may be applied to the detector signal by subtracting the offset, or by adding a negative offset.
[0047] For example when the IR emitter and detector are behind the display the offset arises primarily from reflection within the display stack, and this signal component may be subtracted off. The level of reflection is different in the two modes because the level of optical energy output from the IR emitter is different. The values of P.sub.offset_detect and P.sub.offset_release may be determined using a separate calibration procedure for each optical (IR) energy output e.g. at manufacture per device or for a type of device, or at some other later time e.g. when there is no target nearby, optionally in the dark.
[0048] Thus at step 202 the system detects the reflected light, and may then read a first crosstalk calibration value, P.sub.offset_detect, from the calibration value register for the detect mode, and apply the first crosstalk calibration value to a value derived from the detector signal. The system may then store the corrected value in the detector signal register.
[0049] As a target approaches the IR emitter 106 and IR detector 108 an amount of IR light reflected by the target onto the IR detector 108 increases and the detector signal increases accordingly. The signal processing subsystem 110 compares the detector signal, e.g. the corrected value in the detector signal register, with a detect threshold value in the detect threshold register to detect proximity of the target, i.e. when the target is at a threshold proximity, when the detect threshold value is reached (step 204).
[0050] The detected proximity generally corresponds to a distance of the target from the IR emitter 106 and IR detector 108, but the detected proximity may also depend on other factors e.g. a reflectance of the target.
[0051] When proximity of the target is detected the signal processing subsystem 110 system changes from the detect mode to the release mode. However in some implementations the system communicates with the mobile device to determine when to change mode.
[0052] More particularly in some implementations the mode change is not performed by the signal processing subsystem 110 until it has received confirmation from a processor of the mobile device that a post (target)-detect action has been performed. For example the post-detect action may be to turn off the display or touch sensing on the display.
[0053] Thus at step 204, on detection of proximity of the target the system may generate a proximity detect signal 205 to signal the detection to the processor of the mobile device. The proximity detect signal may comprise a flag e.g. a bit set in one of the registers of the signal processing subsystem 110. Also or instead a detect interrupt signal may be generated.
[0054] The mobile device may then perform the post-detect action (step 206) and generate a release enable signal 207 indicating that the post-detect action has been performed. The signal processing subsystem 110 may wait for the release enable signal then select the release mode (step 208).
[0055] When it enters the release mode the signal processing subsystem 110 sets the drive to the IR emitter 106 at a second level to set a second IR light output lower than the first IR light output (step 210).
[0056] The system detects the reflected light, and may then read a second crosstalk calibration value, P.sub.offset_release, from the calibration value register for the release mode, and apply the second crosstalk calibration value to a value derived from the detector signal (step 212). The system may then store the corrected value in the detector signal register.
[0057] The value in the detector signal register is reduced when the system is in the release mode, but the release threshold value is lower than the detect threshold value so release is not triggered immediately.
[0058] As the target moves out of proximity i.e. moves away from the IR emitter 106 and IR detector 108, the amount of IR light reflected by the target onto the IR detector 108 decreases and the detector signal decreases accordingly. The signal processing subsystem 110 compares the detector signal, e.g. the corrected value in the detector signal register, with a release threshold value in the release threshold register to detect movement of the target out of proximity when the release threshold value is reached (step 214).
[0059] When release of the target is detected the signal processing subsystem 110 system changes from the release mode back to the detect mode. However in some implementations the mode change is not performed by the signal processing subsystem 110 until it has received confirmation from a processor of the mobile device that a post (target)-release action has been performed. For example the post-release action may be to turn on the display or touch sensing on the display.
[0060] Thus at step 214, on detection of movement of the target out of proximity the system may generate a release detect signal 215 to signal the release to the processor of the mobile device. The release detect signal may comprise a flag e.g. a bit reset in one of the registers of the signal processing subsystem 110. Also or instead a release interrupt signal may be generated.
[0061] The mobile device may then perform a post-release action (step 216) and generate a detect enable signal 217 indicating that the post-release action has been performed. The signal processing subsystem 110 may wait for the detect enable signal then select the detect mode (step 218).
[0062] When it re-enters the detect mode the signal processing subsystem 110 sets the drive to the IR emitter 106 back to the first level to reset to the first IR light output.
[0063] A proximity ratio, P.sub.r, can be defined as
where σ is the RMS (root mean square) noise level of the detector signal and 6σ is one measure of the peak-to-peak noise. Broadly, a larger proximity ratio corresponds to a reduced false trigger rate.
[0064] One way to increase the proximity ratio would be to decrease the noise, i.e. the denominator. This may be done by decreasing the thermal noise, but this requires decreasing the photodiode area and/or increasing an integrator circuit output capacitance and integration time. Moreover at high ambient light levels the system noise is dominant by shot noise and reducing the thermal noise does not help. The shot noise can be reduced by integrating the detected light over a longer duration but this is not always practical or desirable.
[0065] False triggers are a particular problem in a mobile device in which the IR emitter is behind the display. IR transmission of the display stack may only be around e.g. 2%, and the very small reflected light signal from the IR detector means that noise or a slight change in the reflected signal can easily result in a false release indication. Increasing the proximity ratio can address this, and one solution would be to increase the light energy output from the IR emitter, but as previously mentioned this can lead to on-screen distortion as the IR illumination can affect OLED behaviour.
[0066] Implementations of the described proximity detection system therefore increase the numerator, increasing the difference between the detect threshold value and release threshold value. This may be done by decreasing the infrared optical energy output of the IR emitter and/or by decreasing the analogue front end gain in the release mode; or equivalently by increasing the infrared optical energy output of the IR emitter in the detect mode. In both cases the detector signal is greater in the detect mode than in the release mode.
[0067]
[0068]
[0069] Initially a false trigger rate may be defined (step 400), for example as a probability of false trigger, or p-value, corresponding to the false trigger rate expressed as a number N of standard deviations of a distribution of the noise in the detector signal. For example a target failure rate of 0.1 ppm (parts per million) corresponds to N = 5.32. This conversion may be obtained e.g. from a standard normal table (z-table).
[0070] A value for the proximity ratio may then be determined (step 402) from
where e.g. C = 3 for 6σ (peak-to-peak) noise. This follows from
and hence 3P.sub.r > N. Continuing the foregoing example for N = 5.32, P.sub.r > 1.77.
[0071] The proximity ratio may then be used to determine values for the detect and release threshold values (step 404). This step depends on the specific parameters of the application and the detector RMS noise level. This is illustrated below with a particular example.
[0072] Consider an arrangement in which the drive current of a BOLED (Behind the OLED) IR emitter is varied to vary the optical energy output. Given a detector signal noise level e.g. by assuming lighting conditions such as strong ambient sunlight (110 K lux), and a target proximity ratio, in each of the detect and release modes the drive current is chosen to give a reasonable signal input to the signal processing subsystem 110 e.g. a reasonable number of ADC counts, without significant distortion of the OLED display screen in detect mode and sufficiently above the noise in release mode.
[0073] An example table with two sets of parameters is shown below for a pulsed IR emitter (two 75 .Math.s pulses). The false alarm rate is shown for a system in which the IR emitter drive current does not change (fixed at 10 mA; left hand column of parameters, labelled “Single mode”) and for a system in which the optical energy output is reduced in the release mode (to 8mA; right hand column of parameters, labelled “Detect and release-modes”).
TABLE-US-00001 Single mode Detect and release-modes IR emitter drive current in detect mode (mA) 10 10 IR emitter drive current in release mode (mA) 10 8 Pulse Length (.Math.s) 75 75 Number of pulses 2 2 Number of Averaging cycles 4 4 ADC detect threshold 267.8 267.83 ADC release threshold 85.44 63.78 Noise 12.22 12.227 Detect threshold - Release threshold 182.38 204.04 Proximity Ratio 1.58 1.79 PPM false trigger rate 1.99 0.07
[0074] The false trigger rate is significantly improved when using a proximity detection system with detect and release modes and corresponding thresholds as previously described.
[0075]
[0076]
[0077] Features of the system and method which have been described or depicted in combination e.g. in one embodiment, may be implemented separately or in sub-combinations, and features from different embodiments may be combined. Thus each feature disclosed or illustrated in the present specification may be incorporated in the invention, alone or in any appropriate combination with any other feature disclosed or illustrated herein. Features recited in separate dependent claims may be combined. Method steps should not be taken as requiring a particular order e.g. the order in which they are described or depicted, unless this is specifically stated.. A system may be configured to perform a task by providing processor control code and/or dedicated or programmed hardware e.g. electronic circuitry to implement the task. Use of “comprising” does not exclude other elements or steps, and “a” or “an” does not exclude a plurality. Reference signs in the claims should not be construed as limiting the claim scope.
[0078] Aspects of the method and system have been described in terms of embodiments but these embodiments are illustrative only and that the claims are not limited to those embodiments.
[0079] For example, the crosstalk calibration values P.sub.offset_detect and P.sub.offset_release may be applied in the analogue rather than in the digital domain, e.g. using an operational amplifier to subtract the crosstalk calibration values from the detector signal.
[0080] Although in some implementations of the proximity detection system may be used in a mobile phone e.g. behind the display, in some other implementations the mobile device may be e.g. a pair of earbuds.
[0081] Those skilled in the art will be able to make modifications and alternatives in view of the disclosure which are contemplated as falling within the scope of the claims.