Processing device, method and program
The described method corrects parallax-induced errors in non-coaxial optical sensors by approximating the optical path using focal positions, thereby stabilizing distance information provision and reducing processing time and load.
Patent Information
- Application Number
- JP2023029184
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing distance measurement techniques using non-coaxial optical sensors suffer from parallax-induced errors that require iterative processing, leading to increased time and load, making stable distance information provision challenging.
A processing device and method that corrects distance errors by approximating the optical path of the light beam using the focal positions of the light emitting and receiving lens systems, reducing the need for iterative processing by employing analytical calculations based on these focal positions.
This approach stabilizes distance information output by significantly reducing the time and load required for correction, ensuring accurate and efficient distance measurements.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The disclosure of this specification relates to distance measurement technology using optical sensors. [Background technology]
[0002] Distance measurement techniques using optical sensors are known. In non-coaxial optical sensors in which the light-projecting unit and the light-receiving unit are arranged at positions offset from each other, distance errors occur due to the parallax between the two units. Therefore, in Patent Document 1, the distance errors are corrected using information on the arrangement of the light-projecting unit and the light-receiving unit. Specifically, a coaxial system is assumed for long distances, and correction is performed by iterative processing for short distances. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-12136 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the technology of Patent Document 1, an iterative process is used until the numerical value satisfies the condition in a short distance, and the iterative process may take time and load. Therefore, there is a problem in providing distance information stably.
[0005] One of the objects of the disclosure of this specification is to provide a processing device, method, and program that can stably provide distance information in which the influence of distance errors due to parallax is suppressed. [Means for solving the problem]
[0006] One of the aspects disclosed herein is a processing device for processing sensing data of an optical sensor (2) including a light projection unit (10) that projects a light beam from a light source (11) through a light projection lens system (12) toward a measurement area (MA), and a light receiving unit (30) that is disposed at a position offset from the light projection unit and receives the light beam reflected by a measurement object (OBJ) in the measurement area with a light receiving element (32) through a light receiving lens system (31), At least one storage medium (3a) for storing a focal position (Ptf) of a light projection lens system and a focal position (Prf) of a light receiving lens system; At least one processor (3b) configured to acquire sensing data, a focal position of a light projection lens system, and a focal position of a light receiving lens system and execute processing; At least one processor Based on an approximation of the optical path of the light beam, starting from the focal position of the light projecting lens system and ending at the focal position of the light receiving lens system, corrected distance information in which the distance error of the object to be measured caused by the misalignment between the light projecting unit and the light receiving unit is corrected can be output as distance information from the optical sensor to the object to be measured.
[0007] Another disclosed aspect is a method executed by at least one processor for processing sensing data of an optical sensor (2) including a light projection unit (10) that projects a light beam from a light source (11) through a light projection lens system (12) toward a measurement area (MA), and a light receiving unit (30) that is disposed at a position offset from the light projection unit and receives the light beam reflected by a measurement object (OBJ) in the measurement area with a light receiving element (32) through a light receiving lens system (31), the method comprising: Acquiring sensing data; Obtaining a focal position (Ptf) of a light projection lens system and a focal position (Prf) of a light receiving lens system from a storage medium (3a); approximating the optical path of the light beam from a focal position of the light projection lens system as a starting point to a focal position of the light receiving lens system as an end point; The method includes correcting a distance error of the measurement object caused by a misalignment between the light-projecting unit and the light-receiving unit based on the approximation, and outputting the corrected distance information as distance information from the optical sensor to the measurement object.
[0008] Another disclosed aspect is a program for processing sensing data of an optical sensor (2) including a light projection unit (10) that projects a light beam from a light source (11) through a light projection lens system (12) toward a measurement area (MA), and a light receiving unit (30) that is disposed at a position offset from the light projection unit and receives the light beam reflected by a measurement object (OBJ) in the measurement area with a light receiving element (32) through a light receiving lens system (31), At least one processor has Acquiring sensing data; Obtaining a focal position (Ptf) of a light projection lens system and a focal position (Prf) of a light receiving lens system from a storage medium (3a); approximating the optical path of the light beam from a focal position of the light projection lens system as a starting point to a focal position of the light receiving lens system as an end point; The optical sensor is configured to correct a distance error of the object to be measured caused by a misalignment between the light-projecting unit and the light-receiving unit based on the approximation, and to output the corrected distance information as distance information from the optical sensor to the object to be measured.
[0009] According to these aspects, when outputting distance information from the optical sensor to the object to be measured, the distance error of the object to be measured caused by the misalignment between the light projecting unit and the light receiving unit is corrected. This correction is performed based on an approximation of the optical path of the light beam, starting from the focal position of the light projecting lens system and ending at the focal position of the light receiving lens system. The use of this approximation suppresses the time and load required for iterative processing until the numerical values in the correction calculation converge or satisfy the conditions. As a result of the significant reduction in the time and load required to output the distance information, it becomes possible to stably provide the distance information.
[0010] In addition, the symbols in parentheses included in the claims, etc., are intended to exemplify the corresponding relationship with parts of the embodiments described below, and are not intended to limit the technical scope. [Brief description of the drawings]
[0011] [Figure 1] A diagram showing how LiDAR is mounted on a vehicle. [Diagram 2] FIG. 1 is a block diagram showing an object detection system. [Diagram 3] Schematic diagram showing the configuration of LiDAR. [Figure 4] FIG. [Diagram 5] FIG. 2 is a diagram illustrating a light receiving element. [Figure 6] FIG. 2 is a block diagram showing the functional configuration of a processing device. [Figure 7] FIG. [Figure 8] 10 is a flowchart showing an example of a processing method by the processing device. [Figure 9] 11 is a graph showing a distance error when no correction calculation is performed. [Figure 10] 11 is a graph showing a distance error when no correction calculation is performed. [Figure 11] FIG. 2 is a block diagram showing the functional configuration of a processing device. [Figure 12] 5A and 5B are diagrams for explaining the determination of a light-emitting position and a light-receiving position. [Figure 13] 10 is a flowchart showing an example of a processing method by the processing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, a number of embodiments will be described with reference to the drawings. In addition, by assigning the same reference numerals to corresponding components in each embodiment, duplicated descriptions may be omitted. When only a part of the configuration is described in each embodiment, the configuration of the other embodiment described above can be applied to the other parts of the configuration. In addition to the combination of configurations explicitly stated in the description of each embodiment, configurations of multiple embodiments can be partially combined together even if not explicitly stated, as long as there is no particular problem with the combination.
[0013] (First embodiment) As shown in Figs. 1 and 2, an object detection system 1 according to a first embodiment of the present disclosure is mounted on a vehicle EV as a moving body. The object detection system 1 detects an object OBJ around the vehicle EV. Information on the object OBJ detected by the object detection system 1 may be provided to an occupant such as a driver through an HMI system of the vehicle EV. In addition, the information on the object OBJ detected by the object detection system 1 is used for automatic driving or driving assistance by an automatic driving system or a driving assistance system of the vehicle EV. As shown in Fig. 2, the object detection system 1 includes a LiDAR (Light Detection and Ranging / Laser imaging Detection and Ranging) 2 and a processing device 3.
[0014] The LiDAR2 shown in FIG. 3 is an optical sensor that projects a light beam toward a measurement area MA and detects reflected light from an object OBJ, which is a measurement target. The LiDAR2 also corresponds to an optical distance measuring device that measures the distance to the object OBJ. As shown in FIG. 1, the LiDAR2 is installed, for example, at the upper end of the front windshield of the vehicle EV as shown in FIG. 1, and is capable of detecting the object OBJ by scanning light toward the measurement area MA in front of the vehicle EV. The object OBJ detected as the measurement target is, for example, another vehicle, a pedestrian, etc. As shown in FIG. 2, the LiDAR2 includes a light projection unit 10, a scanning unit 20, a light receiving unit 30, and a controller 40.
[0015] The light projection unit 10 projects a light beam from a light source 11 toward a measurement area MA through a light projection lens system 12. The light projection unit 10 includes the light source 11 and the light projection lens system 12.
[0016] The light source 11 may be a laser oscillation element such as a laser diode (LD). The light source 11 may be an LED. The light source 11 is capable of emitting light at a light emission timing according to an electrical signal from the controller 40. The wavelength of the emitted light may be a wavelength other than visible light, such as near-infrared light.
[0017] The light source 11 may be configured to have a plurality of light-emitting elements 11a (also called light-emitting pixels) arranged one-dimensionally or two-dimensionally as shown in Fig. 4. The light source 11 in this embodiment is a light-emitting element array in which LDs as the light-emitting elements 11a are arranged one-dimensionally at intervals (discretely) from each other.
[0018] The projection lens system 12 collects the light emitted from the light source 11 and projects a light beam toward the measurement area MA. The projection lens system 12 includes one or more lenses. The projection lens system 12 may include a reflective element such as a mirror lens.
[0019] The scanning unit 20 scans the range of the measurement area MA with the projected beam from the light projecting unit 10. The scanning unit 20 includes, for example, a scanning mirror 21. The scanning mirror 21 includes a drive motor and a reflector. The drive motor drives the rotation shaft of the reflector at an amount of rotation and a rotation speed according to an electric signal from the controller 40. The reflector is a mirror having a reflective surface that reflects the projected beam toward the measurement area MA. The reflective surface is formed, for example, in a flat shape.
[0020] The light receiving unit 30 receives the light beam reflected by the object OBJ in the measurement area MA and returns through a light receiving lens system 31 at a light receiving element 32. The light receiving unit 30 includes a light receiving lens system 31, a light receiving element 32, and a decoder 33.
[0021] The light receiving lens system 31 collects the light beam reflected by the object OBJ in the measurement area MA and further reflected by the scanning mirror 21, and makes the light beam incident on the light receiving element 32. The light receiving lens system 31 is configured to include one or more lenses. The light receiving lens system 31 may also be configured to include a reflecting element such as a mirror lens.
[0022] The light receiving element 32 receives and detects the reflected light collected by the light receiving lens system 31. The light receiving element 32 may be, for example, a single photon avalanche diode (SPAD) sensor. As shown in Fig. 5, the light receiving element 32 is formed by two-dimensionally arranging light receiving pixels 32a with a plurality of SPADs highly integrated on a detection surface 32b.
[0023] When a SPAD receives a single photon, it generates a single electrical pulse through an electron multiplication operation (so-called Geiger mode) caused by avalanche multiplication. In other words, the SPAD can generate an electrical pulse as a digital signal directly, without going through an AD conversion circuit that converts analog signals to digital signals. Therefore, the light reception result can be read out at high speed.
[0024] The decoder 33 is provided to output the electrical pulses generated by the SPADs, and includes a selection circuit and a clock oscillator. The selection circuit sequentially selects the SPADs from which the electrical pulses are to be extracted. The selected SPADs output the electrical pulses to the controller 40. When the selection circuit has selected the SPADs one by one, one sampling is completed. This sampling period corresponds to the clock frequency output from the clock circuit.
[0025] The controller 40 controls the operation of the LiDAR 2. The controller 40 may be realized by a computer having at least one memory and one processor. The controller 40 may be realized by a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), or the like.
[0026] Specifically, the controller 40 controls the light emission of the light source 11 in the light projecting unit 10 and the orientation of the scanning mirror 21 in the scanning unit 20 so as to be linked to each other. Furthermore, the controller 40 may control the sampling operation by the decoder 33. The controller 40 is configured to be able to output control data of the light projecting unit 10, the scanning unit 20, and the light receiving unit 30, and the sampling result of the light receiving unit 30 or data obtained by processing the same, to the processing device 3 as sensing data.
[0027] As shown in FIG. 3, the light projecting unit 10 and the light receiving unit 30 are accommodated in a common housing 2a and are arranged at positions offset from each other. The light projecting unit 10 and the light receiving unit 30 form a non-coaxial system in which the optical axes OAt, OAr (see FIG. 7) are substantially parallel to each other, and are arranged side by side. The arrangement direction of both units 10, 30 substantially coincides with the arrangement direction of the light emitting elements 11a in the light source 11 and the longitudinal direction of the light receiving element 32. The housing 2a has a window portion that transmits the light beam. The scanning mirror 21 is accommodated in the housing 2a and arranged to face the light projecting lens system 12, the light receiving lens system 31, and the window portion of the housing 2a, but is not shown in FIG. 3 etc.
[0028] In such a non-coaxial arrangement, if the time from when the light source 11 emits light to when it receives it is simply converted to twice the distance, a distance error with the actual object OBJ may occur. The simple conversion here refers to a conversion according to the formula: twice the distance = speed of light × time. This distance error is an error caused by the parallax between the light projecting unit 10 and the light receiving unit 30. The closer the object OBJ in the measurement area MA is, the greater the impact of the distance error.
[0029] The processing device 3 is an electronic control device that processes the sensing data acquired from the LiDAR 2 and performs a calculation regarding the distance of the object OBJ in the measurement area MA. This calculation includes a correction calculation that corrects the distance of the object OBJ in consideration of the arrangement of the light projecting unit 10 and the light receiving unit 30 described above. The processing device 3 is configured to be able to output and provide distance information based on such correction calculation to an automatic driving system or a driving assistance system of the vehicle EV, a notification system for the driver, etc., a recording device such as an event data recorder, and further to a management center, a cloud server, etc. that are located outside the vehicle EV. The distance information may be, for example, the value of the distance of the object OBJ itself, or may be data that allows the distance to be easily calculated, such as the relative coordinates of the object OBJ with respect to the LiDAR 2. The processing device 3 may further have a function of performing image processing on the object OBJ detected based on the sensing data and generating images such as a reflection intensity image and a background light image.
[0030] The processing device 3 may be configured to include a computer having at least one memory 3a and at least one processor 3b. The memory 3a may be at least one type of non-transient physical storage medium, such as a semiconductor memory, a magnetic medium, or an optical medium, that non-temporarily stores programs and data that can be read by the processor 3b. Furthermore, the memory 3a may be provided with a rewritable volatile storage medium, such as a random access memory (RAM). The processor 3b includes at least one type of core, such as a central processing unit (CPU), a graphics processing unit (GPU), or a reduced instruction set computer (RISC)-CPU.
[0031] 6 is a diagram showing the functional architecture of the distance measurement function by the processing device 3. The processing device 3 includes a data acquisition unit 51, a measurement optical path length approximation unit 52, an object position calculation unit 53, and a coordinate conversion unit 54 as functional units realized by at least one processor 3b that executes a program.
[0032] The data acquisition unit 51 sequentially acquires the latest sensing data from the LiDAR 2. This sensing data is uncorrected data that does not take into account the arrangement of the light projecting unit 10 and the light receiving unit 30.
[0033] When the processing device 3 includes a function of calculating the measured optical path length of the object OBJ, the above-mentioned sampling result is acquired as sensing data. That is, the data acquisition unit 51 measures the distance to the object by a ToF (Time of Flight) method based on the sampling result. In detail, the data acquisition unit 51 creates a histogram of the number of times an electric pulse is detected for each time, and simply converts the time from the emission time of the light source to the time when the histogram shows a peak into a measured optical path length (corresponding to twice the distance). That is, the data acquisition unit 51 calculates the measured optical path length itself before the application of the correction calculation.
[0034] On the other hand, when the LiDAR 2 includes a function of calculating the measurement optical path length of the object OBJ before the application of the correction calculation, the data acquisition unit 51 acquires the measurement optical path length calculated by the LiDAR 2 as sensing data. The data acquisition unit 51 further acquires information of the light receiving pixel 32a when the measurement optical path length is measured as sensing data. The information of the light receiving pixel 32a is the number of detections for each light receiving pixel 32a. In order to reduce noise, the information of the light receiving pixel 32a may be data obtained by totaling or averaging the number of detections of each SPAD constituting the light receiving pixel 32a, regarding an area consisting of multiple SPADs adjacent to each other as one light receiving pixel 32a. Multiple SPADs forming a unit smaller than one SPAD or the light receiving pixel 32a may be referred to as sub-pixels.
[0035] The measured optical path length approximation unit 52 performs approximation of the measured optical path length based on focal position data 61 stored in the memory 3a. The focal position data 61 includes information on the focal position Ptf of the light projector lens system 12 and the focal position Prf of the light receiver lens system 31. The focal position data 61 may be non-temporarily stored in the memory 3a in the same manner as a program. The focal position data 61 may be obtained from another device inside the vehicle EV or from outside the vehicle when it is used, and may be temporarily stored in the memory 3a.
[0036] The method of approximating the measurement optical path length will be described in detail below with reference to Fig. 7. The actual measurement optical path length Lm is expressed by the following formula 1.
[0037] Lm = Lt1 + Lt2 + Lr2 + Lr1 (Formula 1) Here, Lt1 is the distance from the position Pt1 of the light-emitting pixel to the focal position Ptf of the light-projecting lens system 12. That is, Lt1=|Pt1-Ptf|. Lt2 is the distance from the focal position Ptf to the position Pd of the object OBJ. That is, Lt2=|Ptf-Pd|. Lr2 is the distance from the position Pd of the object OBJ to the focal position Prf of the light-receiving lens system 31. That is, Lr2=|Prf-Pd|. Lr1 is the distance from the focal position Prf to the position Pr1 of the light-receiving pixel 32a. That is, Lr1=|Prf-Pd|. More strictly speaking, the measured optical path length is affected by the lens medium and refraction in the light-projecting lens system 12 and the light-receiving lens system 31, but this effect is omitted in this formula 1 because it is sufficiently small.
[0038] Here, Lt1 is sufficiently smaller than Lt2, and Lr1 is sufficiently smaller than Lr2, and Lm is approximated to Lma as shown in the following formula 2.
[0039] Lm ≒ Lma = Lt2 + Lr2 (Formula 2) That is, as shown in Equation 2, the optical path of the light beam is approximated so that the focal position Ptf of the light projecting lens system 12 is the starting point and the focal position Prf of the light receiving lens system 31 is the end point. As a result, candidates for the position Pd of the object OBJ are present on a virtual ellipse VE determined based on Lma, Ptf, and Prf. The virtual ellipse VE may be assumed on a plane formed by the optical axes OAt, OAr and the arrangement direction of the light source 11 and the light receiving element 32. The assumed virtual ellipse VE may be a virtual ellipse in which the focal position Ptf of the light projecting lens system 12 and the focal position Prf of the light receiving lens system 31 correspond to the foci of the virtual ellipse VE, and the approximated measurement optical path length Lma corresponds to twice the length of the major axis. The measurement optical path length approximation unit 52 substitutes the measurement optical path length acquired by the data acquisition unit 51 into Lma.
[0040] The object position calculation unit 53 narrows down the candidate positions substantially specified on the virtual ellipse VE by the measurement optical path length approximation unit 52, using the information of the light receiving pixels 32a acquired by the data acquisition unit 51. In this way, the position Pd of the object OBJ is calculated.
[0041] Specifically, the object position calculation unit 53 calculates the angle θr that a light ray reflected at the position Pd of the object OBJ, passing through the focal position Prf, and received at the actual position Pt2 of the light receiving pixel 32a acquired as sensing data makes with respect to the optical axis OAr of the light receiving lens system 31. Even if the position Pd of the object OBJ cannot be specified, the angle θr can be easily calculated from the relationship between the known straight line connecting Pr1 and Prf and the straight line indicating the optical axis OAr. Note that the optical axis data 62 of the light projecting lens system 12 and the light receiving lens system 31 is data that is non-temporarily or temporarily stored in the memory 3a, similar to the focal position data 61.
[0042] Since the light-projecting unit 10 and the light-receiving unit 30 are arranged with their optical axes OAt, OAr substantially parallel to each other, the following formula 3 is established for the component of the measurement optical path length Lm in the direction along the optical axes OAt, OAr: Here, θt is the angle that the light ray projected from the actual position Pt1 of the light-emitting element 11a acquired as sensing data, through the focal position Ptf, to the position Pd of the object OBJ makes with respect to the optical axis OAt of the projection lens system 12.
[0043] Lt2 cosθt = Lr2 cosθr (Equation 3) Furthermore, the following formula 4 is established for the component of the measurement optical path length Lm in the direction perpendicular to the optical axes OAt and OAr. In formula 4, the distance between the focal position Ptf of the light projecting lens system 12 and the focal position Prf of the light receiving lens system 31 is set to Pb.
[0044] Lt2·sinθt+Lr2·sinθr=Lb (Equation 4) The unknowns Lt2, Lr2, and θt can be analytically solved by the simultaneous equations (also called analytical equations) of Formula 2, Formula 3, and Formula 4. With respect to the object OBJ, the candidate position on the virtual ellipse VE is uniquely estimated to be the position Pd by identifying these unknowns.
[0045] The coordinate conversion unit 54 converts the estimated position Pd of the object OBJ into a coordinate system based on the origin Po of the distance coordinate. The origin Po of the distance coordinate is set in advance based on the specifications required for the object detection system 1. For example, the origin Po of the distance coordinate may be defined as the midpoint of the intersection of the extension of the optical axis OAt and the extension of the optical axis OAr on the housing 2a.
[0046] When the distance of the object OBJ is output instead of the coordinates of the object OBJ, the output value of the distance of the object OBJ is also set in advance based on the specifications required for the object detection system 1. For example, the output value of the distance of the object OBJ may be the distance between the origin Po of the distance coordinates and the position Pd of the object OBJ, or may be the component of the distance in the direction along the optical axes OAt, OAr.
[0047] Next, an example of a processing method by the processing device 3 will be described with reference to the flowchart of Fig. 8. A series of processes shown in steps S1 to S5 is performed to perform sampling once or multiple times and output the distance of the object OBJ in response to the sampling. This series of processes is performed by at least one processor 3b of the processing device 3 executing a program.
[0048] In S1, the data acquisition unit 51 acquires the measured optical path length Lm. After the process of S1, the process proceeds to S2.
[0049] In S2, the measurement optical path length approximation unit 52 approximates the measurement optical path length Lm acquired in S1 to Lma as shown in the above-mentioned formula 2. After the process of S2, the process proceeds to S3.
[0050] In S3, the object position calculation unit 53 calculates the unknowns Lt2, Lr2, and θt from the analytical formula. After the process of S3, the process proceeds to S4.
[0051] In S4, the object position calculation unit 53 calculates the position Pd of the object OBJ. After the process of S4, the process proceeds to S5.
[0052] In S5, the coordinate conversion unit 54 converts the position Pd calculated in S4 into a coordinate system based on the distance coordinate origin Po. The converted coordinates or distance are output. After S5, the series of processes ends.
[0053] 9 and 10 show distance errors that may theoretically occur when no correction calculation is performed as a comparative example. In FIG. 9 and 10, distance errors are distinguished by different line types according to the distance of the object OBJ. The larger θr is, the larger the distance error becomes. Also, the larger the focal length Lb is, the larger the distance error becomes. However, the above-described correction method can substantially eliminate the distance error.
[0054] According to the first embodiment described above, when outputting distance information from the LiDAR 2 as an optical sensor to an object OBJ as a measurement target, a distance error of the object OBJ caused by a positional shift between the light projecting unit 10 and the light receiving unit 30 is corrected. This correction is performed based on an approximation of the optical path of the light beam, starting from the focal position Ptf of the light projecting lens system 12 and ending at the focal position Prf of the light receiving lens system 31. By using this approximation, it is possible to suppress the time and load caused by iterative processing until the numerical values in the correction calculation converge or satisfy the conditions. As a result of the significant reduction in the time and load required to output the distance information, it becomes possible to stably provide the distance information.
[0055] Moreover, according to the first embodiment, a virtual ellipse VE is assumed, which has a size according to the measurement optical path length based on the flight time of the light beam, and has the focal positions Ptf, Prf as its focal points. Candidate positions of the object OBJ are identified on the virtual ellipse VE. Then, based on the light receiving pixel positions included in the sensing data, a position Pd is calculated from the candidate positions to be estimated as the position of the object OBJ. Furthermore, distance information based on the sum of the distance from the focal position Ptf to the position Pd and the distance from the position Pd to the focal position Prf is output as corrected distance information. Since the candidate positions are narrowed down to the virtual ellipse VE by approximation, the calculation time and calculation load can be further reduced.
[0056] Furthermore, according to the first embodiment, the unknowns Lt2, Lr2, and θt are calculated from the simultaneous equations of the three equations 2 to 4, and the corrected distance information is output. Since the unknowns are calculated by analyzing the simultaneous equations, it is possible to suppress the need to execute multiple complex algorithms to obtain the unknowns. Therefore, the calculation time and calculation load can be further reduced.
[0057] Second embodiment 11 to 13, the second embodiment is a modification of the first embodiment. The second embodiment will be described focusing on the differences from the first embodiment.
[0058] The second embodiment is suitable for the case where the light source 11 includes a plurality of light emitting elements 11a that are discretely arranged. In a processing device 203 of the second embodiment shown in Fig. 11, an object position calculation unit 253 refers to light source data 63 and waveform data 64 and solves the analytical equation twice to improve the accuracy of the position Pd of the object OBJ.
[0059] The light source data 63 includes arrangement information of the light emitting elements 11a in the light source 11. The light source data 63 may include data indicating the spatial spread shape of the light emission, that is, the light emission intensity distribution with respect to the radiation angle of each light emitting element 11a. The light source data 63 is data non-temporarily or temporarily stored in the memory 3a, similar to the focal position data 61 and the optical axis data 62. The light source data 63 may be referred to as a light source profile.
[0060] The waveform data 64 includes data on the spatial intensity distribution waveform of the light beam on the light receiving element 32 when the light beam projected from each light emitting element 11a is reflected at the measurement area MA and received by the light receiving element 32. That is, the waveform data 64 includes a plurality of light receiving intensity distribution waveforms WF (see FIG. 12) corresponding to each light emitting element 11a individually. This information may be data on the intensity distribution waveform experimentally confirmed in advance in the actual LiDAR 2, or may be data on the intensity distribution waveform obtained in advance by simulation. The intensity distribution waveform WF may have a Gaussian distribution shape. In addition, when the light receiving element 32 is configured by a SPAD, the number of times that each light receiving pixel 32a detects a photon corresponds to the light receiving intensity. Therefore, as a concept that collectively refers to the intensity and the number of times of detection, the intensity distribution waveform WF may be referred to as a light receiving profile indicating a distribution waveform.
[0061] The object position calculation unit 253 solves the analytical equation once using a method similar to that of the first embodiment to identify the unknowns Lt2, Lr2, and θt. Then, from the value of θt, the object position calculation unit 253 identifies which light emitting element 11a among the multiple light emitting elements 11a discretely arranged in the light source 11 emits the light ray indicated by the unknowns. In other words, the position Pt1 of the luminescent pixel is identified.
[0062] 12, the object position calculation unit 253 matches the detection result for each actual light receiving pixel 32a obtained as sensing data with waveform data 64 that individually corresponds to the light emitting element 11a. If the waveform data 64 has a Gaussian distribution shape, the position Pr1 of the peak can be identified. The position Pr1 of the peak identified in this way has a sub-pixel level of accuracy, which is higher than the light receiving pixel level.
[0063] Then, Lb as the distance between the focal position Ptf of the light projecting lens system 12 and the focal position Prf of the light receiving lens system 31 in the formula 4 is replaced with the distance Lbd between the position Pt1 and the position Pr1. The formula after the replacement is expressed by the following formula 5. However, Lbd in the formula 5 is expressed by the following formula 6.
[0064] Lt2·sinθt+Lr2·sinθr=Lbd (Equation 5) Lbd=|Pt1-Pr1| (Equation 6) Then, the object position calculation unit 253 solves the analytical equation again. That is, the unknowns Lt2, Lr2, and θt can be analytically solved by the simultaneous equations of Expression 2, Expression 3, and Expression 5. By resolving the analytical equation, the position Pd of the object OBJ can be calculated with higher accuracy. This replacement and resolving of the analytical equation may correspond to replacing the virtual ellipse VE based on the focal position Ptf,Prf with the position Pt1,Pr1 as the basis and recalculating.
[0065] Next, an example of a processing method by the processing device 3 will be described with reference to the flowchart of Fig. 13. S101 to S103 are the same as S1 to S3 in the first embodiment. After the process of S103, the process proceeds to S104.
[0066] In S104, the object position calculation section 253 identifies the position Pt1 of the light-emitting element 11a from θt obtained in S103. After the process of S104, the process proceeds to S105.
[0067] In S105, the object position calculation section 253 identifies the position Pr1 of the peak from the light reception profile corresponding to the light emitting element 11a obtained in S104. After the process of S105, the process proceeds to S106.
[0068] In S106, the object position calculation unit 253 calculates the unknowns Lt2, Lr2, and θt by resolving the analytical equation. After the process of S106, the process proceeds to S107. S107 to S108 are the same as S4 to S5 in the first embodiment. After S108, the series of processes ends.
[0069] According to the second embodiment described above, a virtual ellipse VE having a size according to the measurement optical path length based on the flight time of the light beam and with the focal positions Ptf, Prf as its focal points is assumed. Based on the virtual ellipse VE and the light receiving pixel positions included in the sensing data, the angle θt that the light beam makes with respect to the optical axis OAt of the projection lens system 12 is specified. Based on the angle θt, the light emission position Pt1 of the light beam reflected by the object OBJ is specified. Then, the light receiving profile showing the distribution waveform WF individually corresponding to the light emission position Pt1 is matched with the sensing data, and the highly accurate light receiving position Pr1 at which the light receiving intensity on the light receiving element 32 is maximized is specified with higher accuracy than the light receiving pixel positions included in the sensing data. Furthermore, by replacing the virtual ellipse VE with a replaced virtual ellipse with the positions Pt1, Pr1 as its focal points, the candidate positions of the object OBJ are specified on the replaced virtual ellipse, and based on this, a position Pd estimated as the position of the object OBJ from the candidate positions is calculated. Distance information based on the sum of the distance from the light-emitting element 11a to the position Pd and the distance from the position Pd to the light-receiving element 32 is output as distance information of the measurement object.
[0070] In other words, after the approximation calculation using the virtual ellipse VE, a more accurate light-emitting position Pt1 and light-receiving position Pr1 are identified, and these are used to redo the calculation based on the virtual ellipse VE while improving the accuracy, thereby improving the accuracy of the distance information by performing only two iterative calculations.
[0071] From the simultaneous equations of the three expressions, the unknowns Lt2, Lr2, and θt are calculated. The light emission position Pt1 of the light beam reflected by the object to be measured is identified using θt. Then, the light receiving profile showing the distribution waveform WF corresponding to the light emission position Pt1 individually is matched with the sensing data, and the highly accurate light receiving position Pr1 where the light receiving intensity on the light receiving element 32 is maximum is identified with higher accuracy than the light receiving pixel position included in the sensing data. Furthermore, Lb in the three simultaneous equations is replaced with the distance Lbd between the positions Pt1 and Pr1, and the unknowns Lt2, Lr2, and θt are calculated again. This makes it possible to output corrected distance information. In other words, the accuracy of the distance information can be improved by analyzing the simultaneous equations iteratively only twice.
[0072] In addition, since the calculation of the unknowns is performed by repeating the analysis of the same simultaneous equations only twice, the hardware that performs the calculations to obtain the unknowns may be designed so as to smoothly execute the analysis of the simultaneous equations. Therefore, the performance of the hardware can be easily optimized to provide the processing device 203.
[0073] (Other embodiments) Although several embodiments have been described above, the present disclosure should not be construed as being limited to those embodiments, and can be applied to various embodiments and combinations within the scope not departing from the gist of the present disclosure.
[0074] For example, the memory 3a may collectively hold distance measurement correction data. The distance measurement correction data may include the arrangement data of the light projecting unit 10 and the light receiving unit 30, the lens data, and the light source data 63 described in the second embodiment. The lens data may include the focal position data 61 and the optical axis data 62 described in the first embodiment.
[0075] The lens data may further include angle-of-view data indicating the angle of view of the light projecting lens system 12 and the angle of view of the light receiving lens system 31. The lens data may also include optical path length data of light passing through the light projecting lens system 12 and the optical path length data of light passing through the light receiving lens system 31. The optical path length data may be optical path lengths obtained for each of θt and θr by simulating the refraction of light in the lens system by, for example, a ray tracing method. The optical path length data may be expressed in a mathematical formula. The distances Lt2 and Lr2 may be corrected using the optical path length data.
[0076] To make the correction of the optical path length easier, the memory 3a may hold a correction table for the light projecting lens system 12 as optical path length data, and a correction table for the light receiving lens system 31. The correction table for the light projecting lens system 12 is a data table that stores θt or the position Pt1 of the light emitting element 11a in the light projecting lens system 12 and the optical path length correction value paired therewith. The correction table for the light receiving lens system 31 is a data table that stores θr or the position Pr1 of the light emitting element 11a in the light receiving lens system 31 and the optical path length correction value paired therewith.
[0077] In other embodiments, the light source 11 or the light emitting element 11a may be a vertical-cavity surface-emitting laser, an edge-emitting laser, or other such elements.
[0078] In another embodiment, the virtual ellipse VE may be assumed to be an ellipsoid expanded into three dimensions. In this case, Equations 3 and 4 may be replaced with three equations corresponding to the three dimensions.
[0079] In another embodiment, the optical axis OAt of the light projecting lens system 12 and the optical axis OAr of the light receiving lens system 31 may be arranged non-parallel to each other with a slight angle therebetween. In this case, the analytical formula may be appropriately modified in consideration of the directions of the optical axes OAt and OAr.
[0080] The controller and method described herein may be implemented by a special-purpose computer having a processor programmed to execute one or more functions embodied in a computer program. Alternatively, the device and method described herein may be implemented by a special-purpose hardware logic circuit. Alternatively, the device and method described herein may be implemented by one or more special-purpose computers configured by a combination of a processor executing a computer program and one or more hardware logic circuits. The computer program may also be stored on a computer-readable non-transitory tangible recording medium as instructions executed by the computer. [Explanation of symbols]
[0081] 2: LiDAR (optical sensor), 3,203: processing device, 3a: memory (storage medium), 3b: processor, 10: light projection unit, 11: light source, 12: light projection lens system, 30: light receiving unit, 31: light receiving lens system, 32: light receiving element, MA: measurement area, OBJ: object (object to be measured), Ptf: focal position of the light projection lens system, Prf: focal position of the light receiving lens system
Claims
1. A processing device for processing sensing data of an optical sensor (2) including: a light projection unit (10) that projects a light beam from a light source (11) through a light projection lens system (12) toward a measurement area (MA); and a light receiving unit (30) that is disposed at a position offset from the light projection unit and receives the light beam reflected by a measurement object (OBJ) in the measurement area with a light receiving element (32) through a light receiving lens system (31), At least one storage medium (3a) for storing a focal position (Ptf) of the light projection lens system and a focal position (Prf) of the light receiving lens system; and at least one processor (3b) configured to acquire the sensing data, the focal position of the light projection lens system, and the focal position of the light receiving lens system and execute processing; The at least one processor A processing device configured to output corrected distance information as distance information from the optical sensor to the object to be measured, in which the distance error of the object to be measured caused by the misalignment between the light-projecting unit and the light-receiving unit is corrected based on an approximation of the optical path of the light beam, with the focal position of the light-projecting lens system as the starting point and the focal position of the light-receiving lens system as the end point.
2. The at least one processor obtaining a measured optical path length based on a time of flight of the light beam; Identifying a virtual ellipse (VE) having a size according to the measurement optical path length and having a focal position of the light projection lens system and a focal position of the light receiving lens system as a candidate position of the measurement object; Calculating an estimated position (Pd) of the measurement target object from the candidate positions based on light receiving pixel positions included in the sensing data; 2. The processing device according to claim 1, configured to execute the steps of: outputting distance information based on a sum of a distance from a focal position of the light projection lens system to the estimated position and a distance from the estimated position to a focal position of the light receiving lens system as the corrected distance information.
3. The optical axis (OAt) of the light projection lens system and the optical axis (OAr) of the light receiving lens system are arranged in parallel, Define the measurement optical path length based on the time of flight of the light beam as Lm, the distance from the focal position of the light projecting lens system to the measurement object as Lt2, the distance from the measurement object to the focal position of the light receiving lens system as Lr2, the angle that the light ray received at the light receiving pixel position included in the sensing data makes with the optical axis of the light receiving lens system as θr, the angle that the light ray makes with the optical axis of the light projecting lens system before being reflected by the measurement object as θt, and the distance between the focal position of the light projecting lens system and the focal position of the light receiving lens system as Lb, The at least one processor Lm=Lt2+Lr2 Lt2・cosθt=Lr2・cosθr Lt2・sinθt+Lr2・sinθr=Lb 2. The processing device according to claim 1, wherein the processing device is configured to execute outputting the corrected distance information by calculating unknowns Lt2, Lr2, and θt from the three simultaneous equations above.
4. The at least one storage medium further stores a light receiving profile indicating a detection result distribution waveform (WF) on the light receiving element individually corresponding to the light emitting position of the light source, The at least one processor obtaining a measured optical path length based on a time of flight of the light beam; A virtual ellipse (VE) having a size according to the measurement optical path length and having a focal position of the light projection lens system and a focal position of the light receiving lens system as focal points is assumed; determining an angle that the light beam makes with respect to an optical axis (OAt) of the projection lens system based on the virtual ellipse and a light receiving pixel position at a pixel level included in the sensing data; Identifying the emission position of the light beam reflected by the measurement object based on the angle; Matching the light receiving profile, which indicates a distribution waveform that individually corresponds to the light emitting position, with the sensing data, and identifying a high-precision light receiving position where the light receiving intensity on the light receiving element is maximized with a higher accuracy than the light receiving pixel position; calculating an estimated position of the measurement target object from candidate positions of the replaced virtual ellipse in a form in which the virtual ellipse is replaced with a replaced virtual ellipse having the light emission position and the high-precision light receiving position as focal points; 2. The processing device according to claim 1, configured to execute the steps of: outputting distance information based on a sum of a distance from the light emission position to the estimated position and a distance from the estimated position to the high-precision light receiving position as distance information of the object to be measured.
5. The at least one storage medium further stores a light receiving profile indicating a detection result distribution waveform (WF) on the light receiving element individually corresponding to the light emitting position of the light source, The optical axis (OAt) of the light projection lens system and the optical axis (OAr) of the light receiving lens system are arranged in parallel, Define the measurement optical path length based on the time of flight of the light beam as Lm, the distance from the focal position of the light projecting lens system to the measurement object as Lt2, the distance from the measurement object to the focal position of the light receiving lens system as Lr2, the angle that the light ray received at the light receiving pixel position included in the sensing data makes with the optical axis of the light receiving lens system as θr, the angle that the light ray makes with the optical axis of the light projecting lens system before being reflected by the measurement object as θt, and the distance between the focal position of the light projecting lens system and the focal position of the light receiving lens system as Lb, The at least one processor Lm=Lt2+Lr2 Lt2・cosθt=Lr2・cosθr Lt2・sinθt+Lr2・sinθr=Lb Calculating the unknowns Lt2, Lr2, and θt from the three simultaneous equations above; Identifying the emission position of the light beam reflected by the measurement object using θt; Matching the light receiving profile, which indicates a distribution waveform that individually corresponds to the light emitting position, with the sensing data, and identifying a high-precision light receiving position where the light receiving intensity on the light receiving element is maximized with a higher accuracy than the light receiving pixel position; The processing device according to claim 1, configured to output the corrected distance information by replacing Lb in the three simultaneous equations with the distance Lbd between the light-emitting position and the high-precision light-receiving position, and then recalculating the unknowns Lt2, Lr2, and θt.
6. A method for processing sensing data of an optical sensor (2) including a light projection unit (10) that projects a light beam from a light source (11) through a light projection lens system (12) toward a measurement area (MA), and a light receiving unit (30) that is disposed at a position offset from the light projection unit and receives the light beam reflected by a measurement object (OBJ) in the measurement area with a light receiving element (32) through a light receiving lens system (31), the method being executed by at least one processor, the method comprising: acquiring the sensing data; Obtaining a focal position (Ptf) of the light projection lens system and a focal position (Prf) of the light receiving lens system from a storage medium (3a); approximating an optical path of the light beam from a focal position of the light projection lens system as a starting point to a focal position of the light receiving lens system as an end point; correcting a distance error of the object to be measured caused by a misalignment between the light-projecting unit and the light-receiving unit based on the approximation, and outputting corrected distance information as distance information from the optical sensor to the object to be measured.
7. A program for processing sensing data of an optical sensor (2) including a light projection unit (10) that projects a light beam from a light source (11) through a light projection lens system (12) toward a measurement area (MA), and a light receiving unit (30) that is disposed at a position offset from the light projection unit and receives the light beam reflected by a measurement object (OBJ) in the measurement area with a light receiving element (32) through a light receiving lens system (31), At least one processor, acquiring the sensing data; Obtaining a focal position (Ptf) of the light projection lens system and a focal position (Prf) of the light receiving lens system from a storage medium (3a); approximating an optical path of the light beam from a focal position of the light projection lens system as a starting point to a focal position of the light receiving lens system as an end point; A program configured to execute the following: correcting a distance error of the object to be measured caused by a misalignment between the light-projecting unit and the light-receiving unit based on the approximation, and outputting the corrected distance information as distance information from the optical sensor to the object to be measured.
Citation Information
Patent Citations
Three-dimensional information acquisition device and three-dimensional information acquisition method
JP2021012136A
Cited By
Distance measuring device
WO2026121029A1
