Gas mixing concentration control method based on improved fuzzy neural network PID

By improving the fuzzy neural network PID method and using the improved particle swarm algorithm to optimize the initial parameters, the problems of poor accuracy and difficulty in parameter tuning of traditional PID control in gas mixing systems are solved, achieving higher control accuracy and shorter adjustment time. , significantly improving the effect of gas mixing concentration control.

CN115586801BInactive Publication Date: 2024-09-06XIAN UNIV OF SCI & TECH
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202211365589.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional PID control algorithm has problems with poor control accuracy and inability to adjust parameters online in the gas mixing concentration control system, resulting in poor control effects.

Method used

The improved fuzzy neural network PID method is used to establish a transfer function mathematical model of the gas concentration mixing control system, and the improved particle swarm algorithm is used to optimize the initial network parameters of the fuzzy neural network, and the PID control parameters are output based on the error and error change rate of the gas concentration. Realize online tuning of PID parameters.

Benefits of technology

The control accuracy is improved, the adjustment time is shortened, the overshoot is reduced, the convergence performance of the control system is improved, and the effect of gas mixing concentration control is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115586801B
    Figure CN115586801B
Patent Text Reader

Abstract

The present invention discloses a gas mixing concentration control method based on improved fuzzy neural network PID, which specifically comprises the following steps: step 1, establishing a transfer function mathematical model of a gas concentration mixing control system; step 2, obtaining an improved particle swarm algorithm by improving the inertia weight of a traditional particle swarm; step 3, optimizing the initial network parameters of the fuzzy neural network by using the improved particle swarm algorithm; step 4, constructing a fuzzy neural network according to the result obtained in step 3; step 5, taking the gas concentration error and the error change rate as the input of the fuzzy neural network, completing forward propagation in the fuzzy neural network, and outputting three control parameters of the PID control algorithm; step 6, judging whether the gas concentration error meets the requirements. The present invention solves the problems of poor control accuracy and inability to adjust parameters online in the traditional PID control algorithm in the gas mixing concentration control system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of gas mixing concentration control, and relates to a gas mixing concentration control method based on an improved fuzzy neural network PID. Background Art

[0002] In the current industrial control environment, the classical PID control method is mostly used. However, in the gas mixing concentration control system, due to the lag in sensor acquisition and transmission, the changes in the external environment in the mining area, and the interference of uncertain factors in the controlled object, the control system presents time-varying and nonlinear characteristics, which leads to large errors in the traditional PID control and cannot achieve the ideal control effect. In order to further improve the control accuracy of the gas mixing system and optimize the steady-state characteristics and dynamic performance of the system, it is necessary to optimize the classical PID control. At present, some scholars have proposed fuzzy PID control algorithms, but the formulation of fuzzy rules is too dependent on the accumulated experience of operators and it is difficult to achieve the optimal effect. In addition, some scholars have proposed neural network combined with PID control, which has faster response and smaller overshoot than traditional PID. However, this method is difficult for people to understand intuitively and it is difficult to make necessary modifications. In the face of more complex systems, large overshoot may occur. With the further development of artificial intelligence, some scholars have closely combined fuzzy control and neural network, two intelligent control technologies, and proposed a PID controller based on fuzzy neural network. However, it is difficult for fuzzy neural network to select reasonable initial network parameters, and the selection of initial network parameters directly leads to differences in training results.

[0003] In summary, the traditional method cannot accurately control the gas mixing concentration control system and reasonably adjust the PID parameters. If the traditional method is used, it will inevitably lead to poor control effect. Summary of the invention

[0004] The purpose of the present invention is to provide a gas mixing concentration control method based on an improved fuzzy neural network PID, which solves the problems of poor control accuracy and inability to adjust parameters online in a traditional PID control algorithm in a gas mixing concentration control system.

[0005] The technical solution adopted by the present invention is a gas mixing concentration control method based on an improved fuzzy neural network PID, which specifically includes the following steps:

[0006] Step 1, establishing a transfer function mathematical model of a gas concentration mixing control system;

[0007] Step 2, by improving the inertia weight of the traditional particle swarm, an improved particle swarm algorithm is obtained;

[0008] Step 3, using the improved particle swarm algorithm to optimize the initial network parameters of the fuzzy neural network;

[0009] Step 4, constructing a fuzzy neural network based on the results obtained in step 3;

[0010] Step 5: By taking the gas concentration error e and the error change rate e c As the input of the fuzzy neural network, after completing the forward propagation in the fuzzy neural network, the three control parameters K of the PID control algorithm are output p , K i , K d ;

[0011] Step 6: Use the gas concentration sensor to obtain the measured value y out (k)Comparison with ideal setting value y r (k), calculate the error e(k), and determine whether the error is 0. If it is 0, stop the iteration; if it is not 0, repeat steps 4 to 5 until the error e(k) is 0.

[0012] The present invention is also characterized in that:

[0013] The specific process of step 1 is:

[0014] The expected value of the gas concentration after mixing is set to E, and low-concentration gas with a concentration of F and high-concentration gas with a concentration of G are mixed respectively. The gas concentration change data after mixing is recorded, and the model is built using the following formula (1) using the gas concentration data:

[0015]

[0016] Where s is the sign of the transfer function, K is the static gain, T s is the time constant; τ is the pure lag time; R(s) is the Laplace transform of the system input; C(s) is the Laplace transform of the system output.

[0017] The specific process of step 2 is:

[0018] Step 2.1: Use the following formula (2) to improve the inertia weight factor w, specifically:

[0019]

[0020] In the formula, w min 、w max , k and k max They are the minimum value, maximum value, current number of iterations and maximum number of iterations of w respectively;

[0021] Step 2.2: Use the following formula (3) to improve the acceleration constants c1 and c2 of the particle swarm algorithm:

[0022]

[0023] Among them, c 1strat 、c 1end are the initial and final values ​​of the acceleration constant c1, c 2strat 、c 2end are the initial and final values ​​of the acceleration constant c2 respectively;

[0024] Step 2.3, use the following formulas (4) and (5) to calculate the crossover probability P in the particle swarm algorithm: c and mutation probability P m To make improvements:

[0025]

[0026]

[0027] Among them, P mmax , P mmin Respectively represent the maximum and minimum values ​​of the mutation probability; P cmax , P cmin They represent the maximum and minimum values ​​of the crossover probability respectively.

[0028] The specific process of step 3 is:

[0029] Set the particle swarm algorithm dimension to m, select the fitness function of the particle swarm algorithm shown in formula (6), update the position and velocity of each particle, perform crossover and mutation operations on the particles, continuously update the individual extreme value and the global extreme value, and finally use the global extreme value found by the improved particle swarm algorithm as the initial parameter P of the fuzzy neural network:

[0030]

[0031] Where J represents the fitness of the improved particle swarm algorithm, n represents the simulation time point of the gas mixing control system, and y′ i represents the actual output of the control system optimized by the IPSO algorithm, y i Represents the desired output of the control system.

[0032] The control strategy of the PID control algorithm in step 5 is:

[0033] u(k)=u(k-1)+K_{p}[e(k)-e(k-1)]+K_{i}e(k)+K_{d}[e(k)-2e(k-1)+e(k-2)] (7);

[0034] Among them, u(k-1) represents the control quantity of the controller at the previous moment, e(k), e(k-1), and e(k-2) represent the errors of the control system at the current moment, the previous moment, and the moment before that, respectively.

[0035] The calculation formula for the error e(k) in step 6 is:

[0036]

[0037] The beneficial effect of the present invention is that the present invention aims at the gas concentration control problem in the mixing of low-concentration gas extracted from the mine with a certain concentration of high-concentration gas, establishes a transfer function mathematical model, analyzes the control performance of the traditional PID through theory and experiment, and proposes a method for adjusting PID parameters by improving the fuzzy neural network. The method mainly first improves the particle swarm algorithm by introducing a genetic algorithm, and optimizes the initial network parameters of the fuzzy neural network through the improved particle swarm algorithm to improve the performance of the fuzzy neural network PID control algorithm. Finally, based on the experiment of real data, and compared with the traditional PID, fuzzy PID (Fuzzy-PID) and fuzzy neural network PID (FNN-PID), the results show that the control method based on the improved fuzzy neural network PID (IPSO-FNN-PID) has a shorter adjustment time, a smaller overshoot, a higher control accuracy and good convergence performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is the structural diagram of the gas mixing control system;

