Method for solving motion trail of mechanical arm through anti-noise complex-valued recurrent neural network

By modeling the robot arm motion trajectory as a time-varying complex-valued quadratic programming problem and constructing an anti-noise complex-valued recurrent neural network model, the slow convergence speed, low accuracy and poor robustness of traditional algorithms in solving the robot arm motion trajectory are solved. problem, achieving efficient and accurate motion trajectory planning and anti-noise performance.

CN118617399AInactive Publication Date: 2024-09-10SOUTH CHINA UNIV OF TECH +1

Patent Information

Application Number
CN202310232232.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional algorithms have slow convergence speed, low accuracy, and poor robustness when solving robot arm motion trajectories, and are difficult to handle complex-valued time-varying quadratic programming problems, especially in the field of nonlinear optimization and physical applications.

Method used

The motion trajectory of the manipulator is modeled as a time-varying complex-valued quadratic programming problem, converted into a matrix equation, an energy function is constructed, and an anti-noise complex-valued recursive neural network model is established, which is solved through the neural network to improve computing efficiency and anti-noise performance.

Benefits of technology

It achieves fast and accurate robot arm motion trajectory planning, improves noise immunity, avoids overshoot problems, and is suitable for the field of complex-valued time-varying quadratic planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118617399A
    Figure CN118617399A
Patent Text Reader

Abstract

The invention discloses a method for solving a motion trail of a mechanical arm through an anti-noise complex-valued recurrent neural network. The method comprises the following steps that a mathematical model of the motion trail of the mechanical arm is established in an upper computer; abstracting the mathematical model into a time-varying complex-valued quadratic programming problem; converting a time-varying complex-valued quadratic programming problem into a matrix equation; constructing an energy function; establishing an anti-noise complex-valued recurrent neural network model; solving a time-varying complex-valued quadratic programming problem by using the established neural network model; outputting a real-time solution of the time-varying complex-valued quadratic programming problem, and displaying a change curve of a two-norm of an energy function in the solving process through an upper computer; and the obtained real-time solution of the time-varying complex-valued quadratic programming problem is converted and restored into a control parameter of the motion trail of the mechanical arm, and the mechanical arm is controlled to move according to a preset trail in real time. The anti-noise complex-valued recurrent neural network model is adopted to solve the motion trail problem of the mechanical arm, and the method has the advantages of being high in real-time performance, fast in calculation, high in precision, good in anti-noise performance and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to time-varying complex-valued quadratic programming problems, neural network technology and the field of robot arm motion control, and in particular to a method for solving a robot arm motion trajectory using a noise-resistant complex-valued recursive neural network. Background Art

[0002] As a special type of mathematical programming problem, complex-valued quadratic programming problems are widely used in scientific and engineering fields such as robotics, filters, and sensor bias estimation. Compared with the real number domain, the complex number domain provides a thorough method to preserve the basic properties of the problem, such as common phase information, and provides more practical expressions to solve some specific problems. Therefore, the solution of complex-valued quadratic programming problems is of great importance and wide application.

[0003] Traditional numerical methods are more suitable for solving time-invariant problems. Due to the serial nature of digital computers, they may encounter major bottlenecks in slow iterations when solving large-scale time interval problems. In recent years, neural networks have been widely used in scientific computing, optimization, and automatic control due to their high parallelism. In fact, not all neural networks can meet the requirements of the system in real time. For example, gradient neural networks are prone to major problems when solving time-varying problems. In addition, researchers have designed some typical recursive neural network solvers. Although they have made great breakthroughs in the effectiveness of solving time-varying problems, they still have problems such as slow convergence speed, insufficient anti-interference performance, and overshoot that affects actual physical control.

[0004] Therefore, the present invention proposes a method for solving the motion trajectory of a robotic arm using a noise-resistant complex-valued recursive neural network, which has many advantages such as a wide application domain, high calculation accuracy, and good noise resistance.

[0005] In the prior art, a patented method for solving time-varying complex-valued linear matrix equations based on a zero-valued neural dynamics model has the following main defects:

[0006] 1. Based on the zero-valued neural dynamics model, theoretically, the model convergence error has an upper bound and cannot converge to zero;

