Underwater robot trajectory tracking method based on online modeling and model prediction control

Through online modeling and model predictive control, fuzzy c-means and LS-SVM algorithms are used to establish a non-parametric model, and the model is dynamically updated to improve the AUV trajectory tracking accuracy, which solves the problem of low control accuracy of AUV in a nonlinear environment and achieves More efficient trajectory tracking.

CN118625841APending Publication Date: 2024-09-10NORTHEASTERN UNIV CHINA
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410872182.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve precise trajectory tracking control of AUVs, especially under nonlinear models and complex fluid dynamics conditions. Parameter settings are complex and control accuracy is low, and model predictive control is limited by hardware environment dependence.

Method used

Using a method based on online modeling and model predictive control, a non-parametric model is established through fuzzy c-means algorithm and LS-SVM algorithm. Combined with the data selection window structure and rolling optimization, the model is dynamically updated to improve trajectory tracking accuracy.

Benefits of technology

It reduces model uncertainty, improves data utilization, enhances trajectory tracking control accuracy, reduces model switching errors, and adapts to the changing external environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625841A
    Figure CN118625841A
Patent Text Reader

Abstract

The invention provides an underwater robot trajectory tracking method based on online modeling and model prediction control, and belongs to the technical field of underwater robot control. The method comprises an offline part and an online part. According to the offline part, firstly, offline data of horizontal movement of the underwater robot is clustered through a fuzzy c-homoclustering algorithm, and the center of each cluster is recorded. And then, according to the derived non-parametric form of the yaw model, establishing an off-line non-parametric model of each type through a least square support vector. According to the online part, a data selection window structure is designed, online updating is conducted on a yaw model of the underwater robot, in this way, the utilization rate of data is increased, errors generated when model prediction is switched are reduced, then the trajectory tracking problem is solved by introducing a model prediction control method, and the system reliability is improved. Wherein a prediction model used for model prediction control is an online established AUV yaw model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of underwater robot control, and in particular to an underwater robot trajectory tracking method based on online modeling and model predictive control. Background Art

[0002] As AUV technology matures, its applications in science, industry, commerce and military are becoming more and more extensive, such as ocean mapping, deep-sea exploration, oil and gas development, pipeline maintenance, maritime rescue, underwater target tracking and patrolling. Due to the high degree of unmanned operation of AUV, its precise control is particularly important. However, due to the nonlinearity of the model, complex fluid dynamics coefficients and uncertain external disturbances, accurate control of AUV is a difficult task.

[0003] In the past few decades, various control methods have been proposed to solve the trajectory tracking problem, such as proportional-integral-derivative control, backstepping control, adaptive control, fuzzy logic control, sliding mode control, neural network control and model predictive control.

[0004] The setting of PID parameters is too complicated, and fixed parameters are not suitable for the changing external environment. The chatter problem caused by the switching function in the sliding mode control will lead to a decrease in control accuracy. As the system order increases, the computational complexity of the backstepping control will increase rapidly. As an optimal control method, MPC is very convenient for both linear and nonlinear system design. Control constraints and state constraints can be easily added to the optimization function, but nonlinear model predictive control solves finite horizon optimal problems affected by nonlinear model dynamics and constraints, and accurately establishing the parameter model of the AUV is a test of the knowledge and experience of the modeler, and the specific model parameters depend on the hardware experimental environment. Summary of the invention

[0005] According to the technical problems mentioned in the above background technology, a method for tracking underwater vehicle trajectory based on online modeling and model predictive control is provided. The present invention provides a method for tracking underwater vehicle trajectory based on online modeling and model predictive control.

[0006] The technical means adopted by the present invention are as follows:

[0007] The underwater robot trajectory tracking method based on online modeling and model predictive control includes the following steps:

[0008] Step 1: Collect offline data of the underwater robot, calculate the membership degree of each data by fuzzy c-means algorithm, and classify the data into k clusters;

[0009] Step 2: Derived the non-parametric model form of the underwater robot yaw model based on the Abkowitz overall model;

[0010] Step 3: Establishing an offline non-parametric model of each class according to the non-parametric model form and using the LS-SVM algorithm;

[0011] Step 4: Record the state variables sampled at the current moment and calculate the degree of membership of the data at that moment to each cluster;

