Closed robot task space learning control method based on outer loop speed compensation, storage medium and robot
By using a combination of outer loop speed compensation and deterministic learning theory in a closed robot system, adaptive neural network control instructions are designed to solve the problem of unknown dynamics and kinematic parameters in a closed robot system, improve control accuracy and efficiency, and achieve knowledge reuse.
Patent Information
- Application Number
- CN202210909372.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2024-10-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The closed structure of existing industrial robot systems prevents the application of torque control, and traditional adaptive neural network control has unknown dynamics and kinematic parameters, resulting in low control accuracy and waste of computing resources.
Using a closed robot task space learning control method based on outer loop speed compensation, combined with Lyapunov stability theory and deterministic learning theory, adaptive neural network speed compensation control instructions are designed, and system stability control is achieved through the separation of dynamics and kinematics. and knowledge reuse.
It improves the robot end tracking accuracy, reduces calculation loss, avoids repeated training of neural network weights and kinematic parameters, and enhances the stability and efficiency of the control system.
Smart Images

Figure CN115122335B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot tracking control based on learning, and in particular to a closed robot task space learning control method based on outer loop speed compensation, a storage medium and a robot. Background Art
[0002] The concept of intelligent manufacturing is becoming more and more popular, and the replacement of human labor by machines has become a huge trend in the development of the industry. As a high-end technology product that integrates multiple disciplines such as machinery, electricity, and control, robots have played a huge role in intelligent manufacturing. They can be seen everywhere in dangerous operations such as handling, cutting, and welding, and high-precision operations such as parts processing and assembly. Even in the catering industry, entertainment industry and other service industries, robots have brought diverse possibilities for their development.
[0003] As a highly nonlinear, strongly coupled multi-input and multi-output system, the robot control system is difficult to accurately model industrial robots due to factors such as dynamic environmental changes and aging of components. In order to deal with the inaccurately modeled parts and improve the control accuracy, neural networks are often used to design adaptive torque controllers to control robots. However, in current daily industrial production, most industrial robot systems are closed. For the purpose of safety and commercial privacy, robot manufacturers do not provide open torque control interfaces. The internal control forms are generally speed PI control or position PID control. On this basis, users are given speed and position control interfaces. The long-term existence of this phenomenon has led to such robots being generally only used for simple motion control planning, and torque controllers are not applicable. Their control accuracy is also limited by the internal controller of the robot system. In addition, general production requires that the end of the robot can accurately track a specific trajectory, which requires the forward and inverse kinematics of the robot to be accurately known. However, due to inaccurate and incomplete parameter measurement or changes in the gripping tools at the end of the robot, the kinematics of the robot may be unknown or changing, which is also a huge challenge for the design of robot task space tracking control solutions. It is also worth noting that in traditional adaptive neural network control, the learning ability of neural networks is often overlooked, and even in the face of repeated work, a retraining process is required, resulting in problems such as wasting computing resources and poor transient control performance. Since the 21st century, the rapid development of deterministic learning theory has provided a solution to the above problems. This theory realizes the ability of neural networks to obtain, save and reuse system experience knowledge in the process of nonlinear system control, thereby avoiding the problem of repeated training of neural networks and greatly improving the tracking accuracy of robots in the early stages of control.
[0004] Therefore, based on the idea of separating the dynamics and kinematics of the robot system, combined with the idea of outer loop speed compensation and deterministic learning theory, speed compensation control instructions suitable for closed robots are designed, which enables the closed robot to obtain, save and reuse system experience knowledge and kinematic knowledge in the process of stable control. This is of great significance for solving the high-performance control problem of closed robot systems with unknown dynamics and kinematics when handling repetitive tasks. Summary of the invention
[0005] The main purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art, and to provide a closed robot task space learning control method, storage medium and robot based on outer loop speed compensation. The method of the present invention aims at the problem that torque control cannot be applied to closed robots, and uses the outer loop speed compensation idea and combines Lyapunov stability theory to propose an adaptive neural network speed compensation control instruction; for the unknown internal dynamics and kinematics in the closed robot system, the idea of separating the dynamic loop and the kinematic loop is used to propose a neural network weight update law and an unknown kinematic parameter update law, which provides a prerequisite for realizing the simultaneous learning of internal dynamics and kinematics during the system stability control process; on this basis, the deterministic learning theory is used to store the converged neural network weights as the system experience knowledge obtained after learning the unknown dynamics, and at the same time, the converged kinematic parameters are saved according to the parameter convergence properties, to ensure that when the robot performs the same or similar task again, the learned knowledge can be directly called, further improving the robot terminal tracking accuracy and reducing the computational loss.
[0006] The main purpose of the present invention can be achieved by adopting the following technical solutions:
[0007] On the one hand, the present invention provides a closed robot task space learning control method based on outer loop speed compensation, comprising the following steps:
[0008] S1. Establish the dynamic and kinematic models of the closed robot with an internal speed PI controller and construct the desired terminal periodic trajectory;
[0009] S2. Use dynamic arrangement of neurons to construct a neural network, combine Lyapunov stability theory to design adaptive neural network speed compensation control instructions, and use deterministic learning theory to convert the converged neural network weights Save as constant weights And through the parameter convergence property, the unknown kinematic parameter estimates after convergence are Save as constant kinematic parameters
[0010] The adaptive neural network speed compensation control instructions are as follows:
[0011]
[0012]
[0013]
[0014] Among them, α1 is the virtual controller of the closed robot system, is the reference speed of the closed robot joint, is the adaptive neural network speed compensation control instruction, z1 is the tracking error of the closed robot end, x1 is the position of the closed robot end in the task space, and x d1 is the desired task space position periodic trajectory of the closed robot end, is the desired task space velocity cycle trajectory of the closed robot end, is the inverse of the estimated Jacobian matrix, is the unknown kinematic parameter a k The estimated value of is the estimated value of the neural network weight, Φ(β)=[φ1(||β-θ1||),…,φ N (||β-θ N ||)] T is the Gaussian radial basis function of the neural network, θ k is the center point, ρ k is the width, N is the number of neural network points, is the input of the neural network, q is the angular position of the closed robot joint, is the joint angular velocity of the closed robot, q c For The position compensation control command obtained by integration, is the reference speed of the closed robot joint The derivative of , c1 is the positive constant control gain in α1, and c2 is The positive constant control gain in is, and s is the intermediate error variable in the controller design process;
[0015] The neural network weights The update law is:
[0016]
[0017] Among them, γ1 is the gain term of the neural network weight update law, and σ1 is the design constant of the neural network weight update law;
[0018] The unknown kinematic parameter estimates The update law is:
[0019]
[0020] in, is the closed robot kinematic regression matrix, γ2 is the gain term of the unknown kinematic parameter update law, and σ2 is the design constant of the unknown kinematic parameter update law;
[0021] S3. Using constant weights and constant kinematic parameters Design constant neural network speed compensation control instructions:
[0022]
[0023]
[0024] As a preferred technical solution, in step S1, the PI controller is specifically:
[0025]
[0026] Among them, K P is the proportionality coefficient, K I are integral coefficients, all of which are unknown diagonal positive definite matrices.
[0027] As a preferred technical solution, in step S1, the closed robot dynamics model is specifically:
[0028]
[0029] Where M(q) is the unknown inertia matrix of the closed robot, which is symmetric and uniformly positive definite. is the unknown Coriolis force and centrifugal force matrix of the closed robot, G(q) is the unknown gravity vector of the closed robot, u is the internal speed PI controller of the closed robot, K is the internal control gain of the closed robot system, and is an unknown constant diagonal positive definite matrix.
[0030] As a preferred technical solution, in step S1, the closed robot kinematic model is specifically:
[0031] x1=f(q)
[0032] Where f(·) represents the mapping of the closed robot from joint space angles to task space coordinates;
[0033] The kinematic model is derived as follows:
[0034]
[0035] in, is the speed of the closed robot end in the task space, J(q,a k ) is the Jacobian matrix of unknown parameters.
[0036] As a preferred technical solution, in step S1, the desired terminal periodic trajectory is specifically:
[0037]
[0038] Among them, x d2 is the desired task space velocity cycle trajectory of the closed robot end, f(x d1 ,x d2 ) is a given continuous periodic function.
[0039] As a preferred technical solution, in step S2, a neural network is constructed by dynamically arranging neurons, specifically:
[0040] S21. Define the parameters of the new neurons:
[0041] P=<θ p ,ρ p ,W p >
[0042] Among them, θ p ,ρ p ,W p are the center, width and weight of the newly added neurons respectively;
[0043] S22. Define the center of the newly added neuron:
[0044]
[0045] in, is the neuron set C min The average center position, C min is a set consisting of l neurons closest to the current input, and λ is the relationship between the newly added neurons and the set C min Designable parameters of distance;
[0046] S23, determine whether to add a new neuron:
[0047] Define an adjustable threshold ν, when God divides the network input β and the neuron set C min The average center position When it is greater than the threshold, new neurons are added according to the set parameter definitions.
[0048] As a preferred technical solution, in step S2, the converged neural network weights are calculated using the deterministic learning theory. Save as constant weights Specifically:
[0049]
[0050] Among them, t b >ta >T, represents a period of time after the weight converges, T is the convergence time.
[0051] As a preferred technical solution, the unknown kinematic parameter estimates after convergence are converted into Save as constant kinematic parameters Specifically:
[0052]
[0053] On the other hand, the present invention provides a computer-readable storage medium storing a program, which, when executed by a processor, implements the closed robot task space learning control method based on outer loop speed compensation.
[0054] Another aspect of the present invention provides a robot, comprising:
[0055] at least one processor; and,
[0056] a memory communicatively connected to the at least one processor; wherein,
[0057] The memory stores computer program instructions that can be executed by the at least one processor, and the computer program instructions are executed by the at least one processor to enable the at least one processor to perform the closed robot task space learning control method based on outer loop speed compensation.
[0058] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0059] 1. The present invention utilizes the concept of outer loop speed compensation to realize adaptive neural network tracking control of the end of a closed robot in a situation where the robot system has a closed structure and has unknown internal dynamics and unknown kinematic parameters.
[0060] 2. The present invention utilizes dynamic arrangement of neuron technology to significantly reduce the structural complexity of the neural network while maintaining high control accuracy, effectively reducing the neural network computing load of the equipment, which is beneficial to the application of the algorithm in multi-joint robots.
[0061] 3. The present invention utilizes the idea of separation of robot system dynamics and kinematics to design speed compensation control instructions, and uses deterministic learning theory and adaptive parameter estimation to process unknown dynamics and kinematics respectively. On the basis of realizing the learning of unknown dynamics within the closed robot system by the neural network, the convergence of unknown kinematic parameters is guaranteed, and knowledge reuse is achieved by saving the acquired knowledge to construct learning control instructions, thus avoiding the problem of repeated training of neural network weights and kinematic parameters, reducing the calculation complexity of the algorithm and improving the control tracking accuracy of the robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0063] Figure 1 This is a flow chart of a closed robot task space learning control system based on outer loop speed compensation according to an embodiment of the present invention.
[0064] Figure 2 Schematic diagram of a two-link closed robot according to an embodiment of the present invention.
[0065] Figure 3 This is a weight norm convergence diagram of a closed robot system neural network in the adaptive control phase of an embodiment of the present invention.
[0066] Figure 4 This is a diagram showing the learning effect of the neural network of the closed robot system on unknown dynamics during the adaptive control phase of an embodiment of the present invention.
[0067] Figure 5 This is a convergence diagram of the estimated values of unknown kinematic parameters of a closed robot system in the adaptive control stage of an embodiment of the present invention.
[0068] Figure 6 This is a graph showing the speed compensation command input curve of the closed robot joints in the learning control phase of an embodiment of the present invention.
[0069] Figure 7 This is a trajectory tracking diagram of the robot terminal in the learning control phase of an embodiment of the present invention.
[0070] Figure 8 This is a tracking error diagram of the closed robot end in the learning control phase of an embodiment of the present invention. DETAILED DESCRIPTION
[0071] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0072] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
[0073] like Figure 1 As shown, this embodiment provides a closed robot task space learning control method based on outer loop speed compensation, and takes a double-link rigid joint closed robot as an example to explain the method in detail. The detailed implementation process includes:
[0074] S1. Establish the dynamic and kinematic model of the closed robot with an internal speed PI controller and construct the desired terminal periodic trajectory;
[0075] The internal speed PI controller of the closed robot is:
[0076]
[0077] in, and q c are the speed control command and position control command after compensation, q c Through the Integrate to get; q = [q1, q2] T is the joint angle position of the closed robot; is the joint angular velocity of the closed robot, K P is the proportionality coefficient, K I are integral coefficients, all of which are diagonal positive definite matrices.
[0078] Furthermore, the internal speed PI controller coefficient selected in this embodiment is:
[0079]
[0080] The dynamic model of the double-link closed robot is established based on the above internal speed PI controller:
[0081]
[0082] Where M(q) is the inertia matrix of the closed robot, which is symmetric and uniformly positive definite. is the Coriolis force and centrifugal force matrix of the closed robot, G(q) is the gravity vector of the closed robot, u is the internal speed PI controller of the closed robot, K is the internal control gain of the closed robot system, and is a diagonal positive definite matrix.
[0083] Furthermore, the relevant dynamic parameters and system internal control gains of the double-link closed robot selected in this embodiment are:
[0084]
[0085]
[0086]
[0087]
[0088] Among them, q1 and q2 are the angular positions of the first and second joints of the closed robot, respectively. and are the angular velocities of the first joint and the second joint, l1=1m and l2=1m are the lengths of the first link and the second link, m1=0.8kg and m2=2.3kg are the masses of the first link and the second link, g0=9.8m / s 2 is the acceleration due to gravity.
[0089] Establish the kinematic model of a double-link closed robot:
[0090] x1=f(q)
[0091] Where x1=[x 1,1 ,x 1,2 ] T is the position of the end of the closed robot in the task space, and f(·) represents the mapping of the closed robot from the joint space angle to the task space coordinate.
[0092] The derivative of the kinematic model can be obtained:
[0093]
[0094] in, is the speed of the closed robot end in the task space, J(q,a k ) is the Jacobian matrix, a k =[a k,1 ,a k,2 ] T are kinematic parameters.
[0095] The relevant kinematic parameters of the double-link closed robot selected in this embodiment are:
[0096]
[0097]
[0098] Among them, a k,1 =l1=1m,ak,2 =l2=1m.
[0099] Furthermore, in the actual control process, the controller parameters, dynamics and kinematics inside the control system are all unknown.
[0100] The desired terminal cycle trajectory of the closed robot is constructed as:
[0101]
[0102] Among them, x d1 is the desired task space position periodic trajectory of the closed robot end, x d2 is the desired task space velocity cycle trajectory of the closed robot end, f(x d1 ,x d2 ) is a given continuous periodic function.
[0103] Furthermore, in this example, the desired terminal period trajectory is selected as:
[0104] x d1 =[0.5sin(0.5t)+1,0.5cos(0.5t)+1] T
[0105]
[0106] f(x d1 ,x d2 )=[-0.125sin(0.5t),-0.125cos(0.5t)] T
[0107] S2. Use dynamic arrangement of neurons to construct a neural network, combine Lyapunov stability theory to design adaptive neural network speed compensation control instructions, and use deterministic learning theory to convert the converged neural network weights Save as constant weights And through the parameter convergence property, the unknown kinematic parameter estimates after convergence are Save as constant kinematic parameters
[0108] First, define the closed robot end tracking error as:
[0109] z1=x1-x d1
[0110] Design virtual controller α1:
[0111]
[0112] Where c1 is the positive constant control gain in α1;
[0113] Define closed robot joint reference speeds
[0114]
[0115] in, is the inverse of the estimated Jacobian matrix, is the unknown kinematic parameter a k The estimated value of .
[0116] Define the joint angular velocities of the closed robot and joint reference velocity The error is:
[0117]
[0118] Design of adaptive neural network speed compensation control instructions:
[0119]
[0120] in, is the estimated value of the neural network weight, Φ(β)=[φ1(||β-θ1||),…,φ N (||β-θ N ||)] T is the Gaussian radial basis function of the neural network, θ k is the center point, ρ k is the width, N is the number of neural network points, is the input of the neural network, is the reference speed of the closed robot joint The derivative of , c2 is The positive constant in controls the gain.
[0121] Constructing neural network weight estimates The update law is:
[0122]
[0123] Among them, γ1 is the gain term of the neural network weight update law, and σ1 is the design constant of the neural network weight update law.
[0124] Construct estimates of unknown kinematic parameters The update law is:
[0125]
[0126] in, is the closed robot kinematic regression matrix, γ2 is the gain term of the unknown kinematic parameter update law, and σ2 is the design constant of the unknown kinematic parameter update law.
[0127] Furthermore, according to the kinematic model selected in this embodiment, the closed robot kinematic regression matrix for:
[0128]
[0129] in, and are the reference velocities of the first and second joints of the closed robot, respectively.
[0130] Furthermore, the initial values and parameters of each state are set as follows: q and The initial value is The initial values of x1 and x2 are x1(0) = [1.366, 1.366] T , q c The initial value is q c (0) = [0,0] T ; The initial value of the neural network is The initial node center of the neural network is [0,0,0.65,0.65,0,0,0.65,0.65] T , the neuron set C min The number of neurons in l = 3 determines the relationship between the newly added neurons and the set C min The designable parameter of the distance is λ = 0.95, the adjustable threshold ν = 0.28, and the neuron width is η = [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2] T , the gain term of the neural network weight update law γ1=1.5, the design constant of the neural network weight update law σ1=0.0003, the gain term of the unknown kinematic parameter update law γ2=0.8, the design constant of the unknown kinematic parameter update law σ2=0.0001, the positive constant control gain c1=1.1 in α1, The positive constant control gain c2=2.5.
[0131] After obtaining stability, the weight is Among them, t b >t a >T, represents the period of time after the weight converges, T is the convergence time. In this example, T = 300, t a =450,t b =500.
[0132] The kinematic parameters after stabilization are obtained as Among them, tb >t a >T, represents the period of time after the kinematic parameters converge, T is the convergence time. In this example, T = 300, t a =450,t b =500.
[0133] S3. Using constant weights and constant kinematic parameters Design constant neural network speed compensation control instructions:
[0134]
[0135]
[0136] In this embodiment, the initial values of each state and parameter settings in the learning control stage are consistent with those in the adaptive control stage. The simulation sampling step is set to 0.01s, the simulation duration in the adaptive control stage is 500s, and the simulation duration in the learning control stage is 200s. Figure 2 Schematic diagram of a two-link closed robot according to an embodiment of the present invention, wherein the first joint is located at the origin of the task space coordinate system.
[0137] Figure 3 This is a weight norm convergence diagram of a closed robot system neural network in the adaptive control phase of an embodiment of the present invention; Figure 4 This is a diagram showing the learning effect of the neural network of the closed robot system on unknown dynamics during the adaptive control stage of an embodiment of the present invention. It can be seen from the figure that the weights of the neural network basically converge after 150 seconds of control, and the output of the neural network achieves approximation of the unknown dynamics, that is, the system experience knowledge is successfully learned.
[0138] Figure 5 This is a convergence diagram of the estimated values of unknown kinematic parameters of the closed robot system in the adaptive control stage of an embodiment of the present invention. From the changing curve in the figure, it can be seen that the estimated values of the kinematic parameters basically converge to the actual kinematic parameters of the robot after 300s, which proves that the algorithm successfully learns the robot kinematic knowledge during the control process.
[0139] Figure 6 This is a speed compensation instruction input curve diagram of the closed robot joint in the learning control stage of an embodiment of the present invention. It can be seen from the figure that the transient vibration process of the control input signal is extremely short and smooth and continuous throughout the process, ensuring the stability of the system.
[0140] Figure 7 A trajectory tracking diagram of the robot end in the learning control phase of an embodiment of the present invention; Figure 8 This is a tracking error diagram of the closed robot end in the learning control phase of the embodiment of the present invention, combined with Figure 7 , Figure 8It can be seen that after more than 10 seconds, the learning control can achieve the tracking errors of the robot end in the x-axis and y-axis convergence to ±0.002m, and can quickly track the given circle trajectory, with excellent transient control performance.
[0141] In another embodiment, a computer-readable storage medium is provided, wherein a program is stored in a memory, and when the program is executed by a processor, the closed robot task space learning control method based on outer loop speed compensation is implemented, specifically:
[0142] S1. Establish the dynamic and kinematic models of the closed robot with an internal speed PI controller and construct the desired terminal periodic trajectory;
[0143] S2. Use dynamic arrangement of neurons to construct a neural network, combine Lyapunov stability theory to design adaptive neural network speed compensation control instructions, and use deterministic learning theory to convert the converged neural network weights Save as constant weights And through the parameter convergence property, the unknown kinematic parameter estimates after convergence are Save as constant kinematic parameters
[0144] The adaptive neural network speed compensation control instructions are as follows:
[0145]
[0146]
[0147]
[0148] Among them, α1 is the virtual controller of the closed robot system, is the reference speed of the closed robot joint, is the adaptive neural network speed compensation control instruction, z1 is the tracking error of the closed robot end, x1 is the position of the closed robot end in the task space, and x d1 is the desired task space position periodic trajectory of the closed robot end, is the desired task space velocity cycle trajectory of the closed robot end, is the inverse of the estimated Jacobian matrix, is the unknown kinematic parameter a k The estimated value of is the estimated value of the neural network weight, Φ(β)=[φ1(||β-θ1||),…,φ N (||β-θ N ||)] T is the Gaussian radial basis function of the neural network, θk is the center point, ρ k is the width, N is the number of neural network points, is the input of the neural network, q is the angular position of the closed robot joint, is the joint angular velocity of the closed robot, q c For The position compensation control command obtained by integration, is the reference speed of the closed robot joint The derivative of , c1 is the positive constant control gain in α1, and c2 is The positive constant control gain in is, and s is the intermediate error variable in the controller design process;
[0149] The neural network weights The update law is:
[0150]
[0151] Among them, γ1 is the gain term of the neural network weight update law, and σ1 is the design constant of the neural network weight update law;
[0152] The unknown kinematic parameter estimates The update law is:
[0153]
[0154] in, is the closed robot kinematic regression matrix, γ2 is the gain term of the unknown kinematic parameter update law, and σ2 is the design constant of the unknown kinematic parameter update law;
[0155] S3. Using constant weights and constant kinematic parameters Design constant neural network speed compensation control instructions:
[0156]
[0157]
[0158] In another embodiment, a robot is provided, comprising:
[0159] at least one processor; and,
[0160] a memory communicatively connected to the at least one processor; wherein,
[0161] The memory stores computer program instructions that can be executed by the at least one processor, and the computer program instructions are executed by the at least one processor to enable the at least one processor to perform the closed robot task space learning control method based on outer loop speed compensation.
[0162] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0163] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0164] The above embodiments are only preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications made without departing from the spirit and principle of the present invention shall be equivalent replacement modes and shall be included in the protection scope of the present invention.
Claims
1. A closed robot task space learning control method based on outer loop velocity compensation, characterized in that: The steps include: S1. Establish the dynamic and kinematic models of the closed robot with an internal speed PI controller and construct the desired terminal periodic trajectory; In step S1, the closed robot dynamics model is specifically: Where M(q) is the unknown inertia matrix of the closed robot, which is symmetric and uniformly positive definite. is the unknown Coriolis force and centrifugal force matrix of the closed robot, G(q) is the unknown gravity vector of the closed robot, u is the internal speed PI controller of the closed robot, K is the internal control gain of the closed robot system, is the unknown constant diagonal positive definite matrix, q is the joint angular position of the closed robot, is the closed robot joint angular velocity; S2. Use dynamic arrangement of neurons to construct a neural network, combine Lyapunov stability theory to design adaptive neural network speed compensation control instructions, and use deterministic learning theory to convert the converged neural network weights Save as constant weights And through the parameter convergence property, the unknown kinematic parameter estimates after convergence are Save as constant kinematic parameters The adaptive neural network speed compensation control instructions are as follows: Among them, α1 is the virtual controller of the closed robot system, is the reference speed of the closed robot joint, is the adaptive neural network speed compensation control instruction, z1 is the tracking error of the closed robot end, x1 is the position of the closed robot end in the task space, and x d1 is the desired task space position periodic trajectory of the closed robot end, is the desired task space velocity cycle trajectory of the closed robot end, is the inverse of the estimated Jacobian matrix, is the unknown kinematic parameter a k The estimated value of is the estimated value of the neural network weight, Φ(β)=[φ1(||β-θ1||),…,φ N (||β-θ N ||)] T is the Gaussian radial basis function of the neural network, θ k is the center point, ρ k is the width, N is the number of neural network points, is the input of the neural network, q is the angular position of the closed robot joint, is the joint angular velocity of the closed robot, q c For The position compensation control command obtained by integration, is the reference speed of the closed robot joint The derivative of , c1 is the positive constant control gain in α1, and c2 is The positive constant control gain in , s is the intermediate error variable in the controller design process; Φ T (β) represents the transpose of the vector Φ(β), Representation vector The transpose of , that is, T represents transpose; The neural network weights The update law is: Among them, γ1 is the gain term of the neural network weight update law, and σ1 is the design constant of the neural network weight update law; The unknown kinematic parameter estimates The update law is: in, is the closed robot kinematic regression matrix, γ2 is the gain term of the unknown kinematic parameter update law, and σ2 is the design constant of the unknown kinematic parameter update law; In step S2, a neural network is constructed by dynamically arranging neurons, specifically: S21. Define the parameters of the new neurons: P=<θ p ,r p ,W p > Among them, θ p ,ρ p ,W p are the center, width and weight of the newly added neurons respectively; S22. Define the center of the newly added neuron: in, is the neuron set C min The average center position, C min is a set consisting of l neurons closest to the current input, and λ is the relationship between the newly added neurons and the set C min Designable parameters of distance; S23, determine whether to add a new neuron: Define an adjustable threshold ν, when God divides the network input β and the neuron set C min The average center position When it is greater than the threshold, new neurons are added according to the set parameter definitions; S3. Using constant weights and constant kinematic parameters Design constant neural network speed compensation control instructions:
2. The closed robot task space learning control method based on outer loop speed compensation according to claim 1 is characterized in that: In step S1, the PI controller is specifically: Among them, K P is the proportionality coefficient, K I are integral coefficients, all of which are unknown diagonal positive definite matrices.
3. The closed robot task space learning control method based on outer loop speed compensation according to claim 1 is characterized in that: In step S1, the kinematic model is specifically: x1=f(q) Where f(q) represents the mapping of the closed robot from joint space angles to task space coordinates; The kinematic model is derived as follows: in, is the speed of the closed robot end in the task space, J(q,a k ) is the Jacobian matrix of unknown parameters.
4. The closed robot task space learning control method based on outer loop speed compensation according to claim 1 is characterized in that: In step S1, the desired terminal periodic trajectory is specifically: Among them, x d1 is the desired task space position periodic trajectory of the closed robot end, x d2 is the desired task space velocity cycle trajectory of the closed robot end, f(x d1 ,x d2 ) is a given continuous periodic function.
5. The closed robot task space learning control method based on outer loop speed compensation according to claim 1 is characterized in that: In step S2, the converged neural network weights are calculated using deterministic learning theory. Save as constant weights Specifically: where t a and t b are two time points after the weights converge, and t b >t a >t,[t a ,t b ] represents a period of time after the weights converge, and t is the convergence time point.
6. The closed robot task space learning control method based on outer loop speed compensation according to claim 1 is characterized in that: In step S2, the unknown kinematic parameter estimates after convergence are converted to Save as constant kinematic parameters Specifically: where t a and t b are two time points after the weights converge, and t b >t a >t,[t a ,t b ] represents a period of time after the weights converge, and t is the convergence time point.
7. A computer-readable storage medium storing a program, characterized in that: When the program is executed by the processor, the closed robot task space learning control method based on outer loop speed compensation described in any one of claims 1 to 6 is implemented.
8. A robot, characterized in that: The robot comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores computer program instructions that can be executed by the at least one processor, and the computer program instructions are executed by the at least one processor so that the at least one processor can execute the closed robot task space learning control method based on outer loop speed compensation as described in any one of claims 1-6.
