Digital twin model enhanced simulation development platform based on B / S architecture
By building a digital twin model enhanced simulation development platform based on B/S architecture, the shortcomings of the existing platform in unit-level equipment simulation are solved, and refined digital twin model construction and real-time simulation are realized, which improves simulation accuracy and development efficiency.
Patent Information
- Application Number
- CN202510433741.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-07
- Publication Date
- 2025-08-01
AI Technical Summary
In the field of industrial Internet, especially smart parks and smart factories, the existing digital twin modeling platforms have relatively coarse model simulation size and cannot effectively simulate the logic of unit-level equipment, resulting in a large deviation from the actual results.
It provides a digital twin model enhanced simulation development platform based on B/S architecture, including model development layer, algorithm execution layer, simulation operation layer and communication service layer. Through three-dimensional attribute construction, script editing, the import of multiple simulation models and industrial communication protocols, it realizes refined digital twin model construction and real-time simulation of unit-level equipment.
It improves the mimicry of the digital twin model, can finely simulate unit-level equipment, reduces the deviation between test results and actual results, supports applications and deployment in multiple network environments, and improves simulation accuracy and platform development efficiency.
Smart Images

Figure CN120408955A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of digital twin, and relates to a digital twin model enhanced simulation development platform based on the B / S architecture. Background Art
[0002] Digital twin technology is a technology that realizes the monitoring, analysis, and optimization of the state of physical entities by creating virtual digital copies of physical entities. This technology has been widely applied in fields such as industrial Internet, intelligent manufacturing, and smart city.
[0003] The existing digital twin modeling platforms currently are digital twin basic development platforms based on the industrial Internet, mainly targeting the full-dimensional control of unit-level and system-level digital twin technologies in the business fields of smart parks and intelligent factories. They mainly focus on park-level simulations, and the simulation granularity of the models is relatively coarse, unable to well simulate the logic of unit-level devices, resulting in a large deviation between the test results and the actual results. Summary of the Invention
[0004] The purpose of the present invention is to address the deficiencies of existing digital twin platforms, and propose a digital twin model enhanced simulation development platform based on the B / S architecture, targeting unit-level and device-level physical real machines, improving the fidelity of the digital twin model through the form of co-simulation, and constructing a more refined digital twin model.
[0005] To achieve the above purpose, one aspect of the present invention provides a digital twin model enhanced simulation development platform based on the B / S architecture, including a model development layer, an algorithm execution layer, a simulation operation layer, and a communication service layer;
[0006] The model development layer is used to construct the digital twin model of the device, including a three-dimensional attribute construction module and a script editing module. The three-dimensional attribute construction module is used for the creation and modification of three-dimensional models, attribute construction, and attribute element configuration. The script editing module is used to provide scripts for different simulation stages;
[0007] The algorithm execution layer includes a simulation model operation module and an input / output and execution condition setting module. The simulation model operation module can import and load various types of simulation models. The input / output and execution condition setting module is used to set the input / output and execution conditions for the imported simulation models;
[0008] The simulation operation layer includes a logic script operation module, an algorithm model operation module, and a three-dimensional rendering module. The logic script operation module is used to execute corresponding scripts according to different simulation stages, and can read and write the attributes of the digital twin model, updating the attributes of the model through the script. The algorithm model operation module is used to run the simulation model according to the input / output and execution conditions. The three-dimensional rendering module is used to render the operation screen according to the attributes of the digital twin model;
[0009] The communication service layer includes a communication module and a connection configuration and data binding service module. The communication module is used to support the interaction and communication between the digital twin model and the device. The connection configuration and data binding service module is used to provide connection configuration services for multiple industrial communication protocols, and bind the data received by the communication to the attributes of the digital twin model to update the attributes of the digital twin model in real time.
[0010] Preferably, the creation and modification of the three-dimensional model include creating a three-dimensional model, editing and modifying the three-dimensional texture, and supporting the import of common three-dimensional model formats.
[0011] Preferably, the attribute construction includes configuring the size, rotation angle, and position of the three-dimensional model, and providing functions for configuring three-dimensional textures, texture maps, and texture coordinates.
[0012] Preferably, the attributes include data interfaces, physical parameters, performance parameters, electrical parameters, and environmental parameters.
[0013] Preferably, the device is a large motor. The data interface is used to configure the data interaction method between the motor and other devices or systems. The physical parameters include the mass and size of the motor. The performance parameters include power, efficiency, torque, and speed. The electrical parameters include voltage, current, and resistance. The environmental parameters include temperature and humidity.
[0014] Preferably, multiple types of simulation models include FMU, ONNX, and TensorFlow; multiple industrial communication protocols include MQTT, HTTP, Sparkplug, Modbus, and OPC UA.
[0015] Preferably, the scripts for different simulation stages include initialization functions, start simulation functions, update functions, and end functions.
[0016] Preferably, the initialization function is used to set the initial state of the three-dimensional model of the device before the simulation starts; the start simulation function is used to trigger the start of the simulation and initialize the simulation parameters and variables; the update function is used to update the attributes and states of the device according to the real-time state of the device and external conditions during the simulation operation; the end function is used to perform resource cleaning and data saving operations when the simulation ends.
[0017] The digital twin model enhanced simulation development platform based on the B / S architecture according to the above aspects of the present invention can be oriented to physical real machines at the unit level and device level, improve the fidelity of the digital twin model through the form of co-simulation, and build a more refined digital twin model. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] To more clearly illustrate the technical solution of the present invention, the following will briefly introduce the attached drawings used in the description of the embodiments of the present invention. Obviously, the attached drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other attached drawings can also be obtained based on these attached drawings:
[0019] Figure 1 It is the system architecture diagram of the digital twin model enhanced simulation development platform based on the B / S architecture in an embodiment of the present invention. Specific embodiments
[0020] To make the objectives, technical solutions and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions of the present invention in conjunction with the attached drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0021] An embodiment of the present invention provides a digital twin model enhanced simulation development platform based on the B / S architecture, as Figure 1 shown, the platform of the embodiment of the present invention includes a model development layer, an algorithm execution layer, a simulation operation layer, and a communication service layer.
[0022] (1) Model development layer
[0023] This layer is responsible for constructing the digital twin model of the device. Taking a large motor as an example, it includes a three-dimensional attribute construction module and a script editing module.
[0024] 1. Three-dimensional attribute construction module
[0025] 1) Creation and modification of three-dimensional models: Create an accurate three-dimensional model for the large motor, providing various creation methods, such as combination of basic geometric bodies, import of existing models, etc. The three-dimensional texture of the motor model can be finely edited and modified, such as the material texture of the motor housing and the detailed texture of the heat sink. Support for importing common general three-dimensional model formats, such as GLTF, GLB, FBX, OBJ, etc., to facilitate the use of existing three-dimensional model resources of the motor.
[0026] 2) Attribute construction: The size, rotation angle, and position of the motor model can be accurately configured. For example, simulate the operation of the motor in different installation positions and postures, and by adjusting the position and rotation angle of the model, make the digital twin model consistent with the state of the actual physical motor. Provide functions for configuring three-dimensional textures, texture maps, and texture coordinates. For different parts of the motor, such as the motor shaft and end cover, different textures and texture coordinates can be set respectively to present a more realistic appearance.
[0027] 3) Attribute element configuration: Provide the attribute element configuration of the motor model, covering data interfaces, physical parameters, performance parameters, electrical parameters, environmental parameters, etc. The data interface can configure the data interaction method between the motor and other devices or systems; physical parameters include the mass, size, etc. of the motor; performance parameters such as power, efficiency, torque, and speed; electrical parameters such as voltage, current, resistance, etc.; environmental parameters such as temperature, humidity, etc. These attributes can be read and written by other modules during simulation operation.
[0028] 2. Script editing module
[0029] Provide script code functions. The script code is, for example, JavaScript code. For the simulation of large motors, the script includes execution functions for four stages: initialization, start of simulation, update, and end.
[0030] 1) Initialization function: Before the start of the simulation, set the initial state of the motor model, such as the initial speed, initial temperature, etc. of the motor.
[0031] 2) Start simulation function: Trigger the start of the motor simulation and initialize relevant simulation parameters and variables.
[0032] 3) Update function: During the simulation operation, update the attributes and state of the motor according to the real-time state of the motor and external conditions. For example, update the heat dissipation and internal temperature of the motor according to the change of the environmental temperature.
[0033] 4) End function: At the end of the simulation, perform operations such as resource cleaning and data saving.
[0034] (2) Algorithm execution layer
[0035] This layer is mainly responsible for the operation of the simulation model and the setting of relevant parameters. Taking the simulation model of a large motor as an example, it includes a simulation model operation module and an input / output and execution condition setting module.
[0036] 1. Simulation model operation module: Can import and load various types of simulation models such as FMU, ONNX, TensorFlow, etc. For large motors, the FMU model can be used to simulate the dynamic characteristics of the motor, and the ONNX or TensorFlow model can be used to predict the faults and performance changes of the motor.
[0037] 2. Input / output and execution condition setting module: Set the input / output and execution conditions for the imported simulation model. For example, for the FMU model of the motor, the input can be parameters such as the voltage and load of the motor, and the output can be parameters such as the speed and torque of the motor. The execution condition can be set to start the model operation when the input voltage of the motor is within a certain range.
[0038] (3) Simulation operation layer
[0039] This layer implements the specific operation of the simulation. Taking large-scale motor simulation as an example, it includes a logic script running module, an algorithm model running module and a 3D rendering module.
[0040] 1. Logic Script Runtime Module: This module executes the corresponding motor model scripts according to the different simulation phases configured in the model development layer. During the initialization phase, the module executes the initialization function to set the initial state of the motor. During the update phase, the module executes the update function to update the motor's properties and state based on the motor's real-time state and external conditions. This module also reads and writes the properties of the digital twin motor model, updating the motor model's properties through scripts, such as updating the model's speed attribute based on the motor's real-time speed.
[0041] 2. Algorithm Model Execution Module: After the simulation starts, the FMU, ONNX, TensorFlow, and other simulation models are executed during the simulation process based on the input and output of the motor simulation model configured in the algorithm execution layer and the trigger conditions. For example, when the motor input voltage meets the execution conditions, the FMU model is executed to calculate parameters such as motor speed and torque.
[0042] 3. 3D Rendering Module: This module provides a WebGPU-based 3D rendering engine that renders images based on the corresponding object properties of the large-scale motor digital twin model. For example, based on motor speed, temperature, and other properties, it renders the dynamic operation and temperature changes of the motor, allowing for intuitive observation of the motor's operating status.
[0043] (4) Communication service layer
[0044] This layer supports interactive communication between the digital twin model and devices in the physical world. Taking large motors as an example, it includes communication modules and connection configuration and data binding service modules.
[0045] 1. Communication Module: Supports multiple industrial communication protocols, including MQTT, HTTP, Sparkplug, Modbus, and OPC UA. For large motors, MQTT can be used to communicate with the motor's sensors to obtain real-time data such as motor temperature and vibration. Modbus can also be used to communicate with the motor's controller to enable remote control of the motor.
[0046] 2. Connection Configuration and Data Binding Service Module: Provides connection configuration services and data binding services for different protocols. By binding the motor data received through communication to the object attributes of the digital twin motor model, the object attributes of the digital twin motor model can be directly updated through the communication service during simulation operation. For example, bind the motor temperature data collected by the sensor to the temperature attribute of the digital twin model. When the sensor data is updated, the temperature attribute of the digital twin model is also updated.
[0047] The full - process development of the digital twin model enhanced simulation development platform based on the B / S architecture in the embodiments of the present invention is as follows.
[0048] 1. Model Construction Phase: In the model development layer, use the three - dimensional attribute construction module to create a three - dimensional model of a large - scale motor, configure its basic attributes and textures, and set various attribute elements of the motor, such as data interfaces, physical parameters, etc. Use the script editing module to write the script code for motor simulation.
[0049] 2. Algorithm Configuration Phase: In the algorithm execution layer, import a simulation model suitable for a large - scale motor, such as an FMU model. Set the input, output, and execution conditions of the model. For example, the input is the motor voltage, the output is the motor speed, and the execution condition is that the voltage is within a certain range.
[0050] 3. Simulation Operation Phase: In the simulation operation layer, the logic script running module executes the script code to initialize the state of the motor model. The algorithm running module runs the simulation model according to the configured input, output, and execution conditions to calculate the operating parameters of the motor. The three - dimensional rendering module renders the operating picture of the motor according to the attributes of the motor model.
[0051] 4. Communication Interaction Phase: In the communication service layer, communicate with the motor device in the physical world through the communication module to obtain the real - time data of the motor. Bind the data received through communication to the object attributes of the digital twin model to update the state of the digital twin model in real - time, realizing the synchronization between the digital twin model and the physical motor.
[0052] The digital twin model enhanced simulation development platform based on the B / S architecture in the embodiments of the present invention has the following
[0053] Beneficial effects:
[0054] 1. The platform adopts the B / S architecture and supports the real-time communication between the digital twin model and the physical entity device through multiple protocols such as the MQTT protocol in the communication service layer. By loading various 3D model formats such as GLTF, GLB, FBX, and OBJ in the model development layer, relevant parameters can be modified and edited to achieve the full-process development and configuration from the model scene, data structure to data docking. A joint simulation scene can be built around the requirements in the device design stage and the production and use stage, supporting applications and deployments in various network environments and being compatible with interfaces of various common models, data, systems, etc.
[0055] 2. Through the algorithm execution layer, it supports loading and reusing AI simulation models (such as ONNX models) or physical system simulation models (such as FMU models), and rendering the digital twin model with the output results, solving problems such as low development efficiency of traditional model platforms, lack of dedicated simulation models, only outputting simulation results through multivariate functions, poor simulation accuracy, inability to reuse models, and complex system deployment. It provides a low-code configuration platform, enhancing the simulation accuracy of the digital twin model through scripts and algorithm models, and enabling device simulation, diagnosis, prediction, etc. through industrial data transmitted via communication in the design, pilot test, and operation and maintenance links.
[0056] Only some exemplary embodiments of the present invention have been described above by way of illustration. Without doubt, for those of ordinary skill in the art, the described embodiments can be modified in various different ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the protection scope of the claims of the present invention.
Claims
1. A digital twin model enhanced simulation development platform based on the B / S architecture, characterized in that, It includes a model development layer, an algorithm execution layer, a simulation operation layer, and a communication service layer; The model development layer is used to construct a digital twin model of the device, including a 3D attribute construction module and a script editing module. The 3D attribute construction module is used for creating and modifying 3D models, constructing attributes, and configuring attribute elements. The script editing module is used to provide scripts for different simulation stages; The algorithm execution layer includes a simulation model operation module and an input / output and execution condition setting module. The simulation model operation module can import and load various types of simulation models. The input / output and execution condition setting module is used to set the input / output and execution conditions for the imported simulation models; The simulation operation layer includes a logic script operation module, an algorithm model operation module, and a 3D rendering module. The logic script operation module is used to execute corresponding scripts according to different simulation stages, and can read and write the attributes of the digital twin model, and update the attributes of the model through the scripts. The algorithm model operation module is used to operate the simulation model according to the input / output and execution conditions. The 3D rendering module is used to render the operation screen according to the attributes of the digital twin model; The communication service layer includes a communication module and a connection configuration and data binding service module. The communication module is used to support the interactive communication between the digital twin model and the device. The connection configuration and data binding service module is used to provide connection configuration services for various industrial communication protocols, and bind the data received by the communication to the attributes of the digital twin model, and update the attributes of the digital twin model in real time.
2. The platform according to claim 1, wherein The creation and modification of the 3D model include creating a 3D model, editing and modifying 3D textures, and supporting the import of common 3D model formats.
3. The platform according to claim 1 or 2, characterized in that, The attribute construction includes configuring the size, rotation angle, and position of the 3D model, and providing functions for configuring 3D textures, texture maps, and texture coordinates.
4. The platform according to claim 1 or 2, characterized in that, The attributes include data interfaces, physical parameters, performance parameters, electrical parameters, and environmental parameters.
5. The platform according to claim 4, wherein The device is a large motor. The data interface is used to configure the data interaction method between the motor and other devices or systems. The physical parameters include the mass and size of the motor. The performance parameters include power, efficiency, torque, and speed. The electrical parameters include voltage, current, and resistance. The environmental parameters include temperature and humidity.
6. The platform according to claim 1 or 2, characterized in that, Various types of simulation models include FMU, ONNX, and TensorFlow; various industrial communication protocols include MQTT, HTTP, Sparkplug, modbus, and OPC UA.
7. The platform according to claim 1 or 2, characterized in that, Scripts for different simulation stages include initialization functions, start simulation functions, update functions, and end functions.
8. The platform according to claim 7, wherein The initialization function is used to set the initial state of the 3D model of the device before the simulation starts; the start simulation function is used to trigger the start of the simulation, and initialize the simulation parameters and variables; The update function is used to update the attributes and status of the device according to the real-time status of the device and external conditions during the simulation operation. The end function is used to perform resource cleaning and data saving operations when the simulation ends.