A water quality detection device for water supply pipeline

By using a telescopic mechanism and data processing module in the water quality detection device for water supply pipelines, the optimal height is determined according to the changes in water quality data of different heights, timely monitoring and feedback of water quality is achieved, and the hysteresis problem caused by fixed height detection is solved, and the improvement of the improvement of the hysteresis problem is achieved. Timely feedback effect of abnormal water pipes.

CN118817991BActive Publication Date: 2025-01-03HEBEI TIANCHENG XINKONG INTELLIGENT INSTRUMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411303089.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2025-01-03
Estimated Expiration
2044-09-19

AI Technical Summary

Technical Problem

In the existing water quality detection devices for water supply pipelines, fixed-height detection methods can only detect pollution after a certain degree of flow, resulting in lag in the detection results and the abnormal water pipe cannot be reported in time.

Method used

A water quality detection device including a detection probe, a detector body, a telescopic mechanism and a data processing module is designed. Through the tentative detection and retraction process, the optimal height is determined according to the changes in water quality data of different telescopic heights, and the telescopic mechanism is used to determine the optimal height according to the changes in water quality data of different telescopic heights, and the telescopic mechanism is used to determine the optimal height. The data processing module realizes timely collection and analysis of water quality data and improves detection efficiency.

Benefits of technology

It effectively eliminates the lag of the test results, improves the timely feedback effect of water pipe abnormalities, can timely monitor changes in water quality, and improves the efficiency of water quality detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118817991B_ABST
    Figure CN118817991B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of water quality detection and sampling, and specifically to a water quality detection device for water supply pipelines. It includes a detection probe and a detector body, the detection probe and the detector body are connected by a mounting rod, the detection probe is inserted into the water supply pipeline to collect water quality data, the detector body is used to analyze and store water quality data, and obtain water quality detection results, and also includes a telescopic mechanism and a data processing module. One end of the telescopic mechanism is connected to the detection probe, and the other end is connected to the mounting rod, so that the detection probe can be inserted into the pipeline based on different telescopic heights to obtain water quality data at different telescopic heights; the data processing module is located inside the detector body, and determines the optimal height of the telescopic mechanism at the current moment according to the changes in water quality data at different telescopic heights at different times. The embodiment of the present invention can effectively eliminate the hysteresis of the detection result and improve the timely feedback effect of water pipe abnormalities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of water quality detection and sampling, and in particular to a water quality detection device for a water supply pipeline. Background Art

[0002] Water supply pipelines refer to pipeline systems used to transport water resources to users' homes or industrial water points. Since the water use of such pipelines is related to the safety of drinking water, it is necessary to test relevant data such as the pH value, microbial concentration, and the content of metal elements Ca, Mg, and Fe in the water quality.

[0003] There are certain differences in water quality for different purposes in different regions. The test results depend on the location of water quality sampling in the pipeline. If the water quality location for testing cannot represent the actual water quality of the entire pipeline water supply, the test results will be inconsistent with the actual results, thus affecting the safety of water use.

[0004] In the related art, such as CN212644267U, a probe is installed in the device to detect relevant indicators in the water quality. However, due to pipeline corrosion or possible microbial film, there are large differences in water quality at different positions in the pipeline. If water quality detection is achieved according to the traditional fixed position of the probe in the pipeline and water quality detection is performed at a fixed height, only pollution after a certain degree of flow can be detected. The detection result has a lag, and the timely feedback effect on water pipe abnormalities is poor. Summary of the invention

[0005] In order to solve the technical problems that the related art uses a fixed height to detect water quality, can only detect the pollution after a certain degree of flow, the detection result has a lag, and the timely feedback effect of water pipe abnormality is poor, the present invention provides a water quality detection device for water supply pipelines, and the technical scheme adopted is as follows:

[0006] The present invention proposes a water quality detection device for a water supply pipeline, comprising a detection probe and a detection instrument body, wherein the detection probe and the detection instrument body are connected via a mounting rod, the detection probe is inserted into the water supply pipeline to collect water quality data, the detection instrument body is used to analyze and store the water quality data, and obtain water quality detection results, and further comprises a telescopic mechanism and a data processing module;

