A robot dynamic operating system, method, and electronic device

CN121608142BActive Publication Date: 2026-08-14SUZHOU AMIFULUI ROBOT TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-05
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0008]针对现有技术在机器人动态操作中存在的环境感知模型依赖强、决策策略自适应差、全身控制协同弱三大瓶颈问题,本发明的目的在于提供一种融合隐式表征和约束优化的机器人动态操作方案

Benefits of technology

[0034]一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现机器人动态操作方法的步骤。所述存储介质为非瞬时性存储介质,包括计算机硬盘、固态硬盘、U盘或光盘;所述程序包括用于执行所述环境表征与预测步骤的神经网络模型代码、用于执行所述操作策略生成步骤的强化学习策略网络代码、以及用于执行所述全身协同控制步骤的轨迹生成与优化求解代码。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121608142B_ABST
    Figure CN121608142B_ABST
Patent Text Reader

Abstract

This invention relates to the field of robot dynamic manipulation and intelligent control technology, specifically to a robot dynamic manipulation method, system, and electronic device. It includes: implicitly representing and predicting the trajectory of moving objects based on an encoder-decoder architecture to understand highly dynamic environments; fusing environmental representations and robot body states to autonomously learn operational strategies through large-scale distributed reinforcement learning; and introducing a curriculum learning and adversarial perturbation framework to transform task-space strategies into full-body coordinated control commands for a mobile robotic arm. This invention overcomes the shortcomings of traditional methods, such as strong dependence on environmental models, poor policy adaptability, and weak control coordination, achieving integrated autonomous intelligence for robot perception, decision-making, and control in dynamic environments, significantly improving the execution efficiency and robustness of dynamic manipulation tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of robotics technology, specifically relating to a robot dynamic operating system, method, and electronic device. Background Technology

[0002] Dynamic manipulation, an important branch of robotics, aims to enable robots to precisely capture, throw, and strike moving objects, much like humans do. This technology has broad application prospects in scenarios such as space debris cleanup, automated painting of large components, smart home services, and human-computer interactive training.

[0003] Currently, research in this field mainly faces the following challenges and shortcomings:

[0004] First, at the level of environmental perception and prediction, traditional methods largely rely on establishing accurate dynamic models of moving objects to predict their trajectories. However, in complex, unstructured environments, the dynamic parameters of moving objects (such as mass, air resistance coefficient, and rotation) are difficult to accurately obtain and identify, and once the model is determined, it lacks adaptability. For example, in a scenario of hitting a ping-pong ball, factors such as the ball's rotation and airflow velocity significantly affect its flight trajectory, making prediction methods based on fixed physical models have poor generalization ability and large prediction errors in practical applications.

[0005] Secondly, at the operational decision-making and planning level, most existing robot operation strategies rely on precise dynamic models or extensive human teaching and programming. These methods appear rigid and lack adaptability when facing highly dynamic and uncertain environments, failing to generate optimal operation strategies in real time. While imitation learning-based methods can learn from human demonstrations, they are often limited by the quality of the teaching data and the differences between the robot's structure and that of humans, making it difficult to fully utilize the robot's inherent mechanical potential. Although reinforcement learning offers a possibility for autonomous learning, it generally suffers from sparse rewards and low sample efficiency in dynamic operation tasks, and the performance of the trained strategies degrades significantly when transferred from simulation to the real world.

[0006] Finally, at the motion execution and control level, the composite robot system consisting of a mobile chassis and a robotic arm is a typical redundant system, with a control complexity far exceeding that of a fixed-base robotic arm. Existing research typically handles the path planning of the mobile platform and the motion planning of the robotic arm separately, or employs simplified control strategies, making it difficult to achieve true coordination between the two at high speeds. This separate planning and control approach often fails to guarantee the overall motion smoothness and energy efficiency of the end effector when tracking dynamic trajectories, and easily overlooks collision constraints between the robotic arm and the mobile platform, as well as between robot links, leading to execution failures or safety issues.

[0007] Therefore, existing technologies lack a solution for robot dynamic manipulation that integrates high-speed dynamic perception, autonomous learning decision-making, and whole-body coordinated control. There is an urgent need for an environment understanding method that does not rely on precise physical models, a decision-making mechanism capable of efficient autonomous learning and strong generalization, and a real-time optimized control framework that can fully coordinate the mobile platform and robotic arm while satisfying various physical constraints, in order to address the challenges of dynamic manipulation tasks. Summary of the Invention

[0008] To address the three major bottlenecks in existing technologies for robot dynamic operation—strong dependence on environmental perception models, poor adaptability of decision-making strategies, and weak coordination of whole-body control—this invention aims to provide a robot dynamic operation scheme that integrates implicit representation and constraint optimization.

[0009] A method for dynamic robot operation, the core of which lies in adopting a three-layer architecture of representation layer - decision layer - control layer, specifically includes the following steps:

[0010] S1. Environmental Characterization and Prediction: Constructing an implicit trajectory characterization and prediction model based on a distributed decoder and a variational autoencoder based on gated recurrent units, specifically including:

[0011] Variational encoder: The input is the historical trajectory sequence of a ping-pong ball from time 1 to time m. Encoding is performed through a GRU network, and the output is a Gaussian distribution defining the mean μ and variance σ of the implicit encoding vector Z. The implicit encoding vector Z is calculated using the following reparameterization technique:

[0012]

[0013] Where θ represents the encoder network parameters, ⊙ denotes element-wise multiplication, and the trajectory reconstruction decoder: This decoder reconstructs the trajectory from time 1 to m using another GRU network based on the implicit encoded vector Z. Its output is defined by the following Gaussian distribution: This branch is only used for model training and does not participate in the final inference prediction;

[0014] Distributed decoder: Based on the same implicit encoding vector Z, it predicts the future trajectory from time m+1 to n through a GRU network and fully connected layers. Its output is also defined as: It is used to provide predictions of future trajectories;

[0015] The training in step S1 includes: first, training the variational encoder to learn accurate trajectory encoding and reconstruction; then, fixing the encoder parameters and training the distributed decoder separately; finally, during deployment, the system inputs the historical trajector observed in real time into the encoder to obtain Z, and uses the predictive decoder to output future trajectory predictions, providing key information for subsequent decision-making.

[0016] S2. Operation Strategy Generation: Based on large-scale distributed reinforcement training, the robot autonomously learns and generates its action strategy. A reinforcement learning model is constructed, which integrates the implicit trajectory representation and prediction model obtained in step S1 with the robot's own state information and task target points into state observations. Through large-scale distributed training, the robot autonomously learns and generates the target actions of its end effector in the task space.

[0017] Specifically, this step involves constructing a reinforcement learning model whose state observations integrate the implicit trajectory representation vector obtained in step S1, as well as the historical pose and velocity sequences of the robot's end effector (body perception information), and the coordinates of the task target point in the robot's base coordinate system. This reinforcement learning model is trained in a large-scale parallel environment built on the NVIDIA Isaac Sim simulation platform, employing a learning process that progresses from easy to difficult and an adversarial perturbation framework. By dynamically adjusting the task difficulty and introducing adversarial environmental changes, the robustness and generalization ability of the policy are continuously enhanced, ultimately outputting the robot's end effector target action in the task space.

[0018] Two mechanisms, curriculum learning and adversarial perturbation framework, are introduced to train reinforcement learning strategies.

[0019] Course Learning: Training does not begin in the most difficult environment. Instead, a curriculum is designed to progress from easy to difficult.

[0020] Beginner: Learn basic interception skills in an ideal environment (no noise, no wind, objects moving at a constant speed).

[0021] Intermediate: Gradually increase the perturbation range of the dynamic parameters and introduce simple trajectory mutations.

[0022] Advanced: Introducing "adversarial perturbations," where an adversarial network learns how to slightly alter the trajectory of an object (such as simulating an unpredictable gust of wind in a simulation), so that the robot's strategy remains robust even in the "worst-case" scenario.

[0023] Adversarial perturbations: The goal of this adversarial network is to cause the robot to fail its task, while the robot's policy network aims to overcome these perturbations and successfully complete the task. The two networks engage in a game of mutual competition during training, evolving together.

[0024] By breaking down task difficulty, the course effectively addresses the problem of low exploration efficiency caused by sparse rewards in the early stages of reinforcement learning. The agent first masters the basics before tackling more challenging tasks, resulting in a more stable and faster learning process.

[0025] Strategies "baptized" by adversarial perturbations exhibit a strong adaptability to various unknown and adversarial dynamic changes in the real world. This far exceeds the potential of ordinary domain randomization, minimizing the performance degradation from simulation to reality.

[0026] It can automatically generate increasingly challenging training environments, reducing reliance on manually designed simulation scenarios.

[0027] S3. Full-body coordinated control: Based on the target motion of the end effector generated in step S2, a smooth motion trajectory of the end effector is generated in the task space using polynomial interpolation. For each path point on the trajectory, a full-body coordinated controller based on nonlinear model predictive control (NMPC) is used to calculate the control commands of the robot's mobile chassis and each joint of the robotic arm in real time.

[0028] Specifically, this step involves: First, based on the target motion generated by S2, a smooth motion trajectory with continuous acceleration of the end effector is generated within the task space using fifth-order polynomial interpolation. Then, for the generated smooth end effector trajectory, a whole-body cooperative controller based on nonlinear model predictive control (NMPC) is employed. Within a look-ahead time window, this controller performs rolling optimization based on the overall nonlinear dynamics model of the mobile arm, solving in real-time an optimization problem that simultaneously satisfies multiple constraints such as trajectory tracking in the task space, generalized velocity and acceleration limits, and self-collision avoidance. This allows for the calculation of the optimal cooperative control commands for the robot's mobile chassis and each joint of the robotic arm.

[0029] Instead of considering only the current path point, it predicts the dynamic behavior of the robot system for several steps in the future within a finite time domain. It obtains the optimal sequence of control commands for the current and future time period by solving a constrained nonlinear optimization problem, but only executes the first step, and then repeats the process in the next control cycle.

[0030] The optimization problem directly incorporates a nonlinear dynamics model of the mobile robotic arm, which can more accurately describe the system's behavior under high-speed motion.

[0031] NMPC plans the movement of the mobile chassis and the posture adjustment of the robotic arm in advance, making the overall movement smoother and more energy-efficient. Because it explicitly considers system dynamics, NMPC can better handle effects such as inertia and Coriolis force in high-speed dynamic operation, significantly improving control accuracy and stability. Its ability to handle nonlinear constraints allows complex self-collision avoidance and dynamic constraints to be met more precisely, resulting in higher safety.

[0032] A robot dynamic operating system for implementing a robot dynamic operation method includes: a visual perception module for acquiring and processing image data and obtaining the historical trajectory sequence of a moving object; the visual perception module includes a high-speed binocular camera capable of reconstructing the three-dimensional position of the moving object at a frequency of not less than 200Hz.

[0033] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements steps such as those of a robot dynamic manipulation method. The electronic device is an industrial computer or embedded computing unit that integrates the trajectory prediction module, strategy decision module, and motion control module of the robot dynamic manipulation method. The electronic device communicates and exchanges data with the vision perception module and the robot actuator through the ROS robot operating system.

[0034] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of a robot dynamic manipulation method. The storage medium is a non-transient storage medium, including a computer hard disk, solid-state drive, USB flash drive, or optical disk; the program includes neural network model code for performing the environment characterization and prediction steps, reinforcement learning policy network code for performing the operation strategy generation steps, and trajectory generation and optimization solution code for performing the whole-body coordinated control steps.

[0035] Compared with the prior art, the advantages of the present invention include:

[0036] (1) The present invention provides a robot dynamic operating system, method, and electronic device, which provides a method for representing and predicting the trajectory of high-speed moving objects without relying on a precise physical model, so as to improve the robot's perception and understanding capabilities in highly dynamic environments. It also provides a method that can integrate environmental information and the robot's own state and can efficiently and autonomously learn operating strategies through large-scale simulation, so as to enhance the robot's decision-making intelligence and adaptability.

[0037] (2) The robot dynamic operating system, method and electronic device provided by the present invention can provide a real-time calculation method that can realize the full-body coordination of the mobile platform and the robotic arm and optimize control under multiple constraints, so as to ensure the accuracy, smoothness and safety of dynamic operation tasks. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 This is a schematic diagram of the overall kinematic model of a robot dynamic operating system, method, and electronic device according to the present invention.

[0040] Figure 2 This is a schematic diagram illustrating the trajectory tracking control effect of a robot dynamic operating system, method, and electronic device in this invention.

[0041] Figure 3 This is a comparison diagram of the experimental effects of a robot dynamic operating system, method and electronic equipment in a dynamic ball-hitting task according to the present invention;

[0042] Figure 4 This is a table of performance indicators for a robot dynamic operating system, method, and electronic device in this invention. Detailed Implementation

[0043] In view of the shortcomings of the prior art, the inventors of this invention, through long-term research and extensive practice, have proposed the technical solution of this invention. The technical solution, its implementation process, and principles will be further explained below with reference to the accompanying drawings and specific implementation examples in the embodiments of this application.

[0044] It should be noted that the embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention. The described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, the present invention covers any substitutions, modifications, equivalent methods and solutions made on the spirit, principles and scope of the present invention as defined by the claims. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0045] In the description of this application, the terms "first," "second," "third," and similar words do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms "a" or "one," and similar words, do not indicate a quantity limitation, but rather indicate the presence of at least one. The terms "comprising" or "including," and similar words, mean that the elements or objects preceding "comprising" or "including" encompass the elements or objects listed following "comprising" or "including," and their equivalents, but do not exclude other elements or objects. The terms "connected" or "linked," and similar words, are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect.

[0046] In the description of this application, the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used solely for the convenience of describing this application and for simplification, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Furthermore, when using positional terms such as "both sides," "outer side," and "upper and lower," it should be understood that they are used only for ease of understanding and description, taking into account that the structure may be oriented to other positions.

[0047] In the description of this application, unless otherwise expressly specified and limited, the technical or scientific terms used shall have the ordinary meaning understood by a person with ordinary skills in the art to which this application pertains. Terms such as “installation,” “connection,” and “joining” shall be interpreted broadly, for example, as fixed connection, detachable connection, mating connection, or integral connection. For a person skilled in the art, the specific meaning of the above terms in this application can be understood according to the specific circumstances.

[0048] The present invention aims to introduce and explain the structural composition of a robot dynamic operating system, method, and electronic device, as well as the cooperation relationship between the various components. Unless otherwise specified, the dimensions, materials, and manufacturing processes of the various components in the robot dynamic operating system, method, and electronic device in the present invention can be selected according to specific circumstances, and no special limitations or explanations are made here.

[0049] Furthermore, to provide the public with a better understanding of the present invention, certain specific details are described in detail in the following description of the invention. However, those skilled in the art will fully understand the invention even without these detailed descriptions.

[0050] Example 1

[0051] Please see Figures 1-4 A method for dynamic robot operation, the core of which lies in adopting a three-layer architecture of representation layer - decision layer - control layer, specifically including the following steps:

[0052] S1. Environmental Representation and Prediction: Based on a neural network architecture of variational autoencoder-distributed decoder, the historical trajectory sequence of a moving object is encoded to obtain a low-dimensional implicit trajectory representation vector. The distributed decoder then predicts the future trajectory of the moving object based on this implicit trajectory representation vector.

[0053] Specifically, it includes:

[0054] Variational encoder: Input is a sequence of historical trajectories from time 1 to time m. Encoding is performed through a GRU network, and the output is a Gaussian distribution defining the mean μ and variance σ of the implicit encoding vector Z. The implicit encoding vector Z is calculated using the following reparameterization technique:

[0055]

[0056] Where θ represents the encoder network parameters, ⊙ denotes element-wise multiplication, and the trajectory reconstruction decoder: This decoder reconstructs the trajectory from time 1 to m using another GRU network based on the implicit encoded vector Z. Its output is defined by the following Gaussian distribution: This branch is only used for model training and does not participate in the final inference prediction;

[0057] Distributed decoder: Based on the same implicit encoding vector Z, it predicts the future trajectory from time m+1 to n through a GRU network and fully connected layers. Its output is also defined as: It is used to provide predictions of future trajectories;

[0058] The training in step S1 includes: first, training the variational encoder to learn accurate trajectory encoding and reconstruction; then, fixing the encoder parameters and training the distributed decoder separately; finally, during deployment, the system inputs the historical trajectory observed in real time into the encoder to obtain Z, and uses the predictive decoder to output future trajectory predictions, providing key information for subsequent decision-making.

[0059] S2. Operation Strategy Generation: Based on large-scale distributed reinforcement training, the robot autonomously learns and generates its action strategy. A reinforcement learning model is constructed, which integrates the implicit trajectory representation and prediction model obtained in step S1 with the robot's own state information and task target points into state observations. Through large-scale distributed training, the robot autonomously learns and generates the target actions of its end effector in the task space.

[0060] Specifically, this step involves constructing a reinforcement learning model whose state observations integrate the implicit trajectory representation vector obtained in step S1, as well as the historical pose and velocity sequences of the robot's end effector (body perception information), and the coordinates of the task target point in the robot's base coordinate system. This reinforcement learning model is trained in a large-scale parallel environment built on the NVIDIA Isaac Sim simulation platform, employing a learning process that progresses from easy to difficult and an adversarial perturbation framework. By dynamically adjusting the task difficulty and introducing adversarial environmental changes, the robustness and generalization ability of the policy are continuously enhanced, ultimately outputting the robot's end effector target action in the task space.

[0061] Two mechanisms, curriculum learning and adversarial perturbation framework, are introduced to train reinforcement learning strategies.

[0062] Course Learning: Training does not begin in the most difficult environment. Instead, a curriculum is designed to progress from easy to difficult.

[0063] Beginner: Learn basic interception skills in an ideal environment (no noise, no wind, objects moving at a constant speed).

[0064] Intermediate: Gradually increase the perturbation range of the dynamic parameters and introduce simple trajectory mutations.

[0065] Advanced: Introducing "adversarial perturbations," where an adversarial network learns how to slightly alter the trajectory of an object (such as simulating an unpredictable gust of wind in a simulation), so that the robot's strategy remains robust even in the "worst-case" scenario.

[0066] Adversarial perturbations: The goal of this adversarial network is to cause the robot to fail its task, while the robot's policy network aims to overcome these perturbations and successfully complete the task. The two networks compete against each other during training and evolve together.

[0067] By breaking down task difficulty, the course effectively addresses the problem of low exploration efficiency caused by sparse rewards in the early stages of reinforcement learning. The agent first masters the basics before tackling more challenging tasks, resulting in a more stable and faster learning process.

[0068] Strategies "baptized" by adversarial perturbations exhibit a strong adaptability to various unknown and adversarial dynamic changes in the real world. This far exceeds the potential of ordinary domain randomization, minimizing the performance degradation from simulation to reality.

[0069] It can automatically generate increasingly challenging training environments, reducing reliance on manually designed simulation scenarios.

[0070] S3. Full-body coordinated control: Based on the target motion of the end effector generated in step S2, a smooth motion trajectory of the end effector is generated in the task space using polynomial interpolation. For each path point on the trajectory, a full-body coordinated controller based on nonlinear model predictive control (NMPC) is used to calculate the control commands of the robot's mobile chassis and each joint of the robotic arm in real time.

[0071] Specifically, this step involves the following steps: First, based on the target motion generated by S2, a smooth motion trajectory with continuous acceleration of the end effector is generated within the task space using fifth-order polynomial interpolation. Then, for the generated smooth end effector trajectory, a whole-body cooperative controller based on nonlinear model predictive control (NMPC) is employed. Within a look-ahead time window, this controller performs rolling optimization based on the overall nonlinear dynamics model of the mobile robotic arm, solving in real-time an optimization problem that simultaneously satisfies multiple constraints, including trajectory tracking in the task space, generalized velocity and acceleration limits, and collision avoidance. This allows for the calculation of the optimal cooperative control commands for the robot's mobile chassis and each joint of the robotic arm.

[0072] Instead of considering only the current path point, it predicts the dynamic behavior of the robot system for several steps in the future within a finite time domain. It obtains the optimal sequence of control commands for the current and future time period by solving a constrained nonlinear optimization problem, but only executes the first step, and then repeats the process in the next control cycle.

[0073] The optimization problem directly incorporates a nonlinear dynamics model of the mobile robotic arm, which can more accurately describe the system's behavior under high-speed motion.

[0074] NMPC plans the movement of the mobile chassis and the posture adjustment of the robotic arm in advance, making the overall movement smoother and more energy-efficient. Because it explicitly considers system dynamics, NMPC can better handle effects such as inertia and Coriolis force in high-speed dynamic operation, significantly improving control accuracy and stability. Its ability to handle nonlinear constraints allows complex self-collision avoidance and dynamic constraints to be met more precisely, resulting in higher safety.