[0039] Figure 2 It is a time series diagram of gas concentration after mixing in the gas mixing concentration control method based on improved fuzzy neural network PID of the present invention.

[0040] Figure 3 It is a mixed gas concentration control flow chart provided in the gas mixed concentration control method based on improved fuzzy neural network PID of the present invention;

[0041] Figure 4 It is a control effect comparison diagram of the improved fuzzy neural network PID and other three controllers in the gas mixing concentration control method based on the improved fuzzy neural network PID of the present invention;

[0042] Figure 5 It is a comparison diagram of error curves between the improved fuzzy neural network PID and the other three controllers in the gas mixing concentration control method based on the improved fuzzy neural network PID of the present invention.

[0043] In the figure, 1. Pressure reducing valve A, 2. Pressure reducing valve B, 3. Control valve A, 4. Control valve B, 5. Mixing chamber, 6. Gas sensor, 7. Output valve, 8. Control processor, 9. Tank A, 10. Tank B. DETAILED DESCRIPTION

[0044] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0045] Gas blending is the premise of gas power generation and directly determines whether gas power generation can be carried out. Its precise control is very important. The high and low concentration gas mixing system uses gas sensors and regulating valves to monitor and control the gas flow in real time, and uses gas concentration sensors to monitor the concentration of the mixed gas. The schematic diagram of the gas mixing ratio system is as follows: Figure 1 shown.

[0046] Figure 1 It includes a pressure reducing valve A1, a pressure reducing valve B2, a regulating valve A3, a regulating valve B4, a mixing chamber 5, a gas sensor 6, an output valve 7, a control processor 8, a tank A9 and a tank B10;

[0047] Among them, the gas that enters the mixing chamber 5 from the pressure reducing valve A1 through the regulating valve A3 is high-concentration gas; the tank A9 contains the gas of the desired concentration after mixing; the gas that enters the mixing chamber 5 from the pressure reducing valve B2 through the regulating valve B4 is low-gas concentration; the tank B10 contains exhaust gas below the standard.

[0048] The process of the gas mixing system is: high-concentration gas is sent into the gas mixing chamber at a constant flow rate, and low-concentration gas enters the mixing chamber through the regulating valve according to the predetermined ratio, and then is fully mixed. The concentration sensor measures the concentration of the mixed gas and sends the signal to the controller. The controller compares the set value of the gas concentration with the measured value, and transmits the error signal to the regulating valve. The regulating valve adjusts the valve opening and makes real-time adjustments to prepare gas that meets the concentration requirements.

[0049] The present invention provides a gas mixing concentration control method based on an improved fuzzy neural network PID, which specifically comprises the following steps:

[0050] Step 1: First, a black box modeling method is used to establish a transfer function mathematical model of the gas concentration mixing control system based on the gas mixing ratio principle and historical data.

[0051] Step 1.1, set the expected value of the gas concentration after mixing to E (20% ≤ E < 30%; considering the economic benefit, it is usually set to 20%), mix the low-concentration gas (obtained from underground mining) with a concentration of F (3% ≤ F ≤ 4%) and the high-concentration gas with a concentration of G (G ≥ 30%), and record the gas concentration change data after mixing. The change of gas concentration over time is shown in the attached Figure 2 . Modeling is performed using gas concentration data.

[0052] Step 1.2, by the attached Figure 2 It can be seen that the output response of the system is similar to an S-shaped curve, which is consistent with the first-order inertia link in the transfer function. Therefore, the present invention uses a first-order process with a time delay to establish a model to show the characteristics of the control system. Therefore, the mathematical model of the gas concentration control system transfer function is as follows:

[0053]