[0007] One end of the telescopic mechanism is connected to the detection probe, and the other end is connected to the mounting rod. The telescopic mechanism is used to perform telescopic processing, so that the detection probe can be inserted into the pipeline based on different telescopic heights to obtain water quality data at different telescopic heights;

[0008] The data processing module is located inside the detector body and is used to obtain the water quality data stored in the detector body and determine the optimal height of the telescopic mechanism at the current moment according to the changes in water quality data at different telescopic heights at different moments;

[0009] The telescopic process includes a tentative detection process and a retraction process, and the optimal height of the telescopic mechanism at the current moment is determined according to the changes in water quality data at different telescopic heights at different moments, including:

[0010] During the tentative detection process, the telescopic height is periodically adjusted from low to high to obtain water quality data at different telescopic heights at different times; according to the changes in water quality data at all times at the same telescopic height during the same tentative detection process, the water quality fluctuation index of each telescopic height is determined; and the optimal height is determined according to the water quality fluctuation index;

[0011] The method further includes: determining whether a retraction process is required based on the optimal height and the water flow speed; and when a retraction process is required, controlling the telescopic mechanism to lower the telescopic height to the optimal height.

[0012] Further, determining the optimal height according to the water quality fluctuation index includes:

[0013] The telescopic height at which the water quality fluctuation index value is the largest is taken as the optimal height.

[0014] Furthermore, the data processing module is also used to determine the update time of the tentative detection process according to the fluctuation of the water quality data at the optimal height.

[0015] Further, the updating time of the tentative detection process is determined according to the fluctuation of the water quality data at the optimal height, including:

[0016] Obtain water quality data for a preset number of consecutive collection moments before the current moment at the optimal height as analysis data for the current moment;

[0017] The data fluctuation discreteness index of all the analysis data is calculated, and when the data fluctuation discreteness index is less than or equal to a preset index threshold, the next moment after the current moment is determined as the update moment of the tentative detection process.

[0018] Furthermore, it also includes a tightness control device, which is connected to the telescopic mechanism and is used to fix the telescopic mechanism after the telescopic mechanism is highly telescoped.

[0019] Furthermore, the water quality fluctuation index at each telescopic height is determined according to the change of water quality data at all times at the same telescopic height during the same tentative detection process, including:

[0020] The standard deviation and mean of the water quality data at all times at the same telescopic height are calculated, and the product of the standard deviation and the mean is used as the water quality fluctuation index at the corresponding height.

[0021] Furthermore, the detection probe further includes a flow meter for determining the water flow velocity at the current moment, and the step of determining whether a retraction process is required based on the optimal height and the water flow velocity includes:

[0022] Whether a retraction process is required is determined based on the difference between the water quality fluctuation index at the highest telescopic height and the optimal height and the water flow rate.

[0023] Further, the step of determining whether a retraction process is required based on the difference between the water quality fluctuation index at the highest telescopic height and the optimal height and the water flow velocity includes:

[0024] Calculate the absolute value of the difference between the water quality fluctuation index at the highest telescopic height and the optimal height as the target fluctuation difference value;

[0025] Normalizing the product of the target fluctuation difference value and the water flow velocity as a retraction judgment index;

[0026] When the retraction judgment index is greater than a preset difference threshold, it is determined that a retraction process needs to be performed; otherwise, it is determined that a retraction process does not need to be performed.

[0027] Furthermore, the method for collecting water quality data includes:

[0028] Obtain the metal element content index and turbidity in the water body, and use the average of the metal element content index and turbidity as water quality data.

[0029] Furthermore, during the tentative detection process, the telescopic height is adjusted from low to high every 1 minute, and during the tentative detection process, every 2 seconds is used as a sampling moment to obtain water quality data at the sampling moment.

[0030] The present invention has the following beneficial effects:

[0031] The present invention provides a telescopic mechanism and a data processing module. The telescopic mechanism can be used to assist the detection probe in telescoping to different heights, thereby collecting water quality data at different telescopic heights. The data processing module is used to realize water quality analysis. According to the changes in water quality data at different telescopic heights at different times, the optimal height of the telescopic mechanism at the current moment is determined, and the telescopic mechanism is adjusted according to the optimal height, so that abnormal conditions of the water pipe can be fed back in time. In the process of analyzing the optimal height, the telescopic height is periodically adjusted from low to high to obtain water quality data at different times at different telescopic heights; the water quality fluctuation index of each telescopic height is determined according to the changes in the water quality data at all times at the same telescopic height during the same tentative detection process; the optimal height is determined in combination with the water quality fluctuation indexes at different telescopic heights; when determining the optimal height, the telescopic height is periodically adjusted from low to high, so that the water quality data at different heights can be periodically detected, and the water quality fluctuation index can be calculated to determine the optimal height with greater attention. Data collection from the optimal height can effectively realize timely monitoring of water quality. By setting the judgment situation and combining the water flow rate to judge whether a rollback process is needed, the water quality detection efficiency is also further improved. In summary, the embodiments of the present invention can effectively eliminate the hysteresis of the detection results and improve the timely feedback effect of water pipe abnormalities. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 A first structural diagram of a water quality detection device for a water supply pipeline provided by an embodiment of the present invention;

[0034] Figure 2 A second structural diagram of a water quality detection device for a water supply pipeline provided by an embodiment of the present invention;

[0035] Figure 3 A schematic diagram of the structure of a data processing module provided by an embodiment of the present invention;

[0036] The numbers in the figure are:

[0037] 1. Tube body; 2. Detector body; 3. Detection probe; 4. Screw; 5. Mounting rod; 6. Threaded ring; 7. Waterproof cover; 8. Connecting rod; 9. Limiting slide rod; 10. Connecting plate; 11. Spring; 12. Clamping rod; 13. Pressing rod; 14. Connecting ring; 15. Sealing ring; 16. Telescopic mechanism; 17. Tightness control device; 18. Calculation module; 19. Instruction module; 20. Data processing module. DETAILED DESCRIPTION

[0038] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation, structure, features and effects of a water quality detection device for water supply pipelines proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0039] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0040] The specific scheme of the water quality detection device for water supply pipeline provided by the present invention is described in detail below with reference to the accompanying drawings.

[0041] See also Figure 1 and Figure 2 , Figure 1 A first structural diagram of a water quality detection device for a water supply pipeline provided by an embodiment of the present invention, Figure 2 The second structural diagram of a water quality detection device for water supply pipes provided by an embodiment of the present invention includes: pipe body 1; detector body 2; detection probe 3; screw rod 4; mounting rod 5; threaded ring 6; waterproof cover 7; connecting rod 8; limit slide rod 9; connecting plate 10; spring 11; clamping rod 12; pressing rod 13; connecting ring 14; sealing ring 15; telescopic mechanism 16, tightness control device 17 and data processing module 20. Figure 1 and Figure 2 In view of the different heights of the detection probe 3, it is characterized that a certain height adjustment has been made.

[0042] The detection probe and the detector body are connected by a mounting rod, the detection probe is inserted into the water supply pipe to collect water quality data, and the detector body is used to analyze and store water quality data to obtain water quality test results, and also includes a telescopic mechanism and a data processing module;

[0043] One end of the telescopic mechanism is connected to the detection probe, and the other end is connected to the mounting rod. The telescopic mechanism is used to perform telescopic processing, so that the detection probe can be inserted into the pipeline based on different telescopic heights to obtain water quality data at different telescopic heights.

[0044] Furthermore, in some embodiments of the present invention, the method for collecting water quality data includes: obtaining a metal element content index and turbidity in the water body, and taking the average of the metal element content index and the turbidity as the water quality data.

[0045] In other words, the larger the value of the water quality data, the greater the degree of pollution. Of course, water quality data can also include test results of other dimensions, such as microbial content, etc., and there is no restriction on this.

[0046] The embodiment of the present invention supports multi-dimensional water quality analysis effects. It should be noted that when performing specific water quality analysis, the maximum and minimum values ​​of the data in each dimension can be normalized to eliminate the impact of the dimension and facilitate the objectivity of subsequent analysis.

