A monitoring method and device based on digital twin

By building a digital twin virtual model library and dynamic mapping technology, combined with the OPC UA protocol, the problem of insufficient interactivity and scalability of digital twin technology in manufacturing workshop monitoring is solved, real-time, virtual and real synchronized remote monitoring is achieved, and the workshop is improved. Digital level.

CN118378451BActive Publication Date: 2024-10-01STATE GRID JIANGSU ELECTRIC POWER CO LTD RESEARCH INSTITUTE +3
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410807297.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-01
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

Existing digital twin technology has a single visual monitoring function and insufficient business module interactivity and scalability in the monitoring of manufacturing workshops. It is difficult to achieve real-time, virtual and real synchronization, and accurate remote monitoring, which limits the improvement of the digital level of the workshop.

Method used

By pre-building a digital twin virtual model library, building a virtual scene, determining the data transmission method, and combining the dynamic mapping of the monitoring workshop with the virtual scene to achieve real-time reflection and analysis of data, the OPC UA protocol is used for data interaction and encrypted transmission to achieve real-time, Remote monitoring of virtual and real synchronization.

Benefits of technology

It achieves real-time, virtual and real synchronization, and accurate remote monitoring of the manufacturing workshop. It is widely applicable to various scenarios, improves the digital level of the workshop, ensures effective collection and management of data, and provides a full range of three-dimensional monitoring capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118378451B_ABST
    Figure CN118378451B_ABST
Patent Text Reader

Abstract

The present invention discloses a monitoring method and device based on digital twins, and the monitoring method specifically includes the following steps: pre-constructing a digital twin virtual model library, and building a virtual scene for a monitoring workshop; determining the data transmission method between the monitoring workshop and the virtual scene based on the target equipment type in the monitoring workshop; combining the dynamic mapping between the monitoring workshop and the virtual scene, reflecting the data in the monitoring workshop to the virtual scene; and realizing monitoring based on digital twins by analyzing and presenting the data in the monitoring workshop received in the virtual scene. The monitoring solution based on digital twins provided by the present invention can be widely applied to manufacturing workshops in various scenarios, and realizes real-time, virtual-real synchronization, and accurate remote monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of digital twins, and specifically relates to a monitoring method and device based on digital twins. Background Art

[0002] With the continuous advancement of technology, the number and types of hardware equipment in the manufacturing workshop have increased significantly, and the production business has become more and more complex. Management often needs to reasonably adjust production plans and resource allocation according to the on-site operation of the manufacturing workshop to improve the production efficiency of each equipment in the workshop. Therefore, real-time monitoring of various equipment and production business processes in the manufacturing workshop has become a research hotspot in intelligent manufacturing.

[0003] For example, patent CN103208054A provides a method and system for fine-grained monitoring of work-in-process inventory in the production process of discrete workshops. By using label technology, information collection devices, information interaction equipment, work-in-process inventory information collection and management systems, system integration interfaces, etc., the work-in-process flow information of each link in the workshop production process is collected in real time and accurately, and the data information is transmitted to the work-in-process inventory information management center for processing. When the inventory quantity of the work-in-process warehouse reaches the alarm threshold, the alarm device is triggered, and finally the fine-grained monitoring of the work-in-process inventory in the production process of discrete workshops is realized. This solution can be widely used in discrete workshops and has the characteristics of high stability, strong versatility, and good scalability.

[0004] In order to realize the visual monitoring of the main business and the whole process in the manufacturing workshop, there is a technical research through digital twin technology. For example, patent CN117908480A provides a real-time monitoring method and system for the production process of an assembly workshop based on digital twin technology. By collecting data from the assembly workshop based on digital twin technology and then building a 1:1 model and updating it in real time, the monitoring results of each process are displayed in real time on the model, and the model is visualized. By collecting the reflected light data of the workers wearing work clothes, the workers' action status at this time is judged, and the digital monitoring of the assembly workshop is realized. When a fault occurs, the fault location and cause can be clearly and intuitively found from the model, which is convenient for maintenance personnel to perform maintenance, improves maintenance efficiency, and reduces the monitoring pressure of the staff on the assembly workshop, which can reduce the probability of abnormal situations in the assembly workshop.

[0005] However, the current visual monitoring reflected by digital twin technology has a single business function, and the interactivity and scalability between various business modules are insufficient, which is not conducive to the universal promotion and application of visual simulation.

[0006] Therefore, how to monitor the manufacturing workshop in real time and explore real-time, virtual-real synchronization, and accurate remote monitoring that can be widely applied to the monitoring field of manufacturing workshops to achieve a comprehensive improvement in the digitalization level of workshops is an urgent problem to be solved by technical personnel in this field. Summary of the invention

[0007] In view of the defects existing in the above-mentioned prior art, the present invention provides a monitoring method and device based on digital twins. The monitoring method specifically includes the following steps: pre-constructing a digital twin virtual model library and building a virtual scene for the monitoring workshop; determining the data transmission method between the monitoring workshop and the virtual scene based on the target equipment type in the monitoring workshop; combining the dynamic mapping between the monitoring workshop and the virtual scene, reflecting the data in the monitoring workshop to the virtual scene; and realizing monitoring based on digital twins by analyzing and presenting the data in the monitoring workshop received in the virtual scene. The monitoring solution based on digital twins provided by the present invention can be widely applied to manufacturing workshops in various scenarios, realizing real-time, virtual-real synchronization, and accurate remote monitoring.