[0054] In formula (1), s is the sign representing the transfer function (without practical meaning), K is the static gain; T s is the time constant; τ is the pure lag time; R(s) is the Laplace transform of the system input; C(s) is the Laplace transform of the system output. The present invention uses a graphical method to fit the transfer function. The specific steps are to draw a tangent at the point where the curve changes fastest, and intersect the time axis and the asymptote y(∞) of the step response at two points, so that the delay time τ and the time constant T are obtained. The calculation formula of K is r is the desired output concentration, y(0) is the initial concentration value, and y(∞) is the steady-state concentration value. Figure 2 The information shown can be obtained as r = 20, y(∞)-y(0) = 20, T = 6s, τ = 1s. The transfer function after fitting is Thus, the mathematical model of the gas mixing concentration control system was obtained.

[0055] Step 2, the traditional particle swarm algorithm is improved by improving the inertia weight and acceleration constant of the traditional particle swarm and introducing the crossover and mutation operations in the genetic algorithm to obtain the improved particle swarm algorithm (IPSO algorithm).

[0056] Specific ways to improve the particle swarm optimization algorithm:

[0057] Step 2.1, improvement of the inertia weight factor of the traditional particle swarm optimization (PSO);

[0058] The main function of the inertia weight factor ω and the acceleration constant in the PSO algorithm is to maintain the search ability of the particles. In the early stage of the search, a larger inertia weight factor is generally used to maintain the individual search ability as much as possible to search a larger space. In the later stage of the search, a smaller inertia weight factor is used so that the particles can approach the global optimal solution as quickly as possible. The decreasing strategy of the concave function introduced in the present invention is better than the linear strategy, which is defined as:

[0059]

[0060] In the formula, ω min ,ωmax , k and k max are the minimum value, maximum value, current number of iterations and maximum number of iterations of ω respectively.

[0061] Step 2.2, improvement of acceleration constant;

[0062] The acceleration constants c1 and c2 of the PSO algorithm affect the global and local search capabilities of particles, respectively. In the early stage of particle search, particles should be allowed to search a larger range, so c1>c2 should be made. In the later stage of particle search, the particle search range should be appropriately reduced, and particles should be moved to the global optimal area. Therefore, c2>c1 should be made. The present invention proposes a dynamic acceleration constant update strategy based on an exponential function. It makes c1 and c2 increase or decrease in a relatively smooth curve during the search. The update formula is:

[0063]

[0064] In the formula, k is the current iteration number, k max is the maximum number of iterations. c 1strat 、c 1end are the initial and final values ​​of the acceleration constant c1. 2strat 、c 2end are the initial and final values ​​of the acceleration constant c2 respectively.

[0065] Step 2.3, introduce crossover and mutation operations for improvement;

[0066] The present invention draws on the idea of ​​performing mutation and crossover operations on individuals in genetic algorithms to maintain the diversity of the population and obtain better individuals. The traditional method of selecting fixed crossover probability and mutation probability will destroy the diversity of the population and the excellent individuals of the population. In the middle and late stages of iteration, unreasonable crossover and mutation probabilities directly lead to the algorithm failing to converge. Therefore, the present invention proposes a dynamic adaptive update strategy for the crossover probability P c and mutation probability P m to update.

[0067]

[0068]

[0069] In the formula, k is the current iteration number, k max is the maximum number of iterations. mmax , P mmin and P cmax , P cmin Represent the maximum and minimum values ​​of mutation and crossover probabilities, respectively.

[0070] Step 3: Use the improved particle swarm algorithm to optimize the initial network parameters of the fuzzy neural network.

[0071] Step 3.1, the detailed process of optimizing the parameters of fuzzy neural network by improving the particle swarm algorithm;

[0072] The IPSO algorithm improved by the traditional particle swarm algorithm is used to optimize the parameters of the fuzzy neural network using steps 2.1 to 2.3. The process flow chart of parameter optimization is shown in the attached figure. Figure 3 As shown, the input number used in the experiment is P i , the fuzzy segmentation number is P j , the output number is P o The fuzzy neural network structure needs to optimize m parameters, and the particle swarm algorithm dimension is set to m. Determine the fitness function of the algorithm and calculate the fitness of each particle. The smaller the particle fitness, the better its performance. The fitness function selected by the present invention is as follows:

[0073]

[0074] In formula (6), J represents the fitness of the IPSO algorithm, n represents the simulation time point of the gas mixing control system, and y′ i represents the actual output of the control system optimized by the IPSO algorithm, y i Represents the expected output of the control system. Update the position and velocity of each particle, perform crossover and mutation operations on the particles, and calculate and evaluate the fitness of the particles according to Formula 6. Continuously update the individual extreme value (i.e., the position of the particle at the moment when a single particle can minimize the fitness function from the beginning of evolution to the present) and the global extreme value (the position of the particle with the smallest individual extreme value among m particles); finally, the global extreme value found by the IPSO algorithm is used as the initial parameter P of the fuzzy neural network.

[0075] Step 4: Use the optimized fuzzy neural network initial parameters P obtained in step 3 as the output layer connection weights w ij , the width b of the fuzzy layer membership function ij and the center value c ij The initial value of is used to construct the fuzzy neural network.

[0076] The fuzzy neural network mainly has five layers. The composition of each layer from front to back and the relationship between input I and output f are as follows:

[0077] The first layer: input layer. The gas mixing concentration control system transmits the concentration error e and the error change rate e collected. c As the input of the fuzzy neural network, it is passed to the second layer.

[0078] The second layer: the membership generation layer. This layer is the first hidden layer of the fuzzy neural network. This layer has a total of 14 neuron nodes, each of which represents a language variable value, and generates the membership function of each language variable of the error and error change rate. The membership function uses the Gaussian function. The width of the membership function is b ij and the center value c ij The initial value of is obtained in step 3.

[0079] The third layer: fuzzy reasoning layer. This layer is the second hidden layer of the fuzzy neural network. This layer has a total of 49 neuron nodes. Each neuron node in this layer represents a fuzzy rule in the known fuzzy rule base.

[0080] The fourth layer: normalization layer. This layer has the same number of nodes as the third layer, and its main function is to perform normalization operations on the output of the fuzzy inference layer.

[0081] The fifth layer: output layer. The function of this layer is to defuzzify the output. The three neuron nodes in this layer represent the control parameters K acting on the PID controller. p , K i , K d .

[0082] Step 5: By taking the gas concentration error e and the error change rate e c As the input of the fuzzy neural network, it then passes through the membership generation layer, fuzzy reasoning layer, normalization layer and output layer. At this point, after the fuzzy neural network completes forward propagation, the output of the network is the three parameters of the PID control algorithm.

[0083] In addition, the incremental PID control algorithm is used in step 5 to convert the three control parameters K output by the fuzzy neural network into p , K i , K d Substitute it into the formula (7) and calculate the control quantity u(k), then calculate the control system output y out (k), its control strategy can be expressed as:

[0084] u(k)=u(k-1)+K_{p}[e(k)-e(k-1)]+K_{i}e(k)+K_{d}[e(k)-2e(k-1)+e(k-2)] (7);

[0085] In formula (7), u(k-1) represents the control quantity of the controller at the previous moment, K p , K i , K d The control parameters e(k), e(k-1), and e(k-2) output by the fuzzy neural network represent the errors of the control system at the current moment, the previous moment, and the moment before that, respectively.

[0086] Step 6: Use the gas sensor to sample the measured value (control system output value) y out (k)Comparison with ideal setting value y r (k), calculate the error e(k) using formula (8). Determine whether the error is 0. If it is 0, stop the iteration; if it is not 0, continue to optimize the fuzzy neural network parameters using the gradient descent algorithm, repeat steps 4 and 5 to obtain the optimal PID parameters to meet the error requirements.

[0087]

[0088] The specific details of updating the parameters of the fuzzy neural network using the gradient descent method in step 6 are as follows:

[0089] The parameter that needs to be adjusted in the fuzzy neural network is the connection weight w of the fuzzy neural network. ij and the membership function center value c ij and width b ij .

[0090] The learning algorithm for the three parameters is as follows:

[0091]

[0092]

[0093]

