CN113534861B - Liquid level monitoring system and method based on Internet of things - Google Patents
Liquid level monitoring system and method based on Internet of things Download PDFInfo
- Publication number
- CN113534861B CN113534861B CN202111084569.7A CN202111084569A CN113534861B CN 113534861 B CN113534861 B CN 113534861B CN 202111084569 A CN202111084569 A CN 202111084569A CN 113534861 B CN113534861 B CN 113534861B
- Authority
- CN
- China
- Prior art keywords
- water
- liquid level
- module
- pipeline
- water storage
- 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
Links
- 239000007788 liquid Substances 0.000 title claims abstract description 149
- 238000012544 monitoring process Methods 0.000 title claims abstract description 82
- 238000000034 method Methods 0.000 title claims abstract description 33
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 311
- 238000005086 pumping Methods 0.000 claims abstract description 91
- 238000009826 distribution Methods 0.000 claims abstract description 8
- 238000003860 storage Methods 0.000 claims description 99
- 230000000875 corresponding effect Effects 0.000 claims description 24
- 230000001276 controlling effect Effects 0.000 claims description 14
- 230000008859 change Effects 0.000 claims description 9
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 238000010992 reflux Methods 0.000 claims description 3
- 238000005520 cutting process Methods 0.000 abstract description 4
- 230000006855 networking Effects 0.000 abstract 1
- 238000004364 calculation method Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 238000003287 bathing Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D9/00—Level control, e.g. controlling quantity of material stored in vessel
- G05D9/12—Level control, e.g. controlling quantity of material stored in vessel characterised by the use of electric means
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Pipeline Systems (AREA)
Abstract
The invention discloses a liquid level monitoring system and method based on the Internet of things, and belongs to the technical field of liquid level monitoring. The system comprises an acquisition module, a water pumping module, a backflow module, a control module and a liquid level monitoring module; the output end of the acquisition module is connected with the input end of the liquid level monitoring module; the output end of the liquid level monitoring module is connected with the input end of the control module; the output end of the control module is connected with the input ends of the water pumping module and the backflow module; the output of backward flow module with the input of the module of drawing water is connected, still provides a liquid level monitoring method based on thing networking simultaneously, can ensure the water consumption of fire control water, also can ensure simultaneously that the condition of suddenly cutting off the water can not appear in the user, carries out the optimal mode distribution to the deposit water before cutting off the water, ensures most people interests as far as possible to the maximize utilizes the water resource.
Description
Technical Field
The invention relates to the technical field of liquid level monitoring, in particular to a liquid level monitoring system and method based on the Internet of things.
Background
The internet of things is a network which enables all common objects capable of performing independent functions to realize interconnection and intercommunication based on information bearing bodies such as the internet and a traditional telecommunication network. As the name suggests, the intelligent control system is used for connection between objects and a network, and can better realize automation and intellectualization by controlling through the Internet of things.
In daily life, the phenomenon of cutting off water often can appear in the district that people live, it leads to the temporary lack of domestic water when generally because the water yield will ensure the fire-fighting water, and the water cut-off usually is the water cut-off of intermittence, consequently, can appear often that the user is bathing, wash hair or when doing clothes and so on the condition, the phenomenon of cutting off water appears suddenly, people's life has seriously been influenced, it is very inconvenient, the happiness index that people live has been reduced, and do not can attach importance to and solve the technical scheme of this aspect problem in prior art, how can guarantee to provide some standby water as far as possible under the condition that the district is about to cut off water, ensure that most people can accomplish current water use operation, become a problem of waiting to solve urgently.
Disclosure of Invention
The invention aims to provide a liquid level monitoring system and method based on the Internet of things, and aims to solve the problems in the background technology.
In order to solve the technical problems, the invention provides the following technical scheme:
a liquid level monitoring system based on the Internet of things comprises an acquisition module, a water pumping module, a backflow module, a control module and a liquid level monitoring module;
the acquisition module is used for acquiring basic information of the pipeline and historical water consumption data information of the pipeline and sending the information to the liquid level monitoring module; the water pumping module is used for pumping water from the water storage device to a user; the backflow module is used for backflow of water in the pipeline into the water storage device; the control module is used for receiving and sending instructions and controlling the opening and closing of the water pumping module and the backflow module; the liquid level monitoring module is used for processing data, monitoring liquid level change in the water storage device and sending an instruction to the control module through the internet;
the output end of the acquisition module is connected with the input end of the liquid level monitoring module; the output end of the liquid level monitoring module is connected with the input end of the control module; the output end of the control module is connected with the input ends of the water pumping module and the backflow module; the output end of the backflow module is connected with the input end of the water pumping module.
According to the technical scheme, the acquisition module comprises a pipeline information acquisition unit and a historical data acquisition unit;
the pipeline information acquisition unit is used for acquiring basic information of a pipeline, including the length, the diameter and the liquid level height of the pipeline; the historical data acquisition unit is used for acquiring historical water use information data and time information data of the pipeline;
the output ends of the pipeline information acquisition unit and the historical data acquisition unit are connected with the input end of the liquid level monitoring module.
According to the technical scheme, the water pumping module comprises a water pumping port and a receiving port I;
the water pumping port is used for pumping water from the water storage device to a user for use; the first receiving port is used for receiving a control instruction and controlling the opening and closing of the water pumping port;
and the output end of the first receiving port is connected with the input end of the pumping port.
According to the technical scheme, the backflow module comprises a backflow port and a receiving port II;
the backflow port is used for returning residual water in the pipeline to the water storage device; the second receiving port is used for receiving and sending a control instruction and receiving a control instruction for controlling the opening and closing of the backflow port from the control module; and simultaneously sending an instruction to the corresponding water pumping module to ensure that the water pumping module cannot be started;
and the output end of the second receiving port is connected with the input ends of the pumping module and the backflow port.
According to the technical scheme, the control module comprises an instruction generating unit and an instruction sending unit;
the instruction generating unit is used for generating a control instruction; the instruction sending unit is used for transmitting a control instruction to the corresponding module;
the output end of the instruction generating unit is connected with the input end of the instruction sending unit; and the output end of the instruction sending unit is connected with the input ends of the water pumping module and the backflow module.
According to the technical scheme, the liquid level monitoring module comprises a data processing unit and a liquid level monitoring unit;
the data processing unit is used for processing various data, generating a liquid level monitoring meter and implementing corresponding actions under corresponding liquid levels; the liquid level monitoring unit is used for monitoring the liquid level change condition of the water storage device and sending an instruction to the control module;
the output end of the data processing unit is connected with the input end of the liquid level monitoring unit; and the output end of the liquid level monitoring unit is connected with the input end of the control module.
A liquid level monitoring method based on the Internet of things comprises the following steps:
s1, acquiring basic data of a water storage device storing the social water in the area;
s2, acquiring a liquid level alarm value and a liquid level standard value of the water storage device in the step S1;
s3, acquiring all pipelines connected to the water storage device, and marking the pipelines with serial numbers, wherein the serial numbers between any two pipelines are not repeated;
s4, acquiring the length, diameter and liquid level height of each pipeline, calculating the water storage amount of each pipeline, and acquiring a currently unused pipeline, namely a pipeline which is not opened by a water pumping module, and recording as a pipeline A; obtaining the total water storage quantity of all pipelines A and recording the total water storage quantity as S1;
S5, acquiring a currently used pipeline, namely a pipeline opened by the water pumping module, and recording as a pipeline B; predicting the water consumption needed by all pipelines B according to historical data to obtain a predicted value of the total water consumption needed by the current user, and recording the predicted value as V1;
S6, acquiring total available water storage quantity and recording as S2(ii) a If S is present2≥V1Then, go to step S6-1; if S is present2<V1Then, go to step S6-2;
s6-1, enabling each pipeline to work normally, and closing all water pumping modules when the liquid level reaches a liquid level alarm value;
s6-2, acquiring the prediction data, performing pipeline water distribution, monitoring the level value of the water storage device, and closing the water pumping modules of the pipelines B successively;
and S7, monitoring the liquid level value of the water storage device in real time, and closing all the backflow modules after the liquid level value exceeds a liquid level standard value.
According to the above technical solution, in the steps S1-S3, the method further comprises:
the social water comprises domestic water and fire-fighting water, and the basic data comprises location, capacity, current water storage amount and liquid level;
a water pumping module is arranged at the position of the pipeline and the user; backflow modules are arranged at the pipeline and the water storage device; when the backflow module is started, the water pumping module cannot be started;
the liquid level alarm value is a fire-fighting water level value, namely the lowest water retention amount of the water storage device; the liquid level standard value is higher than the liquid level alarm value, when the water level reaches the liquid level standard value in the water storage device, the water storage device water shortage information is sent to a management party and a use party, and all backflow modules which do not open the water pumping module pipeline are opened.
According to the above technical solution, in the steps S4-S5, the method further comprises:
acquiring the diameter of each pipeline A, and recording the diameter as d; acquiring the length of each pipeline A and recording the length as L;
then there is a pipeline AiThe water storage amount is Vi=π(d/2)2*Li(ii) a Wherein L isiIs a pipeline AiLength of (d);
obtaining the water storage quantity of all pipelines A, and adding the water storage quantities to obtain the total water storage quantity S1;
Acquiring serial numbers of all pipelines B;
obtaining the current time T0And the time that the pipe B has been in use;
acquiring historical water consumption data of all pipelines B;
set up any pipe BiThe prediction model of (2) is as follows:
establishing time sets, namely establishing 48 time sets by taking 24 hours per day as a reference, namely establishing one time set every half hour from 0 point 0 min 0 sec, and respectively marking the time sets with serial numbers of 1-48;
obtaining the current time T0Obtaining a historical data set corresponding to the time set to analyze, wherein the historical data set comprises the current time T0Under the time set, the average water consumption of each pipeline is calculated to obtain t groups of data;
the formula is established as follows:
Kt+1=at+bt*m
wherein, Kt+1Pipe B representing period t +1iThe water consumption prediction value is obtained; a istIs a predicted intercept; btIs a predicted slope; m is the newly increased trend prediction period number; t is the historical data period number;
wherein,represents a moving average of the u groups of data;represents a quadratic moving average under u groups of data; u represents the number of data sets participating in the move;
obtaining any of the pipes BiThe service time of (1) is marked as T, and the water flow is marked as w;
any one of the pipelines BiThe predicted value of the water consumption is as follows:
Kneed to=Kt+1-Tw
Obtaining the predicted value of the water consumption needed by all the pipelines B, further obtaining the sum of the predicted values and recording the sum as V1。
The term "moving average" as used herein means that u groups of data are continuously taken from the first group to calculate the average, and the calculation is sequentially performed by moving, for example, if u is 5, the first group is taken to the fifth group to perform the first calculation, then the second group is taken to the sixth group, and the average is calculated again, and so on; the second moving average means that u groups of first moving averages are selected to perform average calculation again, for example, if u is 5, the first group of first moving averages is taken to the fifth group of first moving averages to perform first calculation, then the second group to the sixth group are taken to perform average calculation again, and so on; the calculation can fully display the trend of the data, namely, the historical condition of the water consumption of each pipeline at the current time is displayed, and then the predicted value of the water consumption of the pipeline is judged.
According to the above technical solution, in the steps S6-S7, the method further comprises:
obtaining the difference value between the liquid level standard value and the liquid level alarm value, obtaining the basal area of the water storage device, further calculating the available water storage amount in the water storage device, and recording the available water storage amount as S3;
Then there is S2=S3+S1;
At S2<V1When the water is needed, the water distribution mode is started;
obtaining the predicted water consumption value of all the pipelines B, and recording the predicted water consumption value as a set G ═ KNeed 1、KNeed 2、KNeed 3、……、KN is requiredIn which K isNeed 1、KNeed 2、KNeed 3、……、KN is requiredRespectively represent each pipelineB, predicting the water consumption;
optionally, x values in the set G are added, the sum not being greater than S2Is reserved and is entered as an element in the set G1;
At G1Selecting the element with the maximum x as an optimal mode, and if the x in the two elements is the same, selecting the element with the larger x as the optimal mode;
acquiring all pipelines in an optimal mode and corresponding water consumption prediction values needed by the pipelines;
sequencing the corresponding water consumption predicted values from small to large, marking, and controlling the water pumping module and the backflow module according to the marking sequence, wherein the formula is as follows:
wherein HqThe liquid level value of the pumping module which closes a certain pipeline for the q times is represented; h represents a liquid level standard value; kqRepresenting the predicted value of the water consumption needed by the pipeline closed for the q times; e represents the number of pipes in the optimal manner; p is the bottom area of the water storage device;
when each water pumping module is closed, the backflow module of the pipeline is opened at the same time until the water pumping modules of all the pipelines are closed finally, and the system is finished;
and after a new water source enters and the liquid level reaches a liquid level standard value H, closing the reflux modules of all the pipelines.
In the step, the water consumption integrity of a plurality of households is guaranteed as far as possible, the opening and closing of the water pumping module and the backflow module are controlled by utilizing the change of the liquid level, and meanwhile, the water consumption change after pipelines are closed one by one is considered, and the water is added into the liquid level monitoring, so that the water level monitoring is more accurate.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention can ensure the water consumption of fire-fighting water, and simultaneously improve the maximum effect of the application of the stored water quantity, and the sudden water cut-off can not occur when a user uses water, thereby improving the user experience of the user and further improving the life happiness level of people;
2. the invention can distribute the residual water storage quantity when the liquid level reaches the liquid level standard value, mainly ensures the benefits of most people as far as possible, realizes the optimal planning of the water storage quantity in a big data prediction mode, controls the water pumping module and the backflow module by utilizing the change of the liquid level, realizes the connection and disconnection of the pipeline by utilizing the Internet of things, and ensures the living standard of people to the maximum extent.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
In the drawings:
FIG. 1 is a schematic flow chart of a liquid level monitoring system and method based on the Internet of things of the invention;
FIG. 2 is a schematic step diagram of a liquid level monitoring method based on the Internet of things.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-2, the present invention provides the following technical solutions:
a liquid level monitoring system based on the Internet of things comprises an acquisition module, a water pumping module, a backflow module, a control module and a liquid level monitoring module;
the acquisition module is used for acquiring basic information of the pipeline and historical water consumption data information of the pipeline and sending the information to the liquid level monitoring module; the water pumping module is used for pumping water from the water storage device to a user; the backflow module is used for backflow of water in the pipeline into the water storage device; the control module is used for receiving and sending instructions and controlling the opening and closing of the water pumping module and the backflow module; the liquid level monitoring module is used for processing data, monitoring liquid level change in the water storage device and sending an instruction to the control module through the internet;
the output end of the acquisition module is connected with the input end of the liquid level monitoring module; the output end of the liquid level monitoring module is connected with the input end of the control module; the output end of the control module is connected with the input ends of the water pumping module and the backflow module; the output end of the backflow module is connected with the input end of the water pumping module.
The acquisition module comprises a pipeline information acquisition unit and a historical data acquisition unit;
the pipeline information acquisition unit is used for acquiring basic information of a pipeline, including the length, the diameter and the liquid level height of the pipeline; the historical data acquisition unit is used for acquiring historical water use information data and time information data of the pipeline;
the output ends of the pipeline information acquisition unit and the historical data acquisition unit are connected with the input end of the liquid level monitoring module.
The water pumping module comprises a water pumping port and a receiving port I;
the water pumping port is used for pumping water from the water storage device to a user for use; the first receiving port is used for receiving a control instruction and controlling the opening and closing of the water pumping port;
and the output end of the first receiving port is connected with the input end of the pumping port.
The backflow module comprises a backflow port and a receiving port II;
the backflow port is used for returning residual water in the pipeline to the water storage device; the second receiving port is used for receiving and sending a control instruction and receiving a control instruction for controlling the opening and closing of the backflow port from the control module; and simultaneously sending an instruction to the corresponding water pumping module to ensure that the water pumping module cannot be started;
and the output end of the second receiving port is connected with the input ends of the pumping module and the backflow port.
The control module comprises an instruction generating unit and an instruction sending unit;
the instruction generating unit is used for generating a control instruction; the instruction sending unit is used for transmitting a control instruction to the corresponding module;
the output end of the instruction generating unit is connected with the input end of the instruction sending unit; and the output end of the instruction sending unit is connected with the input ends of the water pumping module and the backflow module.
The liquid level monitoring module comprises a data processing unit and a liquid level monitoring unit;
the data processing unit is used for processing various data, generating a liquid level monitoring meter and implementing corresponding actions under corresponding liquid levels; the liquid level monitoring unit is used for monitoring the liquid level change condition of the water storage device and sending an instruction to the control module;
the output end of the data processing unit is connected with the input end of the liquid level monitoring unit; and the output end of the liquid level monitoring unit is connected with the input end of the control module.
A liquid level monitoring method based on the Internet of things comprises the following steps:
s1, acquiring basic data of a water storage device storing the social water in the area;
s2, acquiring a liquid level alarm value and a liquid level standard value of the water storage device in the step S1;
s3, acquiring all pipelines connected to the water storage device, and marking the pipelines with serial numbers, wherein the serial numbers between any two pipelines are not repeated;
s4, acquiring the length, diameter and liquid level height of each pipeline, calculating the water storage amount of each pipeline, and acquiring a currently unused pipeline, namely a pipeline which is not opened by a water pumping module, and recording as a pipeline A; obtaining the total water storage quantity of all pipelines A and recording the total water storage quantity as S1;
S5, acquiring a currently used pipeline, namely a pipeline opened by the water pumping module, and recording as a pipeline B; predicting the water consumption needed by all pipelines B according to historical data to obtain the total water consumption needed by the current userThe predicted value of water consumption is recorded as V1;
S6, acquiring total available water storage quantity and recording as S2(ii) a If S is present2≥V1Then, go to step S6-1; if S is present2<V1Then, go to step S6-2;
s6-1, enabling each pipeline to work normally, and closing all water pumping modules when the liquid level reaches a liquid level alarm value;
s6-2, acquiring the prediction data, performing pipeline water distribution, monitoring the level value of the water storage device, and closing the water pumping modules of the pipelines B successively;
and S7, monitoring the liquid level value of the water storage device in real time, and closing all the backflow modules after the liquid level value exceeds a liquid level standard value.
In steps S1-S3, the method further includes:
the social water comprises domestic water and fire-fighting water, and the basic data comprises location, capacity, current water storage amount and liquid level;
a water pumping module is arranged at the position of the pipeline and the user; backflow modules are arranged at the pipeline and the water storage device; when the backflow module is started, the water pumping module cannot be started;
the liquid level alarm value is a fire-fighting water level value, namely the lowest water retention amount of the water storage device; the liquid level standard value is higher than the liquid level alarm value, when the water level reaches the liquid level standard value in the water storage device, the water storage device water shortage information is sent to a management party and a use party, and all backflow modules which do not open the water pumping module pipeline are opened.
In steps S4-S5, the method further includes:
acquiring the diameter of each pipeline A, and recording the diameter as d; acquiring the length of each pipeline A and recording the length as L;
then there is a pipeline AiThe water storage amount is Vi=π(d/2)2*Li(ii) a Wherein L isiIs a pipeline AiLength of (d);
obtaining the water storage quantity of all pipelines A, and adding the water storage quantities to obtain the total water storage quantity S1;
Acquiring serial numbers of all pipelines B;
obtaining a currentTime T0And the time that the pipe B has been in use;
acquiring historical water consumption data of all pipelines B;
set up any pipe BiThe prediction model of (2) is as follows:
establishing time sets, namely establishing 48 time sets by taking 24 hours per day as a reference, namely establishing one time set every half hour from 0 point 0 min 0 sec, and respectively marking the time sets with serial numbers of 1-48;
obtaining the current time T0Obtaining a historical data set corresponding to the time set to analyze, wherein the historical data set comprises the current time T0Under the time set, the average water consumption of each pipeline is calculated to obtain t groups of data;
the formula is established as follows:
Kt+1=at+bt*m
wherein, Kt+1Pipe B representing period t +1iThe water consumption prediction value is obtained; a istIs a predicted intercept; btIs a predicted slope; m is the newly increased trend prediction period number; t is the historical data period number;
wherein,represents a moving average of the u groups of data;represents a quadratic moving average under u groups of data; u represents the number of data sets participating in the move;
obtaining any of the pipes BiThe service time of (1) is marked as T, and the water flow is marked as w;
any one of the pipelines BiThe predicted value of the water consumption is as follows:
Kneed to=Kt+1-Tw
Obtaining the predicted value of the water consumption needed by all the pipelines B, further obtaining the sum of the predicted values and recording the sum as V1。
In steps S6-S7, the method further includes:
obtaining the difference value between the liquid level standard value and the liquid level alarm value, obtaining the basal area of the water storage device, further calculating the available water storage amount in the water storage device, and recording the available water storage amount as S3;
Then there is S2=S3+S1;
At S2<V1When the water is needed, the water distribution mode is started;
obtaining the predicted water consumption value of all the pipelines B, and recording the predicted water consumption value as a set G ═ KNeed 1、KNeed 2、KNeed 3、……、KN is requiredIn which K isNeed 1、KNeed 2、KNeed 3、……、KN is requiredRespectively representing the predicted values of the water consumption of each pipeline B;
optionally, x values in the set G are added, the sum not being greater than S2Is reserved and is entered as an element in the set G1;
At G1Selecting the element with the maximum x as an optimal mode, and if the x in the two elements is the same, selecting the element with the larger x as the optimal mode;
acquiring all pipelines in an optimal mode and corresponding water consumption prediction values needed by the pipelines;
sequencing the corresponding water consumption predicted values from small to large, marking, and controlling the water pumping module and the backflow module according to the marking sequence, wherein the formula is as follows:
wherein HqThe liquid level of the pumping module for closing a certain pipeline q timesA value; h represents a liquid level standard value; kqRepresenting the predicted value of the water consumption needed by the pipeline closed for the q times; e represents the number of pipes in the optimal manner; p is the bottom area of the water storage device;
when each water pumping module is closed, the backflow module of the pipeline is opened at the same time until the water pumping modules of all the pipelines are closed finally, and the system is finished;
and after a new water source enters and the liquid level reaches a liquid level standard value H, closing the reflux modules of all the pipelines.
In this embodiment:
a water storage device is arranged to be a cuboid, the bottom area is 100 square meters, and 20 pipelines are connected in common;
acquiring a currently unused pipeline, namely a pipeline which is not opened by the water pumping module, and recording as a pipeline A;
acquiring a pipeline which is currently used, namely a pipeline opened by a water pumping module, and recording as a pipeline B;
acquiring the diameter of each pipeline A, and recording the diameter as d; acquiring the length of each pipeline A and recording the length as L;
then there is a pipeline AiThe water storage amount is Vi=π(d/2)2*Li(ii) a Wherein L isiIs a pipeline AiLength of (d);
obtaining the water storage quantity of all pipelines A, and adding the water storage quantities to obtain the total water storage quantity S1;
Wherein the pipeline A has 12 positions in total, and the pipeline B has 8 positions;
total water storage S11 cubic meter;
acquiring serial numbers of all pipelines B;
obtaining the current time T0And the time that the pipe B has been in use;
acquiring historical water consumption data of all pipelines B;
establishing time sets, namely establishing 48 time sets by taking 24 hours per day as a reference, namely establishing one time set every half hour from 0 point 0 min 0 sec, and respectively marking the time sets with serial numbers of 1-48;
obtaining the current time T0The time set to which the user belongs, and the time set corresponding to the time setThe historical data set is analyzed, and the current time T is included in the historical data set0Under the time set, the average water consumption of each pipeline is calculated to obtain t groups of data; t 10
Selecting any one B of the pipelines BiMaking a prediction at T0The water consumption in the time set is as follows:
2.5、2.3、2.6、2.4、2.2、2.3、2.6、2.1、2.5、3;
the formula is established as follows:
Kt+1=at+bt*m
wherein, Kt+1Pipe B representing period t +1iThe water consumption prediction value is obtained; a istIs a predicted intercept; btIs a predicted slope; m is the newly increased trend prediction period number; t is the historical data period number;
wherein,represents a moving average of the u groups of data;represents a quadratic moving average under u groups of data; u represents the number of data sets participating in the move;
setting the u group data as u-5;
t=5:(2.5+2.3+2.6+2.4+2.2)/5=2.4
t=6:(2.3+2.6+2.4+2.2+2.3)/5=2.36
t=7:(2.6+2.4+2.2+2.3+2.6)/5=2.42
t=8:(2.4+2.2+2.3+2.6+2.1)/5=2.32
t=9:(2.2+2.3+2.6+2.1+2.5)/5=2.34
t=10:(2.3+2.6+2.1+2.5+3)/5=2.5
t=9:(2.4+2.36+2.42+2.32+2.34)/5=2.368
t=10:(2.36+2.42+2.32+2.34+2.5)/5=2.388
pipe BiThe predicted value of the water consumption is 2.668;
obtaining a pipe BiThe service time of (1) is marked as T, and the water flow is marked as w;
wherein T is 100 s; w is 0.01 cubic meter/s;
any one of the pipelines BiThe predicted value of the water consumption is as follows: kNeed to=Kt+1-Tw=2.668-0.01*100=1.668
The predicted value of the water consumption needed by all the pipelines B can be obtained,
1.668, 1.234, 1.257, 1.2, 2.6, 2.52, 0.35, 0.869, respectively;
then obtain the sum of the values, and mark as V1(ii) a Then V1=11.698
Obtaining the difference value between the liquid level standard value and the liquid level alarm value, wherein the difference value is 0.1 meter; wherein the standard value of the liquid level is 5.1; the liquid level alarm value is 5.0; obtaining the basal area of the water storage device, further calculating the available water storage amount in the water storage device and recording the available water storage amount as S3;
Then there is S2=S3+S1=100*0.1+1=11;
At S2<V1When the water is needed, the water distribution mode is started;
obtaining predicted values of water consumption needed by all pipelines B, wherein the predicted values are 1.668, 1.234, 1.257, 1.2, 2.6, 2.52, 0.35 and 0.869 respectively;
in which any x values are added, the sum being not greater than S2Is reserved and is entered as an element in the set G1;
At G1Selecting the element with the maximum x as an optimal mode, and if the x in the two elements is the same, selecting the element with the larger x as the optimal mode;
the final mode is selected to be 1.668, 1.234, 1.257, 1.2, 2.52, 0.35 and 0.869;
acquiring all pipelines in an optimal mode and corresponding water consumption prediction values needed by the pipelines;
sequencing the corresponding water consumption predicted values from small to large, marking, and controlling the water pumping module and the backflow module according to the marking sequence, wherein the formula is as follows:
wherein HqThe liquid level value of the pumping module representing the q-th closing of one pipeline; h represents a liquid level standard value; kqRepresenting the predicted value of the water consumption needed by the pipeline closed for the q times; e represents the number of pipes in the optimal manner;
Then when the liquid level reaches 5.0755, the pumping module of the pipeline which still needs 0.35 predicted water consumption is closed, and the return module of the pipeline is opened at the same time,
and repeating the steps until the water pumping modules of all the pipelines are closed finally, and finishing the system.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (9)
1. A liquid level monitoring method based on the Internet of things is characterized in that: the method comprises the following steps:
s1, acquiring basic data of a water storage device storing the social water in the area;
s2, acquiring a liquid level alarm value and a liquid level standard value of the water storage device in the step S1;
s3, acquiring all pipelines connected to the water storage device, and marking the pipelines with serial numbers, wherein the serial numbers between any two pipelines are not repeated;
s4, acquiring the length, diameter and liquid level height of each pipeline, calculating the water storage amount of each pipeline, and acquiring a currently unused pipeline, namely a pipeline which is not opened by a water pumping module, and recording as a pipeline A; obtaining the total water storage quantity of all pipelines A and recording the total water storage quantity as S1;
S5, acquiring a currently used pipeline, namely a pipeline opened by the water pumping module, and recording as a pipeline B; predicting all pipelines from historical dataB, the water consumption required by the user is obtained, and a predicted value of the total water consumption required by the current user is recorded as V1;
S6, acquiring total available water storage quantity and recording as S2(ii) a If S is present2≥V1Then, go to step S6-1; if S is present2<V1Then, go to step S6-2;
s6-1, enabling each pipeline to work normally, and closing all water pumping modules when the liquid level reaches a liquid level alarm value;
s6-2, acquiring the prediction data, performing pipeline water distribution, monitoring the level value of the water storage device, and closing the water pumping modules of the pipelines B successively;
s7, monitoring the liquid level value of the water storage device in real time, and closing all backflow modules after the liquid level value exceeds a liquid level standard value;
in steps S6-S7, the method further includes:
obtaining the difference value between the liquid level standard value and the liquid level alarm value, obtaining the basal area of the water storage device, further calculating the available water storage amount in the water storage device, and recording the available water storage amount as S3;
Then there is S2=S3+S1;
At S2<V1When the water is needed, the water distribution mode is started;
obtaining the predicted water consumption value of all the pipelines B, and recording the predicted water consumption value as a set G ═ KNeed 1、KNeed 2、KNeed 3、……、KN is requiredIn which K isNeed 1、KNeed 2、KNeed 3、……、KN is requiredRespectively representing the predicted values of the water consumption of each pipeline B;
optionally, x values in the set G are added, the sum not being greater than S2Is reserved and is entered as an element in the set G1;
At G1Selecting the element with the maximum x as an optimal mode, and if the x in the two elements is the same, selecting the element with the larger x as the optimal mode;
acquiring all pipelines in an optimal mode and corresponding water consumption prediction values needed by the pipelines;
sequencing the corresponding water consumption predicted values from small to large, marking, and controlling the water pumping module and the backflow module according to the marking sequence, wherein the formula is as follows:
wherein HqThe liquid level value of the pumping module which closes a certain pipeline for the q times is represented; h represents a liquid level standard value; kqRepresenting the predicted value of the water consumption needed by the pipeline closed for the q times; e represents the number of pipes in the optimal manner; p is the bottom area of the water storage device;
when each water pumping module is closed, the backflow modules of the pipeline are opened at the same time until the water pumping modules of all the pipelines are closed finally, and the system is finished;
and after a new water source enters and the liquid level reaches a liquid level standard value H, closing the reflux modules of all the pipelines.
2. The liquid level monitoring method based on the Internet of things as claimed in claim 1, wherein: in steps S1-S3, the method further includes:
the social water comprises domestic water and fire-fighting water, and the basic data comprises location, capacity, current water storage amount and liquid level;
a water pumping module is arranged at the position of the pipeline and the user; backflow modules are arranged at the pipeline and the water storage device; when the backflow module is started, the water pumping module cannot be started;
the liquid level alarm value is a fire-fighting water level value, namely the lowest water retention amount of the water storage device; the liquid level standard value is higher than the liquid level alarm value, when the water level reaches the liquid level standard value in the water storage device, the water storage device water shortage information is sent to a management party and a use party, and all backflow modules which do not open the water pumping module pipeline are opened.
3. The liquid level monitoring method based on the Internet of things as claimed in claim 2, wherein: in steps S4-S5, the method further includes:
acquiring the diameter of each pipeline A, and recording the diameter as d; acquiring the length of each pipeline A and recording the length as L;
then there is a pipeline AiThe water storage amount is Vi=π(d/2)2*Li(ii) a Wherein L isiIs a pipeline AiLength of (d);
obtaining the water storage quantity of all pipelines A, and adding the water storage quantities to obtain the total water storage quantity S1;
Acquiring serial numbers of all pipelines B;
obtaining the current time T0And the time that the pipe B has been in use;
acquiring historical water consumption data of all pipelines B;
set up any pipe BiThe prediction model of (2) is as follows:
establishing time sets, namely establishing 48 time sets by taking 24 hours per day as a reference, namely establishing one time set every half hour from 0 point 0 min 0 sec, and respectively marking the time sets with serial numbers of 1-48;
obtaining the current time T0Obtaining a historical data set corresponding to the time set to analyze, wherein the historical data set comprises the current time T0Under the time set, the average water consumption of each pipeline is calculated to obtain t groups of data;
the formula is established as follows:
Kt+1=at+bt*m
wherein, Kt+1Pipe B representing period t +1iThe water consumption prediction value is obtained; a istIs a predicted intercept; btIs a predicted slope; m is the newly increased trend prediction period number; t is the historical data period number;
wherein,represents a moving average of the u groups of data;represents a quadratic moving average under u groups of data; u represents the number of data sets participating in the move;
obtaining any of the pipes BiThe service time of (1) is marked as T, and the water flow is marked as w;
any one of the pipelines BiThe predicted value of the water consumption is as follows:
Kneed to=Kt+1-Tw
Obtaining the predicted value of the water consumption needed by all the pipelines B, further obtaining the sum of the predicted values and recording the sum as V1。
4. A liquid level monitoring system applied to the liquid level monitoring method based on the Internet of things of claim 1 is characterized in that: the system comprises an acquisition module, a water pumping module, a backflow module, a control module and a liquid level monitoring module;
the acquisition module is used for acquiring basic information of the pipeline and historical water consumption data information of the pipeline and sending the information to the liquid level monitoring module; the water pumping module is used for pumping water from the water storage device to a user; the backflow module is used for backflow of water in the pipeline into the water storage device; the control module is used for receiving and sending instructions and controlling the opening and closing of the water pumping module and the backflow module; the liquid level monitoring module is used for processing data, monitoring liquid level change in the water storage device and sending an instruction to the control module through the internet;
the output end of the acquisition module is connected with the input end of the liquid level monitoring module; the output end of the liquid level monitoring module is connected with the input end of the control module; the output end of the control module is connected with the input ends of the water pumping module and the backflow module; the output end of the backflow module is connected with the input end of the water pumping module.
5. The liquid level monitoring system of the liquid level monitoring method based on the Internet of things according to claim 4, wherein: the acquisition module comprises a pipeline information acquisition unit and a historical data acquisition unit;
the pipeline information acquisition unit is used for acquiring basic information of a pipeline, including the length, the diameter and the liquid level height of the pipeline; the historical data acquisition unit is used for acquiring historical water use information data and time information data of the pipeline;
the output ends of the pipeline information acquisition unit and the historical data acquisition unit are connected with the input end of the liquid level monitoring module.
6. The liquid level monitoring system of the liquid level monitoring method based on the Internet of things according to claim 4, wherein: the water pumping module comprises a water pumping port and a receiving port I;
the water pumping port is used for pumping water from the water storage device to a user for use; the first receiving port is used for receiving a control instruction and controlling the opening and closing of the water pumping port;
and the output end of the first receiving port is connected with the input end of the pumping port.
7. The liquid level monitoring system of the liquid level monitoring method based on the Internet of things according to claim 4, wherein: the backflow module comprises a backflow port and a receiving port II;
the backflow port is used for returning residual water in the pipeline to the water storage device; the second receiving port is used for receiving and sending a control instruction and receiving a control instruction for controlling the opening and closing of the backflow port from the control module; and simultaneously sending an instruction to the corresponding water pumping module to ensure that the water pumping module cannot be started;
and the output end of the second receiving port is connected with the input ends of the pumping module and the backflow port.
8. The liquid level monitoring system of the liquid level monitoring method based on the Internet of things according to claim 4, wherein: the control module comprises an instruction generating unit and an instruction sending unit;
the instruction generating unit is used for generating a control instruction; the instruction sending unit is used for transmitting a control instruction to the corresponding module;
the output end of the instruction generating unit is connected with the input end of the instruction sending unit; and the output end of the instruction sending unit is connected with the input ends of the water pumping module and the backflow module.
9. The liquid level monitoring system of the liquid level monitoring method based on the Internet of things according to claim 4, wherein: the liquid level monitoring module comprises a data processing unit and a liquid level monitoring unit;
the data processing unit is used for processing various data, generating a liquid level monitoring meter and implementing corresponding actions under corresponding liquid levels; the liquid level monitoring unit is used for monitoring the liquid level change condition of the water storage device and sending an instruction to the control module;
the output end of the data processing unit is connected with the input end of the liquid level monitoring unit; and the output end of the liquid level monitoring unit is connected with the input end of the control module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111084569.7A CN113534861B (en) | 2021-09-16 | 2021-09-16 | Liquid level monitoring system and method based on Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111084569.7A CN113534861B (en) | 2021-09-16 | 2021-09-16 | Liquid level monitoring system and method based on Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113534861A CN113534861A (en) | 2021-10-22 |
CN113534861B true CN113534861B (en) | 2021-11-16 |
Family
ID=78092664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111084569.7A Active CN113534861B (en) | 2021-09-16 | 2021-09-16 | Liquid level monitoring system and method based on Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113534861B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105068567A (en) * | 2015-06-19 | 2015-11-18 | 苏州华控清源系统科技股份有限公司 | Water supply network regulation and storage method based on water tank |
CN206833262U (en) * | 2017-06-09 | 2018-01-02 | 深圳市盛孚物业管理股份有限公司 | Cell cistern water level automatically controls and warning system |
CN107767292A (en) * | 2016-08-23 | 2018-03-06 | 佛山市顺德区顺达电脑厂有限公司 | Intelligent water supply management system and its method |
CN108166569A (en) * | 2018-01-08 | 2018-06-15 | 上海上源泵业制造有限公司 | Inlet controller of cistern and water tank water intake control method |
CN112150752A (en) * | 2020-09-23 | 2020-12-29 | 马锦 | Fire-fighting water monitoring system and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000036351A (en) * | 2000-02-19 | 2000-07-05 | 정현오 | Wireless Automation Water Level Control System |
-
2021
- 2021-09-16 CN CN202111084569.7A patent/CN113534861B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105068567A (en) * | 2015-06-19 | 2015-11-18 | 苏州华控清源系统科技股份有限公司 | Water supply network regulation and storage method based on water tank |
CN107767292A (en) * | 2016-08-23 | 2018-03-06 | 佛山市顺德区顺达电脑厂有限公司 | Intelligent water supply management system and its method |
CN206833262U (en) * | 2017-06-09 | 2018-01-02 | 深圳市盛孚物业管理股份有限公司 | Cell cistern water level automatically controls and warning system |
CN108166569A (en) * | 2018-01-08 | 2018-06-15 | 上海上源泵业制造有限公司 | Inlet controller of cistern and water tank water intake control method |
CN112150752A (en) * | 2020-09-23 | 2020-12-29 | 马锦 | Fire-fighting water monitoring system and method |
Also Published As
Publication number | Publication date |
---|---|
CN113534861A (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Jacobs et al. | SOCRATES: A system for scheduling hydroelectric generation under uncertainty | |
Newsham et al. | A comparison of four methods to evaluate the effect of a utility residential air-conditioner load control program on peak electricity use | |
Monsef et al. | Pressure management in water distribution systems in order to reduce energy consumption and background leakage | |
CN105787582A (en) | Stock risk prediction method and apparatus | |
Hellerstein | The treatment of nonparticipants in travel cost analysis and other demand models | |
Bushnell et al. | An international comparison of models for measuring market power in electricity | |
CN109403425B (en) | Optimized dispatching system of water supply pipe network | |
Alvisi et al. | Using water consumption smart metering for water loss assessment in a DMA: a case study | |
Gao et al. | Evolutionary game-theoretic analysis for residential users considering integrated demand response | |
CN110059114A (en) | Housing vacancy rate acquisition methods, device, terminal and computer readable storage medium | |
CN117436566A (en) | Method, system, device and medium for optimal scheduling of sluice group in plain river network area | |
CN117974356B (en) | Water supply allocation method for water supply plant | |
CN113534861B (en) | Liquid level monitoring system and method based on Internet of things | |
CN109713679B (en) | Power grid emergency load method based on demand response participation degree | |
CN114069642A (en) | Temperature control load comprehensive peak regulation method considering user satisfaction | |
CN116993085B (en) | Method for improving battery utilization efficiency based on charge replacement consumption algorithm | |
CN111512326A (en) | Energy plan communication control system and method based on load shape analysis | |
Gonçalo et al. | Group multicriteria model for allocating resources to combat drought in the Brazilian semi-arid region | |
CN112482488A (en) | Urban peak shifting water supply method and system | |
CN112053256A (en) | Water resource simulation method based on water source and water user double sequencing rule | |
CN117172492A (en) | Reservoir ecological dispatching scheme determining method, system, electronic equipment and medium | |
CN116702931A (en) | Intelligent reservation supply management method and system for hot water | |
CN116992216A (en) | Short-term load prediction method based on power user data | |
CN110826776A (en) | Initial solution optimization method based on dynamic programming in distribution network line variable relation recognition | |
CN106842964A (en) | Customization System and method |
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 |