Non-singular terminal sliding mode control method based on improved preset performance

By improving the preset performance function and non-singular terminal sliding mode control surface, the jitter problem of traditional sliding mode control in the inverted pendulum system is solved, and the steady-state and transient performance of the system is improved, ensuring that the error is at the specified boundary Within, faster response speed and stability are achieved.

CN119065237APending Publication Date: 2024-12-03NANJING UNIV OF SCI & TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411028698.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Traditional sliding mode control has a jitter problem in the inverted pendulum system, and the convergence speed of the traditional preset performance function is initially fast and slow, resulting in control singularity and tracking errors that exceed the boundary, affecting the system's steady-state and transient performance.

Method used

A non-singular terminal sliding mode control method is designed to improve preset performance. By establishing an inverted pendulum system model, designing and improving preset performance functions and error conversion, introducing conversion error design of non-singular terminal sliding mode control surface and approach law. Establish a non-singular terminal sliding mode controller based on improved preset performance to ensure that system errors are within the specified boundaries, avoid control of singularity, and improve response speed.

Benefits of technology

It effectively avoids the problem of control singularity, improves the steady-state and transient performance of the inverted pendulum system, and ensures that the system has loose error constraints in the initial state, has faster response speed, and can reach the steady-state of the system faster.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065237A_ABST
    Figure CN119065237A_ABST
Patent Text Reader

Abstract

The invention discloses a nonsingular terminal sliding mode control method based on improved preset performance, and relates to the field of automatic control. The method comprises the following steps: establishing an inverted pendulum system model; carrying out improved preset performance function design, carrying out more effective constraint on the state error of the inverted pendulum system, and carrying out error conversion; and introducing a conversion error, designing a nonsingular terminal sliding mode surface and a reaching law, and completing the design of the nonsingular terminal sliding mode controller based on the improved preset performance. According to the control method designed by the invention, the system state can track the state instruction more efficiently under the specified performance constraint, and the transient performance and the steady-state performance of the control system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of automatic control, and in particular to a non-singular terminal sliding mode control method based on improving preset performance. Background Art

[0002] In engineering, control systems have been widely used in various fields and equipment, such as aircraft, underwater vehicles, self-driving cars, industrial robots, etc. Many systems have strong nonlinearity, multivariable, and strong coupling problems. The inverted pendulum system is a typical system that contains such problems. The study of it is general, so the inverted pendulum system has also become a typical object for many scholars to verify the effectiveness of control methods. With the growing demand of people, the performance requirements for inverted pendulum control systems are also constantly improving.

[0003] In recent years, sliding mode control systems have been widely used in inverted pendulum control systems due to their simple structure, high precision, fast response speed and strong robustness. However, traditional sliding mode control has the problem of jitter, while non-singular terminal sliding mode control can improve the stability of the control system and reduce the oscillation and jitter of the system on the sliding surface.

[0004] The preset performance control method makes full use of performance functions and error transformation to constrain the system error within the specified performance boundary, which can take into account both the steady-state performance and transient performance of the system. The convergence speed of the traditional performance function gradually decreases from the beginning, resulting in the fastest convergence speed when the initial state error of the system is the largest. This can easily lead to early tracking errors exceeding the boundary and causing control singularity problems. If the boundary is released, the degree of constraint on the system tracking error will also be reduced. Summary of the invention

[0005] In order to solve the above problems, the purpose of the present invention is to provide a non-singular terminal sliding mode control method based on improving preset performance, so as to improve the steady-state performance and transient performance of the inverted pendulum control system by improving the preset performance function.

[0006] The technical solution of the present invention is: a non-singular terminal sliding mode control method based on improving preset performance, comprising the following steps:

[0007] S1: Establish an inverted pendulum system model:

[0008] S2: Based on the established inverted pendulum system, design and improve the preset performance function to constrain the control system tracking error and perform error conversion;

[0009] S3: Introduce conversion error, design non-singular terminal sliding mode control surface and reaching law, and establish a non-singular terminal sliding mode controller based on improved preset performance;

[0010] S4: Verify the rationality of the system based on the stability analysis of the system.

[0011] Compared with the prior art, the advantages of the present invention are as follows: the present invention improves the preset performance function so that the absolute value of the derivative of the performance function in the system with respect to time first rises slowly and then rises rapidly, thereby making the initial state error constraint of the inverted pendulum control system looser and always within the prescribed performance boundary range, thereby avoiding the occurrence of control singularity problems; and making the inverted pendulum control system have a faster response speed and be able to reach the system steady state faster. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 Design a flow chart for the inverted pendulum control method;

[0013] Figure 2 are the system state and time curves, where (a) is the system state x1 and time curve; (b) is the system state tracking error e1 and time curve; (c) is the system state x2 and time curve; (d) is the system state tracking error e2 and time curve. DETAILED DESCRIPTION

[0014] The purpose of the present invention is to provide a non-singular terminal sliding mode control method based on improved preset performance to improve the steady-state performance and transient performance of an inverted pendulum system, solve the problems existing in the above-mentioned traditional preset performance control, and further improve the control performance of the inverted pendulum system.

[0015] First, the present invention provides a non-singular terminal sliding mode control method based on improving preset performance, the steps of which include:

[0016] S1: Establish the state equation of the inverted pendulum system:

[0017] S101: Establish the state equation of the inverted pendulum system;

[0018] The inverted pendulum system is an inverted pendulum system. Specifically, the state equation of the inverted pendulum system is:

[0019]

[0020] Where x1, x2 represent the state variables of the inverted pendulum system, namely the swing angle and angular velocity; u is the control input of the inverted pendulum system; f1(x1, x2) and g1(x1, x2) are smooth nonlinear functions.

[0021] Specifically, the calculation formula of f1(x1,x2) is:

[0022]

[0023] Specifically, the calculation formula of g1(x1,x2) is:

[0024]

[0025] Where m is the mass of the pendulum, and m = 0.1 kg, m c is the mass of the trolley, and m c =1kg, l is the length from the center of mass of the pendulum to the fulcrum, and l = 0.5m, g is the acceleration due to gravity, and g = 9.8m / s 2 ;

[0026] S102: Calculate the tracking error of the inverted pendulum system:

[0027]

[0028] Where e1 and e2 are the state variables of the inverted pendulum system, i.e. the tracking error of the swing angle and the tracking error of the angular velocity. 1c 、x 2c They are the swing angle tracking instruction and angular velocity tracking instruction of the inverted pendulum system state quantity respectively;

[0029] S2: Based on the established inverted pendulum system model, design and improve the preset performance function to constrain the control system tracking error and perform error conversion;

[0030] S201: Establishing an improved preset performance function:

[0031]

[0032] Where t is time, ρ1(t) represents the specified performance function, and satisfies δ, is a positive constant, a>0,κ>0, b>0 are positive constant parameters, which affect the convergence speed of the preset performance function. The values ​​of a and b depend on the initial state of the inverted pendulum system. is the steady-state error constraint boundary of the inverted pendulum system, and e is a natural constant. In order to achieve better constraint performance, it is often necessary to adjust the performance function parameters and close the boundaries. For traditional performance functions such as hyperbolic cotangent type preset performance functions, in the initial state of the inverted pendulum system, the absolute value of the derivative of the performance function with respect to time is the largest, and then gradually decreases. If the initial error of the inverted pendulum system is large, it is easy to cause the tracking error to exceed the boundary, resulting in control singularity problems. The improved preset performance function designed by the present invention sets a buffer stage in the initial stage, and the duration of the buffer stage is affected by the parameter b. After the buffer stage, the absolute value of the derivative of the performance function with respect to time increases sharply, and the tracking error constraint capability also increases synchronously. By reasonably setting the value of the parameter b, the above problems can be well avoided, and the system response speed can be made faster, further improving the transient performance and steady-state performance of the inverted pendulum system.

[0033] S202: Perform error conversion on the inverted pendulum system state, where the normalized error is λ1, and λ1=e1 / ρ1, and the designed error conversion function T(ε1) is:

[0034]

[0035] Where T(ε1) is the error conversion function and ε1 is the conversion error.

[0036] At this time, the conversion error ε1 is:

[0037]

[0038] Derivative of the conversion error ε1 yields:

[0039]

[0040] in, is the time derivative of the conversion error ε1, χ is the conversion error parameter, and To improve the preset performance, the derivative of the function ρ1 with respect to time.

[0041] S3: Introduce conversion error, design a non-singular terminal sliding mode control surface and reaching law, and establish a non-singular terminal sliding mode controller based on improved preset performance;

[0042] S301: introducing conversion error and calculating non-singular terminal sliding surface;

[0043] The calculation formula of the non-singular terminal sliding surface is:

[0044] S=ε1+η|e2| γ sgn(e2) (21)