[0047] It should be noted that due to the influence of pipe corrosion, microbial film and other factors in the water pipes, the water quality of water bodies at different heights may vary greatly. This difference effect is caused by this section of the water pipe. After a certain degree of flow, it will be evenly distributed to all water bodies, and the water in the pipe will eventually flow to the same usage scenario.

[0048] During the detection process, it is necessary to focus on the height area with larger abnormalities, so as to conduct a specific analysis of the pipeline problem. However, using a fixed height for water quality detection can only detect the pollution after a certain degree of flow, and the timely feedback effect on water pipe abnormalities is poor. Therefore, in the embodiment of the present invention, a telescopic mechanism is configured, including a telescopic probe, to detect the water quality at different heights, and the optimal height that needs to be focused on is determined through a data processing module, so as to adjust to the optimal height for water quality detection, which can reflect the abnormal pollution situation of the corresponding water pipe more quickly and improve the overall timely feedback effect.

[0049] Among them, the telescopic process includes a tentative detection process and a retraction process. The tentative detection process is a process of tentatively detecting different telescopic heights for analyzing all telescopic heights, and the retraction process is a process of controlling the telescopic mechanism to retract to the optimal height after the optimal height is detected.

[0050] The specific calculation and analysis process of the optimal height is analyzed by the data processing module. Specifically, see Figure 3 , Figure 3This is a schematic diagram of the structure of a data processing module provided by an embodiment of the present invention. The data processing module may include a calculation module 18 and an instruction module 19. The calculation module is used to calculate the optimal height, and the instruction module is used to generate a height adjustment instruction.

[0051] In some embodiments of the present invention, the data processing module is further used to determine the update time of the tentative detection process according to the fluctuation of the water quality data at the optimal height.

[0052] The update time is the starting time of the tentative detection process. The update time can be determined by analyzing the fluctuation of the water quality data at the optimal height to determine whether to update.

[0053] It should be noted that the embodiment of the present invention is intended to analyze the telescopic height for water bodies with large pollution and large fluctuations. When the water quality fluctuation decreases, the effect of continuing data collection and analysis will also decrease. Therefore, when the water quality data fluctuation is low, the update time can be determined, and the tentative detection process can be restarted at the update time to improve the overall data collection effect.

[0054] Furthermore, in some embodiments of the present invention, the update time of the tentative detection process is determined according to the fluctuation of water quality data at the optimal height, including: obtaining water quality data of a preset number of consecutive collection moments before the current moment at the optimal height as analysis data at the current moment; calculating the data fluctuation discrete index of all analysis data, and when the data fluctuation discrete index is less than or equal to a preset index threshold, determining the next moment after the current moment as the update time of the tentative detection process.

[0055] That is to say, in the embodiment of the present invention, water quality data of a preset number of consecutive collection moments before the current moment are determined as analysis data of time series local fluctuations, that is, analysis data at the current moment.

[0056] Among them, the preset number is the quantity information corresponding to the collection time, and the preset number can be adaptively adjusted according to influencing factors such as the water flow rate in the water pipe, the importance of water quality analysis, etc.

[0057] In an embodiment of the present invention, the preset number can be specifically 20, for example, that is, the water quality data of 20 consecutive collection moments before the current moment at the optimal height is used as the analysis data at the current moment. In the case of collecting water quality data every 2 seconds, the water quality data of 40 seconds before the current moment is collected as the analysis data at the current moment.

[0058] Among them, the data fluctuation discreteness index is the indicator information of the discrete characteristics of water quality data fluctuation. The discreteness analysis process is well known to technical personnel in this field. Variance can be used as the data fluctuation discreteness index, or standard deviation can be used as the data fluctuation discreteness index, without limitation.

[0059] Among them, the preset indicator threshold is the threshold value of the data fluctuation discreteness indicator. In the embodiment of the present invention, the preset indicator threshold can be specifically 0.4. For example, when the numerical variance of the water quality data 40 seconds before the current moment is less than 0.4, it is determined that the water quality data at the current moment has a low reference significance, and the current moment is used as the update moment to start repeating the tentative detection process.

[0060] It should be noted that the exploratory detection process is a short-duration process. In comparison, the specific water quality analysis process after the retraction process may be a very long-duration process. That is to say, through a shorter-duration exploratory detection, the optimal height is determined, and long-term continuous detection is carried out based on the optimal height.

[0061] In the embodiment of the present invention, the telescopic height can be divided into different telescopic levels, that is, the telescopic height can be set to four levels of 0.5 cm, 1 cm, 1.5 cm and 2 cm. Of course, multiple other different telescopic height levels can also be set according to actual detection conditions to achieve periodic adjustment.

[0062] Furthermore, in some embodiments of the present invention, during the tentative detection process, the telescopic height is adjusted from low to high every 1 minute, and during the tentative detection process, every 2 seconds is used as a sampling moment to obtain water quality data at the sampling moment.

[0063] That is to say, in the embodiment of the present invention, the periodic adjustment can be specifically as follows: at the starting moment, the telescopic height is first adjusted to 0.5 cm, and then, water quality data is sampled once every 2 seconds for 1 minute, and then the telescopic height is adjusted to 1 cm, and water quality data at the 1 cm position is collected once every 2 seconds for another 1 minute, and the telescopic height is adjusted to 1.5 cm until all telescopic heights are traversed, and the maximum telescopic height is reached and water quality data is collected 1 minute later as the end moment, and the time period from the starting moment to the end moment is used as a tentative detection process.

[0064] It should be noted that the data processing module is located inside the detector body. After determining the tentative detection process, the data processing module determines the optimal height of the telescopic mechanism at the current moment according to the changes in water quality data at different telescopic heights at different moments, and then performs the retraction process.

[0065] In the embodiment of the present invention, the optimal height of the telescopic mechanism at the current moment is determined according to the change of water quality data at different telescopic heights at different moments, including:

[0066] During the exploratory detection process, the telescopic height is periodically adjusted from low to high to obtain water quality data at different telescopic heights at different times; based on the changes in water quality data at all times at the same telescopic height during the same exploratory detection process, the water quality fluctuation index at each telescopic height is determined; and the optimal height is determined based on the water quality fluctuation index.

[0067] The embodiment of the present invention also includes a tightness control device, which is connected to the telescopic mechanism and is used to fix the telescopic mechanism after the telescopic mechanism is highly telescoped. The fixing process is to prevent the telescopic mechanism from continuously shaking and increase the stability of the telescopic mechanism. At the same time, a sealing ring can also be set on the tightness control device to isolate water and prevent water from invading other mechanisms.

[0068] The water quality fluctuation index is specifically analyzed, and the water quality fluctuation index of each telescopic height is determined according to the changes in water quality data at all times at the same telescopic height during the same tentative detection process, including: calculating the standard deviation and mean of the water quality data at all times at the same telescopic height, and taking the product of the standard deviation and the mean as the water quality fluctuation index of the corresponding height.

[0069] That is to say, in the embodiment of the present invention, by determining the standard deviation and the mean as the calculation data of the water quality fluctuation index, the product of the standard deviation and the mean is used as the water quality fluctuation index at the corresponding height. The larger the standard deviation, the greater the fluctuation of the water quality data, and the larger the mean, the greater the water pollution. Combining the above data, the water quality fluctuation index is obtained, and the water quality fluctuation index can characterize the fluctuation amplitude and pollution of water quality.

[0070] If the water quality changes frequently at the same telescopic height, it means that the water quality at this telescopic height is significantly disturbed. For example, increased microbial activity, abnormal water supply pipes, etc., lead to significant changes in the tested water quality data. Compared with stable water quality, this significantly changing water quality is more likely to show abnormal water quality, so it is more necessary to test the water quality at this telescopic height.

[0071] In the embodiment of the present invention, whether a retraction process is required is determined according to water quality fluctuation indicators and water flow velocities at different telescopic heights; when a retraction process is required, the telescopic mechanism is controlled to lower the telescopic height to an optimal height.

[0072] It should be noted that since the overall retraction process still takes time, in order to ensure the overall detection effect and avoid fatigue damage to the monitoring device caused by unnecessary expansion and contraction, the embodiment of the present invention can set a judgment process to determine whether the retraction process is required.

