A local collision detection method and device based on a digital twin platform
Patent Information
- Application Number
- CN202411238163.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2044-09-05
AI Technical Summary
基于几何建模的碰撞检测方法可能因模型复杂度过高而导致计算效率低下
[0019]本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。
Smart Images

Figure CN119358200B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of collision detection technology, and in particular to a local collision detection method and apparatus based on a digital twin platform. Background Technology
[0002] With the deepening development of digital transformation and intelligent upgrading in various industries, digital twin technology is being applied more and more widely in manufacturing, energy, transportation, urban planning, and other fields. Digital twin technology integrates multi-source data to establish a digital model corresponding to a physical entity in virtual space, thereby enabling real-time monitoring, analysis, and optimization of the physical entity. In industrial manufacturing, such as the construction and upgrading of power plants, numerous pieces of equipment, pipelines, and structures are involved, and their distribution is complex. Therefore, it is necessary to conduct collision detection between pipelines and between pipelines and buildings during the design phase to adjust the layout of pipelines and structures, thereby theoretically eliminating various collisions between design schemes.
[0003] Current traditional collision detection methods mainly include those based on external sensors, visual recognition, and geometric modeling. However, collision detection methods based on external sensors are limited by the sensor's sensing range and accuracy, and have high hardware costs. Vision-based collision detection methods require high-precision cameras and image recognition models, and are highly dependent on lighting conditions and image quality. Collision detection methods based on geometric modeling may suffer from low computational efficiency due to excessive model complexity. Although existing collision detection methods provide solutions to some extent, their limitations still cannot meet the demands of rapidly changing industrial environments for real-time, high-precision collision detection. Summary of the Invention
[0004] The purpose of this invention is to at least solve one of the technical problems existing in the prior art, and to provide a local collision detection method and apparatus based on a digital twin platform, so as to optimize the collision detection process, reduce detection costs and skill requirements for operators, and improve the efficiency and accuracy of collision detection.
[0005] In a first aspect, embodiments of the present invention provide a local collision detection method based on a digital twin platform, the method comprising: The model data of the target object is acquired, and a digital twin model simulation interface is displayed based on the model data of the target object. The digital twin model simulation interface includes a three-dimensional simulation model and a collision detection control. The three-dimensional simulation model includes multiple simulation design elements. In response to the user's trigger operation on the collision detection control, a collision detection interface is displayed, which includes a check element input area, a collision element input area, and a start collision detection control. Obtain the inspection element parameters input by the user in the inspection element input area, wherein the inspection element parameters correspond to the inspection element that the user selects from the plurality of simulation design elements in the three-dimensional simulation model that needs to perform the local collision detection; Obtain the collision element parameters input by the user in the collision element input area, wherein the collision element parameters correspond to the collision elements that the user selects from the plurality of simulation design elements in the three-dimensional simulation model that require the local collision detection; In response to the user's trigger operation of the collision detection control, collision detection is performed on the three-dimensional simulation model according to the inspection element and the collision element selected by the user; A collision report is generated based on the collision detection results.
[0006] According to an embodiment of the present invention, a local collision detection method and apparatus based on a digital twin platform are provided. The method acquires model data of a target object and displays a digital twin model simulation interface based on the model data. The digital twin model simulation interface includes a three-dimensional simulation model and collision detection controls. The three-dimensional simulation model includes multiple simulation design elements, which can be customized and expanded by the user according to specific needs, and is applicable to model data and scenarios of different target objects. Then, in response to the user's trigger operation on the collision detection controls, a collision detection interface is displayed. The collision detection interface includes a check element input area, a collision element input area, and a collision detection start control, allowing the user to customize the local collision detection. The localized collision detection range makes the collision detection process more flexible, reducing detection costs and the skill requirements for operators. Then, it acquires the inspection element parameters input by the user in the inspection element input area and the collision element parameters input by the user in the collision element input area. This determines the inspection elements and collision elements selected by the user from multiple simulation design elements in the 3D simulation model that require localized collision detection. In response to the user's trigger operation of the collision detection start control, it performs collision detection on the 3D simulation model based on the selected inspection elements and collision elements. This avoids the tedious and time-consuming comprehensive collision detection of all elements in the model, thus significantly reducing detection time and improving collision detection efficiency. Furthermore, after obtaining the collision detection results, this embodiment of the invention can also generate a corresponding collision report based on the collision detection results, thereby reducing false alarms caused by unnecessary interactions between elements. This allows users to better understand the collision situation of the 3D simulation model and handle collision problems, improving detection accuracy.
[0007] According to some embodiments of the present invention, the collision detection of the three-dimensional simulation model based on the inspection element and the collision element selected by the user includes: The three-dimensional simulation model is divided according to the inspection element and the collision element to obtain a local collision detection area; A target collision space is created based on the local collision detection area, and the first envelope box of the inspection element and the second envelope box of the collision element contained within the target collision space are determined. Collision detection is performed on multiple first envelope boxes and multiple second envelope boxes within the target collision space.
[0008] According to some embodiments of the present invention, the collision detection of a plurality of first envelope boxes and a plurality of second envelope boxes within the target collision space includes: Construct an envelope box binary tree based on the plurality of first envelope boxes and the plurality of second envelope boxes; Traverse the envelope box binary tree and check whether each of the first envelope boxes and the second envelope boxes overlap; If the first envelope box and the second envelope box overlap, it is determined that there is a collision between the inspection element corresponding to the first envelope box and the collision element corresponding to the second envelope box; The inspection element that is involved in the collision is identified as the target inspection element, and the corresponding collision element is identified as the target collision element.
[0009] According to some embodiments of the present invention, detecting whether the respective first envelope boxes and second envelope boxes overlap includes one of the following: Obtain the first coordinate value of the first envelope box and the second coordinate value of the second envelope box, and compare the first coordinate value and the second coordinate value to determine whether the first envelope box and the second envelope box overlap. Alternatively, obtain the first projection axis of the first envelope box and the second projection axis of the second envelope box, determine the first projection interval of the first envelope box and the second projection interval of the second envelope box based on the first projection axis and the second projection axis, and determine whether the first envelope box and the second envelope box overlap according to the overlap relationship between the first projection interval and the second projection interval.
[0010] According to some embodiments of the present invention, generating a collision report based on the collision detection results includes: The collision result interface is displayed based on the collision detection results. The collision result interface includes a collision record selection area and a collision report generation control. In response to a user's selection operation in the collision record selection area, at least one collision record selected by the user is determined from the collision detection results; In response to the user's triggering operation on the collision report generation control, the collision report is generated based on all the collision records selected by the user.
[0011] According to some embodiments of the present invention, it further includes one of the following: Based on the collision detection results, the target inspection element and the target collision element in the three-dimensional simulation model are displayed on the digital twin model simulation interface in the first display effect; Alternatively, in response to a user's viewing of the collision record, the target inspection element and the target collision element in the three-dimensional simulation model are displayed on the digital twin model simulation interface with a second display effect based on the collision record.
[0012] According to some embodiments of the present invention, the collision record includes at least one of the following: The names of the target inspection element and its corresponding target collision element; The component parameters of the target inspection element and the corresponding target collision element; The collision type of the target inspection element and its corresponding target collision element; The collision position of the target inspection element and its corresponding target collision element.
[0013] According to some embodiments of the present invention, the step of acquiring model data of a target object and displaying a digital twin model simulation interface based on the model data of the target object includes: Obtain the model data of the target object from an external data source and perform preprocessing; The three-dimensional simulation model is constructed based on the preprocessed model data, and the collision detection control is created. The digital twin model simulation interface is displayed, and the three-dimensional simulation model and the collision detection control are displayed in the digital twin model simulation interface.
[0014] According to some embodiments of the present invention, the collision detection interface further includes a non-inspection element input area and a non-collision element input area, and the method further includes: Obtain the non-inspection element parameters input by the user in the non-inspection element input area, wherein the non-inspection element parameters correspond to the non-inspection elements selected by the user from the plurality of simulation design elements in the 3D simulation model that do not participate in the local collision detection; obtain the non-collision element parameters input by the user in the non-collision element input area, wherein the non-collision element parameters correspond to the non-collision elements selected by the user from the plurality of simulation design elements in the 3D simulation model that do not participate in the local collision detection; in response to the user's trigger operation on the collision detection start control, perform collision detection on the 3D simulation model based on the non-inspection elements selected by the user and other simulation design elements besides the non-collision elements.
[0015] Secondly, embodiments of the present invention provide a local collision detection device based on a digital twin platform. The device includes: a processing module, configured to acquire model data of a target object and display a digital twin model simulation interface based on the model data of the target object, wherein the digital twin model simulation interface includes a three-dimensional simulation model and a collision detection control, and the three-dimensional simulation model includes multiple simulation design elements; the processing module is further configured to display a collision detection interface in response to a user's trigger operation on the collision detection control, the collision detection interface including an inspection element input area, a collision element input area, and a collision detection start control; the processing module is further configured to acquire the inspection element input by the user in the inspection element input area. The parameters include: the inspection element parameters corresponding to the inspection elements selected by the user from the plurality of simulation design elements in the 3D simulation model that require local collision detection; the processing module is further configured to acquire the collision element parameters input by the user in the collision element input area, wherein the collision element parameters correspond to the collision elements selected by the user from the plurality of simulation design elements in the 3D simulation model that require local collision detection; the processing module is further configured to, in response to the user's trigger operation of the start collision detection control, perform collision detection on the 3D simulation model according to the inspection elements and collision elements selected by the user; and the output module is configured to generate a collision report based on the collision detection results.
[0016] Thirdly, embodiments of the present invention provide an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the local collision detection method based on a digital twin platform of any of the above embodiments.
[0017] Fourthly, embodiments of the present invention provide a computer storage medium storing a computer program that, when executed by a processor, implements the local collision detection method based on a digital twin platform as described in any of the above embodiments.
[0018] Fifthly, embodiments of the present invention provide a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium, a processor of a computer device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions, so that the computer device implements the local collision detection method based on a digital twin platform of any of the above embodiments when executed.
[0019] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0020] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of the present invention to explain the technical solutions of the present invention, and do not constitute a limitation on the technical solutions of the present invention.
[0021] Figure 1 This is a schematic diagram of the implementation environment involved in the embodiments of the present invention; Figure 2 This is a flowchart of a local collision detection method based on a digital twin platform provided in an embodiment of the present invention; Figure 3 This is an interface view of the digital twin platform provided in an embodiment of the present invention; Figure 4 This is the interface view of creating a new collision detection provided in the embodiments of the present invention; Figure 5 This is provided by the embodiments of the present invention. Figure 2 Flowchart of the specific method for step S500; Figure 6 This is a flowchart illustrating a specific method for collision detection of an envelope box provided in an embodiment of the present invention. Figure 7 This is provided by the embodiments of the present invention. Figure 2 Flowchart of the specific method for step S600; Figure 8 This is an interface view showing the detailed collision detection results provided in this embodiment of the invention; Figure 9 This is an interface view showing the collision location provided in an embodiment of the present invention; Figure 10 This is provided by the embodiments of the present invention. Figure 2 Flowchart of the specific method for step S100; Figure 11 This is the interface view of creating a new collision detection provided in the embodiments of the present invention; Figure 12This is a flowchart of a local collision detection method based on a digital twin platform provided in an embodiment of the present invention; Figure 13 This is a schematic diagram of a local collision detection device based on a digital twin platform provided in an embodiment of the present invention. Detailed Implementation
[0022] This section will describe in detail specific embodiments of the present invention. Preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the drawings is to supplement the textual description with graphics, so that people can intuitively and vividly understand each technical feature and overall technical solution of the present invention, but they should not be construed as limiting the scope of protection of the present invention.
[0023] In the description of this invention, the use of "first" and "second" is for the purpose of distinguishing technical features only, and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or the order of the technical features indicated.
[0024] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.
[0025] The following is an introduction and explanation of several terms involved in this invention: (1) Digital twins are a technology that makes full use of data such as physical models, sensor updates, and operating history to complete mapping in virtual space, thereby reflecting the entire life cycle of the corresponding physical equipment.
[0026] (2) Collision detection is a technique used in fields such as computer graphics and computer games to detect whether two or more objects collide.
[0027] (3) An envelope box is a geometry used to simplify the model of a collider. It is usually a cuboid that can completely contain the object.
[0028] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
[0029] Figure 1 An exemplary schematic diagram illustrates the implementation environment involved in a local collision detection method based on a digital twin platform. For example... Figure 1As shown, the implementation environment can be a digital twin 3D system, which includes a terminal device 100 and a server 200. The server 200 provides the operating environment for the digital twin platform and transmits the user-interactive graphical interface to the terminal device 100 via a network connection. The terminal device 100 is used to visualize the digital twin platform, providing a graphical interface for displaying the platform and equipped with input devices (such as a mouse, keyboard, touchscreen, etc.). It then returns the user's interactive operations related to the graphical interface via the input devices to the server 200 through the network connection. Specifically, the terminal device 100 can be an electronic device such as a desktop computer, laptop computer, tablet computer, or smartphone, without limitation. The graphical interface display of the digital twin platform on the terminal device 100 can be in the form of an application or a webpage.
[0030] Furthermore, server 200 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. For example, in this implementation environment, server 200 can be used to store data, run a digital twin platform, and transmit information and interact with terminal device 100, providing collision detection-related cloud computing services to terminal device 100, especially suitable for collision detection based on a digital twin platform. Server 200 establishes a direct or indirect network connection with terminal device 100 in advance through wired or wireless means, and realizes data transmission with terminal device 100 through this network connection. For example, the transmitted data includes, but is not limited to: graphics command data, scene information, 3D model data, etc.
[0031] Please see Figure 2 This is a schematic flowchart illustrating a local collision detection method based on a digital twin platform provided in an embodiment of the present invention. In this embodiment, the terminal device 100 described above is used as the execution subject for illustration. Figure 2 As shown, the local collision detection method provided in this embodiment of the invention includes, but is not limited to, steps S100 to S600: Step S100: Obtain the model data of the target object and display the digital twin model simulation interface based on the model data of the target object. The digital twin model simulation interface includes a three-dimensional simulation model and a collision detection control. The three-dimensional simulation model includes multiple simulation design elements.
[0032] In this step, after acquiring the model data of the target object, a corresponding digital twin model simulation interface will be generated on the terminal device 100. This interface will intuitively display the 3D simulation model of the target object, and the collision detection control will provide interactive functionality to the user. Figure 3 As shown, for example, after a user clicks the collision detection control, the digital twin platform begins executing the collision detection logic of the 3D simulation model. The model data can include the target object's geometry and dimensions, material properties, fixed position and orientation, etc. On the digital twin model simulation interface, users can customize collision detection settings for simulation design components according to specific business needs and application scenarios, thereby ensuring that the model data and scene can accurately adapt to different target objects.
[0033] In one embodiment, such as Figure 3 As shown, the digital twin model simulation interface includes a 3D simulation model and collision detection controls displayed on the same screen. The left area can house the collision detection controls, while the 3D simulation model is displayed on the right. Alternatively, the display areas of the 3D simulation model and the collision detection controls can be swapped, allowing users to easily access the collision detection controls while observing the 3D simulation model, thus improving the user experience and operational smoothness. This embodiment of the invention does not limit the areas where the 3D simulation model and collision detection controls are displayed on the digital twin model simulation interface.
[0034] In step S200, in response to the user's trigger operation on the collision detection control, a collision detection interface is displayed. The collision detection interface includes an inspection component input area, a collision component input area, and a start collision detection control.
[0035] In one embodiment of this step, the user triggers the collision detection control, and in response to the user's triggering action, the collision detection interface is displayed. For example... Figure 4As shown, users can trigger the collision detection control to display both the collision detection interface and the 3D simulation model on the same screen as the digital twin model simulation interface. Specifically, the collision detection interface can be displayed in the left area of the original digital twin model simulation interface, while the 3D simulation model is displayed in the right area. This embodiment of the invention does not limit the display area of the collision detection interface. The collision detection interface includes an inspection element input area, a collision element input area, and a collision detection activation control. The inspection element input area and the collision element input area are the areas where users interact with the collision detection interface. Users can perform input operations in either the inspection element input area or the collision element input area. For example, input operations can include adding, deleting, or deleting all elements in either the inspection element input area or the collision element input area. This allows users to customize the local collision detection range, facilitating the input of inspection elements and collision elements while observing the 3D simulation model, improving the user experience and operational smoothness, making the collision detection process more flexible, and reducing the technical requirements for detection.
[0036] In one embodiment, a user can select a simulation design element in the 3D simulation model by clicking, and then click the "Add" operation in the inspection element input area to add the selected simulation design element to the inspection element input area. In another embodiment, a user can select an inspection element in the inspection element input area by clicking, and then click the "Delete" operation to remove the inspection element from the inspection element input area. In yet another embodiment, a user can also click the "Delete All" operation to remove multiple inspection elements from the inspection element input area simultaneously. It is understood that the specific implementation methods for adding, deleting, or deleting all items in the collision element input area are similar to those for the inspection element input area, and will not be elaborated here. Furthermore, the collision detection interface is also provided with a close control, which can close the collision detection interface in response to the user's triggering of the close control. It should be noted that the graphical interface displayed by the digital twin platform includes the digital twin model simulation interface, the collision detection interface, etc., which can be in the form of a program window or a web page, and are not limited here.
[0037] Step S300: Obtain the inspection element parameters input by the user in the inspection element input area, wherein the inspection element parameters correspond to the inspection elements that need to be localized for collision detection selected by the user from multiple simulation design elements in the 3D simulation model.
[0038] In this step, by adding inspection elements in the inspection element input area, the user can select the inspection elements requiring local collision detection from multiple simulation design elements of the 3D simulation model, and then obtain the inspection element parameters corresponding to each inspection element for subsequent local collision detection. In one embodiment, the inspection element parameters are parameters corresponding to the inspection element and may include the type, name, and label of each inspection element, such as... Figure 4 As shown, after the user adds simulation design component A to the inspection component input area, the corresponding inspection component parameters will be displayed in the inspection component input area, resulting in inspection component A. The inspection component parameter for inspection component A is "EQUI #2 main transformer," making it convenient for the user to view the added inspection components in the inspection component input area. In another embodiment, checkboxes are provided before each inspection component parameter, allowing the user to select added inspection components by clicking, and subsequently delete selected inspection components when there are multiple inspection components.
[0039] Step S400: Obtain the collision element parameters input by the user in the collision element input area. The collision element parameters correspond to the collision elements that the user selects from multiple simulation design elements in the 3D simulation model that require local collision detection.
[0040] In this step, by adding collision elements in the collision element input area, the user can select the collision elements from multiple simulation design elements of the 3D simulation model that require local collision detection, and then obtain the collision element parameters for each collision element for subsequent local collision detection. In one embodiment, the collision element parameters are parameters corresponding to the collision elements and may include the type, name, and label of each collision element, such as... Figure 4 As shown, after a user adds a simulation design element to the collision element input area, the corresponding collision element parameters are displayed in the input area upon confirmation that it is a collision element. Taking simulation design elements B and C in the figure as examples, the collision element parameter of simulation design element B is "TUBI4" and the collision element parameter of simulation design element C is "TUBI5". Adding simulation design elements B and C to the collision element input area will generate collision elements B and C, thus displaying the user-selected simulation design elements as collision elements and allowing the user to easily view the added collision elements in the input area. In another embodiment, checkboxes are provided at the display positions corresponding to each collision element parameter. Users can click to select added collision elements, and can then delete the selected collision elements when there are multiple collision elements.
[0041] In one embodiment, the user can observe the 3D simulation model to make a preliminary judgment on the possible collisions between simulation design elements, filter out multiple simulation design elements that may collide, and then add one of these simulation design elements to the inspection element input area, identifying it as the inspection element that needs local collision detection. Further, using this inspection element as the center, simulation design elements adjacent to it can be added to the collision element input area, thus identifying them as collision elements that need local collision detection. The area surrounding the inspection element and the collision elements can then be defined as the local collision detection area of the 3D simulation model.
[0042] In step S500, in response to the user's trigger operation to start the collision detection control, collision detection is performed on the 3D simulation model according to the inspection element and collision element selected by the user.
[0043] In one embodiment of this step, the user can trigger the collision detection control, and in response to the user's trigger, perform collision detection on the 3D simulation model based on the inspection element and collision element selected by the user. Figure 4 As shown, the user has selected two simulation design elements in the 3D simulation model awaiting local collision detection: inspection element A, collision element B, and collision element C. Specifically, in response to the user's trigger operation of the collision detection control, collision detection can be performed on the 3D simulation model based on inspection element A, collision element B, and collision element C. For example, it can detect whether there is a collision between inspection element A and collision element B, and whether there is a collision between inspection element A and collision element C. Therefore, it is not necessary to perform collision detection on all simulation design elements, thereby saving computation time and improving the efficiency of collision detection.
[0044] Step S600: Generate a collision report based on the collision detection results.
[0045] In this step, a collision report is generated from the collision detection results obtained through collision detection.
[0046] The local collision detection method based on a digital twin platform provided in this invention acquires model data of a target object and displays a digital twin model simulation interface based on the target object's model data. The digital twin model simulation interface includes a 3D simulation model and collision detection controls. The 3D simulation model includes multiple simulation design elements, which can be customized and expanded by the user according to specific needs, applicable to model data and scenarios of different target objects. Then, in response to the user's trigger operation on the collision detection controls, the collision detection interface is displayed. The collision detection interface includes a check element input area, a collision element input area, and a collision detection start control, allowing the user to customize the local collision detection range. This design allows for a more flexible collision detection process, reducing detection costs and the skill requirements for operators. It then acquires the inspection element parameters input by the user in the inspection element input area and the collision element parameters input by the user in the collision element input area. This determines the inspection elements and collision elements selected by the user from multiple simulation design elements in the 3D simulation model that require local collision detection. In response to the user's trigger operation to start the collision detection control, collision detection is performed on the 3D simulation model based on the selected inspection and collision elements. This avoids the tedious and time-consuming comprehensive collision detection of all elements in the model, significantly reducing detection time and improving collision detection efficiency. Furthermore, after obtaining the collision detection results, this embodiment of the invention can generate a corresponding collision report based on the collision detection results, thereby reducing false alarms caused by unnecessary interactions between elements. This allows users to better understand the collision situation of the 3D simulation model and handle collision problems, improving detection accuracy.
[0047] See Figure 5 As shown, in some embodiments of the present invention, a local collision detection method based on a digital twin platform is provided. Figure 2 Step S500, which involves performing collision detection on the 3D simulation model based on the inspection elements and collision elements selected by the user, includes, but is not limited to, the following steps S510 to S530: Step S510: Divide the three-dimensional simulation model according to the inspection elements and collision elements to obtain the local collision detection area.
[0048] In this step, the inspection element and collision element are marked in the 3D simulation model according to the inspection element parameters and collision element parameters. Then, based on the position and range of the inspection element, the simulation design elements adjacent to the inspection element are identified as the collision elements that need to be locally collided. Then, the 3D simulation model is divided into regions around the inspection element and collision element range to determine the collision detection area in the 3D simulation model, thus obtaining the local collision detection area. Therefore, collision detection is only performed on the divided local collision detection area, which can reduce unnecessary calculations.
[0049] Step S520: Create a target collision space based on the local collision detection area, and determine the first envelope box of the inspection element and the second envelope box of the collision element contained in the target collision space.
[0050] In this step, one or more target collision spaces are created based on the local collision detection areas where the inspection elements and collision elements are located. The first envelope box of the corresponding inspection element and the second envelope box of the corresponding collision element are determined based on the size and shape of the inspection elements and collision elements contained within the target collision space. In one embodiment, the size and shape of the target collision space can be adjusted as needed to ensure that all inspection elements and collision elements are contained. In another embodiment, the shape of the envelope box can be a hexahedron, a sphere, or a cuboid, corresponding to different envelope boxes, including axis-aligned envelope boxes, spherical envelope boxes, and directional envelope boxes. For example, for inspection elements or collision elements with complex shapes, an axis-aligned envelope box can be selected to wrap them, ensuring that the inspection elements or collision elements are tightly wrapped, thereby improving computational efficiency.
[0051] Step S530: Perform collision detection on multiple first envelope boxes and multiple second envelope boxes within the target collision space.
[0052] It is understandable that once the first envelope box of each inspection element and the second envelope box of each collision element contained in the target collision space are determined, collision detection can be performed on multiple first envelope boxes and multiple second envelope boxes in the target collision space. In this way, it is not necessary to perform collision detection on inspection elements and collision elements outside the target collision space, thereby reducing the amount of data calculation and improving the collision detection efficiency.
[0053] See Figure 6 As shown, in some embodiments of the present invention, a local collision detection method based on a digital twin platform is provided. Figure 5 In step S530, collision detection is performed on multiple first envelope boxes and multiple second envelope boxes within the target collision space, specifically including but not limited to the following steps S531 to S534: Step S531: Construct an envelope box binary tree based on multiple first envelope boxes and multiple second envelope boxes.
[0054] Step S532: Traverse the envelope box binary tree and check whether each first envelope box overlaps with the second envelope box.
[0055] Step S533: If the first envelope box and the second envelope box overlap, it is determined that there is a collision between the inspection element corresponding to the first envelope box and the collision element corresponding to the second envelope box.
[0056] Step S534: Determine the inspection element that has a collision as the target inspection element, and determine the corresponding collision element as the target collision element.
[0057] It should be noted that an envelope box binary tree can be constructed based on multiple first envelope boxes and multiple second envelope boxes. For example, an envelope box binary tree can be constructed from multiple first envelope boxes and multiple second envelope boxes obtained by using multiple checking elements and multiple collision elements of axis-aligned envelope boxes. Then, by traversing this envelope box binary tree, it is detected whether each first envelope box overlaps with a second envelope box. Specifically, it is first detected whether the first envelope box overlaps with the second envelope box of the root node of the binary tree. If they do not overlap, the detection stops; otherwise, it continues to traverse and detect whether the first envelope box overlaps with the second envelope boxes of each child node. If an overlap between a first envelope box and a second envelope box is detected, it can be determined that there is a collision between the checking element of the corresponding first envelope box and the collision element of the corresponding second envelope box. Further, the checking element with a collision can be identified as the target checking element, and the collision element corresponding to that checking element can be identified as the target collision element.
[0058] It should be noted that, in the embodiments of the present invention, Figure 6 Step S532, which detects whether each of the first envelope boxes overlaps with the second envelope box, includes at least one of the following steps: Step S5321: Obtain the first coordinate value of the first envelope box and the second coordinate value of the second envelope box, and compare the first coordinate value and the second coordinate value to determine whether the first envelope box and the second envelope box overlap.
[0059] In this step, for the first and second envelope boxes, first and second coordinate values can be obtained respectively. The first coordinate value can include the maximum or minimum coordinate value of the first envelope box on any one of the X, Y, or Z coordinate axes, and the second coordinate value can include the maximum or minimum coordinate value of the second envelope box on any one of the X, Y, or Z coordinate axes. In one embodiment, the maximum coordinate value a1 of the first envelope box on the X-axis and the minimum coordinate value b1 of the second envelope box on the X-axis can be obtained. Then, by comparing the maximum coordinate value a1 and the minimum coordinate value b1, if the maximum coordinate value a1 is less than the minimum coordinate value b1, it is determined that the first and second envelope boxes overlap on the X-axis. In another embodiment, the minimum coordinate value a2 of the first envelope box on the X-axis and the maximum coordinate value b2 of the second envelope box on the X-axis can also be obtained. Then, the minimum coordinate value a2 is compared with the maximum coordinate value b2. If the minimum coordinate value a2 is greater than the maximum coordinate value b2, it is determined that the first and second envelope boxes overlap on the X-axis. It should be understood that if the first envelope box and the second envelope box overlap on the X, Y, and Z coordinate axes, then it can be determined that the first envelope box and the second envelope box are completely overlapping. The method for determining the overlap of the first envelope box and the second envelope box on the Y and Z axes is similar to that mentioned in the above embodiments, and will not be repeated here.
[0060] Step S5322: Obtain the first projection axis of the first envelope box and the second projection axis of the second envelope box. Based on the first projection axis and the second projection axis, determine the first projection interval of the first envelope box and the second projection interval of the second envelope box. Based on the overlap relationship between the first projection interval and the second projection interval, determine whether the first envelope box and the second envelope box overlap.
[0061] In this step, the first projection axis of the first envelope box and the second projection axis of the second envelope box can be obtained. The first projection axis can be any one of the X, Y, or Z coordinate axes of the first envelope box, and the second projection axis can be any one of the X, Y, or Z coordinate axes of the second envelope box. Based on the first and second projection axes, the first projection interval of the first envelope box on the coordinate axes (i.e., the maximum and minimum projection values of the first envelope box on the coordinate axes) and the second projection interval of the second envelope box on the coordinate axes (i.e., the maximum and minimum projection values of the second envelope box on the coordinate axes) are calculated respectively. Further, the first and second projection intervals are compared. If the first and second projection intervals completely overlap, it is determined that the first and second envelope boxes overlap.
[0062] See Figure 7 As shown, in some embodiments of the present invention, a local collision detection method based on a digital twin platform is provided. Figure 2In step S600, a collision report is generated based on the collision detection results, specifically including but not limited to the following steps S610 to S630: Step S610: Display the collision result interface based on the collision detection results. The collision result interface includes a collision record selection area and a collision report generation control.
[0063] In this step, after the collision detection is performed and the collision detection results are obtained, the collision result interface will be displayed on the terminal device 100, such as... Figure 8 As shown, the collision results interface includes a collision record selection area and a collision report generation control. Users can view the collision records obtained from the collision detection and the number of collision records on the interface, thereby displaying the checked elements that collide and their corresponding details. Users can also request the generation of a collision report by clicking the collision report generation control. In one embodiment, users can view specific collision records in the collision record selection area. The collision records in the selection area can store the names of the checked elements that collide, the names of the collided elements, the parameters of the checked elements, the collision type between the checked elements and the collided elements, and the collision location. Taking checked element A and collided element B as examples in the above embodiment, if the collision detection result indicates that checked element A and collided element B collide, the collision records obtained from this collision detection are displayed on the collision results interface. Specifically, it shows the name of checked element A, "EQUI #2 main transformer," the name of collided element B, "TUBI 4," and the collision type of checked element A and collided element B as "hard collision."
[0064] Step S620: In response to the user's selection operation in the collision record selection area, determine at least one collision record selected by the user in the collision detection results.
[0065] In this step, the user can make a selection in the collision record selection area. In response to the user's selection, at least one selected collision record is determined from the collision detection results. Specifically, selection boxes or other selection methods are provided at the display positions corresponding to each collision record, allowing the user to select the collision record of interest by clicking.
[0066] In another embodiment, the collision results interface includes a collision record search area and a collision record search control. The collision record search control allows users to input search terms to search for collision records. Users can perform input operations in the collision record search area, such as searching for collision records, editing, exporting, or clearing the search results. Specifically, for example... Figure 8As shown, the collision record search control may include multiple text input controls. Searching for collision records can be performed by the user triggering a text input control to enter text information. The system then retrieves the user-inputted text information based on the triggering action. For example, the text input controls can be used to input text information such as the name of the inspection element, the name of the collision element, and the collision type. The system then searches the collision record list for collision records that match the text information. In another embodiment, after obtaining the search results, the user can edit the collision records of interest, or export or clear the selected collision records.
[0067] Step S630: In response to the user's trigger operation on the collision report generation control, a collision report is generated based on all collision records selected by the user.
[0068] In this step, after the user confirms that the selected collision records are correct, they can trigger the collision report generation control. The control will then respond to this trigger and generate a collision report, such as a collection of collision records or a document, based on all the user-selected collision records. This report presents relevant information and data about the collision detection results, allowing the user to better understand the collision situation of the 3D simulation model and address collision issues, providing strong support for subsequent investigation and analysis. In one embodiment, the generated collision report can be output to the user, for example, by displaying the collision report on the user interface, sending the collision report to the user's email address, or saving the collision report to a local file.
[0069] In one embodiment, another local collision detection method provided by the present invention further includes at least one of the following steps: Step S710: Based on the collision detection results, display the target inspection element and target collision element in the three-dimensional simulation model on the digital twin model simulation interface with the first display effect.
[0070] In this step, after the user clicks to start the collision detection control, the target inspection element and target collision element in the 3D simulation model can be displayed on the digital twin model simulation interface in the first display effect according to the collision detection results. See [link to relevant documentation]. Figure 8As shown, in one embodiment, target inspection element A1 and target collision element B1 are displayed on the digital twin model simulation interface with a first display effect. The first display effect can be achieved by displaying different visual elements, including at least one of the following: color, markings, transparency, brightness, etc. Markers can be arrows, text, symbols, etc. For example, setting the display color of target inspection element A1 and target collision element B1 to a dark color and setting other simulation design elements to a light color can highlight target inspection element A1 and target collision element B1 that have collisions in the 3D simulation model, distinguishing them from simulation design elements that have not undergone collision detection or do not have collisions, so that users can quickly identify the collision situation of the 3D simulation model.
[0071] In another embodiment, such as Figure 8 As shown, the collision results interface and the 3D simulation model can be displayed simultaneously on the digital twin model simulation interface. Specifically, the collision results interface can be displayed in the left area of the original digital twin model simulation interface, while the target inspection element and target collision element in the 3D simulation model are displayed in the right area with a first display effect. This allows users to easily observe the target inspection element A1 and target collision element B1 that are colliding in the 3D simulation model while conveniently comparing and viewing the collision detection results, improving the user experience and operational smoothness. This embodiment of the invention does not limit the display area of the collision results interface and the 3D simulation model.
[0072] In step S720, in response to the user's operation of viewing the collision record, the target inspection element and the target collision element in the three-dimensional simulation model are displayed on the digital twin model simulation interface with a second display effect based on the collision record.
[0073] In this step, when a user views a collision record of interest in the collision record area, the system can capture the user's viewing action at the collision location within that record. Based on this, the system displays the target inspection element and target collision element in the 3D simulation model on the digital twin model simulation interface in a second display effect. See also... Figure 9 As shown, in one embodiment, target inspection element A2 and target collision element B2 are displayed on the digital twin model simulation interface with a second display effect. This second display effect can be achieved using different visual elements, including at least one of the following: color, markers, transparency, brightness, etc. Markers can be arrows, text, symbols, etc. For example, the transparency of target inspection element A2 and target collision element B2 can be reduced while keeping the transparency of other simulation design elements unchanged, highlighting the target inspection element A2 and target collision element B2 that collide in the 3D simulation model, and using rectangles or other suitable markers to highlight the collision locations.
[0074] It should be noted that the collision record described in the above embodiments includes at least one of the following: the component name of the target inspection element and its corresponding target collision element, the component parameters of the target inspection element and its corresponding target collision element, the collision type of the target inspection element and its corresponding target collision element, and the collision position of the target inspection element and its corresponding target collision element.
[0075] See Figure 10 As shown, in some embodiments of the present invention, a local collision detection method based on a digital twin platform is provided. Figure 2 Step S100, which involves acquiring the model data of the target object and displaying the digital twin model simulation interface based on the model data of the target object, specifically includes, but is not limited to, the following steps S110 to S130: Step S110: Obtain the model data of the target object from an external data source and perform preprocessing.
[0076] In this step, model data of the target object is obtained through an external data source, and the model data is preprocessed. For example, noise reduction and simplification processing can be performed on the geometry and dimensions, material properties, fixed positions and orientations of the target object to improve the efficiency and accuracy of subsequent calculations. In one embodiment, obtaining the model data of the target object through an external data source can be achieved by scanning the target object using equipment such as a 3D laser scanner or a mobile mapping system to obtain 3D point cloud data. In another embodiment, obtaining the model data of the target object through an external data source can also be achieved by acquiring the model file of the target object output by 3D modeling software.
[0077] Step S120: Construct a three-dimensional simulation model based on the preprocessed model data and create a collision detection control.
[0078] In one embodiment, a three-dimensional simulation model of the target object is constructed from the preprocessed model data, and a collision detection control is created.
[0079] Step S130: Display the digital twin model simulation interface, and display the three-dimensional simulation model and collision detection controls in the digital twin model simulation interface.
[0080] It is understandable that after obtaining the 3D simulation model and creating the collision detection control, the digital twin model simulation interface can be displayed, and the 3D simulation model and collision detection control can be displayed in the digital twin model simulation interface to facilitate user interaction with the 3D simulation model. For example, the user can perform interactive operations through input devices (such as mouse, keyboard, touch screen, etc.). For specific implementation of this step, please refer to the embodiment of step S100 above, which will not be repeated here.
[0081] It should be noted that the collision detection interface described in this embodiment of the invention also includes a non-inspection element input area and a non-collision element input area, which are also areas where the user interacts with the collision detection interface. For example... Figure 11 As shown, Figure 11 A collision detection interface with an input area for checked elements, a collision element input area, a non-checked element input area, and a non-collision element input area is shown. Users can also perform input operations in the non-checked element input area or the non-collision element input area. For example, input operations can include adding, deleting, or deleting all elements in the non-checked element input area or the non-collision element input area. This allows users to customize the local collision detection range and select non-checked elements and non-collision elements while observing the 3D simulation model, improving the user experience and smoothness of operation, making the collision detection process more flexible, and reducing the technical requirements for detection. It is understood that the specific implementation methods for users to add, delete, or delete all elements in the non-checked element input area or the non-collision element input area can be found in the embodiment of step S200 above, and will not be repeated here.
[0082] like Figure 12 The diagram shows another local collision detection method based on a digital twin platform provided by the present invention, which specifically includes the following steps S810 to S830: Step S810: Obtain the non-inspection element parameters input by the user in the non-inspection element input area. The non-inspection element parameters correspond to the non-inspection elements that the user selects from multiple simulation design elements in the three-dimensional simulation model that do not participate in local collision detection.
[0083] In this step, by adding non-inspection components to the non-inspection component input area, the system can determine which non-inspection components will not undergo local collision detection from multiple simulation design components in the 3D simulation model. This allows the system to obtain the corresponding non-inspection component parameters, which are then displayed in the input area. In one embodiment, the non-inspection component parameters are parameters corresponding to the non-inspection components and may include the type, name, and label of each component. The user selects simulation design components that will not participate in collision detection on the 3D simulation model and adds them to the non-inspection component input area, where the corresponding non-inspection component parameters are displayed. In another embodiment, checkboxes are provided before each non-inspection component parameter. The user can click to select added non-inspection components and delete selected components when there are multiple non-inspection components.
[0084] Step S820: Obtain the non-collision element parameters input by the user in the non-collision element input area. The non-collision element parameters correspond to the non-collision elements that the user selects from multiple simulation design elements in the three-dimensional simulation model that do not participate in the local process.
[0085] In this step, by adding non-collision elements to the non-collision element input area, the system can select non-collision elements from multiple simulation design elements in the 3D simulation model that do not participate in local collision detection. This allows the system to obtain the non-collision element parameters for each element and display them in the input area. In one embodiment, the non-collision element parameters are parameters corresponding to the non-collision elements and may include the type, name, and label of each element. The user selects simulation design elements that do not participate in collision detection on the 3D simulation model and adds them to the non-collision element input area, where the corresponding non-collision element parameters are displayed. In another embodiment, a checkbox is provided before each non-collision element parameter. The user can click to select added non-collision elements and delete selected non-collision elements when there are multiple non-collision elements.
[0086] Step S830: In response to the user's trigger operation to start the collision detection control, collision detection is performed on the 3D simulation model based on other simulation design elements besides the non-inspection elements and non-collision elements selected by the user.
[0087] In one embodiment of this step, the user can trigger the collision detection control, and in response to the user's trigger, collision detection is performed on the 3D simulation model based on other simulation design elements besides the non-inspection elements and non-collision elements selected by the user. Therefore, it is not necessary to perform collision detection on all simulation design elements, thereby saving computation time and improving the efficiency of collision detection.
[0088] Secondly, embodiments of the present invention provide a local collision detection device based on a digital twin platform. For example... Figure 13As shown, the device 900 includes: a processing module 910, used to acquire model data of a target object and display a digital twin model simulation interface based on the model data of the target object, wherein the digital twin model simulation interface includes a three-dimensional simulation model and a collision detection control, and the three-dimensional simulation model includes multiple simulation design elements; the processing module 910 is also used to display a collision detection interface in response to a user's trigger operation on the collision detection control, the collision detection interface including a check element input area, a collision element input area, and a collision detection start control; the processing module 910 is also used to acquire check element parameters input by the user in the check element input area, wherein the check element parameters are... The processing module 910 is used to retrieve the collision element parameters corresponding to the inspection elements selected by the user from multiple simulation design elements in the 3D simulation model that require local collision detection; the processing module 910 is also used to obtain the collision element parameters input by the user in the collision element input area, wherein the collision element parameters correspond to the collision elements selected by the user from multiple simulation design elements in the 3D simulation model that require local collision detection; the processing module 910 is also used to respond to the user's trigger operation to start the collision detection control, and to perform collision detection on the 3D simulation model according to the inspection elements and collision elements selected by the user; the output module 920 is used to generate a collision report based on the collision detection results.
[0089] It is understood that the above-described device is used to execute the methods in the above embodiments. The implementation principle and technical effect of the corresponding program modules in the device are similar to those described in the above methods. The working process of the device can be referred to the corresponding process in the above methods, and will not be repeated here.
[0090] Thirdly, embodiments of the present invention also provide an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the local collision detection method based on a digital twin platform of any of the above embodiments.
[0091] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device through various interfaces and lines.
[0092] Memory is used to store computer programs. The processor runs or executes the computer programs stored in memory and accesses data stored in memory to implement various functions of the terminal device. Memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system, applications required for at least one function, etc.; the data storage area can store data created based on the use of the mobile phone, etc. In addition, memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disks, RAM, plug-in hard disks, smart media cards (SMC), secure digital cards (SD cards), flash cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.
[0093] Fourthly, an embodiment of the present invention also provides a computer storage medium storing a computer program that, when executed by a processor, implements the local collision detection method based on a digital twin platform of any of the above embodiments.
[0094] Fifthly, an embodiment of the present invention also provides a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium, a processor of a computer device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions, so that the computer device implements the local collision detection method based on a digital twin platform of any of the above embodiments when executed.
[0095] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which may include computer storage media or non-transitory media and communication media or transient media. As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc DVD or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0096] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention.
Claims
1. A local collision detection method based on a digital twin platform, characterized in that, The method includes: The model data of the target object is acquired, and a digital twin model simulation interface is displayed based on the model data of the target object. The digital twin model simulation interface includes a three-dimensional simulation model and a collision detection control. The three-dimensional simulation model includes multiple simulation design elements. In response to the user's trigger operation on the collision detection control, a collision detection interface is displayed, which includes a check element input area, a collision element input area, a non-check element input area, a non-collision element input area, and a start collision detection control; Obtain the inspection element parameters input by the user in the inspection element input area, wherein the inspection element parameters correspond to the inspection element that the user selects from the plurality of simulation design elements in the three-dimensional simulation model that needs to perform the local collision detection; Obtain the collision element parameters input by the user in the collision element input area, wherein the collision element parameters correspond to the collision elements that the user selects from the plurality of simulation design elements in the three-dimensional simulation model that require the local collision detection; Obtain the non-inspection element parameters input by the user in the non-inspection element input area, wherein the non-inspection element parameters correspond to the non-inspection elements that the user selects from the plurality of simulation design elements in the three-dimensional simulation model that do not participate in the local collision detection; Obtain the non-collision element parameters input by the user in the non-collision element input area, wherein the non-collision element parameters correspond to the non-collision elements that the user selects from the plurality of simulation design elements in the three-dimensional simulation model that do not participate in the local collision detection; In response to the user's triggering operation of the collision detection control, collision detection is performed on the 3D simulation model according to the inspection element and the collision element selected by the user, or collision detection is performed on the 3D simulation model according to the simulation design elements other than the non-inspection element and the non-collision element selected by the user. A collision report is generated based on the collision detection results.
2. The method according to claim 1, characterized in that, The collision detection of the 3D simulation model based on the inspection element and the collision element selected by the user includes: The three-dimensional simulation model is divided according to the inspection element and the collision element to obtain a local collision detection area; A target collision space is created based on the local collision detection area, and the first envelope box of the inspection element and the second envelope box of the collision element contained within the target collision space are determined. Collision detection is performed on multiple first envelope boxes and multiple second envelope boxes within the target collision space.
3. The method according to claim 2, characterized in that, The collision detection of multiple first envelope boxes and multiple second envelope boxes within the target collision space includes: Construct an envelope box binary tree based on multiple first envelope boxes and multiple second envelope boxes; Traverse the envelope box binary tree and check whether each of the first envelope boxes and the second envelope boxes overlap; If the first envelope box and the second envelope box overlap, it is determined that there is a collision between the inspection element corresponding to the first envelope box and the collision element corresponding to the second envelope box; The inspection element that is involved in the collision is identified as the target inspection element, and the corresponding collision element is identified as the target collision element.
4. The method according to claim 3, characterized in that, The detection of whether each of the first envelope boxes and the second envelope boxes overlaps includes one of the following: Obtain the first coordinate value of the first envelope box and the second coordinate value of the second envelope box, and compare the first coordinate value and the second coordinate value to determine whether the first envelope box and the second envelope box overlap. Alternatively, obtain the first projection axis of the first envelope box and the second projection axis of the second envelope box, determine the first projection interval of the first envelope box and the second projection interval of the second envelope box based on the first projection axis and the second projection axis, and determine whether the first envelope box and the second envelope box overlap according to the overlap relationship between the first projection interval and the second projection interval.
5. The method according to claim 4, characterized in that, The generation of a collision report based on the collision detection results includes: The collision result interface is displayed based on the collision detection results. The collision result interface includes a collision record selection area and a collision report generation control. In response to a user's selection operation in the collision record selection area, at least one collision record selected by the user is determined from the collision detection results; In response to the user's triggering operation on the collision report generation control, the collision report is generated based on all the collision records selected by the user.
6. The method according to claim 5, characterized in that, It also includes one of the following: Based on the collision detection results, the target inspection element and the target collision element in the three-dimensional simulation model are displayed on the digital twin model simulation interface in the first display effect; Alternatively, in response to a user's viewing of the collision record, the target inspection element and the target collision element in the three-dimensional simulation model are displayed on the digital twin model simulation interface with a second display effect based on the collision record.
7. The method according to claim 6, characterized in that, The collision record includes at least one of the following: The names of the target inspection element and its corresponding target collision element; The component parameters of the target inspection element and the corresponding target collision element; The collision type of the target inspection element and its corresponding target collision element; The collision position of the target inspection element and its corresponding target collision element.
8. The method according to claim 1, characterized in that, The step of acquiring model data of the target object and displaying the digital twin model simulation interface based on the model data of the target object includes: Obtain the model data of the target object from an external data source and perform preprocessing; The three-dimensional simulation model is constructed based on the preprocessed model data, and the collision detection control is created. The digital twin model simulation interface is displayed, and the three-dimensional simulation model and the collision detection control are displayed in the digital twin model simulation interface.
9. A local collision detection device based on a digital twin platform, characterized in that, The device includes: The processing module is used to acquire model data of the target object and display a digital twin model simulation interface based on the model data of the target object. The digital twin model simulation interface includes a three-dimensional simulation model and a collision detection control. The three-dimensional simulation model includes multiple simulation design elements. The processing module is also used to respond to the user's trigger operation on the collision detection control and display a collision detection interface, the collision detection interface including a check element input area, a collision element input area, a non-check element input area, a non-collision element input area and a start collision detection control; The processing module is also used to obtain the inspection element parameters input by the user in the inspection element input area, wherein the inspection element parameters correspond to the inspection element that the user selects from the plurality of simulation design elements in the three-dimensional simulation model that needs to perform the local collision detection. The processing module is also used to obtain the collision element parameters input by the user in the collision element input area, wherein the collision element parameters correspond to the collision element that the user selects from the plurality of simulation design elements in the three-dimensional simulation model that needs to be subjected to the local collision detection. The processing module is further configured to obtain non-inspection element parameters input by the user in the non-inspection element input area, wherein the non-inspection element parameters correspond to non-inspection elements that the user selects from the plurality of simulation design elements in the three-dimensional simulation model that do not participate in the local collision detection. The processing module is further configured to obtain non-collision element parameters input by the user in the non-collision element input area, wherein the non-collision element parameters correspond to non-collision elements that the user selects from the plurality of simulation design elements in the three-dimensional simulation model that do not participate in the local collision detection. The processing module is further configured to respond to the user's trigger operation on the collision detection control, and perform collision detection on the three-dimensional simulation model according to the inspection element and the collision element selected by the user, or perform collision detection on the three-dimensional simulation model according to the simulation design elements other than the non-inspection element and the non-collision element selected by the user. The output module is used to generate a collision report based on the collision detection results.
Citation Information
Patent Citations
Three-dimensional collision detection early warning system and method based on digital twinning
CN116680858A
Collision detection method and device in digital twin mode
CN117518880A