[0045] Where S is the designed non-singular terminal sliding surface function, η>0, 0<γ<1 are sliding surface parameters, and sgn(·) is the sign function;

[0046] Taking the derivative of S, we get:

[0047]

[0048] in: They are the state quantity of the inverted pendulum system, the swing angle tracking instruction x 1c and angular velocity tracking command x 2c The time derivative, is the time derivative of the sliding surface S.

[0049] S302: Determine an exponential approach law;

[0050] The exponential reaching law selected is:

[0051]

[0052] Where k1, k2>0, is the sliding mode control gain, is a reaching law function, and

[0053] S303: designing a non-singular terminal sliding mode controller based on an improved preset performance function;

[0054] Combining equations (23), (24) and (25), the non-singular terminal sliding mode controller is:

[0055]

[0056] Where σ is the controller parameter, σ=|x2-x 2c ∣ 1-γ / ηγ, u is the system control input;

[0057] Among them, due to the existence of the sign function, the control instruction will be discontinuous. In order to eliminate this situation, the saturation function sat(·) is used to replace the discontinuous sign function. The saturation function sat(·) is:

[0058]

[0059] Where Δ is the boundary layer thickness;

[0060] S4: Conduct stability analysis on the system to verify the rationality of the system;

[0061] S401: Analyze the stability of non-singular terminal sliding mode controller;

[0062] Choose from the following Lyapunov functions:

[0063]

[0064] Where V is the Lyapunov function.

[0065] Taking the derivative with respect to time, we get:

[0066]

[0067] in, is the derivative of the Lyapunov function V, Character meaning.

[0068] Combining equations (24), (26), and (29), we can obtain:

[0069]

[0070] So choose appropriate control gain positive constants k1 and k2 so that At this point the system is stable;

[0071] S402: Prove that the tracking error is bounded;

[0072] From the definition and properties of the error transformation function, we can get:

[0073]

[0074] The error after transformation is bounded, that is, |ε1|≤ε M1 (ε M1 is a positive number), we can further obtain:

[0075]

[0076] Therefore, since λ1=e1 / ρ1, it can be verified that the tracking error e1 can be kept within a specified set, that is, Established, proved;

[0077] S5: Use MATLAB software to simulate the system case to prove the effectiveness of this method.

[0078] Specifically:

[0079] S501: Provide a set of traditional preset performance function parameters, and use a hyperbolic cotangent preset performance function for comparison, specifically ρ=(coth(κ1t+κ2)-1+μ ∞ ), where ρ is a hyperbolic cotangent type preset performance function, κ1, κ2 are performance function parameters, and κ1 = 2, κ2 = 0.35, μ ∞ To specify the steady-state error bound, μ ∞ =3;

[0080] S502: Provide a set of improved preset performance function parameters, a=2, κ=33, b=4, δ=1,

[0081] S503: providing a set of non-singular terminal sliding mode controller parameters, the sliding surface parameters are η=0.2, γ=0.8, and the reaching law parameters are k1=10, k2=0.01;

[0082] S504: Using MATLAB software, the above steps are executed for the inverted pendulum system model, and simulation comparison and analysis are performed on the proposed method (TPPC+NTSMC) and the non-singular terminal sliding mode control method (PPC+NTSMC) based on the traditional preset performance function to verify the effectiveness of the present invention;

[0083] from Figure 2It can be seen that in the initial stage of the system, the absolute value of the derivative of the performance function with respect to time is the largest, and the tracking error is approached the fastest, and then gradually decreases. If the initial error of the system is large, it is easy to cause the tracking error to exceed the boundary, resulting in a control singularity problem. The present invention provides a non-singular terminal sliding mode control method based on improved preset performance, which can well alleviate the above problems. In the initial stage of the system, the boundary constraint is relatively weak, and then the absolute value of the derivative of the performance function with respect to time increases rapidly, and the performance boundary rapidly approaches the tracking error, giving the control system a larger performance constraint. On the basis of solving the above-mentioned problems existing in the traditional preset performance control, the system state tracking performance has been significantly improved, and the steady-state performance and transient performance of the inverted pendulum system are further improved.

Claims

1. A non-singular terminal sliding mode control method based on improved preset performance, It is characterized in that The following steps are involved: S1: Establish an inverted pendulum system model: S2: Based on the established inverted pendulum system, design and improve the preset performance function to constrain the control system tracking error and perform error conversion; S3: Introduce conversion error, design non-singular terminal sliding mode control surface and reaching law, and establish a non-singular terminal sliding mode controller based on improved preset performance; S4: Verify the rationality of the system based on the stability analysis of the system.

2. According to the non-singular terminal sliding mode control method based on improved preset performance as described in claim 1, It is characterized in that The S1 includes: S101: Establish an inverted pendulum system model: where x 1 , x 2 represents the state quantity of the inverted pendulum system, u is the control input of the inverted pendulum system, and f 1 (x 1 ,x 2 ) and g 1 (x 1 ,x 2 ) is a smooth nonlinear function; S102: Calculate the tracking error of the inverted pendulum system: where e 1 , e 2 is the state tracking error of the inverted pendulum system, x 1c , x 2c Instructions for tracking the state of the inverted pendulum system.

3. According to the non-singular terminal sliding mode control method based on improved preset performance as described in claim 1, It is characterized in that The S2 includes: S201: Establishing an improved preset performance function; the formula is: In the formula, ρ 1 represents the improved performance function with respect to time, a>0,κ>0, b>0 are positive constant parameters, is the steady-state error constraint boundary of the inverted pendulum system, and e is a natural constant; S202: performing error conversion on the inverted pendulum system state; The normalized error of the inverted pendulum system is: l 1 =e 1 / r 1 , In the formula, e 1 is the state tracking error of the inverted pendulum system, λ 1 is the normalized error; Then the error conversion function T(ε 1 )for: In the formula, ε 1 is the conversion error.

4. According to the non-singular terminal sliding mode control method based on improved preset performance as described in claim 3, It is characterized in that The conversion error ε 1 The calculation formula is: Conversion error ε 1 The derivative is: in, is the conversion error ε 1 is the time derivative, χ is the conversion error parameter, and To improve the preset performance function ρ 1 The derivative with respect to time.

5. According to the non-singular terminal sliding mode control method based on improved preset performance as described in claim 1, It is characterized in that The specific steps of S3 are: S301: introducing conversion error and calculating non-singular terminal sliding surface; S302: Determine an exponential approach law; S303: Based on the improved preset performance function, a non-singular terminal sliding mode controller is designed.

6. According to the non-singular terminal sliding mode control method based on improved preset performance as described in claim 5, It is characterized in that The calculation formula of the non-singular terminal sliding surface in S301 is as follows: S=e 1 +η|e 2 | γ sgn(e 2 ) (7) Where S is the non-singular terminal sliding surface function, η>0, 0<γ<1 are sliding surface parameters, sgn(·) is the sign function, e 2 is the system state tracking error; Taking the derivative of S, we get: in: They are the state variables of the inverted pendulum system, the swing angle tracking instruction x 1c and angular velocity tracking command x 2c The time derivative, is the time derivative of the sliding surface S, and u is the non-singular terminal sliding mode controller function.

7. According to the non-singular terminal sliding mode control method based on improved preset performance as described in claim 6, It is characterized in that The non-singular terminal sliding mode controller designed in S303 is: Among them, σ is the controller parameter and u is the control input of the inverted pendulum system.

8. According to the non-singular terminal sliding mode control method based on improved preset performance as described in claim 7, It is characterized in that The S4 includes: S401: Analyze the stability of non-singular terminal sliding mode controller; Choose a Lyapunov function: Where V is the Lyapunov function; Taking the derivative with respect to time, we get: in, is the derivative of the Lyapunov function V. Combining equations (8), (10), and (13), we get: So choose a suitable control gain constant k 1 and k 2 , so that At this point the system is stable; S402: Prove that the tracking error is bounded; From the definition and properties of the error transformation function, we can get: The error after transformation is bounded, that is, for ε M1 >0,|ε 1 |≤ε M1 Established, further: Therefore, due to λ 1 =e 1 / ρ 1 Verify tracking error 1 Remain within a specified set, i.e. Established, proven.

9. According to the non-singular terminal sliding mode control method based on improved preset performance as described in claim 1, It is characterized in that The control method also includes using MATLAB software to perform case simulation on the system to prove the effectiveness of the method. The specific steps are as follows: S501: providing a set of traditional preset performance control parameters; S502: providing a set of improved preset performance control parameters; S503: Provide a set of non-singular terminal sliding mode controller parameters.

Citation Information

Cited By

  • Inverted pendulum foreseeing and tracking control method and system based on double nonlinear constraints

    CN122450168A