Method and system for measuring width of railway turnout steel rail rim groove
Through the measurement method based on point cloud data, the accuracy and efficiency problems of manual measurement in the measurement of the rim groove width of the railway switch rail are solved, and more accurate and efficient measurement is achieved, and the detection of slight changes in the rail is supported.
Patent Information
- Application Number
- CN202510615062.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2025-06-13
AI Technical Summary
In the prior art, the measurement of the width of the rim groove of the railway switch rail depends on manual measurement, and there are problems such as accuracy limitations, human errors, low measurement efficiency and high labor intensity.
Using a measurement method based on point cloud data, the point cloud data of the switch rail is obtained through multiple 3D cameras, grayscale image processing and target detection are performed to determine the reference point, cross-section point cloud data is obtained, and the first contour map and the second contour map are calculated, and the edge groove width is then calculated.
It improves the accuracy of measuring the width of the rim groove, avoids manual measurement errors, improves measurement efficiency, reduces labor intensity, and supports the detection of slight wear and bending of rails.
Smart Images

Figure CN120141315A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of deacidification processes in the nuclear industry, and particularly to a method and a measurement system for measuring the width of the rail flange groove of a railway turnout. Background Art
[0002] As an important railway infrastructure, the turnout itself has always had related difficulties in being cumbersome to detect and prone to safety hazards. Some automated measurement means have been applied to the operation and maintenance of the main line of the railway track, and the measurement includes parameters such as the structural dimensions of the railway track. However, for the more complex turnout part, the measurement cannot be realized yet. Therefore, at present, railway maintenance workers still adopt the traditional manual measurement method, using a square, a protractor, and various scales to measure the structural parameters at the intersection of the tracks and manually record the measurement results, and then check them against the design specifications during the turnout manufacturing.
[0003] The traditional manual measurement method has some obvious deficiencies: a. Precision limitation: Manual measurement is often limited by the precision of the tools and the skills of the users, which may lead to large errors in the measurement results.
[0004] b. Human error: The measurement process is easily affected by the subjective judgment of the operator, resulting in errors. For example, reading errors, recording errors, or incorrect use of the measurement tools.
[0005] c. Measurement efficiency: Compared with automated or semi-automated measurement tools, manual measurement usually takes more time, especially in the case of a large number of repeated measurements.
[0006] d. Labor intensity: Manual measurement often requires a large amount of physical labor, especially under harsh environmental conditions, which may lead to a decrease in work efficiency. The above problems need to be solved urgently. Summary of the Invention
[0007] The present invention discloses a method for measuring the width of the rail flange groove of a railway turnout, aiming to solve the technical problems existing in the prior art.
[0008] The present invention adopts the following technical solutions: In a first aspect, the present invention provides a method for measuring the width of the rail flange groove of a railway turnout, which includes the following steps: Obtain the point cloud data of the turnout rail; Obtain the position of the measurement reference point according to the point cloud data; Determine the position of the measurement point according to the reference point; Obtain the cross-sectional point cloud data of the turnout rail at the measurement point; Obtain the first contour map and the second contour map of the cross-section of the turnout rail according to the cross-sectional point cloud data; Calculating the distance between the opposite sides of the first contour map and the second contour map gives the width of the flange groove.
[0009] In a method for measuring the width of the flange groove of a turnout rail in the present invention, the obtaining of the point cloud data of the turnout rail includes: Scanning the rail surface and the rail sides of the rail to be measured with multiple 3D cameras to obtain the top surface scan data, the first side scan data, and the second side scan data of the turnout rail; The top surface scan data, the first side scan data, and the second side scan data of the turnout rail are temporarily stored in a common data queue through the same receiving thread; The data in the common data queue is read in turn through a data storage thread pool, and when new data is found, the new data is stored in the file system to obtain the point cloud data.
[0010] In a method for measuring the width of the flange groove of a turnout rail in the present invention, the step of obtaining the position of the measurement reference point based on the point cloud data includes: Performing grayscale imaging processing on the top surface scan data in the point cloud data to obtain a grayscale image; Processing the grayscale image with a trained object detection model to determine the position of the measurement reference point.
[0011] In a method for measuring the width of the flange groove of a turnout rail in the present invention, the step of obtaining the cross-sectional point cloud data of the turnout rail at the measurement point includes: Obtaining the reference point frame number of the cross-sectional point cloud data of the turnout rail cross-section at the reference point; Calculating the number of frames of the point cloud data corresponding between the reference point and the measurement point; Based on the reference point frame number and the number of frames, obtaining the cross-sectional point cloud data of the turnout rail cross-section at the measurement point.
[0012] In a method for measuring the width of the flange groove of a turnout rail in the present invention, it further includes the step of determining the rail side of the rail to be measured; The step of determining the rail side of the rail to be measured includes: If the rail to be measured is a switch rail and is a curved stock right-hand open, then the rail side of the rail to be measured is the right side; If the rail to be measured is a switch rail and is a curved stock left-hand open, then the rail side of the rail to be measured is the left side; If the rail to be measured is a frog rail and is a curved stock right-hand open or a straight stock left-hand open, then the rail side of the rail to be measured is the left side; If the rail to be measured is a frog rail and is a curved stock left-hand open or a straight stock right-hand open, then the rail side of the rail to be measured is the right side; If the rail to be measured is a guard rail and is a curved track with right - hand opening or a straight track with left - hand opening, then the side of the rail to be measured is the right side; If the rail to be measured is a guard rail and is a curved track with left - hand opening or a straight track with right - hand opening, then the side of the rail to be measured is the left side.
[0013] In a method for measuring the width of the wheel flange groove of a turnout rail in the present invention, the step of obtaining the first contour map and the second contour map of the turnout rail cross - section based on the cross - section point cloud data includes: Select two data points in the cross - section point cloud data that meet the first threshold requirement, and obtain a first rectangle with the two data points as vertices; Collect the points in the cross - section point cloud data that are inside the first rectangle and the points that are outside the first rectangle and whose distances from the side lines of the first rectangle are less than or equal to the first threshold on the X - axis and less than or equal to the second threshold on the Y - axis to obtain the first contour map; Select two data points with a distance less than the first threshold on the X - axis from among the points outside the first rectangle in the cross - section point cloud data and whose distances from the side lines of the rectangle are greater than the first threshold on the X - axis and / or greater than the second threshold on the Y - axis, and obtain a second rectangle with the two data points as vertices; Collect the points in the cross - section point cloud data that are inside the second rectangle and the points that are outside the second rectangle and whose distances from the side lines of the second rectangle are less than or equal to the first threshold on the X - axis and less than or equal to the second threshold on the Y - axis to obtain the second contour map.
[0014] In a method for measuring the width of the wheel flange groove of a turnout rail in the present invention, a noise reduction step is further included; The noise reduction step includes: If the difference between the highest points of the first contour map and the second contour map is greater than 40 mm or the difference between the maximum value and the minimum value of the projection points of the first contour map or the second contour map on the X - axis is less than 10 mm, then it is noise data; Obtain the first contour map and the second contour map again until the requirements are met.
[0015] In a method for measuring the width of the wheel flange groove of a turnout rail in the present invention, the step of calculating the distance between the opposite sides of the first contour map and the second contour map, which is the width of the wheel flange groove, includes: Determine the coordinate values corresponding to the Y - axis projections of the highest points of the first contour map and the second contour map respectively; Taking the respective highest points as the origin, move along the first contour and the second contour towards the opposite side to a position where the height difference from the highest point is 16 mm, and obtain the first coordinate and the second coordinate. The difference between the X-axis projection values of the first coordinate and the second coordinate is the flange groove width.
[0016] In a second aspect, the present invention also provides a flange groove width measurement system, which includes: A data acquisition module for acquiring point cloud data of the turnout rail; A reference point acquisition module for acquiring the position of the measurement reference point based on the point cloud data; A measurement point determination module for determining the position of the measurement point based on the reference point; A cross-section point cloud data acquisition module for acquiring the cross-section point cloud data of the turnout rail cross-section at the measurement point; A contour map acquisition module for acquiring the first contour and the second contour of the turnout rail cross-section based on the cross-section point cloud data; A flange groove width calculation module for calculating the distance between the opposite sides of the first contour and the second contour, and the distance is the flange groove width.
[0017] In the flange groove width measurement system of the present invention, the data acquisition module includes a plurality of 3D cameras, a mileage measurement element, and a storage element; The mileage measurement element is used to acquire the travel distance and send a trigger signal to the 3D camera at the same interval distance; A plurality of the 3D cameras are respectively connected to the mileage measurement element, and are used to scan and acquire the top surface scan data, the first side scan data, and the second side scan data of the turnout rail after receiving the trigger signal; The storage element is connected to the 3D camera and the mileage measurement element, and is at least used to store the top surface scan data, the first side scan data, and the second side scan data.
[0018] The technical solution adopted by the present invention can achieve the following beneficial effects: The present invention mainly provides a method for measuring the flange groove width of a railway turnout rail. Based on acquiring the first contour and the second contour from point cloud data and calculating the flange groove width using the first contour and the second contour, the measured flange groove width is more accurate, and it avoids the human measurement error caused by manual measurement and the error caused by the measurement device, improves the measurement efficiency, and reduces the labor intensity. Brief Description of the Drawings
[0019] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings required for the description of the embodiments. The accompanying drawings form a part of the present invention. The schematic embodiments of the present invention and their descriptions explain the present invention and do not constitute an improper limitation to the present invention. In the accompanying drawings: Figure 1 It is a flowchart of a method for measuring the width of the rail flange groove of a railway turnout. Figure 2 It is a schematic diagram of the first contour map and the second contour map obtained by the method for measuring the width of the rail flange groove of a railway turnout of the present invention. Detailed implementation manners
[0020] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions of the present invention in combination with the specific embodiments of the present invention and the corresponding accompanying drawings. In the description of the present invention, it should be noted that the term "or" is generally used in the sense of including "and / or" unless otherwise clearly specified in the context.
[0021] Unless clearly specified to the contrary, the numerical parameters in this specification and the appended claims may be approximate values and can be changed according to the required characteristics obtained through the content of the present invention. Specifically, all the numbers representing the contents of components, reaction conditions, etc. used in the specification and the claims should be understood to be modified by the term "about" in all cases. Generally, the meaning expressed is that it includes changes of ±10% in some embodiments, ±5% in some embodiments, ±1% in some embodiments, and ±0.5% in some embodiments for a specific quantity.
[0022] Furthermore, the word "comprising" does not exclude the presence of materials or steps not listed in the claims. Ordinal numbers such as "first", "second", "third", and Arabic numerals, letters, etc. used in the specification and the claims to modify the corresponding elements or steps do not themselves imply an order in the manufacturing method, and the use of these ordinal numbers is only used to clearly distinguish the steps.
[0023] In addition, unless specifically described or steps that must occur in sequence, the order of the above steps is not limited to the above-listed order and can be changed or rearranged according to the required design. And the above embodiments can be mixed and used with each other or mixed and used with other embodiments based on considerations of design and reliability, that is, the technical features in different embodiments can be freely combined to form more embodiments.
[0024] Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0025] To solve the problems existing in the prior art, an embodiment of the present application provides a method and a system for measuring the width of the wheel flange groove of a railway turnout rail. Embodiment 1
[0026] This embodiment provides a method for measuring the width of the wheel flange groove of a railway turnout rail, as Figure 1 shown, which includes the following steps: Obtain the point cloud data of the turnout rail. Specifically, the point cloud data is 3D point cloud data; Obtain the position of the measurement reference point based on the point cloud data; Determine the position of the measurement point based on the reference point; Obtain the cross-sectional point cloud data of the turnout rail at the measurement point; Obtain the first contour map and the second contour map of the cross-section of the turnout rail based on the cross-sectional point cloud data, as Figure 2 shown; Calculate the distance between the first contour map and the second contour map relative to the side surface, which is the width of the wheel flange groove, that is, Figure 2 the distance between the relatively side surfaces of the two rail heads close to the inner side on the right side in
[0027] For a method for measuring the width of the wheel flange groove of a railway turnout rail of the present invention, based on obtaining the first contour map and the second contour map with point cloud data and calculating the width of the wheel flange groove with the first contour map and the second contour map, the measured width of the wheel flange groove is more accurate, and the human measurement error caused by manual measurement and the error caused by the measuring device are avoided, the measurement efficiency is improved and the labor intensity is reduced; moreover, the point cloud data can measure the minute wear, bending and other changes of the rail; and the point cloud data can be stored electronically, which is convenient for long-term tracking and analysis of the condition changes of the railway track, provides a basis for future maintenance decisions, and can be used to establish a detailed digital model of the railway track to support more advanced analysis, such as applying machine learning algorithms for predictive maintenance.
[0028] In some preferred embodiments, obtaining the point cloud data of the turnout rail includes: Scan the rail surface and the rail sides of the rail to be measured with multiple 3D cameras to obtain the top surface scan data, the first side surface scan data and the second side surface scan data of the turnout rail. For example, scan the top surface of the rail with one 3D camera, scan one side of the rail with one 3D camera, and scan the other side with another 3D camera. Of course, multiple 3D cameras can also be used to scan one side surface of the rail, which can be specifically determined according to requirements; The top surface scan data, the first side surface scan data, and the second side surface scan data of the turnout rail are temporarily stored in a common data queue through the same receiving thread; The data in the common data queue is read in a round-robin manner by the data storage thread pool. When new data is found, the new data is stored in the file system to obtain point cloud data. Since the process of temporarily storing the scan data in the common data queue is a memory operation, the storage speed is fast enough, and the thread immediately returns after storage, avoiding blocking the receiving unit of the 3D camera, thus causing data loss and further reducing the interference to railway operation.
[0029] Preferably, it further includes a step of coordinate calibration and fusion of multiple scan data. Based on aligning and fusing multiple scan data, point cloud data is obtained, avoiding inaccurate point cloud data caused by misaligned data coordinates.
[0030] In some preferred embodiments, the step of obtaining the position of the measurement reference point based on the point cloud data includes: Performing gray-scale imaging processing on the top surface scan data in the point cloud data to obtain a gray-scale image; Processing the gray-scale image with a trained object detection model to determine the position of the measurement reference point.
[0031] Specifically, a large number of rail images are collected and the reference points are manually marked. The object detection model is trained with the marked rail images to obtain a trained object detection model. Among them, the reference points include the tip of the switch rail, the tip of the crossing rail, and the toe end of the guard rail.
[0032] In some preferred embodiments, the step of obtaining the cross-sectional point cloud data of the turnout rail at the measurement point includes: Obtaining the frame number of the cross-sectional point cloud data of the turnout rail at the reference point. Specifically, the point cloud data includes multiple line scan data, that is, each side of the rail includes multiple line scan data. The multiple line scan data are data obtained by scanning the turnout rail at a fixed interval, and each line scan data is a frame.
[0033] Calculating the number of frames of the point cloud data corresponding to the distance between the reference point and the measurement point. Based on the fact that the line scan data is obtained at a fixed interval, by calculating the distance between the reference point and the measurement point and dividing the distance value by the fixed interval, the number of frames of the line scan data corresponding to the measurement point can be obtained; Obtaining the cross-sectional point cloud data of the turnout rail at the measurement point based on the frame number of the reference point and the number of frames. Based on this, the data acquisition process is made simpler.
[0034] In some preferred embodiments, it further includes a step of determining the side of the rail to be measured; The step of determining the side of the rail to be measured includes: looking from the turnout traveling direction; If the rail to be measured is a switch rail and is the right - hand open of the curved rail, then the side of the rail to be measured is the right side. At this time, the rail head of the stock rail is located first, and then the rail head of the switch rail is located. Taking the rail head of the switch rail as the reference point, the difference between the projection coordinates of the two on the X - axis is the flange groove width; If the rail to be measured is a switch rail and is the left - hand open of the curved rail, then the side of the rail to be measured is the left side. At this time, the rail head of the switch rail is located first, and then the rail head of the stock rail is located. Taking the rail head of the stock rail as the reference point, the difference between the projection coordinates of the points corresponding to the points on the opposite sides of the two rail heads, which are 16 mm away from the highest point of the rail head, on the X - axis is the flange groove width; If the rail to be measured is a heart rail and is the right - hand open of the curved rail or the left - hand open of the straight rail, then the side of the rail to be measured is the left side. At this time, the rail head of the wing rail is located first, and then the rail head of the heart rail is located. Taking the rail head of the heart rail as the reference point, the difference between the projection coordinates of the points corresponding to the points on the opposite sides of the two rail heads, which are 16 mm away from the highest point of the rail head, on the X - axis is the flange groove width; If the rail to be measured is a heart rail and is the left - hand open of the curved rail or the right - hand open of the straight rail, then the side of the rail to be measured is the right side. At this time, the rail head of the heart rail is located first, and then the rail head of the wing rail is located. Taking the rail head of the wing rail as the reference point, the difference between the projection coordinates of the points corresponding to the points on the opposite sides of the two rail heads, which are 16 mm away from the highest point of the rail head, on the X - axis is the flange groove width; If the rail to be measured is a guard rail and is the right - hand open of the curved rail or the left - hand open of the straight rail, then the side of the rail to be measured is the right side. At this time, the rail head of the guard rail is located first, and then the rail head of the stock rail is located. Taking the toe end of the guard rail as the reference point, the difference between the projection coordinates of the points corresponding to the points on the opposite sides of the two rail heads, which are 16 mm away from the highest point of the rail head, on the X - axis is the flange groove width; If the rail to be measured is a guard rail and is the left - hand open of the curved rail or the right - hand open of the straight rail, then the side of the rail to be measured is the left side. At this time, the rail head of the guard rail is located first, and then the rail head of the stock rail is located. Taking the toe end of the guard rail as the reference point, the difference between the projection coordinates of the points corresponding to the points on the opposite sides of the two rail heads, which are 16 mm away from the highest point of the rail head, on the X - axis is the flange groove width.
[0035] Specifically, the left - hand open of the curved rail, the right - hand open of the straight rail, the left - hand open of the curved rail and the right - hand open of the straight rail are determined manually.
[0036] In some preferred embodiments, the steps of obtaining the first contour map and the second contour map of the turnout rail cross - section based on the cross - section point cloud data include: Select two data points in the cross - section point cloud data that meet the first threshold requirement, and obtain a first rectangle with the two data points as vertices; preferably, the first threshold is 3 mm.
[0037] Collect the points in the cross-sectional point cloud data that are within the first rectangle and those outside the first rectangle but with the distance from the side lines of the first rectangle less than or equal to the first threshold on the X-axis and less than or equal to the second threshold on the Y-axis, and connect the points to obtain the first contour map; Select two data points with a distance less than the first threshold on the X-axis from the points outside the first rectangle in the cross-sectional point cloud data and with the distance from the side lines of the rectangle greater than the first threshold on the X-axis and / or greater than the second threshold on the Y-axis to form a second rectangle with the two data points as vertices. Preferably, the second threshold is 3 mm; specifically, the side lines of the first rectangle and the second rectangle extend along the X-axis or the Y-axis.
[0038] Collect the points in the cross-sectional point cloud data that are within the second rectangle and those outside the second rectangle but with the distance from the side lines of the second rectangle less than or equal to the first threshold on the X-axis and less than or equal to the second threshold on the Y-axis, and connect the points to obtain the second contour map; Based on this, a rough contour map of the rail head can be obtained, and the acquisition method is simpler.
[0039] Preferably, arrange the cross-sectional point cloud data according to the X-axis projection value. Take the first point on one side as the first data point, and then compare the distances between the remaining data points and the first data point in turn to see if they meet the requirements of the first threshold. If they meet, form a first rectangle with the first data point, and then judge whether the distances between the remaining data points and the side lines of the first rectangle on the X-axis and Y-axis meet the requirements of the first threshold and the second threshold. If they meet, they belong to the same rail head and are used to form the first contour map. If they do not meet the requirements of the first threshold or the second threshold, take the first non-compliant data point as the new first data point and repeat the above steps to determine the second rectangle, and finally obtain the second contour map.
[0040] Preferably, it also includes a noise reduction step; The noise reduction step includes: If the difference between the highest points of the first contour map and the second contour map is greater than 40 mm or the difference between the maximum value and the minimum value of the projection points of the first contour map or the second contour map on the X-axis is less than 10 mm, it is noise data; judge whether the rail head width and height of the first contour map or the second contour map meet the requirements. If they do not meet, it is determined as a noise rail head; specifically, the rail head width is greater than or equal to 20 mm, and the rail head width is the difference between the maximum point and the minimum point of the projection of the rail head on the X-axis; the height is between 20 - 40 mm, and the height is the highest point of the projection on the Y-axis, then it meets the requirements, otherwise, it does not meet the requirements; preferably, when noise data appears, replace the cross-sectional position and continue to determine the first contour map and the second contour map.
[0041] Obtain the first contour map and the second contour map again until the requirements are met, and then obtain the first contour map and the second contour map.
[0042] In some preferred embodiments, the step of calculating the width of the rim groove by calculating the distance between the opposite sides of the first contour map and the second contour map includes: Determine the coordinate values corresponding to the Y-axis projections of the highest points of the first contour map and the second contour map respectively; Taking the respective highest points as the origin, move along the first contour map and the second contour map towards the opposite side to a position where the height difference from the highest point is 16 mm, obtaining a first coordinate and a second coordinate. The difference between the X-axis projection values of the first coordinate and the second coordinate is the width of the rim groove; preferably, move along the opposite sides of the first contour map and the second contour map to a position 16 mm away from the highest point, thereby reducing the amount of data processing and improving efficiency; specifically, the step of moving along the opposite sides of the first contour map and the second contour map includes determining the inflection point that is the farthest from the highest point in the X-axis direction on the part of the first contour map within 30 mm (along the Y-axis direction) from the highest point, and moving downward from the inflection point to a position 16 mm away from the highest point in the Y-axis direction to obtain the first coordinate, and obtaining the second coordinate on the second contour map in the same way; based on this, the amount of data processing can be reduced and the efficiency can be improved. Example 2
[0043] This embodiment provides a rim groove width measurement system, which includes: A data acquisition module for acquiring point cloud data of turnout rails; A reference point acquisition module for acquiring the position of the measurement reference point according to the point cloud data; A measurement point determination module for determining the position of the measurement point according to the reference point; A cross-section point cloud data acquisition module for acquiring the cross-section point cloud data of the turnout rail cross-section at the measurement point; A contour map acquisition module for acquiring the first contour map and the second contour map of the turnout rail cross-section according to the cross-section point cloud data; A rim groove width calculation module for calculating the distance between the opposite sides of the first contour map and the second contour map, and the distance is the width of the rim groove.
[0044] A rim groove width measurement system of the present invention is based on acquiring the first contour map and the second contour map with point cloud data, and calculating the width of the rim groove with the first contour map and the second contour map, making the measured width of the rim groove more accurate, and avoiding the human measurement error caused by manual measurement and the error caused by the measuring device, improving the measurement efficiency and reducing the labor intensity; moreover, the point cloud data can measure the minute wear, bending and other changes of the rail; and the point cloud data can be stored electronically, which is convenient for long-term tracking and analysis of the condition changes of the railway track, providing a basis for future maintenance decisions, and can be used to establish a detailed digital model of the railway track to support more advanced analysis, such as applying machine learning algorithms for predictive maintenance.
[0045] In some preferred embodiments, the data acquisition module includes a plurality of 3D cameras, an odometry element, and a storage element; the odometry element is configured to obtain the travel distance and send a trigger signal to the 3D cameras at the same interval distance; the plurality of 3D cameras are respectively connected to the odometry element and are configured to scan and obtain the top surface scan data, the first side surface scan data, and the second side surface scan data of the turnout rail after receiving the trigger signal; the storage element is connected to the 3D cameras and the odometry element and is at least configured to store the top surface scan data, the first side surface scan data, and the second side surface scan data; based on triggering the 3D cameras for scanning by the odometry element (such as an odometer wheel), fixed-interval scanning of the 3D cameras can be achieved, so as to facilitate the acquisition of scan data at a specified distance.
[0046] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative rather than restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can also make many forms without departing from the spirit and scope protected by the claims of the present invention, and all of them fall within the protection scope of the present invention.
Claims
1. A method for measuring the width of a railway turnout rail flange groove, characterized in that: The steps include: Obtain point cloud data of turnout rails; Acquiring a measurement reference point position according to the point cloud data; Determining the position of the measuring point according to the reference point; Acquire cross-sectional point cloud data of the cross-section of the turnout rail at the measuring point; Acquire a first contour image and a second contour image of the cross section of the turnout rail according to the cross-sectional point cloud data; The distance between the opposite sides of the first contour image and the second contour image is calculated as the wheel rim groove width.
2. The method for measuring the width of the rail wheel flange groove of a railway turnout according to claim 1, characterized in that: The point cloud data of the turnout rail is obtained by: Scanning the rail surface and rail side of the rail to be measured with multiple 3D cameras to obtain top surface scanning data, first side surface scanning data, and second side surface scanning data of the turnout rail; The top surface scanning data of the turnout rail, the first side scanning data and the second side scanning data are temporarily stored in a common data queue through the same receiving thread; The data in the public data queue is read in turn through the data storage thread pool, and when new data is found, the new data is stored in the file system to obtain the point cloud data.
3. The method for measuring the width of the rail wheel flange groove of a railway turnout according to claim 1, characterized in that: The step of obtaining the position of the measurement reference point according to the point cloud data comprises: Performing grayscale imaging on the top surface scan data in the point cloud data to obtain a grayscale image; The grayscale image is processed using a trained target detection model to determine the position of the measurement reference point.
4. The method for measuring the width of the rail wheel flange groove of a railway turnout according to claim 1, characterized in that: The step of obtaining the cross-sectional point cloud data of the cross-sectional area of the turnout rail at the measuring point comprises: Acquire the reference point frame number of the cross-section point cloud data of the turnout rail cross section at the reference point; Calculating the number of frames of the point cloud data corresponding to the reference point and the measurement point; The cross-sectional point cloud data of the cross-section of the turnout rail at the measuring point is obtained according to the reference point frame number and the frame number.
5. The method for measuring the width of the rail wheel flange groove of a railway turnout according to claim 1, characterized in that: The step of determining the rail side of the rail to be measured is also included; The step of determining the rail side of the rail to be measured comprises: If the steel rail to be measured is a pointed rail, and the curved rail opens to the right, then the rail side of the steel rail to be measured is the right side; If the steel rail to be measured is a pointed rail, and the curved rail opens to the left, then the rail side of the steel rail to be measured is the left side; If the steel rail to be measured is a center rail, and the curved rail opens to the right or the straight rail opens to the left, then the rail side of the steel rail to be measured is the left side; If the steel rail to be measured is a center rail, and the curved rail opens to the left or the straight rail opens to the right, then the rail side of the steel rail to be measured is the right side; If the steel rail to be measured is a guard rail, and is a curved rail opening to the right or a straight rail opening to the left, then the rail side of the steel rail to be measured is the right side; If the steel rail to be measured is a guard rail, and is a curved rail opening to the left or a straight rail opening to the right, then the rail side of the steel rail to be measured is the left side.
6. The method for measuring the width of the rail wheel flange groove of a railway turnout according to claim 1, characterized in that: The step of obtaining the first contour map and the second contour map of the turnout rail cross section according to the cross-sectional point cloud data comprises: Selecting two data points that meet a first threshold requirement in the cross-section point cloud data, and obtaining a first rectangle with the two data points as vertices; Collecting points in the cross-sectional point cloud data that are located inside the first rectangle and outside the first rectangle and whose distance from the first rectangle edge line on the X-axis is less than or equal to a first threshold and whose distance on the Y-axis is less than or equal to a second threshold, to obtain a first contour map; Select two data points whose distance on the X-axis is less than the first threshold value from the points in the cross-sectional point cloud data that are outside the first rectangle and whose distance on the X-axis from the edge line of the rectangle is greater than the first threshold value and / or whose distance on the Y-axis is greater than the second threshold value, and obtain a second rectangle with the two data points as vertices; Points in the cross-sectional point cloud data that are located inside and outside the second rectangle and whose distance from the sideline of the second rectangle on the X-axis is less than or equal to a first threshold and whose distance on the Y-axis is less than or equal to a second threshold are collected to obtain a second contour map.
7. A method for measuring the width of a railway turnout rail flange groove according to claim 6, characterized in that: It also includes a noise reduction step; The noise reduction step comprises: If the difference between the highest points of the first contour graph and the second contour graph is greater than 40 mm or the difference between the maximum and minimum values of the projection points of the first contour graph or the second contour graph on the X-axis is less than 10 mm, then it is noise data; The first contour map and the second contour map are acquired again until the requirements are met, thereby obtaining the first contour map and the second contour map.
8. The method for measuring the width of the rail wheel flange groove of a railway turnout according to claim 1, characterized in that: The step of calculating the distance between the first contour image and the second contour image relative to each other as the wheel rim groove width comprises: Determine the coordinate values corresponding to the Y-axis projections of the highest points of the first contour graph and the second contour graph; Taking the respective highest points as the origins, move along the first contour graph and the second contour graph toward the opposite sides to a position with a height difference of 16 mm from the highest points to obtain the first coordinate and the second coordinate, and the difference between the X-axis projection values of the first coordinate and the second coordinate is the rim groove width.
9. A wheel rim groove width measurement system, characterized in that: include: A data acquisition module is used to acquire point cloud data of turnout rails; A reference point acquisition module, used to acquire the position of the measurement reference point according to the point cloud data; A measuring point determination module, used to determine the position of the measuring point according to the reference point; A cross-sectional point cloud data acquisition module, used to acquire cross-sectional point cloud data of the cross section of the turnout rail at the measuring point; A profile acquisition module, used for acquiring a first profile and a second profile of the cross section of the turnout rail according to the cross section point cloud data; The wheel rim groove width calculation module is used to calculate the distance between the opposite sides of the first contour image and the second contour image, and the distance is the wheel rim groove width.
10. The wheel flange groove width measuring system according to claim 9, characterized in that: The data acquisition module includes a plurality of 3D cameras, an odometer element and a storage element; The mileage measuring element is used to obtain the travel distance and send a trigger signal to the 3D camera at the same interval distance; The plurality of 3D cameras are respectively connected to the mileage measuring element, and are used to scan and obtain the top surface scanning data, the first side surface scanning data, and the second side surface scanning data of the turnout rail after receiving the trigger signal; The storage element is connected to the 3D camera and the mileage measurement element, and is used to store at least the top surface scanning data, the first side surface scanning data, and the second side surface scanning data.
Citation Information
Patent Citations
Contour measurement method and system
CN106127770A
Turnout rail piece rail surface falling block detection method and device
CN116934680A
Track gauge detection method and device
CN117781910A
Method and system for detecting railway turnout track structure based on 3D point cloud
CN118149727A
Method for detecting critical dimension of rail guard rail area
CN119642698A