[0008] In a first aspect, the present invention provides a monitoring method based on digital twins, which specifically comprises the following steps:

[0009] Pre-build a digital twin virtual model library and create a virtual scene for monitoring workshops;

[0010] Based on the target equipment type in the monitoring workshop, determine the data transmission method between the monitoring workshop and the virtual scene;

[0011] Combined with the dynamic mapping between the monitoring workshop and the virtual scene, the data in the monitoring workshop is reflected in the virtual scene;

[0012] Digital twin-based monitoring is achieved by analyzing and presenting the data received from the monitoring workshop in the virtual scene.

[0013] Furthermore, the digital twin virtual model library includes appearance models, feature models and operation models.

[0014] Furthermore, the digital twin virtual model library is pre-built, which specifically includes the following steps:

[0015] Determine the production process metadata of the monitoring workshop, the production process metadata includes personnel metadata, equipment metadata, material and / or product metadata, and environmental metadata, and the equipment metadata includes shape, size, color, assembly relationship, and relative position relationship;

[0016] Build an appearance model based on shape and size;

[0017] Combine the appearance model with assembly relationships and relative position relationships to construct feature models and operation models.

[0018] Furthermore, the feature model and operation model are constructed by combining the appearance model, assembly relationship, and relative position relationship, including:

[0019] ;

[0020] in, To monitor the characteristic attributes of the workshop digital twin, is the characteristic attribute function, They monitor the mass, torque, mass center of gravity, contact shape and contact position of each target equipment in the workshop digital twin respectively;

[0021] ;

[0022] in, To monitor the operational attributes of the workshop digital twin, is the operation attribute function, To monitor the mobility properties of the workshop digital twin, To monitor the mobile control properties of the workshop digital twin, To monitor the drive signals of the workshop digital twin, is the moving attribute function, They are the rotation reference body, rotation axis vector, anchor point, initial angle and rotation axis rotation angle of each target equipment in the digital twin of the monitoring workshop. is the movement control function, They monitor the operation type, operation path, operation speed and operation acceleration of each target equipment in the workshop digital twin. is the driving signal function, They monitor the driving signals of each target device P1~Pn in the digital twin of the workshop respectively.

[0023] Furthermore, the digital twin virtual model library also includes an interface model. The construction of the interface model is specifically expressed as follows:

[0024]

[0025] in, To monitor the interface properties of the workshop digital twin, is the interface property function, They monitor the driving signals of each target device P1~Pn in the workshop digital twin respectively. Corresponding to The interface signal, They are interface information functions respectively.

[0026] Further, data collection and data output of the monitoring workshop are respectively performed through the first OPC UA server and the second OPC UA server, and data reception of the virtual scene is performed through the OPC UA client;

[0027] The data transmission between the first OPC UA server, the second OPC UA server and the OPC UA client is through the data transmission structure of the OPC UA S / C.

[0028] Further, based on the target equipment type in the monitoring workshop, the data transmission mode between the monitoring workshop and the virtual scene is determined, which specifically includes the following steps:

[0029] According to the addressing of each target device in the monitoring workshop by the OPC UA client, the device address of each target device is stored in the first OPC UA server;

[0030] The first OPC UA server obtains the target device data, and transmits the target device data to the second OPC UA server after protocol conversion;

[0031] The second OPC UA server transmits the converted data to the OPC UA client.

[0032] Furthermore, before the second OPC UA server transmits the converted data to the OPC UA client, the following steps are further included:

[0033] Split the converted data to obtain each group of data to be encrypted with equal length;

[0034] Perform data replacement on the encrypted data blocks and then perform row shift operation;

[0035] The row-shifted data is circularly encrypted using the current circular encryption key through a circular encryption function;

[0036] Each round of encryption will generate a new round of encryption key, use the new round of encryption key to replace the current round of encryption key, return and repeat the encryption process until the replacement of N-1 rounds of encryption keys is completed, and after completing N rounds of encryption, the encryption of the converted data is completed and the ciphertext is output, where N is the preset number of rounds of encryption.

[0037] Furthermore, data replacement is specifically expressed as:

[0038]

[0039] in, Indicates the length of the data to be encrypted. Indicates the attribute information of the data to be encrypted. Indicates the data after data replacement;

[0040] Row shift operation, specifically expressed as:

[0041]

[0042] in, Represents asymmetric encryption, represents the generator, The data after row shift calculation;

[0043] Cyclic encryption, specifically expressed as:

[0044]

[0045] in, represents a circular encryption function, The encrypted data is cyclically encrypted.

[0046] Furthermore, in combination with the dynamic mapping between the monitoring workshop and the virtual scene, the data in the monitoring workshop is reflected to the virtual scene, which specifically includes the following steps:

[0047] Obtaining a device address of a target device stored in the first OPC UA server, and determining the target device;

[0048] Match the target device data of the first OPC UA server with the model of the digital twin virtual model library to complete the signal mapping of the production process metadata;

[0049] Among them, the format types of production process metadata include data name, I / O type, data type, and path.

[0050] Furthermore, the target device data of the first OPC UA server is matched with the model of the digital twin virtual model library, which is specifically expressed as follows:

[0051] ;

[0052] in, is the matching function, The target device data type of the first OPC UA server number i, For the corresponding The numerical value of is the target device data type of model number j, R is the relational operator, For the corresponding where m is the total number of target device data types required by the model, and n is the total number of target device data types of the first OPC UA server.

[0053] In a second aspect, the present invention further provides a monitoring device based on digital twins, which adopts the monitoring method based on digital twins as described above, specifically comprising:

[0054] The construction unit is used to pre-build a digital twin virtual model library and build a virtual scene for monitoring workshops;

[0055] The configuration setting unit is used to determine the data transmission mode between the monitoring workshop and the virtual scene based on the target equipment type in the monitoring workshop; and reflect the data in the monitoring workshop to the virtual scene in combination with the dynamic mapping between the monitoring workshop and the virtual scene;

[0056] The display unit is used to realize monitoring based on digital twins by analyzing and presenting the data in the monitoring workshop received in the virtual scene.

[0057] The present invention provides a monitoring method and device based on digital twins, which have at least the following beneficial effects:

[0058] (1) The digital twin-based monitoring solution provided by the present invention can be widely applied to manufacturing workshops in various scenarios, realizing real-time, virtual-real synchronization, and accurate remote monitoring.

[0059] (2) Adopt the OPC UA information modeling method to realize data interaction, unify and standardize the protocols of various devices through the OPC UA protocol, establish a standardized interface for data transmission, and present the information in different formats generated by different types of devices in a standard format to achieve effective data collection and management, so that multi-source heterogeneous data can be integrated and transmitted in the digital twin platform.

[0060] (3) The data obtained from the monitoring workshop drives the operation of the virtual scene in real time. Through the virtual scene, the production process of the physical workshop can be monitored in real time in all directions, at any distance and angle in a three-dimensional scene. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 A schematic diagram of an architecture based on digital twin visualization provided by the present invention;

[0062] Figure 2 A schematic diagram of a process flow of a monitoring method based on digital twins provided by the present invention;

[0063] Figure 3 A schematic diagram of a process for building a digital twin virtual model library according to a certain embodiment of the present invention;

[0064] Figure 4 A schematic diagram of a flow chart for determining a data transmission method between a monitoring workshop and a virtual scene in a certain embodiment provided by the present invention;

[0065] Figure 5 A schematic diagram of a process of cyclically encrypting conversion data according to an embodiment of the present invention;

[0066] Figure 6 A schematic diagram of a process for reflecting data in a monitoring workshop to a virtual scene according to an embodiment of the present invention;

[0067] Figure 7 A schematic structural diagram of a monitoring device based on digital twins provided by the present invention. DETAILED DESCRIPTION

[0068] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0069] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.

[0070] It should also be noted that the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the commodity or device including the elements.

[0071] The current visual monitoring through digital twin technology has a single business function, and the interactivity and scalability between various business modules are insufficient, which is not conducive to the universal promotion and application of visual simulation.

[0072] like Figure 1 As shown, the digital twin visualization architecture provided by the present invention includes a physical layer, a network layer, a data layer, a model layer and an application service layer.

[0073] The physical layer obtains real-time data from the target equipment in the monitoring workshop and transmits the received instructions to the corresponding target equipment to perform the specified tasks. The network layer can realize data interaction between the physical layer and the data layer.

[0074] The data layer will classify and organize the data of the target equipment in the monitoring workshop, form data sets of different types and uses, and provide these data sets to the model layer and application service layer for further processing and analysis. The application service layer can intuitively visualize the monitoring workshop.

[0075] According to the constructed digital twin visualization architecture, the present invention provides a monitoring method based on digital twins, such as Figure 2 As shown, the specific steps include:

[0076] Pre-build a digital twin virtual model library and create a virtual scene for monitoring workshops;

[0077] Based on the target equipment type in the monitoring workshop, determine the data transmission method between the monitoring workshop and the virtual scene;

[0078] Combined with the dynamic mapping between the monitoring workshop and the virtual scene, the data in the monitoring workshop is reflected in the virtual scene;

[0079] Digital twin-based monitoring is achieved by analyzing and presenting the data received from the monitoring workshop in the virtual scene.

[0080] The digital twin visualization architecture and monitoring method provided by the present invention can realize real-time monitoring of the manufacturing workshop. It can achieve real-time, virtual-real synchronization, and accurate remote monitoring, and can be widely applied to the monitoring field of manufacturing workshops, thus achieving a comprehensive improvement in the digitalization level of the workshop.

[0081] The digital twin virtual model library includes appearance models, feature models and operation models.

[0082] like Figure 3 As shown in the figure, the digital twin virtual model library is pre-built, which specifically includes the following steps:

[0083] Determine the production process metadata of the monitoring workshop, the production process metadata includes personnel metadata, equipment metadata, material and / or product metadata, and environmental metadata, and the equipment metadata includes shape, size, color, assembly relationship, and relative position relationship;

[0084] Build an appearance model based on shape and size;

[0085] Combine the appearance model with assembly relationships and relative position relationships to construct feature models and operation models.

[0086] In the preparation stage of building the digital twin virtual model library, it is necessary to determine the production process metadata in the monitoring workshop, including personnel, equipment, materials, products, environment, etc. The production process metadata is expressed as:

[0087]

[0088] in, Metadata for the production process; Metadata for people; It is device metadata; Metadata for materials or products; Metadata for the environment.

[0089] In the process of building a digital twin virtual model library, the collection of equipment metadata is even more important. In order to complete the virtual-real interactive mapping of physical equipment to digital twin virtual models, it is necessary to refer to the target equipment in the monitoring workshop, model each target equipment in the monitoring workshop from different angles such as appearance, features, operation, and interface, and integrate the models of various dimensions into a complete digital twin metadata that can fully map the production process of the physical target equipment. Equipment metadata is expressed as follows:

[0090] ;

[0091] in, is the appearance data; is the characteristic data; To operate data; For interface data.

[0092] The construction of the digital twin virtual model library of each target equipment in the production process of the monitoring workshop specifically includes: in the 3D modeling software, according to the appearance of the target equipment (such as shape, size, etc.), modeling the metadata in the appearance model, and assembling each component according to the corresponding assembly relationship; importing the appearance model into the mechatronics conceptual design MCD to create feature models and operation models; establishing an interface model to realize the virtual-reality linkage between the equipment in the monitored workshop and the created digital twin.

[0093] Combine the appearance model with assembly relationship and relative position relationship to build feature model and operation model, including:

[0094] ;

[0095] in, To monitor the characteristic attributes of the workshop digital twin, is the characteristic attribute function, They monitor the mass, torque, mass center of gravity, contact shape and contact position of each target equipment in the workshop digital twin respectively;

[0096] ;

[0097] in, To monitor the operational attributes of the workshop digital twin, is the operation attribute function, To monitor the mobility properties of the workshop digital twin, To monitor the mobile control properties of the workshop digital twin, To monitor the drive signals of the workshop digital twin, is the moving attribute function, They are the rotation reference body, rotation axis vector, anchor point, initial angle and rotation axis rotation angle of each target equipment in the digital twin of the monitoring workshop. is the movement control function, They monitor the operation type, operation path, operation speed and operation acceleration of each target equipment in the workshop digital twin. is the driving signal function, They monitor the driving signals of each target device P1~Pn in the digital twin of the workshop respectively.

[0098] The above describes the construction of the appearance model, feature model, and operation model. The digital twin virtual model library also includes an interface model. The construction of the interface model is an important bridge and important link for the digital twin monitoring space to accurately map the virtual and real world and synchronize monitoring during the production operation process. The construction of the interface model is specifically expressed as:

[0099]

[0100] in, To monitor the interface properties of the workshop digital twin, is the interface property function, They monitor the driving signals of each target device P1~Pn in the workshop digital twin respectively. Corresponding to The interface signal, They are interface information functions respectively.

[0101] After completing the digital twin virtual model library, you can build a virtual scene for the monitoring workshop, which includes the following steps:

[0102] Import the digital twin virtual model library into the smart factory virtual simulation software (for example, Unity3D engine platform), remodel the equipment appearance model, establish a connection script, and associate the equipment appearance model, feature model, operation model and interface model with the connection script to realize the construction of the equipment mapping virtual model;

[0103] According to the layout and position relationship of the monitoring workshop, the virtual workshop layout is carried out, the established digital twin virtual model library is divided according to the functional type, and the interface model and connection script of the digital twin virtual model library are used to connect the virtual production modules in the virtual workshop;

[0104] Each virtual production module is connected through an interface model and connection script, and is planned according to the layout of the monitoring workshop to construct a virtual workshop in a progressive manner. The constructed virtual workshop can restore various production operations of the monitoring workshop.

[0105] In the above steps, the connection is made through the interface model and connection script in the digital twin virtual model library, including connecting devices with parent-child hierarchical relationships and data interaction through the established interface model and connection script.

[0106] In practical applications, offline programs can be written to simulate the production plans and production processes of the monitoring workshop, simulate the information interaction and linkage between the digital twin virtual structures of each target equipment in the virtual workshop, realize the simulation of the production and processing process, and simulate different production strategies and production processes of various production plans according to the different layouts of the digital twin virtual structures of the target equipment, and obtain corresponding production data and efficiency data for evaluation and strategy adjustment and optimization.

[0107] The various target devices in the monitoring workshop come from different manufacturers, with different control methods and communication protocols. In addition, the amount of data generated in the production process is very large and the data types are very diverse, which also brings considerable difficulties to data collection.

[0108] In order to solve the problem of data collection and collation of data sources in different formats, it is necessary to adopt an effective data collection method to realize data interaction between devices with different protocols, and then realize data synchronization between each production equipment in the monitored workshop and the established digital twin virtual structure.

[0109] In the physical layer of the digital twin visualization architecture, data collection and data output of the monitoring workshop are performed through the first OPC UA server and the second OPC UA server respectively, and data reception of the virtual scene is performed through the OPC UA client. Among them, the OPC UA client is developed by the ESP series development board and can also be used in conjunction with KEPServerEX software.

[0110] In the data layer of the digital twin visualization architecture, data transmission between the first OPC UA server, the second OPC UA server and the OPC UA client is through the OPC UA S / C data transmission structure.

[0111] Therefore, if Figure 4 As shown, based on the target equipment type in the monitoring workshop, the data transmission method between the monitoring workshop and the virtual scene is determined, which specifically includes the following steps:

[0112] According to the addressing of each target device in the monitoring workshop by the OPC UA client, the device address of each target device is stored in the first OPC UA server;

[0113] The first OPC UA server obtains the target device data, and transmits the target device data to the second OPC UA server after protocol conversion;

[0114] The second OPC UA server transmits the converted data to the OPC UA client.

[0115] In a certain embodiment, taking machine tools, automatic guided vehicles AGVs, manipulators, automatic warehousing, sensors and other field equipment as examples, data collection and transmission are further explained.

[0116] In the monitoring workshop, the programmable controller PLC is used to perform overall control of each production equipment, and machine tools, automatic guided vehicles AGVs, robots, automatic warehousing, sensors and other equipment are interconnected through Ethernet, I / O bus and other methods to form a data communication network. Then, through data collection, analysis and transmission, the digital twin structure and all the data actually generated in the production process are mapped one by one, and real-time data transmission is performed.

[0117] The computer with KEPServerEX software installed is connected to the switch, machine tools, automatic guided vehicles (AGVs), manipulators and other controlled devices via Ethernet to form data interaction. In KEPServerEX software, the data obtained from the monitoring workshop is summarized and classified, and then converted into data that meets the OPC UA protocol standard, and the data is transmitted to the constructed virtual workshop in real time through the OPC UAS / C data transmission structure.

[0118] The data is transmitted to SQL database, Excel software and IoT platform through protocol-driven transmission, and the sensor is connected to the I / O board of the control cabinet of the controlled device through the I / O module bus to communicate data with the controlled device. The feeding mechanism, warehouse and automatic guided vehicle AGV in the automatic warehousing system are connected to the PLC through Ethernet. Finally, on the basis of the established communication channel, the IP address of each device is obtained by addressing, and then the communication protocol is used to collect real-time data during the operation of the processing production line.

[0119] In the above solution, data acquisition software and KEPServerEX software are used to convert, classify and summarize data in the production process, and the OPC communication protocol is used to transmit the data to the digital twin virtual model library. It can efficiently and real-time collect and transmit various types of data in the production process, laying the foundation for the virtual-real synchronous mapping of the production operation process.

[0120] In order to improve the security of digital twin data interaction, the data is encrypted before transmitting multi-source heterogeneous data. Figure 5 As shown, before the second OPC UA server transmits the converted data to the OPC UA client, the following steps are also included:

[0121] The converted data is split to obtain each group of data to be encrypted of equal length; the converted data of any length is adjusted to data blocks that are convenient for transmission, for example, less than or equal to 128 bits, to obtain each group of data to be encrypted of equal length that meets the encryption requirements.

[0122] The encrypted data is divided into blocks and data replacement is performed, and then row shift operation is performed; data replacement is specifically expressed as:

[0123]

[0124] in, Indicates the length of the data to be encrypted. Indicates the attribute information of the data to be encrypted. The attribute information may include summary, number of data frames, Indicates the data after data replacement;

[0125] Row shift operation, specifically expressed as:

[0126]

[0127] in, Represents asymmetric encryption, represents the generator, Data after row shift calculation;

[0128] The row-shifted data is circularly encrypted using the current circular encryption key through a circular encryption function; each column vector is added and multiplied with a fixed multidimensional polynomial to increase the nonlinearity of the data.

[0129] Cyclic encryption, specifically expressed as:

[0130]

[0131] in, Represents a cyclic encryption function. The specific multidimensional polynomial is not limited and can be set according to the application scenario. The encrypted data is cyclically encrypted.

[0132] Each round of encryption generates a new round encryption key, and uses the new round encryption key to replace the current round encryption key. The encryption process is returned and repeated until the N-1 round encryption keys are replaced. After completing N rounds of encryption, the converted data is encrypted and the ciphertext is output, where N is the preset number of round encryptions. N can be 10, 15, or 26 times, without specific limitation, and can be set according to the application scenario.

[0133] According to the above steps, the encryption of the multi-source heterogeneous data to be converted is completed, and the inverse process of the data is the decryption operation of the data, including four steps of data inverse permutation, reverse shift, cyclic decryption and data merging, which will not be described in detail here.

[0134] Completing the real-time operation of the production process and the digital twin structure in the monitoring workshop is an important part of visual real-time monitoring. After completing the construction of the digital twin virtual model library and the collection and processing of multi-source heterogeneous data, it is necessary to dynamically map the collected data with the data of the digital twin structure in the virtual and real space. That is, the data information of each physical device (node) collected in the monitoring workshop needs to be transmitted in real time to the constructed virtual scene, and mapped one by one to the digital twin structure of each target device constructed in the virtual scene and each model of the digital twin virtual model library.

[0135] like Figure 6 As shown, combined with the dynamic mapping between the monitoring workshop and the virtual scene, the data in the monitoring workshop is reflected to the virtual scene, which specifically includes the following steps:

[0136] Obtaining a device address of a target device stored in the first OPC UA server, and determining the target device;

[0137] Match the target device data of the first OPC UA server with the model of the digital twin virtual model library to complete the signal mapping of the production process metadata;

[0138] Among them, the format types of production process metadata include data name, I / O type, data type, and path.

[0139] Analyze the data information collected by the perception module (sensor) in the monitoring workshop, and create the data variable information of the corresponding device in the first OPC UA server according to the address corresponding to the data information, including data name, device address, data type, acquisition rate and other information, so as to realize data collection of each target device in the monitoring workshop.

[0140] According to the data types of the monitored workshop collected and the action variables and interfaces in each attribute established in the digital twin virtual model library, the data of the monitored workshop and the simulation variables of the virtual scene are dynamically mapped between the virtual and real spaces. For example, the joint axis variables of the physical manipulator in the monitored workshop and the virtual manipulator in the virtual scene, which are both floating-point variables, are dynamically mapped between the virtual and real spaces; the on / off trigger signals of the physical machine tool and the virtual machine tool, which are both Boolean variables, are dynamically mapped between the virtual and real spaces, and so on, thereby realizing real-time synchronous data transmission from the monitored workshop to the virtual scene.

[0141] Match the target device data of the first OPC UA server with the model of the digital twin virtual model library, which is specifically expressed as follows:

[0142] ;

[0143] in, is the matching function, The target device data type of the first OPC UA server number i, For the corresponding The numerical value of is the target device data type of model number j, R is the relational operator, For the corresponding where m is the total number of target device data types required by the model, and n is the total number of target device data types of the first OPC UA server.

[0144] In a certain embodiment, a fast matching process of virtual-real mapping data based on a matching tree is used to realize dynamic mapping of virtual-real space. Events occurring in the monitoring workshop can be autonomously reflected in the virtual scene through real-time publish / subscribe rules. According to the extraction of data from different nodes by the OPC UA client, corresponding attribute values ​​and data interfaces can be added to the appearance model to establish the connection between the model and the data, which serves as the basis for the digital twin of the equipment. At the same time, the "physics", "behavior" and "logic" of the digital twin model need to be reflected, associated and integrated in the "appearance model" to achieve the initial integration of the physical workshop and the virtual workshop. Based on the constraint publish / subscribe system, dynamic mapping of virtual-real space is realized to achieve further virtual-real integration. Constraints mainly act on a filtering event, expressed in the form of basic operators, which will act on the "attribute-value" pair; subscriptions bind the constraints and logic of the "attribute-value" pair.

[0145] After the mapping is completed, the virtual scene and the monitoring workshop maintain the same initial state, start data collection and KEPServerEX software, and the first OPC server monitors the changing data in each target device in the production process. The OPC client extracts the data of different target devices and transmits the data of the physical device to the digital twin structure. The signal feedback of the digital twin structure to the physical device is completed through the OPC UA client and server of the PLC and MCD. The digital twin structure can feed back the sensor signal to the PLC, thereby completing the virtual and real synchronous operation in the processing process.

[0146] The above steps complete the mapping from the production process of the physical monitoring workshop to the virtual scene, and realize the synchronous operation of the virtual / real workshop. This also becomes the basis for the production status visualization and real-time information display of the digital twin structure of each target equipment in the virtual scene.

[0147] By analyzing and presenting the data received from the monitoring workshop in the virtual scene, monitoring based on digital twins is realized

[0148] Process and analyze the data obtained from the monitored workshop, including:

[0149] (1) Storage and processing of real-time data in the monitoring workshop. The types of field data generated in the monitoring workshop are very complex and need to be sorted and stored. The data collected from each device in the monitoring workshop and the data obtained from the application service layer are stored in a database, such as an SQL database. For historical data that needs to be queried, the database can be directly queried or data reports can be exported, which is helpful for real-time query of data obtained from the monitored workshop and tracing of relevant information after equipment failure.

[0150] According to the actual monitoring needs in the monitoring workshop, the production process data, production operation data and storage slicing data can be extracted to the corresponding modules in the application service layer, such as the data processing platform (not shown), for analysis and optimization, and the optimized feedback data is transmitted to the virtual scene to complete the simulation verification to achieve the optimization of the production process, operation and storage slicing. In addition, the real-time data obtained by the monitoring workshop, such as the number, angle, speed, posture position, following error, product qualification rate and sensor data of equipment parts, can be displayed in real time in the form of dynamic two-dimensional charts with the help of relevant software or plug-ins, or can be transmitted to the data analysis software for statistical analysis, processing and calculation.

[0151] (2) Dynamic visualization of the production and operation status of the monitoring workshop. Through the virtual-real mapping between the monitoring workshop and the virtual scene, the synchronous operation of the real-time data of the monitoring workshop is realized. The virtual scene production process is a three-dimensional real-time visualization of the entire production and operation status of the monitoring workshop. At the same time, the corresponding modules in the application service layer, such as the data statistics module (not shown), display the important data of the digital twin structure and the production efficiency-related data in real time, and simultaneously display the processing, inventory, and production quantity of the equipment in the form of a dialog box.

[0152] (3) Remote real-time monitoring. The IoT platform can be used to monitor the various devices in the monitoring workshop in real time. In addition, by using the cloud service data platform, the data of each device obtained in the monitoring workshop is uploaded to the cloud service data platform, and users or managers can log in to the web interface through a computer (PC) or mobile phone terminal to conduct remote online monitoring.

[0153] (4) Production information service. The manufacturing execution system MES, work planning system ERP, storage management system WMS, and product information system PDM and other workshop information management systems are combined to form a joint workshop service system. By uploading the data of each device obtained from the monitoring workshop to the joint workshop service system, it is used to provide functions such as workshop data, real-time decision-making, production scheduling, inventory management, data integration analysis, and management optimization.

[0154] The OPC UA information modeling method is used to realize data interaction. The OPC UA protocol is used to unify and standardize the protocols of various devices, establish a standardized interface for data transmission, and present information in different formats generated by different types of devices in a standard format to achieve effective data collection and management, so that multi-source heterogeneous data can be integrated and transmitted in the digital twin platform.

[0155] The data obtained from the monitoring workshop drives the operation of the virtual scene in real time. Through the virtual scene, the physical workshop production process can be monitored in real time in a three-dimensional scene at any distance and angle, so that the workshop managers or monitors can accurately and intuitively understand the overall operation of the manufacturing workshop, thereby effectively controlling the workshop production. The data obtained from the monitoring workshop is stored, analyzed, processed and optimized to achieve real-time visualization of workshop production information, which is convenient for better grasp of real-time production information and conducive to the intelligent development of the workshop.

[0156] like Figure 7 As shown, the present invention also provides a monitoring device based on digital twins, which adopts the monitoring method based on digital twins as described above, specifically comprising:

[0157] The construction unit is used to pre-build a digital twin virtual model library and build a virtual scene for monitoring workshops;

[0158] The configuration setting unit is used to determine the data transmission mode between the monitoring workshop and the virtual scene based on the target equipment type in the monitoring workshop; and reflect the data in the monitoring workshop to the virtual scene in combination with the dynamic mapping between the monitoring workshop and the virtual scene;

[0159] The display unit is used to realize monitoring based on digital twins by analyzing and presenting the data in the monitoring workshop received in the virtual scene.

[0160] The present invention provides a monitoring method and device based on digital twins, which have at least the following beneficial effects:

[0161] (1) The digital twin-based monitoring solution provided by the present invention can be widely applied to manufacturing workshops in various scenarios, realizing real-time, virtual-real synchronization, and accurate remote monitoring.

[0162] (2) Adopt the OPC UA information modeling method to realize data interaction, unify and standardize the protocols of various devices through the OPC UA protocol, establish a standardized interface for data transmission, and present the information in different formats generated by different types of devices in a standard format to achieve effective data collection and management, so that multi-source heterogeneous data can be integrated and transmitted in the digital twin platform.

[0163] (3) The data obtained from the monitoring workshop drives the operation of the virtual scene in real time. Through the virtual scene, the physical workshop production process can be monitored in real time in a three-dimensional scene at any distance and angle, so that the workshop managers or monitors can accurately and intuitively understand the overall operation of the manufacturing workshop, thereby effectively controlling the workshop production. The data obtained from the monitoring workshop is stored, analyzed, processed and optimized to achieve real-time visualization of workshop production information, which is convenient for better grasp of real-time production information and conducive to the intelligent development of the workshop.

[0164] Although preferred embodiments of the present invention have been described, additional changes and modifications may be made to these embodiments by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention. Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A monitoring method based on digital twins, characterized in that: The specific steps include: Pre-build a digital twin virtual model library and create a virtual scene for monitoring workshops; Based on the target equipment type in the monitoring workshop, determine the data transmission method between the monitoring workshop and the virtual scene; Combined with the dynamic mapping between the monitoring workshop and the virtual scene, the data in the monitoring workshop is reflected in the virtual scene; By analyzing and presenting the data received from the monitoring workshop in the virtual scene, monitoring based on digital twins is realized; Among them, the digital twin virtual model library includes appearance model, feature model, operation model and interface model; The construction of the operation model is specifically expressed as follows: ; in, To monitor the operational attributes of the workshop digital twin, is the operation attribute function, To monitor the mobility properties of the workshop digital twin, To monitor the mobile control properties of the workshop digital twin, To monitor the drive signals of the workshop digital twin, is the moving attribute function, , , , , They are the rotation reference body, rotation axis vector, anchor point, initial angle and rotation axis rotation angle of each target equipment in the digital twin of the monitoring workshop. is the movement control function, , , , They monitor the operation type, operation path, operation speed and operation acceleration of each target equipment in the workshop digital twin. is the driving signal function, They monitor the driving signals of each target device P1~Pn in the workshop digital twin respectively; The construction of the interface model is specifically expressed as follows: ; in, To monitor the interface properties of the workshop digital twin, is the interface property function, , , , Corresponding to The interface signal, , , , They are interface information functions respectively; The construction of the virtual scene of the monitoring workshop includes the following steps: Import the digital twin virtual model library into the smart factory virtual simulation software, remodel the equipment appearance model, establish a connection script, and associate the equipment appearance model, feature model, operation model and interface model with the connection script to realize the construction of the equipment mapping virtual model; According to the layout and position relationship of the monitoring workshop, the virtual workshop layout is carried out, the established digital twin virtual model library is divided according to the functional type, and the interface model and connection script of the digital twin virtual model library are used to connect the virtual production modules in the virtual workshop; Each virtual production module is connected through an interface model and connection scripts, and is planned according to the layout of the monitoring workshop to construct a virtual workshop in a progressive manner.

