Track surface extraction and foreign object recognition method based on bidirectional cloth simulation point cloud
Through the two-way simulation point cloud method of the Mass-Spring cloth model, combined with the elevation threshold and the spatial characteristics of cloth particles, the problem of low efficiency in rail surface information extraction and foreign object identification in high-density point clouds is solved, and fast and accurate rail surface detection is achieved Information extraction and foreign object identification, suitable for complex railway areas.
Patent Information
- Application Number
- CN202311584492.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-25
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-11-25
AI Technical Summary
When the existing technology processes high-density and massive three-dimensional lidar point cloud data, it is difficult to quickly and accurately extract railway track information and identify foreign objects. Especially in complex areas such as multi-strand intersecting turnout areas, the calculation complexity is high and the efficiency is low.
Using a two-way simulation point cloud method based on the Mass-Spring cloth model, through bottom-up and top-down cloth simulation fitting, combined with the elevation threshold and the spatial characteristics of cloth particles, the rail surface and obstacles are segmented and identified, using The roughness of cloth particles distinguishes between normal rail surfaces and foreign matter.
It realizes the rapid and accurate extraction of rail surface information in uniform and uneven density areas, and efficiently identifies foreign objects in high-density point clouds. It is suitable for ballastless and ballasted roadbeds, improving the efficiency and accuracy of railway safety monitoring.
Smart Images

Figure CN117437214B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent visual recognition, and in particular relates to a rail surface extraction and foreign body recognition method based on bidirectional cloth simulation point cloud. Background Art
[0002] With the gradual construction of intelligent and digital high-speed railways, the rapid development of 3D laser radar scanning technology has become a new direction for railway operating environment safety detection. 3D laser radar can obtain high-density and high-precision point cloud data of railway scenes. However, the higher-density massive point cloud also brings challenges to the efficiency of railway track surface information extraction and foreign object identification.
[0003] In addition to manual work, the automated detection methods for track surface information extraction based on LiDAR point clouds can be divided into machine learning methods, multi-source data fusion methods, and knowledge-driven methods. In machine learning methods, deep learning networks segment the main elements of the road environment to obtain elements such as pavement, ditches, and fences. However, this method is heavily dependent on training data and is severely limited in its application in actual engineering projects where massive training data cannot be obtained. In the multi-source data fusion method, the LiDAR point cloud is converted into image data through a multi-source fusion method, and image processing technology is used for classification. This method is limited by the three-dimensional features of the track and the accuracy requirements of the extraction, and is only applicable to the rough extraction process of the rail. Compared with model-driven, data-driven methods are suitable for quickly extracting track surface information from high-density massive railway point clouds because of their lower computational complexity and the lack of prior knowledge. Therefore, data-driven methods can achieve better detection results in simple railway areas, but the efficiency of processing massive point cloud data needs to be improved, and many methods do not involve complex areas in the railway, such as turnout areas where multiple tracks intersect.
[0004] Track surface foreign body recognition methods based on LiDAR point cloud can be divided into point cloud clustering methods and deep learning methods. In the point cloud clustering method, ground segmentation is first performed. The ground segmentation methods are divided into two methods: point cloud ground features and grid map establishment. Then, the discreteness of the segmented non-ground point cloud is marked using different clustering methods such as distance clustering, curvature clustering, and DBSCAN clustering, and then the obstacle recognition is completed. However, since the point cloud clustering method must first perform ground segmentation, both point cloud ground features and grid map establishment methods take up a certain amount of computing time, and the clustering methods based on distance thresholds and curvature thresholds cannot be applied to areas with different point cloud densities. The calculation formula of the self-adaptive clustering method is cumbersome and the calculation amount is large, and the efficiency is relatively low. In the deep learning method, the point cloud is encoded into a describable volume representation, and then target detection is performed in the deep learning network, and the area identified as an obstacle is marked as an intrusive foreign body. However, the deep learning method requires a lot of training time on the one hand, and a large number of samples for training on the other hand. The training data is proportional to the robustness, and the less training data, the lower the recognition accuracy.
[0005] In summary, the existing technology for 3D laser extraction of rail surface information and foreign object identification is based on the spatial structure inside the point cloud, comparing and selecting the spatial coordinates, intensity information and texture information between points, and performing segmentation and classification based on the selected results. The above method has high extraction and recognition efficiency when the number of point clouds is small. However, as the acquisition speed of 3D laser scanners has been greatly improved, the density of point clouds has become higher and higher. The efficiency of quickly and accurately extracting railway track surface information and foreign object identification from high-density massive point cloud data is still insufficient. Summary of the invention
[0006] In order to overcome the shortcomings and deficiencies of the prior art, the object of the present invention is to provide a rail surface extraction and foreign body identification method based on bidirectional cloth simulation point cloud.
[0007] The present invention is implemented as follows: a rail surface extraction and foreign body identification method based on bidirectional cloth simulation point cloud, the method comprising the following steps:
[0008] S1. Set the cloth particle spacing, internal force coefficient and iteration times in the Mass-Spring cloth model to construct simulated cloth; flip the roadbed point cloud, and place simulated cloth according to the top corner points of the flipped roadbed bounding box;
[0009] S2, by simulating the material fitting from bottom to top, the elevation threshold is set to the marked rail height, and the rail surface and part of the rail neck are obtained by segmentation;
[0010] S3, using top-down material distribution simulation to fit the obtained rail surface and rail neck, taking a low value elevation threshold, and obtaining the rail surface information;
[0011] S4. Obstacle recognition is performed by using the spatial feature points of cloth particles instead of the original point cloud, and collision particles are distinguished according to the roughness of cloth particles.
[0012] Preferably, step S2 includes the following specific steps:
[0013] S2-1, project the roadbed point cloud and fabric particles onto the horizontal plane, find the nearest point of the fabric particles in the input point cloud in the grid within the horizontal plane, and record the elevation difference;
[0014] S2-2, simulate the movement direction of cloth particles constrained to be vertical, and simulate the iterative movement of cloth under the influence of gravity;
[0015] S2-3, comparing the height of the simulated cloth particles after iteration with the elevation difference. If the height of the particle is equal to or less than the elevation difference, the elevation of the particle is set to be immovable;
[0016] S2-4, calculate the displacement of cloth particles affected by internal forces and save their spatial positions;
[0017] S2-5, repeat the iterative process of displacement of cloth particles by internal force, and stop the iteration when the height of all cloth particles changed by gravity is less than the maximum elevation difference or the number of iterations is reached;
[0018] S2-6, the height threshold is the standard track height. For each point of the input point cloud, if the distance to the simulated cloth particle is less than the height threshold, it is marked as the first category, otherwise it is marked as the second category; the second category point cloud is flipped and the point cloud index is established.
[0019] Preferably, step S3 includes the following specific steps:
[0020] S3-1, the second type of point cloud is not flipped, the cloth simulation fitting process is repeated, the height threshold is set to a low value, and the first type of point cloud and simulated cloth particles are retained;
[0021] S3-2. Perform regional growth with elevation constraints on the first type of point cloud from top to bottom to obtain the complete track surface and save it as track surface points.
[0022] Preferably, step S4 includes the following specific steps:
[0023] S4-1, dividing the simulated particles into collision particles and non-collision particles according to whether there are adjacent points in the grid in the horizontal plane;
[0024] S4-2, perform material roughness detection on the collision particles, and mark the collision particles whose roughness is greater than the roughness threshold of the track without foreign matter and the set warning elevation as foreign matter particles;
[0025] S4-3. The overlapping area with the roadbed point cloud is calculated using the octree connection method for the foreign particle area, and the overlapping area is marked as the intruding foreign body area.
[0026] The present invention overcomes the deficiencies of the prior art and provides a method for rail surface extraction and foreign body identification based on bidirectional cloth simulation point cloud. The cloth simulation involved in the method of the present invention is a term in three-dimensional computer graphics, also known as cloth modeling, which is used to simulate cloth in a computer program. The simulated cloth is a grid composed of particles with mass and interconnection, called the Mass-Spring model. When the simulated cloth is placed directly above the input point cloud, it falls downward by gravity until it stops at the input point cloud. The cloth particles that stop falling finally fit the surface of the input point cloud, and the final shape of the cloth is determined by gravity combined with the internal force between the cloth particles. The final shape of the cloth has two important applications. The first is to set an elevation threshold for the cloth and classify the input point cloud; the second is to analyze the spatial characteristics of the cloth and find areas with obvious differences.
[0027] The cloth simulation concept is applied to the three-dimensional point cloud of the roadbed in the railway scene to extract the rail surface information. When the simulated cloth is fitted from the top surface to the bottom, the simulated cloth will first fit the higher rail surface when it falls, and then fit the lower sleepers and roadbed. When the simulated cloth is fitted from the ground to the bottom, the cloth particles will only fit the roadbed. After the simulated cloth is fitted from top to bottom, the roadbed point cloud is divided into two categories using the elevation threshold. The first category with a height less than the height threshold includes the rail surface, part of the sleeper and the roadbed, and the second category with a height greater than the height threshold includes the rail neck and part of the sleeper. After the simulated cloth is fitted from bottom to top, the roadbed point cloud is divided into two categories using the elevation threshold. The first category with a height less than the height threshold includes the roadbed, sleepers and part of the rail neck. The second category with a height greater than the height threshold includes the rail surface and part of the rail neck. In order to obtain complete track surface information, the first category after top-down material fitting and segmentation needs to eliminate ground points and non-track surface information points, while the second category after top-down material fitting and segmentation needs to eliminate the rail neck part and the rest of the non-track surface.
[0028] The fabric simulation fitting in a single direction cannot completely extract the track surface information. By comparing the fabric simulation in two directions, it is found that the comprehensive two directions can complete the complete extraction of track surface information. First, the fabric fitting is simulated from bottom to top, and the elevation threshold is set to the marked rail height. The track surface and part of the rail neck are obtained by segmentation. The obtained rail surface and rail neck are simulated and fitted from top to bottom. The elevation threshold is set small enough to obtain the track surface information.
[0029] When there are no obstacles on the track surface, after using the bottom-up cloth simulation to fit, the top-down simulated cloth will fit the track surface. However, when there are obstacles on the track surface, the top-down simulated cloth will fit the obstacles and the track surface. The track surface and obstacles are obtained after classification by elevation threshold. A smaller number of simulated cloth particles can represent the surface features of the point cloud. Using the spatial features of cloth particles instead of the original point cloud for obstacle recognition can have a higher recognition efficiency.
[0030] Railway is a highly standardized system, and rails as part of it also need to comply with a series of standards and specifications. The track surface of a normally operating track is flat and smooth, while objects in nature are affected by weathering, erosion and sedimentation during their formation, and the surface morphology and texture are uneven and irregular. Therefore, the roughness can be used to distinguish between a normal track surface and foreign objects that have invaded the track. The formula for roughness Sa is as follows:
[0031]
[0032] The obstacles have uneven and irregular surface morphology and texture relative to the standardized rail parts. The collision particles are distinguished according to the roughness of the cloth particles. Particles with a roughness much greater than the normal track surface will be marked as track-invading foreign particles, and the area composed of track-invading foreign particles will be marked as the area with track-invading foreign particles.
[0033] Compared with the shortcomings and deficiencies of the prior art, the present invention has the following beneficial effects:
[0034] (1) The present invention is based on the idea of cloth simulation, uses virtual cloth to simulate gravity movement to fit the surface of the input point cloud, and uses simulated cloth particles with uniform density and fewer numbers to represent the surface features of the input point cloud.
[0035] (2) With regard to the extraction of track surface information, the present invention combines the advantages of cloth simulation from top to bottom and from bottom to top, and can quickly obtain track surface information by simulating the height of the cloth and performing threshold segmentation.
[0036] (3) The track surface information extraction method of the present invention has good extraction results in areas with uniform density and is applicable to ground station clouds with different densities. The method can be applied to both ballastless and ballasted roadbed areas and can simultaneously extract track surface information of multiple tracks; in addition, it is also highly applicable in turnout track change areas.
[0037] (4) The method of the present invention divides the simulated cloth particles from top to bottom into abnormal particles and non-abnormal particles according to the roughness of the cloth. The abnormal particles can quickly lock and scan the area where foreign objects exist in a massive high-density point cloud, thereby performing safety monitoring for the safe operation of the railway. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of a unidirectional fabric simulation of the present invention;
[0039] Figure 2 This is a flow chart of track surface extraction of bidirectional cloth simulation point cloud proposed by the present invention;
[0040] Figure 3 This is a flow chart of foreign body recognition of bidirectional fabric simulation point cloud proposed by the present invention;
[0041] Figure 4 The experiment provided by the present invention is a result diagram of extraction on a ballasted single track, wherein Figures a to d are respectively enlarged schematic diagrams of the selected area;
[0042] Figure 5 The experimental results of the present invention are shown in the ballastless double track extraction diagram, wherein Figures a to d are respectively enlarged schematic diagrams of the selected area;
[0043] Figure 6 The experiment provided by the present invention is a diagram of the extraction result of the turnout track change, wherein Figures a to e are respectively enlarged schematic diagrams of the selected area;
[0044] Figure 7 A diagram of the foreign body identification process of the experimental track provided by the present invention;
[0045] Figure 8 This is a diagram of the experimental track foreign object identification results provided by the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0047] The embodiment of the present invention discloses a rail surface extraction and foreign body identification method based on bidirectional cloth simulation point cloud, the method comprising the following steps:
[0048] S1. Set the cloth particle spacing, internal force coefficient and number of iterations in the Mass-Spring cloth model to construct simulated cloth; flip the roadbed point cloud, and place the simulated cloth according to the top corner points of the flipped roadbed bounding box.
[0049] In step S1, the Mass-Spring cloth model (reference: Provot X. Deformation constraints in a mass-spring model to describe rigid cloth behavior [C] / / Graphics interface. Canadian Information Processing Society, 1995: 147-147.) is a model that discretizes the mass of an object into individual particles, and then uses springs to connect the particles to express the physical properties of the object such as elastic force and damping force. In the Mass-Spring cloth model, the simulated cloth is composed of cloth particles (particles), the distance between adjacent particles is called the cloth particle spacing, and the spring connection between adjacent particles is represented by the internal force coefficient model. The cloth particle spacing and the internal force coefficient can be manually set and adjusted to suit different occasions. Among them, the cloth particle spacing refers to the point cloud density of the actual scanned point cloud, and the average spacing between the scanned point clouds is taken as the cloth particle spacing. The internal force coefficient is the elastic coefficient of the spring. The smaller the value, the greater the elasticity and the softer the cloth. Iteration is the simulation process on the terrain. The number of iterations is proportional to the running time. In actual use, it is set to 200 times or more.
[0050] S2. By simulating the cloth fitting from bottom to top, the elevation threshold is set to the standard rail height, and the rail surface and part of the rail neck are obtained by segmentation.
[0051] In step S2, the simulated cloth is used for the first time (bottom-up cloth simulation) to simulate the ground points. The cloth needs to be soft enough and the internal force coefficient of the cloth is set to 1 or less.
[0052] Step S2 specifically includes the following steps:
[0053] S2-1, project the roadbed point cloud and fabric particles onto the horizontal plane, find the nearest point of the fabric particles in the input point cloud in the grid within the horizontal plane, and record the elevation difference;
[0054] S2-2, simulate the movement direction of cloth particles constrained to be vertical, and simulate the iterative movement of cloth under the influence of gravity;
[0055] S2-3, comparing the height of the simulated cloth particles after iteration with the elevation difference. If the height of the particle is equal to or less than the elevation difference, the elevation of the particle is set to be immovable;
[0056] S2-4, calculate the displacement of cloth particles affected by internal forces and save their spatial positions;
[0057] S2-5, repeat the iterative process of displacement of cloth particles by internal force, and stop the iteration when the height of all cloth particles changed by gravity is less than the maximum elevation difference or the number of iterations is reached;
[0058] S2-6, the height threshold is the standard track height. For each point of the input point cloud, if the distance to the simulated cloth particle is less than the height threshold, it is marked as the first category, otherwise it is marked as the second category; the second category point cloud is flipped and the point cloud index is established.
[0059] S3. Use top-down cloth simulation to fit the obtained rail surface and rail neck, take a low value elevation threshold, and obtain the track surface information.
[0060] In step S3, the simulated cloth is used for the second time (top-down cloth simulation) to simulate the track surface. The cloth needs to be sufficiently flat and the internal force coefficient is set to 3 or greater.
[0061] Step S3 includes the following specific steps:
[0062] S3-1, the second type of point cloud is not flipped, the cloth simulation fitting process is repeated, the height threshold is set to 0.01m, and the first type of point cloud and simulated cloth particles are retained;
[0063] S3-2. Perform regional growth with elevation constraints on the first type of point cloud from top to bottom to obtain the complete track surface and save it as track surface points.
[0064] S4. Obstacle recognition is performed by using the spatial feature points of cloth particles instead of the original point cloud, and collision particles are distinguished according to the roughness of cloth particles.
[0065] In the practical application of the present invention, the above steps of the present invention are used to implement cases on ballasted single-track, ballastless double-track track surfaces and switch track change areas. The scanning method, number of point clouds and scanning range of the three-dimensional point cloud used in the case are shown in Table 1.
[0066] Table 1
[0067]
[0068] Simulate cloth for one direction such as Figure 1 As shown in Figure 2, the bottom-up and top-down directions are applied in the railway scene. Figure 2 As shown in the figure, it specifically includes: 1. Minimum bounding box and segmentation processing; 2. Bottom-up cloth simulation; 3. Top-up cloth simulation; 4. Optimization of track surface seed points; 5. Regional growth and grid aggregation with elevation constraints.
[0069] When there is no foreign matter on the rail surface, the process of rail surface extraction is as follows: Figure 3 The recognition results in the ballasted single track area are shown in Figure 4 As shown in Figure 2, the extraction results of ballastless double track are as follows: Figure 5 As shown in the figure, the recognition results in the turnout track change area are as follows Figure 6 The completeness and accuracy of the extraction in the implementation area are shown in Table 2, and the time of each part of the extraction process is shown in Table 3.
[0070] Table 2
[0071]
[0072] Table 3
[0073]
[0074] When there are foreign objects on the track surface, the foreign objects can be divided into those on the track surface and those outside the track surface, such as Figure 3 The process of implementing foreign object recognition in ballasted single track, ballastless double track and switch track change area is as follows Figure 7 As shown in Figure 2, the results of foreign body identification are as follows: Figure 8 The accuracy of foreign object recognition is shown in Table 4, and the time of foreign object recognition is shown in Table 5.
[0075] Table 4
[0076]
[0077] Table 5
[0078]
[0079] 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 and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A rail surface extraction and foreign body identification method based on bidirectional cloth simulation point cloud, characterized in that: The method comprises the following steps: S1. Set the cloth particle spacing, internal force coefficient and iteration times in the Mass-Spring cloth model to construct simulated cloth; flip the roadbed point cloud, and place simulated cloth according to the top corner points of the flipped roadbed bounding box; S2, by simulating the material fitting from bottom to top, the elevation threshold is set to the marked rail height, and the rail surface and part of the rail neck are obtained by segmentation; S3, using top-down material distribution simulation fitting for the obtained rail surface and rail neck, taking a low value elevation threshold, and obtaining the rail surface information; S4. Obstacle identification is performed by replacing the original point cloud with the spatial feature points of the cloth particles, and the collision particles are distinguished according to the roughness of the cloth particles; the cloth particles are cloth particles obtained by repeating the cloth simulation according to the second type of point cloud when identifying obstacles; Step S2 includes the following specific steps: S2-1, project the roadbed point cloud and fabric particles onto the horizontal plane, find the nearest point of the fabric particles in the input point cloud in the grid within the horizontal plane, and record the elevation difference; S2-2, simulate the movement direction of cloth particles constrained to be vertical, and simulate the iterative movement of cloth under the influence of gravity; S2-3, comparing the height of the simulated cloth particles after iteration with the elevation difference. If the height of the particle is equal to or less than the elevation difference, the elevation of the particle is set to be immovable; S2-4, calculate the displacement of cloth particles affected by internal forces and save their spatial positions; S2-5, repeat the iterative process of displacement of cloth particles by internal force, and stop the iteration when the height of all cloth particles changed by gravity is less than the maximum elevation difference or the number of iterations is reached; S2-6, the height threshold is the standard track height. For each point of the input point cloud, if the distance to the simulated cloth particle is less than the height threshold, it is marked as the first category, otherwise it is marked as the second category; the second category point cloud is flipped and a point cloud index is established; The step S3 comprises the following specific steps: S3-1, the second type of point cloud is not flipped, the cloth simulation fitting process is repeated, the height threshold is set to a low value, and the first type of point cloud and simulated cloth particles are retained; S3-2. Perform regional growth with elevation constraints on the first type of point cloud from top to bottom to obtain the complete track surface and save it as track surface points.
2. The method according to claim 1, characterized in that In step S2, the internal force coefficient of the cloth is greater than 0 and less than 1.
3. The method according to claim 1, characterized in that In step S3, the internal force coefficient of the cloth is not less than 3.
4. The method according to claim 1, characterized in that Step S4 includes the following specific steps: S4-1, dividing the simulated particles into collision particles and non-collision particles according to whether there are adjacent points in the grid in the horizontal plane; S4-2, perform material roughness detection on the collision particles, and mark the collision particles whose roughness is greater than the roughness threshold of the track without foreign matter and the set warning elevation as foreign matter particles; S4-3. The overlapping area with the roadbed point cloud is calculated using the octree connection method for the foreign particle area, and the overlapping area is marked as the intruding foreign body area.
Citation Information
Patent Citations
Ground detection method, device and equipment
CN115311357A
Oblique photography point cloud filtering method based on cloth simulation algorithm
CN115965790A
