CN-116773646-B - Method, device, equipment and storage medium for processing data of pipeline magnetic flux leakage internal detection
Abstract
The application discloses a data processing method, a device, equipment and a computer readable storage medium for detecting in pipeline magnetic leakage, wherein the method comprises the steps of obtaining magnetic leakage data blocks and sampling starting time corresponding to each magnetic leakage data block through a magnetic leakage detector; the method comprises the steps of continuously collecting a preset number of magnetic flux leakage data in one sampling channel in a magnetic flux leakage detector to form a magnetic flux leakage data block, determining the sampling time corresponding to each magnetic flux leakage data according to the sampling starting time corresponding to each magnetic flux leakage data block, performing preliminary alignment on the magnetic flux leakage data among different sampling channels based on the sampling time, forming corresponding magnetic flux leakage waveforms by the preliminarily aligned magnetic flux leakage data, and performing characteristic alignment according to waveform characteristics of the magnetic flux leakage waveforms. The application provides possibility for the magnetic leakage detector to further improve the sampling frequency of each sampling channel and to perform alignment adjustment on the magnetic leakage data of each sampling channel, thereby ensuring the accuracy of magnetic leakage analysis.
Inventors
- RAO XIN
- TAN QIHONG
- WANG SHIQIANG
- WANG QINGSONG
- LUO JIN
- YU PEIHANG
- WANG ANTAO
- LIU TAO
- WANG YUANQIANG
- YU JIANSHENG
- ZHANG ZHIDONG
- HE SHA
- TIAN BIN
- WANG WENTAO
- LUO JIQING
- WANG PING
- ZHANG LAN
Assignees
- 成都熊谷油气科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20220309
Claims (8)
- 1. The data processing method for detecting the magnetic flux leakage in the pipeline is characterized by comprising the following steps of: acquiring magnetic flux leakage data blocks and sampling start time corresponding to each magnetic flux leakage data block through a magnetic flux leakage detector, wherein the same sampling channel in the magnetic flux leakage detector continuously acquires a preset amount of magnetic flux leakage data to form one magnetic flux leakage data block, and the sampling start time is sampling time corresponding to first magnetic flux leakage data in the magnetic flux leakage data blocks; determining the sampling time corresponding to each magnetic flux leakage data in each magnetic flux leakage data block according to the sampling starting time corresponding to each magnetic flux leakage data block; Performing preliminary alignment on the magnetic flux leakage data between different sampling channels based on the sampling time; Forming corresponding magnetic leakage waveforms from the preliminarily aligned magnetic leakage data, and performing characteristic alignment according to waveform characteristics of the magnetic leakage waveforms; Performing characteristic alignment according to waveform characteristics of the magnetic leakage waveform, including: visually displaying the magnetic leakage waveform; receiving a calibration instruction for calibrating a time sequence section where a specific waveform in the visually displayed magnetic leakage waveforms is located; performing extreme point identification according to the specific waveform corresponding to the time sequence section contained in the calibration instruction, and obtaining extreme point serial numbers of the specific waveform corresponding to each sampling channel; and shifting each sampling channel according to the offset between the extreme point serial number of each sampling channel and the extreme point serial number of the reference sampling channel so that the extreme point serial number of each sampling channel is identical to the extreme point serial number of the reference sampling channel.
- 2. The method for processing data for in-pipe leakage detection according to claim 1, wherein preliminarily aligning the leakage data between the respective different sampling channels based on the sampling time, comprises: selecting a reference sampling channel from all sampling channels; setting serial numbers for each magnetic flux leakage data in the reference sampling channel according to the corresponding sampling time; And setting serial numbers aligned with serial numbers of the magnetic flux leakage data of the sampling channels and the reference sampling channels, so that the serial numbers of the magnetic flux leakage data in each sampling channel and the magnetic flux leakage data with the closest sampling time in the reference sampling channels are the same.
- 3. The method for processing data of in-pipe leakage flux detection according to claim 1, further comprising, after aligning extreme point serial numbers of the respective sampling channels: Determining an unaligned period and an unaligned offset of unaligned waveform characteristics of the magnetic leakage waveforms among the sampling channels according to the positions of the calibrated time sequence sections and the corresponding offsets of the magnetic leakage waveforms of the sampling channels; And based on the misalignment periods and the misalignment offsets, performing corresponding misalignment offset adjustment once for each misalignment period of the leakage waveforms of the sampling channels.
- 4. The method of processing data for in-pipe leakage detection according to claim 1, wherein shifting each of the sampling channels according to an offset between an extreme point serial number of each of the sampling channels and an extreme point serial number between reference sampling channels, comprises: Shifting each sampling channel according to a corresponding offset; Determining a maximum vacancy interval and a maximum coincidence interval which are generated by offset in each sampling channel; And shearing and deleting magnetic flux leakage data corresponding to the positions of the maximum vacant section and the maximum overlapped section in each sampling channel including the reference sampling channel.
- 5. A data processing apparatus for detecting in-line leakage of magnetic flux, comprising: the magnetic flux leakage detection device comprises a data block acquisition module, a magnetic flux leakage detection module and a magnetic flux leakage detection module, wherein the data block acquisition module is used for acquiring magnetic flux leakage data blocks and sampling start time corresponding to each magnetic flux leakage data block through a magnetic flux leakage detector, and the same sampling channel in the magnetic flux leakage detector continuously acquires magnetic flux leakage data of a preset quantity to form one magnetic flux leakage data block, wherein the sampling start time is sampling time corresponding to first magnetic flux leakage data in the magnetic flux leakage data blocks; The time stamp obtaining module is used for determining the sampling time corresponding to each magnetic flux leakage data in each magnetic flux leakage data block according to the sampling starting time corresponding to each magnetic flux leakage data block; The preliminary alignment module is used for carrying out preliminary alignment on the magnetic flux leakage data among different sampling channels based on the sampling time; the waveform alignment module is used for forming the preliminarily aligned magnetic leakage data into corresponding magnetic leakage waveforms and carrying out characteristic alignment according to waveform characteristics of the magnetic leakage waveforms; The waveform alignment module is used for carrying out visual display on the magnetic leakage waveforms, receiving a calibration instruction for calibrating a time sequence section where a specific waveform in the magnetic leakage waveforms is located in the visual display, carrying out extreme point identification according to the specific waveform corresponding to the time sequence section contained in the calibration instruction, obtaining extreme point serial numbers of the specific waveforms corresponding to the sampling channels, and carrying out offset on the sampling channels according to offset between the extreme point serial numbers of the sampling channels and extreme point serial numbers between the reference sampling channels so that the extreme point serial numbers of the sampling channels are identical to the extreme point serial numbers of the reference sampling channels.
- 6. The device for processing the data detected in the pipeline magnetic flux leakage according to claim 5, wherein the preliminary alignment module is specifically configured to select a reference sampling channel from all sampling channels, set a serial number for each magnetic flux leakage data in the reference sampling channel according to a corresponding sampling time, set a serial number aligned with a serial number of each magnetic flux leakage data in the reference sampling channel for each magnetic flux leakage data in each sampling channel, so that the serial numbers of the magnetic flux leakage data in each sampling channel and the magnetic flux leakage data with the closest sampling time in the reference sampling channel are the same.
- 7. The data processing equipment for detecting the magnetic flux leakage in the pipeline is characterized by comprising a magnetic flux leakage detector and an upper computer which is in communication connection with the magnetic flux leakage detector, wherein the magnetic flux leakage detector comprises a plurality of probes, and each probe comprises a microprocessor, a memory and a plurality of sampling channels; the microprocessor is used for storing each sampling channel for collecting a preset number of magnetic flux leakage data as one magnetic flux leakage data block and the sampling start time of the first magnetic flux leakage data in each magnetic flux leakage data block in the memory; The upper computer is used for obtaining the magnetic flux leakage data blocks of different sampling channels of different probes and corresponding real time stamps of the sampling through communication connection with each microprocessor, and executing the steps of the data processing method for realizing the detection in the pipeline magnetic flux leakage according to any one of claims 1 to 4.
- 8. 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 processing data for in-pipe leakage detection according to any one of claims 1 to 4.
Description
Method, device, equipment and storage medium for processing data of pipeline magnetic flux leakage internal detection Technical Field The present invention relates to the field of pipeline flaw detection technology, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for processing data of pipeline magnetic flux leakage internal detection. Background The magnetic leakage detection of pipeline mainly aims at the condition of crack, damage and the like on metal pipeline for gas and oil transportation, and is characterized in that a magnetic leakage detector is generally arranged in the pipeline to enable the magnetic leakage detector to sequentially move through different positions of the pipeline along with the flow of fluid in the pipeline, and the magnetic leakage information of different positions of the pipeline is collected. At present, the conventional magnetic leakage detector comprises a plurality of probes which are respectively used for carrying out magnetic leakage detection on the pipeline from different directions, each probe comprises a plurality of sampling channels, each sampling channel is respectively used for collecting a group of magnetic leakage data, and the damage condition of the pipeline can be determined through the common analysis of the different magnetic leakage data of each different probe so as to timely maintain and repair the pipeline. Each sampling channel in each probe is subjected to data acquisition according to fixed sampling frequency, and in practical application, the higher the sampling frequency of the sampling channels is, the more clearly and accurately the acquired magnetic flux leakage data can reflect the magnetic flux leakage information of the pipeline, so that the damage information of the pipeline can be analyzed more accurately. However, the sampling frequency of the existing magnetic flux leakage detector is not capable of meeting the requirement of high-definition sampling. Disclosure of Invention The invention aims to provide a data processing method, a device, equipment and a computer readable storage medium for detecting pipeline magnetic flux leakage, which can improve the accuracy of pipeline damage detection to a certain extent. In order to solve the technical problems, the invention provides a data processing method for detecting in pipeline magnetic flux leakage, which comprises the following steps: acquiring magnetic flux leakage data blocks and sampling start time corresponding to each magnetic flux leakage data block through a magnetic flux leakage detector, wherein the same sampling channel in the magnetic flux leakage detector continuously acquires a preset amount of magnetic flux leakage data to form one magnetic flux leakage data block, and the sampling start time is sampling time corresponding to first magnetic flux leakage data in the magnetic flux leakage data blocks; determining the sampling time corresponding to each magnetic flux leakage data in each magnetic flux leakage data block according to the sampling starting time corresponding to each magnetic flux leakage data block; Performing preliminary alignment on the magnetic flux leakage data between different sampling channels based on the sampling time; And forming the preliminarily aligned magnetic leakage data into corresponding magnetic leakage waveforms, and performing characteristic alignment according to waveform characteristics of the magnetic leakage waveforms. Optionally, performing preliminary alignment on the magnetic flux leakage data between each different sampling channel based on the sampling time includes: selecting a reference sampling channel from all sampling channels; setting serial numbers for each magnetic flux leakage data in the reference sampling channel according to the corresponding sampling time; And setting serial numbers aligned with serial numbers of the magnetic flux leakage data of the sampling channels and the reference sampling channels, so that the serial numbers of the magnetic flux leakage data in each sampling channel and the magnetic flux leakage data with the closest sampling time in the reference sampling channels are the same. Optionally, performing feature alignment according to waveform features of the magnetic leakage waveform includes: visually displaying the magnetic leakage waveform; receiving a calibration instruction for calibrating a time sequence section where a specific waveform in the visually displayed magnetic leakage waveforms is located; performing extreme point identification according to the specific waveform corresponding to the time sequence section contained in the calibration instruction, and obtaining extreme point serial numbers of the specific waveform corresponding to each sampling channel; And shifting each sampling channel according to the offset between the extreme point serial numbers of each sampling channel and the extreme point serial numbers of the reference sampli