[0012] Step 5: The training data in each cluster is screened through the designed data selection window structure, and the model of the cluster with the largest membership is updated through the LS-SVM algorithm;

[0013] Step 6: Establish constraints and cost functions, apply the online established underwater robot yaw prediction model and perform rolling optimization according to the constraints and cost functions to solve the rudder angle.

[0014] Furthermore, steps 1 to 3 are all offline processes.

[0015] Furthermore, the step 1 comprises the following steps:

[0016] Step 11: Assume that the collected offline data of the underwater robot is a data set containing n data; divide the data set into k clusters; the cluster centers of the k clusters are:

[0017] V={v1,v2,…,v i ,…,v k};

[0018] Among them, v i represents the center of the i-th cluster, and V represents the set of k cluster centers;

[0019] The objective function and constraints of FCM are:

[0020]

[0021] Among them, μ ij Represents the sample point x i Belongs to cluster center v j The membership degree, m represents the fuzzy index; X represents the sample set, X i represents the i-th eigenvector, X ij Represents X i The jth attribute of i The actual meaning is expressed as [u i ,v i ,r i ,δ i ];

[0022] Step 12: In order to minimize the objective function J, the Lagrange multiplier method is used on the objective function under the condition that the constraint conditions are met to obtain the membership μ ij and cluster center v j The calculation formula is as follows:

[0023]

[0024] Step 13: Set the optimization iteration conditions, and stop the iteration when the difference between the objective function of the s+1th iteration and the sth iteration is less than 0.001; record the center position of each cluster and the degree of membership of each data to each cluster;

[0025] Step 14: Process all data; determine the degree of membership of a certain data to all cluster centers. If the degree of membership of the data to a certain cluster center is greater than 0.3, add the data to the cluster. If the degree of membership of the data to a certain cluster center is less than or equal to 0.3, do not add the data to the cluster. A data may belong to multiple clusters.

[0026] Furthermore, the step 2 comprises the following steps:

[0027] Step 21: Write the dynamic equation of the underwater robot's horizontal motion as follows:

[0028]

[0029] Among them, u, v, and r represent the longitudinal velocity, lateral velocity, and heading angular velocity, respectively; They represent longitudinal acceleration, lateral acceleration and bow angular acceleration respectively; M represents the mass of the ship, I z represents the moment of inertia around the z-axis, x G Indicates the vertical coordinate of the ship's center of gravity; X f , Y f 、N m They represent longitudinal force, lateral force and yaw moment respectively;

[0030] Step 22: Move the terms containing acceleration to the left side of the equation and the remaining terms to the right side; and f , Y f and N m Equivalent to a nonlinear function with u, v, r and control quantity δ as variables, the overall mathematical model of the underwater robot horizontal plane is:

[0031]

[0032]

[0033] Step 23: To avoid integration errors, process the acceleration term at time t by forward difference method:

[0034]

[0035] Wherein, u(t), v(t), r(t) represent the longitudinal velocity, lateral velocity, and angular velocity at time t, respectively; h represents the sampling interval between t and t+1;

[0036] Step 24: When performing trajectory tracking, only the correction of the yaw angle needs to be considered, so only the yaw non-parametric model of horizontal motion needs to be established:

[0037] r(t+1)=f(u(t),v(t),r(t),δ(t));

[0038] Among them, δ(t) represents the control value rudder angle at time t.

[0039] Furthermore, the step 3 comprises the following steps:

[0040] Step 31: According to the yaw non-parametric model, [u(t), v(t), r(t), δ(t)] is used as input and r(t+1) is used as output, and a regression function is constructed by the LS-SVM algorithm; the regression function f(x) constructed by the LS-SVM during regression is:

[0041]

[0042] Where x represents the input of the corresponding regression function and x = [x1, x2, …, x l ], w represents the weight matrix, b represents the bias term, Represents a mapping function that maps input data to a high-dimensional feature space;

[0043] Step 32: The regression function f(x) is equivalent to solving the following optimization problem:

[0044]

[0045] Among them, l represents the number of training samples, y represents the output of the corresponding model, and y =

[0046] [y1,y2,...,y l ],e i represents the error of the i-th sample and |f(x i )-y i |, γ represents the regularization parameter;

[0047] Step 33: Use the Lagrange multiplier method to obtain the following formula:

[0048]

[0049] Among them, α i represents the Lagrange multiplier;

[0050] Step 34: Perform partial derivatives on the variables to obtain the optimal solution conditions:

[0051]

[0052] Step 35: Rewrite the optimal solution into a linear equation system:

[0053]

[0054] Among them, the kernel function α=[α1,α2,…,α l ], Represents a column vector of dimension l and all values ​​are 1, and is solved by the linear equation system:

[0055]

[0056] A=K+γ -1 I;

[0057] Step 36: The obtained regression estimation function is:

[0058]

[0059] According to the k cluster data clustered in step 1, an offline regression model of the k clusters is trained.

[0060] Furthermore, in step 6, in order to ensure the accuracy of tracking the trajectory, the cost function of the model predictive control is set as:

[0061]

[0062] Where N represents the total number of optimization steps; y(k+i) represents the output trajectory of the prediction model at the k+i step, i.e., the maximum membership model applied in the online training in the previous step; g(k+i) represents the expected trajectory of the k+i step; Δu(k+i-1) represents the change in the control amount at the k+i-1 step; q i Represents the weight coefficient of the output error, r i Represents the input weight coefficient.

[0063] Furthermore, range limitation and steering speed limitation constraints are added to the underwater robot established online; the rudder angle range limitation and the rudder speed limitation are:

[0064] u min <δ max ,Δu min ​<Δδ<Δu max

[0065] Among them, u min and u max Respectively represent the upper and lower limits of the rudder angle; Δu min and Δu max Respectively represent the upper and lower limits of the rudder speed;

[0066] The above cost function and constraints are equivalent to an optimization problem, which is converted into a standard quadratic programming form. The optimal sequence of rudder angle increments is obtained by optimizing the solution. The control input at the current time can be obtained by adding the first element of the sequence and the rudder angle value at the previous time, and the above steps are repeated next time.

[0067] Compared with the prior art, the present invention has the following advantages:

[0068] The present invention adopts non-parametric modeling compared to parametric modeling to reduce the uncertainty of the model. The FCM soft clustering algorithm combined with the designed data screening window improves the utilization of data and reduces the error generated when switching model prediction. The online modeling adopted in the MPC algorithm ensures the control accuracy when tracking the trajectory. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0070] Figure 1 It is a schematic diagram of the overall framework structure of the present invention.

[0071] Figure 2 A window structure is selected for the data of the present invention. DETAILED DESCRIPTION

[0072] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0073] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, 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 that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0074] like Figure 1-2 As shown, the present invention provides an underwater robot trajectory tracking method based on online modeling and model predictive control, comprising the following steps:

[0075] Step 1 (offline process): collect offline data of autonomous underwater vehicles (AUVs), and calculate the membership of each data by fuzzy c-means (FCM) algorithm; step 1 includes the following steps:

[0076] Step 11: Assume that the collected offline data of the underwater robot AUV is a data set containing n data; divide the data set into k (k is 3 in this application); the cluster centers of the k clusters are:

[0077] V={v1,v2,...,v i ,...,v k};

[0078] Among them, v i represents the center of the i-th cluster, and V represents the set of k cluster centers;

[0079] The objective function and constraints of the fuzzy c-means algorithm are:

[0080]

[0081] Among them, μ ij Represents the sample point x i Belongs to cluster center v j The membership degree, m represents the fuzzy index; X represents the sample set, X i represents the i-th eigenvector, X ij Represents X i The jth attribute of i The actual meaning is expressed as [u i ,vi ,r i ,δ i ];

[0082] Step 12: In order to minimize the objective function J, the Lagrange multiplier method is used on the objective function under the condition that the constraint conditions are met to obtain the membership μ ij and cluster center v j The calculation formula is as follows:

[0083]

[0084]

[0085] Step 13: Set the optimization iteration conditions, and stop the iteration when the difference between the objective function of the s+1th iteration and the sth iteration is less than 0.001; record the center position of each cluster and the degree of membership of each data to each cluster;

[0086] Step 14: Process all data; determine the degree of membership of a certain data to all cluster centers. If the degree of membership of the data to a certain cluster center is greater than 0.3, add the data to the cluster. If the degree of membership of the data to a certain cluster center is less than or equal to 0.3, do not add the data to the cluster. A data may belong to multiple clusters.

[0087] Step 2 (offline process): deriving a non-parametric model form of the underwater robot yaw model according to the Abkowit integral model; the step 2 comprises the following steps:

[0088] Step 21: Write the dynamic equation of the horizontal motion of the underwater robot AUV as follows:

[0089]

[0090] Among them, u, v, and r represent the longitudinal velocity, lateral velocity, and heading angular velocity, respectively; They represent longitudinal acceleration, lateral acceleration and bow angular acceleration respectively; M represents the mass of the ship, I z represents the moment of inertia around the z-axis, x G Indicates the vertical coordinate of the ship's center of gravity; X f , Y f 、N m They represent longitudinal force, lateral force and yaw moment respectively;

[0091] Step 22: Move the terms containing acceleration to the left side of the equation and the remaining terms to the right side; and f , Y f and N mEquivalent to a nonlinear function with u, v, r and control quantity δ as variables, the overall mathematical model of the underwater robot AUV horizontal plane is obtained as:

[0092]

[0093] Step 23: To avoid integration errors, process the acceleration term at time t by forward difference method:

[0094]

[0095] Wherein, u(t), v(t), r(t) represent the longitudinal velocity, lateral velocity, and angular velocity at time t, respectively; h represents the sampling interval between t and t+1;

[0096] Step 24: When performing trajectory tracking, only the correction of the yaw angle needs to be considered, so only the yaw non-parametric model of horizontal motion needs to be established:

[0097] r(t+1)=f(u(t),v(t),r(t),δ(t));

[0098] Among them, δ(t) represents the control value rudder angle at time t.

[0099] Step 3 (offline process): According to the non-parametric model form and using the LS-SVM (Least Squares-Support Vector Machine, LS-SVM) algorithm, an offline non-parametric model of each class is established; the step 3 includes the following steps:

[0100] Step 31: According to the yaw non-parametric model, [u(t), v(t), r(t), δ(t)] is used as input and r(t+1) is used as output, and a regression function is constructed by the LS-SVM algorithm; the regression function f(x) constructed by the LS-SVM during regression is:

[0101]

[0102] Where x represents the input of the corresponding regression function and x = [x1, x2, …, x l ], w represents the weight matrix, b represents the bias term, Represents a mapping function that maps input data to a high-dimensional feature space;

[0103] Step 32: The regression function f(x) is equivalent to solving the following optimization problem:

[0104]

[0105] Among them, l represents the number of training samples, y represents the output of the corresponding model, and y =

[0106] [y1,y2,…,y l ],e i represents the error of the i-th sample and |f(x i )-y i |, γ represents the regularization parameter;

[0107] Step 33: Use the Lagrange multiplier method to obtain the following formula:

[0108]

[0109] Among them, α i represents the Lagrange multiplier;

[0110] Step 34: Perform partial derivatives on the variables to obtain the optimal solution conditions:

[0111]

[0112] Step 35: Rewrite the optimal solution into a linear equation system:

[0113]

[0114] Among them, the kernel function The present invention adopts Gaussian kernel function. a=[a1,a2,...,a l ], Represents a column vector of dimension l and all values ​​are 1, and is solved by the linear equation system:

[0115]

[0116] A=K+γ -1 I;

[0117] Step 36: The obtained regression estimation function is:

[0118]

[0119] According to the k cluster data clustered in step 1, an offline regression model of k clusters is trained.

[0120] Step 4: Record the state variables sampled at the current moment and calculate the degree of membership of the data at that moment to each cluster; after obtaining the state variables u, v, r and control variables δ at the current moment through the sensor, the degree of membership of the data at the current moment to each cluster can be calculated.

[0121] Step 5: The training data in each cluster is screened through the designed data selection window structure, and the model of the cluster with the largest membership is updated through the LS-SVM algorithm; first, the membership of each cluster is compared with the pre-set threshold of 0.3, and only when the membership is greater than 0.3 of the cluster is the data added to the cluster sample set, such as Figure 2 shown.

[0122] After data filtering, the size of the training set is set. Here, the number is set to 1000, that is, the number of training set data for each cluster is 1000. When new data is added to the training set, the data farthest from the current moment will be overwritten. This design can ensure that the training data is maintained at a fixed number and is the most recent data, and the data in each cluster contains the motion characteristics of some adjacent clusters, so that no large errors will be generated when switching model predictions. Then, the model of the cluster with the largest membership is retrained using the LS-SVM algorithm in the same way as the offline training.

