DETERMINING REFLECTANCE OF A TARGET USING A TIME OF FLIGHT RANGING SYSTEM

Information

  • Patent Application
  • 20170031007
  • Publication Number
    20170031007
  • Date Filed
    July 27, 2015
    9 years ago
  • Date Published
    February 02, 2017
    7 years ago
Abstract
An electronic device includes a ranging light source and a reflected light detector. A logic circuit causes the ranging light source to emit ranging light at a target. Reflected light from the target is detected using the reflected light detector, with the reflected light being a portion of the ranging light that reflects from the target back toward the reflected light detector. An intensity of the reflected light is determined using the reflected light detector. A distance to the target is determined based upon time elapsed between activating the ranging light source and detecting the reflected ranging light. Reflectance of the target is calculated, based upon the intensity of the reflected light and the distance to the target.
Description
TECHNICAL FIELD

This disclosure relates to the field of range detection, and more particularly, to the use of ranging systems, such as time of flight ranging system, to determine the reflectance of a target.


BACKGROUND

Ranging systems are used in a variety of technologies today. For example, a proximity sensor can be used to trigger a security light when an object comes within a predetermined distance of the security light, a ranging system can be used to determine the distance between a printing mechanism and paper on which it is to print, or a ranging system can be used by a digital camera or smartphone for purposes of improving autofocus algorithms.


However, typical ranging systems merely deliver as output a distance to the target. Depending on the ranging system, this distance may be sufficiently accurate, however the reflectance of the target (i.e. the percentage of light emitted by the ranging system that reflects back from the target) may in some instances degrade the accuracy. In addition, for some desired uses, it is helpful to know the reflectance of the target in addition to the distance from the target.


Therefore, further development of ranging systems also capable of determining the reflectance of a target are needed.


SUMMARY

An electronic device includes a ranging light source and a reflected light detector. A logic circuit causes the ranging light source to emit ranging light at a target. Reflected light from the target is detected using the reflected light detector, with the reflected light being a portion of the ranging light that reflects from the target back toward the reflected light detector. An intensity of the reflected light is determined using the reflected light detector. A distance to the target is determined based upon time elapsed between activating the ranging light source and detecting the reflected ranging light. Reflectance of the target is calculated, based upon the intensity of the reflected light and the distance to the target.


The logic circuit may be further configured to determine a color of the target based upon the reflectance of the target. In addition, the logic circuit may be configured to calculate the reflectance by calculating an intensity of the reflected light at a surface of the target as a product of the intensity of the reflected light at the reflected light detector and a square of the distance to the target, and determining the reflectance of the target based on the intensity of the reflected light at the surface of the target.


The logic circuit may calculate the reflectance as a function of a quotient of first and second exponential functions, with the first exponential function having the intensity of the reflected light as an offset and having the distance as an exponent of Euler's number, and with the second exponential function having an offset and having the distance to the target and a coarse reflectance as exponents of Euler's number.


The logic circuit is further may calculate a coarse reflectance as:








Coarse





Reflectance

=


(


Intensity











of





the





reflected





light

-

A
*



B
*
Distance




)


C
+

D
*



E
*
Distance






,




where A, B, C, D, and E are coefficients. In some examples, A is between −50 and −30, B is between −0.01 and −0.1, C is between 0.01 and 0.2, D is between 1 and 3, and E is between −0.01 and −0.1.


The logic circuit may be configured to calculate the reflectance as:






Reflectance
=



Intensity











of





the





reflected





light

-

A
*



B
*
Distance





C
+

D
*




(

F
+

G
*
Coarse





Reflectance


)

*
Distacne









where A, B, C, D, F, and G are coefficients. In some examples, A is between −50 and −30, B is between −0.01 and −0.1, C is between 0.01 and 0.2, D is between 1 and 3, F is between −0.01 and −0.1, and G is between 0.0001 and 0.0005.


The logic circuit may be configured to calculate the reflectance as:






Reflectance
=



Intensity

1
-



-

(

H
*

Distance
I


)





-
J

K





