1. Field of the Invention
The present invention relates to an optical sensing device, especially to a non-contact optical sensing device and method for sensing depth of an object in three-dimensional space.
2. Description of the Prior Arts
With the progress of the technology, electronic products change with each passing day. The ways to input data or command into the electronic products also advance. From the traditional physical keyboard as an input way, it develops to input with a virtual keyboard in touch panel. Recently, a non-contact way to input is also developed. The user does not need to touch the electronic device. The electronic device detects and identifies the user's gesture performing in the air through a non-contact sensor to execute a corresponding command. Especially to an apparatus that has an augmented reality (AR) function, using non-contact input is more intuitive and more convenient. Conventional non-contact sense mainly include two different ways. One way is to use proximity-sensing (PS) and another way is to use time-of-flight (TOF) sensing.
The PS procedure utilizes the optical elements to emit light on the objects to generate reflected light and utilizes the energies of the reflected light to determine the depth of the objects. However, since the objects with different colors absorb the energies of light differently, the different objects at the same depth may be determined as locating at different depths. For example, when the user has metal ornaments worn on the fingers, the depths of the fingers and the metal ornaments are determined as locating at different depths since the meal ornaments and the fingers absorb energies of light differently. Therefore, using the PS procedure easily results in the misjudgment of the depths of the objects.
The TOF sensing procedure utilizes the optical elements to emit light on the objects to generate reflected light and utilizes the time difference between the emitting time of the light and the receiving time of the reflected light to determine the depths of the objects. Since the velocity of light is not influenced by the absorbed energies of the objects, the depth determined by the TOF sensing procedure is more accurate than the depth determined by the PS procedure.
However, the reliability of the determined depth of the TOF sensing procedure has a larger tolerance scope than the reliability of the determined depth of the PS procedure according to the following formulas.
The TOF sensing procedure calculates the depth based on the data measured at different phases. The formula to calculate the tolerance scope δd of the depth d of the object is shown as following:
The Poisson distribution of the TOF sensing procedure is:
The unreliability of the depth is:
The “N0” and “N99” represents the amount of the photons at the 0 degrees phase and 90 degrees phase. Therefore, the formula represents the nonlinear relationship between the unreliability of the depth and the amount of the photons.
On the other hand, the PS procedure calculates the depth of the object based on the intensity of the reflected light. The formula of the PS procedure is as following:
The Poisson distribution of the TOF sensing procedure is:
The unreliability of the depth is:
The formula represents the linear relationship between the unreliability of the depth and the amount of the photons. Therefore, the unreliability of the depth of the PS procedure is smaller than the unreliability of the depth of the TOF sensing procedure.
Since the signal-to-noise ration (SNR) is inversely proportional to the unreliability, the SNR of the TOF sensing procedure is less than the SNR of the PS procedure. It means that the tolerance scope of the depth measured by the TOF sensing procedure is larger than the tolerance scope of the depth measured by the PS procedure. For example, if the tolerance scope of the depth measured by the TOF sensing procedure is 0.02, the tolerance scope of the depth measured by the PS procedure may be 0.005. Therefore, the resolution of the PS procedure is higher than the resolution of the TOF sensing procedure.
To overcome the aforementioned shortcomings of the two conventional ways, the present invention provides a non-contact optical sensing device and method for sensing depth of an object in three-dimensional space to mitigate or obviate the aforementioned problems.
To achieve the aforementioned purpose, a method for sensing depth of an object in three-dimensional space, in one periodic time, comprising steps of:
a. emitting light by a first emitting unit to the object to generate a first reflected light, and obtaining a first data based on a time difference between an emitting time of the first emitting unit to emit the light and a receiving time of the first reflected light;
b. emitting light by a second emitting unit to the object to generate a second reflected light, and obtaining a second data based on an intensity of the second reflected light; and
c. determining the depth of the object by calculating the first data and the second data.
In addition, a non-contact optical sensing device of the present invention comprises:
a first emitting unit adapted for emitting light to an object;
a second emitting unit adapted for emitting light to the object;
a photoelectric element adapted for receiving a reflected light from the object;
a first switching element coupling to the photoelectric element;
a second switching element coupling to the photoelectric element;
a control unit electrically connecting to the first emitting unit, the second emitting unit, the photoelectric element, the first switching element and the second switching element, controlling the first and second switching elements to obtain an output of the photoelectric element, and alternatively switching on the first and second switching elements, wherein
the control unit executes following steps in one periodic time:
a. emitting light by the first emitting unit to the object to generate a first reflected light, and obtaining a first data based on a time difference between an emitting time of the first emitting unit to emit the light and a receiving time of the first reflected light received by the photoelectric element;
b. emitting light by the second emitting unit to the object to generate a second reflected light, and obtaining a second data based on an intensity of the second reflected light; and
c. determining the depth of the object by calculating the first data and the second data.
The present invention has following advantages. By executing the TOF sensing procedure and the PS procedure in a periodic time, two depths of the object are obtained in two different procedures and are manipulated to obtain the depth of the object. Using the high accuracy of the TOF procedure to compensate the low accuracy of the PS procedure, and using the high resolution of the PS procedure to compensate the high accuracy of the TOF procedure. Therefore, the present invention determines the depth of the non-contact object in three-dimensional space more precisely.
Other objectives, advantages and novel features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
With reference to
The emitting unit 11 emits light on an object to be measured and may comprise one or more than one light emitting diode (LED). In some embodiments as shown in
The photoelectric element 12 receives the reflected light from the measured object. The reflected light is reflected from the light emitted on the measured object. The photoelectric element 12 may be a photogate or a photodiode. When the photoelectric element 12 receives and transforms the reflected light into corresponding photons to generate corresponding signals. With reference to
The control unit 15 is connected electrically to the emitting unit 11, the photoelectric element 12, the first switching element 13 and the second switching element 14. The control unit 15 controls the emitting unit 11 to be switched on and off, the electric potential of the photoelectric element 12, and the first and second switching elements 13, 14 to be switched on and off, and obtains the signal from the photoelectric element 12 by switching the first and second switching elements 13, 14.
With reference to
With reference to
With reference to
With reference to
In addition, the time to execute the TOF sensing procedure may be longer than the time to execute the PS procedure as shown in
Moreover, the calculation method of the control unit 15 to calculate and to determine the depth of the measured object based on the first data and the second data may comprises two different ways, but is not limited to the two ways.
First method is shown in
With reference to
Δz′1=z′12−z′11
The difference A is used to correct and compensate the initial depth z1. Thus, the depth of the measured object is equal to the different Δz′1 plus the initial depth z1(z1+Δz′1).
In another embodiment as shown in
Δz′1=z′12−z′11
The difference Δz′1 is used to correct and compensate the initial depth z1. Thus, the depth of the measured object is equal to the different Δz′1 plus the initial depth z1 (z1+Δz′1).
Therefore, the non-contact optical sensing device in accordance with the present invention executes the TOF sensing procedure with high accuracy and the PS procedure with high resolution to obtain two different data of the depth of the measured object. After calculation, the depth of the measured object is obtained. Thus, the non-contact optical sensing device in accordance with the present invention has both advantages of high accuracy and high resolution to determine the depth of the object precisely.
Even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and features of the invention, the disclosure is illustrative only. Changes may be made in the details, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
105103633 | Feb 2016 | TW | national |
This application claims the benefit of U.S. provisional application filed on Sep. 10, 2015 and having application Ser. No. 62/216,368, the entire contents of which are hereby incorporated herein by reference This application is based upon and claims priority under 35 U.S.C. 119 from Taiwan Patent Application No. 105103633 filed on Feb. 3, 2016, which is hereby specifically incorporated herein by this reference thereto.
Number | Date | Country | |
---|---|---|---|
62216368 | Sep 2015 | US |