Robot switching predictive control trajectory tracking method based on neural network model

Through the switching predictive control method based on the neural network model, the problem of insufficient trajectory tracking accuracy and adaptability of the wheeled robot is solved, and a higher precision and stable trajectory tracking effect is achieved.

CN115344047BActive Publication Date: 2024-08-23JILIN UNIVERSITY
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202211008964.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-22
Publication Date
2024-08-23
Estimated Expiration
2042-08-22

AI Technical Summary

Technical Problem

Due to its under-actuated system, multiple inputs and multiple outputs, and nonlinear characteristics, wheeled robots make high-precision trajectory tracking difficult. The existing neural network prediction models are unstable in trajectory tracking, especially the online models, which have poor initial results.

Method used

The robot switching predictive control method based on the neural network model is used to train the online neural network model by establishing the error state equation, building the mechanism prediction model and the offline neural network model, and switching the prediction model through the prediction model switcher during operation, combined with The particle swarm optimization algorithm is used for control and optimized trajectory tracking.

Benefits of technology

It improves the accuracy and adaptability of wheeled robot trajectory tracking, reduces prediction model errors, and improves trajectory tracking effects, especially when the trajectory is significantly different from the data set.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115344047B
    Figure CN115344047B
Patent Text Reader

Abstract

The present invention is applicable to the technical field of trajectory tracking control of wheeled robots, and provides a robot switching predictive control trajectory tracking method based on a neural network model, including the following steps: step S1: establishing the error state equation of the wheeled robot and building a mechanism prediction model; step S2: establishing and training an offline neural network prediction model; step S3: training an online neural network prediction model; step S4: establishing a prediction model switcher; step S5: establishing a nonlinear model prediction controller, constructing an optimization description problem, and solving the optimization description problem to obtain an optimal solution. The present invention reduces the prediction error of the prediction model caused by the vehicle body parameters to a certain extent, and improves the accuracy of the wheeled robot trajectory tracking; compared with the ordinary offline neural network prediction model, it has higher adaptability and accuracy, and can switch the prediction model based on the prediction error, and compared with the pure mechanism prediction model, the error is smaller and the accuracy is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of trajectory tracking control of wheeled robots, and in particular relates to a robot switching predictive control trajectory tracking method based on a neural network model. Background Art

[0002] Wheeled robots are small in size, low in power consumption, and highly flexible, and are gradually playing an important role in many fields. Due to their flexibility and low cost, they can replace humans to complete various tasks, such as mine-clearing and explosive-disposal robots in dangerous environments, ammunition destruction robots, and robots for the disabled and cleaning robots in daily life. Motion control is the prerequisite for wheeled robots to realize their functions. In motion control, trajectory tracking control is one of the important topics in the research field of wheeled robots.

[0003] Since wheeled robots are typical under-actuated systems with characteristics such as multiple inputs and multiple outputs, nonlinearity and incomplete constraints, it is difficult to achieve high-precision tracking effects. The controller that needs to be designed has good real-time performance and the ability to handle multiple inputs and outputs and multiple constraints.

[0004] In model predictive control, since the neural network prediction model can be trained through the actual operation data of the wheeled robot, and the mechanism prediction model requires the robot's own parameters, it can reduce the prediction model error caused by changes in robot parameters or external interference to a certain extent, thereby improving the path tracking accuracy. However, the neural network prediction model has certain shortcomings: the offline neural network model works better when tracking the trajectory in the data set. Once the tracking trajectory is significantly different from the data set, the tracking effect will deteriorate; while the data set of the online neural network model is collected based on the real-time data of the wheeled robot, and the network model will also be updated in real time, which makes up for the shortcomings of the offline neural network. However, the online neural network model will have poor initial trajectory tracking results due to insufficient training data at the beginning. For this reason, we propose a robot switching predictive control trajectory tracking method based on a neural network model. Summary of the invention

[0005] The purpose of the embodiments of the present invention is to provide a robot switching predictive control trajectory tracking method based on a neural network model, aiming to solve the problems raised in the above-mentioned background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] A robot switching predictive control trajectory tracking method based on a neural network model includes the following steps:

[0008] Step S1: Establish the error state equation of the wheeled robot and build a mechanism prediction model;

[0009] Step S2: Establish and train an offline neural network prediction model;

[0010] Step S3: training an online neural network prediction model;

[0011] Step S4: establishing a prediction model switcher;

[0012] Step S5: Establish a nonlinear model predictive controller, construct an optimization description problem, and solve the optimization description problem to obtain an optimal solution.

