Belt line analogue simulation method and device based on digital twinning, computer equipment, medium and product
By constructing the digital twin model and three -dimensional simulation scenes of the belt line, based on real -time data, the simulation operation of the traditional monitoring system cannot fully display the dynamic operation of the belt line, and realize the high -precision simulation and production of the strap line operation status. Optimize support.
Patent Information
- Application Number
- CN202411349237.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-28
AI Technical Summary
Traditional belt line monitoring systems cannot fully and intuitively display the three-dimensional spatial layout, complex paths and dynamic operation of belt lines, which limits its monitoring and optimization capabilities.
By constructing the digital twin model of the belt line, create a three -dimensional simulation scene, and control the digital twin model based on real -time running data to control the simulation operation to achieve high -precision simulation of the dynamic operation of the belt line.
In the virtual environment, the operating status of the actual belt line is high -precision, providing strong support for production scheduling, fault prediction and optimization, and improving production efficiency and safety.
Smart Images

Figure CN119378203A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of digital twin technology, and in particular to a belt line simulation method, device, computer equipment, medium and product based on digital twin. Background Art
[0002] In the field of industrial automation, belt conveyors are key equipment for material transmission. Their efficient and stable operation is of great significance for improving production efficiency and reducing costs. In traditional methods, belt conveyor monitoring systems mainly rely on two-dimensional display technology, but due to the limitations of its dimensions, they cannot fully and intuitively display the three-dimensional spatial layout, complex paths, and dynamic operation of belt conveyors. Summary of the invention
[0003] Based on this, it is necessary to provide a belt line simulation method, device, computer equipment, medium and product based on digital twin that can restore the actual dynamic operation status of the belt line with high precision to address the above technical problems.
[0004] In a first aspect, the present application provides a belt line simulation method based on digital twin, comprising:
[0005] Build a digital twin model of the belt line based on the belt line’s geometric model and real-time operation data;
[0006] Create a 3D simulation scene and load the digital twin model into the 3D simulation scene;
[0007] In a three-dimensional simulation scenario, the digital twin model is controlled to perform simulation operations based on real-time operation data.
[0008] In one embodiment, the real-time operation data is stored in an internal memory in the form of a digital signal; and the step of constructing a digital twin model of the belt line according to the geometric model of the belt line and the real-time operation data comprises:
[0009] Convert the geometric model into digital format to obtain the digital twin model of the belt line;
[0010] Determine the mapping relationship between the geometric model and the real-time operation data, and load the digital signal corresponding to the real-time operation data into the digital twin model according to the mapping relationship.
[0011] In one embodiment, the step of loading the digital twin model into the three-dimensional simulation scene includes:
[0012] Convert the digital twin model into a graphic language transmission format, and render the converted digital twin model into a three-dimensional simulation scene;
[0013] Add environmental elements to the 3D simulation scene; environmental elements include light sources.
[0014] In one embodiment, the step of controlling the digital twin model to perform simulation operation based on real-time operation data includes:
[0015] Obtaining operating parameters according to real-time operating data; the operating parameters include movement speed and movement direction;
[0016] The digital twin model is driven to move based on the operating parameters, and the movement status of the digital twin model is displayed on the front-end page.
[0017] In one embodiment, the method further comprises:
[0018] Obtain the actual running track of the belt line and extract key points of the track in the actual running track;
[0019] Generate a virtual motion trajectory based on trajectory key points;
[0020] Control the digital twin model to run according to the virtual motion trajectory.
[0021] In one embodiment, the method further comprises:
[0022] Load the part model in the three-dimensional scene, and determine the trajectory points of the part model according to the virtual motion trajectory;
[0023] All trajectory points are interpolated and animated so that the motion trajectory of the part model matches that of the digital twin model.
[0024] In the second aspect, the present application also provides a belt line simulation device based on digital twin, including:
[0025] Model building module, used to build a digital twin model of the belt line based on the belt line's geometric model and real-time operation data;
[0026] A model loading module is used to create a three-dimensional simulation scene and load the digital twin model into the three-dimensional simulation scene;
[0027] The simulation operation module is used to control the digital twin model to perform simulation operation based on real-time operation data in a three-dimensional simulation scene.
[0028] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method steps of any one of the first aspects are implemented.
[0029] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements any one of the method steps in the first aspect when the computer program is executed by a processor.
[0030] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which implements any one of the method steps in the first aspect when executed by a processor.
[0031] The above-mentioned belt line simulation method, device, computer equipment, medium and product based on digital twin construct a digital twin model of the belt line according to the geometric model and real-time operation data of the belt line, create a three-dimensional simulation scene, and load the digital twin model into the three-dimensional simulation scene. In the three-dimensional simulation scene, the digital twin model is controlled to perform simulation operation based on real-time operation data, which can restore the actual operation status of the belt line with high precision in a virtual environment, provide strong support for production scheduling, fault prediction and optimization, thereby improving production efficiency and safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0033] FIG1 is an application environment diagram of a belt line simulation method based on digital twins in one embodiment;
[0034] FIG2 is a schematic diagram of a process flow of a belt line simulation method based on digital twins in one embodiment;
[0035] FIG3 is a schematic diagram of a digital twin model in one embodiment;
[0036] FIG4 is a schematic diagram of a flow chart of a belt line simulation method based on digital twins in another embodiment;
[0037] FIG5 is a structural block diagram of a belt line simulation device based on digital twin in one embodiment;
[0038] FIG. 6 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0040] The belt line simulation method based on digital twin provided in the embodiment of the present application can be applied in the application environment shown in FIG1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the server 104 is used to provide real-time operation data of the belt line. The terminal 102 is used to construct a digital twin model of the belt line according to the geometric model and real-time operation data of the belt line, create a three-dimensional simulation scene, and load the digital twin model into the three-dimensional simulation scene. In the three-dimensional simulation scene, the digital twin model is controlled to perform simulation operation based on the real-time operation data. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head mounted device may be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The server 104 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0041] In an exemplary embodiment, as shown in FIG2 , a belt line simulation method based on digital twin is provided, and the method is applied to the terminal 102 in FIG1 as an example for explanation, including the following steps 202 to 206. Among them:
[0042] S202: Construct a digital twin model of the belt line based on the geometric model of the belt line and real-time operation data.
[0043] Optionally, a precise geometric model of the belt line is created through 3D modeling software. The geometric model can reflect the physical characteristics of the belt line, such as structure, size, layout, etc. in detail. It usually includes key components such as belts, rollers, motors, brackets, baffles, and lifting and transferring machines. In order to simplify the complexity of the model, unnecessary internal part models can be removed. Real-time operation data can be collected in real time through devices such as PLC controllers, including parameters such as speed, rotation direction, start and stop status. In order to improve the accuracy of the data, preprocessing is usually required, including data cleaning, filtering, normalization and other steps to improve data quality and availability.
[0044] Furthermore, the real-time operation data is integrated with the geometric model, and the belt line status in the physical world is reflected in the digital twin model in real time through data mapping technology, ensuring that the model can accurately reflect the actual operation status of the belt line.
[0045] S204: Create a three-dimensional simulation scene and load the digital twin model into the three-dimensional simulation scene.
[0046] Optionally, a 3D simulation scene that matches the actual environment of the belt line is created through 3D modeling software or simulation platform. The simulation scene usually includes elements such as factory layout, equipment location, and lighting effects. After that, the constructed digital twin model is imported into the 3D simulation scene, and appropriate configuration and adjustment are performed to ensure seamless connection between the model and the scene. In addition, interactive functions and animation effects need to be set for the digital twin model so that it can simulate the actual operating status in the simulation scene, such as starting, stopping, and speed regulation of the belt line.
[0047] S206: In the three-dimensional simulation scene, the digital twin model is controlled to perform simulation operation based on the real-time operation data.
[0048] Optionally, a server program is written using JAVA technology to receive data uploaded by the PLC controller in real time, thus achieving real-time data synchronization between the physical world and the digital twin model. Real-time operating data collected by sensors and other devices are transmitted to the simulation platform to update the state of the digital twin model. Afterwards, control algorithms are set in the simulation platform to control and adjust the digital twin model according to the real-time operating data. These algorithms can simulate the control logic and strategies in the physical world, so that the digital twin model can be simulated according to the actual operating state.
[0049] Furthermore, in the three-dimensional simulation scene, the digital twin model performs simulation operation based on real-time operation data and control algorithms. The three-dimensional simulation scene can be displayed on the front-end page, and the user can directly observe the dynamic changes of the model in the simulation scene, such as the movement of the belt line, changes in load, etc.
[0050] In the above-mentioned belt line simulation method based on digital twin, a digital twin model of the belt line is constructed according to the geometric model of the belt line and real-time operation data, a three-dimensional simulation scene is created, and the digital twin model is loaded into the three-dimensional simulation scene. In the three-dimensional simulation scene, the digital twin model is controlled to perform simulation operation based on real-time operation data, which can restore the actual operation status of the belt line with high precision in a virtual environment, provide strong support for production scheduling, fault prediction and optimization, thereby improving production efficiency and safety.
[0051] In an exemplary embodiment, real-time operation data is stored in an internal memory in the form of digital signals; the steps of constructing a digital twin model of the belt line based on the geometric model of the belt line and the real-time operation data include: converting the geometric model into a digital format to obtain a digital twin model of the belt line; determining a mapping relationship between the geometric model and the real-time operation data, and loading the digital signal corresponding to the real-time operation data into the digital twin model according to the mapping relationship.
[0052] Optionally, convert the digital twin model (which may be a model from CAD, BIM or other design software) into glTF (GL Transmission Format) format. glTF is a lightweight, open standard format for efficiently transmitting and loading 3D models, including their geometry, materials, textures, and animations. The purpose of the conversion is to enable the model to be read and rendered by a variety of 3D visualization tools or engines (such as Three.js) across platforms and applications.
[0053] Furthermore, the mapping relationship between the geometric model and the real-time operation data is determined, and the corresponding data channel is established to transmit the data in real time by identifying the corresponding relationship between each part in the model and the actual physical device or system. According to the mapping relationship, the real-time operation data is loaded into the digital twin model. Once the real-time operation data is loaded into the model, the digital twin model will keep in sync with the actual physical device or system. As the real-time operation data is continuously updated, the digital twin model will also dynamically update its status to reflect the latest device or system information.
[0054] In this embodiment, the integration of real-time operation data enables operation and maintenance personnel to monitor the operating status of the belt line in real time and perform predictive maintenance. The digital twin model provides a virtual test environment, which can simulate and optimize the design and layout of the belt line without interrupting actual production, thereby improving production efficiency and safety.
[0055] In an exemplary embodiment, the step of loading a digital twin model into a three-dimensional simulation scene includes: converting the digital twin model into a graphic language transmission format, and rendering the converted digital twin model into the three-dimensional simulation scene; adding environmental elements to the three-dimensional simulation scene; the environmental elements include light sources.
[0056] Optionally, a JavaScript 3D library such as Three.js is used to load the glTF format model into the 3D simulation scene through its built-in GLTFLoader method. Three.js is responsible for processing the rendering logic of the model, including calculating lighting, shadows, texture mapping, etc., to present a realistic 3D effect in the web browser. After that, environmental elements such as light sources, ground, background, etc. are added to the 3D simulation scene to create a more realistic environment atmosphere. Among them, the addition of light sources will directly affect the appearance and visibility of the model, so that the model presents different visual effects under different lighting conditions. By setting realistic lighting effects, by adjusting the type of light source (such as point light source, parallel light, spotlight, etc.), color, intensity, position and other parameters, the influence of natural light or artificial light source on the model is simulated, and the camera angle and parameters are adjusted to ensure that the model is presented to the user at the best viewing angle in the scene.
[0057] In this embodiment, by combining the digital twin model with the three-dimensional simulation scene, the operating status of the actual belt line can be restored with high precision in the virtual environment, providing strong support for production scheduling, fault prediction and optimization, thereby improving production efficiency and safety.
[0058] In an exemplary embodiment, the steps of controlling the digital twin model to perform simulation operation based on real-time operation data include: obtaining operation parameters according to the real-time operation data; the operation parameters include movement speed and movement direction; driving the digital twin model to move based on the operation parameters, and displaying the movement status of the digital twin model on the front-end page.
[0059] Optionally, the PLC collects running data in real time, including key parameters such as movement speed and direction, and the PLC pushes the collected data to the MQTT server in real time through the MQTT protocol. MQTT is a lightweight, publish / subscribe-based message transmission protocol that is very suitable for device-to-device communication in the Internet of Things (IoT) scenario. The MQTT server acts as a data transfer station, receives data from the PLC, and forwards the data to the corresponding terminal based on the subscription relationship. The browser terminal receives data from the MQTT server by subscribing to a specific MQTT topic.
[0060] Furthermore, after receiving the MQTT message, the browser terminal first parses the data to extract operating parameters such as movement speed and direction, and performs logical processing based on the parsed operating parameters, such as verifying the validity of the data and calculating the movement trajectory of the model. Afterwards, the processed operating parameters are passed to the digital twin model to drive the model to perform corresponding movements. The movement status of the digital twin model is displayed in real time on the front-end page, and the user can intuitively observe the operating status of the model through the visual interface.
[0061] In this embodiment, by controlling the digital twin model based on real-time operation data, it is possible to ensure that the motion state of the model is highly consistent with the actual device, thereby improving the accuracy and real-time performance of the simulation. In addition, the visual display of the front-end page allows the user to intuitively observe the motion state of the digital twin model, facilitating troubleshooting and performance optimization.
[0062] In an exemplary embodiment, the method also includes: obtaining the actual running trajectory of the belt line, extracting the trajectory key points in the actual running trajectory; generating a virtual motion trajectory based on the trajectory key points; and controlling the digital twin model to run according to the virtual motion trajectory.
[0063] Optionally, the motion data of the belt, including position, speed, etc., are collected in real time by sensors arranged on the belt line, and the collected data is processed to extract key points in the trajectory, which can be turning points of the trajectory, points of speed change, etc., for subsequent generation of virtual motion trajectories. Afterwards, a smooth virtual motion trajectory is generated based on the extracted trajectory key points using mathematical algorithms (such as interpolation algorithms, curve fitting, etc.), and this virtual motion trajectory will serve as a reference path for the movement of the digital twin model.
[0064] Furthermore, the data of the virtual motion trajectory is input into the digital twin system to control the digital twin model to move along this trajectory. In addition, the rotation effect of the belt can be simulated by changing the UV value offset of the belt texture map on the surface of the digital twin model. The positive and negative values of the UV offset determine the direction of the texture rotation.
[0065] Specifically, a 3D graphics library such as Three.js is used to draw the running trajectory (Path) of the belt line in the digital twin system. The visible property of the Path is set to false to hide the trajectory line itself, but it is retained as a reference for model motion control. The UV coordinates of the texture map are controlled by programming to change over time, thereby simulating the visual effect of the belt rotation.
[0066] In this embodiment, by acquiring the operating data of the belt line in real time and quickly generating a virtual motion trajectory, the movement of the digital twin model is highly synchronized with the actual belt line. By extracting the key points of the trajectory and generating a smooth virtual motion trajectory, the accuracy and authenticity of the model movement are improved.
[0067] In an exemplary embodiment, the method also includes: loading a part model in a three-dimensional scene, determining trajectory points of the part model based on a virtual motion trajectory; and performing interpolation animation processing on all trajectory points so that the motion trajectory of the part model matches the motion trajectory of the digital twin model.
[0068] Optionally, as shown in Figure 3, Figure 3 is a simplified structural schematic diagram of the digital twin model of the belt line. In the actual production process, the belt line can be used to transport parts. In order to further simulate the movement state of the parts on the belt line, the part model can be constructed in a similar way and loaded into the three-dimensional scene.
[0069] Furthermore, according to the virtual motion trajectory of the digital twin model, the key points (i.e., trajectory points) of the part model on the trajectory are determined, and all trajectory points are processed using an interpolation algorithm to generate a smooth animation path. Afterwards, through Tween.js, the movement mode of the part model from one trajectory point to the next can be set, including parameters such as time, speed, and acceleration, to achieve a smooth animation effect. Based on the dense three-dimensional coordinate point arrays (these point arrays represent the movement routes of the parts on the belt line), combined with the interpolation animation function of Tween.js, the position changes of the part model in the three-dimensional scene are controlled to simulate its movement on the belt line.
[0070] Furthermore, in other embodiments, a transfer machine model of the transfer machine can be loaded into the three-dimensional scene, and by receiving the lifting and lowering signal of the jacking and transferring, the y-axis coordinate value of the transfer machine model in the three-dimensional scene can be dynamically adjusted to restore the lifting and lowering action of the transfer machine.
[0071] In this embodiment, the motion trajectory and movements of the part model and the transfer machine model are precisely controlled to improve the simulation accuracy of the digital twin system, making it closer to the actual operation of the equipment. The three-dimensional scene visualization allows users to intuitively observe the movement of the parts, thereby improving the reliability and maintainability of the belt line.
[0072] In an exemplary embodiment, as shown in FIG4 , a belt line simulation method based on digital twin is provided, and the method comprises the following steps:
[0073] S402: Convert the geometric model into a digital format to obtain a digital twin model of the belt line; determine the mapping relationship between the geometric model and the real-time operation data, and load the digital signal corresponding to the real-time operation data into the digital twin model according to the mapping relationship. The real-time operation data is stored in the internal memory in the form of a digital signal.
[0074] S404: Create a three-dimensional simulation scene, convert the digital twin model into a graphic language transmission format, and render the converted digital twin model into the three-dimensional simulation scene; add environmental elements to the three-dimensional simulation scene; the environmental elements include light sources.
[0075] S406: In a three-dimensional simulation scene, operation parameters are obtained according to real-time operation data; the operation parameters include movement speed and movement direction; the digital twin model is driven to move based on the operation parameters, and the movement status of the digital twin model is displayed on the front-end page.
[0076] S408: Obtain the actual running trajectory of the belt line, extract the key points of the trajectory in the actual running trajectory; generate a virtual motion trajectory according to the key points of the trajectory; and control the digital twin model to run according to the virtual motion trajectory.
[0077] S410: Load the part model in the three-dimensional scene, determine the trajectory points of the part model according to the virtual motion trajectory; perform interpolation animation processing on all trajectory points so that the motion trajectory of the part model matches the motion trajectory of the digital twin model.
[0078] In this embodiment, a digital twin model of the belt line is constructed according to the geometric model and real-time operation data of the belt line, a three-dimensional simulation scene is created, and the digital twin model is loaded into the three-dimensional simulation scene. In the three-dimensional simulation scene, the digital twin model is controlled to perform simulation operation based on the real-time operation data. The operating status of the actual belt line can be restored with high precision in a virtual environment, providing strong support for production scheduling, fault prediction and optimization, thereby improving production efficiency and safety.
[0079] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0080] Based on the same inventive concept, the embodiment of the present application also provides a belt line simulation device based on digital twins for implementing the belt line simulation method based on digital twins involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the belt line simulation device based on digital twins provided below can refer to the limitations of the belt line simulation method based on digital twins above, and will not be repeated here.
[0081] In an exemplary embodiment, as shown in FIG5 , a belt line simulation device based on digital twin is provided, comprising: a model building module 10, a model loading module 20 and a simulation running module 30, wherein:
[0082] The model building module 10 is used to build a digital twin model of the belt line based on the geometric model of the belt line and real-time operation data.
[0083] The model loading module 20 is used to create a three-dimensional simulation scene and load the digital twin model into the three-dimensional simulation scene.
[0084] The simulation operation module 30 is used to control the digital twin model to perform simulation operation based on real-time operation data in a three-dimensional simulation scene.
[0085] In an exemplary embodiment, real-time operation data is stored in an internal memory in the form of digital signals; the model building module 10 is also used to convert the geometric model into a digital format to obtain a digital twin model of the belt line; determine the mapping relationship between the geometric model and the real-time operation data, and load the digital signal corresponding to the real-time operation data into the digital twin model according to the mapping relationship.
[0086] In an exemplary embodiment, the model loading module 20 is also used to convert the digital twin model into a graphic language transmission format, and render the converted digital twin model into a three-dimensional simulation scene; add environmental elements to the three-dimensional simulation scene; and the environmental elements include light sources.
[0087] In an exemplary embodiment, the simulation operation module 30 is also used to obtain operation parameters based on real-time operation data; the operation parameters include movement speed and movement direction; the digital twin model is driven to move based on the operation parameters, and the movement status of the digital twin model is displayed on the front-end page.
[0088] In an exemplary embodiment, the simulation operation module 30 is also used to obtain the actual operation trajectory of the belt line, extract the trajectory key points in the actual operation trajectory; generate a virtual motion trajectory based on the trajectory key points; and control the digital twin model to run according to the virtual motion trajectory.
[0089] In an exemplary embodiment, the simulation operation module 30 is also used to load a part model in a three-dimensional scene, determine the trajectory points of the part model according to the virtual motion trajectory, and perform interpolation animation processing on all trajectory points so that the motion trajectory of the part model matches the motion trajectory of the digital twin model.
[0090] Each module in the above-mentioned belt line simulation device based on digital twin can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0091] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG6. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a belt line simulation method based on digital twins is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0092] Those skilled in the art will understand that the structure shown in FIG. 6 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0093] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: constructing a digital twin model of a belt line according to a geometric model of the belt line and real-time operation data; creating a three-dimensional simulation scene, and loading the digital twin model into the three-dimensional simulation scene; in the three-dimensional simulation scene, controlling the digital twin model to perform simulation operation based on the real-time operation data.
[0094] In one embodiment, real-time operation data is stored in an internal memory in the form of digital signals; when the processor executes a computer program, a digital twin model of the belt line is constructed based on the geometric model of the belt line and the real-time operation data, including: converting the geometric model into a digital format to obtain a digital twin model of the belt line; determining a mapping relationship between the geometric model and the real-time operation data, and loading the digital signal corresponding to the real-time operation data into the digital twin model according to the mapping relationship.
[0095] In one embodiment, the loading of a digital twin model into a three-dimensional simulation scene involved in executing a computer program by a processor includes: converting the digital twin model into a graphic language transmission format, and rendering the converted digital twin model into the three-dimensional simulation scene; adding environmental elements to the three-dimensional simulation scene; the environmental elements include light sources.
[0096] In one embodiment, when a processor executes a computer program, the control of a digital twin model based on real-time operating data for simulation operation includes: obtaining operating parameters based on real-time operating data; the operating parameters include movement speed and movement direction; driving the digital twin model to move based on the operating parameters, and displaying the movement status of the digital twin model on the front-end page.
[0097] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the actual running trajectory of the belt line, extracting the trajectory key points in the actual running trajectory; generating a virtual motion trajectory based on the trajectory key points; and controlling the digital twin model to run according to the virtual motion trajectory.
[0098] In one embodiment, when the processor executes the computer program, the following steps are also implemented: loading the part model in the three-dimensional scene, and determining the trajectory points of the part model according to the virtual motion trajectory; performing interpolation animation processing on all trajectory points so that the motion trajectory of the part model matches the motion trajectory of the digital twin model.
[0099] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: constructing a digital twin model of the belt line based on the geometric model of the belt line and real-time operation data; creating a three-dimensional simulation scene, and loading the digital twin model into the three-dimensional simulation scene; in the three-dimensional simulation scene, controlling the digital twin model to perform simulation operation based on the real-time operation data.
[0100] In one embodiment, real-time operation data is stored in an internal memory in the form of digital signals; when the computer program is executed by the processor, a digital twin model of the belt line is constructed based on the geometric model of the belt line and the real-time operation data, including: converting the geometric model into a digital format to obtain a digital twin model of the belt line; determining a mapping relationship between the geometric model and the real-time operation data, and loading the digital signal corresponding to the real-time operation data into the digital twin model according to the mapping relationship.
[0101] In one embodiment, the computer program executed by the processor involves loading the digital twin model into a three-dimensional simulation scene, including: converting the digital twin model into a graphic language transmission format, and rendering the converted digital twin model into the three-dimensional simulation scene; adding environmental elements to the three-dimensional simulation scene; the environmental elements include light sources.
[0102] In one embodiment, when a computer program is executed by a processor, it involves controlling a digital twin model to perform simulation operation based on real-time operation data, including: obtaining operation parameters according to real-time operation data; the operation parameters include movement speed and movement direction; driving the digital twin model to move based on the operation parameters, and displaying the movement status of the digital twin model on the front-end page.
[0103] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the actual running trajectory of the belt line, extracting the trajectory key points in the actual running trajectory; generating a virtual motion trajectory based on the trajectory key points; and controlling the digital twin model to run according to the virtual motion trajectory.
[0104] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: loading a part model in a three-dimensional scene, and determining the trajectory points of the part model based on the virtual motion trajectory; performing interpolation animation processing on all trajectory points so that the motion trajectory of the part model matches the motion trajectory of the digital twin model.
[0105] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the following steps: constructing a digital twin model of a belt line based on a geometric model of the belt line and real-time operation data; creating a three-dimensional simulation scene, and loading the digital twin model into the three-dimensional simulation scene; in the three-dimensional simulation scene, controlling the digital twin model to perform simulation operation based on the real-time operation data.
[0106] In one embodiment, real-time operation data is stored in an internal memory in the form of digital signals; when the computer program is executed by the processor, a digital twin model of the belt line is constructed based on the geometric model of the belt line and the real-time operation data, including: converting the geometric model into a digital format to obtain a digital twin model of the belt line; determining a mapping relationship between the geometric model and the real-time operation data, and loading the digital signal corresponding to the real-time operation data into the digital twin model according to the mapping relationship.
[0107] In one embodiment, the computer program executed by the processor involves loading the digital twin model into a three-dimensional simulation scene, including: converting the digital twin model into a graphic language transmission format, and rendering the converted digital twin model into the three-dimensional simulation scene; adding environmental elements to the three-dimensional simulation scene; the environmental elements include light sources.
[0108] In one embodiment, when a computer program is executed by a processor, it involves controlling a digital twin model to perform simulation operation based on real-time operation data, including: obtaining operation parameters according to real-time operation data; the operation parameters include movement speed and movement direction; driving the digital twin model to move based on the operation parameters, and displaying the movement status of the digital twin model on the front-end page.
[0109] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the actual running trajectory of the belt line, extracting the trajectory key points in the actual running trajectory; generating a virtual motion trajectory based on the trajectory key points; and controlling the digital twin model to run according to the virtual motion trajectory.
[0110] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: loading a part model in a three-dimensional scene, and determining the trajectory points of the part model based on the virtual motion trajectory; performing interpolation animation processing on all trajectory points so that the motion trajectory of the part model matches the motion trajectory of the digital twin model.
[0111] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0112] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0113] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A belt line simulation method based on digital twin, characterized in that: The method comprises: Constructing a digital twin model of the belt line according to the geometric model and real-time operation data of the belt line; Creating a three-dimensional simulation scene, and loading the digital twin model into the three-dimensional simulation scene; In the three-dimensional simulation scene, the digital twin model is controlled to perform simulation operation based on the real-time operation data.
2. The method according to claim 1, characterized in that The real-time operation data is stored in the internal memory in the form of digital signals; The digital twin model of the belt line is constructed according to the geometric model of the belt line and the real-time operation data, including: Convert the geometric model into digital format to obtain the digital twin model of the belt line; A mapping relationship between the geometric model and the real-time operation data is determined, and a digital signal corresponding to the real-time operation data is loaded into the digital twin model according to the mapping relationship.
3. The method according to claim 1, characterized in that The step of loading the digital twin model into the three-dimensional simulation scene comprises: Converting the digital twin model into a graphic language transmission format, and rendering the converted digital twin model into the three-dimensional simulation scene; Environmental elements are added to the three-dimensional simulation scene; the environmental elements include light sources.
4. The method according to claim 1, characterized in that The controlling the digital twin model to perform simulation operation based on the real-time operation data includes: Acquire operation parameters according to the real-time operation data; the operation parameters include movement speed and movement direction; The digital twin model is driven to move based on the operating parameters, and the movement status of the digital twin model is displayed on a front-end page.
5. The method according to claim 4, characterized in that The method further comprises: Acquire the actual running track of the belt line, and extract key points of the track in the actual running track; Generate a virtual motion trajectory according to the trajectory key points; The digital twin model is controlled to run according to the virtual motion trajectory.
6. The method according to claim 5, characterized in that The method further comprises: Loading a part model in the three-dimensional scene, and determining the trajectory points of the part model according to the virtual motion trajectory; All trajectory points are interpolated and animated so that the motion trajectory of the part model matches the motion trajectory of the digital twin model.
7. A belt line simulation device based on digital twin, characterized in that: The device comprises: A model building module, used to build a digital twin model of the belt line according to the geometric model of the belt line and real-time operation data; A model loading module, used to create a three-dimensional simulation scene and load the digital twin model into the three-dimensional simulation scene; A simulation operation module is used to control the digital twin model to perform simulation operation based on the real-time operation data in the three-dimensional simulation scene.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.