[0075] A robot dynamic operating system for implementing a robot dynamic operation method includes: a visual perception module for acquiring and processing image data and obtaining the historical trajectory sequence of a moving object; the visual perception module includes a high-speed binocular camera capable of reconstructing the three-dimensional position of the moving object at a frequency of not less than 200Hz.

[0076] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements steps such as those of a robot dynamic manipulation method. The electronic device is an industrial computer or embedded computing unit that integrates the trajectory prediction module, strategy decision module, and motion control module of the robot dynamic manipulation method. The electronic device communicates and exchanges data with the vision perception module and the robot actuator through the ROS robot operating system.

[0077] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of a robot dynamic manipulation method. The storage medium is a non-transient storage medium, including a computer hard disk, solid-state drive, USB flash drive, or optical disk; the program includes neural network model code for performing the environment characterization and prediction steps, reinforcement learning policy network code for performing the operation strategy generation steps, and trajectory generation and optimization solution code for performing the whole-body coordinated control steps.

[0078] Experimental verification

[0079] To verify the effectiveness of the method of this invention, table tennis ball return experiments were conducted on simulation and preliminary physical platforms. (See attached...) Figure 3 and attached Figure 4 As shown, the mobile robotic arm using the method of this invention has a significantly higher success rate and landing accuracy than traditional pre-programmed trajectory methods and single reinforcement learning strategies that do not incorporate implicit representations when dealing with balls of different speeds and rotations, fully demonstrating the superiority of this invention in dynamic operation tasks.

[0080] Example 2

[0081] Taking the typical high-dynamic task of a mobile robotic arm hitting a ping-pong ball as an example, the specific implementation process of the present invention is explained.

[0082] Environmental Characterization and Prediction—Implicit Representation and Prediction Algorithm for Moving Object Trajectories Based on Distributed Decoder

[0083] This step aims to achieve accurate perception and prediction of moving objects in highly dynamic environments.

[0084] Step 1: Data Acquisition and Preparation. A high-speed binocular vision system was used to acquire flight trajectory data of the ping-pong ball at a frequency of 200Hz. A triangulation algorithm was then used to obtain its three-dimensional spatial position sequence in real time, forming historical trajectory observation data. This embodiment collected over 1000 complete motion trajectories acquired in real and simulated environments for model training and testing.

[0085] 1.1 Model Construction A trajectory implicit representation and prediction model based on distributed decoders is constructed. This model is based on a variational autoencoder constructed from gated recurrent units, mainly consisting of one encoder and two distributed decoders.

[0086] Encoder: Input is the historical trajectory sequence of a ping-pong ball from time 1 to time m. Encoding is performed using a GRU network, outputting the mean μ and variance σ of a Gaussian distribution defining the implicit encoding vector Z. The implicit encoding vector Z is calculated using the following reparameterization technique:

[0087]

[0088] Where θ represents the encoder network parameters, and ⊙ denotes element-wise multiplication. Trajectory Reconstruction Decoder: This decoder reconstructs the trajectory from time 1 to m using another GRU network based on the implicitly encoded vector Z. Its output is defined by the following Gaussian distribution: This branch is only used for model training and does not participate in the final inference prediction.

[0089] Distributed Decoder: This decoder predicts future trajectories from time m+1 to n using the same implicit encoded vector Z, through a GRU network and fully connected layers. Its output is also defined as: This branch is the core of the invention, used to provide future trajectory predictions.

[0090] 1.2 Model Training and Usage: Training is divided into two stages: First, the variational encoder is trained to learn accurate trajectory encoding and reconstruction; then, the encoder parameters are fixed, and the trajectory prediction decoder is trained separately. Upon final deployment, the system inputs the historical trajectories observed in real time into the encoder to obtain Z, and uses the prediction decoder to output future trajectory predictions, providing crucial information for subsequent decision-making.

[0091] Step 2, Operation Strategy Generation – Research on Dynamic Operation Strategies for Robots Based on Large-Scale Distributed Reinforcement Learning

[0092] 2.1 Simulation Environment Setup Based on the NVIDIA Isaac Sim platform, a simulation environment was built including a mobile robotic arm, a ping-pong table, and ping-pong balls. This environment was replicated 1000 times to create a large-scale parallel training scenario. Domain randomization was employed to randomly perturb the dynamic parameters such as the elastic coefficient of the paddle, the coefficient of friction, and the mass of the ball in groups of 10 environments, in order to improve the robustness of the strategy and its transferability from simulation to reality.