[0013] Furthermore, in step S1, the specific operations of establishing the error state equation of the wheeled robot and building the mechanism prediction model are: through the kinematic equation of the wheeled robot, given the trajectory information and feedback value, the error state space equation is established to obtain the virtual control quantity, and use it to predict the future state information of the wheeled robot.

[0014] Furthermore, in step S2, the specific operations of establishing and training the offline neural network prediction model are: collecting actual operation data of the wheeled robot for network training, obtaining the offline neural network prediction model, and using it to initialize the online neural network model.

[0015] Furthermore, in step S3, the training of the online neural network prediction model includes real-time collection of training data and training update of the network, wherein the training data includes trajectory data parameters in the offline library and trajectory data parameters collected in real time by the wheeled robot, and the trajectory data in the offline library is collected by inverted eight trajectories, circular trajectories, straight line trajectories and S-shaped trajectories, and preprocessed.

[0016] Furthermore, in step S4, the condition for the prediction model switcher to switch the prediction model depends on the prediction error of the prediction model for the state quantity.

[0017] Furthermore, the specific operation of the prediction model switcher to switch the prediction model is: during the operation of the wheeled robot, the control quantity used to control the robot is respectively input into the mechanism prediction model and the neural network prediction model, and the deviation between the predicted state quantity of the mechanism prediction model and the neural network prediction model and the actual state quantity of the robot is compared, and the prediction model with the smaller deviation is selected as the prediction model.

[0018] Furthermore, in step S5, a particle swarm optimization algorithm is used to solve the optimization description problem.

[0019] Furthermore, the mechanism of the particle swarm optimization algorithm is: initialize a certain number of particles, including the number of particles, initial positions and speeds, and evaluate the quality of the particle positions according to the objective function, while updating the individual optimal and global optimal values ​​of each particle to update the position and speed of the particles, and repeat this cycle until the termination condition is reached to obtain the final optimization solution.

[0020] Compared with the prior art, the present invention has the following beneficial effects:

[0021] 1. The neural network prediction model in the present invention is trained by data obtained from the actual operation of the robot. Compared with the traditional mechanism-based prediction model, it has higher prediction accuracy, reduces the prediction error of the prediction model caused by the vehicle body parameters to a certain extent, and improves the trajectory tracking accuracy of the wheeled robot;

[0022] 2. The switching model prediction controller in the present invention can collect real-time data and perform online training during the operation of the wheeled robot. Compared with the ordinary offline neural network prediction model, it has higher adaptability and accuracy, and can switch the prediction model based on the prediction error. Compared with the pure mechanism prediction model, it has smaller error and higher accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a schematic diagram of a neural network prediction model for predicting lateral and longitudinal displacements and yaw angle displacements in the present invention.

[0024] Figure 2 It is a schematic diagram of the switching model predictive controller in the present invention.

[0025] Figure 3 This is a diagram showing the trajectory tracking effect of the wheeled robot in the present invention.

[0026] Figure 4 This is a comparison diagram of the lateral error of the wheeled robot trajectory tracking in the present invention.

[0027] Figure 5 This is a comparison diagram of the longitudinal error of the wheeled robot trajectory tracking in the present invention. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0029] The specific implementation of the present invention is described in detail below in conjunction with specific embodiments.

[0030] An embodiment of the present invention provides a robot switching predictive control trajectory tracking method based on a neural network model, comprising the following steps:

[0031] Step S1: Establish the error state equation of the wheeled robot and build a mechanism prediction model;

[0032] Step S2: Establish and train an offline neural network prediction model;

[0033] Step S3: training an online neural network prediction model;

[0034] Step S4: establishing a prediction model switcher;

[0035] Step S5: Establish a nonlinear model predictive controller, construct an optimization description problem, and solve the optimization description problem to obtain an optimal solution.

[0036] As a preferred embodiment of the present invention, in step S1, the specific operation of establishing the error state equation of the wheeled robot and building the mechanism prediction model is: through the kinematic equation of the wheeled robot, given trajectory information and feedback value, establish the error state space equation, obtain the virtual control quantity, and use it to predict the future state information of the wheeled robot.

[0037] In the embodiment of the present invention, the first step is to establish the error state equation of the wheeled mobile robot. It is necessary to obtain the relevant information of the given trajectory, including x r ,y r , θ r ,c,v r The robot is given lateral and longitudinal displacement, velocity, acceleration, yaw angle, curvature and speed in the rectangular coordinate system. After obtaining the given trajectory, the kinematic model of the wheeled robot is first established:

