CN-116773647-B - Pipeline magnetic flux leakage data acquisition method, device, detector and storage medium
Abstract
The application discloses a data acquisition method for detecting in pipeline magnetic leakage, which comprises the steps of monitoring acceleration data and angular velocity data acquired by an inertial sensor in a magnetic leakage detector in real time, judging whether the magnetic leakage detector is in a static state according to the acceleration data and the angular velocity data, controlling a probe in the magnetic leakage detector to be in a dormant state without acquiring the magnetic leakage data until the magnetic leakage detector is changed from the static state to a moving state if the magnetic leakage detector is in the static state, and keeping the probe to continuously acquire the magnetic leakage data of a pipeline if the magnetic leakage detector is in the moving state. The application avoids repeated collection of useless data and occupation of the useless data to the storage space, is beneficial to reducing meaningless loss of energy and the storage space, and provides support for improving the frequency of the magnetic leakage detector for collecting the magnetic leakage data. The application also provides a data acquisition device, equipment and a computer readable storage medium for detecting the pipeline magnetic flux leakage.
Inventors
- RAO XIN
- WANG SHIQIANG
- YU PEIHANG
- WANG ANTAO
- TAN QIHONG
- LIU TAO
- WANG YUANQIANG
- LI SHASHA
- ZHANG ZHIDONG
- YU JIANSHENG
- HE SHA
- WANG PING
- WANG WENTAO
- WANG QINGSONG
- LUO JIQING
- ZHANG LAN
Assignees
- 成都熊谷油气科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20220309
Claims (7)
- 1. The data acquisition method for detecting the magnetic flux leakage of the pipeline is characterized by comprising the following steps of: monitoring acceleration data and angular velocity data acquired by an inertial sensor in the magnetic flux leakage detector in real time; Judging whether the magnetic flux leakage detector is in a static state according to the acceleration data and the angular velocity data; If the magnetic leakage detector is in a static state, controlling a probe in the magnetic leakage detector to be in a dormant state without collecting magnetic leakage data until the magnetic leakage detector is changed from the static state to a moving state; if the magnetic flux leakage detector is in a moving state, keeping the probe to continuously collect magnetic flux leakage data of the pipeline; judging whether the magnetic flux leakage detector is in a static state according to the acceleration data and the angular velocity data, comprising: judging whether the acceleration data are not larger than an acceleration threshold value and/or the angular velocity data are not larger than an angular velocity threshold value within a preset time period; If so, judging whether the magnetic flux leakage data acquired by the probe in the preset time period are all in a preset threshold interval range, and if the proportion of the magnetic flux leakage data acquired by each sampling channel of the probe in the magnetic flux leakage detector in the preset threshold interval range reaches a first preset proportion, enabling the magnetic flux leakage detector to be in a static state; judging whether the variation of the acceleration data acquired twice in the preset time period is not larger than a first preset variation and/or the variation of the angular velocity data acquired twice in the preset time period is not larger than a second preset variation; if the magnetic flux leakage data does not exist, judging whether the magnetic flux leakage data collected by each sampling channel of each probe in the preset time period are all in a preset threshold interval range or not; If the number of sampling channels of the corresponding magnetic flux leakage data in the range of the preset threshold value interval is not greater than the preset number, the magnetic flux leakage detector is in a moving state, the sampling channels of the corresponding magnetic flux leakage data in the range of the preset threshold value interval are fault sampling channels, and the fault sampling channels are closed.
- 2. The method for collecting data for in-line magnetic flux leakage detection according to claim 1, further comprising: And performing filtering and noise elimination processing on the magnetic flux leakage data acquired when the magnetic flux leakage detector is in a moving state by utilizing a wavelet filtering algorithm to acquire the filtered magnetic flux leakage data.
- 3. The method for collecting data for in-line magnetic flux leakage detection according to claim 1, further comprising: and compressing the magnetic flux leakage data by using a miniLZO algorithm or Quicklz algorithm, and storing the compressed magnetic flux leakage data.
- 4. The utility model provides a data acquisition device of detection in pipeline magnetic leakage which characterized in that includes: The data monitoring module is used for monitoring acceleration data and angular velocity data acquired by the inertial sensor in the magnetic flux leakage detector in real time; the state judging module is used for judging whether the magnetic flux leakage detector is in a static state or not according to the acceleration data and the angular velocity data; The first processing module is used for controlling the probe in the magnetic leakage detector to be in a dormant state without collecting magnetic leakage data if the magnetic leakage detector is in a static state until the magnetic leakage detector is changed from the static state to a moving state; the second processing module is used for keeping the probe to continuously collect the magnetic flux leakage data of the pipeline if the magnetic flux leakage detector is in a moving state; The state judging module is specifically used for judging whether the acceleration data are not larger than an acceleration threshold value and/or the angular velocity data are not larger than an angular velocity threshold value in a preset time period, if yes, judging whether the magnetic flux leakage data acquired by the probe in the preset time period are all in a preset threshold value interval range, and if the proportion of the magnetic flux leakage data acquired by each sampling channel of the probe in the magnetic flux leakage detector in the preset threshold value interval range reaches a first preset proportion, the magnetic flux leakage detector is in a static state; The state judging module is specifically configured to judge whether the variation of the acceleration data acquired twice in the preset time period is not greater than a first preset variation and/or the variation of the angular velocity data acquired twice in the preset time period is not greater than a second preset variation, if not, judge whether the magnetic flux leakage data acquired by each sampling channel of each probe in the preset time period is within a preset threshold interval range, and if the number of sampling channels of the corresponding magnetic flux leakage data in the preset threshold interval range is not greater than a preset number, the magnetic flux leakage detector is in a moving state, and the sampling channels of the corresponding magnetic flux leakage data in the preset threshold interval range are fault sampling channels and close the fault sampling channels.
- 5. The magnetic flux leakage detector is characterized by comprising a plurality of probes for collecting magnetic flux leakage data of a pipeline, an inertial sensor for collecting acceleration data and angular velocity data, a microprocessor and a memory for storing the magnetic flux leakage data; The microprocessor is used for executing the steps of the data acquisition method for detecting the magnetic flux leakage of the pipeline according to any one of claims 1 to 3 according to the acceleration data and the angular speed data.
- 6. The magnetic flux leakage detector according to claim 5, wherein each probe comprises the microprocessor and the memory, and each microprocessor realizes the steps of the data acquisition method for detecting the magnetic flux leakage of the pipeline according to the acceleration data and the angular velocity data detected by the inertial sensor in the probe.
- 7. A computer-readable storage medium, in which a computer program is stored, the computer program being executed by a processor to implement the steps of the method for data acquisition for in-pipe leakage detection according to any one of claims 1 to 3.
Description
Pipeline magnetic flux leakage data acquisition method, device, detector and storage medium Technical Field The present invention relates to the field of magnetic flux leakage detection technology, and in particular, to a method and apparatus for collecting data for detecting in a pipeline magnetic flux leakage, a magnetic flux leakage detector, and a computer readable storage medium. Background The pipeline magnetic leakage detection is a technology for realizing flaw detection of metal pipelines for transporting oil, gas and other fluids by using a magnetic leakage detector. When in actual detection, the magnetic flux leakage detector is placed in the pipeline, so that the magnetic flux leakage detector moves along with the flow of fluid conveyed in the pipeline, and sequentially passes through each position of the whole pipeline, the collection of the magnetic flux leakage data of each position of the whole pipeline is completed, and finally, whether the damage problems such as cracks exist at each different position of the pipeline or not can be determined based on the analysis of the collected magnetic flux leakage data by the upper computer. In the process of collecting the magnetic flux leakage data of the pipeline by the magnetic flux leakage detector, the higher the frequency of collecting the magnetic flux leakage data is, the higher the accuracy of the result of the subsequent pipeline damage analysis based on the magnetic flux leakage data is, but the magnetic flux leakage data collected by the magnetic flux leakage detector needs to be temporarily stored in a built-in memory, the higher the sampling frequency of the magnetic flux leakage data is, the larger the data volume obtained by collecting is, the larger the energy consumed by collecting, storing and maintaining the data is, and once the magnetic flux leakage data of the pipeline is not detected, namely the magnetic flux leakage detector does not run through the whole pipeline, and the energy consumption or the insufficient storage space of the magnetic flux leakage detector can cause the failure of the magnetic flux leakage detection of the pipeline. Disclosure of Invention The invention aims to provide a data acquisition method and device for detecting in pipeline magnetic flux leakage, a magnetic flux leakage detector and a computer readable storage medium, which can reduce the energy consumption of magnetic flux leakage data acquisition to a certain extent and reduce unnecessary waste of storage space. In order to solve the technical problems, the invention provides a data acquisition method for detecting in pipeline magnetic flux leakage, which comprises the following steps: monitoring acceleration data and angular velocity data acquired by an inertial sensor in the magnetic flux leakage detector in real time; Judging whether the magnetic flux leakage detector is in a static state according to the acceleration data and the angular velocity data; If the magnetic leakage detector is in a static state, controlling a probe in the magnetic leakage detector to be in a dormant state without collecting magnetic leakage data until the magnetic leakage detector is changed from the static state to a moving state; and if the magnetic flux leakage detector is in a moving state, keeping the probe to continuously collect the magnetic flux leakage data of the pipeline. Optionally, determining whether the magnetic flux leakage detector is in a stationary state according to the acceleration data and the angular velocity data includes: judging whether the acceleration data are not larger than an acceleration threshold value and/or the angular velocity data are not larger than an angular velocity threshold value within a preset time period; If so, the magnetic flux leakage detector is in a static state. Optionally, determining whether the magnetic flux leakage detector is in a stationary state according to the acceleration data and the angular velocity data includes: judging whether the acceleration data are not larger than an acceleration threshold value and/or the angular velocity data are not larger than an angular velocity threshold value within a preset time period; If so, judging whether the magnetic flux leakage data acquired by the probe in the preset time period are all in a preset threshold interval range, and if so, enabling the magnetic flux leakage detector to be in a static state. Optionally, determining whether the magnetic flux leakage detector is in a stationary state according to the acceleration data and the angular velocity data includes: judging whether the variation of the acceleration data acquired twice in the preset time period is not larger than a first preset variation and/or the variation of the angular velocity data acquired twice in the preset time period is not larger than a second preset variation; if the magnetic flux leakage data does not exist, judging whether the magnetic flux leakage data collected by each sampling c