[0094] Among them, η c , η b , η w They are parameters c ij , b ij , w ij The corresponding learning rate, α is the momentum factor used to weaken the shock of the adjustment process.

[0095] Example 1

[0096] In order to verify the feasibility of the improved PSO algorithm, the following standard test function was selected for evaluation.

[0097] Girewank function:

[0098] Rastrigrin Function:

[0099] Rosenbrock function:

[0100] Sphere function:

[0101] The parameters of the test function are shown in Table 1.

[0102] Table 1

[0103]

[0104] The IPSO and PSO algorithms were tested 20 times in a row using the above standard test, with a maximum number of iterations of 500. The optimization data obtained are shown in Table 2:

[0105] Table 2 PSO and IPSO test results

[0106]

[0107]

[0108]

[0109] Take the average and minimum value of the results in the above table, and the results are shown in Table 3.

[0110] Table 3 Comparison of test results between PSO algorithm and IPSO algorithm

[0111]

[0112] From the data in Table 3, we can conclude that:

[0113] Compared with the traditional PSO algorithm, the average value of the solution of the IPSO algorithm proposed in the present invention has decreased significantly. Secondly, the minimum value that the IPSO algorithm can reach in 20 consecutive experiments is smaller than that of the PSO algorithm, indicating that the algorithm has a strong search ability.

[0114] Example 2

[0115] In order to verify the performance of the IPSO-FNN-PID control algorithm, the traditional PID, fuzzy PID, fuzzy neural network PID, and IPSO-FNN-PID were simulated and analyzed in the MATLAB simulation software. The inertia factor of the fuzzy neural network is α = 0.02, and the learning rate η = 0.5. To ensure that the fuzzy neural network is fully optimized, the particle swarm size is set to 100 and the number of iterations is set to 200. The four control algorithms are simulated, and the experimental results are shown in the attached figure. Figure 4 , attached Figure 4 The following is a response curve diagram of PID control, fuzzy PID control, fuzzy neural network PID control and fuzzy neural network PID control based on IPSO when a step signal with a given amplitude of 0.2 (20%) is given. Figure 5In addition, in order to quantify the performance indicators of the four controllers, Table 4 compares them from three aspects: rise time, adjustment time, and overshoot.

[0116] Rise time: The time when the output step response reaches 90% of the steady-state value.

[0117] Overshoot σ: Output step response peak value y max With the steady-state value y s The difference between the steady-state value y s percentage of

[0118]

[0119] Adjustment time: Output step response enters steady-state value y s The time corresponding to the ±Δ error band.

[0120] Table 4 Comparison of output results of four control algorithms

[0121] Control Algorithm When rising Adjustment time / s Overshoot / % PID 7 45 21.6 Fuzzy-PID 8.5 40 9.9 FNN-PID 4.6 22 8.55 IPSO-FNN-PID 4.9 11 0

[0122] From the comparison data in Table 4, it can be concluded that under the traditional PID control, the rise time of the system is relatively slow, the adjustment time is very long, and its overshoot is as high as 21.6%. Excessive overshoot can easily cause system oscillation, leading to safety problems. When Fuzzy-PID control is adopted, the adjustment time is reduced compared with PID, but there is still an overshoot of 9.9%. However, when FNN-PID control is adopted, the three performance indicators of FNN-PID are better than those of PID control algorithm and fuzzy PID control algorithm. Finally, under the fuzzy neural network PID control based on IPSO optimization proposed in the invention, the overshoot of the control system is 0. Although the rise time of the system has increased compared with FNN-PID due to the increase in algorithm complexity, it is still better than traditional PID and Fuzzy-PID, and the adjustment time is greatly reduced.

[0123] In summary, the fuzzy neural network PID control algorithm optimized by IPSO can reasonably determine the initial parameters of the fuzzy neural network, so that the control system can reach a steady state faster, with shorter adjustment time, smaller control error and better control performance. It can well meet the requirements of the gas mixing concentration control system.

Claims

