WO2020107379A1 - Reflectivity correction method for use in ranging apparatus, and ranging apparatus - Google Patents

Reflectivity correction method for use in ranging apparatus, and ranging apparatus Download PDF

Info

Publication number
WO2020107379A1
WO2020107379A1 PCT/CN2018/118448 CN2018118448W WO2020107379A1 WO 2020107379 A1 WO2020107379 A1 WO 2020107379A1 CN 2018118448 W CN2018118448 W CN 2018118448W WO 2020107379 A1 WO2020107379 A1 WO 2020107379A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection point
current detection
real
measuring device
distance measuring
Prior art date
Application number
PCT/CN2018/118448
Other languages
French (fr)
Chinese (zh)
Inventor
陈涵
张富
洪小平
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201880014852.2A priority Critical patent/CN111587383A/en
Priority to PCT/CN2018/118448 priority patent/WO2020107379A1/en
Publication of WO2020107379A1 publication Critical patent/WO2020107379A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/47Scattering, i.e. diffuse reflection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/55Specular reflectivity
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target

Definitions

  • the embodiments of the present invention relate to the technical field of data processing, and in particular, to a reflectance correction method and a distance measuring device applied to a distance measuring device.
  • lidar can obtain the three-dimensional information of the scene. By emitting a laser pulse signal to the measured object and obtaining the reflected pulse signal, then calculate the distance of the measured object from the lidar according to the time difference between the transmitted signal and the received signal In-depth information. Moreover, based on the known launch direction of the lidar, the angle information of the measured object relative to the lidar is obtained; combining the depth information and the angle information, a detection point can be obtained. When the lidar scans the scene all over, a large number of detection points can be obtained to form a point cloud. Based on the point cloud, the spatial three-dimensional information of the measured object relative to the lidar can be reconstructed.
  • lidar not only outputs the spatial three-dimensional information of the measured object, but also outputs the reflectance of the measured object.
  • the existing laser radar defaults that the laser pulse signal is normally incident on the measured object, and the normal incidence of the measured object will result in inaccurate reflectance calculation results.
  • Embodiments of the present invention provide a reflectance correction method and a distance measuring device applied to a distance measuring device.
  • an embodiment of the present invention provides a reflectance correction method applied to a distance measuring device, including:
  • the initial reflectance is corrected according to the incident angle to obtain the corrected reflectance of the current detection point.
  • an embodiment of the present invention provides a distance measuring apparatus, including a processor and a memory that stores executable instructions of the processor, and the processor communicates with the memory for reading from the memory. Execute instructions to achieve:
  • an embodiment of the present invention provides a readable storage medium that stores a number of computer instructions, and when the computer instructions are executed to implement the reflection applied to the distance measuring device according to the first aspect The steps of the rate correction method.
  • the real-time point cloud queue corresponding to the current detection point is obtained; then, the incident angle of the current detection point can be obtained according to the real-time point cloud queue. Afterwards, the initial reflectivity in the current detection point data can be corrected according to the incident angle, thereby obtaining the corrected reflectivity. It can be seen that, in this embodiment, by correcting the reflectivity of the detection point, it is beneficial to improve the accuracy of the subsequent calculation results, especially in the vehicle-mounted application scenario, which can reduce the occurrence of accidents. In addition, the number of detection points of the real-time point cloud queue in this embodiment is relatively small, which can reduce the storage space and computing resources required for the correction process and reduce the delay of the correction process, and is particularly suitable for online correction application scenarios.
  • FIG. 1 is a schematic diagram of a scene of an incident angle provided by an embodiment of the present invention
  • FIG. 2 is a block diagram of a distance measuring device provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a distance measuring device using a coaxial optical path provided by an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a reflectance correction method applied to a distance measuring device provided by an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of obtaining an incident angle according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of obtaining a normal vector according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of the effect of detecting a subsequence provided by an embodiment of the present invention.
  • FIG. 8 is another schematic flowchart of obtaining an incident angle according to an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of correcting reflectance provided by an embodiment of the present invention.
  • the existing laser radar defaults that the laser pulse signal is normally incident on the measured object. For many scenes, the default normal incidence on the measured object will not affect the calculation result. However, if it is used as an in-vehicle device, the range of the lidar will be set lower, such as 1-100 meters. In this case, when the object to be measured is a lane line, street sign, etc., the normal incidence object will be used by default. Affect the calculation results and reflectance calculation results.
  • is the reflectivity of the measured object
  • Pr and Pt are the received laser pulse energy and the emitted laser pulse energy
  • D r is the receiving aperture
  • is the atmosphere and lidar energy attenuation system
  • R is the The depth of the measured object from the lidar
  • is the incident angle of the laser pulse hitting the measured object.
  • Pr and Pt can be estimated by the height (ie, amplitude) of the laser pulse information transmitted and received by Lidar, Dr and ⁇ can be obtained by pre-measurement, and R can be It is calculated by the time difference between the pulse signal transmitted and received by the lidar. That is, in the physical model of reflectivity, only the incident angle ⁇ needs to be obtained separately. In addition, the subsequent embodiments of the present invention only describe how to obtain the incident angle, and other parameters can be obtained by referring to related technologies, which will not be repeated here.
  • the angle of incidence ⁇ refers to the angle between the normal vector of the measured object and the exit direction of the lidar.
  • the lidar 200 emits laser pulses to the measured object 301, where the normal vector of the measured object 301
  • the angle with the exit direction of the laser pulse is the incident angle ⁇ .
  • the embodiments of the present invention provide a reflectance correction method applied to a distance measuring device, which is suitable for a scene where lidar outputs detection points online.
  • the inventive concept is to obtain the angle of incidence of the current detection point first, and then combine the incidence The relationship between the angle and the reflectivity is used to correct the initial reflectivity of the current detection point using the acquired incident angle, thereby improving the accuracy of the reflectivity of the detection point. Finally, the current detection point is output to the upper computer for use by the upper computer.
  • the reflectance correction methods provided by various embodiments of the present invention may be applied to a distance measuring device, and the distance measuring device may be an electronic device such as a laser radar or a laser distance measuring device.
  • the distance measuring device is used to sense external environment information, for example, distance information, azimuth information, reflection intensity information, speed information, etc. of the environmental target.
  • the distance measuring device may detect the time of light propagation between the distance measuring device and the measured object, that is, Time-of-Flight (TOF) to detect the distance between the measured object and the distance measuring device.
  • TOF Time-of-Flight
  • the distance measuring device may also detect the distance from the measured object to the distance measuring device through other techniques, such as a distance measuring method based on phase shift measurement, or a distance measuring method based on frequency shift measurement, There are no restrictions.
  • the distance measuring device 200 may include a transmitting circuit 210, a receiving circuit 220, a sampling circuit 230 and an arithmetic circuit 240.
  • the transmitting circuit 210 may transmit a sequence of light pulses (for example, a sequence of laser pulses).
  • the receiving circuit 220 can receive the optical pulse sequence reflected by the object to be measured, and photoelectrically convert the optical pulse sequence to obtain an electrical signal, which can be output to the sampling circuit 230 after processing the electrical signal.
  • the sampling circuit 230 may sample the electrical signal to obtain the sampling result.
  • the arithmetic circuit 240 may determine the distance between the distance measuring device 200 and the measured object based on the sampling result of the sampling circuit 230.
  • the distance measuring device 200 may further include a control circuit 250, which can control other circuits, for example, can control the working time of each circuit and/or set parameters for each circuit.
  • a control circuit 250 which can control other circuits, for example, can control the working time of each circuit and/or set parameters for each circuit.
  • the distance measuring device shown in FIG. 2 includes a transmitting circuit, a receiving circuit, a sampling circuit, and an arithmetic circuit for emitting a beam of light for detection
  • the embodiments of the present application are not limited thereto.
  • the number of any one of the transmitting circuit, the receiving circuit, the sampling circuit, and the arithmetic circuit may also be at least two, for emitting at least two light beams in the same direction or respectively in different directions; wherein, the at least two light paths may be They are shot at the same time, or they can be shot at different times.
  • the light-emitting chips in the at least two emission circuits are packaged in the same module.
  • each emitting circuit includes a laser emitting chip, and the laser emitting chips in the at least two emitting circuits are packaged together and housed in the same packaging space.
  • the distance measuring device 200 may further include a scanning module 260 (not shown in the figure) for changing at least one laser pulse sequence emitted by the transmitting circuit to change the propagation direction.
  • a scanning module 260 (not shown in the figure) for changing at least one laser pulse sequence emitted by the transmitting circuit to change the propagation direction.
  • the module including the transmitting circuit 210, the receiving circuit 220, the sampling circuit 230, and the arithmetic circuit 240, or the module including the transmitting circuit 210, the receiving circuit 220, the sampling circuit 230, the arithmetic circuit 240, and the control circuit 250 may be called a measurement
  • the distance measuring module 250 may be independent of other modules, for example, the scanning module 260 (not shown in the figure).
  • the distance measuring device 200 may use a coaxial optical path, that is, the light beam emitted by the distance measuring device and the reflected light beam share at least part of the optical path in the distance measuring device. For example, after at least one laser pulse sequence emitted by the transmitting circuit is emitted by the scanning module to change the propagation direction, the laser pulse sequence reflected by the object to be measured passes through the scanning module and enters the receiving circuit.
  • the distance measuring device may also adopt an off-axis optical path, that is, the light beam emitted by the distance measuring device and the reflected light beam are respectively transmitted along different optical paths in the distance measuring device.
  • 3 is a schematic diagram of a distance measuring device using a coaxial optical path provided by an embodiment of the present invention. See Figure 3:
  • the distance measuring device 300 includes a distance measuring module 310.
  • the distance measuring module 310 includes a transmitter 303 (which may include the above-mentioned transmitting circuit), a collimating element 304, and a detector 305 (which may include the above-mentioned receiving circuit, sampling circuit, and arithmetic circuit) and Optical path changing element 306.
  • the ranging module 310 is used to emit a light beam, and receive back light, and convert the back light into an electrical signal.
  • the transmitter 303 can be used to transmit a sequence of optical pulses.
  • the transmitter 303 may emit a sequence of laser pulses.
  • the laser beam emitted by the transmitter 303 is a narrow-bandwidth beam with a wavelength outside the visible light range.
  • the collimating element 304 is disposed on the exit light path of the emitter, and is used to collimate the light beam emitted from the emitter 303, and collimate the light beam emitted from the emitter 303 into parallel light to the scanning module.
  • the collimating element is also used to converge at least a part of the return light reflected by the measured object.
  • the collimating element 304 may be a collimating lens or other element capable of collimating the light beam.
  • the optical path changing element 306 is used to combine the transmitting optical path and the receiving optical path in the distance measuring device before the collimating element 304, so that the transmitting optical path and the receiving optical path can share the same collimating element, so that the optical path More compact.
  • the transmitter 303 and the detector 305 may use respective collimating elements, and the optical path changing element 306 may be disposed on the optical path behind the collimating element.
  • the light path changing element can use a small-area mirror to emit The optical path and the receiving optical path are merged.
  • the optical path changing element may also use a reflector with a through hole, where the through hole is used to transmit the outgoing light of the emitter 303, and the reflector is used to reflect the return light to the detector 305. This can reduce the shielding of the small mirror's bracket to the return light in the case of using a small mirror.
  • the optical path changing element is offset from the optical axis of the collimating element 304. In other embodiments, the optical path changing element may also be located on the optical axis of the collimating element 304.
  • the distance measuring device 300 further includes a scanning module 302.
  • the scanning module 302 is placed on the exit optical path of the distance measuring module 310.
  • the scanning module 302 is used to change the transmission direction of the collimated light beam 319 emitted through the collimating element 304 and project it to the external environment, and project the return light to the collimating element 304 .
  • the returned light is converged on the detector 305 via the collimating element 304.
  • the scanning module 302 may include at least one optical element for changing the propagation path of the light beam, wherein the optical element may change the propagation path of the light beam by reflecting, refracting, diffracting, etc. the light beam.
  • the scanning module 302 includes a lens, a mirror, a prism, a galvanometer, a grating, a liquid crystal, an optical phased array (Optical Phased Array), or any combination of the above optical elements.
  • at least part of the optical element is moving, for example, the at least part of the optical element is driven to move by a driving module, and the moving optical element can reflect, refract, or diffract the light beam to different directions at different times.
  • multiple optical elements of the scanning module 302 may rotate or vibrate about a common axis 309, and each rotating or vibrating optical element is used to continuously change the direction of propagation of the incident light beam.
  • the multiple optical elements of the scanning module 302 may rotate at different rotation speeds, or vibrate at different speeds.
  • at least part of the optical elements of the scanning module 302 can rotate at substantially the same rotational speed.
  • the multiple optical elements of the scanning module may also rotate around different axes.
  • the multiple optical elements of the scanning module may also rotate in the same direction, or rotate in different directions; or vibrate in the same direction, or vibrate in different directions, which is not limited herein.
  • the scanning module 302 includes a first optical element 314 and a drive 316 connected to the first optical element 314.
  • the drive 316 is used to drive the first optical element 314 to rotate about a rotation axis 309 to change the first optical element 314 Collimate the direction of beam 319.
  • the first optical element 314 projects the collimated light beam 319 to different directions.
  • the angle between the direction of the collimated light beam 319 changed by the first optical element and the rotation axis 309 changes as the first optical element 314 rotates.
  • the first optical element 314 includes a pair of opposing non-parallel surfaces through which the collimated light beam 319 passes.
  • the first optical element 314 includes a prism whose thickness varies along at least one radial direction.
  • the first optical element 314 includes a wedge-angle prism, aligning the straight beam 319 for refraction.
  • the scanning module 302 further includes a second optical element 315.
  • the second optical element 315 rotates about a rotation axis 309.
  • the rotation speed of the second optical element 315 is different from the rotation speed of the first optical element 314.
  • the second optical element 315 is used to change the direction of the light beam projected by the first optical element 314.
  • the second optical element 315 is connected to another driver 317, and the driver 317 drives the second optical element 315 to rotate.
  • the first optical element 314 and the second optical element 315 may be driven by the same or different drivers, so that the rotation speed and/or rotation of the first optical element 314 and the second optical element 315 are different, thereby projecting the collimated light beam 319 to the outside space Different directions can scan a larger spatial range.
  • the controller 318 controls the drivers 316 and 317 to drive the first optical element 314 and the second optical element 315, respectively.
  • the rotation speeds of the first optical element 314 and the second optical element 315 may be determined according to the area and pattern expected to be scanned in practical applications.
  • Drives 316 and 317 may include motors or other drives.
  • the second optical element 315 includes a pair of opposed non-parallel surfaces through which the light beam passes. In one embodiment, the second optical element 315 includes a prism whose thickness varies along at least one radial direction. In one embodiment, the second optical element 315 includes a wedge angle prism.
  • the scanning module 302 further includes a third optical element (not shown in the figure) and a driver for driving the third optical element to move.
  • the third optical element includes a pair of opposed non-parallel surfaces through which the light beam passes.
  • the third optical element includes a prism whose thickness varies along at least one radial direction.
  • the third optical element includes a wedge angle prism. At least two of the first, second and third optical elements rotate at different rotational speeds and/or turns.
  • each optical element in the scanning module 302 can project light into different directions, such as directions 311 and 313, so as to scan the space around the distance measuring device 300.
  • directions 311 and 313 When the light 311 projected by the scanning module 302 hits the object 301 to be measured, a part of the light object 301 is reflected to the distance measuring device 300 in the direction opposite to the projected light 311.
  • the reflected light 312 reflected by the measured object 301 passes through the scanning module 302 and enters the collimating element 304.
  • the detector 305 is placed on the same side of the collimating element 304 as the emitter 303.
  • the detector 305 is used to convert at least part of the returned light passing through the collimating element 304 into an electrical signal.
  • each optical element is coated with an antireflection coating.
  • the thickness of the AR coating is equal to or close to the wavelength of the light beam emitted by the emitter 303, which can increase the intensity of the transmitted light beam.
  • a filter layer is coated on the surface of an element on the beam propagation path in the distance measuring device, or a filter is provided on the beam propagation path to transmit at least the wavelength band of the beam emitted by the transmitter, Reflect other bands to reduce the noise caused by ambient light to the receiver.
  • the transmitter 303 may include a laser diode through which laser pulses in the order of nanoseconds are emitted. Further, the laser pulse receiving time may be determined, for example, by detecting the rising edge time and/or the falling edge time of the electrical signal pulse. In this way, the distance measuring device 300 can calculate the TOF 307 using the pulse reception time information and the pulse emission time information, thereby determining the distance between the measured object 301 and the distance measuring device 300.
  • the distance and orientation detected by the distance measuring device 300 can be used for remote sensing, obstacle avoidance, mapping, modeling, navigation, and the like.
  • the distance measuring device of the embodiment of the present invention can be applied to a mobile platform, and the distance measuring device can be installed on the platform body of the mobile platform.
  • a mobile platform with a distance measuring device can measure the external environment, for example, measuring the distance between the mobile platform and obstacles for obstacle avoidance and other purposes, and performing two-dimensional or three-dimensional mapping on the external environment.
  • the mobile platform includes at least one of an unmanned aerial vehicle, a car, a remote control car, a robot, and a camera.
  • the distance measuring device is applied to an unmanned aerial vehicle, the platform body is the fuselage of the unmanned aerial vehicle.
  • the platform body When the distance measuring device is applied to an automobile, the platform body is the body of the automobile.
  • the car may be a self-driving car or a semi-automatic car, and no restriction is made here.
  • the platform body When the distance measuring device is applied to a remote control car, the platform body is the body of the remote control car.
  • the platform body When the distance measuring device is applied to a robot, the platform body is a robot.
  • the distance measuring device is applied to a camera, the platform body is the camera itself.
  • FIG. 4 is a schematic flowchart of a reflectance correction method applied to a distance measuring device provided by an embodiment of the present invention.
  • the distance measuring device is a laser radar.
  • a method for correcting the reflectance of a distance measuring device includes steps 401 to 403, in which:
  • the laser radar emits the laser pulse signal according to a preset mode
  • the preset mode may include at least one of the following: a straight line, a curve, a spiral line, and an "8"-shaped line.
  • the preset method can also be adjusted according to the specific scenario, which is not limited here.
  • the laser pulse information hits the measured object to form echo information, and the lidar samples the echo information to form a detection point.
  • the data of each detection point includes at least one of the following: the initial reflectance and spatial coordinates of the detection point.
  • the initial reflectivity is the uncorrected reflectivity.
  • the detection points stored by the lidar can form a real-time point cloud queue.
  • the real-time point cloud queue includes the current detection point, and the current detection point can be at any position in the real-time point cloud queue.
  • the current detection point is set at an intermediate position, that is, there are m detection points before the current detection point, and there are m detection points after the current detection point, where m is a positive integer.
  • the current detection point "before” or “after” refers to the sampling sequence, that is, the detection points of the real-time point cloud queue are detection points related to the time domain. To facilitate understanding, subsequent embodiments will be described in real-time point cloud queues in the time domain.
  • each detection point in the real-time point cloud queue can also be a detection point related to the spatial domain, that is, the lidar scans the area on both sides of the current detection point Detection points, wherein the detection points on both sides of the area can be obtained by scanning the entire object after scanning in the above time domain scheme.
  • the m value is a fixed value
  • the setting method is preset by the user or the lidar.
  • the value of m is related to the performance parameters of the lidar.
  • the performance parameters include at least one of the following: sampling speed and delay of the output detection point.
  • the lidar when the performance parameter includes the sampling speed, the lidar has a large number of sampling detection points per unit time. Due to the close proximity of these detection points, the calculation accuracy may be affected. Therefore, the greater the sampling speed, the greater the value of m. That is, the m value can be increased when the sampling speed is increased, and the m value can be decreased when the sampling speed is decreased.
  • the performance parameters include the time delay of the output detection point.
  • the real-time point cloud queue contains more detection points (that is, the larger the m value)
  • the The greater the amount of data, the greater the delay of the output probe point.
  • the real-time point cloud queue contains fewer detection points (that is, the smaller the m value)
  • the performance parameters include the sampling speed and the time delay of the output detection point. You can select a compromise value for the m value through the change of the sampling speed and the m value, and the change of the delay and the m value.
  • sampling speed and delay are the performance parameters of the lidar itself, and the sampling speed and delay have been set for each use, so a fixed value of m can be obtained.
  • performance parameters related to lidar such as reflectivity accuracy. In the case of higher reflectivity accuracy requirements, the greater the amount of data required by lidar, so the larger the value of m; the other hand, in the reflection When the rate accuracy requirement is lower, the amount of data required by lidar is smaller, so the smaller the m value.
  • the scheme of the present application can also be realized, and the corresponding scheme falls within the protection scope of the present application.
  • Method 2 The m value is a dynamic value, and the setting method is set dynamically by the lidar.
  • the value of m is related to at least one of the incident angle of the previous detection point, whether the current detection point and the previous detection point belong to the same object to be measured, and the scanning density at different positions in space.
  • the incident angle of the previous detection point refers to the incident angle of a detection point calculated by the subsequent step 402, and the one detection point is a detection point before the current detection point in sampling timing.
  • the smaller the incident angle at the previous detection point the smaller the angle between the measured object and the laser pulse signal exit direction, that is, the closer to the normal incident measured object.
  • the larger the number of sampled detection points the larger the m value needs to be.
  • the smaller the incident angle of the previous detection point the larger the value of m
  • the larger the incident angle of the previous detection point the smaller the value of m.
  • whether the current detection point and the previous detection point belong to the same object to be measured refers to whether the current detection point and the previous detection point are on the same object, that is, whether the current detection point and the previous detection point are lasers
  • the radar emits laser light to the same measured object and samples it on the echo signal. If the current detection point and the previous detection point belong to the measured object, and the two detection points are very close, so that the current detection point can have the same or similar expression effect as the previous detection point, in this case, the m value can be reduced.
  • the value of m is smaller; otherwise, if the real-time point cloud queue of the current detection point is the same as the previous If the real-time point cloud queue of points does not belong to the same object to be measured, the value of m is larger.
  • the scanning density at different positions in space refers to the density of point clouds at different positions in space.
  • the lidar can dynamically adjust the m value according to at least one of the incident angle including the previous detection point, whether the current detection point and the previous detection point belong to the same object to be measured, and the scanning density at different positions in space. For the value, if this solution can be realized, the corresponding solution falls into the protection scope of this application.
  • the technician can choose the setting method of the m value according to the specific scenario, and can choose the fixed method, the dynamic method, or a combination of the fixed method and the dynamic method, which is not limited herein.
  • the solution of the present invention is described in a manner that the m value is a fixed value.
  • the real-time point cloud queue formed by lidar can include:
  • Scenario 1 If the current detection point is the first detection point after the lidar is turned on, the lidar samples 2m+1 detection points, and uses the m+1 detection point as the current detection point. Relative to the last detection point, the current detection point is delayed by m detection points output.
  • Scenario 2 If the current detection point is not the first detection point, lidar discards the first m detection points in the real-time point cloud queue. Then, the lidar continues to sample the echo information of the laser pulse signal to obtain m new detection points and add them to the real-time point cloud queue. The m+1th probe point in the new point cloud queue becomes the new current probe point. Correspondingly, in the updated real-time point cloud queue, the current detection point and the last detection point are also delayed by m detection points. In this way, in this embodiment, by discarding part of the detection points, the storage space is not occupied, and storage resources are saved.
  • the lidar can obtain the incident angle of the current detection point according to the real-time point cloud queue.
  • the lidar can obtain the normal vector at the current detection point according to the real-time point cloud queue (corresponding to step 501).
  • Figure 6 When obtaining the normal vector, see Figure 6:
  • Lidar first divides the real-time point cloud queue to obtain the detection point subsequences that belong to the same continuous surface as the current detection point (corresponding to step 601).
  • the segmentation result is shown in Figure 7, which includes a total of four detection point subsequences indicated by dotted boxes , Including probing point subsequence a, probing point subsequence b, probing point subsequence c and probing point subsequence d.
  • the detection point sub-sequence b belongs to the same connection plane as the current detection point.
  • the lidar can obtain its corresponding surface (corresponding to step 602) according to the determined sub-sequence of detection points, where the surface includes at least one of the following: a plane and a high-order curved surface. Finally, the lidar acquires the normal vector of the surface at the current detection point (corresponding to step 603).
  • the segmentation method in this embodiment may include at least one of the following: clustering algorithm based on curvature, clustering algorithm based on spatial distance, clustering algorithm based on multi-pulse echo, clustering based on Mahalanobis distance Algorithm, clustering algorithm based on graduation.
  • the technician can choose the appropriate segmentation method according to the specific scenario, for example, directly use the depth information for the segmentation, and in the case where the detection point sub-sequence can be obtained, the corresponding partitioning scheme falls within the protection scope of the present application.
  • step 602 when determining the surface corresponding to the detection point subsequence, if the laser radar emits a laser pulse signal in a straight line, and the object to be measured is a larger plane (or a larger curved surface), such as the ground, The effect is better. If the measured object is a small volume object in space, the number of detection points in the detection point sub-sequence is too small, so that there can be countless faces determined based on the detection point sub-sequence, so that there are countless normal vectors determined subsequently, which affects Subsequent calculation accuracy. Therefore, in this scenario, the laser pulse signal can be emitted using a curve, a helix, or an "8" shape line to form a certain spatial angle in space, so that the effect of determining the surface will be better.
  • the lidar can obtain the exit direction of the lidar at the current detection point, and the angle between the normal vector and the exit direction can be calculated. Angle (corresponding to step 502).
  • the lidar can obtain the vector OS, and then using the cosine theorem, the vector OS and the vector can be obtained Angle (acute angle).
  • the lidar determines whether the current detection point and the previous detection point are on the same continuous surface (corresponding to step 801). If they belong to the same connection surface, the lidar acquires the incident angle of the previous detection point as the incident angle of the current detection point (corresponding to step 802). If they do not belong to the same connection surface, lidar uses the method shown in Figure 5 to obtain the angle of incidence.
  • the measured object and the lidar are in a static state. Since the change of the laser emission point and the exit direction of the two laser pulses is negligible, the incident angle can be directly obtained as shown in FIG. 8 method.
  • the lidar emission time interval between the two laser pulse signals before and after the determination is very short (for example, nanoseconds, microseconds) .
  • the motion of the measured object and the lidar such as millimeters, centimeters, or even meters
  • the angle of incidence of the previous detection point is used as the angle of incidence of the current detection point.
  • the same continuous surface can reduce the calculation amount, improve the calculation efficiency, and help reduce the delay of the output detection point.
  • the lidar can correct the initial reflectance according to the angle of incidence to obtain the corrected reflectance at the current detection point.
  • the correction method includes:
  • LiDAR Based on the physical model of reflectivity, LiDAR can use the physical model to directly calculate the corrected reflectivity when other parameters are known.
  • a calibration model can be set in advance as follows:
  • the lidar acquires the cosine value cos ⁇ n of the incident angle (corresponding to step 901). Since the initial reflectivity ⁇ raw, n has been obtained in step 401 and is a known quantity. The lidar can calculate the quotient of the initial reflectivity ⁇ raw,n and the cosine value cos ⁇ n , which is taken as the corrected reflectivity ⁇ corr,n (corresponding to step 902).
  • the lidar needs to integrate the storage amount of detection points, the amount of data calculation, and the reflectance accuracy to determine the number of detection points that need to be stored and calculated. As the accuracy of the reflectance is higher, the storage amount of the detection point is more and the calculation amount of data is larger. In some scenarios, the true value of the reflectance can be set in advance, and then the accuracy of the reflectance, the storage amount of the detection point, and the data calculation amount can be determined through continuous adjustment, which will not be repeated here.
  • the real-time point cloud queue corresponding to the current detection point is obtained; then, the incident angle of the current detection point can be obtained according to the real-time point cloud queue. Afterwards, the initial reflectivity in the current detection point data can be corrected according to the incident angle, thereby obtaining the corrected reflectivity.
  • the number of detection points of the real-time point cloud queue in this embodiment is relatively small, which can reduce the storage space and computing resources required for the correction process, reduce the delay of the correction process, and is suitable for the application scenario of online correction.
  • a distance measuring device provided by an embodiment of the present invention may further include a memory that stores executable instructions, and the arithmetic circuit 240 may be connected to the memory through a communication bus for reading from the memory. Execute instructions to achieve:
  • the number of detection points of the real-time point cloud queue in this embodiment is relatively small, which can reduce the storage space and computing resources required by the correction process, reduce the delay of the correction process, and is suitable for the application scenario of online correction.
  • the real-time point cloud queue includes a current detection point, there are m detection points before the current detection point, and m detection points after the current detection point, m is a positive integer.
  • the m value is a fixed value.
  • the m value is related to the performance parameter of the distance measuring device.
  • the performance parameter includes at least one of the following: sampling speed, time delay of the output detection point.
  • the performance parameter includes a sampling speed, and the larger the sampling speed, the larger the value of m.
  • the performance parameter includes a delay of outputting the detection point. The greater the delay, the smaller the value of m.
  • the m value is a dynamic value.
  • the value of m is related to at least one of the incident angle of the previous detection point, whether the current detection point and the previous detection point belong to the same object to be measured, and the scanning density at different positions in space.
  • the smaller the incident angle of the previous detection point the larger the value of m.
  • the real-time point cloud queue of the current detection point and the real-time point cloud queue of the previous detection point belong to the same object to be measured, and the smaller the value of m.
  • the greater the scanning density at different locations in space the greater the value of m.
  • the operation circuit 240 is configured to obtain the incident angle of the current detection point according to the real-time point cloud queue includes:
  • the angle between the normal vector and the exit direction of the distance measuring device is calculated to obtain the angle of incidence of the current detection point.
  • the operation circuit 240 for acquiring the normal vector at the current detection point according to the real-time point cloud queue includes:
  • the method for the arithmetic circuit 240 to segment the real-time point cloud queue includes at least one of the following: a clustering algorithm based on curvature, a clustering algorithm based on spatial distance, and a clustering based on multi-pulse echo Class algorithm, clustering algorithm based on Mahalanobis distance, clustering algorithm based on graduation.
  • the surface includes at least one of the following: a flat surface, a high-order curved surface.
  • the laser pulse signal is emitted according to a preset method, the preset method includes at least one of the following: straight line, curve, spiral line, "8" Zigzag line.
  • the detection points of the real-time point cloud queue are detection points related to the time domain, or the detection points of the real-time point cloud queue are detection points related to the space domain.
  • the operation circuit 240 for correcting the initial reflectance according to the incident angle includes:
  • a quotient of the initial reflectance and the cosine value is calculated, and the quotient is used as the corrected reflectance.
  • An embodiment of the present invention also provides a readable storage medium that stores a number of computer instructions, and when the computer instructions are executed, the reflectance applied to the distance measuring device shown in FIGS. 1 to 9 is realized The steps of the calibration method.

Abstract

A reflectivity correction method for use in a ranging apparatus, and a ranging apparatus. The reflectivity correction method for use in a ranging apparatus comprises: acquiring a real-time point cloud queue comprising a current detection point, the data of the current detection point comprising initial reflectivity; on the basis of the real-time point cloud queue, acquiring the angle of incidence of the current detection point; and, on the basis of the angle of incidence, correcting the initial reflectivity to obtain the corrected reflectivity of the current detection point. By means of correcting the reflectivity of the detection points, the present embodiments improve the accuracy of subsequent calculation results, and can reduce the occurrence of accidents, particularly in vehicle-mounted application scenarios. The number of detection points of the real-time point cloud queue in the present embodiments is relatively few, reducing the storage space and calculation resources required for the correction process and reducing the delay of the correction process, being particularly suitable for online correction application scenarios.

Description

应用于测距装置的反射率校正方法、测距装置Reflectance correction method applied to distance measuring device and distance measuring device 技术领域Technical field
本发明实施例涉及数据处理技术领域,尤其涉及一种应用于测距装置的反射率校正方法、测距装置。The embodiments of the present invention relate to the technical field of data processing, and in particular, to a reflectance correction method and a distance measuring device applied to a distance measuring device.
背景技术Background technique
激光雷达作为一种感知传感器可以获得场景的三维信息,通过向被测对象发射激光脉冲信号并获得反射回来的脉冲信号,然后根据发射信号和接收信号之间的时间差计算被测对象距离激光雷达的深度信息。并且,基于激光雷达的已知发射方向,获得被测对象相对激光雷达的角度信息;结合深度信息和角度信息可以得到一个探测点。当激光雷达对场景全部扫描一遍后,可以得到海量的探测点形成点云,基于点云即可以重建被测对象相对激光雷达的空间三维信息。As a sensor, lidar can obtain the three-dimensional information of the scene. By emitting a laser pulse signal to the measured object and obtaining the reflected pulse signal, then calculate the distance of the measured object from the lidar according to the time difference between the transmitted signal and the received signal In-depth information. Moreover, based on the known launch direction of the lidar, the angle information of the measured object relative to the lidar is obtained; combining the depth information and the angle information, a detection point can be obtained. When the lidar scans the scene all over, a large number of detection points can be obtained to form a point cloud. Based on the point cloud, the spatial three-dimensional information of the measured object relative to the lidar can be reconstructed.
在一些场景中,激光雷达不仅输出被测对象的空间三维信息,还会输出被测对象的反射率息。在重建被测对象的空间三维信息时,现有激光雷达默认激光脉冲信号正入射被测对象,采用正入射被测对象会导致反射率计算结果不准确。In some scenes, lidar not only outputs the spatial three-dimensional information of the measured object, but also outputs the reflectance of the measured object. When reconstructing the spatial three-dimensional information of the measured object, the existing laser radar defaults that the laser pulse signal is normally incident on the measured object, and the normal incidence of the measured object will result in inaccurate reflectance calculation results.
发明内容Summary of the invention
本发明实施例提供一种应用于测距装置的反射率校正方法、测距装置。Embodiments of the present invention provide a reflectance correction method and a distance measuring device applied to a distance measuring device.
第一方面,本发明实施例提供一种应用于测距装置的反射率校正方法,包括:In a first aspect, an embodiment of the present invention provides a reflectance correction method applied to a distance measuring device, including:
获取包含当前探测点的实时点云队列;所述当前探测点的数据中包括初始反射率;Obtain a real-time point cloud queue containing the current detection point; the data of the current detection point includes the initial reflectance;
根据所述实时点云队列获取所述当前探测点的入射角;Obtaining the incident angle of the current detection point according to the real-time point cloud queue;
根据所述入射角校正所述初始反射率,得到所述当前探测点校正后的 反射率。The initial reflectance is corrected according to the incident angle to obtain the corrected reflectance of the current detection point.
第二方面,本发明实施例提供一种测距装置,包括处理器和存储所述处理器可执行指令的存储器,所述处理器与所述存储器通信,用于从所述存储器内读取可执行指令以实现:In a second aspect, an embodiment of the present invention provides a distance measuring apparatus, including a processor and a memory that stores executable instructions of the processor, and the processor communicates with the memory for reading from the memory. Execute instructions to achieve:
获取包含当前探测点的实时点云队列;所述当前探测点的数据中包括初始反射率;Obtain a real-time point cloud queue containing the current detection point; the data of the current detection point includes the initial reflectance;
根据所述实时点云队列获取所述当前探测点的入射角;Obtaining the incident angle of the current detection point according to the real-time point cloud queue;
根据所述入射角校正所述初始反射率,得到所述当前探测点校正后的反射率。Correct the initial reflectance according to the incident angle to obtain the corrected reflectance of the current detection point.
第三方面,本发明实施例提供一种可读存储介质,所述可读存储介质上存储有若干计算机指令,所述计算机指令被执行时以实现第一方面所述应用于测距装置的反射率校正方法的步骤。In a third aspect, an embodiment of the present invention provides a readable storage medium that stores a number of computer instructions, and when the computer instructions are executed to implement the reflection applied to the distance measuring device according to the first aspect The steps of the rate correction method.
由上述的技术方案可见,本实施例中通过获取当前探测点对应的实时点云队列;然后,根据实时点云队列可以获取到当前探测点的入射角。之后,根据入射角可以校正当前探测点数据中的初始反射率,从而得到校正后的反射率。可见,本实施例通过对探测点的反射率进行校正,有利于提高后续计算结果的准确度,尤其是车载应用场景,可以减少事故的发生。并且,本实施例中实时点云队列的探测点数量相对较少,可以降低校正过程所需要的存储空间和计算资源,降低校正过程的时延,尤其适用于在线校正的应用场景。It can be seen from the above technical solution that, in this embodiment, the real-time point cloud queue corresponding to the current detection point is obtained; then, the incident angle of the current detection point can be obtained according to the real-time point cloud queue. Afterwards, the initial reflectivity in the current detection point data can be corrected according to the incident angle, thereby obtaining the corrected reflectivity. It can be seen that, in this embodiment, by correcting the reflectivity of the detection point, it is beneficial to improve the accuracy of the subsequent calculation results, especially in the vehicle-mounted application scenario, which can reduce the occurrence of accidents. In addition, the number of detection points of the real-time point cloud queue in this embodiment is relatively small, which can reduce the storage space and computing resources required for the correction process and reduce the delay of the correction process, and is particularly suitable for online correction application scenarios.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the embodiments of the present invention, the drawings required in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without paying any creative labor, other drawings can also be obtained based on these drawings.
图1是本发明实施例提供的一种入射角的场景示意图;1 is a schematic diagram of a scene of an incident angle provided by an embodiment of the present invention;
图2是本发明实施例提供的一种测距装置的框图;2 is a block diagram of a distance measuring device provided by an embodiment of the present invention;
图3是本发明实施例提供的采用同轴光路的测距装置的示意图;3 is a schematic diagram of a distance measuring device using a coaxial optical path provided by an embodiment of the present invention;
图4是本发明实施例提供的一种应用于测距装置的反射率校正方法的流程示意图;4 is a schematic flowchart of a reflectance correction method applied to a distance measuring device provided by an embodiment of the present invention;
图5是本发明实施例提供的一种获取入射角的流程示意图;FIG. 5 is a schematic flowchart of obtaining an incident angle according to an embodiment of the present invention;
图6是本发明实施例提供的获取法向量的流程示意图;6 is a schematic flowchart of obtaining a normal vector according to an embodiment of the present invention;
图7是本发明实施例提供的探测点子序列的效果示意图;7 is a schematic diagram of the effect of detecting a subsequence provided by an embodiment of the present invention;
图8是本发明实施例提供的另一种获取入射角的流程示意图;FIG. 8 is another schematic flowchart of obtaining an incident angle according to an embodiment of the present invention;
图9是本发明实施例提供的校正反射率的流程示意图。FIG. 9 is a schematic flowchart of correcting reflectance provided by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
考虑到,在重建被测对象的空间三维信息时,现有激光雷达默认激光脉冲信号正入射被测对象,对于较多的场景,默认正入射被测对象不会影响到计算结果。但是,若作为车载设备时,激光雷达的量程会设置的较低,例如1-100米,此情况下,当被测对象为车道线、路牌等物体时,再默认采用正入射被测对象会影响到计算结果以及反射率计算结果。Considering that when reconstructing the spatial three-dimensional information of the measured object, the existing laser radar defaults that the laser pulse signal is normally incident on the measured object. For many scenes, the default normal incidence on the measured object will not affect the calculation result. However, if it is used as an in-vehicle device, the range of the lidar will be set lower, such as 1-100 meters. In this case, when the object to be measured is a lane line, street sign, etc., the normal incidence object will be used by default. Affect the calculation results and reflectance calculation results.
实际应用中,反射率的物理模型为:In practical applications, the physical model of reflectivity is:
Figure PCTCN2018118448-appb-000001
Figure PCTCN2018118448-appb-000001
式中,ρ为被测对象的反射率,P r、P t分别为接收的激光脉冲能量和发射的激光脉冲能量,D r为接收孔径,η为大气和激光雷达能量衰减系统,R为被测对象距离激光雷达的深度,α为激光脉冲打到被测对象上的入射角。 In the formula, ρ is the reflectivity of the measured object, Pr and Pt are the received laser pulse energy and the emitted laser pulse energy, D r is the receiving aperture, η is the atmosphere and lidar energy attenuation system, R is the The depth of the measured object from the lidar, α is the incident angle of the laser pulse hitting the measured object.
在一次激光脉冲发射/接收的信号处理过程中,P r、P t可以通过激光雷达发射和接收的激光脉冲信息的高度(即振幅)进行估算,D r和η可通过预先测量获得,R可通过激光雷达发射和接收脉冲信号的时间差计算得到。即反射率的物理模型中仅有入射角α需要另外获得。另外,本发明后续实施例中仅介绍如何获取入射角,其他参数的获取可以参考相关技术,在此不再赘述。 During the signal processing of a laser pulse transmission/reception, Pr and Pt can be estimated by the height (ie, amplitude) of the laser pulse information transmitted and received by Lidar, Dr and η can be obtained by pre-measurement, and R can be It is calculated by the time difference between the pulse signal transmitted and received by the lidar. That is, in the physical model of reflectivity, only the incident angle α needs to be obtained separately. In addition, the subsequent embodiments of the present invention only describe how to obtain the incident angle, and other parameters can be obtained by referring to related technologies, which will not be repeated here.
其中入射角α是指被测对象的法向量与激光雷达的出射方向之间的夹角。参见图1,激光雷达200向被测对象301发射激光脉冲,其中被测对象301的法向量
Figure PCTCN2018118448-appb-000002
与激光脉冲的出射方向之间的夹角,即入射角α。另外,当正入射α=0°(即cosα=1)时,对反射率的计算结果影响不到。但是当cosα□1时,入射角α不准会引起反射率计算偏差。
The angle of incidence α refers to the angle between the normal vector of the measured object and the exit direction of the lidar. Referring to FIG. 1, the lidar 200 emits laser pulses to the measured object 301, where the normal vector of the measured object 301
Figure PCTCN2018118448-appb-000002
The angle with the exit direction of the laser pulse is the incident angle α. In addition, when normal incidence α=0° (that is, cosα=1), the reflectance calculation result is not affected. But when cosα□1, the inaccurate angle α will cause the deviation of the reflectance calculation.
为此,本发明实施例提供了一种应用于测距装置的反射率校正方法,适于激光雷达在线输出探测点的场景,其发明构思在于,先获取当前探测点的入射角,然后结合入射角与反射率之间的关系,利用获取的入射角对当前探测点的初始反射率进行校正,从而提高探测点反射率的准确度,最后将当前探测点输出给上位机,供上位机使用。To this end, the embodiments of the present invention provide a reflectance correction method applied to a distance measuring device, which is suitable for a scene where lidar outputs detection points online. The inventive concept is to obtain the angle of incidence of the current detection point first, and then combine the incidence The relationship between the angle and the reflectivity is used to correct the initial reflectivity of the current detection point using the acquired incident angle, thereby improving the accuracy of the reflectivity of the detection point. Finally, the current detection point is output to the upper computer for use by the upper computer.
本发明各个实施例提供的一种反射率校正方法可以应用于测距装置,该测距装置可以是激光雷达、激光测距设备等电子设备。在一种实施方式中,测距装置用于感测外部环境信息,例如,环境目标的距离信息、方位信息、反射强度信息、速度信息等。在一实施例中,测距装置可以通过测量测距装置和被测对象之间光传播的时间,即光飞行时间(Time-of-Flight,TOF),来探测被测对象到测距装置的距离。或者,测距装置也可以通过其他技术来探测被测对象到测距装置的距离,例如基于相位移动(phase shift)测量的测距方法,或者基于频率移动(frequency shift)测量的测距方法,在此不做限制。The reflectance correction methods provided by various embodiments of the present invention may be applied to a distance measuring device, and the distance measuring device may be an electronic device such as a laser radar or a laser distance measuring device. In one embodiment, the distance measuring device is used to sense external environment information, for example, distance information, azimuth information, reflection intensity information, speed information, etc. of the environmental target. In an embodiment, the distance measuring device may detect the time of light propagation between the distance measuring device and the measured object, that is, Time-of-Flight (TOF) to detect the distance between the measured object and the distance measuring device. distance. Alternatively, the distance measuring device may also detect the distance from the measured object to the distance measuring device through other techniques, such as a distance measuring method based on phase shift measurement, or a distance measuring method based on frequency shift measurement, There are no restrictions.
为了便于理解,以下将结合图2所示的测距装置200对测距的工作流 程进行举例描述。For ease of understanding, the following will describe the working process of distance measurement in conjunction with the distance measurement device 200 shown in FIG. 2.
参见图2,测距装置200可以包括发射电路210、接收电路220、采样电路230和运算电路240。Referring to FIG. 2, the distance measuring device 200 may include a transmitting circuit 210, a receiving circuit 220, a sampling circuit 230 and an arithmetic circuit 240.
发射电路210可以发射光脉冲序列(例如激光脉冲序列)。接收电路220可以接收经过被测对象反射的光脉冲序列,并对该光脉冲序列进行光电转换,以得到电信号,再对电信号进行处理之后可以输出给采样电路230。采样电路230可以对电信号进行采样,以获取采样结果。运算电路240可以基于采样电路230的采样结果,以确定测距装置200与被测对象之间的距离。The transmitting circuit 210 may transmit a sequence of light pulses (for example, a sequence of laser pulses). The receiving circuit 220 can receive the optical pulse sequence reflected by the object to be measured, and photoelectrically convert the optical pulse sequence to obtain an electrical signal, which can be output to the sampling circuit 230 after processing the electrical signal. The sampling circuit 230 may sample the electrical signal to obtain the sampling result. The arithmetic circuit 240 may determine the distance between the distance measuring device 200 and the measured object based on the sampling result of the sampling circuit 230.
可选地,该测距装置200还可以包括控制电路250,该控制电路250可以实现对其他电路的控制,例如,可以控制各个电路的工作时间和/或对各个电路进行参数设置等。Optionally, the distance measuring device 200 may further include a control circuit 250, which can control other circuits, for example, can control the working time of each circuit and/or set parameters for each circuit.
可理解的是,虽然图2示出的测距装置中包括一个发射电路、一个接收电路、一个采样电路和一个运算电路,用于出射一路光束进行探测,但是本申请实施例并不限于此,发射电路、接收电路、采样电路、运算电路中的任一种电路的数量也可以是至少两个,用于沿相同方向或分别沿不同方向出射至少两路光束;其中,该至少两束光路可以是同时出射,也可以是分别在不同时刻出射。一个示例中,该至少两个发射电路中的发光芯片封装在同一个模块中。例如,每个发射电路包括一个激光发射芯片,该至少两个发射电路中的激光发射芯片封装到一起,容置在同一个封装空间中。It is understandable that although the distance measuring device shown in FIG. 2 includes a transmitting circuit, a receiving circuit, a sampling circuit, and an arithmetic circuit for emitting a beam of light for detection, the embodiments of the present application are not limited thereto. The number of any one of the transmitting circuit, the receiving circuit, the sampling circuit, and the arithmetic circuit may also be at least two, for emitting at least two light beams in the same direction or respectively in different directions; wherein, the at least two light paths may be They are shot at the same time, or they can be shot at different times. In one example, the light-emitting chips in the at least two emission circuits are packaged in the same module. For example, each emitting circuit includes a laser emitting chip, and the laser emitting chips in the at least two emitting circuits are packaged together and housed in the same packaging space.
在一些实施例中,除了图2所示的电路,测距装置200还可以包括扫描模块260(图中未示出),用于将发射电路出射的至少一路激光脉冲序列改变传播方向出射。In some embodiments, in addition to the circuit shown in FIG. 2, the distance measuring device 200 may further include a scanning module 260 (not shown in the figure) for changing at least one laser pulse sequence emitted by the transmitting circuit to change the propagation direction.
其中,可以将包括发射电路210、接收电路220、采样电路230和运算电路240的模块,或者,包括发射电路210、接收电路220、采样电路230、运算电路240和控制电路250的模块称为测距模块,该测距模块250可以独立于其他模块,例如,扫描模块260(图中未示出)。Among them, the module including the transmitting circuit 210, the receiving circuit 220, the sampling circuit 230, and the arithmetic circuit 240, or the module including the transmitting circuit 210, the receiving circuit 220, the sampling circuit 230, the arithmetic circuit 240, and the control circuit 250 may be called a measurement For the distance module, the distance measuring module 250 may be independent of other modules, for example, the scanning module 260 (not shown in the figure).
测距装置200中可以采用同轴光路,也即测距装置出射的光束和经反射回来的光束在测距装置内共用至少部分光路。例如,发射电路出射的至少一路激光脉冲序列经扫描模块改变传播方向出射后,经被测对象反射回来的激光脉冲序列经过扫描模块后入射至接收电路。或者,测距装置也可以采用异轴光路,也即测距装置出射的光束和经反射回来的光束在测距装置内分别沿不同的光路传输。图3是本发明实施例提供的采用同轴光路的测距装置的示意图。参见图3:The distance measuring device 200 may use a coaxial optical path, that is, the light beam emitted by the distance measuring device and the reflected light beam share at least part of the optical path in the distance measuring device. For example, after at least one laser pulse sequence emitted by the transmitting circuit is emitted by the scanning module to change the propagation direction, the laser pulse sequence reflected by the object to be measured passes through the scanning module and enters the receiving circuit. Alternatively, the distance measuring device may also adopt an off-axis optical path, that is, the light beam emitted by the distance measuring device and the reflected light beam are respectively transmitted along different optical paths in the distance measuring device. 3 is a schematic diagram of a distance measuring device using a coaxial optical path provided by an embodiment of the present invention. See Figure 3:
测距装置300包括测距模块310,测距模块310包括发射器303(可以包括上述的发射电路)、准直元件304、探测器305(可以包括上述的接收电路、采样电路和运算电路)和光路改变元件306。测距模块310用于发射光束,且接收回光,将回光转换为电信号。其中,发射器303可以用于发射光脉冲序列。在一个实施例中,发射器303可以发射激光脉冲序列。可选的,发射器303发射出的激光束为波长在可见光范围之外的窄带宽光束。准直元件304设置于发射器的出射光路上,用于准直从发射器303发出的光束,将发射器303发出的光束准直为平行光出射至扫描模块。准直元件还用于会聚经被测对象反射的回光的至少一部分。该准直元件304可以是准直透镜或者是其他能够准直光束的元件。The distance measuring device 300 includes a distance measuring module 310. The distance measuring module 310 includes a transmitter 303 (which may include the above-mentioned transmitting circuit), a collimating element 304, and a detector 305 (which may include the above-mentioned receiving circuit, sampling circuit, and arithmetic circuit) and Optical path changing element 306. The ranging module 310 is used to emit a light beam, and receive back light, and convert the back light into an electrical signal. Among them, the transmitter 303 can be used to transmit a sequence of optical pulses. In one embodiment, the transmitter 303 may emit a sequence of laser pulses. Optionally, the laser beam emitted by the transmitter 303 is a narrow-bandwidth beam with a wavelength outside the visible light range. The collimating element 304 is disposed on the exit light path of the emitter, and is used to collimate the light beam emitted from the emitter 303, and collimate the light beam emitted from the emitter 303 into parallel light to the scanning module. The collimating element is also used to converge at least a part of the return light reflected by the measured object. The collimating element 304 may be a collimating lens or other element capable of collimating the light beam.
在图3所示实施例中,通过光路改变元件306来将测距装置内的发射光路和接收光路在准直元件304之前合并,使得发射光路和接收光路可以共用同一个准直元件,使得光路更加紧凑。在其他的在一些实施例中,也可以是发射器303和探测器305分别使用各自的准直元件,将光路改变元件306设置在准直元件之后的光路上。In the embodiment shown in FIG. 3, the optical path changing element 306 is used to combine the transmitting optical path and the receiving optical path in the distance measuring device before the collimating element 304, so that the transmitting optical path and the receiving optical path can share the same collimating element, so that the optical path More compact. In other embodiments, the transmitter 303 and the detector 305 may use respective collimating elements, and the optical path changing element 306 may be disposed on the optical path behind the collimating element.
在图3所示实施例中,由于发射器303出射光束的光束孔径较小,测距装置所接收到的回光的光束孔径较大,所以光路改变元件可以采用小面积的反射镜来将发射光路和接收光路合并。在其他的在一些实施例中,光路改变元件也可以采用带通孔的反射镜,其中该通孔用于透射发射器303的出射光,反射镜用于将回光反射至探测器305。这样可以减小采用小反 射镜的情况中小反射镜的支架会对回光的遮挡。In the embodiment shown in FIG. 3, since the beam aperture of the light beam emitted by the transmitter 303 is small and the beam aperture of the return light received by the distance measuring device is large, the light path changing element can use a small-area mirror to emit The optical path and the receiving optical path are merged. In other embodiments, the optical path changing element may also use a reflector with a through hole, where the through hole is used to transmit the outgoing light of the emitter 303, and the reflector is used to reflect the return light to the detector 305. This can reduce the shielding of the small mirror's bracket to the return light in the case of using a small mirror.
在图3所示实施例中,光路改变元件偏离了准直元件304的光轴。在其他的在一些实施例中,光路改变元件也可以位于准直元件304的光轴上。In the embodiment shown in FIG. 3, the optical path changing element is offset from the optical axis of the collimating element 304. In other embodiments, the optical path changing element may also be located on the optical axis of the collimating element 304.
测距装置300还包括扫描模块302。扫描模块302放置于测距模块310的出射光路上,扫描模块302用于改变经准直元件304出射的准直光束319的传输方向并投射至外界环境,并将回光投射至准直元件304。回光经准直元件304汇聚到探测器305上。The distance measuring device 300 further includes a scanning module 302. The scanning module 302 is placed on the exit optical path of the distance measuring module 310. The scanning module 302 is used to change the transmission direction of the collimated light beam 319 emitted through the collimating element 304 and project it to the external environment, and project the return light to the collimating element 304 . The returned light is converged on the detector 305 via the collimating element 304.
在一个实施例中,扫描模块302可以包括至少一个光学元件,用于改变光束的传播路径,其中,该光学元件可以通过对光束进行反射、折射、衍射等等方式来改变光束传播路径。例如,扫描模块302包括透镜、反射镜、棱镜、振镜、光栅、液晶、光学相控阵(Optical Phased Array)或上述光学元件的任意组合。一个示例中,至少部分光学元件是运动的,例如通过驱动模块来驱动该至少部分光学元件进行运动,该运动的光学元件可以在不同时刻将光束反射、折射或衍射至不同的方向。在一些实施例中,扫描模块302的多个光学元件可以绕共同的轴309旋转或振动,每个旋转或振动的光学元件用于不断改变入射光束的传播方向。在一个实施例中,扫描模块302的多个光学元件可以以不同的转速旋转,或以不同的速度振动。在另一个实施例中,扫描模块302的至少部分光学元件可以以基本相同的转速旋转。在一些实施例中,扫描模块的多个光学元件也可以是绕不同的轴旋转。在一些实施例中,扫描模块的多个光学元件也可以是以相同的方向旋转,或以不同的方向旋转;或者沿相同的方向振动,或者沿不同的方向振动,在此不作限制。In one embodiment, the scanning module 302 may include at least one optical element for changing the propagation path of the light beam, wherein the optical element may change the propagation path of the light beam by reflecting, refracting, diffracting, etc. the light beam. For example, the scanning module 302 includes a lens, a mirror, a prism, a galvanometer, a grating, a liquid crystal, an optical phased array (Optical Phased Array), or any combination of the above optical elements. In one example, at least part of the optical element is moving, for example, the at least part of the optical element is driven to move by a driving module, and the moving optical element can reflect, refract, or diffract the light beam to different directions at different times. In some embodiments, multiple optical elements of the scanning module 302 may rotate or vibrate about a common axis 309, and each rotating or vibrating optical element is used to continuously change the direction of propagation of the incident light beam. In one embodiment, the multiple optical elements of the scanning module 302 may rotate at different rotation speeds, or vibrate at different speeds. In another embodiment, at least part of the optical elements of the scanning module 302 can rotate at substantially the same rotational speed. In some embodiments, the multiple optical elements of the scanning module may also rotate around different axes. In some embodiments, the multiple optical elements of the scanning module may also rotate in the same direction, or rotate in different directions; or vibrate in the same direction, or vibrate in different directions, which is not limited herein.
在一个实施例中,扫描模块302包括第一光学元件314和与第一光学元件314连接的驱动器316,驱动器316用于驱动第一光学元件314绕转动轴309转动,使第一光学元件314改变准直光束319的方向。第一光学元件314将准直光束319投射至不同的方向。在一个实施例中,准直光束319经第一光学元件改变后的方向与转动轴309的夹角随着第一光学元件 314的转动而变化。在一个实施例中,第一光学元件314包括相对的非平行的一对表面,准直光束319穿过该对表面。在一个实施例中,第一光学元件314包括厚度沿至少一个径向变化的棱镜。在一个实施例中,第一光学元件314包括楔角棱镜,对准直光束319进行折射。In one embodiment, the scanning module 302 includes a first optical element 314 and a drive 316 connected to the first optical element 314. The drive 316 is used to drive the first optical element 314 to rotate about a rotation axis 309 to change the first optical element 314 Collimate the direction of beam 319. The first optical element 314 projects the collimated light beam 319 to different directions. In one embodiment, the angle between the direction of the collimated light beam 319 changed by the first optical element and the rotation axis 309 changes as the first optical element 314 rotates. In one embodiment, the first optical element 314 includes a pair of opposing non-parallel surfaces through which the collimated light beam 319 passes. In one embodiment, the first optical element 314 includes a prism whose thickness varies along at least one radial direction. In one embodiment, the first optical element 314 includes a wedge-angle prism, aligning the straight beam 319 for refraction.
在一个实施例中,扫描模块302还包括第二光学元件315,第二光学元件315绕转动轴309转动,第二光学元件315的转动速度与第一光学元件314的转动速度不同。第二光学元件315用于改变第一光学元件314投射的光束的方向。在一个实施例中,第二光学元件315与另一驱动器317连接,驱动器317驱动第二光学元件315转动。第一光学元件314和第二光学元件315可以由相同或不同的驱动器驱动,使第一光学元件314和第二光学元件315的转速和/或转向不同,从而将准直光束319投射至外界空间不同的方向,可以扫描较大的空间范围。在一个实施例中,控制器318控制驱动器316和317,分别驱动第一光学元件314和第二光学元件315。第一光学元件314和第二光学元件315的转速可以根据实际应用中预期扫描的区域和样式确定。驱动器316和317可以包括电机或其他驱动器。In one embodiment, the scanning module 302 further includes a second optical element 315. The second optical element 315 rotates about a rotation axis 309. The rotation speed of the second optical element 315 is different from the rotation speed of the first optical element 314. The second optical element 315 is used to change the direction of the light beam projected by the first optical element 314. In one embodiment, the second optical element 315 is connected to another driver 317, and the driver 317 drives the second optical element 315 to rotate. The first optical element 314 and the second optical element 315 may be driven by the same or different drivers, so that the rotation speed and/or rotation of the first optical element 314 and the second optical element 315 are different, thereby projecting the collimated light beam 319 to the outside space Different directions can scan a larger spatial range. In one embodiment, the controller 318 controls the drivers 316 and 317 to drive the first optical element 314 and the second optical element 315, respectively. The rotation speeds of the first optical element 314 and the second optical element 315 may be determined according to the area and pattern expected to be scanned in practical applications. Drives 316 and 317 may include motors or other drives.
在一个实施例中,第二光学元件315包括相对的非平行的一对表面,光束穿过该对表面。在一个实施例中,第二光学元件315包括厚度沿至少一个径向变化的棱镜。在一个实施例中,第二光学元件315包括楔角棱镜。In one embodiment, the second optical element 315 includes a pair of opposed non-parallel surfaces through which the light beam passes. In one embodiment, the second optical element 315 includes a prism whose thickness varies along at least one radial direction. In one embodiment, the second optical element 315 includes a wedge angle prism.
一个实施例中,扫描模块302还包括第三光学元件(图中未示出)和用于驱动第三光学元件运动的驱动器。可选地,该第三光学元件包括相对的非平行的一对表面,光束穿过该对表面。在一个实施例中,第三光学元件包括厚度沿至少一个径向变化的棱镜。在一个实施例中,第三光学元件包括楔角棱镜。第一、第二和第三光学元件中的至少两个光学元件以不同的转速和/或转向转动。In one embodiment, the scanning module 302 further includes a third optical element (not shown in the figure) and a driver for driving the third optical element to move. Optionally, the third optical element includes a pair of opposed non-parallel surfaces through which the light beam passes. In one embodiment, the third optical element includes a prism whose thickness varies along at least one radial direction. In one embodiment, the third optical element includes a wedge angle prism. At least two of the first, second and third optical elements rotate at different rotational speeds and/or turns.
扫描模块302中的各光学元件旋转可以将光投射至不同的方向,例如方向311和313,如此对测距装置300周围的空间进行扫描。当扫描模块302投射出的光311打到被测对象301时,一部分光被测对象301沿与投 射的光311相反的方向反射至测距装置300。被测对象301反射的回光312经过扫描模块302后入射至准直元件304。The rotation of each optical element in the scanning module 302 can project light into different directions, such as directions 311 and 313, so as to scan the space around the distance measuring device 300. When the light 311 projected by the scanning module 302 hits the object 301 to be measured, a part of the light object 301 is reflected to the distance measuring device 300 in the direction opposite to the projected light 311. The reflected light 312 reflected by the measured object 301 passes through the scanning module 302 and enters the collimating element 304.
探测器305与发射器303放置于准直元件304的同一侧,探测器305用于将穿过准直元件304的至少部分回光转换为电信号。The detector 305 is placed on the same side of the collimating element 304 as the emitter 303. The detector 305 is used to convert at least part of the returned light passing through the collimating element 304 into an electrical signal.
一个实施例中,各光学元件上镀有增透膜。可选的,增透膜的厚度与发射器303发射出的光束的波长相等或接近,能够增加透射光束的强度。In one embodiment, each optical element is coated with an antireflection coating. Optionally, the thickness of the AR coating is equal to or close to the wavelength of the light beam emitted by the emitter 303, which can increase the intensity of the transmitted light beam.
一个实施例中,测距装置中位于光束传播路径上的一个元件表面上镀有滤光层,或者在光束传播路径上设置有滤光器,用于至少透射发射器所出射的光束所在波段,反射其他波段,以减少环境光给接收器带来的噪音。In one embodiment, a filter layer is coated on the surface of an element on the beam propagation path in the distance measuring device, or a filter is provided on the beam propagation path to transmit at least the wavelength band of the beam emitted by the transmitter, Reflect other bands to reduce the noise caused by ambient light to the receiver.
在一些实施例中,发射器303可以包括激光二极管,通过激光二极管发射纳秒级别的激光脉冲。进一步地,可以确定激光脉冲接收时间,例如,通过探测电信号脉冲的上升沿时间和/或下降沿时间确定激光脉冲接收时间。如此,测距装置300可以利用脉冲接收时间信息和脉冲发出时间信息计算TOF307,从而确定被测对象301到测距装置300的距离。In some embodiments, the transmitter 303 may include a laser diode through which laser pulses in the order of nanoseconds are emitted. Further, the laser pulse receiving time may be determined, for example, by detecting the rising edge time and/or the falling edge time of the electrical signal pulse. In this way, the distance measuring device 300 can calculate the TOF 307 using the pulse reception time information and the pulse emission time information, thereby determining the distance between the measured object 301 and the distance measuring device 300.
测距装置300探测到的距离和方位可以用于遥感、避障、测绘、建模、导航等。在一种实施方式中,本发明实施方式的测距装置可应用于移动平台,测距装置可安装在移动平台的平台本体。具有测距装置的移动平台可对外部环境进行测量,例如,测量移动平台与障碍物的距离用于避障等用途,和对外部环境进行二维或三维的测绘。在某些实施方式中,移动平台包括无人飞行器、汽车、遥控车、机器人、相机中的至少一种。当测距装置应用于无人飞行器时,平台本体为无人飞行器的机身。当测距装置应用于汽车时,平台本体为汽车的车身。该汽车可以是自动驾驶汽车或者半自动驾驶汽车,在此不做限制。当测距装置应用于遥控车时,平台本体为遥控车的车身。当测距装置应用于机器人时,平台本体为机器人。当测距装置应用于相机时,平台本体为相机本身。The distance and orientation detected by the distance measuring device 300 can be used for remote sensing, obstacle avoidance, mapping, modeling, navigation, and the like. In one embodiment, the distance measuring device of the embodiment of the present invention can be applied to a mobile platform, and the distance measuring device can be installed on the platform body of the mobile platform. A mobile platform with a distance measuring device can measure the external environment, for example, measuring the distance between the mobile platform and obstacles for obstacle avoidance and other purposes, and performing two-dimensional or three-dimensional mapping on the external environment. In some embodiments, the mobile platform includes at least one of an unmanned aerial vehicle, a car, a remote control car, a robot, and a camera. When the distance measuring device is applied to an unmanned aerial vehicle, the platform body is the fuselage of the unmanned aerial vehicle. When the distance measuring device is applied to an automobile, the platform body is the body of the automobile. The car may be a self-driving car or a semi-automatic car, and no restriction is made here. When the distance measuring device is applied to a remote control car, the platform body is the body of the remote control car. When the distance measuring device is applied to a robot, the platform body is a robot. When the distance measuring device is applied to a camera, the platform body is the camera itself.
图4是本发明实施例提供的一种应用于测距装置的反射率校正方法的流程示意图,为方便描述后续各实施例以测距装置是激光雷达进行说明。 参见图4,一种应用于测距装置的反射率校正方法,包括步骤401~步骤403,其中:FIG. 4 is a schematic flowchart of a reflectance correction method applied to a distance measuring device provided by an embodiment of the present invention. For convenience of description of subsequent embodiments, the distance measuring device is a laser radar. Referring to FIG. 4, a method for correcting the reflectance of a distance measuring device includes steps 401 to 403, in which:
401,获取包含当前探测点的实时点云队列;所述当前探测点的数据中包括初始反射率。401. Obtain a real-time point cloud queue containing the current detection point; the data of the current detection point includes the initial reflectance.
本实施例中,激光雷达按照预设方式出射激光脉冲信号,预设方式可以包括以下至少一种:直线、曲线、螺旋线、“8”字形线。当然,预设方式还可以根据具体场景进行调整,在此不作限定。In this embodiment, the laser radar emits the laser pulse signal according to a preset mode, and the preset mode may include at least one of the following: a straight line, a curve, a spiral line, and an "8"-shaped line. Of course, the preset method can also be adjusted according to the specific scenario, which is not limited here.
激光脉冲信息打到被测对象之上形成回波信息,激光雷达采样回波信息形成探测点。各探测点的数据中包括以下至少一项:该探测点的初始反射率、空间坐标。其中初始反射率为未校正的反射率。The laser pulse information hits the measured object to form echo information, and the lidar samples the echo information to form a detection point. The data of each detection point includes at least one of the following: the initial reflectance and spatial coordinates of the detection point. The initial reflectivity is the uncorrected reflectivity.
然后,激光雷达存储采样的探测点可以形成一个实时点云队列。该实时点云队列中包括当前探测点,且当前探测点可以在实时点云队列中任一位置。Then, the detection points stored by the lidar can form a real-time point cloud queue. The real-time point cloud queue includes the current detection point, and the current detection point can be at any position in the real-time point cloud queue.
本实施例中,当前探测点设置在中间位置,即当前探测点之前有m个探测点,且当前探测点之后有m个探测点,其中m为正整数。需要说明的是,当前探测点“之前”或“之后”是指采样时序的先后顺序,即实时点云队列的探测点为与时间域相关的探测点。为方便理解,后续实施例将以时间域的实时点云队列来描述。In this embodiment, the current detection point is set at an intermediate position, that is, there are m detection points before the current detection point, and there are m detection points after the current detection point, where m is a positive integer. It should be noted that the current detection point "before" or "after" refers to the sampling sequence, that is, the detection points of the real-time point cloud queue are detection points related to the time domain. To facilitate understanding, subsequent embodiments will be described in real-time point cloud queues in the time domain.
另外,需要说明的是,在一些实时性要求较低,甚至离线场景下,实时点云队列中各探测点还可以为空间域相关的探测点,即激光雷达扫描当前探测点两侧区域得到的探测点,其中两侧区域的探测点可以采用上述时间域的方案对整个被对象全部扫描后筛选得到。In addition, it should be noted that in some real-time requirements that are low, even in offline scenarios, each detection point in the real-time point cloud queue can also be a detection point related to the spatial domain, that is, the lidar scans the area on both sides of the current detection point Detection points, wherein the detection points on both sides of the area can be obtained by scanning the entire object after scanning in the above time domain scheme.
本实施例中,对于m值取值采用两种方式:In this embodiment, two methods are used for the value of m:
方式一,m值为一固定值,设置方式由用户或者激光雷达自行预先设置。In the first way, the m value is a fixed value, and the setting method is preset by the user or the lidar.
本方式中,m值取值与激光雷达的性能参数相关。其中性能参数包括以下至少一种:采样速度、输出探测点的时延。In this mode, the value of m is related to the performance parameters of the lidar. The performance parameters include at least one of the following: sampling speed and delay of the output detection point.
例如,性能参数包括采样速度时,激光雷达在单位时间内采样探测点的数量较多,由于这些探测点的距离较近,有可能会影响到计算精度。因此,采样速度越大,m值取值越大。即,在采样速度升高时可以增加m值,在采样速度降低时可以降低m值。For example, when the performance parameter includes the sampling speed, the lidar has a large number of sampling detection points per unit time. Due to the close proximity of these detection points, the calculation accuracy may be affected. Therefore, the greater the sampling speed, the greater the value of m. That is, the m value can be increased when the sampling speed is increased, and the m value can be decreased when the sampling speed is decreased.
又如,性能参数包括输出探测点的时延时,考虑到激光雷达处理数据和时延的关系,若实时点云队列包含的探测点越多(即m值越大),则激光雷达处理的数据量越大,输出探测点的时延越大。反之,若实时点云队列包含的探测点越少(即m值越小),则激光雷达处理的数据量越小,输出探测点的时延越小。因此,激光雷达可以根据输出探测点的时延的要求,相应调整m值的大小。若激光雷达检测到输出探测点的时延增加,则可以降低m值;若时延减小,则可以增加m值。这样,在满足时延需求的情况下,动态调整m值,有利于提高探测点的准确度。For another example, the performance parameters include the time delay of the output detection point. Considering the relationship between the data processed by the lidar and the time delay, if the real-time point cloud queue contains more detection points (that is, the larger the m value), the The greater the amount of data, the greater the delay of the output probe point. Conversely, if the real-time point cloud queue contains fewer detection points (that is, the smaller the m value), the smaller the amount of data processed by the lidar and the smaller the delay in outputting the detection points. Therefore, Lidar can adjust the value of m according to the time delay requirement of the output detection point. If the lidar detects that the delay of the output detection point increases, the m value can be reduced; if the delay decreases, the m value can be increased. In this way, dynamically adjusting the value of m in the case of meeting the delay requirement is beneficial to improve the accuracy of the detection point.
再如,性能参数包括采样速度和输出探测点的时延时,可以通过采样速度与m值的变化情况,以及时延与m值的变化情况,为m值选择一个折中的取值。As another example, the performance parameters include the sampling speed and the time delay of the output detection point. You can select a compromise value for the m value through the change of the sampling speed and the m value, and the change of the delay and the m value.
需要说明的是,上述采样速度和时延为激光雷达自身的性能参数,在每次使用时,采样速度和时延都已经完成设置,因此可以得到一个固定的m值。当然,还可以选择与激光雷达有关的性能参数,例如反射率精度,在反射率精度要求越高的情况下,激光雷达需要的数据量越大,因此m值取值越大;反之,在反射率精度要求越低的情况下,激光雷达需要的数据量越少,因此m值取值越小。同样可以实现本申请的方案,相应方案落入本申请的保护范围。It should be noted that the above sampling speed and delay are the performance parameters of the lidar itself, and the sampling speed and delay have been set for each use, so a fixed value of m can be obtained. Of course, you can also choose performance parameters related to lidar, such as reflectivity accuracy. In the case of higher reflectivity accuracy requirements, the greater the amount of data required by lidar, so the larger the value of m; the other hand, in the reflection When the rate accuracy requirement is lower, the amount of data required by lidar is smaller, so the smaller the m value. The scheme of the present application can also be realized, and the corresponding scheme falls within the protection scope of the present application.
此方式下,实时点云队列相对简单,激光雷达处理也比较方便且可以保证计算结果的一致性。In this way, the real-time point cloud queue is relatively simple, lidar processing is also more convenient and can ensure the consistency of the calculation results.
方式二,m值为一动态值,设置方式由激光雷达动态设置。Method 2: The m value is a dynamic value, and the setting method is set dynamically by the lidar.
本方式中,m值取值与前一探测点的入射角、当前探测点与前一探测点是否属于同一被测对象以及在空间不同位置的扫描密度中的至少一项相 关。In this mode, the value of m is related to at least one of the incident angle of the previous detection point, whether the current detection point and the previous detection point belong to the same object to be measured, and the scanning density at different positions in space.
本方式中,前一探测点的入射角,是指利用后续步骤402计算出的一个探测点的入射角,在采样时序上该一个探测点是当前探测点之前的一个探测点。在前一探测点的入射角越小时,说明被测对象与激光脉冲信号的出射方向夹角越小,即越接近正入射被测对象。为覆盖相同面积的面,则采样的探测点的数量越多,则m值取值需要变大。换言之,前一探测点的入射角越小,则m值取值越大;前一探测点的入射角越大,则m值取值越小。In this manner, the incident angle of the previous detection point refers to the incident angle of a detection point calculated by the subsequent step 402, and the one detection point is a detection point before the current detection point in sampling timing. The smaller the incident angle at the previous detection point, the smaller the angle between the measured object and the laser pulse signal exit direction, that is, the closer to the normal incident measured object. In order to cover the same area, the larger the number of sampled detection points, the larger the m value needs to be. In other words, the smaller the incident angle of the previous detection point, the larger the value of m; the larger the incident angle of the previous detection point, the smaller the value of m.
本方式中,当前探测点与前一探测点是否属于同一被测对象,是指当前探测点与前一探测点是否在同一个被对象之上,即当前探测点与前一探测点是否为激光雷达分别向同一被测对象出射激光且在回波信号上采样得到。若当前探测点和前一探测点属于被测对象,且两个探测点距离非常近,这样当前探测点可以与前一探测点具有相同或者相近的表达效果,此情况下,可以降低m值。换言之,若前探测点的实时点云队列与前一探测点的实时点云队列属于同一被测对象,则m值取值较小;反之,若当前探测点的实时点云队列与前一探测点的实时点云队列不属于同一被测对象,则m值取值较大。In this mode, whether the current detection point and the previous detection point belong to the same object to be measured refers to whether the current detection point and the previous detection point are on the same object, that is, whether the current detection point and the previous detection point are lasers The radar emits laser light to the same measured object and samples it on the echo signal. If the current detection point and the previous detection point belong to the measured object, and the two detection points are very close, so that the current detection point can have the same or similar expression effect as the previous detection point, in this case, the m value can be reduced. In other words, if the real-time point cloud queue of the previous detection point and the real-time point cloud queue of the previous detection point belong to the same object to be measured, the value of m is smaller; otherwise, if the real-time point cloud queue of the current detection point is the same as the previous If the real-time point cloud queue of points does not belong to the same object to be measured, the value of m is larger.
本方式中,在空间不同位置的扫描密度,是指激光雷达在空间不同位置的点云密度。激光雷达在空间不同位置的扫描密度越大,覆盖相同面积所用的探测点就越多,因此空间不同位置的扫描密度越大,m值取值越大,反之,空间不同位置的扫描密度越小,m值取值越小。In this method, the scanning density at different positions in space refers to the density of point clouds at different positions in space. The greater the scanning density of the lidar at different positions in space, the more detection points used to cover the same area. Therefore, the greater the scanning density at different positions in space, the greater the value of m. Conversely, the lower the scanning density at different positions in space , The smaller the value of m.
需要说明的是,激光雷达可以根据包含前一探测点的入射角、当前探测点与前一探测点是否属于同一被测对象以及在空间不同位置的扫描密度中的至少一项,动态调整m值取值,在能够实现本方案的情况下,相应方案落入本申请的保护范围。It should be noted that the lidar can dynamically adjust the m value according to at least one of the incident angle including the previous detection point, whether the current detection point and the previous detection point belong to the same object to be measured, and the scanning density at different positions in space. For the value, if this solution can be realized, the corresponding solution falls into the protection scope of this application.
另需要说明的是,技术人员可以根据具体场景选择m值的设置方式,可以选择固定方式、动态方式或者固定方式和动态方式相结合的方法,在 此不作限定。It should also be noted that the technician can choose the setting method of the m value according to the specific scenario, and can choose the fixed method, the dynamic method, or a combination of the fixed method and the dynamic method, which is not limited herein.
为方便描述,本实施例中采用m值为固定值的方式描述本发明的方案。此场景下,激光雷达形成实时点云队列可以包括:For convenience of description, in this embodiment, the solution of the present invention is described in a manner that the m value is a fixed value. In this scenario, the real-time point cloud queue formed by lidar can include:
场景一,若当前探测点是激光雷达开机后的第一个探测点,则激光雷达采样2m+1个探测点,并将第m+1个探测点作为当前探测点。相对于最后一个探测点,当前探测点延时m个探测点输出。Scenario 1: If the current detection point is the first detection point after the lidar is turned on, the lidar samples 2m+1 detection points, and uses the m+1 detection point as the current detection point. Relative to the last detection point, the current detection point is delayed by m detection points output.
场景二,若当前探测点不是第一个探测点,激光雷达丢弃实时点云队列中的前m个探测点。然后,激光雷达继续采样激光脉冲信号的回波信息,得到m个新的探测点并补充到实时点云队列中。新的点云队列中的第m+1个探测点成为新的当前探测点。相应的,更新后的实时点云队列中,当前探测点与最后一个探测点也是延时m个探测点输出。这样,本实施例通过丢弃部分探测点可以不占用存储空间,节省存储资源。Scenario 2: If the current detection point is not the first detection point, lidar discards the first m detection points in the real-time point cloud queue. Then, the lidar continues to sample the echo information of the laser pulse signal to obtain m new detection points and add them to the real-time point cloud queue. The m+1th probe point in the new point cloud queue becomes the new current probe point. Correspondingly, in the updated real-time point cloud queue, the current detection point and the last detection point are also delayed by m detection points. In this way, in this embodiment, by discarding part of the detection points, the storage space is not occupied, and storage resources are saved.
402,根据所述实时点云队列获取所述当前探测点的入射角。402. Obtain the incident angle of the current detection point according to the real-time point cloud queue.
在一实施例中,激光雷达根据实时点云队列可以获取到当前探测点的入射角。参见图5,激光雷达根据实时点云队列可以获取到当前探测点处的法向量(对应步骤501)。获取法向量时,参见图6:In an embodiment, the lidar can obtain the incident angle of the current detection point according to the real-time point cloud queue. Referring to FIG. 5, the lidar can obtain the normal vector at the current detection point according to the real-time point cloud queue (corresponding to step 501). When obtaining the normal vector, see Figure 6:
激光雷达先分割实时点云队列,可以得到与当前探测点属于同一连续面的探测点子序列(对应步骤601),分割结果如图7所示,共包括4个用虚线框标示出的探测点子序列,包括探测点子序列a、探测点子序列b、探测点子序列c和探测点子序列d。其中与当前探测点属于同一连接面的是探测点子序列b。然后,激光雷达根据确定出的探测点子序列可以获取其对应的面(对应步骤602),其中面包括以下至少一种:平面、高阶曲面。最后,激光雷达获取面在当前探测点处的法向量(对应步骤603)。Lidar first divides the real-time point cloud queue to obtain the detection point subsequences that belong to the same continuous surface as the current detection point (corresponding to step 601). The segmentation result is shown in Figure 7, which includes a total of four detection point subsequences indicated by dotted boxes , Including probing point subsequence a, probing point subsequence b, probing point subsequence c and probing point subsequence d. Among them, the detection point sub-sequence b belongs to the same connection plane as the current detection point. Then, the lidar can obtain its corresponding surface (corresponding to step 602) according to the determined sub-sequence of detection points, where the surface includes at least one of the following: a plane and a high-order curved surface. Finally, the lidar acquires the normal vector of the surface at the current detection point (corresponding to step 603).
需要说明的是,本实施例中分割方式可以包括以下至少一种:基于曲率的聚类算法、基于空间距离的聚类算法、基于多脉冲回波的聚类算法、基于马氏距离的聚类算法、基于分度的聚类算法。当然,技术人员可以根据具体场景选择合适的分割方式,例如直接利用深度信息进行划分,在能 够得到探测点子序列的情况下,相应划分方案落入本申请的保护范围。It should be noted that the segmentation method in this embodiment may include at least one of the following: clustering algorithm based on curvature, clustering algorithm based on spatial distance, clustering algorithm based on multi-pulse echo, clustering based on Mahalanobis distance Algorithm, clustering algorithm based on graduation. Of course, the technician can choose the appropriate segmentation method according to the specific scenario, for example, directly use the depth information for the segmentation, and in the case where the detection point sub-sequence can be obtained, the corresponding partitioning scheme falls within the protection scope of the present application.
另需要说明的是,在步骤602中,确定探测点子序列对应的面时,若激光雷达出射激光脉冲信号的方式为直线,且被测对象是较大平面(或较大曲面),例如地面,则效果较好。若被测对象为空间内的小体积物体,则探测点子序列中探测点数量过少,使基于探测点子序列所确定出的面可以有无数个,从而后续确定出的法向量也有无数个,影响后续计算准确度。因此,此场景中,激光脉冲信号的出射方式可以采用曲线、螺旋线或“8”字形线在空间形成一定的空间角度,这样对确定面的效果会更好一些。It should be further noted that, in step 602, when determining the surface corresponding to the detection point subsequence, if the laser radar emits a laser pulse signal in a straight line, and the object to be measured is a larger plane (or a larger curved surface), such as the ground, The effect is better. If the measured object is a small volume object in space, the number of detection points in the detection point sub-sequence is too small, so that there can be countless faces determined based on the detection point sub-sequence, so that there are countless normal vectors determined subsequently, which affects Subsequent calculation accuracy. Therefore, in this scenario, the laser pulse signal can be emitted using a curve, a helix, or an "8" shape line to form a certain spatial angle in space, so that the effect of determining the surface will be better.
继续参见图5,激光雷达可以获取到当前探测点处的激光雷达的出射方向,可以计算出法向量和出射方向的夹角,该夹角就是当前探测点的入射角,即激光雷达可以获得入射角(对应步骤502)。继续参见图1,激光雷达可以获得向量OS,然后利用余弦定理,可以得到向量OS和向量
Figure PCTCN2018118448-appb-000003
的夹角(锐角)。
Continuing to refer to FIG. 5, the lidar can obtain the exit direction of the lidar at the current detection point, and the angle between the normal vector and the exit direction can be calculated. Angle (corresponding to step 502). Continuing to refer to FIG. 1, the lidar can obtain the vector OS, and then using the cosine theorem, the vector OS and the vector can be obtained
Figure PCTCN2018118448-appb-000003
Angle (acute angle).
在另一实施例中,参见图8,激光雷达确定当前探测点与前一探测点是否位于同一连续面(对应步骤801)。若属于同一连接面,则激光雷达获取前一探测点的入射角作为当前探测点的入射角(对应步骤802)。若不属于同一连接面,激光雷达采用图5所示方式获取入射角。In another embodiment, referring to FIG. 8, the lidar determines whether the current detection point and the previous detection point are on the same continuous surface (corresponding to step 801). If they belong to the same connection surface, the lidar acquires the incident angle of the previous detection point as the incident angle of the current detection point (corresponding to step 802). If they do not belong to the same connection surface, lidar uses the method shown in Figure 5 to obtain the angle of incidence.
需要说明的是,在一些场景中,被测对象和激光雷达呈现静止状态,由于两次激光脉冲的激光发射点、出射方向的变化可以忽略不计,因此可以直接采用图8所示获取入射角的方法。It should be noted that in some scenes, the measured object and the lidar are in a static state. Since the change of the laser emission point and the exit direction of the two laser pulses is negligible, the incident angle can be directly obtained as shown in FIG. 8 method.
在另一些场景中,考虑到被测对象和/或激光雷达呈现高速运动状态,此情况下,激光雷达在确定前后两次激光脉冲信号的发射时间间隔非常短(例如纳秒、微秒级),且被测对象和激光雷达的运动(例如毫米、厘米、甚至米级)在两次发射时间间隔内可忽略时,才将前一探测点的入射角作为当前探测点的入射角。In other scenes, considering that the measured object and/or lidar exhibit a high-speed motion state, in this case, the lidar emission time interval between the two laser pulse signals before and after the determination is very short (for example, nanoseconds, microseconds) , And when the motion of the measured object and the lidar (such as millimeters, centimeters, or even meters) is negligible in the two transmission time intervals, the angle of incidence of the previous detection point is used as the angle of incidence of the current detection point.
这样,本实施例中通过同一连续面可以减少计算量,提高计算效率,有利于降低输出探测点的时延。In this way, in this embodiment, the same continuous surface can reduce the calculation amount, improve the calculation efficiency, and help reduce the delay of the output detection point.
403,根据所述入射角校正所述初始反射率,得到所述当前探测点校正后的反射率。403. Correct the initial reflectance according to the incident angle to obtain the corrected reflectance at the current detection point.
本实施例中,激光雷达可以根据入射角校正初始反射率,从而得到当前探测点校正后的反射率,校正方式包括:In this embodiment, the lidar can correct the initial reflectance according to the angle of incidence to obtain the corrected reflectance at the current detection point. The correction method includes:
方式一,基于反射率的物理模型,在其他参数已知的情况下,激光雷达可以利用物理模型直接计算出校正后的反射率。Method 1: Based on the physical model of reflectivity, LiDAR can use the physical model to directly calculate the corrected reflectivity when other parameters are known.
方式二,可以预先设置一校正模型,如下所示:Method two, a calibration model can be set in advance as follows:
Figure PCTCN2018118448-appb-000004
Figure PCTCN2018118448-appb-000004
这样,参见图9,激光雷达获取入射角的余弦值cosα n(对应步骤901)。由于初始反射率ρ raw,n在步骤401中已经得到,为已知量。激光雷达可以计算出初始反射率ρ raw,n与余弦值cosα n的商,该商作为校正后的反射率ρ corr,n(对应步骤902)。 In this way, referring to FIG. 9, the lidar acquires the cosine value cosα n of the incident angle (corresponding to step 901). Since the initial reflectivity ρ raw, n has been obtained in step 401 and is a known quantity. The lidar can calculate the quotient of the initial reflectivity ρ raw,n and the cosine value cosα n , which is taken as the corrected reflectivity ρ corr,n (corresponding to step 902).
需要说明的是,本实施例中激光雷达需要综合探测点存储量、数据计算量以及反射率精度,来确定需要存储和计算的探测点的数量。由于反射率精度越高,则探测点存储量越多以及数据计算量越大。在一些场景中,可以预先设置反射率真值,然后通过不断调整的方式确定反射率精度、探测点存储量和数据计算量,在此不再赘述。It should be noted that, in this embodiment, the lidar needs to integrate the storage amount of detection points, the amount of data calculation, and the reflectance accuracy to determine the number of detection points that need to be stored and calculated. As the accuracy of the reflectance is higher, the storage amount of the detection point is more and the calculation amount of data is larger. In some scenarios, the true value of the reflectance can be set in advance, and then the accuracy of the reflectance, the storage amount of the detection point, and the data calculation amount can be determined through continuous adjustment, which will not be repeated here.
至此,本实施例中通过获取当前探测点对应的实时点云队列;然后,根据实时点云队列可以获取到当前探测点的入射角。之后,根据入射角可以校正当前探测点数据中的初始反射率,从而得到校正后的反射率。可见,本实施例通过对探测点的反射率进行校正,有利于提高后续计算结果的准确度,尤其是车载应用场景,可以减少事故的发生。并且,本实施例中实时点云队列的探测点数量相对较少,可以降低校正过程所需要的存储空间和计算资源,降低校正过程的时延,适用在线校正的应用场景。So far, in this embodiment, the real-time point cloud queue corresponding to the current detection point is obtained; then, the incident angle of the current detection point can be obtained according to the real-time point cloud queue. Afterwards, the initial reflectivity in the current detection point data can be corrected according to the incident angle, thereby obtaining the corrected reflectivity. It can be seen that, in this embodiment, by correcting the reflectivity of the detection point, it is beneficial to improve the accuracy of the subsequent calculation results, especially in the vehicle-mounted application scenario, which can reduce the occurrence of accidents. In addition, the number of detection points of the real-time point cloud queue in this embodiment is relatively small, which can reduce the storage space and computing resources required for the correction process, reduce the delay of the correction process, and is suitable for the application scenario of online correction.
继续参见图2和图3,本发明实施例提供的一种测距装置还可以包括存储可执行指令的存储器,运算电路240可以通过通信总线与存储器连接, 用于从所述存储器内读取可执行指令以实现:2 and FIG. 3, a distance measuring device provided by an embodiment of the present invention may further include a memory that stores executable instructions, and the arithmetic circuit 240 may be connected to the memory through a communication bus for reading from the memory. Execute instructions to achieve:
获取包含当前探测点的实时点云队列;所述当前探测点的数据中包括初始反射率;Obtain a real-time point cloud queue containing the current detection point; the data of the current detection point includes the initial reflectance;
根据所述实时点云队列获取所述当前探测点的入射角;Obtaining the incident angle of the current detection point according to the real-time point cloud queue;
根据所述入射角校正所述初始反射率,得到所述当前探测点校正后的反射率。Correct the initial reflectance according to the incident angle to obtain the corrected reflectance of the current detection point.
本实施例通过对探测点的反射率进行校正,有利于提高后续计算结果的准确度,尤其是车载应用场景,可以减少事故的发生。并且,本实施例中实时点云队列的探测点数量相对较少,可以降低校正过程所需要的存储空间和计算资源,降低校正过程的时延,适用在线校正的应用场景。In this embodiment, by correcting the reflectivity of the detection point, it is beneficial to improve the accuracy of subsequent calculation results, especially in the vehicle-mounted application scenario, which can reduce the occurrence of accidents. In addition, the number of detection points of the real-time point cloud queue in this embodiment is relatively small, which can reduce the storage space and computing resources required by the correction process, reduce the delay of the correction process, and is suitable for the application scenario of online correction.
在一些实施例中,所述实时点云队列包括当前探测点,当前探测点之前有m个探测点,以及当前探测点之后有m个探测点,m为正整数。In some embodiments, the real-time point cloud queue includes a current detection point, there are m detection points before the current detection point, and m detection points after the current detection point, m is a positive integer.
在一些实施例中,m值为一固定值。In some embodiments, the m value is a fixed value.
在一些实施例中,m值与所述测距装置的性能参数相关。In some embodiments, the m value is related to the performance parameter of the distance measuring device.
在一些实施例中,所述性能参数包括以下至少一种:采样速度、输出探测点的时延。In some embodiments, the performance parameter includes at least one of the following: sampling speed, time delay of the output detection point.
在一些实施例中,所述性能参数包括采样速度,所述采样速度越大,m值取值越大。In some embodiments, the performance parameter includes a sampling speed, and the larger the sampling speed, the larger the value of m.
在一些实施例中,所述性能参数包括输出探测点的时延,所述时延越大,m值取值越小。In some embodiments, the performance parameter includes a delay of outputting the detection point. The greater the delay, the smaller the value of m.
在一些实施例中,m值为一动态值。In some embodiments, the m value is a dynamic value.
在一些实施例中,m值与前一探测点的入射角、当前探测点与前一探测点是否属于同一被测对象以及在空间不同位置的扫描密度中的至少一项相关。In some embodiments, the value of m is related to at least one of the incident angle of the previous detection point, whether the current detection point and the previous detection point belong to the same object to be measured, and the scanning density at different positions in space.
在一些实施例中,前一探测点的入射角越小,则m值取值越大。In some embodiments, the smaller the incident angle of the previous detection point, the larger the value of m.
在一些实施例中,当前探测点的实时点云队列与前一探测点的实时点云队列属于同一被测对象,则m值越小。In some embodiments, the real-time point cloud queue of the current detection point and the real-time point cloud queue of the previous detection point belong to the same object to be measured, and the smaller the value of m.
在一些实施例中,空间不同位置的扫描密度越大,则m值取值越大。In some embodiments, the greater the scanning density at different locations in space, the greater the value of m.
在一些实施例中,所述运算电路240用于根据所述实时点云队列获取所述当前探测点的入射角包括:In some embodiments, the operation circuit 240 is configured to obtain the incident angle of the current detection point according to the real-time point cloud queue includes:
根据所述实时点云队列获取当前探测点处的法向量;Acquiring the normal vector at the current detection point according to the real-time point cloud queue;
计算所述法向量和测距装置的出射方向的夹角,获得所述当前探测点的入射角。The angle between the normal vector and the exit direction of the distance measuring device is calculated to obtain the angle of incidence of the current detection point.
在一些实施例中,所述运算电路240用于根据所述实时点云队列获取当前探测点处的法向量包括:In some embodiments, the operation circuit 240 for acquiring the normal vector at the current detection point according to the real-time point cloud queue includes:
分割所述实时点云队列,得到与所述当前探测点属于同一连续面的探测点子序列;Dividing the real-time point cloud queue to obtain a sub-sequence of detection points that belong to the same continuous surface as the current detection point;
获取所述探测点子序列对应的面;Acquiring the face corresponding to the probing point sub-sequence;
获取所述面在所述当前探测点处的法向量。Obtain the normal vector of the surface at the current detection point.
在一些实施例中,所述运算电路240用于分割所述实时点云队列的方法包括以下至少一种:基于曲率的聚类算法、基于空间距离的聚类算法、基于多脉冲回波的聚类算法、基于马氏距离的聚类算法、基于分度的聚类算法。In some embodiments, the method for the arithmetic circuit 240 to segment the real-time point cloud queue includes at least one of the following: a clustering algorithm based on curvature, a clustering algorithm based on spatial distance, and a clustering based on multi-pulse echo Class algorithm, clustering algorithm based on Mahalanobis distance, clustering algorithm based on graduation.
在一些实施例中,所述面包括以下至少一种:平面、高阶曲面。In some embodiments, the surface includes at least one of the following: a flat surface, a high-order curved surface.
在一些实施例中,获取包含当前探测点的实时点云队列的过程中,激光脉冲信号按照预设方式出射,所述预设方式包括以下至少一种:直线、曲线、螺旋线、“8”字形线。In some embodiments, during the process of acquiring the real-time point cloud queue containing the current detection point, the laser pulse signal is emitted according to a preset method, the preset method includes at least one of the following: straight line, curve, spiral line, "8" Zigzag line.
在一些实施例中,所述实时点云队列的探测点为与时间域相关的探测点,或者,所述实时点云队列的探测点为与空间域相关的探测点。In some embodiments, the detection points of the real-time point cloud queue are detection points related to the time domain, or the detection points of the real-time point cloud queue are detection points related to the space domain.
在一些实施例中,所述运算电路240用于根据所述入射角校正所述初始反射率包括:In some embodiments, the operation circuit 240 for correcting the initial reflectance according to the incident angle includes:
获取所述入射角的余弦值;Obtaining the cosine value of the incident angle;
计算所述初始反射率与所述余弦值的商,所述商作为校正后的反射率。A quotient of the initial reflectance and the cosine value is calculated, and the quotient is used as the corrected reflectance.
本发明实施例还提供了一种可读存储介质,所述可读存储介质上存储 有若干计算机指令,所述计算机指令被执行时实现图1~图9所示应用于测距装置的反射率校正方法的步骤。An embodiment of the present invention also provides a readable storage medium that stores a number of computer instructions, and when the computer instructions are executed, the reflectance applied to the distance measuring device shown in FIGS. 1 to 9 is realized The steps of the calibration method.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is any such actual relationship or order. The terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also others that are not explicitly listed Elements, or also include elements inherent to such processes, methods, objects, or equipment. Without more restrictions, the element defined by the sentence "include one..." does not exclude that there are other identical elements in the process, method, article or equipment that includes the element.
以上对本发明实施例所提供的设备和方法进行了详细介绍,本发明中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The devices and methods provided by the embodiments of the present invention have been described in detail above. Specific examples are used in the present invention to explain the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the methods and methods of the present invention. The core idea; for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting the present invention.

Claims (39)

  1. 一种应用于测距装置的反射率校正方法,其特征在于,包括:A reflectivity correction method applied to a distance measuring device, which is characterized by including:
    获取包含当前探测点的实时点云队列;所述当前探测点的数据中包括初始反射率;Obtain a real-time point cloud queue containing the current detection point; the data of the current detection point includes the initial reflectance;
    根据所述实时点云队列获取所述当前探测点的入射角;Obtaining the incident angle of the current detection point according to the real-time point cloud queue;
    根据所述入射角校正所述初始反射率,得到所述当前探测点校正后的反射率。Correct the initial reflectance according to the incident angle to obtain the corrected reflectance of the current detection point.
  2. 根据权利要求1所述的反射率校正方法,其特征在于,所述实时点云队列包括当前探测点,当前探测点之前有m个探测点,以及当前探测点之后有m个探测点,m为正整数。The reflectance correction method according to claim 1, wherein the real-time point cloud queue includes a current detection point, there are m detection points before the current detection point, and m detection points after the current detection point, m is Positive integer.
  3. 根据权利要求2所述的反射率校正方法,其特征在于,m值为一固定值。The reflectance correction method according to claim 2, wherein the m value is a fixed value.
  4. 根据权利要求2所述的反射率校正方法,其特征在于,m值与所述激光雷达的性能参数相关。The reflectance correction method according to claim 2, wherein the m value is related to the performance parameter of the lidar.
  5. 根据权利要求4所述的反射率校正方法,其特征在于,所述性能参数包括以下至少一种:采样速度、输出探测点的时延。The reflectance correction method according to claim 4, wherein the performance parameter includes at least one of the following: sampling speed and time delay of the output detection point.
  6. 根据权利要求5所述的反射率校正方法,其特征在于,所述性能参数包括采样速度,所述采样速度越大,m值取值越大。The reflectance correction method according to claim 5, wherein the performance parameter includes a sampling speed, and the larger the sampling speed, the larger the value of m.
  7. 根据权利要求5所述的反射率校正方法,其特征在于,所述性能参数包括输出探测点的时延,所述时延越大,m值取值越小。The reflectance correction method according to claim 5, wherein the performance parameter includes a delay of outputting the detection point, and the greater the delay, the smaller the value of m.
  8. 根据权利要求2所述的反射率校正方法,其特征在于,m值为一动态值。The reflectance correction method according to claim 2, wherein m value is a dynamic value.
  9. 根据权利要求8所述的反射率校正方法,其特征在于,m值与前一探测点的入射角、当前探测点与前一探测点是否属于同一被测对象以及在空间不同位置的扫描密度中的至少一项相关。The reflectance correction method according to claim 8, wherein the value of m and the angle of incidence of the previous detection point, whether the current detection point and the previous detection point belong to the same object to be measured, and the scan density at different positions in space At least one of the related.
  10. 根据权利要求9所述的反射率校正方法,其特征在于,前一探测 点的入射角越小,则m值取值越大。The reflectance correction method according to claim 9, wherein the smaller the incident angle of the previous detection point, the larger the value of m.
  11. 根据权利要求9所述的反射率校正方法,其特征在于,当前探测点的实时点云队列与前一探测点的实时点云队列属于同一被测对象,则m值越小。The reflectance correction method according to claim 9, wherein the real-time point cloud queue of the current detection point and the real-time point cloud queue of the previous detection point belong to the same object to be measured, and the smaller the m value.
  12. 根据权利要求9所述的反射率校正方法,其特征在于,空间不同位置的扫描密度越大,则m值取值越大。The reflectance correction method according to claim 9, wherein the greater the scanning density at different positions in space, the larger the value of m.
  13. 根据权利要求1所述的反射率校正方法,其特征在于,根据所述实时点云队列获取所述当前探测点的入射角包括:The reflectance correction method according to claim 1, wherein obtaining the incident angle of the current detection point according to the real-time point cloud queue includes:
    根据所述实时点云队列获取当前探测点处的法向量;Acquiring the normal vector at the current detection point according to the real-time point cloud queue;
    计算所述法向量和激光雷达的出射方向的夹角,获得所述当前探测点的入射角。The angle between the normal vector and the exit direction of the lidar is calculated to obtain the incident angle of the current detection point.
  14. 根据权利要求13所述的反射率校正方法,其特征在于,根据所述实时点云队列获取当前探测点处的法向量包括:The reflectance correction method according to claim 13, wherein obtaining the normal vector at the current detection point according to the real-time point cloud queue includes:
    分割所述实时点云队列,得到与所述当前探测点属于同一连续面的探测点子序列;Dividing the real-time point cloud queue to obtain a sub-sequence of detection points that belong to the same continuous surface as the current detection point;
    获取所述探测点子序列对应的面;Acquiring the face corresponding to the probing point sub-sequence;
    获取所述面在所述当前探测点处的法向量。Obtain the normal vector of the surface at the current detection point.
  15. 根据权利要求14所述的反射率校正方法,其特征在于,分割所述实时点云队列的方法包括以下至少一种:基于曲率的聚类算法、基于空间距离的聚类算法、基于多脉冲回波的聚类算法、基于马氏距离的聚类算法、基于分度的聚类算法。The reflectance correction method according to claim 14, wherein the method for segmenting the real-time point cloud queue includes at least one of the following: a clustering algorithm based on curvature, a clustering algorithm based on spatial distance, and a multi-pulse response Wave clustering algorithm, clustering algorithm based on Mahalanobis distance, clustering algorithm based on division.
  16. 根据权利要求14所述的反射率校正方法,其特征在于,所述面包括以下至少一种:平面、高阶曲面。The reflectance correction method according to claim 14, wherein the surface includes at least one of the following: a flat surface and a high-order curved surface.
  17. 根据权利要求1所述的反射率校正方法,其特征在于,获取包含当前探测点的实时点云队列的过程中,激光脉冲信号按照预设方式出射,所述预设方式包括以下至少一种:直线、曲线、螺旋线、“8”字形线。The reflectance correction method according to claim 1, characterized in that, in the process of acquiring the real-time point cloud queue containing the current detection point, the laser pulse signal is emitted in a preset manner, and the preset manner includes at least one of the following: Straight line, curve, spiral line, "8" shape line.
  18. 根据权利要求1所述的反射率校正方法,其特征在于,所述实时 点云队列的探测点为与时间域相关的探测点,或者,所述实时点云队列的探测点为与空间域相关的探测点。The reflectance correction method according to claim 1, wherein the detection points of the real-time point cloud queue are detection points related to the time domain, or the detection points of the real-time point cloud queue are related to the space domain Detection point.
  19. 根据权利要求1所述的反射率校正方法,其特征在于,根据所述入射角校正所述初始反射率包括:The reflectance correction method according to claim 1, wherein correcting the initial reflectance according to the incident angle comprises:
    获取所述入射角的余弦值;Obtaining the cosine value of the incident angle;
    计算所述初始反射率与所述余弦值的商,所述商作为校正后的反射率。A quotient of the initial reflectance and the cosine value is calculated, and the quotient is used as the corrected reflectance.
  20. 一种测距装置,其特征在于,包括处理器和存储所述处理器可执行指令的存储器,所述处理器与所述存储器通信,用于从所述存储器内读取可执行指令以实现:A distance measuring device, characterized in that it includes a processor and a memory storing executable instructions of the processor, and the processor communicates with the memory for reading executable instructions from the memory to implement:
    获取包含当前探测点的实时点云队列;所述当前探测点的数据中包括初始反射率;Obtain a real-time point cloud queue containing the current detection point; the data of the current detection point includes the initial reflectance;
    根据所述实时点云队列获取所述当前探测点的入射角;Obtaining the incident angle of the current detection point according to the real-time point cloud queue;
    根据所述入射角校正所述初始反射率,得到所述当前探测点校正后的反射率。Correct the initial reflectance according to the incident angle to obtain the corrected reflectance of the current detection point.
  21. 根据权利要求1所述的测距装置,其特征在于,所述实时点云队列包括当前探测点,当前探测点之前有m个探测点,以及当前探测点之后有m个探测点,m为正整数。The distance measuring device according to claim 1, wherein the real-time point cloud queue includes a current detection point, there are m detection points before the current detection point, and m detection points after the current detection point, m is positive Integer.
  22. 根据权利要求21所述的测距装置,其特征在于,m值为一固定值。The distance measuring device according to claim 21, wherein the m value is a fixed value.
  23. 根据权利要求21所述的测距装置,其特征在于,m值与所述测距装置的性能参数相关。The distance measuring device according to claim 21, wherein the m value is related to a performance parameter of the distance measuring device.
  24. 根据权利要求23所述的测距装置,其特征在于,所述性能参数包括以下至少一种:采样速度、输出探测点的时延。The distance measuring device according to claim 23, wherein the performance parameter includes at least one of the following: sampling speed and time delay of the output detection point.
  25. 根据权利要求24所述的测距装置,其特征在于,所述性能参数包括采样速度,所述采样速度越大,m值取值越大。The distance measuring device according to claim 24, wherein the performance parameter includes a sampling speed, and the larger the sampling speed, the larger the value of m.
  26. 根据权利要求24所述的测距装置,其特征在于,所述性能参数包括输出探测点的时延,所述时延越大,m值取值越小。The distance measuring device according to claim 24, wherein the performance parameter includes a delay of outputting the detection point, and the greater the delay, the smaller the value of m.
  27. 根据权利要求21所述的测距装置,其特征在于,m值为一动态值。The distance measuring device according to claim 21, wherein the m value is a dynamic value.
  28. 根据权利要求27所述的测距装置,其特征在于,m值与前一探测点的入射角、当前探测点与前一探测点是否属于同一被测对象以及在空间不同位置的扫描密度中的至少一项相关。The distance measuring device according to claim 27, wherein the value of m and the angle of incidence of the previous detection point, whether the current detection point and the previous detection point belong to the same object to be measured, and among the scanning densities at different positions in space At least one item is relevant.
  29. 根据权利要求28所述的测距装置,其特征在于,前一探测点的入射角越小,则m值取值越大。The distance measuring device according to claim 28, wherein the smaller the incident angle of the previous detection point, the larger the value of m.
  30. 根据权利要求28所述的测距装置,其特征在于,当前探测点的实时点云队列与前一探测点的实时点云队列属于同一被测对象,则m值越小。The distance measuring device according to claim 28, wherein the real-time point cloud queue of the current detection point and the real-time point cloud queue of the previous detection point belong to the same object to be measured, and the smaller the m value.
  31. 根据权利要求28所述的测距装置,其特征在于,空间不同位置的扫描密度越大,则m值取值越大。The distance measuring device according to claim 28, wherein the larger the scanning density at different positions in space, the larger the value of m.
  32. 根据权利要求20所述的测距装置,其特征在于,所述处理器用于根据所述实时点云队列获取所述当前探测点的入射角包括:The distance measuring device according to claim 20, wherein the processor is configured to obtain the incident angle of the current detection point according to the real-time point cloud queue includes:
    根据所述实时点云队列获取当前探测点处的法向量;Acquiring the normal vector at the current detection point according to the real-time point cloud queue;
    计算所述法向量和测距装置的出射方向的夹角,获得所述当前探测点的入射角。The angle between the normal vector and the exit direction of the distance measuring device is calculated to obtain the angle of incidence of the current detection point.
  33. 根据权利要求32所述的测距装置,其特征在于,所述处理器用于根据所述实时点云队列获取当前探测点处的法向量包括:The distance measuring device according to claim 32, wherein the processor is configured to obtain the normal vector at the current detection point according to the real-time point cloud queue including:
    分割所述实时点云队列,得到与所述当前探测点属于同一连续面的探测点子序列;Dividing the real-time point cloud queue to obtain a sub-sequence of detection points that belong to the same continuous surface as the current detection point;
    获取所述探测点子序列对应的面;Acquiring the face corresponding to the probing point sub-sequence;
    获取所述面在所述当前探测点处的法向量。Obtain the normal vector of the surface at the current detection point.
  34. 根据权利要求33所述的测距装置,其特征在于,所述处理器用于分割所述实时点云队列的方法包括以下至少一种:基于曲率的聚类算法、基于空间距离的聚类算法、基于多脉冲回波的聚类算法、基于马氏距离的聚类算法、基于分度的聚类算法。The distance measuring device according to claim 33, wherein the method for the processor to segment the real-time point cloud queue includes at least one of the following: a clustering algorithm based on curvature, a clustering algorithm based on spatial distance, Clustering algorithm based on multi-pulse echo, clustering algorithm based on Mahalanobis distance, clustering algorithm based on division.
  35. 根据权利要求33所述的测距装置,其特征在于,所述面包括以下至少一种:平面、高阶曲面。The distance measuring device according to claim 33, wherein the surface includes at least one of the following: a flat surface and a high-order curved surface.
  36. 根据权利要求20所述的测距装置,其特征在于,获取包含当前探 测点的实时点云队列的过程中,激光脉冲信号按照预设方式出射,所述预设方式包括以下至少一种:直线、曲线、螺旋线、“8”字形线。The distance measuring device according to claim 20, characterized in that, in the process of acquiring the real-time point cloud queue containing the current detection point, the laser pulse signal is emitted in a preset manner, the preset manner including at least one of the following: a straight line , Curve, spiral line, "8" shape line.
  37. 根据权利要求20所述的测距装置,其特征在于,所述实时点云队列的探测点为与时间域相关的探测点,或者,所述实时点云队列的探测点为与空间域相关的探测点。The distance measuring device according to claim 20, wherein the detection points of the real-time point cloud queue are detection points related to the time domain, or the detection points of the real-time point cloud queue are related to the space domain Probe point.
  38. 根据权利要求20所述的测距装置,其特征在于,所述处理器用于根据所述入射角校正所述初始反射率包括:The distance measuring device according to claim 20, wherein the processor for correcting the initial reflectance according to the incident angle comprises:
    获取所述入射角的余弦值;Obtaining the cosine value of the incident angle;
    计算所述初始反射率与所述余弦值的商,所述商作为校正后的反射率。A quotient of the initial reflectance and the cosine value is calculated, and the quotient is used as the corrected reflectance.
  39. 一种可读存储介质,其特征在于,所述可读存储介质上存储有若干计算机指令,所述计算机指令被执行时实现权利要求1~19任一项所述应用于测距装置的反射率校正方法的步骤。A readable storage medium, characterized in that a plurality of computer instructions are stored on the readable storage medium, and when the computer instructions are executed, the reflectance applied to the distance measuring device according to any one of claims 1 to 19 is realized The steps of the calibration method.
PCT/CN2018/118448 2018-11-30 2018-11-30 Reflectivity correction method for use in ranging apparatus, and ranging apparatus WO2020107379A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880014852.2A CN111587383A (en) 2018-11-30 2018-11-30 Reflectivity correction method applied to distance measuring device and distance measuring device
PCT/CN2018/118448 WO2020107379A1 (en) 2018-11-30 2018-11-30 Reflectivity correction method for use in ranging apparatus, and ranging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/118448 WO2020107379A1 (en) 2018-11-30 2018-11-30 Reflectivity correction method for use in ranging apparatus, and ranging apparatus

Publications (1)

Publication Number Publication Date
WO2020107379A1 true WO2020107379A1 (en) 2020-06-04

Family

ID=70851891

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/118448 WO2020107379A1 (en) 2018-11-30 2018-11-30 Reflectivity correction method for use in ranging apparatus, and ranging apparatus

Country Status (2)

Country Link
CN (1) CN111587383A (en)
WO (1) WO2020107379A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117651882A (en) * 2021-07-28 2024-03-05 深圳市速腾聚创科技有限公司 Reflectivity correction method, reflectivity correction device, computer readable storage medium and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104374780A (en) * 2014-12-04 2015-02-25 上海岩土工程勘察设计研究院有限公司 In-tunnel three-dimensional laser scanning reflectivity correction method
KR20170058132A (en) * 2015-11-18 2017-05-26 부경대학교 산학협력단 Correction method for reflectivity of single polarization radar using disdrometer and dual polarization radar
CN107179295A (en) * 2017-03-24 2017-09-19 深圳市速腾聚创科技有限公司 Laser radar obtains method, device and the system of object reflectance
CN208156194U (en) * 2017-06-05 2018-11-27 杭州光博视野科技有限责任公司 A kind of laser pulse ranging device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4171910A (en) * 1977-04-20 1979-10-23 The United States Of America As Represented By The Secretary Of The Navy Retroreflectance measurement system
JP2009270847A (en) * 2008-04-30 2009-11-19 Canon Inc Reflectance measuring device and reflectance measuring method
JP5177003B2 (en) * 2009-02-19 2013-04-03 株式会社デンソーウェーブ Laser distance measuring device
CN103257342B (en) * 2013-01-11 2014-11-05 大连理工大学 Three-dimension laser sensor and two-dimension laser sensor combined calibration method
CN104156567B (en) * 2014-07-23 2017-05-03 中国科学院遥感与数字地球研究所 Technique for acquiring surface reflectance by coupling satellite remote-sensing image atmospheric correction and topographical correction processes
CN108415003B (en) * 2018-06-08 2019-12-27 深圳煜炜光学科技有限公司 Laser ranging calibration device and calibration method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104374780A (en) * 2014-12-04 2015-02-25 上海岩土工程勘察设计研究院有限公司 In-tunnel three-dimensional laser scanning reflectivity correction method
KR20170058132A (en) * 2015-11-18 2017-05-26 부경대학교 산학협력단 Correction method for reflectivity of single polarization radar using disdrometer and dual polarization radar
CN107179295A (en) * 2017-03-24 2017-09-19 深圳市速腾聚创科技有限公司 Laser radar obtains method, device and the system of object reflectance
CN208156194U (en) * 2017-06-05 2018-11-27 杭州光博视野科技有限责任公司 A kind of laser pulse ranging device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KAI TAN, ET AL: "Correction for Incidence Angle and Distance Effects on TLS Intensity Data", GEOMATICS AND INFORMATION SCIENCE OF WUHAN UNIVERSITY, vol. 42, no. 2, 28 February 2017 (2017-02-28), pages 223 - 228, XP009521355, ISSN: 1671-8860, DOI: 10.13203/j.whugis20150502 *
MENGHUA LIU ET AL: "Full-waveform LiDAR Data Correction with Incidence Angle", REMOTE SENSING TECHNOLOGY AND APPLICATION, vol. 29, no. 4, 19 September 2014 (2014-09-19), pages 675 - 680, XP055710413, ISSN: 1004-0323, DOI: 10.11873/j.issn.1004-0323.2014.4.0675 *

Also Published As

Publication number Publication date
CN111587383A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
WO2022126427A1 (en) Point cloud processing method, point cloud processing apparatus, mobile platform, and computer storage medium
WO2021051281A1 (en) Point-cloud noise filtering method, distance measurement device, system, storage medium, and mobile platform
CN210142187U (en) Distance detection device
WO2020177077A1 (en) Calibration board, depth parameter calibration method, detection apparatus and calibration system
CN111771136A (en) Abnormity detection method, alarm method, distance measuring device and movable platform
WO2021195831A1 (en) Method and apparatus for measuring reflectivity in real time, and movable platform and computer-readable storage medium
WO2020215252A1 (en) Method for denoising point cloud of distance measurement device, distance measurement device and mobile platform
WO2020154980A1 (en) Method for calibrating external parameters of detection device, data processing device and detection system
US20210333401A1 (en) Distance measuring device, point cloud data application method, sensing system, and movable platform
WO2020113559A1 (en) Ranging system and mobile platform
WO2020107379A1 (en) Reflectivity correction method for use in ranging apparatus, and ranging apparatus
WO2020177076A1 (en) Detection apparatus initial-state calibration method and apparatus
CN114026461A (en) Method for constructing point cloud frame, target detection method, distance measuring device, movable platform and storage medium
WO2020237663A1 (en) Multi-channel lidar point cloud interpolation method and ranging apparatus
WO2020133384A1 (en) Laser ranging device and mobile platform
WO2020113360A1 (en) Sampling circuit, sampling method, ranging apparatus and mobile platform
WO2020142948A1 (en) Laser radar device, application-specific integrated circuit, and ranging apparatus
WO2022170535A1 (en) Distance measurement method, distance measurement device, system, and computer readable storage medium
WO2022217520A1 (en) Detection method and apparatus, movable platform, and storage medium
WO2022256976A1 (en) Method and system for constructing dense point cloud truth value data and electronic device
US20210333374A1 (en) Ranging apparatus and mobile platform
WO2020155142A1 (en) Point cloud resampling method, device and system
WO2021026766A1 (en) Motor rotation speed control method and device for scanning module, and distance measurement device
CN114080545A (en) Data processing method and device, laser radar and storage medium
CN111727383A (en) Rainfall measurement method, detection device and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18941225

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18941225

Country of ref document: EP

Kind code of ref document: A1