[0093] 2.2 Setting up a reinforcement learning framework

[0094] State space: State observations are formed by fusing multiple types of information through a multilayer perceptron. :

[0095]

[0096] Where Z is the implicit trajectory representation vector obtained in step 1. Features of the historical pose and velocity sequence of the robot's end effector The coordinates of the target landing point area are given by [coordinates], and || represents vector concatenation. Action space: The target pose and velocity of the robot's end effector (racket) in the task space. Reward function: Designed based on the distance between the return ball's landing point and the target point, the return ball's velocity, and whether a collision or robot movement exceeds the limit.

[0097] Algorithm and Training: Implement the multi-agent TD3 algorithm based on value set evaluation. The optimization objective of the algorithm is to maximize the following expected reward:

[0098]

[0099] Where N is the number of agents in the parallel environment. The cumulative reward obtained by the i-th agent. For the corresponding weights, The policy network is to be learned. A centralized value function is used to evaluate the network and efficiently optimize it using data generated in a large-scale parallel environment.

[0100] 3. Whole-body coordinated control – a constraint optimization-based overall control algorithm for a mobile robotic arm

[0101] 3.1 Trajectory Generation After the policy network outputs the target hitting action, a continuous and smooth motion trajectory with acceleration is generated between the current position of the robot's end effector and the target position using a fifth-order polynomial interpolation method. This continuous trajectory is then discretized and sampled to obtain a series of path points.

[0102] 3.2 Overall Kinematic Modeling A global kinematic model of the mobile robotic arm is established. By combining the Jacobian matrix of the mobile chassis and the geometric Jacobian matrix of the robotic arm, the global Jacobian matrix J of the system is obtained. This matrix establishes the mapping relationship from the robot's generalized velocity vector ξ to the end effector's task space velocity v, i.e. .

[0103] 3.3 Problem Formulation and Solution: For each path point on the trajectory, the expected task space velocity is... Given that the inverse kinematics solution is transformed into the following linear quadratic programming problem for real-time solution:

[0104]

[0105] Subject to constraints:

[0106]

[0107] Link pairs i,j used for all collision avoidance purposes

[0108] in: It is a positive definite weight matrix used to adjust the weights of the generalized velocity. η is the operability index based on the robot's current configuration q. η is a coefficient used to balance the velocity norm and operability weights. These represent the lower and upper limits of the components of the generalized velocity. The minimum distance between links i and j must be greater than the safety threshold. .

[0109] By solving this optimization problem in real time, the coordinated control commands of the mobile chassis and the joints of the robotic arm that satisfy multiple constraints can be obtained.

[0110] It should be understood that the above embodiments are only for illustrating the technical concept and features of the present invention, and are intended to enable those skilled in the art to understand the content of the present invention and implement it accordingly. It should not be considered that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art, several simple deductions or substitutions can be made without departing from the concept of the present invention. All equivalent changes or modifications made in accordance with the spirit and essence of the present invention should be covered within the protection scope of the present invention.

Claims

1. A method for dynamic operation of a robot, characterized in that, Includes the following steps: S1. Environmental Characterization and Prediction: Constructing an implicit trajectory characterization and prediction model based on a distributed decoder and a variational autoencoder based on gated recurrent units, specifically including: Variational encoder: The input is the historical trajectory sequence of a ping-pong ball from time 1 to time m. Encoding is performed using a GRU network, and the output is the mean of a Gaussian distribution defining the implicit encoding vector Z. and variance The implicit encoding vector Z is calculated using the following reparameterization technique: in, For encoder network parameters, This represents element-wise multiplication. The trajectory reconstruction decoder reconstructs the trajectory from time 1 to m using another GRU network based on the implicitly encoded vector Z. Its output is defined by the following Gaussian distribution: This branch is only used for model training and does not participate in the final inference prediction; Distributed decoder: Based on the same implicit encoding vector Z, it predicts the future trajectory from time m+1 to n through a GRU network and fully connected layers. Its output is also defined as: It is used to provide predictions of future trajectories; S2. Operation strategy generation: Construct a reinforcement learning model, integrate the trajectory implicit representation vector obtained in step S1 with the robot's body state information and task target points into state observation values, and autonomously learn to generate the robot's end effector target actions in the task space through large-scale distributed training. S3. Full-body coordinated control: Based on the target motion of the end effector generated in step S2, a smooth motion trajectory of the end effector is generated in the task space using polynomial interpolation. For each path point on the trajectory, a full-body coordinated controller based on nonlinear model predictive control is used to calculate the control commands of the robot's mobile chassis and each joint of the robotic arm in real time.

