Remote intelligent water meter control method and system with pre-filter detection module
By introducing a pre-filter detection module into the Far EasTone smart water meter and comprehensively considering water pressure and various water quality information, pre-judgment diversion of water bodies is achieved, which solves the problem of incomplete water diversion control in the existing technology and improves water quality. The accuracy and efficiency of diversion reduce pollution and waste.
Patent Information
- Application Number
- CN202210321555.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-25
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-03-25
AI Technical Summary
Existing Far EasTone smart water meters cannot comprehensively consider multiple water quality conditions when controlling water diversion, causing some substandard water bodies to flow into normal use areas or some up to standard water bodies to flow into recycling areas, resulting in water pollution and water recycling waste.
It adopts the FarEasTone intelligent water meter control method with pre-filter detection module, detects water quality information through water pressure detection and various water quality sensors (such as residual chlorine, dissolved oxygen, conductivity, ORP, PH), and calculates water quality change trend values and fusion Changing trends, real-time control of the three channels to achieve pre-judgment diversion of water bodies to avoid pollution and waste.
It achieves accurate diversion control of water bodies, reduces water body pollution and recycling waste, ensures high quality water for users, and reduces the burden of secondary treatment of water bodies.
Smart Images

Figure CN114840035B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to a remote intelligent water meter control method and system with a pre-filter detection module. Background Art
[0002] At present, most of the water meters commonly available on the market are traditional water meters or ordinary water meters with remote transmission functions, and the application scenarios are relatively single. The ultimate goal of the remote transmission smart water meter with pre-filtration technology is to realize the remote transmission functions of pre-filtration, water pressure detection, water quality detection and intelligent feedback on the basis of traditional water meters, thereby improving the convenience of healthy drinking and life. Compared with traditional water meters, the remote transmission smart water meter with pre-filtration technology has the advantages of real-time monitoring, intelligent analysis, remote transmission and precise control. Remote transmission intelligent technology requires automatic opening and closing control according to the actual water pressure and water quality, which generally includes: water pressure monitoring, water quality detection, intelligent control, remote opening and closing and other technical contents.
[0003] Through the remote intelligent water meter, water body detection and diversion control can be carried out, so that users can get the water that meets their needs. However, in the process of detecting water substances, the content of water substances often changes linearly, and there will be no sudden increase or decrease. In the current diversion control process, the diversion control and the opening and closing of the smart water meter will be carried out after the water reaches the threshold, causing some substandard water to flow into the normal use area, or some qualified water to flow into the water recovery area, resulting in water pollution or water recovery waste, increasing the burden of secondary water treatment, and the current water quality detection cannot comprehensively consider the integration of multiple water qualities, making the water quality diversion control relatively one-sided. Summary of the invention
[0004] The embodiments of the present invention provide a remote intelligent water meter control method and system with a pre-filtration detection module, which can make linear judgments on changes in water quality in a water body, pre-judge and divert water, and comprehensively consider water quality conditions in multiple dimensions during diversion, so that the diversion control is more comprehensive, effectively reducing water pollution, reducing water recycling waste, and reducing the burden of secondary treatment of water.
[0005] According to a first aspect of an embodiment of the present invention, a remote intelligent water meter control method having a pre-filter detection module is provided. The remote intelligent water meter comprises a pressure pump, a water inlet, a water pressure detection meter, a pre-filter detection module and a tee connected in sequence. The tee is connected to a first channel and a second channel through a first valve and a second valve, respectively. The first channel is connected to a purified water outlet, and the second channel is connected to a water recovery storage tank. The remote intelligent water meter is controlled by the following steps, including:
[0006] The water pressure of the water body flowing into the water inlet end within a first preset time period is detected by the water pressure detection meter to obtain first water pressure data, and the first water pressure data is compared with the preset water pressure data to obtain a water quality compensation value;
[0007] Based on the pre-filter detection module, a plurality of water quality information of the water body flowing into the water inlet end within a first preset time period is detected to obtain a plurality of water quality data, and a water quality change trend value of each water quality information is obtained according to the plurality of water quality data and the water quality compensation value;
[0008] If the water quality change trend value of any water quality information is greater than the corresponding change threshold, the first channel connected to the three-way connection is controlled to be closed and the second channel is opened;
[0009] If the water quality change trend values of all water quality information are respectively less than or equal to the corresponding change thresholds, a fused change trend is obtained based on the water quality change trend value of each water quality information. If the fused change trend is greater than the preset fused trend, the first channel connected by the three-way control is closed and the second channel is opened.
[0010] Optionally, in a possible implementation of the first aspect, the pre-filtration detection module includes any one or more of a residual chlorine sensor, a dissolved oxygen sensor, a conductivity sensor, an ORP sensor, and a PH sensor;
[0011] The water quality information is any one or more of residual chlorine information, dissolved oxygen information, conductivity information, ORP information and PH information of the water body.
[0012] Optionally, in a possible implementation of the first aspect, the step of detecting the water pressure of the water body flowing into the water inlet end within a first preset time period by the water pressure detection meter to obtain first water pressure data, and comparing the first water pressure data with preset water pressure data to obtain a water quality compensation value includes:
[0013] Acquire water pressure information of the water body flowing into the water inlet end at each moment in a first preset time period to obtain water pressure data;
[0014] The water pressure information at each moment is compared with the preset water pressure information in the preset water pressure data to obtain a first comparison value, and all the first comparison values are calculated to obtain a water quality compensation value.
[0015] Optionally, in a possible implementation of the first aspect, the water quality compensation value is calculated by the following formula:
[0016]
[0017] Among them, b m The water quality compensation value of the mth water quality information, p iThe water pressure information at the i-th moment, n is the upper limit value of the moment corresponding to the calculation of the water quality compensation value, p y is the preset water pressure information, N is the quantity value corresponding to the time when the water quality compensation value is calculated, r is the first constant value, k m is the compensation weight value of the mth type of water quality information.
[0018] Optionally, in a possible implementation of the first aspect, in the step of respectively detecting multiple water quality information of the water body flowing into the water inlet end within a first preset time period based on the pre-filter detection module to obtain multiple water quality data, and respectively obtaining a water quality change trend value of each water quality information according to the multiple water quality data and the water quality compensation value, the step includes:
[0019] Based on different preset sensors in the pre-filter detection module, different water quality information of the water body flowing into the water inlet end within a first preset time period is detected to obtain multiple water quality data;
[0020] Compare the water quality information at a later time in the water quality data with the water quality information at a previous time to obtain a first difference between any two adjacent water quality information;
[0021] An average water quality value of each type of water quality information within a first preset time period is counted, and a water quality change trend value is obtained based on the average water quality value of the water quality information and all first differences.
[0022] Optionally, in a possible implementation of the first aspect, the water quality change trend value is calculated by the following formula:
[0023]
[0024] Among them, s m is the water quality change trend value of the mth water quality information, x e+1 is the water quality information at the e+1th moment, x e is the water quality information at the e-th moment, c is the upper limit value of the moment corresponding to the calculation of the water quality change trend value, M is the quantity value of the moment corresponding to the calculation of the water quality change trend value, u m is the water quality change weight of the mth water quality information, y m is the baseline value of the mth water quality information.
[0025] Optionally, in a possible implementation of the first aspect, if the water quality change trend values of all water quality information are respectively less than or equal to corresponding change thresholds, the step of obtaining a fusion change trend based on the water quality change trend value of each water quality information includes:
[0026] Traversing the water quality change trend value of each type of water quality information, and comparing the water quality change trend value of each type of water quality information with the corresponding change threshold value;
[0027] If it is determined that the water quality change trend values of all water quality information are respectively less than or equal to the corresponding change thresholds, then the water quality change trend value of each water quality information and the corresponding change threshold are used to obtain the threshold difference interval;
[0028] The threshold difference intervals of all types of water quality information are counted to obtain the fusion change trend.
[0029] Optionally, in a possible implementation of the first aspect, the step of obtaining a fusion change trend by counting threshold difference intervals of all types of water quality information includes:
[0030] The fusion change trend is calculated by the following formula:
[0031]
[0032] Among them, F is the fusion change trend of all water quality information, is the water quality change trend value of the j-th water quality information, is the change threshold of the j-th water quality information, l is the upper limit of the water quality change trend value, L is the number of water quality change trend values, f is the fusion weight value, S j is the threshold difference interval of the j-th water quality information.
[0033] A second aspect of the embodiment of the present invention provides a remote intelligent water meter control system with a pre-filter detection module, including the method of the first aspect of the invention and various possible designs of the first aspect, and also includes a clean water storage tank and a to-be-treated water storage tank, wherein the clean water storage tank is connected to the clean water outlet;
[0034] The second channel includes a water recovery sub-pipeline and a water to be treated sub-pipeline, the water recovery sub-pipeline is connected to the water recovery storage tank, the water to be treated sub-pipeline is connected to the water to be treated storage tank, and the water to be treated storage tank is connected to the water recovery storage tank and the clean water storage tank through the first to be treated sub-pipeline and the second to be treated sub-pipeline respectively;
[0035] If the water quality change trend value of any water quality information is greater than the corresponding change threshold, the first channel connected to the tee is controlled to be closed, the second channel is opened, the water recovery sub-pipeline is opened, and the sub-pipeline for the water to be treated is closed;
[0036] If the fusion change trend is greater than the preset fusion trend, the first channel connected to the tee is controlled to be closed, the second channel is controlled to be opened, the water recovery sub-pipeline is controlled to be closed, and the sub-pipeline for the water to be treated is controlled to be opened;
[0037] If the fusion change trend is smaller than the preset fusion trend, the first channel in the three-way connection is controlled to be opened and the second channel is controlled to be closed.
[0038] Optionally, in a possible implementation manner of the second aspect, a usage scenario input by a user is received, and a secondary allocation threshold corresponding to the current usage scenario is selected according to the usage scenario;
[0039] Acquiring a variety of water quality information in the water storage tank to be treated to obtain water quality information to be treated;
[0040] If the to-be-processed water quality information is greater than the secondary distribution threshold, the first to-be-processed sub-pipeline is opened and the second to-be-processed sub-pipeline is closed;
[0041] If the to-be-processed water quality information is less than or equal to the secondary distribution threshold, the first to-be-processed sub-pipeline is closed and the second to-be-processed sub-pipeline is opened.
[0042] According to a third aspect of an embodiment of the present invention, a storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the method of the first aspect of the present invention and various possible designs of the first aspect.
[0043] The present invention provides a remote intelligent water meter control method and system with a pre-filter detection module. The three-way valve can be controlled according to the water pressure information and water quality information of the water body by the filter detection module, so that the water body with high-quality water quality can be supplied to users, and the sewage water body is diverted. When judging the water quality, the present invention will obtain the water quality change situation within a preset time period to obtain the water quality change trend, so that when diverting the water body, the water flow can be changed according to the water quality change trend value, avoiding a large amount of high-quality water flowing into the water recovery and storage tank, avoiding sewage flowing into the user, and realizing more accurate diversion control of the water body. The technical solution provided by the present invention will use the water pressure of the water body as a reference factor when calculating the water quality change trend value of each water quality information, so that the water quality change trend value has a positive correlation with the water pressure, thereby ensuring that the calculated water quality change trend value is more accurate. The present invention controls the opening and closing of each channel in the tee according to the relationship between the water quality change trend value and the change threshold, so that water with a water quality deterioration trend value greater than the change threshold will no longer flow into the user, so that the water quality at the user is high-quality and meets the requirements.
[0044] The technical solution provided by the present invention, when obtaining the fused change trend, will be determined based on the difference relationship between the water quality change trend value of each water quality and the change threshold. In this way, when multiple water quality information are respectively large and close to the critical value of the change threshold, the water body will not be regarded as a high-quality water body, so that the present invention is more accurate and considers more dimensions when calculating the fused change trend of the water body.
[0045] The technical solution provided by the present invention will set up a water body recovery and storage tank, a water body storage tank to be treated, and a clean water storage tank. The present invention will divert the corresponding water body to the water body recovery and storage tank when the water quality change trend value of any water quality information is greater than the corresponding change threshold. The water body at this time is not up to standard. The present invention will divert the corresponding water body to the treatment water storage tank when the fusion change trend is greater than the preset fusion trend. At this time, there is a greater probability of not meeting the standard, so it is necessary to be treated. After accurate detection according to the corresponding use scenario, it is diverted to the water body recovery and storage tank or the clean water storage tank to achieve water body recycling or use. This method can perform detailed detection of the water body and judge the diversion of the water body according to the detection results, avoiding the situation of clean water recycling and sewage being used as clean water. When the fusion change trend is less than the preset fusion trend, the water body is diverted to the clean water storage tank. The water quality of the water body at this time can be confirmed as high-quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic diagram of the structure of a remote intelligent water meter in the technical solution provided by the present invention;
[0047] Figure 2 It is a flow chart of a first implementation method of a remote intelligent water meter control method with a pre-filter detection module;
[0048] Figure 3 A flow chart of a second implementation method of a remote intelligent water meter control method with a pre-filter detection module;
[0049] Figure 4 It is a structural diagram of the first implementation mode of a remote intelligent water meter control system with a pre-filter detection module.
[0050] Reference numerals:
[0051] 01. Water inlet; 02. Direct-reading remote water meter; 03. Water pressure test gauge; 04. Pre-filter test module; 05. Fully automatic backwash; 06. Tee; 07. First channel; 08. Second channel. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.
[0054] It should be understood that in various embodiments of the present invention, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0055] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0056] It should be understood that in the present invention, "plurality" refers to two or more than two. "And / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "Contains A, B and C", "Contains A, B, C" means that A, B, and C are all included, "Contains A, B or C" means that one of A, B, and C is included, and "Contains A, B and / or C" means that any one, any two, or any three of A, B, and C are included.
[0057] It should be understood that in the present invention, "B corresponding to A", "B corresponding to A", "A corresponds to B" or "B corresponds to A" means that B is associated with A and B can be determined based on A. Determining B based on A does not mean determining B based only on A, but B can also be determined based on A and / or other information. A and B match when the similarity between A and B is greater than or equal to a preset threshold.
[0058] Depending on the context, "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting."
[0059] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0060] The present invention provides a remote intelligent water meter control method with a pre-filter detection module 04. Figure 1 As shown, the remote intelligent water meter includes a booster pump, a water inlet 01, a water pressure detection meter 03, a pre-filter detection module 04 and a tee 06 connected in sequence, and the tee 06 is connected to the first channel 07 and the second channel 08 through the first valve and the second valve, respectively. The first channel 07 is connected to the clean water outlet, and the second channel 08 is connected to the water recovery and storage tank. A fully automatic backwashing module 05 is provided at the lower part of the pre-filter detection module 04, and the remote intelligent water meter can be backwashed by the fully automatic backwashing module 05. A direct-reading remote water meter 02 can be provided at the water inlet 01, and the current water consumption value can be obtained by the direct-reading remote water meter 02. The output end of the first channel 07 can be regarded as a standard drinking water, a standard water quality, and a clean water outlet, and the output end of the second channel 08 can be regarded as a non-standard drinking water outlet. The first valve and the second valve can be the same valve, for example, a first ball valve, and the first ball valve of the three-way 06 can control the connection between the three-way 06 and the first channel 07 or the second channel 08. The pre-filter detection module 04 can include a sensor for detecting water quality and a filter membrane.
[0061] The technical solution provided by the present invention is as follows: Figure 2 As shown, the remote intelligent water meter is controlled through the following steps, including:
[0062] Step S110, using the water pressure detection meter to detect the water pressure of the water body flowing into the water inlet end within the first preset time period to obtain first water pressure data, and comparing the first water pressure data with the preset water pressure data to obtain a water quality compensation value. In the technical solution provided by the present invention, the first preset time period can be 10 seconds or 1 minute. The present invention detects the water pressure of the water body flowing into the water inlet end within the first preset time period through the water pressure detection meter to obtain the first water pressure data, and the water pressure data can reflect the water pressure condition of the remote intelligent water meter within the first preset time period.
[0063] According to the technical solution provided by the present invention, the water pressure detection meter can be equipped with a first communication module, which is connected to a remote server through the first communication module to send the first water pressure data to the remote server. The first communication module can be a 4G communication module, a 5G communication module, etc.
[0064] The present invention will obtain a water quality compensation value based on the first water pressure data. It can be understood that when the water pressure is greater, the water flow rate is greater, and the sensor probe will contact the water body faster. At this time, the sensor probe will produce a certain error when performing water quality detection. This error is the error of increased water quality information. Therefore, it is necessary to obtain a water quality compensation value based on the comparison between the first water pressure data and the preset water pressure data. This water quality compensation value is the compensation for the water quality information detection due to the larger water pressure and the larger water flow rate. When the first water pressure data is larger, the corresponding water quality compensation value is larger. It can be understood that the water quality compensation value is positively correlated with the first water pressure data.
[0065] In a possible implementation of the technical solution provided by the present invention, in step S110, as Figure 3 As shown, including:
[0066] Step S1101, obtaining water pressure information of the water body flowing into the water inlet end at each moment in the first preset time period to obtain water pressure data. The technical solution provided by the present invention can obtain water pressure information at each moment in the first preset time period, and each moment can be 1 second, 0.5 seconds, etc. The present invention does not impose any limitation on the interval between each two adjacent moments.
[0067] Step S1102: Compare the water pressure information at each moment with the preset water pressure information in the preset water pressure data to obtain a first comparison value, and calculate all the first comparison values to obtain a water quality compensation value. The technical solution provided by the present invention compares the water pressure information at each moment with the preset water pressure information in the preset water pressure data. The preset water pressure information may be pre-set, and the preset water pressure information may be obtained based on the attribute information of the sensor, for example, the water quality information of different standards obtained by the sensor under a certain standard water pressure and flow rate. At this time, the water pressure information corresponding to the standard water pressure of the sensor can be regarded as the preset water pressure information.
[0068] The technical solution provided by the present invention compares the water pressure information at each moment with the preset water pressure information in the preset water pressure data to obtain a first comparison value, and sums the first comparison value. If the first comparison value is greater than 0, the water quality compensation value is a positive number at this time, and positive compensation can be performed through the water quality compensation value. If the first comparison value is less than 0, the water quality compensation value is a negative number at this time, and negative compensation can be performed through the water quality compensation value.
[0069] The technical solution provided by the present invention calculates the water quality compensation value by the following formula:
[0070]
[0071] Among them, b m The water quality compensation value of the mth water quality information, p iThe water pressure information at the i-th moment, n is the upper limit value of the moment corresponding to the calculation of the water quality compensation value, p y is the preset water pressure information, N is the quantity value corresponding to the time when the water quality compensation value is calculated, r is the first constant value, k m is the compensation weight value of the mth water quality information. The technical solution provided by the present invention will The water pressure information at each moment is compared with the preset water pressure information to obtain a final summation value. The first constant value r and the compensation weight value of the m-th water quality information can be preset according to different water quality information.
[0072] Step S120, based on the pre-filter detection module, the multiple water quality information of the water body flowing into the water inlet end within the first preset time period is detected separately to obtain multiple water quality data, and the water quality change trend value of each water quality information is obtained according to the multiple water quality data and the water quality compensation value. The technical solution provided by the present invention will detect the multiple water quality information of the water body flowing into the water inlet end within the first preset time period according to the pre-filter detection module, and obtain the water quality change trend value of each water quality information according to the multiple water quality data and the water quality compensation value. The water quality change trend value can reflect the change trend of water quality. For example, the water quality change trend value is that within the first preset time period, the chlorine content in the water quality information changes from low to high, remains unchanged, etc. The larger the water quality change trend value, the faster the content in the water quality information increases, and the water quality of the water body in the next time period can be determined according to the water quality change trend value.
[0073] In a possible embodiment, the pre-filtration detection module includes any one or more of a residual chlorine sensor, a dissolved oxygen sensor, a conductivity sensor, an ORP sensor, and a pH sensor. The water quality information is any one or more of the residual chlorine information, dissolved oxygen information, conductivity information, ORP information, and pH information of the water body. The present invention extracts the water quality information at continuous moments to obtain corresponding water quality data.
[0074] The technical solution provided by the present invention, in one possible implementation manner, in step S120, includes:
[0075] Based on different preset sensors in the pre-filter detection module, different water quality information of the water body flowing into the water inlet end within the first preset time period is detected to obtain multiple water quality data. The technical solution provided by the present invention can detect different water quality information of the water body within the preset time period to obtain corresponding water quality data, so that more samples are compared when comparing the water quality data later, thereby improving the accuracy of the comparison result.
[0076] The water quality information at a later moment in the water quality data is compared with the water quality information at a previous moment to obtain the first difference between any two adjacent water quality information. The technical solution provided by the present invention will obtain the change trend of any two adjacent water quality information based on the first difference. If the value of the later water quality information is greater than the value of the previous water quality information, then the water quality information at the later moment has an increasing trend compared to the water quality information at the previous moment. Similarly, if the value of the later water quality information is less than the value of the previous water quality information, then the water quality information at the later moment has a decreasing trend compared to the water quality information at the previous moment. In order to ensure the accuracy of the subsequent calculation of the water quality change trend value of the present invention, the present invention will compare the water quality information at a later moment within the first preset time period with the water quality information at the previous moment.
[0077] The average water quality value of each type of water quality information within the first preset time period is counted, and the water quality change trend value is obtained based on the average water quality value of the water quality information and all the first differences. The present invention will count all the first differences to obtain the water quality change trend value of each type of water quality information, so that the water quality change trend value can reflect the water quality change trend value within the entire first preset time period. If the water quality change trend value is positive, the water quality change trend value is positive, and if the water quality change trend value is negative, the water quality change trend value is negative.
[0078] The technical solution provided by the present invention, in one possible implementation manner, calculates the water quality change trend value by the following formula:
[0079]
[0080] Among them, s m is the water quality change trend value of the mth water quality information, x e+1 is the water quality information at the e+1th moment, x e is the water quality information at the e-th moment, c is the upper limit value of the moment corresponding to the calculation of the water quality change trend value, M is the quantity value of the moment corresponding to the calculation of the water quality change trend value, u m is the water quality change weight of the mth water quality information, y m is the baseline value of the mth water quality information. The average value of the difference between the water quality information at the next moment and the water quality information at the previous moment within the first preset time period can be obtained. The average water quality value of the water quality information at all times within the first preset time period can be obtained. The present invention will compare the average value of the water quality information with the reference value of the water quality information. If the average value of the water quality information is greater than the reference value of the water quality information, it proves that the corresponding monitoring value of the water quality information is already large, so the weight of the water quality change needs to have an increasing trend. If the average value of water quality information is less than the baseline value of water quality information, it proves that the corresponding monitoring value of water quality information is already small, so the weight of water quality change needs to have a decreasing trend. Smaller, through the above method, the present invention will not only consider the change of water quality information in the first preset time period when calculating the water quality change trend value, but also comprehensively consider the specific value of the water quality information in the first preset time period, so that the present invention can refer to more dimensions when calculating the water quality change trend value, and the calculated water quality change trend value is more accurate.
[0081] Step S130, if there is any water quality information whose water quality change trend value is greater than the corresponding change threshold, the first channel connected to the three-way connection is controlled to be closed and the second channel is opened. The technical solution provided by the present invention will compare the water quality change trend value of each water quality information with its corresponding change threshold. For example, the water quality change trend value can be 0.8, 1.1, and the change threshold is 0.9, 1, and so on. The larger the water quality change trend value, the greater the slope of the function formed by the water quality information at each moment in the first preset time period, and the water quality at this time has a greater trend of change. At this time, the water quality may have a possibility of exceeding the standard of a certain substance, so at this time, the first channel in the three-way connection is controlled to be closed and the second channel is opened to prevent water from flowing into the purified water outlet and to prevent water with poor water quality from flowing into the user.
[0082] Step S140, if the water quality change trend values of all water quality information are respectively less than or equal to the corresponding change thresholds, a fusion change trend is obtained based on the water quality change trend values of each water quality information, and if the fusion change trend is greater than the preset fusion trend, the first channel connected to the three-way connection is controlled to be closed and the second channel is controlled to be opened. The technical solution provided by the present invention obtains a fusion change trend based on the water quality change trend values of each water quality information after the water quality change trend values of all water quality information are respectively less than or equal to the corresponding change thresholds. This method can perform fusion calculation again after all water quality information meets the standards. The purpose of the fusion calculation is to make a judgment when the water quality change trend values of multiple water quality information are respectively close to the change thresholds, so that when the overall water quality of the water body deteriorates, the water body will no longer be diverted to the user, so that the clean water of the water body at the user is continuously stable and meets the corresponding water quality requirements.
[0083] In a possible implementation of the technical solution provided by the present invention, step S140 includes:
[0084] Traverse the water quality change trend value of each type of water quality information, and compare the water quality change trend value of each type of water quality information with the corresponding change threshold. The technical solution provided by the present invention compares the water quality change trend value of each type of water quality information with the corresponding change threshold to determine the change trend of each type of water quality.
[0085] If it is determined that the water quality change trend values of all water quality information are less than or equal to the corresponding change thresholds, the water quality change trend value of each water quality information and the corresponding change threshold are compared to obtain the threshold difference interval. The threshold difference interval can reflect the relationship between the water quality change trend value and the change threshold. If the difference between the water quality change trend value and the change threshold is smaller, the threshold difference interval is smaller. The smaller the threshold difference interval is, the faster the water quality changes from good to bad.
[0086] The threshold difference intervals of all types of water quality information are counted to obtain the fusion change trend. The technical solution provided by the present invention obtains the corresponding fusion change trend according to the threshold difference intervals of all water quality information, and then obtains the relationship between all water quality information in a water body and the corresponding change critical value (change threshold). When the water quality information of most water bodies is close to the corresponding change critical value, the water quality of the water body at this time has a tendency to deteriorate as a whole, so it is necessary to avoid diverting the water body to the clean water outlet.
[0087] The technical solution provided by the present invention comprises the following steps in the step of obtaining a fusion change trend by counting the threshold difference intervals of all types of water quality information:
[0088] The fusion change trend is calculated by the following formula:
[0089]
[0090] Among them, F is the fusion change trend of all water quality information, is the water quality change trend value of the j-th water quality information, is the change threshold of the j-th water quality information, l is the upper limit of the water quality change trend value, L is the number of water quality change trend values, f is the fusion weight value, S j is the threshold difference interval of the j-th water quality information. The threshold difference interval can be obtained according to The average value of the threshold difference interval can be obtained, and the average value of the threshold difference interval can be corrected by the fusion weight value to obtain the final fusion change trend. This fusion change trend can reflect the overall change trend of all water qualities, and the flow of the water body can be controlled accordingly according to the fusion change trend.
[0091] The technical solution provided by the present invention can correct the detection of each water quality indicator according to the change of water pressure, so that the calculated water quality change trend value is more accurate, and the present invention can judge that the water quality of each type may not meet the standard in the next stage according to the water quality change trend value, that is, take measures to prevent the water body from flowing into the clean water. In addition, the present invention can comprehensively consider the water quality change trend values of all water bodies when all water quality change trend values may meet the standard in the next stage. If most of all water quality change trend values show a trend of deterioration, it is judged that the water quality of the water body is deteriorating as a whole, so the water body also needs to be treated at this time, that is, the water body is drained to the water recovery and storage tank, and the water body is not discharged to the clean water outlet.
[0092] The technical solution provided by the present invention also provides a remote intelligent water meter control system with a pre-filter detection module, including the remote intelligent water meter control method with a pre-filter detection module, such as Figure 4 As shown, it also includes a clean water storage tank and a to-be-treated water storage tank, and the clean water storage tank is connected to the clean water outlet;
[0093] The second channel includes a water recovery sub-pipeline and a water to be treated sub-pipeline, the water recovery sub-pipeline is connected to the water recovery regulating tank, the water to be treated sub-pipeline is connected to the water to be treated regulating tank, and the water to be treated regulating tank is connected to the water recovery regulating tank and the clean water regulating tank through the first to be treated sub-pipeline and the second to be treated sub-pipeline respectively.
[0094] It can be understood that some types of water in the water recovery reservoir do not meet the water quality standards, while the water in the clean water reservoir meets the water quality standards. The water in the untreated water reservoir is the water stored when the water has a tendency to deteriorate overall. The water in the water recovery reservoir will inevitably undergo secondary treatment. The water in the clean water reservoir can be directly supplied to users for use. The water in the untreated water reservoir needs to be tested again, and the corresponding treatment method will be determined based on the corresponding test results.
[0095] If there is any water quality information whose water quality change trend value is greater than the corresponding change threshold, the first channel connected to the tee is controlled to be closed, the second channel is opened, the water recovery sub-pipeline is opened, and the sub-pipeline of the water body to be treated is closed. The technical solution provided by the present invention, when the water quality change trend value of any water quality information is greater than the corresponding change threshold, the first channel will be closed and the second channel will be opened. At this time, the water body will not flow to the clean water end, the water recovery sub-pipeline will be opened, and the sub-pipeline of the water body to be treated will be closed. At this time, the water body will flow into the water recovery storage tank, and the administrator will select the corresponding treatment method according to the various water quality information of the water body in the water recovery storage tank.
[0096] If the fusion change trend is greater than the preset fusion trend, the first channel connected to the tee is controlled to be closed, the second channel is opened, the water recovery sub-pipeline is closed, and the sub-pipeline of the water body to be treated is opened. When the fusion change trend is greater than the preset fusion trend, the water body at this time has a trend of overall deterioration, and it is very likely that the water body will not meet the standards, so it is necessary to divert the water body to the water body regulation tank to be treated. At this time, the first channel will be closed and the second channel will be opened to prevent the water body from flowing into the clean water end, so that the water body recovery sub-pipeline is closed, the sub-pipeline of the water body to be treated is opened, and the water body is diverted to the water body regulation tank to be treated.
[0097] If the fusion change trend is less than the preset fusion trend, the first channel in the three-way is controlled to be opened and the second channel is closed. When the fusion change trend is less than the preset fusion trend, it proves that all water quality information has no tendency to exceed the standard, and all water quality has no tendency to change significantly, so the water body can be diverted to the clean water end at this time, and the first channel will be controlled to be opened and the second channel will be closed.
[0098] The technical solution provided by the present invention receives a usage scenario input by a user, and selects a secondary allocation threshold value corresponding to the current usage scenario according to the usage scenario. The technical solution provided by the present invention determines different secondary allocation threshold values according to different usage scenarios, and the secondary allocation threshold value can be regarded as a value for comprehensively evaluating the water body in the water storage tank to be treated. In the actual water use process, the usage scenario can be to use the water body as drinking water, irrigation water, etc., so different usage methods will correspond to different secondary allocation threshold values. The higher the water use requirement, the smaller the secondary allocation threshold value.
[0099] The various water quality information in the water storage tank to be treated is obtained. The technical solution provided by the present invention will calculate according to the various water quality information in the water storage tank to be treated to obtain the corresponding water quality information to be treated. When detecting each water body, the present invention will detect it separately through sensors at different positions in the water storage tank to be treated. The calculation formula of the water quality information to be treated is as follows:
[0100]
[0101] Among them, τ is the water quality information to be processed, For the first is the detection value of the water quality information, ω is the upper limit of the water quality information in the water storage tank to be treated, α γ is the detection value of the γth water quality information in the water storage tank to be treated, β γ is the secondary detection weight value of the γth water quality information, The value of the water quality information output by the δth sensor when detecting the γth water quality information, the upper limit of the number of ε sensors, and the number of μ sensors. The average value of the sensors at different locations in the water storage tank to be treated when detecting the corresponding water quality can be obtained. The detected value of the γth water quality information after comprehensive processing in the water storage tank to be treated can be obtained. The sum of the detection values of all water quality information in the water body storage tank to be treated can be obtained, and the sum of the detection values can reflect the comprehensive water quality situation of the water quality information to be treated.
[0102] If the water quality information to be processed is greater than the secondary distribution threshold, the first sub-pipeline to be processed is opened and the second sub-pipeline to be processed is closed. When the water quality information to be processed is greater than the secondary distribution threshold, the comprehensive water quality at this time is poor, and the corresponding water body needs to be processed again. Therefore, the first sub-pipeline to be processed will be opened and the second sub-pipeline to be processed will be closed, and the water in the water body storage tank to be processed will flow into the water body recovery storage tank for further recovery and processing.
[0103] If the water quality information to be processed is less than or equal to the secondary distribution threshold, the first sub-pipeline to be processed is closed and the second sub-pipeline to be processed is opened. When the water quality information to be processed is less than or equal to the secondary distribution threshold, the comprehensive water quality at this time is better, and the corresponding water body does not need to be processed again at this time, so the first sub-pipeline to be processed will be closed and the second sub-pipeline to be processed will be opened, and the water in the water storage tank to be processed will flow into the clean water storage tank, so that the water in the clean water storage tank can be directly used by users.
[0104] Through the above technical scheme, when the quality of water cannot be effectively judged, the corresponding water can be drained into the water storage tank to be treated, and the water can be deeply tested again in the water storage tank to determine the accurate properties of the water. The corresponding treatment method is determined again according to the corresponding accurate properties to avoid the situation where clean water is recycled and sewage is discharged to users, thereby ensuring the cleanliness of the water and avoiding waste of resources.
[0105] The present invention also provides a storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the methods provided by the various embodiments described above.
[0106] Among them, the storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, the storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (Application Specific Integrated Circuits, referred to as ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the storage medium can also exist in a communication device as discrete components. The storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0107] The present invention also provides a program product, which includes an execution instruction, which is stored in a storage medium. At least one processor of a device can read the execution instruction from the storage medium, and at least one processor executes the execution instruction so that the device implements the methods provided in the above various embodiments.
[0108] In the above-mentioned terminal or server embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A remote intelligent water meter control method with a pre-filter detection module, characterized in that: The remote intelligent water meter includes a booster pump, a water inlet, a water pressure detection meter, a pre-filter detection module and a tee connected in sequence. The tee is connected to a first channel and a second channel through a first valve and a second valve respectively. The first channel is connected to a purified water outlet, and the second channel is connected to a water recovery storage tank. The remote intelligent water meter is controlled by the following steps, including: The water pressure of the water body flowing into the water inlet end within a first preset time period is detected by the water pressure detection meter to obtain first water pressure data, and the first water pressure data is compared with the preset water pressure data to obtain a water quality compensation value; Based on the pre-filter detection module, a plurality of water quality information of the water body flowing into the water inlet end within a first preset time period is detected to obtain a plurality of water quality data, and a water quality change trend value of each water quality information is obtained according to the plurality of water quality data and the water quality compensation value; If the water quality change trend value of any water quality information is greater than the corresponding change threshold, the first channel connected to the three-way connection is controlled to be closed and the second channel is opened; If the water quality change trend values of all water quality information are respectively less than or equal to the corresponding change thresholds, a fusion change trend is obtained based on the water quality change trend value of each water quality information. If the fusion change trend is greater than the preset fusion trend, the first channel connected by the three-way connection is controlled to be closed and the second channel is controlled to be opened; The step of detecting the water pressure of the water body flowing into the water inlet end within a first preset time period by the water pressure detection meter to obtain first water pressure data, and comparing the first water pressure data with the preset water pressure data to obtain a water quality compensation value includes: Acquire water pressure information of the water body flowing into the water inlet end at each moment in a first preset time period to obtain water pressure data; Compare the water pressure information at each moment with the preset water pressure information in the preset water pressure data to obtain a first comparison value, and calculate all the first comparison values to obtain a water quality compensation value; The water quality compensation value is calculated by the following formula: Among them, b m The water quality compensation value of the mth water quality information, p i The water pressure information at the i-th moment, n is the upper limit value of the moment corresponding to the calculation of the water quality compensation value, p y is the preset water pressure information, N is the quantity value corresponding to the time when the water quality compensation value is calculated, r is the first constant value, k m is the compensation weight value of the mth water quality information; In the step of respectively detecting a plurality of water quality information of the water body flowing into the water inlet end within a first preset time period based on the pre-filter detection module to obtain a plurality of water quality data, and respectively obtaining a water quality change trend value of each water quality information according to the plurality of water quality data and the water quality compensation value, the steps include: Based on different preset sensors in the pre-filter detection module, different water quality information of the water body flowing into the water inlet end within a first preset time period is detected to obtain multiple water quality data; Compare the water quality information at a later time in the water quality data with the water quality information at a previous time to obtain a first difference between any two adjacent water quality information; Counting the average water quality value of each type of water quality information within a first preset time period, and obtaining a water quality change trend value based on the average water quality value of the water quality information and all first differences; The water quality change trend value is calculated by the following formula: Among them, s m is the water quality change trend value of the mth water quality information, x e+1 is the water quality information at the e+1th moment, x e is the water quality information at the e-th moment, c is the upper limit value of the moment corresponding to the calculation of the water quality change trend value, M is the quantity value of the moment corresponding to the calculation of the water quality change trend value, u m is the water quality change weight of the mth water quality information, y m is the baseline value of the mth water quality information; If the water quality change trend values of all water quality information are respectively less than or equal to the corresponding change thresholds, the step of obtaining a fusion change trend based on the water quality change trend value of each water quality information includes: Traversing the water quality change trend value of each type of water quality information, and comparing the water quality change trend value of each type of water quality information with the corresponding change threshold value; If it is determined that the water quality change trend values of all water quality information are respectively less than or equal to the corresponding change thresholds, then the water quality change trend value of each water quality information and the corresponding change threshold are used to obtain the threshold difference interval; The threshold difference intervals of all types of water quality information are counted to obtain the fusion change trend; The step of obtaining the integrated change trend by counting the threshold difference intervals of all types of water quality information includes: The fusion change trend is calculated by the following formula: Among them, F is the fusion change trend of all water quality information, is the water quality change trend value of the j-th water quality information, is the change threshold of the j-th water quality information, l is the upper limit of the water quality change trend value, L is the number of water quality change trend values, f is the fusion weight value, S j is the threshold difference interval of the j-th water quality information.
2. The remote intelligent water meter control method with a pre-filter detection module according to claim 1 is characterized in that: The pre-filtration detection module includes any one or more of a residual chlorine sensor, a dissolved oxygen sensor, a conductivity sensor, an ORP sensor, and a PH sensor; The water quality information is any one or more of residual chlorine information, dissolved oxygen information, conductivity information, ORP information and PH information of the water body.
3. A remote intelligent water meter control system with a pre-filter detection module, comprising the remote intelligent water meter control method with a pre-filter detection module according to claim 1, characterized in that: It also includes a clean water storage tank and a to-be-treated water storage tank, wherein the clean water storage tank is connected to the clean water outlet; The second channel includes a water recovery sub-pipeline and a water to be treated sub-pipeline, the water recovery sub-pipeline is connected to the water recovery storage tank, the water to be treated sub-pipeline is connected to the water to be treated storage tank, and the water to be treated storage tank is connected to the water recovery storage tank and the clean water storage tank through the first to be treated sub-pipeline and the second to be treated sub-pipeline respectively; If the water quality change trend value of any water quality information is greater than the corresponding change threshold, the first channel connected to the tee is controlled to be closed, the second channel is opened, the water recovery sub-pipeline is opened, and the sub-pipeline for the water to be treated is closed; If the fusion change trend is greater than the preset fusion trend, the first channel connected to the tee is controlled to be closed, the second channel is controlled to be opened, the water recovery sub-pipeline is controlled to be closed, and the sub-pipeline for the water to be treated is controlled to be opened; If the fusion change trend is smaller than the preset fusion trend, the first channel in the three-way connection is controlled to be opened and the second channel is controlled to be closed.
4. The remote intelligent water meter control system with a pre-filter detection module according to claim 3 is characterized in that: receiving a usage scenario input by a user, and selecting a secondary allocation threshold corresponding to the current usage scenario according to the usage scenario; Acquiring a variety of water quality information in the water storage tank to be treated to obtain water quality information to be treated; If the to-be-processed water quality information is greater than the secondary distribution threshold, the first to-be-processed sub-pipeline is opened and the second to-be-processed sub-pipeline is closed; If the to-be-processed water quality information is less than or equal to the secondary distribution threshold, the first to-be-processed sub-pipeline is closed and the second to-be-processed sub-pipeline is opened.
