Coal mine tunnel automatic modeling method and device based on data service, equipment and medium
By automatic modeling method based on data -based coal mines, extract and analyze alleyway data, build a three -dimensional model of the roadway network, solve the problem of automation and efficiency of coal mine lane modeling in existing technologies, and achieve efficient and safe coal mines Mining support.
Patent Information
- Application Number
- CN202411532745.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-10-30
AI Technical Summary
The existing technology is difficult to achieve automation and high efficiency of coal mine tunnel modeling and cannot meet the actual needs in the coal mine mining process.
Using the automatic modeling method of coal mine tunnels based on data services, the tunnel network is gradually constructed by extracting tunnel centerline coordinates, defining tunnel codes, generating tunnel network topology diagrams, and using interpolation methods to analyze angle bodies and semi-straight tunnel bodies. 3D model.
It improves the automation and efficiency of tunnel network modeling and can build a complex and complete three-dimensional tunnel network model to meet the actual needs in the coal mining process and improve production efficiency and work safety.
Smart Images

Figure CN119337480A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of coal mine tunnel modeling, and in particular relates to a method, device, equipment and medium for automatic modeling of coal mine tunnels based on data services. Background Art
[0002] The tunnel and the stratum are the main working spaces required for the construction of digital mines. Among them, the tunnel is the main place for daily coal mine production, responsible for transporting workers, coal mines, workers' underground operations, ventilation, drainage, shelters, etc. are all distributed throughout the tunnel. For the entire mine, the tunnel is its core part.
[0003] Regarding the method of coal mine tunnel modeling, considering the continuous advancement of three-dimensional modeling technology, how to apply three-dimensional modeling technology to coal mine tunnel modeling, realize the automated modeling process, and meet the actual needs of coal mining is a problem that needs to be solved urgently. Summary of the invention
[0004] The present invention provides a method for automatic modeling of coal mine tunnels based on data services, which can gradually construct a three-dimensional model of a tunnel network, thereby improving the automation and efficiency of tunnel network modeling.
[0005] Methods include: S101: extracting the centerline coordinates of the lane, defining each lane code, and generating a lane network topology map based on the lane centerline; S102: traversing the lane network topology map based on the lane coding to find the lane body and / or the first intersection body in the lane network topology map; S103: determining a first node of a first intersection body, and using an interpolation method to parse out an angle body and a semi-straight tunnel body based on the first node; S104: generating a first lane model based on the combination of the lane body, the angle body and the semi-straight lane body; S105: traversing the lane network topology map based on the lane coding, finding the second lane body and / or the second intersection body in the lane network topology map, and executing steps S103 to S104 to generate a second lane model in combination; S106: Repeat steps S102 to S105 to construct an overall three-dimensional model of the tunnel.
[0006] It should be further explained that step S101 also includes: extracting the coordinates of the lane centerline, and determining the starting point coordinates, the end point coordinates and the intersection point coordinates of the lane centerline, so that the starting point coordinates, the end point coordinates and the intersection point coordinates are all configured to the lane network topology map; Compare the extracted lane centerline coordinates with the lane node and lane body positions in the lane network topology map to see if they are consistent; If they are consistent, the positions of the laneway nodes and laneway bodies are adjusted according to the direction of the laneway centerline so that each laneway node is connected to at least one laneway body.
[0007] It is further necessary to explain that, according to the actual demand of the lanes in the lane network topology diagram, the cross-sectional width of the lane body is adjusted to meet the lane transmission demand; Configure the traffic of lane nodes and lane bodies, and display the lane network topology.
[0008] It should be further explained that step S104 also includes: Determine the coordinates of the first node P (Px, Py, Pz); Determine the endpoint coordinates of the two tunnel bodies connected to the first node P, which are P1 and P2 respectively; Calculate vector PP1 and vector PP2 based on the coordinates of the first node P (Px, Py, Pz) and the coordinates of the endpoint P1; Calculate the unit vectors VPP1 and VPP2 of the vectors PP1 and PP2; Calculate the length of vector PP1 and the length of vector PP2; Define the cross-sectional width L of the two tunnel bodies; Calculate the coordinates of insertion point O1 and insertion point O2; Using the calculated coordinates of the insertion point O1 and the insertion point O2, and the cross-sectional width L of the two tunnel bodies, a three-dimensional model of the first tunnel intersection is constructed.
[0009] It should be further explained that the calculation method of vector PP1 is: Vector PP1 = (P1.x - Px, P1.y - Py, P1.z - Pz); Based on the coordinates of the node P and the coordinates of the endpoint P2, the vector PP2 is calculated as follows: Vector PP2 = (P2.x - Px, P2.y - Py, P2.z - Pz); The vector length PP1 is calculated as: |PP1|length = sqrt((P1.x - Px)^2 + (P1.y - Py)^2 + (P1.z - Pz)^2) Divide vector PP1 by its length to obtain unit vector VPP1; VPP1 = (PP1.x / |PP1|, PP1.y / |PP1|, PP1.z / |PP1|).
[0010] It should be further explained that the calculation method of the insertion point O1 coordinates is: O1.x = Px + L * VPP1.x; O1.y = Py + L * VPP1.y; O1.z = Pz + L * VPP1.z; The coordinates of the insertion point O2 are calculated as: O2.x = Px + L * VPP2.x; O2.y = Py + L * VPP2.y; O2.z = Pz + L * VPP2.z.
[0011] It should be further explained that, in the method, the tunnel model of multi-directional cross tunnels is constructed as follows: Get the geometric shape, position, direction, and number of intersections m of the lane; Determine the position of the intersection in the intersection body, that is, the coordinates of the node P (Px, Py, Pz); Determine the coordinates of the endpoints of each lane connected to the node P, which are P1, P2, ..., Pm; For each lane endpoint Pn connected to node P, calculate the vector PPn; The calculation method is: Vector PPn = (Pn.x - Px, Pn.y - Py, Pn.z - Pz); Where n=1,2,...,m; Calculate the length of the vector PPn ;
[0012] Divide each vector PPn by its length to obtain the corresponding unit vector VPPn; Use the following formula to calculate the coordinates of the insertion point On; On.x = Px + L * VPPn.x; On.y = Py + L * VPPn.y; On.z = Pz + L * VPPn.z; Based on the calculated coordinates of the insertion point On and the coordinates of the tunnel endpoint Pn, a three-dimensional model of the multi-directional intersection tunnel is constructed.
[0013] The present application also provides a coal mine tunnel automatic modeling device based on data service, the device comprising: A topology map building module is used to extract the centerline coordinates of the lanes, define the code of each lane, and generate a lane network topology map based on the lane centerline; A lane extraction module is used to traverse the lane network topology map based on the lane coding to find the lane body and / or the first intersection body in the lane network topology map; A lane analysis module is used to determine the first node of the first intersection body, and to analyze the angle body and the semi-straight lane body based on the first node by using the interpolation method; A model generation module generates a first lane model based on a combination of a lane body, an angle body and a semi-straight lane body; The three-dimensional model construction module traverses the lane network topology map based on the lane coding, finds the second lane body and / or the second intersection body in the lane network topology map, and executes the lane analysis module and the model generation module to combine and generate the second lane model; repeatedly executes the lane analysis module and the model generation module to construct the overall three-dimensional model of the lane.
[0014] According to another embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for automatic modeling of coal mine tunnels based on data services when executing the program.
[0015] According to another embodiment of the present application, a storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for automatic modeling of coal mine tunnels based on data services are implemented.
[0016] It can be seen from the above technical solutions that the present invention has the following advantages: This application can gradually build a complex and complete three-dimensional model of the tunnel network by repeatedly executing the automatic modeling method of coal mine tunnels based on data services, thereby improving the automation and efficiency of tunnel network modeling. Moreover, the automatic modeling method of coal mine tunnels based on data services can build a complex and complete three-dimensional model of the tunnel network through precise data extraction, traversal identification, precise interpolation analysis and combined modeling.
[0017] This application can also utilize the commonly used drawing data in the mine to quickly complete the three-dimensional modeling effect of the underground tunnel. It is the basis for building a digital mine. Combined with daily production and monitoring data, it can provide a more intuitive visual experience, facilitate mine personnel to view various underground conditions, and improve the production efficiency and work safety of the mine. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0019] Figure 1 A flow chart of the automatic modeling method for coal mine tunnels based on data services; Figure 2 It is a schematic diagram of the three-dimensional laneway network model; Figure 3 It is a schematic diagram of the tunnel network structure plan; Figure 4 It is a schematic diagram of a two-way intersecting lane; Figure 5 This is a schematic diagram of a three-way cross lane; Figure 6 It is a schematic diagram of a four-way cross lane; Figure 7 It is a schematic diagram of an angle body; Figure 8 It is a schematic diagram of the angle body wireframe model; Fig. 9 It is a schematic diagram of the linear model of three-way cross-tunnel; Fig.10 A schematic diagram of a coal mine tunnel automatic modeling device based on data services; Fig.11 Schematic diagram of an electronic device. DETAILED DESCRIPTION
[0020] The automatic modeling method of coal mine tunnels based on data services provided by this application mainly uses the preset drawing data of the coal mine, and can also use the existing commonly used tunnel drawing data with certain safety and rationality as the basic data for modeling. It can be used as the basis for building a digital mine, and can also complete the three-dimensional modeling of underground tunnels based on daily production and monitoring data, which can provide a more intuitive visual experience, facilitate mine personnel to view various underground conditions, and improve the production efficiency and work safety of coal mine tunnels.
[0021] The following will describe in detail the steps of the automatic modeling method for coal mine tunnels based on data services. For the purpose of illustration rather than limitation, specific details such as specific system structures and technologies are proposed to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details.
[0022] The phrases such as "one embodiment" or "some embodiments" described in the present application mean that the specific features, structures or characteristics described in the embodiment are included in one or more embodiments of the present application. Therefore, the phrases such as "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments" etc. that appear in different places in the present application do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] See also Figure 1 The figure is a flow chart of a method for automatic modeling of coal mine tunnels based on data services in a specific embodiment, the method comprising: S101: extract the lane centerline coordinates, define each lane code, and generate a lane network topology map based on the lane centerline.
[0025] like Figure 2 As shown, the coal mine tunnel of this embodiment can be abstracted as a center line calculated by the guide wire points. Considering that the center line has three-dimensional spatial coordinates, the spatial position and shape of the tunnel are determined according to the drawing data and will not change with the change of scale.
[0026] This embodiment can extract the lane centerline data and abstract it into four types of objects, namely, point, line, surface, and body, in an object-oriented manner as the basic elements of lane modeling.
[0027] Specifically, point objects include: traverse points, basic points, interpolation points, feature points, centerline points, discrete points, etc. Line objects include basic lines, feature lines, discrete lines, track lines, etc. Area objects are mainly tunnel sections. Body objects include simple tunnel bodies, complex intersection bodies, tunnel corner bodies, tunnel complex bodies, etc.
[0028] Optionally, this embodiment extracts the coordinates of the lane centerline, and determines the starting point coordinates, end point coordinates and intersection point coordinates of the lane centerline, so that the starting point coordinates, end point coordinates and intersection point coordinates are all configured to the lane network topology map; compare the extracted lane centerline coordinates with the lane node and lane body positions of the lane network topology map to see if they are consistent.
[0029] If they are consistent, the positions of the laneway nodes and laneway bodies are adjusted according to the direction of the laneway centerline so that each laneway node is connected to at least one laneway body.
[0030] This embodiment can adjust the cross-sectional width of the lane body according to the actual needs of the lanes in the lane network topology diagram to meet the lane transmission needs; configure the flow of lane nodes and lane bodies, and display the lane network topology diagram.
[0031] S102: traverse the lane network topology map based on the lane coding to find the lane body and / or the first intersection body in the lane network topology map.
[0032] It should be noted that the historical coal mine tunnel design drawings can be retrieved. The center line of the tunnel is extracted and depicted with lines. The center line includes the three-dimensional coordinates of the starting point, end point and middle point of the line segment.
[0033] Optionally, CAD software or other 3D software may be used to obtain coal mine tunnel drawings.
[0034] In this embodiment, the lane centerline data in the drawing can be automatically identified and extracted. The extracted lane centerline data coordinates are used as input data. Ensure that the data contains the coordinate information of the starting point, end point and middle point of the lane. Construct a network topology map based on the coordinate data of the lane centerline. In the network topology map, the node represents the starting point, end point and intersection of the lane, and the lane can represent the lane segment. The generated network topology map is optimized and adjusted to ensure the connection relationship between the node and the lane segment.
[0035] Optionally, this embodiment can analyze the connection relationship and path length of the lanes in the network topology diagram to find the optimal path or the shortest path, optimize the lane layout, and reduce the time for material transportation and personnel flow.
[0036] S103: Determine the first node of the first intersection body, and use the interpolation method to analyze the angle body and the semi-straight tunnel body based on the first node.
[0037] In some embodiments, among the identified intersections, the first intersection is selected as the processing object and its first node is determined. The first node of the first intersection can be based on the order of lane coding, the order preset by the user, or the order of lane arrangement.
[0038] This embodiment uses the interpolation method to analyze the angle body and the semi-straight roadway body according to the coordinates of the first node and the center line coordinates of the adjacent roadway body. The angle body is the angle part formed by the roadway body at the intersection, and the semi-straight roadway body is the straight roadway part on both sides of the angle body.
[0039] It can be seen that this embodiment can accurately analyze the angle body and the semi-straight tunnel body through the interpolation method, thereby improving the accuracy and detail expression of the tunnel network modeling.
[0040] S104: generating a first lane model based on the combination of the lane body, the angle body and the semi-straight lane body; In some embodiments, the identified lane bodies, angled bodies and semi-straight lane bodies are combined using a three-dimensional modeling method to generate a first lane model. The first lane model describes the geometric shape and spatial structure of the lane network.
[0041] In this embodiment, when constructing the overall three-dimensional model of the lane, the first lane model is gradually developed, and by combining different lane bodies, angle bodies and semi-straight lane bodies, a complex lane network model can be generated, thereby improving the adaptability of modeling. Moreover, the generated lane model can intuitively reflect the geometric form and spatial structure of the lane network.
[0042] S105: traverse the lane network topology map based on the lane coding, find the second lane body and / or the second intersection body in the lane network topology map, and execute steps S103 to S104 to combine and generate a second lane model.
[0043] In this embodiment, the lane coding is continued to be used to traverse the lane network topology map to identify the second lane body and / or the second intersection body. For the identified second lane body and / or the second intersection body, steps S103 to S104 are executed to generate a second lane model.
[0044] By repeatedly executing steps S103 to S104, a three-dimensional model of the entire lane network can be gradually constructed, thereby improving the efficiency and accuracy of lane network modeling and ensuring the integrity and consistency of the model.
[0045] S106: Repeat steps S102 to S105 to construct an overall three-dimensional model of the tunnel.
[0046] This embodiment repeatedly executes steps S102 to S105 until the entire lane network topology map is traversed, thereby constructing a three-dimensional model of the entire lane network.
[0047] This embodiment can gradually construct a three-dimensional model of the tunnel network by repeating the steps. The automation and efficiency of tunnel network modeling are improved. Moreover, the automatic modeling method of coal mine tunnels based on data services can construct a complex and complete three-dimensional model of the tunnel network through the steps of accurate data extraction, traversal identification, accurate interpolation analysis and combined modeling, which provides important technical support for coal mining, safety monitoring and disaster warning.
[0048] Furthermore, as a refinement and expansion of the specific implementation methods of the above-mentioned embodiments, in order to fully illustrate the specific implementation process in this embodiment, in the automatic modeling method of coal mine tunnels based on data services, due to the complexity of coal mine tunnels, in the process of forming the entire tunnel network, the number of tunnels related to each tunnel node is uncertain and the direction of connection is also uncertain, which increases the automatic modeling of tunnels and the curvature processing of intersection inflection points.
[0049] In order to realize the automatic construction of the three-dimensional tunnel model, this embodiment classifies various scenes, classifies them according to their common characteristics, sorts out the model construction algorithms related to them, and processes them uniformly through a computer.
[0050] like Figure 3 As shown, this embodiment can decompose the lane network into a simple lane body L without branches and a complex intersection body P formed by the intersections of the lanes.
[0051] If the lane body is a single feature, such as no branches, it can be drawn using direct modeling. The complex intersection body has different splicing methods for different lane bodies according to the branches of the intersection, but the structure of the basic splicing elements is the same. The modeling of complex intersections helps solve the visibility problem of lanes and can also reflect the real connectivity between lanes.
[0052] like Figure 4 As shown, the tunnel model of this embodiment is composed of two tunnel intersections. The node P can set the intersection attribute to 2. It is necessary to use the interpolation method to interpolate at O1 and O2. O1 and O2 are respectively located in the directions of vectors PP1 and PP2. According to experimental tests, when the length of PO1 and PO2 is the cross-sectional width L, the intersection model can achieve a good smoothing effect.
[0053] In some specific embodiments, a method for modeling a coal mine tunnel at the intersection of two tunnels will be described in detail below.
[0054] First, collect the lane data, which can include the geometry, location, direction, etc. of the lane body. Determine the location of the lane intersection, i.e. the coordinates of the node P (Px, Py, Pz). Then determine the endpoint coordinates of the two lane simple bodies connected to the node P, which are P1 and P2.
[0055] Calculate the vector PP1 based on the coordinates of the node P (Px, Py, Pz) and the coordinates of the endpoint P1.
[0056] PP1 =(P1.x - Px, P1.y - Py, P1.z - Pz).
[0057] In this embodiment, the vector PP2 is calculated according to the coordinates of the node P and the coordinates of the endpoint P2.
[0058] PP2 = (P2.x - Px, P2.y - Py, P2.z - Pz).
[0059] In this embodiment, the vector length PP1 is calculated as follows: |PP1| length = sqrt((P1.x - Px)^2 + (P1.y - Py)^2 + (P1.z - Pz)^2).
[0060] Divide vector PP1 by its length to obtain unit vector VPP1; VPP1 = (PP1.x / |PP1|, PP1.y / |PP1|, PP1.z / |PP1|).
[0061] The calculation method for the unit vector VPP2 of the vector PP2 is the same as the calculation method for the unit vector VPP1 of the vector PP1.
[0062] Furthermore, this embodiment also defines a cross-sectional width L. The coordinates of the insertion points O1 and O2 are calculated.
[0063] The coordinates of the insertion point O1 are calculated as follows: O1.x = Px + L * VPP1.x; O1.y = Py + L * VPP1.y; O1.z = Pz + L * VPP1.z; The coordinates of the insertion point O2 are calculated as: O2.x = Px + L * VPP2.x; O2.y = Py + L * VPP2.y; O2.z = Pz + L * VPP2.z.
[0064] Among them, On.x is the x coordinate of the insertion point On (n can represent 1 or 2) in three-dimensional space. On.y is the y coordinate of the insertion point On in three-dimensional space. On.z is the z coordinate of the insertion point On in three-dimensional space. Px is the x coordinate of the node P (intersection point) in three-dimensional space. Py is the y coordinate of the node P in three-dimensional space. Pz is the z coordinate of the node P in three-dimensional space. VPPn.x is the x-component of the unit vector of the vector PPn (i.e. the vector from the node P to the point Pn). A unit vector is a vector with a length of 1, which indicates the direction of the vector. VPPn.y is the y-component of the unit vector of the vector PPn. VPPn.z is the z-component of the unit vector of the vector PPn.
[0065] This embodiment uses the calculated coordinates of the insertion points O1 and O2 and the data of the lane body to construct a three-dimensional model of the lane intersection. It can also have a smooth transition effect at O1 and O2 to meet the design requirements.
[0066] In an exemplary embodiment, the method also relates to a method for constructing a lane model of a multi-directional cross lane. Figure 5 and Figure 6 As shown in the figure, the lane consists of multiple lanes and the middle lane intersection. The node P sets the intersection attribute to m, and needs to generate m insertion points O1, O2, O3…m. The lane point set is {P1, O1, O2, P2, P3, O3…Om, Pm}. The insertion points are located in the direction of vectors PP1, PP2, PP3, PPm, respectively. Taking the cross-section width L as the vector length, the position of the insertion point can be determined.
[0067] In this embodiment, the interpolation method for three-way and four-way multi-directional cross-tunnels in the automatic modeling method of coal mine tunnels based on data services can be implemented in the following manner.
[0068] First, collect the basic data of the lanes. Determine the location of the lane intersection, that is, the coordinates of the node P (Px, Py, Pz). Then determine the coordinates of the endpoints of each lane connected to the node P, which are P1, P2, ..., Pm.
[0069] Calculate each lane endpoint Pn (n=1,2,...,m) connected to the node P, that is, calculate the vector PPn.
[0070] The calculation method is: vector PPn = (Pn.x - Px, Pn.y - Py, Pn.z - Pz); Where n=1,2,...,m; Calculate the length of the vector PPn ;
[0071] In this embodiment, each vector PPn is divided by its modulus to obtain a corresponding unit vector VPPn. .
[0072] Use the following formula to calculate the coordinates of the insertion point On; On.x = Px + L * VPPn.x; On.y = Py + L * VPPn.y; On.z = Pz + L * VPPn.z.
[0073] Use the calculated coordinates of the insertion point On (n=1,2,...,m) and the coordinates of the tunnel endpoint Pn to construct a three-dimensional model of the tunnel intersection. Optionally, ensure that the model has a smooth transition effect at each insertion point On to meet the design requirements. Through the above steps, the interpolation technology solution for three- and four-way multi-directional intersection tunnels in the data service-based coal mine tunnel automatic modeling method can be implemented to construct a tunnel intersection model that meets the design requirements.
[0074] In some specific embodiments, a three-way intersection tunnel is taken as an example to illustrate the modeling method. Other types of tunnels are similar and will not be described in the study.
[0075] like Figure 5 and Figure 7 As shown in the figure, the tunnel model consists of two angle bodies O1N2O3P and O1N1O2P and a straight body M1M2O2O3 tunnel. The tunnel structures of the angle bodies are the same, but the parameters such as radius, starting angle, and angle are different. By setting different parameters, you can get angle bodies of different directions and sizes. Take the O1N2O3P angle as an example for analysis. Section ABCDP is the starting surface of the angle body, section A1B1C1D1P1 is the middle surface, N is the center of the circle, α is the center angle of the dome, and β is the angle between adjacent sections. You only need to find the feature points of the starting surface. You can get the coordinates of all feature points by rotating them. Connect the feature points of adjacent sections to get the model object. Figure 8 shown.
[0076] The three-way intersection tunnel of this embodiment consists of two angled tunnels and a semi-straight tunnel body. The semi-straight tunnel body is half of a simple tunnel body. The semi-straight tunnel body model can be obtained by reducing the rotation angle of the arch and the section by half. The semi-straight tunnel body and the angled body are calculated based on the node and the adjacent insertion point. Each tunnel body section is loaded based on the insertion point. Therefore, the two angled tunnel bodies and the semi-straight tunnel body can be automatically spliced to form a model. Fig. 9 shown.
[0077] The automatic modeling method of coal mine tunnels based on data services in this application can use the commonly used drawing data in the mine to quickly complete the three-dimensional modeling effect of the underground tunnels. It is the basis for building a digital mine. Combined with daily production and monitoring data, it can provide a more intuitive visual experience, facilitate mine personnel to view various underground conditions, and improve the production efficiency and work safety of the mine. It can easily view the distribution of various resources underground, provide more convenient and intuitive data resources for decision-making on major issues, geological mining, tunnel design, etc.
[0078] The following is an embodiment of a device for automatic modeling of coal mine tunnels based on data services provided in an embodiment of the present disclosure. The device and the automatic modeling method for coal mine tunnels based on data services in the above-mentioned embodiments belong to the same inventive concept. For details not fully described in the embodiment of the device for automatic modeling of coal mine tunnels based on data services, reference can be made to the embodiment of the automatic modeling method for coal mine tunnels based on data services.
[0079] like Fig.10 As shown, the device comprises: The topology map building module is used to extract the centerline coordinates of the lane, define each lane code, and generate a lane network topology map based on the lane centerline.
[0080] The lane extraction module is used to traverse the lane network topology map based on the lane coding to find the lane body and / or the first intersection body in the lane network topology map.
[0081] The lane analysis module is used to determine the first node of the first intersection body, and use the interpolation method to analyze the angle body and the semi-straight lane body based on the first node.
[0082] The model generation module generates a first lane model based on a combination of a lane body, an angle body and a semi-straight lane body.
[0083] The three-dimensional model construction module traverses the lane network topology map based on the lane coding, finds the second lane body and / or the second intersection body in the lane network topology map, and executes the lane analysis module and the model generation module to combine and generate the second lane model; repeatedly executes the lane analysis module and the model generation module to construct the overall three-dimensional model of the lane.
[0084] The present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for automatic modeling of coal mine tunnels based on data services when executing the program.
[0085] In the present application embodiment, Fig.11As shown, the processor 101 can be implemented by using at least one of an application-specific integrated circuit (ASIC), a programmable logic device (PLD), a processor, a controller, a microcontroller, a microprocessor, and an electronic unit designed to perform the functions described herein. In some cases, such an implementation can be implemented in a controller. For software implementation, implementations such as processes or functions can be implemented with separate software modules that allow execution of at least one function or operation. The software code can be implemented by a software application (or program) written in any appropriate programming language, and the software code can be stored in a memory and executed by a controller.
[0086] The memory 102 may be used to store software programs and various data. The memory 102 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0087] This embodiment may further include a display unit 103 for displaying information input by a user or information provided to a user. The display unit 103 may include a display panel, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0088] In addition, the electronic device includes some functional modules not shown, which will not be described in detail here.
[0089] The present application also provides a storage medium storing a program product capable of implementing the above method of the present specification. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above “Exemplary Method” section of the present specification.
[0090] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for automatic modeling of coal mine tunnels based on data services, characterized in that: Methods include: S101: extracting the centerline coordinates of the lane, defining each lane code, and generating a lane network topology map based on the lane centerline; S102: traversing the lane network topology map based on the lane coding to find the lane body and / or the first intersection body in the lane network topology map; S103: determining a first node of a first intersection body, and using an interpolation method to parse out an angle body and a semi-straight tunnel body based on the first node; S104: generating a first lane model based on the combination of the lane body, the angle body and the semi-straight lane body; S105: traversing the lane network topology map based on the lane coding, finding the second lane body and / or the second intersection body in the lane network topology map, and executing steps S103 to S104 to generate a second lane model in combination; S106: Repeat steps S102 to S105 to construct an overall three-dimensional model of the tunnel.
2. The method for automatic modeling of coal mine tunnels based on data services according to claim 1 is characterized in that: Step S101 also includes: extracting the coordinates of the lane centerline, and determining the starting point coordinates, the end point coordinates and the intersection point coordinates of the lane centerline, so that the starting point coordinates, the end point coordinates and the intersection point coordinates are all configured to the lane network topology map; Compare the extracted lane centerline coordinates with the lane node and lane body positions in the lane network topology map to see if they are consistent; If they are consistent, the positions of the laneway nodes and laneway bodies are adjusted according to the direction of the laneway centerline so that each laneway node is connected to at least one laneway body.
3. The method for automatic modeling of coal mine tunnels based on data services according to claim 1 or 2, characterized in that: According to the actual needs of the lanes in the lane network topology diagram, adjust the cross-sectional width of the lane body to meet the lane transmission needs; Configure the traffic of lane nodes and lane bodies, and display the lane network topology.
4. The method for automatic modeling of coal mine tunnels based on data services according to claim 1 or 2, characterized in that: Step S104 also includes: Determine the coordinates of the first node P (Px, Py, Pz); Determine the endpoint coordinates of the two tunnel bodies connected to the first node P, which are P1 and P2 respectively; Calculate vector PP1 and vector PP2 based on the coordinates of the first node P (Px, Py, Pz) and the coordinates of the endpoint P1; Calculate the unit vectors VPP1 and VPP2 of the vectors PP1 and PP2; Calculate the length of vector PP1 and the length of vector PP2; Define the cross-sectional width L of the two tunnel bodies; Calculate the coordinates of insertion point O1 and insertion point O2; Using the calculated coordinates of the insertion point O1 and the insertion point O2, and the cross-sectional width L of the two tunnel bodies, a three-dimensional model of the first tunnel intersection is constructed.
5. The method for automatic modeling of coal mine tunnels based on data services according to claim 4 is characterized in that: The vector PP1 is calculated as: Vector PP1 = (P1.x - Px, P1.y - Py, P1.z - Pz); Based on the coordinates of the node P and the coordinates of the endpoint P2, the vector PP2 is calculated as follows: Vector PP2 = (P2.x - Px, P2.y - Py, P2.z - Pz); The vector length PP1 is calculated as: |PP1|length = sqrt((P1.x - Px)^2 + (P1.y - Py)^2 + (P1.z - Pz)^2) Divide vector PP1 by its length to obtain unit vector VPP1; VPP1 = (PP1.x / |PP1|, PP1.y / |PP1|, PP1.z / |PP1|).
6. The method for automatic modeling of coal mine tunnels based on data services according to claim 4 is characterized in that: The coordinates of the insertion point O1 are calculated as follows: O1.x = Px + L * VPP1.x; O1.y = Py + L * VPP1.y; O1.z = Pz + L * VPP1.z; The coordinates of the insertion point O2 are calculated as: O2.x = Px + L * VPP2.x; O2.y = Py + L * VPP2.y; O2.z = Pz + L * VPP2.z.
7. The method for automatic modeling of coal mine tunnels based on data services according to claim 1 or 2, characterized in that: In the method, the tunnel model of multi-directional cross tunnels is constructed as follows: Get the geometric shape, position, direction, and number of intersections m of the lane; Determine the position of the intersection in the intersection body, that is, the coordinates of the node P (Px, Py, Pz); Determine the coordinates of the endpoints of each lane connected to the node P, which are P1, P2, ..., Pm; For each lane endpoint Pn connected to node P, calculate the vector PPn; The calculation method is: Vector PPn = (Pn.x - Px, Pn.y - Py, Pn.z - Pz); Where n=1,2,...,m; Calculate the length of the vector PPn ; Divide each vector PPn by its length to obtain the corresponding unit vector VPPn; Use the following formula to calculate the coordinates of the insertion point On; On.x = Px + L * VPPn.x; On.y = Py + L * VPPn.y; On.z = Pz + L * VPPn.z; Based on the calculated coordinates of the insertion point On and the coordinates of the tunnel endpoint Pn, a three-dimensional model of the multi-directional intersection tunnel is constructed.
8. A coal mine tunnel automatic modeling device based on data service, characterized in that: The device is used to implement the automatic modeling method of coal mine tunnels based on data services as described in any one of claims 1 to 7; The device includes: A topology map building module is used to extract the centerline coordinates of the lanes, define the code of each lane, and generate a lane network topology map based on the lane centerline; A lane extraction module is used to traverse the lane network topology map based on the lane coding to find the lane body and / or the first intersection body in the lane network topology map; A lane analysis module is used to determine the first node of the first intersection body, and to analyze the angle body and the semi-straight lane body based on the first node by using the interpolation method; A model generation module generates a first lane model based on a combination of a lane body, an angle body and a semi-straight lane body; The three-dimensional model construction module traverses the lane network topology map based on the lane coding, finds the second lane body and / or the second intersection body in the lane network topology map, and executes the lane analysis module and the model generation module to combine and generate the second lane model; repeatedly executes the lane analysis module and the model generation module to construct the overall three-dimensional model of the lane.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for automatic modeling of coal mine tunnels based on data services as described in any one of claims 1 to 7 are implemented.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for automatic modeling of coal mine tunnels based on data services as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and system for generating three-dimensional road model
CN102436678A
Three-dimensional geological tunnel modeling method based on spatial data structure system
CN103226844A
Road plane intersection automatic modeling method
CN108875179A
Three-dimensional modeling and visual management method and device for underground pipe network of coal preparation plant
CN114898052A
Method and system for automatically constructing three-dimensional road in digital twinning
CN115222908A