A compound control method for industrial robot trajectory tracking based on sliding mode disturbance observation and hierarchical adaptive iterative learning
By decomposing and compensating for different disturbances in the trajectory tracking of multi-joint industrial robots, and by adopting sliding mode disturbance observation and hierarchical adaptive iterative learning control, the chattering and accuracy problems of multi-joint robots under complex working conditions are solved, and high-precision and high-robust trajectory tracking is achieved.
Patent Information
- Application Number
- CN202611586923.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-14
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies in trajectory tracking control of multi-joint industrial robots fail to effectively distinguish and compensate for different types of disturbances, resulting in chattering, mismatched control gain, and insufficient steady-state accuracy, making it impossible to achieve high-precision tracking under complex working conditions.
The system disturbance is decomposed into iterative repetitive, time-domain random non-repetitive, and slowly varying model drift disturbances. Sliding mode disturbance observation, iterative learning, and model reference adaptive control are used to compensate for each disturbance. Synthetic control commands are generated through operating condition identification and gain hierarchical adaptive adjustment.
It achieves high-precision and robust trajectory tracking for multi-joint industrial robots under complex working conditions, avoiding chattering and controller output saturation, and meeting the theoretical requirements of industrial control.
Smart Images

Figure CN123129183A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial robot motion control technology, specifically to a composite control method for industrial robot trajectory tracking based on sliding mode disturbance observation and hierarchical adaptive iterative learning. Background Technology
[0002] Industrial robots are core equipment in intelligent manufacturing, and their trajectory tracking accuracy directly determines the quality of work and production efficiency. Iterative learning control (ILC) is adapted to the repetitive nature of robot tasks and is the mainstream solution for trajectory tracking control. It reduces tracking errors by iteratively correcting the control signal, making it suitable for high-precision, repetitive industrial scenarios.
[0003] In the prior art, a robot trajectory tracking scheme combining robust adaptive iterative learning control with feedback PD and robust control has been disclosed. An adaptive sliding mode iterative learning control method for single-joint manipulators has also been disclosed. Such existing schemes use feedforward controllers to compensate for model uncertainties and repetitive disturbances, and rely on robust controllers to suppress random disturbances, thereby realizing the combination of sliding mode, adaptive and iterative learning as the basic architecture, providing a feasible approach for robot trajectory tracking.
[0004] However, existing technologies are essentially simple combinations of various mature control algorithms, failing to analyze the underlying mechanisms of actual disturbances in industrial robots and lacking a hierarchical control logic for disturbance classification and targeted compensation. When applied to multi-joint industrial robots, several inherent technical flaws are exposed: First, existing adaptive sliding mode iterative learning schemes use sliding mode as the core control law, directly outputting joint control quantities. The inherent high-frequency chattering of sliding mode directly affects the mechanical actuator. Disturbance suppression relies on the high gain of robust control to passively cancel disturbances, lacking an independent explicit disturbance observation link. This makes it impossible to distinguish between three different types of disturbances: iterative dimension repetitive disturbances, time-domain random non-repetitive disturbances, and slowly varying model drift bias, thus failing to achieve targeted compensation for disturbance classification. When applied to multi-joint robotic arms, the superposition of joint coupling disturbances, variable loads, and nonlinear friction only further amplifies the control gain to combat disturbances, exacerbating chattering, easily causing joint impacts, and accelerating wear on transmission components, failing to simultaneously achieve strong disturbance rejection and smooth control output.
[0005] Secondly, existing sliding mode adaptive iterative learning gain updates only use tracking error as a single input, failing to distinguish between large transient errors and small steady-state errors during the iteration process, and also neglecting to differentiate constraints based on the robot's actual motion speed. In the early stages of iteration, large errors lead to slow convergence. Once in steady state, excessive gain can cause control oscillations, while insufficient gain results in inadequate steady-state accuracy. At high speeds, dynamic coupling effects are significant, while at low speeds, the Stribeck friction effect is prominent. A uniform gain cannot adapt to different motion conditions, making it difficult to simultaneously achieve both convergence efficiency and steady-state tracking accuracy.
[0006] Furthermore, in the existing robust adaptive iterative learning and PD feedback composite architecture, the weight coefficients among feedback control, iterative learning feedforward, and robust control modules are pre-set and remain unchanged during operation. In the initial iteration stage, the tracking error is large, requiring feedback control to quickly correct errors and suppress overshoot. Under fixed weights, an excessively high feedforward ratio can easily lead to trajectory overshoot. In the later stages of iteration, when entering a steady-state, low-error condition, iterative learning feedforward needs to dominate to achieve micrometer-level precise tracking. An excessively high feedback ratio will amplify encoder noise, preventing the full utilization of the performance advantages of each controller. Summary of the Invention
[0007] In order to solve the above-mentioned technical problems, this application proposes the following technical solution: This application provides a composite control method for industrial robot trajectory tracking based on sliding mode disturbance observation and hierarchical adaptive iterative learning, including: A six-axis robot dynamic model and an ideal reference dynamic model are established, and the overall system disturbance is decomposed into iterative repetitive disturbance, time-domain random non-repetitive disturbance, and slow-varying model drift disturbance. The expected and actual trajectory information of each joint of the robot is obtained, the tracking error and the amplitude of the real-time motion velocity of the joint are determined, and the control conditions are identified. Based on the tracking error, a sliding mode surface is constructed, and a sliding mode perturbation observer is used to estimate the time-domain random non-repetitive perturbation and generate a feedforward compensation signal. Based on the sliding surface and using the ideal reference dynamic model as a benchmark, the parameters of the six-axis robot dynamic model are corrected to compensate for the drift disturbance of the slowly varying model, and the feedback control quantity is calculated based on the corrected model parameters. Based on the operating conditions, hierarchical two-dimensional adaptive adjustment is performed on the iterative learning gain to generate iterative learning feedforward control quantity to compensate for the iterative repetitive disturbance. Based on the tracking error, the feedback control quantity and the iterative learning feedforward control quantity are dynamically allocated and weighted, and then superimposed with the feedforward compensation signal to generate a total control command to drive the robot joint movement.
[0008] In one possible implementation, the six-axis robot dynamics model and the ideal reference dynamics model are as follows: in, For joint angle vectors, These are the joint angular velocity vector and the joint angular acceleration vector, respectively. The inertia matrix, The Coriolis-centrifugal force matrix, The vector of the gravity term. For joints Control torque input, For the overall system disturbance, For iterative repeated perturbation, For time-domain random non-repeating perturbations, For slow-varying model drift perturbations; For the joint's desired angle vector, angular velocity vector, and angular acceleration vector, For the reference model inertia matrix, For the reference model, the Coriolis eccentricity matrix represents the coupling torque term under the ideal model. For the reference model, the gravity vector is the gravitational torque of the ideal model. Input torque for the reference model.
[0009] In one possible implementation, the expected and actual trajectory information of each joint of the robot is obtained, the tracking error and the real-time motion velocity amplitude of the joints are determined, and the control conditions are identified, including: The robot's desired position and speed, along with its actual position and speed, are collected using high-precision encoders at each joint. The position tracking error and velocity tracking error are calculated based on the expected position and expected velocity of each joint of the robot and the actual position and actual velocity, using the following formula: in, For the desired positions of each joint, For the desired speed, For actual location, For actual speed, For position tracking error, For speed tracking error; Read the real-time motion velocity amplitude of the joint and set the position error threshold and velocity threshold; The control conditions are identified based on the real-time motion velocity amplitude of the joint and the position tracking error.
[0010] In one possible implementation, the control condition is identified based on the real-time motion velocity amplitude of the joint and the position tracking error, including: Acquire the real-time motion velocity amplitude and position tracking error of the joint; The real-time motion velocity amplitude of the joint and the position tracking error are compared with the velocity threshold and the position error threshold, respectively. When the position tracking error is greater than the position error threshold, it is determined to be a transient large error condition; When the position tracking error is less than or equal to the position error threshold, it is determined to be a steady-state small error condition; When the amplitude of the real-time movement speed of the joint is greater than the speed threshold, it is determined to be a high-speed movement condition; When the amplitude of the real-time movement speed of the joint is less than or equal to the speed threshold, it is determined to be a low-speed precision working condition.
[0011] In one possible implementation, a sliding mode surface is constructed based on the tracking error, and a sliding mode perturbation observer is used to estimate the time-domain random non-repetitive perturbation and generate a feedforward compensation signal, including: Constructing a sliding surface based on position tracking error and velocity tracking error: in, For sliding surface, This is the position tracking error vector. For the speed tracking error vector, The coefficient matrix of the positive definite diagonal sliding surface. Operators for generating diagonal matrices; Using the sliding surface as input, establish the state equation for the sliding mode disturbance observer: in, These are estimates based on random disturbance observations; The observation gain is a positive definite matrix; It is a saturation function. The width of the saturation layer; The time-domain random non-repetitive disturbance is estimated in real time based on the state equation of the sliding mode disturbance observer, and a disturbance compensation signal with the same dimension as the joint control input is generated.
[0012] In one possible implementation, based on the sliding surface and using the ideal reference dynamic model as a benchmark, the parameters of the six-axis robot dynamic model are corrected to compensate for the drift disturbance of the slowly varying model, and the feedback control quantity is calculated based on the corrected model parameters, including: Define the model mismatch error between the six-axis robot dynamics model and the ideal reference dynamics model; The six-axis robot dynamics model is represented in linear parameterized form: in, For joint angle vectors, These are the joint angular velocity vector and the joint angular acceleration vector, respectively. The inertia matrix, The Coriolis-centrifugal force matrix, The vector of the gravity term. For the regression matrix, The vector of dynamic parameters to be identified; Using the sliding surface as the driving signal, a model reference adaptive law is designed, with the following formula: in, For the model reference adaptive law, It is a positive definite adaptive gain matrix. It is a sliding surface; Based on the model reference adaptive law, the parameter estimates of the six-axis robot dynamics model are corrected online in real time within a single trajectory running cycle to compensate for the drift disturbance of the slow-varying model. The feedback control quantity is calculated based on the corrected model parameter estimates.
[0013] In one possible implementation, the formula for the model mismatch error between the six-axis robot dynamics model and the ideal reference dynamics model is: in, This is the model mismatch error. For the reference model inertia matrix, For the reference model, the Coriolis eccentricity matrix represents the coupling torque term under the ideal model. For the reference model, the gravity vector is the gravitational torque of the ideal model. For reference to the expected trajectory, For joint angle vectors, , These are the joint angular velocity vector and the joint angular acceleration vector, respectively. For the joint's desired angle vector, angular velocity vector, and angular acceleration vector; , , These are the joint angle vector, joint angular velocity vector, and joint angular acceleration vector. This is an estimate of the inertia matrix of the dynamic model. This is an estimate of the Coriolis-centrifugal force matrix for the kinetic model. This is an estimate of the gravity matrix in the dynamic model.
[0014] In one possible implementation, hierarchical two-dimensional adaptive adjustment of the iterative learning gain is performed according to the operating conditions to generate an iterative learning feedforward control quantity to compensate for the iterative repetitive disturbance, including: Set the iterative learning gain matrix and determine the preset adjustment coefficient according to the operating conditions; If the operating condition is a transient large error condition, then the fast convergence law is executed and the first preset adjustment coefficient is selected; If the operating condition is a steady-state small-error operating condition, then the precision fine-tuning law is executed, and the second preset adjustment coefficient is selected; The iterative learning gain after error grading adjustment is determined based on the gain obtained from the previous batch of iterations, the preset adjustment coefficient, and the position tracking error of the current batch. The formula is as follows: in, For the first k Batch, No. i Joints at all times t Iterative learning gain; For the first k -1 round i joint t Iterative learning gain at each time step; For the first k batch t The norm of the joint position tracking error at any given time. The preset adjustment coefficient; If the operating condition is a high-speed motion condition, then the iterative learning gain after motion state adaptation adjustment is determined based on the iterative learning gain after error grading adjustment and the first correction coefficient: If the operating condition is a low-speed precision operating condition, the iterative learning gain after motion state adaptation adjustment is determined according to the iterative learning gain after error classification adjustment and the second correction coefficient. After each adjustment, each gain element is clamped and constrained within a preset range to obtain the gain matrix of the current batch iterative learning. The feedforward control quantity for the current batch iterative learning is updated based on the current batch iterative learning gain matrix and the current batch position tracking error to obtain the feedforward control quantity for the next batch iterative learning, as shown in the formula: in, For the first k+ Batch 1, Time t Iterative learning of the feedforward control torque vector, For the first k Batch, time t Iterative learning of the feedforward control torque vector; For the first k batch t The iterative learning gain matrix at each time step; For the first k batch t The joint position tracking error vector at any given time; The feedforward control variable for the next batch of iterative learning is used to compensate for the repeated perturbations during the iteration.
[0015] In one possible implementation, based on the tracking error, the feedback control quantity and the iterative learning feedforward control quantity are dynamically allocated and weighted, then superimposed with the feedforward compensation signal to generate a total control command to drive the robot joint movement, including: Define the feedback control weights and the iterative learning feedforward weights, with the following constraints: in, for t Real-time feedback control weight coefficients; for t Iteratively learn the feedforward weight coefficients at each step; These are the lower limit of the minimum value and the upper limit of the maximum value of the feedback weight, respectively. These are the lower bound of the minimum value and the upper bound of the maximum value of the feedforward weights in iterative learning, respectively. The feedback control weights and the iterative learning feedforward weights are dynamically allocated based on the tracking error. If the magnitude of the tracking error is greater than a preset error threshold, the feedback control weight is increased. If the magnitude of the tracking error is less than a preset error threshold, then the iterative learning feedforward weights are increased: The weighted composite control quantity is determined based on the dynamically allocated feedback control weights, iterative learning feedforward weights, feedback control quantity, and iterative learning feedforward control quantity. The weighted composite control quantity is superimposed with the feedforward compensation signal to generate the total control command, as shown in the formula: in, For the first k batch t Total control torque of robot joints at all times; For the first k batch t The control quantity is weighted and synthesized by real-time feedback and iterative learning; For the first k batch t The feedforward compensation torque of the constant disturbance observer; The overall control command is output to the servo driver to drive the robot joint movement.
[0016] In one possible implementation, the weighted composite control quantity formula is determined based on the dynamically allocated feedback control weights, iterative learning feedforward weights, feedback control quantity, and iterative learning feedforward control quantity as follows: in, for t Constant sliding mode feedback control torque; for t Iteratively learns the feedforward control torque at every moment; The error threshold for ILC weight adjustment; This is the error scaling factor for the feedback weight adjustment. The L2 norm (scalar) of the joint position tracking error; For iterative learning of the time-varying weight coefficients of the feedforward term; The weighted composite total control torque vector at time t.
[0017] Compared with the prior art, the beneficial effects of this application are as follows: This application decomposes disturbances into iterative repetitive disturbances, time-domain random non-repetitive disturbances, and slowly varying model drift disturbances, employing ILC, sliding mode disturbance observation, and MRAC for targeted compensation respectively. This suppresses disturbances such as variable loads, friction, and external vibrations, compensates for model mismatch biases, and adapts to complex industrial operating conditions. Hierarchical adaptive gain based on error-velocity joint operating condition identification accelerates error convergence, and steady-state errors can be controlled at the micrometer level, meeting the requirements of precision operations.
[0018] This application is compatible with multi-joint industrial robots, requires no hardware modification, and can be directly integrated into existing control systems. All gains and weights are set with upper and lower limits to avoid the risk of controller output saturation. It has dual convergence theoretical proof in the time domain and iterative domain, meeting the theoretical requirements for the implementation of industrial controllers.
[0019] This application applies sliding mode to disturbance observation estimation instead of directly outputting joint drive commands, solving the problems of slow convergence, low accuracy, insufficient stability, and long-term accuracy decay in trajectory tracking errors of multi-joint industrial robots under complex working conditions, and achieving high-precision, high-robustness, and long-term stable trajectory tracking for multi-joint industrial robots. Attached Figure Description
[0020] Figure 1 A flowchart illustrating a composite control method for industrial robot trajectory tracking based on sliding mode disturbance observation and hierarchical adaptive iterative learning, provided for an embodiment of this application; Figure 2 The iterative learning gain hierarchical adaptive logic flowchart provided in the embodiments of this application. Detailed Implementation
[0021] The present solution will now be described in conjunction with the accompanying drawings and specific embodiments.
[0022] Figure 1 A flowchart illustrating a composite control method for industrial robot trajectory tracking based on sliding mode disturbance observation and hierarchical adaptive iterative learning, provided in an embodiment of this application, is shown below. Figure 1 This embodiment presents a composite control method for industrial robot trajectory tracking based on sliding mode disturbance observation and hierarchical adaptive iterative learning, comprising: S101. Establish a six-axis robot dynamic model and an ideal reference dynamic model, and decompose the total system disturbance into iterative repetitive disturbance, time-domain random non-repetitive disturbance, and slow-varying model drift disturbance.
[0023] In this embodiment, a six-axis robot dynamics model is established: in, For joint angle vectors, , These are the joint angular velocity vector and the joint angular acceleration vector, respectively. The inertia matrix, The Coriolis-centrifugal force matrix, The vector of the gravity term. For joint servo control torque input, This represents the overall disturbance of the system.
[0024] Initialize parameters: iteratively learn the upper and lower bounds of the gain. , PD feedback parameters; operating condition identification error threshold Speed threshold Iteration termination error threshold Positive definite diagonal sliding surface coefficient matrix Sliding mode observation gain matrix MRAC Adaptive Gain Matrix Feedback-Iterative Learning Weight Upper and Lower Bounds , , , Iteration batch counting k =0, initialize the iterative learning feedforward control variable. .
[0025] The overall system disturbance is decomposed according to its generation mechanism, as shown in the following formula: in, For iterative repetitive disturbances, the disturbances are basically consistent in each repetitive operation trajectory and are caused by repeated assembly contact, repeated friction, etc. It is suitable to use iterative learning control (ILC) to compensate by updating the feedforward control quantity between iterative batches. The disturbance is a time-domain random non-repeating disturbance, which includes sudden external vibrations, random variable loads, and unmodeled dynamic coupling terms. It changes randomly over time and does not repeat with each iteration batch. It is observed in real time using the sliding mode disturbance observer SMC-DOB with time-domain feedforward compensation. The drift disturbance of the slowly varying model originates from joint wear, reducer aging, and slow changes in transmission clearance. It drifts slowly over time within a single trajectory running cycle and changes slowly between iterative batches. Iterative learning can only update after the batch ends and cannot handle the drift within a single cycle. Model reference adaptive MRAC is used to correct the dynamic model parameters online in a single time domain to achieve compensation.
[0026] S102: Obtain the expected and actual trajectory information of each joint of the robot, determine the tracking error and the amplitude of the real-time motion speed of the joint, and identify the control conditions.
[0027] In this embodiment, the desired position and desired velocity of each robot joint are collected by a high-precision encoder, along with the actual position and actual velocity. The position tracking error and velocity tracking error are then calculated based on these parameters, using the following formula: in, For the desired positions of each joint, For the desired speed, For actual location, For actual speed, For position tracking error, This represents the speed tracking error.
[0028] The system reads the real-time motion velocity amplitude of the joint and sets position error thresholds and velocity thresholds. It identifies the control conditions based on the real-time motion velocity amplitude and position tracking error, comparing them with the velocity and position error thresholds. When the position tracking error is greater than the position error threshold, it is determined to be a transient large error condition; when the position tracking error is less than or equal to the position error threshold, it is determined to be a steady-state small error condition. When the real-time motion velocity amplitude is greater than the velocity threshold, it is determined to be a high-speed motion condition; when the real-time motion velocity amplitude is less than or equal to the velocity threshold, it is determined to be a low-speed precision condition.
[0029] S103 constructs a sliding mode surface based on the tracking error, and uses a sliding mode disturbance observer to estimate the time-domain random non-repetitive disturbance and generate a feedforward compensation signal.
[0030] In this embodiment, a sliding mode perturbation observer (SMC-DOB) is built to estimate the comprehensive random perturbation of a multi-joint robot in real time. In this embodiment, the sliding mode is only used to observe disturbances, and the sliding mode output is not directly used as the joint control torque. The sliding mode disturbance observer does not require a preset disturbance model and can estimate non-repetitive unknown disturbances caused by variable load, joint friction, external vibration, and multi-joint dynamic coupling in real time. Feedforward compensation is achieved through dynamic model mapping, iterative learning feedforward is responsible for compensating for repeated disturbances in the iterative dimension, and model reference adaptation is responsible for compensating for slow-varying model drift in a single time domain. The three form a hierarchical compensation architecture of disturbance mechanism decomposition and directional compensation for the three types of disturbances.
[0031] Constructing a sliding surface based on position tracking error and velocity tracking error: in, For sliding surface, This is the position tracking error vector. For the speed tracking error vector, The coefficient matrix of the positive definite diagonal sliding surface. Operators for generating diagonal matrices These are the sliding surface gain coefficients, and all are positive numbers.
[0032] Using the sliding surface as input, establish the state equation for the sliding mode disturbance observer: in, These are estimates based on random disturbance observations; The observation gain is a positive definite matrix; The saturation function replaces the sign function, and the exponential reaching law is used to reduce the observer's own chattering. This is the width of the saturation layer, used to suppress chattering.
[0033] Exponential convergence law: in, The rate of change of the sliding surface. It is a positive definite diagonal matrix.
[0034] Based on the sliding mode disturbance observer state equation, time-domain random non-repetitive disturbances are estimated in real time, generating disturbance compensation signals with the same dimension as the joint control inputs. These signals are then mapped to the joint control terminals via the six-axis robot dynamics model and directly superimposed on the overall control output of the composite controller, achieving feedforward cancellation. The effects of random, unknown disturbances.
[0035] S104. Based on the sliding surface and using the ideal reference dynamic model as a benchmark, the parameters of the six-axis robot dynamic model are corrected to compensate for the drift disturbance of the slowly varying model, and the feedback control quantity is calculated based on the corrected model parameters.
[0036] In this embodiment, an ideal reference dynamic model is established: in, For joint angle vectors, These are the joint angular velocity vector and the joint angular acceleration vector, respectively. The inertia matrix, The Coriolis-centrifugal force matrix, The vector of the gravity term. For joints Control torque input, For the overall system disturbance, For iterative repeated perturbation, For time-domain random non-repeating perturbations, For slow-varying model drift perturbations; For the joint's desired angle vector, angular velocity vector, and angular acceleration vector, For the reference model inertia matrix, For the reference model, the Coriolis eccentricity matrix represents the coupling torque term under the ideal model. For the reference model, the gravity vector is the gravitational torque of the ideal model. Input torque for the reference model.
[0037] The model mismatch error between the dynamic model of a six-axis robot and the ideal reference dynamic model is defined by the following formula: in, For joint angle vectors, These are the joint angular velocity vector and the joint angular acceleration vector, respectively. The inertia matrix, The Coriolis-centrifugal force matrix, The vector of the gravity term. For joints Control torque input, For the overall system disturbance, For iterative repeated perturbation, For time-domain random non-repeating perturbations, For slow-varying model drift perturbations; For the joint's desired angle vector, angular velocity vector, and angular acceleration vector, For the reference model inertia matrix, For the reference model, the Coriolis eccentricity matrix represents the coupling torque term under the ideal model. For the reference model, the gravity vector is the gravitational torque of the ideal model. Input torque for the reference model.
[0038] The dynamic model of the six-axis robot is represented in linear parameterized form: in, For joint angle vectors, These are the joint angular velocity vector and the joint angular acceleration vector, respectively. The inertia matrix, The Coriolis-centrifugal force matrix, The vector of the gravity term. For the regression matrix, The vector of dynamic parameters to be identified.
[0039] Using the sliding surface as the driving signal, a model reference adaptive law is designed, with the following formula: in, For the model reference adaptive law, It is a positive definite adaptive gain matrix. It is a sliding surface.
[0040] Constructing Lyapunov functions to prove the asymptotic stability of the system: in, For the robot's inertia matrix, This is the parameter estimation error; it can be proven by taking the derivative with respect to time. It satisfies the Lyapunov asymptotic stability condition.
[0041] Based on the model reference adaptive law, the parameter estimates of the six-axis robot dynamics model are corrected in real time during a single trajectory operation cycle to compensate for slow-varying model drift disturbances caused by joint wear and reducer clearance. The feedback control quantity is calculated based on the corrected model parameter estimates.
[0042] S105, perform hierarchical two-dimensional adaptive adjustment of the iterative learning gain according to the operating conditions, generate iterative learning feedforward control quantity, and compensate for the iterative repetitive disturbance.
[0043] In this embodiment, a single gain logic is abandoned. Based on the output working condition identification result, a hierarchical dual-dimensional adjustment strategy of error classification dimension and motion state adaptation dimension is adopted, which is specifically used for iterative learning control ILC to compensate for repeated disturbances in the iterative batch dimension.
[0044] Set the iterative learning gain matrix, Gain elements It must be constrained by upper and lower bounds: A preset threshold is used to ensure the convergence stability of iterative learning and avoid unconstrained gain saturation. Where, For the firstk The next iteration, the... i Time-varying learning gain of each joint; This is the lower bound threshold for the gain; This is the upper bound threshold for the gain.
[0045] The preset adjustment coefficient is determined based on the operating conditions. If the operating conditions are transient large error conditions, the fast convergence law is executed to increase the learning gain and accelerate the error decay in the early stage of iteration. The first preset adjustment coefficient is selected. If the operating conditions are steady-state small error conditions, the precision fine-tuning law is executed to reduce the gain change amplitude and suppress steady-state oscillations. The second preset adjustment coefficient is selected.
[0046] The iterative learning gain after error grading adjustment is determined based on the gain obtained from the previous batch of iterations, the preset adjustment coefficient, and the position tracking error of the current batch. The formula is as follows: in, For the first k Batch, No. i Joints at all times t Iterative learning gain; For the first k -1 round i joint t Iterative learning gain at each time step; For the first k batch t The norm of the joint position tracking error at any given time. This is the preset adjustment coefficient.
[0047] If the operating condition is high-speed motion, the iterative learning gain after motion state adaptation adjustment is determined based on the iterative learning gain after error grading adjustment and the first correction coefficient. If the operating condition is low-speed precision motion, the iterative learning gain after motion state adaptation adjustment is determined based on the iterative learning gain after error grading adjustment and the second correction coefficient, where the first correction coefficient is greater than 1 and the second correction coefficient is greater than 0 and less than 1. After each adjustment, each gain element is clamped and constrained to... Within a preset interval, the gain matrix of the current batch iterative learning is obtained; based on the gain matrix of the current batch iterative learning and the position tracking error of the current batch, the feedforward control quantity of the current batch iterative learning is updated to obtain the feedforward control quantity of the next batch iterative learning, as shown in the formula: in, For the first k+ Batch 1, Time t Iterative learning of the feedforward control torque vector, For the first k Batch, time t Iterative learning of the feedforward control torque vector; For the first k batch t The iterative learning gain matrix at each time step; For the first k batch t The joint position tracking error vector at any given time; the feedforward control quantity learned in the next batch of iterations is used to compensate for the repeated disturbances of the iteration.
[0048] Figure 2 This is a flowchart illustrating the iterative learning gain hierarchical adaptive adjustment logic of the present invention, showing the complete processing flow of iterative learning gain parameter initialization, control condition identification, hierarchical condition judgment, gain update, gain clamping constraint, and iteration termination judgment. First, the learning gain parameter is initialized. Then, the tracking error and joint motion speed are read to complete the condition identification. It is then determined whether the hierarchical condition is met. If the hierarchical condition is met, hierarchical gain adjustment is performed; otherwise, the current gain value is maintained. After the gain update is completed, the upper and lower limit clamping of the gain is performed. Then, it is determined whether the iteration termination condition is met. If the condition is met, the iteration ends; if the iteration termination condition is not met, the iteration data is updated, the hierarchical condition judgment is returned, and the next iteration cycle is started.
[0049] S106, based on the tracking error, dynamically allocates and weights the feedback control quantity and the iterative learning feedforward control quantity, and then superimposes them with the feedforward compensation signal to generate a total control command to drive the robot joint movement.
[0050] In this embodiment, the feedback control quantity is... With iterative learning feedforward control quantity Perform dynamic weight allocation; sliding mode perturbation observation compensation term This is an independent perturbation feedforward compensation, which does not participate in weight allocation. It directly superimposes the output defined feedback control weights and iterative learning feedforward weights, with the following constraints: in, for t Real-time feedback control weight coefficients; for t Iteratively learn the feedforward weight coefficients at each step; These are the lower limit of the minimum value and the upper limit of the maximum value of the feedback weight, respectively. These represent the lower bound of the minimum value and the upper bound of the maximum value of the feedforward weights in iterative learning, respectively. To prevent control failure caused by a module's weight dropping to zero.
[0051] The feedback control weights and iterative learning feedforward weights are dynamically allocated based on the tracking error; If the magnitude of the tracking error exceeds the preset error threshold, the feedback control weight is increased to enhance the rapid correction of the feedback loop and suppress trajectory overshoot in the early stage of iteration. The formula is as follows: in, The error threshold is set for ILC weight adjustment, and then all results are clamped to their respective allowed upper and lower limits.
[0052] If the magnitude of the tracking error is less than the preset error threshold, the iterative learning feedforward weight is increased to fully utilize the high-precision optimization capability of the iterative learning feedforward. The formula is as follows: Subsequently All results are clamped to preset weight upper and lower limits. This is the error scaling factor for the feedback weight adjustment.
[0053] Based on the dynamically allocated feedback control weights, iterative learning feedforward weights, feedback control quantity, and iterative learning feedforward control quantity, the weighted composite control quantity is determined using the following formula: in, for t Constant sliding mode feedback control torque; for t Iteratively learn the feedforward control torque at every moment.
[0054] The weighted composite control quantity is superimposed with the feedforward compensation signal to generate the total control command, as shown in the formula: in, For the first k batch t Total control torque of robot joints at all times; For the first k batch t The control quantity is weighted and synthesized by real-time feedback and iterative learning; For the first k batch t Feedforward compensation torque of the perturbation observer (DOB).
[0055] The overall control command is output to the servo driver to drive the robot's joint movement.
[0056] After a single trajectory operation is completed, record the position error of this iteration. Speed error MRAC model estimation parameters Hierarchical adaptive learning gain Update the iterative learning feedforward control variable according to the iterative learning update law. Then proceed to the next iteration loop; until the tracking error norm is reached. Stable error is less than the preset error threshold The iteration terminates.
[0057] Unlike existing techniques that only perform Lyapunov time-domain proofs, this method provides dual convergence guarantees: global asymptotic stability in the time domain and convergence of the iterative domain compression mapping. It constructs a synthetic Lyapunov function that simultaneously includes tracking error terms, perturbation observation error terms, and model adaptive parameter estimation error terms. in, For the Lyapunov function of the perturbation observer subsystem; The Lyapunov function of the model reference adaptive law subsystem; This is the Lyapunov function for the feedback control loop.
[0058] Differentiate with respect to time and prove Thus, the system achieves global asymptotic stability in the time domain. For the total Lyapunov function The first derivative with respect to time characterizes the rate of change of the total energy of the closed-loop system with time. A compression mapping analysis is performed on the iterative learning closed loop, and under the bounded constraint of hierarchical gain, it is proved that the tracking error norm converges exponentially with increasing iteration number. This enables bounded error tracking within the iterative domain.
[0059] In this embodiment, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0060] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application.
Claims
1. A composite control method for trajectory tracking of industrial robots based on sliding mode perturbation observation and hierarchical adaptive iterative learning, characterized in that, include: A six-axis robot dynamic model and an ideal reference dynamic model are established, and the overall system disturbance is decomposed into iterative repetitive disturbance, time-domain random non-repetitive disturbance, and slow-varying model drift disturbance. The expected and actual trajectory information of each joint of the robot is obtained, the tracking error and the amplitude of the real-time motion velocity of the joint are determined, and the control conditions are identified. Based on the tracking error, a sliding mode surface is constructed, and a sliding mode perturbation observer is used to estimate the time-domain random non-repetitive perturbation and generate a feedforward compensation signal. Based on the sliding surface and using the ideal reference dynamic model as a benchmark, the parameters of the six-axis robot dynamic model are corrected to compensate for the drift disturbance of the slowly varying model, and the feedback control quantity is calculated based on the corrected model parameters. Based on the operating conditions, hierarchical two-dimensional adaptive adjustment is performed on the iterative learning gain to generate iterative learning feedforward control quantity to compensate for the iterative repetitive disturbance. Based on the tracking error, the feedback control quantity and the iterative learning feedforward control quantity are dynamically allocated and weighted, and then superimposed with the feedforward compensation signal to generate a total control command to drive the robot joint movement.
2. The composite control method for industrial robot trajectory tracking based on sliding mode perturbation observation and hierarchical adaptive iterative learning according to claim 1, characterized in that, The dynamic model of the six-axis robot and the ideal reference dynamic model are as follows: in, For joint angle vectors, These are the joint angular velocity vector and the joint angular acceleration vector, respectively. The inertia matrix, The Coriolis-centrifugal force matrix, The vector of the gravity term. For joints Control torque input, For the overall system disturbance, For iterative repeated perturbation, For time-domain random non-repeating perturbations, For slow-varying model drift perturbations; For the joint's desired angle vector, angular velocity vector, and angular acceleration vector, For the reference model inertia matrix, For the reference model, the Coriolis eccentricity matrix represents the coupling torque term under the ideal model. For the reference model, the gravity vector is the gravitational torque of the ideal model. Input torque for the reference model.
3. The composite control method for industrial robot trajectory tracking based on sliding mode perturbation observation and hierarchical adaptive iterative learning according to claim 1, characterized in that, The system acquires the expected and actual trajectory information of each joint of the robot, determines the tracking error and the real-time motion velocity amplitude of the joints, and identifies the control conditions, including: The robot's desired position and speed, along with its actual position and speed, are collected using high-precision encoders at each joint. The position tracking error and velocity tracking error are calculated based on the expected position and expected velocity of each joint of the robot and the actual position and actual velocity, using the following formula: in, For the desired positions of each joint, For the desired speed, For actual location, For actual speed, For position tracking error, For speed tracking error; Read the real-time motion velocity amplitude of the joint and set the position error threshold and velocity threshold; The control conditions are identified based on the real-time motion velocity amplitude of the joint and the position tracking error.
4. The composite control method for industrial robot trajectory tracking based on sliding mode perturbation observation and hierarchical adaptive iterative learning according to claim 3, characterized in that, The control conditions are identified based on the real-time motion velocity amplitude of the joint and the position tracking error, including: Acquire the real-time motion velocity amplitude and position tracking error of the joint; The real-time motion velocity amplitude of the joint and the position tracking error are compared with the velocity threshold and the position error threshold, respectively. When the position tracking error is greater than the position error threshold, it is determined to be a transient large error condition; When the position tracking error is less than or equal to the position error threshold, it is determined to be a steady-state small error condition; When the amplitude of the real-time movement speed of the joint is greater than the speed threshold, it is determined to be a high-speed movement condition; When the amplitude of the real-time movement speed of the joint is less than or equal to the speed threshold, it is determined to be a low-speed precision working condition.
5. The composite control method for industrial robot trajectory tracking based on sliding mode perturbation observation and hierarchical adaptive iterative learning according to claim 1, characterized in that, Based on the tracking error, a sliding mode surface is constructed. A sliding mode perturbation observer is used to estimate the time-domain random non-repetitive perturbation and generate a feedforward compensation signal, including: Constructing a sliding surface based on position tracking error and velocity tracking error: in, For sliding surface, This is the position tracking error vector. For the speed tracking error vector, The coefficient matrix of the positive definite diagonal sliding surface. Operators for generating diagonal matrices; Using the sliding surface as input, establish the state equation for the sliding mode disturbance observer: in, These are estimates based on random disturbance observations; The observation gain is a positive definite matrix; It is a saturation function. The width of the saturation layer; The time-domain random non-repetitive disturbance is estimated in real time based on the state equation of the sliding mode disturbance observer, and a disturbance compensation signal with the same dimension as the joint control input is generated.
6. The composite control method for industrial robot trajectory tracking based on sliding mode perturbation observation and hierarchical adaptive iterative learning according to claim 1, characterized in that, Based on the sliding surface and using the ideal reference dynamic model as a benchmark, the parameters of the six-axis robot dynamic model are corrected to compensate for the drift disturbance of the slowly varying model, and the feedback control quantity is calculated based on the corrected model parameters, including: Define the model mismatch error between the six-axis robot dynamics model and the ideal reference dynamics model; The six-axis robot dynamics model is represented in linear parameterized form: in, The joint angle vector. These are the joint angular velocity vector and the joint angular acceleration vector, respectively. The inertia matrix, The Coriolis-centrifugal force matrix, The gravity term vector, For the regression matrix, The vector of dynamic parameters to be identified; Using the sliding surface as the driving signal, a model reference adaptive law is designed, with the following formula: in, For the model reference adaptive law, It is a positive definite adaptive gain matrix. It is a sliding surface; Based on the model reference adaptive law, the parameter estimates of the six-axis robot dynamics model are corrected in real time online within a single trajectory running cycle to compensate for the drift disturbance of the slow-varying model; The feedback control quantity is calculated based on the corrected model parameter estimates.
7. The composite control method for industrial robot trajectory tracking based on sliding mode perturbation observation and hierarchical adaptive iterative learning according to claim 6, characterized in that, The formula for the model mismatch error between the six-axis robot dynamics model and the ideal reference dynamics model is: in, This is the model mismatch error. For the reference model inertia matrix, For the reference model, the Coriolis eccentricity matrix represents the coupling torque term under the ideal model. For the reference model, the gravity vector is the gravitational torque of the ideal model. For reference to the expected trajectory, For joint angle vectors, These are the joint angular velocity vector and the joint angular acceleration vector, respectively. For the joint's desired angle vector, angular velocity vector, and angular acceleration vector; These are the joint angle vector, joint angular velocity vector, and joint angular acceleration vector. This is an estimate of the inertia matrix of the dynamic model. This is an estimate of the Coriolis-centrifugal force matrix for the kinetic model. This is an estimate of the gravity matrix in the dynamic model.
8. The composite control method for industrial robot trajectory tracking based on sliding mode perturbation observation and hierarchical adaptive iterative learning according to claim 1, characterized in that, Based on the operating conditions, hierarchical two-dimensional adaptive adjustment is performed on the iterative learning gain to generate iterative learning feedforward control quantity to compensate for the iterative repetitive disturbance, including: Set the iterative learning gain matrix and determine the preset adjustment coefficient according to the operating conditions; If the operating condition is a transient large error condition, then the fast convergence law is executed and the first preset adjustment coefficient is selected; If the operating condition is a steady-state small-error operating condition, then the precision fine-tuning law is executed, and the second preset adjustment coefficient is selected; The iterative learning gain after error grading adjustment is determined based on the gain obtained from the previous batch of iterations, the preset adjustment coefficient, and the position tracking error of the current batch. The formula is as follows: in, For the first k Batch, No. i Joints at all times t Iterative learning gain; For the first k -1 round i joint t Iterative learning gain at each time step; For the first k batch t The norm of the joint position tracking error at any given time. The preset adjustment coefficient; If the operating condition is a high-speed motion condition, then the iterative learning gain after motion state adaptation adjustment is determined based on the iterative learning gain after error grading adjustment and the first correction coefficient: If the operating condition is a low-speed precision operating condition, the iterative learning gain after motion state adaptation adjustment is determined according to the iterative learning gain after error classification adjustment and the second correction coefficient. After each adjustment, each gain element is clamped and constrained within a preset range to obtain the gain matrix of the current batch iterative learning. The feedforward control quantity for the current batch iterative learning is updated based on the current batch iterative learning gain matrix and the current batch position tracking error to obtain the feedforward control quantity for the next batch iterative learning, as shown in the formula: in, For the first k Batch, time t Iterative learning of the feedforward control torque vector; For the first k+ Batch 1, Time t Iterative learning of the feedforward control torque vector, For the first k batch t The iterative learning gain matrix at each time step; For the first k batch t The joint position tracking error vector at any given time; The feedforward control variable for the next batch of iterative learning is used to compensate for the repeated perturbations during the iteration.
9. The composite control method for industrial robot trajectory tracking based on sliding mode disturbance observation and hierarchical adaptive iterative learning according to claim 1, characterized in that, Based on the tracking error, the feedback control quantity and the iterative learning feedforward control quantity are dynamically allocated and weighted, then superimposed with the feedforward compensation signal to generate a total control command to drive the robot joint movement, including: Define the feedback control weights and the iterative learning feedforward weights, with the following constraints: in, for t Real-time feedback control weight coefficients; for t Iteratively learn the feedforward weight coefficients at each step; These are the lower limit of the minimum value and the upper limit of the maximum value of the feedback weight, respectively. These represent the lower bound of the minimum value and the upper bound of the maximum value of the feedforward weights in iterative learning, respectively. The feedback control weights and the iterative learning feedforward weights are dynamically allocated based on the tracking error. If the magnitude of the tracking error is greater than a preset error threshold, the feedback control weight is increased. If the magnitude of the tracking error is less than a preset error threshold, then the iterative learning feedforward weights are increased: The weighted composite control quantity is determined based on the dynamically allocated feedback control weights, iterative learning feedforward weights, feedback control quantity, and iterative learning feedforward control quantity. The weighted composite control quantity is superimposed with the feedforward compensation signal to generate the total control command, as shown in the formula: in, For the first k batch t Total control torque of robot joints at all times; For the first k batch t The control quantity is weighted and synthesized by real-time feedback and iterative learning; For the first k batch t The feedforward compensation torque of the constant disturbance observer; The overall control command is output to the servo driver to drive the robot joint movement.
10. The composite control method for industrial robot trajectory tracking based on sliding mode perturbation observation and hierarchical adaptive iterative learning according to claim 9, characterized in that, Based on the dynamically allocated feedback control weights, iterative learning feedforward weights, feedback control quantity, and iterative learning feedforward control quantity, the formula for the weighted composite control quantity is determined as follows: in, for t Constant sliding mode feedback control torque; for t Iteratively learns the feedforward control torque at every moment; The error threshold for ILC weight adjustment; This is the error scaling factor for the feedback weight adjustment. The L2 norm (scalar) of the joint position tracking error; For iterative learning of the time-varying weight coefficients of the feedforward term; The weighted composite total control torque vector at time t.