[0038]

[0039]

[0040]

[0041] Then it is converted into the state space expression of the error in the body coordinate system:

[0042]

[0043] Taking the derivative of both sides, we get:

[0044]

[0045]

[0046]

[0047] Here we define two virtual control quantities u 1e ,u 2e .

[0048] u 1e =v r *cosθ e -v

[0049] u 2e =ww r (4)

[0050] Substituting (4) into (3), we get:

[0051]

[0052]

[0053]

[0054] When v is close to v r ,w is close to w r When the error state and Close to balance.

[0055] Then the state prediction is performed, first using the deviation control amount u 1e 、u 2e Represents the actual speed and angular velocity of the mobile robot:

[0056] v=v r *cosθ e -u 1e

[0057] w=u 2e +w r (6)

[0058] where θ e For a given yaw angle θ r Deviation from the feedback value θ, w r For a given angular velocity, we can obtain the curvature c and the velocity v r The product of the two deviation control quantities u 1e 、u 2e It is used to indicate the deviation between the actual speed and angular velocity of the mobile robot at each sampling moment and the speed and angular velocity required by the given trajectory;

[0059] in, and is the lateral and longitudinal speed of the wheeled mobile robot in the rectangular coordinate system, v and w are the linear velocity and angular velocity of the robot in the rectangular coordinate system, and θ is the angle between the mobile robot and the x-axis, that is, the yaw angle.

[0060] Next is the construction of a prediction model based on the mechanism: According to the kinematic model, the predicted displacement change of the robot from time t to time t+1 can be obtained as:

[0061] x p =T s vcosθ

[0062] y p =T s vsinθ

[0063] θ p =T s w (7)

[0064] Where Ts is the sampling time interval. After obtaining the change, the predicted displacement and deflection angle at the next moment can be obtained:

[0065] x t+1 =x t +x p

[0066] y t+1 =y t +y p

[0067] θ t+1 =θ t +θ p (8)

[0068] As a preferred embodiment of the present invention, in step S2, the specific operation of establishing and training the offline neural network prediction model is: collecting the actual operation data of the wheeled robot for network training, obtaining the offline neural network prediction model, and using it to initialize the online neural network model.

[0069] In the embodiment of the present invention, after the prediction model based on the mechanism is built, the prediction model based on the BP neural network is built. First, the offline neural network is built. The present invention uses two back propagation neural networks to learn the actual kinematic laws of the lateral and longitudinal displacements x, y and the robot's yaw angle θ, respectively. Figure 1As shown in the figure, both networks use two-layer neural networks. The structure of network one is 3-6-1. The input layer is the robot speed v, angular velocity w and feedback yaw angle θ, the number of neurons in the hidden layer is 6, the activation function is the sigmoid function, and the output layer is the predicted lateral and longitudinal displacement changes. The structure of network two is 1-10-1. The input layer is the robot angular velocity w, the number of neurons in the hidden layer is 10, the activation function is the sigmoid function, and the output layer is the predicted yaw angle change after denormalization.

[0070]

[0071]

[0072]

[0073] Where x is the input of the neural network, n hid is the input of the hidth hidden unit in the hidden layer, a hid is the output, in is the number of neurons in the input layer. hid is the bias value of the hidth hidden layer neuron. ot is the otth output value, b ot is the deviation value corresponding to the otth output value.

[0074] Training data collection and preprocessing: The data required for training the network include the control value v, w at time t, the feedback value θ, and the lateral and longitudinal displacement and yaw angle change x from time t to time t+1 c ,y c , The speed, angular velocity and feedback of transverse and longitudinal displacement x, y and yaw angle θ at each sampling moment can be obtained through the wheeled robot trajectory tracking process. The change in transverse and longitudinal displacement and yaw angle from this moment to the next moment can be obtained by subtracting the feedback amount x, y, θ from the next moment to the previous moment. The wheeled robot used in the present invention is a p3dx-sh pioneer robot, and the specific parameters include: length (cm): 44.5; width (cm): 39.3; height (cm): 23.7; weight (kg): 9; payload (kg): 25; casters (mm): 75; steering: differential; gear ratio: 38.3:1; swing (cm): 26.7; rotation (cm): 0; maximum conversion speed (mm / sec): 1.400; maximum rotation speed (deg / sec): 300. The control quantity input to the robot is the left and right wheel speeds, and the feedback is collected through the robot's own high-resolution optical encoder to collect transverse and longitudinal displacement and yaw angle data. The control quantity linear velocity v and angular velocity w required in the training data can be obtained by converting the left and right wheel speeds. After obtaining the data, normalization is performed, and the formula is as follows:

[0075] y=(ymax -y min )*(xx min ) / (x max -x min )+y min (10)

[0076] x is the data to be processed, and y is the corresponding processed data. Since the normalized range is between -1 and 1, the formula can be further written as:

[0077]

[0078] Neural network training: The experimental simulation tracked 11 groups of trajectories (including 7 inverted eight-shaped trajectories, 2 circular trajectories and 2 S-shaped trajectories) and collected 33,950 sets of data, which were normalized. The processed data were divided into 80% training set, 10% validation set and 10% test set. The Levenberg-Marquardt algorithm was used for training, and the maximum number of training times was set to 10,000 times, and the minimum error of the training target was set to 0.000001.

[0079] As a preferred embodiment of the present invention, in step S3, the training of the online neural network prediction model includes real-time collection of training data and training update of the network, wherein the training data includes trajectory data parameters in the offline library and trajectory data parameters collected in real time by the wheeled robot, and the trajectory data in the offline library is collected by inverted eight trajectories, circular trajectories, straight line trajectories and S-shaped trajectories, and preprocessed.

[0080] In the embodiment of the present invention, preferably, the real-time trajectory data is collected when the mobile robot is running, and the real-time data of 100 steps is collected continuously each time, and 1500 groups of data are randomly collected from the old data set, a total of 1600 groups of data are used to update the network weight w and bias value b, that is, the online neural network is updated every 100 steps. The neural network training method adopts the gradient descent method, and the minimum error of the training target is set to 0.00001. In order to ensure the real-time performance of the online training, the maximum number of training times is set to 1000. The process of online training is as follows: During the robot running time:

[0081]

[0082]

[0083] As a preferred embodiment of the present invention, in step S4, the condition for the prediction model switcher to switch the prediction model depends on the prediction error of the prediction model for the state quantity.

[0084] As a preferred embodiment of the present invention, the specific operation of the prediction model switcher to switch the prediction model is: during the operation of the wheeled robot, the control quantity used to control the robot is respectively input into the mechanism prediction model and the neural network prediction model, and the deviation between the predicted state quantity of the mechanism prediction model and the neural network prediction model and the actual state quantity of the robot is compared, and the prediction model with the smaller deviation is selected as the prediction model.

[0085] In the embodiment of the present invention, e X (1)=|f nn (X t-1 ,U t-1 )-X t | 2

[0086] e X (2)=|f f (X t-1 ,U t-1 )-X t | 2 (13)

[0087] where e X is the deviation between the predicted state of the two prediction models and the actual robot state at time t, f nn is the neural network prediction model, f f is the mechanism prediction model. Substituting it into the following prediction model switching function H can be used as the condition for switching the model. Take the prediction of the state at time t+k+1 at time t+k as an example:

[0088]

[0089] The three input quantities of the switching function H are the state deviation value e at time t X , the state quantity and control quantity at time t+k. First, determine e X The prediction model with the smaller deviation is used as the prediction model f to be used at time t+k. p , complete the prediction of the state value at time t+k+1.

[0090] As a preferred embodiment of the present invention, in step S5, a particle swarm optimization algorithm is used to solve the optimization description problem.

[0091] In the embodiment of the present invention, preferably, the optimization problem of the present invention can be described as: the wheeled mobile robot can quickly and accurately track the given trajectory under the condition of satisfying the hardware constraints of the actuator and low energy consumption, that is, at time k, it can be described as:

[0092] min J(x(k),u(k)),

[0093] subject to:Xt+k+1 =H(e X ,X t+k ,U t+k )

[0094] e X =|f i (X t-1 ,U t-1 )-X t | 2 (14)

[0095] The objective function is:

[0096]

[0097] Among them, J is the objective function, which consists of two parts. The first part represents the square of the deviation between the predicted trajectory and the given trajectory in the prediction time domain, which ensures that the wheeled robot can track the upper trajectory, τ x represents the weight coefficient of this part, τ x The larger the value, the faster the trajectory tracking. The second part indicates the size of the control amount, which ensures low energy consumption, τ u represents the weight coefficient of this part, τ u The larger the value, the lower the energy. p For the prediction time domain, select 5, N c The control time domain is 2. The hardware constraint of the actuator is the linear velocity range of the wheeled robot, v is between (-1,1).

