CN112344072B - Water-saving control method - Google Patents

Water-saving control method Download PDF

Info

Publication number
CN112344072B
CN112344072B CN202011229922.1A CN202011229922A CN112344072B CN 112344072 B CN112344072 B CN 112344072B CN 202011229922 A CN202011229922 A CN 202011229922A CN 112344072 B CN112344072 B CN 112344072B
Authority
CN
China
Prior art keywords
opening
value
point
regulating valve
calculation model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011229922.1A
Other languages
Chinese (zh)
Other versions
CN112344072A (en
Inventor
林泽力
池学聪
吕雪光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Panda Machinery Group Co Ltd
Original Assignee
Shanghai Panda Machinery Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Panda Machinery Group Co Ltd filed Critical Shanghai Panda Machinery Group Co Ltd
Priority to CN202011229922.1A priority Critical patent/CN112344072B/en
Publication of CN112344072A publication Critical patent/CN112344072A/en
Application granted granted Critical
Publication of CN112344072B publication Critical patent/CN112344072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K17/00Safety valves; Equalising valves, e.g. pressure relief valves
    • F16K17/20Excess-flow valves
    • F16K17/34Excess-flow valves in which the flow-energy of the flowing medium actuates the closing mechanism

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Flow Control (AREA)

Abstract

The application relates to a water-saving control method, which comprises the following steps: acquiring monitoring data about an inlet pressure value, an outlet pressure value and an instantaneous flow rate of the regulating valve; preprocessing the monitoring data to obtain preprocessed data; according to the preprocessing data, combining an opening calculation model of the regulating valve and a preset opening value to complete a response coefficient delta between the flow and the pressure parameter opening Is calculated; training the opening degree calculation model according to the preprocessing data to optimize the response coefficient, and giving the optimized response coefficient to the opening degree calculation model to obtain a trained opening degree calculation model; and calculating an ideal opening value of the regulating valve according to the trained opening calculation model, and predicting the opening of the regulating valve at the next moment by combining the ideal opening value through a prediction model algorithm. The application can dynamically adjust the opening degree calculation model, and has obvious water saving effect.

Description

Water-saving control method
Technical Field
The application relates to the technical field of water saving control, in particular to a water saving control method.
Background
Water is the source of life, the production needs and the ecology, but the importance of water is self-evident, but water is not inexhaustible. Thus, water conservation is the responsibility and obligation each citizen should take out. The aim of saving water is achieved by the technical means while improving the self water-saving consciousness of citizens, and the method is an important technical bottleneck which needs to be broken through seriously.
In the regional level water supply process, the conventional method is to control the water flow of a pipeline through a valve, open the valve at ordinary times, ensure the water consumption of a user, and simultaneously realize manual and timely closing of the valve after pipe explosion occurs at a water consumption terminal.
With the deep development of technology, a method of controlling the opening of a valve by PID appears, and the control of water flow is realized, however, the method has a disadvantage that the water pressure is suddenly high and suddenly low, and the user experience is poor.
An intelligent water-saving control system is adopted, and a valve is arranged on a main water-using pipeline, so that effective control on water flow, pressure and the like is realized, and the aim of intelligent water saving and energy saving is fulfilled.
Disclosure of Invention
The application aims to solve the technical problem of providing a water-saving control method which can effectively avoid water loss and achieve the purpose of saving water.
The technical scheme adopted for solving the technical problems is as follows: provided is a water saving control method including:
step (1): acquiring monitoring data about an inlet pressure value, an outlet pressure value and an instantaneous flow rate of the regulating valve;
step (2): preprocessing the monitoring data to obtain preprocessed data;
step (3): according to the preprocessing data, combining an opening calculation model of the regulating valve and a preset opening value to complete a response coefficient delta between the flow and the pressure parameter opening Is calculated;
step (4): training the opening degree calculation model according to the preprocessing data, and adopting an optimization algorithm to respond the response coefficient delta between the flow and the pressure parameter opening Optimizing and setting the response coefficient delta between the optimized flow and pressure parameters opening Assigning the opening degree calculation model to obtain a trained opening degree calculation model;
step (5): and calculating an ideal opening value of the regulating valve according to the trained opening calculation model, and predicting the opening at the next moment by combining the ideal opening value through a prediction model algorithm to control the opening and closing of the regulating valve.
The step (2) of preprocessing the monitoring data comprises zero point removal, specifically: searching the zero point of the monitoring data, recording the position of the zero point, and calculating the average value of 5 points before and after the zero point to be used as the compensation value of the zero point.
The calculating the average value of the front and rear 5 points of the zero point further comprises: if there is zero in the last 5 points of the zero position, the non-zero data is followed.
The step (2) of preprocessing the monitoring data further comprises removing abnormal values, wherein the steps are divided into a first stage and a second stage, and specifically comprise:
in the first stage, for the first n points of the monitoring data, ifThe ith point is a normal value, otherwise, the ith point is an abnormal value, wherein x (i, j) is a column in the monitoring data, i represents the number of sampling points, and j represents the number of acquisition parameters;
if the abnormal value exists in the first stage, the average value of all data before the abnormal value point is adopted to supplement the abnormal value point;
in the second stage, for the n+1th point to the last point of the monitoring data, determining whether the n+1th point is an abnormal value by calculating the average value and the effective value of the n points before, if x is satisfied mean -3*x rms <x(i,j)<x mean +3*x rms The n+1th point is a normal value, whereas the n+1th point is an abnormal value, wherein x mean Is the mean value, x rms Is a valid value;
if the abnormal value exists in the second stage, the average value of n points before the abnormal value point is adopted to supplement the abnormal value point.
The formula of the opening degree calculation model in the step (3) is as follows:
wherein delta opening And Q is the instantaneous flow through the regulator valve,for weighting fuzzy operator, F is throttle area of regulating valve, L is aperture variation ratio of regulating valve, epsilon max For maximum drag coefficient, p 1 To adjust the inlet pressure value of the valve, p 2 For the outlet pressure value of the regulator valve ρ is the density of the medium flowing through the regulator valve.
The optimization algorithm is adopted in the step (4) for the flowResponse coefficient delta between quantity and pressure parameter opening The optimization is carried out, specifically: if the difference between the measured outlet pressure value of the regulating valve and the target outlet pressure value is greater than a preset threshold value, calling a genetic algorithm to respond the response coefficient delta between the flow and the pressure parameter opening And (5) optimizing.
The step (5) specifically comprises the following steps: inputting data obtained in a preset acquisition mode into the trained opening calculation model to calculate an ideal opening value of the regulating valve; and predicting the opening at the next moment by a gray system prediction model algorithm GM (1, 1) and combining the ideal opening value, and giving a prediction result to the trained opening calculation model to control the opening and closing of the regulating valve.
Advantageous effects
Due to the adoption of the technical scheme, compared with the prior art, the application has the following advantages and positive effects: according to the water-saving control method provided by the application, the real-time control of the regulating valve is finished according to the parameters such as the front pressure, the back pressure, the instantaneous flow and the like of the regulating valve, the water-saving function is realized, the behavior habit of the water terminal in water can be continuously learned to adjust the opening calculation model, the loss of water in the process of continuously adjusting the executing mechanism in the traditional PID water-saving method is effectively avoided, and the water-saving purpose can be achieved to the maximum extent; the water-saving control method of the application has better water-saving effect under the condition that the water of the user terminal is not affected in long-time use.
Drawings
FIG. 1 is a schematic diagram of the hardware construction principle of an embodiment of the present application;
FIG. 2 is a block diagram of a water saving control method according to an embodiment of the present application;
fig. 3 is a flow chart of a method of an embodiment of the present application.
Detailed Description
The application will be further illustrated with reference to specific examples. It is to be understood that these examples are illustrative of the present application and are not intended to limit the scope of the present application. Furthermore, it should be understood that various changes and modifications can be made by one skilled in the art after reading the teachings of the present application, and such equivalents are intended to fall within the scope of the application as defined in the appended claims.
The embodiment of the application relates to a water-saving control method, as shown in fig. 1, which is a schematic diagram of the hardware construction principle of the embodiment of the application, wherein a regulating valve is arranged in a main water supply pipeline, and the control of the regulating valve can be controlled by a chip; an inlet pressure sensor is arranged at the front end of the regulating valve, an outlet pressure sensor is arranged at the rear end of the regulating valve, and a flow monitoring device (flowmeter) is arranged at the valve position so as to realize monitoring data acquisition of the regulating valve through the installed monitoring device.
As shown in fig. 2, which is a block diagram of a water saving control method according to an embodiment of the present application, the present application is further described below by a specific embodiment, and as shown in fig. 3, which is a flow chart of a method according to an embodiment of the present application, specific steps are as follows:
step (1): acquiring monitoring data about an inlet pressure value, an outlet pressure value and an instantaneous flow rate of the water-saving control device for 24 hours;
step (2): preprocessing the monitoring data to obtain preprocessed data;
the step (2) of preprocessing the monitoring data comprises zero point removal, specifically: searching the zero point of the monitoring data, recording the position of the zero point, and calculating the average value of 5 points before and after the zero point to be used as the compensation value of the zero point.
Further, the calculating the average value of the front and rear 5 points (total 10 points) of the zero point further includes: if zero exists in the last 5 points of the zero position, the data which is forward to the non-zero point is used as the last 5 points to finish corresponding average value calculation.
The step (2) of preprocessing the monitoring data further comprises removing abnormal values, wherein the steps are completed in a first stage and a second stage, and specifically comprise the following steps:
in the first stage, for the first 50 points of the monitoring data, ifThen ithThe point is a normal value, otherwise, the ith point is an abnormal value, wherein x (i, j) is a column in the monitoring data, i represents the number of sampling points, and j represents the number of acquisition parameters;
in the second stage, for the 51 st point to the last point of the monitoring data, determining whether the 51 st point is an abnormal value by calculating the average value and the effective value of the first 50 points, if x is satisfied mean -3*x rms <x(i,j)<x mean +3*x rms The 51 st point is a normal value, whereas the 51 st point is an abnormal value, wherein x mean Is the mean value, x rms Is a valid value; similarly, when judging the data after the 51 st point, the first 50 data with the point as the end point need to be used for sequentially carrying out forward judgment.
Further, if the abnormal value exists in the first stage, firstly recording the position of the abnormal value, and then supplementing the abnormal value point by adopting the average value of all data before the abnormal value point; if the abnormal value exists in the second stage, firstly recording the position of the abnormal value, and then supplementing the abnormal value point by adopting the average value of n points before the abnormal value point so as to complete the deletion and supplementation of the data, namely the data preprocessing work.
Step (3): according to the preprocessing data, combining an opening calculation model of the regulating valve and a preset opening value, wherein the preset opening value is 50% in the embodiment, and completing a response coefficient delta between the flow and the pressure parameter opening Is calculated;
the opening degree calculation model in the step (3) is suitable for water consumption states in different scenes, and the specific formula is as follows:
wherein delta opening And Q is the instantaneous flow through the regulator valve,for weighted fuzzy operator, F is throttle area of regulating valve, L is regulating valveThe opening change ratio is determined according to different types of the selected regulating valve epsilon max For maximum drag coefficient, p 1 To adjust the inlet pressure value of the valve, p 2 To adjust the valve outlet pressure value, ρ is the fluid density.
Due to the presence of a response coefficient delta between flow and pressure parameters opening Therefore, when calculating the opening degree, the opening degree value of the regulating valve needs to be preset according to the actual situation of the site, for example, the cell can be set to 40% or 50%, the factory can be set to 70% or 80%, and the response coefficient delta between the flow and the pressure parameter is completed according to the preprocessing data opening Is calculated by the computer.
Step (4): training the opening degree calculation model according to the preprocessing data, and adopting an optimization algorithm to respond the response coefficient delta between the flow and the pressure parameter opening Optimizing and setting the response coefficient delta between the optimized flow and pressure parameters opening Assigning the opening degree calculation model to obtain a trained opening degree calculation model;
the step (4) specifically comprises the following steps:
firstly, setting the outlet pressure value to be constant at 0.18Mpa (which can be set according to the actual situation) as a target constraint condition, thereby optimizing the response coefficient delta between the flow and the pressure parameter opening
If the difference between the measured outlet pressure value of the regulating valve and the target outlet pressure value of 0.18Mpa is greater than a preset threshold value, a genetic algorithm is called to respond to the response coefficient delta between the flow and the pressure parameter opening Optimizing and setting the response coefficient delta between the optimized flow and pressure parameters opening And giving the opening calculation model so as to finish intelligent optimization of the model, if the test result meets the constraint condition, finishing training and outputting the trained opening calculation model, otherwise, continuing training until the opening calculation model converges.
In addition, if the instantaneous flow rate of the regulating valve in the idle period is less than 1m for 30 minutes continuously 3 At/h, the response coefficient delta between the flow and pressure parameters can be calculated according to the stored data in the database opening Further optimizing.
Step (5): and calculating an ideal opening value of the regulating valve according to the trained opening calculation model, and predicting the opening at the next moment by combining the ideal opening value through a prediction model algorithm to control the opening and closing of the regulating valve.
The step (5) specifically comprises the following steps: in the embodiment, the acquisition mode with the sampling frequency of 1Hz is adopted, the acquisition data is obtained by taking 30s as a sampling time interval, and the acquired data is preprocessed and then is input into the trained opening calculation model to finish the calculation of the ideal opening value of the regulating valve; and predicting the possible opening which needs to be reached at the next moment by using a gray system prediction model algorithm GM (1, 1) and combining the ideal opening value, and giving a prediction result to the trained opening calculation model to control the opening and closing of the regulating valve.
The control of the regulating valve is completed through the method, the control of the outlet pressure is realized, and finally the aim of saving water and energy is fulfilled.
Therefore, the water-saving control method provided by the application can complete the real-time control of the regulating valve according to the parameters such as the front pressure, the back pressure, the instantaneous flow and the like of the regulating valve, realize the water-saving function, continuously learn the behavior habit of the water terminal in water to adjust the opening calculation model, and maximally achieve the purpose of saving water.

Claims (6)

1. A water conservation control method, characterized by comprising:
step (1): acquiring monitoring data about an inlet pressure value, an outlet pressure value and an instantaneous flow rate of the regulating valve;
step (2): preprocessing the monitoring data to obtain preprocessed data;
step (3): according to the preprocessing data, combining an opening calculation model of the regulating valve and a preset opening value to complete a response coefficient delta between the flow and the pressure parameter opening Is calculated; the opening degree calculation model has the formula:
wherein delta opening Q is the instantaneous flow through the regulator valve, which is the response coefficient between flow and pressure parameters, ++>For weighting fuzzy operator, F is throttle area of regulating valve, L is aperture variation ratio of regulating valve, epsilon max For maximum drag coefficient, p 1 To adjust the inlet pressure value of the valve, p 2 For the outlet pressure value of the regulator valve, ρ is the density of the medium flowing through the regulator valve;
step (4): training the opening degree calculation model according to the preprocessing data, and adopting an optimization algorithm to respond the response coefficient delta between the flow and the pressure parameter opening Optimizing and setting the response coefficient delta between the optimized flow and pressure parameters opening Assigning the opening degree calculation model to obtain a trained opening degree calculation model;
step (5): and calculating an ideal opening value of the regulating valve according to the trained opening calculation model, and predicting the opening at the next moment by combining the ideal opening value through a prediction model algorithm to control the opening and closing of the regulating valve.
2. The water saving control method according to claim 1, wherein the preprocessing of the monitored data in the step (2) includes zero elimination, specifically: searching the zero point of the monitoring data, recording the position of the zero point, and calculating the average value of 5 points before and after the zero point to be used as the compensation value of the zero point.
3. The water saving control method according to claim 2, wherein the calculating the average of the front and rear 5 points of the zero point further comprises: if there is zero in the last 5 points of the zero position, the non-zero data is followed.
4. The water saving control method according to claim 1, wherein the preprocessing of the monitoring data in the step (2) further includes removing abnormal values, and the steps are divided into a first stage and a second stage, specifically:
in the first stage, for the first n points of the monitoring data, ifThe ith point is a normal value, otherwise, the ith point is an abnormal value, wherein x (i, j) is a column in the monitoring data, i represents the number of sampling points, and j represents the number of acquisition parameters;
if the abnormal value exists in the first stage, the average value of all data before the abnormal value point is adopted to supplement the abnormal value point;
in the second stage, for the n+1th point to the last point of the monitoring data, determining whether the n+1th point is an abnormal value by calculating the average value and the effective value of the n points before, if x is satisfied mean -3*x rms <x(i,j)<x mean +3*x rms The n+1th point is a normal value, whereas the n+1th point is an abnormal value, wherein x mean Is the mean value, x rms Is a valid value;
if the abnormal value exists in the second stage, the average value of n points before the abnormal value point is adopted to supplement the abnormal value point.
5. The water conservation control method according to claim 1, wherein the step (4) adopts an optimization algorithm for a response coefficient delta between the flow and pressure parameters opening The optimization is carried out, specifically: if the difference between the measured outlet pressure value of the regulating valve and the target outlet pressure value is greater than a preset threshold value, calling a genetic algorithm to respond the response coefficient delta between the flow and the pressure parameter opening And (5) optimizing.
6. The water saving control method according to claim 1, wherein the step (5) is specifically: inputting data obtained in a preset acquisition mode into the trained opening calculation model to calculate an ideal opening value of the regulating valve; and predicting the opening at the next moment by a gray system prediction model algorithm GM (1, 1) and combining the ideal opening value, and giving a prediction result to the trained opening calculation model to control the opening and closing of the regulating valve.
CN202011229922.1A 2020-11-06 2020-11-06 Water-saving control method Active CN112344072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011229922.1A CN112344072B (en) 2020-11-06 2020-11-06 Water-saving control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011229922.1A CN112344072B (en) 2020-11-06 2020-11-06 Water-saving control method

Publications (2)

Publication Number Publication Date
CN112344072A CN112344072A (en) 2021-02-09
CN112344072B true CN112344072B (en) 2023-10-31

Family

ID=74428893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011229922.1A Active CN112344072B (en) 2020-11-06 2020-11-06 Water-saving control method

Country Status (1)

Country Link
CN (1) CN112344072B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113503581A (en) * 2021-06-01 2021-10-15 吕雪光 Intelligent control method for heating system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11202944A (en) * 1998-01-19 1999-07-30 Hitachi Ltd Water conveyance flow rate control method
CN103115243A (en) * 2013-02-05 2013-05-22 中国石油天然气股份有限公司 Control equipment and control method of natural gas pipeline dispatching electric control valve
CN107842645A (en) * 2017-11-30 2018-03-27 宁夏银星吴忠仪表流体控制有限公司 The regulation valve actuator integrated apparatus and its flow control methods of accurate flow control
CN108071853A (en) * 2017-12-05 2018-05-25 浙江工业大学 Leakage diagnostic device in a kind of regulating valve
CN109885107A (en) * 2019-01-22 2019-06-14 浙江工业大学 A kind of method and device thereof for Correction and Control valve discharge coefficient

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5735383B2 (en) * 2011-09-02 2015-06-17 アズビル株式会社 Control valve abnormality diagnosis method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11202944A (en) * 1998-01-19 1999-07-30 Hitachi Ltd Water conveyance flow rate control method
CN103115243A (en) * 2013-02-05 2013-05-22 中国石油天然气股份有限公司 Control equipment and control method of natural gas pipeline dispatching electric control valve
CN107842645A (en) * 2017-11-30 2018-03-27 宁夏银星吴忠仪表流体控制有限公司 The regulation valve actuator integrated apparatus and its flow control methods of accurate flow control
CN108071853A (en) * 2017-12-05 2018-05-25 浙江工业大学 Leakage diagnostic device in a kind of regulating valve
CN109885107A (en) * 2019-01-22 2019-06-14 浙江工业大学 A kind of method and device thereof for Correction and Control valve discharge coefficient

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于最小二乘支持向量机的调节阀建模方法;黄爱芹;;液压与气动(第09期);第4页至第6页及图1 *
燃气系统中调节阀相对开度变化时流量的计算;王军玲;李兴泉;田贯三;赵自军;;煤气与热力(第04期) *

Also Published As

Publication number Publication date
CN112344072A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
TWI516886B (en) Intelligent learning energy-saving control system and method thereof
CN112344072B (en) Water-saving control method
CN102392812B (en) Surge control system of compressor unit
CN108518204A (en) A kind of gap gas lift liquid drainage gas production control method and system
WO2022062339A1 (en) System and method for controlling air valve of variable air volume cabin unit
CN101718270A (en) Prediction and pressure regulation method for control system of air compressor
CN111472733B (en) Intelligent intermittent drainage gas production system and control method thereof
CN102012065A (en) Heating system heat metering and heat energy-saving control method and special device thereof
CN103464474A (en) Automatic temperature control method for rod material cold control system
CN104101105A (en) Method and device used for compound control of crude oil heater temperature
CN113812851A (en) Water age control system for direct drinking water purification equipment
CN112013503A (en) Intelligent control method for energy consumption of air conditioner
CN103412479A (en) Method for intelligently controlling deaerators which are operated in parallel
CN101937219B (en) Embed data driven intelligent control system and the method thereof of hormone regulating and controlling mechanism
CN111322447B (en) Valve control method and valve integrating dynamic flow balance and energy control
CN108427459A (en) The piston type flow regulating valve autocontrol method of multi-water resources ring-type water supply network
CN112696344A (en) Intelligent control method for water supply booster pump station
CN107544569A (en) A kind of V-type filter state keeps the control method of constant level
CN111189201A (en) Air conditioner prediction control method based on machine vision
CN113769880B (en) Industrial big data-based optimization method for control index of cement production raw material grinding system
CN113723708B (en) Urban daily water consumption prediction method based on machine learning
CN113065761B (en) Accurate control method for reservoir after power generation load of hydropower station is reduced rapidly
CN113606650A (en) Intelligent heat supply room temperature regulation and control system based on machine learning algorithm
CN112306107B (en) Intelligent optimization control method for liquid level of flotation pump pool based on phase plane trajectory
CN110773578B (en) System and method for adjusting parameters of hot-rolled threaded steel post-rolling cooling water tank based on artificial intelligence

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant