A motion control method and medium based on neurodynamics
By constructing a periodic noise suppression neural dynamics model and using iterative solution and compensation technology, the problem of periodic noise interference in robotic arm control is solved, and the system's anti-noise performance and motion accuracy are improved.
Patent Information
- Application Number
- CN202410852250.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-28
AI Technical Summary
In existing robotic arm control technology, repetitive tasks lead to periodic noise interference, which affects the anti-noise performance and motion accuracy of the system. The existing anti-noise model cannot effectively suppress periodic noise.
Based on the traditional neurodynamic model and periodic noise, a periodic noise suppression neurodynamic model is constructed. By iteratively solving the dynamic nonlinear equations, the residuals are calculated and judged whether the threshold is met. If so, the equation solution is used as the control variable for motion control. And the anti-interference performance is improved through the harmonic compensation term and the speed compensation term.
It effectively reduces periodic noise interference, improves the performance and accuracy of the processing system, ensures the motion performance of the robotic arm, and eliminates the lag error of the traditional neurodynamic model.
Smart Images

Figure CN118386256B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robotic arm control technology, and in particular to a motion control method and medium based on neurodynamics. Background Art
[0002] A manipulator (also called a robot arm) is an end-active mechanical device. Its end-motion tasks include welding, drawing, assembly, excavation and drilling, etc. It is widely used in key areas of the national economy such as equipment manufacturing, product processing, and machine operation. As the actual application scenarios of manipulators become more and more complex and the performance requirements become higher and higher, its additional multi-constraint processing capabilities, real-time motion performance, and tracking and positioning accuracy become particularly important.
[0003] In the prior art, solutions to the above problems are usually sought through various neurodynamic models. For example, the processing system corresponding to the neurodynamic model is used to solve the control variables corresponding to the robot arm control. However, due to the repetitive nature of the task, there will be a large number of repetitive actions in the solution process, which will generate redundant periodic noise, and then cause periodic changes in the system output or tracking error. Although technicians have introduced integral terms or adopted circadian rhythm learning networks to reduce noise interference, they cannot guarantee the noise resistance of the processing system.
[0004] Therefore, there is an urgent need for a control scheme that can resist periodic noise interference to reduce periodic noise, improve the performance and accuracy of the processing system, and ensure the motion performance of the robotic arm. Summary of the invention
[0005] The present invention provides a motion control method and medium based on neurodynamics, which can reduce periodic noise, improve the performance and accuracy of the processing system, and ensure the motion performance of a robotic arm.
[0006] The embodiments of the present invention can be implemented as follows:
[0007] In a first aspect, a motion control method based on neurodynamics is provided, comprising the following steps:
[0008] A periodic noise suppression neural dynamics model is constructed based on a traditional neural dynamics model and periodic noise; wherein the traditional neural dynamics model is used to solve a dynamic nonlinear equation system;
[0009] Convert the dynamic model of the robot arm into a set of dynamic nonlinear equations;
[0010] Iteratively solving the dynamic nonlinear equations using the periodic noise suppression neural dynamics model to obtain solutions to the equations;
[0011] Calculating the residual of the dynamic nonlinear equation group based on the equation solution; and determining whether the residual meets a preset threshold;
[0012] If satisfied, the solution of the equation corresponding to the residual is used as the control variable to drive the robotic arm to perform motion control.
[0013] Preferably, the step of constructing a periodic noise suppression neural dynamics model based on a traditional neural dynamics model and periodic noise comprises:
[0014] Establish the traditional neurodynamic model corresponding to the dynamic nonlinear equations;
[0015] A periodic noise suppression neural dynamics model is constructed based on the traditional neural dynamics model and the characteristic parameters of periodic noise.
[0016] Preferably, the expression of the periodic noise suppression neural dynamics model satisfies:
[0017] ;
[0018] in, is periodic noise, is the frequency corresponding to the periodic noise; is the harmonic interference term corresponding to the periodic noise; is the solution of the equation corresponding to the dynamic nonlinear equations; is the first-order derivative of the solution to the dynamic nonlinear equations; is the first-order derivative of the dynamic nonlinear equations; is the first characteristic parameter corresponding to the periodic noise; is the first-order derivative of the first characteristic parameter; J is the Jacobian matrix corresponding to the dynamic nonlinear equations, is the mapping relationship corresponding to the dynamic nonlinear equations, satisfying: ; is the start time; is the end time; is the convergence parameter; (.) T is transposed.
[0019] Preferably, the step of constructing a periodic noise suppression neural dynamics model based on the traditional neural dynamics model and characteristic parameters of periodic noise includes:
[0020] Splitting the periodic noise into multiple harmonic terms; and determining the harmonic interference terms according to the characteristic parameters corresponding to the harmonic terms; wherein the characteristic parameters are used to characterize the frequency characteristics corresponding to the periodic noise;
[0021] The periodic noise suppression neural dynamics model is constructed based on the harmonic interference term and the traditional neural dynamics model.
[0022] Preferably, the step of establishing a traditional neural dynamics model corresponding to the dynamic nonlinear equations comprises:
[0023] Determining a speed compensation term based on a dynamic nonlinear equation group, wherein the speed compensation term is used to characterize derivative information corresponding to each nonlinear equation in the dynamic nonlinear equation group;
[0024] Establish the initial neural dynamics model corresponding to the dynamic nonlinear equations;
[0025] The traditional neural dynamics model is determined using the speed compensation term and the initial neural dynamics model.
[0026] Preferably, the expression of the initial neural dynamics model satisfies:
[0027] ;
[0028] in, is the solution of the equation corresponding to the dynamic nonlinear equations; is the first-order derivative of the solution of the dynamic nonlinear equations, J is the Jacobian matrix corresponding to the dynamic nonlinear equations, is a dynamic nonlinear system of equations; is the start time; is the end time; is the convergence parameter; (.) T is transposed.
[0029] Preferably, the expression of the traditional neural dynamics model satisfies:
[0030] ;
[0031] in, is the initial neural dynamics model corresponding to the dynamic nonlinear equations; is the derivative form of the dynamic nonlinear equations; J is the Jacobian matrix corresponding to the dynamic nonlinear equations, is the mapping relationship corresponding to the dynamic nonlinear equations, satisfying: ; is the start time; is the end time; is the solution of the equation corresponding to the dynamic nonlinear equations; is the convergence parameter; (.) T is transposed.
[0032] Preferably, the residual calculation formula of the dynamic nonlinear equations satisfies:
[0033] , ;
[0034] Among them, L is the value corresponding to the residual; is the norm function; is the residual of the mapping relationship corresponding to the dynamic nonlinear equations; is the mapping relationship corresponding to the dynamic nonlinear equations, satisfying: ; is the start time; is the end time.
[0035] Preferably, the step of judging whether the residual satisfies a preset threshold comprises: judging whether the residual is less than or equal to a maximum tolerance error.
[0036] In a second aspect, the present invention provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the motion control method as described in any one of the above-mentioned first aspects.
[0037] The beneficial effects of the embodiments of the present invention include, for example:
[0038] Provided is a motion control method and medium based on neurodynamics, relating to the field of robotic arm control technology. The above-mentioned motion control method includes: constructing a periodic noise suppression neurodynamic model based on a traditional neurodynamic model and periodic noise; wherein the traditional neurodynamic model is used to solve a dynamic nonlinear equation group; converting the dynamic model of the robotic arm into a dynamic nonlinear equation group; using the periodic noise suppression neurodynamic model to iteratively solve the dynamic nonlinear equation group to obtain the solution of the equation; calculating the residual of the dynamic nonlinear equation group based on the solution of the equation; and judging whether the residual meets the preset threshold; if so, using the solution of the equation corresponding to the residual as the control variable to drive the robotic arm for motion control. The present invention can reduce the interference caused by periodic noise, improve the performance and accuracy of the processing system, and ensure the motion performance of the robotic arm. At the same time, the derivative information corresponding to the relevant equations in the dynamic nonlinear equation group is used to construct a velocity compensation term, effectively eliminating the lag error of the traditional neurodynamic model. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0040] Figure 1A flowchart of the steps of a motion control method based on neurodynamics provided in this embodiment;
[0041] Figure 2 is a step-by-step flow chart of step 101 in this embodiment;
[0042] Figure 3 is a step-by-step flow chart of step 201 in this embodiment;
[0043] Figure 4 is a step-by-step flow chart of step 202 in this embodiment;
[0044] Figure 5 This is one of the motion trajectory diagrams obtained by the planar dual-axis robotic arm based on the periodic noise suppression neural dynamics model in this embodiment;
[0045] Figure 6 This is the second motion trajectory diagram obtained by the planar dual-axis robotic arm based on the periodic noise suppression neural dynamics model in this embodiment;
[0046] Figure 7 is a statistical diagram showing the error of the corresponding position of the end effector in this embodiment;
[0047] Figure 8 is the motion trajectory of the joint angle of the robot arm in this embodiment;
[0048] Fig. 9 This is a residual comparison diagram of the PNSND model in this embodiment and other models under the first cycle noise interference;
[0049] Fig.10 This is a residual comparison diagram of the PNSND model in this embodiment and other models under the second cycle noise interference;
[0050] Fig.11 This is a residual comparison diagram of the PNSND model in this embodiment and other models under the third cycle noise interference;
[0051] Fig.12 The simulation comparison experimental results of the PNSND model in this embodiment and other neural models without noise interference;
[0052] Fig.13 The figure is a simulation result diagram corresponding to the PNSND model in solving the dynamic nonlinear equations in this embodiment;
[0053] Fig.14 The simulation comparison experimental results of the PNSND model in this embodiment and other neural models under square wave noise interference;
[0054] Fig.15The simulation comparison experimental results of the PNSND model in this embodiment and other neural models under triangle wave noise interference are shown. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0056] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0058] In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. appear to indicate an orientation or position relationship, they are based on the orientation or position relationship shown in the accompanying drawings, or are the orientation or position relationship in which the product of the invention is usually placed when used. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0059] In addition, the terms “first”, “second”, etc., if used, are merely used to distinguish between the descriptions and should not be understood as indicating or implying relative importance.
[0060] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.
[0061] As mentioned in the background, the prior art usually solves the control problem of the manipulator through a neural dynamics model. However, due to the repetitive nature of the task, the repetitive motion planning in the system often leads to the generation of periodic noise. This noise can cause periodic changes in the system output or tracking error. Therefore, it is very important to reduce the impact of periodic noise on system performance and accuracy.
[0062] In order to cope with the challenges brought by periodic noise, various methods and techniques have been proposed in industrial engineering to reduce the adverse effects of noise on system operation and improve the accuracy and stability of motion planning. However, under the interference of periodic noise, the existing anti-noise models cannot effectively suppress periodic noise to ensure the accuracy of motion.
[0063] Based on the above considerations, the present invention provides a motion control solution based on neurodynamics to reduce periodic noise, improve the performance and accuracy of the processing system, and ensure the motion performance of the robotic arm.
[0064] The technical solution will be described in detail below.
[0065] First, please refer to Figure 1 , Figure 1 A flow chart of steps of the motion control method based on neurodynamics in this embodiment is shown, wherein the motion control method based on neurodynamics includes steps 101 to 105.
[0066] Step 101: construct a periodic noise suppression neural dynamics model based on a traditional neural dynamics model and periodic noise; wherein the traditional neural dynamics model is used to solve a dynamic nonlinear equation group.
[0067] Step 102: Convert the dynamic model of the robot arm into a group of dynamic nonlinear equations.
[0068] Step 103: Use the periodic noise suppression neural dynamics model to iteratively solve the dynamic nonlinear equations to obtain the solution of the equations.
[0069] Step 104: Calculate the residual of the dynamic nonlinear equation system based on the equation solution; and determine whether the residual meets a preset threshold.
[0070] Step 105: If satisfied, the solution of the equation corresponding to the residual is used as the control variable to drive the robot arm to perform motion control.
[0071] In this embodiment, based on the correlation characteristics of periodic noise, a harmonic compensation term is added; at the same time, a speed compensation term is constructed based on the derivative characteristics of each derivative in the dynamic nonlinear equation group, and the anti-interference performance of the traditional neural dynamics model is improved by using the harmonic compensation term and the speed compensation term, so as to avoid the periodic noise suppression neural dynamics model from generating periodic noise when determining the control variables of the manipulator, thereby affecting the performance and accuracy of the processing system. In this embodiment, the periodic noise can be expanded into a harmonic term through Fourier, and the harmonic compensation term is determined based on the harmonic term, and then the interference caused by the periodic noise is solved from the harmonic perspective through the most important frequency characteristics and error function information of the periodic noise reflected by the harmonic compensation term. At the same time, the speed compensation term can be designed through the derivative information of the relevant equations corresponding to the dynamic nonlinear equation group, thereby effectively eliminating the hysteresis error of the traditional gradient neural dynamics model. Based on this, this embodiment can reduce periodic noise, improve the performance and accuracy of the processing system, and ensure the motion performance of the manipulator.
[0072] In this embodiment, Figure 1 Based on Figure 2 Step 101 of constructing a periodic noise suppression neural dynamics model based on a traditional neural dynamics model and periodic noise includes steps 201 and 202.
[0073] Step 201: Establish a traditional neural dynamics model corresponding to the dynamic nonlinear equations.
[0074] Step 202: construct a periodic noise suppression neural dynamics model based on the traditional neural dynamics model and the characteristic parameters of the periodic noise.
[0075] In this embodiment, the traditional neural dynamics model is suitable for solving dynamic nonlinear equations (Dynamic Nonlinear Equations, DNEs), which are referred to as DNEs for convenience of description. It is assumed that the general dynamic nonlinear equations DNEs are expressed as: ,in, , which is a nonlinear mapping relationship; is the solution of the equation, where , For time, Represents the start time, Represents the end time, represents a real vector of dimension m, Represents a real vector of n dimensions.
[0076] Further, in Figure 2 Based on Figure 3Based on the above DNEs, step 201 of establishing a traditional neural dynamics model corresponding to the dynamic nonlinear equations in this embodiment includes steps 301 to 303.
[0077] Step 301: Determine a speed compensation term based on a dynamic nonlinear equation group, wherein the speed compensation term is used to characterize derivative information corresponding to each nonlinear equation in the dynamic nonlinear equation group.
[0078] Step 302: Establish an initial neural dynamics model corresponding to the dynamic nonlinear equations.
[0079] Step 303: Determine the traditional neural dynamics model using the speed compensation term and the initial neural dynamics model.
[0080] When the general dynamic nonlinear equations DNEs are expressed as: When , the steps to establish the initial neural dynamics model corresponding to the dynamic nonlinear equations are:
[0081] First, the energy function of the DNEs is determined using the norm function, which is expressed as: .
[0082] Then, the first-order derivative of the solution of the dynamic nonlinear equations is determined according to the energy function. Specifically, the negative gradient direction of the energy function is minimized to determine ,satisfy: ,in, is the convergence parameter, satisfying: , to adjust the convergence speed.
[0083] Based on this, in one possible implementation, the traditional neural dynamics model can be a traditional gradient neural dynamics model, which is expanded as follows:
[0084] ;
[0085] in, is the solution of the equation corresponding to the dynamic nonlinear equations; is the first-order derivative of the solution of the dynamic nonlinear equations, and J is the Jacobian matrix corresponding to the dynamic nonlinear equations, satisfying: ; is a dynamic nonlinear system of equations; is the start time; is the end time; is the convergence parameter; (.) T is transposed.
[0086] Assume that the speed compensation term in this embodiment is expressed as , then the corresponding initial traditional neural dynamics model can be simply expressed as: .
[0087] It should be noted that, in this embodiment, the general dynamic nonlinear equations DNEs are expressed as: .Should The solution corresponding to the dynamic nonlinear equations DNEs must be the optimal solution, that is, the above-mentioned traditional neurodynamic model is balanced, the system residual corresponding to the model is in a stable state, and the solution corresponding to the scheme is in a zero error state.
[0088] On this basis, the speed compensation term can be expressed as:
[0089] ;
[0090] ;
[0091] Among them, when the error function reaches its minimum value and stabilizes, and the time derivative corresponding to the error value is zero, the expression can be obtained: .
[0092] Based on the above relationship, the final traditional neural dynamics model can be expressed as:
[0093] ;
[0094] exist Figure 2 Based on Figure 4 Step 202 of constructing a periodic noise suppression neural dynamics model based on the traditional neural dynamics model and characteristic parameters of periodic noise includes steps 401 and 402.
[0095] Step 401, split the periodic noise into multiple harmonic terms; and determine the harmonic interference terms according to the characteristic parameters corresponding to the harmonic terms; wherein the characteristic parameters are used to characterize the frequency characteristics corresponding to the periodic noise.
[0096] Step 402: construct a periodic noise suppression neural dynamics model based on the harmonic interference term and the traditional neural dynamics model.
[0097] In one possible implementation, the idea is that periodic noise can be Fourier decomposed into its harmonics: , and then combine the special properties of periodic noise to design the harmonic compensation term. In this embodiment, the expression of the periodic noise suppression neural dynamics model satisfies:
[0098] ;
[0099] in, is periodic noise, is the frequency corresponding to the periodic noise; is the harmonic interference term corresponding to the periodic noise; is the solution of the equation corresponding to the dynamic nonlinear equations; is the first-order derivative of the solution to the dynamic nonlinear equations; is the first-order derivative of the dynamic nonlinear equations; is the first characteristic parameter corresponding to the periodic noise; is the first-order derivative of the first characteristic parameter; J is the Jacobian matrix corresponding to the dynamic nonlinear equations, is the mapping relationship corresponding to the dynamic nonlinear equations, satisfying: ; is the start time; is the end time; is the convergence parameter; (.) T is transposed.
[0100] For the convenience of description, the periodic noise suppression neural dynamic model (PNSND) is referred to as PNSND. Specifically, the special properties of periodic noise can be determined by the characteristic that the second-order derivative of periodic noise is proportional to itself, that is, the first characteristic parameter , the first characteristic parameter satisfy:
[0101] .
[0102] In this embodiment, the PNSND constructed above can be used to process the dynamic model of the robot arm. Specifically, the dynamic model of the robot arm can be expressed as: ,in, represents the position of the end effector of the robot arm, represents the joint angle of the robot arm, represents a nonlinear positive kinematic mapping function. The dynamic nonlinear equations can be expressed as: Taking a planar dual-axis robot arm as an example, the parameters can be expressed as:
[0103] ;
[0104] ;
[0105] ;
[0106] in, is the joint angle value corresponding to the first robotic arm, is the joint angle value corresponding to the second robotic arm, is the first motion direction parameter, is the second motion direction parameter, is the first position of the end effector of the robot arm, is the second position of the end effector of the robot arm. In this embodiment, the control variable can be determined by the above parameters to drive the robot arm to perform motion control.
[0107] In this embodiment, the arm length of the robot arm can be set to one meter, and the initial angle is rad. And initialize the parameters in the periodic noise suppression neural dynamics model. For example, assuming that the periodic noise is a triangular wave periodic noise, the triangular wave periodic noise satisfies: ; Set the maximum tolerance error ; The dynamic coefficient satisfies: And random initialization .
[0108] The corresponding features in the above example can be brought into the periodic noise suppression neural dynamics model. At this time, the differential equation solver can be used to calculate the iterative model, and when the residual is less than or equal to the maximum tolerance error, the iterative calculation is stopped and the corresponding equation solution is output. .
[0109] In this embodiment, the residual calculation formula of the dynamic nonlinear equation system satisfies:
[0110] , ;
[0111] Among them, L is the value corresponding to the residual; is the norm function; is the residual of the mapping relationship corresponding to the dynamic nonlinear equations; is the mapping relationship corresponding to the dynamic nonlinear equations, satisfying: ; is the start time; is the end time.
[0112] When the nonlinear equations satisfy: When , according to the above-mentioned periodic noise suppression neural dynamics model, when the residual is less than or equal to the maximum tolerance error, the corresponding equation solution satisfies: .
[0113] Please refer to Figure 5 , Figure 6 , Figure 5 , Figure 6 The figure shows the motion trajectory of the planar two-axis manipulator based on the periodic noise suppression neural dynamics model. From the above figure, it can be seen that the actual trajectory generated by the PNSND model is very close to the expected path, and the given task is completed under the interference of periodic noise. Please refer to Figure 7 , Figure 7 The error statistics of the corresponding position of the end effector in the planar two-axis robot arm are shown. It can be seen that the maximum error of the corresponding position of the end effector in the planar two-axis robot arm can be well controlled within 10 −3 In addition, Figure 8 It can be seen intuitively that the joint angle eventually returns to its original position, that is, due to the influence of periodic noise, the resolution of kinematic redundancy and joint drift change. The PNSND model can effectively solve the dynamic nonlinear problem under periodic noise interference, improve the performance and accuracy of the processing system, and ensure the motion performance of the robot arm.
[0114] On this basis, this embodiment provides a motion control method based on neurodynamics, which includes the following steps: constructing a periodic noise suppression neurodynamic model based on a traditional neurodynamic model and periodic noise; wherein the traditional neurodynamic model is used to solve a dynamic nonlinear equation group; converting the dynamic model of the robot arm into a dynamic nonlinear equation group; using the periodic noise suppression neurodynamic model to iteratively solve the dynamic nonlinear equation group to obtain the solution of the equation; calculating the residual of the dynamic nonlinear equation group based on the solution of the equation; and judging whether the residual meets a preset threshold; if so, using the solution of the equation corresponding to the residual as the control variable to drive the robot arm for motion control. The present invention can reduce the interference caused by periodic noise, improve the performance and accuracy of the processing system, and ensure the motion performance of the robot arm. At the same time, the derivative information corresponding to the relevant equations in the dynamic nonlinear equation group is used to construct a velocity compensation term, which effectively eliminates the lag error of the traditional neurodynamic model.
[0115] In a second aspect, based on the same concept as above, this embodiment further provides a computer-readable storage medium, the storage medium stores a program, and the program is executed by a processor to implement the motion control method as described in any one of the first aspects above.
[0116] The embodiment of the present invention can reduce the interference caused by periodic noise, improve the performance and accuracy of the processing system, and ensure the motion performance of the robot arm. At the same time, the derivative information corresponding to the relevant equations in the dynamic nonlinear equation group is used to construct a speed compensation term, effectively eliminating the lag error of the traditional neural dynamics model.
[0117] In addition, please refer to Figures 9 to 14 , this embodiment also provides an experimental example corresponding to the periodic noise suppression neural dynamics model.
[0118] Experiment 1
[0119] Set model parameters: Dynamic coefficients satisfy: , and the convergence parameter is 100, and the Fourier expansion is k=6 times,
[0120] The periodic noises are:
[0121] , ;
[0122] Frequencies include: , as well as .
[0123] Please refer to Fig. 9 , Fig.10 as well as Fig.11 , Fig. 9 , Fig.10 as well as Fig.11 The residual comparison diagrams of PNSND and other models (for example, the unimproved traditional neural dynamics model) under the periodic noise interference composed of the sine function of different frequencies are shown respectively. Among them, the first periodic noise interference, the second periodic noise interference, and the third periodic noise interference correspond to the above three frequencies respectively. Taking the first periodic noise interference as an example, the first periodic noise interference is the frequency: Similarly, the second periodic noise interference is the frequency of: Similarly, the third periodic noise interference is the frequency of: The periodic noise is composed of a sine function.
[0124] From the comparison of the above three figures, it can be seen that the PNSND model can accurately solve the dynamic nonlinear equations even when encountering interference from high-frequency periodic noise.
[0125] Please refer to Fig.12 , Fig.13 ,in, Fig.12 The simulation comparison experimental results of the PNSND model and other neural models without noise interference are shown; Fig.12 It can be seen that the residual error of the PNSND model can converge to zero globally exponentially without noise interference. This embodiment also provides a solution trajectory and a theoretical trajectory calculated based on the PNSND model, that is, Fig.13 The simulation result diagram of the PNSND model in solving the dynamic nonlinear equations is shown. Based on this, it can be seen that the PNSND model can accurately converge to the theoretical solution starting from any initial point.
[0126] Please refer to Fig.14 , Fig.15 , Fig.14 , Fig.15The simulation experimental results of the PNSND model under the interference of square wave noise and triangle wave noise corresponding to the same frequency are shown respectively. It can be seen that the PNSND model can still maintain excellent robustness when solving dynamic nonlinear equations under periodic noise interference.
[0127] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A motion control method based on neurodynamics, characterized in that: The following steps are involved: A periodic noise suppression neural dynamics model is constructed based on a traditional neural dynamics model and periodic noise; wherein the traditional neural dynamics model is used to solve a dynamic nonlinear equation group; Convert the dynamic model of the robot arm into a set of dynamic nonlinear equations; Iteratively solving the dynamic nonlinear equations using the periodic noise suppression neural dynamics model to obtain solutions to the equations; Calculating the residual of the dynamic nonlinear equation group based on the equation solution; and determining whether the residual meets a preset threshold; If satisfied, the solution of the equation corresponding to the residual is used as the control variable to drive the robot arm to perform motion control; The expression of the periodic noise suppression neural dynamics model satisfies: ; The expression of the traditional neural dynamics model satisfies: ; in, is periodic noise; is the frequency corresponding to the periodic noise; is the harmonic interference term corresponding to the periodic noise; is the solution of the equation corresponding to the dynamic nonlinear equations; is the first-order derivative of the solution to the dynamic nonlinear equations; is the first-order derivative of the dynamic nonlinear equations; is the first characteristic parameter corresponding to the periodic noise; is the first-order derivative of the first characteristic parameter; J is the Jacobian matrix corresponding to the dynamic nonlinear equations, is the mapping relationship corresponding to the dynamic nonlinear equations, satisfying: ; is the start time; is the end time; is the convergence parameter; (.) T is transposed.
2. The motion control method according to claim 1, characterized in that: The step of constructing a periodic noise suppression neural dynamics model based on the traditional neural dynamics model and periodic noise includes: Establish the traditional neurodynamic model corresponding to the dynamic nonlinear equations; A periodic noise suppression neural dynamics model is constructed based on the traditional neural dynamics model and the characteristic parameters of periodic noise.
3. The motion control method according to claim 2, characterized in that: The step of constructing a periodic noise suppression neural dynamics model based on the traditional neural dynamics model and the characteristic parameters of the periodic noise includes: Splitting the periodic noise into multiple harmonic terms; and determining the harmonic interference terms according to the characteristic parameters corresponding to the harmonic terms; wherein the characteristic parameters are used to characterize the frequency characteristics corresponding to the periodic noise; The periodic noise suppression neural dynamics model is constructed based on the harmonic interference term and the traditional neural dynamics model.
4. The motion control method according to claim 2, characterized in that: The step of establishing the traditional neural dynamics model corresponding to the dynamic nonlinear equations comprises: Determining a speed compensation term based on a dynamic nonlinear equation group, wherein the speed compensation term is used to characterize derivative information corresponding to each nonlinear equation in the dynamic nonlinear equation group; Establish the initial neural dynamics model corresponding to the dynamic nonlinear equations; The traditional neural dynamics model is determined using the speed compensation term and the initial neural dynamics model.
5. The motion control method according to claim 4, characterized in that: The expression of the initial neural dynamics model satisfies: ; in, is the solution of the equation corresponding to the dynamic nonlinear equations; is the first-order derivative of the solution of the dynamic nonlinear equations, J is the Jacobian matrix corresponding to the dynamic nonlinear equations, is a dynamic nonlinear system of equations; is the start time; is the end time; is the convergence parameter; (.) T is transposed.
6. The motion control method according to claim 1, characterized in that: The residual calculation formula of the dynamic nonlinear equations satisfies: , ; Among them, L is the value corresponding to the residual; is the norm function; is the residual of the mapping relationship corresponding to the dynamic nonlinear equations; is the mapping relationship corresponding to the dynamic nonlinear equations, satisfying: ; is the start time; is the end time.
7. The motion control method according to claim 1, characterized in that: The step of judging whether the residual meets a preset threshold comprises judging whether the residual is less than or equal to a maximum tolerance error.
8. A computer-readable storage medium, characterized in that: The storage medium stores a program, and the program is executed by a processor to implement the motion control method according to any one of claims 1 to 7.