[0007] 2. Many practical problems can be transformed into complex-valued time-varying quadratic programming problems, and a method for solving time-varying complex-valued linear matrix equations based on a zero-valued neural dynamics model is mainly aimed at complex-valued linear matrix equations and does not involve the field of nonlinear optimization. For example, the present invention is mainly applied to the field of complex-valued time-varying quadratic programming.

[0008] 3. It does not involve specific physical application fields. Summary of the invention

[0009] The purpose of the present invention is to provide a method for solving the motion trajectory of a robotic arm using a noise-resistant complex-valued recursive neural network, which solves the problems of slow convergence speed, low accuracy, poor robustness, and easy overshoot when solving based on traditional algorithms.

[0010] The purpose of the present invention is achieved by at least one of the following technical solutions.

[0011] A method for solving the motion trajectory of a robotic arm using a noise-resistant complex-valued recurrent neural network comprises the following steps:

[0012] S1. Establish a mathematical model of the robot arm motion trajectory in the host computer;

[0013] S2, abstracting the mathematical model of step S1 into a time-varying complex-valued quadratic programming problem;

[0014] S3, converting the time-varying complex-valued quadratic programming problem in step S2 into a matrix equation form;

[0015] S4, constructing an energy function associated with the matrix equation in step S3;

[0016] S5, establishing a noise-resistant complex-valued recursive neural network model associated with the energy function in step S4;

[0017] S6, using the noise-resistant complex-valued recursive neural network model established in step S5 to solve the time-varying complex-valued quadratic programming problem;

[0018] S7, outputting a real-time solution to the time-varying complex-valued quadratic programming problem, and displaying a curve of the change of the second norm of the energy function during the solution process through a host computer;

[0019] S8. Convert the real-time solution of the time-varying complex-valued quadratic programming problem obtained in step S7 into control parameters of the robot arm motion trajectory, and control the robot arm to move according to the preset trajectory in real time.

[0020] Furthermore, the mathematical problem contained in step S2 is uniformly modeled into the following time-varying complex-valued quadratic programming problem, specifically:

[0021]

[0022] stA(t)z(t)=b(t)

[0023] Where z(t) is an n-dimensional time-varying complex vector, and is a full-rank coefficient matrix. and Then represent m-dimensional and l-dimensional time-varying complex-valued coefficient vectors respectively.

[0024] Furthermore, in step S3, the time-varying complex-valued quadratic programming problem in step S2 is converted into a matrix equation, as follows:

[0025]

[0026]

[0027] in, is the introduced Lagrange multiplier vector, the superscript H represents the Hermitian transpose, α=n+l. M(t)=G H (t)G(t),N(t)=G H (t)c(t).

[0028] Furthermore, in step S4, an energy function associated with the matrix equation in step S3 is constructed The details are as follows:

[0029]

[0030] Due to the theoretical solution satisfy It can be further inferred that satisfy Obviously, tends to 0, which is equivalent to tend to

[0031] Further, in step S5, the energy function in step S4 is established The associated noise-resistant complex-valued recurrent neural network model is as follows:

[0032]

[0033] Among them, ω, μ and v are positive constants used to adjust the convergence rate and convergence accuracy of the neural network. The subscripts R and I represent the real and imaginary parts of the corresponding complex numbers, respectively, such as and They respectively represent The real and imaginary components of . i is the imaginary unit. in is a complex-valued activation function, which can be expressed as and It is a nonlinear mapping array, consisting of α activation function units that are monotonically increasing, differentiable, and whose partial derivatives are not zero. R and l I Respectively and The pseudo-inverse of Equal to or remain at 0, will converge to 0.

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

[0035] 1. The present invention simplifies, abstracts and models the motion trajectory planning problem of the robot arm into a complex-valued quadratic programming problem, and then solves it through a neural network solver, which is convenient, fast and has good real-time performance;

[0036] 2. Different from numerical methods, the present invention solves related problems based on neural networks, with parallel calculation, high speed and higher efficiency;

[0037] 3. Compared with the classic recursive neural network solver, the present invention adopts a noise-resistant complex-valued recursive neural network solver, which has higher calculation accuracy, strong noise resistance, and will not produce overshoot. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] FIG1 is a flow chart of an embodiment of the present invention;

[0039] Figure 2a Schematic diagram of instantaneous values ​​of real and imaginary components of z(t) obtained by using a noise-resistant complex-valued recursive neural network model to solve a time-varying complex-valued quadratic programming problem in an embodiment of the present invention, Figure 2b A schematic diagram of a z1 simulation result obtained by using a noise-resistant complex-valued recursive neural network model to solve a time-varying complex-valued quadratic programming problem in an embodiment of the present invention; Figure 2c A schematic diagram of a z2 simulation result obtained by using a noise-resistant complex-valued recursive neural network model to solve a time-varying complex-valued quadratic programming problem in an embodiment of the present invention; Figure 2d Schematic diagram of simulation results of ||E(t)||2 obtained by using a noise-resistant complex-valued recursive neural network model to solve a time-varying complex-valued quadratic programming problem in an embodiment of the present invention; Figure 2e is the constant noise interference in the embodiment of the present invention Schematic diagram of the simulation results of log||E(t)||2 obtained by using a noise-resistant complex-valued recurrent neural network model to solve the time-varying complex-valued quadratic programming problem in an environment; Figure 2f is the time-varying noise interference in the embodiment of the present invention Schematic diagram of the simulation results of log||E(t)||2 obtained by using a noise-resistant complex-valued recurrent neural network model to solve the time-varying complex-valued quadratic programming problem in an environment;

[0040] Figure 3a A schematic diagram of an application scenario in an embodiment of the present invention; Figure 3b Schematic diagram of the simulated motion trajectory of the six-link robotic arm tracking the butterfly trajectory in an embodiment of the present invention; Figure 3c Graph showing the butterfly trajectory tracking error of the six-link robotic arm in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0042] Embodiment 1:

[0043] A method for solving the motion trajectory of a robotic arm using a noise-resistant complex-valued recurrent neural network. Figure 1 The flowchart in the embodiment of the present invention includes the following steps:

[0044] S1. Establish a mathematical model of the robot arm motion trajectory in the host computer;

[0045] S2. Simplify and abstract the mathematical model of step S1 into a time-varying complex-valued quadratic programming problem, specifically:

[0046]

[0047] Where z(t) is an n-dimensional time-varying complex vector, and is a full-rank coefficient matrix. and Then represent m-dimensional and l-dimensional time-varying complex-valued coefficient vectors respectively.

[0048] S3, convert the time-varying complex-valued quadratic programming problem in step S2 into the form of a matrix equation. First, define the function of the complex-valued variable z Let z be represented by z=z R +iz I , where z R and z I denote the real and imaginary parts of z respectively, and i denotes the imaginary unit. f(z) can be expressed as a real binary function, i.e., f(z) = g(z R , z I ). According to Brandwood analysis theory, we know that:

[0049]

[0050] Define M(t) = G H (t)G(t),N(t)=G H (t)c(t). Then f(z) can be rewritten as:

[0051] f(z)=z H (t)M(t)z(t)+z H (t)N(t)+N H (t)z(t)+c H (t)c(t) (3)

[0052] Then, we can get:

[0053]

[0054] Introducing the complex-valued Lagrange multiplier vector λ(t) to solve the time-varying complex-valued quadratic programming problem (1), we can obtain:

[0055] L(z(t),λ(t),t)=f(z)-Re(2λ H (t)(A(t)z(t)-b(t))) (5)

[0056] Wherein, the superscript H represents the Hermitian transpose, and Re(·) represents the extraction of the real part of the corresponding complex number. According to the Karush-Kuhn-Tucker (KKT) condition, z(t) is the optimal solution of the time-varying complex-valued quadratic programming problem (1) if and only if L(z(t), λ(t), t) satisfies the following conditions, that is:

[0057]

[0058] Among them, λ * is the conjugate complex number of λ. Formula (6) can be transformed into the following matrix equation:

[0059]

[0060]

[0061] S4. Construct an energy function associated with the matrix equation in step S3 The details are as follows:

[0062]

[0063] Due to the theoretical solution satisfy It can be further inferred that satisfy Obviously, tends to 0, which is equivalent to tend to

[0064] S5. Establish the energy function in step S4 The associated noise-resistant complex-valued recurrent neural network model. First, in order to make Converges to 0, defined as follows about the deviation The integral function of is:

[0065]

[0066] Among them, ω and v are normal value adjustable parameters used to adjust the convergence rate and convergence accuracy of the neural network. is a complex-valued activation function, which can be expressed as is a nonlinear mapping array consisting of α activation function units that are monotonically increasing, differentiable, and whose partial derivatives are not zero. Equal to or remain at 0, will converge to 0.

[0067] In order to make Maintained at 0, and can be obtained directly and quickly The following differential dynamics equation is introduced:

[0068]

[0069] in, and Respectively similar to and and for The real and imaginary components of the ground. μ is an adjustable parameter with a normal value.

[0070] based on and The functional characteristics of , and substituting formula (9) into formula (10), we can get the following equation:

[0071]

[0072] Among them, l R and l I Respectively and The pseudo-inverse. and Respectively represent The real and imaginary components of .

[0073] because The time derivative of The following noise-resistant complex-valued recurrent neural network model can be further obtained, as follows:

[0074]

[0075] S6, using the noise-resistant complex-valued recursive neural network model established in step S5 to solve the time-varying complex-valued quadratic programming problem;

[0076] S7, outputting a real-time solution to the time-varying complex-valued quadratic programming problem, and displaying a curve of the change of the second norm of the energy function during the solution process through a host computer;

[0077] S8. Convert the real-time solution of the time-varying complex-valued quadratic programming problem obtained in step S7 into control parameters of the robot arm motion trajectory, and control the robot arm to move according to the preset trajectory in real time.

[0078] The workflow of this system is now described as follows in conjunction with two specific implementation examples.

[0079] Embodiment 2:

[0080] Consider a time-varying complex-valued quadratic programming problem with the following coefficient matrix:

[0081]

[0082] A(t)=[isin(2t) icos(-2t)],b(t)=exp(-4it)

[0083] In order to simplify the subsequent analysis, the state variables are defined as Its initial value Randomly generated, and the real and imaginary components of each element are in the interval [-20, 20]. Assume that the deviation of the 2 norm is given No more than 0.1% of the maximum range (i.e. ), the time-varying complex-valued quadratic programming problem is solved. The solver used is the following noise-resistant complex-valued recursive neural network model:

[0084]

[0085] First, FIG2 shows the real-time solution and the corresponding radix 2 norm error ||E(t)||2 obtained by solving the time-varying complex-valued quadratic programming problem with the above coefficient matrix using a noise-resistant complex-valued recursive neural network model proposed in the present invention, where the parameters are set to ω=100, v=10, μ=100, and the model is activated by a linear function. In order to avoid the randomness of the simulation results, a total of 5 random repeated experiments were conducted. In each sub-figure, the red dotted line represents the theoretical solution. According to the attached Figure 2a As shown in the figure, both the real and imaginary components of z(t) converge to their respective theoretical values. In addition, the overall simulation results of z1 and z2 are also intuitively shown in the attached figure. Figure 2b and attached Figure 2c Then, as shown in the attached Figure 2d As shown, the global index of ||E(t)||2 converges to 0. The above simulation results confirm the effectiveness of the present invention.

[0086] Furthermore, in the attached Figure 2e and attached Figure 2f The robustness of the invented system is shown in Figure 2. It can be observed that the system can resist constant noise interference. or time-varying noise interference As attached Figure 2e As shown in Figure 2, as the constant disturbance increases, the convergence time of the model hardly increases, and the steady-state error is almost the same. Figure 2f , when the time-varying disturbance increases, although the steady-state error of the model increases slightly, the model still maintains good convergence performance and the convergence speed remains almost unchanged. Therefore, the invented system has good anti-noise performance.

[0087] Embodiment 3:

[0088] As shown in FIG. 3 , the method of the present invention can be applied to solve the motion trajectory problem of a robotic arm. In actual application, the system includes but is not limited to a host computer 1 and a six-link robotic arm (including a controller) 2 .

[0089] By using a method of solving the motion trajectory of a robot arm using a noise-resistant complex-valued recursive neural network of the present invention, the trajectory planning problem of the six-link robot arm is converted into a time-varying quadratic programming problem in the upper computer 1, and then solved based on the noise-resistant complex-valued recursive neural network model, and the solution result is transmitted to the robot arm drive control movement to successfully complete the expected trajectory.

