Industrial robot virtual-real interactive operation method

Through a six-in-one digital twin model architecture, the intelligent upgrade of industrial robot virtual-real interactive operation has been realized, which solves the problems of high difficulty in cross-platform integration, poor environmental adaptability, insufficient multimodal perception fusion and insufficient human-machine collaboration safety, and improves system reusability and operation accuracy.

CN123129135APending Publication Date: 2026-11-20CHANGSHA CTR ROBOTICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611239056.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-16
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing solutions for virtual-real interaction in industrial robots suffer from several problems, including high difficulty in cross-platform integration, poor environmental adaptability and system reusability, lack of multimodal perception fusion and knowledge-driven decision-making capabilities, synchronization delay in virtual-real mapping, lack of closed-loop feedback control, and insufficient safety in human-machine collaboration.

Method used

It adopts a six-in-one digital twin model architecture, including a physical entity model, a virtual entity model, a twin data model, a knowledge data model, and a connection model, to achieve data-driven virtual-physical synchronous mapping, multimodal perception fusion, knowledge-driven decision-making, and closed-loop control, and to perform automatic programming and secure collaborative operations through a service model.

Benefits of technology

It reduces the difficulty of cross-platform development, improves system reusability and scalability, realizes adaptive optimization of process parameters and improves operational accuracy, and ensures the safety and reliability of human-machine collaborative operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123129135A_ABST
    Figure CN123129135A_ABST
Patent Text Reader

Abstract

The application relates to an industrial robot virtual-real interactive operation method, which is executed based on a six-in-one digital twin model architecture, the architecture comprising a physical entity model, a virtual entity model, a twin data model, a knowledge data model, a connection model and a service model; a bidirectional data interaction link is constructed through the connection model; physical entity real-time operation data and running state data are collected, transmitted to the twin data model for heterogeneous fusion and storage through the connection model; the virtual entity model is synchronously mapped based on real-time data in the twin data model; a pre-constructed process knowledge rule library in the knowledge data model is called to perform process reasoning, and target process parameters are output; the service model reads physical entity real-time feedback data to perform closed-loop compensation correction on the target process parameters, and automatically generates an executable operation program according to a program syntax specification of the industrial robot. The application realizes virtual-real bidirectional closed-loop control and adaptive optimization of process parameters, and reduces the cross-platform development threshold.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of industrial robot control technology, specifically relating to a method for virtual-real interactive operation of industrial robots. Background Technology

[0002] Virtual-physical interaction of industrial robots is a key aspect of realizing intelligent manufacturing. Currently, the mainstream implementation schemes for virtual-physical interaction of industrial robots can be divided into four categories.

[0003] The first category is cross-platform integration solutions such as the ROS-Unity integrated architecture. These solutions achieve virtual-real interaction by integrating the ROS robot operating system with the Unity virtual engine, requiring cross-platform development. This type of solution places stringent demands on developers' cross-platform development capabilities and has extremely high compatibility requirements for sensor selection, communication protocol adaptation, and algorithm coupling, increasing the difficulty of implementing the solution.

[0004] The second category is digital twin and VR / AR teaching platform solutions, which focus on digital twin modeling combined with VR / AR visualization technology, emphasizing the simulation of work scenarios and teaching applications. This type of solution requires high model accuracy, and delays can easily occur during model updates and real-time synchronization of virtual and real data, affecting the accuracy of virtual-real mapping. Furthermore, the system has poor reusability.

[0005] The third category is embodied intelligence technology solutions based on large models, which rely on the perception and decision-making capabilities of large models to achieve intelligent upgrades in virtual-real interaction, but their stability and reliability in actual industrial scenarios still need to be verified.

[0006] The fourth category is traditional automation programming solutions, which are based on fixed program writing and achieve virtual-physical interaction of robots through preset instructions. This type of solution is highly dependent on structured working environments and cannot cope with dynamic changes or unstructured scenarios. When the production line changes or the work tasks are adjusted, the system needs to be reprogrammed and debugged, resulting in long development cycles and high maintenance costs.

[0007] Existing solutions suffer from the following common problems: First, cross-platform integration is difficult, the system architecture is closed, and there is a lack of unified and universal technical benchmarks, making it difficult to achieve unified adaptation and automatic code generation for robots from multiple brands. Second, virtual-real interaction is mostly one-way mapping or display, failing to construct a complete closed-loop control from physical space to virtual space and back, and unable to dynamically correct process parameters based on real-time feedback from the physical end. Third, the adjustment of process parameters relies on human experience, lacking knowledge-driven automatic reasoning and decision-making mechanisms. Fourth, there is a lack of a unified data foundation; current industrial robots generally lack multimodal perception capabilities, making it difficult to effectively integrate multi-source perception information such as vision and touch, and unable to support multimodal perception and data-driven services throughout the entire operation cycle. Fifth, there are shortcomings in safety and collaborative performance; traditional industrial robots require physical isolation and protective nets during operation, posing significant safety hazards in human-robot collaborative operation scenarios. Existing virtual-real interaction solutions have inadequate virtual feedback mechanisms for misoperation, failing to promptly mitigate physical safety risks through virtual end warnings, further reducing the safety and reliability of human-robot collaboration.

