Proximity sensor with adaptive threshold
First Claim
1. A system for sensing the presence of a body part or other object in close proximity to a device, comprising:
- an electromagnetic energy source which can be selectively activated and deactivated;
a receptor which generates an output that varies over time in response to exposure to electromagnetic energy; and
a processor in communication with the source and the receptor, and configured to;
activate and deactivate the source, sample output of the receptor, store a first indicator for receptor output samples bearing a first relation to a threshold value of receptor output, store a second indicator for receptor output samples bearing a second relation to the threshold value, compare a first set of indicators stored during an interval when the source is deactivated with a second set of indicators stored during an interval when the source is activated, and recognize an object-near condition if the comparison identifies a triggering level of difference between the first and second sets.
2 Assignments
0 Petitions
Accused Products
Abstract
A proximity sensor measures receptor output with an energy source deactivated. The sensor then measures receptor output with the energy source activated. The measurements with the energy source activated are compared to the measurements with the energy source deactivated to compensate for the effect of ambient conditions. A near condition is recognized if the change between the two groups of measurements exceeds a designated value. To compensate for receptor output that may decrease after reaching a peak value during approach of an object, a near condition can be maintained until the change between the two groups of measurements no longer exceeds a different designated value. Multiple sensors can be used to avoid false near conditions caused by, e.g., placing a device equipped with the sensors next to a stationary object. In one embodiment, a sensor comprises an infrared light emitting diode and a phototransistor.
218 Citations
44 Claims
-
1. A system for sensing the presence of a body part or other object in close proximity to a device, comprising:
-
an electromagnetic energy source which can be selectively activated and deactivated;
a receptor which generates an output that varies over time in response to exposure to electromagnetic energy; and
a processor in communication with the source and the receptor, and configured to;
activate and deactivate the source, sample output of the receptor, store a first indicator for receptor output samples bearing a first relation to a threshold value of receptor output, store a second indicator for receptor output samples bearing a second relation to the threshold value, compare a first set of indicators stored during an interval when the source is deactivated with a second set of indicators stored during an interval when the source is activated, and recognize an object-near condition if the comparison identifies a triggering level of difference between the first and second sets. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
a second electromagnetic energy source which can be selectively activated and deactivated; and
a second receptor which generates an output that varies over time in response to exposure to electromagnetic energy; and
wherein the processor is further configured to;
activate and deactivate the second source, sample output of the second receptor, store a first indicator for second receptor output samples bearing the first relation to the threshold value, store a second indicator for second receptor output samples bearing the second relation to the threshold value, compare a third set of indicators stored during an interval when the second source is deactivated with a fourth set of indicators stored during an interval when the second source is activated, and recognize an object-near condition if the comparisons identify the triggering level of difference between the first and second sets and between the third and fourth sets.
-
-
14. The system of claim 13 wherein the first indicator is one of a 0 or 1 bit and the second indicator is the other of a 0 or 1 bit, and wherein the first, second, third and fourth sets each comprise a sequence of bits.
-
15. The system of claim 14 wherein the first relation comprises the state of being less than the threshold value and the second relation comprises the state of being greater than the threshold value.
-
16. The system of claim 14 wherein the processor is configured to compare the first set and the second set by determining the difference between the number of second indicators in the second set and the number of second indicators in the first set, and wherein the processor is configured to compare the third set and the fourth set by determining the difference between the number of second indicators in the fourth set and the number of second indicators in the third set.
-
17. The system of claim 14 wherein the processor is configured to compare the first set and the second set by determining the difference between the number of first indicators in the first set and the number of first indicators in the second set, and wherein the processor is configured to compare the third set and the fourth set by determining the difference between the number of first indicators in the third set and the number of first indicators in the fourth set.
-
18. The system of claim 14 wherein the processor is further configured to test a set for validity.
-
19. The system of claim 18 wherein the processor is configured to test a set for validity by determining if that set comprises interleaved 1 and 0 bits.
-
20. The system of claim 13 wherein the first and second receptor outputs are voltages.
-
21. The system of claim 13 wherein the device is a computer pointing device.
-
22. The system of claim 21 where in the computer pointing device is a wireless optically tracking mouse.
-
23. The system of claim 13 wherein each source comprises an infrared light emitting diode and wherein each receptor comprises a phototransistor.
-
24. The system of claim 13 wherein the processor is configured to continue recognizing an object-near condition until the comparison of the third and fourth sets identifies a second level of difference that is lesser in magnitude than the triggering level.
-
25. A method of proximity detection that compensates for ambient conditions, comprising:
-
sampling, while an electromagnetic energy source is deactivated, output of a receptor which generates an output that varies over time in response to exposure to electromagnetic energy;
storing, in a first set, a first indicator for receptor output samples bearing a first relation to a threshold value of receptor output;
storing, in the first set, a second indicator for receptor output samples bearing a second relation to the threshold value;
sampling output of the receptor while the source is activated;
storing, in a second set, a first indicator for receptor output samples bearing the first relation to the threshold value;
storing, in the second set, a second indicator for receptor output samples bearing the second relation to the threshold value;
comparing the first set with the second set; and
recognizing an object-near condition if the comparison identifies a triggering level of difference between the first and second sets. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
sampling, while a second electromagnetic energy source is deactivated, output of a second receptor which generates an output that varies over time in response to exposure to electromagnetic energy;
storing, in a third set, a first indicator for second receptor output samples bearing the first relation to the threshold value;
storing, in the third set, a second indicator for second receptor output samples bearing the second relation to the threshold value;
sampling output of the second receptor while the second source is activated;
storing, in a fourth set, a first indicator for second receptor output samples bearing the first relation to the threshold value;
storing, in the fourth set, a second indicator for second receptor output samples bearing the second relation to the threshold value;
comparing the third set with the fourth set; and
recognizing an object-near condition if the comparison of the first and second sets and the comparison of the third and fourth sets each identify the triggering level of difference.
-
-
36. The method of claim 35 wherein the first indicator is one of a 0 or 1 bit and the second indicator is the other of a 0 or 1 bit, and wherein the first, second, third and fourth sets each comprise a sequence of bits.
-
37. The method of claim 36 wherein the comparing the first set and the second set comprises determining the difference between the number of second indicators in the second set and the number of second indicators in the first set, and wherein the comparing the third set and the fourth set comprises determining the difference between the number of second indicators in the fourth set and the number of second indicators in the third set.
-
38. The method of claim 36 wherein the comparing the first set and the second set comprises determining the difference between the number of first indicators in the first set and the number of first indicators in the second set, and wherein the comparing the third set and the fourth set comprises determining the difference between the number of first indicators in the third set and the number of first indicators in the fourth set.
-
39. The method of claim 36 further comprising testing a set for validity.
-
40. The method of claim 35 wherein testing a set for validity comprises determining if that set comprises interleaved 1 and 0 bits.
-
41. The method of claim 36 wherein the first relation comprises the state of being less than the threshold value and the second relation comprises the state of being greater than the threshold value.
-
42. The method of claim 35 wherein the receptor output is a voltage.
-
43. The method of claim 35 wherein each source comprises an infrared light emitting diode and wherein each receptor comprises a phototransistor.
-
44. The method of claim 35 further comprising continuing to recognize an object-near condition until the comparison between the third and fourth sets identifies a second level of difference that is lesser in magnitude than the triggering level.
Specification