A wheeled robot trajectory tracking control method and computer readable medium

Through adaptive model robust control and adaptive mutation particle swarm optimization neural network, the problems of accuracy and response speed in wheeled robot trajectory tracking control are solved, high-precision welding is achieved, robustness and global search capabilities are enhanced, and it is applicable for complex nonholonomic constraint systems.

CN114895556BActive Publication Date: 2024-09-24SHANGHAI UNIVERSITY OF ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210173241.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-24
Publication Date
2024-09-24
Estimated Expiration
2042-02-24

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve high-precision, fast-response wheeled robot trajectory tracking control, especially in complex non-holonomic constraint systems, and neural networks cannot effectively approximate model uncertainty, resulting in insufficient welding accuracy.

Method used

The adaptive model robust control and adaptive mutation particle swarm optimization neural network (AM2R-NN) methods are used to approximate the dynamic model through the neural network controller, combined with the adaptive mutation particle swarm algorithm to optimize the network parameters, and construct the Lyapunov function for Lu Rod control to achieve trajectory tracking.

Benefits of technology

It improves the welding accuracy and response speed of wheeled robots, enhances robustness, avoids premature phenomena, meets high-precision welding requirements, and can still effectively track under model uncertainty and unknown physical parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

The present invention relates to a wheeled robot trajectory tracking control method and a computer-readable medium, wherein the tracking control method comprises: obtaining the robot global coordinate system and the mobile coordinate system, and establishing a complete dynamic model of the wheeled robot; obtaining the center position of the weld and the lateral error between the welding torch and the weld, judging whether the robot body needs to adjust the error, if so, executing step 3, otherwise, directly performing feedback linearization control on the cross slider of the wheeled robot; using a neural network controller to approximate the robot dynamic model; using an adaptive robust controller to robustly control the output of the neural network; and performing trajectory tracking control on the wheeled robot. Compared with the prior art, the present invention has the advantages of high tracking accuracy, fast response speed, strong robustness, high welding accuracy, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot control technology, and in particular to a wheeled robot trajectory tracking control method based on adaptive model robust control and adaptive variation particle swarm optimization neural network (AM2R-NN) and a computer-readable medium. Background Art

[0002] With the rapid development of industrial automation, large ships, submarine pipelines, and cross-sea bridges have emerged in large numbers. Their construction and subsequent maintenance are closely related to welding technology. These large steel structures work in a special environment with high humidity and strong corrosion all year round, and they have extremely high requirements for welding quality. At present, welding robots, as an important part of the industrial robot market, account for up to 50% of the market share. As an automated welding system powered by new energy, hybrid welding robots can replace existing cable welding systems to achieve continuous automatic welding of large-scale and long welds due to their high degree of freedom and easy control.

[0003] The hybrid welding robot is a highly complex, highly coupled, non-holonomic constraint system. The change of its single core parameter will cause the parameters of each part to follow, which is a relationship of domino effect. In order to better solve the control problems of the mobile welding robot and enable the mobile welding robot to perform various tasks more accurately and quickly, it is necessary to study a suitable control algorithm to improve the welding accuracy of the welding robot. Summary of the invention

[0004] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a wheeled robot trajectory tracking control method and computer-readable medium with high tracking accuracy, fast response speed, strong robustness and high welding accuracy.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] A wheeled robot trajectory tracking control method, the tracking control method comprising:

[0007] Step 1: Obtain the robot's global coordinate system and mobile coordinate system, and establish a complete dynamic model of the wheeled robot;

[0008] Step 2: Obtain the center position of the weld and the lateral error between the welding torch and the weld, and determine whether the robot body needs to adjust the error. If so, execute step 3; otherwise, directly perform feedback linearization control on the cross slider of the wheeled robot;

[0009] Step 3: Use a neural network controller to approximate the robot dynamics model;

[0010] Step 4: Use an adaptive robust controller to perform robust control on the output of the neural network;

[0011] Step 5: Perform trajectory tracking control on the wheeled robot.

[0012] Preferably, the specific content of step 1 is as follows:

[0013] Perform coordinate transformation on the center point of the axis of the two driving wheels and the torch point to obtain the coordinate pose equation of the torch point:

[0014]