[0008] In summary, there is an urgent need to provide a virtual-real interaction operation method for industrial robots to solve the technical problems existing in the current technology, such as high cross-platform integration threshold, poor environmental adaptability and system reusability, lack of multimodal perception fusion and knowledge-driven decision-making capabilities, virtual-real mapping synchronization delay, lack of closed-loop feedback control, and insufficient human-machine collaborative safety. Summary of the Invention

[0009] The purpose of this invention is to provide a method for virtual-real interaction operation of industrial robots, in order to solve the technical problems existing in the prior art, such as high cross-platform integration threshold, poor environmental adaptability and system reusability, lack of multimodal perception fusion and knowledge-driven decision-making capabilities, virtual-real mapping synchronization delay, lack of closed-loop feedback control, and insufficient human-machine collaborative safety.

[0010] The above objective is achieved through the following technical solution: a method for virtual-real interactive operation of industrial robots, characterized by execution based on a six-in-one digital twin model architecture, wherein the six-in-one digital twin model architecture includes a physical entity model, a virtual entity model, a twin data model, a knowledge data model, a connection model, and a service model; the method includes the following steps: S1 Communication Link Construction: The connection model enables bidirectional data interaction between models within the architecture and between physical entities and models. The physical entities include the industrial robot to be controlled and its supporting operating equipment. S2 Multi-source data acquisition and fusion: Based on the data specifications defined by the physical entity model, real-time operation data and running status data of the physical entity are acquired and transmitted to the twin data model via the connection model for heterogeneous fusion and storage; S3 Virtual-Real Synchronous Mapping: Based on the real-time data in the twin data model, drive the virtual entity model to be updated synchronously, mapping the working status and working scenario of the physical entity; S4 Knowledge-driven process reasoning: Call the pre-built process knowledge rule base in the knowledge data model, combine it with the real-time operation data in the twin data model to perform process reasoning, and output the target process parameters; S5 Closed-loop compensation and automatic programming: The service model reads the real-time operation feedback data of the physical entity in the twin data model, performs closed-loop compensation correction on the target process parameters, and automatically generates an executable operation program according to the program syntax specification of the corresponding industrial robot. S6 Control command issuance and execution: The service model issues the executable job program to the physical entity through the connection model, controlling the industrial robot to adjust its working state.

[0011] This invention is based on a six-in-one digital twin model architecture. By constructing a physical entity model, a virtual entity model, a twin data model, a knowledge data model, a connection model, and a service model, it establishes a unified technical benchmark and modular architecture to reduce the difficulty of cross-platform development and improve system reusability and scalability.

[0012] By constructing a bidirectional data interaction link through a connectivity model and combining it with a twin data model to fuse and store multi-source heterogeneous data, this achieves data-driven virtual-real synchronous mapping and multimodal perception fusion capabilities, overcoming the shortcomings of existing solutions such as virtual-real mapping synchronization delays and lack of multi-source information fusion capabilities. Through reasoning by calling the pre-built process knowledge rule base in the knowledge data model, knowledge-driven automatic decision-making for process parameters is achieved, overcoming the limitations of traditional solutions that rely on manual experience to adjust parameters. By reading real-time feedback data from physical entities through a service model, closed-loop compensation and correction of target process parameters are performed, and executable programs adapted to different robot brands are automatically generated, realizing bidirectional virtual-real closed-loop control, adaptive optimization of process parameters, and cross-platform automatic programming.

[0013] This invention realizes virtual and real two-way closed-loop control, multi-source sensing data fusion, adaptive optimization of process parameters, cross-brand automatic programming, and safe collaborative operation, thereby reducing the development threshold, improving system flexibility and reusability, shortening the development cycle, and improving the safety and reliability of human-machine collaborative operation.

[0014] A further technical solution is that the physical entity model is a digital mapping of physical entities, corresponding to the data definition and acquisition specifications covering industrial robots and their supporting peripheral equipment; the virtual entity model includes a virtual production line entity model and a virtual product entity model, the virtual product entity model includes a virtual finished product entity model and a virtual product under construction entity model, and the virtual entity model includes four levels: geometric model, physical model, behavioral model and rule model.

[0015] A further technical solution is that the data stored in the twin data model includes physical entity data, virtual entity data, service data, and fused derived data; the twin data model is deployed on IaaS layer hardware resources, and data is distributed, managed, and invoked through a twin data management platform at the PaaS layer.

[0016] A further technical solution is that the process knowledge rule base includes expert process experience, industry operation standards, process constraint rules and basic axioms and laws; the process reasoning in step S4 specifically includes: the reasoning engine of the knowledge data model loads the pre-built process ontology file, traverses all rule nodes of the process knowledge graph, combines the real-time operation data to complete logical reasoning, and outputs the target process parameters.

