A control method for a planar two-link robotic arm with input dead zone constraints
By designing a planar two-link manipulator control method with input dead zone constraints, using virtual control laws and adaptive laws, and combining with a relative threshold event triggering mechanism, we solve the problem that the planar two-link control method in the existing technology cannot achieve limited time stability and stability. The problem of resource waste is eliminated and the effect of high precision and resource saving is achieved.
Patent Information
- Application Number
- CN202211057314.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-08-31
AI Technical Summary
The existing planar two-link control method cannot achieve limited time stability of the system, and does not consider the impact of the input dead zone and limited communication resources, resulting in low control accuracy and waste of resources.
A control method for a planar two-link manipulator with input dead zone constraints is designed. By establishing dynamic equations, defining the error system, designing virtual control laws and adaptive laws, and adopting a relative threshold event triggering mechanism, it is carried out based on the Matlab platform. Simulation experiments are conducted to achieve adaptive compensation of input dead zones and saving of communication resources.
The tracking error of the planar two-link manipulator is realized to converge within a fixed time. The convergence time has nothing to do with the initial state of the system, which improves the control accuracy and saves communication resources while ensuring accuracy.
Smart Images

Figure CN115464639B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of planar two-link control theory, and in particular relates to a planar two-link mechanical arm control method with input dead zone constraints. Background Art
[0002] Since the birth of the robotics industry in 1956, after more than 60 years of development, robots have been widely used in home services, industrial manufacturing, sea and air exploration, military operations and other fields. As a robot that imitates the functions of human arms, robotic arms are widely used due to their high flexibility and ability to complete many complex tasks, which has also prompted robotic arms to become one of the research hotspots in the field of robotics.
[0003] The existing planar two-link control method has at least the following problems:
[0004] (1) Most of the existing control methods cannot achieve finite-time stability of the system.
[0005] (2) Input dead zone is a common constraint in practical systems. Most existing control methods do not consider the impact of input dead zone that may exist in actual applications, so these schemes may not achieve the expected accuracy in practical applications.
[0006] (3) Most of the existing technical solutions do not take into account that the communication resources of the system are limited and a large amount of communication resources are needed to maintain the stability of the system. Summary of the invention
[0007] In view of the existing problems, the purpose of the present invention is to provide a planar two-link robotic arm control method with input dead zone constraints, which can achieve fast finite time stabilization of the system, and the convergence time is independent of the initial state of the system; considering the problem of input dead zone, a corresponding compensation mechanism is designed, which can achieve adaptive compensation of the input dead zone, thereby improving the control accuracy of the system; and an event trigger mechanism is designed, which can save the system's communication resources while ensuring control accuracy, so as to solve the above problems.
[0008] The present invention provides the following technical solutions:
[0009] A planar two-link robot arm control method with input dead zone constraint comprises the following steps:
[0010] S1: Establish the dynamic equations of the planar two-link manipulator;
[0011] S2: Define the error system and design the first virtual control law α i,1 ;
[0012] S3: Design a relative threshold event trigger mechanism;
[0013] S4: Design the second virtual law α i,2 , Adaptive Law and
[0014] S5: Conduct simulation experiments based on the Matlab experimental platform;
[0015] Preferably, step S1 establishes the dynamic equation for the planar two-link robotic arm by using the Lagrangian method: Where q=[q 1 ,q 2 ] T is the joint angle, is the angular velocity, is the angular acceleration, M(q) is the inertia matrix, is the centrifugal force and the Coriolis vector, G(q) is the gravity vector, D(u)=[D 1 (u 1 ),D 2 (u 2 )] T is the input dead zone, u=[u 1 ,u 2 ] T is the input torque; where,
[0016]
[0017]
[0018]
[0019] m i and l i (i=1,2) represent the mass and length of the connecting rod respectively, g is the acceleration due to gravity; c i and i (i=1,2) respectively represent cos(q i ) and sin(q i ), c 12 represents cos(q 1 +q 2 ).
[0020] Preferably, step S1 is to calculate the kinetic equation The coordinate transformation is:
[0021] in, x i,1 =q i , Then the mathematical expression of the input dead zone is:
[0022] Di (u i )=h i u i +g i
[0023]
[0024] Among them, h i,1 >0 is the unknown slope of the line in the negative semi-axis, h i,2 >0 is the unknown slope of the straight line in the positive semi-axis, g i,1 <0 and g i,2 >0 is an unknown turning point, u i is the input torque, D i (u i ) is the model output of the input dead zone.
[0025] Preferably, the error system in step S2 is expressed by the following formula:
[0026] Among them, e i,1 is the tracking error, e i,2 is the virtual error, x i,d is the expected output of the system, α i,1 is a virtual control law, i = 1, 2; then the first virtual control law α i,1 for:
[0027] Among them, a i,1 and b i,1 is a positive design parameter,
[0028] Preferably, step S3 calculates the event trigger control signal ω by the following formula: i (t):
[0029] Among them, the control law u i Calculated by the following formula:
[0030] Among them, δ i >0, 0<ρ i <1, o i >0, R is a real number, inf{·} is the lower bound, k is an integer, t i,k is the kth triggering moment, t i,k+1 is the k+1th triggering moment, m(t) is the measurement error, and m i (t) = ω i (t)-u i (t); where the intermediate control rate Calculated by the following formula:
[0031]
[0032] Q i =[α i,2 ,1] T
[0033] in, and They are and The estimated value of α i,2 is the second virtual control law.
[0034] Preferably, the second control rate α in step S4 is i,2 Calculated by the following formula:
[0035]
[0036] Adaptive rate and Calculated by the following formula:
[0037]
[0038] Among them, a i,2 、b i,2 , i , ν i , η i , κ i and i is a positive design parameter, Φ i (X i )=[Φ i,1 (X i ),Φ i,2 (X i ),...Φ i,n (X i )] T is the neural network basis function vector, Φ i,j (X i ) is the basis function, j = 1, 2, ..., n, n is the number of neurons;
[0039] Preferably, in step S5, in a simulation experiment based on the Matlab experimental platform, the robot arm parameters are selected: m 1 =4kg,m 2 =2kg, l 1 = l 2=0.5m; the initial state of the system is state 1: x 11 (0) = 0.2, x 12 (0) = 0, x 21 (0) = 0.2, x 22 (0) = 0; controller parameters are: a 11 =b 11 =9, a 12 =b 12 =10, a 21 =b 21 =6, a 22 =b 22 =10,κ 1 =κ 2 =0.5, μ 1 =μ 2 =1,λ 1 =λ 2 =v 1 =v 2 =1,ρ 1 =ρ 2 =0.1,o 1 =o 2 =0.1, η 1 =η 2 =ζ 1 =ζ 2 =0.1;
[0040] The sampling period is 0.01s; the neural network Gaussian function is selected as: Where j = 1, 2, ..., 16, the center of the Gaussian function C j The matrix C = [C 1 ,C 2 ,...,C 16 ]as follows:
[0041]
[0042] The beneficial technical effects of the present invention are:
[0043] 1. The control method of the planar two-link manipulator with input dead zone constraint provided by the present invention can realize the convergence of the tracking error of the planar two-link manipulator with input dead zone constraint within a fixed time, and the convergence time is independent of the initial state of the system, and the system can be quickly converged by selecting appropriate parameters;
[0044] 2. The present invention provides a compensation mechanism for the input dead zone, so that the planar two-link manipulator with input dead zone constraints can still have relatively high control accuracy under the influence of the input dead zone;
[0045] 3. The present invention provides a relative threshold event triggering mechanism, which can save the communication resources of a planar two-link robotic arm with input dead zone constraints while ensuring control accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a flow chart of a planar two-link mechanical arm control method with input dead zone constraint provided by the present invention;
[0047] Figure 2 It is a structural schematic diagram of a planar two-link mechanical arm in a preferred embodiment provided by the present invention;
[0048] Figure 3 is an output curve image of the first joint of the planar two-link in a preferred embodiment provided by the present invention;
[0049] Figure 4 is an output curve image of the second joint of the planar two-link in a preferred embodiment provided by the present invention;
[0050] Figure 5 is an error curve image of the first joint of a planar two-link in a preferred embodiment provided by the present invention;
[0051] Figure 6 is an error curve image of the second joint of the planar two-link in a preferred embodiment provided by the present invention;
[0052] Figure 7 is a control signal image of the first joint of the planar two-link in a preferred embodiment provided by the present invention;
[0053] Figure 8 is a control signal image of the second joint of the planar two-link in a preferred embodiment provided by the present invention;
[0054] Fig. 9 is the event time interval of the first joint of the planar two-link in a preferred embodiment provided by the present invention;
[0055] Fig.10 It is the event time interval of the second joint of the planar two-link in a preferred embodiment provided by the present invention. DETAILED DESCRIPTION
[0056] The embodiments of the present invention are described in detail below. The following embodiments are implemented on the premise of the technical solution of the present invention, and detailed implementation methods and specific operation processes are given, but the protection scope of the present invention is not limited to the following embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0057] Reference to "embodiments" herein 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 herein may be combined with other embodiments without conflict.
[0058] Example
[0059] See also Figure 1 , 2 The present embodiment provides a planar two-link robot arm control method with input dead zone constraints, which includes the following steps:
[0060] S1: Establish the dynamic equations of the planar two-link manipulator;
[0061] S2: Define the error system and design the first virtual control law α i,1 ;
[0062] S3: Design a relative threshold event trigger mechanism;
[0063] S4: Design the second virtual law α i,2 , Adaptive Law and
[0064] S5: Conduct simulation experiments based on the Matlab experimental platform.
[0065] Specifically, step S1 establishes the dynamic equation for the planar two-link robot arm by using the Lagrangian method: Where q=[q 1 ,q 2 ] T is the joint angle, is the angular velocity, is the angular acceleration, M(q) is the inertia matrix, is the centrifugal force and the Coriolis vector, G(q) is the gravity vector, D(u)=[D 1 (u 1 ),D 2 (u 2 )] T is the input dead zone, u=[u 1 ,u 2 ] T is the input torque; where,
[0066]
[0067]
[0068]
[0069] m i and l i (i=1,2) represent the mass and length of the connecting rod respectively, g is the acceleration due to gravity; c i and i (i=1,2) respectively represent cos(q i ) and sin(q i ), c 12 represents cos(q 1 +q 2 ).
[0070] Step S1: Kinetic equation The coordinate transformation is:
[0071] in, x i,1 =q i , Then the mathematical expression of the input dead zone is:
[0072] D i (u i )=h i u i +g i
[0073]
[0074] Among them, h i,1 >0 is the unknown slope of the line in the negative semi-axis, h i,2 >0 is the unknown slope of the straight line in the positive semi-axis, g i,1 <0 and g i,2 >0 is an unknown turning point, u i is the input torque, D i (u i ) is the model output of the input dead zone.
[0075] The error system in step S2 is expressed by the following formula:
[0076] Among them, e i,1 is the tracking error, e i,2 is the virtual error, x i,d is the expected output of the system, α i,1 is a virtual control law, i = 1, 2; then the first virtual control law α i,1 for:
[0077] Among them, a i,1 and b i,1 is a positive design parameter,
[0078] Step S3 calculates the event trigger control signal ω by the following formula: i (t):
[0079] Among them, the control law u i Calculated by the following formula:
[0080] Among them, δ i >0, 0<ρ i <1, o i >0, R is a real number, inf{·} is the lower bound, k is an integer, t i,k is the kth triggering moment, t i,k+1 is the k+1th triggering moment, m(t) is the measurement error, and m i (t) = ω i (t)-u i (t); where the intermediate control rate Calculated by the following formula:
[0081]
[0082] Q i =[α i,2 ,1] T
[0083] in, and They are and The estimated value of α i,2 is the second virtual control law.
[0084] The second control rate α in step S4 i,2 Calculated by the following formula:
[0085]
[0086] Adaptive rate and Calculated by the following formula:
[0087]
[0088] Among them, a i,2 、b i,2 , i , ν i , ηi , κ i and i is a positive design parameter, Φ i (X i )=[Φ i,1 (X i ),Φ i,2 (X i ),...Φ i,n (X i )] T is the neural network basis function vector, Φ i,j (X i ) is the basis function, j = 1, 2, ..., n, n is the number of neurons;
[0089] Step S5: In the simulation experiment based on the Matlab experimental platform, select the robot arm parameters: m 1 =4kg,m 2 =2kg, l 1 = l 2 =0.5m; the initial state of the system is state 1: x 11 (0) = 0.2, x 12 (0) = 0, x 21 (0) = 0.2, x 22 (0) = 0; controller parameters are: a 11 =b 11 =9, a 12 =b 12 =10, a 21 =b 21 =6, a 22 =b 22 =10,κ 1 =κ 2 =0.5, μ 1 =μ 2 =1,λ 1 =λ 2 =v 1 =v 2 =1,ρ 1 =ρ 2 =0.1,o 1 =o 2 =0.1, η 1 =η 2 =ζ 1 =ζ 2 =0.1;
[0090] The sampling period is 0.01s; the neural network Gaussian function is selected as: Where j = 1, 2, ..., 16, the center of the Gaussian function C j The matrix C = [C 1 ,C 2 ,...,C 16 ]as follows:
[0091]
[0092] The simulation results are as follows Figure 3-Figure 10 As shown, it is clear that all signals are bounded. Figure 3 and Figure 4 It can be seen that even though the system is affected by the input dead zone, it still has good tracking accuracy. Figure 5 and Figure 6 It expresses the tracking error under different system initial states, where state 2: x 11 (0) = 0.1, x 12 (0) = 0, x 21 (0) = 0.1, x 22 (0) = 0; State 3: x 11 (0) = 0.05, x 12 (0) = 0, x 21 (0) = 0.05, x 22 (0) = 0; As can be seen from the figure, under different initial system states, the system converges very quickly. The control input signal of the system is Figure 7 and Figure 8 shown. Fig. 9 and Fig.10 The time interval between trigger events is described, with the shortest time interval being 0.01s and the longest being 0.46s. Therefore, a large amount of communication resources are saved and there is no Zeno phenomenon.
[0093] The above technical solution provided by the embodiment of the present invention can realize the convergence of the tracking error of the planar two-link robotic arm within a fixed time, and the convergence time is independent of the initial state of the system, and the system can be quickly converged by selecting suitable parameters; at the same time, while ensuring accuracy, the communication resources of the system are saved.
[0094] The preferred specific embodiments of the present invention are described in detail above. It should be understood that ordinary technicians in the field can make many modifications and changes based on the concept of the present invention without creative work. Therefore, all technical solutions that can be obtained by technicians in the technical field based on the concept of the present invention through logical analysis, reasoning or limited experiments on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. A planar two-link robot arm control method with input dead zone constraint, characterized in that: The following steps are involved: S1: Establish the dynamic equations of the planar two-link manipulator; S2: Define the error system and design the first virtual control law α i,1 ; S3: Design a relative threshold event trigger mechanism; S4: Design the second virtual law α i,2 , Adaptive Law and S5: Conduct simulation experiments based on the Matlab experimental platform; The step S1 establishes the dynamic equation for the planar two-link robot arm by using the Lagrangian method: Where q = [q1, q2] T is the joint angle, is the angular velocity, is the angular acceleration, M(q) is the inertia matrix, are the centrifugal force and the Coriolis vector, G(q) is the gravity vector, D(u)=[D1(u1),D2(u2)] T is the input dead zone, u=[u1,u2] T is the input torque; where, m i and l i (i=1,2) represent the mass and length of the connecting rod respectively; g is the acceleration due to gravity; c i and i (i=1,2) respectively represent cos(q i ) and sin(q i ), c 12 represents cos(q1+q2); The step S1 is to calculate the kinetic equation The coordinate transformation is: in, x i,1 =q i , i=1,2; then the mathematical expression of the input dead zone is: D i (u i )=h i u i +g i Among them, h i,1 >0 is the unknown slope of the line in the negative semi-axis, h i,2 >0 is the unknown slope of the straight line in the positive semi-axis, g i,1 <0 and g i,2 >0 is an unknown turning point, u i is the input torque, D i (u i ) is the model output of the input dead zone; The error system in step S2 is expressed by the following formula: Among them, e i,1 is the tracking error, e i,2 is the virtual error, x i,d is the expected output of the system, α i,1 is a virtual control law, i = 1, 2; then the first virtual control law α i,1 for: Among them, α i,1 and b i,1 is a positive design parameter, The step S3 calculates the event trigger control signal ω by the following formula i (t): Among them, the control law u i Calculated by the following formula: Among them, δ i >0, 0<ρ i <1, o i >0, R is a real number, inf{·} is the lower bound, k is an integer, t i,k is the kth triggering moment, t i,k+1 is the k+1th triggering moment, m(t) is the measurement error, and m i (t) = ω i (t)-u i (t); where the intermediate control rate Calculated by the following formula: Q i =[α i,2 ,1] T in, and They are and The estimated value of α i,2 is the second virtual control law; The second control rate α in step S4 i,2 Calculated by the following formula: Adaptive rate and Calculated by the following formula: Among them, a i,2 , b i,2 , i , ν i , η i , κ i and i is a positive design parameter, Φ i (X i )=[Φ i,1 (X i ),Φ i,2 (X i ),…Φ i,n (X i )] T is the neural network basis function vector, Φ i,j (X i ) is the basis function, j = 1, 2, ..., n, n is the number of neurons; i=1,2.
2. A planar two-link robot arm control method with input dead zone constraint according to claim 1, characterized in that: In the simulation experiment based on the Matlab experimental platform, the parameters of the robot arm are selected as follows: m1=4kg, m2=2kg, l1=l2=0.5m; the initial state of the system is state 1: x 11 (0) = 0.2, x 12 (0) = 0, x 21 (0) = 0.2, x 22 (0) = 0; controller parameters are: a 11 =b 11 =9, a 12 =b 12 =10, a 21 =b 21 =6, a 22 =b 22 =10, κ1=κ2=0.5, μ1=μ2=1, λ1=λ2=ν1=ν2=1, ρ1=ρ2=0.1, o1=o2=0.1, eta1=eta2=ζ1=ζ2=0.1; The sampling period is 0.01s; the neural network Gaussian function is selected as: Where j = 1, 2, ..., 16, the center of the Gaussian function C j The matrix C=[C1,C2,...,C 16 ]as follows:
