Scanning device layout method, device and storage medium
By constructing a receiving section calculation model and optimizing the layout position of the first scanning device and the second scanning device, the problem of lidar point cloud degradation and asymmetry in ranging performance is solved, and better point cloud data and uniform ranging are achieved. performance.
Patent Information
- Application Number
- CN202211064537.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-01
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2042-09-01
AI Technical Summary
The existing lidar has an unreasonable layout position between the first scanning device and the second scanning device, resulting in point cloud deterioration, and the distance measurement performance on the left and right sides of the horizontal are different.
By constructing a receiving section calculation model of the second scanning surface, the receiving section size at different rotation angles and first distances of the first scanning device are calculated, and the receiving section size corresponds to the angle and first distance of the first scanning device. The cross-sectional dimension distribution set is selected, and the first distance corresponding to the receiving cross-sectional dimensions is selected as the layout position of the second scanning device when the angle symmetrically distributed by the first scanning device.
The receiving cross-section size is achieved when the beam is located at the center of the field of view, and the receiving cross-section size is the same when the beam is located symmetrically on the left and right sides of the center of the field of view. Therefore, the lidar can obtain better point cloud data and the horizontal distance measurement on the left and right sides. The performance is the same.
Smart Images

Figure CN117686998B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical detection technology, and in particular to a scanning device layout method, device and storage medium. Background Art
[0002] Lidar is a commonly used distance measurement sensor with the characteristics of long detection distance, high resolution, and low environmental interference. It is widely used in intelligent robots, drones, unmanned driving and other fields. Lidar usually measures distance based on time of flight (TOF). It transmits laser pulses to the external scene in a transmission direction and receives the return light generated by the reflection of the laser pulse from the objects in the external scene. By measuring the delay of the return light, the distance between the object and the Lidar in the transmission direction can be calculated. By dynamically adjusting the emission direction of the laser, the distance information between objects in different directions and the Lidar can be measured, thereby realizing the modeling of three-dimensional space.
[0003] Since laser radar can directly image three-dimensional space quickly and with high precision, it has become one of the most core sensors in current autonomous driving technology. An existing mainstream laser radar includes a first scanning device and a second scanning device. The first scanning device has a first scanning surface, and the second scanning device has a second scanning surface. In the echo optical path, the first scanning device is located upstream of the optical path of the second scanning device. The first scanning surface is used to reflect the incident light beam to the second scanning surface to scan the light beam. When the light beam is located in the center of the horizontal field of view, the receiving cross-sectional size of the second scanning surface is the largest; when the light beam is located on the left and right sides of the horizontal field of view, the receiving cross-sectional size of the second scanning surface is reduced, but the corresponding receiving cross-sectional sizes on the left and right sides are usually asymmetric, which makes the ranging performance of the entire lidar on the left and right sides different, resulting in point cloud degradation.
[0004] The contents of the background technology section are merely the technologies known to the public and do not necessarily represent the existing technologies in the field. Summary of the invention
[0005] The purpose of the present invention is to provide a scanning device layout method, device and storage medium, aiming to solve the technical problem of point cloud degradation of laser radar due to unreasonable layout position between the existing first scanning device and the second scanning device.
[0006] In a first aspect, the present application provides a scanning device layout method, which is applied to a first scanning device and a second scanning device located on the same horizontal plane, wherein the first scanning device has a first scanning surface, and the second scanning device has a second scanning surface. The method is used to determine a first distance between a center of the first scanning surface and a center of the second scanning surface in a first direction, comprising:
[0007] Constructing a receiving cross-section calculation model of the second scanning surface;
[0008] According to the receiving cross-section calculation model, within a preset rotation range of the first scanning device and an allowable range of the first distance, a cross-section size distribution set corresponding to the receiving cross-section size and the angle of the first scanning device and the first distance is obtained;
[0009] In the cross-sectional size distribution set, the first distance corresponding to the receiving cross-sectional size being symmetrically distributed about the angle of the first scanning device is selected.
[0010] In a second aspect, the present application provides a scanning surface layout device, including a processor, a memory, and a communication interface;
[0011] The processor is connected to the memory and the communication interface;
[0012] The memory is used to store executable program code;
[0013] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the above-mentioned scanning device layout method.
[0014] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the above-mentioned scanning device layout method.
[0015] The scanning device layout method provided by the present invention comprises: constructing a receiving cross-section calculation model of a second scanning surface, calculating the receiving cross-section dimensions at different rotation angles of a first scanning device and different values of a first distance, and then obtaining a cross-section dimension distribution set corresponding to the receiving cross-section dimensions and the rotation angle and the first distance of the first scanning device; in the cross-section dimension distribution set, selecting the first distance corresponding to the symmetrical distribution of the receiving cross-section dimensions about the rotation angle of the first scanning device as the layout position of the second scanning device, so that the receiving cross-section dimension is maximized when the light beam is located at the center of the field of view, and the receiving cross-section dimension is the same when the light beam is symmetrically located on the left and right sides of the center of the field of view, thereby solving the technical problem of point cloud degradation of a laser radar due to unreasonable layout position between the existing first scanning device and the second scanning device, so that the laser radar can obtain better point cloud data, and the ranging performance on the horizontal left and right sides is the same. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0017] Figure 1 A detection schematic diagram of the first scanning device and the second scanning device when the light beam is located at the center of the field of view;
[0018] Figure 2 is a detection schematic diagram of the first scanning device and the second scanning device when the light beam is located on the right side of the center of the field of view;
[0019] Figure 3 is a detection schematic diagram of the first scanning device and the second scanning device when the light beam is located on the left side of the center of the field of view;
[0020] Figure 4 A schematic diagram of a flow chart of a scanning device layout method provided in this embodiment;
[0021] Figure 5 is a schematic diagram of a plane geometric model of a first scanning device and a second scanning device;
[0022] Figure 6 A schematic diagram of a process for constructing a receiving cross-section calculation model in a scanning device layout method;
[0023] Figure 7 A schematic diagram of boundary conditions in a scanning device layout method;
[0024] Figure 8 Another schematic diagram of boundary conditions in the scanning device layout method;
[0025] Fig. 9 is a cross-sectional schematic diagram of a first scanning device in one embodiment;
[0026] Fig.10 A schematic diagram of a cross-sectional size distribution set in a scanning device layout method;
[0027] Fig.11 Schematic diagram of the scanning surface layout device.
[0028] Among them, the reference numerals in the figure are:
[0029] X, first direction; Y, second direction;
[0030] 10. Beam;
[0031] 20. A first scanning device; 21. A first scanning surface;
[0032] 30. A second scanning device; 31. A second scanning surface;
[0033] 41. Processor; 42. Memory; 43. Input device; 44. Output device. DETAILED DESCRIPTION
[0034] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0035] Reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, when the phrases "in one embodiment" or "in some embodiments" appear in various places throughout the specification, not all references are to the same embodiment. Furthermore, in one or more embodiments, the particular features, structures, or characteristics may be combined in any suitable manner.
[0036] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0037] In addition, the terms "first" and "second" are used only for descriptive purposes and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0038] Please refer to Figure 1, currently a mainstream lidar implementation scheme is a hybrid scan using a second scanning device 30 and a first scanning device 20. In the echo optical path, the second scanning device 30 is located downstream of the optical path of the first scanning device 20, and the first scanning device 20 has a first scanning surface 21. The first scanning surface 21 is used to reflect the light beam 10 incident thereon to the second scanning device 30, thereby scanning the light beam 10. Since this scanning method is based on reflection, the maximum range of its scanning field of view (FOV) does not exceed 180°. For automotive lidar, the field of view angle in the horizontal direction needs to be guaranteed to be above 120°. As Figure 1 As shown, when the light beam 10 is located at the exact center of the horizontal field of view, the receiving cross-sectional size S of the second scanning device 30 is the largest. Figure 2 As shown, when the light beam 10 is located on the side of the horizontal field of view away from the second scanning device 30, the first scanning device 20 rotates toward the direction of the light beam 10 to receive the light beam 10, wherein part of the light beam O1 of the light beam 10 is blocked by the first scanning device 20, resulting in a reduction in the receiving cross-sectional size of the second scanning device 30. Figure 3 As shown, when the light beam 10 is located on the side of the horizontal field of view close to the second scanning device 30, the first scanning device 20 rotates toward the direction of the light beam 10 to receive the light beam 10, wherein part of the light beam O2 of the light beam 10 is blocked by the second scanning device 30, resulting in a reduction in the size of the receiving cross-section of the second scanning device 30. Since the physical reasons for the reduction in the size of the receiving cross-section when the light beam 10 is located on both sides of the center of the field of view are different (the light beam 10 is blocked by the first scanning device 20 and the light beam 10 is blocked by the second scanning device 30), the related art does not involve how to adjust the layout positions of the first scanning device 20 and the second scanning device 30, resulting in asymmetric sizes of the receiving cross-sections on both sides of the center of the field of view, making the ranging performance of the entire lidar on the left and right sides different, resulting in point cloud degradation.
[0039] To this end, an embodiment of the present invention provides a scanning device layout method, which is applied to determine a first scanning device 20 and a second scanning device 30 located on the same horizontal plane, wherein the first scanning device 20 has a first scanning surface 21, and the second scanning device 30 has a second scanning surface 31, and the method is used to determine a first distance M between the center of the first scanning surface 21 and the center of the second scanning surface 31 in a first direction. Specifically, in some embodiments, the first scanning device 20 is a rotating mirror, and the second scanning device 30 is a galvanometer. In other embodiments, the first scanning device 20 and the second scanning device 30 may both be rotating mirrors, or the first scanning device 20 and the second scanning device 30 may both be galvanometers. Among them, the present application does not limit the specific type and scanning mode of the first scanning device 20 and the second scanning device 30, and the present application does not limit the scanning directions corresponding to the first scanning device 20 and the second scanning device 30. Optionally, the first scanning device 20 may also be a combination of multiple scanning surfaces driven by a driving device and operated synchronously. Optionally, the second scanning device 30 may also be a combination of multiple scanning surfaces driven by a driving device and operated synchronously. The present application does not limit the number of scanning surfaces specifically included in the first scanning device 20 and the second scanning device 30 .
[0040] Figure 4 A schematic flow chart of the scanning device layout method provided in this embodiment. Figure 5 Schematic diagram of the plane geometric model of the second scanning device 30 and the first scanning device 20. Figure 5 It is shown that on the echo optical path, the first scanning device 20 is located upstream of the optical path of the second scanning device 30, and the first scanning surface 21 of the first scanning device 20 is used to reflect the light beam 10 incident thereon to the second scanning surface 31 of the second scanning device 30. The method comprises the following steps:
[0041] S100: Construct a receiving cross-section calculation model of the second scanning surface 31. The receiving cross-section calculation model is based on the geometric structure and relative position of the first scanning device 20 and the second scanning device 30, and the principle of light reflection, and can obtain the receiving cross-section of the second scanning surface 31 of the second scanning device 30 after the light beam 10 is incident on the first scanning surface 21 of the first scanning device 20, so as to calculate the receiving cross-section size.
[0042] Specifically, see Figure 6 , step S100 includes:
[0043] S110 : constructing a plane geometric model of the first scanning device 20 and the second scanning device 30 .
[0044] Among them, first, see Figure 5, by setting the radius of the circumscribed circle of the first scanning device 20 to R, the rotation angle of the first scanning device 20 to 0, at this time, the normal direction of the first scanning surface 21 of the first scanning device 20 is consistent with the second direction Y, and the first scanning surface 21 is located on the side of the first scanning device 20 close to the second scanning device 30, and the initial values of the first distance M and the second distance N are set. For example, the first distance M is set to 0, and the second distance N is set to 50 mm, so as to realize the construction of a universal geometric model.
[0045] It should be noted that the second distance N is the distance between the center of the first scanning device 20 and the center of the second scanning device 30 in the second direction Y. The first direction X and the second direction Y are located in the horizontal plane where the first scanning device 20 and the second scanning device 30 are located and are perpendicular to each other.
[0046] It can be understood that in different embodiments, when constructing a general geometric model, the initial rotation angle of the first scanning device 20 can be set to 10°, 20°, 30° or 45°, the first distance M can be set to 1mm, -1mm, 2mm or -2mm, and the second distance N can be set to 30mm, 40mm, 50mm or 60mm, without specific limitation herein.
[0047] Secondly, the size information of the first scanning device 20, the size information of the second scanning device 30, the initial value of the first distance M and the second distance N are obtained, and substituted into the general geometric model to obtain a specific plane layout model of the first scanning device 20 and the second scanning device 30.
[0048] Specifically, when the first scanning device 20 is a rotating mirror having two or more reflecting surfaces (i.e., scanning surfaces), the size information of the first scanning device 20 includes the number of surfaces of the first scanning device 20, the radius R of the circumscribed circle of the actual first scanning device 20, and the initial rotation angle of the first scanning device 20. The initial rotation angle can be set to 0.
[0049] The method for determining the scanning device layout provided in this embodiment is applicable to first scanning devices 20 with different numbers of sides, that is, it is not specifically dependent on the number of sides of the first scanning device 20. Similarly, this method is applicable to second scanning devices 30 with different numbers of sides, that is, it is not specifically dependent on the number of sides of the second scanning device 30.
[0050] The number of surfaces of the first scanning device 20 is one, two or more than two. When the first scanning device 20 has more than two scanning surfaces, the scanning surface with the largest size in the horizontal plane is selected as the first scanning surface 21. Fig. 9 As shown, Fig. 9A schematic diagram of a cross section of an irregular six-sided rotating mirror is shown, that is, the first scanning device is an irregular six-sided rotating mirror, wherein the cross section of the six-sided mirror is a plane perpendicular to the rotation axis of the six-sided mirror. It can be understood that the opening angle of the scanning surface corresponding to the center of the rotating mirror is the opening angle of the edge of the scanning surface on the cross section of the rotating mirror corresponding to the center of the circumscribed circle of the cross section of the rotating mirror. Among the multiple scanning surfaces, at least two adjacent scanning surfaces have different opening angles corresponding to the center of the rotating mirror, and at the same time, the corresponding side lengths of at least two adjacent scanning surfaces on the cross section of the multiple scanning surfaces are different. For example Fig. 9 As shown, the opening angles of scanning surface A and scanning surface F are not equal, and the corresponding side lengths of scanning surface A and scanning surface F on the section are not equal. That is, the sizes of different scanning surfaces of the first scanning device 20 in the section are not exactly the same. Among them, it can be understood that the detection fields of the radars corresponding to different scanning surfaces of the irregular rotating mirror are different. Among them, the opening angle of the scanning surface corresponding to the rotating mirror center is half of the field angle of the detection field and the sum of the set redundant angle. That is, Fig. 9 As shown, the detection field angle corresponding to the A surface is 120 degrees, and the detection field angle corresponding to the F surface is 90 degrees. It can be understood that in this application, when the first scanning device 20 is an irregular rotating mirror, the scanning surface with the largest length should be selected as the first scanning surface 21 (i.e. Fig. 9 In this way, the light beam 10 is ensured to be located at the center of the maximum detection field of view of the radar, that is, the receiving cross-sectional size of the total detection field of view of the radar is the largest. When the light beam 10 is symmetrically located on both sides of the center of the field of view, the receiving cross-sectional size is the same, thereby ensuring that the ranging performance on the left and right sides of the total detection field of view of the radar is the same. Similarly, when the second scanning device 30 has more than two scanning surfaces, the scanning surface with the largest size in the horizontal plane is selected as the second scanning surface 31.
[0051] Specifically, the second scanning device 30 is a one-dimensional galvanometer mirror. The size information of the second scanning device 30 includes the length of the one-dimensional galvanometer mirror. The second scanning device 30 can be selected as a galvanometer mechanical resonant mirror or a MEMS galvanometer mirror.
[0052] In actual laser radar products, due to installation limitations of the internal structure, the second distance N between the first scanning device 20 and the second scanning device 30 is a fixed value and can be directly obtained.
[0053] In this embodiment, the method constructs a universal geometric model, is not limited to the specific geometric dimensions of the first scanning device 20 and the second scanning device 30, is not limited to the specific second distance N, and has strong universality. When it is necessary to solve the specific first distance M of the first scanning device 20 and the second scanning device 30, the size information of the first scanning device 20, the size information of the second scanning device 30, the initial value of the first distance M and the second distance N, and the horizontal detection field angle are substituted into the universal geometric model, and the specific plane layout model of the first scanning device 20 and the second scanning device 30 can be obtained, which is convenient for the subsequent optimal solution calculation of the first distance M.
[0054] S120: Setting the boundary conditions of the light beam 10. Specifically, the boundary conditions retain a preset redundancy, thereby reducing the stray light in the cavity caused by the light spot hitting the boundary position. The size of the redundancy depends on the size of the light spot, the length of the first scanning surface 21, and the length of the second scanning surface 31. The larger the light spot, the larger the preset redundancy; the larger the proportion of the light spot to the entire scanning surface, the larger the preset redundancy required. Optionally, the preset redundancy is 0.5 to 2 times the radius of the light spot.
[0055] In this embodiment, please refer to Figure 7 , assuming that the first scanning surface 21 has a first end A and a second end B sequentially distributed along the first direction X, the second scanning surface 31 has a third end C and a fourth end D sequentially distributed along the first direction X, and the light beam 10 has a first side and a second side sequentially distributed along the first direction X. The light beam 10 may be a pulsed laser. Of course, the light beam 10 may also be other detection lights, which are not specifically limited here.
[0056] Specifically, the boundary conditions specifically include a first side boundary condition and a second side boundary condition.
[0057] The first side boundary conditions include:
[0058] First, the first side of the light beam 10 is located on the side of the fourth end D away from the third end C when incident, that is, the first side of the light beam 10 is located outside the second scanning surface 31 when incident and is not blocked by the second scanning surface 31. At the same time, the first side of the light beam 10 excludes the fourth end D when incident, and reserves redundancy to reduce stray light in the cavity caused by the light spot. Figure 7 , the boundary condition defines the boundary light J. The boundary light J satisfies the condition of being located at the side of the fourth end D away from the third end C when incident and is located at the first side of the light beam 10, that is, the boundary light J is not blocked by the second scanning device 30, and is located at the first side of the light beam 10 compared with the light beams H and I. Among them, the first rule does not include being located at the fourth end D when incident, retaining the redundancy and reducing the stray light in the cavity caused by the light spot.
[0059] See also Figure 8 , there is another boundary ray J', which is closer to the first side of the light beam 10 than the boundary ray J, but the boundary ray J' is located on the side of the fourth end D close to the third end C when incident, does not meet the first rule of the first boundary condition, and cannot be incident on the first scanning surface 21. Therefore, the boundary ray J meets the first rule of the first boundary condition and is closest to the first side of the light beam 10.
[0060] In this embodiment, through the positional relationship between the first side of the light beam 10 and the third end C and the fourth end D when the light beam 10 is incident, it is possible to determine whether the edge of the first side of the light beam 10 is blocked by the second scanning device 30, which is convenient for screening the boundary light of the first side of the light beam 10. The judgment rule is simple and easy for the staff to judge and execute, or it is easy to convert it into machine language for the machine to automatically identify and execute, thereby reducing the difficulty of implementing the method.
[0061] The second side of the light beam 10 is located on the side of the first end A close to the second end B when incident, that is, on the first scanning surface 21. Figure 7 , the boundary condition defines the boundary light L. Without considering the first rule, the boundary light L is located at the side of the first end A close to the second end B when incident, so that the boundary light L can be incident on the first scanning surface 21 .
[0062] The third line, when the first side of the light beam 10 is reflected, is located on the side of the third end C close to the fourth end D. Figure 7 , the boundary condition defines the boundary light K. When the boundary light K is reflected, it is located on the side of the third end C close to the fourth end D, that is, the boundary light K can be reflected on the second scanning surface 31 of the second scanning device 30 to form an effective return light. It can be understood that if the first side of the light beam 10 is reflected and located on the side of the third end C away from the fourth end D, for example Figure 7 The boundary light L in does not satisfy the third rule in the first boundary condition.
[0063] The second side boundary conditions include:
[0064] First, the second side of the light beam 10 is located at the side of the second end B close to the first end A when incident. Figure 7 , the boundary condition defines the boundary light H. When the boundary light H is reflected, it is located on the side of the second end B close to the first end A, that is, the boundary light H can be incident on the first scanning surface 21 .
[0065] The second side of the light beam 10 is located at the side of the fourth end D close to the third end C when reflected. Figure 7 , the boundary condition defines the boundary light I. When the boundary light I is reflected, it can be located on the side of the fourth end D close to the third end C, that is, the boundary light I can be reflected onto the second scanning surface 31 .
[0066] S130: According to the boundary conditions, the receiving cross section of the second scanning device 30 is defined, and the size of the receiving cross section is calculated.
[0067] In this embodiment, through step S120 and step S130, the receiving cross section of the second scanning device 30 is defined by using boundary conditions, so as to identify the edge of the receiving cross section, thereby facilitating rapid calculation of the receiving cross section size.
[0068] The specific calculation process of the receiving section size includes:
[0069] First, see Figure 7 According to the first side boundary condition, three corresponding first boundary rays are obtained, namely boundary ray J, boundary ray K and boundary ray L.
[0070] In the second step, according to the second side boundary condition, two corresponding second boundary rays are obtained, namely, boundary ray H and boundary ray I.
[0071] In the third step, the minimum value of the parallel distance between any one of the three first boundary rays and any one of the two second boundary rays is selected as the receiving cross-sectional size.
[0072] Among them, the parallel distances between one first boundary ray and two second boundary rays have two values of parallel distances, and the parallel distances between three first boundary rays and two second boundary rays have a total of six values. The minimum value among the six values is the receiving cross-sectional size. Figure 7 , the parallel distance between the boundary light J in the first boundary light and the boundary light I in the second boundary light is the smallest, which is used as the receiving cross-sectional size.
[0073] This method obtains five boundary rays according to the boundary conditions, including three first boundary rays and two second boundary rays, and then selects the minimum value from the six parallel distances as the receiving cross-sectional size. There is no need to consider all the rays of the light beam 10, nor is there any need to consider whether all the boundary rays satisfy all the boundary conditions. This greatly simplifies the calculation process of the receiving cross-sectional size and improves the calculation efficiency.
[0074] The parallel distance in this embodiment refers to the distance between the two light rays when the two light rays are in a parallel state. Figure 7 As shown, the parallel distance between the boundary light ray I and the boundary light ray J refers to the distance when the boundary light ray I and the boundary light ray J are incident on the first scanning surface 21 in parallel, or the distance when the boundary light ray I and the boundary light ray J are reflected to the second scanning device 30 in parallel.
[0075] To further improve the calculation efficiency, this method provides two simplified calculation schemes for parallel distances.
[0076] The first parallel distance calculation scheme is to calculate the distance between the intersection of any one of the three first boundary rays and any one of the two second boundary rays on the plane where the first scanning surface 21 is located. This calculation scheme improves the calculation efficiency by calculating the distance between the intersection points instead of calculating the distance between parallel lines.
[0077] The second parallel distance calculation scheme is the distance between the intersection of any one of the three first boundary rays and any one of the two second boundary rays on the plane where the second scanning surface 31 is located. Similarly, this calculation scheme quickly obtains the receiving cross-sectional size by calculating the distance between the intersection points.
[0078] S200: According to the receiving cross-section calculation model, within the preset rotation range of the first scanning device 20 and the allowable range of the first distance M, a cross-section size distribution set corresponding to the receiving cross-section size and the angle of the first scanning device 20 and the first distance M is obtained.
[0079] The cross-sectional size distribution set can be presented in the form of a distribution diagram (see Fig.10 ), or it can be presented in table form.
[0080] Specifically, the step of obtaining a cross-sectional size distribution set includes:
[0081] S210: According to the allowable range of the first distance M, the first distance M is traversed and assigned a value.
[0082] S220 : Each time the first distance M is assigned, the rotation angle of the first scanning device 20 is traversed and assigned according to the preset rotation range of the first scanning device 20 .
[0083] S230: Each time the rotation angle of the first scanning device 20 is assigned a value, the current receiving cross-sectional size is calculated.
[0084] In this embodiment, the allowable range of the first distance M and the preset rotation range of the first scanning device 20 are traversed to obtain a receiving cross-sectional size distribution set in which the receiving cross-sectional size changes with the angle of the first scanning device 20 and the first distance M.
[0085] S300 : In the cross-sectional size distribution set, a first distance M corresponding to the symmetrical distribution of the receiving cross-sectional size with respect to the angle of the first scanning device 20 is selected as the layout position of the second scanning device 30 .
[0086] It should be noted that the “symmetry” here refers to selecting the most symmetrical distribution of the receiving cross-sectional dimensions with respect to the angle of the first scanning device 20 from the cross-sectional dimension distribution set, which may be a completely symmetrical situation or a roughly symmetrical situation.
[0087] See also Fig.10 In the cross-sectional size distribution set, the left ordinate represents the angle of the first scanning device 20, the right ordinate represents the receiving cross-sectional size, and the abscissa represents the first distance. Fig.10 The case where the receiving cross-sectional dimensions are symmetrically distributed about the angle of the first scanning device 20 is selected (see Fig.10The dotted line T in FIG. 1 ). The horizontal coordinate corresponding to the dotted line T is the first distance M required.
[0088] In this embodiment, a receiving cross-section calculation model is constructed to calculate the receiving cross-section size at different rotation angles of the first scanning device 20 and different values of the first distance M, and then obtain a cross-section size distribution set corresponding to the receiving cross-section size and the angle of the first scanning device 20 and the first distance M. In the cross-section size distribution set, the first distance M corresponding to the symmetrical distribution of the receiving cross-section size about the angle of the first scanning device 20 is selected as the layout position of the second scanning device 30, so that the receiving cross-section size is the largest when the light beam 10 is located at the center of the field of view, and the receiving cross-section size is the same when the light beam 10 is symmetrically located on the left and right sides of the center of the field of view, so that the laser radar can obtain better point cloud data, and the ranging performance on the left and right sides is the same.
[0089] In summary, the scanning device layout method provided in this embodiment has the following advantages:
[0090] First, the layout positions of the first scanning device 20 and the second scanning device 30 on the horizontal plane can be determined.
[0091] Second, when the light beam 10 is at the center of the field of view, the second scanning device 30 maintains the maximum receiving cross section.
[0092] Third, when the light beam 10 is located on the left and right sides of the center of the field of view, the receiving cross-sectional size is symmetrical or nearly symmetrical about the center of the field of view, which is conducive to obtaining better point cloud data.
[0093] Fourthly, the method is applicable to the first scanning device 20 with any number of faces and has good versatility.
[0094] Embodiment 2
[0095] Please refer to Fig.11 The present application provides a scanning surface layout device, including a processor 41 and a memory 42 connected to the processor 41. The memory 42 is used to store executable program codes. The processor 41 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 42, so as to execute the above-mentioned scanning device layout method.
[0096] Specifically, the scanning device layout method can be stored as an executable program code and can be run by programs such as Python or MATLAB.
[0097] The processor 41 may be, for example, a CPU. The memory 42 may be a high-speed RAM memory 42 or a non-volatile memory 42 (non-volatile memory), such as at least one disk memory 42 .
[0098] The scanning surface layout device may further include an input device 43 and an output device 44. The processor 41, the memory 42, the input device 43 and the output device 44 may be connected via a bus or other means. Fig.11 The example of connecting through bus is taken in the following.
[0099] The input device 43 can receive input digital or character information, and generate key signal input related to user settings and function control of the galvanometer layout device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick, and other input devices 43. The output device 44 may include a display device, an auxiliary lighting device (e.g., an LED), and a tactile feedback device (e.g., a vibration motor). The display device may include, but is not limited to, a liquid crystal display, a light emitting diode display, and a plasma display. In some embodiments, the display device may also be a touch screen.
[0100] Embodiment 3
[0101] The present application provides a computer-readable storage medium on which a computer program is stored. When the program is executed by the processor 41, the above-mentioned scanning device layout method is implemented.
[0102] The embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor 41, the computer or the processor 41 executes one or more steps in any of the above methods.
[0103] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium or transmitted by a computer-readable storage medium. The computer instruction can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrations. Available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., Digital Video Discs (DVDs), or semiconductor media (e.g., solid state disks (SSDs)), etc.).
[0104] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.
[0105] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A scanning device layout method, applied to a first scanning device and a second scanning device located in the same horizontal plane, the first scanning device having a first scanning surface, the second scanning device having a second scanning surface, the method being used to determine a first distance between the center of the first scanning surface and the center of the second scanning surface in a first direction, the first direction and the second direction being located in the horizontal plane where the first scanning device and the second scanning device are located and being perpendicular to each other; when the rotation angle of the first scanning device is 0, the normal direction of the first scanning surface is consistent with the second direction, characterized in that: include: Constructing a receiving cross-section calculation model of the second scanning surface; constructing the receiving cross-section calculation model includes constructing a plane geometric model of the first scanning device and the second scanning device; setting the boundary conditions of the light beam; according to the boundary conditions, defining the receiving cross-section of the second scanning device, and calculating the size of the receiving cross-section; According to the receiving cross-section calculation model, within a preset rotation range of the first scanning device and an allowable range of the first distance, a cross-section size distribution set corresponding to the receiving cross-section size and the angle of the first scanning device and the first distance is obtained; In the cross-sectional size distribution set, the first distance corresponding to the receiving cross-sectional size being symmetrically distributed about the angle of the first scanning device is selected.
2. The method according to claim 1, characterized in that On the return optical path, the first scanning device is located upstream of the optical path of the second scanning device, the first scanning surface is used to reflect the light beam incident thereon to the second scanning surface, the first scanning surface has a first end and a second end sequentially distributed along the positive direction of the first direction, the second scanning surface has a third end and a fourth end sequentially distributed along the positive direction of the first direction, and the light beam has a first side and a second side sequentially distributed along the positive direction of the first direction; the positive direction of the first direction is closer to the upstream of the optical path than the negative direction of the first direction; The boundary conditions include: First side boundary conditions: 1) when the first side of the light beam is incident, it is located on the side of the fourth end away from the third end in the first direction; 2) when the first side of the light beam is incident, it is located on the side of the first end close to the second end in the first direction; 3) when the first side of the light beam is reflected, it is located on the side of the third end close to the fourth end in the first direction; The second side boundary condition: 1) when the second side of the light beam is incident, it is located on the side of the second end close to the first end in the first direction; 2) when the second side of the light beam is reflected, it is located on the side of the fourth end close to the third end in the first direction.
3. The method according to claim 2, characterized in that The calculating the receiving cross-sectional size comprises: According to the first side boundary condition, obtaining three corresponding first boundary rays; According to the second side boundary condition, obtaining two corresponding second boundary rays; The minimum value of the parallel distance between any one of the three first boundary rays and any one of the two second boundary rays is selected as the receiving cross-sectional size.
4. The method according to claim 3, characterized in that: The method for calculating the parallel distance between any one of the three first boundary rays and any one of the two second boundary rays is: The distance between the intersection point of any one of the three first boundary rays and any one of the two second boundary rays on the plane where the first scanning surface is located; Or, the distance between the intersection point of any one of the three first boundary rays and any one of the two second boundary rays on the plane where the second scanning surface is located.
5. The method according to claim 1, characterized in that: The constructing of the plane geometric model of the first scanning device and the second scanning device comprises: Constructing a general geometric model; Obtaining size information of the first scanning device, size information of the second scanning device, an initial value of the first distance, and a second distance, and substituting them into the general geometric model; The second distance is the distance between the center of the first scanning plane and the center of the second scanning plane in the second direction, and the first direction and the second direction are located in the horizontal plane and are perpendicular to each other.
6. The method according to claim 1, characterized in that: The step of acquiring a cross-sectional size distribution set corresponding to the receiving cross-sectional size and the angle of the first scanning device and the first distance includes: According to the allowed range of the first distance, traverse and assign values to the first distance; Each time the first distance is assigned, the rotation angle of the first scanning device is traversed and assigned according to the preset rotation range of the first scanning device; Each time the rotation angle of the first scanning device is assigned a value, the receiving cross-sectional size of the current layout is calculated.
7. The method according to any one of claims 1 to 6, characterized in that: When the first scanning device has more than two scanning surfaces, the scanning surface with the largest size in the horizontal plane is selected as the first scanning surface; and / or when the second scanning device has more than two scanning surfaces, the scanning surface with the largest size in the horizontal plane is selected as the second scanning surface.
8. A scanning surface layout device, characterized in that: including a processor, a memory and a communication interface; The processor is connected to the memory and the communication interface; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the scanning device layout method according to any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the scanning device layout method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Measurement method and device, and terminal
CN109000565A
Laser radar system and laser scanning control method
CN110161517A
Distance detection device
CN111263897A
Method for acquiring point cloud data and related equipment
CN111275816A
Methods and systems for detecting degraded lidar range measurement accuracy
CN113544535A
