Ranging sensor device and electronic apparatus
The sensor device addresses distance measurement errors by controlling the drive current to minimize multimode laser light, ensuring accurate distance measurements on various surface types.
Patent Information
- Application Number
- JP2023039052
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-27
AI Technical Summary
Distance measurement errors occur due to the mixture of single-mode and multi-mode laser light reflections from specular and non-specular surfaces, leading to inaccuracies in distance measurement values.
A distance measurement sensor device with a drive control unit that limits the drive current of the light emitting element to reduce the proportion of multimode laser light, using a configuration that includes a light emitting element, a first light receiving element for reflected light, and a second light receiving element for reference light, along with a measurement unit and control section to adjust the drive current based on the measured distance and surface type.
Reduces errors in distance measurement by minimizing the variation in the period from emission to incidence, allowing for accurate distance calculations and increased measurable distance while maintaining precision.
Smart Images

Figure 2024129696000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a distance measurement sensor device and an electronic device. [Background technology]
[0002] There is known a distance measuring sensor device that emits light toward an object, receives reflected light from the object, and measures the distance to the object based on the period from emission to reception. For example, a laser range finder described in Patent Document 1 projects intensity-modulated laser light emitted from a semiconductor laser element onto the object, and detects the reflected light of the laser light by a light receiving sensor via a color filter and a lens. The laser range finder measures the distance to the object using the phase difference between the light detected by the light receiving sensor and the laser light.
[0003] For example, Fig. 26 is a cross-sectional view showing an overview of the optical sensor described in Patent Document 2. As shown in Fig. 26, an optical sensor 1000 includes a light emitting element 1002, a first light receiving element 1003, and a second light receiving element 1004 provided on a substrate 1001 made of, for example, a semiconductor. The light emitting element 1002 is made of, for example, a surface emitting semiconductor laser element such as a VCSEL (Vertical Cavity Surface Emitting Laser), and emits a portion 1037 of light toward a detection object 1010.
[0004] The first light receiving element 1003 and the second light receiving element 1004 are, for example, a SPAD (Single Photon Avalanche Diode) or the like. The first light receiving element 1003 is a detection light receiving element 1003 that receives reflected light 1038, which is a part 1037 of light emitted from the light emitting element 1002 and reflected by the detected object 1010. The second light receiving element 1004 is a monitor light receiving element 1004 that receives a part 1039 of light (direct light) emitted from the light emitting element 1002 as a detection reference. The optical sensor 1000 calculates the distance to the detected object 1010 by measuring the period from the time when the second light receiving element 1004 receives the part 1039 of the direct light to the time when the light receiving element 1003 receives the reflected light 1038.
[0005] Laser light can be classified into a single mode, which oscillates in a single mode, and a multimode, which oscillates in multiple modes. Single-mode laser light is laser light with a single wavelength. Multi-mode laser light is laser light with multiple wavelengths. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Japanese Utility Model Application Publication No. 7-29488 [Patent Document 2] JP 2019-133961 A Summary of the Invention [Problem to be solved by the invention]
[0007] While single-mode laser light is a straight-line component of laser light, multi-mode laser light is a component that becomes ambient light. For this reason, the following problems arise in distance measurement using the above-mentioned device.
[0008] That is, when the surface of the object is a mirror surface, only the single mode laser light is incident on the light receiving element. On the other hand, when the surface of the object is uneven (also called a non-mirror surface), the surface (non-mirror surface) causes diffuse reflection. When diffuse reflection occurs, the single mode laser light, which is the linear component of the laser light, and the multi-mode laser light, which is the ambient light, are mixed and incident on the light receiving element. Therefore, an error occurs in the distance measurement when the surface of the object is a mirror surface and when the surface is a non-mirror surface.
[0009] One aspect of the present disclosure aims to reduce errors in distance measurement values in the distance measuring sensor device. [Means for solving the problem]
[0010] In order to solve the above problems, a distance measuring sensor device according to one embodiment of the present disclosure includes a light-emitting element that emits laser light toward an object, a light-receiving element into which reflected light from the object is incident, a measurement unit that measures the distance to the object based on the period from the time of emission from the light-emitting element to the time of incidence on the light-receiving element, and a drive control unit that controls the drive of the light-emitting element and limits the drive current of the light-emitting element. Effect of the Invention
[0011] According to one aspect of the present disclosure, it is possible to reduce errors in distance measurement values in a distance measuring sensor device. [Brief description of the drawings]
[0012] [Figure 1] 1 is a schematic cross-sectional view illustrating an overview of a distance measuring sensor device according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a block diagram showing a schematic configuration of the distance measuring sensor device. [Diagram 3] 1 is a cross-sectional view showing laser light emitted from a surface-emitting semiconductor laser element. [Figure 4] 1 is a schematic diagram showing how light emitted from the distance measuring sensor device is mirror-reflected by a mirror body, which is an object, and enters the distance measuring sensor device. [Diagram 5] 1 is a schematic diagram showing how light emitted from the distance measuring sensor device is diffusely reflected by a non-specular object, which is an object, and enters the distance measuring sensor device. [Figure 6] 5 is a graph showing the change over time in wavelength and relative luminous intensity of a laser light emitted by a light-emitting element of the distance measuring sensor device. [Figure 7] 11 is a graph showing the relationship between the drive current and the output of the laser light for the light emitting element. [Figure 8] 10 is a graph showing a relationship between a side mode suppression ratio of the laser light and an error in a measurement value calculated by a measurement unit of the distance measuring sensor device. [Figure 9] FIG. 13 is a block diagram showing a schematic configuration of a modified example of the distance measuring sensor device. [Figure 10] 1 is a graph showing the relationship between the distance to an object and the error in the measurement value of the distance. [Figure 11] 5 is a flowchart showing a flow of a process for measuring a distance to an object in the distance measuring sensor device. [Figure 12] FIG. 13 is a block diagram showing a schematic configuration of a distance measuring sensor device according to another embodiment of the present disclosure. [Figure 13] 6 is a graph showing an example of a histogram created by a histogram counter in the distance measuring sensor device. [Figure 14] 10 is a graph showing a histogram used by a distance calculation unit in the distance measuring sensor device to calculate a distance to an object. [Figure 15] 6 is a flowchart showing a process flow in the distance calculation unit. [Figure 16] 13 is a graph showing a histogram used by a distance calculation section in the modified example of the distance measuring sensor device to calculate the distance. [Figure 17] 10 is a flowchart showing a process flow of a distance calculation unit in the modified example. [Figure 18] FIG. 13 is a block diagram showing a schematic configuration of a distance measuring sensor device according to still another embodiment of the present disclosure. [Figure 19] 10 is a graph showing another example of a histogram created by a histogram counter in the distance measuring sensor device. [Figure 20] 13 is a graph showing yet another example of a histogram created by the histogram counter. [Figure 21] 5 is a flowchart showing a flow of a process for measuring a distance to an object in the distance measuring sensor device. [Figure 22] FIG. 13 is a block diagram showing a schematic configuration of a distance measuring sensor device according to still another embodiment of the present disclosure. [Diagram 23] 10 is a schematic diagram showing an example in which reflected light from a mirror body is incident on two first light receiving elements in the distance measuring sensor device. FIG. [Figure 24]10 is a schematic diagram showing an example in which reflected light from a non-specular body is incident on the two first light receiving elements. FIG. [Diagram 25] 5 is a flowchart showing a flow of a process for measuring a distance to an object in the distance measuring sensor device. [Figure 26] FIG. 1 is a cross-sectional view showing an overview of a conventional optical sensor. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, embodiments of the present disclosure will be described in detail. For convenience of explanation, the same reference numerals will be used to designate members having the same functions as those in the embodiments, and the description thereof will be omitted as appropriate.
[0014] [Embodiment 1] An embodiment of the present disclosure will be described with reference to FIGS.
[0015] (Outline of distance measurement sensor device) 1 is a schematic cross-sectional view showing an overview of a distance measuring sensor device 1 according to this embodiment. The distance measuring sensor device 1 of this embodiment is a ToF (Time of Flight) sensor. The distance measuring sensor device 1 is used in any electronic device whose operation is controlled according to the distance to an object, such as a cleaning robot.
[0016] As shown in FIG. 1, the distance measuring sensor device 1 includes a light emitting element 2, a reference optical filter KS, a return optical filter KR, a condenser lens CL, a light shielding wall SH, a first light receiving element 3, and a second light receiving element 4. The light emitting element 2 emits a pulsed laser light. A part of the laser light is incident on the second light receiving element 4 via the reference optical filter KS. The rest of the laser light is reflected on the surface of the object OBJ and is incident on the first light receiving element 3 via the condenser lens CL and the return optical filter KR. Therefore, the first light receiving element 3 is an element that receives the return light of the laser light. The second light receiving element 4 is an element that receives reference light that serves as a reference for the return light.
[0017] The light emitting element 2 includes a laser light source and a drive circuit for driving the laser light source. The laser light source is a surface emitting semiconductor laser element such as a VCSEL (Vertical Cavity Surface Emitting Laser). The laser light may be visible light or infrared light.
[0018] The first light receiving element 3 includes a photoelectric element that converts the incident return light into an electrical signal (return signal). The second light receiving element 3 includes a photoelectric element that converts the incident reference light into an electrical signal (reference signal). The photoelectric element is, for example, a SPAD (Single Photon Avalanche Diode). The photoelectric element may be one or more. The photoelectric element may be a line sensor arranged one-dimensionally, or an image sensor arranged two-dimensionally.
[0019] 2 is a block diagram showing a schematic configuration of the distance measuring sensor device 1. As shown in FIG.
[0020] The measurement unit 5 measures the distance from the distance measuring sensor device 1 to the object OBJ based on signals from the first light receiving element 3 and the second light receiving element 4. The measurement unit 5 includes a TDC (Time-to-Digital Converter) 11 and a histogram counter 12.
[0021] The TDC 11 measures the time difference between the edges of the return signal from the first light receiving element 3 and the reference signal from the second light receiving element 4, and outputs the measured time difference as a digital signal. The edge of the reference signal from the second light receiving element 4 corresponds to the emission time of the light emitting element 2, and the edge of the return signal from the first light receiving element 3 corresponds to the incidence time of the first light receiving element 3. The histogram counter 12 creates a histogram of the time difference based on the digital signal from the TDC 11.
[0022] The control unit 6 controls the operation of each unit of the distance measuring sensor device 1. The control unit 6 may include, for example, an arithmetic processing unit such as a CPU (Central Processing Unit) or a dedicated processor. The control unit 6 may include a PLA (Programmable Logic Array). The control unit 6 includes a distance calculation unit 21 (measurement unit) and a drive control unit 22.
[0023] The distance calculation unit 21 calculates a measurement value of the distance to the object OBJ based on a histogram (time distribution) of the time differences by the histogram counter 12. For example, the distance calculation unit 21 may calculate a center position of the histogram of the time differences and calculate the measurement value of the distance based on the center position. The measurement value of the distance calculated by the distance calculation unit 21 is output to the outside of the distance measuring sensor device 1 by an I2C interrupt (I2C).
[0024] The drive control unit 22 controls the drive of the light-emitting element 2. Specifically, the drive control unit 22 controls the light-emitting element 2 so that the light-emitting element 2 emits pulsed laser light at a set timing and output.
[0025] (About laser light) FIG. 3 is a cross-sectional view showing a laser light emitted from a surface-emitting semiconductor laser element such as a VCSEL. When the driving current IF is increased, the laser light L transitions from the single mode shown in the upper part of FIG. 3 to the multimode shown in the lower part of FIG. 3. In the single mode, the laser light L includes fundamental laser light L1 (hereinafter referred to as "single mode light L1"). Therefore, the wavelength distribution of the single mode laser light L has one peak. On the other hand, in the multimode, the laser light L includes single mode light L1 and harmonic laser light L2 (hereinafter referred to as "multimode light L2"). Therefore, the wavelength distribution of the multimode laser light L has multiple peaks.
[0026] Furthermore, as shown in the lower part of FIG. 3, in the case of multimode, the central part of the laser light L is single mode light L1, and the outer periphery of the laser light L is multimode light L2.
[0027] (When the object reflects specularly) Fig. 4 is a schematic diagram showing how light emitted from the distance measuring sensor device 1 is mirror-reflected by a mirror body M, which is an object, and enters the distance measuring sensor device 1. Note that Fig. 4 is the result of an optical simulation, and the light entering the first light receiving element 3 is shown by a solid line.
[0028] As can be seen from Fig. 4, of the laser light L emitted from the light emitting element 2, the single mode light L1 is mirror-reflected by the mirror body M and enters the first light receiving element 3. On the other hand, since the multimode light L2 is located on the outer periphery of the laser light L, it does not enter the first light receiving element 3 after being mirror-reflected by the mirror body M. Therefore, the histogram generated by the measurement unit 5 contains only the single mode light L1. As a result, the distance from the distance measuring sensor device 1 to the mirror body M can be measured with high accuracy.
[0029] (When diffuse reflection occurs on the target object) Fig. 5 is a schematic diagram showing how light emitted from the distance measuring sensor device 1 is diffusely reflected by a non-specular object NM, which is an object, and enters the distance measuring sensor device. Note that Fig. 5 is the result of an optical simulation, and only the line of light entering the first light receiving element 3 is shown.
[0030] 5, when the object is a non-specular body NM, both the single mode light L1 and the multimode light L2 of the laser light L emitted from the light emitting element 2 are incident on the first light receiving element 3. Therefore, the histogram generated by the measurement unit 5 includes not only the single mode light L1 but also the multimode light L2. As a result, when the object is a non-specular body NM, the variation in the histogram becomes larger than when the object is a specular body M, and as a result, the error in the distance from the distance measuring sensor device 1 to the non-specular body M becomes larger.
[0031] In distance measurement using conventional ToF sensors, there was a problem that the variation in the optical path length from the light-emitting element through the object to the light-receiving element would cause errors in the measured value of the distance to the object. If the object is non-specular, that is, if the object has an uneven surface, a single-path reflected light due to direct reflection from the object and a multi-path reflected light due to multiple reflections reach the light-receiving element. On the other hand, if the object is specular, only a single-path reflected light due to direct reflection from the light-emitting element to the object reaches the light-receiving element. Therefore, the presence or absence of multi-paths causes differences in the measured distance.
[0032] However, the inventors of the present application noticed that when they actually performed measurements, there was a difference in the measured values that was greater than the difference thought to be caused by the reflected light of the multipath. The inventors of the present application investigated the cause and identified it as follows.
[0033] Fig. 6 is a graph showing the change over time in the wavelength and relative luminous intensity of the laser light L incident on the first light receiving element 3 of the distance measuring sensor device 1. In the example of Fig. 6, the drive current IF of the laser light L is 15 mA. In the graph of Fig. 6, single mode light L1 having a wavelength of 939.1 nm or more is emitted for about 0.75 ns. In addition, about 0.5 ns after the emission of the single mode light L1 starts, the emission of multimode light L2 having a wavelength shorter than 939.1 nm starts.
[0034] Due to this delay, the laser light L including multimode light L2 has a larger variation in the period from the emission time to the incidence time compared to the laser light L not including multimode light L2. Therefore, the laser light L including multimode light L2 has a larger variation in the histogram compared to the laser light L not including multimode light L2, and as a result, the error in the measurement value of the distance from the distance measuring sensor device 1 to the object OBJ becomes larger.
[0035] The error in the measured distance due to the optical path length is about several mm, while the error in the measured distance due to the inclusion of multimode light L2 is, for example, about 10 cm. To give a specific example, when the delay of multimode light L2 relative to single mode light L1 is 1 ns, the error in the measured distance is about 15 cm. Also, when the delay of multimode light L2 relative to single mode light L1 is 0.75 ns, the error in the measured distance is about 11.25 cm.
[0036] FIG. 7 is a graph showing the relationship between the drive current IF and the output of the laser light L for the light-emitting element 2. As shown in FIG. 7, as the drive current IF increases from 0, the output increases. At this time, the laser light L contains only single-mode light L1. When the drive current IF reaches a certain threshold TH, the output becomes constant. At this time, multimode light L2 begins to appear in the laser light L. When the drive current IF passes the threshold TH, the output decreases once and then increases again. At this time, the proportion of multimode light L2 in the laser light L increases. Therefore, it can be said that the threshold TH is a current value at which the proportion of multimode light L2 in the laser light L is small.
[0037] Therefore, in the distance measuring sensor device 1 of this embodiment, the drive control unit 22 limits the drive current of the light emitting element 2 to be equal to or less than the threshold value TH. In this case, the proportion of the multimode light L2 in the laser light L is small or zero. This makes it possible to reduce the variation in the period from the emission time to the incidence time. Therefore, it is possible to reduce the variation in the histogram, and as a result, it is possible to reduce the error in the measured distance value calculated by the distance calculation unit 21.
[0038] (Modification 1 of the first embodiment) 8 is a graph showing the relationship between the side mode suppression ratio (SMSR) of the laser light L and the error (deviation from the true value) of the measurement value calculated by the distance calculation unit 21. The SMSR indicates the intensity ratio between the peak (main mode) with the maximum spectral intensity and the second largest peak (side mode) in the laser light L. The main mode corresponds to the single mode light L1, and the side mode corresponds to the multimode light L2.
[0039] As shown in FIG. 8, as the drive current IF decreases, the SMSR increases and the error of the above-mentioned measured value decreases. Therefore, the drive control unit 22 may limit the drive current IF to 8 mA or less so that the SMSR is 17 dBm or more. The threshold value TH of the drive current IF may be the value of the drive current IF at the point when the rate of decrease of the SMSR starts to decrease when the drive current IF continues to increase. In this way, the drive current IF that reduces the proportion of the multimode light L2 in the laser light L can be determined by various methods. The fact that the proportion of the multimode light L2 in the laser light L is low can be determined from the SMSR. For example, if the SMSR is 15 dBm or more, it may be determined that the above-mentioned proportion is low.
[0040] The graph in Fig. 8 uses data when the distance between the distance measuring sensor device 1 and the target object is 3 cm. The graph in Fig. 8 changes depending on the characteristics of the laser used. Therefore, the lower limit of the SMSR and the upper limit of the drive current IF may be adjusted for each distance to be measured, or may be adjusted for each light-emitting element 2.
[0041] (Modification 2 of the first embodiment) Another modified example of this embodiment will be described with reference to FIGS.
[0042] Fig. 9 is a block diagram showing a schematic configuration of a distance measuring sensor device 1 according to this modification. The distance measuring sensor device 1 shown in Fig. 9 differs from the distance measuring sensor device 1 shown in Fig. 1 to Fig. 7 in that a distance calculation unit 21a is provided instead of the distance calculation unit 21 and a drive control unit 22a is provided instead of the drive control unit 22, but the other configurations are the same.
[0043] Fig. 10 is a graph showing the relationship between the distance to the object and the error (deviation from the true value) of the measured value of the distance. In the graph of Fig. 10, the vertical axis shows the error of the measured value as a percentage (%) of the true value. In the graph of Fig. 10, the solid line shows the case where the drive current IF is 15 mA, and the dashed line shows the case where the drive current IF is 31 mA.
[0044] 10, when the distance to the object is 35 mm or less, the error in the measured distance is smaller when the drive current IF is 15 mA than when the drive current IF is 35 mA. On the other hand, when the distance to the object is longer than 35 mm, the error in the measured distance is the same when the drive current IF is 15 mA and when the drive current IF is 35 mA.
[0045] This is thought to be due to the following reasons. That is, the error in the measurement value due to the presence of multimode light L2 does not depend on the distance to the object. Also, as the distance to the object increases, the measurement value increases, and therefore, even if the measurement is performed with laser light L including multimode light L2, the ratio of the above-mentioned error to the measurement value becomes smaller.
[0046] 10, when the driving current IF is 15 mA, the upper limit of the measurable distance is 70 mm. On the other hand, when the driving current IF is 35 mA, the output of the laser light from the light-emitting element 2 is approximately twice as much as when the driving current IF is 15 mA, and the upper limit of the measurable distance extends to 100 mm.
[0047] Therefore, in this modification, the distance calculation unit 21a sends the detection value of the distance from the distance measuring sensor device 1 to the target object to the drive control unit 22a. The detection value of the distance may be any value indicating the distance, for example, it may be the center of gravity of the histogram of the time difference, the measured value of the distance, or the value before being corrected to the measured value.
[0048] If the detection value from the distance calculation unit 21a is smaller than the set value, the drive control unit 22a limits the drive current IF to a current value at which the proportion of multimode light L2 in the laser light L is small. On the other hand, if the detection value is larger than the set value, the drive control unit 22a does not limit the drive current IF. Furthermore, if the drive control unit 22a does not change the drive current IF, it determines that the drive current IF is appropriate and notifies the distance calculation unit 21a to that effect. Upon receiving the notification from the drive control unit 22a, the distance calculation unit 21a outputs the measured distance value to the outside.
[0049] This makes it possible to increase the measurable distance. Furthermore, as the measured value increases, the ratio of the error in the measured value due to the presence of multimode light L2 to the measured value decreases. As a result, it is possible to increase the measurable distance while maintaining the measurement accuracy. Note that the detected value of the distance only needs to have an accuracy that can be used by the drive control unit 22a to determine whether or not to limit the drive current IF. Therefore, the detected value of the distance may be a rough value of the measured value of the distance, or may be a rough center position of the histogram of the time difference.
[0050] FIG. 11 is a flowchart showing the flow of the process of measuring the distance to the object in the distance measuring sensor device 1 having the above configuration. In the initial setting, the drive control unit 22a does not limit the drive current IF. This causes the light emitting element 2 to emit the laser light L including the multimode light L2. As shown in FIG. 11, first, the distance calculation unit 21a calculates a detection value of the distance to the object (S11). Next, the drive control unit 22a judges whether the detection value is greater than (set value-α) (S12), where α is an appropriate constant. If the detection value is greater than (set value-α) (YES in S12), the process proceeds to step S17.
[0051] On the other hand, if the detected value is equal to or less than the set value -α (NO in S12), the drive control unit 22a determines that the distance to the object is close, and limits the drive current IF (S13). This causes the light-emitting element 2 to emit laser light L with a low proportion of multimode light L2. Next, the distance calculation unit 21a calculates the detected value of the distance to the object (S14).
[0052] Next, the drive control unit 22a judges whether the detected value is smaller than (set value + α) (S15). If the detected value is smaller than (set value + α) (YES in S15), the process proceeds to step S17. On the other hand, if the detected value is equal to or larger than (set value + α) (NO in S15), the drive control unit 22a judges that the distance to the target object is far and releases the restriction on the drive current IF (S16). Then, the process returns to step S11 and repeats the above process.
[0053] In step S17, the distance calculation unit 21a judges that the control of the drive current IF by the drive control unit 22a is appropriate, and outputs the measured value of the distance to the outside of the distance measuring sensor device 1. As a result, the measured value of the distance to the object is output to the outside. Note that the above α is provided to prevent the drive control unit 22a from frequently repeating the application and release of the limit of the drive current IF when the detection value is close to the set value. In the example of FIG. 10, the set value is 35 mm, and the above α is 5 mm.
[0054] [Embodiment 2] Another embodiment of the present disclosure will be described with reference to FIGS.
[0055] Fig. 12 is a block diagram showing a schematic configuration of a distance measuring sensor device 1 according to this embodiment. The distance measuring sensor device 1 shown in Fig. 12 differs from the distance measuring sensor device 1 shown in Figs. 1 to 7 in that a distance calculation unit 21b is provided instead of the distance calculation unit 21 in the control unit 6, but the other configurations are the same.
[0056] Fig. 13 is a graph showing an example of a histogram created by the histogram counter 12. The example of Fig. 13 shows a case where the light emitting element 2 emits laser light L including multimode light L2.
[0057] As shown in Fig. 13, the front half of the histogram TD2 related to the multimode light L2 overlaps with the rear half of the histogram TD1 related to the single mode light L1. For this reason, the center of gravity of the histograms shown in Fig. 13 is shifted backward from the center of gravity of the histogram TD1. Note that the histogram TDn, which always contains a constant amount of signal, is a histogram of a noise signal.
[0058] Therefore, in this embodiment, the distance calculation unit 21b calculates a measurement value of the distance to the object using a histogram having a signal amount (frequency) higher than a reference value. The reference value is, for example, a value higher than the peak value of the histogram TD2 of the multimode light L2. The reference value may be determined, for example, by using an object with low reflectance. The reference value may be, for example, 1 / 2 the peak value of the histogram TD1 of the single mode light L1. The low reflectance may be, for example, 5%.
[0059] Fig. 14 is a graph showing a histogram used by the distance calculation unit 21b in this embodiment to calculate the distance. It can be seen that the histogram TD2 relating to the multimode light L2 is excluded from the histogram TD3 shown in Fig. 14. This makes it possible to reduce the spread of the histogram variation. As a result, it is possible to reduce errors in the distance measurement values.
[0060] Fig. 15 is a flow chart showing a process flow of the distance calculation unit 21b in the distance measuring sensor device 1 having the above configuration. As shown in Fig. 15, the distance calculation unit 21b first acquires the histogram (see Fig. 13) created by the histogram counter 12 (S21). Next, the distance calculation unit 21b calculates a measurement value of the distance to the object using a histogram having a signal amount (frequency) higher than a reference value among the above histograms (S22). Then, the distance calculation unit 21b outputs the measurement value of the distance to the outside (S23). After that, the process in the distance calculation unit 21b ends.
[0061] (Modification of the second embodiment) In this modification, the distance calculation unit 21b can delete the histogram TD2 of the multimode light L2 by limiting the signal region of the histogram created by the histogram counter 12. A specific example of limiting the signal region is when the histogram created by the histogram counter 12 is 7 bins, and the like is reduced from 7 bins to 5 bins.
[0062] Fig. 16 is a graph showing a histogram used by the distance calculation unit 21b in this modification to calculate the distance. It can be seen that the histogram TD4 shown in Fig. 16 excludes most of the histogram TD2 related to the multimode light L2. This makes it possible to reduce the spread of variation in the histogram. As a result, it is possible to reduce errors in the distance measurement values.
[0063] Fig. 17 is a flowchart showing the flow of processing by the distance calculation unit 21b in the above modification. As shown in Fig. 17, the distance calculation unit 21b first acquires the histogram (see Fig. 13) created by the histogram counter 12 (S21). Next, the distance calculation unit 21b calculates a measurement value of the distance to the object using several histograms, centered around the histogram with the maximum signal amount, among the above histograms (S24). Then, the distance calculation unit 21b outputs the measurement value of the distance to the outside (S23). After that, the processing in the distance calculation unit 21b ends.
[0064] [Embodiment 3] Another embodiment of the present disclosure will be described with reference to FIGS.
[0065] Fig. 18 is a block diagram showing a schematic configuration of a distance measuring sensor device 1 according to this embodiment. The distance measuring sensor device 1 shown in Fig. 18 differs from the distance measuring sensor device 1 shown in Figs. 1 to 7 in that a distance calculation unit 21c is provided instead of the distance calculation unit 21 and a drive control unit 22c is provided instead of the drive control unit 22, but the other configurations are the same.
[0066] Fig. 19 is a graph showing another example of a histogram created by the histogram counter 12. The example of Fig. 19 shows a case where the object is a specular body M and the distance measuring sensor device 1 and the specular body M face each other. In the example of Fig. 19, the histogram TD1 for the single mode light L1 is significantly larger than when the object is a non-specular body NM.
[0067] Fig. 20 is a histogram showing yet another example of the histogram created by the histogram counter 12. The example of Fig. 20 shows a case where the object is a specular body M and the distance measuring sensor device 1 and the specular body M are not opposed to each other, that is, the surface of the distance measuring sensor device 1 facing the specular body M and the surface of the specular body M facing the distance measuring sensor device 1 are not parallel to each other. In the example of Fig. 20, the histogram TD1 for the single mode light L1 is significantly smaller than that of the example of Fig. 19.
[0068] Therefore, in this embodiment, the distance calculation unit 21c judges whether the object is a specular body M or a non-specular body NM based on whether the peak value (maximum value) of the signal amount of the histogram acquired from the histogram counter 12 is included within a set range. If the peak value of the signal amount of the histogram is within the set range, the object is judged to be a non-specular body NM, whereas if the peak value is outside the set range, the object is judged to be a specular body M. The upper limit of the set range is, for example, the peak value (5000) of the signal amount of the histogram shown in FIG. 19. The lower limit of the set range is, for example, the peak value (100) of the signal amount of the histogram shown in FIG. 20.
[0069] FIG. 21 is a flowchart showing the flow of the measurement process of the distance to the object in the distance measuring sensor device 1 having the above configuration. In this embodiment, the measurement unit 5 and the distance calculation unit 21c measure the above distance assuming that the object is a non-specular body NM. For this reason, if the object is assumed to be a specular body M, at least one of the measurement unit 5 and the distance calculation unit 21c needs to be corrected to obtain the measured value of the above distance. The measurement unit 5 and the distance calculation unit 21c may measure the above distance assuming that the object is a specular body M. In that case, if it is determined in a later process that the object is a non-specular body NM, at least one of the measurement unit 5 and the distance calculation unit 21c needs to be corrected to obtain the measured value of the above distance.
[0070] As shown in Fig. 21, first, the drive control unit 22c releases the limit on the drive current IF (S31). This causes the light-emitting element 2 to emit laser light L including multimode light L2. Next, the distance calculation unit 21c acquires the signal amount of the histogram of the signal region from the histogram counter 12 (S32). Next, the distance calculation unit 21c calculates a detection value of the distance to the object (S33). Note that the detection value is the same as the detection value in Modification 2 of the first embodiment.
[0071] Next, the distance calculation unit 21c judges whether the detected distance value is greater than (set value-α) (S34), where α is an appropriate constant as described above. If the detected distance value is greater than (set value-α) (YES in S34), the distance calculation unit 21c judges whether the peak value of the signal amount of the histogram is within a set range (S35).
[0072] If the peak value of the signal amount is within the set range (YES in S35), the distance calculation unit 21c calculates the measurement value of the distance to the object (S36). At this time, it is preferable that the distance calculation unit 21c assumes that the object is a non-specular body NM. In this case, correction is not required to obtain the measurement value of the distance. Therefore, for example, the distance calculation unit 21c may calculate the measurement value of the distance using the signal amount of the histogram acquired in step S32. Alternatively, if the detection value is a value before being corrected to the measurement value, the distance calculation unit 21c may set the detection value calculated in step S33 as the measurement value. Then, the process proceeds to step S45.
[0073] On the other hand, if the peak value of the signal amount is outside the set range (NO in S35), the measurement unit 5 and the distance calculation unit 21c calculate the measured value of the distance to the object (S37). At this time, it is preferable that the distance calculation unit 21c assumes that the object is a mirror body M, and it is preferable to perform correction to obtain the measured value of the distance. Therefore, for example, the measurement unit 5 and the distance calculation unit 21c may appropriately change various parameters required for calculating the measured value, and then calculate the measured value of the distance based on the signals from the first light receiving element 3 and the second light receiving element 4. Alternatively, if the detected value is a value before being corrected to the measured value, the distance calculation unit 21c may correct the detected value calculated in step S33 and use the corrected value as the measured value. Then, proceed to step S45.
[0074] In step S34, if the detected distance value is equal to or less than (set value-α) (NO in S34), the drive control unit 22c determines that the distance to the object is close, and limits the drive current IF (S38). This causes the light-emitting element 2 to emit laser light L with a low proportion of multimode light L2. Next, the distance calculation unit 21c obtains the signal amount of the histogram of the signal region from the histogram counter 12 (S39). Next, the distance calculation unit 21c calculates the detected distance value to the object (S40).
[0075] Next, distance calculation unit 21c judges whether the detected value of the distance is smaller than (set value + α) (S41). If the detected value of the distance is equal to or larger than (set value + α) (NO in S41), the process returns to step S31.
[0076] On the other hand, if the detected value of the distance is smaller than (set value+α) (YES in S41), the distance calculation unit 21c judges whether or not the peak value of the signal amount of the histogram is within the set range (S42). If the peak value of the signal amount is within the set range (YES in S42), the distance calculation unit 21c calculates the measured value of the distance to the object (S43). At this time, it is preferable that the distance calculation unit 21c assumes that the object is a non-specular body NM. In this case, correction is not required to obtain the measured value of the distance. Therefore, for example, the distance calculation unit 21c may calculate the measured value of the distance using the signal amount of the histogram acquired in step S39. Alternatively, if the detected value is a value before being corrected to the measured value, the distance calculation unit 21c may set the detected value calculated in step S40 as the measured value. Then, the process proceeds to step S45.
[0077] On the other hand, if the peak value of the signal amount is outside the set range (NO in S42), the distance calculation unit 21c calculates the measured value of the distance to the object (S44). At this time, it is preferable that the distance calculation unit 21c assumes that the object is a mirror body M, and performs correction to obtain the measured value of the distance. Therefore, for example, the measurement unit 5 and the distance calculation unit 21c may appropriately change various parameters required for calculating the measured value, and then calculate the measured value of the distance based on the signals from the first light receiving element 3 and the second light receiving element 4. Alternatively, if the detected value is a value before being corrected to the measured value, the distance calculation unit 21c may correct the detected value calculated in step S40 and use the corrected value as the measured value. Then, the process proceeds to step S45.
[0078] In step S45, the distance calculation unit 21c outputs the measured distance value to the outside of the distance measuring sensor device 1. After that, the process ends.
[0079] (Notes) The amount of the received light signal is inversely proportional to the square of the optical path length. Therefore, the set range may be changed according to the measured distance. In this embodiment, the peak value of the signal amount of the histogram is determined to be within the set range, but it may be determined to be within the set range by the total value of the signal amount of the histogram.
[0080] [Embodiment 4] Another embodiment of the present disclosure will be described with reference to FIGS.
[0081] FIG. 22 is a block diagram showing a schematic configuration of the distance measuring sensor device 1 according to this embodiment. The distance measuring sensor device 1 shown in FIG. 22 is different from the distance measuring sensor device 1 shown in FIGS. 1 to 7 in that a plurality of first light receiving elements 3 are provided, a distance calculation unit 21d is provided instead of the distance calculation unit 21, and a drive control unit 22d is provided instead of the drive control unit 22, but the other configurations are the same. In this embodiment, the first light receiving element 3a and the first light receiving element 3b are provided adjacent to each other. Note that the first light receiving element 3a and the first light receiving element 3b only need to be located in positions where they can receive the laser light source emitted from the light emitting element 2 provided in the distance measuring sensor device 1, and they do not necessarily need to be adjacent to each other. The first light receiving element 3a is provided on the side closer to the light emitting element 2, and the first light receiving element 3b is provided on the side farther from the light emitting element 2.
[0082] 2 and 3, it can be seen that the direction of the reflected light incident on the first light receiving element 3 from the specular body M is different from the direction of the main reflected light incident on the first light receiving element 3 from the non-specular body NM.
[0083] Fig. 23 is a schematic diagram showing an example in which reflected light from a specular body M is incident on the first light receiving element 3a and the first light receiving element 3b. Fig. 24 is a schematic diagram showing an example in which reflected light from a non-specular body NM is incident on two first light receiving elements 3. As shown in Fig. 23, when the object is a specular body M, more reflected light from the specular body M is incident on the first light receiving element 3b than on the first light receiving element 3a. On the other hand, as shown in Fig. 24, when the object is a non-specular body NM, more reflected light from the specular body M is incident on the first light receiving element 3a than on the first light receiving element 3b.
[0084] Therefore, in this embodiment, the distance calculation unit 21d compares the amount of the light receiving signal from the first light receiving element 3a with the amount of the light receiving signal from the first light receiving element 3b. Specifically, the distance calculation unit 21d compares the amount A of the histogram related to the first light receiving element 3a with the amount B of the histogram related to the first light receiving element 3b. If the amount A of the histogram related to the first light receiving element 3a is greater than the amount B of the histogram related to the first light receiving element 3b, the distance calculation unit 21d determines that the object is a non-specular body NM. Also, if the amount B of the histogram related to the first light receiving element 3b is greater than the amount A of the histogram related to the first light receiving element 3a, the distance calculation unit 21d determines that the object is a specular body M.
[0085] FIG. 25 is a flowchart showing the flow of the measurement process of the distance to the object in the distance measuring sensor device 1 having the above configuration. In this embodiment, the measurement unit 5 and the distance calculation unit 21d measure the above distance assuming that the object is a non-specular body NM. For this reason, if the object is assumed to be a specular body M, at least one of the measurement unit 5 and the distance calculation unit 21d needs to be corrected to obtain the measured value of the above distance. The measurement unit 5 and the distance calculation unit 21d may measure the above distance assuming that the object is a specular body M. In that case, if the object is determined to be a non-specular body NM in a later process, at least one of the measurement unit 5 and the distance calculation unit 21d needs to be corrected to obtain the measured value of the above distance.
[0086] As shown in Fig. 25, first, the drive control unit 22d releases the limit on the drive current IF (S51). This causes the light-emitting element 2 to emit laser light L including multimode light L2. Next, the distance calculation unit 21d acquires the signal amount A of the histogram of the first light receiving element 3a that is closer to the light-emitting element 2 and the signal amount B of the histogram of the first light receiving element 3b that is farther from the light-emitting element 2 from the histogram counter 12 (S52). Next, the distance calculation unit 21d calculates a detection value of the distance to the object (S53). Note that the detection value is the same as the detection value in the second modification of the first embodiment.
[0087] Next, the distance calculation unit 21d judges whether the detected distance value is greater than (set value-α) (S54), where α is an appropriate constant as described above. If the detected distance value is greater than (set value-α) (YES in S54), the distance calculation unit 21d judges whether the signal amount A is greater than the signal amount B (S55).
[0088] If the signal amount A is greater than the signal amount B (YES in S55), the distance calculation unit 21d calculates the measurement value of the distance to the object (S56). At this time, it is preferable that the distance calculation unit 21d assumes that the object is a non-specular body NM. In this case, correction is not required to obtain the measurement value of the distance. Therefore, for example, the distance calculation unit 21d may calculate the measurement value of the distance using the signal amount of the histogram acquired in step S52. Alternatively, if the detection value is a value before being corrected to the measurement value, the distance calculation unit 21d may take the detection value calculated in step S53 as the measurement value. Then, the process proceeds to step S65.
[0089] On the other hand, if the signal amount B is equal to or greater than the signal amount A (NO in S55), the distance calculation unit 21d calculates the measured value of the distance to the object (S57). At this time, it is preferable for the distance calculation unit 21d to assume that the object is a mirror body M, and to perform correction to obtain the measured value of the distance. Therefore, for example, the measurement unit 5 and the distance calculation unit 21d may appropriately change various parameters required for calculating the measured value, and then calculate the measured value of the distance based on the signals from the first light receiving element 3 and the second light receiving element 4. Alternatively, if the detected value is a value before being corrected to the measured value, the distance calculation unit 21d may correct the detected value calculated in step S53 and use the corrected value as the measured value. Then, the process proceeds to step S65.
[0090] In step S54, if the detected distance value is equal to or less than (set value-α) (NO in S54), drive control unit 22d determines that the distance to the object is close, and limits drive current IF (S58). As a result, light-emitting element 2 emits laser light L with a low proportion of multimode light L2. Next, distance calculation unit 21d acquires signal amount A and signal amount B from histogram counter 12 (S59). Next, distance calculation unit 21d calculates the detected distance value to the object (S60).
[0091] Next, distance calculation unit 21d judges whether the detected value of the distance is smaller than (set value + α) (S61). If the detected value of the distance is equal to or larger than (set value + α) (NO in S61), the process returns to step S51.
[0092] On the other hand, if the detected value of the distance is smaller than (set value+α) (YES in S61), the distance calculation unit 21d judges whether the signal amount A is greater than the signal amount B (S62). If the signal amount A of the first light receiving element 3a is greater than the signal amount B of the first light receiving element 3b (YES in S62), the distance calculation unit 21d calculates the measured value of the distance to the object (S63). At this time, it is preferable that the distance calculation unit 21d assumes that the object is a non-specular body NM. In this case, correction is not required to obtain the measured value of the distance. Therefore, for example, the distance calculation unit 21d may calculate the measured value of the distance using the signal amount of the histogram acquired in step S59. Alternatively, if the detected value is a value before being corrected to the measured value, the distance calculation unit 21d may set the detected value calculated in step S60 as the measured value. Then, the process proceeds to step S65.
[0093] On the other hand, if the signal amount B is equal to or greater than the signal amount A (NO in S62), the distance calculation unit 21d calculates the measured value of the distance to the object (S64). At this time, it is preferable for the distance calculation unit 21d to assume that the object is a mirror body M, and to perform correction to obtain the measured value of the distance. Therefore, for example, the measurement unit 5 and the distance calculation unit 21d may appropriately change various parameters required for calculating the measured value, and then calculate the measured value of the distance based on the signals from the first light receiving element 3 and the second light receiving element 4. Alternatively, if the detected value is a value before being corrected to the measured value, the distance calculation unit 21d may correct the detected value calculated in step S60 and use the corrected value as the measured value. Then, the process proceeds to step S65.
[0094] In step S65, the distance calculation section 21d outputs the measured distance value to the outside of the distance measuring sensor device 1. After that, the process ends.
[0095] (Notes) In the above embodiment, the number of first light receiving elements 3 is two, but the number may be three or more.
[0096] 〔summary〕 The distance measuring sensor device 1 according to aspect 1 of the present disclosure comprises a light-emitting element 2 that emits laser light to an object, a light-receiving element (first light-receiving element 3) into which reflected light from the object is incident, a measurement unit 5 that measures the distance to the object based on the period from the point of emission of the light-emitting element 2 to the point of incidence of the light-receiving element, and a drive control unit 22 that controls the driving of the light-emitting element 2 and limits the drive current of the light-emitting element.
[0097] According to the above configuration, the drive control unit can limit the drive current to a current value at which the proportion of multi-mode laser light in the laser light is small. In this case, the proportion of the multi-mode laser light is small or zero. This can reduce the variation in the period from the emission point to the incidence point. As a result, the error in the distance measurement value can be reduced.
[0098] In the distance measuring sensor device 1 according to the second aspect of the present disclosure, in the first aspect, the drive control unit 22 may limit the drive current when the distance measured by the measurement unit 5 is smaller than a set value.
[0099] According to the above configuration, when the measured distance is greater than the set value, the driving current is not limited, so that the measurable distance can be increased. Furthermore, the error of the measured distance when multimode laser light is received does not depend so much on the measured distance. Therefore, as the measured distance becomes longer, the ratio of the error to the distance is reduced. As a result, the measurable distance can be increased while maintaining the measurement accuracy.
[0100] In the distance measuring sensor device 1 according to the third aspect of the present disclosure, in the first or second aspect, the drive control unit 22 and the measurement unit 5 may determine the incident time point using a time distribution of the light receiving signal from the light receiving element, excluding a time distribution of the light receiving signal lower than a reference value. In this case, the time distribution of the light receiving signal by the multi-mode laser light is excluded. Therefore, the spread of the variation in the time distribution of the light receiving signal can be reduced. As a result, the error of the distance measurement value can be reduced.
[0101] In the distance measuring sensor device 1 according to the fourth aspect of the present disclosure, in the first or second aspect, the measurement unit may determine the incident time point by using a time distribution of the light receiving signal from the light receiving element, the time distribution being a limited area of the light receiving signal. In this case, the time distribution of the light receiving signal by the multi-mode laser light is excluded. Therefore, the spread of the variation in the time distribution of the light receiving signal can be reduced. As a result, the error of the distance measurement value can be reduced.
[0102] In the distance measuring sensor device 1 of aspect 5 of the present disclosure, in aspects 1 to 4 above, the measurement unit 5 may measure the distance by determining that the object is a non-specular object when the amount of the light receiving signal from the light receiving element is within a set range.
[0103] The distance measuring sensor device 1 according to the sixth aspect of the present disclosure may be any of the first to fifth aspects, in which the light receiving elements are multiple, and the measuring unit 5 may determine whether the object is a specular object or a non-specular object based on a comparison result of the amounts of multiple light receiving signals from the multiple light receiving elements, and measure the distance based on the determination. In this case, the frequency of reduction in the drive current can be reduced.
[0104] The distance measuring sensor device 1 according to a seventh aspect of the present disclosure may be configured such that in any of the first to sixth aspects, the light emitting element 2 is a vertical cavity surface emitting laser.
[0105] An electronic device according to an eighth aspect of the present disclosure includes the distance measurement sensor device 1 according to any one of the first to seventh aspects. In this case, the same effects as those of the first to seventh aspects are achieved.
[0106] The present disclosure is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. The technical scope of the present disclosure also includes embodiments obtained by appropriately combining the technical means disclosed in the different embodiments. Furthermore, new technical features can be formed by combining the technical means disclosed in the respective embodiments. [Explanation of symbols]
[0107] 1. Distance measurement sensor device 2 Light emitting element 3, 3a, 3b First light receiving element (light receiving element) 4 Second light receiving element 5 Measuring part 6. Control Unit 11 TDC 12 Histogram Counter 21, 21a, 21b, 21c, 21d Distance calculation section (measurement section) 22, 22a, 22b, 22c, 22d Drive control unit L1 Single mode light L2 Multimode Optics
Claims
1. A light emitting element that emits laser light to an object; a light receiving element on which reflected light from the object is incident; a measuring unit that measures a distance to the object based on a period from a time point when the light is emitted from the light emitting element to a time point when the light is incident on the light receiving element; A distance measuring sensor device comprising: a drive control unit that controls driving of the light-emitting element, the drive control unit limiting a drive current of the light-emitting element.
2. The distance measuring sensor device according to claim 1 , wherein the drive control unit limits the drive current when the distance measured by the measurement unit is smaller than a set value.
3. The distance measuring sensor device according to claim 1 , wherein the measurement unit determines the incident time point by using a time distribution in which a time distribution of the light receiving signal from the light receiving element that is lower than a reference value is excluded.
4. The distance measuring sensor device according to claim 1 , wherein the measurement unit determines the incident time point by using a time distribution obtained by restricting a region of the light receiving signal from the light receiving element, out of a time distribution of the light receiving signal from the light receiving element.
5. The distance measuring sensor device according to claim 1 , wherein the measurement unit measures the distance by determining that the target object is a non-specular object when an amount of the light receiving signal from the light receiving element is within a set range.
6. The light receiving element is a plurality of elements, The distance measuring sensor device of claim 1, wherein the measurement unit determines whether the object is a specular object or a non-specular object based on a comparison result of the amounts of multiple light receiving signals from multiple light receiving elements, and measures the distance based on the determination.
7. The distance measuring sensor device according to claim 1 , wherein the light emitting element is a vertical cavity surface emitting laser.
8. An electronic device comprising the distance measuring sensor device according to any one of claims 1 to 7.
Citation Information
Patent Citations
Distance measurement device, moving body and distance measurement method
JP2015178976A
Optical sensor and electronic device
JP2016223902A
Human body portion detection sensor
JP2017032314A
Independent per-pixel integration registers for lidar measurements
US20200341144A1
Laser rangefinder
JP1995029488U
