A parallel control method and system for an electro-hydraulic servo system
By constructing a mathematical model and error augmentation system of the electro-hydraulic servo system, and using neural networks to design parallel controllers, the problem of poor control performance of the electro-hydraulic servo system is solved, efficient parallel control of the electro-hydraulic servo system is achieved, and control problems are avoided Signal buffeting phenomenon improves control accuracy and stability.
Patent Information
- Application Number
- CN202210750608.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-06-29
AI Technical Summary
The traditional electro-hydraulic servo system control method is difficult to effectively improve the tracking performance and dynamic response characteristics of the system, and is easily affected by the chattering phenomenon of the control signal, resulting in poor control performance.
Propose a parallel control method for electro-hydraulic servo systems. By constructing load force balance equations and flow equations, establishing mathematical models, defining error augmentation systems and performance index functions, using neural networks to obtain optimal value functions, and designing parallel controllers, Realize parallel control of electro-hydraulic servo system.
The control performance of the electro-hydraulic servo system is improved, the chattering phenomenon of the control signal is avoided, and the control signal is not only related to the system state, but also related to the properties of the parallel controller itself, significantly improving the control accuracy and stability.
Smart Images

Figure CN115145151B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of parallel control, and more specifically, to a parallel control method and system for an electro-hydraulic servo system. Background Art
[0002] As a transmission system with high control accuracy, fast response speed, large output power, easy maintenance, high transmission efficiency and convenient energy acquisition, the electro-hydraulic servo system is widely used in many fields, such as the control of aircraft and ship steering gears, the position control of machine tool workbenches and the control of generator speed.
[0003] The electro-hydraulic servo system is a nonlinear system, which contains a variety of nonlinear characteristics. The control method designed by traditional linear theory is gradually unable to meet the performance requirements of the electro-hydraulic servo system. Therefore, it is necessary to design a control method that can effectively improve the nonlinear characteristics of the electro-hydraulic servo system according to the nonlinear characteristics existing in the electro-hydraulic servo system. In order to solve the problems of the traditional control method, the prior art proposes a sliding mode control method for the electro-hydraulic servo system, and applies the sliding mode control to the electro-hydraulic servo system to improve the tracking performance and dynamic response characteristics of the system. However, this control method has certain limitations when applied: the design of the controller in this control method is only related to the system state, and the system state is easily affected by various factors and is difficult to measure, and the control signal cannot be obtained. In addition, the electro-hydraulic servo system in this control method is easily affected by the chattering phenomenon of the control signal, and the chattering phenomenon of the control signal cannot be completely eliminated, resulting in poor control performance. Summary of the invention
[0004] In order to solve the problem of poor control performance of the existing control method when controlling the electro-hydraulic servo system, the present invention proposes a parallel control method and system for the electro-hydraulic servo system, which can improve the control performance of the electro-hydraulic servo system.
[0005] In order to achieve the above technical effects, the technical solution of the present invention is as follows:
[0006] A parallel control method for an electro-hydraulic servo system, comprising:
[0007] S1. Construct the load force balance equation and flow equation of the electro-hydraulic servo system;
[0008] S2. Construct a mathematical model of the electro-hydraulic servo system;
[0009] S3. Based on the mathematical model of the electro-hydraulic servo system, construct the error augmentation system and augmentation performance index function;
[0010] S4. Based on the error augmentation system and the augmentation performance index function, the optimal value function is obtained by judging the neural network;
[0011] S5. Design a parallel controller for the electro-hydraulic servo system based on the optimal value function, and use the parallel controller to perform parallel control of the electro-hydraulic servo system.
[0012] Preferably, in step S1, the electro-hydraulic servo system is a hydraulic cylinder electro-hydraulic servo system, and the process of constructing the load force balance equation and flow equation of the electro-hydraulic servo system is as follows:
[0013] According to Newton's second law, the kinematic equation of the piston of the hydraulic cylinder is:
[0014]
[0015] Among them, P L =P1-P2, P1 and P2 represent the pressure difference between the oil inlet and the oil return port of the hydraulic cylinder, A p is the effective area of the piston of the hydraulic cylinder, P L is the external load force applied to the hydraulic cylinder electro-hydraulic servo system, m is the mass of the hydraulic cylinder piston, B p is the viscous damping coefficient of the hydraulic cylinder, x p is the displacement of the hydraulic cylinder piston, is the speed of the hydraulic cylinder piston, is the acceleration of the hydraulic cylinder piston;
[0016] According to the kinematic equation of the hydraulic cylinder piston, the load force balance equation of the hydraulic cylinder electro-hydraulic servo system is obtained:
[0017]
[0018] Among them, C t is the internal leakage coefficient of the hydraulic cylinder, P L =P1-P2, P L Indicates the pressure difference between the oil inlet and the oil return port of the hydraulic cylinder. P1 is the pressure of the oil inlet, P2 is the pressure of the oil return port, and V t is the total volume of the hydraulic cylinder, β e is the effective bulk elastic modulus of the hydraulic oil, Q L is the load flow of the servo valve in the electro-hydraulic servo system, which is obtained by the following expression:
[0019]
[0020] Among them, Q1 is the flow rate of the hydraulic cylinder oil inlet, and Q2 is the flow rate of the hydraulic cylinder oil return port;
[0021] Then the flow equation of the hydraulic cylinder electro-hydraulic servo system is:
[0022]
[0023] Among them, P sis the hydraulic source oil pressure, sgn(x v ) is:
[0024]
[0025] k q The expression is:
[0026]
[0027] Among them, C d is the flow coefficient, ω is the valve core area gradient, and ρ is the oil density;
[0028] Valve core displacement x v The expression is:
[0029] x v =k i u (7)
[0030] Among them, k i is the positive gain, k i Obtained according to the characteristic curve provided by the servo valve sample, u is the control input voltage;
[0031] The above expression is used to obtain the expression of the servo valve load flow QL in the electro-hydraulic servo system:
[0032]
[0033] Among them, k t =k q k i , k t Represents the total flow gain related to the control input voltage u.
[0034] Preferably, according to the nonlinear model represented by formulas (1), (2) and (8), the state variables of the hydraulic cylinder electro-hydraulic servo system are defined as The state equation of the hydraulic cylinder electro-hydraulic servo system is expressed as:
[0035]
[0036]
[0037]
[0038] Among them, the expressions of ψ(x2, x3), g(u) and C are as follows:
[0039]
[0040]
[0041]
[0042] According to the above formula, the state equation expression of the hydraulic cylinder electro-hydraulic servo system is simplified as follows:
[0043]
[0044] Among them, the expression of f(x,u) is:
[0045]
[0046] Preferably, in step S3,
[0047] Determine the dynamic equation expression:
[0048]
[0049] Among them, x d ∈R 3 is the expected tracking trajectory, f d ∈R 3 ;
[0050] Define the error signal e = xx d , according to formulas (8) and (10), the expression of the error system is obtained:
[0051]
[0052] Let s = [eu] T , we get the expression of the error augmentation system:
[0053]
[0054] in,
[0055] According to the optimal control principle, the performance index function is defined as:
[0056]
[0057] Among them, U p (s(τ),u s (τ)) is the utility function, expressed as:
[0058] U p (s(τ),u s (τ))=[eu]Q p [eu] T +u s T R p u s =s T Q p s+us T R p u s (19)
[0059] Among them, Q p ∈R 4×4 , R p ∈R,Q p and R p is a symmetric positive definite matrix;
[0060] Define the Hamiltonian function:
[0061]
[0062] in, Indicates V p The gradient of (s).
[0063] Preferably, in step S4,
[0064] Determine the optimal value function Satisfies the HJB equation:
[0065]
[0066] According to the expression (17) of the error augmentation system, the optimal parallel control function is determined, and the expression is:
[0067]
[0068] Based on formula (22), by solving Obtaining the optimal control strategy
[0069]
[0070] Substituting formula (23) into formula (21), we obtain:
[0071]
[0072] Right now
[0073]
[0074] Preferably, in step S5,
[0075] The following neural network is used to approximate the optimal value function
[0076]
[0077] Among them, W *is the ideal weight of the neural network, N is the number of neurons in the hidden layer, ε(s) is the approximate error of the neural network, σ(s): R 4 →R N is the bipolar sigmoid activation function of the neural network, expressed as:
[0078]
[0079] Then the optimal value function Gradient The expression is:
[0080]
[0081] in,
[0082] Substituting formula (28) into formula (23), the optimal control strategy is The expression is:
[0083]
[0084] Substituting formula (28) into formula (25), the HJB equation is expressed as:
[0085]
[0086] in, D is a constant matrix, ε HJB is the residual, and the expression is:
[0087]
[0088] Then the optimal value function Estimated value of The expression is:
[0089]
[0090] in, W * An estimated value of
[0091] but The gradient expression is:
[0092]
[0093] According to formulas (29) and (33), the control strategy u s (s) is expressed as:
[0094]
[0095] The approximate Hamiltonian function expression is:
[0096]
[0097] Let P(s)∈C 1 (Ω p ) is a bounded Lyapunov candidate function that satisfies:
[0098]
[0099] Then there exists a positive definite matrix satisfy:
[0100]
[0101] The update law is designed as follows:
[0102]
[0103] Among them, α1>0, α2>0, and
[0104]
[0105]
[0106] when When , the second term of formula (38) is eliminated, and minimizing the approximate Hamiltonian becomes the main goal of the weight update process. When , the second term of formula (38) is activated to enhance the training process of the weight vector until the electro-hydraulic servo system exhibits stable behavior. Based on the above method, the parallel controller of the electro-hydraulic servo system is obtained, and the parallel controller is used to perform parallel control of the electro-hydraulic servo system.
[0107] The present invention also provides an electro-hydraulic servo system parallel control system, comprising:
[0108] A first construction unit is used to construct a flow equation and a load force balance equation of the electro-hydraulic servo system;
[0109] A second construction unit is used to construct a mathematical model of the electro-hydraulic servo system based on the constructed flow equation and load force balance equation;
[0110] The third construction unit is used to construct an error augmentation system and an augmented performance index function based on a mathematical model of the electro-hydraulic servo system;
[0111] An acquisition unit, used for obtaining an optimal value function by judging a neural network based on an error augmentation system and an augmentation performance index function;
[0112] The design unit is used to design a parallel controller for the electro-hydraulic servo system according to the optimal value function, and to use the parallel controller to perform parallel control of the electro-hydraulic servo system.
[0113] The electro-hydraulic servo system parallel control system proposed in the present invention is used to execute the electro-hydraulic servo system parallel control method proposed in the present invention.
[0114] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0115] The present invention proposes a parallel control method and system for an electro-hydraulic servo system, designs a parallel controller for the electro-hydraulic servo system, and uses the parallel controller to perform parallel control of the electro-hydraulic servo system, so that the control signal is not only related to the state of the electro-hydraulic servo system, but also related to the properties of the parallel controller itself, and effectively avoids the chattering phenomenon of the control signal in the electro-hydraulic servo system, which can improve the control performance of the electro-hydraulic servo system. BRIEF DESCRIPTION OF THE DRAWINGS
[0116] Figure 1 A schematic flow chart showing a parallel control method for an electro-hydraulic servo system according to the present invention;
[0117] Figure 2 A schematic diagram showing the electro-hydraulic servo system proposed by the present invention;
[0118] Figure 3 The present invention shows a structural schematic diagram of a hydraulic cylinder electro-hydraulic servo system;
[0119] Figure 4 A schematic diagram showing the structure of the parallel controller proposed by the present invention;
[0120] Figure 5 A schematic diagram showing the parallel control system of the electro-hydraulic servo system proposed by the present invention. DETAILED DESCRIPTION
[0121] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;
[0122] In order to better illustrate the present embodiment, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the actual size;
[0123] It is understandable to those skilled in the art that descriptions of certain well-known contents in the drawings may be omitted.
[0124] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0125] The positional relationships described in the drawings are only for illustrative purposes and should not be construed as limiting the present patent;
[0126] Example 1
[0127] Considering the problem that the existing control method has poor control performance when controlling the electro-hydraulic servo system, this embodiment proposes a parallel control method for the electro-hydraulic servo system, which can improve the control performance of the electro-hydraulic servo system. The flow chart of the method is as follows: Figure 1 As shown, the following steps are included:
[0128] S1. Construct the load force balance equation and flow equation of the electro-hydraulic servo system;
[0129] See also Figure 2 , the principle of the electro-hydraulic servo system is as follows Figure 2 As shown, and see Figure 3 In this step, the electro-hydraulic servo system is a hydraulic cylinder electro-hydraulic servo system, and the process of constructing the flow equation and load force balance equation of the electro-hydraulic servo system is as follows:
[0130] According to Newton's second law, the kinematic equation of the piston of the hydraulic cylinder is:
[0131]
[0132] Among them, P L =P1-P2, P1 and P2 represent the pressure difference between the oil inlet and the oil return port of the hydraulic cylinder, A p is the effective area of the piston of the hydraulic cylinder, P L is the external load force applied to the hydraulic cylinder electro-hydraulic servo system, m is the mass of the hydraulic cylinder piston, B p is the viscous damping coefficient of the hydraulic cylinder, x p is the displacement of the hydraulic cylinder piston, is the speed of the hydraulic cylinder piston, is the acceleration of the hydraulic cylinder piston;
[0133] According to the kinematic equation of the hydraulic cylinder piston, the load force balance equation of the hydraulic cylinder electro-hydraulic servo system is obtained:
[0134]
[0135] Among them, C t is the internal leakage coefficient of the hydraulic cylinder, P L =P1-P2, P L Indicates the pressure difference between the oil inlet and the oil return port of the hydraulic cylinder. P1 is the pressure of the oil inlet, P2 is the pressure of the oil return port, and V t is the total volume of the hydraulic cylinder, β e is the effective bulk elastic modulus of the hydraulic oil, Q L is the load flow of the servo valve in the electro-hydraulic servo system, which is obtained by the following expression:
[0136]
[0137] Among them, Q1 is the flow rate of the hydraulic cylinder oil inlet, and Q2 is the flow rate of the hydraulic cylinder oil return port;
[0138] Then the flow equation of the hydraulic cylinder electro-hydraulic servo system is:
[0139]
[0140] Among them, P s is the hydraulic source oil pressure, sgn(x v ) is:
[0141]
[0142] k q The expression is:
[0143]
[0144] Among them, C d is the flow coefficient, ω is the valve core area gradient, and ρ is the oil density;
[0145] Valve core displacement x v The expression is:
[0146] x v =k i u (7)
[0147] Among them, k i is the positive gain, k i Obtained according to the characteristic curve provided by the servo valve sample, u is the control input voltage;
[0148] The above expression is used to obtain the expression of the servo valve load flow QL in the electro-hydraulic servo system:
[0149]
[0150] Among them, k t =k q k i , k t Represents the total flow gain related to the control input voltage u.
[0151] S2. Construct a mathematical model of the electro-hydraulic servo system;
[0152] In this step, according to the nonlinear model represented by formulas (1), (2) and (8), the state variables of the hydraulic cylinder electro-hydraulic servo system are defined as The state equation of the hydraulic cylinder electro-hydraulic servo system is expressed as:
[0153]
[0154]
[0155]
[0156] Among them, the expressions of ψ(x2, x3), g(u) and C are as follows:
[0157]
[0158]
[0159]
[0160] According to the above formula, the state equation expression of the hydraulic cylinder electro-hydraulic servo system is simplified as follows:
[0161]
[0162] Among them, the expression of f(x,u) is:
[0163]
[0164] S3. Based on the mathematical model of the electro-hydraulic servo system, construct the error augmentation system and augmentation performance index function;
[0165] In this step, the dynamic equation expression is determined:
[0166]
[0167] Among them, x d ∈R 3 is the expected tracking trajectory, f d ∈R 3 ;
[0168] Define the error signal e = xx d , according to formulas (8) and (10), the expression of the error system is obtained:
[0169]
[0170] Let s = [eu] T , we get the expression of the error augmentation system:
[0171]
[0172] in,
[0173] According to the optimal control principle, the performance index function is defined as:
[0174]
[0175] Among them, U p(s(τ),u s (τ)) is the utility function, expressed as:
[0176] U p (s(τ),u s (τ))=[eu]Q p [eu] T +u s T R p u s =s T Q p s+u s T R p u s (19)
[0177] Among them, Q p ∈R 4×4 , R p ∈R,Q p and R p is a symmetric positive definite matrix;
[0178] Define the Hamiltonian function:
[0179]
[0180] in, Indicates V p The gradient of (s).
[0181] S4. Based on the error augmentation system and the augmentation performance index function, the optimal value function is obtained by judging the neural network;
[0182] In this step, the optimal value function is determined Satisfies the HJB equation:
[0183]
[0184] According to the expression (17) of the error augmentation system, the optimal parallel control function is determined, and the expression is:
[0185]
[0186] Based on formula (22), by solving Obtaining the optimal control strategy
[0187]
[0188] Substituting formula (23) into formula (21), we obtain:
[0189]
[0190] Right now
[0191]
[0192] S5. Design a parallel controller for the electro-hydraulic servo system based on the optimal value function, and use the parallel controller to perform parallel control of the electro-hydraulic servo system.
[0193] In this embodiment as a whole, a parallel controller is designed for the electro-hydraulic servo system, and the parallel controller is used to perform parallel control of the electro-hydraulic servo system, so that the control signal is not only related to the state of the electro-hydraulic servo system, but also related to the properties of the parallel controller itself, and effectively avoids the chattering phenomenon of the control signal in the electro-hydraulic servo system, which can improve the control performance of the electro-hydraulic servo system.
[0194] Example 2
[0195] This embodiment is based on the embodiment 1 and is combined with Figure 4 The schematic diagram shown illustrates the process of designing a parallel controller mentioned in step S5 of Example 1:
[0196] In step S5, the following neural network is used to approximate the optimal value function
[0197]
[0198] Among them, W * is the ideal weight of the neural network, N is the number of neurons in the hidden layer, ε(s) is the approximate error of the neural network, σ(s): R 4 →R N is the bipolar sigmoid activation function of the neural network, expressed as:
[0199]
[0200] Then the optimal value function Gradient The expression is:
[0201]
[0202] in,
[0203] Substituting formula (28) into formula (23), the optimal control strategy is The expression is:
[0204]
[0205] Substituting formula (28) into formula (25), the HJB equation is expressed as:
[0206]
[0207] in, D is a constant matrix, ε HJB is the residual, and the expression is:
[0208]
[0209] Then the optimal value function Estimated value of The expression is:
[0210]
[0211] in, W * An estimated value of
[0212] but The gradient expression is:
[0213]
[0214] According to formulas (29) and (33), the control strategy u s (s) is expressed as:
[0215]
[0216] The approximate Hamiltonian function expression is:
[0217]
[0218] Let P(s)∈C 1 (Ω p ) is a bounded Lyapunov candidate function that satisfies:
[0219]
[0220] Then there exists a positive definite matrix satisfy:
[0221]
[0222] The update law is designed as follows:
[0223]
[0224] Among them, α1>0, α2>0, and
[0225]
[0226]
[0227] when When , the second term of formula (38) is eliminated, and minimizing the approximate Hamiltonian becomes the main goal of the weight update process. When , the second term of formula (38) is activated to enhance the training process of the weight vector until the electro-hydraulic servo system exhibits stable behavior. Based on the above method, the parallel controller of the electro-hydraulic servo system is obtained, and the parallel controller is used to perform parallel control of the electro-hydraulic servo system.
[0228] Example 3
[0229] See also Figure 5 This embodiment describes the electro-hydraulic servo system parallel control system in the present invention. In this embodiment, the electro-hydraulic servo system parallel control system includes:
[0230] A first construction unit 501 is used to construct a flow equation and a load force balance equation of an electro-hydraulic servo system;
[0231] A second construction unit 502 is used to construct a mathematical model of the electro-hydraulic servo system based on the constructed flow equation and load force balance equation;
[0232] The third construction unit 503 is used to construct an error augmentation system and an augmentation performance index function based on the mathematical model of the electro-hydraulic servo system;
[0233] An acquisition unit 504 is used to obtain an optimal value function by judging a neural network based on the error augmentation system and the augmentation performance index function;
[0234] The design unit 505 is used to design a parallel controller for the electro-hydraulic servo system according to the optimal value function, and use the parallel controller to perform parallel control of the electro-hydraulic servo system.
[0235] Specifically, the electro-hydraulic servo system is a hydraulic cylinder electro-hydraulic servo system, and the process of the first construction unit 501 constructing the flow equation and the load force balance equation of the electro-hydraulic servo system is as follows:
[0236] According to Newton's second law, the kinematic equation of the piston of the hydraulic cylinder is:
[0237]
[0238] Among them, P L =P1-P2, P1 and P2 represent the pressure difference between the oil inlet and the oil return port of the hydraulic cylinder, A p is the effective area of the piston of the hydraulic cylinder, F L is the external load force applied to the hydraulic cylinder electro-hydraulic servo system, m is the mass of the hydraulic cylinder piston, B p is the viscous damping coefficient of the hydraulic cylinder, x p is the displacement of the hydraulic cylinder piston, is the speed of the hydraulic cylinder piston, is the acceleration of the hydraulic cylinder piston;
[0239] According to the kinematic equation of the hydraulic cylinder piston, the load force balance equation of the hydraulic cylinder electro-hydraulic servo system is obtained:
[0240]
[0241] Among them, C t is the internal leakage coefficient of the hydraulic cylinder, P L =P1-P2, P L Indicates the pressure difference between the oil inlet and the oil return port of the hydraulic cylinder. P1 is the pressure of the oil inlet, P2 is the pressure of the oil return port, and V t is the total volume of the hydraulic cylinder, β e is the effective bulk elastic modulus of the hydraulic oil, Q L is the load flow of the servo valve in the electro-hydraulic servo system, which is obtained by the following expression:
[0242]
[0243] Among them, Q1 is the flow rate of the hydraulic cylinder oil inlet, and Q2 is the flow rate of the hydraulic cylinder oil return port;
[0244] Then the flow equation of the hydraulic cylinder electro-hydraulic servo system is:
[0245]
[0246] Among them, P s is the hydraulic source oil pressure, sgn(x v ) is:
[0247]
[0248] k q The expression is:
[0249]
[0250] Among them, C d is the flow coefficient, ω is the valve core area gradient, and ρ is the oil density;
[0251] Valve core displacement x v The expression is:
[0252] x v =k i u (7)
[0253] Among them, k i is the positive gain, k iObtained according to the characteristic curve provided by the servo valve sample, u is the control input voltage;
[0254] The above expression gives the load flow Q of the servo valve in the electro-hydraulic servo system: L The expression is:
[0255]
[0256] Among them, k t =k q k i , k t Represents the total flow gain related to the control input voltage u.
[0257] Specifically, the process of constructing the mathematical model of the electro-hydraulic servo system by the second constructing unit 502 is as follows: according to the nonlinear model represented by formulas (1), (2) and (8), the state variables of the hydraulic cylinder electro-hydraulic servo system are defined as: The state equation of the hydraulic cylinder electro-hydraulic servo system is expressed as:
[0258]
[0259]
[0260]
[0261] Among them, the expressions of ψ(x2, x3), g(u) and C are as follows:
[0262]
[0263]
[0264]
[0265] According to the above formula, the state equation expression of the hydraulic cylinder electro-hydraulic servo system is simplified as follows:
[0266]
[0267] Among them, the expression of f(x,u) is:
[0268]
[0269] Specifically, the process of the third construction unit 503 constructing the error augmentation system and the augmentation performance index function is as follows:
[0270] Determine the dynamic equation expression:
[0271]
[0272] Among them, x d ∈R 3 is the expected tracking trajectory, f d ∈R 3 ;
[0273] Define the error signal e = xx d , according to formulas (8) and (10), the expression of the error system is obtained:
[0274]
[0275] Let s = [eu] T , we get the expression of the error augmentation system:
[0276]
[0277] in,
[0278] According to the optimal control principle, the performance index function is defined as:
[0279]
[0280] Among them, U p (s(τ),u s (τ)) is the utility function, expressed as:
[0281] U p (s(τ),u s (τ))=[eu]Q p [eu] T +u s T R p u s =s T Q p s+u s T R p u s (19)
[0282] Among them, Q p ∈R 4×4 , R p ∈R,Q p and R p is a symmetric positive definite matrix;
[0283] Define the Hamiltonian function:
[0284]
[0285] in, Indicates V p The gradient of (s).
[0286] Obviously, the above embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A parallel control method for an electro-hydraulic servo system, characterized in that: include: S1. Construct the load force balance equation and flow equation of the electro-hydraulic servo system; S2. Construct a mathematical model of the electro-hydraulic servo system; S3. Based on the mathematical model of the electro-hydraulic servo system, construct the error augmentation system and augmentation performance index function; S4. Based on the error augmentation system and the augmentation performance index function, the optimal value function is obtained by judging the neural network; S5. Design a parallel controller for the electro-hydraulic servo system according to the optimal value function, and use the parallel controller to perform parallel control of the electro-hydraulic servo system; In step S1, the electro-hydraulic servo system is a hydraulic cylinder electro-hydraulic servo system, and the process of constructing the load force balance equation and flow equation of the electro-hydraulic servo system is as follows: According to Newton's second law, the kinematic equation of the piston of the hydraulic cylinder is: Among them, P L =P1-P2, P1 and P2 represent the pressure difference between the oil inlet and the oil return port of the hydraulic cylinder, A p is the effective area of the piston of the hydraulic cylinder, F L is the external load force applied to the hydraulic cylinder electro-hydraulic servo system, m is the mass of the hydraulic cylinder piston, B p is the viscous damping coefficient of the hydraulic cylinder, x p is the displacement of the hydraulic cylinder piston, is the speed of the hydraulic cylinder piston, is the acceleration of the hydraulic cylinder piston; According to the kinematic equation of the hydraulic cylinder piston, the load force balance equation of the hydraulic cylinder electro-hydraulic servo system is obtained: Among them, C t is the internal leakage coefficient of the hydraulic cylinder, P L =P1-P2, P L Indicates the pressure difference between the oil inlet and the oil return port of the hydraulic cylinder. P1 is the pressure of the oil inlet, P2 is the pressure of the oil return port, and V t is the total volume of the hydraulic cylinder, β e is the effective bulk elastic modulus of the hydraulic oil, Q L is the load flow of the servo valve in the electro-hydraulic servo system, which is obtained by the following expression: Among them, Q1 is the flow rate of the hydraulic cylinder oil inlet, and Q2 is the flow rate of the hydraulic cylinder oil return port; Then the flow equation of the hydraulic cylinder electro-hydraulic servo system is: Among them, P s is the hydraulic source oil pressure, x v is the displacement of the servo valve core in the electro-hydraulic servo system, sgn(x v ) is: k q The expression is: Among them, C d is the flow coefficient, ω is the valve core area gradient, and ρ is the oil density; Valve core displacement x v The expression is: x v =k i u(7) Among them, k i is the positive gain, k i Obtained according to the characteristic curve provided by the servo valve sample, u is the control input voltage; The above expression gives the load flow Q of the servo valve in the electro-hydraulic servo system: L The expression is: Among them, k t =k q k i , k t represents the total flow gain related to the control input voltage u; In step S2, according to the nonlinear model represented by formulas (1), (2) and (8), the state variables of the hydraulic cylinder electro-hydraulic servo system are defined as The mathematical model of the hydraulic cylinder electro-hydraulic servo system is expressed as: Among them, the expressions of ψ(x2,x3), g(u) and C are as follows: According to the above formula, the mathematical model expression of the hydraulic cylinder electro-hydraulic servo system is simplified as follows: Among them, the expression of f(x,u) is: In step S3, Determine the dynamic equation expression: Among them, x d ∈R 3 is the expected tracking trajectory, f d ∈R 3 ; Define the error signal e = xx d , according to formulas (8) and (10), the expression of the error system is obtained: Let s = [eu] T , we get the expression of the error augmentation system: in, According to the optimal control principle, the augmented performance index function is defined as: Among them, U p (s(τ),u s (τ)) is the utility function, expressed as: U p (s(τ),u s (τ))=[e u]Q p [e u] T +u s T R p u s =s T Q p s+u s T R p u s (19) Among them, Q p ∈R 4×4 , R p ∈R,Q p and R p is a symmetric positive definite matrix; Define the Hamiltonian function: in, Indicates V p The gradient of (s).
2. The parallel control method of the electro-hydraulic servo system according to claim 1, characterized in that: In step S4, Determine the optimal value function Satisfies the HJB equation: According to the expression (17) of the error augmentation system, the optimal parallel control function is determined, and the expression is: Based on formula (22), we can solve Obtaining the optimal control strategy Substituting formula (23) into formula (21), we obtain: The optimal control strategy Substituting into the HJB equation, the expression is as follows: The following neural network is used to approximate the optimal value function Among them, W * is the ideal weight of the neural network, N is the number of neurons in the hidden layer, ε(s) is the approximate error of the neural network, σ(s): R 4 →R N is the bipolar sigmoid activation function of the neural network, expressed as: The optimal control strategy The expression is: in, Defining the optimal value function Estimated value of Then determine the evaluation neural network expression as: in, W * The estimated value of .
3. The parallel control method of the electro-hydraulic servo system according to claim 2, characterized in that: In step S5, According to formula (29), determine The gradient expression is: According to formulas (29) and (30), the control strategy u is determined s (s) is expressed as: Let P(s) be a bounded Lyapunov candidate function that satisfies: Then there exists a positive definite matrix satisfy: The update law is designed as follows: Among them, α1>0, α2>0, and when When , the second term of formula (34) is eliminated, and minimizing the approximate Hamiltonian becomes the main goal of the weight update process. When , the second term of formula (34) is activated to enhance the training process of the weight vector until the electro-hydraulic servo system exhibits stable behavior. Based on the above method, the parallel controller of the electro-hydraulic servo system is obtained, and the parallel controller is used to perform parallel control of the electro-hydraulic servo system.
4. A parallel control system for an electro-hydraulic servo system, characterized in that: include: A first construction unit is used to construct a load force balance equation and a flow equation of the electro-hydraulic servo system; The second construction unit constructs a mathematical model of the electro-hydraulic servo system; The third construction unit is used to construct an error augmentation system and an augmented performance index function based on a mathematical model of the electro-hydraulic servo system; An acquisition unit, used for obtaining an optimal value function by judging a neural network based on an error augmentation system and an augmentation performance index function; A design unit is used to design a parallel controller for the electro-hydraulic servo system according to an optimal value function, and to perform parallel control of the electro-hydraulic servo system using the parallel controller; The electro-hydraulic servo system is a hydraulic cylinder electro-hydraulic servo system, and the process of the first construction unit constructing the flow equation and the load force balance equation of the electro-hydraulic servo system is as follows: According to Newton's second law, the kinematic equation of the piston of the hydraulic cylinder is: Among them, P L =P1-P2, P1 and P2 represent the pressure difference between the oil inlet and the oil return port of the hydraulic cylinder, A p is the effective area of the piston of the hydraulic cylinder, F L is the external load force applied to the hydraulic cylinder electro-hydraulic servo system, m is the mass of the hydraulic cylinder piston, B p is the viscous damping coefficient of the hydraulic cylinder, x p is the displacement of the hydraulic cylinder piston, is the speed of the hydraulic cylinder piston, is the acceleration of the hydraulic cylinder piston; According to the kinematic equation of the hydraulic cylinder piston, the load force balance equation of the hydraulic cylinder electro-hydraulic servo system is obtained: Among them, C t is the internal leakage coefficient of the hydraulic cylinder, P L =P1-P2, P L Indicates the pressure difference between the oil inlet and the oil return port of the hydraulic cylinder. P1 is the pressure of the oil inlet, P2 is the pressure of the oil return port, and V t is the total volume of the hydraulic cylinder, β e is the effective bulk elastic modulus of the hydraulic oil, Q L is the load flow of the servo valve in the electro-hydraulic servo system, which is obtained by the following expression: Among them, Q1 is the flow rate of the hydraulic cylinder oil inlet, and Q2 is the flow rate of the hydraulic cylinder oil return port; Then the flow equation of the hydraulic cylinder electro-hydraulic servo system is: Among them, P s is the hydraulic source oil pressure, x v is the displacement of the servo valve core in the electro-hydraulic servo system, sgn(x v ) is: k q The expression is: Among them, C d is the flow coefficient, ω is the valve core area gradient, and ρ is the oil density; Valve core displacement x v The expression is: x v =k i u(7) Among them, k i is the positive gain, k i Obtained according to the characteristic curve provided by the servo valve sample, u is the control input voltage; The above expression gives the load flow Q of the servo valve in the electro-hydraulic servo system: L The expression is: Among them, k t =k q k i , k t represents the total flow gain related to the control input voltage u; The process of constructing the mathematical model of the electro-hydraulic servo system by the second construction unit is specifically as follows: according to the nonlinear model represented by formulas (1), (2) and (8), the state variables of the hydraulic cylinder electro-hydraulic servo system are defined as: The mathematical model of the hydraulic cylinder electro-hydraulic servo system is expressed as: Among them, the expressions of ψ(x2,x3), g(u) and C are as follows: According to the above formula, the mathematical model expression of the hydraulic cylinder electro-hydraulic servo system is simplified as follows: Among them, the expression of f(x,u) is: The process of constructing the error augmentation system and the augmentation performance index function by the third construction unit is specifically as follows: Determine the dynamic equation expression: Among them, x d ∈R 3 is the expected tracking trajectory, f d ∈R 3 ; Define the error signal e = xx d , according to formulas (8) and (10), the expression of the error system is obtained: Let s = [eu] T , we get the expression of the error augmentation system: in, According to the optimal control principle, the augmented performance index function is defined as: Among them, U p (s(τ),u s (τ)) is the utility function, expressed as: U p (s(τ),u s (τ))=[e u]Q p [e u] T +u s T R p u s =s T Q p s+u s T R p u s (19) Among them, Q p ∈R 4×4 , R p ∈R,Q p and R p is a symmetric positive definite matrix; Define the Hamiltonian function: in, Indicates V p The gradient of (s).
