Parallel robot trajectory tracking method and system based on physical constraint neural network and MPC

By constructing a dual-branch PINN network total driving force prediction model and a rolling time-domain optimization framework for MPC, the problems of conservative control gain tuning and model mismatch in parallel robots are solved, achieving high-precision and robust trajectory tracking performance.

CN123169104APending Publication Date: 2026-11-27NANJING INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611525717.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Parallel robots suffer from conservative control gain tuning and difficulty in balancing dynamic response differences under light and heavy loads in complex dynamic testing tasks. Traditional PID control is limited by modeling accuracy and physical constraints, which cannot fully unleash the platform's dynamic performance, and model mismatch leads to disturbance source problems.

Method used

A dual-branch PINN network total driving force prediction model is constructed using a method based on physical constraint neural networks and MPC. By combining frictional and dynamic branches and embedding the MPC rolling time-domain optimization framework, high-precision and robust trajectory tracking can be achieved.

Benefits of technology

It improves the trajectory tracking accuracy and robustness of parallel robots under model uncertainty and multiple constraints, avoids prediction results from violating physical laws, and improves motion lag and target following ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169104A_ABST
    Figure CN123169104A_ABST
Patent Text Reader

Abstract

The application discloses a parallel robot trajectory tracking method and system based on a physical constraint neural network and MPC, and belongs to the technical field of robot control. The method comprises the following steps: a total driving force prediction model is constructed, wherein a PINN network of a dynamics branch predicts the total driving force required by the motion of a platform, a friction force branch outputs the friction force of each supporting leg, and the friction force branch comprises a physical friction model and a friction residual PINN network; the outputs of the two branches are superimposed to obtain a total driving force prediction value; at each sampling time, three consecutive poses are optimized, the driving force is predicted through inverse solution, difference and the total driving force prediction model, and the inverse estimation pose is solved by taking the measured driving force as a target; a target function is constructed to make the control pose close to the reference pose, the inverse estimation pose and the pose increment change smooth, and the optimal control pose at the current sampling time is solved to drive the parallel robot to move. The application realizes high-precision and strong-robust trajectory tracking under model uncertainty and multiple constraint conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of robot control technology, specifically relating to a parallel robot trajectory tracking method and system based on physical constraint neural networks and MPC. Background Technology

[0002] Parallel robots employ a multi-branch closed-loop structure, where the moving platform is simultaneously connected to the stationary platform by two or more independent kinematic branches, forming a closed-loop kinematic chain. This configuration allows the drive unit to be fully or partially mounted on the base, significantly reducing the inertia of moving parts and thus enabling extremely high speeds and accelerations. The closed-loop structure itself endows the system with high stiffness and high load-bearing capacity, and the errors of each branch do not accumulate linearly at the end, providing a natural advantage in accuracy. It is precisely because of these outstanding advantages, such as high stiffness, high acceleration capacity, and low cumulative error, that parallel robots have become the preferred actuator for complex dynamic testing tasks. Especially in the field of vehicle operation simulation, the driving performance of cars on roads and the response characteristics of ships on the sea surface, if relying solely on simple physical modeling, are difficult to reproduce with high fidelity the random excitations and nonlinear coupling effects in the real environment; while directly conducting actual vehicle road tests or actual ship sea trials faces challenges such as high costs, long cycles, poor repeatability, and uncontrollable environments. To this end, researchers collected road load spectra and ocean wave spectra in practice, and through signal processing and iterative driving, used a six-degree-of-freedom parallel motion platform to accurately reproduce vehicle attitude and ship motion in the laboratory, providing a high-fidelity and repeatable test environment for chassis durability, ride comfort calibration, and marine equipment reliability verification.