[0098] like Figure 1 As shown in FIG. 1 , as a preferred embodiment of the present invention, the mechanism of the particle swarm optimization algorithm is as follows: a certain number of particles are initialized, including the number of particles, initial positions and speeds, and the quality of the particle positions is evaluated according to the objective function, and the individual optimal and global optimal values ​​of each particle are updated at the same time to update the position and speed of the particles, and this cycle is repeated until the termination condition is reached to obtain the final optimization solution.

[0099] In the embodiment of the present invention, the particles are initialized first. Since the control time domain is 2 and the number of control quantities is 2, there are four quantities that need to be optimized at each moment, namely, u 1e (i), u 2e (i), u 1e (i+1) and u 1e (i+1), so the particle dimension is set to 4 and the number of particles is selected to be 30. A larger number of particles can obtain a more accurate optimization solution, but too many particles will increase the computational complexity and hinder the implementation of the controller. The number of iterations is selected to be 30. The position and speed of each particle are initialized as follows: the position of the particle is the control quantity, the initialization position of the i-th particle is the sum of the control quantity at the previous moment and a small random number, and the initialization speed of the k-th particle is set to 0.i is the individual optimal solution of particle k, initially set to the fitness of the particle at the first iteration, and g is the global optimal solution, initially set to the fitness of the particle that minimizes the objective function at the first iteration.

[0100] The particle position and velocity update formula is as follows:

[0101]

[0102]

[0103] Among them, w is the inertia weight. The larger w is, the stronger the global search ability is. It is generally set to decrease. con1 and con2 are learning factors, which represent the learning ability for individual optimality and global optimality, and are generally taken as 2. r represents a random number between 0 and 1, indicating the randomness of the solution.

[0104] Comparative analysis of experimental results

[0105] In order to further verify the advantages of the neural network prediction model in reducing tracking errors, the trajectory tracking effect was compared between the neural network prediction model and the prediction model based on the traditional mechanism, and the given trajectory was selected as an inverted eight shape as follows:

[0106] x ref (i) = sin(0.1T)

[0107] y ref (i) = sin(0.2T) (17)

[0108] The simulation time is 40s; T is the discrete simulation time. The experimental results are as follows Figure 3 , 4 , 5, see Figure 3 , we can see that the controller based on the neural network prediction model can reduce the error between the given trajectory faster than the controller based on the mechanism prediction model, see Figure 4 , Figure 5 , you can more intuitively see the effect of the neural network prediction model in improving tracking accuracy.

[0109] The working principle of the present invention is:

[0110] This robot switching predictive control trajectory tracking method based on the neural network model transforms the trajectory tracking problem into an error adjustment problem by establishing an error state equation and determining the deviation control amount, and switches between the BP neural network trained online with data collected by the mobile robot and the original mechanism prediction model, thereby reducing the tracking accuracy error caused by errors such as model parameters.

[0111] The above are only preferred embodiments of the present invention. It should be pointed out that, for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present invention. These should also be regarded as the protection scope of the present invention. These will not affect the effect of the implementation of the present invention and the practicality of the patent.

Claims

