Distance measuring device
11397251 · 2022-07-26
Assignee
Inventors
Cpc classification
G01S2007/4975
PHYSICS
International classification
G01S7/4865
PHYSICS
Abstract
A distance measuring device includes the following, an emitting unit; a receiving unit; a received signal detector; and a signal processor. The signal processor controls emitting of the signal by the emitting unit and starts counting time, calculates received timing when the receiving unit receives the signal based on the digital signal output by the received signal detector, and calculates a distance to the object based on transmitting time of the signal. As for a distance, etc., the signal processor considers the distance. Etc. to be a valid value when a condition that the calculated distance, etc. is no longer than a predetermined reference distance, etc. is satisfied, and when the condition is not satisfied, the signal processor considers the distance, etc. to be an invalid value.
Claims
1. A distance measuring device comprising: an emitting unit which emits a signal; a receiving unit which receives the signal emitted from the emitting unit and reflected on an object and which outputs a received signal according to received strength; a received signal detector which outputs a digital signal to discriminate whether the received signal output from the receiving unit exceeds a predetermined threshold of signal strength or not; and a signal processor which controls emitting of the signal by the emitting unit and starts counting time at an emitted timing of the signal, calculates received timing when the receiving unit receives the signal based on the digital signal output by the received signal detector, and calculates a distance to the object based on transmitting time of the signal from the emitting unit to the object and then to the receiving unit, the transmitting time obtained by ending the counting of time at the received timing, wherein, the received signal detector comprises a first comparator associated with a first threshold and a second comparator associated with a second threshold, wherein the second threshold is less than the first threshold and the first threshold and the second threshold comprise voltage values corresponding to the received strength of the received signal, the received signal is input to each of the first comparator and the second comparator, the received signal is converted to a digital signal by each of the first comparator and the second comparator in parallel based on the first threshold and the second threshold, and the digital signal output from each of the first comparator and the second comparator is input to the signal processor, and the signal processor considers the transmitting time or the distance to be a valid value when a condition that the transmitting time or the distance is longer than a predetermined reference transmitting time or a predetermined reference distance is satisfied, and when the condition is not satisfied, the signal processor considers the transmitting time or the distance to be an invalid value.
2. The distance measuring device according to claim 1, wherein, the signal processor outputs a window stain notification signal which notifies there is a possibility that dirt is attached to a window material on a transmitting path of the signal when the distance can be calculated based on the first threshold and the condition that the distance calculated based on the first threshold is longer than the predetermined reference distance is not satisfied.
3. The distance measuring device according to claim 1, wherein, a plurality of reference distances including a first reference distance and a second reference distance which is shorter than the first reference distance are set in the signal processor, the signal processor considers the distance to be a valid value when the condition that the distance calculated based on the second threshold is longer than the first reference distance is satisfied, and considers the distance to be an invalid value when the condition is not satisfied, and the signal processor considers the distance to be a valid value when a condition that the distance calculated based on the first threshold is longer than the second reference distance is satisfied, and considers the distance to be an invalid value when the condition is not satisfied.
4. The distance measuring device according to claim 3, wherein when the distance can be calculated based on the first threshold, and a condition that the distance calculated based on the first threshold is longer than the second reference distance is not satisfied, the signal processor outputs a window stain notification signal which notifies there is a possibility that dirt is attached to a window material on a transmitting path of the signal.
5. The distance measuring device according to claim 1, wherein the signal processor can change a setting of at least one of the first threshold and the second threshold in the received signal detector.
6. The distance measuring device according to claim 1, wherein, the signal processor outputs a window stain notification signal which notifies there is a possibility that dirt is attached to a window material on a transmitting path of the signal when the transmitting time can be calculated based on the first threshold and the condition that the transmitting time calculated based on the first threshold is longer than the predetermined reference transmitting time is not satisfied.
7. The distance measuring device according to claim 1, wherein, a plurality of reference transmitting times including a first reference transmitting time and a second reference transmitting time which is shorter than the first reference transmitting time with a length difference are set in the signal processor, the signal processor considers the transmitting time to be a valid value when the condition that the transmitting time calculated based on the second threshold is longer than the first reference transmitting time is satisfied, and considers the transmitting time to be an invalid value when the condition is not satisfied, and the signal processor considers the transmitting time to be a valid value when a condition that the transmitting time calculated based on the first threshold is longer than the second reference transmitting time is satisfied, and considers the transmitting time to be an invalid value when the condition is not satisfied.
8. The distance measuring device according to claim 7, wherein when the transmitting time can be calculated based on the first threshold, and a condition that the transmitting time calculated based on the first threshold is longer than the second reference transmitting time is not satisfied, the signal processor outputs a window stain notification signal which notifies there is a possibility that dirt is attached to a window material on a transmitting path of the signal.
9. The distance measuring device according to claim 1, wherein the received signal detector comprises three or more comparators with different thresholds from each other, and three or more reference distances that are different from each other are set in the signal processor.
10. The distance measuring device according to claim 1, wherein the first threshold is higher than a voltage value corresponding to internal noise due to scattered light, and the second threshold is higher than a voltage value corresponding to random sun light noise, random power source noise, or post emission laser noise.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The advantages and features provided by one or more embodiments of the invention will become more fully understood from the detailed description given hereinbelow and the appended drawings which are given by way of illustration only, and thus are not intended as a definition of the limits of the present invention.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
EMBODIMENT FOR CARRYING OUT THE INVENTION
(13) Hereinafter, one or more embodiments of the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to the disclosed embodiments.
(14) An embodiment of the present invention is described with reference to the diagrams. The description below describes an embodiment of the present invention and is not intended to limit the present invention.
(15) The distance measuring devices 1A and 1B according to the present embodiment include components as shown in
(16) The distance measuring devices 1A and 1B according to the present embodiment shown in
(17) The light emitting element 12 is the main section of an emitting unit. According to the present embodiment, a laser diode is applied as the light emitting element 12. According to control by the signal processor 10, the driving circuit 11 applies a driving electric current to the light emitting element 12, and the light emitting element 12 performs pulse light emission and emits a signal. The signal emitted by the light emitting element 12 passes the optical component 13 such as a lens, or a scanning mirror, and the window material 14 to be emitted outside. A portion of the emitted laser beam becomes a scattered light at the optical component 13 and the window material 14 and is not emitted outside. This may enter the light receiving element 15 as internal noise.
(18) The light receiving element 15 is the main portion of the receiving unit. An avalanche photodiode is applied as the light receiving element 15 according to the present embodiment.
(19) The light receiving element 15 receives the signal emitted by the light emitting element 12 and reflected on the subject, and outputs the received signal depending on the received strength. The received signal output by the light receiving element 15 is converted to the voltage signal with the IV converting circuit 16, amplified by the amplifying circuit 17, passes the high pass filter 18 and is input in the comparator 19. The high pass filter 18 removes noise with a lower frequency than the frequency of the signal.
(20) An example of the received signal is shown in
(21) The comparator 19 composes the received signal detector. The comparator 19 includes two channels, and as shown in
(22) As shown in
(23) As the signal processor 10, an integrated circuit such as a FPGA (field-programmable gate array) is applied. The present embodiment employs a FPGA.
(24) The process performed in the distance measuring devices 1A, 1B according to the present embodiment is described below with reference to the flowchart shown in
(25) First, the signal processor 10 outputs the control signal to the driving circuit 11, controls the light emitting element 12 to emit the laser to emit a signal, and starts counting time setting the emitted timing of the signal as the standard (step P1). The signal emitted by the light emitting element 12 passes the optical component 13 such as the lens or the scanning mirror and the window material 14, and is emitted outside.
(26) The light receiving element 15 receives the signal emitted by the light emitting element 12 and reflected by the object and outputs a received signal according to the received strength (step P2).
(27) The received signal output by the light receiving element 15 is input to the comparator 19 through the IV converting circuit 16, amplifying circuit 17, and the high pass filter 18 (step P3).
(28) When the input received signal does not exceed the threshold H (NO in step P4), the ch1 of the comparator 19 does not detect the signal (step P5, “0” in vertical axis of
(29) When the input received signal does not exceed the threshold L (NO in step P7), the ch2 of the comparator 19 does not detect the signal (step P8, “0” in vertical axis of
(30) The signal processor 10 executes the following process by executing a computer program.
(31) In step P10, the signal processor 10 calculates the received timing that the light receiving element 15 received the signal on the basis of the digital signal (S1H, S2H, S3H) generated in the threshold H. The signal processor 10 calculates the distance to the object based on the transmitting time of the signal from the light emitting element 12 passing the object and reaching the light receiving element 15 obtained when the counting of the time setting the emitted timing as the standard ends. The received timing calculated based on the signal S1H is described as “S1Hg”. Similarly, the received timing calculated based on the signal S2H is described as “S2Hg”, and the received timing calculated based on the signal S3H is described as “S3Hg”. In
(32) In step P10, the signal processor 10 calculates the received timing that the light receiving element 15 received the signal on the basis of the digital signal (S1L, S2L, S3L) generated in the threshold L. The signal processor 10 calculates the distance to the object based on the transmitting time of the signal from the light emitting element 12 passing the object and reaching the light receiving element 15 obtained when the counting of the time setting the emitted timing as the standard ends. The received timing calculated based on the signal S1L is described as “S1Lg”. Similarly, the received timing calculated based on the signal S2L is described as “S2Lg”, and the received timing calculated based on the signal S3L is described as “S3Lg”.
(33) According to the present embodiment, step P10 uses the calculating method defining the received timing as a middle point (average value) between the timing that the rising received signal intersects with the threshold and the timing that the falling received signal intersects with the threshold.
(34) In
(35) When the condition that the distance calculated based on the digital signals (S1H, S2H, S3H) generated by the threshold H is farther than the first reference distance D1 is satisfied (YES in step P11), the signal processor 10 determines this distance is a valid value (step P13). When such condition is not satisfied (NO in step P11), the signal processor 10 determines this distance is an invalid value (step P12). When NO in step P11, a window stain notification signal notifying the possibility that there is dirt on the window material 14 is output (step P12).
(36) When the condition that the distance calculated based on the digital signals (S1L, S2L, S3L) generated by the threshold L is farther than the first reference distance D1 is satisfied (YES in step P14), the signal processor 10 advances the process to step P16.
(37) When the condition that the distance calculated based on the digital signals (S1L, S2L, S3L) generated by the threshold L is farther than a second reference distance D2 is satisfied (YES in step P16), the signal processor 10 determines this distance is a valid value (step P18). When NO in step P14 and step P16, the distance is determined to be an invalid value (steps P15, P17). When the determining process reaches at least either one or both of step P13 and step P18, the measured distance is output based on the valid value as described below.
(38) Here, the difference in the technical effect is described considering the number of thresholds set, whether a reference distance is employed, and the number of reference distances. The points are summarized in table 1.
(39) TABLE-US-00001 TABLE 1 FAR DISTANCE, FAR DISTANCE, CLOSE WINDOW DETERMINATION REFERENCE HIGH BRIGHTNESS LOW BRIGHTNESS DISTANCE DIRT COMPARATIVE ONE THRESHOLD ACCURACY POOR UNMEASURABLE UNMEASURABLE UNMEASURABLE EXAMPLE 1 COMPARATIVE PLURALITY OF THRESHOLDS MEASURABLE UNMEASURABLE UNMEASURABLE UNMEASURABLE EXAMPLE 2 PRESENT PLURALITY OF THRESHOLDS, MEASURABLE MEASURABLE UNMEASURABLE MEASURABLE INVENTION ONE REFERENCE DISTANCE EXAMPLE 1 PRESENT PLURALITY OF THRESHOLDS, MEASURABLE MEASURABLE MEASURABLE MEASURABLE INVENTION PLURALITY OF REFERENCE EXAMPLE 2 DISTANCES
(40) First, the comparative example 1 shown in
(41) The comparative example 1 sets one threshold and does not set the reference distance.
(42) According to the comparative example 1 with such conditions, the threshold Th needs to be set higher than the noise N1 as shown in
(43) However, the received timing is calculated by a small amount of information based on one threshold Th. Therefore, the accuracy of the distance measurement is not good.
(44) As shown in
(45) Further, the comparative example 1 does not have reference to determine the window stain.
(46) The comparative example 2 is a configuration which sets a plurality of thresholds and which does not set the reference distance.
(47) According to the comparative example 2 with such conditions, similar to the comparative example 1, the signal S2 from the object which is far and which has a low brightness so that the signal strength becomes only about the same as the noise N1 is not detected discriminated from the noise N1. As a result, the distance to such object cannot be measured.
(48) According to the comparative example 2, the received timing for the object which is far and which has a high brightness can be calculated based on various information, and the distance measurement can be highly accurate.
(49) According to the comparative example 2, there is a possibility that the received timing S3g which is close to the true received timing R1g can be calculated using the information based on the relatively high threshold. However, an error which is not permissible may occur due to the degree of overlapping and the relativity of the size of the ideal signal R1 and the noise N1. Moreover, it is difficult to clarify a standard to determine whether such error is permissible or not.
(50) Further, the comparative example 2 does not have reference to determine the window stain.
(51) The present invention example 1 is a configuration which sets a plurality of thresholds and sets one reference distance. This corresponds to the above-described configuration setting only the first reference distance D1. This also corresponds to the configuration which executes the process which omits steps P16 and P17 in the flowchart shown in
(52) According to such present invention example 1, regarding the object which is far and which has a low brightness, the detected signal can be obtained with at least one relatively low threshold L, the noise N1 is discriminated with the first reference distance D1, and when the distance is farther than the first reference distance D1, the distance calculated with the threshold L is determined to be the valid value. Therefore, the distance can be measured. When the detected signal can be obtained by only one threshold, the distance based on the digital signal generated with this threshold (distance using the determination of step P14) is output as the measured distance.
(53) According to the present invention example 1, regarding the object which is far and which has a high brightness, the received timing can be calculated based on various information, and the distance measurement becomes more accurate.
(54) According to the present invention example 1, when the condition that the distance corresponding to the received timing S3Lg is farther than the first reference distance D1 is satisfied, this distance is to be the valid value. According to the present invention example 1, when the condition that the distance corresponding to the received timing S3Hg is farther than the first reference distance D1 is satisfied, the distance is to be the valid value. When the measured distance is calculated and output based on all valid values, when many errors are included in the distance corresponding to the received timing S3Lg, there is a possibility that an error which is not permissible may occur in the finally output measured distance. Moreover, it is difficult to clarify a standard to determine whether such error is permissible or not.
(55) According to the present invention example 1, it is possible to determine the window stain (step P12).
(56) The present invention example 2 is a configuration which sets a plurality of thresholds and a plurality of reference distances. This corresponds to the above-described configuration setting the first reference distance D1 and the second reference distance D2. This also corresponds to the configuration which executes the process according to the flowchart shown in
(57) According to such present invention example 2, regarding the object which is far and which has a low brightness, the detected signal can be obtained with at least one relatively low threshold L, the noise N1 is discriminated from the second reference distance D2, and when the distance is farther than the second reference distance D2, the distance calculated with the threshold L is determined to be the valid value. Therefore, the distance can be measured. When the detected signal can be obtained by only one threshold, the distance based on the digital signal generated by such threshold (distance used in determining steps P14, P16) is output as the measured distance.
(58) According to the present invention example 2, regarding the object which is far and which has a high brightness, the received timing can be calculated based on various information, and the distance measurement becomes more accurate.
(59) According to the present invention example 2, when the condition that the distance corresponding to the received timing S3Lg is farther than the second reference distance D2 is satisfied, this distance is to be the valid value. According to the present invention example 2, when the condition that the distance corresponding to the received timing S3Hg is farther than the first reference distance D1 is satisfied, this distance is to be the valid value. Even when the measured distance is calculated and output based on all of the valid values, as shown in
(60) According to the present invention example 1, it is possible to determine the unclean window (step P12).
(61) According to the distance measuring devices 1A, 1B of the present embodiment, the distances calculated based on the digital signal generated by the thresholds are considered to be an invalid value at a distance up to the predetermined reference distance D1. Therefore, the influence of the noise N1 which may be erroneously detected as the object at a near distance can be avoided and the distance to the object can be measured with high accuracy. Since the predetermined near distance is determined to be invalid, near distance noise is not picked up even if the threshold is low. Therefore, it is possible to measure the distance to the object which is far and which has a low brightness with high accuracy using the low threshold.
(62) According to the distance measuring devices 1A, 1B of the present embodiment provided with a plurality of thresholds to calculate the received timing, a farther reference distance is provided for a lower threshold. Therefore, the influence of the noise which may be erroneously detected as the near object can be avoided more accurately. Further, by suitably selecting or combining the plurality of thresholds, the distance to the object which is in a range from a near distance to a far distance and which has a high brightness to a low brightness can be measured with high accuracy.
(63) According to the present embodiment, for the ease of description, only two thresholds H, L and two reference distances D1, D2 are shown, but the thresholds and the reference distances can be increased to three or more, and the valid value and the invalid value can be determined with more steps to make a more accurate determination. In this case, as shown in
(64) When the plurality of valid values are obtained, the distance measurement can be made more accurate by selection such as selecting those of the highest threshold, combination such as combining the valid values by weighting, or selection of a plurality of the above and combination of the above. The method of calculation is not limited.
(65) According to the above-described embodiment, after determination as the valid value or invalid value for the distance calculated based on the digital signal generated with the thresholds, the measured distance is calculated based on the distance as the valid value. Alternatively, after determination as the valid value or invalid value for transmitting time calculated based on the digital signal generated with the thresholds, the measured distance can be calculated based on the valid value of the transmitting time. That is, in calculating the final measured distance, the step converting the transmitting distance to the distance can be included at any point, and the point of time that this step is performed is not crucial to the essence of the present invention.
(66) Although embodiments of the present invention have been described and illustrated in detail, the disclosed embodiments are made for purposes of illustration and example only and not limitation. The scope of the present invention should be interpreted by terms of the appended claims.
INDUSTRIAL APPLICABILITY
(67) The present invention can be used in a distance measuring device.
DESCRIPTION OF REFERENCE NUMERALS
(68) 1A, 1B distance measuring device
(69) 10 signal processor
(70) 11 driving circuit
(71) 12 light emitting element
(72) 13 optical component
(73) 14 window material
(74) 15 light emitting element
(75) 16 IV converting circuit
(76) 17 amplifying circuit
(77) 18 high pass filter
(78) 19 comparator
(79) 20 DA converter
(80) D1-D5 reference distance
(81) H threshold
(82) L threshold
(83) N1 noise
(84) R1 ideal signal
(85) R1g received timing
(86) S1 received signal
(87) S2 received signal
(88) S3 received signal
(89) S1H, S2H, S3H digital signal (detected signal)
(90) S1L, S2L, S3L digital signal (detected signal)
(91) S1Hg received timing
(92) S1Lg received timing
(93) S2Lg received timing
(94) S3Hg received timing
(95) S3Lg received timing
(96) Th threshold
(97) S3g received timing