2. The monitoring method based on digital twins according to claim 1, characterized in that: Pre-build the digital twin virtual model library, which includes the following steps: Determine the production process metadata of the monitoring workshop, the production process metadata includes personnel metadata, equipment metadata, material and / or product metadata, and environmental metadata, and the equipment metadata includes shape, size, color, assembly relationship, and relative position relationship; Build an appearance model based on shape and size; Combine the appearance model with assembly relationships and relative position relationships to construct feature models and operation models.

3. The monitoring method based on digital twins as claimed in claim 2, characterized in that: Feature Model The construction includes: ; in, To monitor the characteristic attributes of the workshop digital twin, is the characteristic attribute function, They monitor the mass, torque, center of mass, contact shape and contact position of each target equipment in the digital twin of the workshop respectively.

4. The monitoring method based on digital twins according to claim 1, characterized in that: The data collection and data output of the monitoring workshop are respectively carried out through the first OPC UA server and the second OPC UA server, and the data reception of the virtual scene is carried out through the OPC UA client; The data transmission between the first OPC UA server, the second OPC UA server and the OPC UA client is through the data transmission structure of OPC UAS / C.

5. The monitoring method based on digital twins as claimed in claim 4, characterized in that: Based on the target equipment type in the monitoring workshop, determine the data transmission method between the monitoring workshop and the virtual scene, which specifically includes the following steps: According to the addressing of each target device in the monitoring workshop by the OPC UA client, the device address of each target device is stored in the first OPC UA server; The first OPC UA server obtains the target device data, and transmits the target device data to the second OPC UA server after protocol conversion; The second OPC UA server transmits the converted data to the OPC UA client.

6. The monitoring method based on digital twins as claimed in claim 5, characterized in that: Before the second OPC UA server transmits the converted data to the OPC UA client, the following steps are also included: Split the converted data to obtain each group of data to be encrypted with equal length; Perform data replacement on the encrypted data blocks and then perform row shift operation; The row-shifted data is circularly encrypted using the current circular encryption key through a circular encryption function; Each round of encryption will generate a new round of encryption key, use the new round of encryption key to replace the current round of encryption key, return and repeat the encryption process until the replacement of N-1 rounds of encryption keys is completed, and after completing N rounds of encryption, the encryption of the converted data is completed and the ciphertext is output, where N is the preset number of rounds of encryption.

7. The monitoring method based on digital twins as claimed in claim 5, characterized in that: Combined with the dynamic mapping between the monitoring workshop and the virtual scene, the data in the monitoring workshop is reflected in the virtual scene, which specifically includes the following steps: Obtaining a device address of a target device stored in the first OPC UA server, and determining the target device; Match the target device data of the first OPC UA server with the model of the digital twin virtual model library to complete the signal mapping of the production process metadata; Among them, the format types of production process metadata include data name, I / O type, data type, and path.

8. The monitoring method based on digital twins as claimed in claim 7, characterized in that: Match the target device data of the first OPC UA server with the model of the digital twin virtual model library, which is specifically expressed as follows: ; in, is the matching function, The target device data type of the first OPC UA server number i, For the corresponding The numerical value of is the target device data type of model number j, R is the relational operator, For the corresponding where m is the total number of target device data types required by the model, and n is the total number of target device data types of the first OPC UA server.

9. A monitoring device based on digital twins, characterized in that: The monitoring method based on digital twins as claimed in any one of claims 1 to 8 is adopted, specifically comprising: The construction unit is used to pre-build a digital twin virtual model library and build a virtual scene for monitoring workshops; The configuration setting unit is used to determine the data transmission mode between the monitoring workshop and the virtual scene based on the target equipment type in the monitoring workshop; and reflect the data in the monitoring workshop to the virtual scene in combination with the dynamic mapping between the monitoring workshop and the virtual scene; The display unit is used to realize monitoring based on digital twins by analyzing and presenting the data in the monitoring workshop received in the virtual scene.

Citation Information

Cited By

  • Virtual-physical integration system and method thereof applied for metaverse app

    TWI892909B