[0015] where, (x w , y w , θ) is the position vector of the torch point W in the coordinate system; (x B , y B , θ) is the position vector of the center point B in the coordinate system; (a, b) represents the horizontal and vertical coordinate distances from the torch point W to the center point B;

[0016] Then establish the complete dynamic model of the wheeled robot system:

[0017]

[0018] where, M is the system inertia matrix; V is the centripetal force term and Coriolis force term related to position and velocity; F is the dynamic and static friction term related to velocity and position; τ d is the bounded unknown disturbance and unmodeled dynamics; B is the transformation matrix; T is the control input quantity; A(q) is the constraint matrix; λ is the constraint reaction force.

[0019] Preferably, the specific content of step 2 is as follows:

[0020] Obtain the weld center position and the lateral error y e between the torch and the weld, and preset the lateral movement limit value b1 of the cross slider and the error threshold y emax ;

[0021] If the lateral movement distance |b| of the cross slider < b1, and the current lateral error |y e | < y emax , then the cross slider is adjusted through feedback linearization control, and the two driving wheels keep moving forward in a straight line at a constant speed, that is, the linear velocity and angular velocity of the robot body remain unchanged;

[0022] If the lateral movement distance |b| of the cross slider > b1, then the cross slider stops working, and the error is adjusted through the robot body.

[0023] Preferably, the specific content of step 3 is as follows:

[0024] Since the participation of the cross slider is only reflected in the output function, the dynamic model of the robot is corrected to:

[0025]

[0026] Where M1 = S T MS, F1=S T F;

[0027] The output of the neural network controller is:

[0028] f(x)=Wp(x)

[0029] Among them, W is the weight matrix; p(x) is the vector composed of activation functions;

[0030] The dynamic model is approximated by the neural network controller, and the dynamic model to be approximated is:

[0031]

[0032] Among them, B1 is the robot torque matrix; F1 is the resistance of the robot;

[0033] Finally, construct the Lyapunov function:

[0034]

[0035] Among them, (x e ,y e ,θ e ) is the difference between the expected position and the actual position; tr{·} represents the matrix trace operation; u e is the difference between the expected speed and the actual speed; λ1 is a positive constant.

[0036] Preferably, the step 3 further comprises: optimizing the neural network by using an adaptive mutation particle swarm algorithm.

[0037] More preferably, the method for optimizing the neural network by the adaptive mutation particle swarm algorithm is:

[0038] The particle swarm optimization speed and position update rules are:

[0039]

[0040] Where i is the particle in the population; v i is the velocity of the particle; ω is the inertia weight; c1 and c2 are learning factors; rand is a random number between [0,1]; p best is the optimal position of an individual; g best is the global optimal position; x iIt is an individual position.

[0041] More preferably, the method for optimizing a neural network using the adaptive mutation particle swarm algorithm further includes:

[0042] Introduce an adaptive factor H related to the number of iterations:

[0043]

[0044] Where k is the number of iterations; kmax is the maximum number of iterations;

[0045] Adaptively change the inertia weight ω, learning factors c1 and c2:

[0046]

[0047] Among them, ω min and ω max are the minimum and maximum values ​​of the weight coefficients respectively; c 1,init and c 1,end are the starting and ending values ​​of c1 respectively; c 2,init and c 2,end They are the starting and ending values ​​of c2 respectively.

[0048] More preferably, the method for optimizing a neural network using the adaptive mutation particle swarm algorithm further includes:

[0049] Introduce optimal solution variation, specifically:

[0050] The aggregation degree of the kth generation is expressed as:

[0051]

[0052] Where N is the number of particles in the population; f(x i ) is particle x i The fitness value in the kth generation; f avg 、f min and f max are the average fitness, minimum fitness and maximum fitness of the contemporary population respectively;

[0053] Mutation probability P m k for:

[0054]

[0055] Among them, α is a constant that controls the speed of mutation probability;

[0056] When a completely random number α between 0 and 1 is less than the mutation probability, the global optimal mutation is performed, that is:

[0057]

[0058] Among them, g best is the global optimal position.

[0059] More preferably, the step 4 is specifically as follows:

[0060] Assuming that the wheel radius and the distance between the two driving wheels are unknown, the robot torque matrix is ​​transformed into:

[0061]

