WO2019019709A1 - Method for detecting water leakage of tap water pipe - Google Patents

Method for detecting water leakage of tap water pipe Download PDF

Info

Publication number
WO2019019709A1
WO2019019709A1 PCT/CN2018/083481 CN2018083481W WO2019019709A1 WO 2019019709 A1 WO2019019709 A1 WO 2019019709A1 CN 2018083481 W CN2018083481 W CN 2018083481W WO 2019019709 A1 WO2019019709 A1 WO 2019019709A1
Authority
WO
WIPO (PCT)
Prior art keywords
leakage
discriminant
point
label
data
Prior art date
Application number
PCT/CN2018/083481
Other languages
French (fr)
Chinese (zh)
Inventor
刘晓葳
肖龙源
李稀敏
蔡振华
Original Assignee
厦门快商通科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 厦门快商通科技股份有限公司 filed Critical 厦门快商通科技股份有限公司
Priority to JP2020514313A priority Critical patent/JP6872077B2/en
Publication of WO2019019709A1 publication Critical patent/WO2019019709A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2413Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
    • G06F18/24147Distances to closest patterns, e.g. nearest neighbour classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • G06F18/24155Bayesian classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/24323Tree-organised classifiers

Definitions

  • the invention relates to the field of data processing methods for monitoring or predicting purposes, in particular to a water pipe leak detecting method based on multi-dimensional acoustic wave feature analysis, machine learning and voting method.
  • artificial hearing leakage is also the main application of pipeline maintenance method. It requires nighttime patrol line and electronic equipment to listen to pipeline sounds. The labor cost is high, and the judgment result is greatly affected by the service level of the hearing personnel. The corresponding training cost is also high,
  • the second is the pipeline data analysis method.
  • Some methods for online analysis of water flow and sound waves of wall sensors such as some companies collecting signal data of pipeline sound waves, according to the returned signals.
  • the content is manually step-by-step to convert the array, decompose the signal, manually review the waveform diagram, such as interpreting the frequency domain map, finding the frequency corresponding to the peak value, and judging whether the monitored pipeline leaks water
  • the method specifically uses the acoustic wave feature to identify the pipeline Whether water leakage is generally used to decompose the signal into the time domain and the frequency domain by fast Fourier transform or wavelet transform, trying to obtain "the sound data of the leaky pipeline exhibits some characteristics different from the non-leakage data in the time/frequency domain”
  • the rules are essentially classification problems or anomaly detection problems, but their efficiency and accuracy are not high.
  • the model is discriminated by using the time series of the value of the signal or the abnormal feature of the original signal, and the method of manually adjusting the model parameters before each discrimination is essentially a semi-manual classification, and finally concludes whether or not the water leaks.
  • the method of manually adjusting the model parameters before each discrimination is essentially a semi-manual classification, and finally concludes whether or not the water leaks.
  • subjectively set thresholds and analysis lengths are analyzed one by one, and the results are summarized.
  • the semi-manual methods for missing defects include: first, lack of objective unified model criteria; second, at each discriminant Still need a lot of human participation; third, subjective impact accuracy.
  • the inventors have proposed a water pipe leak detection method with high work efficiency and high precision.
  • the present invention provides a water pipe leakage detection method for real-time comprehensive and intelligent analysis of pipeline acoustic wave data, detecting pipeline leakage, and simplifying existing data analysis methods, improving data analysis accuracy and work efficiency. High, precision can be continuously improved through self-learning.
  • a tap water leak detection method includes the following steps:
  • the sound wave data includes three fields of time, place and signal;
  • the discriminant feature library is placed in the leak classifier to calculate the point-by-point judgment result of leaking/non-leakage;
  • the step S2 specifically includes the following steps:
  • the step S3 specifically includes the following steps:
  • the statistical features include mean, variance, and standard deviation.
  • the signal characteristics include its multi-order autocorrelation function, the statistics of the autocorrelation function, and the statistics of the training array on the frequency domain. The frequency value corresponding to the highest amplitude;
  • the step S5 specifically includes the following steps:
  • the plurality of pieces of data having the same place label are combined into a data set, and the time stamp is set according to the time field data set, and then the data set is arranged in chronological order;
  • the step S5 further includes the following steps:
  • the pipeline represented by the triad classification is judged as water leakage, and the value is given as a water leakage probability
  • the pipeline represented by the triad classification is judged to be non-leakage, and the value is given as a non-leakage probability.
  • step S56 if the probability discriminant value is less than the preset threshold, it may also be determined according to the timing, and the specific steps are as follows:
  • the triad is classified into a post-statistical group and a pre-group, and the ratio of the number of the leak-proof labels to the total number of the point-by-point discriminative labels included in the pre-group and the post-group is calculated, and the pre-group and the post-group are obtained.
  • Probability discriminant value
  • the timing discriminant value is greater than a preset threshold, the discriminating result is a water leakage, and the threshold value is given as a water leakage probability;
  • the timing discriminant value is less than the preset threshold, the discriminating result is non-leakage, and the threshold is given as a non-leakage probability.
  • the sound wave data is a short time series having a length of 256.
  • the method further includes the step S6. determining whether the pipeline point is leaking according to the final judgment result, and repeating the steps S1-S2 after determining the water leakage, continuously constructing a new training feature database and a new water leakage classifier for the newly acquired sound wave data for self-learning. Update the water leakage classifier to determine the water leakage and output the judgment result.
  • the beneficial effects of the present invention are: establishing a training feature library suitable for classification according to the known leaked/non-leaked sample data, training the training feature library to generate a water leakage classifier, and then detecting according to the unknown leak/leakage.
  • the data establishes a discriminant feature library for discriminating, and the discriminant feature library is placed in the classifier.
  • discriminating the point-by-point judging result can be generated, and a discriminant rule tree combining the time series information and processing the sample imbalance problem can be generated.
  • the judgment result is output, thereby realizing the determination and alarm of the pipeline leakage condition based on the analysis of the acoustic wave data.
  • the method is characterized by: classification for the purpose, strong scalability, strong resistance to other factors such as the environment, the leaking classifier used can update the data and reset, and it is continuously improved in the analysis practice, and the accuracy is tested.
  • Real-time comprehensive objective and intelligent collection of comment content in text content can be realized to quickly adapt to different situations of different pipelines, and simplify existing data analysis methods and improve the accuracy of data analysis.
  • a tap water leakage detecting method of the present invention comprises the following steps:
  • the sound wave data is a short time series, and the length thereof is 256; the sampling frequency of these sound wave signals is generally 10 kHz, and the conversion mode is generally binary number transfer. It is a decimal number; the data source used to construct the training feature database of the algorithm must be the acoustic wave data from the acoustic wave sensor installed on the outer wall of the pipeline, and the data should be marked by field inspection, that is, marked as leak/no leak, so It satisfies the ability to establish a classifier and discriminate new data.
  • the data generally includes three fields: time, place and signal;
  • the step S2 specifically includes the following steps:
  • the signal characteristics of each sound wave data calculated, including: calculating the autocorrelation function sequence Where k represents the order of the autocorrelation function sought; the sum of the sequences of autocorrelation functions The mean of the autocorrelation function sequence: And the standard deviation of the autocorrelation function sequence
  • the step S3 specifically includes the following steps:
  • the statistical features include mean, variance, and standard deviation.
  • the signal characteristics include its multi-order autocorrelation function, the statistics of the autocorrelation function, and the statistics of the training array on the frequency domain. The frequency value corresponding to the highest amplitude;
  • the discriminant feature library is placed in the leak classifier to calculate the point-by-point judgment result of leaking/non-leakage;
  • the step S5 specifically includes the following steps:
  • the plurality of pieces of data having the same place label are combined into a data set, and the time stamp is set according to the time field data set, and then the data set is arranged in chronological order;
  • the pipeline represented by the triad classification is judged as water leakage, and the value is given as a water leakage probability
  • the pipeline represented by the triad classification is judged to be non-leakage, and the value is given as a non-leakage probability.
  • step S56 if the probability discriminant value is less than the preset threshold, it may also be determined according to the timing, and the specific steps are as follows:
  • the triad is classified into a post-statistical group and a pre-group, and the ratio of the number of the leak-proof label "1" to the total number of the point-by-point discriminative labels included in the pre-group and the post-group is calculated, and the pre-group is obtained. And the probability value of the latter group;
  • the timing discriminant value is greater than a preset threshold, the discriminating result is a water leakage, and the threshold value is given as a water leakage probability;
  • the timing discriminant value is less than the preset threshold, the discriminating result is non-leakage, and the threshold is given as a non-leakage probability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Probability & Statistics with Applications (AREA)
  • Examining Or Testing Airtightness (AREA)