[0017] A further technical solution is that the connection model supports adaptation to multiple hardware interfaces and parsing of heterogeneous data in multiple formats, which is used to realize full-link bidirectional data transmission and protocol conversion between models within the six-in-one digital twin model architecture, as well as between physical entities and models.

[0018] A further technical solution is that the service model includes a functional service model and a business service model. The functional service model supports the internal function operation of the digital twin system in the form of tool components, middleware, and functional module engines. The business service model is oriented towards the entire operation cycle of industrial robots and provides at least one of the following services: fault diagnosis, size detection, life prediction, operation quality assessment feedback, and operation energy consumption monitoring.

[0019] A further technical solution is that, in step S5, the closed-loop compensation correction specifically includes: the process optimization service module of the service model reads the actual operating parameter values ​​in the real-time operating feedback data of the physical entity, calculates the deviation value between the target process parameter and the actual operating parameter value, runs the digital PID controller to perform compensation calculation on the deviation value and outputs the compensation amount, and generates the corrected control parameters based on the compensation amount; the automatic generation of the executable job program specifically includes: the code generator selects the corresponding syntax specification template according to the brand and model of the corresponding industrial robot, concatenates the job trajectory data and the corrected control parameters according to the syntax specification template, and generates a complete executable job program.

[0020] A further technical solution is that, in step S3, driving the virtual entity model to update synchronously specifically includes: assigning the joint angle value of the physical entity to the local rotation attribute of the joint transformation component of the virtual robot model, calling the interpolation function in the update loop of the virtual engine, so that the virtual robot model can smoothly move from the previous posture to the current posture within a preset time.

[0021] A further technical solution is that an offline simulation verification step is included between steps S2 and S3: the virtual entity model is used for job path planning and virtual simulation verification based on an offline programming software platform, and the simulation data is written into the twin data model after the simulation is passed.

[0022] A further technical solution is that, in step S2, the real-time operation data and running status data of the physical entity are collected by the edge data acquisition unit. After format conversion and caching of the collected multi-source heterogeneous data, it is uploaded to the twin data model through the connection model. The edge data acquisition unit is connected to the service Ethernet interface of the industrial robot control cabinet and the host computer server through an Ethernet cable. It has a built-in industrial-grade processor and pre-installed data acquisition and forwarding service programs.

[0023] Compared to existing technologies, this invention treats the six-in-one digital twin model architecture and the collaborative working mechanism among its various models as a whole. Specifically, the connection model provides the communication foundation for end-to-end bidirectional data interaction; the physical entity model defines data specifications; the virtual entity model provides synchronization mapping objects; the twin data model enables unified storage and management of multi-source heterogeneous data; the knowledge data model provides knowledge support for process reasoning; and the service model completes closed-loop compensation and automatic programming. These six models cooperate to form a complete intelligent closed loop from data acquisition, virtual-physical synchronization, knowledge reasoning, closed-loop compensation to automatic programming and execution. The implementation of this invention's technical solution achieves the following technical effects: 1. By using data-driven mapping and closed-loop compensation, the shortcomings of existing virtual-real interaction schemes, which can only achieve one-way mapping or display-type interaction, are overcome, and adaptive optimization of process parameters and continuous improvement of operational accuracy are realized. 2. Significantly reduces the threshold for cross-platform development and the difficulty of system deployment. By integrating multiple development capabilities into a single platform through a unified six-in-one architecture, it avoids the challenges of sensor selection, communication protocol adaptation, and algorithm coupling compatibility in cross-platform integrated development. When the job task is adjusted, only the process rule base in the knowledge data model needs to be updated to complete the scenario migration, which greatly shortens the development cycle and significantly enhances the system's reusability and scalability. 3. It has achieved an intelligent upgrade of the virtual-real interactive operation of industrial robots. The knowledge-driven decision-making capability provided by the knowledge data model, the closed-loop compensation and correction and cross-brand automatic programming capability provided by the service model, and the data-driven service capabilities such as fault diagnosis, dimensional inspection, life prediction, quality assessment and energy consumption monitoring throughout the entire operation cycle work together to enable the entire operation process to have comprehensive intelligence in perception, decision-making, correction, learning and service. At the same time, through the virtual terminal to identify and automatically correct process deviations in advance, the safety and reliability of human-robot collaborative operation can be guaranteed without relying on physical isolation and protection nets. Attached Figure Description

[0024] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0025] Figure 1 This is a flowchart illustrating an industrial robot virtual-real interaction operation method according to one embodiment of the present invention. Figure 2 This is a structural block diagram of a six-in-one digital twin model architecture involved in a specific embodiment of the present invention. Detailed Implementation

[0026] The present invention will now be described in detail with reference to the accompanying drawings. This description is merely illustrative and explanatory, and should not be construed as limiting the scope of protection of the present invention. Furthermore, those skilled in the art can combine the features in the embodiments described herein and in different embodiments accordingly based on the description in this document.

[0027] The embodiments of the present invention are as follows, with reference to Figure 1 A method for virtual-real interactive operation of industrial robots is implemented based on a six-in-one digital twin model architecture. The six-in-one digital twin model architecture includes a physical entity model, a virtual entity model, a twin data model, a knowledge data model, a connection model, and a service model. Each model is interconnected through the connection model to jointly form a complete digital twin operation support system.

[0028] 1. Physical entity model The physical entity model is a digital mapping abstraction of physical entities, corresponding to the data definition and acquisition specifications of industrial robots and their supporting peripheral equipment, used to unify the access standards and format constraints of physical data. The physical entities refer to industrial robots and supporting operating equipment actually deployed on-site, including but not limited to the robot body, robot control cabinet, tooling fixtures, processing stations, various sensors, edge acquisition devices, etc. The physical entity model predefines the data acquisition dimensions, data formats, communication protocols, and sampling frequencies of various devices, providing a benchmark for the unified access and fusion of multi-source data, and solving the problems of inconsistent data standards and high costs of interoperability and adaptation for heterogeneous devices.

[0029] 2. Virtual entity model The virtual entity model is a digital mirror image of a physical entity in virtual space, comprising two dimensions: a virtual production line entity model and a virtual product entity model. The virtual production line entity model is a digital reproduction of the entire on-site production line, including virtual mappings of all production line elements such as robots, tooling, workstations, and protective facilities. The virtual product entity model includes virtual finished product entity models and virtual in-process product entity models, corresponding to digital models of completed finished workpieces and in-process workpieces, respectively.

[0030] From a model scale perspective, the virtual entity model comprises four levels: geometric model, physical model, behavioral model, and rule model. Geometric model: A model of the entity's shape, size, spatial position, and other geometric attributes constructed using 3D modeling software, achieving a 1:1 visual representation. Physical model: Defines the virtual entity's material, weight, dynamic parameters, physical constraints, and other physical attributes, supporting the simulation of physical characteristics during the simulation process. Behavioral model: Defines the virtual entity's motion logic, action response, and operational rules, corresponding to the actual operational actions of the physical entity. Rule model: Contains built-in constraints such as process constraints, safety rules, and logical judgment rules, ensuring consistency between virtual simulation and actual operations.

[0031] 3. Twin Data Model The twin data model is the data-driven core of the digital twin system, used for storing, managing, and distributing heterogeneous data across the entire data chain. The data stored in the twin data model includes four categories: physical entity data, virtual entity data, service data, and fused derivative data. Physical entity data consists of real-time operational, status, and process data collected from physical sources; virtual entity data includes model parameters, simulation results, and path data generated during virtual simulation; service data includes service logs, analysis results, and control commands generated by the service model; and fused derivative data is derived data generated after fusing, analyzing, and mining the aforementioned multi-source data. The twin data model is deployed in an IaaS layer hardware resource pool, relying on servers, storage devices, and other hardware to achieve persistent data storage. It also utilizes a PaaS layer twin data management platform for unified data distribution, management, and retrieval, providing standardized data access interfaces for upper-layer models and enabling centralized control and on-demand retrieval of heterogeneous data.

[0032] 4. Knowledge Data Model The knowledge data model is the core carrier of intelligent process decision-making, with a built-in pre-built process knowledge rule base for knowledge-driven process reasoning and parameter optimization. This process knowledge rule base includes expert process experience, industry operating standards, process constraint rules, and fundamental axiomatic laws, constructed through three core technologies: Knowledge graph data modeling technology: transforms discrete process knowledge into structured knowledge graph nodes and relationships, enabling structured storage and associative reasoning of process knowledge; for example, using "workpiece attributes-process conditions-process parameters" as core nodes to construct a triplet structure, taking welding as an example, it transforms discrete welding process knowledge into a structured knowledge graph, establishes causal relationships and constraints between nodes, and supports associative reasoning based on node matching; Parameter dynamic adaptive twin data integration modeling technology: realizes dynamic adaptation between process parameters and real-time twin data, supports automatic parameter matching under changing operating conditions; establishes a dynamic mapping relationship between process parameters and real-time twin data. Taking welding as an example, real-time operating condition fields such as workpiece material, plate thickness, and bevel form are associated and bound with process parameter fields such as current, voltage, and welding speed. When the operating condition fields in the twin data change, parameter matching and updating are automatically triggered. Production-guided modeling technology integrates the inherent laws and prior knowledge of the production scenario into the model, reducing invalid reasoning paths and improving reasoning accuracy and efficiency. Taking welding as an example, the general physical laws and industry standard constraints of welding operations are embedded as prior conditions into the reasoning logic, eliminating parameter combinations that do not conform to physical rules and safety constraints in advance, narrowing the range of reasoning paths, and improving reasoning efficiency and result accuracy.

[0033] The knowledge data model is equipped with an inference engine that can load pre-built OWL format process ontology files. By traversing all rule nodes of the process knowledge graph and combining real-time operation data in the twin data model, it completes logical inference and outputs target process parameters adapted to the current operating conditions.