[0062] Among them, r is the wheel radius; l is the distance between the two driving wheels;

[0063] Construct a new Lyapunov function:

[0064]

[0065] Select the torque control input, weight matrix update rate and parameter update rate as:

[0066]

[0067]

[0068]

[0069] Where K = diag{k4,k5}, k4, k5 are positive constants; v e and ω e is the linear velocity error and angular velocity error; τ l and τ r are the left and right wheel torques respectively.

[0070] A computer-readable medium stores any one of the above-mentioned wheeled robot trajectory tracking control methods.

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

[0072] The wheeled robot trajectory tracking control method in the present invention is based on the tracking control scheme of adaptive model robust control and adaptive variation particle swarm optimization neural network (AM2R-NN), which can effectively solve the problem that PID control cannot meet the control requirements of the robot well; solve the defects of existing algorithms such as long-term jitter of sliding mode control, which will cause great damage to robot system components; solve the problem that the neural network cannot approximate model uncertainty, thereby solving the problem that the physical parameters of the robot cannot be accurately measured due to problems in the working environment; add adaptive variation particle swarm optimization, which effectively solves the problem that the performance of the neural network is mainly affected by network parameters and structure size; at the same time, the global search capability is improved by optimizing the neural network through adaptive variation particle swarm, avoiding premature phenomenon; improve the accuracy of weld tracking, fast response speed, strong robustness, and improve the welding accuracy of mobile wheeled robots. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 It is a flow chart of the trajectory tracking control method of the wheeled robot in the present invention;

[0074] Figure 2 A schematic diagram of a global coordinate system and a mobile coordinate system of a robot in an embodiment of the present invention;

[0075] Figure 3 This is a diagram showing the linear trajectory tracking result of the mobile welding robot in an embodiment of the present invention;

[0076] in, Figure 3 (a) to (d) are the linear trajectory tracking comparison diagram, error comparison diagram, linear velocity comparison diagram, and angular velocity comparison diagram, respectively;

[0077] Figure 4 This is a circular tracking result diagram of a mobile welding robot in an embodiment of the present invention;

[0078] in, Figure 4 (a) to (d) are the circular trajectory tracking comparison diagram, error comparison diagram, linear velocity comparison diagram, and angular velocity comparison diagram, respectively;

[0079] Figure 5 Graphs showing tracking results of a mobile welding robot at different speeds in an embodiment of the present invention;

[0080] in, Figure 5 (a) to (d) are the comparison diagrams of circular trajectory tracking at different speeds, error comparison diagram, angular velocity comparison diagram, and left and right wheel torque comparison diagram, respectively. DETAILED DESCRIPTION

[0081] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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.

[0082] A wheeled robot trajectory tracking control method, such as Figure 1 As shown, including:

[0083] Step 1: Obtain the robot's global coordinate system and mobile coordinate system, and establish a complete dynamic model of the wheeled robot;

[0084] Step 2: Obtain the center position of the weld and the lateral error between the welding torch and the weld, and determine whether the robot body needs to adjust the error. If so, execute step 3; otherwise, directly perform feedback linearization control on the cross slider of the wheeled robot;

[0085] Step 3: Use a neural network controller to approximate the robot dynamics model;

[0086] Step 4: Use an adaptive robust controller to robustly control the output of the neural network;

[0087] Step 5: Perform trajectory tracking control on the wheeled robot.

[0088] The following describes the steps in detail:

[0089] 1. Step 1

[0090] The robot global coordinate system and mobile coordinate system are as follows Figure 2 The coordinate transformation of the center point of the two-wheel drive wheel axis and the welding torch point is performed to obtain the coordinate pose equation of the welding torch point:

[0091]

[0092] Among them, (x w ,y w ,θ) is the position vector of the torch point W in the coordinate system; (x B ,y B ,θ) is the position vector of the center point B in the coordinate system; (a,b) represents the horizontal and vertical coordinate distance from the welding torch point W to the center point B;

[0093] Then establish the complete dynamic model of the wheeled robot system:

[0094]

[0095] where, M is the system inertia matrix; V is the centripetal force term and Coriolis force term related to position and velocity; F is the dynamic and static friction term related to velocity and position; τ d is the bounded unknown disturbance and unmodeled dynamics; B is the transformation matrix; T is the control input; A(q) is the constraint matrix; λ is the constraint reaction force.

[0096] II. Step 2

[0097] During the tracking process, the weld center position and the torch are detected in real time by sensors to obtain the lateral error y between the welds e , and the lateral movement limit value b1 and the error threshold y of the cross slider are preset emax ;

[0098] (1) If the lateral movement distance |b| of the cross slider < b1 and the current lateral error |y e | < y emax , then the cross slider is adjusted by feedback linearization control, and the two driving wheels keep moving forward in a straight line at a constant speed, that is, the linear velocity and angular velocity of the robot body remain unchanged;

[0099] (2) If the lateral movement distance |b| of the cross slider > b1, regardless of the value of y emax , the cross slider stops working and the error is adjusted through the robot body.

[0100] III. Step 3

[0101] Since the participation of the cross slider is only reflected in the output function, the dynamic model of the robot is modified as:

[0102]

[0103] where, M1 = S T MS, F1 = S T F;

[0104] The output of the neural network controller is:

[0105] f(x) = Wp(x)

[0106] where, W is the weight matrix; p(x) is the vector composed of activation functions;

[0107] The dynamic model to be approximated is approximated by the neural network controller:

[0108]

[0109] where, B1 is the robot torque matrix; F1 is the resistance force received by the robot;

[0110] Finally, construct the Lyapunov function:

[0111]

[0112] Among them, (x e ,y e ,θ e ) is the difference between the expected position and the actual position; tr{·} represents the matrix trace operation; u e is the difference between the expected speed and the actual speed; λ1 is a positive constant.

[0113] Step 3 also includes: the performance of the neural network is mainly affected by the network parameters and structure size, so the neural network is optimized through the adaptive mutation particle swarm algorithm, specifically:

[0114] The particle swarm optimization speed and position update rules are:

[0115]

[0116] Where i is the particle in the population; v i is the velocity of the particle; ω is the inertia weight; c1 and c2 are learning factors; rand is a random number between [0,1]; p best is the optimal position of an individual; g best is the global optimal position; x i is the individual position. According to the above formula, the standard form is formed.

[0117] The adaptive mutation particle swarm algorithm also includes the following methods to optimize the neural network:

[0118] The existence of weights and learning factors greatly improves the performance of the particle swarm algorithm. For different search problems or stages, the global and local search capabilities can be adjusted by changing the coefficients. In order to improve the ability of dynamic adjustment, an adaptive factor H related to the number of iterations is introduced:

[0119]

[0120] Where k is the number of iterations; kmax is the maximum number of iterations;

[0121] Adaptively change the inertia weight ω, learning factors c1 and c2:

[0122]

[0123] Among them, ω min and ω max are the minimum and maximum values ​​of the weight coefficients respectively; c 1,init and c 1,end are the starting and ending values ​​of c1 respectively; c 2,initand c 2,end They are the starting and ending values ​​of c2 respectively.

[0124] In order to solve the problem that the particle swarm algorithm is prone to fall into the local optimal solution and cannot jump out, the optimal solution variation is introduced, specifically:

[0125] The aggregation degree of the kth generation is expressed as:

[0126]

[0127] Where N is the number of particles in the population; f(x i ) is particle x i The fitness value in the kth generation; f avg 、f min and f max are the average fitness, minimum fitness and maximum fitness of the contemporary population respectively;

[0128] Mutation probability P m k for:

[0129]

[0130] Among them, α is a constant that controls the speed of mutation probability;

[0131] When a completely random number α between 0 and 1 is less than the mutation probability, the global optimal mutation is performed, that is:

[0132]

[0133] Among them, g best It is the global optimal position. As the probability of mutation increases, the possibility of searching for new results increases, which improves the overall optimization and convergence capabilities of the algorithm and is suitable as a neural network optimization tool.

[0134] Step 4

[0135] In the actual welding process, due to the influence of the system and the complex environment, the driving wheels of the wheeled robot wear due to friction with the ground and the workpiece surface, and the wheels deform under the pressure of weight, resulting in changes in the radius r of the wheel and inaccurate measurement of physical parameters, all of which lead to uncertainty in the system model.

[0136] Assuming that the wheel radius and the distance between the two driving wheels are unknown, the robot torque matrix is ​​transformed into:

[0137]

[0138] Among them, r is the wheel radius; l is the distance between the two driving wheels;

[0139] Construct a new Lyapunov function:

[0140]

[0141] Select the torque control input, weight matrix update rate and parameter update rate as:

[0142]

[0143]

[0144]

[0145] Where K = diag{k4,k5}, k4, k5 are positive constants; v e and ω e is the linear velocity error and angular velocity error; τ l and τ r are the left and right wheel torques respectively.

[0146] A computer-readable medium stores any one of the above-mentioned wheeled robot trajectory tracking control methods.

[0147] The control process of the wheeled robot trajectory tracking control method in this embodiment is as follows:

[0148] The two rear wheels of the mobile welding robot are driven by two motors at different speeds, and the front two wheels are auxiliary wheels. Two stepper motors drive the lateral and vertical adjustment of the welding torch respectively. The welding torch is installed on one side of the robot body. Figure 2 The global coordinate system and mobile coordinate system are established. The center of mass of the mobile welding robot body is point C, the welding torch is at point W, and the cross slider is located at point S of the mobile welding robot body.

[0149] The joint adjustment of the mobile welding robot body and the cross slider, the coordinated control of the two realizes the accurate real-time tracking of the weld, the sliding mode variable structure control is applied to the coordinated control of the robot body and the cross slider, and the sliding mode variable structure controller based on the dynamic model for the robot body and the cross slider to jointly adjust the weld deviation is established. The two driving wheels driven separately perform the coarse adjustment of the lateral deviation, the cross slider performs the fine adjustment, and the lateral deviation of the welding torch controls the slider to move left and right to eliminate the deviation. When the deviation of the lateral slider is less than the set value, the lateral slider adjusts the deviation separately, and the set linear speed of the two driving wheels maintains a uniform straight line. When the deviation of the lateral slider is greater than the set value and the azimuth angle of the mobile welding robot body reaches a certain value, the two driving wheels and the lateral slider jointly participate in the deviation adjustment. The cross slider adopts a proportional adjustment strategy with a dead zone threshold. Avoid oscillation near small deviations. When the lateral deviation of the welding torch is less than a certain value, the slider does not move. When the deviation is greater than a certain value, the slider is adjusted according to the upper and lower limit deviations set by the system.

[0150] There is an initial deviation in the early stage of trajectory tracking, the welding torch is not centered on the center line of the weld path, and there is a self-tracking process before welding begins. The laser vision sensor fixed to the welding torch detects the deviation between the welding torch position and the trajectory line of the weld path center line, and then the joint adjustment of the mobile welding robot body and the cross slider makes the position output of the welding torch point track the weld path center line, and determines the desired posture and corresponding desired speed of the mobile welding robot. According to the speed of the welding torch point of the mobile welding robot, the speed of the corresponding two driving wheels and the torque and the cross slider adjustment speed can be calculated by the inverse kinematics solution. Controlling the speed of the left and right driving wheels can control the linear speed and angular velocity of the mobile welding robot. At the same time, the posture at any time can be determined and the motion trajectory of the mobile welding robot can be controlled. According to the cross slider adjustment speed, the tracking deviation is fine-tuned.

[0151] Figure 3 The following is a schematic diagram of the welding robot tracking a straight line. The expected linear velocity of the robot is 20 mm / s, the expected angular velocity is 0 rad / s, the random interference of the system is (-0.5 mm to 0.5 mm), and the initial posture of the robot is (0 mm, 0 mm, 0.5 mm, 0°). The data sampling period is 1 ms, and the simulation time is 200 s. Figure 3 (a) It can be seen that the linear trajectory tracking control effect based on AM2R-NN is significantly better. First, due to the existence of initial error, there is a certain error in the tracking curve of the robot. Figure 3 As can be seen in (b), due to the large initial error, the robot's posture has been greatly adjusted, but the control is oscillating within 5 mm. When the system is stable, the error gradually converges to zero. The control method based on AM2R-NN makes the robot converge to zero in about 6 seconds, while the adaptive neural network gradually converges after about 10 seconds.