where H, I, J, and K are coefficients. In some examples, H is between 300 and 500, wherein I is between −2 and −1, wherein J is between 18 and 28, and wherein K is between 1.1 and 2.1.


The logic circuit may be configured to normalize the intensity, based upon a reference reflected light detector, prior to calculation of the reflectance.


In some instances, a printing mechanism may be configured to attempt to print output on a piece of paper. The piece of paper may be the target. The logic circuit may be further configured to determine whether the printing mechanism successfully printed the output on the piece of paper based upon the reflectance of the piece of paper. The logic circuit may be further configured to determine an ink level of the printing mechanism based upon the reflectance of the piece of paper.


In some instances, a camera mechanism may have an autofocus function. The target may be in a field of view of the camera mechanism, and the logic circuit may be further configured to determine a maximum autofocus distance between the camera mechanism and the target based upon the reflectance of the target.


In some instances, the logic circuit is configured to, at a first point in time when it is assumed that the reflected light detector is not fully occluded by the target, estimate a reference intensity value representing intensity of the reflected light when the reflected light detector is fully occluded by the target as a function of an assumed reflectance and the distance to the target, and determine a coverage value representing a percentage of occlusion of the reflected light detector by the target as a function of a ratio between the intensity of the reflected light and the reference intensity value. The logic circuit may then calculate the reflectance at a second point in time when it is assumed that the reflected light detector is fully occluded by the target; and wherein the logic circuit is further configured to update the reference intensity value using the reflectance.


The ranging light source may be a vertical cavity surface emitting laser configured to emit the ranging light, and the reflected light detector may be a Geiger mode photodetector configured to detect the reflected light.


A method aspect may include determining distance to a target, and determining intensity of light reflected from the target. The method aspect may also include calculating a reflectance of the target as a function of the intensity of the light reflected from the target and distance to the target.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of an electronic device on which the techniques of this disclosure may be performed.



FIG. 2 is a flowchart of a method of operating the electronic device of FIG. 1 in accordance with this disclosure.



FIG. 3A is a flowchart of a method of calculating the reflectance of the target in accordance with this disclosure.



FIG. 3B is a flowchart of a method of calculating coverage of a motion sensor by a target in accordance with this disclosure.



FIG. 4 is a graph showing the relation between target reflectance and the intensity of reflected light at the surface of the target.



FIGS. 5A-5C show calculated vs. actual reflectances for varying targets at varying distances, where the calculated reflectances are calculated using techniques in accordance with this disclosure.



FIG. 6 is block diagram of a printing mechanism to which techniques of this disclosure may be applied.



FIG. 7 is a block diagram of a camera to which techniques of this disclosure may be applied.





DETAILED DESCRIPTION

One or more embodiments in accordance with the principles of this disclosure will be described below. These described embodiments are only examples of techniques to implement the invention, as defined solely by the attached claims. Additionally, in an effort to provide a focused description of the invention and the principles of the invention, irrelevant features of an actual implementation may not be described in the specification.


With initial reference to FIG. 1, an electronic device 100 is now described. The electronic device 100 may be a desktop computer, laptop computer, tablet, smartphone, two dimensional printer (laser or inkjet, for example), three dimensional printer, or other device. The electronic device 100 includes a motion sensor 102 comprised of a ranging light source 108 and a reflected light detector 104 both coupled to a logic circuit 106.


The ranging light source 108 is preferably a vertical cavity surface emitting laser (VCSEL), although other ranging light sources as known to those of skill in the art may be used. The reflected light detector 104 is preferably a single photon avalanche diode or Geiger-mode avalanche photon diode, although other ranging light sources known to those of skill in the art may be used. Although one motion sensor 102 is shown, it should be appreciated that the electronic device 100 may include any number of motion sensors 102.


In operation, the ranging light source 108 emits light, and the reflected light detector 104 detects the light when it has reflected from a target and traveled back to the motion sensor 102. By measuring the time elapsed between emission of the light by the ranging light source 108 and the detection of the reflected light by the reflected light detector 104, since the speed of light is known and constant, the logic circuit 106 is able to determine the distance between the motion sensor 102 and the target off which the light has reflected.


In addition to detecting the duration of time between the ranging light source 108 emitting light and the reflected light detector 104 detecting the light reflected off the target, the intensity of the light reflected off the target is also detected by the motion sensor 102. By using the determined distance to the target and the intensity of the reflected light, the logic circuit 106 can determine the reflectance of the target.


Thus, the electronic device 100 may be operated as will now be described with additional reference to the flowchart 200 of FIG. 2. Initially, the logic circuit 106 causes the ranging light source 108 to emit collimated ranging light at the target (Block 202). Thereafter, light reflected from the target is detected by the reflected light detector (Block 204). The light reflected from the target is the portion of the ranging light that reflects from the target back toward the reflected light detector.


Next, the logic circuit 106 determines the intensity of the reflected light, using the reflected light detector 104 (Block 206). Then, the logic circuit 106 determines the distance to the target based on the time elapsed between activating the ranging light source 108 and detected the reflected ranging light at the reflected light detector 104 (Block 208). The distance is calculated as the product of one half of the elapsed time and the speed of light.


The reflectance of the target is then calculated by the logic circuit 106 as a function of the intensity of the reflected light and the distance to the target. A variety of methods may be used to calculate the reflectance of the target and will be described below. After calculation of the reflectance of the target, the logic circuit 106 may then use the reflectance for a desired application (Block 212), such as determining a max autofocus distance to a target (Block 214) or determining a color of a target (Block 216).


A first method of calculating the reflectance of the target is now described with additional reference to flowchart 300 of FIG. 3A. Here, the intensity of the reflected light at the surface of the target is calculated by the logic circuit 106 as a product of the intensity of the reflected light at the reflected light detector (and thus the intensity of the reflected light at the distance) and a square of the distance to the target (Block 302). Thereafter, the reflectance of the target is determined by the logic circuit 106 based on the intensity of the reflected light at the surface of the target (Block 304). This determination of the reflectance at Block 304 is made based upon the linear and proportional relation between the reflectance of the target and the intensity of the reflected light at the surface of the target, for example according to the line in the graph of target reflectance vs. reflected light intensity at surface of target shown in FIG. 4.


Another method of calculating the reflectance of the target when the distance to the target and the intensity of the reflected light is known is via the use of an equation formed to match curves of actual test data. Such an equation may be utilized by the logic circuit to calculate the reflectance a function of a quotient of first and second exponential functions. The first exponential function has the intensity of the reflected light as an offset and has the distance as an exponent of Euler's number. The second exponential function has an offset and has the distance to the target and a coarse reflectance as exponents of Euler's number.


Mathematically, the coarse reflectance can be calculated as:







Coarse





Reflectance

=


(


Intensity











of





the





reflected





light

-

A
*




-
1

*
B
*
Distance




)


C
+

D
*




-
1

*
E
*
Distance









where A is between 50 and 10, where B is between 0.01 and 0.1, where C is between 0.01 and 0.2, where D is between 1 and 3, and where E is between −0.01 and −0.1. A, B, C, D, and E are coefficients.


Particularly advantageous ranges for the coefficient values have been found where A is between 38 and 42, where B is between 0.03 and 0.05, where C is between 0.08 and 0.14, where D is between 2.4 and 2.7, and where E is between 0.03 and 0.05.


Especially advantageous values of the coefficients have been found where A is 40, where B is 0.04, where C is 0.11, where D is 2.58, and where E is 0.04.


Mathematically, the reflectance of the target can be represented as:






Reflectance
=



Intensity











of





the





reflected





light

-

A
*




-
1

*
B
*
Distance





C
+

D
*




-
1

*

(

F
+

G
*
Coarse





Reflectance


)

*
Distacne









where A is between 50 and 10, where B is between 0.01 and 0.1, where C is between 0.01 and 0.2, where D is between 1 and 3, where F is between 0.01 and 0.1, and where G is between −0.0001 and −0.0005. A, B, C, D, F, and G are coefficients.