[0034] 5. Connection Model The connection model is the communication hub of the digital twin system, supporting adaptation to multiple hardware interfaces and parsing of heterogeneous data in multiple formats. It is used to realize full-link bidirectional data transmission and protocol conversion between models within the six-in-one digital twin model architecture, as well as between physical entities and models.

[0035] The connection model is compatible with various hardware interfaces such as Ethernet and industrial bus, and supports multiple communication protocols such as TCP / IP, HTTP, and Modbus. It can uniformly convert and forward heterogeneous data of different formats, break down communication barriers between different devices and models, and realize data interconnection and two-way interaction across the entire system.

[0036] 6. Service Model The service model is the functional output carrier of the digital twin system, including functional service models and business service models.

[0037] Functional service model: Supports the internal functions of the digital twin system in the form of tool components, middleware, and functional module engines, including underlying functional units such as data processing components, simulation calculation engines, code generation modules, and control algorithm modules, providing basic capability support for upper-layer business applications; Business service model: Covering the entire operational lifecycle of industrial robots, it can provide at least one of the following services: fault diagnosis, dimensional inspection, lifespan prediction, operational quality assessment and feedback, and operational energy consumption monitoring. Specifically, the fault diagnosis service identifies equipment anomalies and failure risks based on real-time operational data; the dimensional inspection service assesses machining dimensional accuracy using visual perception data; the lifespan prediction service predicts the remaining service life of key components based on equipment operational data; the operational quality assessment and feedback service provides real-time evaluation and feedback on machining quality; and the operational energy consumption monitoring service statistically analyzes equipment energy consumption data.

[0038] The method includes the following steps: S1 Communication Link Construction: The connection model enables bidirectional data interaction between models within the architecture and between physical entities and models. The physical entities include the industrial robot to be controlled and its supporting operating equipment. In practice, the connection model establishes communication connections with various devices of physical entities, virtual entity models, twin data models, knowledge data models, and service models through protocol adaptation and interface conversion, realizing bidirectional data flow between modules. It supports the upward transmission of physical data to virtual entities and data layers, and also supports the downward transmission of control commands from virtual entities and decision layers to physical entities.

[0039] S2 Multi-source data acquisition and fusion: Based on the data specifications defined by the physical entity model, real-time operation data and running status data of the physical entity are acquired and transmitted to the twin data model via the connection model for heterogeneous fusion and storage; In practical implementation, the physical entity model predefines the data acquisition specifications for the industrial robot and its supporting peripheral equipment, including data acquisition dimensions (joint angles, joint speeds, joint torques, tool end position and posture, welding current, welding voltage, wire feed speed, etc.), data acquisition frequency, data format (floating-point numbers, integers, enumerated values, etc.), and data acquisition channels. The edge data acquisition unit, according to the data specifications defined by the physical entity model, acquires real-time operational data (process data such as welding current, welding voltage, and wire feed speed) and operational status data (robot motion status data such as joint angles, joint speeds, joint torques, tool end position and posture, etc.) of the physical entity through industrial Ethernet, fieldbus, or analog acquisition modules. It can also access multimodal perception data such as vision and force sensing.

[0040] The edge data acquisition unit performs format conversion and caching on the acquired multi-source heterogeneous data before uploading it to the twin data model via the connection model. Format conversion includes converting the raw data from different data sources into a standard data format (converting integer data acquired by Modbus RTU to floating-point numbers, unifying different timestamp formats to UTC timestamps, etc.); caching involves short-term storage of the acquired data at the edge to ensure that the data is not lost during network fluctuations, and re-uploading the cached data to the twin data model after the network recovers.

[0041] After receiving multi-source heterogeneous data from the connected model, the twin data model performs heterogeneous fusion and storage. Specifically, heterogeneous fusion includes: uniformly aligning and spatially aligning physical entity data (real-time sensor data from edge data acquisition units), virtual entity data (simulation and state data from the virtual model), and service data (operational and output data from the service model) into fused derived data with a unified data format. The fused data is stored in the time-series database of the twin data management platform, supporting real-time querying and retrieval in subsequent steps.

[0042] Furthermore, an offline simulation verification step is performed between S2 and S3: Before the formal virtual-real synchronous operation, the virtual entity model is used for operation path planning and virtual simulation verification based on the offline programming software platform. After the simulation is successful, the simulation data is written into the twin data model.

[0043] Specifically, the operator drags and drops virtual workpieces onto virtual fixtures in the offline programming software, adjusts the virtual robot's work path, sets initial process parameters, and starts virtual simulation. During the simulation, path collisions, process parameter matching, and workpiece deviation adaptability are automatically detected. After confirming that there are no collisions and the process parameters are reasonably matched, the planned work trajectory, initial process parameters, and other simulation data are written into the twin data model as the benchmark data for subsequent actual operations.

[0044] S3 Virtual-Real Synchronous Mapping: Based on the real-time data in the twin data model, drive the virtual entity model to be updated synchronously, mapping the working status and working scenario of the physical entity; In specific implementation, driving the synchronous update of the virtual entity model includes: reading the latest joint angle values ​​of the physical entity from the twin data model, assigning the joint angle values ​​to the local rotation attribute of the joint transformation component of the virtual robot model, and calling an interpolation function (such as the Lerp linear interpolation function) in the update loop of the virtual engine to enable the virtual robot model to smoothly move from the previous posture to the current posture within a preset time, thereby realizing the real-time synchronous mapping from the physical robot posture to the virtual model.

