An omnidirectional rotating single-line laser radar device and a network point cloud registration method

By using a fixed connection method between a rocker and a stepper motor on a single-line lidar to increase the rotation angle, and combining the gray wolf optimization algorithm for point cloud registration, the single-line lidar detection imaging deformation and multi-radar network point cloud registration accuracy are solved. solve the problem and achieve low-cost, high-precision omnidirectional detection effect.

CN115015881BActive Publication Date: 2024-10-22XIDIAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210601992.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-30
Publication Date
2024-10-22
Estimated Expiration
2042-05-30

AI Technical Summary

Technical Problem

Because the rotation axis of single-line lidar does not pass through the centroid of the radar, the scanning plane has a large displacement and the detection image is deformed; the installation method limits the range of rotation angles; the number of iterations of the point cloud registration algorithm is too high or too low in multi-radar networking, affecting accuracy .

Method used

Through the fixed connection between the rocker and the stepper motor, the rotation angle is increased to achieve omnidirectional rotation positioning. The gray wolf optimization algorithm is combined with the point cloud registration to reduce the number of iterations and improve the accuracy.

Benefits of technology

It reduces hardware costs, avoids detection imaging deformation, achieves omnidirectional high-precision detection, and improves the accuracy and efficiency of point cloud registration in multi-radar networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115015881B_ABST
    Figure CN115015881B_ABST
Patent Text Reader

Abstract

An omnidirectionally rotating single-line laser radar device and a networked point cloud registration method, wherein the single-line laser radar realizes omnidirectional rotation by controlling the fixed-axis rotation of the scanning plane through a rocker and a stepper motor, thereby reducing the angular displacement of the scanning plane and avoiding obvious deformation of the detection imaging of the single-line laser radar. The point cloud data after networking of multiple devices is used for registration to solve the problems of local point cloud and target occlusion of the scanning target. After collecting and preprocessing system point cloud data, selecting a set of characteristic laser points, matching characteristic laser points, screening the matched point cloud and calibrating three-dimensional cells to complete the point cloud rough registration, the gray wolf optimization algorithm is used to estimate the optimal system error with a small number of iterations to achieve point cloud registration. The present invention reduces hardware costs and computing costs, and expands the detection range and point cloud registration accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of radar technology, and further relates to an omnidirectional rotating single-line laser radar device and a networked three-dimensional point cloud registration method in the field of laser radar technology. The present invention can meet the omnidirectional detection of the surrounding environment and the measured target by the single-line laser radar to obtain three-dimensional coordinate information; under the condition of multi-radar networking, the point cloud registration method in the present invention can be used to register multi-directional three-dimensional imaging measured data to solve the problem of target occlusion. Background Art

[0002] With the development of modern urbanization, laser radar has developed rapidly in the fields of security monitoring and other fields by relying on the advantages of high detection accuracy and small data volume. At present, the commonly used laser radars are mainly single-line laser radar and multi-line laser radar. Single-line laser radar has the advantages of small size, light weight and low cost, but it only contains one transceiver channel, so it only produces a rotating scanning surface of one dimension and outputs two-dimensional positioning information. Multi-line laser radar has multiple transceiver channels, so it can obtain information from multiple rotating scanning surfaces at the same time, that is, to achieve three-dimensional detection. However, its hardware cost is high, and as the number of laser beams increases, the price also increases exponentially; the large amount of data leads to high calculation cost during target detection; the small pitch angle coverage makes it easy to have detection blind spots and local interruption of target information. However, the growing demand for three-dimensional position data makes the two-dimensional positioning information obtained by single-line laser radar completely unable to meet the demand. Therefore, under the premise of meeting low-cost, all-round detection and ensuring detection accuracy, the method of using hardware equipment such as motors and pan-tilts to transform single-line laser radars to rotate and generate rotation angles to achieve the same function as multi-line laser radars has attracted widespread attention from academia and industry. At the same time, a single single-line laser radar device scans based on a fixed position, which is prone to scanning local point clouds and target occlusion. Therefore, it is necessary not only to study the device, but also to build a multi-radar networking platform and use multi-directional point cloud data to complete the registration process. Direct three-dimensional registration of three-dimensional point cloud data obtained from multiple scattered radar nodes will produce many overlapping points, poor imaging readability, and the amount of data will increase exponentially. The accuracy of point cloud registration directly determines the effect of three-dimensional detection and imaging of the target. The point cloud registration methods for multi-radar networking that have been proposed are of varying quality. Therefore, how to perform point cloud registration after multiple laser radars are networked so that the networking system can perform stereoscopic detection of the target without obstruction is also a focus that needs attention.

[0003] Shenzhen Leishen Intelligent System Co., Ltd. disclosed an omnidirectional rotating single-line laser radar device in its patent application "A Track Detection System" (application date: September 4, 2019, application number: 201910833122.1, application publication number: CN 110481601A). The device includes a single-line laser radar, a stepper motor and a carrying platform, wherein the single-line laser radar is used to emit laser to the scanning area and receive the echo laser beam reflected by the object in the scanning area and calculate the point cloud data based on the laser radar coordinate system; the stepper motor is used to drive the carrying platform to control the rotation of the single-line laser radar, thereby realizing reciprocating scanning detection of the target detection area. The scanning process is determined to be in the horizontal or vertical direction according to the installation method of the single-line laser radar. The shortcomings of this device are that since the single-line laser radar is mounted on the normal plane of the stepper motor, its entire scanning plane rotates with the stepper motor. The angular displacement of the scanning plane causes a large deformation of the detection imaging of the single-line laser radar, and the error is more obvious when measuring targets at a longer distance. Due to different installation methods, the rotation angle range added by the single-line laser radar device after being fixedly connected to the stepper motor through the mounting platform also has the problem of being restricted in the horizontal or vertical direction.

