CN113534861A - 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 PDF

Info

Publication number
CN113534861A
CN113534861A CN202111084569.7A CN202111084569A CN113534861A CN 113534861 A CN113534861 A CN 113534861A CN 202111084569 A CN202111084569 A CN 202111084569A CN 113534861 A CN113534861 A CN 113534861A
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.)
Granted
Application number
CN202111084569.7A
Other languages
Chinese (zh)
Other versions
CN113534861B (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.)
Jiangsu Xinhui Measurement And Control Technology Co Ltd
Original Assignee
Jiangsu Xinhui Measurement And Control Technology 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 Jiangsu Xinhui Measurement And Control Technology Co Ltd filed Critical Jiangsu Xinhui Measurement And Control Technology Co Ltd
Priority to CN202111084569.7A priority Critical patent/CN113534861B/en
Publication of CN113534861A publication Critical patent/CN113534861A/en
Application granted granted Critical
Publication of CN113534861B publication Critical patent/CN113534861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D9/00Level control, e.g. controlling quantity of material stored in vessel
    • G05D9/12Level 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

Liquid level monitoring system and method based on Internet of things
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:
Figure 235591DEST_PATH_IMAGE002
wherein the content of the first and second substances,
Figure 790201DEST_PATH_IMAGE004
pipe B representing period t +1iThe water consumption prediction value is obtained;
Figure 313324DEST_PATH_IMAGE006
is a predicted intercept;
Figure 927976DEST_PATH_IMAGE008
is a predicted slope; m is the newly increased trend prediction period number; t is the historical data period number;
Figure 162648DEST_PATH_IMAGE010
wherein the content of the first and second substances,
Figure 255369DEST_PATH_IMAGE012
represents a moving average of the u groups of data;
Figure 400042DEST_PATH_IMAGE014
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:
Figure 418552DEST_PATH_IMAGE016
the predicted water consumption value of all the pipelines B can be obtained, and the sum of the predicted water consumption values is recorded as V1
The one-time moving average here means that u groups of data are continuously taken from the first group to calculate the average, and the calculation is sequentially moved according to the order, for example, u =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, the average is calculated again, and so on; the second moving average means that u groups of first moving averages are selected for average calculation again, for example, u =5, the first group of first moving averages is taken to the fifth group of first moving averages for first calculation, then the second group to the sixth group are taken for 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 value of the water consumption needed by all the pipelines B, and recording the predicted value as a set G = { K =Need 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:
Figure 140520DEST_PATH_IMAGE018
wherein the content of the first and second substances,
Figure 36932DEST_PATH_IMAGE020
the liquid level value of the pumping module representing the q-th closing of one pipeline; h represents a liquid level standard value;
Figure 36112DEST_PATH_IMAGE022
representing 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 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.
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 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:
Figure 258146DEST_PATH_IMAGE024
wherein the content of the first and second substances,
Figure 864749DEST_PATH_IMAGE026
pipe B representing period t +1iThe water consumption prediction value is obtained;
Figure 423907DEST_PATH_IMAGE028
is a predicted intercept;
Figure 277593DEST_PATH_IMAGE030
is a predicted slope; m is the newly increased trend prediction period number; t is the historical data period number;
Figure 404949DEST_PATH_IMAGE032
wherein the content of the first and second substances,
Figure 242455DEST_PATH_IMAGE034
represents a moving average of the u groups of data;
Figure 979205DEST_PATH_IMAGE036
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:
Figure 812031DEST_PATH_IMAGE038
the predicted water consumption value of all the pipelines B can be obtained, and the sum of the predicted water consumption values is recorded 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 value of the water consumption needed by all the pipelines B, and recording the predicted value as a set G = { K =Need 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:
Figure 110289DEST_PATH_IMAGE040
wherein the content of the first and second substances,
Figure 169512DEST_PATH_IMAGE042
the liquid level value of the pumping module representing the q-th closing of one pipeline; h represents a liquid level standard value;
Figure 945838DEST_PATH_IMAGE044
representing 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 S1=1 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 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; 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:
Figure 898750DEST_PATH_IMAGE046
wherein the content of the first and second substances,
Figure 866444DEST_PATH_IMAGE048
pipe B representing period t +1iThe water consumption prediction value is obtained;
Figure 147384DEST_PATH_IMAGE050
is a predicted intercept;
Figure 992980DEST_PATH_IMAGE052
is a predicted slope; m is the newly increased trend prediction period number; t is the historical data period number;
Figure 534820DEST_PATH_IMAGE054
wherein the content of the first and second substances,
Figure 174880DEST_PATH_IMAGE056
represents a moving average of the u groups of data;
Figure 707230DEST_PATH_IMAGE058
represents a quadratic moving average under u groups of data; u represents the number of data sets participating in the move;
setting u group data as u = 5;
Figure 90938DEST_PATH_IMAGE060
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
Figure 752863DEST_PATH_IMAGE062
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
taking t = 10; then the pipeline BiThe predicted water consumption value is as follows:
Figure 563825DEST_PATH_IMAGE064
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:
Figure 819357DEST_PATH_IMAGE066
wherein the content of the first and second substances,
Figure 239711DEST_PATH_IMAGE068
the liquid level value of the pumping module representing the q-th closing of one pipeline; h represents a liquid level standard value;
Figure 21722DEST_PATH_IMAGE070
representing 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;
when q =1, then there is
Figure 3585DEST_PATH_IMAGE072
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 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;
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 value of the water consumption needed by all the pipelines B, and recording the predicted value as a set G = { K =Need 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:
Figure 6337DEST_PATH_IMAGE002
wherein the content of the first and second substances,
Figure 201826DEST_PATH_IMAGE004
represents the q thClosing the liquid level value of the water pumping module of a certain pipeline; h represents a liquid level standard value;
Figure 802309DEST_PATH_IMAGE006
representing 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 AiIs longDegree;
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:
Figure 716039DEST_PATH_IMAGE008
wherein the content of the first and second substances,
Figure 53479DEST_PATH_IMAGE010
pipe B representing period t +1iThe water consumption prediction value is obtained;
Figure 103475DEST_PATH_IMAGE012
is a predicted intercept;
Figure 110745DEST_PATH_IMAGE014
is a predicted slope; m is the newly increased trend prediction period number; t is the historical data period number;
Figure 636404DEST_PATH_IMAGE016
wherein the content of the first and second substances,
Figure 885858DEST_PATH_IMAGE018
represents a moving average of the u groups of data;
Figure 55939DEST_PATH_IMAGE020
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:
Figure 234111DEST_PATH_IMAGE022
the predicted value of the water consumption needed by all the pipelines B can be obtained, and the sum of the predicted values is recorded 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.
CN202111084569.7A 2021-09-16 2021-09-16 Liquid level monitoring system and method based on Internet of things Active CN113534861B (en)

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 true CN113534861A (en) 2021-10-22
CN113534861B 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030106582A1 (en) * 2000-02-19 2003-06-12 Hyun-Oh Jeong Method and system for automatically controlling water level in storage tank through wireless control process
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030106582A1 (en) * 2000-02-19 2003-06-12 Hyun-Oh Jeong Method and system for automatically controlling water level in storage tank through wireless control process
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
CN113534861B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
Torriti Peak energy demand and demand side response
Luo et al. Hierarchical energy management system for home microgrids
US9691076B2 (en) Demand response system having a participation predictor
Jacobs et al. SOCRATES: A system for scheduling hydroelectric generation under uncertainty
CN106991504A (en) Building energy consumption Forecasting Methodology, system and building based on metering separate time series
CN106780173A (en) OTA hotels inventory management method and system
Satiya et al. Optimization of water consumption using dynamic quota based smart water management system
CN109403425B (en) Optimized dispatching system of water supply pipe network
Wan et al. Derivation of tri-level programming model for multi-reservoir optimal operation in inter-basin transfer-diversion-supply project
CN113534861B (en) Liquid level monitoring system and method based on Internet of things
CN111512326A (en) Energy plan communication control system and method based on load shape analysis
CN110059114A (en) Housing vacancy rate acquisition methods, device, terminal and computer readable storage medium
CN114069642A (en) Temperature control load comprehensive peak regulation method considering user satisfaction
CN112053256A (en) Water resource simulation method based on water source and water user double sequencing rule
CN112966919B (en) Condition value risk-based water and pollution discharge conflict coordination method
CN109167350A (en) A kind of construction method of industrial load response model
CN112482488B (en) Urban peak shifting water supply method and system
CN115375199A (en) Long-distance intelligent water supply scheduling method and system
CN115051374A (en) Control method and device for electric heating equipment to participate in electric power peak regulation and storage medium
Veintimilla-Reyes et al. A linear programming approach to optimise the management of water in dammed river systems for meeting demands and preventing floods
Zeiler et al. Integral BEMS controlled LVPP in the smart grid: An approach to a complex distributed system of the built environment for sustainability
CN111178658B (en) Planned water use management method and system based on big data analysis
Tao et al. Division method for water distribution networks in hilly areas
CN110826776A (en) Initial solution optimization method based on dynamic programming in distribution network line variable relation recognition
CN112947326B (en) Fuzzy flexible platform power supply quality data processing method and device and storage medium

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