For cases where the coarse reflectance is greater than 0.8 (i.e. 80%), particularly advantageous ranges for the coefficient values have been found where A is between 38 and 42, where B is between 0.03 and 0.05, where C is between 0.08 and 0.14, where D is between 2.4 and 2.7, where F is between 0.04 and 0.08, and where G is between −0.0002 and −0.0003. Especially advantageous values of the coefficients for cases where the coarse reflectance is greater than 0.8 have been found where A is 40, where B is 0.04, where C is 0.11, where D is 2.58, where F is 0.062, and where G is −0.00025.


For cases where the coarse reflectance is less than 0.05 (i.e. 5%), particularly advantageous ranges for the coefficient values have been found to be where A is between 18 and 22, where B is between 0.04 and 0.06, where C is between 0.08 and 0.14, where D is between 1.3 and 1.7, where F is between 0.04 and 0.08, and where G is between −0.0002 and −0.0003. Especially advantageous values of the coefficients for cases where the coarse reflectance is less than 0.05 have been found where A is 20, where B is 0.04, where C is 0.11, where D is 1.5, where F is 0.045, and where G is −0.00025.


For cases where the coarse reflectance is greater than 0.05 and less than 0.8 (i.e. greater than 5% and less than 80%), particularly advantageous ranges for the coefficient values have been found to be where A is between 38 and 42, where B is between 0.03 and 0.05, where C is between 0.08 and 0.14, where D is between 2.4 and 2.7, where F is between 0.04 and 0.08, where G is between −0.0002 and −0.0003. Especially advantageous values of the coefficients for cases where the coarse reflectance is greater than 0.05 and less than 0.8 (i.e. greater than 5% and less than 80%) have been found where A is 40, where B is 0.04, where C is 0.11, where D is 2.58, where F is 0.057, and where G is −0.00025.


The inventors have found these equations to be particularly accurate in predicting the reflectance of a target. Example charts showing calculated reflectances for given known target reflectances at different distances and different intensities contained in FIGS. 5A-5C.


Another equation found to be accurate in predicting the reflectance of a target, can be represented as:






Reflectance
=



Intensity

1
-



-

(

H
*

Distance
I


)





-
J

K





where H is between 300 and 500, wherein I is between −2 and −1, where J is between 18 and 28, and where K is between 1.1 and 2.1. Particularly useful coefficients are where H is 400, I is −1.83, J is 23, and K is 1.61 in cases where the reflectance is greater than 0.05 and less than 0.9 (i.e. greater than 5% and less than 90%). When using this equation, the intensity may be normalized based upon a reference reflected light detector, prior to calculation of the reflectance.


There are numerous uses for knowledge of the reflectance of the target. Referring additionally to FIG. 6, for example, the electronic device 100 may include a printing mechanism 600 having an ink reservoir 602 and a print head 604. A ranging unit 606 containing a ranging light source and reflected light detector as described above is disposed proximate to the print head 604. The logic circuit 612 is coupled to the ranging unit 606.


In operation, the printing mechanism 600 attempts to print output on a piece of paper 610 using its print head 604. The logic circuit 612 operates the ranging unit 606 as described above so as to obtain the reflectance of a target spot on the paper 610. Based on the reflectance, the logic circuit 612 can then determine whether the printing mechanism 600 successfully printed the output on the paper 610.


In addition to determining whether output was successfully printed on the paper 610, the logic circuit 612 may also determine the ink level 608 in the ink reservoir 602 using the reflectance. Also, the logic circuit 612 may determine the color of the output printed on the paper 610 using the reflectance.


Another use for knowledge of the reflectance of the target is now described with additional reference to FIG. 7. The electronic device 100 may include a camera 700 with an image sensor 704 and a ranging unit 706 carried by a chassis 702. The ranging unit 706 is disposed proximate to the image sensor 704 and contains a ranging light source and reflected light detector as described above. The logic circuit 708 is coupled to the ranging unit 706.


In operation, the logic circuit 708 operates the ranging unit 706 as described above so as to obtain the reflectance of the target 710. Based on the reflectance, the logic circuit 708 can determine the maximum autofocus distance between the camera 700 and the target 710, and/or whether the target 710 is within the maximum autofocus distance. In addition, the logic circuit 708 can also adjust autofocus settings based upon the reflectance of the target 710.