[0073] Furthermore, in some embodiments of the present invention, the detection probe also includes a flow meter for determining the water flow velocity at the current moment, and determining whether a retraction process is needed based on the optimal height and the water flow velocity, including: determining whether a retraction process is needed based on the difference in water quality fluctuation indicators at the highest telescopic height and the optimal height and the water flow velocity.

[0074] In other words, since the water quality fluctuation index represents the amplitude of water quality fluctuation and pollution situation, the larger the value of the water quality fluctuation index, the greater the water quality fluctuation and the overall pollution. Therefore, it is necessary to pay special attention to it and take it as the optimal height.

[0075] Furthermore, in some embodiments of the present invention, whether a retraction process is needed is determined based on the difference in water quality fluctuation index at the highest telescopic height and the optimal height and the water flow velocity, including: calculating the absolute value of the difference between the water quality fluctuation index at the highest telescopic height and the optimal height as the target fluctuation difference value; normalizing the product of the target fluctuation difference value and the water flow velocity as a retraction judgment index; when the retraction judgment index is greater than a preset difference threshold, determining that a retraction process is needed; otherwise, determining that a retraction process is not needed.

[0076] Among them, when the numerical difference between the water quality fluctuation index at the highest telescopic height and the water quality fluctuation index at the optimal height is small, it is possible that due to the calculation statistical error, the water quality is consistent, so it is unnecessary to perform the retraction process. The greater the water flow rate, the greater the pressure on the detection probe. At this time, if it stays at the highest telescopic height for too long, it will cause damage to the probe itself. Therefore, the retraction process is required.

[0077] Therefore, in the embodiment of the present invention, the product of the target fluctuation difference value and the water flow velocity is calculated and normalized as a retraction judgment index. The larger the value of the retraction judgment index is, the more a retraction operation is needed. Therefore, in the embodiment of the present invention, a preset difference threshold is set to represent the threshold value of the retraction judgment index, and when the retraction judgment index is greater than the preset difference threshold, it is determined that a retraction process is needed; when the retraction judgment index is less than or equal to the preset difference threshold, it is determined that a retraction process is not needed.

[0078] The value of the preset difference threshold may be, for example, 0.2, which is not limited.

[0079] In the embodiment of the present invention, the detector body can generate a height adjustment instruction based on the optimal height, and the telescopic mechanism adjusts the telescopic height to the optimal height in response to the height adjustment instruction.

[0080] Among them, the height adjustment instruction is the instruction information for adjusting the telescopic height of the telescopic mechanism. When it is determined that the optimal height in the height adjustment instruction is the highest telescopic height, the detection of the highest height is directly maintained. When it is determined that the optimal height in the height adjustment instruction is not the highest telescopic height, it is necessary to execute the retraction process to reduce the telescopic height to the optimal height.

[0081] The present invention provides a telescopic mechanism and a data processing module. The telescopic mechanism can be used to assist the detection probe in telescoping to different heights, thereby collecting water quality data at different telescopic heights. The data processing module is used to realize water quality analysis. According to the changes in water quality data at different telescopic heights at different times, the optimal height of the telescopic mechanism at the current moment is determined, and the telescopic mechanism is adjusted according to the optimal height, so that abnormal conditions of the water pipe can be fed back in time. In the process of analyzing the optimal height, the telescopic height is periodically adjusted from low to high to obtain water quality data at different times at different telescopic heights; the water quality fluctuation index of each telescopic height is determined according to the changes in the water quality data at all times at the same telescopic height during the same tentative detection process; the optimal height is determined in combination with the water quality fluctuation indexes at different telescopic heights; when determining the optimal height, the telescopic height is periodically adjusted from low to high, so that the water quality data at different heights can be periodically detected, and the water quality fluctuation index can be calculated to determine the optimal height with greater attention. Data collection from the optimal height can effectively realize timely monitoring of water quality. By setting the judgment situation and combining the water flow rate to judge whether a rollback process is needed, the water quality detection efficiency is also further improved. In summary, the embodiments of the present invention can effectively eliminate the hysteresis of the detection results and improve the timely feedback effect of water pipe abnormalities.

