The invention relates to human-machine interfaces, and, more particularly, to sensing the position and motion of a hand or object relative to a screen.
Many touch screens, such as those used in mobile phones and tablets, are equipped with proximity detectors. These detectors, often using infrared transmitters, are designed to detect simple gestures, such as the approach of an object. This detection is used, for example, to disable the touch screen function during a call when the phone is near the ear of the user.
Infrared sensors typically use the brightness reflected by the target object. Thus, a distance evaluated using an infrared sensor is a rough estimate, since it depends on the reflectance and the tilting of the target object.
Patent application US20130175435 discloses a proximity detection technique using a photon time of flight sensor.
A control circuit, not shown, energizes the transmitter 10 with short duration pulses and observes the signal from the detector 14 to determine the elapsed time between each pulse and the return of a corresponding burst of photons on the detector 14. The circuit thus measures the time of flight of the photons along a path 18 going from the transmitter 10 to the object 16 and returning to the detector 14. The time of flight is proportional to the distance between the object and the detector, and does not depend on the intensity of the received photon flux, which varies depending on the reflectance of the object.
A time of flight sensor of the type of
It would be convenient to use one or more time of flight sensors to determine not only the distance of the object (z coordinate), but also its transverse position (x and y coordinates), or to detect a transverse movement of the object.
A method is provided for evaluating a coverage factor of a photon emission cone or area of a time of flight sensor, comprising the steps of assigning a reference curve to the sensor, providing a photon flux intensity as a function of time of flight; acquiring a time of flight and a corresponding flux intensity with the sensor; reading the intensity provided by the reference curve for the acquired time of flight; and providing an indication of the coverage factor based on the ratio between the acquired intensity and the read intensity.
The reference curve may be constructed in a calibration phase according to the steps of moving a reference object along the axis of the emission cone between two positions where the object completely covers the emission cone; during the movement, storing multiple time of flight values and the corresponding flux intensities; and constructing the reference curve from the stored values.
The reference curve may be selected from a set of multiple reference curves assigned to different reflectance values, according to the steps of measuring changes in the intensity of the flux; storing a local maximum value of the intensity of the flux and the corresponding time of flight; and finding in the set of curves the curve that, for the stored time of flight, provides the intensity closest to the stored local maximum value.
A method for detecting motion of an object may use a time of flight sensor, according to the steps of evaluating a coverage factor of the emission cone of the time of flight sensor; and determining that the object approaches the time of flight sensor when the coverage factor increases, or determining that the object moves away from the time of flight sensor when the coverage factor decreases.
The method for detecting motion may use two time of flight sensors emitting photons in respective emission cones of parallel axes, according to the steps of evaluating a coverage factor of each emission cone; and detecting a motion of the object from a first cone to the second cone when the coverage factor of the second cone increases and the coverage factor of the first cone decreases.
A method for evaluating a position of an object may use a first pair of time of flight sensors emitting photons in respective emission cones of parallel axes, according to the steps of evaluating a coverage factor of each emission cone; and producing an abscissa of the object as the barycenter of the abscissas of the time of flight sensors, weighted by the coverage factors of the corresponding emission cones.
The method may use a second pair of time of flight sensors arranged along an ordinate axis perpendicular to the axis, of abscissa, of the first pair of sensors, according to the steps of evaluating a coverage factor of each emission cone of the second pair of sensors; producing an ordinate of the object as the barycenter of the ordinates of the second pair of sensors, weighted by the coverage factors of the corresponding emission cones; and producing an elevation of the object based on the average of the times of flight provided by the sensors.
An electronic device may include an infrared radiation source, an adjacent photon detector, and a control circuit configured to define the coverage factor as described above.
Other advantages and features will become more clearly apparent from the following description of particular embodiments of the invention provided for exemplary purposes only and represented in the appended drawings, in which:
In order to detect a transverse position change of an object with a time of flight sensor, it is proposed to combine the information of distance and intensity produced by the sensor.
For each curve, a maximum intensity value is reached at a distance of about 10 mm. This distance where the maximum value is reached depends on the offset between the emitter 10 and detector 14. Below this distance, the object is too close to the emitter, whereby the reflected photons no longer reach the detector. From the maximum value, the intensity decreases substantially in inverse proportion to the distance.
For a given distance, the amplitude is not proportional to the reflectance—it is not trivial to construct the curve for a given reflectance from curves known for other reflectance values. The inventors have however found that the intensity, for a given distance, is substantially proportional to the covered area of the photon emission cone by an object having a uniform reflectance. The measured value of the covered area may be used, as discussed below, to determine the transverse position of the object relative to the axis of the emission cone.
In
The reference intensity depends on the distance and the reflectance of the target object. The reference intensity could thus be provided by one of the reference curves of
However, the reflectance of the target object is not necessarily known. The object is, in practice, the hand of the user, and its reflectance depends on various parameters, such as pigmentation of the skin and its surface state. The user could also wear gloves. Although the system could be designed for a manual adjustment of the reflectance, it is convenient to provide a calibration phase during which the reflectance of the object is evaluated.
During a normal use phase, the thus constructed reference curve is used according to the technique of
During normal use, as illustrated in the upper part of
The lower part of
In practice, the number of stored reference curves is limited, and the point (Imax, Dmax) does not fall on one of the curves. In such a case, the nearest curve is selected. Alternatively, the curve to use may be interpolated between the two nearest curves.
The coverage factor obtained by these techniques may be exploited in various human-machine interface applications.
By using a single time of flight sensor, both a vertical and transversal proximity of the hand may be detected. The vertical proximity is quantitative and corresponds to the distance normally provided by the sensor. The transversal proximity is provided qualitatively by the coverage factor. A transversal approaching movement is detected when the coverage factor increases, and a transversal departing movement is detected when the coverage factor decreases.
By using two time of flight sensors emitting photons in cones with parallel axes, a quantitative measure of the position of an object between both sensors may be provided, together with the direction of movement between the two sensors.
A swipe of an object from a first sensor towards the second sensor may be detected when the coverage factor of the first sensor decreases as the coverage factor of the second sensor increases. The abscissa x of the object on the axis connecting the two sensors may be determined as the barycenter of the abscissas Xa, Xb of the two sensors, weighted by the coverage factors Cxa, Cxb of the sensors. In other words:
For an object of a certain size, the abscissa may locate the center of the object along the x-axis.
As indicated above, the coverage factor may be expressed by C=Im/I(R,Dm), where Im is the measured intensity and I(R,Dm) is the intensity read for the measured distance Dm on the reference curve assigned to the reflectance R. If the distance of the object at the level of each sensor is the same, the term I(R,Dm) disappears from the expression of the abscissa x. In other words, assuming that the object has a surface parallel to the sensor support, the expression of the abscissa is independent of the reflectance.
With this configuration, the x-coordinate is expressed as above, by:
And the y-coordinate is expressed by:
Where Ya and Yb are the y-coordinates of sensors Ya and Yb, and Cya and Cyb the respective coverage factors of sensors Ya and Yb.
These relationships are applicable to any pair of sensors of arbitrary coordinates in a same coordinate system. Thus, if the target object only covers sensors Xa and Ya, for example, its coordinates may be determined by applying these relationships with (Xb, Yb, Cxb, Cyb)=(0, 0, Cya, Cxa).
The average elevation z of the object may be provided as the average of the distances produced by the four sensors.
The transversal range of use of the sensor system depends on the distance (z) of the object, which determines the effective section of the emission cones. In a lower limit configuration, the object placed in the center of the sensor system is located outside the cones and is tangent thereto, as shown for sensor Xb. In a higher limit configuration, the object is located within the cones and is tangent thereto from the inside, as shown by a dotted circle corresponding to the cone of sensor Xa. A preferred configuration corresponds to the case where the useful sections of the cones are tangential.
Number | Date | Country | Kind |
---|---|---|---|
1361811 | Nov 2013 | FR | national |