[0045] In addition to attitude synchronization, the virtual entity model also updates information such as workpiece status, process parameters, and scene environment in real time, fully reproducing the real-time operation scene on the physical end.

[0046] Specifically, when the physical entity data in the twin data model is updated, the data change event triggers the synchronization update callback function of the virtual entity model through the OPC UA subscription mechanism connected to the model. The synchronization update module of the virtual entity model reads the latest real-time data of the physical entity from the twin data model, including joint angle values, tool end position and attitude, and operation status.

[0047] S4 Knowledge-driven process reasoning: Call the pre-built process knowledge rule base in the knowledge data model, combine it with the real-time operation data in the twin data model to perform process reasoning, and output the target process parameters; The process reasoning specifically includes: the reasoning engine of the knowledge data model loads the pre-built process ontology file, traverses all rule nodes of the process knowledge graph, combines the real-time operation data to complete logical reasoning, and outputs the target process parameters.

[0048] Specifically, when the real-time operation data in the twin data model is updated, the inference engine of the knowledge data model is triggered. The inference engine loads the pre-built process ontology file, traverses all rule nodes in the process knowledge graph, and performs logical inference based on the current real-time operation data such as workpiece material, plate thickness, bevel type, and robot posture. It then outputs the optimal target process parameters adapted to the current working conditions, such as welding current, arc voltage, and welding speed. The target process parameters obtained through inference are encapsulated in a standardized data format and transmitted to the service model for further processing.

[0049] The inference engine of the knowledge data model loads the pre-built OWL ontology file and traverses all rule nodes of the process knowledge graph. The inference engine first reads real-time operation data (such as the material type, thickness, and weld type of the current workpiece) from the twin data model, and then matches the real-time data with the rules in the OWL ontology file. When a matching rule is found, the inference engine outputs a triplet of target process parameters (welding current = 120A, arc voltage = 19.0V, welding speed = 50cm / min). The inference result is transmitted to the service model via the connection model for use in step S5.

[0050] S5 Closed-loop compensation and automatic programming: The service model reads the real-time operation feedback data of the physical entity in the twin data model, performs closed-loop compensation correction on the target process parameters, and automatically generates an executable operation program according to the program syntax specification of the corresponding industrial robot. Specifically, the closed-loop compensation correction includes: the process optimization service module of the service model reads the actual operating parameter values ​​from the real-time operating feedback data of the physical entity, calculates the deviation value between the target process parameter and the actual operating parameter value, runs the digital PID controller to calculate the compensation value for the deviation value and outputs the compensation amount, and generates the corrected control parameters based on the compensation amount.

[0051] The automatic generation of executable work programs specifically includes: a code generator selecting a corresponding syntax template based on the brand and model of the industrial robot, concatenating the work trajectory data and the corrected control parameters according to the syntax template, and generating a complete executable work program. The code generator supports program syntax adaptation for multiple brands and models of industrial robots, and can automatically convert to a code format that can be directly recognized and executed by the corresponding brand robot, eliminating the need for manual line-by-line writing.

[0052] S6 Control command issuance and execution: The service model issues the executable job program to the physical entity through the connection model, controlling the industrial robot to adjust its working state.

[0053] Specifically, the generated executable job program is transmitted to the industrial robot control cabinet through the communication link connecting the model. After the control cabinet parses the program, it drives the robot body to perform the job according to the corrected trajectory and process parameters. At the same time, the new operating data is sent back to the twin data model, forming a complete virtual-real two-way closed-loop control of acquisition, reasoning, optimization, execution and feedback.

[0054] In one specific embodiment, the service model transmits the executable job program file (KRL file, RAPID file, or TP file) generated in step S5 to the edge data acquisition box (i.e., the edge data acquisition unit mentioned above) via the OPC UA file transfer channel or FTP protocol connected to the model. After receiving the complete program file, the edge data acquisition box sends the program file to the robot controller via the X66 service Ethernet interface of the industrial robot control cabinet. Upon receiving the program file, the robot controller stores it in its local program memory and, according to the execution instructions issued by the service model, begins executing the executable job program, controlling the industrial robot to complete the job task according to the corrected process parameters and planned path.

[0055] During execution, the physical entity model continuously collects real-time operating data of the industrial robot (including joint angles, speed, torque, welding current, welding voltage, etc.) and feeds it back to the twin data model in real time through the connection model, triggering continuous iterative updates from steps S3 to S5, forming a complete virtual-physical two-way closed-loop control loop.

[0056] To better understand the technical solution of the present invention, specific embodiments are provided below. This embodiment takes an industrial robot welding operation scenario as an example to fully explain the technical solution of the present invention.

