Adaptive fuzzy decentralized control method, system, storage medium and device for dual continuous stirred tank reactor
Through the adaptive fuzzy decentralized control method, the problems of difficult parameter acquisition and low tracking accuracy in traditional control algorithms are solved, and high-precision state constraints and safety control of the dual-continuous stirred tank reactor system are achieved.
Patent Information
- Application Number
- CN202210060561.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-19
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-01-19
AI Technical Summary
The traditional constraint control algorithm is difficult to obtain parameters in the dual-continuous stirred tank reactor system, resulting in low tracking control accuracy and failure to effectively impose state constraints, posing safety risks.
The adaptive fuzzy decentralized control method is used to construct a virtual controller by establishing dynamic equations and converting it into a new affine system, and obtains control signals based on the dynamic adaptive control law, removes the feasibility conditions of the virtual controller, and introduces non-linear Linear state dependence functions to directly impose state constraints.
It improves the tracking control accuracy of the dual continuous stirred tank reactor system, reduces the difficulty of obtaining controller parameters, ensures that the system state is within the constraint domain, and enhances safety.
Smart Images

Figure CN114415513B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of dual continuous stirred tank reactor system control, and in particular relates to an adaptive fuzzy decentralized control method of a dual continuous stirred tank reactor under state constraints. Background Art
[0002] In actual systems, examples of state constraint problems are everywhere. For example, in chemical processes, operators must make appropriate adjustments to chemical reactors in real time according to the experimental environment. Improper operation may cause damage to the instrument or even casualties. Therefore, in industrial production, safety issues have always been a hot topic of concern for experts. Among them, the dual continuous stirred tank reactor system, as a type of multi-input and multi-output system, has always been highly valued. So far, great progress has been made in the research of such systems, and various effective control strategies have been proposed. However, in the above results, most of them can only guarantee that the state of the system is bounded (the size of the bound is unknown) and stable. This means that there are safety hazards without imposing any constraints on the system state. Therefore, how to design a control algorithm to solve the output tracking problem of the dual continuous stirred tank reactor system under state constraints is an important research topic.
[0003] Traditional constraint control algorithms are designed based on Log-Barrier Lyapunov Function or Tan-Barrier Lyapunov Function. Their characteristics are that the state constraint problem of the system is indirectly converted into the tracking error constraint problem of the system, rather than directly imposing constraints on the system state. This leads to the premise that the virtual controller must meet the "feasibility condition" to meet the state constraint. At present, the offline optimization calculation method is mostly used to obtain the design parameters that meet this condition, which requires the use of Matlab software for offline calculation. This process is cumbersome and difficult. Even when the state constraint domain is smaller, such parameters do not exist in practical applications. In summary, due to the difficulty in obtaining the parameters in the constraint control of the traditional constraint control algorithm, the tracking control accuracy of the traditional constraint control algorithm is still low. Summary of the invention
[0004] The purpose of the present invention is to solve the problems of difficult parameter acquisition and low tracking control accuracy in traditional constraint control algorithms, and to propose an adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor.
[0005] The technical solution adopted by the present invention to solve the above technical problems is:
[0006] An adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor, the method specifically comprising the following steps:
[0007] Step 1, establishing the kinetic equation of the double continuous stirred tank reactor system;
[0008] Step 2, transforming the kinetic equation of the dual continuous stirred tank reactor system to obtain a new affine system;
[0009] Step 3: construct a virtual controller based on the new affine system and the custom system error;
[0010] Step 4: Based on the output of the virtual controller and the adaptive control law of the dynamic adaptive dual continuous stirred tank reactor system, a control signal is obtained.
[0011] An adaptive fuzzy decentralized control system for a dual continuous stirred tank reactor, the system comprising a model building module, a virtual controller building module, a control signal calculation module and an adaptive tracking module, wherein:
[0012] The model building module is used to build a dynamic self-adaptive dual continuous stirred tank reactor system model;
[0013] The virtual controller construction module is used to obtain a virtual control signal based on a custom system error and construct a virtual controller;
[0014] The control signal calculation module is used to obtain a control signal based on the output of the virtual controller and the adaptive control rate of the dynamic adaptive dual continuous stirred tank reactor system model;
[0015] The adaptive tracking module is used for tracking the controller to control the dynamic adaptive dual-continuous stirred tank reactor system model according to the control signal to achieve adaptive tracking of the preset trajectory.
[0016] A storage medium stores at least one instruction, which is loaded and executed by a processor to implement an adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor system under state constraints.
[0017] A device comprises a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement an adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor system under state constraints.
[0018] The beneficial effects of the present invention are:
[0019] The present invention proposes an adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor system, while taking into account the asymmetric constraint problem of the system state. Compared with the traditional constraint control method, the present invention introduces a new nonlinear state-dependent function to prevent the state constraint from being destroyed, and completely removes the feasibility condition of the virtual controller. After the original system is converted based on the nonlinear state-dependent function, it is no longer necessary to make conservative assumptions about the unknown control gains in the system. In actual industrial applications, this control strategy is more practical.
[0020] The method of the present invention not only imposes a state constraint domain on the system, but also removes the feasibility conditions of the virtual controller, greatly reduces the difficulty of obtaining controller parameters, and improves the tracking control accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0022] Figure 1 A schematic diagram of nonlinear state dependence provided by Embodiment 1 of the present invention;
[0023] Figure 2 A schematic structural diagram of a dual continuous stirred tank reactor system provided in Example 1 of the present invention;
[0024] Figure 3 The subsystem 1 provided in the embodiment 1 of the present invention is in the state constraint-L 1,1 <x 1,1 <R 1,1 Output y 1 With tracking signal y d,1 Schematic diagram;
[0025] Figure 4 The subsystem 2 provided in the embodiment 1 of the present invention is in the state constraint-L 2,1 <x 2,1 <R 2,1 Output y 2 With tracking signal y d,2 Schematic diagram;
[0026] Figure 5 The subsystem 3 provided in the embodiment 1 of the present invention is in the state constraint-L 3,1 <x 3,1 <R 3,1 Output y 3 With tracking signal y d,3 Schematic diagram;
[0027] Figure 6a ) is the original tracking error z of the system provided in Example 1 of the present invention 1,1Schematic diagram;
[0028] Figure 6b ) is the original tracking error z of the system provided in Example 1 of the present invention 2,1 Schematic diagram;
[0029] Figure 6c ) is the original tracking error z of the system provided in Example 1 of the present invention 3,1 Schematic diagram;
[0030] Figure 7a ) is the system tracking error e provided in Example 1 of the present invention 1,1 Schematic diagram;
[0031] Figure 7b ) is the system tracking error e provided in Example 1 of the present invention 2,1 Schematic diagram;
[0032] Figure 7c ) is the system tracking error e provided in Example 1 of the present invention 3,1 Schematic diagram;
[0033] Figure 8a ) is the state variable x provided in Example 1 of the present invention 1,2 and the schematic diagram under the corresponding constraints;
[0034] Figure 8b ) is the state variable x provided in Example 1 of the present invention 2,2 and the schematic diagram under the corresponding constraints;
[0035] Figure 8c ) is the state variable x provided in Example 1 of the present invention 3,2 and the schematic diagram under the corresponding constraints;
[0036] Fig. 9 The adaptive rate provided by Embodiment 1 of the present invention is Schematic diagram;
[0037] Fig.10a ) is the actual controller u provided in Example 1 of the present invention 1 Schematic diagram of
[0038] Fig.10b ) is the actual controller u provided in Example 1 of the present invention 2 Schematic diagram of
[0039] Fig.10c ) is the actual controller u provided in Example 1 of the present invention 3 Schematic diagram of . DETAILED DESCRIPTION
[0040] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0041] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0042] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0043] In the absence of conflict, the specific embodiments of the present invention and the features of the embodiments may be combined with each other.
[0044] Specific implementation method 1. Combination Figure 2 The adaptive fuzzy decentralized control method of the dual continuous stirred tank reactor described in this embodiment specifically comprises the following steps:
[0045] Step 1, obtaining parameter data of the dual continuous stirred tank reactor system and establishing a kinetic equation of the dual continuous stirred tank reactor system;
[0046] Step 2: According to the nonlinear state-dependent function, the kinetic equation of the dual continuous stirred tank reactor system is transformed to obtain a new affine system;
[0047] Step 3: construct a virtual controller based on the new affine system and the custom system error;
[0048] Step 4: Based on the output of the virtual controller and the adaptive control law of the dynamic adaptive dual continuous stirred tank reactor system, a control signal is obtained so that all signals in the closed-loop system are bounded and the tracking error converges to the neighborhood of zero.
[0049] In this embodiment, the dynamic equation of the dual continuous stirred tank reactor system is first determined; the system is transformed according to the nonlinear state-dependent function; a new coordinate transformation error equation is constructed; and an adaptive fuzzy decentralized controller is constructed by defining a virtual control rate and an adaptive rate; under the control mechanism of the present invention, the closed-loop system signal is bounded and the state constraint is not violated. By introducing a nonlinear state-dependent function and a backstepping control method, an adaptive fuzzy decentralized controller is constructed, which can make the system state constraint hold without imposing any feasibility conditions. It solves the difficulty of obtaining parameters in the traditional barrier Lyapunov function-based control scheme, and is more suitable for practical applications than other methods.
[0050] Specific embodiment 2: This embodiment is different from the specific embodiment 1 in that, in step 1, the kinetic equation of the dual continuous stirred tank reactor system is:
[0051]
[0052] Among them, u i is the control input of the ith subsystem; g i,j (·) represents the control gain; f i,j (·) and h i,j (·) are unknown smooth nonlinear function and unknown smooth interconnected function respectively; x i,j represents the jth state of the i-th subsystem, 1≤i≤N,1≤j≤n, N is the total number of subsystems, and n is the total number of states of each subsystem; Represents x i,j The derivative of x i,n represents the nth state of the ith subsystem; Represents x i,n The derivative of
[0053] f i,j (·) is the jth nonlinear function value of the ith subsystem, h i,j (·) is the value of the jth interconnection function of the ith subsystem;
[0054] x i,j The following conditions are met:
[0055]
[0056] Among them, L i,j and R i,j is a known positive constant, x i,j (t) represents the jth state of the ith subsystem at time t, R is a real number, and -L i,j <x i,j (0)<R i,j ;
[0057] x i is the state vector of the ith subsystem. The superscript T represents the transpose. i =[x i,1 ,x i,2 ,...,x i,n ] T ; is the output vector of the dual continuous stirred tank reactor system, y i is the output of the ith subsystem.
[0058] The other steps and parameters are the same as those in the first embodiment.
[0059] Specific implementation method three: This implementation method is different from specific implementation method one or two in that the unknown smooth nonlinear function and the unknown smooth interconnected function satisfy: f i,j (0) = 0, h i,j (0)=0.
[0060] The other steps and parameters are the same as those in the first or second embodiment.
[0061] Specific implementation method 4: This implementation method is different from the specific implementation methods 1 to 3 in that the specific process of step 2 is as follows:
[0062] According to x i,j (t) Construct intermediate variable ξ i,j (t):
[0063]
[0064] Then i,j The first derivative of (t) for:
[0065]
[0066] Among them, the intermediate variable
[0067] according to The kinetic equation of the dual continuous stirred tank reactor system is transformed to obtain the kinetic equation of the dual continuous stirred tank reactor system after transformation:
[0068]
[0069] Introducing new affine variables into the kinetic equations of the transformed dual continuous stirred tank reactor system, a new affine system is obtained:
[0070]
[0071] Among them, ξ i =(ξ i,1 ,ξ i,2 ,...,ξ i,n ) T ;
[0072]
[0073]
[0074] The other steps and parameters are the same as those in Specific Embodiments 1 to 3.
[0075] In the traditional nonlinear system tracking control research based on the barrier Lyapunov function control method, the state constraint is often converted into the boundary of the new tracking error, resulting in restrictions on the initial value and virtual control of the system. i,j (t), avoiding the tedious step of tracking the error bound.
[0076] Specific implementation mode 5: This implementation mode is different from any one of specific implementation modes 1 to 4 in that, before the kinetic equation of the dual continuous stirred tank reactor system is converted in step 2, a step of estimating an unknown smooth nonlinear function is also included; the specific method of estimating the unknown smooth nonlinear function is:
[0077] For a smooth nonlinear function f(x) with independent variable x, there exists a fuzzy logic system W T S(x) is such that:
[0078]
[0079] in, represents the weight vector, Respectively represent the 1st, 2nd, ..., Nth 0 is the weight of the fuzzy rule; ε is the upper bound of the error; S(x) represents the basis function vector; N 0 >1 is the number of fuzzy rules; s i′ (x) represents the Gaussian function of the i′th fuzzy rule, s i′ The form of (x) is as follows:
[0080]
[0081] Among them, μ i′ and η i′ denote the center and width of the Gaussian function of the i′th fuzzy rule respectively;
[0082] The optimal weight vector W * Select as:
[0083]
[0084] Among them, U and Ω are compact sets of W and x respectively;
[0085] The smooth nonlinear function f(x) is approximated as: f(x) = W *T S(x)+ε(x), where represents f(x) and W *T An upper bound on the difference of S(x).
[0086] The other steps and parameters are the same as those in Specific Embodiments 1 to 4.
[0087] This implementation method uses the online approximation capability of the fuzzy logic system to remove the conservative assumption that the system nonlinear function has an unknown upper bound function, making the adaptive decentralized control method of the dual continuous stirred tank reactor more intelligent.
[0088] Specific implementation method 6: This implementation method is different from the specific implementation methods 1 to 5 in that the specific process of step 3 is as follows:
[0089] Step 3.1. Define the error ξ of the i-th subsystem at time t d,i (t) is:
[0090]
[0091] Among them, y d,i (t) is the reference signal of the ith subsystem at time t, L i,1 and R i,1 is the constraint value corresponding to the first state of the i-th subsystem, ξ d,i The derivative of (t) for y d,i The derivative of (t),
[0092] The following new coordinate transformation is introduced:
[0093] e i,1 =ξ i,1 -ξ d,i
[0094] e i,j =ξ i,j -α i,j-1
[0095] Among them, e i,1 and e i,j is an intermediate variable;
[0096] Step 32: Virtual Controller α i,1 and adaptive control law Designed to:
[0097]
[0098]
[0099] Among them, k i,1 , a i ,λ i , m i is a normal number, yes The derivative of S i,1 (·) represents the first basis function vector of the ith subsystem, yes The derivative of k i,1 It is k i,j The corresponding value of j=1, the other definitions of subscripts are the same, k i,j is a normal number. Represents the i The estimated value of i Defined as: is the optimal weight vector corresponding to the smooth nonlinear function of the j-th state of the ith subsystem.
[0100] Step 3: According to the virtual controller α i,1 Get virtual controller α i,2 :
[0101]
[0102] Among them, k i,2 is a normal number, S i,2 (·) represents the second basis function vector of the ith subsystem, e i,2 Same definition as e i,1 ;
[0103] Step 34: Continue to iterate the process of step 33 until α is obtained i,n .
[0104] In this embodiment, based on the constructed ξ i,j (t), a new coordinate transformation is introduced. Based on the new coordinate transformation, α i,1 , and then based on α i,1 Construct α i,2 , according to the Backstpping iterative method, until α is obtained i,n , get the actual controller.
[0105] The other steps and parameters are the same as those in Specific Implementation Methods 1 to 5.
[0106] Specific implementation method VII. The adaptive fuzzy decentralized control system of the dual continuous stirred tank reactor described in this implementation method comprises a model building module, a virtual controller building module, a control signal calculation module and an adaptive tracking module, wherein:
[0107] The model building module is used to build a dynamic self-adaptive dual continuous stirred tank reactor system model;
[0108] The virtual controller construction module is used to obtain a virtual control signal based on a custom system error and construct a virtual controller;
[0109] The control signal calculation module is used to obtain a control signal based on the output of the virtual controller and the adaptive control rate of the dynamic adaptive dual continuous stirred tank reactor system model;
[0110] The adaptive tracking module is used for tracking the controller to control the dynamic adaptive dual-continuous stirred tank reactor system model according to the control signal to achieve adaptive tracking of the preset trajectory. Specific implementation eight:
[0112] This embodiment is a storage medium, in which at least one instruction is stored. The at least one instruction is loaded and executed by a processor to implement the adaptive fuzzy decentralized control method of the dual continuous stirred tank reactor system. Specific implementation method nine:
[0114] This embodiment is a device, which includes a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the adaptive fuzzy decentralized control method of the dual continuous stirred tank reactor system.
[0115] Example 1
[0116] This embodiment provides an adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor system under state constraints, comprising the following steps:
[0117] (1) Determine the kinetic equation of the dual continuous stirred tank reactor system;
[0118] (2) According to the nonlinear state-dependent function, the dynamic equations are transformed to obtain a new affine system;
[0119] (3) Based on the new customized system error, a virtual control signal is obtained and a virtual controller is constructed;
[0120] (4) Based on the output of the virtual controller and the adaptive control law of the dynamic adaptive dual continuous stirred tank reactor system model, a control signal is obtained.
[0121] The implementation process of the adaptive fuzzy decentralized control method for large-scale nonlinear systems in this embodiment is described in detail below.
[0122] S1: Preliminary work and problem elicitation
[0123] The dynamic equations of a large-scale non-lower triangular interconnected nonlinear system are as follows:
[0124]
[0125] The system state x i,j (1≤i≤N,1≤j≤ni ) The following conditions must be met:
[0126]
[0127] Where L i,j and R i,j is a known positive constant and -L i,j <x i,j (0)<R i,j In the system model (1), is the system state vector; is the system output vector; u i is the control input of the ith subsystem; g i,j (·) represents the control gain; f i,j (·), h i,j (·):R j →R(j=1,2,...,n i ) are unknown smooth nonlinear functions and unknown smooth interconnected functions respectively and satisfy f i,j (0) = 0, h i,j (0) = 0. Variables in functions are sometimes omitted without causing confusion.
[0128] Control objective: Construct an adaptive fuzzy controller so that:
[0129] 1) All signals in the closed-loop system are eventually uniformly bounded;
[0130] 2) The system output tracks the ideal reference signal and the raw error is bounded;
[0131] 3) Remove the virtual controller feasibility condition.
[0132] Assumption 1: Reference signal y d,i and its n-th derivative are continuous and bounded. For the reference signal y d,i , there exists a normal number and The reference signal satisfies
[0133] and
[0134] Assumption 2: There exists an unknown function Make in is an unknown smooth nonlinear function and
[0135] Fuzzy logic system
[0136] For a smooth nonlinear function f(x), there exists a fuzzy logic system WT S(x) makes
[0137]
[0138] Where W = [w 1 ,w 2 ,...,w N ] T represents the weight vector; represents the basis function vector; N>1 is the number of fuzzy rules; s i (x) represents a Gaussian function, which has the following form:
[0139]
[0140] where μ i =[μ i1 ,μ i2 ,...,μ in ] T and η i represent the center and width of the Gaussian function respectively.
[0141] The optimal weight vector is chosen as:
[0142]
[0143] Where U and Ω are compact sets of W and x, respectively. Therefore, f(x) can be approximated as f(x) = W *T S(x)+ε(x), where
[0144] S2: System conversion
[0145] Different from the traditional constraint control scheme, in this part, a nonlinear state-dependent function is constructed to transform the original system. In order to directly handle the asymmetric state constraints, based on the system state ξ i,j is constructed as follows:
[0146]
[0147] where x i,j (0)∈D i,j .
[0148] According to i,j , it can be inferred that when x i,j Approaching D i,j When the boundary of i,j →∞. That is to say,
[0149] ξ i,j →±∞ if and only if x i,j →-Li,j or x i,j →R i,j As Figure 1 As shown, as long as it is proved that when t ≥ 0, ξ i,j is bounded, then the full-state constraint (2) holds.
[0150] Yes i,j Can get
[0151]
[0152] in
[0153] According to the above formula, system (1) can be transformed into
[0154]
[0155] For the transformed system (8), by introducing new affine variables, we can further obtain
[0156]
[0157] where ξ i =(ξ i,1 ,ξ i,2 ,...,ξ i,n ) T ,
[0158]
[0159] S3: Adaptive Fuzzy Decentralized Controller Design
[0160] First, define a new variable
[0161] Considering Assumption 2, we can infer that in the compact set D d In d,i is bounded, and in It is a compact set D d There are bounded and smooth functions in .
[0162] In some control schemes based on barrier Lyapunov functions and integral barrier Lyapunov functions, there is always a feasibility condition, namely -L i,j <α i,j-1 (t)<R i,j ,(1≤i≤N,2≤j≤n i ). In order to remove this condition, this control scheme introduces the following new coordinate transformation:
[0163] e i,1 =ξi,1 -ξ d,i (10)
[0164] e i,j =ξ i,j -α i,j-1 (11)
[0165] Virtual Controller α i,j and adaptive law Designed to
[0166]
[0167]
[0168]
[0169] where k i,j , a i ,λ i , m i is a positive constant and Represents the actual controller u i , Represents the i The estimated value of i Defined as
[0170] Take the i-th subsystem as an example to design the controller.
[0171] Step 1: e i,1 The derivative is
[0172]
[0173] Choose a suitable Lyapunov function V i,1 for
[0174]
[0175] Then, there is
[0176]
[0177] According to assumption 1 and Young's inequality, we have:
[0178]
[0179] Substituting inequality (18) into (17), we have:
[0180]
[0181] According to the Backstepping iterative method, we can get
[0182]
[0183]
[0184] Step 2: Select the following Lyapunov function for the interconnected nonlinear system (1):
[0185]
[0186] Then, we can get:
[0187]
[0188] Rearranging the last term of the above formula, we have:
[0189]
[0190] According to the adaptive law (14) and the rearrangement method, we have:
[0191]
[0192] Then, formulas (23) and (24) are packaged and processed to obtain:
[0193]
[0194]
[0195]
[0196] According to the universal approximation of fuzzy logic system, the wrapper function Approximation in
[0197] Then according to the properties of the fuzzy basis vector And Young's inequality, we can get:
[0198]
[0199]
[0200] in
[0201] S4: Stability Analysis
[0202] Consider a large-scale non-lower triangular interconnected nonlinear system with asymmetric full-state constraints (2), assuming that the virtual controller, the actual controller and the parameter adaptation law (14) are constructed. Then, for any initial condition x i,j (0)∈Di,j (i=1,...,N,j=1,....,n i ), the proposed control scheme can ensure:
[0203] 1) All signals in the closed-loop system are eventually uniformly bounded;
[0204] 2) The system output tracks the ideal reference signal and the raw error is bounded;
[0205] 3) Remove the virtual controller feasibility condition.
[0206] Combining formulas (23)-(29):
[0207]
[0208] Substituting (14) into (30), we have:
[0209]
[0210] in
[0211] Then we can further get:
[0212]
[0213] Finally, we get a direct conclusion
[0214]
[0215] where a 0 =min{2k i,j ,m i ,i=1,2,...,N,j=1,2,...,n i}, g Then we can judge that e i,j and θ i is bounded.
[0216] Now we should analyze that the state constraints are not violated and the original tracking error z i,1 Taking the first subsystem as an example, the analysis of the remaining subsystems is similar.
[0217] According to d,1 ∈L ∞ and e 1,1 is bounded, so we can judge that ξ 1,1 ∈L ∞ , which means that the state x 1,1 (t) Satisfy state constraints - L 1,1 <x 1,1 (t)<R 1,1. Since α 1,1 is a bounded signal e 1,1 and θ 1,1 function, so α 1,1 is bounded. Given e 1,2 =ξ 1,2 -α 1,1 , then we can determine that 1,2 ∈L ∞ And the state x 1,2 (t) Satisfy state constraints - L 1,2 <x 1,2 (t)<R 1,2 The rest of the variables are deduced in the same way. Then it can be inferred that the full state constraint holds and the feasibility condition for the virtual controller is removed.
[0218] It should be pointed out that i,1 Not the original tracking error z i,1 , then it can be proved that the original tracking error z i,1 The boundedness of is very necessary. i,1 =ξ i,1 -ξ d,i have to
[0219]
[0220] Simplifying the above formula, we get in is a bounded function. We can further get z i,1 =τ i,1 e i,1 ,in τ i,1 ∈L ∞ , and z i,1 (t)∈L ∞ Therefore, the signals of the closed-loop system are all bounded.
[0221] To demonstrate the effectiveness of the controller, two continuous stirred tank reactor processes are controlled, where an irreversible exothermic reaction, A→B, occurs in both reactors. The cooling water is supplied at flow rates F j1 and F j2 , Temperature T j1 and T j2 added to the cooling jackets around the two reactors. Assuming V j1 =V j2 =V j ,V 1 =V 2 =V,F 0 =F 2 =F and F 1 =F+F RThe process dynamics model consists of six nonlinear ordinary differential equations:
[0222]
[0223]
[0224]
[0225]
[0226]
[0227]
[0228] where α, E and λ represent the reaction rate constant, activation energy and heat generation rate respectively; ρ and ρ j is the density of the liquid in the reactor and jacket; c p and c j represents the heat capacity; the parameter values and steady-state values of the system variables are shown in Table 1. The goal is to operate C A0 , T j10 and T j20 To control C A2 , T 1 and T 2 .
[0229] Table 1
[0230]
[0231] make x 1,2 =f 2 , Then equations (34)-(39) can be transformed into
[0232]
[0233] where b 1,1 =b 1,2 =1,
[0234] h 3,1 =y 1 y 2 ,
[0235]
[0236]
[0237]
[0238]
[0239]
[0240] In addition, the constraints corresponding to all subsystems are:
[0241] -0.3<x 1,1 <0.4,-1<x 1,2 <0.8,
[0242] -0.8<x 2,1 <0.9,-0.4<x 2,2 <12,
[0243] -0.4<x 3,1 <1.2,-0.4<x 3,2 <0.8.
[0244] In the simulation experiment, the present embodiment selects appropriate parameters as follows:
[0245] k 1,1 =2, k 1,2 =8, k 2,1 =80, k 2,2 =80, k 3,1 =100, k 3,2 =100, a 1 =20, a 2 =20, a 3 =20,λ 1 =1,λ 2 =1,λ 3 =40, m 1 =40, m 2 =80,m 3 =100,ω=10e -0.15t ;
[0246] The initial condition is chosen as: x(0) = [0.3, 0.2, 0.1, 0.1, 0.2, 0.2] T ,
[0247] The ideal reference signal is: d,i =0.2sin(t)(i=1,2,3).
[0248] Figure 3 , Figure 4 , Figure 5 It shows that the adaptive fuzzy decentralized controller designed based on the adaptive fuzzy decentralized control method of the dual continuous stirred tank reactor can ensure that the system output y 1 ,y2 ,y 3 It can track the given reference signal y very well d,1 ,y d,2 ,y d,3 . At the same time, the state x 1,1 , x 2,1 , x 3,1 It remains in the constraint domain until t≥0.
[0249] Figure 6a ), Figure 6b ), Figure 6c )and Figure 7a ), Figure 7b ), Figure 7c ) shows that the adaptive fuzzy decentralized controller designed based on the adaptive fuzzy decentralized control method for the dual continuous stirred tank reactor can ensure that the system error e 1,1 , e 2,1 , e 3,1 and the original error z 1,1 , z 2,1 , z 3,1 They are all bounded.
[0250] Figure 8a ), Figure 8b ), Figure 8c ) indicates the state variable x of the system 1,2 , x 2,2 , x 3,2 Stay within the corresponding constraint domain and be bounded. Fig. 9 The boundedness of the adaptive parameters in the closed-loop system is shown.
[0251] Fig.10a ), Fig.10b ), Fig.10c ) shows that the adaptive fuzzy decentralized controller is designed based on the adaptive fuzzy decentralized control method for a double continuous stirred tank reactor.
[0252] The control method described in this embodiment is different from the traditional time-triggered control, and proposes an adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor system under state constraints. The method of the present invention removes the feasibility conditions imposed on the virtual controller in the traditional control scheme based on the barrier Lyapunov function, greatly reduces the difficulty of obtaining controller parameters, and is easier to apply in practical applications.
[0253] This embodiment uses some complex mathematical reasoning to achieve that the tracking error is bounded, and that all variables in the closed-loop system are bounded and the constraints are not violated.
[0254] Example 2
[0255] This embodiment provides an adaptive fuzzy decentralized control system for a dual continuous stirred tank reactor system under state constraints, comprising:
[0256] A model building module configured as a dynamic adaptive dual continuous stirred tank reactor system model;
[0257] A virtual controller building module, which is used to obtain a virtual control signal based on a custom system error and construct a virtual controller;
[0258] A control signal calculation module, which is used to obtain a control signal based on the output of the virtual controller and the adaptive control rate of the dynamic adaptive dual continuous stirred tank reactor system model;
[0259] The adaptive tracking module is used for tracking the controller to control the dual continuous stirred tank reactor system to achieve adaptive tracking of the preset trajectory.
[0260] Embodiment 3:
[0261] This embodiment provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps in the adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor system as described in Example 1.
[0262] Embodiment 4:
[0263] This embodiment provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps in the adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor system described in Example 1 are implemented.
[0264] The above calculation examples of the present invention are only used to explain the calculation model and calculation process of the present invention in detail, and are not intended to limit the implementation methods of the present invention. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present invention are still within the scope of protection of the present invention.
Claims
1. An adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor, characterized in that: The method specifically comprises the following steps: Step 1: Establish the kinetic equation of the dual continuous stirred tank reactor system; specifically: Among them, u i is the control input of the ith subsystem; g i,j (·) represents the control gain; f i,j (·) and h i,j (·) are unknown smooth nonlinear function and unknown smooth interconnected function respectively; x i,j represents the jth state of the i-th subsystem, 1≤i≤N,1≤j≤n, N is the total number of subsystems, and n is the total number of states of each subsystem; Represents x i,j The derivative of x i,n represents the nth state of the ith subsystem; Represents x i,n The derivative of x i,j The following conditions are met: Among them, L i,j and R i,j is a known positive constant, x i,j (t) represents the jth state of the ith subsystem at time t, R is a real number, and -L i,j <x i,j (0)<R i,j ; x i is the state vector of the ith subsystem. The superscript T represents the transpose. i =[x i,1 ,x i,2 ,...,x i,n ] T ; is the output vector of the dual continuous stirred tank reactor system, y i is the output of the ith subsystem; Step 2: transform the kinetic equation of the dual continuous stirred tank reactor system to obtain a new affine system; specifically: According to x i,j (t) Construct intermediate variable ξ i,j (t): Then i,j The first derivative of (t) for: Among them, the intermediate variable according to The kinetic equation of the dual continuous stirred tank reactor system is transformed to obtain the kinetic equation of the dual continuous stirred tank reactor system after transformation: Introducing new affine variables into the kinetic equations of the transformed dual continuous stirred tank reactor system, a new affine system is obtained: among them,x i =(ξ i,1 ,x i,2 ,...,x i,n ) T ; Step 3: construct a virtual controller based on the new affine system and system error; Step 4: Based on the output of the virtual controller and the adaptive control law of the dynamic adaptive dual continuous stirred tank reactor system, a control signal is obtained.
2. The adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor according to claim 1, characterized in that: The unknown smooth nonlinear function and the unknown smooth interconnected function satisfy: i,j (0) = 0, h i,j (0)=0.
3. The adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor according to claim 2, characterized in that: Before the kinetic equation of the dual continuous stirred tank reactor system is converted in step 2, the step of estimating the unknown smooth nonlinear function is also included; the specific method of estimating the unknown smooth nonlinear function is: For a smooth nonlinear function f(x) with independent variable x, there exists a fuzzy logic system W T S(x) is such that: in, represents the weight vector, Respectively represent the weights of the first, second, ..., N0th fuzzy rules; ε is the upper bound of the error; S(x) represents the basis function vector; N0>1 is the number of fuzzy rules; s i′ (x) represents the Gaussian function of the i′th fuzzy rule, s i′ The form of (x) is as follows: Among them, μ i′ and η i′ denote the center and width of the Gaussian function of the i′th fuzzy rule respectively; The optimal weight vector W * Select as: Among them, U and Ω are compact sets of W and x respectively; The smooth nonlinear function f(x) is approximated as: f(x) = W *T S(x)+ε(x), where represents f(x) and W *T An upper bound on the difference of S(x).
4. The adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor according to claim 3, characterized in that: The specific process of step three is: Step 3.
1. Define the error ξ of the i-th subsystem at time t d,i (t) is: Among them, y d,i (t) is the reference signal of the ith subsystem at time t, L i,1 and R i,1 is the constraint value corresponding to the first state of the i-th subsystem, ξ d,i The derivative of (t) for y d,i The derivative of (t), The following new coordinate transformation is introduced: e i,1 =ξ i,1 -x d,i e i,j =ξ i,j -a i,j-1 Among them, e i,1 and e i,j is an intermediate variable; Step 32: Virtual Controller α i,1 and adaptive control law Designed to: Among them, k i,1 , a i ,λ i , m i is a normal number, S i,1 (·) represents the first basis function vector of the ith subsystem, yes The derivative of Step 3: According to the virtual controller α i,1 Get virtual controller α i,2 : Among them, k i,2 is a normal number, S i,2 (·) represents the second basis function vector of the ith subsystem; Step 34: Continue to iterate the process of step 33 until α is obtained i,n .
5. Adaptive fuzzy decentralized control system for dual continuous stirred tank reactors, characterized in that: The system comprises a model building module, a virtual controller building module, a control signal calculation module and an adaptive tracking module, wherein: The model building module is used to build a dynamic self-adaptive dual continuous stirred tank reactor system model; The working process of the model building module is as follows: The kinetic equation of the double continuous stirred tank reactor system is established; specifically: Among them, u i is the control input of the ith subsystem; g i,j (·) represents the control gain; f i,j (·) and h i,j (·) are unknown smooth nonlinear function and unknown smooth interconnected function respectively; x i,j represents the jth state of the i-th subsystem, 1≤i≤N,1≤j≤n, N is the total number of subsystems, and n is the total number of states of each subsystem; Represents x i,j The derivative of x i,n represents the nth state of the ith subsystem; Represents x i,n The derivative of x i,j The following conditions are met: Among them, L i,j and R i,j is a known positive constant, x i,j (t) represents the jth state of the ith subsystem at time t, R is a real number, and -L i,j <x i,j (0)<R i,j ; x i is the state vector of the ith subsystem. The superscript T represents the transpose. i =[x i,1 ,x i,2 ,...,x i,n ] T ; is the output vector of the dual continuous stirred tank reactor system, y i is the output of the ith subsystem; The kinetic equations of the dual continuous stirred tank reactor system are transformed to obtain a new affine system; specifically: According to x i,j (t) Construct intermediate variable ξ i,j (t): Then i,j The first derivative of (t) for: Among them, the intermediate variable according to The kinetic equation of the dual continuous stirred tank reactor system is transformed to obtain the kinetic equation of the dual continuous stirred tank reactor system after transformation: Introducing new affine variables into the kinetic equations of the transformed dual continuous stirred tank reactor system, a new affine system is obtained: among them,x i =(ξ i,1 ,x i,2 ,...,x i,n ) T ; The virtual controller construction module is used to obtain a virtual control signal based on a custom system error and construct a virtual controller; The control signal calculation module is used to obtain a control signal based on the output of the virtual controller and the adaptive control rate of the dynamic adaptive dual continuous stirred tank reactor system model; The adaptive tracking module is used for tracking the controller to control the dynamic adaptive dual-continuous stirred tank reactor system model according to the control signal to achieve adaptive tracking of the preset trajectory.
6. A storage medium, characterized in that: The storage medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor as claimed in any one of claims 1 to 4.
7. An adaptive fuzzy decentralized control device for a dual continuous stirred tank reactor, characterized in that: The device comprises a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the adaptive fuzzy decentralized control method for a dual continuous stirred tank reactor as claimed in any one of claims 1 to 4.
