Sliding mode control method and related device for underactuated train based on feedback linearization
Through feedback linearization technology and adaptive sliding mode control, the problem of difficult control of under-actuated high-speed trains is solved, bounded tracking of speed and displacement is achieved, and control accuracy and stability are improved.
Patent Information
- Application Number
- CN202410732483.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-07
AI Technical Summary
The control of underactuated high-speed trains is difficult. The existing technology's approximate processing method is inaccurate and cannot effectively realize the tracking control of high-speed trains.
The sliding mode control method of underactuated trains based on feedback linearization is adopted. By designing linearization control law and sliding mode control law, the nonlinear problem of underactuated trains is converted into a linear system, and bounded tracking of speed and displacement is achieved, and in An adaptive mechanism is incorporated when the system parameters are unknown.
It realizes the bounded tracking of the speed and displacement of under-driven trains, eliminates the influence of nonlinear terms on the tracking control process, improves the control accuracy and stability, and is suitable for situations where the system parameters are unknown.
Smart Images

Figure CN118311879B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of high-speed train control, and in particular to a sliding mode control method for an under-actuated train based on feedback linearization and a related device. Background Art
[0002] With the rapid development of the transportation sector in recent years, high-speed train systems have become a typical control target. In the current high-speed train design, there are two types according to the distribution of train power units: one is a fully driven high-speed train and the other is an underdriven high-speed train. The so-called fully driven high-speed train can be interpreted as: each carriage in the high-speed train system has its own power system, and the opposite is called an underdriven high-speed train. Compared with fully driven high-speed trains, although underdriven high-speed trains have obvious advantages in saving resources and reducing costs, underdriven high-speed trains are more difficult to control. In my country's high-speed train system, underdriven high-speed trains are even more common. Since the underdriven high-speed train system is a process of multiple variables and mutual coupling between variables, it is difficult to achieve tracking control of high-speed trains.
[0003] In many existing studies, many researchers linearize the high-speed train system by approximating the equilibrium point. However, this approach is inaccurate and does not conform to the actual situation. Compared with the traditional method, the biggest feature of the feedback linearization method is that it can be converted into a linear system by only performing feedback transformation on the nonlinear system. Therefore, it is of great research significance to design a feedback linearization scheme for the nonlinear problem of underactuated trains. Summary of the invention
[0004] The purpose of the present invention is to provide a sliding mode control method and related devices for an underactuated train based on feedback linearization, which can transform the nonlinear problem of the underactuated train into a linear system by feedback transformation to formulate a sliding mode control law, and can achieve bounded tracking of the speed and displacement of the underactuated train.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] On the one hand, the present invention provides a sliding mode control method for an underactuated train based on feedback linearization, wherein the underactuated train includes a plurality of carriages, and adjacent carriages are connected by a spring-damper system; the method includes the following steps:
[0007] Based on the feedback linearization algorithm, a set of linearized control laws are designed.
[0008] The state space equation of the underactuated train is linearized by using a linearized control law to obtain a linear subsystem of the underactuated train; the state space equation of the underactuated train is a state space equation determined according to a nonlinear multi-particle dynamics model of the underactuated train.
[0009] According to the linear subsystem of the underactuated train, a set of sliding mode control laws based on feedback linearization are designed.
[0010] According to the expected tracking trajectory, the sliding mode control law is used to perform sliding mode control on the under-actuated train.
[0011] Alternatively, the nonlinear multi-mass dynamics model of the underactuated train can be expressed as follows:
[0012] .
[0013] in, represents the mass of the first carriage, represents the mass of the second carriage, represents the mass of the third carriage, represents the mass of the fourth carriage, represents the acceleration of the first carriage, represents the acceleration of the second carriage, represents the acceleration of the third carriage, represents the acceleration of the fourth carriage, represents the control input of the second carriage, represents the control input of the third carriage, represents the displacement of the first carriage at time t, represents the displacement of the second carriage at time t, represents the displacement of the third carriage at time t, represents the displacement of the fourth carriage at time t, represents the speed of the first carriage at time t, represents the speed of the second carriage at time t, represents the speed of the third carriage at time t, represents the speed of the fourth carriage at time t, represents the elastic coefficient of the spring connecting the first carriage and the second carriage, represents the elastic coefficient of the spring connecting the second and third carriages, represents the elastic coefficient of the spring connecting the third and fourth carriages, represents the damping coefficient of the damper connecting the first carriage and the second carriage, represents the damping coefficient of the damper connecting the second and third carriages, represents the damping coefficient of the damper connecting the third and fourth carriages, , and The drag coefficient represents the basic resistance of the first carriage. and The drag coefficient represents the basic resistance of the second carriage. and The drag coefficient represents the basic resistance of the third carriage. and The drag coefficient represents the basic resistance of the fourth carriage. represents the additional disturbance on the first carriage, represents the additional disturbance on the second carriage, represents the additional disturbance on the third carriage, represents the additional disturbance experienced by the first carriage.
[0014] Alternatively, the state space equation of the underactuated train can be expressed as follows:
[0015] .
[0016] in, represents the state of the underactuated train system, represents the displacement of the first carriage, represents the speed of the first carriage, represents the relative displacement between the first carriage and the second carriage, represents the speed of the second carriage, represents the relative displacement between the second and third carriages, represents the speed of the third carriage, represents the relative displacement between the third and fourth carriages, represents the speed of the fourth carriage, represents the system matrix, represents the control input of the underactuated train system, Indicates the control input signal of the second carriage, Indicates the control input signal of the third carriage. represents the input matrix, represents the basic resistance of the underactuated train system, , as well as Both represent coefficient matrices, represents the additional disturbance to the underactuated train system.
[0017] Alternatively, the linearized control law can be expressed as follows:
[0018] .
[0019] in, is the discriminant matrix The inverse matrix of , Indicates control output The Lie derivative of Indicates control output The Lie derivative of and These are all equivalent control laws that need to be designed.
[0020] Discriminant Matrix It can be expressed by the following formula:
[0021] .
[0022] in, is the Lie derivative, and The input matrix Two column vectors of To control the output The corresponding input-output relative order, To control the output The corresponding input-output relative order, , , .
[0023] Alternatively, the sliding mode control law can be expressed as follows:
[0024] .
[0025] in, represents the second-order derivative of the desired speed of the train, , , and All represent positive real numbers that need to be designed. Indicates control output The sliding mode function of Indicates control output The sliding mode function of represents the first-order derivative of the speed tracking error of the first carriage, express time, represents the starting time of the underactuated train system, represents the time integral symbol, Represents a symbolic function.
[0026] Optionally, the method further comprises the following steps:
[0027] According to the linear subsystem of the underactuated train, a set of adaptive sliding mode control laws based on feedback linearization are designed.
[0028] According to the expected tracking trajectory, an adaptive sliding mode control law is used to perform sliding mode control on the under-actuated train.
[0029] Alternatively, the adaptive sliding mode control law can be expressed as follows:
[0030] .
[0031] in, represents the adaptive sliding mode control law of the second carriage, Represents the adaptive sliding mode control law defined The estimated values of the auxiliary parameters of represents the adaptive sliding mode control law of the third carriage, represents the adaptive sliding mode control law The estimated values of the auxiliary parameters of Represents the first derivative of the desired speed of the train.
[0032] On the other hand, the present invention provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any one of the above-mentioned methods for sliding mode control of an under-driven train based on feedback linearization.
[0033] On the other hand, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-mentioned methods for sliding mode control of an under-actuated train based on feedback linearization.
[0034] On the other hand, the present invention provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned methods for sliding mode control of an under-actuated train based on feedback linearization.
[0035] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0036] The present invention provides a sliding mode control method for an underactuated train based on feedback linearization and a related device, the method comprising the following steps: designing a set of linearized control laws based on a feedback linearization algorithm; linearizing the state space equations of the underactuated train using the linearized control laws to obtain a linear subsystem of the underactuated train; designing a set of sliding mode control laws based on feedback linearization according to the linear subsystem of the underactuated train; and using the sliding mode control laws to perform sliding mode control on the underactuated train according to the expected tracking trajectory. The present invention proposes an adaptive sliding mode control scheme based on feedback linearization for underactuated high-speed trains to achieve bounded tracking of the speed and displacement of the train, which is more realistic, wherein the influence of nonlinear terms on the tracking control process is eliminated by applying feedback linearization technology to the underactuated train system. In addition, compared with the application of traditional feedback linearization technology, the present invention incorporates an adaptive mechanism into traditional feedback linearization technology, so that the underactuated train system can still be linearized when the system parameters are unknown. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 A flow chart of a sliding mode control method for an underactuated train based on feedback linearization provided in Example 1 of the present invention;
[0039] Figure 2 A schematic structural diagram of an underactuated train model in an underactuated train sliding mode control method based on feedback linearization provided in Embodiment 1 of the present invention;
[0040] Figure 3 A schematic diagram of an ideal speed and displacement curve in a sliding mode control method for an underactuated train based on feedback linearization provided in Example 1 of the present invention;
[0041] Figure 4 A schematic diagram of a speed tracking curve of an under-actuated train in the experimental results of a simulation experiment provided in Example 1 of the present invention;
[0042] Figure 5 A schematic diagram of a speed tracking error curve of an under-actuated train in the experimental results of a simulation experiment provided in Example 1 of the present invention;
[0043] Figure 6 A schematic diagram of a displacement tracking curve of an underactuated train in the experimental results of a simulation experiment provided in Example 1 of the present invention;
[0044] Figure 7 A schematic diagram of a displacement tracking error curve of an underactuated train in the experimental results of a simulation experiment provided in Example 1 of the present invention;
[0045] Figure 8 This is a diagram of the internal structure of a computer device provided in Example 4 of the present invention. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] The purpose of the present invention is to provide a feedback linearization-based sliding mode control method for an underactuated train and related devices, aiming to design a feedback linearization sliding mode control scheme for an underactuated train for the nonlinear problem of the underactuated train.
[0048] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0049] Example 1
[0050] like Figure 1 The flowchart shown in the figure is a sliding mode control method for an underactuated train based on feedback linearization in this embodiment. The underactuated train includes a plurality of carriages, and adjacent carriages are connected by a spring-damper system. The method includes the following steps:
[0051] A1. Based on the feedback linearization algorithm, a set of linearized control laws is designed. Specifically, the linearized control law can be expressed by the following formula:
[0052] .
[0053] in, is the discriminant matrix The inverse matrix of , Indicates control output The Lie derivative of Indicates control output The Lie derivative of and These are all equivalent control laws that need to be designed.
[0054] Discriminant Matrix It can be expressed by the following formula:
[0055] .
[0056] in, is the Lie derivative, and The input matrix Two column vectors of To control the output The corresponding input-output relative order, To control the output The corresponding input-output relative order, , , .
[0057] A2. The state space equation of the underactuated train is linearized by using the linearized control law to obtain the linear subsystem of the underactuated train. The state space equation of the underactuated train is a state space equation determined according to the nonlinear multi-particle dynamics model of the underactuated train.
[0058] Among them, the nonlinear multi-particle dynamics model of the underactuated train can be expressed by the following formula:
[0059] .
[0060] in, represents the mass of the first carriage, represents the mass of the second carriage, represents the mass of the third carriage, represents the mass of the fourth carriage, represents the acceleration of the first carriage, represents the acceleration of the second carriage, represents the acceleration of the third carriage, represents the acceleration of the fourth carriage, represents the control input of the second carriage, represents the control input of the third carriage, represents the displacement of the first carriage at time t, represents the displacement of the second carriage at time t, represents the displacement of the third carriage at time t, represents the displacement of the fourth carriage at time t, represents the speed of the first carriage at time t, represents the speed of the second carriage at time t, represents the speed of the third carriage at time t, represents the speed of the fourth carriage at time t, represents the elastic coefficient of the spring connecting the first carriage and the second carriage, represents the elastic coefficient of the spring connecting the second and third carriages, represents the elastic coefficient of the spring connecting the third and fourth carriages, represents the damping coefficient of the damper connecting the first carriage and the second carriage, represents the damping coefficient of the damper connecting the second and third carriages, represents the damping coefficient of the damper connecting the third and fourth carriages, , and The drag coefficient represents the basic resistance of the first carriage. and The drag coefficient represents the basic resistance of the second carriage. and The drag coefficient represents the basic resistance of the third carriage. and The drag coefficient represents the basic resistance of the fourth carriage. represents the additional disturbance on the first carriage, represents the additional disturbance on the second carriage, represents the additional disturbance on the third carriage, represents the additional disturbance experienced by the first carriage.
[0061] The state space equation of the underactuated train can be expressed as follows:
[0062] .
[0063] in, represents the state of the underactuated train system, R is the real number domain, represents the displacement of the first carriage, represents the speed of the first carriage, represents the relative displacement between the first carriage and the second carriage, represents the speed of the second carriage, represents the relative displacement between the second and third carriages, represents the speed of the third carriage, represents the relative displacement between the third and fourth carriages, represents the speed of the fourth carriage, represents the system matrix, represents the control input of the underactuated train system, Indicates the control input signal of the second carriage, Indicates the control input signal of the third carriage. represents the input matrix, represents the basic resistance of the underactuated train system, , as well as Both represent coefficient matrices, represents the additional disturbance to the underactuated train system.
[0064] A3. According to the linear subsystem of the underactuated train, a set of sliding mode control laws based on feedback linearization is designed. Specifically, the sliding mode control law can be expressed by the following formula:
[0065] .
[0066] in, represents the second-order derivative of the desired speed of the train, , , and All represent positive real numbers that need to be designed. Indicates control output The sliding mode function of Indicates control output The sliding mode function of represents the first-order derivative of the speed tracking error of the first carriage, express time, represents the starting time of the underactuated train system, represents the time integral symbol, Represents a symbolic function.
[0067] A4. According to the expected tracking trajectory, the sliding mode control law is used to perform sliding mode control on the under-actuated train.
[0068] The above sliding mode control law is only applicable when the system parameters of the described underactuated train system are known. When the system parameters of the described underactuated train system are unknown, the above sliding mode control law based on feedback linearization is not applicable. Therefore, it is necessary to design a set of adaptive sliding mode control laws based on feedback linearization to achieve the required tracking performance, which also includes the following steps:
[0069] According to the linear subsystem of the underactuated train, a set of adaptive sliding mode control laws based on feedback linearization are designed. The adaptive sliding mode control law can be expressed by the following formula:
[0070] .
[0071] in, represents the adaptive sliding mode control law of the second carriage, Represents the adaptive sliding mode control law defined The estimated values of the auxiliary parameters of represents the adaptive sliding mode control law of the third carriage, represents the adaptive sliding mode control law The estimated values of the auxiliary parameters of Represents the first derivative of the desired speed of the train.
[0072] The adaptive law of the auxiliary parameters is designed as follows.
[0073] , .
[0074] According to the expected tracking trajectory, an adaptive sliding mode control law is used to perform sliding mode control on the under-actuated train.
[0075] In this embodiment, an adaptive sliding mode control scheme based on feedback linearization is proposed for underactuated high-speed trains to achieve bounded tracking of train speed and displacement, which is more realistic. The feedback linearization technology is applied to the underactuated train system to eliminate the influence of nonlinear terms on the tracking control process. In addition, compared with the application of traditional feedback linearization technology, this embodiment integrates the adaptive mechanism into the traditional feedback linearization technology, so that the underactuated train system can still be linearized when the system parameters are unknown.
[0076] The above content explains the steps of the under-actuated train sliding mode control method based on feedback linearization provided by this embodiment in the logical order when the scheme is specifically used. To facilitate understanding of the motivation and logic proposed in this embodiment, the under-actuated train sliding mode control method based on feedback linearization provided by this embodiment is explained in a theoretical derivation manner below.
[0077] In the first step, before linearization, the internal force, basic resistance and additional disturbance of the underactuated train need to be considered, and the nonlinear multi-particle dynamic model of the underactuated train is constructed as follows:
[0078] (1).
[0079] In formula (1), represents the mass of the first carriage, represents the mass of the second carriage, represents the mass of the third carriage, represents the mass of the fourth carriage, represents the acceleration of the first carriage, represents the acceleration of the second carriage, represents the acceleration of the third carriage, represents the acceleration of the fourth carriage, represents the control input of the second carriage, represents the control input of the third carriage, represents the displacement of the first carriage at time t, represents the displacement of the second carriage at time t, represents the displacement of the third carriage at time t, represents the displacement of the fourth carriage at time t, represents the speed of the first carriage at time t, represents the speed of the second carriage at time t, represents the speed of the third carriage at time t, represents the speed of the fourth carriage at time t, It represents the elastic coefficient of the spring connecting the first car and the second car. It represents the elastic coefficient of the spring connecting the second car and the third car. Indicates the elastic coefficient of the spring connecting the third car and the fourth car, represents the damping coefficient of the damper connecting the first carriage and the second carriage, represents the damping coefficient of the damper connecting the second and third carriages, represents the damping coefficient of the damper connecting the third car and the fourth car, , and The drag coefficient represents the basic resistance of the first carriage. and The drag coefficient represents the basic resistance of the second carriage. and The drag coefficient represents the basic resistance of the third carriage. and The drag coefficient represents the basic resistance of the fourth carriage. represents the additional disturbance on the first carriage, represents the additional disturbance on the second carriage, represents the additional disturbance on the third carriage, represents the additional disturbance experienced by the first carriage.
[0080] Subsequently, based on the constructed nonlinear multi-particle dynamics model (1) of the underactuated train, the state of the underactuated train system is determined to be the vehicle velocity and the relative displacement between adjacent vehicles. The nonlinear multi-particle dynamics model of the underactuated train can be rewritten into the state space equation form of the underactuated train; wherein the state of the underactuated train system is defined as equation (2):
[0081] (2).
[0082] According to the defined system state, the state space equation of the underactuated train can be expressed as formula (3):
[0083] (3).
[0084] in, represents the state of the underactuated train system, represents the system matrix, represents the control input of the underactuated train system, represents the input matrix, represents the basic resistance of the underactuated train system, , as well as Both represent coefficient matrices, represents the additional disturbance to the underactuated train system.
[0085] In order to simplify the following writing, the system parameters of the underactuated train system are defined as: , , , , , , The coefficient matrix in the state space equation (3) of the underactuated train can be described in detail as equations (4) to (8):
[0086] (4).
[0087] (5).
[0088] (6).
[0089] (7).
[0090] (8).
[0091] in, , , , .
[0092] After clarifying the state space equation of the underactuated train, a set of linearized control laws are designed based on feedback linearization technology. The control laws can linearize the underactuated train system and decouple the underactuated train system into a linear subsystem and a zero dynamic subsystem. The specific steps include:
[0093] Based on the obtained state space equation (3) of the underactuated train, the control output of the underactuated train system is defined, and then the state space equation (3) of the underactuated train system is rewritten into the state space equation of a general affine nonlinear system.
[0094] The structure of the underactuated train model is as follows: Figure 2 As shown, the control input only acts on the second and third cars. It can be found that if the first car can track the ideal speed trajectory and the connection between adjacent trains is normal, then the entire underactuated train system can achieve bounded tracking of train speed and displacement. In order to achieve the tracking control goal, the control output of the underactuated train system is selected as the speed of the first and third cars. Therefore, the control output of the underactuated train system is defined as: .
[0095] in, represents the output function and There are two sub-output functions and composition.
[0096] The state space equation (3) of the underactuated train system is rewritten as the state space equation of a general affine nonlinear system as equation (9):
[0097] (9).
[0098] in, and is the nonlinear function of the underactuated train system, and is the input matrix (where and The input matrix ), and represents the control output of the underactuated train system, Represents the control input signal for the underactuated train system.
[0099] Based on the obtained state space equation (9) of the general affine nonlinear system of the underactuated train system, the input-output relative order corresponding to the control output of the underactuated train system can be calculated.
[0100] For the state space equation (9) of the general affine nonlinear system of the underactuated train system, if conditions (i) and (ii) are satisfied:
[0101] (i): For all In the neighborhood and all All are established;
[0102] (ii): ;
[0103] Then the state space equation (9) of the general affine nonlinear system of the underactuated train system is Relative order .
[0104] Through simple calculation, we can get: and Therefore, the control output of the general affine nonlinear system of the underactuated train system is and The corresponding input-output relative orders are and .
[0105] Based on the input-output relative order corresponding to the control output of the general affine nonlinear system state space equation (9) of the underactuated train system, the discriminant matrix is calculated. .
[0106] According to the obtained general affine nonlinear system control state space equation (9) of the underactuated train system, the control output and Corresponding input-output relative order, calculate the discriminant matrix It is expressed as formula (10):
[0107] (10).
[0108] in, Represents the calculation rule of Lie derivative.
[0109] It can be seen from formula (10) that no matter how the underactuated train system parameters change, the discriminant matrix must be non-singular. Therefore, feedback linearization techniques can be applied to underactuated train systems.
[0110] Based on the input-output relative order corresponding to the control output of the general affine nonlinear system of the underactuated train system, by taking the derivative of the control output (the number of derivatives is the order of the relative order corresponding to the control output), the mathematical expression between the control output and the control input signal of the underactuated train system is expressed as formula (11):
[0111] (11).
[0112] in, represents the second-order derivative of the speed of the first carriage, represents the first-order derivative of the velocity of the third carriage, Indicates control output The Lie derivative of Indicates control output The Lie derivative of .
[0113] Based on equations (10) and (11), a set of linearized control laws that need to be designed is expressed as equation (12):
[0114] (12).
[0115] in, Indicates the control input signal of the second carriage, Indicates the control input signal of the third carriage. Represents the discriminant matrix The inverse matrix of and These are all equivalent control laws that need to be designed.
[0116] The control law (12) can linearize the state space equation (9) of the underactuated train system and decouple the system into a linear subsystem and a zero dynamic subsystem. By introducing a set of coordinate transformation functions, the differential equation form of the decoupled linear subsystem can be obtained.
[0117] The introduced coordinate transformation function is expressed as: .
[0118] in, Indicates control output The Lie derivative of Represents three sets of real coordinate transformation functions, Represents five sets of virtual coordinate transformation functions.
[0119] The differential equation form of the linear subsystem is expressed as formula (13):
[0120] (13).
[0121] in, represents the composite additional disturbance and , Represents the additional disturbance experienced by the third carriage.
[0122] According to the state space equation of the underactuated train system, the feedback linearization technology and the decoupled linear subsystem, a set of adaptive sliding mode controllers based on feedback linearization is determined, and the specific steps include:
[0123] In order to facilitate the design of sliding mode controller, the control output error is defined as and filter variables They are respectively formula (14) and formula (15):
[0124] (14).
[0125] in, represents the speed tracking error of the first carriage, represents the speed tracking error of the third carriage, represents the speed of the first carriage, represents the speed of the third carriage, represents the desired speed of the train, and the desired tracking trajectory (i.e., the ideal speed and displacement curve) is as follows: Figure 3 shown.
[0126] (15).
[0127] in, Indicates the control output The designed sliding mode function, Indicates the control output The designed sliding mode function, represents the first-order derivative of the speed tracking error of the first carriage, Represents the positive real number that needs to be designed.
[0128] Next, the control output error is defined as The derivative and filter variable The derivatives of are respectively formula (16) and formula (17):
[0129] (16).
[0130] in, represents the first derivative of the velocity of the first carriage, represents the first derivative of the velocity of the third carriage, represents the first-order derivative of the desired speed of the train, Represents the first-order derivative of the velocity tracking error of the third car.
[0131] (17).
[0132] in, Represents the second-order derivative of the velocity tracking error of the first car.
[0133] According to the feedback linearization principle, the equivalent control law is designed as formula (18):
[0134] (18).
[0135] in, represents the second-order derivative of the desired speed of the train, , as well as All represent positive real numbers that need to be designed. represents the start time of the underactuated train system, Represents a symbolic function.
[0136] When the system parameters of the described underactuated train system are known, the nominal sliding mode control law based on feedback linearization is expressed as Equation (19):
[0137] (19).
[0138] When the system parameters of the described underactuated train system are unknown, the nominal sliding mode control law based on feedback linearization (Eq. (19)) is not applicable. Therefore, it is necessary to design a set of adaptive sliding mode control laws based on feedback linearization to replace Eq. (19) to achieve the required tracking performance. Prior to this, for the convenience of analysis, some auxiliary parameters of the nominal sliding mode control law (19) are defined as Eq. (20)~Eq. (21):
[0139] (20).
[0140] (twenty one).
[0141] According to the defined auxiliary parameters (20) and (21), the auxiliary parameter estimation error of the sliding mode controller can be defined as (22):
[0142] (twenty two).
[0143] in, In the sliding mode control law (19), The true value of the auxiliary parameter, In the sliding mode control law (19), The true value of the auxiliary parameter, In the sliding mode control law (19), The estimated values of the auxiliary parameters of In the sliding mode control law (19), The estimated values of the auxiliary parameters.
[0144] According to the estimation error of the defined auxiliary parameters, the adaptive law of the auxiliary parameters of the designed sliding mode control law (19) can be designed as Equation (23) and Equation (24):
[0145] (twenty three).
[0146] (twenty four).
[0147] Based on the above analysis, the adaptive sliding mode controller based on feedback linearization can be designed as follows:
[0148] (25).
[0149] in, Represents the adaptive sliding mode control law defined The estimated values of the auxiliary parameters of Represents the adaptive sliding mode control law defined The estimated values of the auxiliary parameters of represents the second-order derivative of the ideal velocity trajectory, represents the first-order derivative of the ideal velocity trajectory, is the first-order derivative of the speed tracking error of the first carriage, and Both represent the selected sliding mode functions, as well as These are parameters that need to be designed.
[0150] Finally, in order to verify the effectiveness of the underactuated train sliding mode control method based on feedback linearization proposed in this embodiment, a simulation experiment is conducted on the performance of the proposed adaptive sliding mode control law and the results of the simulation experiment are analyzed.
[0151] This simulation experiment is to simulate the underactuated train system composed of four carriages. The parameters of the underactuated train system are as follows: the masses of the four carriages are 42.8 tons, 48 tons, 46.5 tons and 42 tons respectively; the resistance coefficients of the basic resistance of the first carriage are: , and ; The resistance coefficient of the basic resistance of the second carriage is: , ; The resistance coefficient of the basic resistance of the third carriage is: , ; The resistance coefficients of the basic resistance of the fourth carriage are: , ; The elastic coefficients of the three springs connecting adjacent carriages are: , , ; The damping coefficients of the three dampers connecting adjacent carriages are: , , ; The acceleration due to gravity is ; The additional perturbation is expressed as: The expected speed and expected displacement curves of the underactuated train are as follows: Figure 3The ideal velocity and displacement curves are shown in Figure 2; the initial state of the underactuated train system is expressed as: .
[0152] The simulation results obtained by using the designed adaptive sliding mode control law based on feedback linearization to make the underactuated train track the ideal speed and displacement curve are as follows: Figures 4 to 7 shown. Figures 4 to 7 They are respectively the speed tracking curve of the under-actuated train, the speed tracking error curve of the under-actuated train, the displacement tracking curve of the under-actuated train and the displacement tracking error curve of the under-actuated train.
[0153] like Figure 4 and Figure 6 As shown in , the proposed control method can make the underactuated train track the ideal speed and displacement curves well and will not produce serious buffeting during the speed and displacement tracking process; Figure 5 and Figure 7 As shown in the figure, although the influence of additional disturbance is added to the underactuated train model and an adaptive mechanism is added to the controller design, the proposed control method still has a faster convergence speed.
[0154] Example 2
[0155] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a sliding mode control method for an under-actuated train based on feedback linearization in Example 1.
[0156] Example 3
[0157] A computer program product includes a computer program, which, when executed by a processor, implements the steps of a sliding mode control method for an under-actuated train based on feedback linearization in Example 1.
[0158] Example 4
[0159] A computer device, which may be a database, may have an internal structure as shown in Figure 8As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pending transactions. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a sliding mode control method for an under-driven train based on feedback linearization in Example 1 is implemented.
[0160] It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the object or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0161] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present invention may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided by the present invention may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0162] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0163] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A sliding mode control method for an underactuated train based on feedback linearization, characterized in that: The underactuated train comprises a plurality of carriages, and adjacent carriages are connected by a spring-damping system; including: Based on the feedback linearization algorithm, a set of linearized control laws are designed; The state space equation of the underactuated train is linearized by using the linearized control law to obtain a linear subsystem of the underactuated train; the state space equation of the underactuated train is a state space equation determined according to a nonlinear multi-particle dynamics model of the underactuated train; According to the linear subsystem of the underactuated train, a set of sliding mode control laws based on feedback linearization are designed; According to the desired tracking trajectory, the underactuated train is subjected to sliding mode control using the sliding mode control law; The nonlinear multi-mass dynamics model of the underactuated train can be expressed as follows: ; in, represents the mass of the first carriage, represents the mass of the second carriage, represents the mass of the third carriage, represents the mass of the fourth carriage, represents the acceleration of the first carriage, represents the acceleration of the second carriage, represents the acceleration of the third carriage, represents the acceleration of the fourth carriage, represents the control input of the second carriage, represents the control input of the third carriage, represents the displacement of the first carriage at time t, represents the displacement of the second carriage at time t, represents the displacement of the third carriage at time t, represents the displacement of the fourth carriage at time t, represents the speed of the first carriage at time t, represents the speed of the second carriage at time t, represents the speed of the third carriage at time t, represents the speed of the fourth carriage at time t, represents the elastic coefficient of the spring connecting the first carriage and the second carriage, represents the elastic coefficient of the spring connecting the second and third carriages, represents the elastic coefficient of the spring connecting the third and fourth carriages, represents the damping coefficient of the damper connecting the first carriage and the second carriage, represents the damping coefficient of the damper connecting the second and third carriages, represents the damping coefficient of the damper connecting the third and fourth carriages, , and The drag coefficient represents the basic resistance of the first carriage. and The drag coefficient represents the basic resistance of the second carriage. and The drag coefficient represents the basic resistance of the third carriage. and The drag coefficient represents the basic resistance of the fourth carriage. represents the additional disturbance on the first carriage, represents the additional disturbance on the second carriage, represents the additional disturbance on the third carriage, represents the additional disturbance suffered by the first carriage; The state space equation of the underactuated train can be expressed as follows: ; in, represents the state of the underactuated train system, represents the displacement of the first carriage, represents the speed of the first carriage, represents the relative displacement between the first carriage and the second carriage, represents the speed of the second carriage, represents the relative displacement between the second and third carriages, represents the speed of the third carriage, represents the relative displacement between the third and fourth carriages, represents the speed of the fourth carriage, represents the system matrix, represents the control input of the underactuated train system, Indicates the control input signal of the second carriage, Indicates the control input signal of the third carriage. represents the input matrix, represents the basic resistance of the underactuated train system, , as well as Both represent coefficient matrices, represents the additional disturbance to the underactuated train system; The linearized control law can be expressed as follows: ; in, is the discriminant matrix The inverse matrix of , Indicates control output The Lie derivative of Indicates control output The Lie derivative of and They are all equivalent control laws that need to be designed; Discriminant Matrix It can be expressed by the following formula: ; in, is the Lie derivative, and The input matrix Two column vectors of To control the output The corresponding input-output relative order, To control the output The corresponding input-output relative order, , , ; The sliding mode control law can be expressed as follows: ; in, represents the second-order derivative of the desired speed of the train, , , and All represent positive real numbers that need to be designed. Indicates control output The sliding mode function of Indicates control output The sliding mode function of represents the first-order derivative of the speed tracking error of the first carriage, express time, represents the starting time of the underactuated train system, represents the time integral symbol, Represents a symbolic function.
2. The sliding mode control method of an underactuated train based on feedback linearization according to claim 1, characterized in that: Also includes: According to the linear subsystem of the underactuated train, a set of adaptive sliding mode control laws based on feedback linearization are designed; According to the desired tracking trajectory, the adaptive sliding mode control law is used to perform sliding mode control on the under-actuated train.
3. The sliding mode control method of an underactuated train based on feedback linearization according to claim 2, characterized in that: The adaptive sliding mode control law can be expressed as follows: ; in, represents the adaptive sliding mode control law of the second carriage, Represents the adaptive sliding mode control law defined The estimated values of the auxiliary parameters of represents the adaptive sliding mode control law of the third carriage, represents the adaptive sliding mode control law The estimated values of the auxiliary parameters of Represents the first derivative of the desired speed of the train.
4. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of a feedback linearization-based sliding mode control method for an underactuated train according to any one of claims 1 to 3.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of a sliding mode control method for an underactuated train based on feedback linearization described in any one of claims 1 to 3 are implemented.
6. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of a sliding mode control method for an underactuated train based on feedback linearization described in any one of claims 1 to 3 are implemented.
