Intelligent control method and system for electric butterfly valve
Through the intelligent control method of electric butterfly valve, the PID control algorithm and electric actuator are used to solve the problem of butterfly valve tolerance in precise control and harsh working conditions, and the precise adjustment and stable control of butterfly valve position and fluid pressure are achieved, improving the The accuracy of the measurement data and control accuracy are obtained.
Patent Information
- Application Number
- CN202410989773.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-23
AI Technical Summary
Existing butterfly valves cannot provide sufficiently accurate flow regulation in precise control applications, and have limited tolerance in harsh operating conditions, resulting in inaccurate measurement data and inaccurate intelligent regulation.
Using the intelligent control method of electric butterfly valve, by obtaining the set pressure value and the actual pressure data, using the PID control algorithm to calculate the control value, determine the opening degree of the butterfly valve, and adjust the butterfly valve through the electric actuator, monitor the position and fluid pressure, and evaluate the PID Control the accuracy of the algorithm, adjust the PID parameters to optimize control accuracy and stability.
Accurate adjustment and control of the butterfly valve position is achieved, ensuring that the system performs stable control according to the preset pressure value, improving the accuracy of measurement data and the accuracy of intelligent control of butterfly valves, and enhancing the control accuracy and stability of the system.
Smart Images

Figure CN118939019A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to an intelligent control method and system of an electric butterfly valve. Background Art
[0002] The butterfly valve is a control valve widely used in fluid pipelines. It has a simple structure, fast switching, and small fluid resistance. The operating principle of the butterfly valve is to control the flow of the fluid by rotating the butterfly plate, which can achieve medium to large-caliber flow regulation and cut-off control. Butterfly valves are widely used in chemical, petroleum, water treatment, heating, air conditioning and other fields, and are a common fluid control equipment. The operating principle of existing butterfly valves is to control the fluid flow by rotating the butterfly plate. Therefore, in some applications that require precise control, the butterfly valve may not be able to provide sufficiently precise flow regulation. The butterfly valve has limited tolerance under harsh working conditions, and there may be problems such as thermal expansion and contraction, corrosion, etc., which lead to inaccurate measurement data, and thus make the butterfly valve unable to achieve accurate intelligent regulation.
[0003] Chinese patent publication number: CN110645376B discloses an intelligent butterfly valve, which relates to the field of butterfly valve technology, including a valve body, a valve stem and a valve plate, wherein the valve body is provided with a valve hole for fluid to pass through, the valve body is provided with a valve stem through hole for the valve stem to pass through, the valve plate is positioned in the valve hole through the valve stem, the valve stem drives the valve plate to rotate forward and backward, a valve plate rotation limit mechanism is provided in the valve body, when the valve plate is in a closed state, the valve plate divides the valve hole into an air inlet cavity and an air outlet cavity, the valve stem includes a shaft sleeve, an upper rotating shaft and a lower rotating shaft, a positioning shaft, a sliding shaft and a return spring are provided in the shaft sleeve, and at least one valve plate rotation stop mechanism is provided in the valve plate and the valve stem. The present invention proposes an intelligent butterfly valve that can reduce the shear stress on the valve stem when the valve plate is in a closed state, and can ensure that the valve plate will not be destructively flipped. However, this solution does not take into account the situation that the butterfly valve may not be able to provide sufficiently accurate flow regulation in the application of precise control, and the intelligent regulation accuracy of the butterfly valve is low. Summary of the invention
[0004] To this end, the present invention provides an intelligent control method and system for an electric butterfly valve, so as to overcome the problem that the butterfly valve in the prior art cannot achieve accurate intelligent regulation.
[0005] To achieve the above object, the present invention provides an intelligent control method for an electric butterfly valve. The method comprises:
[0006] Step S1, obtaining a set pressure value and obtaining actual pressure data of a pressure sensor at a butterfly valve;
[0007] Step S2, comparing the set pressure value with the actual pressure data, and calculating the current pressure deviation;
[0008] Step S3, calculating the current pressure deviation using a PID control algorithm;
[0009] Step S4, determining the opening degree of the butterfly valve according to the control value output by the PID;
[0010] Step S5, controlling the electric actuator to adjust the corresponding butterfly valve according to the opening degree;
[0011] Step S6, monitoring the butterfly valve position and fluid pressure within the adjusted predicted time;
[0012] Step S7, evaluating the accuracy of the PID control algorithm according to the butterfly valve position and the fluid pressure;
[0013] Step S8, determining a PID parameter adjustment strategy according to the evaluation result, and controlling the electric actuator to adjust the corresponding butterfly valve;
[0014] Step S9, monitoring the response speed of the butterfly valve after the adjustment strategy and the pressure overshoot after the response;
[0015] Step S10, verifying the effectiveness of the PID parameter adjustment strategy according to the response speed and the pressure overshoot;
[0016] Step S11, optimizing the PID parameter adjustment strategy according to the verification result;
[0017] Step S12, monitoring the butterfly valve pressure value after the PID parameter adjustment strategy is optimized, and judging whether the butterfly valve pressure value reaches the set pressure value, and determining the correction measures according to the judgment result.
[0018] Further, in the step S3, when the current pressure deviation E is calculated using the PID control algorithm, the historical pressure deviation is obtained, the historical pressure deviation and the current pressure deviation are summed to obtain the integral term I, the differential term D is calculated according to the current pressure deviation and the previous pressure deviation, and the proportional term P is calculated according to the preset proportional parameter and the current pressure deviation;
[0019] A control value is calculated according to the current pressure deviation E, the proportional term P, the integral term I and the differential term D, wherein the control value=P×E+I+D.
[0020] Further, in step S4, when determining the opening degree of the butterfly valve according to the control value output by the PID, the positive or negative of the control value A is determined, wherein:
[0021] If A>0, it is determined to increase the opening degree of the butterfly valve;
[0022] If A<0, it is determined to reduce the opening degree of the butterfly valve;
[0023] If A=0, it is determined that there is no need to adjust the opening degree of the butterfly valve.
[0024] Furthermore, in step S7, when evaluating the accuracy of the PID control algorithm, the standard deviation P of the butterfly valve position and the standard deviation Q of the fluid pressure within the preset time are calculated respectively, and the standard deviation P of the butterfly valve position and the standard deviation Q of the fluid pressure are compared with the standard deviation threshold P0 of the butterfly valve position and the standard deviation threshold Q0 of the fluid pressure respectively to determine whether the butterfly valve position and the fluid pressure are abnormal, wherein,
[0025] If P>P0, it is determined that the position of the butterfly valve fluctuates frequently;
[0026] If P≤P0, it is determined that the position of the butterfly valve is normal;
[0027] If Q>Q0, it is determined that the fluid pressure fluctuates greatly;
[0028] If Q>Q0, it is determined that the fluid pressure is normal;
[0029] The accuracy of the PID control algorithm is evaluated based on the abnormal conditions of the butterfly valve position and fluid pressure, wherein:
[0030] If the butterfly valve position and the fluid pressure are both normal, it is determined that the PID control algorithm is normal;
[0031] If the butterfly valve position fluctuates frequently and the fluid pressure fluctuates greatly, it is determined that the PID control algorithm is inaccurate;
[0032] If the butterfly valve position fluctuates frequently and the fluid pressure is normal, it is determined that the PID control algorithm is inaccurate;
[0033] If the butterfly valve position is normal and the fluid pressure fluctuates greatly, the fluid state is determined to be abnormal, and the temperature and density of the fluid in the pipeline are detected.
[0034] Further, in step S8, when determining the PID parameter adjustment strategy, the adjustment strategy is determined according to factors when the PID control algorithm is inaccurate, wherein:
[0035] If the control value A of the PID output is 0, the actual differential term is increased, and the adjustment coefficient v1 is set to 0.1≤v1≤0.2, and the adjusted differential term Dv0=D+v1×D;
[0036] If the butterfly valve position fluctuates frequently and the fluid pressure fluctuates greatly, the actual integral term is increased, and the adjustment coefficient v2 is set, and 0.1≤v2≤0.5 is set, and the adjusted integral term I v0=I+v2×I;
[0037] If the position of the butterfly valve fluctuates frequently and the fluid pressure is normal, the actual proportional term is increased, and the adjustment coefficient v3 is set, and 0.1≤v3≤0.5 is set. The adjusted proportional term Pv0=P+v3×P.
[0038] Furthermore, in step S10, when verifying the effectiveness of the PID parameter adjustment strategy, the response speed X and the pressure overshoot Y are compared with the response speed threshold X0 and the pressure overshoot threshold Y0, respectively, where:
[0039] If X<X0, it is determined that the response speed of the butterfly valve is too slow;
[0040] If X≥X0, the response speed of the butterfly valve is determined to be normal;
[0041] If Y>Y0, it is determined that the pressure overshoot of the butterfly valve is too large;
[0042] If Y≤Y0, it is determined that the pressure overshoot of the butterfly valve is normal;
[0043] The effectiveness of the PID parameter adjustment strategy is verified based on the abnormal conditions of the butterfly valve's response speed and pressure overshoot, where:
[0044] If the response speed and pressure overshoot are normal, the PID parameter adjustment strategy is verified to be effective;
[0045] If the response speed is too slow and the pressure overshoot is too large, it is determined that environmental factors cause the response speed to be too slow and the pressure overshoot to be too large, and the electric actuator is detected to be damaged;
[0046] If the response speed is too slow and the pressure overshoot is normal, then the PID parameter adjustment strategy is verified to be invalid;
[0047] If the response speed is normal and the pressure overshoot is too large, it is verified that the PID parameter adjustment strategy is invalid.
[0048] Further, in the step S11, when optimizing the PID parameter adjustment strategy, the optimization is performed according to the invalid result of the PID parameter adjustment strategy, wherein:
[0049] If the response speed is too slow and the pressure overshoot is normal, the adjustment coefficient v3 is increased;
[0050] If the response speed is normal and the pressure overshoot is too large, reduce the adjustment coefficient v3
[0051] Furthermore, in step S12, when monitoring the butterfly valve pressure value after the PID parameter adjustment strategy is optimized and determining whether the butterfly valve pressure value reaches the set pressure value, the butterfly valve pressure value is compared with the set pressure value. If the butterfly valve pressure value does not reach the set pressure value, it is determined that the environmental factors of the butterfly valve are abnormal.
[0052] Furthermore, when determining the corrective measures based on the judgment result, if the environmental factors of the butterfly valve are abnormal, the temperature and density of the fluid are detected and whether the sensor is faulty.
[0053] On the other hand, the present invention also provides an intelligent control system for an electric butterfly valve, comprising:
[0054] An acquisition module is used to obtain a set pressure value and obtain actual pressure data of a pressure sensor at a butterfly valve;
[0055] A processing module, used for comparing the set pressure value with the actual pressure data, and calculating a current pressure deviation;
[0056] A calculation module, used to calculate the current pressure deviation using a PID control algorithm;
[0057] A control module, used to determine the opening degree of the butterfly valve according to the control value output by the PID;
[0058] A regulating module, used for controlling the electric actuator to regulate the corresponding butterfly valve according to the opening degree;
[0059] A first monitoring module, used to monitor the butterfly valve position and fluid pressure within the adjusted predicted time;
[0060] An evaluation module, for evaluating the accuracy of a PID control algorithm based on the butterfly valve position and the fluid pressure;
[0061] A determination module is used to determine the PID parameter adjustment strategy according to the evaluation result, and control the electric actuator to adjust the corresponding butterfly valve;
[0062] The second monitoring module is used to monitor the response speed of the butterfly valve after the adjustment strategy and the pressure overshoot after the response;
[0063] A verification module, used to verify the effectiveness of the PID parameter adjustment strategy according to the response speed and the pressure overshoot;
[0064] An adjustment module is used to optimize the PID parameter adjustment strategy according to the verification results;
[0065] The analysis module is used to monitor the butterfly valve pressure value after the PID parameter adjustment strategy is optimized, and to determine whether the butterfly valve pressure value reaches the set pressure value, and to determine the corrective measures based on the judgment result.
[0066] Compared with the prior art, the beneficial effect of the present invention is that, by obtaining the set pressure value and the actual pressure data, comparing and calculating the pressure deviation, using the PID control algorithm to calculate the control value, determining the opening degree of the butterfly valve, and controlling the butterfly valve according to the opening degree, the position of the butterfly valve is regulated and controlled, ensuring that the system can be stably controlled according to the preset pressure value. Then the butterfly valve position and fluid pressure are monitored, the accuracy of the PID control algorithm is evaluated, and whether there are problems such as butterfly valve position change and control oscillation, etc., are found to provide a basis and basis for further optimizing the PID parameter adjustment strategy. The PID parameter adjustment strategy is determined according to the evaluation results, and the effectiveness of the adjustment strategy is verified by checking the system response speed and overshoot, and the PID parameters are further optimized according to the verification results to improve the control accuracy and stability of the system. Finally, the adjusted butterfly valve pressure value is monitored and the correction measures are determined according to the results, which are used to monitor the operating status of the system in real time, ensure that the butterfly valve pressure value can accurately reach the set value, and make corrections in time to ensure the normal operation of the system, ensure the accuracy of the measurement data, and improve the accuracy of the intelligent control of the butterfly valve. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 Schematic diagram of the flow of the intelligent control method of the electric butterfly valve of this embodiment;
[0068] Figure 2 Schematic diagram of the structure of the intelligent control system of the electric butterfly valve in this embodiment. DETAILED DESCRIPTION
[0069] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0070] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0071] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0072] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0073] See also Figure 1 As shown, it is a flow chart of the intelligent control method of the electric butterfly valve of this embodiment, which is executed by an electronic device such as a computer or a server, and the method includes:
[0074] Step S1, obtaining a set pressure value and obtaining actual pressure data of a pressure sensor at a butterfly valve; a pressure sensor is provided at each butterfly valve.
[0075] Step S2, comparing the set pressure value with the actual pressure data, and calculating the current pressure deviation; current pressure deviation = actual pressure data - set pressure value.
[0076] Step S3, calculating the current pressure deviation using a PID control algorithm;
[0077] Step S4, determining the opening degree of the butterfly valve according to the control value output by the PID;
[0078] Step S5, controlling the electric actuator to adjust the corresponding butterfly valve according to the opening degree;
[0079] Step S6, monitoring the butterfly valve position and fluid pressure within the adjusted predicted time; installing a position sensor on the butterfly valve, and collecting and reading the real-time position data of the butterfly valve through the sensor. Common position sensors include travel switches, Hall sensors, etc.
[0080] Step S7, evaluating the accuracy of the PID control algorithm according to the butterfly valve position and the fluid pressure; PID calculation errors may cause the butterfly valve to oscillate, thereby causing the butterfly valve position to change.
[0081] Step S8, determine the PID parameter adjustment strategy based on the evaluation results, and control the electric actuator to adjust the corresponding butterfly valve; the strategy is which parameter to adjust and how much to adjust, calculate the control value of the butterfly valve again based on the adjusted parameter to determine the opening degree of the butterfly valve, and control the opening degree of the butterfly valve.
[0082] Step S9, monitoring the response speed of the butterfly valve after the adjustment strategy and the pressure overshoot after the response;
[0083] Step S10, verifying the effectiveness of the PID parameter adjustment strategy according to the response speed and the pressure overshoot;
[0084] Step S11, optimizing the PID parameter adjustment strategy according to the verification result;
[0085] Step S12, monitoring the butterfly valve pressure value after the PID parameter adjustment strategy is optimized, and judging whether the butterfly valve pressure value reaches the set pressure value, and determining the correction measures according to the judgment result.
[0086] Specifically, by obtaining the set pressure value and actual pressure data, comparing and calculating the pressure deviation, using the PID control algorithm to calculate the control value, determining the opening degree of the butterfly valve, and controlling the butterfly valve according to the opening degree, the position of the butterfly valve can be adjusted and controlled to ensure that the system can be stably controlled according to the preset pressure value. Then monitor the butterfly valve position and fluid pressure, evaluate the accuracy of the PID control algorithm, and find out whether there are problems such as butterfly valve position change and control oscillation, so as to provide a basis and basis for further optimizing the PID parameter adjustment strategy. Determine the PID parameter adjustment strategy based on the evaluation results, verify the effectiveness of the adjustment strategy by checking the system response speed and overshoot, and further optimize the PID parameters based on the verification results to improve the control accuracy and stability of the system. Finally, monitor the adjusted butterfly valve pressure value and determine the correction measures based on the results, which are used to monitor the operating status of the system in real time, ensure that the butterfly valve pressure value can accurately reach the set value, and make corrections in time to ensure the normal operation of the butterfly valve system, ensure the accuracy of the measurement data, and improve the accuracy of the intelligent control of the butterfly valve.
[0087] Specifically, in step S3, when the current pressure deviation E is calculated using the PID control algorithm, the historical pressure deviation is obtained, the historical pressure deviation and the current pressure deviation are summed to obtain the integral term I, the differential term D is calculated according to the current pressure deviation and the previous pressure deviation, and the proportional term P is calculated according to the preset proportional parameter and the current pressure deviation;
[0088] A control value is calculated according to the current pressure deviation E, the proportional term P, the integral term I and the differential term D, wherein the control value=P×E+I+D.
[0089] Specifically, the historical deviation is the pressure deviation value calculated before the current moment, the last pressure deviation is the historical pressure deviation value closest to the current moment, the differential term D = current pressure deviation - last pressure deviation, the proportional term P = preset proportional parameter × current pressure deviation, and the influence of the current pressure deviation, historical pressure deviation and preset proportional parameter are comprehensively considered. Through the calculation of the integral term I and the differential term D, the actual state and dynamic changes of the system can be more accurately reflected. Through the comprehensive calculation of the proportional term P, the integral term I and the differential term D, the control value of the system can be effectively adjusted to achieve precise adjustment of the butterfly valve position.
[0090] Specifically, in step S4, when determining the opening degree of the butterfly valve according to the control value output by the PID, the positive or negative of the control value A is determined, where:
[0091] If A>0, it is determined to increase the opening degree of the butterfly valve;
[0092] If A<0, it is determined to reduce the opening degree of the butterfly valve;
[0093] If A=0, it is determined that there is no need to adjust the opening degree of the butterfly valve.
[0094] Specifically, by judging the positive or negative value of the control value, the opening degree of the butterfly valve can be adjusted in real time according to the actual state of the system, and the position of the butterfly valve can be adjusted according to the size of the control value to achieve effective regulation of the system pressure and ensure that the system can respond quickly and stably. When the control value is positive, it means that the current pressure deviation requires increasing the opening degree of the butterfly valve to increase the output pressure of the system; when the control value is negative, it means that the opening degree of the butterfly valve needs to be reduced to reduce the output pressure of the system; when the control value is zero, it means that although a pressure deviation occurs, the opening degree of the butterfly valve does not need to be adjusted. By adjusting the opening degree of the butterfly valve according to the control value output by the PID, the control system can be automatically adjusted online, thereby improving the control accuracy and stability of the system and ensuring that the system is accurately controlled according to the preset pressure value.
[0095] Specifically, in step S7, when evaluating the accuracy of the PID control algorithm, the standard deviation P of the butterfly valve position and the standard deviation Q of the fluid pressure within the preset time are calculated respectively, and the standard deviation of the butterfly valve position and the standard deviation of the fluid pressure are compared with the standard deviation threshold P0 of the butterfly valve position and the standard deviation threshold Q0 of the fluid pressure respectively to determine whether the butterfly valve position and the fluid pressure are abnormal, wherein,
[0096] If P>P0, it is determined that the position of the butterfly valve fluctuates frequently;
[0097] If P≤P0, it is determined that the position of the butterfly valve is normal;
[0098] If Q>Q0, it is determined that the fluid pressure fluctuates greatly;
[0099] If Q>Q0, it is determined that the fluid pressure is normal;
[0100] The accuracy of the PID control algorithm is evaluated based on the abnormal conditions of the butterfly valve position and fluid pressure, wherein:
[0101] If the butterfly valve position and the fluid pressure are both normal, it is determined that the PID control algorithm is normal;
[0102] If the butterfly valve position fluctuates frequently and the fluid pressure fluctuates greatly, it is determined that the PID control algorithm is inaccurate;
[0103] If the butterfly valve position fluctuates frequently and the fluid pressure is normal, it is determined that the PID control algorithm is inaccurate;
[0104] If the butterfly valve position is normal and the fluid pressure fluctuates greatly, the fluid state is determined to be abnormal, and the temperature and density of the fluid in the pipeline are detected.
[0105] Specifically, the standard deviation of the butterfly valve position is calculated based on the three-dimensional coordinate data collected within a certain period of time, including data points in the X, Y, and Z directions. The average values of the coordinate data in the X, Y, and Z directions are calculated respectively, that is, all the data points are added together and then divided by the number of data points to obtain the average value of the X coordinate, the average value of the Y coordinate, and the average value of the Z coordinate. The difference between each data point and the average value is calculated. This step is performed on the data in the X, Y, and Z directions respectively to obtain the difference in the X direction, the difference in the Y direction, and the difference in the Z direction. The difference in each direction is squared and summed to obtain the total sum of squares. The total sum of squares is divided by the number of data points, and the square root of the result is taken to obtain the standard deviation of the three-dimensional coordinate data points. By calculating and comparing the standard deviation of the butterfly valve position and the standard deviation of the fluid pressure, abnormal situations such as frequent fluctuations in the butterfly valve position or large fluctuations in the fluid pressure can be discovered in time, and then the stability and accuracy of the butterfly valve system can be judged, and the reliability and stability of the butterfly valve control can be improved. When evaluating the accuracy of the PID control algorithm, judgments can be made based on the abnormal situations of the butterfly valve position and fluid pressure, and possible system problems can be discovered in time. When the evaluation results show that the butterfly valve position fluctuates frequently and the fluid pressure fluctuates greatly, it can be determined that the PID control algorithm is inaccurate, or possible causes of failure can be detected and repaired to ensure the normal operation and accurate control of the butterfly valve control system.
[0106] Specifically, in step S8, when determining the PID parameter adjustment strategy, the adjustment strategy is determined according to factors when the PID control algorithm is inaccurate, wherein:
[0107] If the control value A of the PID output is 0, the actual differential term is increased, and the adjustment coefficient v1 is set to 0.1≤v1≤0.2, and the adjusted differential term Dv0=D+v1×D;
[0108] If the butterfly valve position fluctuates frequently and the fluid pressure fluctuates greatly, the actual integral term is increased, and the adjustment coefficient v2 is set, and 0.1≤v2≤0.5 is set, and the adjusted integral term Iv0=I+v2×I;
[0109] If the position of the butterfly valve fluctuates frequently and the fluid pressure is normal, the actual proportional term is increased, and the adjustment coefficient v3 is set, and 0.1≤v3≤0.5 is set. The adjusted proportional term Pv0=P+v3×P.
[0110] Specifically, by increasing the actual differential term, the actual integral term or the actual proportional term and setting the adjustment coefficient, the PID parameters can be effectively adjusted and the control algorithm can be optimized according to the actual situation, thereby improving the system's responsiveness to dynamic changes, reducing system fluctuations and errors, and improving the robustness and adaptability of the control system. By increasing the weight of the differential term, the integral term or the proportional term, the accuracy of the algorithm can be achieved, providing effective support and guarantee for the precise control of the butterfly valve.
[0111] Specifically, in step S10, when verifying the effectiveness of the PID parameter adjustment strategy, the response speed X and the pressure overshoot Y are compared with the response speed threshold X0 and the pressure overshoot threshold Y0 respectively, wherein:
[0112] If X<X0, it is determined that the response speed of the butterfly valve is too slow;
[0113] If X≥X0, the response speed of the butterfly valve is determined to be normal;
[0114] If Y>Y0, it is determined that the pressure overshoot of the butterfly valve is too large;
[0115] If Y≤Y0, it is determined that the pressure overshoot of the butterfly valve is normal;
[0116] The effectiveness of the PID parameter adjustment strategy is verified based on the abnormal conditions of the butterfly valve's response speed and pressure overshoot, where:
[0117] If the response speed and pressure overshoot are normal, the PID parameter adjustment strategy is verified to be effective;
[0118] If the response speed is too slow and the pressure overshoot is too large, it is determined that environmental factors cause the response speed to be too slow and the pressure overshoot to be too large, and the electric actuator is detected to be damaged;
[0119] If the response speed is too slow and the pressure overshoot is normal, then the PID parameter adjustment strategy is invalid;
[0120] If the response speed is normal and the pressure overshoot is too large, it is verified that the PID parameter adjustment strategy is invalid.
[0121] Specifically, by comparing and judging the response speed and pressure overshoot of the butterfly valve, possible problems in the control process of the butterfly valve can be discovered in time, such as slow response speed or excessive pressure overshoot. By analyzing the response speed and pressure overshoot problems, the effectiveness of the PID parameter adjustment strategy can be accurately judged, and then timely optimization can be carried out to reduce errors.
[0122] Specifically, in step S11, when optimizing the PID parameter adjustment strategy, the optimization is performed according to the invalid result of the PID parameter adjustment strategy, wherein:
[0123] If the response speed is too slow and the pressure overshoot is normal, the adjustment coefficient v3 is increased;
[0124] If the response speed is normal and the pressure overshoot is too large, the adjustment coefficient v3 is reduced.
[0125] Specifically, if the response speed is too slow, it means that the system is sluggish, and it is necessary to increase the proportional term P to improve the sensitivity of the system, or adjust the integral term I to speed up the system's correction of continuous errors. If the overshoot is too large, it means that the butterfly valve has over-adjusted during the response process, and it is necessary to reduce the proportional term P or adjust the integral term I to reduce the impact of over-adjustment, or increase the differential term D to suppress the oscillation of the system. When expanding or shrinking, it can be continuously optimized according to a certain multiple. By further optimizing the PID parameter adjustment strategy, the PID parameters can be effectively adjusted, the response speed and stability of the system can be improved, the overshoot and error of the butterfly valve system can be reduced, and the control performance of the butterfly valve system can be improved.
[0126] Specifically, in step S12, when monitoring the butterfly valve pressure value after the PID parameter adjustment strategy is optimized and determining whether the butterfly valve pressure value reaches the set pressure value, the butterfly valve pressure value is compared with the set pressure value. If the butterfly valve pressure value does not reach the set pressure value, it is determined that the environmental factors of the butterfly valve are abnormal.
[0127] Specifically, after multiple optimization adjustments to the parameters of the PID algorithm, if the butterfly valve pressure value has not reached the set pressure value, it is necessary to determine whether the environmental factors of the butterfly valve are abnormal to ensure the normal operation and stability of the butterfly valve system.
[0128] Specifically, when determining the corrective measures based on the judgment results, if the environmental factors of the butterfly valve are abnormal, the temperature and density of the fluid are detected and whether the sensor is faulty.
[0129] Specifically, by detecting the temperature and density of the fluid and whether the sensor is faulty, the possibility of abnormal butterfly valve pressure caused by environmental factors in the system can be ruled out, and whether there is a sensor failure or other problem in the system can be further determined. This helps to promptly discover and resolve system failures, ensure the normal operation of the system, avoid erroneous judgments and operations caused by sensor failure or inaccurate data, and eliminate the possibility of abnormal environmental factors and sensor failure. System problems can be identified and corrected in a timely manner, which is beneficial to improving the stability and reliability of the system, reducing the possibility of failures, ensuring the normal operation of the system under various working conditions, ensuring the accuracy of measurement data, and improving the accuracy of intelligent control of butterfly valves.
[0130] See also Figure 2 As shown, it is a structural schematic diagram of the intelligent control system of the electric butterfly valve of this embodiment, and the system includes:
[0131] An acquisition module is used to obtain a set pressure value and obtain actual pressure data of a pressure sensor at a butterfly valve;
[0132] A processing module, used for comparing the set pressure value with the actual pressure data, and calculating a current pressure deviation;
[0133] A calculation module, used to calculate the current pressure deviation using a PID control algorithm;
[0134] A control module, used to determine the opening degree of the butterfly valve according to the control value output by the PID;
[0135] A regulating module, used for controlling the electric actuator to regulate the corresponding butterfly valve according to the opening degree;
[0136] A first monitoring module, used to monitor the butterfly valve position and fluid pressure within the adjusted predicted time;
[0137] An evaluation module, for evaluating the accuracy of a PID control algorithm based on the butterfly valve position and the fluid pressure;
[0138] A determination module is used to determine the PID parameter adjustment strategy according to the evaluation result, and control the electric actuator to adjust the corresponding butterfly valve;
[0139] The second monitoring module is used to monitor the response speed of the butterfly valve after the adjustment strategy and the pressure overshoot after the response;
[0140] A verification module, used to verify the effectiveness of the PID parameter adjustment strategy according to the response speed and the pressure overshoot;
[0141] An adjustment module is used to optimize the PID parameter adjustment strategy according to the verification results;
[0142] The analysis module is used to monitor the butterfly valve pressure value after the PID parameter adjustment strategy is optimized, and to determine whether the butterfly valve pressure value reaches the set pressure value, and to determine the corrective measures based on the judgment result.
[0143] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. An intelligent control method for an electric butterfly valve, characterized in that: include: Step S1, obtaining a set pressure value and obtaining actual pressure data of a pressure sensor at a butterfly valve; Step S2, comparing the set pressure value with the actual pressure data, and calculating the current pressure deviation; Step S3, calculating the current pressure deviation using a PID control algorithm; Step S4, determining the opening degree of the butterfly valve according to the control value output by the PID; Step S5, controlling the electric actuator to adjust the corresponding butterfly valve according to the opening degree; Step S6, monitoring the butterfly valve position and fluid pressure within the adjusted predicted time; Step S7, evaluating the accuracy of the PID control algorithm according to the butterfly valve position and the fluid pressure; Step S8, determining a PID parameter adjustment strategy according to the evaluation result, and controlling the electric actuator to adjust the corresponding butterfly valve; Step S9, monitoring the response speed of the butterfly valve after the adjustment strategy and the pressure overshoot after the response; Step S10, verifying the effectiveness of the PID parameter adjustment strategy according to the response speed and the pressure overshoot; Step S11, optimizing the PID parameter adjustment strategy according to the verification result; Step S12, monitoring the butterfly valve pressure value after the PID parameter adjustment strategy is optimized, and judging whether the butterfly valve pressure value reaches the set pressure value, and determining the correction measures according to the judgment result.
2. The intelligent control method of an electric butterfly valve according to claim 1 is characterized in that: In step S3, when the current pressure deviation E is calculated using the PID control algorithm, the historical pressure deviation is obtained, the historical pressure deviation and the current pressure deviation are summed to obtain the integral term I, the differential term D is calculated according to the current pressure deviation and the previous pressure deviation, and the proportional term P is calculated according to the preset proportional parameter and the current pressure deviation; A control value is calculated according to the current pressure deviation E, the proportional term P, the integral term I and the differential term D, wherein the control value=P×E+I+D.
3. The intelligent control method of an electric butterfly valve according to claim 1 is characterized in that: In step S4, when determining the opening degree of the butterfly valve according to the control value output by the PID, the positive or negative of the control value A is determined, where: If A>0, it is determined to increase the opening degree of the butterfly valve; If A<0, it is determined to reduce the opening degree of the butterfly valve; If A=0, it is determined that there is no need to adjust the opening degree of the butterfly valve.
4. The intelligent control method of an electric butterfly valve according to claim 1 is characterized in that: In step S7, when evaluating the accuracy of the PID control algorithm, the standard deviation P of the butterfly valve position and the standard deviation Q of the fluid pressure within the preset time are calculated respectively, and the standard deviation of the butterfly valve position and the standard deviation of the fluid pressure are compared with the standard deviation threshold P0 of the butterfly valve position and the standard deviation threshold Q0 of the fluid pressure respectively to determine whether the butterfly valve position and the fluid pressure are abnormal, wherein, If P>P0, it is determined that the position of the butterfly valve fluctuates frequently; If P≤P0, it is determined that the position of the butterfly valve is normal; If Q>Q0, it is determined that the fluid pressure fluctuates greatly; If Q>Q0, it is determined that the fluid pressure is normal; The accuracy of the PID control algorithm is evaluated based on the abnormal conditions of the butterfly valve position and fluid pressure, wherein: If the butterfly valve position and the fluid pressure are both normal, it is determined that the PID control algorithm is normal; If the butterfly valve position fluctuates frequently and the fluid pressure fluctuates greatly, it is determined that the PID control algorithm is inaccurate; If the butterfly valve position fluctuates frequently and the fluid pressure is normal, it is determined that the PID control algorithm is inaccurate; If the butterfly valve position is normal and the fluid pressure fluctuates greatly, the fluid state is determined to be abnormal, and the temperature and density of the fluid in the pipeline are detected.
5. The intelligent control method of an electric butterfly valve according to claim 4 is characterized in that: In step S8, when determining the PID parameter adjustment strategy, the adjustment strategy is determined according to factors when the PID control algorithm is inaccurate, wherein: If the control value A of the PID output is 0, the actual differential term is increased, and the adjustment coefficient v1 is set to 0.1≤v1≤0.2, and the adjusted differential term Dv0=D+v1×D; If the butterfly valve position fluctuates frequently and the fluid pressure fluctuates greatly, the actual integral term is increased, and the adjustment coefficient v2 is set, and 0.1≤v2≤0.5 is set, and the adjusted integral term Iv0=I+v2×I; If the position of the butterfly valve fluctuates frequently and the fluid pressure is normal, the actual proportional term is increased, and the adjustment coefficient v3 is set, and 0.1≤v3≤0.5 is set. The adjusted proportional term Pv0=P+v3×P.
6. The intelligent control method of an electric butterfly valve according to claim 1 is characterized in that: In step S10, when verifying the effectiveness of the PID parameter adjustment strategy, the response speed X and the pressure overshoot Y are compared with the response speed threshold X0 and the pressure overshoot threshold Y0 respectively, where: If X<X0, it is determined that the response speed of the butterfly valve is too slow; If X≥X0, the response speed of the butterfly valve is determined to be normal; If Y>Y0, it is determined that the pressure overshoot of the butterfly valve is too large; If Y≤Y0, it is determined that the pressure overshoot of the butterfly valve is normal; The effectiveness of the PID parameter adjustment strategy is verified based on the abnormal conditions of the butterfly valve's response speed and pressure overshoot, where: If the response speed and pressure overshoot are normal, the PID parameter adjustment strategy is verified to be effective; If the response speed is too slow and the pressure overshoot is too large, it is determined that environmental factors cause the response speed to be too slow and the pressure overshoot to be too large, and the electric actuator is detected to be damaged; If the response speed is too slow and the pressure overshoot is normal, then the PID parameter adjustment strategy is invalid; If the response speed is normal and the pressure overshoot is too large, it is verified that the PID parameter adjustment strategy is invalid.
7. The intelligent control method of an electric butterfly valve according to claim 6 is characterized in that: In the step S11, when optimizing the PID parameter adjustment strategy, the optimization is performed according to the invalid result of the PID parameter adjustment strategy, wherein: If the response speed is too slow and the pressure overshoot is normal, the adjustment coefficient v3 is increased; If the response speed is normal and the pressure overshoot is too large, the adjustment coefficient v3 is reduced.
8. The intelligent control method of an electric butterfly valve according to claim 1, characterized in that: In step S12, when monitoring the butterfly valve pressure value after the PID parameter adjustment strategy is optimized and determining whether the butterfly valve pressure value reaches the set pressure value, the butterfly valve pressure value is compared with the set pressure value. If the butterfly valve pressure value does not reach the set pressure value, it is determined that the environmental factors of the butterfly valve are abnormal.
9. The intelligent control method of an electric butterfly valve according to claim 8, characterized in that: When determining the corrective measures based on the judgment results, if the environmental factors of the butterfly valve are abnormal, the temperature and density of the fluid are detected and whether the sensor is faulty.
10. A system applied to the intelligent control method of the electric butterfly valve according to any one of claims 1 to 9, characterized in that: include: An acquisition module is used to obtain a set pressure value and obtain actual pressure data of a pressure sensor at a butterfly valve; A processing module, used for comparing the set pressure value with the actual pressure data, and calculating a current pressure deviation; A calculation module, used to calculate the current pressure deviation using a PID control algorithm; A control module, used to determine the opening degree of the butterfly valve according to the control value output by the PID; A regulating module, used for controlling the electric actuator to regulate the corresponding butterfly valve according to the opening degree; A first monitoring module, used to monitor the butterfly valve position and fluid pressure within the adjusted predicted time; An evaluation module, for evaluating the accuracy of a PID control algorithm based on the butterfly valve position and the fluid pressure; A determination module is used to determine a PID parameter adjustment strategy according to the evaluation result, and control the electric actuator to adjust the corresponding butterfly valve; The second monitoring module is used to monitor the response speed of the butterfly valve after the adjustment strategy and the pressure overshoot after the response; A verification module, used to verify the effectiveness of the PID parameter adjustment strategy according to the response speed and the pressure overshoot; An adjustment module is used to optimize the PID parameter adjustment strategy according to the verification results; The analysis module is used to monitor the butterfly valve pressure value after the PID parameter adjustment strategy is optimized, and to determine whether the butterfly valve pressure value reaches the set pressure value, and to determine the corrective measures based on the judgment result.
Citation Information
Patent Citations
Automatic control method for ammonia refrigerating unit throttle valve based on fuzzy PID (Proportion Integration Differentiation) principle
CN104315219A
Machine-learning-based PID parameter self-tuning method and device
CN107783423A
Butterfly valve device applied to pump piping system and control method thereof
CN108425876A
Mass flowmeter control method and device, electronic equipment and storage medium
CN118192677A
Flow rate control device and program for flow rate control device
JP2015158755A
Cited By
Regulation control system based on pressure reducing valve
CN120370786A
Intelligent butterfly valve control method based on multi-sensor fusion
CN121578681A
A closed-loop servo electric butterfly valve control method and system
CN123067173A