[0057] 1. Hardware and System Deployment Physical components: six-axis industrial welding robot body, robot control cabinet with X66 service Ethernet interface, welding fixtures, edge data acquisition box, host computer server.

[0058] Edge data acquisition box: Built-in Intel Core i7-8665UE industrial-grade processor, pre-installed Ubuntu 20.04 LTS operating system, deployed data acquisition and forwarding service program, configured with two gigabit network ports LAN1 and LAN2.

[0059] The host computer server uses a Dell Precision 7920 workstation to deploy the Unity 3D virtual engine, MySQL time-series database, and a complete six-in-one digital twin model runtime environment.

[0060] Physical connection: A standard CAT6 industrial-grade shielded Ethernet cable is used. One end is inserted into the X66 service Ethernet interface of the robot control cabinet, and the other end is connected to the LAN1 network port of the edge data acquisition box. The LAN2 network port of the edge data acquisition box is connected to the onboard gigabit network port of the host computer server via a network cable.

[0061] Communication configuration: The host computer server acts as a TCP server, listening on IP address 192.168.1.13 and port number 5000; the robot and edge acquisition unit act as TCP clients, forming a bidirectional reliable data transmission channel after establishing a connection with the server.

[0062] 2. Complete Implementation Process Step 1: System startup and communication link establishment The operator sequentially powers on the edge data acquisition box and the host computer server, waits for the system self-test to complete, and confirms that all network port indicator lights are constantly green, indicating that the physical link communication is normal. The host computer server's TCP server starts listening, the edge acquisition unit initiates a connection request, the connection status changes to ESTABLISHED, the bidirectional data communication link is formally established, and the connection model completes full module communication adaptation.

[0063] Step 2: Offline Simulation and Path Planning In the Unity 3D offline programming module, the operator drags and drops the virtual chassis workpiece onto the virtual tooling fixture, adjusts the welding path and initial process parameters of the virtual welding robot, and starts the virtual simulation. The system automatically detects path collisions, weld seam matching, and workpiece deviation adaptability. After confirming that there are no collisions and the process parameters match the dynamic workpiece deviation, the system writes the welding trajectory data and initial process parameters into the twin data model.

[0064] Step 3: Real-time data acquisition and fusion The edge data acquisition box collects real-time operational and process data of the welding robot, including angle values ​​of six joints (e.g., A1 = +0.002 rad), operating mode, welding current, and actual arc voltage. The collected multi-source data undergoes format conversion and caching before being uploaded to the host computer's twin data model via a TCP link for heterogeneous fusion and time-series storage.

[0065] Step 4: Virtual Model Synchronization Mapping The data update of the twin data model triggers the synchronous update of the virtual entity model: the program reads the latest joint angle values ​​and assigns them to the Local Rotation property of the Transform component of the six joints of the virtual robot model; in Unity's Update loop, the Lerp interpolation function is called to enable the virtual robot to smoothly transition from the previous posture to the current posture within 50ms, realizing real-time synchronization of virtual and real postures, and simultaneously updating the virtual workpiece status and welding process parameter display.

[0066] Step 5: Knowledge-driven process reasoning Simultaneously with data synchronization, the inference engine of the knowledge data model is activated, loading the pre-built welding process OWL ontology file, traversing all rule nodes of the welding process knowledge graph, and combining real-time data such as current workpiece material, plate thickness, bevel type, and robot posture to perform inference and output suggested process parameters: welding current = 120A, arc voltage = 19.0V, welding speed = 50cm / min. These parameters are encapsulated in JSON format and sent to the process optimization service interface of the service model via an HTTP POST request.

[0067] Step 6: Closed-loop compensation and program generation After receiving the target process parameters, the process optimization service module of the service model reads the latest actual welding voltage value (18.2V) from the twin data model and runs a digital PID controller to perform compensation calculations: the error e = 19.0 - 18.2 = 0.8V. The voltage compensation amount is obtained through PID calculation, and the final target welding voltage is determined to be 19.0V. Subsequently, the code generator selects the syntax template corresponding to the robot brand, concatenates the welding trajectory points with the corrected process parameters, and generates a complete executable welding program.

[0068] Step 7: Command Issuance and Closed-Loop Operation The service model generates an executable welding program and sends it to the robot control cabinet through the connection model. After parsing the program, the control cabinet drives the robot to perform welding operations according to the optimized parameters. New operating data generated during the operation is continuously fed back to the twin data model, entering the next round of synchronization, reasoning, and optimization cycle, forming a complete virtual-real two-way closed-loop control.

[0069] Step 8: Full-cycle service support During the operation, the service model provides business services synchronously based on full-cycle twin data: real-time feedback on weld formation quality through operation quality assessment service; real-time energy consumption statistics of robot and welding equipment through energy consumption monitoring service; and monitoring of robot operation abnormalities through fault diagnosis service, issuing early warnings on the virtual terminal to improve the safety of human-machine collaborative operation.