[0082] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0083] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A water quality detection device for a water supply pipeline, comprising a detection probe and a detector body, wherein the detection probe and the detector body are connected via a mounting rod, the detection probe is inserted into the water supply pipeline to collect water quality data, and the detector body is used to analyze and store the water quality data to obtain water quality detection results, characterized in that: It also includes a telescopic mechanism and a data processing module; One end of the telescopic mechanism is connected to the detection probe, and the other end is connected to the mounting rod. The telescopic mechanism is used to perform telescopic processing, so that the detection probe can be inserted into the pipeline based on different telescopic heights to obtain water quality data at different telescopic heights; The data processing module is located inside the detector body and is used to obtain the water quality data stored in the detector body and determine the optimal height of the telescopic mechanism at the current moment according to the changes in water quality data at different telescopic heights at different moments; The telescopic process includes a tentative detection process and a retraction process, and the optimal height of the telescopic mechanism at the current moment is determined according to the changes in water quality data at different telescopic heights at different moments, including: During the tentative detection process, the telescopic height is periodically adjusted from low to high to obtain water quality data at different telescopic heights at different times; according to the changes in water quality data at all times at the same telescopic height during the same tentative detection process, the water quality fluctuation index of each telescopic height is determined; and the optimal height is determined according to the water quality fluctuation index; The method further includes: determining whether a retraction process is required according to the optimal height and the water flow speed; and when a retraction process is required, controlling the telescopic mechanism to reduce the telescopic height to the optimal height; The data processing module is also used to determine the update time of the tentative detection process according to the fluctuation of the water quality data at the optimal height; Determining the update time of the tentative detection process according to the fluctuation of the water quality data at the optimal height includes: Obtain water quality data for a preset number of consecutive collection moments before the current moment at the optimal height as analysis data for the current moment; Calculating the data fluctuation discreteness index of all the analyzed data, and when the data fluctuation discreteness index is less than or equal to a preset index threshold, determining the next moment after the current moment as the update moment of the tentative detection process; The detection probe further includes a flow meter for determining the water flow velocity at the current moment. The step of determining whether a retraction process is required based on the optimal height and the water flow velocity includes: Determining whether a retraction process is required according to the difference between the water quality fluctuation index at the highest telescopic height and the optimal height and the water flow velocity; The step of determining whether a retraction process is required based on the difference between the water quality fluctuation index at the highest telescopic height and the optimal height and the water flow velocity comprises: Calculate the absolute value of the difference between the water quality fluctuation index at the highest telescopic height and the optimal height as the target fluctuation difference value; Normalizing the product of the target fluctuation difference value and the water flow velocity as a retraction judgment index; When the retraction judgment index is greater than a preset difference threshold, it is determined that a retraction process needs to be performed; otherwise, it is determined that a retraction process does not need to be performed.

2. A water quality detection device for water supply pipelines as claimed in claim 1, characterized in that: Determining the optimal height according to the water quality fluctuation index includes: The telescopic height at which the water quality fluctuation index value is the largest is taken as the optimal height.

3. A water quality detection device for water supply pipelines as claimed in claim 1, characterized in that: It also includes a tightness control device, which is connected to the telescopic mechanism and is used to fix the telescopic mechanism after the telescopic mechanism is highly telescoped.

4. A water quality detection device for water supply pipelines as claimed in claim 1, characterized in that: The water quality fluctuation index for each telescopic height is determined according to the change of water quality data at all times at the same telescopic height during the same tentative detection process, including: The standard deviation and mean of the water quality data at all times at the same telescopic height are calculated, and the product of the standard deviation and the mean is used as the water quality fluctuation index at the corresponding height.

5. A water quality detection device for water supply pipelines as claimed in claim 1, characterized in that: The method for collecting water quality data comprises: Obtain the metal element content index and turbidity in the water body, and use the average of the metal element content index and turbidity as water quality data.

6. A water quality detection device for water supply pipelines as claimed in claim 1, characterized in that: During the tentative detection process, the telescopic height is adjusted from low to high every 1 minute. During the tentative detection process, every 2 seconds is used as a sampling moment to obtain water quality data at the sampling moment.