[0152] Figure 4 To track the trajectory of a circle for a welding robot. The expected linear velocity of the robot is 20 mm / s, the expected angular velocity is 0.2 rad / s, the random interference of the system is (-0.5 mm to 0.5 mm), and the initial posture of the robot is (0 mm, -10 mm, 0.5 mm, 0°). The data sampling period is 1 ms, and the simulation time is 200 s. Figure 4 As can be seen from (a), the trajectory tracking control based on AM2R-NN is significantly better than the trajectory tracking control based on adaptive neural network. At the beginning, due to the existence of initial error, the robot tracking curve obviously has a certain error. Figure 5 As can be seen in (b), due to the initial error, the robot posture has a large adjustment. When the system is stable, the tracking accuracy is basically controlled within 0.2mm, and then the error gradually converges to zero. Compared with the adaptive neural network, the AM2R-NN control method allows the robot to converge to zero in about 5 seconds, while the classic neural network gradually converges after about 25 seconds. Figure 5 As can be seen in (c), the robot speed based on the AM2R-NN control method has converged to 20 mm / s at about 2.5 seconds, and has been stable since then. However, the adaptive neural network still fluctuates when it is close to 10 seconds. Figure 4 As can be seen in (d), the angular velocity of the robot has converged to 0.2 rad / s in about 6 seconds based on the AM2R-NN control method, while the classical neural network has not converged within 10 seconds. Since the AM2R-NN control converges quickly, the initial overshoot is slightly larger than that of the adaptive neural network control.

[0153] Figure 5 The welding robot tracks the circle at different speeds. Figure 5 As shown in (a), when the robot speed is 5 mm / s, the robot tracking trajectory is on the right side of the ideal trajectory, while the tracking trajectories at other speeds are all on the left side of the ideal trajectory. When the speed is higher, the robot is farther from the ideal trajectory. Figure 5 (b) is the tracking error at different speeds. The tracking accuracy of the robot meets the welding requirements. When the speed is smaller, the overshoot is smaller, but the convergence speed is slower; when the speed is larger, the overshoot is larger, but the convergence speed is faster. The tracking accuracy of the robot meets the welding requirements. Figure 5 (c) is the angular velocity at different speeds, which is Figure 4 (d) is the same, the greater the speed, the greater the overshoot. Figure 5 (c) is the torque of the left and right wheels at different speeds, and the speed will also affect it. Therefore, under the condition of meeting the welding speed requirements, the tracking accuracy of the robot meets the welding requirements, and the control method based on AM2R-NN basically meets the welding requirements.

[0154] From the experimental results, it can be seen that: for the problem of trajectory tracking of non-holonomic wheeled robots with model uncertainty, this paper proposes a tracking scheme based on adaptive model robust control and adaptive mutation particle swarm optimization neural network (AM2R-NN) to achieve high-precision welding tracking control. First, the dynamic model of the cross slider and the robot joint control is established, and the adaptive neural network is used to control it for the tracking problem of the non-holonomic constraint system. Then, the model robust controller is designed by backstepping method to solve the problem that the neural network cannot approximate the model uncertainty. Next, an adaptive mutation particle swarm optimization algorithm is designed to adaptively change the inertia weight and learning factor through the coordination factor to optimize the relevant parameters of the neural network and improve the approximation ability of the neural network. Finally, the required load power is obtained by the tracking strategy, and the high-precision welding of the robot is realized by combining the hybrid system energy optimization strategy. This method successfully solves the tracking problem of the welding robot when its physical parameters are unknown. Through this method, the physical parameters of the robot are approximated, and the tracking error will converge to a small neighborhood of zero. At different speeds, the tracking error of the robot is controlled within a reasonable range. Simulation results show that the controller can enable the welding robot to track the desired trajectory, has good tracking performance and strong robustness, and meets the requirements of high-precision welding.

