Coal mine tunnel parameterized drawing modeling and drawing-model linkage method
Through the parametric drawing modeling method of coal mine tunnels, the problem of large workload and difficulty in linkage update of two-dimensional and three-dimensional models caused by relying on manual labor in traditional coal mine tunnel drawing is solved, and the three-dimensional expression of the tunnel model and efficient linkage update are realized.
Patent Information
- Application Number
- CN202510217114.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2025-05-02
AI Technical Summary
The drawing methods of traditional coal mine tunnels rely on manual data collection, resulting in large workloads and no linkage updates have been achieved at the data level.
A parametric drawing modeling method for coal mine tunnels is proposed. By obtaining tunnel entity data, data cleaning and preprocessing, inverse distance weighting method and Kriging interpolation method, the drawing of two-dimensional tunnels and the construction of three-dimensional tunnel models are realized, and the model is optimized by using geometric topology consistency method.
The three-dimensional expression of the tunnel model is realized, manual intervention is reduced, labor costs are reduced, efficiency is improved, and the two-way linkage update of the two-dimensional tunnel and three-dimensional tunnel models is supported.
Smart Images

Figure CN119918148A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of coal mine intelligence, and specifically, to a method for parametric drawing modeling and drawing-model linkage of coal mine tunnels. Background Art
[0002] In the process of coal mine production and construction, production drawings constitute the core technical data of various front-line departments of coal. Among them, the roadway is a crucial drawing element. Traditional roadways use manual data collection for drawing, which leads to a large workload for front-line workers. CAD drawing is still the first element of mine production. The roadway is composed of wire point data, but at present, the two-dimensional roadway and three-dimensional roadway models have not yet been linked and updated at the data level. Summary of the invention
[0003] In order to overcome at least one shortcoming in the prior art, the present application provides a method for parametric drawing modeling and drawing-model linkage of coal mine tunnels.
[0004] In a first aspect, a parametric drawing modeling method for a coal mine tunnel is provided, comprising:
[0005] Acquire tunnel entity data, the tunnel entity data includes tunnel wire point data, and the tunnel entity data has two-dimensional attribute information and three-dimensional attribute information;
[0006] Performing data cleaning on the laneway wire point data to obtain the laneway wire point data after data cleaning; determining the laneway turning point based on the laneway wire point data after data cleaning to obtain the pre-processed laneway wire point data;
[0007] The pre-processed lane wire point data is interpolated by using an inverse distance weighted method to obtain the first interpolated lane wire point data; based on the first interpolated lane wire point data and the two-dimensional attribute information, the lane features are extracted; a two-dimensional lane drawing method matching the extracted lane features is selected from a plurality of two-dimensional lane drawing methods, and the two-dimensional lane is drawn by using the selected two-dimensional lane drawing method based on the pre-processed lane wire point data and the two-dimensional attribute information;
[0008] The Kriging interpolation method is used for the preprocessed laneway wire point data to obtain the laneway wire point data after the second interpolation; the laneway edge data is calculated according to the lane cross section and the relationship between the left and right lane lines, and the left lane surface, right lane surface, top plate surface and bottom plate surface of the lane are calculated according to the laneway wire point data after the second interpolation and the lane edge data; the three-dimensional lane model connection surface is constructed according to the left lane surface, right lane surface, top plate surface, bottom plate surface and three-dimensional attribute information of the lane through the three-dimensional model interpolation method; the left lane surface, right lane surface, top plate surface, bottom plate surface and the three-dimensional lane model connection surface of the lane are merged to obtain a preliminary three-dimensional lane model;
[0009] The geometric topological consistency method is used to delete isolated points in the preliminary three-dimensional laneway model, connect independent arcs with adjacent areas, and delete duplicate areas to obtain the final three-dimensional laneway model.
[0010] In one embodiment, the lane wire point data is cleaned to obtain the cleaned lane wire point data, including:
[0011] Calculate the distance between any two data points in the laneway traverse point data;
[0012] Determine whether the attribute information of any two data points is the same; the attribute information includes working level, working point name, instrument station, foresight point and backsight point;
[0013] If the distance between any two data points is less than the first set value, and the attribute information of any two data points is the same, then the two data points are duplicate data points;
[0014] Delete either of the two data points.
[0015] In one embodiment, the lane turning point is determined based on the lane wire point data after data cleaning to obtain the pre-processed lane wire point data, including:
[0016] If the current data point has an inflection point mark, and neither the foresight point nor the backsight point of the current data point has an inflection point mark, then the current data point is a lane inflection point;
[0017] If the current data point has an inflection point mark and the backsight point has an inflection point mark, then a vector V is formed between the current data point and the foresight point 现 , the backsight point and the backsight point of the backsight point form a vector V 后 , calculate the vector V 现 With vector V 后 and determine the angle between 现 With vector V 后 The coordinates of the intersection point, if the angle is less than the second set value, then the intersection point is the turning point of the lane.
[0018] In one embodiment, a two-dimensional lane drawing method matching the extracted lane features is selected from a plurality of two-dimensional lane drawing methods, including:
[0019] Each 2D lane drawing method has corresponding lane features;
[0020] The similarity between the extracted lane features and the lane features corresponding to each two-dimensional lane drawing method is calculated, and the two-dimensional lane drawing method with the greatest similarity is selected as the two-dimensional lane drawing method matching the extracted lane features.
[0021] In a second aspect, a method for linking an image with a model is provided, comprising:
[0022] Get updated wire point data;
[0023] If the updated wire point data is a change of the original wire point data, the above-mentioned coal mine roadway parametric drawing modeling method is used to draw the two-dimensional roadway and obtain the final three-dimensional roadway model;
[0024] If the updated wire point data adds new wire point data, the March cube algorithm is used to obtain the updated three-dimensional tunnel model.
[0025] In a third aspect, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, it is used to implement the above-mentioned coal mine tunnel parametric drawing modeling method, or the above-mentioned drawing-model linkage method.
[0026] In a fourth aspect, a computer program product is provided, including a computer program / instruction. When the computer program / instruction is executed by a processor, the above-mentioned parametric drawing modeling method of coal mine tunnels and / or the drawing-model linkage method are implemented.
[0027] Compared with the prior art, the present application has the following beneficial effects: the parametric drawing modeling and drawing-model linkage method of the coal mine tunnel of the present application performs data cleaning and preprocessing on the tunnel wire point data, and draws the two-dimensional tunnel based on the two-dimensional attribute information, and constructs the three-dimensional tunnel model based on the three-dimensional attribute information, so that the three-dimensional expression of the tunnel model becomes possible. It solves the problems that tunnel drawings are still drawn manually, and the conversion of two-dimensional drawings into three-dimensional models requires a lot of manual intervention, high labor costs, low efficiency, and lack of support for collaborative cooperation, which is helpful for the rapid generation of coal mine tunnels. At the same time, the drawing-model linkage method of the present application can realize the two-way linkage update of two-dimensional tunnel and three-dimensional tunnel models. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The present application may be better understood by referring to the following description given in conjunction with the accompanying drawings, which together with the following detailed description are included in this specification and form a part of this specification. In the drawings:
[0029] Figure 1 A flow chart showing a parametric drawing modeling method for coal mine tunnels;
[0030] Figure 2 A schematic diagram for determining the turning point of a roadway is shown. DETAILED DESCRIPTION
[0031] The exemplary embodiments of the present application will be described below in conjunction with the accompanying drawings. For the sake of clarity and conciseness, not all features of the actual embodiments are described in the specification. However, it should be understood that many implementation-specific decisions can be made in the process of developing any such actual embodiments in order to achieve the specific goals of the developer, and these decisions may vary from embodiment to embodiment.
[0032] It is also necessary to explain here that, in order to avoid obscuring the present application due to unnecessary details, only the device structure closely related to the scheme according to the present application is shown in the drawings, while other details that are not closely related to the present application are omitted.
[0033] It should be understood that the present application is not limited to the described implementation forms due to the following description with reference to the accompanying drawings. In this article, where feasible, the embodiments can be combined with each other, features between different embodiments can be replaced or borrowed, and one or more features can be omitted in one embodiment.
[0034] The present application provides a method for parametric drawing and modeling of coal mine tunnels. Figure 1 A flow chart showing the parametric drawing modeling method for coal mine tunnels is shown in Figure 1 , the method mainly includes the following steps:
[0035] Step S11, acquiring lane entity data, the lane entity data includes lane guide point data, and the lane entity data has two-dimensional attribute information and three-dimensional attribute information.
[0036] Here, the two-dimensional attribute information includes the shape, length, width, coordinates, direction, cross section, two-dimensional topological relationship of the roadway, and relative relationship with other objects on the plane. The three-dimensional attribute information includes the length of the roadway, the width of the roadway, the height of the roadway, the coordinates of the roadway in three-dimensional space (triplets (x, y, z), representing the position of the center point of the roadway), the main extension direction of the roadway, the volume of the roadway, the three-dimensional topological relationship of the roadway (describing the geological bodies adjacent to or intersecting with the roadway), and the internal structure of the roadway.
[0037] Step S12, cleaning the laneway wire point data to obtain the cleaned laneway wire point data; determining the lane turning point based on the cleaned laneway wire point data to obtain pre-processed laneway wire point data.
[0038] Specifically, data cleaning includes:
[0039] Calculate the distance between any two data points in the laneway traverse point data;
[0040] Determine whether the attribute information of any two data points is the same; the attribute information includes working level, working point name, instrument station, foresight point and backsight point;
[0041] If the distance between any two data points is less than a first set value, and the attribute information of any two data points is the same, the two data points are duplicate data points; here, the first set value is set according to actual conditions.
[0042] Delete either of the two data points.
[0043] Specifically, Figure 2 The schematic diagram for determining the turning point of the roadway is shown in Figure 2 , determine the turning point of the roadway including:
[0044] If the current data point P 现 With an inflection point marker, and the current data point P 现 The forward point P 前 and the backsight point P 后 If neither has an inflection point mark, then the current data point P 现 It is the turning point of the lane;
[0045] If the current data point P 现 With an inflection point mark, and the backsight point P 后 With an inflection point mark, the current data point P 现 and the foresight point P 前 The vector V is formed between 现 , backsight point P 后 With backsight point P 后 The backsight point P 后后 Forming vector V 后 , calculate the vector V 现 With vector V 后 and determine the angle between 现 With vector V 后 The coordinates of the intersection point, if the angle is less than the second set value, here, the second set value is selected according to the actual situation, then the intersection point is the turning point of the lane. Here, the vector V 现 With vector V 后 The angle θ between them:
[0046]
[0047] Step S13, interpolating the preprocessed laneway wire point data using the inverse distance weighted method to obtain the first interpolated laneway wire point data; extracting lane features based on the first interpolated laneway wire point data and the two-dimensional attribute information; selecting a two-dimensional laneway drawing method that matches the extracted laneway features from a plurality of two-dimensional laneway drawing methods, and drawing the two-dimensional lane using the selected two-dimensional laneway drawing method based on the preprocessed laneway wire point data and the two-dimensional attribute information.
[0048] Specifically, the laneway member function is used to process the laneway wire point data and two-dimensional attribute information after the first interpolation, so as to extract the laneway features, which include the cross-sectional shape, length, direction, possible laneway turning points, and intersections between lanes, etc. The laneway member function includes a function for calculating the laneway topological relationship, a laneway intersection point clipping function, and a laneway intersection point connection function, etc.
[0049] There are a variety of two-dimensional lane drawing methods including straight lane drawing method, curved lane drawing method, combined lane drawing method, etc. Each drawing method corresponds to specific lane features.
[0050] The similarity between the extracted lane features and the lane features corresponding to each two-dimensional lane drawing method is calculated, and the two-dimensional lane drawing method with the greatest similarity is selected as the two-dimensional lane drawing method matching the extracted lane features.
[0051] The inverse distance weighting method used in this step assumes that each traverse point data has a local influence that decreases with distance. This method assigns a larger weight to the point closest to the predicted location, while the weight decreases with distance.
[0052] Step S14, using the Kriging interpolation method for the preprocessed laneway wire point data to obtain the laneway wire point data after the second interpolation; calculating the laneway edge data according to the lane cross-section and the relationship between the left and right lane wires, and calculating the left side, right side, top plate and bottom plate of the lane according to the laneway wire point data after the second interpolation and the lane edge data; constructing a three-dimensional lane model connection surface according to the left side, right side, top plate and bottom plate of the lane, as well as the three-dimensional attribute information through the three-dimensional model interpolation method; merging the left side, right side, top plate, bottom plate and the three-dimensional lane model connection surface of the lane to obtain a preliminary three-dimensional lane model.
[0053] Here, the specific implementation methods of calculating the lane edge data and calculating the left side, right side, top plate surface and bottom plate surface of the lane are conventional technical means in this field and will not be repeated here.
[0054] Step S15, using a geometric topological consistency method to delete isolated points in the preliminary three-dimensional lane model, connect independent arcs with adjacent areas, and delete repeated areas to obtain a final three-dimensional lane model.
[0055] Here, the geometric topological consistency method is a conventional technical means in this field. The geometric topological consistency method creates a three-dimensional model class, which contains the properties and methods of the three-dimensional model of the lane, such as geometric elements such as nodes, arcs, and voxels and the topological relationships between them. The created model is checked using the topological consistency check function. The function calculates and checks the parameters in the three-dimensional model class and returns a dictionary containing the check results. The check content includes isolated nodes, unconnected arcs, overlapping voxels, etc. By processing the check results, isolated points are deleted, independent unconnected arc segments are fitted and connected, and overlapping voxel data are deleted. The model and fusion strategy are used as parameters to fuse the model. Finally, the model post-processing function is used to post-process the fused model, such as smoothing and optimization, to further improve the model. This method can ensure that the connection between different lane segments is smooth and in line with the actual situation, thereby improving the accuracy and usability of the overall model. In this process, each connection point will be carefully checked to ensure the continuity of the geometric shape and topological relationship to avoid problems such as breakage or overlap.
[0056] In this embodiment, the data of the laneway wire point is cleaned and preprocessed, and the two-dimensional lane is drawn based on the two-dimensional attribute information, and the three-dimensional lane model is constructed based on the three-dimensional attribute information, so that the three-dimensional expression of the lane model becomes possible. This embodiment solves the problems that the laneway drawings are still drawn manually, and the conversion of the two-dimensional drawings into three-dimensional models requires a lot of manual intervention, high labor costs, low efficiency, and no support for collaborative cooperation, and is conducive to the rapid generation of two-dimensional drawings of coal mine lanes.
[0057] The present application also provides a method for linking an image with a model, which mainly includes the following steps:
[0058] Step S21, obtaining updated wire point data.
[0059] Step S22, if the updated wire point data is a change of the original wire point data, the parametric drawing modeling method of the coal mine tunnel in the above embodiment is used to draw the two-dimensional tunnel and obtain the final three-dimensional tunnel model;
[0060] Here, the complex relationship between the tunnel entity model and its basic generated data and associated entities is determined by geological entity coding to determine the association between the current wire point and multiple entities. The system then initiates an active request to the tunnel entity to obtain the necessary update information and determine the data related to the updated wire point data. Then, the parametric drawing modeling method of the coal mine tunnel in the above embodiment is used to draw the two-dimensional tunnel and obtain the final three-dimensional tunnel model.
[0061] Step S23: If the updated conductor point data adds new conductor point data, the Marching Cubes algorithm is used to obtain an updated three-dimensional lane model.
[0062] This embodiment can realize bidirectional linkage updating of two-dimensional lane models and three-dimensional lane models.
[0063] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned parametric drawing and modeling method for coal mine tunnels, and the above-mentioned drawing-model linkage method.
[0064] An embodiment of the present application provides a computer program product, including a computer program / instruction. When the computer program / instruction is executed by a processor, the above-mentioned coal mine tunnel parametric drawing modeling method and the above-mentioned drawing-model linkage method are implemented.
[0065] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A parametric drawing modeling method for coal mine tunnels, characterized in that: include: Acquire tunnel entity data, wherein the tunnel entity data includes tunnel wire point data, and the tunnel entity data has two-dimensional attribute information and three-dimensional attribute information; Cleaning the lane wire point data to obtain cleaned lane wire point data; Determine the lane turning point based on the lane wire point data after data cleaning to obtain the pre-processed lane wire point data; Interpolating the preprocessed laneway wire point data using an inverse distance weighted method to obtain first interpolated laneway wire point data; Extracting lane features based on the first interpolated lane wire point data and the two-dimensional attribute information; Selecting a two-dimensional laneway drawing method that matches the extracted laneway features from a plurality of two-dimensional laneway drawing methods, and drawing the two-dimensional laneway using the selected two-dimensional laneway drawing method based on the preprocessed laneway wire point data and the two-dimensional attribute information; The pre-processed lane wire point data is subjected to a Kriging interpolation method to obtain the second interpolated lane wire point data; the lane edge data is calculated according to the lane cross section and the relationship between the left and right lane wires, and the left side, right side, top plate and bottom plate of the lane are calculated according to the second interpolated lane wire point data and the lane edge data; the three-dimensional lane model connection surface is constructed according to the left side, right side, top plate and bottom plate of the lane, and the three-dimensional attribute information through a three-dimensional model interpolation method; the left side, right side, top plate and bottom plate of the lane and the three-dimensional lane model connection surface are merged to obtain a preliminary three-dimensional lane model; The geometric topological consistency method is used to delete isolated points in the preliminary three-dimensional laneway model, connect independent arcs with adjacent areas, and delete repeated areas to obtain a final three-dimensional laneway model.
2. The method according to claim 1, characterized in that in, The laneway wire point data is cleaned to obtain the laneway wire point data after data cleaning, including: Calculating the distance between any two data points in the laneway wire point data; Determine whether the attribute information of any two data points is the same; the attribute information includes working level, working point name, instrument station, foresight point and backsight point; If the distance between any two data points is less than a first set value, and the attribute information of any two data points is the same, then the two data points are duplicate data points; Delete either of the two data points.
3. The method according to claim 1, characterized in that in, Determining the lane turning point based on the lane wire point data after data cleaning to obtain the pre-processed lane wire point data includes: If the current data point has an inflection point mark, and neither the foresight point nor the backsight point of the current data point has an inflection point mark, then the current data point is a lane inflection point; If the current data point has an inflection point mark and the backsight point has an inflection point mark, then a vector V is formed between the current data point and the foresight point 现 , the backsight point and the backsight point of the backsight point form a vector V 后 , calculate the vector V 现 With vector V 后 and determine the angle between 现 With vector V 后 The coordinates of the intersection point, if the angle is less than the second set value, then the intersection point is the turning point of the lane.
4. The method according to claim 1, characterized in that in, Select a 2D laneway drawing method that matches the extracted laneway features from a variety of 2D laneway drawing methods, including: Each 2D lane drawing method has corresponding lane features; The similarity between the extracted lane features and the lane features corresponding to each two-dimensional lane drawing method is calculated, and the two-dimensional lane drawing method with the greatest similarity is selected as the two-dimensional lane drawing method matching the extracted lane features.
5. A method for linking an image and a model, characterized in that: include: Get updated wire point data; If the updated wire point data is a change of the original wire point data, the parametric drawing modeling method of the coal mine tunnel described in any one of claims 1 to 4 is used to draw the two-dimensional tunnel and obtain the final three-dimensional tunnel model; If the updated wire point data adds new wire point data, the March cube algorithm is used to obtain the updated three-dimensional tunnel model.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, it implements the parametric drawing modeling method of coal mine tunnels described in any one of claims 1-4, or the drawing-model linkage method described in claim 5.
7. A computer program product, characterized in that It includes computer programs / instructions, which, when executed by a processor, implement the parametric drawing and modeling method of coal mine tunnels as described in any one of claims 1 to 4, or the drawing-model linkage method as described in claim 5.
Citation Information
Patent Citations
Mine laneway generation system and method
CN102467599A
Two-dimensional and three-dimensional linkage data synchronization method and device of urban underground pipeline
CN105608094A
Visualization method for mine holographic image
CN111738915A
Mine map roadway sideline automatic mapping method based on line-plane relation
CN117152376A
Modeling method and device for coal mine tunnel and tunnel modeling system
CN117372645A
Cited By
Linkage drawing system and method for two-dimensional roadway diagram and cross-section diagram
CN121616704A
Coal mine digital twinning dynamic modeling method and system based on multi-source heterogeneous data fusion
CN121837524A