Singular perturbation control method for flexible manipulator based on state constraints
Through the state-limited singular perturbation control method, combined with dual time scale analysis and fuzzy adaptive technology, the control accuracy and safety issues of the flexible manipulator under unknown interference are solved, and the system's efficient anti-interference and precise position tracking are achieved. .
Patent Information
- Application Number
- CN202210898573.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-28
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-07-28
AI Technical Summary
When a flexible manipulator faces unknown interference, the control accuracy is low and the back-stepping design is complex, which increases the risk of safety accidents. The traditional singular perturbation method cannot effectively handle system errors and nonlinear interference.
The state-limited singular perturbation control method is used to decouple the system into slow subsystems and fast subsystems through dual time scale analysis. The back-stepping method and command filtering technology are used to deal with the computational explosion problem of the virtual control law, and fuzzy automatic control is introduced. Adaptation technology handles nonlinear interference and constructs Lyapunov function for state constraints.
It effectively simplifies the back-stepping derivation design, improves the anti-interference ability and control accuracy of the system, ensures that the slow subsystem state error converges within the specified range, and reduces the computational complexity and error risk.
Smart Images

Figure CN115284284B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of flexible manipulator position tracking control, and in particular relates to a flexible manipulator singular perturbation control method based on state limitation. Background Art
[0002] Various studies in recent years have shown that flexible robotic arms are widely used in assembly line human-machine collaboration, workpiece assembly, gluing and polishing. Combined with the rapid development of machine vision technology, they have high research value in manufacturing and medical industries. Compared with rigid robots, flexible robots have obvious continuity and multiple degrees of freedom based on the harmonic reducer. When facing complex and multi-obstacle environments and refined operation requirements, they are flexible and accurate in movement, and have a wide range of joint torsion. However, there are many unknown interferences in actual working conditions, and the flexible structure has inherent elastic vibrations, which seriously affect the control accuracy and response speed. Therefore, many scholars are committed to studying how to improve the anti-interference and control effect of flexible robotic arms.
[0003] The singular perturbation method is widely used in the field of flexible manipulator control. Its control algorithm is refined and has the advantages of approximately simplifying the system model and reducing the complexity of calculation and design. Under the premise of a large joint stiffness coefficient, it can adopt two time scales for analysis and decouple the original system into two systems, slow and fast, to design controllers separately. At the same time, it has requirements for the stiffness coefficient of the flexible manipulator, taking into account the actual advantages of large stiffness coefficients, i.e. weak flexible joints, in industrial manufacturing, which have good anti-deformation properties, but also limits its scope of application. Traditional singular perturbations do not consider the impact of large errors caused by unknown interference and other factors on the control accuracy and safety of the system.
[0004] In the traditional backstepping method for the control design of flexible robotic arms, the virtual control function is relatively complex, and there are problems such as computational explosion, and the unknown nonlinear functions that appear cannot be processed, which makes it difficult to implement in both simulation verification and actual implementation. In view of the above situation, the introduction of command filtering technology and fuzzy adaptive technology enables the backstepping method to overcome the computational explosion and approximate the unknown nonlinear function in the design of the control law, thus overcoming the defects of the traditional backstepping method. In addition, the log-type obstacle Lyapunov function can be combined with the backstepping method for control design to achieve the purpose of constrained control of the robotic arm state. Combining the above-mentioned command filtering and fuzzy adaptive technology can simultaneously achieve the effect of improving control accuracy, system anti-interference ability and solving computational complexity. Summary of the invention
[0005] In view of the current technical problems such as unknown disturbances weakening the control effect of flexible robotic arm systems, complex derivation of joint position tracking in backstepping design, and safety accidents caused by excessive errors, the present invention proposes a flexible robotic arm singular perturbation control method based on state constraints to perform position tracking control on the flexible robotic arm system.
[0006] In order to achieve the above object, the present invention adopts the following technical scheme:
[0007] Step 1. Establish a mathematical model of the multi-joint flexible manipulator dynamics system considering unknown disturbances, and perform system analysis on the basis of slow time scale and fast time scale according to the dual time scale analysis method, and then obtain the corresponding bradyson and tachyon decoupling system;
[0008] Step 2. Control design is performed on the decoupled fast and slow subsystems respectively; the fast subsystem is directly designed by using the boundary layer principle in the traditional singular perturbation fast subsystem control; the slow subsystem is designed by backstepping method, and a second-order filter and error compensation signal are constructed to solve the computational explosion problem of the virtual control law in the backstepping design. The state equation of the slow subsystem is backstepped by selecting the obstacle Lyapunov function, and the fuzzy logic system is introduced to perform fuzzy approximation processing on the unknown nonlinear function, and finally the slow subsystem control law is obtained;
[0009] Step 3. Select the Lyapunov function of the tachyon and slow subsystems for derivation, and then prove the Lyapunov stability of the tachyon and slow subsystems controlled by the state-constrained flexible manipulator singular perturbation control method designed in step 2.
[0010] The present invention has the following advantages:
[0011] (1) The method of the present invention is a control method proposed for a flexible manipulator. In the process of combining with the backstepping method, the backstepping derivation design is simplified. The designed control law and the weakly flexible manipulator targeted by the singular perturbation have more practical application value.
[0012] (2) The method of the present invention effectively designs the slow subsystem. The introduced barrier Lyapunov function enables the state error of the slow subsystem designed by the singular perturbation method to converge to a sufficiently small neighborhood, and the system satisfies the constraint conditions.
[0013] (3) The method of the present invention introduces a command filter to further reduce the calculation of virtual control and compensates the filtering error to a certain extent by constructing a compensation signal, thereby ensuring the convergence of the system error variable.
[0014] (4) The method of the present invention combines the fuzzy approximation operator with the adaptive technology to deal with the unknown nonlinear interference terms in the flexible robotic arm system, effectively improving the anti-interference ability and control accuracy of the flexible robotic arm. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is an overall schematic diagram of a system master controller composed of a slow sub-controller and a fast sub-controller and a composite controlled object of an n-link singular perturbation flexible manipulator system in an embodiment of the present invention.
[0016] Figure 2 It is a tracking response curve diagram of the single-link joint angular position and the desired angular position after adopting the control method of the present invention.
[0017] Figure 3 It is a response curve diagram of the single-link joint angular position and the desired angular position tracking error after adopting the control method of the present invention.
[0018] Figure 4 It is a waveform diagram of the overall control law of a single-link system after adopting the control method of the present invention.
[0019] Figure 5 This is a diagram showing the error variable limitation of the single-link slow subsystem after the control method of the present invention is adopted.
[0020] Figure 6 It is a tracking response curve diagram of the double-joint angular position of the two-link and the desired angular position after the control method of the present invention is adopted.
[0021] Figure 7 It is a tracking error diagram of the double-joint angular position of the two-link and the desired angular position after the control method of the present invention is adopted.
[0022] Figure 8 This is a diagram showing the error variable limitation of the two-link slow subsystem after the control method of the present invention is adopted. DETAILED DESCRIPTION
[0023] The basic concept of the present invention is: to solve the problems of low control accuracy of flexible manipulators due to unknown disturbances, complex derivation of joint position tracking in backstepping design, and safety accidents caused by excessive errors, the method of the present invention simplifies the flexible joint system through singular perturbation decoupling to reduce the complexity of backstepping derivation; uses log-type barrier Lyapunov function to constrain the state error of the slow subsystem; introduces instruction filtering and fuzzy adaptation to solve the problems of calculation explosion in backstepping design and the influence of nonlinear interference on the system, effectively overcomes the problem of interference reducing control accuracy, has a better position tracking effect, and can ensure that the state quantity of the slow subsystem is within the specified constraint range.
[0024] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0025] Figure 1 The overall schematic diagram of the system master controller composed of the slow and fast controllers and the composite controlled object of the n-link singular perturbation flexible manipulator system is shown in Figure 1. Figure 1 It involves a state-constrained singular perturbation slow sub-controller, a boundary layer principle-based fast sub-controller, a fuzzy adaptive technology unit and a filtering compensation mechanism.
[0026] The control process of the method of the present invention is as follows: the four output quantities of the joint position, speed, angular position and speed of the flexible robotic arm system are input into the fast sub-controller to generate a fast sub-control signal; they are input into the fuzzy adaptive module to generate an adaptive law, and then the adaptive law is sent to the slow sub-controller; the difference generated after comparison with the given target position is sent to the slow sub-controller, and the virtual control law in the slow sub-controller is input into the instruction filter to generate a filtered output signal, which is input into the slow sub-controller to generate a slow sub-control signal on the one hand, and is input into the error compensation signal module to generate an error compensation signal on the other hand, and is input into the slow sub-controller; the slow and fast control signals generated by the slow sub-controller and the fast sub-controller are added as a total control signal and input into the flexible robotic arm system to achieve overall control of the system.
[0027] like Figure 1 As shown, the singular perturbation control method of a flexible manipulator based on state constraints includes the following steps:
[0028] Step 1. Establish a mathematical model of the multi-joint flexible manipulator dynamics system considering unknown disturbances, and perform system analysis on the basis of slow time scale and fast time scale according to the dual time scale analysis method, and then obtain the corresponding bradyson and tachyon decoupling system. The specific process is as follows:
[0029] The mathematical model of the multi-joint flexible robotic arm dynamics system is shown in formulas (1) and (2).
[0030]
[0031]
[0032] Where q∈R n represents the joint position vector, represents the joint velocity vector, Represents the joint acceleration vector; M(q)∈R n*n is the positive definite inertia matrix, is the Coriolis force and centrifugal force matrix, G(q)∈R n represents the gravity vector, K∈R n*n is the diagonal matrix of joint stiffness coefficients, Represents the motor side angle vector; J∈R n*n is the joint motor moment of inertia matrix, u∈R n is the joint motor torque control input vector.
[0033] λ1∈R n represents the model error on the connecting rod side, λ2∈R n Represents the model error on the motor side; χ1∈R n represents the external random interference received by the arm joint; χ2∈R n Represents the external random interference received by the motor; the model errors λ1, λ2 and the external random interferences χ1, χ2 are all bounded terms, and there is a known constant λ * and χ * , satisfying ||λ w ||≤λ * ,||χ w ||≤χ * , where w=1,2.
[0034] Let the joint position vector q and the joint torque be the slow and fast subvariables respectively, perform singular perturbation decoupling, and decouple the flexible joint dynamics system into a low-order slow subsystem and a boundary layer fast subsystem. The decoupling process is as follows:
[0035] Let K = ε -2 K1, where ε is a parameter and K1 is a positive definite parameter matrix.
[0036] In the decoupling analysis process, the parameter ε has different values at different time scales.
[0037] Specifically, the parameter ε is considered to be 0 at a slow time scale to obtain a unique solution. When analyzing at a fast time scale, the parameter ε is taken as a small value close to 0. By constructing decoupling models at different scales and then performing control design, in the process of designing the tachyon controller, this parameter ε takes a small value at a fast time scale, and the tachyon controller parameters are constructed.
[0038] Assume the joint torque Z is:
[0039]
[0040] Substituting formula (3) into formula (1) and formula (2) respectively, we can obtain the following formulas (4) and (5).
[0041]
[0042]
[0043] in, Represents the second-order derivative of the joint torque Z; further, formula (6) is obtained from formula (4).
[0044]
[0045] Substituting formula (6) into formula (5) yields:
[0046]
[0047] Define the joint motor torque control input vector u as the system control law, then u is represented by the fast subsystem input u f and the slow subsystem input u s The combination of u = u s +u f .
[0048] Let ε = 0 and substitute into formula (5) to obtain the unique solution considering only the slow time scale.
[0049]
[0050] Here u=u s That is u f =0, It means that only the elastic moment of the slow-scale target is considered, and its tracking error is
[0051] Substituting formula (8) into formula (4) yields:
[0052]
[0053] Among them, λ = λ1 + λ2, χ = χ1 + χ2; They represent the target joint position, velocity, and acceleration considering only the slow scale. Substituting ε=0 into formula (7), we get:
[0054]
[0055] Assumptions On fast time scales τ = ε -1 t is regarded as a constant, then Z f to represent the boundary layer fast subsystem; Substituting into formula (5), here Let ε be a number greater than 0 and infinitely close to 0, then we can approximate:
[0056]
[0057] Substituting formula (10) into formula (11), we obtain:
[0058]
[0059] In summary, the mathematical model expressions of the slow and fast subsystems of the flexible joint manipulator are obtained, as shown in formulas (13) and (14):
[0060]
[0061]
[0062] Step 2. Control design is performed on the decoupled fast and slow subsystems respectively. The fast subsystem is directly designed based on the boundary layer principle in the traditional singular perturbation fast subsystem control; the slow subsystem is designed using the backstepping method, and a second-order filter and error compensation signal are constructed to solve the computational explosion problem of the virtual control law in the backstepping design. The state equation of the slow subsystem is backstepped by selecting the obstacle Lyapunov function, and the fuzzy logic system is introduced to perform fuzzy approximation processing on the unknown nonlinear function, and finally the slow subsystem control law is obtained. The specific process is as follows:
[0063] Set up the second-order filter as follows:
[0064]
[0065] Define h j =[h j1 ,...,h jn ] T is the output of the second-order filter, i=1,...,n, j=1,2; h j1 ,...,h jn Indicates h j The 1st,...,nth components. Definition is the input of the second-order filter; With g n represents the filter parameters, and g n >0. h2(0) = 0. Where h1(0) and h2(0) represent the initial values of h1 and h2 respectively. express Assume that o1 and o2 are both positive numbers. For any time, if And for any constant and g n satisfy g n >0, all exist where k 1i is a positive constant, and as well as All are bounded.
[0066] The error compensation signal is defined as follows:
[0067]
[0068] Among them, ξ j represents the jth error compensation signal, ξ j =[ξ j1 ,...,ξ jn ] T ,ξ j1 ,...,ξ jn Respectively represent ξ j The 1st,...,nth components of j represents the gain matrix of the error compensation signal, μ j =diag[μ j1 ,...,μ jn ]>0,μ j1 ,...,μ jn Respectively represent μ j The 1st, ..., nth components of ji >0; define x 1,c =[x 1,c1 ,...,x 1,cn ] is the input α1=[α 11 ,...,α 1n ] T The second-order filter output when α1 represents the virtual control law in the backstepping design, α 11 ,...,α 1n represents the 1st,...,nth components of α1; x 1,c1 ,...,x 1,cn Represents x 1,c The 1st,...,nth components of . According to the set second-order filter, we know that |x 1,ci -α 1i |≤k 1i , constant k 1i >0, then Where μ0=min{2(μ 1i -1),2(μ 2i -1)}, that is, ξ ji Bounded.
[0069] Step 2.1. Design the tachyon control law.
[0070] Assume that the positive definite matrix K f and K2 satisfies: K f =K2 / ε; K2>0 and its selection should ensure the stability of the tachyon system, ε should be greater than 0 and infinitely close to 0, and the tachyon control law u should be selected f for:
[0071]
[0072] Step 2.2. Design the bradynonic control law.
[0073] To establish the mathematical model of the slow subsystem, let x j represents the state variable, x j =[x j1 ,...,x jn ] T , x j1 ,...,x jn Represents x j For the 1st, ..., nth components, let the state variable x1 be q and the state variable x2 be
[0074] Define x d is the expected trajectory, x d =[x d1 ,...,x dn ] T , where x d1 ,...,x dn Represents x d The 1st, ..., nth components.
[0075] x d and are all continuously differentiable and smooth and bounded, then formula (13) can be rewritten as:
[0076]
[0077] Where, M = M(x1), C = C(x1, x2), G = G(x1);
[0078] The tracking error variable and compensation error are defined as shown in formula (19) and formula (20) respectively:
[0079]
[0080]
[0081] Among them, z1 and z2 are tracking error variables, v1 and v2 are compensation errors; 11 ,...,z 1n represents the 1st,...,nth component of z1; z 21 ,...,z 2n represents the 1st, ..., nth components of z2; v 11 ,...,v 1n represents the 1st,...,nth component of v1; v 21 ,...,v 2n represents the 1st, ..., nth components of v2; define the compact set Ωv ={|v ji <k bji |,j=1,2;i=1,2,...,n};where k bj represents the state constraint limit value, k bj =[k bj1 ,...,k bjn ] T , k bj1 ,...,k bjn Indicates k bj The 1st,...,nth components of bji is a normal number.
[0082] The barrier Lyapunov function V1 is selected as:
[0083]
[0084] Set k vj for k vj =[k vj1 ,...,k vjn ] T , k vj1 ,...,k vjn Respectively represent k vj The 1st, ..., nth components of , then taking the derivative with respect to V1, we get:
[0085]
[0086] Substituting formula (19) and formula (20) into formula (22), we obtain:
[0087]
[0088] Substituting the error compensation signal, i.e., formula (16), and the mathematical model of the slow subsystem, i.e., formula (13), into formula (23), we obtain:
[0089]
[0090] Select the virtual control law α1 and the derivative of the error compensation signal As shown in the following formulas (25) and (26):
[0091]
[0092]
[0093] Substituting formulas (25) and (26) into formula (24), we obtain:
[0094]
[0095] The barrier Lyapunov function V2 is selected as:
[0096]
[0097] Taking the derivative of V2, we get:
[0098]
[0099] Select the derivative of the error compensation signal for:
[0100]
[0101] Let D I =(J+M) -1 , define D Ii Yes D I The i-th row vector of , substituting formula (30) into formula (29) yields:
[0102]
[0103] Where f=[f1,...,f n ] T is an unknown nonlinear function, and a fuzzy operator is introduced for approximation; f1,...,f n is the 1st,...,nth component of f. According to the universal approximation theorem, for any given positive constant η>0, define Q=[x1,x2] T , there exists a fuzzy operator W T S(Z),W=[W1,...,W n ] T ,S(Q)=[S1,...,S n ] T ,δ(Q)=[δ1,...,δ n ] T .
[0104] Where W represents the weight vector matrix; S(Q) represents the basis function vector matrix; δ(Q) is the fuzzy approximation error, W i represents the weight vector, S i represents the basis function vector, δ i represents the fuzzy approximation error component, i=1,...,n, such that:
[0105] f=D I (-Cx2-λ-χ)=W T S(Q)+δ(Q), and it satisfies ||δ(Q)||≤η, the following formula holds:
[0106]
[0107] Among them, l represents a positive parameter; W i represents the i-th weight vector of the weight vector matrix W; S i represents the i-th basis function vector of the basis function vector matrix S. Combining formulas (31) and (32), we get:
[0108]
[0109] Define θ as an adaptive variable, and θ satisfies:
[0110]
[0111] in, is the estimated value of the variable θ, is the estimation error.
[0112] Design the slow subsystem input u s is the brady control law, as shown in formula (35);
[0113]
[0114] in,
[0115] The slow control law u s That is, substitute formula (35) into formula (33) to obtain:
[0116]
[0117] The total system barrier Lyapunov function of the slow sub is taken as:
[0118]
[0119] Among them, r1 represents a positive number; taking the derivative of V, we get:
[0120]
[0121] Select adaptive law for:
[0122]
[0123] Among them, m1 is a positive parameter.
[0124] At this point, the design of singular perturbation control for flexible robotic arms based on state constraints is completed.
[0125] Step 3. Select the Lyapunov function of the tachyon and slow subsystems for derivation, and then prove the Lyapunov stability of the tachyon and slow subsystems controlled by the state-constrained flexible manipulator singular perturbation method designed in step 3. The specific stability analysis process is as follows:
[0126] Step 3.1. Proof of stability of the fast subsystem.
[0127] Substituting formula (3) into formula (17), we obtain:
[0128]
[0129] because is assumed to be constant on fast time scales, then Substituting into formula (40) we get:
[0130]
[0131] Substituting formula (41) into formula (14), we obtain:
[0132]
[0133] To verify the stability of the fast subsystem, the Lyapunov function V is selected f1 =(K1 / 2ε 2 )[J -1 +M(q) -1 ]Z f T Z f According to the dynamic model of the flexible manipulator, M(q) and J are both positive definite, so V f1 >0.
[0134] V f1 The derivative is:
[0135]
[0136] set up Learn that V f2 >0,to V f2 The derivative is:
[0137]
[0138] Substituting formula (42) into formula (44), we obtain:
[0139]
[0140] Because K2 and J are both positive definite matrices, and ε>0, The fast subsystem is stable.
[0141] Step 3.2. Proof of stability of the slow subsystem.
[0142] Substituting formula (39) into formula (38) yields:
[0143]
[0144] According to Young's inequality, we get:
[0145]
[0146] Substituting formula (47) into formula (46) yields:
[0147]
[0148] because And there exists a positive number β for all k bji and v ji All meet get:
[0149]
[0150] Where, C1=min{μ 11 ,μ 12 ,μ 21 ,μ 22 ,m1},
[0151] and and are all bounded, and combined with formula (39), we know It must be bounded. Multiply both sides of (49) have to:
[0152]
[0153] At this time, integrating formula (50) in [0, t] yields:
[0154]
[0155] Among them, V(0) represents the initial value of V;
[0156] Known|v ji |<|k bji |, and because v ji =z ji -ξ ji Learn |z ji |≤|v ji |+|ξ ji |≤|k bji |+|ξ ji |, get z jiBounded.
[0157] Since α1 is the sum of z1 and x d function, and |x 1,ci -α 1i | is bounded, then x 1,ci Bounded, knowing the system state x 1i and x 2i There are also boundaries.
[0158] According to formula (51), we get:
[0159]
[0160] Taking the exponents on both sides of formula (52) yields
[0161] Also because but
[0162] If V(0)=C2 / C1, then we can conclude
[0163] If V(0)≠C2 / C1, for any There exists T when t>T That is, when t→∞, This means that it guarantees
[0164] Select appropriate μ1, μ2, k b1 , k b2 make and They all converge to a smaller neighborhood close to the origin, which verifies that if z1 is small enough, the slow subsystem is stable.
[0165] In order to verify the effectiveness of the method of the present invention, the present invention also uses the method of the present invention to perform simulation verification on a single-link and a double-link flexible robotic arm system in a MATLAB / Simulink environment.
[0166] Single connecting rod parameters:
[0167] The selected system parameters are M = 1kg·m 2 , J = 1kg·m 2 , G = 10sin(q)N, C = 0N·m / rad, K = 1600N·m / rad, given the desired trajectory q d =sin(t)rad.
[0168] The unknown interference is selected as λ1+χ1=0.7cos(t), λ2+χ2=0.6cos(t); the controller parameters are μ1=17,μ2=22, kb1 =0.25, k b2 =1.5, k1=16, k2=8, ε=0.1; the fuzzy set is The adaptive parameters are l=0.5, r1=0.1, m1=0.3; the command filter parameters are g n =250.
[0169] Double connecting rod parameters: The parameter units are the same as those of the single connecting rod, as follows
[0170]
[0171]
[0172]
[0173]
[0174]
[0175] Among them, q(1) represents the position of joint 1 in the two-link, and q(2) represents the position of joint 2 in the two-link.
[0176] The corresponding simulation results are as follows Figures 2 to 8 As shown. Among them:
[0177] Figure 2 and Figure 3 The method of the present invention shows that the single link joint position x1 tracks the target position x d and tracking error; Figure 2 and Figure 3 It can be seen that the joint position can track the given target trajectory well and has high control accuracy.
[0178] Figure 4 is the input response curve of the system total control law composed of the control input of the slow subsystem and the fast subsystem under the method of the present invention; Figure 4 It can be seen that the control law curve responds smoothly, without large fluctuations, and the control effect is stable.
[0179] Figure 5 (a) and Figure 5 (b) shows the restricted situations of |z1| and |z2| considering the state constraints under the method of the present invention. It can be seen that the position tracking error z1 and the speed tracking error z2 of the single link are both constrained within the specified limits.
[0180] Figure 6 It is the tracking response curve of the double-joint angular position of the two-link and the desired angular position after adopting the control method of the present invention.
[0181] Figure 7 It is the tracking error between the double-joint angular position of the two-link and the desired angular position after the control method of the present invention is adopted.
[0182] Figure 8 This is the situation where the error variable of the two-link slow subsystem is limited after the control method of the present invention is adopted. Figure 8 (a) and (b) show the position tracking error z of the two-link joint 1 and joint 2 respectively. 1i and the speed tracking error z 2i All are restricted within the specified limits, achieving the constraint effect.
[0183] Depend on Figures 6 to 8 The feasibility of the method of the present invention in multi-joint application was verified.
[0184] For the flexible joint system considering unknown interference, the method of the present invention can not only effectively overcome external interference, but also ensure that all output errors are constrained within the specified range, further improving the control accuracy of the slow subsystem. In addition, the slow subsystem control law can also make the slow subsystem meet the state constraint conditions under the premise of ensuring that all signals of the system are bounded.
[0185] In summary, no matter from the theoretical stability proof or from the simulation results, the method of the present invention has achieved the expected goals of improving the control effect under unknown disturbances, reducing the derivation and calculation complexity, and meeting the state constraints.
[0186] Of course, the above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiments. It should be noted that all equivalent substitutions and obvious deformation forms made by any technician familiar with the field under the guidance of this specification fall within the essential scope of this specification and should be protected by the present invention.
Claims
1. A singular perturbation control method for a flexible manipulator based on state constraints, characterized in that: The steps include: Step 1. Establish a mathematical model of the multi-joint flexible manipulator dynamics system considering unknown disturbances, and perform system analysis on the basis of slow time scale and fast time scale according to the dual time scale analysis method, and then obtain the corresponding bradyson and tachyon decoupling system. The specific process is as follows: The mathematical model of the multi-joint flexible manipulator dynamics system is shown in formula (1) and formula (2); Where q∈R n represents the joint position vector, represents the joint velocity vector, Represents the joint acceleration vector; M(q)∈R n*n is the positive definite inertia matrix, is the Coriolis force and centrifugal force matrix, G(q)∈R n represents the gravity vector, K∈R n*n is the diagonal matrix of joint stiffness coefficients, Represents the motor side angle vector; J∈R n*n is the joint motor moment of inertia matrix, u∈R n is the joint motor torque control input vector; λ1∈R n represents the model error on the connecting rod side, λ2∈R n represents the model error on the motor side, χ1∈R n represents the external random interference received by the arm joint, χ2∈R n Represents the external random interference received by the motor; the model errors λ1, λ2 and the external random interferences χ1, χ2 are all bounded terms, and there is a known constant λ * and χ * , satisfying ||λ w ||≤λ * ,||χ w ||≤χ * , w=1,2; Let the joint position vector q and the joint torque be the slow and fast subvariables respectively, perform singular perturbation decoupling, and decouple the flexible joint dynamics system into a low-order slow subsystem and a boundary layer fast subsystem. The decoupling process is as follows: Let K = ε -2 K1, where ε is a parameter, K1 is a positive definite parameter matrix, and the joint torque Z is: Substituting formula (3) into formula (1) and formula (2) respectively, we can obtain the following formulas (4) and (5); in, represents the second-order derivative of the joint torque Z; further from formula (4), we can obtain formula (6): Substituting formula (6) into formula (5) yields: Define the joint motor torque control input vector u as the system control law, then u is represented by the fast subsystem input u f and the slow subsystem input u s The combination of u = u s +u f ; Let ε = 0 and substitute into formula (5), we get the unique solution considering only the slow time scale: Here, u=u s That is u f =0, It means that only the elastic moment of the slow-scale target is considered, and its tracking error is Substituting formula (8) into formula (4) yields: Among them, λ = λ1 + λ2, χ = χ1 + χ2; They represent the target joint position, velocity, and acceleration considering only the slow scale respectively; Substituting ε=0 into formula (7) yields: Assumptions On fast time scales τ = ε -1 t is regarded as a constant, then Z f to represent the boundary layer fast subsystem; Substituting into formula (5), here, Let ε be a number greater than 0 and infinitely close to 0, then we can get the approximation: Substituting formula (10) into formula (11), we obtain: In summary, the mathematical model expressions of the slow and fast subsystems of the flexible joint manipulator are obtained, as shown in formulas (13) and (14): Step 2. Control design is performed on the decoupled fast and slow subsystems respectively; the fast subsystem is directly designed by using the boundary layer principle in the traditional singular perturbation fast subsystem control; the slow subsystem is designed by backstepping, and a second-order filter and error compensation signal are constructed to solve the computational explosion problem of the virtual control law in the backstepping design. The state equation of the slow subsystem is backstepped by selecting the obstacle Lyapunov function, and the fuzzy logic system is introduced to perform fuzzy approximation processing on the unknown nonlinear function, and finally the slow subsystem control law is obtained. The specific process is as follows: Set up the second-order filter as follows: Define h j =[h j1 ,...,h jn ] T is the output of the second-order filter, i=1,...,n, j=1,2; h j1 ,...,h jn Indicates h j The 1st,...,nth components; define l=[l1,...,l n ] T is the input of the second-order filter, With g n represents the filter parameters, and g n >0; h1(0)=1(0), h2(0)=0; Among them, h1(0) and h2(0) represent the initial values of h1 and h2 respectively, and l(0) represents the initial value of l; Assume that o1 and o2 are both positive numbers. For any time, if |l i |≤o1, And for any constant and g n satisfy g n >0, there exists |h 1i -l i |≤k 1i , where k 1i is a positive constant, and as well as All are bounded; The error compensation signal is defined as follows: Among them, ξ j represents the jth error compensation signal, ξ j =[ξ j1 ,...,ξ jn ] T ,ξ j1 ,...,ξ jn Respectively represent ξ j The 1st,...,nth components of j represents the gain matrix of the error compensation signal, μ j =diag[μ j1 ,...,μ jn ]>0,μ j1 ,...,μ jn Respectively represent μ j The 1st, ..., nth components of ji >0; define x 1,c =[x 1,c1 ,...,x 1,cn ] is the input α1=[α 11 ,...,α 1n ] T The second-order filter output when α1 represents the virtual control law in the backstepping design, α 11 ,...,α 1n represents the 1st, ..., nth components of α1; x 1,c1 ,...,x 1,cn Represents x 1,c The 1st,...,nth components of ; According to the set second-order filter, we know that |x 1,ci -α 1i |≤k 1i , constant k 1i >0, then Where μ0=min{2(μ 1i -1),2(μ 2i -1)}, that is, ξ ji Bounded; Step 2.
1. Design tachyon control law; Assume that the positive definite matrix K f and K2 satisfies: K f =K2 / ε; K2>0 and its selection should ensure the stability of the tachyon system, let ε be a number greater than 0 and infinitely close to 0, and select the tachyon control law u f for: Step 2.
2. Design the brady control law; To establish the mathematical model of the slow subsystem, let x j represents the state variable, x j =[x j1 ,...,x jn ] T , x j1 ,...,x jn Represents x j For the 1st, ..., nth components, let the state variable x1 be q and the state variable x2 be Define x d is the expected trajectory, x d =[x d1 ,...,x dn ] T , where x d1 ,...,x dn Represents x d 1st,...,nth components; x d and are all continuously differentiable and smooth and bounded, then formula (13) can be rewritten as: Where, M = M(x1), C = C(x1, x2), G = G(x1); The tracking error variable and compensation error are defined as shown in formula (19) and formula (20) respectively: Among them, z1 and z2 are tracking error variables, v1 and v2 are compensation errors; 11 ,...,z 1n denote the 1st, ..., nth components of z1 respectively; z 21 ,...,z 2n denote the 1st, ..., nth components of z2 respectively; v 11 ,...,v 1n represent the 1st, ..., nth components of v1 respectively; v 21 ,...,v 2n Respectively represent the 1st, ..., nth components of v2; Define the compact set Ω v ={|v ji <k bji |,j=1,2;i=1,2,...,n};where k bj represents the state constraint limit value, k bj =[k bj1 ,...,k bjn ] T , k bj1 ,...,k bjn Indicates k bj The 1st,...,nth components of bji is a positive constant; The barrier Lyapunov function V1 is selected as: Set k vj for: k vj =[k vj1 ,...,k vjn ] T ; Among them, k vj1 ,...,k vjn Respectively represent k vj The 1st, ..., nth components of , then taking the derivative with respect to V1, we get: Substituting formula (19) and formula (20) into formula (22), we obtain: Substituting the error compensation signal, i.e., formula (16), and the mathematical model of the slow subsystem, i.e., formula (13), into formula (23), we obtain: Select the virtual control law α1 and the derivative of the error compensation signal As shown in the following formulas (25) and (26): Substituting formulas (25) and (26) into formula (24), we obtain: The barrier Lyapunov function V2 is selected as: Taking the derivative of V2, we get: Select the derivative of the error compensation signal for: Let D I =(J+M) -1 , define D Ii Yes D I The i-th row vector of , substituting formula (30) into formula (29) yields: Where f=[f1,...,f n ] T is an unknown nonlinear function, and a fuzzy operator is introduced for approximation; f1,...,f n is the 1st, ..., nth component of f; according to the universal approximation theorem, for any given positive constant η>0, define Q=[x1,x2] T , there exists a fuzzy operator W T S(Q),W=[W1,...,W n ] T ,S(Q)=[S1,...,S n ] T ,δ(Q)=[δ1,...,δ n ] T ; Where W represents the weight vector matrix; S(Q) represents the basis function vector matrix; δ(Q) is the fuzzy approximation error, W i represents the weight vector, S i represents the basis function vector, δ i represents the fuzzy approximation error component, i=1,...,n, such that: f=D I (-Cx2-λ-χ)=W T S(Q)+δ(Q), and it satisfies ||δ(Q)||≤η, the following formula holds: Among them, l represents a positive parameter; W i represents the i-th weight vector of the weight vector matrix W; S i represents the i-th basis function vector of the basis function vector matrix S; combining formulas (31) and (32) yields: Define θ as an adaptive variable, and θ satisfies: in, is the estimated value of the variable θ, is the estimation error; Design the slow subsystem input u s is the brady control law, as shown in formula (35); in, The slow control law u s That is, substitute formula (35) into formula (33) to obtain: Take the total system barrier Lyapunov function of the slow sub as: Among them, r1 represents a positive number; taking the derivative of V, we get: Select adaptive law for: Among them, m1 is a positive parameter; At this point, the design of singular perturbation control for flexible manipulators based on state constraints is completed; Step 3. Select the Lyapunov function of the tachyon and slow subsystems for derivation, and then prove that the tachyon and slow subsystems controlled by the state-constrained flexible manipulator singular perturbation control method designed in step 2 are Lyapunov stable. The specific stability analysis process is as follows: Step 3.
1. Proof of stability of the fast subsystem; Substituting formula (3) into formula (17), we obtain: because is assumed to be constant on fast time scales, then Substituting into formula (40) we get: Substituting formula (41) into formula (14), we obtain: To verify the stability of the fast subsystem, the Lyapunov function V is selected f1 =(K1 / 2ε 2 )[J -1 +M(q) -1 ]Z f T Z f According to the dynamic model of the flexible manipulator, M(q) and J are both positive definite, so V f1 >0; V f1 The derivative is: set up Learn that V f2 >0,to V f2 The derivative is: Substituting formula (42) into formula (44), we obtain: Because K2 and J are both positive definite matrices, and ε>0, Therefore, the fast subsystem is stable; Step 3.
2. Proof of stability of the slow subsystem; Substituting formula (39) into formula (38) yields: According to Young's inequality, we get: Substituting formula (47) into formula (46) yields: because And there exists a positive number β for all k bji and v ji All meet get: where C1 = min{μ 11 , μ 12 , μ 21 , μ 22 , m1}, and and are all bounded, and combined with formula (39), we know It must be bounded. Multiply both sides of (49) have to: At this time, integrating formula (50) in [0, t] yields: Among them, V(0) represents the initial value of V; Known|v ji |<|k bji |, and because v ji =z ji -ξ ji Learn |z ji |≤|v ji |+|ξ ji |≤|k bji |+|ξ ji |, get z ji Bounded; Since α1 is the sum of z1 and x d function, and |x 1,ci -α 1i | is bounded, then x 1,ci Bounded, knowing the system state x 1i and x 2i There are also boundaries; According to formula (51), we get: Taking the exponents on both sides of formula (52) yields Also because but If V(0)=C2 / C1, then we can conclude If V(0)≠C2 / C1, for any There exists T when t>T That is, when t→∞, It means guaranteed Select appropriate parameters μ1, μ2, k b1 , k b2 ,make and They all converge to a smaller neighborhood close to the origin, which verifies that if z1 is small enough, the slow subsystem is stable.