[0155] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A wheeled robot trajectory tracking control method, characterized in that: The tracking control method comprises: Step 1: Obtain the robot's global coordinate system and mobile coordinate system, and establish a complete dynamic model of the wheeled robot; Step 2: Obtain the center position of the weld and the lateral error between the welding torch and the weld, and determine whether the robot body needs to adjust the error. If so, execute step 3; otherwise, directly perform feedback linearization control on the cross slider of the wheeled robot; Step 3: Use a neural network controller to approximate the robot dynamics model as follows: Since the participation of the cross slider is only reflected in the output function, the dynamic model of the robot is corrected to: Where M1 = S T MS, F1=S T F; The output of the neural network controller is: f(x)=Wp(x) Among them, W is the weight matrix; p(x) is the vector composed of activation functions; The dynamic model is approximated by the neural network controller, and the dynamic model to be approximated is: Among them, B1 is the robot torque matrix; F1 is the resistance of the robot; Finally, construct the Lyapunov function: Among them, (x e ,y e ,θ e ) is the difference between the expected position and the actual position; tr{·} represents the matrix trace operation; u e is the difference between the expected speed and the actual speed; λ1 is a positive constant; Step 3 also optimizes the neural network through adaptive mutation particle swarm algorithm, as follows: The particle swarm optimization speed and position update rules are: Where i is the particle in the population; v i is the velocity of the particle; ω is the inertia weight; c1 and c2 are learning factors; rand is a random number between [0,1]; p best is the optimal position of an individual; g best is the global optimal position; x i is the individual position; Introduce an adaptive factor H related to the number of iterations: Where k is the number of iterations; kmax is the maximum number of iterations; Adaptively change the inertia weight ω, learning factors c1 and c2: Among them, ω min and ω max are the minimum and maximum values ​​of the weight coefficients respectively; c 1,init and c 1,end are the starting and ending values ​​of c1 respectively; c 2,init and c 2,end They are the starting and ending values ​​of c2 change respectively; Introduce optimal solution variation, specifically: The aggregation degree of the kth generation is expressed as: Where N is the number of particles in the population; f(x i ) is particle x i The fitness value in the kth generation; f avg 、f min and f max are the average fitness, minimum fitness and maximum fitness of the contemporary population respectively; Mutation probability P m k for: Among them, α is a constant that controls the speed of mutation probability; When a completely random number α between 0 and 1 is less than the mutation probability, the global optimal mutation is performed, that is: Among them, g best is the global optimal position; Step 4: Use an adaptive robust controller to robustly control the output of the neural network, specifically: Assuming that the wheel radius and the distance between the two driving wheels are unknown, the robot torque matrix is ​​transformed into: Among them, r is the wheel radius; l is the distance between the two driving wheels; Construct a new Lyapunov function: Select the torque control input, weight matrix update rate and parameter update rate as: Where K = diag{k4,k5}, k4, k5 are positive constants; v e and ω e is the linear velocity error and angular velocity error; τ l and τ r are the left and right wheel torques respectively; Step 5: Perform trajectory tracking control on the wheeled robot.

2. A wheeled robot trajectory tracking control method according to claim 1, characterized in that: The step 1 is specifically as follows: Transform the coordinates of the center points of the two-wheel drive wheel axes and the welding torch point to obtain the coordinate pose equation of the welding torch point: Among them, (x w ,y w ,θ) is the position vector of the torch point W in the coordinate system; (x B ,y B ,θ) is the position vector of the center point B in the coordinate system; (a,b) represents the horizontal and vertical coordinate distance from the welding torch point W to the center point B; Then establish the complete dynamic model of the wheeled robot system: Where M is the system inertia matrix; V is the centripetal force and Coriolis force related to position and velocity; F is the dynamic and static friction term related to velocity and position; τ d is the bounded unknown disturbance and unmodeled dynamics; B is the transformation matrix; T is the control input; A(q) is the constraint matrix; λ is the constraint reaction force.

3. A wheeled robot trajectory tracking control method according to claim 1, characterized in that: The step 2 is specifically as follows: Get the center position of the weld and the lateral error y between the welding torch and the weld e , pre-set the lateral movement limit value b1 and error threshold y of the cross slider emax ; If the lateral movement distance |b| of the cross slider is less than b1, and the current lateral error |y e | < y emax , the cross slider is adjusted by feedback linearization control, and the two drive wheels keep moving straight at a constant speed, that is, the linear velocity and angular velocity of the robot body remain unchanged; If the lateral movement distance of the cross slider |b|>b1, the cross slider stops working and the error is adjusted through the robot body.

4. A computer-readable medium, characterized in that The computer-readable medium stores the wheeled robot trajectory tracking control method according to any one of claims 1 to 3.