A control method and system for a continuous stirred reactor
The controller designed through adaptive fuzzy system theory solves the actuator saturation problem caused by nonlinearity and external interference in the continuous stirring reactor, achieving higher control accuracy and robustness.
Patent Information
- Application Number
- CN202410784430.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-18
AI Technical Summary
The control of the continuous stirred reactor is complex due to nonlinearity and time variability, and it is sensitive to external interference, which leads to saturation of the actuator and affects control accuracy and equipment stability.
The adaptive fuzzy system theory is used to design the controller, establish a dimensionless model, estimate unknown external interference and nonlinear functions, and calculate the anti-saturation control signal through fuzzy approximation and stabilization auxiliary system to avoid actuator saturation.
It achieves fast and accurate tracking of external interference and nonlinearity, avoids actuator saturation, improves control accuracy and robustness, and enhances system stability.
Smart Images

Figure CN118348903B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of reactor control, in particular to a control system and a controller for a continuous stirring reactor. Background Art
[0002] Due to the complexity and nonlinearity of the exothermic process of the chemical reaction inside the continuous stirred tank reactor (CSTR), the system model has serious nonlinearity and time-varying properties, making the control complicated. In addition, the reaction process in the reactor is sensitive to external interference, which increases the difficulty of control. When the amplitude of the control signal is large, it will cause actuator saturation, resulting in the inability to effectively control the key parameters in the reactor, thereby affecting the reaction rate, conversion rate and product quality; at the same time, actuator saturation may cause nonlinear behavior of the system, increasing the difficulty and uncertainty of control. Long-term actuator saturation may also cause damage to the equipment and reduce the reliability and stability of the system.
[0003] The existing control methods for continuous stirred reactors do not fully consider the above-mentioned nonlinearity, time-varying properties, unknown external interference, actuator saturation, unmodeled dynamics in the system, etc., and ignore the impact of these factors on system stability and control accuracy, resulting in mediocre control effects. Summary of the invention
[0004] In order to avoid the adverse effects of the above factors on the control system, the present invention proposes a control method and system for a continuous stirred reactor. The designed control method can ensure fast and accurate tracking of the command signal when there is unknown interference outside the system and unknown nonlinearity inside the system, and avoids the occurrence of actuator saturation.
[0005] The technical solution of the present invention is achieved as follows: A control method for a continuous stirred reactor comprises the following steps:
[0006] Step 1) establishing a dimensionless continuous stirred tank reactor model;
[0007] The dimensionless continuous stirred tank reactor model equation is as follows:
[0008]
[0009] Among them, the external unknown disturbance d(t) is the dimensionless temperature disturbance of the model and the unmodeled dynamics, the unknown functions ξ1(x1,x2) and ξ2(x1,x2) are the unknown nonlinear dynamics in the modeling process; f1(x1,x2) and f2(x1,x2) are nonlinear functions;
[0010] The variable x1 is the dimensionless concentration, x1 = (C AF -C A ) / C AF; variable x2 is the dimensionless temperature, x2 = (TT F )γ / T F ; Normal number is the dimensionless heat transfer coefficient, The variable u(t) is the dimensionless control input, u(t) = (T C -T F )γ / T F ,|u(t)|≤u max ,u max is the maximum control amplitude of the actuator output;
[0011] Step 2) Define z = yy d is the tracking error, and the sliding surface is
[0012]
[0013] The design parameter c>0 is a constant, y d is a time-varying ideal signal;
[0014] The equation defining the unknown nonlinear function F(x1,x2) is as follows:
[0015]
[0016] Design an estimate of the unknown external disturbance d(t) Adaptive law to calculate the estimated value of the external unknown interference d(t) Design the weight estimation vector of the ideal weight vector θ The adaptive law is used to calculate the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2);
[0017] Step 3) In order to satisfy the saturation constraint, a stable auxiliary system for the dimensionless control input u(t) is designed, and then the dimensionless control input u(t) is obtained, and an anti-saturation control signal for the dimensionless control input u(t) is calculated.
[0018] Furthermore, in step 1), the nonlinear functions f1(x1, x2) and f2(x1, x2) are specifically defined as follows:
[0019]
[0020] Constant D a is the Damköhler number, D a =(VK0exp(-γ)) / F; constant γ is the dimensionless activation energy, γ = E / (RT F ); constant B adiabatic temperature rise coefficient, B = (-ΔH R C AF γ) / (ρC P TF ); constant F is the outlet volume flow rate, variable C A is the concentration of the reactant, the variable C AF is the inlet concentration, the constant K0 is the exponential factor, the constant E is the activation energy, the constant R is the molar gas constant, and the variable T F is the inlet temperature, the variable T is the absolute temperature in the reactor, the constant V is the volume of the continuous stirred reactor, the constant -ΔH R is the reaction heat, variable ρ is the outlet density, constant C P is the outlet heat capacity, variable t is time, constant T C is the coolant temperature, the constant h is the heat transfer coefficient, where the variable C A , variable C AF , variable T F , variable T are variables that change with time t.
[0021] Furthermore, in step 2), the estimated value of the external unknown interference d(t) is calculated The method is as follows:
[0022] Design an estimate of the unknown external disturbance d(t) The adaptive law is
[0023]
[0024] Among them, the parameter γ1>0 is a constant, the parameter ρ1>0 is a constant, and the estimated value of the external unknown interference d(t) is calculated by integration using formula (5)
[0025] Furthermore, in step 2), the method for calculating the fuzzy adaptive approximation of the unknown nonlinear function F(x1, x2) is as follows:
[0026] The fuzzy logic system approximation form of the unknown nonlinear function F(x1,x2) is defined as F(η), η is the function input vector, and the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2) is established as
[0027]
[0028] in, is the membership function vector of the fuzzy system, ψ i Defined as
[0029]
[0030] where exp(·) is the exponential function; the constant is the center value of the fuzzy basis function, and the constant ν i is the search domain width, the constant Ξ iDesign parameters for weights;
[0031] Design constant column vector is the ideal weight vector θ of the fuzzy logic system, and the positive integer n represents the number of fuzzy logic statements contained in the fuzzy logic system;
[0032] The weight estimation vector of the ideal weight vector θ The adaptive law is
[0033]
[0034] Γ i >0 is a constant, i=1,2,…,n, parameter ρ θ >0 is a constant;
[0035] The weight estimation vector of the ideal weight vector θ is calculated by integrating formula (8): Then, the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2) is calculated using formula (6).
[0036] Furthermore, in step 3), the method for calculating the anti-saturation control signal for the dimensionless control input u(t) is as follows:
[0037] In order to satisfy the saturation constraint, a stable auxiliary system is designed with respect to the dimensionless control input u(t)
[0038]
[0039] in
[0040]
[0041] Signal Design parameter k Φ >0 is a constant;
[0042] Design intermediate variables for:
[0043]
[0044] for The derivative of is a constant
[0045] but
[0046]
[0047] From formulas (9)-(12), the dimensionless control input u(t) can be obtained as
[0048]
[0049] Among them, |u(t)|≤u max ,u max is the maximum control amplitude of the actuator output;
[0050] Formula (9) is integrated to compensate for the saturation nonlinearity caused by the large amplitude of the control signal, and then the anti-saturation control signal for the dimensionless control input u(t) is calculated using formula (13).
[0051] Furthermore, the method of establishing the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2) is as follows:
[0052] Taking the derivative of equation (2) and substituting equation (1) into it, we can get
[0053]
[0054] Substituting formula (3) into formula (2-1), formula (2-1) is equivalent to
[0055]
[0056] The fuzzy logic system is used to approximate F(η) as follows:
[0057] F(η)=θ T ·ψ(η)+μ (2-3)
[0058] μ is the approximation error of the fuzzy system. The ideal weight θ is approximated by increasing the number of fuzzy statements and following the following rules:
[0059]
[0060] μ can be made arbitrarily small, where is the estimated value of the ideal weight θ of the fuzzy system;
[0061] Therefore, the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2) is established as
[0062]
[0063] Furthermore, it also includes step 4) closed-loop stability analysis:
[0064] Substituting formula (2-3) into formula (2-2) we can get
[0065]
[0066] Define the first Lyapunov function
[0067]
[0068] Taking the derivative of V1(t) along equation (1) and substituting equation (14) into it, we can obtain:
[0069]
[0070] Define the second Lyapunov function
[0071]
[0072] in, and is the estimation error between the ideal weight vector θ and the external unknown disturbance d(t);
[0073] Taking the derivative of equation (17) and substituting equation (16) into it, we can get
[0074]
[0075] in, is the derivative of the external unknown disturbance d(t);
[0076] Substituting equation (5) and equation (8) into equation (18), we can obtain
[0077]
[0078] Assume there is a known constant and Let the external unknown disturbance d(t) and its derivative satisfy The last four terms of formula (19) satisfy:
[0079]
[0080] Substituting equation (20) into the corresponding last four terms in equation (19), we can obtain
[0081]
[0082] The design parameters must meet This ensures that the constant constant Defined as
[0083]
[0084] because Formula (21) can be equivalent to
[0085]
[0086] Define the third Lyapunov function
[0087]
[0088] Taking the derivative of equation (24) and combining it with equation (23), we can get
[0089]
[0090] Depend on It can be seen that
[0091]
[0092] Substituting equation (26) into equation (25), we can obtain
[0093]
[0094] Substituting equation (10) into equation (27), we can obtain
[0095]
[0096] According to formula (22), we can know is bounded, then all signals of the closed-loop system are globally bounded;
[0097] In addition, using equation (24), multiply both sides of equation (28) by exp(κt), and integrate in the interval [0, t] to obtain:
[0098]
[0099] The constant κ is defined as
[0100]
[0101] The variable s converges to the set:
[0102]
[0103] Depend on Multiplying both sides of equation (31) by exp(ct) and integrating it in the interval [0, t], we can get that the transformed tracking error z converges to the set:
[0104]
[0105] Therefore, increasing the values of the control parameters κ and c or increasing the number n of fuzzy logic statements contained in the fuzzy logic system and decreasing the control parameters or select appropriate design parameters to reduce λ max (Γ -1 )make All of them can make the set Ω z The value range of is reduced, thereby obtaining ideal control performance;
[0106] According to formula (13), the designed controller amplitude always satisfies |u(t)|≤u max , avoiding the occurrence of input saturation.
[0107] Further, in step 1), the method for establishing a dimensionless continuous stirred reactor model equation is as follows:
[0108] The energy balance equation for the continuous stirred tank reactor system is:
[0109]
[0110] The simplified mass balance equation of the continuous stirred reactor system is:
[0111]
[0112] By combining equation (1-1) and equation (1-2) and non-dimensionalizing them, we can obtain the dimensionless continuous stirred tank reactor model equation.
[0113] A control system for a continuous stirred reactor, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method as described above when executing the computer program.
[0114] Beneficial effects of the present invention:
[0115] The method of the present invention proposes an adaptive fuzzy anti-saturation controller based on the adaptive fuzzy system theory, taking into account the existence of unknown external interference, unknown internal nonlinearity, and unmodeled dynamics in the system during the chemical reaction of the continuous stirred reactor. The designed controller can avoid the occurrence of actuator saturation, solves the anti-saturation tracking control problem of the continuous stirred reactor in the presence of unknown external interference and unknown nonlinearity, has higher control accuracy and robustness, and has a wider range of applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0116] 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 or the description of the prior art 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.
[0117] Figure 1 is a flow chart of the control method of the present invention;
[0118] Figure 2 It is the simulation result of the control method of the present invention. DETAILED DESCRIPTION
[0119] 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.
[0120] Example 1
[0121] like Figure 1 As shown, a control method for a continuous stirred reactor comprises the following steps:
[0122] Step 1) establishing a dimensionless continuously stirred tank reactor (CSTR) model;
[0123] Table 1 CSTR model parameters
[0124]
[0125]
[0126] The variable parameters in Table 1 above are all variables that change with time t. The energy balance equation of the continuous stirred reactor system is:
[0127]
[0128] The simplified mass balance equation of the CSTR system is:
[0129]
[0130] The relevant parameters are shown in Table 1.
[0131] Table 2 CSTR dimensionless parameters
[0132]
[0133]
[0134] Combining equation (1-1) with equation (1-2) and non-dimensionalizing them using Table 2, the non-dimensionalized continuous stirred reactor model equation can be obtained as follows:
[0135]
[0136] Among them, the external unknown disturbance d(t) is the dimensionless temperature disturbance of the model and the unmodeled dynamics, the unknown functions ξ1(x1,x2) and ξ2(x1,x2) are the unknown nonlinear dynamics in the modeling process; the nonlinear functions f1(x1,x2) and f2(x1,x2) are specifically defined as follows:
[0137]
[0138] Among them, |u(t)|≤u max ,u max is the maximum control amplitude of the actuator output;
[0139] Since the actuator can only provide a limited control amplitude in actual engineering, when the control input amplitude is greater than the maximum amplitude provided by the actuator, the actuator saturation will occur. When there is saturated nonlinearity in the system, if the designed controller cannot handle the saturated nonlinearity, it will affect the accuracy and stability of the system. Define the constant u max is the maximum control amplitude that the actuator can provide, and is the maximum allowable value of the control amplitude, which can be set in advance according to needs. Control objective: Control the flow rate of the coolant in the pipeline through the regulating valve to make the reaction temperature and reactant concentration reach the set value, ensure the reaction rate and conversion efficiency are optimal, so as to achieve the best reaction effect and economic benefits. Design the dimensionless control input u(t), and satisfy the constraint condition |u(t)|≤u max When , the output y (which is a variable with time t, see formula (1)) can track the time-varying ideal signal y d (The set value can be a constant or a variable).
[0140] Step 2) fuzzy adaptive approximation of external unknown interference and unknown nonlinear function;
[0141] 2.1、Define z=yy d is the tracking error, and the sliding surface is
[0142]
[0143] The design parameter c>0 is a constant, y d is a time-varying ideal signal;
[0144] Design an estimate of the unknown external disturbance d(t) The adaptive law is
[0145]
[0146] Among them, the parameter γ1>0 is a constant, the parameter ρ1>0 is a constant, and the estimated value of the external unknown interference d(t) is calculated by integration using formula (5)
[0147] 2.2. The equation defining the unknown nonlinear function F(x1,x2) is as follows:
[0148]
[0149] Taking the derivative of equation (2) and substituting equation (1) into it, we can get
[0150]
[0151] Substituting formula (3) into formula (2-1), formula (2-1) is equivalent to
[0152]
[0153] The fuzzy logic system approximation form of the unknown nonlinear function F(x1,x2) is defined as F(η), where η is the function input vector. Note that the function F(η) contains the system state variable information, model parameter uncertainty, and unknown nonlinear information of the system. Its precise analytical form is complex and difficult to obtain, so the fuzzy logic system is used to approximate it as follows:
[0154] F(η)=θ T ·ψ(η)+μ (2-3)
[0155] Among them, the constant column vector is the ideal weight vector θ of the fuzzy logic system, and the positive integer n represents the number of fuzzy logic statements contained in the fuzzy logic system; is the membership function vector of the fuzzy system, ψ i Defined as
[0156]
[0157] where exp(·) is the exponential function; the constant is the center value of the fuzzy basis function, and the constant ν i is the search domain width, the constant Ξ i is the weight design parameter; μ is the approximation error of the fuzzy system. The ideal weight θ is approximated by increasing the number of fuzzy statements and following the following rules:
[0158]
[0159] μ can be made arbitrarily small, where is the weight estimation vector of the ideal weight θ of the fuzzy logic system;
[0160] Therefore, the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2) is established as
[0161]
[0162] Design the weight estimation vector of the ideal weight vector θ The adaptive law is
[0163]
[0164] Γ i >0 is a constant, i=1,2,…,n, parameter ρ θ >0 is a constant;
[0165] The weight estimation vector of the ideal weight vector θ is calculated by integrating formula (8): Then, the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2) is calculated using formula (6);
[0166] Step 3) calculating an anti-saturation control signal with respect to the dimensionless control input u(t);
[0167] In order to satisfy the saturation constraint, a stable auxiliary system is designed with respect to the dimensionless control input u(t)
[0168]
[0169] in
[0170]
[0171] Signal Design parameter k Φ >0 is a constant.
[0172] Design intermediate variables for:
[0173]
[0174] for The derivative of is a constant
[0175] but
[0176]
[0177] From formulas (9)-(12), the dimensionless control input u(t) can be obtained as
[0178]
[0179] Formula (9) is integrated to compensate for the saturation nonlinearity caused by the large amplitude of the control signal, and then the anti-saturation control signal for the dimensionless control input u(t) is calculated using formula (13).
[0180] Step 4) Closed-loop stability analysis:
[0181] The stability analysis of the CSTR closed-loop system is given by Theorem 1.
[0182] Theorem 1 Consider the CSTR system model described by equation (1), use the designed controller equation (13), combined with the adaptive parameter update laws (5) and (8), and the design parameters satisfy: c,ρ1,ρ θ ,k Φ ,Γ i > 0, i = 1, 2, ..., n, all signals of the system can be globally bounded, and the tracking error of the system z = yy d It can converge exponentially to an arbitrarily small set of adjustable values. In addition, the designed controller amplitude is always bounded, |u(t)|≤u max , which can avoid the occurrence of actuator saturation.
[0183] The proof is as follows:
[0184] Substituting formula (2-3) into formula (2-2) we can get
[0185]
[0186] Define the first Lyapunov function
[0187]
[0188] Deriving V1(t) along equation (1) and substituting equation (14) into it, we can obtain:
[0189]
[0190] Therefore, what needs to be determined in the above formula is the weight estimation vector of the ideal weight vector θ And the estimated value of the external unknown interference d(t) Therefore, the estimated value can be introduced into the control signal u(t) to compensate for the unknown quantity.
[0191] Define the second Lyapunov function
[0192]
[0193] in, and is the estimation error between the ideal weight vector θ and the external unknown disturbance d(t);
[0194] Taking the derivative of equation (17) and substituting equation (16) into it, we can get
[0195]
[0196] in, is the derivative of the external unknown disturbance d(t);
[0197] Substituting equation (5) and equation (8) into equation (18), we can obtain
[0198]
[0199] Assume there is a known constant and Let the external unknown disturbance d(t) and its derivative satisfy The last four terms of formula (19) satisfy:
[0200]
[0201] Substituting equation (20) into the corresponding last four terms in equation (19), we can obtain
[0202]
[0203] The design parameters must meet This ensures that the constant constant Defined as
[0204]
[0205] because Formula (21) can be equivalent to
[0206]
[0207] Define the third Lyapunov function
[0208]
[0209] Taking the derivative of equation (24) and combining it with equation (23), we can get
[0210]
[0211] Depend on It can be seen that
[0212]
[0213] Substituting equation (26) into equation (25), we can obtain
[0214]
[0215] Substituting equation (10) into equation (27), we can obtain
[0216]
[0217] According to formula (22), we can know is bounded, then all signals of the closed-loop system are globally bounded;
[0218] In addition, using equation (24), multiply both sides of equation (28) by exp(κt), and integrate in the interval [0, t] to obtain:
[0219]
[0220] The constant κ is defined as
[0221]
[0222] The variable s converges to the set:
[0223]
[0224] Depend on Multiplying both sides of equation (31) by exp(ct) and integrating it in the interval [0, t], we can get that the transformed tracking error z converges to the set:
[0225]
[0226] Therefore, increasing the values of the control parameters κ and c or increasing the number n of fuzzy logic statements contained in the fuzzy logic system and decreasing the control parameters or select appropriate design parameters to reduce λ max (Γ -1 )make All of them can make the set Ω z The value range of is reduced, thereby obtaining ideal control performance;
[0227] According to formula (13), the designed controller amplitude always satisfies |u(t)|≤u max , avoiding the occurrence of input saturation.
[0228] The control method of this embodiment is simulated and verified:
[0229] Consider the dimensionless continuous stirred tank reactor model (1); the model parameters are Damköhler number D a = 0.072, dimensionless activation energy γ = 20, adiabatic temperature rise coefficient B = 8 and dimensionless heat transfer coefficient The external interference is d(t)=0.5cos(0.1t); the reference trajectory is y d (t) = 0.5 + 0.1 sin (t).
[0230] Select the system control parameters as follows:
[0231] The fuzzy system selects n = 5 fuzzy statements, and the central value is The search domain width is ν i =0.4, The design parameters are: k1 = 1, c = 2, γ1 = 2, ρ1 = 1.5, ρ θ =2, k Φ =5 and Γ i =1, (i=1,2,...,10); the initial state is x1(0)=0.1, x2(0)=0.2, as well as (i=1,2,...,10). The simulation results are as follows Figure 2 shown.
[0232] Example 2
[0233] A control system for a continuous stirred tank reactor, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method described in Example 1 when executing the computer program.
[0234] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for controlling a continuous stirred reactor, characterized in that: The following steps are involved: Step 1) Establish a dimensionless continuous stirred reactor model as follows: Among them, the external unknown disturbance d(t) is the dimensionless temperature disturbance of the model and the unmodeled dynamics, the unknown functions ξ1(x1,x2) and ξ2(x1,x2) are the unknown nonlinear dynamics in the modeling process; f1(x1,x2) and f2(x1,x2) are nonlinear functions; the variable x1 is the dimensionless concentration, the variable x2 is the dimensionless temperature, and the normal is the dimensionless heat transfer coefficient, and the variable u(t) is the dimensionless control input; Step 2) Define z = yy d is the tracking error, and the sliding surface is The design parameter c>0 is a constant, y d is a time-varying ideal signal; The equation defining the unknown nonlinear function F(x1,x2) is as follows: Design an estimate of the unknown external disturbance d(t) Adaptive law to calculate the estimated value of the external unknown interference d(t) Design the weight estimation vector of the ideal weight vector θ The adaptive law is used to calculate the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2); Step 3) In order to satisfy the saturation constraint, a stable auxiliary system is designed for the dimensionless control input u(t), and then the dimensionless control input u(t) is obtained, and an anti-saturation control signal for the dimensionless control input u(t) is calculated; In step 1), the nonlinear functions f1(x1,x2) and f2(x1,x2) are specifically defined as follows: Constant D a is the Damköhler number, the constant γ is the dimensionless activation energy, and the constant B is the adiabatic temperature rise coefficient; In step 2), the estimated value of the external unknown interference d(t) is calculated The method is as follows: Design an estimate of the unknown external disturbance d(t) The adaptive law is Among them, the parameter γ1>0 is a constant, the parameter ρ1>0 is a constant, and the estimated value of the external unknown interference d(t) is calculated by integration using formula (5) In step 2), the method for calculating the fuzzy adaptive approximation of the unknown nonlinear function F(x1, x2) is as follows: The fuzzy logic system approximation form of the unknown nonlinear function F(x1,x2) is defined as F(η), η is the function input vector, and the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2) is established as in, is the membership function vector of the fuzzy system, ψ i Defined as where exp(·) is the exponential function; the constant is the center value of the fuzzy basis function, and the constant ν i is the search domain width, the constant Ξ i Design parameters for weights; Design constant column vector is the ideal weight vector θ of the fuzzy logic system, and the positive integer n represents the number of fuzzy logic statements contained in the fuzzy logic system; The weight estimation vector of the ideal weight vector θ The adaptive law is Γ i >0 is a constant, i=1,2,…,n, parameter ρ θ >0 is a constant; The weight estimation vector of the ideal weight vector θ is calculated by integrating formula (8): Then, the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2) is calculated using formula (6); In step 3), the method for calculating the anti-saturation control signal for the dimensionless control input u(t) is as follows: In order to satisfy the saturation constraint, a stable auxiliary system is designed with respect to the dimensionless control input u(t) in Signal Design parameter k Φ >0 is a constant; Design intermediate variables for: for The derivative of is a constant but From formulas (9)-(12), the dimensionless control input u(t) can be obtained as Among them, |u(t)|≤u max ,u max is the maximum control amplitude of the actuator output; Integrate formula (9) to compensate for the saturation nonlinearity caused by the large amplitude of the control signal, and then use formula (13) to calculate the anti-saturation control signal for the dimensionless control input u(t); The method of establishing the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2) is as follows: Taking the derivative of equation (2) and substituting equation (1) into it, we can get Substituting formula (3) into formula (2-1), formula (2-1) is equivalent to The fuzzy logic system is used to approximate F(η) as follows: F(η)=θ T ·ψ(η)+μ (2-3) μ is the approximation error of the fuzzy system. The ideal weight θ is approximated by increasing the number of fuzzy statements and following the following rules: μ can be made arbitrarily small, where is the estimated value of the ideal weight θ of the fuzzy system; Therefore, the fuzzy adaptive approximation of the unknown nonlinear function F(x1,x2) is established as 2. The control method of a continuous stirred reactor according to claim 1, characterized in that: It also includes step 4) closed-loop stability analysis: Substituting formula (2-3) into formula (2-2) we can get Define the first Lyapunov function Taking the derivative of V1(t) along equation (1) and substituting equation (14) into it, we can obtain: Define the second Lyapunov function in, and is the estimation error between the ideal weight vector θ and the external unknown disturbance d(t); Taking the derivative of equation (17) and substituting equation (16) into it, we can get in, is the derivative of the external unknown disturbance d(t); Substituting equation (5) and equation (8) into equation (18), we can obtain Assume there is a known constant and Let the external unknown disturbance d(t) and its derivative satisfy The last four terms of formula (19) satisfy: Substituting equation (20) into the corresponding last four terms in equation (19), we can obtain The design parameters must meet This ensures that the constant constant Defined as because Formula (21) can be equivalent to Define the third Lyapunov function Taking the derivative of equation (24) and combining it with equation (23), we can get Depend on It can be seen that Substituting equation (26) into equation (25), we can obtain Substituting equation (10) into equation (27), we can obtain According to formula (22), we can know is bounded, then all signals of the closed-loop system are globally bounded; In addition, using equation (24), multiply both sides of equation (28) by exp(κt), and integrate in the interval [0, t] to obtain: The constant κ is defined as The variable s converges to the set: Depend on Multiplying both sides of equation (31) by exp(ct) and integrating it in the interval [0, t], we can get that the transformed tracking error z converges to the set: Therefore, increasing the values of the control parameters κ and c or increasing the number n of fuzzy logic statements contained in the fuzzy logic system and decreasing the control parameters or select appropriate design parameters to reduce λ max (Γ -1 )make All of them can make the set Ω z The value range of is reduced, thereby obtaining ideal control performance; According to formula (13), the designed controller amplitude always satisfies |u(t)|≤u max , avoiding the occurrence of input saturation.
3. The control method of a continuous stirred reactor according to claim 1, characterized in that: In step 1), the method for establishing a dimensionless continuous stirred reactor model is as follows: The energy balance equation for the continuous stirred tank reactor system is: The simplified mass balance equation of the continuous stirred reactor system is: Combining equation (1-1) and equation (1-2) and non-dimensionalizing them, we can get the dimensionless continuous stirred tank reactor model; x1=(C AF -C A ) / C AF ; x2=(TT F )γ / T F ; u(t)=(T C -T F )γ / T F , D a =(VK0exp(-γ)) / F; γ=E / (RT F ), B=(-ΔH R C AF γ) / (ρC P T F ); constant F is the outlet volume flow rate, variable C A is the concentration of the reactant, the variable C AF is the inlet concentration, the constant K0 is the exponential factor, the constant E is the activation energy, the constant R is the molar gas constant, and the variable T F is the inlet temperature, the variable T is the absolute temperature in the reactor, the constant V is the volume of the continuous stirred reactor, the constant -ΔH R is the reaction heat, variable ρ is the outlet density, constant C P is the outlet heat capacity, variable t is time, constant T C is the coolant temperature, the constant h is the heat transfer coefficient, where the variable C A , variable C AF , variable T F , variable T are variables that change with time t.
4. A control system for a continuous stirred tank reactor, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the control method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Control device and control method for adaptive fuzzy dynamic surface of continuous stirred tank reactor
CN102073275A
Input saturation considered asynchronous motor command filter finite time fuzzy control method
CN106788086A
Permanent magnet synchronous motor random system fuzzy control method based on finite time dynamic surface technology
CN113381662A
Fuzzy adaptive iterative learning control method and device for continuous reaction kettle
CN115562015A
Fuzzy adaptive backstepping control method for electromechanical servo system based on finite time
CN115720061A