[0004] Harbin Engineering University disclosed a three-dimensional registration method in its patent document "A point cloud registration method based on laser scanning" (application date: November 30, 2021, application number: 202111447441.2, application publication number: CN114170279A). The specific implementation steps of this method are: the first step is to simplify the scanned point cloud data at different angles through voxel filtering; the second step is to extract the feature points in the point cloud field based on the normal difference feature, and describe them using the fast point feature histogram; the third step is to perform rough registration of the point cloud through the sampling consistency algorithm, and use the Euclidean distance constraint to eliminate the wrong corresponding point pairs; the fourth step is to search for corresponding points for the feature points using the KD-tree algorithm, propose the wrong point pairs through the normal vector angle constraint, and use the point-to-surface iterative nearest neighbor algorithm to achieve accurate registration of the point cloud. The disadvantage of this method is that the point-to-surface iterative nearest neighbor algorithm requires a sufficient number of iterations, otherwise the registration accuracy will be reduced, which will have a greater impact on the three-dimensional detection effect of the system. Summary of the invention

[0005] The purpose of the present invention is to address the deficiencies in the above-mentioned prior art and propose an omnidirectionally rotatable single-line laser radar device and a networking point cloud alignment method, which are used to solve the problem that when the single-line laser radar is connected to a stepper motor and rotates, the angular displacement of the scanning plane (arc) becomes larger as the radar antenna rotates, causing the rotation axis not passing through the radar centroid, resulting in a larger angular displacement, causing the detection imaging of the single-line laser radar to have a more obvious deformation; due to different installation methods, the rotation angle range of the single-line laser radar device is limited in the horizontal or vertical direction, and a single single-line laser radar device is scanned based on a fixed position, which is prone to scanning target local point cloud and target occlusion; the problem of the number of iterations of the precise alignment algorithm in the point cloud alignment method under multi-radar networking conditions, too high an iteration number will increase the calculation pressure, and too low an iteration number will reduce the alignment accuracy.

[0006] The idea of ​​the present invention to achieve the purpose is to use a fixed connection method between a rocker and a stepper motor on the basis of a single-line laser radar to add a rotation angle to obtain three-dimensional coordinate information, reduce the angular displacement of the scanning plane, and avoid obvious deformation of the detection imaging of the single-line laser radar; the stepper motor controls the fixed-axis rotation of the scanning plane of the single-line laser radar to achieve omnidirectional rotation positioning, and at the same time, the high rotation angle resolution of the stepper motor can enable the single-line laser radar device to produce higher detection and imaging accuracy after data preprocessing operations on the basis of realizing the three-dimensional radar function; by performing three-dimensional registration on the point cloud data after networking of multiple single-line laser radar devices, the problem of local point cloud and target occlusion of the scanning target can be solved, and the rough registration of the point cloud is completed by collecting and preprocessing the system point cloud data, selecting a set of characteristic laser points, matching the characteristic laser points, screening the matched point cloud and calibrating the three-dimensional cells, and then using the gray wolf optimization algorithm to iteratively estimate the optimal system error to achieve point cloud registration of the object to be measured. In the point cloud registration method under the condition of multi-radar networking, the use of the gray wolf optimization algorithm for the precise registration algorithm can improve the registration accuracy with a small number of iterations, thereby ensuring the three-dimensional detection effect of the entire system.

[0007] The omnidirectional rotating single-line laser radar device of the present invention comprises: a single-line laser radar, a stepping motor, a joystick, a controller, Bluetooth, and a computer.

[0008] The single-line laser radar is used to collect distance and azimuth information between the target and the radar in space;

[0009] The single-line laser radar is fixedly connected to the stepper motor through a joystick. The rotating shaft of the stepper motor extends about 15 cm through the joystick. The other end of the joystick is fixedly connected to the center of the side wall of the single-line laser radar. The pitch and rotation of the scanning surface of the single-line laser radar is controlled by the stepper motor, thereby realizing three-dimensional reciprocating scanning detection of the measured target and the detection area.

[0010] The controller is used to receive the control signal transmitted by Bluetooth, generate a pulse wave with a variable duty cycle to control the rotation of the stepper motor to obtain the pitch, steering and azimuth information of the single-line laser radar scanning surface fixedly connected thereto;

[0011] The Bluetooth is used to transmit the acquired single-line laser radar swing information and the single-line laser radar scanning surface pitch and steering information provided by the stepper motor to the computer, and is used to transmit the computer's start and stop control information of the stepper motor to the controller.

[0012] The computer is used to complete data collection, data analysis and verification.

[0013] The networked point cloud registration method of the present invention is to disperse n omnidirectional rotating single-line laser radar devices in an environment where point cloud registration is not performed, and transmit the data measured by each device to a computer via Bluetooth for processing to achieve networked point cloud registration, where n≥2. The specific steps are as follows:

[0014] Step 1: Collect system point cloud data:

[0015] At least two omnidirectional rotating single-line laser radar devices are dispersedly set up in an environment where point cloud registration is not performed to form an information collection network system. The computer transmits the information for controlling the start and stop of the stepper motor to the controller of each device via Bluetooth, so that each device is started at the same time; the point cloud data information collected by each device is transmitted to the computer in a matrix form via Bluetooth;

[0016] Step 2: Preprocess system point cloud data:

[0017] Step 2.1, coordinate system conversion, translation conversion and scale transformation are performed on the single-line laser radar swing information and the pitch and steering information of the single-line laser radar scanning surface in the point cloud data in sequence;

[0018] Step 2.2, denoising and filtering the point cloud data measured by the information acquisition network system after translation conversion, filtering out isolated measurement points generated by random noise, and performing corrosion and then expansion of the three-dimensional area;

[0019] Step 2.3, use the spherical neighborhood method to find the neighborhood of the point cloud. Take each laser point of the point cloud measured by the information collection network system as the center of the sphere. The sphere with the desired laser point as the center and a radius of r contains k points. The sphere is the neighborhood set of the laser point. The radius r is determined by the ratio of the acquisition space size and the number of point clouds. k is three times the number of devices in the information collection network system. The neighborhood set is the point cloud neighborhood of the desired laser point.

[0020] Step 2.4, find the point cloud normal vector of each point cloud neighborhood, use the principal component analysis method to find the covariance matrix of each laser point of the point cloud measured by the information acquisition network system, use the singular value decomposition method to find the eigenvector and eigenvalue of the covariance matrix, and select the eigenvector corresponding to the smallest eigenvalue. This eigenvector is the point cloud normal vector.

[0021] Step 3: Select a set of characteristic laser points:

[0022] The K-nearest neighbor algorithm is used to calculate the arithmetic average angle between each laser point of the point cloud measured by the information collection network system and all the laser points in its neighborhood set. The size of the average angle represents the fluctuation of the point cloud surface area. The arithmetic average angle is filtered by a threshold to extract the area where the point cloud normal vector changes greatly; all laser points with arithmetic average angles greater than the threshold are retained and used as the selected feature laser point set;

[0023] Step 4: Match the characteristic laser points:

[0024] The method of calculating the similar feature vectors of the point cloud is used to find the matching feature laser points, the Euclidean distance between the feature vectors of the feature laser points measured by each device in the information acquisition network system is calculated, and the feature laser points whose Euclidean distance is less than half of the average of all Euclidean distances are retained to complete the matching of the feature laser points;

[0025] Step 5: Filter the matched point cloud:

[0026] The characteristic laser points less than the threshold value are screened out from the characteristic laser points measured by each device in the information collection network system, and all the screened characteristic laser points are used as initial matching points; after completing one screening, the initial matching points that meet the distance invariance of the rigid body transformation are further screened out, and the registration point cloud after two screenings is retained, and the screening of the matched point cloud is completed;

[0027] Step 6: calibrate the 3D cells:

[0028] The space detected by the information collection network system is divided into three-dimensional cells with a side length of Δd. The side length Δd is determined by the density of the number of laser points in the detection space. The matrix form of the detection space is represented by M. A laser point that has not been selected is selected from the registered point cloud. If the distance between the laser point and the center of a three-dimensional cell is less than the set threshold, Then the three-dimensional cell is marked as 1, otherwise it is 0; at this time, the point marked as 1 in the three-dimensional matrix M indicates that there is an object at this point in the space;

[0029] Since then, the coarse registration phase of point cloud registration has been completed, providing the initial position for the iterative process;

[0030] Step 7: Use the Gray Wolf Optimization Algorithm to iteratively estimate the optimal system error:

[0031] Step 7.1, select an unselected laser point from the registered point cloud, and calculate the system error between this point and all unregistered points;

[0032] Step 7.2, arranging the values ​​of the system error in ascending order, selecting the unregistered laser points corresponding to the first three values ​​in the ascending sequence as three candidate solutions for the registered laser points using the gray wolf optimization algorithm during accurate registration;

[0033] Step 7.3, updating the system error between the registered laser point and each unregistered laser point;

[0034] Step 7.4, select an unselected laser point from the registered point cloud, and take the minimum value of all system errors of the selected laser point as the registration system error of the laser point;

[0035] Step 7.5, taking the sum of the coordinate value of each unregistered laser point and the registration system error of the selected laser point as the coordinate value of each unregistered laser point after correction by the registration system error of the selected laser point;

[0036] Step 7.6, taking the distance between each corrected unregistered laser point and the laser point closest to the laser point in the registered point cloud as the registration distance;

[0037] Step 7.7, sort all the registrations and in descending order, and use the generated U with a mean of 0 and a variance of r q max The system error value of the unregistered laser point corresponding to the first V values ​​of the descending sequence replaced by random numbers, and the registration sum is the sum of all registration distances of each registered laser point. U = μN p ,μ represents the iteration parameter that decreases linearly from 2 to 0 as the number of iterations increases, V=U;

[0038] Step 7.8, determine whether the minimum value of all the registration sums is less than the threshold, if so, execute step 7.9, otherwise, execute step 7.1;

[0039] Step 7.9, taking the system error corresponding to the minimum value of the registration sum as the optimal system error, and taking the sum of the coordinate value of each unregistered laser point and the optimal system error as the coordinate value of the unregistered laser point after registration;

[0040] Step 7.10, determining whether there are still unregistered laser points in a frame of laser point cloud measured by one rotation of the stepper motor of each device in the information collection network system, if so, executing step 7.1, otherwise, executing step 8;

[0041] Step 8: Output the image after frame registration.

[0042] Compared with the prior art, the present invention has the following advantages:

[0043] First, since the data acquisition node part in the device of the present invention is a single-line laser radar fixedly connected to the stepper motor through a joystick, the two-dimensional detection area is expanded to three dimensions by adding a rotation angle, which greatly reduces the hardware cost on the basis of achieving the same function compared with commercial three-dimensional laser radars; the smaller angular displacement of the scanning plane can avoid obvious deformation of the detection imaging of the single-line laser radar; the stepper motor controls the fixed-axis rotation of the single-line laser radar scanning plane to achieve omnidirectional rotation positioning, and at the same time, the high rotation angle resolution of the stepper motor can enable the single-line laser radar device to produce higher detection and imaging accuracy through point cloud coordinate transformation and filtering on the basis of achieving the three-dimensional radar function, so that the device of the present invention has the advantages of low hardware cost and omnidirectional high-precision detection.

[0044] Second, since the three-dimensional point cloud registration method of the present invention is to register the point cloud data after the networking of multiple single-line laser radar devices, it can solve the problem of local point cloud of the scanning target and target occlusion. After the rough registration of the point cloud, the point cloud is iterated in the gray wolf optimization algorithm to complete the precise registration, and the three-dimensional stereo imaging of the measured object is realized. The precise registration algorithm in the point cloud registration method under the condition of multi-radar networking uses the gray wolf optimization algorithm to overcome the problem of large calculation amount caused by too many iterations, so that the three-dimensional registration method of the present invention can still have a high registration accuracy when the number of iterations is small, thereby ensuring the three-dimensional detection effect of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 is a schematic diagram of the device of the present invention;

[0046] Figure 2 This is a flow chart of the network point cloud registration method of the present invention;

[0047] Figure 3 This is a three-dimensional detection effect diagram of the target by the device of the present invention;

[0048] Figure 4 This is a three-dimensional detection effect diagram of a target after two devices of the present invention are networked;

[0049] Figure 5 This is a diagram showing the three-dimensional detection effect of a target after the four devices of the present invention are networked. DETAILED DESCRIPTION

[0050] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0051] Reference Figure 1 The omnidirectional rotating single-line laser radar device of the present invention is further described with reference to the embodiments.

[0052] The omnidirectionally rotatable single-line laser radar device of an embodiment of the present invention includes: a single-line laser radar, a stepper motor, a joystick, a controller, Bluetooth, and a computer.

[0053] The single-line laser radar is used to collect the distance and azimuth information between the target and the radar in space. The single-beam laser transmitter rotates at a constant speed inside the laser radar, and the laser is emitted once every small rotation angle. After patrolling a certain angle, a complete frame of data is generated. Therefore, the data of the single-line laser radar can be regarded as a row of dots at the same height. The data of the single-line laser radar lacks a dimension and can only describe linear information, not surfaces. For example, it is known that there is a piece of cardboard in front of the single-line laser radar, and the distance and deflection angle of this cardboard relative to the single-line laser radar are known, but the height information of this cardboard is unknown. If the scanning surface angle of the single-line laser radar is changed, the height difference between each frame of point cloud data can be measured, and then the height of the cardboard can be obtained, that is, at each moment, the distance of the measured target relative to the single-line laser radar, the deflection angle and the rotation angle of the scanning surface of the single-line laser radar relative to the horizontal or vertical plane can be obtained, forming a three-dimensional point cloud information.

[0054] The single-line laser radar is fixedly connected to the stepper motor through a rocker, and the rotating shaft of the stepper motor extends about 15 cm through the rocker. The other end of the rocker is fixedly connected to the center of the side wall of the single-line laser radar, and the pitch rotation of the scanning surface of the single-line laser radar is controlled by the stepper motor. The angle rotation range of the stepper motor is 0°-360°, and the angle resolution is about 0.1125°. The rotation angle of the stepper motor is the rotation angle of the scanning surface of the single-line laser radar. Therefore, the device of the present invention can realize three-dimensional reciprocating scanning detection of the measured target and the detection area. After the detection is completed, the data of the single-line laser radar and the stepper motor are transmitted to the computer via Bluetooth for processing.

[0055] The controller is used to receive the control signal transmitted by Bluetooth, generate a pulse wave with a variable duty cycle to control the rotation of the stepper motor to obtain the pitch, steering and azimuth information of the single-line laser radar scanning surface fixedly connected thereto. The waveform frequency generated by the controller is used to control the running speed of the motor. The higher the waveform frequency, the faster the motor rotates. The number of pulses generated by the controller is used to control the rotation angle of the stepper motor. The timer inside the controller is used to record the movement time of the stepper motor. The pitch angle can be obtained through the number of pulses and time information.

[0056] The Bluetooth is used to transmit the acquired single-line laser radar swing information and the single-line laser radar scanning surface pitch and steering information provided by the stepper motor to the computer, and to transmit the computer's start and stop control information for the stepper motor to the controller. Bluetooth consists of a transmitter and a receiver, both of which use the same baud rate as the communication rate, automatically pair after power-on, and then perform data transmission.

[0057] The computer is used to complete data collection, data analysis and verification. Data can be received by the computer, and the computer can control whether the data is received by sending instructions. The received data is then analyzed and mapped, and the three-dimensional point cloud image is observed and analyzed to see whether the data can be used to perform three-dimensional imaging of the scene.

[0058] After many experiments, the device of the present invention can meet the needs of target detection and imaging. The beam is 144 (its value is much larger than the beam of multi-line laser radar), the angle resolution is 0.625°, and it can perform rotation scanning in the pitch range of 0-180°, realizing 360° omnidirectional rotation detection. The platform has low angle resolution, large pitch range, and is superior to commercial multi-line laser radar in three-dimensional imaging effect. At the same time, the cost of the device of the present invention is only 2% of Velodyne's 16-line laser radar, which has great practical value and application significance in indoor security.

[0059] The networked point cloud registration method of the present invention is to disperse Q omnidirectional rotating single-line laser radar devices in an environment where point cloud registration is not performed, and transmit the data measured by each device to a computer via Bluetooth for processing to achieve networked point cloud registration, where Q≥2.

[0060] An embodiment of the present invention is to place two identical devices of the present invention at two opposite corner points in a room to form an information collection network system, and use the method of the present invention to perform point cloud registration processing on the data measured by each device at the same time.

[0061] Refer to the following Figure 2 The embodiments of the present invention further describe the point cloud registration method for the networking of the omnidirectionally rotating single-line laser radar device of the present invention.

[0062] Step 1: Collect system point cloud data.

[0063] In the information collection network system, the computer transmits the information of controlling the start and stop of the stepper motor to the controllers of the two devices via Bluetooth, so that the two devices start at the same time. The point cloud data information collected by the two devices is transmitted to the computer in matrix form via Bluetooth.

[0064] Step 2: Preprocess system point cloud data.

[0065] Step 2.1, coordinate system conversion.

[0066] The computer receives the single-line laser radar swing information measured by each device, as well as the pitch and steering information of the single-line laser radar scanning surface provided by the stepper motor. Since these information come from different directions, that is, not in the same coordinate system, it is not conducive to point cloud alignment. Therefore, it is necessary to convert the radar swing information and the pitch and steering information into coordinate systems so that the two are in the same spatial rectangular coordinate system.

[0067] Step 2.2, translation transformation.

[0068] One device in the information collection network system is used as a reference point cloud collection device, and the other is used as a test point cloud collection device. The coordinates of the test point cloud are translated to the coordinates of the reference point cloud. Through translation conversion, the point cloud image can be translated, thereby achieving the consistency of the coordinates of the two point clouds and correcting the problem of point cloud misalignment.

[0069] Step 2.3, scale transformation.

[0070] In order to solve the problem of point cloud deformation (stretching or squeezing), the coordinates of the test point cloud are transformed to the coordinates of the reference point cloud through scale transformation to make the point cloud imaging more accurate. The scaling parameters in the scale transformation are determined according to the ratio of the distance between the test point cloud and the reference point cloud.

[0071] Step 2.4: noise reduction and filtering.

[0072] The point cloud data measured by the information collection network system is subjected to noise reduction and filtering, so that the point cloud data can more realistically reflect the distance information in the environment. The isolated measurement points generated by random noise are filtered out, and these isolated measurement points can be filtered out by first corroding and then dilating the three-dimensional area.

[0073] Step 2.5, use the ball neighborhood method to find the point cloud neighborhood.

[0074] Each laser point of the point cloud measured by the information collection network system is taken as the center of the sphere. The sphere with the desired laser point as the center and a radius of r contains k points. The sphere is the neighborhood set of the laser point. The radius r is determined by the ratio of the acquisition space size and the number of point clouds. k is 3 times the number of devices in the information collection network system. The neighborhood set is the point cloud neighborhood of the desired laser point.