Abstract

Disclosed is a method for detecting water leakage of a tap water pipe, comprising the following steps: S1, acquiring marked leakage/no leakage sample sound wave data; S2, generating a training feature library according to sample data, using an integration model to train the training feature library, and generating a water leakage classifier; S3, generating a discrimination feature library according to detection data; S4, placing the discrimination feature library in the water leakage classifier to carry out measurement and calculation, and generating point-by-point determination results for water leakage/no water leakage; and S5, classifying the point-by-point determination results according to collection points of the sound wave data, establishing time labels and position labels for discrimination arrays, generating a discrimination rule tree in conjunction with the point-by-point determination results, the time labels and the position labels, carrying out voting according to the discrimination rule tree, and generating a final determination result, wherein the final determination result comprises leakage or no leakage and a probability respectively corresponding thereto. The present invention analyzes pipe sound wave data in real time, thereby simplifying the existing data analysis mode, and improving the accuracy of data analysis, such that the work efficiency is high, and the precision can be continuously improved by means of self-learning.

Description

一种自来水管漏水检测方法Tap water leakage detection method 技术领域Technical field
本发明涉及用于监督或预测目的的数据处理方法领域,特别是一种基于多维声波特征分析、机器学习和投票法的自来水管漏水检测方法。The invention relates to the field of data processing methods for monitoring or predicting purposes, in particular to a water pipe leak detecting method based on multi-dimensional acoustic wave feature analysis, machine learning and voting method.
背景技术Background technique
每个城市都布设有复杂的自来水管网,自来水管道漏水问题也一直困扰着城市建设者,为了及时检修自来水管,需要经常性检修,目前主要采用以下方法:Each city is equipped with a complicated water pipe network. The water leakage problem of the water pipe has also plagued urban builders. In order to timely repair the water pipes, frequent maintenance is required. At present, the following methods are mainly used:
一是人工听漏,也是主要应用的管道检修方法,其需要夜间定时巡线,用电子设备听取管道声音,人力耗费较高,同时判断结果受听漏人员业务水平影响较大,相应培训成本亦高,First, artificial hearing leakage is also the main application of pipeline maintenance method. It requires nighttime patrol line and electronic equipment to listen to pipeline sounds. The labor cost is high, and the judgment result is greatly affected by the service level of the hearing personnel. The corresponding training cost is also high,
二是管道数据分析方法,随着硬件技术的不断发展,目前已有一些管壁传感器水流、声波等类型数据做在线分析的方法,如某些企业搜集管道声波的信号数据以后,根据返回的信号内容进行人工分步转换数组、分解信号,人工审查波形图,如解读频域图,找出峰值对应的频率高低,并以此判断所监测的管道是否漏水,该方法具体是利用声波特征判别管道是否漏水,一般是用快速傅里叶变换或小波变换将信号分解至时间域、频率域,试图得到“漏水管道的声波数据在时/频域上呈现出某种不同于非漏水数据的特征”的规则,本质上是分类问题或异常检测问题,但其效率与准确性、自动化水平均不高。The second is the pipeline data analysis method. With the continuous development of hardware technology, there are some methods for online analysis of water flow and sound waves of wall sensors, such as some companies collecting signal data of pipeline sound waves, according to the returned signals. The content is manually step-by-step to convert the array, decompose the signal, manually review the waveform diagram, such as interpreting the frequency domain map, finding the frequency corresponding to the peak value, and judging whether the monitored pipeline leaks water, the method specifically uses the acoustic wave feature to identify the pipeline Whether water leakage is generally used to decompose the signal into the time domain and the frequency domain by fast Fourier transform or wavelet transform, trying to obtain "the sound data of the leaky pipeline exhibits some characteristics different from the non-leakage data in the time/frequency domain" The rules are essentially classification problems or anomaly detection problems, but their efficiency and accuracy are not high.
总之,通过人工逐点听漏至方法或者逐条阅读波形,判断此波形代表的管道属于漏水或非漏水方法都存在严重弊端,在数据量大的情况下,仅凭人工参与造成重复劳动和低效率,分类缺乏系统性和一致性,没有充分利用数 据自有规律,导致人力消耗成本高,难以形成大规模、及时的判断。In short, by manually leaking the method to the method or reading the waveform one by one, it is a serious drawback to judge whether the pipeline represented by this waveform belongs to the leaking or non-leakage method. In the case of a large amount of data, labor alone is used to cause duplication of labor and inefficiency. The classification lacks systematicity and consistency, and does not make full use of the data self-regulation, resulting in high human consumption costs, and it is difficult to form large-scale and timely judgments.
现有技术中还有利用信号的值时间序列或捕捉原始信号的异常特征进行模型判别,每次判别前人工调节模型参数的方式,本质上属于半人工归类,最后得出是否漏水的结论。例如,通过主观设定好的阈值和分析长度进行逐条分析,统计归纳结果,然而,半人工方式对判漏的缺陷包括:第一、缺乏客观统一的模型标准;第二、在每次判别时仍需要大量人力参与;第三,主观性影响精度。In the prior art, the model is discriminated by using the time series of the value of the signal or the abnormal feature of the original signal, and the method of manually adjusting the model parameters before each discrimination is essentially a semi-manual classification, and finally concludes whether or not the water leaks. For example, subjectively set thresholds and analysis lengths are analyzed one by one, and the results are summarized. However, the semi-manual methods for missing defects include: first, lack of objective unified model criteria; second, at each discriminant Still need a lot of human participation; third, subjective impact accuracy.
有鉴于此,本发明人提出一种工作效率高,精度高的自来水管漏水检测方法。In view of this, the inventors have proposed a water pipe leak detection method with high work efficiency and high precision.
发明内容Summary of the invention
本发明为解决上述问题,提供了一种自来水管漏水检测方法,用于实时全面智能的分析管道声波数据,检测管道泄漏,且简化现有的数据分析方式,提高数据分析的准确性,工作效率高,精度能通过自学习不断提升。In order to solve the above problems, the present invention provides a water pipe leakage detection method for real-time comprehensive and intelligent analysis of pipeline acoustic wave data, detecting pipeline leakage, and simplifying existing data analysis methods, improving data analysis accuracy and work efficiency. High, precision can be continuously improved through self-learning.
为实现上述目的,本发明采用的技术方案为:In order to achieve the above object, the technical solution adopted by the present invention is:
一种自来水管漏水检测方法,包括以下步骤:A tap water leak detection method includes the following steps:
S1.获取自来水管已标注漏/不漏的声波数据作为样本数据,所述声波数据包含时间、地点及信号三个字段;S1. Acquiring the sound wave data of the water pipe marked with leak/non-leakage as sample data, the sound wave data includes three fields of time, place and signal;
S2.依据样本数据生成训练特征库,采用集成模型来训练该训练特征库,生成漏水分类器;S2. generating a training feature library according to the sample data, and using the integrated model to train the training feature database to generate a water leakage classifier;
S3.获取自来水管未知漏/不漏的声波数据作为检测数据,依据检测数据生成判别特征库;S3. Acquiring the sound data of the leaking/non-leakage of the water pipe as the detection data, and generating the discriminant feature library according to the detected data;
S4.将判别特征库置入漏水分类器中测算,生成漏水/非漏水的逐点判断结果;S4. The discriminant feature library is placed in the leak classifier to calculate the point-by-point judgment result of leaking/non-leakage;
S5.将所述逐点判断结果按照声波数据的收集点分类,并对判别数组建立时间标签和地点标签,结合所述逐点判断结果及所述时间标签和地点标签生成判别规则树,按照判别规则树做投票,生成最终判断结果,最终判断结果包括漏或非漏及其分别对应的概率。S5. classifying the point-by-point judgment result according to the collection point of the sound wave data, and establishing a time label and a place label for the discriminant array, and generating a discriminant rule tree according to the point-by-point judgment result and the time label and the location label, according to the discrimination The rule tree votes to generate the final judgment result, and the final judgment result includes the leakage or non-leakage and their respective corresponding probabilities.
所述步骤S2具体包括以下步骤:The step S2 specifically includes the following steps:
S21.将样本数据转换为漏/不漏训练数组;S21. Convert the sample data into a leak/leak training array;
S22.计算所述训练数组信号字段的统计特征,统计特征包括均值、方差、标准差;S22. Calculating a statistical feature of the training array signal field, where the statistical features include a mean, a variance, and a standard deviation;
S23.计算所述训练数组信号字段的信号特征,信号特征包括其多阶自相关函数、自相关函数的统计量以及训练数组在频率域上的统计量和幅值最高处对应的频率值;S23. Calculating a signal characteristic of the training array signal field, where the signal characteristic includes a multi-level autocorrelation function, a statistic of the autocorrelation function, and a statistic and a frequency value corresponding to the highest amplitude of the training array in the frequency domain;
S24.将统计特征、信号特征及其对应的漏水/非漏水标注构建为所述训练数组的训练特征库;S24. Constructing a statistical feature, a signal feature, and a corresponding leak/non-leakage annotation as a training feature library of the training array;
S25.用集成了罗吉斯回归、支持向量机、随机森林、最近邻点法、朴素贝叶斯五种分类模型的集成模型预训练该训练特征库;S25. Pre-training the training feature library with an integrated model integrating Logis regression, support vector machine, random forest, nearest neighbor method, and naive Bayesian classification model;
S26.以均方误差降低量为指标判断所述训练特征库中的特征重要性是否满足预设阈值,选取满足预设阈值的特征构建成漏水分类器。S26. Determine whether the feature importance in the training feature database satisfies a preset threshold by using the mean square error reduction amount as an index, and select a feature that meets the preset threshold to construct a water leakage classifier.
所述步骤S3具体包括以下步骤:The step S3 specifically includes the following steps:
S31.将检测数据转换为判别数组;S31. Converting the detection data into a discriminant array;
S32.计算判别数组信号字段的统计特征和信号特征,统计特征包括均值、方差、标准差,信号特征包括其多阶自相关函数、自相关函数的统计量以及训练数组在频率域上的统计量和幅值最高处对应的频率值;S32. Calculate the statistical characteristics and signal characteristics of the discriminant array signal field. The statistical features include mean, variance, and standard deviation. The signal characteristics include its multi-order autocorrelation function, the statistics of the autocorrelation function, and the statistics of the training array on the frequency domain. The frequency value corresponding to the highest amplitude;
S33.根据判别数组的特征构建判别特征库。S33. Construct a discriminant feature library according to the characteristics of the discriminant array.
所述步骤S5具体为包括以下步骤:The step S5 specifically includes the following steps:
S51.根据判别数组中标识时间和地点的字段,建立对应的时间标签和地点标签;S51. Establish a corresponding time label and a place label according to the field identifying the time and the location in the array;
S52.根据所述判别数组,逐条提取其时间标签和地点标签;S52. Extracting the time label and the location label one by one according to the discriminant array;
S53.按照所述时间标签和地点标签建立标签集,将同一收集地点的若干条数据,贴同一地点标签;S53. Establish a label set according to the time label and the location label, and paste a plurality of pieces of data of the same collection place with the same place label;
S54.将具有所述同一地点标签的若干条数据组成数据集,根据时间字段数据集中数据贴时间标签,然后将数据集按照时间顺序排列;S54. The plurality of pieces of data having the same place label are combined into a data set, and the time stamp is set according to the time field data set, and then the data set is arranged in chronological order;
S55.将所述逐点判别的漏水/非漏水结果匹配地点标签与时间标签,确定一条唯一数据,并赋予该数据漏水/非漏水判断结果作为逐点判别标签,生成由三元组{地点标签、时间标签、逐点判别标签}构成的判别节点,根据判别节点构建判别规则树。S55. Matching the point-by-point discriminating water leakage/non-leakage result to the location label and the time label, determining a unique data, and assigning the data leakage/non-leakage determination result as a point-by-point discriminating label, generating a triad {location label The discriminant node formed by the time stamp and the point-by-point discriminant label constructs a discriminant rule tree based on the discriminant node.
所述步骤S5还包括以下步骤:The step S5 further includes the following steps:
S56.按照所述地点标签将所述三元组分类,对每一相同地点标签类下所包含的三元组,计算其逐点判别标签为漏水标签的个数与总数之比,得到概率判别值;S56. Classify the triples according to the location label, and calculate a ratio of the number of the leaky labels to the total number of the triplet included in each of the same location label categories to obtain a probability discrimination. value;
判断所述概率判别值与预设阈值的大小关系;Determining a magnitude relationship between the probability discriminant value and a preset threshold;
若所述概率判别值大于预设阈值,则该所述三元组分类代表的管道被判断为漏水,并给出此值为漏水概率;If the probability discriminant value is greater than a preset threshold, the pipeline represented by the triad classification is judged as water leakage, and the value is given as a water leakage probability;
若所述概率判别值小于预设阈值,则该所述三元组分类代表的管道被判断为非漏水,并给出此值为非漏水概率。If the probability discriminant value is less than a preset threshold, the pipeline represented by the triad classification is judged to be non-leakage, and the value is given as a non-leakage probability.
所述步骤S56中,若所述概率判别值小于预设阈值,则还可按照时序判别,其具体步骤如下:In the step S56, if the probability discriminant value is less than the preset threshold, it may also be determined according to the timing, and the specific steps are as follows:
按照所述地点标签将所述三元组分类,对每一相同地点标签类下所包含的三元组,按照时间标签,寻找时间中点;Sorting the triples according to the location label, and searching for a triple point according to a time stamp for each triplet included in the label class of the same location;
按照所述时间中点对三元组分类为统计后组和前组,分别计算前组与后组中所包含逐点判别标签为漏水标签的个数与总数之比,得到前组和后组的概率判别值;According to the midpoint of the time, the triad is classified into a post-statistical group and a pre-group, and the ratio of the number of the leak-proof labels to the total number of the point-by-point discriminative labels included in the pre-group and the post-group is calculated, and the pre-group and the post-group are obtained. Probability discriminant value;
计算所述前组的概率判别值和后组的概率判别值之比,得到时序判别值;Calculating a ratio of the probability discriminant value of the previous group and the probability discriminant value of the latter group to obtain a timing discriminant value;
比较所述时序判别值和预设阈值;Comparing the timing discriminant value with a preset threshold;
若所述时序判别值大于预设阈值,则判别结果为漏水,给出此阈值为漏水概率;If the timing discriminant value is greater than a preset threshold, the discriminating result is a water leakage, and the threshold value is given as a water leakage probability;
若所述时序判别值小于预设阈值,则判别结果为非漏水,给出此阈值为非漏水概率。If the timing discriminant value is less than the preset threshold, the discriminating result is non-leakage, and the threshold is given as a non-leakage probability.
所述声波数据为一个短时间序列,其长度为256。The sound wave data is a short time series having a length of 256.
还包括步骤S6.根据最终判断结果实地确定该管线点是否漏水,确定漏水则重复步骤S1-S2,不断的将新获取的声波数据构建新的训练特征库和新的漏水分类器,以自主学习更新漏水分类器,确定不漏水则输出该判断结果。The method further includes the step S6. determining whether the pipeline point is leaking according to the final judgment result, and repeating the steps S1-S2 after determining the water leakage, continuously constructing a new training feature database and a new water leakage classifier for the newly acquired sound wave data for self-learning. Update the water leakage classifier to determine the water leakage and output the judgment result.
采用上述技术方案后,本发明的有益效果是:根据已知漏/不漏的样本数据建立适合分类的训练特征库,有训练特征库训练生成漏水分类器,再根据未知漏/不漏的检测数据建立用于判别的判别特征库,将判别特征库置入分类器,在判别时,既能生成所述逐点判断结果,同时能生成结合时序信息、处理样本不平衡问题的判别规则树,最终输出判断结果,从而实现根据分析声波数据来对管道漏水状况做判定和报警。方法特点在于:以分类为目的,具有强扩展性,对环境等其他因素的耐抗性强,所用漏水分类器可以更新数据并重新设置,其在分析实践中不断完善生成,精确度经过检验,可以实现实 时全面客观智能的收集文本内容中的评论内容,以迅速适应不同管线的不同情况,且简化现有的数据分析方式,提高数据分析的准确性。After adopting the above technical solution, the beneficial effects of the present invention are: establishing a training feature library suitable for classification according to the known leaked/non-leaked sample data, training the training feature library to generate a water leakage classifier, and then detecting according to the unknown leak/leakage. The data establishes a discriminant feature library for discriminating, and the discriminant feature library is placed in the classifier. When discriminating, the point-by-point judging result can be generated, and a discriminant rule tree combining the time series information and processing the sample imbalance problem can be generated. Finally, the judgment result is output, thereby realizing the determination and alarm of the pipeline leakage condition based on the analysis of the acoustic wave data. The method is characterized by: classification for the purpose, strong scalability, strong resistance to other factors such as the environment, the leaking classifier used can update the data and reset, and it is continuously improved in the analysis practice, and the accuracy is tested. Real-time comprehensive objective and intelligent collection of comment content in text content can be realized to quickly adapt to different situations of different pipelines, and simplify existing data analysis methods and improve the accuracy of data analysis.
具体实施方式Detailed ways
为了使本发明所要解决的技术问题、技术方案及有益效果更加清楚、明白,以下结合实施例对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the technical problems, technical solutions and beneficial effects of the present invention more clear and clear, the present invention will be further described in detail below with reference to the embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明的一种自来水管漏水检测方法,其包括以下步骤:A tap water leakage detecting method of the present invention comprises the following steps:
S1.获取自来水管已标注漏/不漏的声波数据作为样本数据,所述声波数据为一个短时间序列,其长度为256;这些声波信号的采样频率一般为10kHz,转换方式一般是二进制数转为十进制数;用于构建本算法训练特征库的数据源,必须是来源于装置于管道外壁的声波传感器的声波数据,同时数据要经过实地考察确定标注,即标注为漏/不漏,如此才满足后续建立分类器、判别新数据的能力,这些数据一般包含时间、地点及信号三个字段;S1. Acquiring the sound wave data of the tap water pipe marked with leak/non-leakage as sample data, the sound wave data is a short time series, and the length thereof is 256; the sampling frequency of these sound wave signals is generally 10 kHz, and the conversion mode is generally binary number transfer. It is a decimal number; the data source used to construct the training feature database of the algorithm must be the acoustic wave data from the acoustic wave sensor installed on the outer wall of the pipeline, and the data should be marked by field inspection, that is, marked as leak/no leak, so It satisfies the ability to establish a classifier and discriminate new data. The data generally includes three fields: time, place and signal;
S2.依据样本数据生成训练特征库,采用集成模型来训练该训练特征库,生成漏水分类器;S2. generating a training feature library according to the sample data, and using the integrated model to train the training feature database to generate a water leakage classifier;
所述步骤S2具体包括以下步骤:The step S2 specifically includes the following steps:
S21.将样本数据转换为漏/不漏训练数组;S21. Convert the sample data into a leak/leak training array;
S22.计算所述训练数组信号字段的统计特征,统计特征包括均值、方差、标准差,均值和标准差计算公式如下;S22. Calculating a statistical feature of the training array signal field, the statistical features including mean, variance, standard deviation, and the mean and standard deviation calculation formula are as follows;
均值:
Figure PCTCN2018083481-appb-000001
其中,n为每一条声波数据记录中,信号数组对应的长度,一般有n=128,x i代表信号数组的第i个数值;标准差:
Figure PCTCN2018083481-appb-000002
Mean:
Figure PCTCN2018083481-appb-000001
Where n is the length of the signal array in each sound wave data record, generally n=128, x i represents the ith value of the signal array; standard deviation:
Figure PCTCN2018083481-appb-000002
S23.计算所述训练数组信号字段的信号特征,信号特征包括其多阶自相 关函数、自相关函数的统计量以及训练数组在频率域上的统计量和幅值最高处对应的频率值;S23. Calculating a signal characteristic of the training array signal field, where the signal characteristic includes a multi-level self-correlation function, a statistic of the autocorrelation function, and a statistic and a frequency value corresponding to the highest amplitude of the training array in the frequency domain;
所计算每条声波数据的信号特征,包括:计算自相关函数序列
Figure PCTCN2018083481-appb-000003
其中k代表所求自相关函数的阶数;自相关函数序列之和
Figure PCTCN2018083481-appb-000004
自相关函数序列的均值:
Figure PCTCN2018083481-appb-000005
以及自相关函数序列的标准差
Figure PCTCN2018083481-appb-000006
The signal characteristics of each sound wave data calculated, including: calculating the autocorrelation function sequence
Figure PCTCN2018083481-appb-000003
Where k represents the order of the autocorrelation function sought; the sum of the sequences of autocorrelation functions
Figure PCTCN2018083481-appb-000004
The mean of the autocorrelation function sequence:
Figure PCTCN2018083481-appb-000005
And the standard deviation of the autocorrelation function sequence
Figure PCTCN2018083481-appb-000006
S24.将统计特征、信号特征及其对应的漏水/非漏水标注构建为所述训练数组的训练特征库;S24. Constructing a statistical feature, a signal feature, and a corresponding leak/non-leakage annotation as a training feature library of the training array;
S25.用集成了罗吉斯回归、支持向量机、随机森林、最近邻点法、朴素贝叶斯五种分类模型的集成分类器预训练该训练特征库;S25. Pre-training the training feature library with an integrated classifier integrated with Logis regression, support vector machine, random forest, nearest neighbor method, and naive Bayesian classification model;
S26.,计算训练特征库的各个特征在进入模型后带来的平均InMSE(均方误差降低量,Increase in MSE),以均方误差降低量为指标判断所述训练特征库中的特征重要性是否满足预设阈值,选取满足预设阈值的特征构建成漏水分类器。S26. Calculate the average InMSE (Increase in MSE) of each feature of the training feature database after entering the model, and determine the importance of the feature in the training feature database by using the mean square error reduction as an index. Whether the preset threshold is met, and the feature that meets the preset threshold is selected to be constructed as a water leakage classifier.
S3.获取自来水管未知漏/不漏的声波数据作为检测数据,依据检测数据生成判别特征库;S3. Acquiring the sound data of the leaking/non-leakage of the water pipe as the detection data, and generating the discriminant feature library according to the detected data;
所述步骤S3具体包括以下步骤:The step S3 specifically includes the following steps:
S31.将检测数据转换为判别数组;S31. Converting the detection data into a discriminant array;
S32.计算判别数组信号字段的统计特征和信号特征,统计特征包括均值、方差、标准差,信号特征包括其多阶自相关函数、自相关函数的统计量以及训练数组在频率域上的统计量和幅值最高处对应的频率值;S32. Calculate the statistical characteristics and signal characteristics of the discriminant array signal field. The statistical features include mean, variance, and standard deviation. The signal characteristics include its multi-order autocorrelation function, the statistics of the autocorrelation function, and the statistics of the training array on the frequency domain. The frequency value corresponding to the highest amplitude;
S33.根据判别数组的特征构建判别特征库。S33. Construct a discriminant feature library according to the characteristics of the discriminant array.
S4.将判别特征库置入漏水分类器中测算,生成漏水/非漏水的逐点判断结果;S4. The discriminant feature library is placed in the leak classifier to calculate the point-by-point judgment result of leaking/non-leakage;
S5.将所述逐点判断结果按照声波数据的收集点分类,并对判别数组建立时间标签和地点标签,结合所述逐点判断结果及所述时间标签和地点标签生成判别规则树,按照判别规则树做投票,生成最终判断结果,最终判断结果包括漏或非漏及其分别对应的概率;S5. classifying the point-by-point judgment result according to the collection point of the sound wave data, and establishing a time label and a place label for the discriminant array, and generating a discriminant rule tree according to the point-by-point judgment result and the time label and the location label, according to the discrimination The rule tree makes a vote, and the final judgment result is generated, and the final judgment result includes a leak or a non-leakage and a corresponding probability thereof;
S6.根据最终判断结果实地确定该管线点是否漏水,确定漏水则重复步骤S1-S2,不断的将新获取的声波数据构建新的训练特征库和新的漏水分类器,以自主学习更新漏水分类器,确定不漏水则输出该判断结果。S6. Determine whether the pipeline point leaks according to the final judgment result, and repeat steps S1-S2 to determine the water leakage, and continuously construct a new training feature database and a new water leakage classifier for the newly acquired sound wave data to self-learn and update the water leakage classification. If it is determined that there is no water leakage, the judgment result is output.
所述步骤S5具体为包括以下步骤:The step S5 specifically includes the following steps:
S51.根据判别数组中标识时间和地点的字段,建立对应的时间标签和地点标签;S51. Establish a corresponding time label and a place label according to the field identifying the time and the location in the array;
S52.根据所述判别数组,逐条提取其时间标签和地点标签;S52. Extracting the time label and the location label one by one according to the discriminant array;
S53.按照所述时间标签和地点标签建立标签集,将同一收集地点的若干条数据,贴同一地点标签;S53. Establish a label set according to the time label and the location label, and paste a plurality of pieces of data of the same collection place with the same place label;
S54.将具有所述同一地点标签的若干条数据组成数据集,根据时间字段数据集中数据贴时间标签,然后将数据集按照时间顺序排列;S54. The plurality of pieces of data having the same place label are combined into a data set, and the time stamp is set according to the time field data set, and then the data set is arranged in chronological order;
S55.将所述逐点判别的漏水/非漏水结果匹配地点标签与时间标签,确定一条唯一数据,并赋予该数据漏水/非漏水判断结果作为逐点判别标签,其中,所述逐点判别标签采用“0/1”标签,包括漏水标签“1”和不漏水标签“0”,“0”代表判断为不漏水,“1”代表判断为漏水,生成由三元组{地点标签、时间标签、逐点判别标签}构成的判别节点,根据判别节点构建判别规则树;S55. Matching the point-by-point discriminating water leakage/non-leakage result to the location label and the time label, determining a unique data, and assigning the data leakage/non-leakage determination result as a point-by-point discriminating label, wherein the point-by-point discriminating label The "0/1" label is used, including the leaky label "1" and the watertight label "0". The "0" means that it is judged as watertight, and the "1" means that it is judged to be leaking, and the triplet {place label, time stamp is generated. a discriminating node formed by a point-by-point discriminating label}, and constructing a discriminating rule tree according to the discriminating node;
S56.按照所述地点标签将所述三元组分类,对每一相同地点标签类下所包含的三元组,计算其逐点判别标签为漏水标签“1”的个数与总数之比,得到概率判别值;S56. Classify the triad according to the location label, and calculate a ratio of the number of the leaky label "1" to the total number of the triads included in each of the same location label categories. Obtain a probability discriminant value;
判断所述概率判别值与预设阈值的大小关系;Determining a magnitude relationship between the probability discriminant value and a preset threshold;
若所述概率判别值大于预设阈值,则该所述三元组分类代表的管道被判断为漏水,并给出此值为漏水概率;If the probability discriminant value is greater than a preset threshold, the pipeline represented by the triad classification is judged as water leakage, and the value is given as a water leakage probability;
若所述概率判别值小于预设阈值,则该所述三元组分类代表的管道被判断为非漏水,并给出此值为非漏水概率。If the probability discriminant value is less than a preset threshold, the pipeline represented by the triad classification is judged to be non-leakage, and the value is given as a non-leakage probability.
所述步骤S56中,若所述概率判别值小于预设阈值,则还可按照时序判别,其具体步骤如下:In the step S56, if the probability discriminant value is less than the preset threshold, it may also be determined according to the timing, and the specific steps are as follows:
按照所述地点标签将所述三元组分类,对每一相同地点标签类下所包含的三元组,按照时间标签,寻找时间中点;Sorting the triples according to the location label, and searching for a triple point according to a time stamp for each triplet included in the label class of the same location;
按照所述时间中点对三元组分类为统计后组和前组,分别计算前组与后组中所包含逐点判别标签为漏水标签“1”的个数与总数之比,得到前组和后组的概率判别值;According to the midpoint of the time, the triad is classified into a post-statistical group and a pre-group, and the ratio of the number of the leak-proof label "1" to the total number of the point-by-point discriminative labels included in the pre-group and the post-group is calculated, and the pre-group is obtained. And the probability value of the latter group;
计算所述前组的概率判别值和后组的概率判别值之比,得到时序判别值;Calculating a ratio of the probability discriminant value of the previous group and the probability discriminant value of the latter group to obtain a timing discriminant value;
比较所述时序判别值和预设阈值;Comparing the timing discriminant value with a preset threshold;
若所述时序判别值大于预设阈值,则判别结果为漏水,给出此阈值为漏水概率;If the timing discriminant value is greater than a preset threshold, the discriminating result is a water leakage, and the threshold value is given as a water leakage probability;
若所述时序判别值小于预设阈值,则判别结果为非漏水,给出此阈值为非漏水概率。If the timing discriminant value is less than the preset threshold, the discriminating result is non-leakage, and the threshold is given as a non-leakage probability.
上述说明示出并描述了本发明的优选实施例,应当理解本发明并非局限于本文所披露的形式,不应看作是对其他实施例的排除,而可用于各种其他 组合、修改和环境,并能够在本文发明构想范围内,通过上述教导或相关领域的技术或知识进行改动。而本领域人员所进行的改动和变化不脱离本发明的精神和范围,则都应在本发明所附权利要求的保护范围内。The above description shows and describes the preferred embodiments of the present invention. It is to be understood that the invention is not to be construed as being limited to the details disclosed herein. And modifications can be made by the above teachings or related art or knowledge within the scope of the inventive concept. All changes and modifications made by those skilled in the art are intended to be within the scope of the appended claims.

Claims (8)

  1. 一种自来水管漏水检测方法,其特征在于,包括以下步骤:A tap water leakage detecting method, characterized in that the method comprises the following steps:
    S1.获取自来水管已标注漏/不漏的声波数据作为样本数据,所述声波数据包含时间、地点及信号三个字段;S1. Acquiring the sound wave data of the water pipe marked with leak/non-leakage as sample data, the sound wave data includes three fields of time, place and signal;
    S2.依据样本数据生成训练特征库,采用集成模型来训练该训练特征库,生成漏水分类器;S2. generating a training feature library according to the sample data, and using the integrated model to train the training feature database to generate a water leakage classifier;
    S3.获取自来水管未知漏/不漏的声波数据作为检测数据,依据检测数据生成判别特征库;S3. Acquiring the sound data of the leaking/non-leakage of the water pipe as the detection data, and generating the discriminant feature library according to the detected data;
    S4.将判别特征库置入漏水分类器中测算,生成漏水/非漏水的逐点判断结果;S4. The discriminant feature library is placed in the leak classifier to calculate the point-by-point judgment result of leaking/non-leakage;
    S5.将所述逐点判断结果按照声波数据的收集点分类,并对判别数组建立时间标签和地点标签,结合所述逐点判断结果及所述时间标签和地点标签生成判别规则树,按照判别规则树做投票,生成最终判断结果,最终判断结果包括漏或非漏及其分别对应的概率。S5. classifying the point-by-point judgment result according to the collection point of the sound wave data, and establishing a time label and a place label for the discriminant array, and generating a discriminant rule tree according to the point-by-point judgment result and the time label and the location label, according to the discrimination The rule tree votes to generate the final judgment result, and the final judgment result includes the leakage or non-leakage and their respective corresponding probabilities.
  2. 如权利要求1所述的一种自来水管漏水检测方法,其特征在于:所述步骤S2具体包括以下步骤:The method for detecting water leakage of a water pipe according to claim 1, wherein the step S2 comprises the following steps:
    S21.将样本数据转换为漏/不漏训练数组;S21. Convert the sample data into a leak/leak training array;
    S22.计算所述训练数组信号字段的统计特征,统计特征包括均值、方差、标准差;S22. Calculating a statistical feature of the training array signal field, where the statistical features include a mean, a variance, and a standard deviation;
    S23.计算所述训练数组信号字段的信号特征,信号特征包括其多阶自相关函数、自相关函数的统计量以及训练数组在频率域上的统计量和幅值最高处对应的频率值;S23. Calculating a signal characteristic of the training array signal field, where the signal characteristic includes a multi-level autocorrelation function, a statistic of the autocorrelation function, and a statistic and a frequency value corresponding to the highest amplitude of the training array in the frequency domain;
    S24.将统计特征、信号特征及其对应的漏水/非漏水标注构建为所述训练数组的训练特征库;S24. Constructing a statistical feature, a signal feature, and a corresponding leak/non-leakage annotation as a training feature library of the training array;
    S25.用集成了罗吉斯回归、支持向量机、随机森林、最近邻点法、朴素贝叶斯五种分类模型的集成模型预训练该训练特征库;S25. Pre-training the training feature library with an integrated model integrating Logis regression, support vector machine, random forest, nearest neighbor method, and naive Bayesian classification model;
    S26.以均方误差降低量为指标判断所述训练特征库中的特征重要性是否满足预设阈值,选取满足预设阈值的特征构建成漏水分类器。S26. Determine whether the feature importance in the training feature database satisfies a preset threshold by using the mean square error reduction amount as an index, and select a feature that meets the preset threshold to construct a water leakage classifier.
  3. 如权利要求1所述的一种自来水管漏水检测方法,其特征在于:所述步骤S3具体包括以下步骤:The method for detecting water leakage in a water pipe according to claim 1, wherein the step S3 comprises the following steps:
    S31.将检测数据转换为判别数组;S31. Converting the detection data into a discriminant array;
    S32.计算判别数组信号字段的统计特征和信号特征,统计特征包括均值、方差、标准差,信号特征包括其多阶自相关函数、自相关函数的统计量以及训练数组在频率域上的统计量和幅值最高处对应的频率值;S32. Calculate the statistical characteristics and signal characteristics of the discriminant array signal field. The statistical features include mean, variance, and standard deviation. The signal characteristics include its multi-order autocorrelation function, the statistics of the autocorrelation function, and the statistics of the training array on the frequency domain. The frequency value corresponding to the highest amplitude;
    S33.根据判别数组的特征构建判别特征库。S33. Construct a discriminant feature library according to the characteristics of the discriminant array.
  4. 如权利要求1所述的一种自来水管漏水检测方法,其特征在于:所述步骤S5具体为包括以下步骤:The method for detecting water leakage of a water pipe according to claim 1, wherein the step S5 comprises the following steps:
    S51.根据判别数组中标识时间和地点的字段,建立对应的时间标签和地点标签;S51. Establish a corresponding time label and a place label according to the field identifying the time and the location in the array;
    S52.根据所述判别数组,逐条提取其时间标签和地点标签;S52. Extracting the time label and the location label one by one according to the discriminant array;
    S53.按照所述时间标签和地点标签建立标签集,将同一收集地点的若干条数据,贴同一地点标签;S53. Establish a label set according to the time label and the location label, and paste a plurality of pieces of data of the same collection place with the same place label;
    S54.将具有所述同一地点标签的若干条数据组成数据集,根据时间字段数据集中数据贴时间标签,然后将数据集按照时间顺序排列;S54. The plurality of pieces of data having the same place label are combined into a data set, and the time stamp is set according to the time field data set, and then the data set is arranged in chronological order;
    S55.将所述逐点判别的漏水/非漏水结果匹配地点标签与时间标签,确定一条唯一数据,并赋予该数据漏水/非漏水判断结果作为逐点判别标签,生成由三元组{地点标签、时间标签、逐点判别标签}构成的判别节点,根据判别 节点构建判别规则树。S55. Matching the point-by-point discriminating water leakage/non-leakage result to the location label and the time label, determining a unique data, and assigning the data leakage/non-leakage determination result as a point-by-point discriminating label, generating a triad {location label The discriminant node formed by the time stamp and the point-by-point discriminant label constructs a discriminant rule tree based on the discriminant node.
  5. 如权利要求4所述的一种自来水管漏水检测方法,其特征在于:所述步骤S5还包括以下步骤:The method for detecting water leakage of a water pipe according to claim 4, wherein the step S5 further comprises the following steps:
    S56.按照所述地点标签将所述三元组分类,对每一相同地点标签类下所包含的三元组,计算其逐点判别标签为漏水标签的个数与总数之比,得到概率判别值;S56. Classify the triples according to the location label, and calculate a ratio of the number of the leaky labels to the total number of the triplet included in each of the same location label categories to obtain a probability discrimination. value;
    判断所述概率判别值与预设阈值的大小关系;Determining a magnitude relationship between the probability discriminant value and a preset threshold;
    若所述概率判别值大于预设阈值,则该所述三元组分类代表的管道被判断为漏水,并给出此值为漏水概率;If the probability discriminant value is greater than a preset threshold, the pipeline represented by the triad classification is judged as water leakage, and the value is given as a water leakage probability;
    若所述概率判别值小于预设阈值,则该所述三元组分类代表的管道被判断为非漏水,并给出此值为非漏水概率。If the probability discriminant value is less than a preset threshold, the pipeline represented by the triad classification is judged to be non-leakage, and the value is given as a non-leakage probability.
  6. 如权利要求5所述的一种自来水管漏水检测方法,其特征在于:所述步骤S56中,若所述概率判别值小于预设阈值,则还可按照时序判别,其具体步骤如下:The tap water leakage detecting method according to claim 5, wherein in the step S56, if the probability discriminating value is smaller than a preset threshold, the step may be determined according to the timing, and the specific steps are as follows:
    按照所述地点标签将所述三元组分类,对每一相同地点标签类下所包含的三元组,按照时间标签,寻找时间中点;Sorting the triples according to the location label, and searching for a triple point according to a time stamp for each triplet included in the label class of the same location;
    按照所述时间中点对三元组分类为统计后组和前组,分别计算前组与后组中所包含逐点判别标签为漏水标签的个数与总数之比,得到前组和后组的概率判别值;According to the midpoint of the time, the triad is classified into a post-statistical group and a pre-group, and the ratio of the number of the leak-proof labels to the total number of the point-by-point discriminative labels included in the pre-group and the post-group is calculated, and the pre-group and the post-group are obtained. Probability discriminant value;
    计算所述前组的概率判别值和后组的概率判别值之比,得到时序判别值;Calculating a ratio of the probability discriminant value of the previous group and the probability discriminant value of the latter group to obtain a timing discriminant value;
    比较所述时序判别值和预设阈值;Comparing the timing discriminant value with a preset threshold;
    若所述时序判别值大于预设阈值,则判别结果为漏水,给出此阈值为漏水概率;If the timing discriminant value is greater than a preset threshold, the discriminating result is a water leakage, and the threshold value is given as a water leakage probability;
    若所述时序判别值小于预设阈值,则判别结果为非漏水,给出此阈值为非漏水概率。If the timing discriminant value is less than the preset threshold, the discriminating result is non-leakage, and the threshold is given as a non-leakage probability.
  7. 如权利要求1所述的一种自来水管漏水检测方法,其特征在于:所述声波数据为一个短时间序列,其长度为256。A method for detecting water leakage in a water pipe according to claim 1, wherein said sound wave data is a short time series having a length of 256.
  8. 如权利要求1至7任一项所述的一种自来水管漏水检测方法,其特征在于:还包括步骤S6.根据最终判断结果实地确定该管线点是否漏水,确定漏水则重复步骤S1-S2,不断的将新获取的声波数据构建新的训练特征库和新的漏水分类器,以自主学习更新漏水分类器,确定不漏水则输出该判断结果。The method for detecting water leakage of a water pipe according to any one of claims 1 to 7, further comprising the step S6. determining whether the pipeline point is leaking according to the final judgment result, and repeating the steps S1-S2 after determining the water leakage. The newly acquired sound wave data is continuously constructed into a new training feature library and a new water leakage classifier, and the water leakage classifier is updated by self-learning, and the judgment result is output when it is determined that the water is not leaking.
PCT/CN2018/083481 2017-07-24 2018-04-18 Method for detecting water leakage of tap water pipe WO2019019709A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020514313A JP6872077B2 (en) 2017-07-24 2018-04-18 Water pipe leak detection method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710606702.8A CN107480705B (en) 2017-07-24 2017-07-24 Tap water pipe water leakage detection method
CN201710606702.8 2017-07-24

Publications (1)

Publication Number Publication Date
WO2019019709A1 true WO2019019709A1 (en) 2019-01-31

Family

ID=60595963

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/083481 WO2019019709A1 (en) 2017-07-24 2018-04-18 Method for detecting water leakage of tap water pipe

Country Status (3)

Country Link
JP (1) JP6872077B2 (en)
CN (1) CN107480705B (en)
WO (1) WO2019019709A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993459A (en) * 2019-04-15 2019-07-09 安徽大学 A method for identifying water inrush sources in complex multi-aquifer mines
CN113191425A (en) * 2021-04-28 2021-07-30 上海核工程研究设计院有限公司 Method for establishing leakage point data model, leakage point identification method and identification device
CN113837213A (en) * 2020-06-24 2021-12-24 中国科学院沈阳自动化研究所 A Bayesian-based Multivariate Fusion and Water Leak Detection Method for Submersible Vehicles
CN114298174A (en) * 2021-12-14 2022-04-08 中国四联仪器仪表集团有限公司 Water supply abnormity identification method, system, electronic equipment and medium
CN114814140A (en) * 2022-04-22 2022-07-29 启盘科技发展(上海)有限公司 Method and system capable of realizing automatic matching of water sample and water sample analysis result
CN114904195A (en) * 2022-05-13 2022-08-16 常州机电职业技术学院 Fire early-warning and fire-extinguishing system based on large-space warehouse fire early-warning model
WO2024244556A1 (en) * 2023-05-30 2024-12-05 宁波东泰水务科技有限公司 Leakage detection method and system for water supply pipeline, and storage medium and smart terminal

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480705B (en) * 2017-07-24 2020-09-11 厦门快商通科技股份有限公司 Tap water pipe water leakage detection method
US12223396B2 (en) * 2018-03-28 2025-02-11 Fracta Processing data for predicting pipe failure
CN109284777B (en) * 2018-08-28 2021-09-28 内蒙古大学 Water supply pipeline leakage identification method based on signal time-frequency characteristics and support vector machine
CN109555977A (en) * 2018-11-23 2019-04-02 水联网技术服务中心(北京)有限公司 The equipment and recognition methods of leak noise measuring
CN109949826A (en) * 2019-03-15 2019-06-28 安徽工程大学 An intelligent monitoring system for toilet water leakage based on environmental sound recognition
CN111720755B (en) * 2020-04-15 2022-09-09 厦门矽创微电子科技有限公司 Household pipeline leakage detection positioning method and system
CN111915448B (en) * 2020-06-05 2023-06-23 广东泓铖新能源科技有限公司 Pipe network fault detection method, system and storage medium based on Internet of things
CN113720425B (en) * 2021-08-31 2024-09-20 福建蓝密码物联网科技有限公司 Water leakage monitoring method and system based on intelligent water meter
KR102687981B1 (en) * 2021-11-26 2024-07-26 주식회사 대림 A method of acquiring information about water leakage by wirelessly sensing the sound wave value of a pipe during test operation and actual operation of a building
KR102454925B1 (en) * 2022-03-28 2022-10-17 주식회사 위플랫 Apparatus for detecting water leakage and estimating water leakage point using artificial intelligence and method thereof
CN117272071B (en) * 2023-11-22 2024-02-13 武汉商启网络信息有限公司 Flow pipeline leakage early warning method and system based on artificial intelligence
CN119573992B (en) * 2025-02-07 2025-05-27 国网上海市电力公司 Photon counter-based water leakage monitoring method and system for valve hall of converter station

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196872A (en) * 2007-11-19 2008-06-11 清华大学 Leak detection and localization method based on pressure and acoustic wave information fusion
CN101319955A (en) * 2007-06-07 2008-12-10 北京昊科航科技有限责任公司 Method for extracting leakage of pipe monitored by infrasonic wave
CN106090630A (en) * 2016-06-16 2016-11-09 厦门数析信息科技有限公司 Fluid pipeline leak hunting method based on integrated classifier and system thereof
CN107480705A (en) * 2017-07-24 2017-12-15 厦门快商通科技股份有限公司 A kind of running water pipe leakage detection method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011046463A1 (en) * 2009-10-15 2011-04-21 Siemens Aktiengesellschaft Fluid pipe and method for detecting a deformation on the fluid pipe
CN106369288B (en) * 2016-08-31 2018-10-02 瀚沃环境技术(上海)有限公司 Water supply network leakage loss monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101319955A (en) * 2007-06-07 2008-12-10 北京昊科航科技有限责任公司 Method for extracting leakage of pipe monitored by infrasonic wave
CN101196872A (en) * 2007-11-19 2008-06-11 清华大学 Leak detection and localization method based on pressure and acoustic wave information fusion
CN106090630A (en) * 2016-06-16 2016-11-09 厦门数析信息科技有限公司 Fluid pipeline leak hunting method based on integrated classifier and system thereof
CN107480705A (en) * 2017-07-24 2017-12-15 厦门快商通科技股份有限公司 A kind of running water pipe leakage detection method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993459A (en) * 2019-04-15 2019-07-09 安徽大学 A method for identifying water inrush sources in complex multi-aquifer mines
CN109993459B (en) * 2019-04-15 2022-09-23 安徽大学 A method for identifying water inrush sources in complex multi-aquifer mines
CN113837213A (en) * 2020-06-24 2021-12-24 中国科学院沈阳自动化研究所 A Bayesian-based Multivariate Fusion and Water Leak Detection Method for Submersible Vehicles
CN113837213B (en) * 2020-06-24 2023-07-28 中国科学院沈阳自动化研究所 A Bayesian-based Multivariate Fusion and Water Leakage Detection Method for Deep Submersible
CN113191425A (en) * 2021-04-28 2021-07-30 上海核工程研究设计院有限公司 Method for establishing leakage point data model, leakage point identification method and identification device
CN114298174A (en) * 2021-12-14 2022-04-08 中国四联仪器仪表集团有限公司 Water supply abnormity identification method, system, electronic equipment and medium
CN114814140A (en) * 2022-04-22 2022-07-29 启盘科技发展(上海)有限公司 Method and system capable of realizing automatic matching of water sample and water sample analysis result
CN114814140B (en) * 2022-04-22 2024-01-30 启盘科技发展(上海)有限公司 Method and system capable of realizing automatic matching of water sample and water sample analysis result
CN114904195A (en) * 2022-05-13 2022-08-16 常州机电职业技术学院 Fire early-warning and fire-extinguishing system based on large-space warehouse fire early-warning model
WO2024244556A1 (en) * 2023-05-30 2024-12-05 宁波东泰水务科技有限公司 Leakage detection method and system for water supply pipeline, and storage medium and smart terminal

Also Published As

Publication number Publication date
CN107480705B (en) 2020-09-11
JP6872077B2 (en) 2021-05-19
CN107480705A (en) 2017-12-15
JP2020519909A (en) 2020-07-02

Similar Documents

Publication Publication Date Title
WO2019019709A1 (en) Method for detecting water leakage of tap water pipe
CN110185939B (en) Gas pipeline leak identification method based on convolutional neural network
WO2021174751A1 (en) Method, apparatus and device for locating pollution source on basis of big data, and storage medium
CN110990393B (en) Big data identification method for abnormal behaviors of industry enterprise data
CN106778841A (en) The method for building up of abnormal electricity consumption detection model
CN112377817B (en) A kind of municipal pipe network burst pipe monitoring system and method
CN106707099A (en) Monitoring and locating method based on abnormal electricity consumption detection module
CN111520615B (en) Pipe network leakage identification and positioning method based on line spectrum pair and cubic interpolation search
CN110636066B (en) Network security threat situation assessment method based on unsupervised generative reasoning
CN112114047B (en) GAs-liquid flow parameter detection method based on acoustic emission-GA-BP neural network
CN110619345B (en) Comprehensive verification method of tag credibility for cable-stayed bridge monitoring data validity
CN113486950B (en) Intelligent pipe network water leakage detection method and system
CN115654381A (en) Water supply pipeline leakage detection method based on graph neural network
CN117992776B (en) Real-time prediction method for health state of power grid equipment based on artificial intelligence
CN111735583A (en) A Pipeline Condition Recognition Method Based on LCD-EE for Pipeline Acoustic Signal Feature Extraction
CN115730241A (en) A Construction Method of Water Turbine Cavitation Noise Recognition Model
CN116915582A (en) A communication terminal fault root cause diagnosis and analysis method and device
CN112183624A (en) An anomaly detection method for dam monitoring data based on ensemble learning
Sun et al. Spatial cluster analysis of bursting pipes in water supply networks
CN114444663A (en) Water supply pipe network leakage detection and positioning method based on time convolution network
CN118582674A (en) Water supply network leakage identification and analysis system based on cross-spectral analysis
CN118705555A (en) A method and device for monitoring water supply network leakage based on deep learning model
CN118503754A (en) Data analysis method and system for pre-warning of water level of underground water super-mining area
CN118297918B (en) Underground drainage pipe defect detection method, device and computer equipment
CN112944226B (en) A pipeline leak detection method based on accelerometer

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18838302

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020514313

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18838302

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20/08/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18838302

Country of ref document: EP

Kind code of ref document: A1