LIDAR AND METHOD FOR RANGE DETECTION USING LIDAR
20230003882 · 2023-01-05
Inventors
- Feng LIANG (SHANGHAI, CN)
- Zhaoming ZENG (SHANGHAI, CN)
- Rui Wang (Shanghai, CN)
- Shaoqing XIANG (SHANGHAI, CN)
Cpc classification
G01S7/4915
PHYSICS
G01S7/4865
PHYSICS
International classification
G01S7/481
PHYSICS
G01S7/4865
PHYSICS
G01S7/4915
PHYSICS
Abstract
A laser radar includes: an emitter including a laser array being configured to emit a plurality of laser beams for detecting a target object (OB); a receiver including a detector array being configured to receive echoes of the plurality of laser beams emitted from the laser array reflected by the target object (OB), and convert the echoes into electrical signals, where the laser array and the detector array form a plurality of detection channels, and each detection channel includes one laser and one detector; and a processor coupled to the emitter and the receiver, and configured to read a first electrical signal of a detector of a first detection channel and a second electrical signal of a detector of a second detection channel when a laser beam emitted from the laser array.
Claims
1. Laser radar, comprising: an emitter, comprising a laser array, the laser array being configured to emit a plurality of laser beams for detecting a target object; a receiver, comprising a detector array, the detector array being configured to receive echoes, reflected by the target object, of the plurality of laser beams emitted from the laser array and converting the echoes into electrical signals, wherein the laser array and the detector array form a plurality of detection channels, and each detection channel comprises one laser and one detector; and a processor, coupled to the emitter and the receiver, and configured to read a first electrical signal of a first detector of a first detection channel and a second electrical signal of a second detector of a second detection channel in response to a laser beam emitted from the laser array.
2. The laser radar according to claim 1, wherein the processor is configured to calculate a first distance between the target object and the laser radar and to generate point cloud data according to the first electrical signal when the first electrical signal is greater than or equal to a first preset threshold.
3. The laser radar according to claim 1, wherein the processor is configured to determine whether the second electrical signal is greater than or equal to a second preset threshold when the first electrical signal is less than a first preset threshold, and calculate a second distance between the target object and the laser radar according to the second electrical signal when the second electrical signal is greater than or equal to the second preset threshold, wherein the first preset threshold is less than or equal to the second preset threshold.
4. The laser radar according to claim 3, wherein the processor is configured to generate point cloud data when the second distance between the target object and the laser radar calculated according to the second electrical signal is less than or equal to a second preset distance value.
5. The laser radar according to claim 1, wherein the processor is configured to: calculate a first distance between the target object and the laser radar according to the first electrical signal when the first electrical signal is greater than or equal to a first preset threshold; calculate a second distance between the target object and the laser radar according to the second electrical signal when the second electrical signal is greater than or equal to a second preset threshold, wherein the first preset threshold is less than or equal to the second preset threshold; and when the first distance between the target object and the laser radar calculated according to the first electrical signal is greater than a first preset distance value, generate point cloud data according to the first distance calculated from the first electrical signal; and when the first distances is less than the first preset distance value and the second distance is less than a second preset distance value, compare the first electrical signal and the second electrical signal, select a stronger electrical signal from the first electrical signal and the second electrical signal, and generate point cloud data from a third distance calculated according to the stronger electrical signal.
6. The laser radar according to claim 1, wherein the first detector of the first detection channel and the second detector of the second detection channel are adjacent or arranged at an interval, and the second detector of the second detection channel is arranged in a deviation direction of the first detector of the first detection channel, wherein the deviation direction is a direction pointing from an emission optical axis to a receiving optical axis.
7. The laser radar according to claim 6, wherein the emitter and the receiver are arranged transversely in a horizontal direction.
8. The laser radar according to claim 7, further comprising a rotating shaft, a motor, and a rotor, wherein the motor is configured to drive the rotor to rotate around the rotating shaft, and the laser array and the detector array are arranged on the rotor.
9. The laser radar according to claim 8, wherein the detector array comprises a plurality of columns arranged in the horizontal direction, each column comprises at least one detector, and the second detector of the second detection channel is adjacent to or at the interval from the first detector of the first detection channel in the horizontal direction and points to the deviation direction.
10. The laser radar according to claim 6, wherein the emitter and the receiver are arranged vertically in a vertical direction.
11. The laser radar according to claim 10, further comprising a rotating mirror and a motor, wherein the rotating mirror is arranged downstream in an optical path of the emitter and upstream in an optical path of the receiver, the motor is configured to drive the rotating mirror to rotate, a laser beam emitted from the emitter is reflected toward outside of the laser radar by the rotating mirror, and an echo of the laser beam reflected by the target object is reflected by the rotating mirror to the receiver.
12. The laser radar according to claim 11, wherein the detector array comprises at least one column arranged in a horizontal direction, each column comprises a plurality of detectors arranged in the vertical direction, and the second detector of the second detection channel is adjacent to or at an interval from the first detector of the first detection channel in the same column and points to the deviation direction.
13. The laser radar according to claim 6, wherein the emitter is configured to control, when a first laser of the first detection channel emits a first laser beam a second laser of the second detection channel does not emit a second laser beam.
14. A ranging method for a laser radar, comprising: emitting a laser beam toward outside of the laser radar by a laser array of the laser radar; receiving an echo of the laser beam reflected by a target object; and reading a first electrical signal of a first detector of a first detection channel and a second electrical signal of a second detector of a second detection channel in response to the laser beam emitted from the laser array.
15. The ranging method according to claim 14, further comprising: calculating a first distance between the target object and the laser radar according to the first electrical signal when the first electrical signal is greater than or equal to a first preset threshold to generate point cloud data.
16. The ranging method according to claim 14, further comprising: determining whether the second electrical signal is greater than or equal to a second preset threshold when the first electrical signal is less than a first preset threshold; and calculating a second distance between the target object and the laser radar according to the second electrical signal when the second electrical signal is greater than or equal to the second preset threshold, wherein the first preset threshold is less than or equal to the second preset threshold.
17. The ranging method according to claim 16, further comprising: generating point cloud data when the second distance between the target object and the laser radar calculated according to the second electrical signal is less than or equal to a second preset distance value.
18. The ranging method according to claim 14, further comprising: calculating a first distance between the target object and the laser radar according to the first electrical signal when the first electrical signal is greater than or equal to a first preset threshold; calculating a second distance between the target object and the laser radar according to the second electrical signal when the second electrical signal is greater than or equal to a second preset threshold, wherein the first preset threshold is less than or equal to the second preset threshold; and when the first distance between the target object and the laser radar calculated according to the first electrical signal is greater than a first preset distance value, generating point cloud data according to the first distance calculated from the first electrical signal; and when the first distances is less than the first preset distance value and the second distance is less than a second preset distance value, comparing the first electrical signal and the second electrical signal, selecting a stronger electrical signal from the first electrical signal and the second electrical signal, and generating point cloud data from a third distance calculated according to the stronger electrical signal.
19. The ranging method according to claim 14, wherein the first detector of the first detection channel and the second detector of the second detection channel are adjacent or arranged at an interval, and the second detector of the second detection channel is arranged in a deviation direction of the first detector of the first detection channel, where the deviation direction is a direction pointing from an emission optical axis to a receiving optical axis.
20. The ranging method according to claim 14, further comprising: reflecting the laser beam emitted from the laser array toward the outside of the laser radar by using a rotating mirror; and reflecting the echo of the laser beam reflected by the target object to the receiver by using the rotating mirror.
21. The ranging method according to claim 20, wherein the emitter and the receiver are arranged vertically in a vertical direction, the laser radar further comprises a motor, and the motor is configured to drive the rotating mirror to rotate; a detector array comprises at least one column arranged in a horizontal direction, and each column comprises a plurality of detectors arranged in the vertical direction; and the second detector of the second detection channel is adjacent to or at an interval from the first detector of the first detection channel in the same column and points to the deviation direction; and the ranging method further comprises: controlling, when a first laser of the first detection channel emits a first laser beam, a second laser of the second detection channel does not emit a second laser beam.
22. The ranging method according to claim 14, wherein the emitter and the receiver are arranged transversely in a horizontal direction, the laser radar further comprises a rotating shaft, a motor, and a rotor, wherein the motor is configured to drive the rotor to rotate around the rotating shaft, and the laser array and the detector array are arranged on the rotor; a detector array comprises a plurality of columns arranged in the horizontal direction, and each column comprises at least one detector; and the second detector of the second detection channel is adjacent to or at an interval from the first detector of the first detection channel in the horizontal direction and points to the deviation direction; and the ranging method further comprises: controlling, when a first laser of the first detection channel emits a first laser beam, a second laser of the second detection channel does not emit a second laser beam.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The drawings forming a part of the present disclosure are used to provide further understanding of the present disclosure, and the exemplary embodiments and description of the present disclosure are used to explain the present disclosure but do not constitute an improper limitation on the present disclosure. In the drawings:
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
DETAILED DESCRIPTION
[0062] Only some exemplary embodiments are briefly described below. As those skilled in the art can realize, the described embodiments may be modified in various different ways without departing from the spirit or the scope of the present invention. Therefore, the drawings and the description are to be considered as illustrative in nature but not restrictive.
[0063] In the description of the present invention, it should be understood that, orientations or position relationships indicated by terms such as “center”, “longitudinal”, “transverse”, “length”, “width”, “thickness”, “up”, “down”, “front”, “rear”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inner”, “outer”, “clockwise”, “counterclockwise” are orientations or position relationship shown based on the accompanying drawings, and are merely used for describing the present invention and simplifying the description, rather than indicating or implying that the apparatus or element should have a particular orientation or be constructed and operated in a particular orientation, and therefore, should not be construed as a limitation on the present invention. In addition, the terms “first” and “second” are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined by “first” and “second” may explicitly or implicitly include one or more of the features. In the descriptions of the present invention, unless otherwise explicitly specified, “multiple” means two or more than two.
[0064] In the description of the present invention, it should be noted that, unless otherwise explicitly stipulated and restricted, terms “installation”, “joint connection”, and “connection” should be understood broadly, which, for example, may be a fixed connection, or may be a detachable connection, or an integral connection; or may be a mechanical connection, or may be an electrical connection, or may be mutual communication; or may be a direct connection, or may be an indirect connection by using a medium, or may be an internal communication between two components, or may be an interactive relationship between two components. Persons of ordinary skill in the art may understand the specific meanings of the foregoing terms in the present invention according to specific situations.
[0065] In the present invention, unless otherwise explicitly stipulated and restricted, that a first feature is “on” or “under” a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but in contact by using other features therebetween. Moreover, the first feature being “over”, “above”, and “on” the second feature includes that the first feature is directly above or obliquely above the second feature, or merely means that the first feature has a larger horizontal height than the second feature. That the first feature is “below”, “under”, or “beneath” the second feature includes that the first feature is right below and at the inclined bottom of the second feature or merely indicates that a level of the first feature is lower than that of the second feature.
[0066] Many different implementations or examples are provided in the following disclosure to implement different structures of the present invention. To simplify the disclosure of the present invention, components and settings in particular examples are described below. Certainly, they are merely examples and are not intended to limit the present invention. In addition, in the present invention, reference numerals and/or reference letters may be repeated in different examples. The repetition is for the purposes of simplification and clearness, and does not indicate a relationship between various implementations and/or settings discussed. Moreover, the present invention provides examples of various particular processes and materials, but a person of ordinary skill in the art may be aware of application of another process and/or use of another material.
[0067] Preferred embodiments of the present invention are described below in detail with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are merely used to explain the present invention but are not intended to limit the present invention.
[0068]
[0069] According to an embodiment of the present invention, the emitter 110 and the receiver 120 may be arranged transversely in a horizontal direction or may be arranged vertically in a vertical direction in the laser radar 100.
[0070]
[0071]
[0072] As shown in
[0073]
[0074] As shown in
[0075]
[0076]
[0077] The detector B of another detection channel, that is, the detection channel 2, is also arranged in the focal plane of the receiving lens system, but is arranged in a deviation direction adjacent to the detector A of the detection channel 1. However, the deviation direction is the direction pointing from the emission optical axis 1121 to the receiving optical axis 1221 (the direction of the arrow shown in
[0078]
[0079] It needs to be noted that the horizontal direction and the vertical direction discussed above are respectively a basically horizontal direction or a basically vertical direction. Due to factors such as a lamination error of a laser or a detector, there may be an error of, for example, −5° to 5°.
[0080] In summary, when a target object to be detected is near the laser radar, a part or most of a reflected spot of the target object may fail to be received by a detector of a current detection channel, but instead is received by a detector of a detection channel beside the current detection channel. When a target object to be detected is very close to the laser radar, very high energy is received by the detector of the detection channel beside the current detection channel, but a signal received by the detector of the current detection channel is very weak. In this case, if an electrical signal of the detector of the current detection channel is still used to calculate the distance of the target object, a large error may be generated, or even an incorrect conclusion may be reached.
[0081] A person skilled in the art should know that the described examples of the distance between the laser radar and the detected target object in the foregoing embodiments, for example, “far”, “near”, and “very close” are relative description but are not limited to absolute values. For the distance, a preset distance value may be determined according to spot deviation and diffusion degrees that are obtained from the lens parameters of the laser radar and change with a distance and the capability of recognizing an output signal of a detector by the system. Optionally, according to a preferred embodiment of the present invention, when the distance between the detected target object and the laser radar is less than five meters (certainly, the distance may be three meters or one meter), it is considered that the detected target object is near the laser radar. When the distance is greater than five meters, it is considered that the distance between the detected target object and the laser radar is relatively large.
[0082] Based on that the detector array 121 of the laser radar 100 cannot receive most echoes of a laser beam emitted from a laser in a current detection channel during the detection of a short-range target object, the applicant of the present invention proposes that when a laser of a detection channel emits a laser beam, both an electrical signal of a detector corresponding to one detection channel and an electrical signal of at least another detector are received. The electrical signal of the at least another detector is, for example, an electrical signal of a detector corresponding to a detection channel right next to the detector of the detection channel in the deviation direction, and is used as a short-range backup signal. For laser radar with an emitter and a receiver arranged transversely, the selection of another detector is further related to the field of view corresponding to the current detection channel. Preferably, another detector is closer to the zero-degree field of view of the laser radar than the current detector. In the present invention, the zero-degree field of view of the laser radar is the field of view corresponding to an optical axis of a group of emission lens/a group of receiving lens. When the field of view corresponding to a detection channel is higher than the zero-degree field of view, the field of view is positive, for example, further points to the sky direction relative to the zero-degree field of view. When the field of view corresponding to a detection channel is lower than the zero-degree field of view, the field of view is negative, for example, further points to the ground relative to the zero-degree field of view. For example, when the field of view corresponding to the current detection channel is negative, a detector corresponding to a detection channel right next to the detector of the detection channel in the deviation direction in a focal plane should be lower than the detector of the current detection channel. When the field of view corresponding to the current detection channel is positive, a detector corresponding to a detection channel right next to the detector of the detection channel in the deviation direction in a focal plane should be higher than the detector of the detection channel. If detecting that the electrical signal of the detector corresponding to the current detection channel is very weak or even detecting no electrical signal, the processor 130 starts to detect a short-range backup signal. If it is calculated that a distance value of the short-range backup signal is less than or equal to the preset distance value, the short-range backup signal is used as a short-range echo of the current channel. That is, for laser radar with a non-coaxial optical system, a method of using a single detection channel to emit a laser beam and multiple detection channels to receive echoes is used, so that the short ranging capability of non-coaxial laser radar can be greatly enhanced. Detailed description is provided below with reference to
[0083]
[0084]
[0085] As shown in
[0086] Step S502: Receive an echo, reflected by a target object, of the laser beam.
[0087] Step S503: Read, in response to a laser beam emitted from a laser array, a first electrical signal of a first detector of a first detection channel and a second electrical signal of a second detector of a second detection channel. Subsequently, according to the first electrical signal and the second electrical signal, the distance of the target object may be calculated and point cloud data of the laser radar may be generated.
[0088]
[0089] Step S601: Control the detection channel 1 to emit a laser beam and the detection channel 2 not to emit a laser beam. That is, the laser of the detection channel 1 is controlled to emit a laser beam, and at the same time the laser of the detection channel 2 is turned off and emits no laser beam.
[0090] Step S602: The detection channel 1 receives the laser beam. After the laser of the detection channel 1 starts to emit a laser beam, the detector of the detection channel 1 receives an echo of the laser beam reflected by the target object, a first electrical signal of the detector of one detection channel 1 is read within a preset time window.
[0091] Step S603: The detection channel 2 receives the laser beam. For example, synchronous with Step S602, after the laser of the detection channel 1 starts to emit a laser beam, the detector of the detection channel 2 also receives an echo of the laser beam reflected by the target object, a second electrical signal of the detector of the detection channel 2 is read within a preset time window. It is not limited that the preset time windows in step S602 and step S603 overlap or not, provided that the preset time windows can satisfy that echoes reflected by a long-range target object and a short-range target object are received by a detector and can be read.
[0092] Step S604: Determine whether a first electrical signal is greater than or equal to a first preset threshold. The detector of the detection channel 1 receives an echo. An electrical signal converted from the echo is the first electrical signal. The value relationship between the first electrical signal and the first preset threshold is determined. When the detector of the detection channel 1 receives an echo that is strong enough, that is, the first electrical signal is greater than or equal to the first preset threshold, it indicates that a spot drift does not occur or a drift degree is small, the process turns to step S606 to calculate the distance between the target object and the laser radar according to the first electrical signal. When the detector of the detection channel 1 receives no echo or receives an echo with weak energy, that is, the first electrical signal is less than the first preset threshold, the process turns to step S605.
[0093] Step S605: Determine whether a second electrical signal is greater than or equal to a second preset threshold. When the detection channel 1 receives no echo or receives an echo with very weak energy, it is determined whether the second electrical signal generated by the detector of the detection channel 2 is greater than or equal to the second preset threshold. When the detector of the detection channel 2 receives an echo that is strong enough, that is, the second electrical signal is greater than or equal to the second preset threshold, it indicates that a spot drift may have occurred, and the process turns to step S607 to calculate the distance between the target object and the laser radar according to the second electrical signal, or otherwise, when the detector of the detection channel 2 receives no echo or receives an echo with weak energy, that is, the second electrical signal is less than the second preset threshold, the process turns to step S610. It is considered that there is no effective point cloud, that is, no object is detected in the current detection. The foregoing first preset threshold is less than or equal to the second preset threshold.
[0094] Step S606: Calculate a distance between a target object and laser radar according to the first electrical signal. When the first electrical signal converted from the echo received by the detection channel 1 is greater than or equal to the first preset threshold, the processor calculates the distance between the target object and the laser radar according to the first electrical signal. For example, the distance between the target object and the laser radar may be obtained according to a receiving time of receiving an echo by the detector of the detection channel 1 and an emission time of a detection beam based on a time-of-flight (TOF) ranging method (distance=time of flight*speed of light/2).
[0095] Step S607: Calculate a distance between a target object and laser radar according to the second electrical signal. When the second electrical signal converted from the echo received by the detection channel 2 is greater than or equal to the second preset threshold, the processor calculates the distance between the target object and the laser radar according to the second electrical signal. For example, the time-of-flight TOF ranging method in the foregoing step S606 may be used for distance calculation.
[0096] Step S608: Determine whether the distance is less than or equal to a preset distance value. That is, the value relationship between the preset distance value and the distance between the target object and the laser radar calculated according to step S607 is determined. When the calculated distance is less than or equal to the preset distance, it indicates that currently a short-range target object is detected and a spot drift has occurred. The process turns to step S609 to generate point cloud data according to the second electrical signal of the detector of the detection channel 2. Otherwise, when the calculated distance is greater than the preset distance, it indicates that currently a short-range target object is detected. In this case, the echo received by the detector of the detection channel 2 and the generated second electrical signal are not caused by a spot drift generated because the detection channel 1 detects a short-range target object, but may be caused by external ambient light or the like. Therefore, the process turns to step S610 to determine that there is no effective point cloud, that is, no object is detected in the current detection. The preset distance is optionally five meters. The function of step S608 is equivalent to secondary verification. That is, in a case that the detector of the detection channel 1 receives no echo signal that is strong enough and the detector of the detection channel 2 receives an echo signal that is strong enough, it is verified whether the current target object is a short-range target object (for example, at a distance within five meters from the laser radar). In the case of a short-range target object, the second electrical signal (and a distance value obtained based on the second electrical signal) is used in place of the first electrical signal (and a distance value obtained based on the first electrical signal) to generate the point cloud data of the laser radar. If the target object is not a short-range target object, the detection result is discarded, and it is considered that there is no effective point cloud.
[0097] Step S609: Generate point cloud data. The point cloud data of the laser radar is generated according to the distance data obtained in step S606, or the point cloud data of the laser radar is generated according to the distance data obtained in step S607.
[0098] Step S610: Determine that there is no effective point cloud. When the detection channel 2 receives no echo that is strong enough, that is, the second electrical signal is less than the second preset threshold, no effective point cloud is generated. Alternatively, the detection channel 2 receives an echo that is strong enough, and the second electrical signal is greater than or equal to the second preset threshold. However, the distance between the target object and the laser radar obtained through processing and calculation according to the electrical signal is greater than the preset distance value, for example, greater than a preset distance of five meters. Because the electrical signal is used for short ranging, in this case, it may be chosen to skip using or discard the electrical signal, so that the electrical signal is not used for generating the point cloud data. When no effective point cloud is generated, it indicates that no object is detected in the current detection.
[0099] In the foregoing steps, S604 to S610 may be performed by the processor of the laser radar. In steps S602 and S603, the step of reading an electrical signal may be performed by the processor of the laser radar.
[0100] In the foregoing embodiments, for example, the distance obtained in step S607 is used within the preset distance to generate the point cloud data of the laser radar, and the distance data obtained in step S606 is used beyond the preset distance to generate the point cloud data of the laser radar. In the entire detection range, the two parts of point cloud data may be spliced.
[0101]
[0102] Step S701: Control the detection channel 1 to emit a laser beam and the detection channel 2 not to emit a laser beam. That is, the laser of the detection channel 1 is controlled to emit a laser beam, and at the same time the laser of the detection channel 2 is turned off and emits no laser beam.
[0103] Step S702: The detection channel 1 receives the laser beam. After the laser of the detection channel 1 starts to emit a laser beam, the detector of the detection channel 1 receives an echo of the laser beam reflected by the target object, a first electrical signal of the detector of one detection channel 1 is read within a preset time window.
[0104] Step S703: The detection channel 2 receives the laser beam. For example, synchronous with Step S702, after the laser of the detection channel 1 starts to emit a laser beam, the detector of the detection channel 2 also receives an echo of the laser beam reflected by the target object, a second electrical signal of the detector of the detection channel 2 is read within a preset time window. It is not limited that the preset time windows in step S702 and step S703 overlap or not, provided that the preset time windows can satisfy that echoes reflected by a long-range target object and a short-range target object are received by a detector and can be read.
[0105] Step S704: Determine whether a first electrical signal is greater than or equal to a first preset threshold. The detector of the detection channel 1 receives an echo. An electrical signal converted from the echo is the first electrical signal. The value relationship between the first electrical signal and the first preset threshold is determined. When the detector of the detection channel 1 receives an echo that is strong enough, that is, the first electrical signal is greater than or equal to the first preset threshold, it indicates that a spot drift does not occur or a drift degree is small, the process turns to step S706 to calculate the distance between the target object and the laser radar according to the first electrical signal. When the detector of the detection channel 1 receives no echo or receives an echo with weak energy, that is, the first electrical signal is less than the first preset threshold, the process turns to step S705.
[0106] Step S705: Determine whether a second electrical signal is greater than or equal to a second preset threshold. When the detection channel 1 receives no echo or receives an echo with very weak energy, it is determined whether the second electrical signal generated by the detector of the detection channel 2 is greater than or equal to the second preset threshold. When the detector of the detection channel 2 receives an echo that is strong enough, that is, the second electrical signal is greater than or equal to the second preset threshold, it indicates that a spot drift may have occurred, and the process turns to step S707 to calculate the distance between the target object and the laser radar according to the second electrical signal, or otherwise, when the detector of the detection channel 2 receives no echo or receives an echo with weak energy, that is, the second electrical signal is less than the second preset threshold, the process turns to step S712. It is considered that there is no effective point cloud, that is, no object is detected in the current detection. The foregoing first preset threshold is less than or equal to the second preset threshold.
[0107] Step S706: Calculate a distance between a target object and laser radar according to the first electrical signal. When the first electrical signal converted from the echo received by the detection channel 1 is greater than or equal to the first preset threshold, the processor calculates the distance between the target object and the laser radar according to the first electrical signal.
[0108] For example, the distance between the target object and the laser radar may be obtained according to a receiving time of receiving an echo by the detector of the detection channel 1 and an emission time of a detection beam based on a time-of-flight (TOF) ranging method (distance=time of flight*speed of light/2). The process then turns to step S708.
[0109] Step S707: Calculate a distance between a target object and laser radar according to the second electrical signal. When the second electrical signal converted from the echo received by the detection channel 2 is greater than or equal to the second preset threshold, the processor calculates the distance between the target object and the laser radar according to the second electrical signal. For example, the time-of-flight TOF ranging method in the foregoing step S706 may be used for distance calculation. The process then turns to step S709.
[0110] Step S708: Determine whether the distance is less than or equal to a preset distance value. That is, the value relationship between the preset distance value and the distance between the target object and the laser radar calculated according to step S706 is determined. When the calculated distance is less than or equal to the preset distance, it indicates that currently a short-range target object is detected. In this case, although the spot has deviated, the spot still covers a part of the detector of the detection channel 1, and the first electrical signal is still greater than or equal to the first preset threshold. In this case, the process turns to step S710. When the calculated distance is greater than the preset distance, it indicates that currently a short-range target object is detected. In this case, the echo received by the detector of the detection channel 1 and the generated first electrical signal are directly outputted. Therefore, the process turns to step S711 to generate the point cloud data. The current detection is completed. The preset distance is optionally five meters.
[0111] Step S709: Determine whether the distance is less than or equal to a preset distance value. That is, the value relationship between the preset distance value and the distance between the target object and the laser radar calculated according to step S707 is determined. When the calculated distance is less than or equal to the preset distance, it indicates that currently a short-range target object is detected, and the process turns to step S710. Otherwise, when the calculated distance is greater than the preset distance, it indicates that currently a short-range target object is detected. In this case, the echo received by the detector of the detection channel 2 and the generated second electrical signal are not caused by a spot drift generated because the detection channel 1 detects a short-range target object, but may be caused by external ambient light or the like. Therefore, the process turns to step S712 to determine that there is no effective point cloud, that is, no object is detected in the current detection. The preset distance is optionally five meters.
[0112] Step S710: Compare the first electrical signal and the second electrical signal, and select a stronger electrical signal. The function of step S710 is equivalent to secondary verification. That is, the distance calculated by using the first electrical signal in step S708 and the distance calculated by using the second electrical signal in step S709 are both less than the preset distance value, the strength of the first electrical signal and the second electrical signal is compared again to select a stronger electrical signal for output, and a weaker electrical signal is discarded.
[0113] Step S711: Generate point cloud data. The point cloud data of the laser radar is generated according to the distance data obtained in step S708, or the point cloud data of the laser radar is generated according to the distance obtained from the stronger electrical signal calculated in step S710.
[0114] Step S712: Determine that there is no effective point cloud. When the detection channel 2 receives no echo that is strong enough, that is, the second electrical signal is less than the second preset threshold, no effective point cloud is generated. Alternatively, the detection channel 2 receives an echo that is strong enough, and the second electrical signal is greater than or equal to the second preset threshold. However, the distance between the target object and the laser radar obtained through processing and calculation according to the electrical signal is greater than the preset distance value, for example, greater than a preset distance of five meters. Because the electrical signal is used for short ranging, in this case, it may be chosen to skip using or discard the electrical signal, so that the electrical signal is not used for generating the point cloud data. When no effective point cloud is generated, it indicates that no object is detected in the current detection.
[0115] In the foregoing steps, S704 to S712 may be performed by the processor of the laser radar. In steps S702 and S703, the step of reading an electrical signal may be performed by the processor of the laser radar.
[0116] In the foregoing embodiments, for example, the distance obtained in step S710 is used during the determination and selection of a stronger electrical signal to generate the point cloud data of the laser radar, and the distance data obtained in step S708 is used beyond the preset distance to generate the point cloud data of the laser radar. In the entire detection range, the two parts of point cloud data may be spliced.
[0117] The present invention is found by the inventor based on the following discovery: when the laser radar detects a short-range target object, a spot reflected back to a detector deviates and diffuses, and as a result energy received by a detector in a current channel is low, and a detector in a channel beside the current channel receives a lot of energy. Based on the foregoing discovery, for the ranging problem of laser radar, the present invention provides a mode of using a single-channel laser to emit a laser beam and multi-channel detectors for reception, so that the capability and accuracy of detecting a short-range target object of the laser radar can be improved on the premise that the remote detection capability of the laser radar is not affected.
[0118] It should be finally noted that the foregoing descriptions are merely preferred embodiments of the present invention, but are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for a person of ordinary skill in the art, modifications can be made to the technical solutions described in the foregoing embodiments, or equivalent replacements can be made to some technical features in the technical solutions. Any modification, equivalent replacement, or improvement made and the like within the spirit and principle of the present invention shall fall within the protection scope of the present invention.