[0123] Step 6: Establish constraints and cost functions, apply the online established underwater robot AUV yaw prediction model and perform rolling optimization according to the constraints and cost functions to solve the rudder angle. In step 6, in order to ensure the accuracy of tracking the trajectory, the cost function of the model predictive control is set to:

[0124]

[0125] Where N represents the total number of optimization steps; y(k+i) represents the output trajectory of the prediction model at the k+i step, i.e., the maximum membership model applied in the online training in the previous step; g(k+i) represents the expected trajectory of the k+i step; Δu(k+i-1) represents the change in the control amount at the k+i-1 step; q i Represents the weight coefficient of the output error, r i Represents the input weight coefficient.

[0126] The range limit and steering speed limit constraints are added to the underwater robot AUV established online; the rudder angle range limit and the rudder speed limit are:

[0127] u min <δ max ,Δu min <Δδ<Δu max

[0128] Among them, u min and u max Respectively represent the upper and lower limits of the rudder angle; Δu min and Δu max Respectively represent the upper and lower limits of the rudder speed;

[0129] ​The above cost function and constraints are equivalent to an optimization problem, which is converted into a standard quadratic programming form. The optimal sequence of rudder angle increments is obtained by optimizing the solution. The control input at the current time can be obtained by adding the first element of the sequence and the rudder angle value at the previous time, and the above steps are repeated next time.

[0130] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways.