1. A robot switching predictive control trajectory tracking method based on a neural network model, characterized in that: The following steps are involved: Step S1: Establish the error state equation of the wheeled robot and build a mechanism prediction model; Step S2: Establish and train an offline neural network prediction model; Step S3: training an online neural network prediction model; Step S4: establishing a prediction model switcher; Step S5: Establish a nonlinear model predictive controller, construct an optimization description problem, and solve the optimization description problem to obtain an optimal solution; In step S1, the specific operation of establishing the error state equation of the wheeled robot and building the mechanism prediction model is: through the kinematic equation of the wheeled robot, given the trajectory information and feedback value, establish the error state space equation, obtain the virtual control amount, and use it to predict the future state information of the wheeled robot; specifically as follows: First, the error state equation of the wheeled mobile robot is established to obtain the relevant information of the given trajectory, including x r ,y r θ r ,c,v r , respectively, are the given lateral and longitudinal displacements, velocity, acceleration, yaw angle, curvature and velocity of the robot in the rectangular coordinate system. After obtaining the given trajectory, the kinematic model of the wheeled robot is established: Then it is converted into the state space expression of the error in the body coordinate system: Taking the derivative of both sides, we get: Define two virtual control quantities u 1e 、u 2e : u 1e =v r *cosθ e -v u 2e =www r After substituting into the derivation formula, we get: Then the state prediction is performed, first using the deviation control amount u 1e 、u 2e Represents the actual speed and angular velocity of the mobile robot: v=v r *cosθ e -u 1e w=u 2e +w r Then build a prediction model based on the mechanism: According to the kinematic model, the predicted displacement change of the robot from time t to time t+1 is: x p =T s vcosθ y p =T s vsinθ θ p =T s w After obtaining the change, the predicted displacement and deflection angle at the next moment are obtained: x t+1 =x t +x p and t+1 =and t +y p i t+1 =θ t +θ p In step S2, the specific operation of establishing and training the offline neural network prediction model is: collecting the actual operation data of the wheeled robot for network training, obtaining the offline neural network prediction model, and using it for initializing the online neural network model; specifically as follows: First, an offline neural network is built. Two back-propagation neural networks are used to learn the actual kinematics of the lateral and longitudinal displacements x, y and the robot's yaw angle θ. Both networks use two-layer neural networks. The input layer of network one is the robot speed v, angular velocity w and feedback yaw angle θ, the number of hidden layer neurons is 6, the activation function is the sigmoid function, and the output layer is the predicted lateral and longitudinal displacement changes; the input layer of network two is the robot angular velocity w, the number of hidden layer neurons is 10, the activation function is the sigmoid function, and the output layer is the predicted yaw angle change after denormalization: Training data collection and preprocessing: The training network data includes the control value v, w at time t, the feedback value θ, and the lateral and longitudinal displacement and yaw angle change x from time t to time t+1 c ,y c , The velocity, angular velocity, and feedback lateral and longitudinal displacement x, y, and yaw angle θ at each sampling moment are obtained through the wheeled robot trajectory tracking process; the data are normalized after being obtained, and the formula is as follows: and=(and max -and min )*(xx min ) / (x max -x min )+y min Further written as: Neural network training: Track the trajectory and collect data, normalize the data, divide the processed data into 80% training set, 10% validation set and 10% test set, use Levenberg-Marquardt algorithm for training, set the maximum number of training times to 10,000, and set the minimum error of the training target to 0.000001; In step S3, the training of the online neural network prediction model includes real-time collection of training data and training update of the network, wherein the training data includes trajectory data parameters in the offline library and trajectory data parameters collected in real time by the wheeled robot, and the trajectory data in the offline library is collected by inverted eight trajectories, circular trajectories, straight line trajectories and S-shaped trajectories, and preprocessed; In step S5, a particle swarm optimization algorithm is used to solve the optimization description problem; the mechanism of the particle swarm optimization algorithm is: initialize a certain number of particles, including the number of particles, initial positions and speeds, and evaluate the quality of the particle positions according to the objective function, and update the individual optimal and global optimal values ​​of each particle at the same time, which are used to update the position and speed of the particles, and so on. The cycle is repeated until the termination condition is reached to obtain the final optimization solution; the details are as follows: Initialize the position and speed of each particle: the position of the particle is the control amount, the initial position of the i-th particle is the sum of the control amount at the previous moment and a small random number, the initial speed of the k-th particle is set to 0, p i is the individual optimal solution of particle k, which is initially set to the fitness of the particle at the first iteration; g is the global optimal solution, which is initially set to the fitness of the particle that minimizes the objective function at the first iteration; The particle position and velocity update formula is as follows: Among them, w is the inertia weight. The larger w is, the stronger the global search ability is. It is generally set to decrease. con1 and con2 are learning factors, which represent the learning ability for individual optimality and global optimality, and are generally taken as 2. r represents a random number between 0 and 1, indicating the randomness of the solution.

2. The robot switching predictive control trajectory tracking method based on a neural network model according to claim 1 is characterized in that: In step S4, the condition for the prediction model switcher to switch the prediction model depends on the prediction error of the prediction model for the state quantity.

3. The robot switching predictive control trajectory tracking method based on a neural network model according to claim 2 is characterized in that: The specific operation of the prediction model switcher to switch the prediction model is: during the operation of the wheeled robot, the control quantity used to control the robot is input into the mechanism prediction model and the neural network prediction model respectively, the deviation between the predicted state quantity of the mechanism prediction model and the neural network prediction model and the actual state quantity of the robot is compared, and the prediction model with the smaller deviation is selected as the prediction model.

Citation Information

Patent Citations

  • Active rear steering control method for broadening car stability region

    CN108082182A

  • Control method for tracked robot, and tracked robot

    CN108153309A

  • Mobile robot visual servo trajectory tracking predictive control method based on primal-dual neural network

    CN109213175A

  • Path tracking control method of transfer robot based on neural network

    CN111624992A

  • Wheeled robot trajectory tracking control method and computer readable medium

    CN114895556A