[0003] One control method for parallel robots is traditional PID control, which adjusts the proportional (PID) ratio. ),integral( ),differential( The three parameters can be corrected based on error feedback, and the control law itself does not depend on the precise mathematical model of the controlled object. However, there are a large number of strongly nonlinear terms and coupling relationships in the dynamics of parallel robots, making precise modeling very difficult. Therefore, existing technologies use a hybrid control method that combines mechanical feedforward compensation with PID feedback to try to make up for the limitations of PID in dynamic response. However, this framework still has fundamental shortcomings: the effect of feedforward compensation is strictly limited by the modeling accuracy, and PID cannot explicitly handle physical constraints such as joint torque saturation and speed limits, forcing the control gain tuning to be conservative and making it difficult to fully release the platform's dynamic performance; in addition, traditional PID control is limited by the conservative tuning of fixed gain, making it difficult to take into account the differences in dynamic response of parallel robots under light and heavy loads. Feedforward compensation based on analytical dynamic models, due to its high dependence on precise physical parameters (such as inertia and friction coefficient), suffers from severe model mismatch under high-speed variable load conditions, often causing the feedforward force to become a source of disturbance. Summary of the Invention

[0004] To address the shortcomings of existing technologies, this invention provides a parallel robot trajectory tracking method and system based on physical constraint neural networks and MPC. It utilizes physical constraint neural networks to establish a high-fidelity and physically consistent prediction model and embeds the rolling time-domain optimization framework of MPC, thereby achieving high-precision and robust trajectory tracking under model uncertainty and multiple constraints.

[0005] This invention provides the following technical solution: Firstly, a method for parallel robot trajectory tracking based on physical constraint neural networks and MPC is provided, including: A total driving force prediction model using a dual-branch PINN network is constructed. The dynamics branch uses a PINN network to predict the driving force of each outrigger required for the movement of the moving platform. The friction branch includes a physical friction model and a friction residual PINN network to output the friction force of each outrigger. The outputs of the two branches are superimposed to obtain the total driving force of all outriggers. At each sampling time, the following operation is performed: The actual total driving force of the outriggers is collected across multiple frames. Using the pose of the moving platform across multiple consecutive frames as the variable to be optimized, inverse kinematics and the center difference method are used to obtain the outrigger length, extension speed, and extension acceleration, which are then input into the total driving force prediction model to obtain the predicted value of the total driving force. The goal is to minimize the residual between the actual driving force and the predicted total driving force, and this is solved to obtain the inverse estimated pose at the current sampling time. With the goal of controlling the pose to be close to the reference pose, inversely estimating the pose, and having a small change in pose increment, a single-step rolling optimization objective function is constructed. After solving for the optimal control pose at the current sampling time, the parallel robot is driven to perform the motion to achieve trajectory tracking.

[0006] Optionally, the PINN network of the dynamics branch takes the rod length, extension speed and extension acceleration of all legs as inputs, and outputs the driving force of each leg. After that, it is mapped to the generalized force of the dynamic platform through the force Jacobian matrix, and then compared with the theoretical generalized force calculated by the Newton-Euler equation to construct the physical constraint loss, which is used for training the PINN network of the dynamics branch.

[0007] Optionally, the physical friction model is: ; in, For the first Frictional compensation force of each outrigger express Coulomb friction parameters of each outrigger express The viscous friction coefficient of each outrigger For the first Frictional offset of one outrigger. For the first The extension and retraction speed of each leg For the first Speed ​​smoothing parameters for each outrigger; The friction residual PINN network takes the leg length and extension / retraction speed as inputs and outputs the nonlinear friction force of each leg. The friction force output by the friction force branch is the sum of the nonlinear friction force of each leg and the friction compensation force. The trainable parameters of the friction force branch include the friction parameter vector. : ,in, Let Coulomb friction parameter vector be , Let be the viscous friction parameter vector. This is the friction bias vector.

[0008] Optionally, during training, the total driving force prediction model first performs joint training on the dynamics branch and the friction branch, then freezes the friction branch and trains the PINN network of the dynamics branch separately. Subsequently, after freezing the network parameters of the dynamics branch, the dynamic residuals are fitted using the physical friction model. Then, the friction residual PINN network is trained with the remaining residuals as the target. Finally, all parameters are unfrozen for joint fine-tuning.

[0009] Optionally, the loss function for joint training of the dynamics branch and the friction branch. for: ; ; ; in, For data supervision loss function, The physical constraint loss function, For physical constraint loss weights, For physical parameter regularization, For physical parameter regularization weights; The number of training samples. For the first At the [time]th moment The outrigger uses the total driving force prediction model to predict the driving force of each leg. For the first At the [time]th moment The actual dynamic driving force of each outrigger; A very small positive number is set to prevent the denominator from being zero. This is a scale normalization matrix used to unify the order of magnitude of force and moment components in generalized forces. The theoretical generalized force is calculated using the Newton-Euler equations. For the first The generalized force predicted at each moment; , The resultant force of the driving forces of each outrigger required for the movement of the platform. , The resultant torque required for the motion of the moving platform Let the position vector of the center of mass of the moving platform be denoted as . Let the moment of inertia matrix of the moving platform be in the global coordinate system. and These are the angular velocity and angular acceleration of the moving platform, respectively.

[0010] Optionally, the objective is to minimize the residual between the actual driving force and the predicted total driving force, and the solution is used to obtain the current sampling time. Inverse pose estimation Specifically, the sequential quadratic programming method is used to solve the nonlinear constrained optimization problem. ; The constraints for solving the problem are: ;in, To obtain the estimated pose of the moving platform in three consecutive frames, the pose of the middle frame is the pose at the current sampling time. Inverse estimation of pose ; The variable to be optimized is specifically the pose of the moving platform in three consecutive frames. To be at the current sampling time The actual total driving force This is the predicted value of total driving force. and These are the upper and lower limits of the preset moving platform pose, respectively.

[0011] Optionally, the single-step rolling optimization objective function for: ; ; in, The current sampling time Controlling the pose, For the current moment Controlling pose increments For the current moment The reference pose, The current sampling time Inverse pose estimation, As the reference trajectory tracking weight matrix, To inversely estimate the pose weight matrix, This is the pose increment smoothing weight matrix.

[0012] Secondly, a parallel robot trajectory tracking system based on physical constraint neural networks and MPC is provided, including: The model building module is used to construct a total driving force prediction model using a dual-branch PINN network. The dynamics branch uses a PINN network to predict the driving force of each outrigger required for the movement of the moving platform. The friction branch includes a physical friction model and a friction residual PINN network to output the friction force of each outrigger. The outputs of the two branches are superimposed to obtain the total driving force of all outriggers. The trajectory tracking module is used to drive the parallel robot's movements at each sampling moment to achieve trajectory tracking. It includes a data acquisition submodule, an inverse pose estimation submodule, and an MPC control submodule. The acquisition submodule is used to acquire the actual total driving force of the outriggers in multiple frames, as well as the control pose at the previous moment and the reference pose at the current moment. The inverse pose estimation submodule is used to take the pose of the moving platform in multiple consecutive frames as the variables to be optimized, and use inverse kinematics and center difference methods to obtain the outrigger length, extension speed and extension acceleration as inputs to the total driving force prediction model to obtain the predicted value of the total driving force; with the objective of minimizing the residual between the actual driving force and the predicted value of the total driving force, the inverse estimated pose at the current sampling time is obtained by solving the problem. The MPC control submodule is used to construct a single-step rolling optimization objective function with the goal of controlling the pose to be close to the reference pose, inversely estimating the pose and minimizing the change in pose increment. After solving for the optimal control pose at the current sampling time, it drives the parallel robot to move.

[0013] Thirdly, a computer device is provided, including a processor and a memory; wherein, when the processor executes a computer program stored in the memory, it implements the steps of the parallel robot trajectory tracking method based on physical constraint neural network and MPC as described in any one of the first aspects.

[0014] Fourthly, a computer-readable storage medium is provided for storing a computer program; when the computer program is executed by a processor, it implements the steps of the parallel robot trajectory tracking method based on physical constraint neural network and MPC as described in any one of the first aspects.

[0015] Compared with the prior art, the beneficial effects of the present invention are: This invention employs a total driving force prediction model using a dual-branch PINN network. The dynamics branch and friction branch embed the physical laws governing system behavior into the network structure or loss function, organically integrating prior knowledge with data-driven learning. This ensures the physical consistency of the prediction results and significantly improves the reliability of the total driving force prediction model outside the training domain, avoiding predictions that might violate fundamental physical laws such as energy conservation and the law of angular momentum. Furthermore, this invention incorporates the rolling temporal optimization framework of MPC, improving the issues of motion lag and difficulty in tracking target positions in parallel robots. This enhances the trajectory-following capability of parallel robots, achieving high-precision and robust trajectory tracking under model uncertainty and multiple constraints. Attached Figure Description

[0016] Figure 1 This is a flowchart of the parallel robot trajectory tracking method based on physical constraint neural network and MPC according to the present invention; Figure 2 This is a schematic diagram of the total driving force prediction model of the present invention; Figure 3 This is a flowchart of the steps involved in introducing model predictive control in this invention; Figure 4 This is a pose result diagram obtained by using only a single-physics neural network inverse solution in Embodiment 2 of the present invention; Figure 5 This is a diagram showing the pose prediction results of parallel robot trajectory tracking based on physical constraint neural network and MPC in Embodiment 2 of the present invention. Figure 6 This is a structural schematic diagram of the parallel robot of the present invention. Detailed Implementation

[0017] The present invention will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention and should not be used to limit the scope of protection of the present invention. It should be noted that the term "comprising" and any variations thereof in the specification, claims and the above-mentioned drawings of the present invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or devices.

[0018] Example 1: like Figure 1 As shown, a parallel robot trajectory tracking method based on physical constraint neural networks and MPC includes: I. Constructing a total driving force prediction model using a dual-branch PINN network.

[0019] like Figure 1 and Figure 6 As shown, a total driving force prediction model using a dual-branch PINN network is constructed. The dynamics branch uses a PINN network to predict the driving force of each outrigger required for the movement of the platform. The friction branch includes a physical friction model and a friction residual PINN network to output the friction force of each outrigger. The outputs of the dynamics branch and the friction branch are superimposed to obtain the total driving force of all outriggers.

[0020] (1) Dynamics branch.

[0021] The dynamics branch employs a PINN network, which is a feedforward neural network with a network structure referencing existing technologies. The PINN network of the dynamics branch takes the length, extension speed, and extension acceleration of all outriggers as inputs, and outputs the driving force of each outrigger, which is then mapped to the generalized force of the dynamic platform via a force-Jacobi matrix.

[0022] The PINN network uses the length, extension speed, and extension acceleration of the six legs as inputs to the dynamics branch. : ; in, , and These represent the length vector, extension velocity vector, and extension acceleration vector of the six legs, respectively.

[0023] The PINN network of the dynamics branch outputs the axial dynamic driving force for the six legs. : ; For the A leg, whose unit direction vector is defined as The position vector of the moving platform hinge point relative to the platform reference point is: Based on the principle of virtual work, a mapping matrix is ​​constructed from the driving force of the six outriggers to the generalized force of the moving platform. : ; After considering the inertial forces of the six outriggers themselves, the generalized force generated on the moving platform by the outrigger driving force predicted by the PINN network of the dynamics branch is:

[0024] in, The equivalent inertial force vector for the six outriggers. This includes the resultant force and resultant torque acting on the moving platform.

[0025] According to Newton's equations, the net force required for the moving platform to move is... for: ; in, To improve platform quality, To accelerate the center of gravity of the moving platform, This is the vector of gravitational acceleration.

[0026] According to Euler's equations, the resultant torque required for the motion of the moving platform is: ; in, Let the position vector of the center of mass of the moving platform be denoted as . Let the moment of inertia matrix of the moving platform be in the global coordinate system. and These are the angular velocity and angular acceleration of the moving platform, respectively.

[0027] This yields the six-dimensional generalized force required for the motion of the moving platform. : ; in, The first three components are force, with units of N; the last three components are torque, with units of N·m.

[0028] (2) Frictional force branch.

[0029] The friction force branch includes a physical friction model and a friction residual PINN network, which are used to output the friction force of each leg.

[0030] The physical friction model is constructed by using Coulomb friction, viscous friction, and frictional bias to describe the frictional characteristics of the parallel robot's legs. Specifically: for the first... The frictional compensation force of the single outrigger is expressed as: ; In the formula: For the first The length or telescopic displacement of each outrigger, in meters (m). For the first The extension and retraction speed of each outrigger, measured in m / s; For the first The frictional compensation force of each outrigger, expressed in N; For the first The Coulomb friction parameter of each outrigger, in N; For the first The viscous friction coefficient of each outrigger, expressed in N·s / m; For the first Frictional offset of each outrigger, in N; This is a sign function used to describe the characteristic that the Coulomb friction force changes direction with the direction of the outrigger's motion. Defining the outrigger extension direction as the positive velocity direction, then... Indicates the first One leg extends, Indicates the first One of the supporting legs is shortened.

[0031] Since the sign function is discontinuous at zero velocity, it is not conducive to the calculation of gradients by the PINN network through backpropagation. Therefore, the hyperbolic tangent function is used to make a smooth approximation of the sign function: In the formula, For the first The speed smoothing parameter (common smoothing parameter) of each outrigger is used to control the transition range of friction near zero speed.

[0032] This leads to a differentiable outrigger friction model: ; in, For the first Frictional compensation force of each outrigger express Coulomb friction parameters of each outrigger express The viscous friction coefficient of each outrigger For the first Frictional offset of one outrigger For the first The extension and retraction speed of each leg For the first The velocity smoothing parameter of each outrigger. When the outrigger extension speed is far from the zero velocity region, the hyperbolic tangent function approaches positive 1 or negative 1. At this time, the above equation is approximately equivalent to the traditional Coulomb-viscous friction model. When the outrigger extension speed is close to zero, the friction force changes continuously, thereby avoiding the gradient discontinuity problem caused by the sudden change of the sign function.

[0033] Define the extension and retraction velocity vectors of the six outriggers: ; Define the smooth Coulomb friction direction vectors for the six legs: ; Define the Coulomb friction parameter vector, viscous friction parameter vector, and friction bias vector for each of the six legs: ; ; ; Construct the friction regression matrix for the six outriggers:

[0034] In the formula: This represents the six Coulomb friction terms corresponding to the six outriggers; This represents the six viscous friction terms corresponding to the six outriggers; It is a 6th order identity matrix, representing the six friction bias terms corresponding to the six legs.

[0035] Define the frictional force vectors for the six legs: ; Therefore, the friction force matrix model of the six legs can be expressed as: ; Expanding the friction regression matrix and the friction parameter vector, we get: ; During friction branch training, the friction parameter vector The parameters are set as trainable parameters, and the physical friction model is used as the physical constraint layer for the friction branch. Through training data and error backpropagation, the Coulomb friction parameters, viscous friction coefficient, friction bias, and velocity smoothing parameters of the six legs are identified, ultimately obtaining a robot friction prediction model with clear physical meaning.

[0036] To ensure that the identified friction parameters conform to fundamental physical laws, non-negative constraints are applied to the Coulomb friction parameters and the viscous friction coefficient: During the training of the friction branch, unconstrained parameters will be used. and The corresponding friction parameters are mapped using the Softplus function: This ensures that during the training process and It is always a positive value.

[0037] The Friction Residual PINN network is used to learn the nonlinear friction components that the Coulomb-viscosity model fails to describe. The Friction Residual PINN network is also a type of feedforward neural network, and its network structure is based on existing technologies. The Friction Residual PINN network takes the leg length and extension speed as inputs and outputs the nonlinear friction force of each leg. The friction force output by the friction force branch is the sum of the nonlinear friction force of each leg and the friction compensation force.

[0038] (3) Training of the total driving force prediction model.

[0039] like Figure 2As shown, the dynamics branch and the friction branch are first trained together. Then the friction branch is frozen and the PINN network of the dynamics branch is trained separately. After freezing the network parameters of the dynamics branch, the dynamic residuals are fitted with the physical friction model. Then the friction residual PINN network is trained with the residuals as the target. Finally, all parameters are unfrozen and jointly fine-tuned.

[0040] Before training, a dataset is first constructed. Typically, a fifth-order Fourier series is used to generate the excitation trajectory of the robot's motion. The excitation trajectory is defined in the task space (the six pose degrees of freedom of the moving platform), and then mapped to the drive link length through inverse kinematics. Based on the assumption that the parallel robot can operate normally in the workspace, obviously excessive link length data are removed. Experiments are conducted, using the robot's joint-end encoders to collect the link length, velocity, and acceleration information of each leg. In robot experiments, the raw data (link length, link velocity, link acceleration, etc.) often contains a large amount of noise. To ensure data accuracy, a data filter is constructed. A zero-phase filter is selected, and a fourth-order Butterworth low-pass filter is designed. After filtering, data standardization is performed using Z-score standardization. ,in The mean of the training set, The standard deviation is denoted as . The original data after filtering and standardization, along with the calculated outrigger torque, are used as the dataset for robot dynamics modeling and PINN network training, and are divided into training, validation, and test sets.

[0041] The input to the PINN network in the dynamics branch consists of the leg length, extension / retraction velocity (first-order temporal difference), and extension / retraction acceleration (second-order temporal difference): ; The PINN network of the dynamics branch outputs predicted dynamic driving forces for the six legs: ; The element-wise form of the prediction results from the physical friction model is as follows: ; In the formula, Let Coulomb friction parameter vector be , Let be the viscous friction parameter vector. Let be the friction bias vector. A smooth velocity parameter vector; This indicates element-wise multiplication of vectors. This indicates that corresponding elements of a vector are divided.

[0042] The friction residual PINN network is used to learn the nonlinear frictional components that the Coulomb-viscosity model (physical friction model) fails to describe, and its output is: ; Therefore, the final prediction result of the friction branch is: .

[0043] The dynamics branch and the friction branch employ independent network structures and do not share the main network. The outputs of the two network branches are superimposed at the end to obtain the predicted total driving force of the six outriggers. .

[0044] After decomposing the friction components, the predicted total driving force is expressed as: During training, the corresponding first The predicted total driving force at each moment is expressed as follows: .

[0045] Loss function for joint training of dynamics and friction branches for: ; ; ; in, For data supervision loss function, The physical constraint loss function, For physical constraint loss weights, For physical parameter regularization, For physical parameter regularization weights; The number of training samples. For the first At the [time]th moment The outrigger uses the total driving force prediction model to predict the driving force of each leg. For the first At the [time]th moment The actual dynamic driving force of each outrigger; A very small positive number is set to prevent the denominator from being zero. This is a scale normalization matrix used to unify the order of magnitude of force and moment components in generalized forces. The theoretical generalized force is calculated using the Newton-Euler equations. For the first The generalized force predicted at each moment.

[0046] During training, the friction branch is frozen, and the PINN network for the dynamics branch is trained to learn the dynamic mapping relationship between the outrigger length, extension speed, extension acceleration, and driving force. The objective function of the PINN network for training the dynamics branch is consistent with the loss function of the joint training of the dynamics and friction branches.

[0047] After the PINN network of the dynamics branch is trained, the dynamics network parameters are frozen, and the driving force prediction residuals are calculated: ; residual The Coulomb friction parameters, viscous friction parameters, friction bias parameters, and smoothed velocity parameters are trained as the learning objectives of the physical friction model. The loss function of the physical friction model is also used. for: ; After the physical friction model is trained, the residual after physical friction compensation is calculated: ; With the remaining residual To supervise the target, a friction residual neural network is trained, with the loss function being: ; After completing the phased training of the dynamics network, the physical friction model, and the friction residual network, the total loss function of the hybrid model is constructed: .

[0048] The network parameters are backpropagated and iteratively updated based on the total loss function until the loss function converges.

[0049] II. Trajectory Tracking.

[0050] like Figure 3 As shown, at each sampling time, the following operations are performed: The actual total driving force of the outriggers in multiple frames is collected. Using the pose of the moving platform in consecutive frames as the variable to be optimized, the outrigger length, extension speed, and extension acceleration are obtained using inverse kinematics and the center difference method and input into the total driving force prediction model to obtain the predicted value of the total driving force. The residual between the actual driving force and the predicted total driving force is minimized, and the inverse estimated pose at the current sampling time is obtained by solving this problem. A single-step rolling optimization objective function is constructed with the goal of controlling the pose to be close to the reference pose, inversely estimating the pose, and minimizing the pose increment. After solving this function to obtain the optimal control pose at the current sampling time, the parallel robot is driven to perform trajectory tracking.

[0051] Specifically, the dynamic platform is defined in the first... pose vector at each sampling time point for: ; in, , and For the position components of the moving platform , and The attitude angular components of the moving platform.

[0052] The poses at three consecutive sampling times form the variables to be optimized. : ; Using the inverse kinematics of a parallel robot, the pose of the moving platform at three sampling moments is converted into the lengths of the six outriggers. : ; in, This represents the inverse kinematics mapping of a parallel robot.

[0053] The central difference method is used to calculate the first The extension and retraction speed of the outriggers at each sampling time: ; No. The extension and retraction acceleration of the outrigger at each sampling time is: ; in, This represents the sampling period of the robot system.

[0054] Input the outrigger length, extension speed, and extension acceleration into the trained total driving force prediction model to obtain the predicted value of the total driving force of the outrigger: ; in, This represents the predicted output of the friction force branch.

[0055] Within the robot's workspace and attitude angle constraints, a sequential quadratic programming method is used to solve for the pose of three consecutive frames. ; ; in, To obtain the estimated pose of the moving platform in three consecutive frames.

[0056] The optimization process satisfies the following pose constraints: ; in, and These are the upper and lower limits of the preset moving platform pose, respectively.

[0057] Therefore, we obtain the first... Inverse pose estimation at each sampling time: ; After obtaining the inversely estimated pose, a single-step rolling optimization method is used to calculate the control pose at the current sampling time. The control pose increment is defined as: ;in, The current sampling time To control the pose.

[0058] Single-step rolling optimization objective function Defined as: ; in, As the reference trajectory tracking weight matrix, To inversely estimate the pose weight matrix, This is the pose increment smoothing weight matrix.

[0059] The optimization process satisfies the workspace constraints of the dynamic platform: ; Simultaneously satisfy the single-step pose increment constraint: ; Obtain the optimal control pose at the current sampling time. : ;in, This represents the optimal control pose increment at the current sampling moment.

[0060] By using inverse kinematics of parallel robots, the optimal control pose is converted into the target pole length of the six outriggers. : ; The calculated target leg length is sent to the underlying drive system of the parallel robot. At the next sampling moment, the actual driving force of the six legs is re-acquired, and the three-frame pose inverse estimation and single-step roll optimization are repeatedly executed to form a closed-loop roll control.

[0061] Example 2: This paper provides a specific example of using the parallel robot trajectory tracking method based on physical constraint neural network and MPC of this invention for tracking. The trajectory acquisition frequency is 100Hz, and observation is performed, such as... Figure 4 and Figure 5 , Figure 4 (a), (b), (c), (d), (e), and (f) are the 6-DOF poses of the moving platform X, Y, Z and Rx, Ry, Rz obtained by using only a single-physics neural network. Figure 5 (a), (b), (c), (d), (e), and (f) in the figure represent the 6-DOF poses of the moving platform X, Y, Z and Rx, Ry, Rz obtained by applying the present invention based on physical constraint neural network and MPC inverse solution; through Figure 4 and Figure 5It can be seen that the tracking effect has almost no phase lag, the amplitude can reach the predicted value, the trajectory tracking RMSE is 0.00038, 0.000184, 0.000114, 0.000168, 0.000068, 0.000204, and the residual percentage is 0.6%, 2.3%, 1.9%, 0.28%, 1.13%, 0.34%.

[0062] Example 3: A parallel robot trajectory tracking system based on physical constraint neural networks and MPC includes: The model building module is used to construct a total driving force prediction model using a dual-branch PINN network. The dynamics branch uses a PINN network to predict the driving force of each outrigger required for the movement of the moving platform. The friction branch includes a physical friction model and a friction residual PINN network to output the friction force of each outrigger. The outputs of the two branches are superimposed to obtain the total driving force of all outriggers. The trajectory tracking module is used to drive the parallel robot's movements at each sampling moment to achieve trajectory tracking. It includes a data acquisition submodule, an inverse pose estimation submodule, and an MPC control submodule. The acquisition submodule is used to acquire the actual total driving force of the outriggers in multiple frames, as well as the control pose at the previous moment and the reference pose at the current moment. The inverse pose estimation submodule is used to take the pose of the moving platform in multiple consecutive frames as the variables to be optimized, and use inverse kinematics and center difference methods to obtain the outrigger length, extension speed and extension acceleration as inputs to the total driving force prediction model to obtain the predicted value of the total driving force; with the objective of minimizing the residual between the actual driving force and the predicted value of the total driving force, the inverse estimated pose at the current sampling time is obtained by solving the problem. The MPC control submodule is used to construct a single-step rolling optimization objective function with the goal of controlling the pose to be close to the reference pose, inversely estimating the pose and minimizing the change in pose increment. After solving for the optimal control pose at the current sampling time, it drives the parallel robot to move.

[0063] For more detailed information on the above modules, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.

[0064] Example 4: The present invention provides a computer device, including a processor and a memory; wherein, when the processor executes a computer program stored in the memory, it implements the steps of the above-described parallel robot trajectory tracking method based on physical constraint neural network and MPC.

[0065] For a more detailed explanation of the above method, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.

[0066] Example 5: The present invention provides a computer-readable storage medium for storing a computer program; when the computer program is executed by a processor, it implements the steps of the above-described parallel robot trajectory tracking method based on physical constraint neural network and MPC.

[0067] For a more detailed explanation of the above method, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.

[0068] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. The systems, devices, and storage media disclosed in the embodiments are described simply because they correspond to the methods disclosed in the embodiments; relevant details can be found in the method section.

[0069] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments of the present invention.

[0070] The above are merely preferred embodiments of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should be considered within the scope of protection of the present invention.

Claims

1. A parallel robot trajectory tracking method based on physical constraint neural network and MPC, characterized in that, include: A total driving force prediction model using a dual-branch PINN network is constructed. The dynamics branch uses a PINN network to predict the driving force of each outrigger required for the movement of the moving platform. The friction branch includes a physical friction model and a friction residual PINN network to output the friction force of each outrigger. The outputs of the two branches are superimposed to obtain the total driving force of all outriggers. At each sampling time, the following operation is performed: The actual total driving force of the outriggers is collected across multiple frames. Using the pose of the moving platform across multiple consecutive frames as the variable to be optimized, inverse kinematics and the center difference method are used to obtain the outrigger length, extension speed, and extension acceleration, which are then input into the total driving force prediction model to obtain the predicted value of the total driving force. The goal is to minimize the residual between the actual driving force and the predicted total driving force, and this is solved to obtain the inverse estimated pose at the current sampling time. With the goal of controlling the pose to be close to the reference pose, inversely estimating the pose, and having a small change in pose increment, a single-step rolling optimization objective function is constructed. After solving for the optimal control pose at the current sampling time, the parallel robot is driven to perform the motion to achieve trajectory tracking.

2. The parallel robot trajectory tracking method based on physical constraint neural network and MPC according to claim 1, characterized in that, The PINN network of the dynamics branch takes the length, extension speed and extension acceleration of all legs as inputs, and outputs the driving force of each leg. After outputting the driving force of each leg, it is mapped to the generalized force of the dynamic platform through the force Jacobian matrix. Then, it is compared with the theoretical generalized force calculated by the Newton-Euler equation to construct the physical constraint loss, which is used for training the PINN network of the dynamics branch.

3. The parallel robot trajectory tracking method based on physical constraint neural network and MPC according to claim 1, characterized in that, The physical friction model is as follows: ; in, For the first Frictional compensation force of each outrigger express Coulomb friction parameters of each outrigger express The viscous friction coefficient of each outrigger For the first Frictional offset of one outrigger For the first The extension and retraction speed of each leg For the first Speed ​​smoothing parameters for each outrigger; The friction residual PINN network takes the leg length and extension / retraction speed as inputs and outputs the nonlinear friction force of each leg. The friction force output by the friction force branch is the sum of the nonlinear friction force of each leg and the friction compensation force. The trainable parameters of the friction force branch include the friction parameter vector. : ,in, Let Coulomb friction parameter vector be , Let be the viscous friction parameter vector. This is the friction bias vector.

4. The parallel robot trajectory tracking method based on physical constraint neural network and MPC according to claim 1, characterized in that, During training, the total driving force prediction model first performs joint training on the dynamics branch and the friction branch, then freezes the friction branch and trains the PINN network of the dynamics branch separately. After freezing the network parameters of the dynamics branch, the dynamic residuals are fitted using the physical friction model. Then, the friction residual PINN network is trained with the remaining residuals as the target. Finally, all parameters are unfrozen for joint fine-tuning.

5. The parallel robot trajectory tracking method based on physical constraint neural network and MPC according to claim 4, characterized in that, Loss function for joint training of dynamics and friction branches for: ; ; ; in, For data supervision loss function, The physical constraint loss function, For physical constraint loss weights, For physical parameter regularization, For physical parameter regularization weights; The number of training samples. For the first At the [time]th moment The outrigger uses the total driving force prediction model to predict the driving force of each leg. For the first At the [time]th moment The actual dynamic driving force of each outrigger; A very small positive number is set to prevent the denominator from being zero. This is a scale normalization matrix used to unify the order of magnitude of force and moment components in generalized forces. The theoretical generalized force is calculated using the Newton-Euler equations. For the first The generalized force predicted at each moment; , The resultant force of the driving forces of each outrigger required for the movement of the platform. , The resultant torque required for the motion of the moving platform Let the position vector of the center of mass of the moving platform be denoted as . Let the moment of inertia matrix of the moving platform be in the global coordinate system. and These are the angular velocity and angular acceleration of the moving platform, respectively.

6. The parallel robot trajectory tracking method based on physical constraint neural network and MPC according to claim 1, characterized in that, The objective is to minimize the residual between the actual driving force and the predicted total driving force, and the solution is used to obtain the current sampling time. Inverse estimation of pose Specifically, the sequential quadratic programming method is used to solve the nonlinear constrained optimization problem. ; The constraints for solving the problem are: ;in, To obtain the estimated pose of the moving platform in three consecutive frames, the pose of the middle frame is the pose at the current sampling time. Inverse estimation of pose ; The variable to be optimized is specifically the pose of the moving platform in three consecutive frames. To be at the current sampling time The actual total driving force This is the predicted value of total driving force. and These are the upper and lower limits of the preset moving platform pose, respectively.

7. The parallel robot trajectory tracking method based on physical constraint neural network and MPC according to claim 1, characterized in that, The single-step rolling optimization objective function for: ; ; in, The current sampling time Controlling the pose, For the current moment Controlling pose increments For the current moment The reference pose, The current sampling time Inverse pose estimation, As the reference trajectory tracking weight matrix, To inversely estimate the pose weight matrix, This is the pose increment smoothing weight matrix.

8. A parallel robot trajectory tracking system based on physical constraint neural networks and MPC, characterized in that, include: The model building module is used to construct a total driving force prediction model using a dual-branch PINN network. The dynamics branch uses a PINN network to predict the driving force of each outrigger required for the movement of the moving platform. The friction branch includes a physical friction model and a friction residual PINN network to output the friction force of each outrigger. The outputs of the two branches are superimposed to obtain the total driving force of all outriggers. The trajectory tracking module is used to drive the parallel robot's movements at each sampling moment to achieve trajectory tracking. It includes a data acquisition submodule, an inverse pose estimation submodule, and an MPC control submodule. The acquisition submodule is used to acquire the actual total driving force of the outriggers in multiple frames, as well as the control pose at the previous moment and the reference pose at the current moment. The inverse pose estimation submodule is used to take the pose of the moving platform in multiple consecutive frames as the variables to be optimized, and use inverse kinematics and center difference methods to obtain the outrigger length, extension speed and extension acceleration as inputs to the total driving force prediction model to obtain the predicted value of the total driving force; with the objective of minimizing the residual between the actual driving force and the predicted value of the total driving force, the inverse estimated pose at the current sampling time is obtained by solving the problem. The MPC control submodule is used to construct a single-step rolling optimization objective function with the goal of controlling the pose to be close to the reference pose, inversely estimating the pose and minimizing the change in pose increment. After solving for the optimal control pose at the current sampling time, it drives the parallel robot to move.

9. A computer device, characterized in that, It includes a processor and a memory; wherein, when the processor executes the computer program stored in the memory, it implements the steps of the parallel robot trajectory tracking method based on physical constraint neural network and MPC as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, Used to store computer programs; when the computer programs are executed by the processor, they implement the steps of the parallel robot trajectory tracking method based on physical constraint neural networks and MPC as described in any one of claims 1-7.