Single neuron adaptive PID control method and system for pressure flow control

By introducing the single neuron adaptive PID control method and integral anti-saturation mechanism into the EPC pressure flow control system, and using the new control terms φλ, δ(e(t)), the trade-off problem between system response speed and overshoot is solved , improving the stability and measurement accuracy of the system.

CN118567404AInactive Publication Date: 2024-08-30QINGDAO MINGDE ENVIRONMENTAL PROTECTION INSTR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410715106.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the EPC pressure flow control system, changes in the gas supply pressure of the cylinder caused by external temperature fluctuations and gas release in the cylinder affect the stability and measurement accuracy of the pressure flow, and there is a trade-off between response speed and overshoot size, making it difficult to ensure fast response at the same time. and minimize regulation overshoot.

Method used

The single-neuron adaptive PID control method is introduced, and the new control term φλ,δ(e(t)) = |e(t)|λarctan(eδ(t)) is combined with the integral anti-saturation mechanism to limit the excessive accumulation of errors. Improve the control algorithm's flexibility and sensitivity to small errors, reduce overshoot, and optimize the response characteristics of the control items through power parameters λ and δ.

Benefits of technology

It achieves rapid response in the face of small errors, smooth adjustment in the face of large errors, reduces overshoot caused by pressure changes, and improves the stability and measurement accuracy of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567404A
    Figure CN118567404A
Patent Text Reader

Abstract

The invention relates to a single neuron self-adaptive PID control method and system for pressure flow control. The method is used for controlling a gas supply bottle (1). The system comprises a gas supply bottle (1); an output pipeline (3) is arranged on the gas supply bottle (1); a proportional valve (2) is arranged on the output pipeline (3); a pressure sensor (4) is mounted on the gas supply bottle (1) and / or the output pipeline (3); the pressure sensor (4) is electrically connected with a processor (5); and the processor (5) electrically controls the proportional valve (2) through the controller (6).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a single neuron self-adaptive PID control method and system for pressure flow control. Background Art

[0002] Nowadays, with the continuous improvement of environmental protection awareness, the field of environmental testing has achieved a more refined division. Correspondingly, the stability of the measurement data of environmental analysis instruments has become more stringent. In EPC pressure flow control, external temperature fluctuations and the release of gas in the gas cylinder are the main factors causing changes in the gas cylinder supply pressure. These changes have a significant impact on the stability of pressure flow and the final measurement accuracy.

[0003] In the EPC pressure flow control system, there is a trade-off between response speed and overshoot. In order to effectively reduce regulation overshoot while ensuring a faster response speed, the improved method of the present invention cleverly introduces the idea of ​​integral anti-saturation and takes into account the flexibility of the control algorithm. Specifically, a new control term φ is introduced in the single neuron adaptive PID control. λ,δ (e(t))=|e(t)| λ arctan(e δ (t)). By introducing a similar integral anti-saturation mechanism, the growth rate of the integral part is limited, which can prevent excessive accumulation of errors in the control process and reduce overshoot in the control process; at the same time, the power parameters λ and δ provide more flexibility for the control algorithm and can improve the sensitivity of this control item to smaller errors, obtain higher gains, and thus improve the response speed. Summary of the invention

[0004] The technical problem to be solved by the present invention is generally to provide a single neuron adaptive PID control method and system for pressure flow control.

[0005] To solve the above problems, the technical solution adopted by the present invention is:

[0006] A single neuron adaptive PID control method for pressure flow control, characterized in that: the method is used for control including gas supply bottles;

[0007] The method is based on a gas supply bottle; an output pipeline is arranged on the gas supply bottle; a proportional valve is arranged on the output pipeline;

[0008] A pressure sensor is installed on the gas supply bottle and / or the output pipeline;

[0009] The pressure sensor is electrically connected to a processor; the processor electrically controls the proportional valve through a controller; the processor saves the output current and / or voltage at the current moment;

[0010] The method comprises the following steps:

[0011] Step S001: Initialize the learning coefficient η in the control method P , η I , η D , output coefficient K, power parameters λ, δ and given W i (t)(i=1,2,3) and given control period t s ;