1. A gas mixing concentration control method based on improved fuzzy neural network PID, characterized by: The specific steps include: Step 1, establishing a transfer function mathematical model of a gas concentration mixing control system; Step 2, by improving the inertia weight of the traditional particle swarm, an improved particle swarm algorithm is obtained; Step 3, using the improved particle swarm algorithm to optimize the initial network parameters of the fuzzy neural network; Step 4, constructing a fuzzy neural network based on the results obtained in step 3; Step 5: By taking the gas concentration error e and the error change rate e c As the input of the fuzzy neural network, after completing the forward propagation in the fuzzy neural network, the three control parameters K of the PID control algorithm are output p , K i , K d ; Step 6: Use the measured value y obtained by sensor sampling out (k)Comparison with ideal setting value y r (k), calculate the error e(k), and determine whether the error is 0. If it is 0, stop the iteration; if it is not 0, repeat steps 4 to 5 until the error e(k) is 0.

2. The gas mixing concentration control method based on improved fuzzy neural network PID according to claim 1 is characterized in that: The specific process of step 1 is as follows: The expected value of the gas concentration after mixing is set to E, and low-concentration gas with a concentration of F and high-concentration gas with a concentration of G are mixed respectively. The gas concentration change data after mixing is recorded, and the model is built using the following formula (1) using the gas concentration data: Where s is the sign of the transfer function, K is the static gain, T s is the time constant; τ is the pure lag time; R(s) is the Laplace transform of the system input; C(s) is the Laplace transform of the system output.

3. The gas mixing concentration control method based on improved fuzzy neural network PID according to claim 2 is characterized in that: The specific process of step 2 is as follows: Step 2.1: Use the following formula (2) to improve the inertia weight factor w, specifically: In the formula, w min 、w max , k and k max They are the minimum value, maximum value, current number of iterations and maximum number of iterations of w respectively; Step 2.2: Use the following formula (3) to improve the acceleration constants c1 and c2 of the particle swarm algorithm: Among them, c 1strat 、c 1end are the initial and final values ​​of the acceleration constant c1, c 2strat 、c 2end are the initial and final values ​​of the acceleration constant c2 respectively; Step 2.3, use the following formulas (4) and (5) to calculate the crossover probability P in the particle swarm algorithm: c and mutation probability P m To make improvements: Among them, P mmax , P mmin Respectively represent the maximum and minimum values ​​of the mutation probability; P cmax , P cmin They represent the maximum and minimum values ​​of the crossover probability respectively.

4. The gas mixing concentration control method based on improved fuzzy neural network PID according to claim 3 is characterized in that: The specific process of step 3 is as follows: Set the particle swarm algorithm dimension to m, select the fitness function of the particle swarm algorithm shown in formula (6), update the position and velocity of each particle, perform crossover and mutation operations on the particles, continuously update the individual extreme value and the global extreme value, and finally use the global extreme value found by the improved particle swarm algorithm as the initial parameter P of the fuzzy neural network: Where J represents the fitness of the improved particle swarm algorithm, n represents the simulation time point of the gas mixing control system, and y′ i represents the actual output of the control system optimized by the IPSO algorithm, y i Represents the desired output of the control system.

5. The gas mixing concentration control method based on improved fuzzy neural network PID according to claim 4 is characterized in that: The control strategy of the PID control algorithm in step 5 is: u(k)=u(k-1)+K_{p}[e(k)-e(k-1)]+K_{i}e(k)+K_{d}[e(k)-2 e(k-1)+e(k-2)] (7); Among them, u(k-1) represents the control quantity of the controller at the previous moment, e(k), e(k-1), and e(k-2) represent the errors of the control system at the current moment, the previous moment, and the moment before that, respectively.

6. The gas mixing concentration control method based on improved fuzzy neural network PID according to claim 5 is characterized in that: The calculation formula of the error e(k) in step 6 is:

Citation Information

Cited By

  • Gas mixing control system and method for freezing prevention of gas heat storage oxidation shaft

    CN117732341A

  • A gas mixing control system and method for preventing freezing of a gas storage and oxidation shaft

    CN117732341B

  • Gas mixing system for freezing prevention of gas heat storage oxidation shaft and control method

    CN120351447A