[0070] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for virtual-real interactive operation of an industrial robot, characterized in that, The method is based on a six-in-one digital twin model architecture, which includes a physical entity model, a virtual entity model, a twin data model, a knowledge data model, a connectivity model, and a service model. The method comprises the following steps: S1 Communication Link Construction: The connection model enables bidirectional data interaction between models within the architecture and between physical entities and models. The physical entities include the industrial robot to be controlled and its supporting operating equipment. S2 Multi-source data acquisition and fusion: Based on the data specifications defined by the physical entity model, real-time operation data and running status data of the physical entity are acquired and transmitted to the twin data model via the connection model for heterogeneous fusion and storage; S3 Virtual-Real Synchronous Mapping: Based on the real-time data in the twin data model, drive the virtual entity model to be updated synchronously, mapping the working status and working scenario of the physical entity; S4 Knowledge-driven process reasoning: Call the pre-built process knowledge rule base in the knowledge data model, combine it with the real-time operation data in the twin data model to perform process reasoning, and output the target process parameters; S5 Closed-loop compensation and automatic programming: The service model reads the real-time operation feedback data of the physical entity in the twin data model, performs closed-loop compensation correction on the target process parameters, and automatically generates an executable operation program according to the program syntax specification of the corresponding industrial robot. S6 Control command issuance and execution: The service model issues the executable job program to the physical entity through the connection model, controlling the industrial robot to adjust its working state.

2. The industrial robot virtual-real interactive operation method according to claim 1, characterized in that, The physical entity model is a digital mapping of physical entities, corresponding to the data definition and acquisition specifications covering industrial robots and their supporting peripheral equipment; the virtual entity model includes a virtual production line entity model and a virtual product entity model, the virtual product entity model includes a virtual finished product entity model and a virtual product under construction entity model, and the virtual entity model includes four levels: geometric model, physical model, behavioral model and rule model.

3. The industrial robot virtual-real interactive operation method according to claim 1, characterized in that, The twin data model stores data including physical entity data, virtual entity data, service data, and fused derived data. The twin data model is deployed on IaaS layer hardware resources and distributed, managed, and invoked through a twin data management platform at the PaaS layer.

4. The industrial robot virtual-real interactive operation method according to claim 1, characterized in that, The process knowledge rule base includes expert process experience, industry operating standards, process constraint rules, and basic axioms and laws. The process reasoning in step S4 specifically includes: the reasoning engine of the knowledge data model loads the pre-built process ontology file, traverses all rule nodes of the process knowledge graph, combines the real-time operation data to complete logical reasoning, and outputs the target process parameters.

5. The industrial robot virtual-real interactive operation method according to claim 1, characterized in that, The connection model supports adaptation to multiple hardware interfaces and parsing of heterogeneous data in multiple formats, enabling full-link bidirectional data transmission and protocol conversion between models within the six-in-one digital twin model architecture, as well as between physical entities and models.

6. The industrial robot virtual-real interactive operation method according to any one of claims 1 to 5, characterized in that, The service model includes a functional service model and a business service model. The functional service model supports the internal function operation of the digital twin system in the form of tool components, middleware, and functional module engines. The business service model is oriented towards the entire operation cycle of industrial robots and provides at least one of the following services: fault diagnosis, size detection, life prediction, operation quality assessment feedback, and operation energy consumption monitoring.

7. The industrial robot virtual-real interactive operation method according to claim 6, characterized in that, In step S5, the closed-loop compensation correction specifically includes: the process optimization service module of the service model reads the actual operating parameter values ​​in the real-time operation feedback data of the physical entity, calculates the deviation value between the target process parameter and the actual operating parameter value, runs the digital PID controller to perform compensation calculation on the deviation value and outputs the compensation amount, and generates the corrected control parameters based on the compensation amount; The automatic generation of executable work programs specifically includes: the code generator selects the corresponding syntax template according to the brand and model of the corresponding industrial robot, and concatenates the work trajectory data and the corrected control parameters according to the syntax template to generate a complete executable work program.

8. The industrial robot virtual-real interactive operation method according to claim 1, characterized in that, In step S3, driving the virtual entity model to update synchronously specifically includes: assigning the joint angle value of the physical entity to the local rotation attribute of the joint transformation component of the virtual robot model, calling the interpolation function in the update loop of the virtual engine, so that the virtual robot model can smoothly move from the previous posture to the current posture within a preset time.

9. The industrial robot virtual-real interactive operation method according to claim 1, characterized in that, Between steps S2 and S3, there is also an offline simulation verification step: the virtual entity model is used for job path planning and virtual simulation verification based on an offline programming software platform. After the simulation is successful, the simulation data is written into the twin data model.

10. The industrial robot virtual-real interactive operation method according to claim 1, characterized in that, In step S2, the real-time operation data and running status data of the physical entity are collected by the edge data acquisition unit. After the collected multi-source heterogeneous data is format converted and cached, it is uploaded to the twin data model through the connection model. The edge data acquisition unit is connected to the service Ethernet interface of the industrial robot control cabinet and the host computer server through an Ethernet cable. It has a built-in industrial-grade processor and pre-installed data acquisition and forwarding service program.