[0012] Step S002: Entering the control cycle of the gas supply bottle, obtaining the set pressure F of the gas supply bottle set (t), and obtain the actual pressure F output by the gas supply bottle through the pressure sensor real (t), according to the set pressure F set (t) and actual pressure F real (t), and obtain the current pressure deviation value e(t) = F set (t)-F real (t), and update the deviation value e(t-1) of the previous moment and the deviation value e(t-2) of the previous moment;

[0013] Step S003: Based on the deviation value e(t i ) Update and calculate the input parameters x1(t), x2(t), and x3(t) of a single neuron. The calculation formula is as follows:

[0014] x1(t)=e(t)-e(t-1);

[0015] x2(t)=e(t);

[0016] x3(t)=e(t)-2e(t-1)+e(t-2);

[0017] The initial parameters of input parameters x1(t), x2(t), and x3(t) are set to 0;

[0018] Step S004: Coefficient η P , η I , η D The power parameters λ and δ are used for proportional integral differential weight calculation; based on single neuron adaptive PID control, a new control term φ is introduced λ,δ (e(t))=|e(t)| λ arctan(e δ (t)); Substitute the pressure deviation value e(t) into φ λ,δ In (e(t)), according to the output current of the pressure sensor at the previous moment, the weights of the proportion, integration, and differentiation in the single neuron are updated:

[0019] w1(t+1)=w1(t)+η p φ λ,δ (t)I out (t)x1(t);

[0020] w2(t+1)=w2(t)+η I φ λ,δ (t)I out (t)x2(t);

[0021] w3(t+1)=w3(t)+η D φ λ,δ (t)I out (t)x3(t);

[0022]

[0023] The weights of proportion, integration and differentiation are: w1(t), w2(t), w3(t), respectively representing the weights of the proportional term, integral term and differential term in calculating the output value. The initial weights can be set arbitrarily. The present invention sets them as w1(0) = 0.9, w2(0) = 0.8, w3(0) = 0.7;

[0024] Step S005: Calculate the output value of the algorithm,

[0025] Steps S001-S004, the obtained w i (t)(i=1,2,3),x i Substitute (t)(i=1,2,3) into the formula Calculate the output current of the proportional valve and save the output current at this moment, and adjust the opening of the proportional valve by the output current at the next moment;

[0026] Step S006: Return to step S002 and wait for the next control cycle to arrive.

[0027] Get the actual pressure F for multiple control cycles real (t), actual pressure F real (t) transitions to the target pressure in a smooth curve manner, and after the pressure stabilizes, the pressure deviation value e(t) fluctuates within the set threshold range.

[0028] In addition, in order to further improve the stability of the pressure at the gas source end, the following auxiliary design is carried out to provide a system based on the above-mentioned single neuron adaptive PID control method for pressure and flow control.

[0029] Adding a buffer gas cylinder between the gas supply cylinder and the equipment stabilizes the gas flow and improves the stability of the pressure sensor's measurement data.

[0030] Beneficial effects of the present invention:

[0031] The continuous output of the gas supply cylinder causes the outlet pressure fluctuation, which leads to the output pressure fluctuation of the electromagnetic proportional valve. λ,δ The (e(t)) control term ensures the control algorithm's sensitivity to smaller errors while reducing its responsiveness to larger errors. This means that when the system faces a small error, the control algorithm can respond quickly to achieve precise control; and when the system encounters a larger error, the control algorithm can adjust relatively smoothly to avoid excessive overshoot. This reduces the large overshoot caused by the control algorithm adjustment after the pressure changes, thereby improving the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a schematic flow chart of the control method of the present invention.

[0033] Figure 2 It is a schematic diagram of the system structure of the present invention.

[0034] Figure 3 It is a schematic diagram of drawing a curve of the effect of introducing control items of the present invention.

[0035] Among them, 1. Gas supply bottle; 2. Proportional valve; 3. Output pipeline; 4. Pressure sensor; 5. Processor; 6. Controller. DETAILED DESCRIPTION

[0036] like Figure 1-3 As shown, the single neuron adaptive PID control method and system for pressure flow control of this embodiment, the specific control method process is as follows:

[0037] Step S001: Initialize the learning coefficient η in the control method P =0.6, η I =0.1, η D =0.3, output coefficient K = 1.2, power parameters λ = 1 / 7, δ = 1 / 9 and given W i The initial weight values ​​of (t)(i=1,2,3) are 0.9, 0.8, 0.7 respectively, and the control period t is given s =0.2s.

[0038] Step S002: Waiting to enter the control cycle, obtain the set pressure F set (t), and obtain the actual pressure F through the pressure sensor real (t), and the pressure deviation at the current moment is obtained based on the set pressure and the actual pressure: e(t) = F set (t)-F real (t), and update the previous moment deviation e(t-1) and the previous moment deviation e(t-2).

[0039] Step S003: Update and calculate the input parameters x1(t), x2(t), and x3(t) of the single neuron based on the deviation values ​​at each moment obtained in step S002. Note: The input parameters x1(t), x2(t), and x3(t) must be updated first, and then the deviations of the previous moment and the moment before that are updated, and the output value of the previous moment is saved.

[0040] x1(t)=e(t)-e(t-1)

[0041] x2(t)=e(t)

[0042] x3(t)=e(t)-2e(t-1)+e(t-2)

[0043] Note that when t=0, e(t-1)=e(t-2)=0, and when t=1, e(t-2)=0.

[0044] Step S004: Substitute the pressure deviation value e(t) into φ λ,δ In (e(t)), the weights of the proportion, integration, and differentiation in a single neuron are updated according to the output current at the previous moment:

[0045] w1(t+1)=w1(t)+η p φ λ,δ (e(t))I out (t)x1(t)

[0046] w2(t+1)=w2(t)+η I φ λ,δ (e(t))I out (t)x2(t)

[0047] w3(t+1)=w3(t)+η D φ λ,δ (e(t))I out (t)x3(t)

[0048] The specific expression of the power term is as follows:

[0049] φ λ,δ (e(t))=|e(t)| λ arctan(e δ (t))

[0050] λ=q / p、δ=r / s are optional power parameters, where the value of λ must satisfy p>q and p and q are positive numbers, and the value of δ must satisfy s>r and s and r are positive odd numbers; arctan(e δ(t)) represents the inverse tangent function of the pressure deviation after power processing, which smoothes and limits the pressure deviation. The error limit can be modified by setting the parameter δ; e λ (t) is the power term of the pressure deviation value (i.e., error). By setting the parameter λ, the influence of the error on the output value can be appropriately amplified or reduced. Figure 3 Given different power parameters φ λ,δ (e(t)) vs. pressure deviation e(t) The influence is in the range of [-2.5,2.5]. It is very sensitive to the change of error when the error is small, so as to ensure the response speed when the pressure fluctuates; while in the range of large error, the response change is slow, so as to reduce the overshoot in the adjustment process.

[0051] Afterwards, according to To handle w i (t)(i=1,2,3) to value w' in the range of [0,1] i (t). First take the absolute values ​​of w1(t), w2(t), and w3(t) and then sum them up to get Then, by Get w' i The value of (t).

[0052] Step S005: Calculate the output value of the algorithm,