Referring again to FIG. 1 and also to flowchart 400 of FIG. 3B, as will be appreciated by those of skill in the art, the electronic device 100 may be used for gesture identification and detection. In gesture identification, the percent occlusion of the reflected light detector or ranging light source by the target is a desired piece of data. While an initial calibration step can be performed so as to enable accurate percentage of occlusion determination, it may be desirable for such calibration step to not be necessary.


Therefore, the electronic device 100 may be operated as follows. Since it may be assumed that gestures begin with the hand or other gesturing body part out of the field of view of the ranging light source and reflected light detector, it may be assumed that at a first point in time, the reflected light detector 104 and ranging light source 108 are not fully occluded by the target (hand or other gesturing body part), but at second point of time later in the gesture, the reflected light detector 104 and ranging light source 108 are fully occluded by the target.


The formula used to calculate the percent occlusion (or coverage) of the reflected light detector 104 or ranging light source 108 is:






C
=


Measured





Intensity


Intensity





When





Coverage





is





100

%






where the intensity when coverage is 100% is a function of the distance to the target and the reflectance of the target.


Since the occlusion is not 100% at the first point in time, calculation of the reflectance could be highly inaccurate. Therefore, an assumed reflectance value (for example, 45%) together with the distance to the target is used to estimate the intensity when the coverage is 100% (Block 402). This is done by matching the distance to a known intensity curve for 45%. Then, the coverage C can be calculated by the logic circuit 106 using this estimated intensity together with the measured intensity, as per the formula above (Block 404).


At a second later point in time, it can be assumed that the coverage is 100%. Thus, at this point, the logic circuit 106 can calculate the reflectance of the target as described above (Block 406). The resulting reflectance value can when be used to update the reference intensity value, which can in turn be used to either correct the previous coverage value at the first point in time, or to calculate new coverage values at either the second point in time or other points of time (Block 408).


It should be appreciated that the logic circuit 106 may select the second point of time as the point of time at which the measured intensity is the greatest. However, if the target is actually not fully occluding the reflected light detector 104 or ranging light source 108, the accuracy of the coverage calculations may suffer.


Although some sample uses for the reflectance information have been described, it should be appreciated that the teachings herein are applicable to any application in which knowledge of the reflectance of a target is desired.


While the disclosure has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be envisioned that do not depart from the scope of the disclosure as disclosed herein. Accordingly, the scope of the disclosure shall be limited only by the attached claims.