2. The robot dynamic operation method according to claim 1, characterized in that: The model training in step S1 includes: first, training the variational encoder to learn accurate trajectory encoding and reconstruction; then, fixing the encoder parameters and training the distributed decoder separately; finally, when deployed, the system inputs the historical trajectory observed in real time into the encoder to obtain Z, and uses the predictive decoder to output future trajectory predictions, providing key information for subsequent decision-making.

3. The robot dynamic operation method according to claim 1, characterized in that: The reinforcement learning model in step S2 is trained by learning courses from easy to difficult and using an adversarial perturbation framework. By dynamically adjusting the task difficulty and introducing adversarial environmental changes, the robustness and generalization ability of the strategy are continuously enhanced, and finally the robot's end effector target action in the task space is output.

4. The robot dynamic operation method according to claim 3, characterized in that: The state observations in step S2 specifically include: introducing two mechanisms, curriculum learning and adversarial perturbation framework, to train the reinforcement learning strategy. The learning strategy includes: training a curriculum designed from easy to difficult. Beginner: Learn basic interception skills in an ideal environment; Intermediate: Gradually increase the perturbation range of the dynamic parameters and introduce simple trajectory mutations; Advanced: Introducing adversarial perturbations allows the robot to learn how to slightly alter the trajectory of an object, making its strategy robust even in the worst-case scenario.

5. A robot dynamic operation method according to claim 1, characterized in that: The polynomial interpolation method in step S3 is a fifth-order polynomial interpolation method, used to generate a smooth trajectory with continuous acceleration.

6. A robot dynamic operation method according to claim 5, characterized in that: In step S3, a whole-body cooperative controller based on nonlinear model predictive control is used for the generated end-effector smooth motion trajectory. Within a look-ahead time window, the controller performs rolling optimization based on the overall nonlinear dynamic model of the mobile robotic arm, and solves in real time the optimization problem that simultaneously satisfies multiple constraints such as task space trajectory tracking, generalized velocity and acceleration limits, and self-collision avoidance, thereby calculating the optimal cooperative control commands for the robot's mobile chassis and each joint of the robotic arm.

7. A robot dynamic operation method according to claim 6, characterized in that: The nonlinear model predictive control obtains the optimal sequence of control commands for the current and future time period by solving a constrained nonlinear optimization problem, but only executes the first step and then repeats the process in the next control cycle.

8. A robot dynamic operating system for implementing the method described in any one of claims 1-7, characterized in that: include: A visual perception module is used to collect and process image data and obtain the historical trajectory sequence of moving objects. The visual perception module includes a high-speed binocular camera. The trajectory prediction module has a built-in variational autoencoder based on a gated cyclic unit and a distributed decoder, which are used to perform the environmental characterization and prediction steps and output the future trajectory prediction of the moving object. The strategy decision module has a built-in multi-agent reinforcement learning model based on value set evaluation, which runs in a GPU-accelerated large-scale parallel simulation environment. It is used to execute the operation strategy generation step and output the target action of the end effector. The motion control module is used to execute the whole-body coordinated control steps. It generates a smooth trajectory using fifth-order polynomial interpolation based on the target action, and introduces a course learning and adversarial perturbation framework to solve the control commands of each joint of the mobile chassis and robotic arm in real time. The robot actuator, including an omnidirectional mobile chassis and a multi-degree-of-freedom cooperative robotic arm, is used to receive the control commands and execute cooperative movements to complete dynamic operation tasks.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it implements the steps of the method as described in any one of claims 1-7; the electronic device is an industrial control computer or embedded computing unit that integrates the trajectory prediction module, strategy decision module and motion control module as described in claim 8; the electronic device communicates and exchanges data with the vision perception module and the robot actuator through the ROS robot operating system.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by the processor, it implements the steps of the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Mechanical arm motion control method based on multi-agent cooperation

    CN120620234A

  • Navigation of tele-robot in dynamic environment using in-situ intelligence

    US20220219325A1