[0053] Substitute the data obtained in the above steps into the formula The correction value of the output control current is obtained by K{w'1(t)x1(t)+w'2(t)x2(t)+w'3(t)x3(t)}, and the control current I output at the previous moment is out (t) is corrected to obtain the output current I at the next moment out (t+1) size, adjust the opening of the proportional valve, and then control the pressure stability.

[0054] Step S006: Return to step S002 and wait for the next control cycle to arrive.

[0055] By implementing the above control method, the actual pressure F of multiple control cycles is obtained. real (t), actual pressure F during control process real (t) transitions to the target pressure in a smooth curve manner, and after the pressure stabilizes, the pressure deviation value e(t) fluctuates within the set threshold range.

[0056] The system is based on the above method, and the system includes a gas supply bottle 1; an output pipeline 3 is arranged on the gas supply bottle 1; a proportional valve 2 is arranged on the output pipeline 3;

[0057] A pressure sensor 4 is installed on the gas supply bottle 1 and / or the output pipeline 3;

[0058] The pressure sensor 4 is electrically connected to a processor 5 ; the processor 5 electrically controls the proportional valve 2 through a controller 6 ; the processor 5 will save the output current and / or voltage at the current moment.

[0059] The present invention is fully described for a clearer disclosure, and the prior art is not listed one by one.

[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some of the technical features therein with equivalents; it is obvious for those skilled in the art to combine multiple technical solutions of the present invention. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A single neuron adaptive PID control method for pressure flow control, characterized in that: The method is used for controlling a gas supply bottle (1); The method is based on a gas supply bottle (1); an output pipeline (3) is arranged on the gas supply bottle (1); a proportional valve (2) is arranged on the output pipeline (3); A pressure sensor (4) is installed on the gas supply bottle (1) and / or the output pipeline (3); The pressure sensor (4) is electrically connected to a processor (5); the processor (5) electrically controls the proportional valve (2) through a controller (6); the processor (5) stores the output current value and / or voltage value at the current moment; The method comprises the following steps: Step S001: Initialize the learning coefficient η in the control method P , η I , η D , output coefficient K, power parameters λ, δ and given W i (t)(i=1,2,3) and given control period t s ; Step S002: Waiting to enter the control cycle of the gas supply bottle (1), obtaining the set pressure F of the gas supply bottle (1) set (t), and obtain the actual pressure F output by the gas supply bottle (1) through the pressure sensor (4) real (t), according to the set pressure F set (t) and actual pressure F real (t), and obtain the current pressure deviation value e(t) = F set (t)-F real (t), and update the deviation value e(t-1) of the previous moment and the deviation value e(t-2) of the previous moment; Step S003: Based on the deviation value e(t i ) Update and calculate the input parameters x1(t), x2(t), and x3(t) of a single neuron. The calculation formula is as follows: x1(t)=e(t)-e(t-1); x2(t)=e(t); x3(t)=e(t)-2e(t-1)+e(t-2); The initial parameters of input parameters x1(t), x2(t), and x3(t) are set to 0; Step S004: Coefficient η P , η I , η D The power parameters λ and δ are used for proportional integral differential weight calculation; based on single neuron adaptive PID control, a new control term φ is introduced λ,δ (e(t))=|e(t)| λ arctan(e δ (t)); Substitute the pressure deviation value e(t) into φ λ,δ In (e(t)), the weights of the proportional, integral, and differential functions in the single neuron are updated according to the output current of the pressure sensor (4) at the previous moment: w1(t+1)=w1(t)+η p φ λ,δ (t)I out (t)x1(t); w2(t+1)=w2(t)+η I φ λ,δ (t)I out (t)x2(t); w3(t+1)=w3(t)+η D φ λ,δ (t)I out (t)x3(t); The weights of proportion, integration and differentiation are: w1(t), w2(t), w3(t) represent the weights of proportional term, integral term and differential term in calculating output value respectively; the initial weights are set as w1(0) = 0.9, w2(0) = 0.8, w3(0) = 0.7; Step S005: Calculate the output value of the algorithm, Steps S001-S004, the obtained w i (t)(i=1,2,3),x i Substitute (t)(i=1,2,3) into the formula Calculate the output current of the proportional valve (2) and save the output current at this moment, and adjust the opening of the proportional valve according to the output current at the next moment; Step S006: Return to step S002 and wait for the next control cycle to arrive.

2. The single neuron adaptive PID control method for pressure flow control according to claim 1, characterized in that: Adding a buffer gas cylinder and / or accumulator between the gas supply cylinder (1) and the equipment; By obtaining the actual pressure F of multiple control cycles real (t), actual pressure F real (t) transitions to the target pressure in a smooth curve manner, and after the pressure stabilizes, the pressure deviation value e(t) fluctuates within the set threshold range.

3. A system, characterized in that: The single neuron adaptive PID control method for pressure flow control described in claim 1 is constructed.

Citation Information

Patent Citations

  • Fractional-order self-adjusting control method for steam temperature of coal-fired boiler

    CN103576553A

  • Energy minimizing based algorithm design of caching system in power line network

    CN107104703A