Claims
  • 1. An electronic device, comprising: a ranging light source;a reflected light detector;a logic circuit configured to cause the ranging light source to emit ranging light at a target,detect reflected light from the target using the reflected light detector, the reflected light being a portion of the ranging light that reflects from the target back toward the reflected light detector,determine an intensity of the reflected light using the reflected light detector,determine a distance to the target based upon time elapsed between activating the ranging light source and detecting the reflected ranging light, andcalculate reflectance of the target, based upon the intensity of the reflected light and the distance to the target.
  • 2. The electronic device of claim 1, wherein the logic circuit is further configured to determine a color of the target based upon the reflectance of the target.
  • 3. The electronic device of claim 1, wherein the logic circuit is configured to calculate the reflectance by: calculating an intensity of the reflected light at a surface of the target as a product of the intensity of the reflected light at the reflected light detector and a square of the distance to the target; anddetermining the reflectance of the target based on the intensity of the reflected light at the surface of the target.
  • 4. The electronic device of claim 1, wherein the logic circuit calculates the reflectance as a function of a quotient of first and second exponential functions, the first exponential function having the intensity of the reflected light as an offset and having the distance as an exponent of Euler's number, the second exponential function having an offset and having the distance to the target and a coarse reflectance as exponents of Euler's number.
  • 5. The electronic device of claim 1, wherein the logic circuit is further configured to calculate a coarse reflectance as:
  • 6. The electronic device of claim 5, wherein A is between −50 and −30, wherein B is between −0.01 and −0.1, wherein C is between 0.01 and 0.2, wherein D is between 1 and 3, and wherein E is between −0.01 and −0.1.
  • 7. The electronic device of claim 5, wherein the logic circuit is configured to calculate the reflectance as:
  • 8. The electronic device of claim 7, wherein A is between −50 and −30, wherein B is between −0.01 and −0.1, wherein C is between 0.01 and 0.2, wherein D is between 1 and 3, wherein F is between −0.01 and −0.1, and wherein G is between 0.0001 and 0.0005.
  • 9. The electronic device of claim 1, wherein the logic circuit is configured to calculate the reflectance as:
  • 10. The electronic device of claim 9, wherein H is between 300 and 500, wherein I is between −2 and −1, wherein J is between 18 and 28, and wherein K is between 1.1 and 2.1.
  • 11. The electronic device of claim 9, wherein the logic circuit is configured to normalize the intensity, based upon a reference reflected light detector, prior to calculation of the reflectance.
  • 12. The electronic device of claim 1, further comprising a printing mechanism configured to attempt to print output on a piece of paper; wherein the piece of paper is the target; and wherein the logic circuit is further configured to determine whether the printing mechanism successfully printed the output on the piece of paper based upon the reflectance of the piece of paper.
  • 13. The electronic device of claim 12, wherein the logic circuit is further configured to determine an ink level of the printing mechanism based upon the reflectance of the piece of paper.
  • 14. The electronic device of claim 1, further comprising a camera mechanism with an autofocus function; wherein the target is in a field of view of the camera mechanism; and wherein the logic circuit is further configured to determine a maximum autofocus distance between the camera mechanism and the target based upon the reflectance of the target.
  • 15. The electronic device of claim 1, wherein the logic circuit is further configured to, at a first point in time when it is assumed that the reflected light detector is not fully occluded by the target: estimate a reference intensity value representing intensity of the reflected light when the reflected light detector is fully occluded by the target as a function of an assumed reflectance and the distance to the target, anddetermine a coverage value representing a percentage of occlusion of the reflected light detector by the target as a function of a ratio between the intensity of the reflected light and the reference intensity value.
  • 16. The electronic device of claim 15, wherein the logic circuit calculates the reflectance at a second point in time when it is assumed that the reflected light detector is fully occluded by the target; and wherein the logic circuit is further configured to update the reference intensity value using the reflectance.
  • 17. The electronic device of claim 1, wherein the ranging light source comprises a vertical cavity surface emitting laser configured to emit the ranging light; wherein the reflected light detector comprises a Geiger mode photodetector configured to detect the reflected light.
  • 18. A method, comprising: determining distance to a target;determining intensity of light reflected from the target;calculating a reflectance of the target as a function of the intensity of the light reflected from the target and distance to the target.
  • 19. The method of claim 18, further comprising determining a color of the target based upon the reflectance of the target.
  • 20. The method of claim 18, wherein the logic circuit is configured to calculate the reflectance by: calculating an intensity of the ranging light at a surface of the target as a product of the intensity of the reflected light and a square of the distance to the target;determining the reflectance of the target based on the intensity of the reflected light at the surface of the target.
  • 21. The method of claim 18, wherein the reflectance is calculated as a function of a quotient of first and second exponential functions, the first exponential function having the intensity of the reflected light as an offset and having the distance as an exponent of Euler's number, the second exponential function having an offset and having the distance to the target and a coarse reflectance as exponents of Euler's number.
  • 22. The method of claim 18, further comprising, at a first point in time when it is assumed that the reflected light detector is not fully occluded by the target: estimating a reference intensity value representing intensity of the reflected light when the reflected light detector is fully occluded by the target as a function of an assumed reflectance and the distance to the target, anddetermine a coverage value representing a percentage of occlusion of the reflected light detector being by the target as a function of a ratio between the intensity of the reflected light and the reference intensity value.
  • 23. The method of claim 22, wherein the reflectance is calculated at a second point in time when it is assumed that the reflected light detector is fully occluded by the target; and further comprising updating the reference intensity value using the reflectance.