A method for unmanned rail locomotive to pass through slope and curve in deep confined space
Through the combination of solid-state lidar and gyroscope technology, the problem of identifying slopes and curves in the complex environment of underground tunnels has been solved, the accurate identification and safe passage of unmanned railcars has been achieved, and the efficiency and safety of mine transportation have been improved.
Patent Information
- Application Number
- CN202210383227.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-13
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-04-13
AI Technical Summary
In a mine environment, it is difficult for existing technology to accurately identify and process the complex slopes and curves of underground tunnels, causing unmanned railcars to misjudge obstacles or fail to detect slopes and curves, causing problems such as parking or derailment.
Solid-state lidar is used in combination with accelerometers and gyroscopes to collect data in real time through the automatically rotating solid-state lidar. The RANSAC algorithm is used to segment the three-dimensional point cloud data, calculate the posture and curve curvature of the unmanned railcar, and adjust the driving speed to Ensure smooth passage.
It enables unmanned electric locomotives to accurately identify and navigate uphill, downhill slopes and curves in a mine environment, avoids accidental parking and derailment, and improves the safety and efficiency of underground transportation.
Smart Images

Figure CN114690780B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an environment perception method for an unmanned vehicle, in particular to a slope and curve navigation method for an unmanned rail motor vehicle in a deep confined space. Background Art
[0002] Auxiliary transportation in coal mines is an important part of the mine production system, and undertakes the transportation tasks of personnel, equipment and materials. Auxiliary transportation is divided into rail transportation and trackless transportation. Some mining areas have extremely complex geological structures, small tunnel sections, and short coal mining face advancement lengths, generally 400 to 600 meters; a mining area changes coal mining faces many times a year, and auxiliary transportation lines frequently extend or migrate with the extension of work locations; tunnel surrounding rocks are mostly composite soft rocks, and the tunnel roof is broken and falling, and the floor is seriously bulging. The tunnel has a large slope, many slope changes and turns. How to realize its unmanned driving has great application prospects and strategic value for reducing property losses and casualties, reducing transportation costs, and improving mining efficiency.
[0003] Environmental perception is the basis for realizing unmanned driving of underground electric locomotives. At present, the main research directions of environmental perception and obstacle avoidance at home and abroad are in the highway environment and urban road environment, while few people have mentioned the slope and curve passage in the special environment of underground. In addition, compared with the ground road, the underground tunnel has a complex structure, large up and down slopes, and narrow and winding roads, which makes it very difficult to pass smoothly in the underground tunnel environment, which is time-consuming and laborious. The existing method is generally to perceive through the fusion of laser radar and camera on the electric locomotive, but this method is complex to process data, increases the amount of calculation, and the illumination of the underground tunnel is low, and it is difficult for the camera to restore the real environment, resulting in the unmanned electric locomotive mistakenly judging it as an obstacle and stopping when encountering up and down slopes and curves, or because the up and down slopes and curves are not detected, the vehicle speed is too fast when passing up and down slopes and curves, resulting in derailment. Therefore, how to provide a method to enable the unmanned electric locomotive to accurately identify up and down slopes and curves, so as to ensure the smooth passage of the unmanned electric locomotive in the mine, is one of the research directions of this industry. Summary of the invention
[0004] In view of the problems existing in the above-mentioned prior art, the present invention provides a method for rail locomotives to pass slopes and curves in deep confined spaces, so that unmanned rail locomotives can accurately identify uphill and downhill slopes and curves, thereby ensuring the smooth passage of unmanned rail locomotives in mines.
[0005] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is: a method for unmanned rail electric locomotive to pass the slope and curve in a deep confined space, the specific steps are as follows:
[0006] (1) Install a solid-state laser radar at the front of the unmanned rail vehicle, wherein the solid-state laser radar is provided with an accelerometer and a gyroscope, and the direction of the solid-state laser radar can rotate automatically, then turn on the solid-state laser radar and keep it facing the front of the unmanned rail vehicle, take the underground tunnel entrance as the starting point, and make the unmanned rail vehicle move forward along the track at a uniform speed, and use an industrial control computer to store the bag of solid-state laser radar measurement data and the imu data collected by the gyroscope and accelerometer each time, the unmanned rail vehicle traverses all driving areas in the underground tunnel, and the industrial control computer removes the clutter and noise in the data according to the collected data, and obtains the data packet of the original three-dimensional point cloud and the imu data of the whole traversal;
[0007] (2) Perform ground segmentation processing on the original 3D point cloud, and use the RANSAC (Random Sample Consensus) algorithm to segment the ground point cloud data and non-ground point cloud data;
[0008] (3) The industrial control computer first selects the imu data collected once in step (1) and its corresponding time, calculates the current position and posture of the solid-state laser radar through the imu data, and then determines whether the unmanned rail vehicle is traveling uphill or downhill at the time corresponding to the imu data according to the position and posture of the solid-state laser radar. This step is repeated multiple times, so that the imu data collected each time can be analyzed to obtain whether the unmanned rail vehicle is on the uphill or downhill at each corresponding time, and then each corresponding time is multiplied by the driving speed of the unmanned rail vehicle in step (1), so as to obtain the length and position of the uphill or downhill;
[0009] (4) Based on the non-ground point cloud data segmented in step (2), determine whether it is a curve according to the shape of the tunnel wall, and calculate the curvature and position of the curve. According to the curvature of the curve, the solid-state laser radar is rotated accordingly so that the x-axis of the solid-state laser radar is parallel to the track, thereby preventing the solid-state laser radar from misidentifying the side of the tunnel as an obstacle;
[0010] (5) When the unmanned tram vehicle begins normal transportation, according to the length and position of the uphill and downhill slopes determined in step (3) and the curvature and position of the curve determined in step (4), when the unmanned tram vehicle passes through the uphill and downhill slopes or curves, the driving speed can be automatically adjusted to ensure the smooth passage of the unmanned tram vehicle.
[0011] Furthermore, in step (1), the unmanned rail electric locomotive runs at a constant speed of 1 m / s.
[0012] Furthermore, the specific process of the ground segmentation processing in step (2) is as follows:
[0013] A. First, the original 3D point cloud is divided into several sub-point cloud segments along the direction of the unmanned tram, so that the ground in each sub-point cloud segment is set as a plane to reduce the impact of slope changes on the segmentation results. Then, the RANSAC algorithm is used to segment the point cloud data in each sub-point cloud segment to obtain the ground point cloud. The specific process of RANSAC algorithm segmentation of the ground is as follows:
[0014] B. Select the point cloud data in a sub-point cloud segment as the data set, randomly select several points in the data set as in-line points, and fit a plane model based on the in-line points. The number of points should be determined based on the characteristics of the plane, that is, to fit a plane, at least three points that are not collinear need to be selected; according to the set threshold (the threshold refers to the distance from other point clouds on both sides of the plane to the plane based on the fitted plane; if it is within the threshold, it can be considered that the point is on the plane, such as the threshold can be set to 1cm), calculate whether other points in the data set meet the plane model in turn. If they meet, they are recorded as in-line points of the plane; after completing the calculation of all points, record the number of in-line points of this plane model; if the number of in-line points obtained is greater than or equal to the original number of in-line points of the plane model, If the number of in-place points obtained in this calculation is less than the number of in-place points in the plane model, the current plane model is retained, and the same number of points are randomly selected from the data set as in-place points, and then the plane model is fitted according to the current in-place points, and the above calculation steps are repeated. This is repeated for multiple iterations until the iterative exit condition is met, and the loop is exited to obtain the optimal plane model in the entire iterative process; then the point cloud data in the current sub-point cloud segment is segmented according to the plane model to obtain the ground point cloud data of the sub-point cloud segment, as well as the non-ground point cloud data;
[0015] C. Repeat step B to segment the ground for other sub-point cloud segments, thereby obtaining the ground point cloud data of the original three-dimensional point cloud and the non-ground point cloud data.
[0016] Further, the process of determining the iterative exit condition is:
[0017] W is used to represent the probability of randomly selecting an in-game point, P is the confidence level, which represents the expected probability that the RANSAC algorithm will provide useful results after running; n is the number of data required to calculate the plane model parameters, and k is the number of iterations. Then W n Indicates the probability that the n randomly selected points are all in-game points; 1-W n represents the probability that there is at least one outlier; (1-W n ) kIt represents the probability that there is at least one outlier in k iterations. When k is large enough, this probability becomes very small, which means that the plane model is more credible.
[0018] Then the probability of obtaining at least one set of optimal plane model parameters after k iterations is 1-(1-W n ) k
[0019] This probability is equal to the confidence parameter P, and P = 1-(1-W n ) k
[0020] Take the logarithm and infer the value of k to be k = log(1-P) / log(1-W n ) k
[0021] The k value is the iteration exit condition. When the actual number of iterations is greater than k, the loop exits.
[0022] Further, the specific process of step (3) is as follows:
[0023] The industrial control computer selects the imu data collected in step (1) and its corresponding time, the imu data including the angular velocity and acceleration of the three axes;
[0024] Accelerometer calculates attitude angle:
[0025] The accelerometer measures the acceleration it feels. When it is stationary, it does not accelerate. However, due to the acceleration of gravity, according to the theory of relative motion, the acceleration it feels is exactly opposite to the acceleration of gravity, that is, the data read is vertically upward. Let a be the accelerometer data;
[0026] The rotation of the posture is a three-time rotation method in the ZYX order, so the above description can be expressed as:
[0027]
[0028] Right now
[0029] Solving the above equations, we can get the roll and pitch angles (the accelerometer cannot calculate the yaw angle because the gravity acceleration felt when rotating around Z is constant)
[0030]
[0031] Gyroscope calculates attitude angle:
[0032] The gyroscope measures the angular velocity of rotation around three axes. Therefore, by integrating the angular velocity, we can get the angle. Let g be the gyroscope data;
[0033] The attitude angles of IMU at the nth moment are roll, pitch, and yaw, which means that the IMU coordinate system rotates from the initial position by the yaw angle around Z, the pitch angle around Y, and the roll angle around X to obtain the final attitude. At this time, it is necessary to calculate the attitude of the next moment (n+1); suppose the attitude angles at the n+1 moment are roll+Δr, pitch+Δp, and yaw+Δy. This attitude also undergoes 3 rotations. To calculate the attitude at the n+1 moment, it is only necessary to add the corresponding attitude angle change on the basis of the attitude at the n moment. The attitude angle change can be obtained by integrating the angular velocity and the time period;
[0034]
[0035] From the above process, it can be concluded that the accelerometer can calculate the roll and pitch angles according to the gravity acceleration it feels when it is stationary, and the angle calculation is only related to the current attitude. The gyroscope integrates the angular velocity within the time interval to obtain the angle change each time, and adds it to the previous attitude angle to obtain the new attitude angle. The gyroscope can calculate the three angles of roll, pitch, and yaw.
[0036] In fact, acceleration can only obtain a relatively accurate attitude at a stationary moment, while the gyroscope is only sensitive to attitude changes during rotation. If the gyroscope itself has errors, the errors will continue to increase after continuous time integration. Therefore, the attitude of the solid-state laser radar is calculated by combining the accelerometer data and the gyroscope data for complementary fusion;
[0037]
[0038] Among them, K is the proportionality coefficient, which needs to be adjusted and determined according to actual conditions; for example, 0.4 is selected.
[0039] Finally, the current position of the unmanned rail vehicle is reflected according to the pitch angle of the solid-state laser radar, and then it is determined whether the unmanned rail vehicle is on an uphill or downhill slope at the current moment. This step is repeated multiple times, so that the imu data collected each time can be analyzed to obtain whether the unmanned rail vehicle is on an uphill or downhill slope at each corresponding moment, and then each corresponding moment is multiplied by the driving speed of the unmanned rail vehicle in step (1), so as to obtain the length and position of the uphill or downhill slope.
[0040] Further, the specific process of step (4) is as follows:
[0041] A. When the driverless locomotive encounters a bend, the point cloud scanned by the solid-state lidar is the wall on one side of the roadway. The non-ground point cloud data obtained in step (2) is directly filtered. Three beams of lidar point clouds are taken in the y-axis direction, and the maximum value in the x-axis direction is calculated in each beam of point clouds. If left_x_max < middle_x_max < right_x_max, it indicates that the roadway is turning right; otherwise, it is turning left. Furthermore, the moment when the driverless locomotive encounters the bend is determined, and the position of the bend is obtained by multiplying the moment by the traveling speed of the driverless rail locomotive in step (1).
[0042] B. Based on the three maximum values obtained from the three beams of lidar point clouds, the curvature of the roadway turn can be calculated. Specifically:
[0043] C. Let the three points be (x l , y l )(x m , y m )(x r , y r ), which form a triangle. The three sides are respectively:
[0044]
[0045]
[0046]
[0047] By the cosine theorem:
[0048] A circle can be constructed through the fact that the three vertices of this triangle are all on the circle. Therefore, the curvature is:
[0049] According to the obtained curvature of the roadway, a tf transformation is performed on the original three-dimensional point cloud, thereby obtaining the rotation angle of the solid-state lidar. Furthermore, the solid-state lidar is rotated accordingly to make the x-axis of the solid-state lidar parallel to the track, preventing the solid-state lidar from misidentifying the side wall of the roadway as an obstacle.
[0050] Compared with the prior art, the present invention first uses a solid-state laser radar installed on an unmanned rail electric locomotive, and then makes the rail electric locomotive travel at a uniform speed in the underground tunnel. The solid-state laser radar collects road data in real time during the travel process and feeds it back to the industrial control computer, and finally traverses the entire underground tunnel driving area to obtain the original point cloud data packet and the imu data collected by the gyroscope and accelerometer each time; then the underground tunnel three-dimensional point cloud is obtained according to the original point cloud data packet, and then the ground point cloud data and non-ground point cloud data are segmented using the RANSAC algorithm. According to the collected imu data, the current solid-state laser radar posture is calculated to feedback whether the electric locomotive is traveling on a slope, and then the uphill and downhill lengths and positions are obtained, and the electric locomotive increases the throttle when going uphill, and reduces the throttle when going downhill to ensure that the vehicle travels at a uniform speed and normally; it is determined whether it is a curve based on the shape of the tunnel wall, and the curvature of the curve and the position of the curve are calculated. The solid-state laser radar is rotated accordingly according to the curvature of the curve, so that the x-axis of the solid-state laser radar is parallel to the track, thereby preventing the solid-state laser radar from mistakenly identifying the side of the roadway as an obstacle. Therefore, the method of the present invention enables the unmanned rail electric locomotive to accurately identify uphill and downhill slopes and curves, thereby ensuring the smooth passage of the unmanned rail electric locomotive in the mine. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a schematic diagram of the installation of the solid-state laser radar in the present invention;
[0052] Figure 2 It is a schematic diagram of the straight-through filtering after the solid-state laser radar scans the wall in the present invention;
[0053] Figure 3 It is a point cloud schematic diagram of the underground curve in the present invention for the original three-dimensional point cloud TF transformation;
[0054] Figure 4 It is the overall flow chart of the present invention. DETAILED DESCRIPTION
[0055] The present invention will be further described below.
[0056] like Figure 4 As shown, the specific steps of the present invention are:
[0057] (1) Figure 1As shown, a solid-state laser radar is installed at the front of the unmanned rail vehicle. An accelerometer and a gyroscope are provided in the solid-state laser radar, and the direction of the solid-state laser radar can rotate automatically. Then, the solid-state laser radar is turned on and kept facing the front of the unmanned rail vehicle. The entrance of the underground tunnel is used as the starting point, and the unmanned rail vehicle moves forward along the track at a uniform speed of 1m / s. At the same time, an industrial control computer is used to store the bag package of the solid-state laser radar measurement data and the imu data collected by the gyroscope and accelerometer each time. The unmanned rail vehicle traverses all driving areas in the underground tunnel. The industrial control computer removes the clutter and noise in the data according to the collected data, and obtains the data packet of the original three-dimensional point cloud and the imu data of the whole traversal. The operating system of the industrial control computer is Ubuntu18.04, and the ROS and PCL libraries are installed.
[0058] (2) Perform ground segmentation processing on the original 3D point cloud obtained, and use the RANSAC (Random Sample Consensus) algorithm to segment the ground point cloud data and non-ground point cloud data; the specific process of ground segmentation processing is as follows:
[0059] A. First, the original 3D point cloud is divided into several sub-point cloud segments along the direction of the unmanned tram, so that the ground in each sub-point cloud segment is set as a plane to reduce the impact of slope changes on the segmentation results. Then, the RANSAC algorithm is used to segment the point cloud data in each sub-point cloud segment to obtain the ground point cloud. The specific process of RANSAC algorithm segmentation of the ground is as follows:
[0060] B. Select the point cloud data in a sub-point cloud segment as the data set, randomly select several points in the data set as in-line points, and fit a plane model based on the in-line points. The number of points should be determined according to the characteristics of the plane, that is, to fit a plane, at least three points that are not collinear need to be selected; according to the set threshold (the threshold refers to the distance from other point clouds on both sides of the plane to the plane based on the fitted plane; if it is within the threshold, it can be considered that the point is on the plane, and the threshold is set to 1cm), calculate whether other points in the data set meet the plane model in turn. If they meet, they are recorded as in-line points of the plane; after completing the calculation of all points, record the number of in-line points of this plane model; if the number of in-line points obtained is greater than or equal to the original number of in-line points of the plane model, then this calculation is used. Each in-place point obtained by the calculation is fitted into a new plane model, and the original plane model is replaced. Then the above calculation is repeated to determine whether other points in the data set meet the current plane model. If the number of in-place points obtained is less than the number of original in-place points of the plane model, the current plane model is retained, and the same number of points are randomly selected in the data set as in-place points. Then, the plane model is fitted according to the current in-place points, and the above calculation steps are repeated. This is repeated for multiple iterations until the iterative exit condition is met, and the loop is exited to obtain the optimal plane model in the entire iterative process. Then, the point cloud data in the current sub-point cloud segment is segmented according to the plane model to obtain the ground point cloud data of the sub-point cloud segment, as well as the non-ground point cloud data. The process of determining the iterative exit condition is as follows:
[0061] W is used to represent the probability of randomly selecting an in-game point, P is the confidence level, which represents the expected probability that the RANSAC algorithm will provide useful results after running; n is the number of data required to calculate the plane model parameters, and k is the number of iterations. Then W n Indicates the probability that the n randomly selected points are all in-game points; 1-W n represents the probability that there is at least one outlier; (1-W n ) k It represents the probability that there is at least one outlier in k iterations. When k is large enough, this probability becomes very small, which means that the plane model is more credible.
[0062] Then the probability of obtaining at least one set of optimal plane model parameters after k iterations is 1-(1-W n ) k
[0063] This probability is equal to the confidence parameter P, and P = 1-(1-W n ) k
[0064] Take the logarithm and infer the value of k to be k = log(1-P) / log(1-W n ) k
[0065] The k value is the iteration exit condition. When the actual number of iterations is greater than k, the loop is exited.
[0066] C. Repeat step B to segment the ground for other sub-point cloud segments, thereby obtaining the ground point cloud data of the original three-dimensional point cloud and the non-ground point cloud data.
[0067] (3) The industrial control computer first selects the imu data collected once in step (1) and its corresponding time, calculates the current position and posture of the solid-state laser radar through the imu data, and then determines whether the unmanned rail vehicle is traveling uphill or downhill at the time corresponding to the imu data according to the position and posture of the solid-state laser radar. This step is repeated multiple times, so that the imu data collected each time can be analyzed to obtain whether the unmanned rail vehicle is on the uphill or downhill at each corresponding time, and then each corresponding time is multiplied by the driving speed of the unmanned rail vehicle in step (1), so as to obtain the length and position of the uphill or downhill. The specific process is:
[0068] The industrial control computer selects the imu data collected in step (1) and its corresponding time, the imu data including the angular velocity and acceleration of the three axes;
[0069] Accelerometer calculates attitude angle:
[0070] The accelerometer measures the acceleration it feels. When it is stationary, it does not accelerate. However, due to the acceleration of gravity, according to the theory of relative motion, the acceleration it feels is exactly opposite to the acceleration of gravity, that is, the data read is vertically upward. Let a be the accelerometer data;
[0071] The rotation of the posture is a three-time rotation method in the ZYX order, so the above description can be expressed as:
[0072]
[0073] Right now
[0074] Solving the above equations, we can get the roll and pitch angles (the accelerometer cannot calculate the yaw angle because the gravity acceleration felt when rotating around Z is constant)
[0075]
[0076] Gyroscope calculates attitude angle:
[0077] The gyroscope measures the angular velocity of rotation around three axes. Therefore, by integrating the angular velocity, we can get the angle. Let g be the gyroscope data;
[0078] The attitude angles of IMU at the nth moment are roll, pitch, and yaw, which means that the IMU coordinate system rotates from the initial position by the yaw angle around Z, the pitch angle around Y, and the roll angle around X to obtain the final attitude. At this time, it is necessary to calculate the attitude of the next moment (n+1); suppose the attitude angles at the n+1 moment are roll+Δr, pitch+Δp, and yaw+Δy. This attitude also undergoes 3 rotations. To calculate the attitude at the n+1 moment, it is only necessary to add the corresponding attitude angle change on the basis of the attitude at the n moment. The attitude angle change can be obtained by integrating the angular velocity and the time period;
[0079]
[0080] From the above process, it can be concluded that the accelerometer can calculate the roll and pitch angles according to the gravity acceleration it feels when it is stationary, and the angle calculation is only related to the current attitude. The gyroscope integrates the angular velocity within the time interval to obtain the angle change each time, and adds it to the previous attitude angle to obtain the new attitude angle. The gyroscope can calculate the three angles of roll, pitch, and yaw.
[0081] In fact, acceleration can only obtain a relatively accurate attitude at a stationary moment, while the gyroscope is only sensitive to attitude changes during rotation. If the gyroscope itself has errors, the errors will continue to increase after continuous time integration. Therefore, the attitude of the solid-state laser radar is calculated by combining the accelerometer data and the gyroscope data for complementary fusion;
[0082]
[0083] Among them, K is the proportionality coefficient, which needs to be adjusted and determined according to actual conditions; for example, 0.4 is selected.
[0084] Finally, the current position of the unmanned rail vehicle is reflected according to the pitch angle of the solid-state laser radar, and then it is determined whether the unmanned rail vehicle is on an uphill or downhill slope at the current moment. This step is repeated multiple times, so that the imu data collected each time can be analyzed to obtain whether the unmanned rail vehicle is on an uphill or downhill slope at each corresponding moment, and then each corresponding moment is multiplied by the driving speed of the unmanned rail vehicle in step (1), so as to obtain the length and position of the uphill or downhill slope.
[0085] (4) Based on the non-ground point cloud data segmented in step (2), determine whether it is a curve according to the shape of the tunnel wall, and calculate the curvature and position of the curve. According to the curvature of the curve, the solid-state laser radar is rotated accordingly to make the x-axis of the solid-state laser radar parallel to the track, so as to prevent the solid-state laser radar from misidentifying the side of the tunnel as an obstacle. The specific process is as follows:
[0086] A. When the driverless locomotive encounters a bend, the point cloud scanned by the solid-state lidar is the wall on one side of the roadway. As shown in Figure 2 , the non-ground point cloud data obtained in step (2) is directly filtered. Three beams of lidar point clouds are taken in the y-axis direction, and the maximum value in the x-axis direction is calculated in each beam of point clouds. If left_x_max < middle_x_max < right_x_max, it indicates that the roadway is turning right; otherwise, it is turning left. Furthermore, the moment when the driverless locomotive encounters the bend is determined, and the position of the bend is obtained by multiplying the moment by the driving speed of the driverless rail locomotive in step (1).
[0087] B. According to the three maximum values obtained from the three beams of lidar point clouds, the curvature of the roadway turn can be calculated. Specifically:
[0088] C. Let the three points be (x l , y l )(x m , y m )(x r , y r ), which form a triangle. The three sides are respectively:
[0089]
[0090]
[0091]
[0092] From the cosine theorem:
[0093] Since the three vertices of this triangle are all on a circle, a circle can be constructed. Therefore, the curvature is:
[0094] As shown in Figure 3 , according to the obtained curvature of the roadway, a tf transformation is performed on the original three-dimensional point cloud, so as to obtain the rotation angle of the solid-state lidar, and then the solid-state lidar is rotated accordingly to make the x-axis of the solid-state lidar parallel to the track, preventing the solid-state lidar from misidentifying the side wall of the roadway as an obstacle.
[0095] (5) When the driverless rail locomotive starts normal transportation, according to the uphill and downhill lengths and positions determined in step (3) and the curvature and position of the bend determined in step (4), when the driverless rail locomotive passes through an uphill, downhill or bend, it can automatically adjust the driving speed, thus ensuring the smooth passage of the driverless rail locomotive.
[0096] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for unmanned rail locomotive to navigate slopes and curves in deep confined spaces. It is characterized in that The specific steps are: (1) Install a solid-state laser radar at the front of the unmanned rail vehicle, wherein the solid-state laser radar is provided with an accelerometer and a gyroscope, and the direction of the solid-state laser radar can rotate automatically, then turn on the solid-state laser radar and keep it facing the front of the unmanned rail vehicle, take the underground tunnel entrance as the starting point, and make the unmanned rail vehicle move forward along the track at a uniform speed, and use an industrial control computer to store the bag of solid-state laser radar measurement data and the imu data collected by the gyroscope and accelerometer each time, the unmanned rail vehicle traverses all driving areas in the underground tunnel, and the industrial control computer removes the clutter and noise in the data according to the collected data, and obtains the data packet of the original three-dimensional point cloud and the imu data of the whole traversal; (2) Perform ground segmentation processing on the original 3D point cloud, and use the RANSAC algorithm to segment the ground point cloud data and non-ground point cloud data; (3) The industrial control computer first selects the imu data collected once in step (1) and its corresponding time, calculates the current position and posture of the solid-state laser radar through the imu data, and then determines whether the unmanned rail vehicle is traveling uphill or downhill at the time corresponding to the imu data according to the position and posture of the solid-state laser radar. This step is repeated multiple times, so that the imu data collected each time can be analyzed to obtain whether the unmanned rail vehicle is on the uphill or downhill at each corresponding time, and then each corresponding time is multiplied by the driving speed of the unmanned rail vehicle in step (1), so as to obtain the length and position of the uphill or downhill; (4) Based on the non-ground point cloud data segmented in step (2), determine whether it is a curve according to the shape of the tunnel wall, and calculate the curvature and position of the curve. According to the curvature of the curve, the solid-state laser radar is rotated accordingly so that the x-axis of the solid-state laser radar is parallel to the track, thereby preventing the solid-state laser radar from misidentifying the side of the tunnel as an obstacle; (5) When the unmanned tram vehicle begins normal transportation, according to the length and position of the uphill and downhill slopes determined in step (3) and the curvature and position of the curve determined in step (4), when the unmanned tram vehicle passes through the uphill and downhill slopes or curves, the driving speed can be automatically adjusted to ensure the smooth passage of the unmanned tram vehicle.
2. The method for passing the slope and curve of an unmanned rail vehicle in a deep confined space according to claim 1, It is characterized in that In the step (1), the unmanned rail vehicle runs at a constant speed of 1 m / s.
3. The method for passing the slope and curve of an unmanned rail vehicle in a deep confined space according to claim 1, It is characterized in that The specific process of the ground segmentation processing in step (2) is as follows: A. First, the original 3D point cloud is divided into several sub-point cloud segments along the direction of the unmanned tram, so that the ground in each sub-point cloud segment is set as a plane to reduce the impact of slope changes on the segmentation results. Then, the RANSAC algorithm is used to segment the point cloud data in each sub-point cloud segment to obtain the ground point cloud. The specific process of RANSAC algorithm segmentation of the ground is as follows: B. Select the point cloud data in a sub-point cloud segment as the data set, randomly select several points in the data set as in-line points, and fit a plane model based on the in-line points. The number of points should be determined according to the characteristics of the plane, that is, to fit a plane, at least three points that are not collinear need to be selected; calculate whether the other points in the data set meet the plane model according to the set threshold, and if they meet, record them as in-line points of the plane; after completing the calculation of all points, record the number of in-line points of this plane model; if the number of in-line points obtained is greater than or equal to the original number of in-line points of the plane model, fit the new plane model with the in-line points obtained in this calculation, and replace The original plane model is then calculated again to see if other points in the data set meet the current plane model. If the number of in-place points obtained is less than the original number of in-place points in the plane model, the current plane model is retained, and the same number of points are randomly selected in the data set as in-place points, and then the plane model is fitted according to the current in-place points. The above calculation steps are repeated for multiple iterations until the iterative exit condition is met, and the loop is exited to obtain the optimal plane model in the entire iterative process; then the point cloud data in the current sub-point cloud segment is segmented according to the plane model to obtain the ground point cloud data of the sub-point cloud segment, as well as the non-ground point cloud data; C. Repeat step B to segment the ground for other sub-point cloud segments, thereby obtaining the ground point cloud data of the original three-dimensional point cloud and the non-ground point cloud data.
4. The method for passing the slope and curve of an unmanned rail vehicle in a deep confined space according to claim 3, It is characterized in that The process of determining the iterative exit condition is as follows: W is used to represent the probability of randomly selecting an in-game point, P is the confidence level, which represents the expected probability that the RANSAC algorithm will provide useful results after running; n is the number of data required to calculate the plane model parameters, and k is the number of iterations. Then W n Indicates the probability that the n randomly selected points are all in-game points; 1-W n represents the probability that there is at least one outlier; (1-W n ) k It represents the probability that there is at least one outlier in k iterations. When k is large enough, this probability becomes very small, which means that the plane model is more credible. Then the probability of obtaining at least one set of optimal plane model parameters after k iterations is 1-(1-W n ) k This probability is equal to the confidence parameter P, and P = 1-(1-W n ) k Take the logarithm and infer the value of k to be k = log(1-P) / log(1-W n ) k The k value is the iteration exit condition. When the actual number of iterations is greater than k, the loop exits.
5. The method for passing the slope and curve of an unmanned rail vehicle in a deep confined space according to claim 1, It is characterized in that The specific process of step (3) is as follows: The industrial control computer selects the imu data collected in step (1) and its corresponding time, the imu data including the angular velocity and acceleration of the three axes; Accelerometer calculates attitude angle: The accelerometer measures the acceleration it feels. When it is stationary, it does not accelerate. However, due to the acceleration of gravity, according to the theory of relative motion, the acceleration it feels is exactly opposite to the acceleration of gravity, that is, the data read is vertically upward. Let a be the accelerometer data; The rotation of the posture is a three-time rotation method in the ZYX order, so the above description can be expressed as: Right now Solving the above equations, we can get the roll and pitch angles; Gyroscope calculates attitude angle: The gyroscope measures the angular velocity of rotation around three axes. Therefore, by integrating the angular velocity, we can get the angle. Let g be the gyroscope data; The attitude angles of the IMU at the nth moment are roll, pitch, and yaw. Their meanings are that the IMU coordinate system rotates by yaw angle around the Z axis, pitch angle around the Y axis, and roll angle around the X axis from the initial position to obtain the final attitude. At this time, it is necessary to calculate the attitude at the next moment (n + 1); let the attitude angles at the (n + 1)th moment be roll + Δr, pitch + Δp, and yaw + Δy. This attitude also undergoes 3 rotations. To calculate the attitude at the (n + 1)th moment, just add the corresponding attitude angle change amounts to the attitude at the nth moment. The attitude angle change amounts can be obtained by integrating the angular velocity with the time period. Therefore, combine the accelerometer data and gyroscope data to calculate the attitude of the solid-state lidar for complementary fusion. Among them, K is a proportionality coefficient that needs to be adjusted and determined according to the actual situation. Finally, use the obtained pitch angle of the solid-state lidar to reflect the pose of the current unmanned rail motor vehicle, and then determine whether the current unmanned rail motor vehicle is on an uphill or downhill. Repeat this step multiple times, so as to analyze the imu data collected each time and obtain whether the unmanned rail motor vehicle is on an uphill or downhill at each corresponding moment. Then multiply each corresponding moment by the driving speed of the unmanned rail motor vehicle in step (1) to obtain the uphill and downhill lengths and positions.
6. The method for an unmanned rail motor vehicle to pass through slopes and curves in a deep confined space according to claim 1, characterized in that the specific process of step (4) is as follows: A. When the unmanned motor vehicle encounters a curve, the point cloud scanned by the solid-state lidar is the wall on one side of the roadway. Directly filter the non-ground point cloud data obtained in step (2). Take three beams of lidar point clouds in the y-axis direction. Calculate the maximum value in the x-axis direction in each beam of point clouds. If left_x_max < middle_x_max < right_x_max, it means that the roadway is turning right; otherwise, it is turning left. Then determine the moment when the unmanned motor vehicle encounters a curve, and obtain the position of the curve according to the moment multiplied by the driving speed of the unmanned rail motor vehicle in step (1). B. According to the three maximum values obtained from the three beams of lidar point clouds, the curvature of the roadway turn can be calculated. Specifically: C. Let the three points be (x l ,y l )(x m ,y m )(x r ,y r ), forming a triangle with three sides: By the law of cosines: A circle can be constructed by having the three vertices of the triangle on the circle, so its curvature is: According to the obtained roadway curvature, perform a tf transformation on the original three-dimensional point cloud to obtain the rotation angle of the solid-state lidar, and then perform a corresponding rotation on the solid-state lidar to make the x-axis of the solid-state lidar parallel to the track, preventing the solid-state lidar from misidentifying the side wall of the roadway as an obstacle.
Citation Information
Patent Citations
Road environment element sensing method based on laser radar
CN111985322A
Road scene type identification method and system based on vehicle-mounted laser point cloud
CN113989784A