[0090] As shown in Figure 3, Figure b in Figure 3 is a six-link robot simulating the motion trajectory of a butterfly. It can be found that by using a method of solving the motion trajectory of the robot using a noise-resistant complex-valued recursive neural network, the six-link robot tracks the expected butterfly trajectory very well. Figure c in Figure 3 is a trajectory tracking error diagram of the robot, and its error accuracy reaches 10 to the -6th power, indicating that the tracking accuracy of the present invention is relatively high. In summary, the method of solving the motion trajectory of the robot using a noise-resistant complex-valued recursive neural network of the present invention has a good application effect.

Claims

1. A method for solving the motion trajectory of a robotic arm using a noise-resistant complex-valued recursive neural network, characterized in that: S1. Establish a mathematical model of the robot arm motion trajectory in the host computer; S2, abstracting the mathematical model of step S1 into a time-varying complex-valued quadratic programming problem; S3, converting the time-varying complex-valued quadratic programming problem in step S2 into a matrix equation form; S4, constructing an energy function associated with the matrix equation in step S3; S5, establishing a noise-resistant complex-valued recursive neural network model associated with the energy function in step S4; S6, using the noise-resistant complex-valued recursive neural network model established in step S5 to solve the time-varying complex-valued quadratic programming problem; S7, outputting a real-time solution to the time-varying complex-valued quadratic programming problem, and displaying a curve of the change of the second norm of the energy function during the solution process through a host computer; S8. Convert the real-time solution of the time-varying complex-valued quadratic programming problem obtained in step S7 into control parameters of the robot arm motion trajectory, and control the robot arm to move according to the preset trajectory in real time.

2. The method for solving the motion trajectory of a robotic arm using a noise-resistant complex-valued recursive neural network according to claim 1, characterized in that: In step S2, the mathematical model is abstracted into a time-varying complex-valued quadratic programming problem, specifically: stA(t)z(t)=b(t) Where z(t) is an n-dimensional time-varying complex vector, and is a full-rank coefficient matrix. and Then represent m-dimensional and l-dimensional time-varying complex-valued coefficient vectors respectively.

3. The method for solving the motion trajectory of a robot arm using a noise-resistant complex-valued recursive neural network according to claim 2, characterized in that: In step S3, the time-varying complex-valued quadratic programming problem in step S2 is converted into a matrix equation, as follows: in, is the introduced Lagrange multiplier vector, the superscript H represents the Hermitian transpose, α=n+l, M(t)=G H (t)G(t),N(t)=G H (t)c(t).

4. The method for solving the motion trajectory of a robot arm using a noise-resistant complex-valued recursive neural network according to claim 3 is characterized in that: In step S4, an energy function associated with the matrix equation in step S3 is constructed The details are as follows: Since the theoretical solution η * (t) Satisfaction It can be further inferred that η * (t) Satisfaction Obviously, tending to 0 is equivalent to η(t) tending to η * (t).

5. The method for solving the motion trajectory of a robot arm using a noise-resistant complex-valued recursive neural network according to claim 4, characterized in that: In step S5, the energy function in step S4 is established The associated noise-resistant complex-valued recurrent neural network model is as follows: Among them, ω, μ and v are positive constants used to adjust the convergence rate and convergence accuracy of the neural network, and the subscripts R and 1 represent the real and imaginary parts of the corresponding complex numbers, respectively. and They respectively represent The real and imaginary components of , i is the imaginary unit, in is a complex-valued activation function, which can be expressed as and is a nonlinear mapping array, consisting of α activation function units that are monotonically increasing, differentiable, and whose partial derivatives are not 0. R and l I Respectively and The pseudo-inverse of Equal to or remain at 0, will converge to 0.

Citation Information

Patent Citations

  • Repetitive movement planning method for redundancy mechanical arm

    CN106945041A

  • Mobile mechanical arm repetitive motion planning of non-convex anti-noise return-to-zero neural network

    CN114800528A

  • Method for programming repeating motion of redundant robotic arm

    WO2018176854A1

  • Method for solving time-varying continuous algebraic riccati equation on the basis of zeroing neural network

    WO2022227780A1

Cited By

  • Real-time mechanical arm control method based on adaptive error coefficient recurrent neural network

    CN118952228A