[go: up one dir, main page]

CN118564841A - Pipeline leakage detection method based on acceleration sensor - Google Patents

Pipeline leakage detection method based on acceleration sensor Download PDF

Info

Publication number
CN118564841A
CN118564841A CN202410728961.8A CN202410728961A CN118564841A CN 118564841 A CN118564841 A CN 118564841A CN 202410728961 A CN202410728961 A CN 202410728961A CN 118564841 A CN118564841 A CN 118564841A
Authority
CN
China
Prior art keywords
leakage detection
pipeline leakage
sampling signal
frequency
sampling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410728961.8A
Other languages
Chinese (zh)
Other versions
CN118564841B (en
Inventor
袁品海
袁景
王宽
陈会宝
林将会
林森
林志良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Donghai Intelligent Measurement Co ltd
Ningbo Donghai Group Corp
Original Assignee
Ningbo Donghai Intelligent Measurement Co ltd
Ningbo Donghai Group Corp
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 Ningbo Donghai Intelligent Measurement Co ltd, Ningbo Donghai Group Corp filed Critical Ningbo Donghai Intelligent Measurement Co ltd
Priority to CN202410728961.8A priority Critical patent/CN118564841B/en
Publication of CN118564841A publication Critical patent/CN118564841A/en
Application granted granted Critical
Publication of CN118564841B publication Critical patent/CN118564841B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D5/00Protection or supervision of installations
    • F17D5/02Preventing, monitoring, or locating loss
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/124Sampling or signal conditioning arrangements specially adapted for A/D converters
    • H03M1/1245Details of sampling arrangements or methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Examining Or Testing Airtightness (AREA)

Abstract

本申请公开了一种基于加速度传感器的管道泄漏检测方法。所述基于加速度传感器的管道泄漏检测方法包括步骤:通过加速度传感器采集原始采样信号;通过管道泄漏检测设备对所述原始采样信号进行采样;通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行处理,以得到初步分析结果;以及基于由所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果和预设的统计模型,判断管道是否泄漏。所述基于加速度传感器的管道泄漏检测方法利用加速度传感器对供水管网泄漏点的探测和定位,能够提高探测效率,降低误报率。

The present application discloses a pipeline leakage detection method based on an acceleration sensor. The pipeline leakage detection method based on an acceleration sensor comprises the following steps: collecting an original sampling signal through an acceleration sensor; sampling the original sampling signal through a pipeline leakage detection device; processing the original sampling signal through a data processor in the pipeline leakage detection device to obtain a preliminary analysis result; and judging whether the pipeline is leaking based on the preliminary analysis result obtained by the data processor in the pipeline leakage detection device and a preset statistical model. The pipeline leakage detection method based on an acceleration sensor uses an acceleration sensor to detect and locate leakage points in a water supply network, which can improve detection efficiency and reduce false alarm rate.

Description

基于加速度传感器的管道泄漏检测方法Pipeline leakage detection method based on acceleration sensor

技术领域Technical Field

本申请涉及供水管网泄漏检测领域,具体涉及一种基于加速度传感器的管道泄漏检测方法。The present application relates to the field of water supply network leakage detection, and specifically to a pipeline leakage detection method based on an acceleration sensor.

背景技术Background Art

供水企业产销差一直是制约供水企业发展的瓶颈之一,也是供水行业普遍关注和重视的热点难点。供水管网泄漏是造成供水企业产销差的重要原因之一。日常检测供水管网泄漏是减少水资源浪费,改善供水企业产销情况的重要环节。通过检测供水管网泄漏能够发现泄漏位置,进而对泄漏位置进行及时补救。The production and sales gap of water supply enterprises has always been one of the bottlenecks restricting the development of water supply enterprises, and it is also a hot spot and difficulty that the water supply industry generally pays attention to. Leakage of water supply network is one of the important reasons for the production and sales gap of water supply enterprises. Daily detection of water supply network leakage is an important link to reduce water waste and improve the production and sales of water supply enterprises. By detecting water supply network leakage, the leakage location can be found, and then the leakage location can be remedied in time.

传统的检测供水管网泄漏的技术往往对环境声音要求较高。具体地,对于传统的检测供水管网泄漏的技术而言,水流声以外的声音为噪音,在检测供水管网泄漏时,需尽可能保证噪音较低。相应地,传统的检测供水管网泄漏的技术通常需要在夜深人静的时候利用听音杆等工具通过人工完成,效率低,误报率高,风险高。Traditional technologies for detecting water supply network leaks often have high requirements for environmental sound. Specifically, for traditional technologies for detecting water supply network leaks, sounds other than the sound of water flow are noises. When detecting water supply network leaks, the noise level must be kept as low as possible. Accordingly, traditional technologies for detecting water supply network leaks usually need to be done manually using tools such as listening poles in the dead of night, which is inefficient, has a high false alarm rate, and is high risk.

发明内容Summary of the invention

本申请的一优势在于提供了一种基于加速度传感器的管道泄漏检测方法,其中,所述基于加速度传感器的管道泄漏检测方法利用加速度传感器对供水管网泄漏点的探测和定位,能够提高探测效率,降低误报率。An advantage of the present application is that it provides a pipeline leakage detection method based on an acceleration sensor, wherein the pipeline leakage detection method based on an acceleration sensor utilizes the acceleration sensor to detect and locate leakage points in a water supply network, thereby improving detection efficiency and reducing false alarm rate.

本申请的一优势在于提供了一种基于加速度传感器的管道泄漏检测方法,其中,所述基于加速度传感器的管道泄漏检测方法利用管道泄漏检测设备内的数据处理器对加速传感器采集的原始采样信号进行转换和分析,相较于通过物联网将加速传感器采集的原始采样信号发送至后台服务器,并通过后台服务器对采集的原始采样信号进行转换和分析,本申请利用管道泄漏检测设备内的数据处理器对加速传感器采集的原始采样信号进行转换和分析能够在一定程度上简化信号处理过程,提高算法效率,还能够降低对应用场景中的网络的依赖。One advantage of the present application is that it provides a pipeline leakage detection method based on an acceleration sensor, wherein the pipeline leakage detection method based on the acceleration sensor uses a data processor in the pipeline leakage detection device to convert and analyze the original sampling signal collected by the acceleration sensor. Compared with sending the original sampling signal collected by the acceleration sensor to a background server through the Internet of Things, and converting and analyzing the collected original sampling signal through the background server, the present application uses the data processor in the pipeline leakage detection device to convert and analyze the original sampling signal collected by the acceleration sensor. It can simplify the signal processing process to a certain extent, improve the algorithm efficiency, and reduce the dependence on the network in the application scenario.

本申请的一优势在于提供了一种基于加速度传感器的管道泄漏检测方法,其中,所述基于加速度传感器的管道泄漏检测方法利用预设的统计模型获得管道泄漏的等级,且所述预设的统计模型能够根据经验值进行优化和调整,从而提高识别能力,降低误报概率。One advantage of the present application is that it provides a pipeline leakage detection method based on an acceleration sensor, wherein the pipeline leakage detection method based on an acceleration sensor uses a preset statistical model to obtain the level of pipeline leakage, and the preset statistical model can be optimized and adjusted according to empirical values, thereby improving recognition capabilities and reducing the probability of false alarms.

根据本申请的一个方面,提供了一种基于加速度传感器的管道泄漏检测方法,其包括步骤:通过加速度传感器采集原始采样信号;通过管道泄漏检测设备对所述原始采样信号进行采样;通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行处理,以得到初步分析结果;以及基于由所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果和预设的统计模型,判断管道是否泄漏。According to one aspect of the present application, a pipeline leakage detection method based on an acceleration sensor is provided, which includes the steps of: collecting an original sampling signal through an acceleration sensor; sampling the original sampling signal through a pipeline leakage detection device; processing the original sampling signal through a data processor in the pipeline leakage detection device to obtain a preliminary analysis result; and judging whether a pipeline is leaking based on the preliminary analysis result obtained by the data processor in the pipeline leakage detection device and a preset statistical model.

在根据本申请所述的基于加速度传感器的管道泄漏检测方法的一实施方式中,通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行处理,以得到初步分析结果,包括步骤:通过所述管道泄漏检测设备内的所述数据处理器将所述原始采样信号从时域转换至频域,以得到转换至频域的频域采样信号;比较所述频域采样信号和预设振幅值,以得到比较结果表达值,所述比较结果表达值用于表达所述频域采样信号和预设振幅值的比较结果。In one embodiment of the pipeline leakage detection method based on an acceleration sensor described in the present application, the original sampling signal is processed by a data processor in the pipeline leakage detection device to obtain a preliminary analysis result, including the steps of: converting the original sampling signal from the time domain to the frequency domain by the data processor in the pipeline leakage detection device to obtain a frequency domain sampling signal converted to the frequency domain; comparing the frequency domain sampling signal with a preset amplitude value to obtain a comparison result expression value, wherein the comparison result expression value is used to express the comparison result between the frequency domain sampling signal and the preset amplitude value.

在根据本申请所述的基于加速度传感器的管道泄漏检测方法的一实施方式中,通过所述管道泄漏检测设备内的所述数据处理器将所述原始采样信号从时域转换至频域,以得到转换至频域的频域采样信号,包括步骤:对所述原始采样信号根据时域进行分段,使得所述原始采样信号被划分为至少两段分段时域采样信号,各段所述分段时域采样信号的采样时间处于不同时域内;和对至少两段所述分段时域采样信号从时域转换至频域,以得到至少两段分段频率采样信号;比较所述频域采样信号和预设振幅值,以得到比较结果表达值,包括步骤:比较至少两段所述分段频域采样信号和相应的至少两个预设振幅值,以得到至少两个比较初步结果值。In one embodiment of the pipeline leakage detection method based on an acceleration sensor described in the present application, the original sampling signal is converted from the time domain to the frequency domain by the data processor in the pipeline leakage detection device to obtain a frequency domain sampling signal converted to the frequency domain, including the steps of: segmenting the original sampling signal according to the time domain so that the original sampling signal is divided into at least two segments of segmented time domain sampling signals, and the sampling time of each segment of the segmented time domain sampling signal is in a different time domain; and converting at least two segments of the segmented time domain sampling signals from the time domain to the frequency domain to obtain at least two segments of segmented frequency sampling signals; comparing the frequency domain sampling signal with a preset amplitude value to obtain a comparison result expression value, including the steps of: comparing at least two segments of the segmented frequency domain sampling signals with corresponding at least two preset amplitude values to obtain at least two comparison preliminary result values.

在根据本申请所述的基于加速度传感器的管道泄漏检测方法的一实施方式中,所述比较初步结果值为各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频域采样信号的频率,和,各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的各个频率的频域采样信号的个数;所述比较结果表达值包括各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频域采样信号的频率,和,各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的同一频率的频域采样信号的个数之和。In one embodiment of the pipeline leakage detection method based on an acceleration sensor described in the present application, the preliminary comparison result value is the frequency of the frequency domain sampling signal in each segment of the segmented frequency domain sampling signal whose amplitude is greater than the preset amplitude value corresponding to it, and the number of frequency domain sampling signals of each frequency in each segment of the segmented frequency domain sampling signal whose amplitude is greater than the preset amplitude value corresponding to it; the comparison result expression value includes the frequency of the frequency domain sampling signal in each segment of the segmented frequency domain sampling signal whose amplitude is greater than the preset amplitude value corresponding to it, and the sum of the number of frequency domain sampling signals of the same frequency in each segment of the segmented frequency domain sampling signal whose amplitude is greater than the preset amplitude value corresponding to it.

在根据本申请所述的基于加速度传感器的管道泄漏检测方法的一实施方式中,基于由所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果和预设的统计模型,判断管道是否泄露,包括步骤:比较由所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果和预设的统计模型的预设统计频率对应的预设统计数量,确定管道是否泄漏;其中,响应于所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果中所述预设统计频率的频域采样信号的个数之和大于所述预设的统计模型中所述预设统计频率对应的预设统计数量,确定管道泄漏,确定管道泄漏。In one embodiment of the pipeline leakage detection method based on an acceleration sensor described in the present application, based on the preliminary analysis result obtained by the data processor in the pipeline leakage detection device and a preset statistical model, judging whether the pipeline is leaking includes the steps of: comparing the preliminary analysis result obtained by the data processor in the pipeline leakage detection device with a preset statistical quantity corresponding to a preset statistical frequency of a preset statistical model to determine whether the pipeline is leaking; wherein, in response to the sum of the number of frequency domain sampling signals of the preset statistical frequency in the preliminary analysis result obtained by the data processor in the pipeline leakage detection device being greater than the preset statistical quantity corresponding to the preset statistical frequency in the preset statistical model, determining that the pipeline is leaking.

在根据本申请所述的基于加速度传感器的管道泄漏检测方法的一实施方式中,通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行域转换的过程中,所述管道泄漏检测设备内的所述数据处理器采用离散傅里叶算法对所述原始采样信号进行域转换。In one embodiment of the pipeline leakage detection method based on an acceleration sensor described in the present application, in the process of performing domain conversion on the original sampled signal by a data processor in the pipeline leakage detection device, the data processor in the pipeline leakage detection device uses a discrete Fourier algorithm to perform domain conversion on the original sampled signal.

在根据本申请所述的基于加速度传感器的管道泄漏检测方法的一实施方式中,通过管道泄漏检测设备对所述原始采样信号进行采样,包括步骤:通过所述管道泄漏检测设备内的采样单元接收来自自适应增益信号调理电路的所述原始采样信号。In one embodiment of the pipeline leakage detection method based on an acceleration sensor described in the present application, the original sampling signal is sampled by a pipeline leakage detection device, including the steps of: receiving the original sampling signal from an adaptive gain signal conditioning circuit by a sampling unit in the pipeline leakage detection device.

在根据本申请所述的基于加速度传感器的管道泄漏检测方法的一实施方式中,通过管道泄漏检测设备对所述原始采样信号进行采样,包括步骤:通过所述管道泄漏检测设备内的采样单元在预设的持续时间内以预设的采样频率获取所述加速度传感器采集的所述原始采样数据。In one embodiment of the pipeline leakage detection method based on an acceleration sensor described in the present application, the original sampling signal is sampled by a pipeline leakage detection device, comprising the steps of: acquiring the original sampling data collected by the acceleration sensor at a preset sampling frequency within a preset duration through a sampling unit in the pipeline leakage detection device.

在根据本申请所述的基于加速度传感器的管道泄漏检测方法的一实施方式中,通过所述管道泄漏检测设备内的采样单元在预设的持续时间内以预设的采样频率获取所述加速度传感器采集的所述原始采样数据,包括步骤:通过所述管道泄漏检测设备内的所述采样单元根据预设的采样频率将所述原始采样信号保存至快闪存储器。In one embodiment of the pipeline leakage detection method based on an acceleration sensor described in the present application, the raw sampling data collected by the acceleration sensor is obtained at a preset sampling frequency within a preset duration by a sampling unit in the pipeline leakage detection device, including the steps of: saving the raw sampling signal to a flash memory according to the preset sampling frequency by the sampling unit in the pipeline leakage detection device.

在根据本申请所述的基于加速度传感器的管道泄漏检测方法的一实施方式中,所述管道泄漏检测设备内的所述数据处理器为单片机。In one implementation of the pipeline leakage detection method based on an acceleration sensor according to the present application, the data processor in the pipeline leakage detection device is a single chip microcomputer.

通过对随后的描述和附图的理解,本申请进一步的目的和优势将得以充分体现。Further objectives and advantages of the present application will be fully reflected through understanding of the following description and drawings.

本申请的这些和其他目的、特点和优势,通过下述的详细说明,附图和权利要求得以充分体现。These and other objects, features and advantages of the present application are fully reflected in the following detailed description, drawings and claims.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

通过结合附图对本申请实施例进行更详细的描述,本申请的上述以及其他目的、特征和优势将变得更加明显。附图用来提供对本申请实施例的进一步理解,并且构成说明书的一部分,与本申请实施例一起用于解释本申请,并不构成对本申请的限制。在附图中,相同的参考标号通常代表相同部件或。By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the drawings, the same reference numerals generally represent the same components or.

图1图示了根据本申请实施例的基于加速度传感器的管道泄漏检测方法的流程示意图。FIG1 illustrates a schematic flow chart of a pipeline leakage detection method based on an acceleration sensor according to an embodiment of the present application.

图2图示了原始采样信号的示意图,其中,所述原始采样信号为时域采样信号。FIG. 2 illustrates a schematic diagram of an original sampling signal, wherein the original sampling signal is a time domain sampling signal.

图3图示了第一分段频率采样信号的频率与第一预设振幅值的对比示意图。FIG. 3 is a schematic diagram showing a comparison between the frequency of the first segmented frequency sampling signal and the first preset amplitude value.

图4图示了第二分段频率采样信号的频率与第二预设振幅值的对比示意图。FIG. 4 is a schematic diagram showing a comparison between the frequency of the second segmented frequency sampling signal and the second preset amplitude value.

图5图示了第S分段频率采样信号的频率与第S预设振幅值的对比示意图。FIG5 is a schematic diagram showing a comparison between the frequency of the S-th segmented frequency sampling signal and the S-th preset amplitude value.

图6图示了各个分段频率采样信号中频率大于对应的预设振幅值的频率采样信号的个数。FIG. 6 illustrates the number of frequency sampling signals having frequencies greater than corresponding preset amplitude values in each segmented frequency sampling signal.

具体实施方式DETAILED DESCRIPTION

下面,将参考附图详细地描述根据本申请的示例实施例。显然,所描述的实施例仅仅是本申请的一部分实施例,而不是本申请的全部实施例,应理解,本申请不受这里描述的示例实施例的限制。Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

可以理解的是,术语“一”应理解为“至少一”或“一个或多个”,即在一个实施例中,一个元件的数量可以为一个,而在另外的实施例中,该元件的数量可以为多个,术语“一”不能理解为对数量的限制。“多个”指大于等于两个。It is understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element can be one, while in another embodiment, the number of the element can be multiple, and the term "one" cannot be understood as a limitation on the number. "Multiple" means greater than or equal to two.

虽然比如“第一”、“第二”等的序数将用于描述各种组件,但是在这里不限制那些组件。该术语仅用于区分一个组件与另一组件。例如,第一组件可以被称为第二组件,且同样地,第二组件也可以被称为第一组件,而不脱离本申请构思的教导。在此使用的术语“和/或”包括一个或多个关联的列出的项目的任何和全部组合。Although ordinals such as "first," "second," and the like will be used to describe various components, those components are not limited herein. The term is used only to distinguish one component from another. For example, a first component may be referred to as a second component, and likewise, a second component may be referred to as a first component without departing from the teachings of the present application. The term "and/or" as used herein includes any and all combinations of one or more associated listed items.

在这里使用的术语仅用于描述各种实施例的目的且不意在限制。如在此使用的,单数形式意也包括复数形式,除非上下文清楚地指示例外。另外将理解术语“包括”和/或“具有”当在该说明书中使用时指定所述的特征、数目、操作、组件、元件或其组合的存在,而不排除一个或多个其他特征、数目、操作、组件、元件或其组合的存在或者附加。The terms used herein are only used for the purpose of describing various embodiments and are not intended to be limiting. As used herein, the singular form is intended to include the plural form, unless the context clearly indicates an exception. It will also be understood that the terms "including" and/or "having" when used in this specification specify the presence of the described features, numbers, operations, components, elements, or combinations thereof, without excluding the presence or addition of one or more other features, numbers, operations, components, elements, or combinations thereof.

申请概述Application Overview

如前所述,传统的检测供水管网泄漏的技术往往对环境声音要求较高。具体地,对于传统的检测供水管网泄漏的技术而言,水流声以外的声音为噪音,在检测供水管网泄漏时,需尽可能保证噪音较低。相应地,传统的检测供水管网泄漏的技术通常需要在夜深人静的时候利用听音杆等工具通过人工完成,效率低,误报率高,风险高。As mentioned above, traditional technologies for detecting water supply network leaks often have high requirements for environmental sound. Specifically, for traditional technologies for detecting water supply network leaks, sounds other than the sound of water flow are noises. When detecting water supply network leaks, the noise must be kept as low as possible. Accordingly, traditional technologies for detecting water supply network leaks usually need to be done manually using tools such as listening poles in the dead of night, which is inefficient, has a high false alarm rate, and is high risk.

本申请提出:可通过对声音不敏感的器件来检测供水管网泄漏,以避免水流声以外的声音对检测结果的影响。具体地,本申请提出可通过加速度传感器来检测供水管网泄漏。当供水管道出现泄漏时,水流冲击管壁及周围泥土产生振动,振动信号通过供水管道进行传播。吸附在管道中的管道泄漏检测设备内的加速度传感器感受到振动信号。可通过对振动信号进行分析,判断供水管网是否发生泄漏。The present application proposes that water supply network leaks can be detected by using devices that are insensitive to sound, so as to avoid the influence of sounds other than water flow sounds on the detection results. Specifically, the present application proposes that water supply network leaks can be detected by using an acceleration sensor. When a water supply pipeline leaks, the water flow impacts the pipe wall and the surrounding soil to generate vibrations, and the vibration signal is transmitted through the water supply pipeline. The acceleration sensor in the pipeline leakage detection device adsorbed in the pipeline senses the vibration signal. The vibration signal can be analyzed to determine whether the water supply network is leaking.

相比于通过人工听声音辨别水流声音来判断供水管网是否泄露,通过加速度传感器来检测供水管网泄漏不仅能够提高效率,还能降低误报率。Compared with judging whether a water supply network is leaking by manually distinguishing the sound of water flow by listening to it, using acceleration sensors to detect water supply network leaks can not only improve efficiency but also reduce the false alarm rate.

值得一提的是,理论上,可将加速度传感器采集的信号通过物联网将发送至后台服务器,进而利用后台服务器强大的算力对加速度传感器采集的信号进行计算和分析。然而,这样的方式存在着过分依赖通讯网络的问题,当遇到复杂现场情况导致网络异常时,将无法进行检测。It is worth mentioning that, in theory, the signals collected by the accelerometer can be sent to the backend server through the Internet of Things, and then the powerful computing power of the backend server can be used to calculate and analyze the signals collected by the accelerometer. However, this method has the problem of over-reliance on the communication network. When encountering complex on-site conditions that cause network anomalies, detection will not be possible.

基于此,本申请提出,将计算和分析步骤前移,利用管道泄漏检测设备自身的运算能力对加速度传感器采集的信号进行计算和分析,能够在一定程度上简化信号处理过程,提高算法效率,还能够降低对应用场景中的网络的依赖。且可通过对预设的统计模型的参数的调整不断优化和调整管道泄漏检测设备的识别能力。Based on this, this application proposes to move the calculation and analysis steps forward and use the pipeline leakage detection equipment's own computing power to calculate and analyze the signals collected by the acceleration sensor, which can simplify the signal processing process to a certain extent, improve the efficiency of the algorithm, and reduce the dependence on the network in the application scenario. And the recognition ability of the pipeline leakage detection equipment can be continuously optimized and adjusted by adjusting the parameters of the preset statistical model.

示意性基于加速度传感器的管道泄漏检测方法Schematic diagram of pipeline leakage detection method based on acceleration sensor

如图1至图6所示,根据本申请实施例的基于加速度传感器的管道泄漏检测方法被阐明。相比于通过人工听声音辨别水流声音来判断供水管网是否泄露,本申请实施例所述的基于加速度传感器的管道泄漏检测方法通过加速度传感器来检测供水管网泄漏不仅能够提高效率,还能降低误报率。且本申请实施例所述的基于加速度传感器的管道泄漏检测方法利用管道泄漏检测设备自身的运算能力对加速度传感器采集的信号进行计算和分析,能够在一定程度上简化信号处理过程,提高算法效率,还能够降低对应用场景中的网络的依赖。As shown in Figures 1 to 6, the pipeline leakage detection method based on the acceleration sensor according to the embodiment of the present application is explained. Compared with judging whether the water supply network is leaking by manually distinguishing the sound of water flow by listening to the sound, the pipeline leakage detection method based on the acceleration sensor described in the embodiment of the present application detects the leakage of the water supply network by the acceleration sensor, which can not only improve the efficiency, but also reduce the false alarm rate. And the pipeline leakage detection method based on the acceleration sensor described in the embodiment of the present application uses the computing power of the pipeline leakage detection equipment itself to calculate and analyze the signal collected by the acceleration sensor, which can simplify the signal processing process to a certain extent, improve the efficiency of the algorithm, and reduce the dependence on the network in the application scenario.

如图1所示,所述基于加速度传感器的管道泄漏检测方法,包括步骤:S110,通过加速度传感器采集原始采样信号;S120,通过管道泄漏检测设备对所述原始采样信号进行采样;S130,通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行处理,以得到初步分析结果;以及,S140,基于由所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果和预设的统计模型,得到管道泄漏的等级。As shown in FIG1 , the pipeline leakage detection method based on the acceleration sensor includes the following steps: S110, collecting original sampling signals through the acceleration sensor; S120, sampling the original sampling signals through the pipeline leakage detection device; S130, processing the original sampling signals through the data processor in the pipeline leakage detection device to obtain a preliminary analysis result; and S140, obtaining the level of pipeline leakage based on the preliminary analysis result obtained by the data processor in the pipeline leakage detection device and a preset statistical model.

在步骤S110中,通过加速度传感器采集原始采样信号。具体地,管道泄漏检测设备安装于管道或者管道附近,当水流流动时,使得管壁及周围泥土产生振动,进而使得所述管道泄漏检测设备内的加速度传感器检测到所述原始采样信号。相应地,所述原始采样信号因水流产生的振动信号形成。所述原始采样信号为微弱的信号。In step S110, the original sampling signal is collected by the acceleration sensor. Specifically, the pipeline leakage detection device is installed in the pipeline or near the pipeline. When the water flows, the pipe wall and the surrounding soil vibrate, and then the acceleration sensor in the pipeline leakage detection device detects the original sampling signal. Accordingly, the original sampling signal is formed by the vibration signal generated by the water flow. The original sampling signal is a weak signal.

值得一提的是,在本申请中,所述管道泄漏检测设备特指安装于管道或者管道附近的管道泄漏检测设备,并非用于控制所述管道泄漏检测设备的上位机,或者,不包括用于控制所述管道泄漏检测设备的上位机。It is worth mentioning that in the present application, the pipeline leakage detection device specifically refers to a pipeline leakage detection device installed on or near a pipeline, and is not a host computer used to control the pipeline leakage detection device, or does not include a host computer used to control the pipeline leakage detection device.

在步骤S120中,通过管道泄漏检测设备对所述原始采样信号进行采样。具体地,在通过加速度传感器采集原始采样信号之后,通过自适应增益信号调理电路将所述原始采样信号传输至所述管道泄漏检测设备内的采样单元,使得所述通过管道泄漏检测设备的所述采样单元能够对所述原始采样信号。In step S120, the original sampling signal is sampled by the pipeline leakage detection device. Specifically, after the original sampling signal is collected by the acceleration sensor, the original sampling signal is transmitted to the sampling unit in the pipeline leakage detection device through the adaptive gain signal conditioning circuit, so that the sampling unit of the pipeline leakage detection device can sample the original sampling signal.

相应地,通过管道泄漏检测设备对所述原始采样信号进行采样,包括步骤:通过所述管道泄漏检测设备内的采样单元接收来自自适应增益信号调理电路的所述原始采样信号。Correspondingly, sampling the original sampling signal by the pipeline leakage detection device includes the steps of: receiving the original sampling signal from the adaptive gain signal conditioning circuit by a sampling unit in the pipeline leakage detection device.

具体地,在步骤S120中,通过所述管道泄漏检测设备内的所述采样单元在预设的持续时间内以预设的采样频率获取所述加速度传感器采集的所述原始采样数据。例如,预设的持续时间为M秒,所述预设的采样频率为N赫兹/秒,相应地,采样数据总个数为L=M*N个;L表示采样数据总个数;M表示预设的持续时间;N表示也就是预设的采样频率,在采样持续时间M秒内以N赫兹/秒的采样频率进行采样,采样数据总个数为M*N个;M*N表示M与N的乘积。Specifically, in step S120, the raw sampling data collected by the acceleration sensor is obtained by the sampling unit in the pipeline leakage detection device within a preset duration and at a preset sampling frequency. For example, the preset duration is M seconds, the preset sampling frequency is N Hz/second, and accordingly, the total number of sampling data is L=M*N; L represents the total number of sampling data; M represents the preset duration; N represents the preset sampling frequency, that is, sampling is performed at a sampling frequency of N Hz/second within a sampling duration of M seconds, and the total number of sampling data is M*N; M*N represents the product of M and N.

可选地,通过所述管道泄漏检测设备内的所述采样单元根据预设的采样频率将所述原始采样信号保存至快闪存储器,或者,通过所述管道泄漏检测设备内的所述采样单元根据预设的采样频率将所述原始采样信号保存至其他类型的存储器中。Optionally, the sampling unit in the pipeline leakage detection device saves the original sampling signal to a flash memory according to a preset sampling frequency, or the sampling unit in the pipeline leakage detection device saves the original sampling signal to other types of memory according to a preset sampling frequency.

所述管道泄漏检测设备内的所述采样单元可为模拟采样单元。The sampling unit in the pipeline leakage detection device may be an analog sampling unit.

在步骤S130中,通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行处理,以得到初步分析结果。值得一提的是,在本申请中,重点在于通过所述管道泄漏检测设备内的数据处理器进行计算来获得初步分析结果,并非通过利用物联网与所述管道泄漏检测设备可通讯地连接的后台服务器来计算获得初步分析结果,因此,通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行处理,以得到初步分析结果的具体实施方式并不作限定。In step S130, the raw sampling signal is processed by the data processor in the pipeline leakage detection device to obtain a preliminary analysis result. It is worth mentioning that in the present application, the focus is on obtaining the preliminary analysis result by calculating by the data processor in the pipeline leakage detection device, rather than calculating and obtaining the preliminary analysis result by using the background server that is communicatively connected to the pipeline leakage detection device through the Internet of Things. Therefore, the specific implementation method of processing the raw sampling signal by the data processor in the pipeline leakage detection device to obtain the preliminary analysis result is not limited.

本申请提出了示意性的通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行处理,以得到初步分析结果的实施方式。The present application proposes an exemplary implementation method of processing the original sampling signal through a data processor in the pipeline leakage detection device to obtain a preliminary analysis result.

具体地,在本申请的一实施方式中,所述原始采样信号为时域采样信号。先对所述原始采样信号进行域转换,然后,对域转换后的采样数据进行分析。相应地,步骤S130包括步骤:S131,通过所述管道泄漏检测设备内的所述数据处理器将所述原始采样信号从时域转换至频域,以得到转换至频域的频域采样信号;S132,比较所述频域采样信号和预设振幅值,以得到比较结果表达值,所述比较结果表达值用于表达所述频域采样信号和预设振幅值的比较结果。Specifically, in one embodiment of the present application, the original sampling signal is a time domain sampling signal. The original sampling signal is first domain converted, and then the sampling data after domain conversion is analyzed. Accordingly, step S130 includes the steps of: S131, converting the original sampling signal from the time domain to the frequency domain by the data processor in the pipeline leakage detection device to obtain a frequency domain sampling signal converted to the frequency domain; S132, comparing the frequency domain sampling signal with a preset amplitude value to obtain a comparison result expression value, and the comparison result expression value is used to express the comparison result of the frequency domain sampling signal and the preset amplitude value.

在步骤S131中,所述管道泄漏检测设备内的所述数据处理器可采用离散傅里叶算法对所述原始采样信号进行域转换。In step S131, the data processor in the pipeline leakage detection device may use a discrete Fourier algorithm to perform domain conversion on the original sampling signal.

值得一提的是,当所述原始采样信号的时域宽度较宽时,数据量较大,存储级数深,串行计算无法满足效率需求。本申请提出对时域采样信号进行分段处理,然后对分段后的时域采样信号进行域转换,进而对转换后的采样信号进行分析。定义分段采样点数P,分段数量S=L/P,频率分辨率=N/P;P表示每段分段时域采样信号的采样点数;S表示分段时域采样信号的段数;L表示采样数据总个数。It is worth mentioning that when the time domain width of the original sampling signal is wide, the amount of data is large, the storage level is deep, and serial calculation cannot meet the efficiency requirements. The present application proposes to perform segmented processing on the time domain sampling signal, and then perform domain conversion on the segmented time domain sampling signal, and then analyze the converted sampling signal. Define the number of segmented sampling points P, the number of segments S=L/P, and the frequency resolution=N/P; P represents the number of sampling points of each segmented time domain sampling signal; S represents the number of segments of the segmented time domain sampling signal; L represents the total number of sampled data.

相应地,步骤S131包括步骤:S1311,对所述原始采样信号根据时域进行分段,使得所述原始采样信号被划分为至少两段分段时域采样信号,各段所述分段时域采样信号的采样时间处于不同时域内;和S1312,对至少两段所述分段时域采样信号从时域转换至频域,以得到至少两段分段频率采样信号。相应地,转换至频域的频域采样信号包括至少两段分段频域采样信号。Accordingly, step S131 includes the steps of: S1311, segmenting the original sampling signal according to the time domain, so that the original sampling signal is divided into at least two segments of segmented time domain sampling signals, and the sampling time of each segment of the segmented time domain sampling signal is in a different time domain; and S1312, converting the at least two segments of the segmented time domain sampling signals from the time domain to the frequency domain to obtain at least two segments of segmented frequency sampling signals. Accordingly, the frequency domain sampling signal converted to the frequency domain includes at least two segments of segmented frequency domain sampling signals.

如图2所示,在本申请的一个示例中,在步骤S1311中,可将所述原始采样信号根据时域进行分段,使得所述原始采样信号被划分为S段分段时域采样信号。S段分段时域采样信号分别为第一段分段时域采样信号Q1、第二段分段时域采样信号Q2、第三段分段时域采样信号Q3、第四段分段时域采样信号Q4、...、第S段分段时域采样信号QS。第一段分段时域采样信号Q1、第二段分段时域采样信号Q2、第三段分段时域采样信号Q3、第四段分段时域采样信号Q4、...、第S段分段时域采样信号QS按照时序依次排列。As shown in FIG. 2 , in an example of the present application, in step S1311, the original sampling signal may be segmented according to the time domain, so that the original sampling signal is divided into S segmented time domain sampling signals. The S segmented time domain sampling signals are respectively the first segmented time domain sampling signal Q 1 , the second segmented time domain sampling signal Q 2 , the third segmented time domain sampling signal Q 3 , the fourth segmented time domain sampling signal Q 4 , ..., the S segmented time domain sampling signal Q S . The first segmented time domain sampling signal Q 1 , the second segmented time domain sampling signal Q 2 , the third segmented time domain sampling signal Q 3 , the fourth segmented time domain sampling signal Q 4 , ..., the S segmented time domain sampling signal Q S are arranged in sequence according to time sequence.

步骤S132包括步骤:S1321,比较至少两段所述分段频域采样信号和相应的至少两个预设振幅值,以得到至少两个比较初步结果值。Step S132 includes the step: S1321, comparing at least two segments of the segmented frequency domain sampling signals and corresponding at least two preset amplitude values to obtain at least two preliminary comparison result values.

所述比较初步结果值为各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频域采样信号的频率,和,各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的各个频率的频域采样信号的个数;所述比较结果表达值包括各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频域采样信号的频率,和,各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的同一频率的频域采样信号的个数之和。The preliminary comparison result value is the frequency of the frequency domain sampling signals in each segmented frequency domain sampling signal whose amplitude is greater than the corresponding preset amplitude value, and the number of frequency domain sampling signals of each frequency in each segmented frequency domain sampling signal whose amplitude is greater than the corresponding preset amplitude value; the comparison result expression value includes the frequency of the frequency domain sampling signals in each segmented frequency domain sampling signal whose amplitude is greater than the corresponding preset amplitude value, and the sum of the number of frequency domain sampling signals of the same frequency in each segmented frequency domain sampling signal whose amplitude is greater than the corresponding preset amplitude value.

如图3所示,所述第一段分段时域采样信号Q1中振幅大于第一预设振幅值的频率采样信号有3个。3个所述第一段分段时域采样信号Q1中振幅大于第一预设振幅值的频率采样信号的频率分别为300、400、800。As shown in Fig. 3, there are three frequency sampling signals with amplitudes greater than the first preset amplitude value in the first segmented time domain sampling signal Q1 . The frequencies of the three frequency sampling signals with amplitudes greater than the first preset amplitude value in the first segmented time domain sampling signal Q1 are 300, 400, and 800 respectively.

所述第一段分段时域采样信号Q1中振幅大于第一预设振幅值的频率为300的频率采样信号的个数为1,所述第一段分段时域采样信号Q1中振幅大于第一预设振幅值的频率为400的频率采样信号的个数为1,所述第一段分段时域采样信号Q1中振幅大于第一预设振幅值的频率为800的频率采样信号的信号的个数为1。The number of frequency sampling signals with an amplitude greater than the first preset amplitude value and a frequency of 300 in the first segmented time domain sampling signal Q1 is 1, the number of frequency sampling signals with an amplitude greater than the first preset amplitude value and a frequency of 400 in the first segmented time domain sampling signal Q1 is 1, and the number of frequency sampling signals with an amplitude greater than the first preset amplitude value and a frequency of 800 in the first segmented time domain sampling signal Q1 is 1.

相应地,Fx1(300)=1,Fx1(400)=1,Fx1(800)=1;Fx1(f)表示所述第一段分段时域采样信号Q1中振幅大于第一预设振幅值的频率为f的频率采样信号的个数。Correspondingly, Fx1(300)=1, Fx1(400)=1, Fx1(800)=1; Fx1(f) represents the number of frequency sampling signals with a frequency f in the first segmented time domain sampling signal Q1 whose amplitude is greater than the first preset amplitude value.

如图4所示,所述第二段分段时域采样信号Q2中振幅大于第二预设振幅值的频率采样信号有5个。5个所述第二段分段时域采样信号Q2中振幅大于第二预设振幅值的频率采样信号的频率分别为200、400、500、800、900。As shown in Fig. 4, there are 5 frequency sampling signals with amplitudes greater than the second preset amplitude value in the second segmented time domain sampling signal Q2 . The frequencies of the 5 frequency sampling signals with amplitudes greater than the second preset amplitude value in the second segmented time domain sampling signal Q2 are 200, 400, 500, 800, and 900, respectively.

所述第二段分段时域采样信号Q2中振幅大于第二预设振幅值的频率为200的频率采样信号的个数为1,所述第二段分段时域采样信号Q2中振幅大于第二预设振幅值的频率为400的频率采样信号的个数为1,所述第二段分段时域采样信号Q2中振幅大于第二预设振幅值的频率为500的频率采样信号的个数为1,所述第二段分段时域采样信号Q2中振幅大于第二预设振幅值的频率为800的频率采样信号的个数为1,所述第二段分段时域采样信号Q2中振幅大于第二预设振幅值的频率为900的频率采样信号的信号的个数为1。The number of frequency sampling signals with an amplitude greater than the second preset amplitude value and a frequency of 200 in the second-segmented time domain sampling signal Q2 is 1, the number of frequency sampling signals with an amplitude greater than the second preset amplitude value and a frequency of 400 in the second-segmented time domain sampling signal Q2 is 1, the number of frequency sampling signals with an amplitude greater than the second preset amplitude value and a frequency of 500 in the second-segmented time domain sampling signal Q2 is 1, the number of frequency sampling signals with an amplitude greater than the second preset amplitude value and a frequency of 800 in the second-segmented time domain sampling signal Q2 is 1, and the number of frequency sampling signals with an amplitude greater than the second preset amplitude value and a frequency of 900 in the second-segmented time domain sampling signal Q2 is 1.

相应地,Fx2(200)=1,Fx2(400)=1,Fx2(500)=1,Fx2(800)=1,Fx2(900)=1;Fx2(f)表示所述第二段分段时域采样信号Q2中振幅大于第二预设振幅值的频率为f的频率采样信号的个数。Correspondingly, Fx2(200)=1, Fx2(400)=1, Fx2(500)=1, Fx2(800)=1, Fx2(900)=1; Fx2(f) represents the number of frequency sampling signals with an amplitude greater than the second preset amplitude value in the second segmented time domain sampling signal Q2 .

如图5所示,所述第S段分段时域采样信号QS中振幅大于第S预设振幅值的频率采样信号有4个。4个所述第S段分段时域采样信号QS中振幅大于第S预设振幅值的频率采样信号的频率分别为300、400、500、700。As shown in Fig. 5, there are four frequency sampling signals whose amplitude is greater than the Sth preset amplitude value in the Sth segmented time domain sampling signal Q S. The frequencies of the four frequency sampling signals whose amplitude is greater than the Sth preset amplitude value in the Sth segmented time domain sampling signal Q S are 300, 400, 500, and 700 respectively.

所述第S段分段时域采样信号QS中振幅大于第S预设振幅值的频率为300的频率采样信号的个数为1,所述第S段分段时域采样信号QS中振幅大于第S预设振幅值的频率为400的频率采样信号的个数为1,所述第S段分段时域采样信号QS中振幅大于第S预设振幅值的频率为500的频率采样信号的个数为1,所述第S段分段时域采样信号QS中振幅大于第S预设振幅值的频率为700的频率采样信号的个数为1。The number of frequency sampling signals with an amplitude greater than the Sth preset amplitude value and a frequency of 300 in the S-th segmented time domain sampling signal Q S is 1, the number of frequency sampling signals with an amplitude greater than the S-th preset amplitude value and a frequency of 400 in the S-th segmented time domain sampling signal Q S is 1, the number of frequency sampling signals with an amplitude greater than the S-th preset amplitude value and a frequency of 500 in the S -th segmented time domain sampling signal Q S is 1, and the number of frequency sampling signals with an amplitude greater than the S-th preset amplitude value and a frequency of 700 in the S-th segmented time domain sampling signal Q S is 1.

相应地,FxS(300)=1,FxS(400)=1,FxS(500)=1,FxS(700)=1;FxS(f)表示所述第S段分段时域采样信号QS中振幅大于第S预设振幅值的频率为f的频率采样信号的信号的个数。Correspondingly, FxS(300)=1, FxS(400)=1, FxS(500)=1, FxS(700)=1; FxS(f) represents the number of frequency sampling signals with an amplitude greater than the Sth preset amplitude value and a frequency f in the Sth segmented time domain sampling signal QS .

如图6所示,在本申请的一个示例中,第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为100的频域采样信号的个数之和为0;第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为200的频域采样信号的个数之和为1;第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为300的频域采样信号的个数之和为2;第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为400的频域采样信号的个数之和为5;第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为500的频域采样信号的个数之和为6;第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为600的频域采样信号的个数之和为4;第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为700的频域采样信号的个数之和为3;第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为800的频域采样信号的个数之和为4;第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为1000的频域采样信号的个数之和为0。As shown in FIG6, in an example of the present application, the sum of the number of frequency domain sampling signals with an amplitude greater than the corresponding preset amplitude value of 100 from the segmented frequency domain sampling signal of the first segment to the segmented frequency domain sampling signal of the S segment is 0; the sum of the number of frequency domain sampling signals with an amplitude greater than the corresponding preset amplitude value of 200 from the segmented frequency domain sampling signal of the first segment to the segmented frequency domain sampling signal of the S segment is 1; the sum of the number of frequency domain sampling signals with an amplitude greater than the corresponding preset amplitude value of 300 from the segmented frequency domain sampling signal of the first segment to the segmented frequency domain sampling signal of the S segment is 2; the sum of the number of frequency domain sampling signals with an amplitude greater than the corresponding preset amplitude value of 400 from the segmented frequency domain sampling signal of the first segment to the segmented frequency domain sampling signal of the S segment is 5; The sum of the number of frequency domain sampling signals with an amplitude of 500 and an amplitude greater than the corresponding preset amplitude value in the sample signal is 6; the sum of the number of frequency domain sampling signals with an amplitude of 600 and an amplitude greater than the corresponding preset amplitude value in the segmented frequency domain sampling signal of the first section to the segmented frequency domain sampling signal of the S section is 4; the sum of the number of frequency domain sampling signals with an amplitude of 700 and an amplitude greater than the corresponding preset amplitude value in the segmented frequency domain sampling signal of the first section to the segmented frequency domain sampling signal of the S section is 3; the sum of the number of frequency domain sampling signals with an amplitude of 800 and an amplitude greater than the corresponding preset amplitude value in the segmented frequency domain sampling signal of the first section to the segmented frequency domain sampling signal of the S section is 4; the sum of the number of frequency domain sampling signals with an amplitude of 1000 and an amplitude greater than the corresponding preset amplitude value in the segmented frequency domain sampling signal of the first section to the segmented frequency domain sampling signal of the S section is 0.

相应地,Fx(100)=0;Fx(200)=1;Fx(300)=2;Fx(400)=5;Fx(500)=6;Fx(600) =4;Fx(700) =3;Fx(800)=4;Fx(900)=1;Fx(1000)=0;Fx(f)表示所述第一段所述分段频域采样信号Q1至所述第S段分段时域采样信号QS中振幅大于各段所述分段频域采样信号相应的预设振幅值的频率为f的频率采样信号的个数之和。Correspondingly, Fx(100)=0; Fx(200)=1; Fx(300)=2; Fx(400)=5; Fx(500)=6; Fx(600) =4; Fx(700) =3; Fx(800)=4; Fx(900)=1; Fx(1000)=0; Fx(f) represents the sum of the number of frequency sampling signals with an amplitude greater than the corresponding preset amplitude value of the segmented frequency domain sampling signal of each segment , from the first segmented frequency domain sampling signal Q1 to the S segmented time domain sampling signal QS.

所述管道泄漏检测设备内的所述数据处理器可为单片机。The data processor in the pipeline leakage detection device may be a single chip microcomputer.

在步骤S140中,基于由所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果和预设的统计模型,得到管道泄漏的等级。具体地,在步骤S140中,比较由所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果和预设的统计模型的预设统计频率对应的预设统计数量,确定管道是否泄漏。更具体地,响应于所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果中所述预设统计频率的频域采样信号的个数之和大于所述预设的统计模型中所述预设统计频率对应的预设统计数量,确定管道泄漏,确定管道泄漏。In step S140, based on the preliminary analysis result obtained by the data processor in the pipeline leakage detection device and the preset statistical model, the level of pipeline leakage is obtained. Specifically, in step S140, the preliminary analysis result obtained by the data processor in the pipeline leakage detection device and the preset statistical quantity corresponding to the preset statistical frequency of the preset statistical model are compared to determine whether the pipeline is leaking. More specifically, in response to the sum of the number of frequency domain sampling signals of the preset statistical frequency in the preliminary analysis result obtained by the data processor in the pipeline leakage detection device being greater than the preset statistical quantity corresponding to the preset statistical frequency in the preset statistical model, it is determined that the pipeline is leaking.

在本申请的一个示例中,所述预设统计频率为500,预设的统计模型的频率500对应的预设统计数量为5;在步骤S130中,计算得到第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为500的频域采样信号的个数之和为6,即,Fx(500)=6,第一段所述分段频域采样信号至第S段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频率为500的频域采样信号的个数之和(即,6)大于预设的统计模型的频率500对应的预设统计数量(即,5),判断管道泄漏。In an example of the present application, the preset statistical frequency is 500, and the preset statistical quantity corresponding to the frequency 500 of the preset statistical model is 5; in step S130, it is calculated that the sum of the number of frequency domain sampling signals with an amplitude greater than the corresponding preset amplitude value of 500 from the segmented frequency domain sampling signal of the first segment to the segmented frequency domain sampling signal of the S segment is 6, that is, Fx(500)=6, the sum of the number of frequency domain sampling signals with an amplitude greater than the corresponding preset amplitude value of 500 from the segmented frequency domain sampling signal of the first segment to the segmented frequency domain sampling signal of the S segment (that is, 6) is greater than the preset statistical quantity corresponding to the frequency 500 of the preset statistical model (that is, 5), and it is determined that the pipeline is leaking.

值得一提的是,所述预设的统计模型能够根据经验值进行优化和调整,从而提高识别能力,降低误报概率。It is worth mentioning that the preset statistical model can be optimized and adjusted according to empirical values, so as to improve the recognition ability and reduce the probability of false alarms.

综上,基于本申请实施例的所述基于加速度传感器的管道泄漏检测方法被阐明。所述基于加速度传感器的管道泄漏检测方法通过加速度传感器来检测供水管网泄漏不仅能够提高效率,还能降低误报率。且相较于通过物联网将加速传感器采集的原始采样信号发送至后台服务器,并通过后台服务器对采集的原始采样信号进行转换和分析,本申请所述的基于加速度传感器的管道泄漏检测方法利用管道泄漏检测设备内的数据处理器对加速传感器采集的原始采样信号进行转换和分析能够在一定程度上简化信号处理过程,提高算法效率,还能够降低对应用场景中的网络的依赖。In summary, the pipeline leakage detection method based on the acceleration sensor according to the embodiment of the present application is explained. The pipeline leakage detection method based on the acceleration sensor detects water supply network leakage through the acceleration sensor, which can not only improve efficiency but also reduce the false alarm rate. And compared with sending the original sampling signal collected by the acceleration sensor to the background server through the Internet of Things, and converting and analyzing the collected original sampling signal through the background server, the pipeline leakage detection method based on the acceleration sensor described in the present application uses the data processor in the pipeline leakage detection device to convert and analyze the original sampling signal collected by the acceleration sensor, which can simplify the signal processing process to a certain extent, improve the efficiency of the algorithm, and reduce the dependence on the network in the application scenario.

以上对本申请及其实施方式进行了描述,这种描述没有限制性,附图中所示的也只是本申请的实施方式之一,实际的结构并不局限于此。总而言之如果本领域的普通技术人员受其启示,在不脱离本申请创造宗旨的情况下,不经创造性地设计出与该技术方案相似的结构方式及实施例,均应属于本申请的保护范围。The present application and its implementation methods are described above, and such description is not restrictive. The drawings show only one implementation method of the present application, and the actual structure is not limited thereto. In short, if ordinary technicians in this field are inspired by it and design structural methods and embodiments similar to the technical solution without creative design without departing from the inventive purpose of the present application, they should all fall within the protection scope of the present application.

Claims (10)

1.一种基于加速度传感器的管道泄漏检测方法,其特征在于,包括步骤:1. A pipeline leakage detection method based on an acceleration sensor, characterized in that it comprises the following steps: 通过加速度传感器采集原始采样信号;Collecting original sampling signals through acceleration sensors; 通过管道泄漏检测设备对所述原始采样信号进行采样;Sampling the original sampling signal by a pipeline leakage detection device; 通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行处理,以得到初步分析结果;以及Processing the original sampling signal by a data processor in the pipeline leakage detection device to obtain a preliminary analysis result; and 基于由所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果和预设的统计模型,判断管道是否泄漏。Based on the preliminary analysis result obtained by the data processor in the pipeline leakage detection device and the preset statistical model, it is determined whether the pipeline is leaking. 2.根据权利要求1所述的基于加速度传感器的管道泄漏检测方法,其中,通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行处理,以得到初步分析结果,包括步骤:2. The pipeline leakage detection method based on an acceleration sensor according to claim 1, wherein the raw sampling signal is processed by a data processor in the pipeline leakage detection device to obtain a preliminary analysis result, comprising the steps of: 通过所述管道泄漏检测设备内的所述数据处理器将所述原始采样信号从时域转换至频域,以得到转换至频域的频域采样信号;The data processor in the pipeline leakage detection device converts the original sampling signal from the time domain to the frequency domain to obtain a frequency domain sampling signal converted to the frequency domain; 比较所述频域采样信号和预设振幅值,以得到比较结果表达值,所述比较结果表达值用于表达所述频域采样信号和预设振幅值的比较结果。The frequency domain sampling signal and the preset amplitude value are compared to obtain a comparison result expression value, wherein the comparison result expression value is used to express the comparison result between the frequency domain sampling signal and the preset amplitude value. 3.根据权利要求2所述的基于加速度传感器的管道泄漏检测方法,其中,通过所述管道泄漏检测设备内的所述数据处理器将所述原始采样信号从时域转换至频域,以得到转换至频域的频域采样信号,包括步骤:3. The pipeline leakage detection method based on an acceleration sensor according to claim 2, wherein the data processor in the pipeline leakage detection device converts the original sampling signal from the time domain to the frequency domain to obtain a frequency domain sampling signal converted to the frequency domain, comprising the steps of: 对所述原始采样信号根据时域进行分段,使得所述原始采样信号被划分为至少两段分段时域采样信号,各段所述分段时域采样信号的采样时间处于不同时域内;和Segmenting the original sampling signal according to the time domain, so that the original sampling signal is divided into at least two segments of segmented time domain sampling signals, and the sampling time of each segment of the segmented time domain sampling signal is in a different time domain; and 对至少两段所述分段时域采样信号从时域转换至频域,以得到至少两段分段频率采样信号;Converting at least two of the segmented time domain sampling signals from the time domain to the frequency domain to obtain at least two segmented frequency sampling signals; 比较所述频域采样信号和预设振幅值,以得到比较结果表达值,包括步骤:Comparing the frequency domain sampling signal with a preset amplitude value to obtain a comparison result expression value comprises the steps of: 比较至少两段所述分段频域采样信号和相应的至少两个预设振幅值,以得到至少两个比较初步结果值。Compare at least two segments of the segmented frequency domain sampling signals with corresponding at least two preset amplitude values to obtain at least two preliminary comparison result values. 4.根据权利要求3所述的基于加速度传感器的管道泄漏检测方法,其中,所述比较初步结果值为各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频域采样信号的频率,和,各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的各个频率的频域采样信号的个数;所述比较结果表达值包括各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的频域采样信号的频率,和,各段所述分段频域采样信号中振幅大于与其对应的预设振幅值的同一频率的频域采样信号的个数之和。4. The pipeline leakage detection method based on acceleration sensor according to claim 3, wherein the preliminary comparison result value is the frequency of the frequency domain sampling signal in each segment of the segmented frequency domain sampling signal whose amplitude is greater than the preset amplitude value corresponding to it, and the number of frequency domain sampling signals of each frequency in each segment of the segmented frequency domain sampling signal whose amplitude is greater than the preset amplitude value corresponding to it; the comparison result expression value includes the frequency of the frequency domain sampling signal in each segment of the segmented frequency domain sampling signal whose amplitude is greater than the preset amplitude value corresponding to it, and the sum of the number of frequency domain sampling signals of the same frequency in each segment of the segmented frequency domain sampling signal whose amplitude is greater than the preset amplitude value corresponding to it. 5.根据权利要求4所述的基于加速度传感器的管道泄漏检测方法,其中,基于由所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果和预设的统计模型,判断管道是否泄露,包括步骤:5. The pipeline leakage detection method based on an acceleration sensor according to claim 4, wherein judging whether the pipeline is leaking based on the preliminary analysis result obtained by the data processor in the pipeline leakage detection device and a preset statistical model comprises the steps of: 比较由所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果和预设的统计模型的预设统计频率对应的预设统计数量,确定管道是否泄漏;Comparing the preliminary analysis result obtained by the data processor in the pipeline leakage detection device with a preset statistical quantity corresponding to a preset statistical frequency of a preset statistical model to determine whether the pipeline is leaking; 其中,响应于所述管道泄漏检测设备内的数据处理器得到的所述初步分析结果中所述预设统计频率的频域采样信号的个数之和大于所述预设的统计模型中所述预设统计频率对应的预设统计数量,确定管道泄漏,确定管道泄漏。Among them, in response to the fact that the sum of the number of frequency domain sampling signals of the preset statistical frequency in the preliminary analysis results obtained by the data processor in the pipeline leakage detection equipment is greater than the preset statistical quantity corresponding to the preset statistical frequency in the preset statistical model, pipeline leakage is determined. 6.根据权利要求1所述的基于加速度传感器的管道泄漏检测方法,其中,通过所述管道泄漏检测设备内的数据处理器对所述原始采样信号进行域转换的过程中,所述管道泄漏检测设备内的所述数据处理器采用离散傅里叶算法对所述原始采样信号进行域转换。6. The pipeline leakage detection method based on an acceleration sensor according to claim 1, wherein, in the process of performing domain conversion on the original sampled signal by the data processor in the pipeline leakage detection device, the data processor in the pipeline leakage detection device uses a discrete Fourier algorithm to perform domain conversion on the original sampled signal. 7.根据权利要求1所述的基于加速度传感器的管道泄漏检测方法,其中,通过管道泄漏检测设备对所述原始采样信号进行采样,包括步骤:7. The pipeline leakage detection method based on an acceleration sensor according to claim 1, wherein the original sampling signal is sampled by a pipeline leakage detection device, comprising the steps of: 通过所述管道泄漏检测设备内的采样单元接收来自自适应增益信号调理电路的所述原始采样信号。The raw sampling signal from the adaptive gain signal conditioning circuit is received by a sampling unit in the pipeline leakage detection device. 8.根据权利要求1所述的基于加速度传感器的管道泄漏检测方法,其中,通过管道泄漏检测设备对所述原始采样信号进行采样,包括步骤:8. The pipeline leakage detection method based on an acceleration sensor according to claim 1, wherein the original sampling signal is sampled by a pipeline leakage detection device, comprising the steps of: 通过所述管道泄漏检测设备内的采样单元在预设的持续时间内以预设的采样频率获取所述加速度传感器采集的所述原始采样数据。The raw sampling data collected by the acceleration sensor is acquired by a sampling unit in the pipeline leakage detection device at a preset sampling frequency within a preset duration. 9.根据权利要求8所述的基于加速度传感器的管道泄漏检测方法,其中,通过所述管道泄漏检测设备内的采样单元在预设的持续时间内以预设的采样频率获取所述加速度传感器采集的所述原始采样数据,包括步骤:9. The pipeline leakage detection method based on an acceleration sensor according to claim 8, wherein the raw sampling data collected by the acceleration sensor is obtained by a sampling unit in the pipeline leakage detection device at a preset sampling frequency within a preset duration, comprising the steps of: 通过所述管道泄漏检测设备内的所述采样单元根据预设的采样频率将所述原始采样信号保存至快闪存储器。The original sampling signal is saved to a flash memory according to a preset sampling frequency by the sampling unit in the pipeline leakage detection device. 10.根据权利要求1所述的基于加速度传感器的管道泄漏检测方法,其中,所述管道泄漏检测设备内的所述数据处理器为单片机。10 . The pipeline leakage detection method based on acceleration sensor according to claim 1 , wherein the data processor in the pipeline leakage detection device is a single chip microcomputer.
CN202410728961.8A 2024-06-06 2024-06-06 Pipeline leakage detection method based on acceleration sensor Active CN118564841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410728961.8A CN118564841B (en) 2024-06-06 2024-06-06 Pipeline leakage detection method based on acceleration sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410728961.8A CN118564841B (en) 2024-06-06 2024-06-06 Pipeline leakage detection method based on acceleration sensor

Publications (2)

Publication Number Publication Date
CN118564841A true CN118564841A (en) 2024-08-30
CN118564841B CN118564841B (en) 2025-08-15

Family

ID=92466487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410728961.8A Active CN118564841B (en) 2024-06-06 2024-06-06 Pipeline leakage detection method based on acceleration sensor

Country Status (1)

Country Link
CN (1) CN118564841B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453247B1 (en) * 2000-01-14 2002-09-17 National Research Council Of Canada PC multimedia-based leak detection system for water transmission and distribution pipes
WO2014025717A2 (en) * 2012-08-07 2014-02-13 Fisher Controls International Llc Apparatus for fluid control device leak detection
CN108397692A (en) * 2018-01-29 2018-08-14 清华大学合肥公共安全研究院 Pipe leakage recognition methods based on noise signal Time Domain Piecewise spectrum analysis
CN110645484A (en) * 2019-10-10 2020-01-03 杭州绿洁环境科技股份有限公司 Transport pipeline monitoring system and method
CN113217826A (en) * 2021-06-03 2021-08-06 邯郸市水利水电勘测设计研究院 Pipeline water supply pipe network leakage alarm control method, device and medium
CN113432805A (en) * 2021-07-13 2021-09-24 南昌航空大学 Wireless monitoring device and method for leakage of water supply pipeline
CN117823830A (en) * 2023-12-21 2024-04-05 华中科技大学 A leakage detection method and system for intelligent detection ball of water supply pipeline
CN118009257A (en) * 2024-03-18 2024-05-10 中国华能集团清洁能源技术研究院有限公司 Pipeline leak detection component, method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453247B1 (en) * 2000-01-14 2002-09-17 National Research Council Of Canada PC multimedia-based leak detection system for water transmission and distribution pipes
WO2014025717A2 (en) * 2012-08-07 2014-02-13 Fisher Controls International Llc Apparatus for fluid control device leak detection
CN108397692A (en) * 2018-01-29 2018-08-14 清华大学合肥公共安全研究院 Pipe leakage recognition methods based on noise signal Time Domain Piecewise spectrum analysis
CN110645484A (en) * 2019-10-10 2020-01-03 杭州绿洁环境科技股份有限公司 Transport pipeline monitoring system and method
CN113217826A (en) * 2021-06-03 2021-08-06 邯郸市水利水电勘测设计研究院 Pipeline water supply pipe network leakage alarm control method, device and medium
CN113432805A (en) * 2021-07-13 2021-09-24 南昌航空大学 Wireless monitoring device and method for leakage of water supply pipeline
CN117823830A (en) * 2023-12-21 2024-04-05 华中科技大学 A leakage detection method and system for intelligent detection ball of water supply pipeline
CN118009257A (en) * 2024-03-18 2024-05-10 中国华能集团清洁能源技术研究院有限公司 Pipeline leak detection component, method and system

Also Published As

Publication number Publication date
CN118564841B (en) 2025-08-15

Similar Documents

Publication Publication Date Title
Ahmad et al. Industrial fluid pipeline leak detection and localization based on a multiscale Mann-Whitney test and acoustic emission event tracking
CN111983020B (en) System and method for detecting and identifying internal defects of metal component through knocking
Seyoum et al. A Shazam-like household water leakage detection method
CN101494049A (en) Method for extracting audio characteristic parameter of audio monitoring system
CN112067701B (en) Fan blade remote auscultation method based on acoustic diagnosis
CN110018239B (en) Carpet detection method
CN111351567A (en) Ship equipment vibration state monitoring device and method based on acceleration sensor
CN119846083B (en) Hydraulic engineering pipeline flaw detection method and equipment
CN119197740A (en) A monitoring and early warning method and system for distributed optical fiber acoustic wave sensors
CN110031552B (en) Structural health monitoring damage characteristic value calculation method
Pan et al. Cognitive acoustic analytics service for Internet of Things
TW202118316A (en) Method and system for vision-based defect detection
CN113484416B (en) Ceramic tile hollowing detection method and device, storage medium, and electronic device
KR20210088983A (en) Method, Device and Computer program for detecting environment change of indoor space
CN117409790A (en) A construction equipment soundprint detection method, system, equipment and medium
CN109934136A (en) Fault diagnosis method of rolling bearing based on Duffing oscillator and eigenmode components
CN118564841B (en) Pipeline leakage detection method based on acceleration sensor
CN119086714A (en) Portable bolt loosening detection device and detection method
JPH09243503A (en) Structure non-defect/defect inspecting apparatus
CN110532635B (en) Pipeline leakage detection algorithm based on time domain
US10319201B2 (en) Systems and methods for hierarchical acoustic detection of security threats
CN118152828A (en) Water supply network leakage detection positioning method
CN118392987A (en) Intelligent damage positioning method applied to disc buckle type scaffold structure
CN116576404A (en) Water supply pipe network pipe explosion diagnosis method and device
CN108562355A (en) A kind of processing method suitable for turnover pickup mill sound signal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant