Petrochemical engineering piping three-dimensional simulation design system based on virtual reality

Through the three-dimensional simulation design system of petrochemical pipes based on virtual reality, the problem of two-dimensional drawings in traditional design is solved, and the lack of simulation and analysis methods is achieved, intuitive operation and real-time analysis are realized in the virtual reality environment, design accuracy and collaborative efficiency are improved, and rework costs are reduced.

CN120068330AInactive Publication Date: 2025-05-30郑巍
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510151258.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-11
Publication Date
2025-05-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional petrochemical piping designs have problems such as two-dimensional design drawings that are difficult to visually present spatial layout, lack of simulation and analysis methods, and low design coordination efficiency, resulting in design errors, delays in construction periods and increased costs.

Method used

The three-dimensional simulation design system of petrochemical pipes based on virtual reality is adopted, including data acquisition module, three-dimensional modeling module, virtual reality interaction module, collision detection module, fluid mechanics analysis module and result output module. Three-dimensional design and real-time analysis are realized through technical means such as lidar scanning, three-dimensional modeling, virtual reality interaction, collision detection and fluid mechanics analysis.

Benefits of technology

Intuitively view and operate models in a virtual reality environment, avoid design errors, improve design accuracy and collaborative efficiency, reduce rework costs, and meet the design needs of complex projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120068330A_ABST
    Figure CN120068330A_ABST
Patent Text Reader

Abstract

The invention discloses a petrochemical engineering piping three-dimensional simulation design system based on virtual reality, and the system comprises a data collection module which is used for scanning three-dimensional space data of a petrochemical engineering site through a laser radar; the three-dimensional modeling module is used for modeling a pipeline into a three-dimensional space curve and modeling equipment into a sphere; the virtual reality interaction module is used for various operations of three-dimensional space curves and spheres; the collision detection module is used for calculating the intersection relation between the pipelines or the equipment; the fluid mechanics analysis module is used for analyzing the fluid state in the pipeline through a finite element method; and the result output module is used for converting the three-dimensional drawing of the petrochemical pipe into the two-dimensional drawing through projection transformation. Therefore, on one hand, the model can be visually checked and operated in the virtual reality environment, design errors are avoided, design precision is improved, and rework cost is reduced, and on the other hand, real-time operation can be realized, design conflicts are reduced, cooperation efficiency is improved, and complex project design requirements are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of information technology, and in particular to a petrochemical piping three-dimensional simulation design system based on virtual reality. Background Art

[0002] In the traditional petrochemical piping design process, there are many technical problems that need to be solved. First, it is difficult for two-dimensional design drawings to intuitively present the spatial layout of the piping system, and it is difficult for designers to fully and accurately grasp the relative position relationship, direction and spatial relationship between the pipelines and the surrounding equipment. This can easily lead to design errors, pipeline collisions, insufficient installation space and other problems during actual construction, which in turn delays the construction period and increases costs. Secondly, due to the lack of effective simulation and analysis methods, it is impossible to accurately analyze the flow state of the fluid in the pipeline during the design stage, and it is difficult to evaluate the key parameters of the pipeline system such as pressure distribution and flow changes, which is not conducive to optimizing the design to ensure the efficient and stable operation of the pipeline system. In addition, in the traditional design process, the collaborative design efficiency between various disciplines is low, information transmission is not smooth, design conflicts are prone to occur, and it is difficult to meet the increasingly complex design needs of petrochemical projects. Summary of the invention

[0003] The present invention aims to solve the technical problems in the above-mentioned technology at least to some extent.

[0004] To this end, the present invention discloses a petrochemical piping three-dimensional simulation design system based on virtual reality, comprising:

[0005] The data acquisition module is used to scan the three-dimensional spatial data of the petrochemical site through a laser radar to obtain point cloud data represented by three-dimensional coordinates;

[0006] 3D modeling module, used to model pipelines as 3D space curves and equipment as spheres;

[0007] Virtual reality interaction module for creating / deleting, moving, rotating and scaling 3D space curves and spheres;

[0008] The collision detection module is used to determine the intersection relationship between the axial bounding box of the pipeline and the bounding box of the equipment by calculating the axial bounding box of the pipeline and the bounding box of the equipment. If the spatial overlap condition is met, a collision alarm is triggered;

[0009] Fluid mechanics analysis module, used to analyze the state of fluid in the pipeline by finite element method, and solve the continuity equation and NS equation of incompressible viscous fluid;

[0010] The result output module is used to convert the petrochemical piping into a two-dimensional drawing through projection transformation.

[0011] The 3D simulation design system for petrochemical piping based on virtual reality disclosed in the present invention can, on the one hand, visually view and operate the model in a virtual reality environment, avoid design errors, improve design accuracy, and reduce rework costs. On the other hand, it can achieve real-time operation, reduce design conflicts, improve collaborative efficiency, and meet the design requirements of complex projects.

[0012] In addition, the 3D simulation design system for petrochemical piping based on virtual reality disclosed in the present invention may also have the following additional technical features:

[0013] In an embodiment of the present invention, in the data acquisition module, the relationship between the distance data measured by the lidar and the spatial coordinates is specifically where (x 0 , y 0 , z 0 ) is the position of the lidar, and (α, β, γ) is the direction vector of the light ray emitted by the lidar.

[0014] In an embodiment of the present invention, in the 3D modeling module, the straight pipeline is modeled as a 3D space curve, specifically The curved pipeline is modeled as a 3D space curve, specifically where (x sn , y sn , z sn ) is the starting point of the 3D space curve of the straight pipeline, (x en , y en , z en ) is the ending point of the 3D space curve of the straight pipeline, and N i,3 (t) is the cubic B-spline basis function of the 3D space curve of the curved pipeline.

[0015] In an embodiment of the present invention, in the 3D modeling module, the cross-section of the 3D space curve of the pipeline is a circle with a radius , specifically where (x 1 , y 1 , z 1 ) is the center, is the normal vector of the plane where the circle is located.

[0016] In an embodiment of the present invention, in the 3D modeling module, the radius of the sphere of the equipment is Specifically where (x cm , y cm , z cm ) is the center coordinate of the sphere.

[0017] In an embodiment of the present invention, in the virtual reality interaction module, when creating / deleting a pipeline or a device is selected in the virtual reality environment, data of a three-dimensional space curve corresponding to the pipeline or a sphere model corresponding to the device is directly generated / removed in the system data structure.

[0018] In an embodiment of the present invention, in the virtual reality interaction module, when moving a pipeline or a device in the virtual reality environment, a movement vector is generated.

[0019] In an embodiment of the present invention, in the virtual reality interaction module, when rotating a pipeline or a device in the virtual reality environment, rotation matrices in the x-direction, y-direction, and z-direction are respectively generated.

[0020] In an embodiment of the present invention, in the virtual reality interaction module, when scaling a pipeline or a device in the virtual reality environment, a scaling factor s is generated.

[0021] In an embodiment of the present invention, in the result output module, by the orthographic projection method, the three-dimensional model is projected onto the x-y plane, y-z plane, and x-z plane to obtain two-dimensional drawings.

[0022] Additional content and advantages of the present invention will be given in the following description, or understood through the practice of the present invention. Description of the Drawings

[0023] The technical solutions and beneficial effects of the present invention will become obvious and easy to understand from the following content in combination with the drawings, where:

[0024] Figure 1 is a system block diagram of the three-dimensional simulation design system for petrochemical piping based on virtual reality of the present invention;

[0025] Figure 2 is a working flowchart of the three-dimensional simulation design system for petrochemical piping based on virtual reality of the present invention. Detailed Embodiments

[0026] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments.

[0027] Next, the three-dimensional simulation design system for petrochemical piping based on virtual reality disclosed by the present invention will be described with reference to the drawings.

[0028] As Figure 1 and Figure 2 shown, a three-dimensional simulation design system for petrochemical piping based on virtual reality includes:

[0029] A data acquisition module, which is used to scan the three-dimensional space data of a petrochemical site through a lidar to obtain point cloud data represented by three-dimensional coordinates.

[0030] It should be noted that in actual application scenarios, the lidar used by the data acquisition module can be carried on mobile devices, such as drones or ground mobile survey vehicles. For example, an operator controls a drone equipped with a lidar to fly over the park according to a preset route. The lidar continuously emits laser beams and receives reflected signals, and accurately measures the distance data from various objects in the site according to the time difference between emission and reception.

[0031] A three-dimensional modeling module, which is used to model pipelines as three-dimensional space curves and model equipment as spheres.

[0032] It should be noted that for pipelines, based on the pipeline's orientation and connection relationship in the point cloud data, determine the starting and ending points of straight pipelines and the control point coordinates of curved pipelines;

[0033] For equipment, according to its position and approximate shape in the point cloud data, determine the center coordinates and radius of the sphere. For example, when modeling a cylindrical reactor in the park as a sphere, by measuring its contour dimensions and position, reasonably determine the center position and radius size of the sphere, thus completing the preliminary modeling work of the equipment.

[0034] A virtual reality interaction module, which is used for the creation / deletion, movement, rotation, and scaling of three-dimensional space curves and spheres.

[0035] It should be noted that designers wear virtual reality devices, such as VR helmets and handles, and enter the virtual petrochemical site scene. In this scene, designers can intuitively create or delete pipeline and equipment models through handle operations, and can also perform operations such as moving, rotating, and scaling on the models.

[0036] A collision detection module, which is used to calculate the bounding boxes of the axial direction of the pipeline and the bounding box of the equipment to judge the intersection relationship between them. If the spatial overlap condition is met, a collision warning is triggered.

[0037] It should be noted that once it is detected that the axial bounding box of the pipeline and the bounding box of the equipment meet the spatial overlap condition, the system immediately issues a collision warning to remind the designer to adjust the design plan to avoid pipeline-equipment collisions during actual construction.

[0038] A fluid mechanics analysis module, which is used to analyze the fluid state in the pipeline by the finite element method and solve the continuity equation and NS equation of incompressible viscous fluids.

[0039] A result output module, which is used to convert the three-dimensional petrochemical piping into a two-dimensional drawing through projection transformation.

[0040] Therefore, according to the 3D simulation design system for petrochemical piping based on virtual reality disclosed by the present invention, on the one hand, it can visually view and operate the model in the virtual reality environment, avoid design errors, improve design accuracy, and reduce rework costs. On the other hand, it can achieve real-time operation, reduce design conflicts, improve collaborative efficiency, and meet the design requirements of complex projects.

[0041] To better explain the present invention, it should be noted that in the data acquisition module, the relationship between the distance data measured by the lidar and the spatial coordinates is specifically as follows: Among them, (x 0 , y 0 , z 0 ) is the position of the lidar, and (α, β, γ) is the direction vector of the light beam emitted by the lidar. As a possibility, α 2 + β 2 + γ 2 = 1.

[0042] Specifically, in actual measurement, the lidar will emit laser beams at a certain frequency and angle range to form multiple measurement rays, and each ray has its corresponding direction vector (α, β, γ). Since the position of the lidar itself in space will change continuously (for example, when mounted on a mobile device), it is necessary to obtain its accurate position (x 0 , y 0 , z 0 ) in real time through the positioning system.

[0043] For example, in a complex petrochemical site, there may be various obstacles, and some laser beams may not be able to directly measure the target object. At this time, the system can reasonably estimate the spatial coordinates of the occluded part through multiple measurements and data fusion techniques, combined with the surrounding effective measurement data, to ensure the integrity and accuracy of the acquired point cloud data.

[0044] To better explain the present invention, it should be noted that in the 3D modeling module, the straight pipeline is modeled as a 3D space curve, specifically as follows: The curved pipeline is modeled as a 3D space curve, specifically as follows: Among them, (x sn , y sn , z sn ) is the starting point of the 3D space curve of the straight pipeline, (x en , y en , z en ) is the end point of the 3D space curve of the straight pipeline, and N i,3 (t) is the cubic B-spline basis function of the 3D space curve of the curved pipeline. As a possibility, t ∈ [0, 1] and

[0045] The cross-section of the three-dimensional space curve of the pipeline is a circle with a radius , specifically, where (x 1 , y 1 , z 1 ) is the center, and

[0046] is the normal vector of the plane where the circle is located. Specifically, where (x cm , y cm , z cm ) are the coordinates of the center of the sphere.

[0047] Specifically, in actual modeling, multiple discrete t values can be taken within the range of [0, 1] as needed, and the corresponding (x, y, z) coordinate points can be calculated. Then, by connecting these points, the three-dimensional space curve of the straight pipeline can be approximately represented. For example, when constructing a straight pipeline model connecting two storage tanks, first determine the starting and ending point coordinates, then take t = 0.1, 0.2,..., 0.9, calculate a series of intermediate point coordinates, and then use a graphics drawing algorithm to connect these points to form a smooth straight pipeline curve.

[0048] For the modeling of a curved pipeline, in practical applications, according to the bending shape and accuracy requirements of the curved pipeline, determine an appropriate number of control points. For example, for a pipeline with a complex bending shape, more control points may be required to accurately describe its shape, while for a relatively simple curved pipeline, fewer control points can meet the requirements.

[0049] When the equipment is modeled as a sphere, in actual operation, determine the center coordinates and radius of the sphere according to the actual size of the equipment and its position in the site. For example, for a reactor, determine the radius by measuring its diameter, and then determine the center coordinates according to its positioning in the site, so as to accurately construct the sphere model.

[0050] To better explain the present invention, it should be noted that in the virtual reality interaction module, when creating / deleting a pipeline or equipment in the virtual reality environment, the data of the three-dimensional space curve corresponding to the pipeline or the sphere model corresponding to the equipment is directly generated / removed in the system data structure.

[0051] When moving a pipeline or equipment in the virtual reality environment, a movement vector is generated As a possibility, for pipeline f n , if it is a straight pipeline, the starting point becomes (xsn +v x ,y sn +v y ,z sn +v z ), the end point becomes (x en +v x ,y en +v y ,z en +v z ), if it is a curved pipeline, the control point P i (x i ,y i ,z i ) becomes P i (x i +v x ,y i +v y ,z i +v z ), for device g m The center - of - sphere coordinates become (x cm +v x ,y cm +v y ,z cm +v z ).

[0052] When rotating a pipeline or a device in a virtual reality environment, rotation matrices in the x - direction, y - direction, and z - direction are respectively generated. As a possibility, the rotation matrix in the x - direction is The rotation matrix in the y - direction is The rotation matrix in the z - direction is

[0053] When scaling a pipeline or a device in a virtual reality environment, a scaling factor s is generated. For pipeline f n , if it is a straight pipeline, the starting and ending coordinates (x, y, z) become (s·x, s·y, s·z), and the radius becomes If it is a curved pipeline, the control - point coordinates (x, y, z) become (s·x, s·y, s·z), and the radius becomes For device g m , the center - of - sphere coordinates become (s·x cm ,s·y cm ,s·z cm ), and the radius becomes

[0054] Specifically, in the virtual reality interaction module, when a designer selects to create a pipeline, in the system data structure, according to the starting point and ending point specified by the user (for a straight pipeline) or control points (for a curved pipeline) information, the corresponding three-dimensional space curve data is generated based on the corresponding modeling formula. For example, the designer clicks through the handle in the virtual scene to determine the starting point and ending point positions of the straight pipeline, and the system immediately calculates a series of coordinate point data describing the pipeline curve according to the straight pipeline modeling formula, stores this data in the system data structure, and at the same time displays the newly created pipeline model in real time in the virtual scene.

[0055] When selecting to delete a pipeline or device, the system will search for and remove the corresponding model data in the data structure, and at the same time the corresponding model in the virtual scene will also immediately disappear.

[0056] In terms of the moving operation, taking the straight pipeline as an example, the generated moving vector is used to update the starting point and ending point coordinates of the pipeline. For a curved pipeline, the moving vector will act on each control point, thereby moving the position of the curved pipeline as a whole.

[0057] During the rotation operation, when the designer operates through the handle to rotate the pipeline or device around the corresponding axis, the system transforms the coordinates of the model according to the rotation matrix in the corresponding direction.

[0058] To better explain the present invention, it should be noted that in the collision detection module, for pipeline f n , first calculate the boundary points of its space curve to obtain the axial bounding box AABB that encloses the pipeline. Assume that the minimum x, y, z coordinates of the pipeline curve are x min,n , y min,n , z min,n , and the maximum x, y, z coordinates are x max,n , y max,n , z max,n , then the AABB can be expressed as [x min,n , x max,n × [y min,n , y max,n × [z min,n , z max,n . For device g m , its bounding box is a spherical bounding box centered at the center of the sphere with a radius of .

[0059] To determine whether two bounding boxes intersect, for two AABBs, let AABB1 be [x 1min , x 1max × [y 1min , y 1max × [z 1min,z 1max , then AABB2 is [x 2min ,x 2max × [y 2min ,y 2max × [z 2min ,z 2max , if it satisfies x 1min ≤ x 2max and x 1max ≥ x 2min , y 1min ≤ y 2max and y 1max ≥ y 2min , z 1min ≤ z 2max and z 1max ≥ z 2min , then the two AABBs intersect.

[0060] For the AABB and the sphere bounding box, let the AABB be [x min ,x max × [y min ,y max × [z min ,z max , the center of the sphere bounding box is (x c ,y c ,z c ), the radius is r, calculate the distance d from the center of the sphere to the nearest point of the AABB, if d ≤ r, then the two intersect.

[0061] To better explain the present invention, it should be noted that in the fluid mechanics analysis module, the finite element method is used to solve the pipeline f n . The fluid region in the pipeline is discretized into a finite number of elements, such as triangular or tetrahedral elements. In each element, it is assumed that the fluid velocity V, pressure P, and temperature T satisfy a certain interpolation function.

[0062] Taking an incompressible viscous fluid as an example, its governing equations include the continuity equation and the Navier_Stokes equation.

[0063] Continuity equation, In the Cartesian coordinate system, it is where, is the fluid velocity vector.

[0064] Navier_Stokes equation, where ρ is the fluid density, μ is the dynamic viscosity, is the external force.

[0065] To better explain the present invention, it should be noted that in the result output module, the three-dimensional model is projected onto the x-y plane, y-z plane, and x-z plane by the orthographic projection method to obtain two-dimensional drawings.

[0066] In summary, according to the three-dimensional simulation design system for petrochemical piping based on virtual reality disclosed in the present invention, on the one hand, it can intuitively view and operate the model in the virtual reality environment, avoid design errors, improve design accuracy, and reduce rework costs. On the other hand, it can achieve real-time operation, reduce design conflicts, improve collaborative efficiency, and meet the design requirements of complex projects.

[0067] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.

Claims

1. A three-dimensional simulation design system for petrochemical piping based on virtual reality, characterized in that: include: The data acquisition module is used to scan the three-dimensional spatial data of the petrochemical site through a laser radar to obtain point cloud data represented by three-dimensional coordinates; 3D modeling module, used to model pipelines as 3D space curves and equipment as spheres; Virtual reality interaction module for creating / deleting, moving, rotating and scaling 3D space curves and spheres; The collision detection module is used to determine the intersection relationship between the axial bounding box of the pipeline and the bounding box of the equipment by calculating the axial bounding box of the pipeline and the bounding box of the equipment. If the spatial overlap condition is met, a collision alarm is triggered; Fluid mechanics analysis module, used to analyze the state of fluid in the pipeline by finite element method, and solve the continuity equation and NS equation of incompressible viscous fluid; The result output module is used to convert the petrochemical piping into a two-dimensional drawing through projection transformation.

2. The petrochemical piping three-dimensional simulation design system based on virtual reality according to claim 1 is characterized in that: In the data acquisition module, the relationship between the distance data measured by the laser radar and the spatial coordinates is specifically, Among them, (x0, y0, z0) is the position of the laser radar, and (α, β, γ) is the direction vector of the light emitted by the laser radar.

3. The petrochemical piping three-dimensional simulation design system based on virtual reality according to claim 2 is characterized in that: In the three-dimensional modeling module, the linear pipeline is modeled as a three-dimensional space curve, specifically, The curved pipeline is modeled as a three-dimensional space curve, specifically, Among them, (x sn ,y sn ,z sn ) is the starting point of the three-dimensional space curve of the straight pipeline, (x en ,y en ,z en ) is the end point of the three-dimensional space curve of the straight pipeline, N i,3 (t) is the cubic B-spline basis function of the three-dimensional space curve of the curved pipeline.

4. The petrochemical piping three-dimensional simulation design system based on virtual reality according to claim 3 is characterized in that: In the three-dimensional modeling module, the cross section of the three-dimensional space curve of the pipeline is the radius The circle is, Among them, (x1, y1, z1) is the center, is the normal vector of the plane where the circle lies.

5. The petrochemical piping three-dimensional simulation design system based on virtual reality according to claim 2 is characterized in that: In the three-dimensional modeling module, the radius of the sphere of the device is Specifically, Among them, (x cm ,y cm ,z cm ) are the coordinates of the sphere center.

6. The petrochemical piping three-dimensional simulation design system based on virtual reality according to claim 1 is characterized in that: In the virtual reality interaction module, when you choose to create / delete a pipeline or a device in the virtual reality environment, the data of the three-dimensional space curve corresponding to the pipeline or the spherical model corresponding to the device is directly generated / removed in the system data structure.

7. The petrochemical piping three-dimensional simulation design system based on virtual reality according to claim 1 is characterized in that: In the virtual reality interaction module, when a pipeline or device is moved in a virtual reality environment, a movement vector is generated.

8. The petrochemical piping three-dimensional simulation design system based on virtual reality according to claim 1 is characterized in that: In the virtual reality interaction module, when a pipeline or equipment is rotated in a virtual reality environment, rotation matrices in the x direction, y direction and z direction are generated respectively.

9. The petrochemical piping three-dimensional simulation design system based on virtual reality according to claim 1, characterized in that: In the virtual reality interaction module, when scaling a pipeline or a device in a virtual reality environment, a scaling factor s is generated.

10. The petrochemical piping three-dimensional simulation design system based on virtual reality according to claim 1, characterized in that: In the result output module, the three-dimensional model is projected onto the xy plane, the yz plane and the xz plane by the orthographic projection method to obtain a two-dimensional drawing.