[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. Underwater robot trajectory tracking method based on online modeling and model predictive control, It is characterized in that The following steps are involved: Step 1: Collect offline data of the underwater robot, calculate the membership degree of each data by fuzzy c-means algorithm, and classify the data into k clusters; Step 2: Derived the non-parametric model form of the underwater robot yaw model based on the Abkowitz overall model; Step 3: Establishing an offline non-parametric model of each class according to the non-parametric model form and using a least squares support vector machine LS-SVM algorithm; Step 4: Record the state variables sampled at the current moment and calculate the degree of membership of the data at that moment to each cluster; Step 5: The training data in each cluster is screened through the designed data selection window structure, and the model of the cluster with the largest membership is updated through the LS-SVM algorithm; Step 6: Establish constraints and cost functions, apply the online established underwater robot yaw prediction model and perform rolling optimization according to the constraints and cost functions to solve the rudder angle.

2. The underwater robot trajectory tracking method based on online modeling and model predictive control according to claim 1, It is characterized in that Steps 1 to 3 are all offline processes.

3. The underwater robot trajectory tracking method based on online modeling and model predictive control according to claim 1, It is characterized in that The step 1 comprises the following steps: Step 11: Assume that the collected offline data of the underwater robot is a data set containing n data; divide the data set into k clusters; the cluster centers of the k clusters are: V={v 1 ,v 2 ,…,v i ,…,v k }; Among them, v , represents the center of the i-th cluster, and V represents the set of k cluster centers; The objective function and constraints of the fuzzy c-means algorithm are: Among them, μ ij Represents the sample point x i Belongs to cluster center v j The membership degree, m represents the fuzzy index; X represents the sample set, X i represents the i-th eigenvector, X ij Represents X i The jth attribute of i The actual meaning is expressed as [u i , v i , r i , δ i ]; Step 12: In order to minimize the objective function J, the Lagrange multiplier method is used on the objective function under the condition that the constraint conditions are met to obtain the membership μ ij and cluster center v j The calculation formula is as follows: Step 13: Set the optimization iteration conditions, and stop the iteration when the difference between the objective function of the s+1th iteration and the sth iteration is less than 0.001; record the center position of each cluster and the degree of membership of each data to each cluster; Step 14: Process all data; determine the degree of membership of a certain data to all cluster centers. If the degree of membership of the data to a certain cluster center is greater than 0.3, add the data to the cluster. If the degree of membership of the data to a certain cluster center is less than or equal to 0.3, do not add the data to the cluster. A data may belong to multiple clusters.

4. The underwater robot trajectory tracking method based on online modeling and model predictive control according to claim 1, It is characterized in that The step 2 comprises the following steps: Step 21: Write the dynamic equation of the underwater robot's horizontal motion as follows: Among them, u, v, and r represent the longitudinal velocity, lateral velocity, and heading angular velocity, respectively; They represent longitudinal acceleration, lateral acceleration and bow angular acceleration respectively; M represents the mass of the ship, I z represents the moment of inertia around the z-axis, x G Indicates the vertical coordinate of the ship's center of gravity; X f , Y f 、N m They represent longitudinal force, lateral force and yaw moment respectively; Step 22: Move the terms containing acceleration to the left side of the equation and the remaining terms to the right side; and f , Y f and N m Equivalent to a nonlinear function with u, v, r and control quantity δ as variables, the overall mathematical model of the underwater robot horizontal plane is obtained as follows: Step 23: To avoid integration errors, process the acceleration term at time t by forward difference method: Wherein, u(t), v(t), r(t) represent the longitudinal velocity, lateral velocity, and heading angular velocity at time t, respectively; h represents the sampling interval between t and t+1; Step 24: When tracking the trajectory, only the correction of the yaw angle needs to be considered, so the yaw non-parametric model of horizontal motion is established as follows: r(t+1)=f(u(t), v(t), r(t), δ(t)); Among them, δ(t) represents the control value rudder angle at time t.

5. The underwater robot trajectory tracking method based on online modeling and model predictive control according to claim 1, It is characterized in that The step 3 comprises the following steps: Step 31: According to the yaw non-parametric model, [u(t), v(t), r(t), δ(t)] is used as input and r(t+1) is used as output, and a regression function is constructed by the LS-SVM algorithm; the regression function f(x) constructed by the LS-SVM during regression is: Where x represents the input of the corresponding regression function and x = [x 1 , x 2 , …, x l ], w represents the weight matrix, b represents the bias term, Represents a mapping function that maps input data to a high-dimensional feature space; Step 32: The regression function f(x) is equivalent to solving the following optimization problem: Where l represents the number of training samples, y represents the output of the corresponding model, and y = [y 1 ,y 2 , …, y l ],e i represents the error of the i-th sample and |f(x i )-y i |, γ represents the regularization parameter; Step 33: Use the Lagrange multiplier method to obtain the following formula: Among them, α i represents the Lagrange multiplier; Step 34: Perform partial derivatives on the variables to obtain the optimal solution conditions: Step 35: Rewrite the optimal solution into a linear equation system: Among them, the kernel function α=[α 1 , α 2 , …, α l ], Represents a column vector with dimension , and all values ​​are 1, and is solved by the linear equation system: A=K+γ -1 I; Step 36: The obtained regression estimation function is: According to the k cluster data clustered in step 1, an offline regression model of k clusters is trained.

6. The underwater robot trajectory tracking method based on online modeling and model predictive control according to claim 1, It is characterized in that In step 6, in order to ensure the accuracy of tracking the trajectory, the cost function of the model predictive control is set to: Where N represents the total number of optimization steps; y(k+i) represents the output trajectory of the prediction model at the k+i step, i.e., the maximum membership model applied in the online training in the previous step; g(k+i) represents the expected trajectory of the k+i step; Δu(k+i-1) represents the change in the control amount at the k+i-1 step; q i Represents the weight coefficient of the output error, r i Represents the input weight coefficient.

7. The underwater robot trajectory tracking method based on online modeling and model predictive control according to claim 1, It is characterized in that Add range limit and steering speed limit constraints to the underwater robot established online; the rudder angle range limit and the rudder speed limit are: you min <δ<u max ,I don't min <Δδ<Δu max Among them, u min and u max Respectively represent the upper and lower limits of the rudder angle; Δu min and Δu max Respectively represent the upper and lower limits of the rudder speed; The above cost function and constraints are equivalent to an optimization problem, which is converted into a standard quadratic programming form. The optimal sequence of rudder angle increments is obtained by optimizing the solution. The control input at the current time can be obtained by adding the first element of the sequence and the rudder angle value at the previous time, and the above steps are repeated next time.

Citation Information

Cited By

  • Model-free unmanned underwater vehicle trajectory tracking method and system

    CN120066034A

  • A model-free trajectory tracking method and system for an unmanned underwater vehicle

    CN120066034B

  • Ship, umbilical cable and underwater robot system prediction control method

    CN122284269A

  • A method of predictive control for a ship, umbilical and underwater vehicle system

    CN122284269B