Inverted pendulum nonlinear system control method and device based on preset precision, equipment and storage medium
By constructing the dynamic surfaces of auxiliary functions and nonlinear filters in an inverted pendulum nonlinear system, and using the inverse impulse method to build the controller, the problems of insufficient convergence of tracking errors and accumulation of boundary layer errors are solved, and the stability of the system is improved and Control performance.
Patent Information
- Application Number
- CN202411227336.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-11-29
AI Technical Summary
When controlling the inverted pendulum nonlinear system, the tracking error convergence is insufficient. The inverse imputation method causes the accumulation of boundary layer errors to affect the stability of the system, and the traditional dynamic surface technology cannot effectively eliminate the boundary layer errors at each step.
The inverted pendulum nonlinear system control method based on preset accuracy is adopted to construct auxiliary functions and dynamic surfaces with nonlinear filters by obtaining the tracking error and boundary error of the subsystem, and to construct the actual controller using the inverse impulse method to ensure the tracking error Converge to the preset accuracy range and eliminate boundary layer errors.
The tracking error convergence and system stability improvement of the inverted pendulum nonlinear system are achieved, ensuring control performance and asymptotic stability.
Smart Images

Figure CN119045337A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of nonlinear system control, and in particular relates to a method, device, equipment and storage medium for controlling an inverted pendulum nonlinear system based on preset accuracy. Background Art
[0002] As we all know, convergence is a very important evaluation index of interconnected large-scale nonlinear systems, and has always attracted extensive attention from many scholars. There are many research results on convergence, such as: asymptotic stability of interconnected large-scale nonlinear systems, finite-time stability of interconnected large-scale nonlinear systems, and fixed-event stability of interconnected large-scale nonlinear systems. They have become the mainstream direction of the current research on the convergence performance of interconnected large-scale nonlinear systems.
[0003] As a type of interconnected large-scale nonlinear system, the inverted pendulum nonlinear system can only adjust the tracking error range through parameters, whether it is asymptotically stable, finite-time stable, or fixed-event stable. This is undoubtedly very time-consuming and very dependent on personal experience. In addition, in order to solve the "differential explosion" problem caused by the backstepping method in the process of designing the controller of the interconnected large-scale nonlinear system, the traditional solution is to use dynamic surface technology. However, the traditional dynamic surface technology cannot eliminate the boundary layer error in each step of the backstepping method during use, and when the boundary layer error accumulates to a certain extent, it will directly affect the stability of the system. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a control method, device, equipment and storage medium for an inverted pendulum nonlinear system based on preset accuracy, thereby ensuring that the tracking error of the inverted pendulum nonlinear system converges to within the preset accuracy range, eliminating the boundary layer error in each step of the backstepping method, and improving the stability of the inverted pendulum nonlinear system.
[0005] The present invention provides the following technical solutions:
[0006] In a first aspect, a control method for an inverted pendulum nonlinear system based on preset accuracy is provided, comprising: obtaining an inverted pendulum nonlinear system including a plurality of subsystems; obtaining an auxiliary function constructed in advance according to the tracking error of the subsystem in the inverted pendulum nonlinear system and a dynamic surface with a nonlinear filter constructed in advance according to the boundary error of the subsystem in the inverted pendulum nonlinear system; based on the auxiliary function and the dynamic surface with the nonlinear filter, constructing an actual controller of the inverted pendulum nonlinear system by using a backstepping method, and tracking and controlling the inverted pendulum nonlinear system.
[0007] As an optional technical solution of the present invention, the inverted pendulum nonlinear system is expressed as:
[0008] ;
[0009] in, Indicates the subsystem number. , N represents the total number of subsystems, Represents the subsystem Step, represents the total order of the subsystem, Indicates Subsystem The state variable vector of order, g ¯ x , ρ = [ g x , 1 , … , g x , ρ ] T , Indicates The subsystem status, Indicates The input signal of each subsystem is Indicates The output trajectory of each subsystem is represents an unknown smooth and continuous function, represents an unknown smooth inner function, Indicates All output signals of each subsystem, y ¯ = [ y 1 , … , y s ] T .
[0010] As an optional technical solution of the present invention, the auxiliary function is used to set the preset accuracy of the tracking error, which includes the auxiliary function and , respectively expressed as:
[0011] ;
[0012] ;
[0013] in, Indicates the preset accuracy, represents the tracking error, represents a step function.
[0014] As an optional technical solution of the present invention, the dynamic surface with a nonlinear filter is used to eliminate the boundary error of each order in the inverted pendulum nonlinear system. The dynamic surface with a nonlinear filter is expressed as:
[0015] ;
[0016] in, Indicates Subsystem The boundary error of order, Indicates Subsystem Virtual controller of the first order, Indicates Subsystem The filter virtual controller of order , express The initial value of represents a constant, express The derivative of express The initial value of represents a constant, and ; Represents an adaptive variable.
[0017] As an optional technical solution of the present invention, the actual controller of the inverted pendulum nonlinear system is constructed by using the backstepping method, including:
[0018] Define error variables and use radial basis neural network to transform unknown functions in error variables into known functions;
[0019] The auxiliary function is used to construct the first-order Lyapunov function in the inverted pendulum nonlinear system, and the first-order virtual controller is constructed using the backstepping method.
[0020] Using auxiliary functions to construct the first The Lyapunov function of order is constructed by inverse method. Virtual controller of the first order;
[0021] Using auxiliary functions to construct the first The Lyapunov function of order is obtained and the actual controller is constructed using the backstepping method.
[0022] As an optional technical solution of the present invention, the step of defining an error variable and converting an unknown function in the error variable into a known function using a radial basis neural network includes:
[0023] The error variable is expressed as:
[0024] ;
[0025] in, represents the expected trajectory, Indicates Subsystem order error variable;
[0026] Derivative the above formula gives:
[0027] ;
[0028] Using radial basis neural network to process the unknown function in the above formula, we get:
[0029] ;
[0030] in, , represents the weights of the radial basis neural network, represents the radial basis neural network function, represents the approximation error of the radial basis neural network; H x , ρ = [ g ¯ x , ρ , y d g , y ¯ d g ρ , c ^ ¯ x , ρ − 1 , ϕ ^ ¯ x , ρ − 1 ] T ,in, y ¯ ρ d g = [ y d g , … , y ρ d g ] T , c ^ ¯ x , ρ − 1 = [ c ^ x , 1 , … , c ^ x , ρ − 1 ] T , ϕ ^ ¯ x , ρ − 1 = [ ϕ ^ x , 1 , … , ϕ ^ x , ρ − 1 ] T .
[0031] As an optional technical solution of the present invention, the method of using an auxiliary function to construct a first-order Lyapunov function in an inverted pendulum nonlinear system and using a backstepping method to construct a first-order virtual controller includes:
[0032] First order Lyapunov function It is expressed as:
[0033] ;
[0034] in, , and represent positive real numbers, , and Respectively represent variables , and The error of
[0035] First-order virtual controller It is expressed as:
[0036] ;
[0037] in, Indicates The variables in the first order of the subsystem are Nussbaum-type function of ;
[0038] ;
[0039] ;
[0040] in, and All are positive numbers;
[0041] ∅ x = 1 ( s + 2 ) ! 2 X x , ρ + 2 n ( ℏ x , 1 ) [ X x , ρ + 2 n ( ℏ x , 1 ) ] 2 + c x ∑ ρ = 1 s ∑ k = 1 N Ϝ x , ρ , k ( y k ) ;
[0042] represents a known non-negative smooth function;
[0043] Adaptive Law and Respectively expressed as:
[0044] ;
[0045] ;
[0046] in, and All represent positive numbers, represents the neural network radial basis function, X x , 1 = [ g ¯ x , 1 , y d g , y ˙ d g ] T ;
[0047] The method of using auxiliary functions to construct the inverted pendulum nonlinear system The Lyapunov function of order is constructed by inverse method. Virtual controllers of the first level, including:
[0048] No. Lyapunov function of order It is expressed as:
[0049] ;
[0050] in, and represent positive real numbers, and Respectively represent variables and The error of
[0051] No. Virtual Controller It is expressed as:
[0052] ;
[0053] in, Indicates Subsystem The variables in the order are Nussbaum-type function of ;
[0054] ;
[0055] ;
[0056] in, and All are positive numbers;
[0057] Adaptive Law and Respectively expressed as:
[0058] ;
[0059] ;
[0060] in, and All represent positive numbers, represents the radial basis neural network function, X x , ρ = [ g ¯ x , ρ , y d g , y ¯ d g ρ , c ^ ¯ x , ρ − 1 , ϕ ^ ¯ x , ρ − 1 ] T ;
[0061] The method of using auxiliary functions to construct the inverted pendulum nonlinear system The Lyapunov function of order is used, and the actual controller is constructed using the backstepping method, including:
[0062] No. Lyapunov function of order It is expressed as:
[0063] ;
[0064] in, and represent positive real numbers, and Respectively represent variables and The error of
[0065] Actual controller It is expressed as:
[0066] ;
[0067] in, Indicates Subsystem The variables in the order are Nussbaum-type function of ;
[0068] ;
[0069] ;
[0070] in, and All are positive numbers;
[0071] Adaptive Law and Respectively expressed as:
[0072] ;
[0073] ;
[0074] in, and All represent positive numbers, represents the radial basis neural network function, X x , s = [ g ¯ x , s , y d g , y ¯ d g s , c ^ ¯ x , s − 1 , ϕ ^ ¯ x , s − 1 ] T .
[0075] In a second aspect, a control device for an inverted pendulum nonlinear system based on preset accuracy is provided, comprising:
[0076] A target system acquisition module, used for acquiring an inverted pendulum nonlinear system including a plurality of subsystems;
[0077] An auxiliary tool acquisition module, used to acquire an auxiliary function pre-constructed according to a tracking error of a subsystem in the inverted pendulum nonlinear system and a dynamic surface with a nonlinear filter pre-constructed according to a boundary error of a subsystem in the inverted pendulum nonlinear system;
[0078] The controller building module is used to build the actual controller of the inverted pendulum nonlinear system based on the auxiliary function and the dynamic surface with nonlinear filter by using the backstepping method, and to perform tracking control on the inverted pendulum nonlinear system.
[0079] In a third aspect, a device for controlling a nonlinear system of an inverted pendulum based on preset precision is provided, comprising a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method for controlling a nonlinear system of an inverted pendulum based on preset precision described in the first aspect.
[0080] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the program is executed by a processor, the steps of the inverted pendulum nonlinear system control method based on preset accuracy described in the first aspect are implemented.
[0081] Compared with the prior art, the present invention has the following beneficial effects:
[0082] The present invention provides an inverted pendulum nonlinear system control method based on preset accuracy. The preset accuracy of setting the tracking error is achieved by introducing an auxiliary function, thereby ensuring that the tracking error of the inverted pendulum nonlinear system converges to within the preset accuracy range. The invention also introduces a dynamic surface with a nonlinear filter to eliminate the boundary layer error in each step of the backstepping method, thereby improving the stability of the inverted pendulum nonlinear system and ensuring the control performance and asymptotic stability of the inverted pendulum nonlinear system. BRIEF DESCRIPTION OF THE DRAWINGS
[0083] Figure 1 It is a flow chart of a method for controlling a nonlinear system of an inverted pendulum based on preset accuracy in an embodiment of the present invention;
[0084] Figure 2 is a schematic diagram of a three-stage inverted pendulum nonlinear system in an embodiment of the present invention;
[0085] Figure 3 is a schematic diagram of a subsystem output trajectory in an embodiment of the present invention;
[0086] Figure 4 is a schematic diagram of a subsystem tracking error in an embodiment of the present invention; Figure 5 Schematic diagram of subsystem input signals in an embodiment of the present invention. DETAILED DESCRIPTION
[0087] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0088] Example 1
[0089] This embodiment provides a control method for an inverted pendulum nonlinear system based on preset accuracy. Figure 1 As shown, the specific steps include:
[0090] Step 1: Obtain an inverted pendulum nonlinear system consisting of multiple subsystems.
[0091] Specifically, the inverted pendulum nonlinear system is expressed as:
[0092] ;
[0093] in, Indicates the subsystem number. , N represents the total number of subsystems, Represents the subsystem Step, represents the total order of the subsystem, Indicates Subsystem The state variable vector of order, g ¯ x , ρ = [ g x , 1 , … , g x , ρ ] T , Indicates The subsystem status, Indicates The input signal of each subsystem is Indicates The output trajectory of each subsystem is represents an unknown smooth and continuous function, represents an unknown smooth inner function, Indicates All output traces of the subsystems, y ¯ = [ y 1 , … , y s ] T .
[0094] Furthermore, there exists a non-negative smooth function and an unknown constant greater than 0 ,satisfy: .
[0095] Step 2: Obtain an auxiliary function pre-constructed according to the tracking error of the subsystem in the inverted pendulum nonlinear system and a dynamic surface with a nonlinear filter pre-constructed according to the boundary error of the subsystem in the inverted pendulum nonlinear system.
[0096] 2.1. The auxiliary function is used to set the preset accuracy of the tracking error, which includes the auxiliary function and , respectively expressed as:
[0097] ;
[0098] ;
[0099] in, Indicates the preset accuracy, represents the tracking error, represents a step function.
[0100] Furthermore, the auxiliary function and There are two A continuously differentiable function of order , with the following properties: (1)
[0102] d ρ X ς + 1 n ( ℏ ) d ℏ ρ = X ς − ρ + 1 u ( ℏ ) [ P ς − ρ + 1 ρ ( ℏ ) ] ρ ;
[0103] in, .
[0104] (2) ≥0, if and only if hour, =0. Therefore, X ρ n ( ℏ ) [ P ρ n ( ℏ ) ] 2 = X ρ n ( ℏ ) .
[0105] 2.2. The dynamic surface with nonlinear filter is used to eliminate the boundary error of each order in the nonlinear system. The dynamic surface with nonlinear filter is expressed as:
[0106] ;
[0107] in, Indicates Subsystem The boundary error of order, Indicates Subsystem Virtual controller of the first order, Indicates Subsystem The filter virtual controller of order , express The initial value of represents a constant, express The derivative of express The initial value of represents a constant, and . represents the adaptive variable, which is get, represents a normal number, Indicates The subsystem The error variable.
[0108] Step 3: Based on the auxiliary function and the dynamic surface with nonlinear filter, the actual controller of the inverted pendulum nonlinear system is constructed by backstepping method to track the inverted pendulum nonlinear system. Specifically include:
[0109] 3.1. Define the error variable and use the radial basis neural network to transform the unknown function in the error variable into a known function.
[0110] Specifically, the error variable is expressed as:
[0111] ;
[0112] in, represents the expected trajectory, Indicates Subsystem The error variable.
[0113] Derivative the above formula gives:
[0114] .
[0115] Using radial basis neural network to process the unknown function in the above formula, we get:
[0116] ;
[0117] in, , represents the weights of the radial basis neural network, represents the radial basis neural network function, represents the approximation error of the radial basis neural network; H x , ρ = [ g ¯ x , ρ , y d g , y ¯ d g ρ , c ^ ¯ x , ρ − 1 , ϕ ^ ¯ x , ρ − 1 ] T ,in, y ¯ ρ d g = [ y d g , … , y ρ d g ] T , c ^ ¯ x , ρ − 1 = [ c ^ x , 1 , … , c ^ x , ρ − 1 ] T , ϕ ^ ¯ x , ρ − 1 = [ ϕ ^ x , 1 , … , ϕ ^ x , ρ − 1 ] T .
[0118] 3.2. Use auxiliary functions to construct the first-order Lyapunov function in the inverted pendulum nonlinear system, and use the backstepping method to construct the first-order virtual controller. Including:
[0119] 3.2.1. First-order Lyapunov function It is expressed as:
[0120] ;
[0121] in, , and represent positive real numbers, , and Respectively represent variables , and of error.
[0122] 3.2.2 First-order virtual controller It is expressed as:
[0123] ;
[0124] in, Indicates The variables in the first order of the subsystem are Nussbaum-type function of .
[0125] ;
[0126] ;
[0127] in, and All are positive numbers;
[0128] ∅ x = 1 ( s + 2 ) ! 2 X x , ρ + 2 n ( ℏ x , 1 ) [ X x , ρ + 2 n ( ℏ x , 1 ) ] 2 + c x ∑ ρ = 1 s ∑ k = 1 N Ϝ x , ρ , k ( y k ) ;
[0129] represents a known nonnegative smooth function.
[0130] Adaptive Law and Respectively expressed as:
[0131] ;
[0132] ;
[0133] in, and All represent positive numbers, represents the neural network radial basis function, X x , 1 = [ g ¯ x , 1 , y d g , y ˙ d g ] T .
[0134] Furthermore, Nussbaum-type functions include: , and . Nussbaum-type function It has the following properties:
[0135] ;
[0136] Among them, inf means taking the infimum, and sup means taking the supremum.
[0137] At the same time, for continuous smooth functions , and function , ,function It has the following properties:
[0138] V ( t ) ≤ e 1 + ∫ 0 t [ F G ( ϑ ( u ) ) ϑ ˙ ( u ) + ϑ ˙ ( u ) ] e e 2 ( u − t ) d u ;
[0139] in, , represents a constant, , as well as exist The above is bounded.
[0140] 3.3. Using auxiliary functions to construct the inverted pendulum nonlinear system The Lyapunov function of order is constructed by inverse method. Virtual controller of the first level. Including:
[0141] 3.3.1, Chapter Lyapunov function of order It is expressed as:
[0142] ;
[0143] in, and represent positive real numbers, and Respectively represent variables and The error, .
[0144] 3.3.2, Chapter Virtual Controller It is expressed as:
[0145] ;
[0146] in, Indicates Subsystem The variables in the order are Nussbaum-type function of .
[0147] ;
[0148] ;
[0149] in, and All are positive numbers.
[0150] Adaptive Law and Respectively expressed as:
[0151] ;
[0152] ;
[0153] in, and All represent positive numbers, represents the radial basis neural network function, X x , ρ = [ g ¯ x , ρ , y d g , y ¯ d g ρ , c ^ ¯ x , ρ − 1 , ϕ ^ ¯ x , ρ − 1 ] T .
[0154] 3.4. Using auxiliary functions to construct the inverted pendulum nonlinear system The Lyapunov function of the order is used, and the actual controller is constructed using the inverse method. It includes:
[0155] 3.4.1, Chapter Lyapunov function of order It is expressed as:
[0156] ;
[0157] in, and represent positive real numbers, and Respectively represent variables and of error.
[0158] 3.4.2 Actual Controller It is expressed as:
[0159] ;
[0160] in, Indicates Subsystem The variables in the order are Nussbaum-type function of .
[0161] ;
[0162] ;
[0163] in, and All are positive numbers.
[0164] Adaptive Law and Respectively expressed as:
[0165] ;
[0166] ;
[0167] in, and All represent positive numbers, represents the radial basis neural network function, X x , s = [ g ¯ x , s , y d g , y ¯ d g s , c ^ ¯ x , s − 1 , ϕ ^ ¯ x , s − 1 ] T .
[0168] Furthermore, the virtual controller constructed in each step of the backstepping method obtains a new virtual control signal through the dynamic surface with a nonlinear filter, which is used as the virtual control quantity for the next step until the actual controller is constructed. This not only avoids the "differential explosion" problem existing in the backstepping method, but also eliminates the boundary layer error, ensuring that the nonlinear system tracking error converges to the preset accuracy range.
[0169] Example 2
[0170] This embodiment is based on the embodiment 1, taking the three-stage inverted pendulum nonlinear system as an example, and applying the method described in the embodiment 1. In this embodiment, the Nussbaum type function adopts .
[0171] like Figure 2 As shown, the mathematical model of the three-stage inverted pendulum nonlinear system is expressed as:
[0172] ;
[0173] in, denote the angle of the system, the mass of the rod, and the spring constant, respectively. They represent the acceleration due to gravity, the distance from the pivot to the center of gravity of the connecting rod, and the length of the rod respectively.
[0174] make , then the above mathematical model can be further evolved into:
[0175] ;
[0176] in, , , .
[0177] In this embodiment, the preset accuracy is set to , the expected trajectory of each subsystem is set to , the initial state values are all set to 0. The actual controller is constructed using the method in Example 1, and the parameters are obtained as follows: , , , , , , , .
[0178] The simulation results are as follows Figure 3-5 As shown in the figure: the output trajectories of the three subsystems can all follow the expected trajectories; the tracking errors of the three subsystems can all converge to within the preset accuracy of 0.2; the input signals of the three subsystems are verified to be bounded signals. This shows that the control method ensures that the tracking error of the three-level inverted pendulum nonlinear system converges to within the preset accuracy range, eliminates the boundary layer error in each step of the backstepping method, and improves the stability of the three-level inverted pendulum nonlinear system.
[0179] Example 3
[0180] This embodiment provides an inverted pendulum nonlinear system control device based on preset accuracy, comprising:
[0181] The target system acquisition module is used to acquire an inverted pendulum nonlinear system including multiple subsystems.
[0182] The auxiliary tool acquisition module is used to acquire an auxiliary function pre-constructed according to the tracking error of the subsystem in the inverted pendulum nonlinear system and a dynamic surface with a nonlinear filter pre-constructed according to the boundary error of the subsystem in the inverted pendulum nonlinear system.
[0183] The controller building module is used to build the actual controller of the inverted pendulum nonlinear system based on the auxiliary function and the dynamic surface with nonlinear filter by using the backstepping method, and to perform tracking control on the inverted pendulum nonlinear system.
[0184] Example 4
[0185] This embodiment provides an inverted pendulum nonlinear system control device based on preset accuracy, including a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the inverted pendulum nonlinear system control method based on preset accuracy described in Example 1.
[0186] Example 5
[0187] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the inverted pendulum nonlinear system control method based on preset accuracy described in Embodiment 1 are implemented.
[0188] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0189] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure one A process or multiple processes and / or boxes Figure one A device that provides the functions specified in a block or multiple blocks.
[0190] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure one A process or multiple processes and / or boxes Figure one A function specified in one or more boxes.
[0191] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure one A process or multiple processes and / or boxes Figure one The steps for the functions specified in one or more boxes.
[0192] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A control method for an inverted pendulum nonlinear system based on preset accuracy, characterized in that: include: Obtain an inverted pendulum nonlinear system including a plurality of subsystems; Acquire an auxiliary function pre-constructed according to a tracking error of a subsystem in the inverted pendulum nonlinear system and a dynamic surface with a nonlinear filter pre-constructed according to a boundary error of a subsystem in the inverted pendulum nonlinear system; Based on the auxiliary function and the dynamic surface with nonlinear filter, the actual controller of the inverted pendulum nonlinear system is constructed by backstepping method, and the inverted pendulum nonlinear system is tracked and controlled.
2. The inverted pendulum nonlinear system control method based on preset accuracy according to claim 1, characterized in that: The inverted pendulum nonlinear system is expressed as: ; in, Indicates the subsystem number. , N represents the total number of subsystems, Represents the subsystem Step, represents the total order of the subsystem, Indicates Subsystem The state variable vector of order, , Indicates The subsystem status, Indicates The input signal of each subsystem is Indicates The output trajectory of each subsystem is represents an unknown smooth and continuous function, represents an unknown smooth inner function, Indicates All output signals of each subsystem, .
3. The inverted pendulum nonlinear system control method based on preset accuracy according to claim 1, characterized in that: The auxiliary function is used to set the preset accuracy of the tracking error, which includes the auxiliary function and , respectively expressed as: ; ; in, Indicates the preset accuracy, represents the tracking error, represents a step function.
4. The inverted pendulum nonlinear system control method based on preset accuracy according to claim 3, characterized in that: The dynamic surface with nonlinear filter is used to eliminate the boundary error of each order in the inverted pendulum nonlinear system. The dynamic surface with nonlinear filter is expressed as: ; in, Indicates Subsystem The boundary error of order, Indicates Subsystem Virtual controller of the first order, Indicates Subsystem The filter virtual controller of order , express The initial value of represents a constant, express The derivative of express The initial value of represents a constant, and ; Represents an adaptive variable.
5. The inverted pendulum nonlinear system control method based on preset accuracy according to claim 1, characterized in that: The actual controller of the inverted pendulum nonlinear system constructed by the backstepping method comprises: Define error variables and use radial basis neural network to transform unknown functions in error variables into known functions; The auxiliary function is used to construct the first-order Lyapunov function in the inverted pendulum nonlinear system, and the first-order virtual controller is constructed using the backstepping method. Using auxiliary functions to construct the first The Lyapunov function of order is constructed by inverse method. Virtual controller of the first order; Using auxiliary functions to construct the first The Lyapunov function of order is obtained and the actual controller is constructed using the backstepping method.
6. The inverted pendulum nonlinear system control method based on preset accuracy according to claim 5, characterized in that: The step of defining the error variable and converting the unknown function in the error variable into a known function by using the radial basis neural network includes: The error variable is expressed as: ; in, represents the expected trajectory, Indicates Subsystem order error variable; Derivative the above formula gives: ; Using radial basis neural network to process the unknown function in the above formula, we get: ; in, , represents the weights of the radial basis neural network, represents the radial basis neural network function, represents the approximation error of the radial basis neural network; ,in, , , .
7. The inverted pendulum nonlinear system control method based on preset accuracy according to claim 5, characterized in that: The method of using an auxiliary function to construct a first-order Lyapunov function in an inverted pendulum nonlinear system and using a backstepping method to construct a first-order virtual controller includes: First order Lyapunov function It is expressed as: ; in, , and represent positive real numbers, , and Respectively represent variables , and The error of First-order virtual controller It is expressed as: ; in, Indicates The variables in the first order of the subsystem are Nussbaum-type function of ; ; ; in, and All are positive numbers; ; represents a known non-negative smooth function; Adaptive Law and Respectively expressed as: ; ; in, and All represent positive numbers, represents the neural network radial basis function, ; The method of using auxiliary functions to construct the inverted pendulum nonlinear system The Lyapunov function of order is constructed by inverse method. Virtual controllers of the first level, including: No. Lyapunov function of order It is expressed as: ; in, and represent positive real numbers, and Respectively represent variables and The error of No. Virtual Controller It is expressed as: ; in, Indicates Subsystem The variables in the order are Nussbaum-type function of ; ; ; in, and All are positive numbers; Adaptive Law and Respectively expressed as: ; ; in, and All represent positive numbers, represents the radial basis neural network function, ; The method of using auxiliary functions to construct the inverted pendulum nonlinear system The Lyapunov function of order is used, and the actual controller is constructed using the backstepping method, including: No. Lyapunov function of order It is expressed as: ; in, and represent positive real numbers, and Respectively represent variables and The error of Actual controller It is expressed as: ; in, Indicates Subsystem The variables in the order are Nussbaum-type function of ; ; ; in, and All are positive numbers; Adaptive Law and Respectively expressed as: ; ; in, and All represent positive numbers, represents the radial basis neural network function, .
8. An inverted pendulum nonlinear system control device based on preset accuracy, characterized in that: include: A target system acquisition module, used for acquiring an inverted pendulum nonlinear system including a plurality of subsystems; An auxiliary tool acquisition module, used to acquire an auxiliary function pre-constructed according to a tracking error of a subsystem in the inverted pendulum nonlinear system and a dynamic surface with a nonlinear filter pre-constructed according to a boundary error of a subsystem in the inverted pendulum nonlinear system; The controller building module is used to build the actual controller of the inverted pendulum nonlinear system based on the auxiliary function and the dynamic surface with nonlinear filter by using the backstepping method, and to perform tracking control on the inverted pendulum nonlinear system.
9. An inverted pendulum nonlinear system control device based on preset accuracy, characterized in that: including processor and storage medium; The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the steps of the inverted pendulum nonlinear system control method based on preset accuracy as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the inverted pendulum nonlinear system control method based on preset accuracy described in any one of claims 1 to 7 are implemented.