[0075] Step 2.6, find the point cloud normal vector of each point cloud neighborhood.

[0076] The principal component analysis method is used to calculate the covariance matrix of each laser point of the point cloud measured by the information acquisition network system. The singular value decomposition method is used to obtain the eigenvector and eigenvalue of the covariance matrix, and the eigenvector corresponding to the smallest eigenvalue is selected. This eigenvector is the required point cloud normal vector.

[0077] Step 3: Select a set of characteristic laser points.

[0078] The arithmetic average angle between each laser point of the point cloud measured by the information collection network system and all the laser points in its neighborhood set is calculated by the K-nearest neighbor algorithm. The size of the average angle represents the fluctuation of the point cloud surface area. The arithmetic average angle is filtered by the threshold to extract the area where the point cloud normal vector changes greatly. All laser points with arithmetic average angles greater than the threshold are retained and used as the selected feature laser point set. In the embodiment of the present invention, the threshold is the mean of the arithmetic average angles between each laser point in the point cloud measured by the information collection network system and all the laser points in its neighborhood set.

[0079] Step 4: Feature laser point matching.

[0080] The matching feature laser points are found by calculating the similar feature vectors of point clouds. The Euclidean distances between the feature vectors of the feature laser points measured by the two devices in the information acquisition network system are calculated. The feature laser points whose Euclidean distances are less than half of the mean of all Euclidean distances are retained to complete the feature laser point matching.

[0081] Step 5: Point cloud screening after matching.

[0082] The characteristic laser points less than the threshold value are selected from the characteristic laser points respectively measured by the two devices in the information collection network system, and all the selected characteristic laser points are used as initial matching points. In the embodiment of the present invention, the threshold value is set as the average of the distances between the positions of each measured target point in the point cloud measured by the two devices in the information collection network system. After completing one screening, the initial matching points that meet the distance invariance of the rigid body transformation are further screened, and the registration point cloud after two screenings is retained, and the screening of the matched point cloud is completed.

[0083] Step 6: calibrate the three-dimensional cells.

[0084] The space detected by the information collection network system is divided into three-dimensional cells with a side length of Δd. The side length Δd is determined by the density of the number of laser points in the detection space. The matrix form of the detection space is represented by M. Select a laser point that has not been selected from the registered point cloud. If the distance between the laser point and the center of a three-dimensional cell is less than the set threshold Then the three-dimensional cell is marked as 1, otherwise it is 0. At this time, the point marked as 1 in the three-dimensional matrix M indicates that there is an object at this point in the space.

[0085] From then on, the coarse registration phase of the point cloud registration is completed, providing the initial position for the iterative process.

[0086] Step 7: Use the Grey Wolf Optimization Algorithm to iteratively estimate the optimal system error.

[0087] Step 7.1, each system error is the six-dimensional position change increment between a laser point in the unregistered point cloud and the corresponding registered laser point in the calibrated three-dimensional cube. The system error is generated when the unregistered laser point is translated along the X, Y, and Z axes for a certain distance and rotated around the X, Y, and Z axes for a certain angle to reach the position of the registered laser point. Generate the initial system error according to the following formula:

[0088] S nq =S iq +ξ(r q max )

[0089] Among them, S nq represents the q-th dimension system error of the n-th unregistered laser point, q=1,2,...,6, S iq represents the qth dimension expected value of the initial system error. In the embodiment of the present invention, S iq Set to 0, ξ(r q max ) means the generated value has a mean of 0 and a variance of r q max The random number, r q max is the maximum value of all system errors.

[0090] Step 7.2, select an unselected laser point from the registered point cloud and calculate the system error between this point and all unregistered points.

[0091] Step 7.3, arrange the values ​​of the system error in ascending order, select the unregistered laser points corresponding to the first three values ​​in the ascending sequence, and use them as the three candidate solutions for the registered laser points using the grey wolf optimization algorithm during the precise registration.

[0092] Step 7.4, update the systematic error between the registered laser point and each unregistered laser point according to the following formula:

[0093]

[0094] Among them, S′ nq represents the updated system error of the qth dimension of the nth unregistered laser point, n=1,...,N P , N P represents the total number of unregistered laser points in the point cloud. j represents the jth candidate solution of the Grey Wolf Optimization Algorithm, S jq represents the q-th dimension system error of the j-th candidate solution, ε represents the control coefficient vector, which decreases linearly from 2 to 0 as the number of iterations increases, and τ represents a random vector in [0,1]. It means the mean is 0 and the variance is A random number.

[0095] Step 7.5, select an unselected laser point from the registered point cloud, and take the minimum value of all system errors of the selected laser point as the registration system error of the laser point.

[0096] Step 7.6, taking the sum of the coordinate value of each unregistered laser point and the registration system error of the selected laser point as the coordinate value of each unregistered laser point after correction by the registration system error of the selected laser point.

[0097] In step 7.7, the distance between each corrected unregistered laser point and the laser point closest to the laser point in the registered point cloud is taken as the registration distance.

[0098] Step 7.8: sort all the registrations and in descending order, and use the generated U numbers with a mean of 0 and a variance of r q max The system error value of the unregistered laser point corresponding to the first V values ​​of the descending sequence replaced by random numbers, and the registration sum is the sum of all registration distances of each registered laser point. U = μN p ,μ represents the iteration parameter that decreases linearly from 2 to 0 as the number of iterations increases, V=U.

[0099] Step 7.9, determine whether the minimum value of all the registration sums is less than a threshold, if so, execute step 7.10, otherwise, execute step 7.2. In the embodiment of the present invention, the threshold of the registration sum is set to 0.002m.

[0100] Step 7.10, taking the system error corresponding to the minimum value of the registration sum as the optimal system error, and taking the sum of the coordinate value of each unregistered laser point and the optimal system error as the coordinate value of the unregistered laser point after registration.

[0101] Step 7.11, determine whether there are still unaligned laser points in a frame of laser point cloud measured by one rotation of the stepper motor of each device in the information collection network system. If so, execute step 7.2, otherwise, execute step 8.

[0102] Step 8: Output the image after frame registration.

[0103] The effects of the present invention are further described below in conjunction with simulation experiments.

[0104] 1. Simulation experiment conditions:

[0105] The hardware platform of the simulation experiment of the present invention is: the processor is Intel(R) Core(TM) i5-3470 CPU, the main frequency is 3.20GHz, and the memory is 8GB.

[0106] The software platform of the simulation experiment of the present invention is Windows 10 operating system and MatlabR2021b, and the software for receiving radar data is the dedicated test software Delta_1A.exe.

[0107] The device of the present invention uses a 42-type stepper motor (3200 pulses / rev) plus a TB6600 driver combination as a rotating device. The test current is 1A, and two Bluetooth HC05s are used for Bluetooth communication: the communication baud rate is 230400 baud rate, 8 data bits, and 1 stop bit. The sending end Bluetooth A is connected to the main controller of the acquisition end and configured as a host mode, and the receiving end Bluetooth B is connected to the computer end and configured as a slave mode. The step-down regulated power supply adopts a 75W / 5A high-power step-down circuit (the input voltage is 4-38V, and the output can reach 1.25-36V continuously adjustable).

[0108] 2. Simulation content and result analysis:

[0109] The present invention has a total of 3 simulation experiments, and the experimental contents are as follows: Experiment 1 uses a single device of the present invention to monitor and distinguish targets in an indoor environment; Experiment 2 uses two devices of the present invention to form a network to perform three-dimensional joint detection of targets, verifying the feasibility of the method of the present invention for static target detection; Experiment 3 uses four devices of the present invention to form a network to perform all-round detection of targets, verifying the accuracy change of the method of the present invention when the number of data sources is increased;

[0110] Experiment 1: Based on the above experimental conditions, the omnidirectional rotating single-line laser radar device designed in the scenario of the present invention is used to obtain point cloud data of the surrounding environment (a standing person and a room with an armchair), and the point cloud data is analyzed and extracted. After the data is acquired, the measurement points in polar coordinates need to be converted into a spatial coordinate system for analysis and processing, and the variation trend of the pitch rotation angle of the scanning surface of the device of the present invention during the scanning process as the number of sampling points increases is obtained, such as Figure 3 The laser points in the measured point cloud are represented in polar coordinates as (d, θ, φ), where the scanning distance is d, the scanning angle is θ, and the motor rotation angle is φ.

[0111] Combine the following Figure 3 The simulation diagram of the present invention is further described.

[0112] Figure 3 (a) is a graph showing the variation of the pitch rotation angle of the scanning surface of the device of the present invention during the scanning process as the number of sampling points increases. The horizontal axis represents the number of sampling points of the radar device, and the unit is 10 4 ,The ordinate is the elevation angle of the radar device scanning surface, in degrees. Figure 3(b) is a graph showing the laser reflection distance of the device of the present invention after encountering the measured target as the number of sampling points increases during the scanning process. The horizontal axis represents the number of sampling points of the radar device, and the unit is 10 4 ,The ordinate is the laser reflection distance, in millimeters. Figure 3 (c) with Figure 3 (d) are three-dimensional point clouds of a standing person target and a chair with armrests detected by the device of the present invention, respectively, and the units of XYZ axis coordinates are meters.

[0113] Depend on Figure 3 (a) It can be seen that the stepper motor in the device of the present invention drives the single-line laser radar scanning surface to rotate at angles of: 0 to 90 degrees, 90 degrees to 0 degrees, and each sampling interval is 0.625°, which is higher than the angular resolution of existing commercial three-dimensional laser radars.

[0114] Depend on Figure 3 (b) It can be seen that the device of the present invention scans 144 circles in one cycle, that is, 144 laser beams are irradiated into the indoor scene, and the number of laser beams is 7.6 times that of the 16-line laser radar. During the scanning, the laser radar encounters obstacles to the measured target and returns signals, and the longest scanning distance is 7m.

[0115] Depend on Figure 3 (c) and Figure 3 The different shades of color in (d) represent the detection information of the device of the present invention at different times in a three-dimensional detection cycle. It can be intuitively seen that the device of the present invention can realize all-round detection of the contour of an object without blind spots or obstructions. The device of the present invention can achieve the same function as the existing commercial three-dimensional laser radar. The angular displacement of the scanning plane will not cause obvious deformation of the detection image. The resolution can reach the centimeter level when detecting objects. Based on this experiment, the feasibility of the device proposed by the present invention can be proved. The device of the present invention has the advantages of low hardware cost and can realize all-round high-precision detection.

[0116] Experiment 2: Based on the above experimental conditions, single-node detection can only image the front of the object, but cannot detect the back. There is a blind spot in the field of vision. In order to obtain more detailed information about the detected target, this experiment uses two devices of the present invention to form an information collection network system, and performs three-dimensional joint detection on the target to obtain the detection point cloud results, such as Figure 4 shown.

[0117] Combine the following Figure 4 The simulation diagram of the present invention is further described.

[0118] Figure 4 (a) is a diagram showing the effect of the information collection network system registering the object under test using the method of the present invention at the frontal viewing angle of the object under test. Figure 4(b) is a diagram showing the effect of the information collection network system aligning the object under test using the method of the present invention from the back side of the object under test. The dark and light colors in the figure represent the point clouds measured by the two devices in the information collection network system, respectively. Figure 4 (c) is the actual picture of the target being measured.

[0119] Depend on Figure 4 By comparing the three figures, it can be seen that the point cloud data measured by the two scattered devices of the present invention in the information acquisition network can realize three-dimensional imaging of the measured object after being aligned by the networking point cloud alignment method of the present invention.

[0120] Based on the above two experiments, it can be proved that the device and method of the present invention can perform three-dimensional detection of the contour information of the object being measured.

[0121] Experiment 3: Based on the above experimental conditions, in order to verify the performance of the method of the present invention when the number of devices of the present invention in the information collection network increases, this experiment uses four devices of the present invention to form an information collection network and scan the target in four directions. The point cloud image obtained by three-dimensional registration of multi-directional radar data using the method of the present invention is as follows: Figure 5 In order to quantify the error between the actual outline size of the target and the point cloud image collected in the experiment, the sofa and round table were used as the target in the experiment. The sofa and round table were measured and their size information was recorded. The point cloud information obtained by four-azimuth radar scanning and single-azimuth radar scanning was compared with the measured size information, as shown in Tables 1 and 2.

[0122] Combine the following Figure 5 The detection and tracking effects of the method of the present invention on the target after multiple devices of the present invention are networked are further described.

[0123] The dimension codes for sofas and round tables are as follows Figure 5 (a) corresponds to the actual size measurements in the four directions and one direction in Tables 1 and 2. Figure 5 (b) is the point cloud registration result of the entire large scene under the networking condition of four devices of the present invention. Figure 5 (c) shows that the real image of the human target corresponds to the point cloud data measured by the four-azimuth radar. Figure 5 (d) is the point cloud data measured by four devices of the present invention, and different colors represent different devices.

[0124] Table 1

[0125]

[0126] Table 2

[0127]

[0128] Depend on Figure 5It can be seen that after the four devices of the present invention are networked, not only can the point cloud image obtain more effective target point cloud information, but the target can also be detected and registered in all directions, making the target closer to the original shape, which verifies that the method of the present invention can still ensure a high detection accuracy when the number of radar devices increases.

[0129] It can be seen from Table 1 that the point cloud collected by the device of the present invention in four directions can be obtained that the target size error is about 2 cm, and the number of imaging points of the point cloud is 33485 points in total.

[0130] It can be seen from Table 2 that the size error of the point cloud collected by the device of the present invention in a single direction is about 5-18 cm, and the number of imaging points of the point cloud is 9453 in total.

[0131] By comparison, a single device of the present invention scanning a target will result in an incomplete target scan due to a small number of point clouds, resulting in a situation where the target size is too different from the actual size. Since multiple devices of the present invention are networked to scan a target, the point cloud can have more points, making the target imaging effect closer to the actual size, and the networked 3D registration method of the present invention can significantly reduce the measurement error and error percentage under the networking conditions of multiple devices of the present invention.

[0132] The above simulation experiments show that: the data acquisition node part of the device of the present invention is a single-line laser radar fixedly connected to the stepper motor through a rocker, and the two-dimensional detection area is expanded to three dimensions by adding a rotation angle. Compared with the commercial three-dimensional laser radar, the hardware cost is greatly reduced on the basis of achieving the same function; the angular displacement of the scanning plane is small, which can avoid the detection imaging of the single-line laser radar from being significantly deformed; the stepper motor controls the fixed-axis rotation of the scanning plane of the single-line laser radar to achieve omnidirectional rotation positioning, and at the same time, the high rotation angle resolution of the stepper motor can make the single-line laser radar device produce higher detection and imaging accuracy after point cloud coordinate transformation and filtering on the basis of achieving the three-dimensional radar function, so that the device of the present invention has the advantages of low hardware cost and omnidirectional high-precision detection. The three-dimensional point cloud registration method of the present invention is to align the point cloud data after the networking of multiple single-line laser radar devices, which can solve the problem of local point cloud and target occlusion of the scanning target. The accurate registration algorithm in the method of the present invention uses the gray wolf optimization algorithm to overcome the problem of large calculation amount caused by too many iterations, so that the three-dimensional registration method of the present invention can still have a high registration accuracy when the number of iterations is small, thereby ensuring the three-dimensional detection effect of the entire system.

[0133] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An omnidirectional rotating single-line laser radar device, comprising a single-line laser radar, a stepping motor, a rocker, a controller, Bluetooth, and a computer; characterized in that: The single-line laser radar is fixedly connected to the stepper motor through a rocker, and the two-dimensional detection area is expanded to three dimensions by adding a rotation angle. The stepper motor controls the fixed-axis rotation of the scanning plane of the single-line laser radar to achieve omnidirectional rotation positioning; wherein, The single-line laser radar is used to collect distance and azimuth information between the target and the radar in space; The single-line laser radar is fixedly connected to the stepper motor through a joystick, the rotating shaft of the stepper motor extends a certain distance through the joystick, and the other end of the joystick is fixedly connected to the center of the side wall of the single-line laser radar. The scanning surface of the single-line laser radar is controlled by the stepper motor to pitch and rotate, and the target and the detection area are scanned back and forth. After the detection is completed, the data of the single-line laser radar and the stepper motor are transmitted to the computer via Bluetooth for processing; The controller is used to receive the control signal transmitted by Bluetooth, generate a pulse wave with a variable duty cycle to control the rotation of the stepper motor to obtain the pitch, steering and azimuth information of the single-line laser radar scanning surface fixedly connected thereto; The Bluetooth is used to transmit the acquired single-line laser radar swing information and the single-line laser radar scanning surface pitch and steering information provided by the stepper motor to the computer, and is used to transmit the computer's start and stop control information for the stepper motor to the controller; The computer is used to complete data collection, data analysis and verification.

2. A method for point cloud registration of an omnidirectionally rotating single-line laser radar device network according to the device of claim 1, characterized in that: At least two omnidirectional rotating single-line laser radar devices are dispersedly arranged in an environment where point cloud registration is not performed to form an information collection network system; coordinate system conversion and translation conversion preprocessing are performed on the point cloud data obtained by the system in sequence, and after the rough registration of the point cloud is completed, the gray wolf optimization algorithm is used to iteratively estimate the optimal system error to achieve point cloud registration of the measured object. The steps of the point cloud registration method include the following: Step 1: Collect system point cloud data: At least two omnidirectional rotating single-line laser radar devices are dispersedly set up in an environment where point cloud registration is not performed to form an information collection network system. The computer transmits the information for controlling the start and stop of the stepper motor to the controller of each device via Bluetooth, so that each device is started at the same time; the point cloud data information collected by each device is transmitted to the computer in a matrix form via Bluetooth; Step 2: Preprocess system point cloud data: Step 2.1, coordinate system conversion, translation conversion and scale transformation are performed on the single-line laser radar swing information and the pitch and steering information of the single-line laser radar scanning surface in the point cloud data in sequence; Step 2.2, denoising and filtering the point cloud data measured by the information acquisition network system after translation conversion, filtering out isolated measurement points generated by random noise, and performing corrosion and then expansion of the three-dimensional area; Step 2.3, use the spherical neighborhood method to find the neighborhood of the point cloud. Take each laser point of the point cloud measured by the information collection network system as the center of the sphere. The sphere with the desired laser point as the center and a radius of r contains k points. The sphere is the neighborhood set of the laser point. The radius r is determined by the ratio of the acquisition space size and the number of point clouds. k is three times the number of devices in the information collection network system. The neighborhood set is the point cloud neighborhood of the desired laser point. Step 2.4, find the point cloud normal vector of each point cloud neighborhood, use the principal component analysis method to find the covariance matrix of each laser point of the point cloud measured by the information acquisition network system, use the singular value decomposition method to find the eigenvector and eigenvalue of the covariance matrix, and select the eigenvector corresponding to the smallest eigenvalue. This eigenvector is the point cloud normal vector. Step 3: Select a set of characteristic laser points: The K-nearest neighbor algorithm is used to calculate the arithmetic average angle between each laser point of the point cloud measured by the information collection network system and all the laser points in its neighborhood set. The size of the average angle represents the fluctuation of the point cloud surface area. The arithmetic average angle is filtered by a threshold to extract the area where the point cloud normal vector changes greatly; all laser points with arithmetic average angles greater than the threshold are retained and used as the selected feature laser point set; Step 4: Match the characteristic laser points: The method of calculating the similar feature vectors of the point cloud is used to find the matching feature laser points, the Euclidean distance between the feature vectors of the feature laser points measured by each device in the information acquisition network system is calculated, and the feature laser points whose Euclidean distance is less than half of the average of all Euclidean distances are retained to complete the matching of the feature laser points; Step 5: Filter the matched point cloud: The characteristic laser points less than the threshold value are screened out from the characteristic laser points measured by each device in the information collection network system, and all the screened characteristic laser points are used as initial matching points; after completing one screening, the initial matching points that meet the distance invariance of the rigid body transformation are further screened out, and the registration point cloud after two screenings is retained, and the screening of the matched point cloud is completed; Step 6: calibrate the 3D cells: The space detected by the information collection network system is divided into three-dimensional cells with a side length of Δd. The side length Δd is determined by the density of the number of laser points in the detection space. The matrix form of the detection space is represented by M. Select a laser point that has not been selected from the registered point cloud. If the distance between the laser point and the center of a 3D cell is less than the set threshold Then the three-dimensional cell is marked as 1, otherwise it is 0; at this time, the point marked as 1 in the three-dimensional matrix M indicates that there is an object at this point in the space; Since then, the coarse registration phase of point cloud registration has been completed, providing the initial position for the iterative process; Step 7: Use the Gray Wolf Optimization Algorithm to iteratively estimate the optimal system error: Step 7.1, select an unselected laser point from the registered point cloud, and calculate the system error between this point and all unregistered points; Step 7.2, arranging the values ​​of the system error in ascending order, selecting the unregistered laser points corresponding to the first three values ​​in the ascending sequence as three candidate solutions for the registered laser points using the gray wolf optimization algorithm during accurate registration; Step 7.3, updating the system error between the registered laser point and each unregistered laser point; Step 7.4, select an unselected laser point from the registered point cloud, and take the minimum value of all system errors of the selected laser point as the registration system error of the laser point; Step 7.5, taking the sum of the coordinate value of each unregistered laser point and the registration system error of the selected laser point as the coordinate value of each unregistered laser point after correction by the registration system error of the selected laser point; Step 7.6, taking the distance between each corrected unregistered laser point and the laser point closest to the laser point in the registered point cloud as the registration distance; Step 7.7, sort all the registrations and in descending order, and use the generated U with a mean of 0 and a variance of r q max The random number replaces the first V values ​​of the descending sequence corresponding to the unregistered laser point system error value, the registration sum is the sum of all registration distances of each registered laser point, U = μN p ,μ represents the iteration parameter that decreases linearly from 2 to 0 as the number of iterations increases, V=U; Step 7.8, determine whether the minimum value of all the registration sums is less than the threshold, if so, execute step 7.9, otherwise, execute step 7.1; Step 7.9, taking the system error corresponding to the minimum value of the registration sum as the optimal system error, and taking the sum of the coordinate value of each unregistered laser point and the optimal system error as the coordinate value of the unregistered laser point after registration; Step 7.10, determining whether there are still unregistered laser points in a frame of laser point cloud measured by one rotation of the stepper motor of each device in the information collection network system, if so, executing step 7.1, otherwise, executing step 8; Step 8: Output the image after frame registration.

3. According to claim 2, a method for point cloud registration of an omnidirectional rotating single-line laser radar device network, characterized in that: The coordinate system conversion described in step 2.1 refers to the coordinate system conversion of the single-line laser radar swing information in the point cloud data and the pitch and turn information of the single-line laser radar scanning surface so that the two are in the same spatial rectangular coordinate system.

4. According to claim 2, a method for point cloud registration of an omnidirectional rotating single-line laser radar device network, characterized in that: The translation conversion described in step 2.1 refers to using one device in the information acquisition network system as a reference point cloud acquisition device and other devices as test point cloud acquisition devices to translate the coordinates of the test point cloud to the coordinates of the reference point cloud.

5. According to claim 2, a method for point cloud registration of an omnidirectional rotating single-line laser radar device network, characterized in that: The scale transformation described in step 2.1 refers to transforming the coordinates of the test point cloud to the coordinates of the reference point cloud through scale transformation, and the scaling parameters in the scale transformation are determined according to the ratio of the distance between the test point cloud and the reference point cloud.

6. The method for point cloud registration of an omnidirectional rotating single-line laser radar device network according to claim 2, characterized in that: The updating of the systematic error between the registered laser point and each unregistered laser point described in step 7.3 is implemented by the following formula: Among them, S' nq represents the updated system error of the qth dimension of the nth unregistered laser point, n=1,...,N P , N P represents the total number of unregistered laser points in the point cloud, q = 1, 2, ..., 6, j represents the jth candidate solution of the Grey Wolf Optimization Algorithm, S jq represents the q-th dimension system error of the j-th candidate solution, ε represents the control coefficient vector, which decreases linearly from 2 to 0 as the number of iterations increases, τ represents a random vector in [0,1], S nq represents the q-th dimension system error of the n-th unregistered laser point, It means the mean is 0 and the variance is A random number.