Distance measuring method and distance measuring system
09778361 · 2017-10-03
Assignee
Inventors
Cpc classification
G01S7/489
PHYSICS
G01S7/4868
PHYSICS
G01S17/894
PHYSICS
International classification
G01S7/489
PHYSICS
Abstract
In a TOF distance measurement employing light, the accuracy of distance measurement is improved without a significant increase in cost. A light source emits light to an object during an emission period. A sensor converts received reflected light (delay time τ) into an electrical signal during a plurality of signal accumulation periods, and accommodates the electrical signal. The signal accumulation period is set so that an accumulated signal amount varies depending on a distance to the object. The emission intensity of the light source is changed during the emission period so that the accumulated signal amount and the distance to the object has a nonlinear relationship.
Claims
1. In a time-of-flight (TOF) distance measuring system including a light source for emitting light, a sensor for operating in synchronization with the light source to convert received reflected light into an electrical signal and accumulate the electrical signal, and a calculation device, a method for measuring a distance to an object comprising: emitting light to the object during a predetermined emission period using the light source; accumulating signal amounts during a plurality of signal accumulation periods different from each other in at least one of a start time and an end time in the sensor; and calculating the distance to the object based on the signal amounts accumulated in the plurality of signal accumulation periods using the calculation device, wherein a first signal accumulation period that is at least one of the plurality of signal accumulation periods is set so that a first accumulated signal amount that is a signal amount accumulated during the first signal accumulation period varies depending on the distance to the object, emission intensity of the light source during the emission period is changed so that the first accumulated signal amount and the distance to the object have a nonlinear relationship within a distance measurement range, and the emission intensity of the light source is higher during an initial portion of the emission period than during the other portion of the emission period so that the proportion of a change in the distance to the object to a change in the first accumulated signal amount is smaller in the vicinity of an upper limit of the distance measurement range than in the other portion of the distance measurement range.
2. The method of claim 1, wherein the first signal accumulation period is set so that the first accumulated signal amount is maximized when the object is located in the vicinity of the upper limit of the distance measurement range.
3. In a time-of-flight (TOF) distance measuring system including a light source for emitting light, a sensor for operating in synchronization with the light source to convert received reflected light into an electrical signal and accumulate the electrical signal, and a calculation device, a method for measuring a distance to an object comprising: emitting light to the object during a predetermined emission period using the light source; accumulating signal amounts during a plurality of signal accumulation periods different from each other in at least one of a start time and an end time in the sensor; and calculating the distance to the object based on the signal amounts accumulated in the plurality of signal accumulation periods using the calculation device, wherein a first signal accumulation period that is at least one of the plurality of signal accumulation periods is set so that a first accumulated signal amount that is a signal amount accumulated during the first signal accumulation period varies depending on the distance to the object, emission intensity of the light source during the emission period is changed so that the first accumulated signal amount and the distance to the object have a nonlinear relationship within a distance measurement range, and the emission intensity of the light source is higher during an end portion of the emission period than during the other portion of the emission period so that the proportion of a change in the distance to the object to a change in the first accumulated signal amount is smaller in the vicinity of a lower limit of the distance measurement range than in the other portion of the distance measurement range.
4. The method of claim 3, wherein the first signal accumulation period is set so that the first accumulated signal amount is maximized when the object is located in the vicinity of the lower limit of the distance measurement range.
5. The method of claim 1, wherein the emission intensity of the light source is higher during a middle portion of the emission period than during the other portion of the emission period so that the proportion of a change in the distance to the object to a change in the first accumulated signal amount is smaller in the vicinity of a middle of the distance measurement range than in the other portion of the distance measurement range.
6. The method of claim 5, wherein the first signal accumulation period is set so that the first accumulated signal amount is maximized when the object is located in the vicinity of the middle of the distance measurement range.
7. The method of claim 1, wherein the distance measuring system has a camera, or the sensor has a camera function, and the calculation device specifies a main object to be measured, based on an image captured by the camera or the sensor.
8. In a time-of-flight (TOF) distance measuring system including a light source for emitting light, a sensor for operating in synchronization with the light source to convert received reflected light into an electrical signal and accumulate the electrical signal, and a calculation device, a method for measuring a distance to an object comprising: emitting light to the object during a predetermined emission period using the light source; accumulating signal amounts during a plurality of signal accumulation periods different from each other in at least one of a start time and an end time in the sensor; and calculating the distance to the object based on the signal amounts accumulated in the plurality of signal accumulation periods using the calculation device, wherein a first signal accumulation period that is at least one of the plurality of signal accumulation periods is set so that a first accumulated signal amount that is a signal amount accumulated during the first signal accumulation period varies depending on the distance to the object, emission intensity of the light source during the emission period is changed so that the first accumulated signal amount and the distance to the object have a nonlinear relationship within a distance measurement range, and a portion of the emission period during which the emission intensity of the light source is higher than during the other portion of the emission period, is adjusted, depending on a predetermined distance within the distance measurement range, so that the proportion of a change in the distance to the object to a change in the first accumulated signal amount is smaller at the predetermined distance within the distance measurement range than in the other portion of the distance measurement range.
9. The method of claim 8, wherein the first signal accumulation period is adjusted, depending on the predetermined distance, so that the first accumulated signal amount is maximized when the object is located at the predetermined distance within the distance measurement range.
10. The method of claim 8, wherein a first distance to the object is calculated by performing first distance measurement where the predetermined distance is set as an initial value, a portion of the emission period during which the emission intensity of the light source is higher than during the other portion of the emission period, is adjusted, depending on the first distance, so that the proportion of a change in the distance to the object to a change in the first accumulated signal amount is smaller at the calculated first distance than in the other portion of the distance measurement range, and a second distance to the object is obtained by performing second distance measurement using the adjusted emission intensity.
11. The method of claim 10, wherein the first signal accumulation period is adjusted, depending on the first distance, before the second distance measurement is performed, so that the first accumulated signal amount is maximized at the first distance within the distance measurement range.
12. A time-of-flight (TOF) distance measuring system comprising: a light source configured to emit light during a predetermined emission period, the light source including a light emitting device, and a light emitting device drive circuit configured to drive the light emitting device; a sensor configured to convert received reflected light into an electrical signal, and accumulate the electrical signal; a sensor drive circuit configured to operate the sensor so that the sensor accumulates signal amounts during a plurality of signal accumulation periods different from each other in at least one of a start time and an end time; a timing generation circuit configured to send a drive timing signal to the light emitting device drive circuit and the sensor drive circuit so that the emission operation of the light source and the signal accumulation operation of the sensor are synchronized with each other; and a calculation device configured to calculate a distance to an object based on the signal amounts accumulated during the plurality of signal accumulation periods in the sensor, wherein a first signal accumulation period that is at least one of the plurality of signal accumulation periods is set so that a first accumulated signal amount that is a signal amount accumulated during the first signal accumulation period varies depending on the distance to the object, the light emitting device drive circuit changes emission intensity of the light source during the emission period, the calculation device calculates the distance to the object based on a nonlinear relationship between the first accumulated signal amount and the distance to the object, within the distance measurement range, and the emission intensity of the light source is higher during an initial portion of the emission period than during the other portion of the emission period so that the proportion of a change in the distance to the object to a change in the first accumulated signal amount is smaller in the vicinity of an upper limit of the distance measurement range than in the other portion of the distance measurement range.
13. The distance measuring system of claim 12, wherein the calculation device stores a calculation expression representing the nonlinear relationship between the first accumulated signal amount and the distance to the object, and calculates the distance to the object using the calculation expression.
14. The distance measuring system of claim 12, further comprising: a storage device configured to a lookup table indicating the nonlinear relationship between the first accumulated signal amount and the distance to the object, wherein the calculation device performs calculation using the lookup table stored in the storage device.
15. The distance measuring system of claim 12, wherein the distance measuring system includes a camera, or the sensor has a camera function, and the calculation device specifies a main object to be measured, based on an image captured by the camera or the sensor.
16. A time-of-flight (TOF) distance measuring system comprising: a light source configured to emit light during a predetermined emission period, the light source including a light emitting device, and a light emitting device drive circuit configured to drive the light emitting device; a sensor configured to convert received reflected light into an electrical signal, and accumulate the electrical signal; a sensor drive circuit configured to operate the sensor so that the sensor accumulates signal amounts during a plurality of signal accumulation periods different from each other in at least one of a start time and an end time; a timing generation circuit configured to send a drive timing signal to the light emitting device drive circuit and the sensor drive circuit so that the emission operation of the light source and the signal accumulation operation of the sensor are synchronized with each other; a calculation device configured to calculate a distance to an object based on the signal amounts accumulated during the plurality of signal accumulation periods in the sensor, and a feedback circuit configured to send a signal for controlling a waveform of light emitted by the light source, based on distance information output from the calculation device, to the light emitting device drive circuit, wherein a first signal accumulation period that is at least one of the plurality of signal accumulation periods is set so that a first accumulated signal amount that is a signal amount accumulated during the first signal accumulation period varies depending on the distance to the object, the light emitting device drive circuit changes emission intensity of the light source during the emission period, the calculation device calculates the distance to the object based on a nonlinear relationship between the first accumulated signal amount and the distance to the object, within the distance measurement range.
17. The distance measuring system of claim 16, wherein the feedback circuit sends a signal for adjusting the first signal accumulation period, based on the distance information out from the calculation device, to the timing generation circuit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
DETAILED DESCRIPTION
(28) A TOF distance measuring method and distance measuring system according to embodiments will now be described with reference to the accompanying drawings.
(29) (First Embodiment): Improvement in Accuracy of Long Distance
(30)
(31) An analog front end (AFE) 7 converts an output of the sensor 4 into a digital signal. A calculation device 9 calculates a distance to an object using an output of the AFE 7. Here, if the sensor 4 includes an AD conversion device, the AFE 7 is not required. An adjustment circuit 8 adjusts, based on information output from the calculation device 9, a difference in drive timing between the light emitting device 1 and the sensor 4, the gain of an output of the sensor 4, etc. Note that the adjustment circuit 8 is provided in order to maintain the system in an optimum state, and therefore, is not essential. Also, a power supply device is additionally required, which is not shown because it is obvious. Note that the functions of the light emitting device drive circuit 2, the sensor drive circuit 5, the timing generation circuit 6, the AFE 7, the adjustment circuit 8, and the calculation device 9 may be integrated into a smaller number of ICs. All or a portion of the light emitting device drive circuit 2, the sensor drive circuit 5, the timing generation circuit 6, the AFE 7, the adjustment circuit 8, and the calculation device 9 may be mounted on the same chip on which the sensor 4 is mounted.
(32) In the configuration of
(33) In this embodiment, the light source 10 emits light having a non-uniform waveform that has a peak intensity during an initial emission period, instead of a rectangular wave pulse, in order to improve the accuracy of distance measurement for a long distance close to the upper limit of a distance measurement range. Specifically, the emission intensity of the light source 10 is set to be higher during an initial portion of the emission period than during the other portion of the emission period.
(34) Here, as an example, it is assumed that the waveform of emitted light whose emission intensity is represented by a linear function is employed.
(35)
(36) The waveform IE1 of the emitted light may be represented by:
(37)
where the amplitude of the waveform IE1 of the emitted light is normalized to one for the sake of simplicity.
(38) The waveform IR1 of the reflected light may be represented by:
(39)
where r represents an attenuation rate due to reflection or diffusion of light.
(40) The sensor 4 accumulates a plurality of signal amounts obtained by converting the reflected light into an electrical signal during respective accumulation periods that are different from each other in at least one of the start time and the end time. In the example of
S.sub.0: 0≦t≦2T.sub.0
S.sub.1: 0≦t≦T.sub.0 (16)
(41) In this case, the signal amounts S.sub.0 and S.sub.1 accumulated by the sensor 4 are represented by:
(42)
(43) Accordingly, the delay τ due to reflection of the emitted light may be calculated by:
(44)
(45) Therefore, if the light source 10 and the sensor 4 are located at approximately the same position, a distance D to an object is calculated from the detected signal amounts S.sub.0 and S.sub.1 by:
(46)
where T.sub.0 represents the pulse width of the emitted light, and c represents the speed of light.
(47) In the above expression, the distance D and the signal amount S.sub.1/S.sub.0 have a nonlinear relationship. From the signal accumulation periods represented by Expression 16, the following is obtained:
0≦S.sub.1≦S.sub.0 (20)
(48) Therefore, a distance measurement range D.sub.0 determined by light having the pulse width T.sub.0 is represented by:
(49)
(50) Therefore, Expression 19 may also be represented by:
(51)
(52) When an image sensor is used for the detection, signal amounts S.sub.0(x, y) and S.sub.1(x, y) corresponding to coordinates (x, y) of each pixel may be measured, and an object distance D(x, y) corresponding to each pixel may be calculated, as in Expression 19, by:
(53)
(54) Here, from the waveform of emitted light represented by Expression 14 and the timings of signal accumulation represented by Expression 16, it is obvious that the signal amount S.sub.0 is constant independently of the distance to an object to be measured. Specifically, a relationship between S.sub.1/S.sub.0 and D/D.sub.0 represents a relationship between the distance to an object to be measured and the accumulated signal amount.
(55)
(56) In other words, the proportion of a change in the distance D to a change in the signal amount S.sub.1 is smaller in the vicinity of the upper limit of the distance measurement range than in the other portion of the distance measurement range. This improves the distance measurement accuracy in the vicinity of the upper limit of the distance measurement range.
(57) The accuracy of measurement of a signal amount will now be described in greater detail. As described above, shot noise of a signal amount is dominant in the signal amount measurement accuracy. As the signal amount increases, the signal amount is less affected by shot noise. However, in
(58)
S.sub.0: 0≦t≦2T.sub.0
S.sub.2: T.sub.0≦t≦2T.sub.0 (24)
(59) Obviously, the signal amount S.sub.2 and the above signal amount S.sub.1 have a relationship represented by:
S.sub.2=S.sub.0−S.sub.1 (25)
(60) Therefore, the signal amount S.sub.2 and the distance D has a relationship that is a counterpart of Expression 22, represented by:
(61)
(62)
(63) Moreover, in
(64) Thus, when importance is put on the distance measurement accuracy for a long distance as in this embodiment, it may be preferable that, as with the signal amount S.sub.2 of
(65) Thus, according to this embodiment, if the emission intensity of the light source 10 is set to be higher during an initial portion of the emission period than during the other portion of the emission period, the proportion of a change in the distance to an object to be measured to a change in the accumulated signal amount of the sensor 4 is smaller in the vicinity of the upper limit of the distance measurement range than in the other portion of the distance measurement range. As a result, the distance measurement accuracy in the vicinity of the upper limit of the distance measurement range can be improved. Also, if the signal accumulation period is set so that the accumulated signal amount is largest when an object to be measured is in the vicinity of the upper limit of the distance measurement range, shot noise can be reduced in the vicinity of the upper limit of the distance measurement range. As a result, the distance measurement accuracy in the vicinity of the upper limit of the distance measurement range can be further improved.
(66) Although the signal accumulation periods of the sensor 4 are assumed above to be those shown in
(67) Although the emission intensity of the light source 10 is assumed above to be zero during the period other than the signal accumulation period, the present disclosure is not limited to this. The relative relationship between the waveform of light emitted by the light source 10 and the signal accumulation by the sensor 4 is critically important. For example, it is obvious that if it is practically difficult to produce the waveform of emitted light that is represented by Expression 14, a waveform of emitted light that gradually rises before the start of signal accumulation, such as that shown in
(68) In the foregoing, the waveform of emitted light whose emission intensity is represented by a linear function is described as an example for the sake of simplicity of calculation. Any waveform in which the emission intensity has a peak in the vicinity of the start of signal accumulation and attenuates during the signal accumulation period, may be used to obtain a similar effect. Such a waveform may include those approximated by a higher-order polynomial, irrational function, exponential function, etc. As an example, the waveform of emitted light is assumed to be represented by the following quadratic function:
(69)
(70) It is assumed that the sensor 4 obtains the signal amounts S.sub.0 and S.sub.2 during the same signal accumulation periods as those shown in
(71)
(72) In this case, in the vicinity of D/D.sub.0=1, the proportion of a change in D/D.sub.0 to a change in S.sub.2/S.sub.0 is 1/3, and, the absolute value is 1/3 compared to the conventional change proportion of −1. Thus, the improvement in distance measurement accuracy based on the signal amount change proportion is more significant than in the case of
(73) Thus, the waveform of emitted light of Expression 14 and the signal accumulation periods of Expression 24 provide a nonlinear relationship expression between a signal amount and a distance that is represented by Expression 26. Also, the waveform of emitted light of Expression 27 and the signal accumulation periods of Expression 24 provide a nonlinear relationship expression between a signal amount and a distance that is represented by Expression 28. In other words, if the calculation device 9 includes a calculation expression representing a relationship between a signal amount and a distance that corresponds to the waveform of emitted light, a distance measuring system that achieves the distance measuring method of this embodiment can be provided.
(74) Also, if it is practically difficult to analytically calculate a relationship between a signal amount and a distance from the waveform of emitted light, or it is difficult to approximate the waveform of emitted light using a function, a correlation shown in
(75) (Second Embodiment): Improvement in Accuracy of Short Distance
(76) A configuration of a TOF distance measuring system according to a second embodiment is substantially similar to that of the first embodiment, and is not shown in the drawings.
(77) In this embodiment, the light source 10 emits light having a non-uniform waveform that has a peak intensity during an end emission period, instead of a rectangular wave pulse, in order to improve the accuracy of distance measurement for a short distance close to the lower limit of a distance measurement range. Specifically, the emission intensity of the light source 10 is set to be higher during an end portion of the emission period than during the other portion of the emission period.
(78) Here, as an example, it is assumed that the waveform of emitted light whose emission intensity is represented by a linear function is employed.
(79)
(80) The waveform IE2 of the emitted light may be represented by:
(81)
where the amplitude of the waveform IE2 of the emitted light is normalized to one for the sake of simplicity.
(82) The waveform IR2 of the reflected light may be represented by:
(83)
where r represents an attenuation rate due to reflection or diffusion of light.
(84) The sensor 4 accumulates a plurality of signal amounts obtained by converting the reflected light into an electrical signal during respective accumulation periods that are different from each other in at least one of the start time and the end time. In the example of
S.sub.0: 0≦t≦2T.sub.0
S.sub.1: 0≦t≦T.sub.0 (31)
(85) In this case, the signal amounts S.sub.0 and S.sub.1 accumulated by the sensor 4 are represented by:
(86)
(87) Accordingly, the delay τ due to reflection of the emitted light may be calculated by:
(88)
(89) Therefore, if the light source 10 and the sensor 4 are located at approximately the same position, a distance D to an object is calculated from the detected signal amounts S.sub.0 and S.sub.1 by:
(90)
where T.sub.0 represents the pulse width of the emitted light, and c represents the speed of light.
(91) In the above expression, the distance D and the signal amount S.sub.1/S.sub.0 have a nonlinear relationship. From the signal accumulation periods represented by Expression 31, the following is obtained:
0≦S.sub.1≦S.sub.0 (35)
(92) Therefore, the distance measurement range D.sub.0 determined by light having the pulse width T.sub.0 is represented by:
(93)
(94) Therefore, Expression 34 may also be represented by:
(95)
(96) When an image sensor is used for the detection, signal amounts S.sub.0(x, y) and S.sub.1(x, y) corresponding to coordinates (x, y) of each pixel may be measured, and an object distance D(x, y) corresponding to each pixel may be calculated, as in Expression 34, by:
(97)
(98) Here, from the waveform of emitted light represented by Expression 29 and the timings of signal accumulation represented by Expression 31, it is obvious that the signal amount S.sub.0 is constant independently of the distance to an object to be measured. Specifically, a relationship between S.sub.1/S.sub.0 and D/D.sub.0 represents a relationship between the distance to an object to be measured and the accumulated signal amount.
(99)
(100) In other words, the proportion of a change in the distance D to a change in the signal amount S.sub.1 is smaller in the vicinity of the lower limit of the distance measurement range than in the other portion of the distance measurement range. This improves the distance measurement accuracy in the vicinity of the lower limit of the distance measurement range.
(101) The accuracy of measurement of a signal amount will now be described in greater detail. As described above, shot noise of a signal amount is dominant in the signal amount measurement accuracy. As the signal amount increases, the signal amount is less affected by shot noise. In
(102)
S.sub.0: 0≦t≦2T.sub.0
S.sub.2: T.sub.0≦t≦2T.sub.0 (39)
(103) Obviously, the signal amount S.sub.2 and the above signal amount S.sub.1 have a relationship represented by:
S.sub.2=S.sub.0−S.sub.1 (40)
(104) Therefore, the signal amount S.sub.2 and the distance D has a relationship that is a counterpart of Expression 37, represented by:
(105)
(106)
(107) Thus, when importance is put on the distance measurement accuracy for a short distance as in this embodiment, it may be preferable that, as with the signal amount S.sub.1 of
(108) Thus, according to this embodiment, if the emission intensity of the light source 10 is set to be higher during an end portion of the emission period than during the other portion of the emission period, the proportion of a change in the distance to an object to be measured to a change in the accumulated signal amount of the sensor 4 is smaller in the vicinity of the lower limit of the distance measurement range than in the other portion of the distance measurement range. As a result, the distance measurement accuracy in the vicinity of the lower limit of the distance measurement range can be improved. Also, if the signal accumulation period is set so that the accumulated signal amount is largest when an object to be measured is in the vicinity of the lower limit of the distance measurement range, shot noise can be reduced in the vicinity of the lower limit of the distance measurement range. As a result, the distance measurement accuracy in the vicinity of the lower limit of the distance measurement range can be further improved.
(109) Although the signal accumulation periods of the sensor 4 are assumed above to be those shown in
(110) Although the emission intensity of the light source 10 is assumed above to be zero during the period other than the signal accumulation period, the present disclosure is not limited to this. The relative relationship between the waveform of light emitted by the light source 10 and the signal accumulation by the sensor 4 is critically important. For example, it is obvious that if it is practically difficult to produce the waveform of emitted light that is represented by Expression 29, a waveform of emitted light that gradually falls after time T.sub.0, such as that shown in
(111) In the foregoing, the waveform of emitted light whose emission intensity is represented by a linear function is described as an example for the sake of simplicity of calculation. Any waveform in which the emission intensity has a peak in the vicinity of the emission end time T.sub.0 and increases during the signal accumulation period, may be used to obtain a similar effect. Such a waveform may include those approximated by a higher-order polynomial, irrational function, exponential function, etc. As an example, the waveform of emitted light is assumed to be represented by the following quadratic function:
(112)
(113) It is assumed that the sensor 4 obtains the signal amounts S.sub.0 and S.sub.1 during the same signal accumulation periods as those shown in
(114)
(115) In this case, in the vicinity of D/D.sub.0=0, the proportion of a change in D/D.sub.0 to a change in S.sub.1/S.sub.0 is −1/3, and, the absolute value is 1/3 compared to the conventional change proportion of −1. Thus, the improvement in distance measurement accuracy based on the signal amount change proportion is more significant than in the case of
(116) In this embodiment, as in the first embodiment, if the calculation device 9 includes a calculation expression representing a relationship between a signal amount and a distance that corresponds to the waveform of emitted light, a distance measuring system that achieves the distance measuring method of this embodiment can be provided.
(117) Also, if it is practically difficult to analytically calculate a relationship between a signal amount and a distance from the waveform of emitted light, or it is difficult to approximate the waveform of emitted light using a function, a correlation shown in
(118) (Third Embodiment): Improvement in Accuracy for Middle Distance
(119) A configuration of a TOF distance measuring system according to a third embodiment is substantially similar to that of the first embodiment, and is not shown in the drawings.
(120) In this embodiment, the light source 10 emits light having a waveform that has a peak intensity at substantially the middle of an emission period, instead of a rectangular wave pulse, in order to improve the accuracy of distance measurement in the vicinity of the middle of a distance measurement range. Specifically, the emission intensity of the light source 10 is set to be higher during a middle portion of the emission period than during the other portion of the emission period.
(121) Here, as an example, it is assumed that the waveform of emitted light whose emission intensity is represented by a linear function is employed.
(122)
(123) The waveform IE3 of the emitted light may be represented by:
(124)
where the amplitude of the waveform IE3 of the emitted light is normalized to one for the sake of simplicity.
(125) The waveform IR3 of the reflected light may be represented by:
(126)
where r represents an attenuation rate due to reflection or diffusion of light.
(127) The sensor 4 accumulates a plurality of signal amounts obtained by converting the reflected light into an electrical signal during respective accumulation periods that are different from each other in at least one of the start time and the end time. In the example of
S.sub.0: 0≦t≦2T.sub.0
S.sub.1: 0≦t≦T.sub.0 (46)
(128) In this case, the signal amounts S.sub.0 and S.sub.1 accumulated by the sensor 4 are represented by:
(129)
(130) Accordingly, the delay τ due to reflection of the emitted light may be calculated by:
(131)
(132) Therefore, if the light source 10 and the sensor 4 are located at approximately the same position, a distance D to an object is calculated from the detected signal amounts S.sub.0 and S.sub.1 by:
(133)
where T.sub.0 represents the pulse width of the emitted light, and c represents the speed of light.
(134) In the above expression, the distance D and the signal amount S.sub.1/S.sub.0 have a nonlinear relationship. From the signal accumulation periods represented by Expression 46, the following is obtained:
0≦S.sub.1≦S.sub.0 (53)
(135) Therefore, the distance measurement range D.sub.0 determined by light having the pulse width T.sub.0 is represented by:
(136)
(137) Therefore, Expressions 51 and 52 may also be represented by:
(138)
(139) When an image sensor is used for the detection, signal amounts S.sub.0(x, y) and S.sub.1(x, y) corresponding to coordinates (x, y) of each pixel may be measured, and an object distance D(x, y) corresponding to each pixel may be calculated, as in Expressions 51 and 52, by:
(140)
(141) Here, from the waveform of emitted light represented by Expression 44 and the timings of signal accumulation represented by Expression 46, it is obvious that the signal amount S.sub.0 is constant independently of the distance to an object to be measured. Specifically, a relationship between S.sub.1/S.sub.0 and D/D.sub.0 represents a relationship between the distance to an object to be measured and the accumulated signal amount.
(142)
(143) In other words, the proportion of a change in the distance D to a change in the signal amount S.sub.1 is smaller in the vicinity of the middle of the distance measurement range than in the other portion of the distance measurement range. This improves the distance measurement accuracy in the vicinity of the middle of the distance measurement range.
(144) The accuracy of measurement of a signal amount will now be described in greater detail. As described above, shot noise of a signal amount is dominant in the signal amount measurement accuracy. As the signal amount increases, the signal amount is less affected by shot noise. In
(145)
(146)
(147) Thus, the accumulation period of the signal amount S.sub.3 starts from time T.sub.0/2. In this case, the signal amount S.sub.3 and the distance D corresponding to Expressions 55 and 56 have a relationship represented by:
(148)
(149) Thus, the object distance D can also be calculated using the signal amount S.sub.3.
(150)
(151) Note that if D/D.sub.0=1/2±d (d is arbitrary), the signal amount S3/S.sub.0 has the same value. Therefore, in order to obtain the distance D within the distance measurement range D.sub.0, it is preferable to use the above signal amount S.sub.1, S.sub.2, etc. in combination with the signal amounts S.sub.0 and S.sub.3.
(152) Thus, when importance is put on the distance measurement accuracy for a middle distance as in this embodiment, it may be preferable that, as with the signal amount S.sub.3 of
(153) Thus, according to this embodiment, if the emission intensity of the light source 10 is set to be higher during a middle portion of the emission period than during the other portion of the emission period, the proportion of a change in the distance to an object to be measured to a change in the accumulated signal amount of the sensor 4 is smaller in the vicinity of the middle of the distance measurement range than in the other portion of the distance measurement range. As a result, the distance measurement accuracy in the vicinity of the middle of the distance measurement range can be improved. Also, if the signal accumulation period is set so that the accumulated signal amount is largest when an object to be measured is in the vicinity of the middle of the distance measurement range, shot noise can be reduced in the vicinity of the middle of the distance measurement range. As a result, the distance measurement accuracy in the vicinity of the middle of the distance measurement range can be further improved.
(154) Although the signal accumulation periods of the sensor 4 are assumed above to be those shown in
(155) Although the emission intensity of the light source 10 is assumed above to be zero during the period other than the signal accumulation period, the present disclosure is not limited to this. The relative relationship between the waveform of light emitted by the light source 10 and the signal accumulation by the sensor 4 is critically important. For example, it is obvious that if it is practically difficult to produce the waveform of emitted light that is represented by Expression 44, a waveform of emitted light that gradually rises before time 0 or gradually falls after time T.sub.0, such as that shown in
(156) In the foregoing, the waveform of emitted light whose emission intensity is represented by a linear function is described as an example for the sake of simplicity of calculation. Any waveform in which the emission intensity has a peak in the vicinity of the middle of the emission period, may be used to obtain a similar effect. Such a waveform may include those approximated by a higher-order polynomial, irrational function, exponential function, etc. Alternatively, a waveform of emitted light whose emission intensity is represented by a function having a rise and a fall that are not symmetrical, may be employed.
(157) In this embodiment, as in the first and second embodiments, if the calculation device 9 includes a calculation expression representing a relationship between a signal amount and a distance that corresponds to the waveform of emitted light, a distance measuring system that achieves the distance measuring method of this embodiment can be provided.
(158) Also, if it is practically difficult to analytically calculate a relationship between a distance and a signal amount from the waveform of emitted light, or it is difficult to approximate the waveform of emitted light using a function, a correlation shown in
(159) (Fourth Embodiment): Adjustment of Distance for Improvement in Accuracy
(160)
(161) An analog front end (AFE) 7 converts an output of the sensor 4 into a digital signal. A calculation device 42 calculates a distance to an object using an output of the AFE 7. Here, if the sensor 4 includes an AD conversion device, the AFE 7 is not required. An adjustment circuit 8 adjusts, based on information output from the calculation device 42, a difference in drive timing between the light emitting device 1 and the sensor 4, the gain of an output of the sensor 4, etc. Note that the adjustment circuit 8 is provided in order to maintain the system in an optimum state, and therefore, is not necessarily essential. Also, a power supply device is additionally required, which is not shown because it is obvious.
(162) A feedback circuit 43 changes drive timings of the light source 40 and the sensor 4 based on distance information obtained from the calculation device 42. The feedback circuit 43 sends a signal for controlling the waveform of light emitted by the light source 40, based on the distance information, to the light emitting device drive circuit 44, and a signal for adjusting a signal accumulation period of the sensor 4 to the timing generation circuit 41.
(163) In the configuration of
(164) In this embodiment, the light source 40 emits light having a waveform that has a peak intensity whose timing is adjustable, instead of a rectangular wave pulse, in order to provide an adjustable distance range that allows for improvement in the accuracy of distance measurement. Specifically, the emission intensity of the light source 40 is set to be higher at a predetermined timing than during the other period. In other words, a period of time during which the emission intensity of the light source 40 is set to be higher than during the other period, is adjusted, depending on a predetermined distance that provides an improved accuracy of distance measurement.
(165) Here, as an example, it is assumed that the waveform of emitted light whose emission intensity is represented by a linear function is employed.
(166)
(167) The waveform IE4 of the emitted light may be represented by the following expression 63 using a constant α represented by the following expression 62:
(168)
where the amplitude of the waveform IE4 of the emitted light is normalized to one for the sake of simplicity.
(169) The waveform IR4 of the reflected light may be represented by:
(170)
where r represents an attenuation rate due to reflection or diffusion of light.
(171) The sensor 4 accumulates a plurality of signal amounts obtained by converting the reflected light into an electrical signal during respective accumulation periods that are different from each other in at least one of the start time and the end time. In the example of
S.sub.0: 0≦t≦2T.sub.0
S.sub.1: 0≦t≦T.sub.0 (65)
(172) In this case, the delay τ due to reflection of the emitted light may be calculated from the signal amounts S.sub.0 and S.sub.1 accumulated by the sensor 4 by:
(173)
(174) Therefore, if the light source 40 and the sensor 4 are located at approximately the same position, a distance D to an object is calculated from the detected signal amounts S.sub.0 and S.sub.1 by:
(175)
where T.sub.0 represents the pulse width of the emitted light, and c represents the speed of light.
(176) From the signal accumulation periods represented by Expression 65, the following is obtained:
0≦S.sub.1≦S.sub.0 (70)
(177) Therefore, the distance measurement range D.sub.0 determined by light having the pulse width T.sub.0 is represented by:
(178)
(179) Therefore, Expressions 68 and 69 may also be represented by:
(180)
(181) When an image sensor is used for the detection, signal amounts S.sub.0(x, y) and S.sub.1(x, y) corresponding to coordinates (x, y) of each pixel may be measured, and an object distance D(x, y) corresponding to each pixel may be calculated, as in Expressions 68 and 69, by:
(182)
(183) Here, from the waveform of emitted light represented by Expression 63 and the timings of signal accumulation represented by Expression 65, it is obvious that the signal amount S.sub.0 is constant independently of the distance to an object to be measured. Specifically, a relationship between S.sub.1/S.sub.0 and D/D.sub.0 represents a relationship between the distance to an object to be measured and the accumulated signal amount.
(184)
(185) In other words, the proportion of a change in the distance D to a change in the signal amount S.sub.1 is smaller at a predetermined distance specified by the parameter α within the distance measurement range than in the other portion of the distance measurement range. This improves the distance measurement accuracy in the vicinity of the predetermined distance within the distance measurement range.
(186) This embodiment described here is similar to the first embodiment when α=0, the second embodiment when α=1, and the third embodiment when α=1/2. In other words, in this embodiment, the distance measurement accuracy can be improved for any distance ranging from a very short distance to the upper limit of the distance measurement range by changing the waveform of light emitted by the light source 40 using the parameter α. In other words, if a main object to be measured is in the vicinity of a distance D corresponding to D/D.sub.0=1−α, the distance to the main object can be measured with highest accuracy by setting the waveform of light emitted by the light source 40 to have a peak corresponding to α.
(187) Moreover, as described in the above embodiments, the distance measurement accuracy can be further improved based on the signal amount measurement accuracy. For example, as shown by the signal amount S.sub.3 of
(188)
(189) Initially, the parameter α is set to an arbitrary initial value α.sub.1 (S41), and first distance measurement is performed using the above method (S42). It is assumed that, as a result, a distance D.sub.1 of an object to be measured is obtained (S43). Next, the parameter α is set to α.sub.2 (=1−D.sub.1/D.sub.0) (S44), and second distance measurement is performed using the above method (S45). As a result, a distance D.sub.2 of the object to be measured is obtained (S46).
(190) Thus, even if the distance D to a main object to be measured is unknown, distance measurement can be performed with a distance measurement accuracy that is highest in the vicinity of the distance D by performing distance measurement a plurality of times while changing one or both of the waveform of emitted light and the signal accumulation period using the parameter α. Although, in
(191)
(192) Note that, in the foregoing, it is assumed that the parameter α is used to change the slopes of the rise and fall of the waveform of light emitted by the light source 40. If such an adjustment of the waveform of emitted light is practically difficult, the start time of the signal accumulation period of the sensor 4 may be advanced or delayed while the waveform of light emitted by the light source 40 is kept unchanged, as shown in
(193) In the foregoing, the waveform of emitted light whose emission intensity is represented by a linear function is described as an example for the sake of simplicity of calculation. Any waveform in which the emission intensity has a peak in the vicinity of time αT.sub.0, may, of course, be used to obtain a similar effect. Such a waveform may include those approximated by a higher-order polynomial, irrational function, exponential function, etc. Alternatively, a waveform of emitted light whose emission intensity may have a rise and a fall that are represented by different functions, may be used.
(194) In this embodiment, as in the above embodiments, if the calculation device 42 includes a calculation expression representing a relationship between a signal amount and a distance that corresponds to the waveform of emitted light, a distance measuring system that achieves the distance measuring method of this embodiment can be provided. Note that this embodiment is different from the above embodiments in that the feedback circuit 43 is provided to adjust the waveform of emitted light so that the waveform is suited to the result of distance measurement. If the sensor is a one-dimensional or two-dimensional image sensor, the calculation device 42 may specify a main object in a distance measurement image, and output a distance to the main object to the feedback circuit 43.
(195) Also, if it is practically difficult to analytically calculate a relationship between a distance and a signal amount from the waveform of emitted light, or it is difficult to approximate the waveform of emitted light using a function, a correlation shown in
(196) According to the present disclosure, in a TOF distance measuring system, the accuracy of distance measurement can be improved without a significant increase in cost, which is effective in increasing the accuracy of, and decreasing the cost of, a distance measuring sensor, for example.