Pipeline corrosion detector and corrosion monitoring system

By designing a pipeline corrosion detector and utilizing multimodal sensors and data processing modules, precise location and real-time monitoring of pipeline corrosion were achieved. This solved the problems of insufficient detection accuracy and monitoring blind spots in existing technologies, and improved the accuracy of detection and the timeliness of operation and maintenance management.

CN121877709APending Publication Date: 2026-04-17CHINA SPECIAL EQUIP INSPECTION & RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA SPECIAL EQUIP INSPECTION & RES INST
Filing Date
2025-12-02
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

In existing technologies, pipeline corrosion detection suffers from insufficient detection accuracy, inaccurate positioning, and limited data processing capabilities, making it difficult to accurately identify the location and extent of corrosion. This is especially true in complex terrain and deeply buried pipelines, where it is difficult to achieve full-view tracking. Furthermore, existing monitoring systems lack dynamic adjustment capabilities, resulting in monitoring blind spots.

Method used

A pipeline corrosion detector was designed, comprising a battery compartment, a corrosion detection compartment, and a data processing compartment, which are connected by a universal joint. Multiple corrosion detection sensors and permanent magnets are installed and magnetized. Combined with an odometer and a data processing module, the detector achieves fusion processing of leakage magnetic signals and displacement signals to identify corrosion locations. The thickness of the pipeline is monitored by a thickness sensor, and the results are visualized and alarmed by a host computer.

Benefits of technology

It improves the accuracy and reliability of pipeline corrosion detection, enables precise location and real-time monitoring of corrosion sites, reduces the need for manual excavation and inspection, and enhances detection efficiency and the timeliness of operation and maintenance management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121877709A_ABST
    Figure CN121877709A_ABST
Patent Text Reader

Abstract

The invention discloses a pipeline corrosion detector and a corrosion monitoring system. The pipeline corrosion detector comprises a battery cabin, a corrosion detection cabin and a data processing cabin, a plurality of corrosion detection sensors are arranged on the corrosion detection cabin in the circumferential direction, and permanent magnets are symmetrically arranged on the two sides of the corrosion detection sensors in a sleeving manner; the permanent magnet is used for magnetizing the pipeline to form magnetic flux inside the pipeline, and if a defect area exists on the surface of the pipeline, the magnetic flux enters the outside of the pipeline from the inside of the pipeline to form an external magnetic field; the corrosion detection sensor is used for collecting magnetic induction intensity data of the inner wall of the pipeline and generating a corresponding magnetic flux leakage signal based on the magnetic induction intensity data; an odometer is arranged at the tail end of the data processing cabin and is used for measuring the angular displacement of the odometer wheel and outputting an analog displacement signal; a data processing module is arranged in the data processing cabin, and the pipeline corrosion position is determined based on the magnetic flux leakage signal and the analog displacement signal. According to the invention, real-time monitoring of the corrosion state of the pipeline and positioning of the corrosion position can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of pipeline multimodal detection technology, and in particular to pipeline corrosion detectors and corrosion monitoring systems. Background Technology

[0002] In existing technologies, the location and identification of corrosion risk areas inside gas pipelines mainly rely on manual methods. Typically, inspectors use handheld detection instruments, coupled with GPS devices, to scan the pipeline segment by segment. By combining the acquired geographical location information and pipeline route data with theoretical knowledge and engineering experience, they can initially determine the locations of potential corrosion hazards. In practical engineering applications, corrosion often occurs in low-lying areas, corners, welded joints, or stress concentration points within the pipeline; therefore, inspectors often focus on these areas. However, in scenarios with complex terrain or deep pipeline burial, the actual pipeline route is complex and difficult to monitor. Traditional methods struggle to accurately track the entire pipeline, leading to missed or misjudged high-risk corrosion areas, thus affecting the accuracy of location.

[0003] Furthermore, due to factors such as surface vegetation obstruction, varied terrain, and pipeline burial depth, inspection personnel often face problems such as insufficient positioning accuracy, incomplete data, or data acquisition interruptions during on-site operations. To ensure the accuracy and completeness of the inspection results, excavation work is often necessary to manually expose and inspect suspected corrosion areas. However, these methods are not only destructive but also labor-intensive, time-consuming, and costly, severely restricting inspection efficiency and the continuous operation of gas pipelines. Especially in areas with long-distance pipeline networks or complex terrain conditions, large-scale excavation significantly increases the investment of human resources and economic costs.

[0004] On the other hand, existing corrosion monitoring and early warning systems also have significant limitations. Most current systems rely on experience-based, pre-defined monitoring point placement, with locations determined primarily by pipeline drawings, historical maintenance data, or subjective judgment by personnel. This lack of adaptability to dynamically change in actual corrosion risk means that when corrosion occurs outside the monitoring area, the system cannot effectively monitor or provide timely warnings, creating a monitoring blind spot. Such "static monitoring" mechanisms fail to comprehensively reflect the development trend of pipeline corrosion, significantly reducing the effectiveness of early warning systems and the level of pipeline safety.

[0005] This section is intended to provide background or context for the embodiments of the invention set forth in the claims. The description herein is not an admission that it is prior art simply because it is included in this section. Summary of the Invention

[0006] This invention provides a pipeline corrosion detector to achieve real-time monitoring of pipeline corrosion status and location of corrosion, thereby improving the accuracy of corrosion monitoring and the timeliness of operation and maintenance management.

[0007] Pipeline corrosion detectors include:

[0008] The battery compartment, corrosion detection compartment, and data processing compartment are connected sequentially by universal joints; each of the battery compartment, corrosion detection compartment, and data processing compartment is composed of two sealed support members and a pressure-resistant chamber disposed between the two sealed support members.

[0009] The pressure-resistant chamber of the battery compartment is equipped with multiple power modules, which are arranged axially.

[0010] The corrosion detection chamber is equipped with multiple corrosion detection sensors along its circumference, and permanent magnets are symmetrically mounted on both sides of the corrosion detection sensors. The permanent magnets are used to magnetize the pipe to generate magnetic flux inside the pipe. If there is a defect area on the surface of the pipe, the magnetic flux enters the outside of the pipe from the inside to form an external magnetic field. The corrosion detection sensors are used to collect magnetic induction intensity data of the inner wall of the pipe and generate corresponding leakage magnetic field signals based on the magnetic induction intensity data, which are then transmitted to the data processing module.

[0011] At least one odometer is installed at the end of the data processing compartment to measure the angular displacement of the odometer wheel, output a simulated displacement signal based on the measured angular displacement of the odometer wheel, and transmit the simulated displacement signal to the data processing module.

[0012] The pressure chamber of the data processing compartment is equipped with a data processing module, which is used to process signals collected by various sensors and determine the location of pipeline corrosion based on the leakage magnetic field signal and the simulated displacement signal.

[0013] In some embodiments, the corrosion detection sensor is a triaxial magnetic sensor, which includes three magnetic induction units arranged along the X-axis, Y-axis, and Z-axis, respectively. When the direction of the external magnetic field is the same as the setting direction of any magnetic induction unit, the external magnetic field changes the resistance value of that magnetic induction unit. When the direction of the external magnetic field is perpendicular to the setting direction of any induction unit, the resistance value of that magnetic induction unit remains unchanged. The triaxial magnetic sensor determines the direction of the external magnetic field and the magnetic induction intensity data based on the change in the resistance value, and transmits them to the data processing module.

[0014] In some embodiments, an attitude sensor is also provided inside the pressure chamber 105 of the data processing cabin 103, the attitude sensor including: an inertial measurement unit and an inertial navigation unit;

[0015] The inertial measurement unit includes a three-axis gyroscope, a three-axis accelerometer, and a three-axis electronic compass. The three-axis gyroscope is used to acquire the angular velocities of the pipeline corrosion detector along the X, Y, and Z axes; the three-axis accelerometer is used to acquire the linear accelerations along the X, Y, and Z axes; and the three-axis electronic compass is used to indicate the direction of the external magnetic field. The inertial measurement unit outputs the angular velocities and linear accelerations to the inertial navigation unit.

[0016] The inertial navigation unit integrates the angular velocity and the linear acceleration within a preset time period to obtain the angle increment and the velocity increment; and outputs the angle increment and the velocity increment to the data processing module.

[0017] In some embodiments, the data processing module includes: an analog-to-digital converter, a gating switch, and an FPGA;

[0018] The analog-to-digital converter is used to receive the analog displacement signals from multiple odometers, convert the analog displacement signals into digital displacement signals, and output them to the FPGA via an inter-integrated circuit bus protocol;

[0019] The gating switch is used to select the digital displacement signal of the corresponding odometer according to the received control signal and transmit it to the FPGA;

[0020] The FPGA is used to process signals collected by various sensors and determine the location of pipeline corrosion based on the leakage magnetic field signal and the simulated displacement signal.

[0021] In some embodiments, the data processing module further includes a regulated power supply and a transformer; the regulated power supply is used to receive the input voltage of the power supply module and convert the input voltage into a first preset voltage; the transformer transforms the first preset voltage to obtain a second preset voltage.

[0022] In some embodiments, the data processing module further includes a channel allocation module for receiving the leakage magnetic signal collected by the corrosion detection sensor, amplifying the leakage magnetic signal, and transmitting it to the FPGA.

[0023] In some embodiments, the FPGA includes:

[0024] The data processing unit is used to parse the signals collected by the sensor, extract the original data bit width field, assign a corresponding address field to each group of the original data bit width field, and transmit the original data bit width field and the address field to the data buffer unit.

[0025] A data caching unit is used to integrate multiple sets of the received original data bit widths and the address fields into structured data pairs, and transmit the data pairs to the bridge chip.

[0026] In some embodiments, the data processing unit includes: a plurality of data input subunits and a plurality of control subunits; each data processing unit is connected to a corresponding control subunit, and the plurality of control subunits are all connected to the data buffer unit;

[0027] The data input subunit is used to receive signals collected by multiple sensors and output the signals to the corresponding control subunits; the sensor signals include the leakage magnetic field signal, the temperature signal, the displacement signal, and the single-ended signal;

[0028] The control subunit is used to parse the received signal, extract the original data bit width field, assign a corresponding address field to each group of the original data bit width fields, and transmit the original data bit width field and the address field to the data buffer unit.

[0029] This invention also provides a corrosion monitoring system for real-time monitoring of pipeline corrosion status and location of corrosion, thereby improving the accuracy of corrosion monitoring and the timeliness of operation and maintenance management.

[0030] The corrosion monitoring system includes: the aforementioned pipeline corrosion detector, multiple thickness sensors, and a host computer;

[0031] The thickness sensor is installed at the corrosion location of the pipeline to monitor the pipeline thickness at the corrosion location and generate pipe wall thickness data.

[0032] The host computer is used to receive the digital displacement signal of the pipeline corrosion detector and the pipe wall thickness data, generate a relationship graph between pipe wall thickness and mileage based on the digital displacement signal and the pipe wall thickness data, and visualize the relationship graph.

[0033] When the thickness of the inner wall of the pipe is less than the first preset threshold or the corrosion rate is greater than the second preset threshold, the host computer will perform an alarm operation.

[0034] In some embodiments, determining the corrosion rate includes:

[0035] The wall thickness loss is determined based on the rated pipe wall thickness and the pipe thickness collected by the thickness sensor.

[0036] The corrosion rate is determined based on the wall thickness loss and pipeline operating time.

[0037] The pipeline corrosion detector and corrosion monitoring system provided in this invention are integrated into a single structure, consisting of a battery compartment, a corrosion detection compartment, and a data processing compartment. This ensures the seal and stability of the detector during operation within the pipeline. The battery compartment provides an independent power source, meeting the power requirements of the detector during extended operation and ensuring the continuity and reliability of the detection work. The corrosion detection compartment has multiple corrosion detection sensors arranged circumferentially around the pipeline, with permanent magnets symmetrically positioned on both sides of the sensors to magnetize the pipeline. When corrosion defects exist on the pipeline surface, a leakage magnetic field is generated at the defect location. The corrosion detection sensors can sensitively collect and output the corresponding leakage magnetic field signal, thereby improving the sensitivity and accuracy of corrosion defect detection. The data processing compartment contains an odometer that outputs a simulated displacement signal corresponding to angular displacement in real time. This displacement signal, combined with the leakage magnetic field signal, enables precise location of corrosion defects. The data processing module fuses the signals from multiple sensors, effectively identifying the location of pipeline corrosion and improving the accuracy, reliability, and practicality of pipeline corrosion detection. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0039] Figure 1 This is a schematic diagram of the structure of the pipeline corrosion detector in an embodiment of the present invention;

[0040] Figure 2 This is a schematic diagram of the sealing element in an embodiment of the present invention;

[0041] Figure 3 This is a schematic diagram of the internal structure of the data processing module in an embodiment of the present invention;

[0042] Figure 4 This is a schematic diagram of the internal structure of the FPGA in an embodiment of the present invention. Detailed Implementation

[0043] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0044] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0045] In this application, the terms "upper," "lower," "left," "right," "front," "rear," "top," "bottom," "inner," "outer," "middle," "vertical," "horizontal," "lateral," and "longitudinal" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. These terms are primarily for the purpose of better describing this application and its embodiments, and are not intended to limit the indicated device, element, or component to having a specific orientation, or to be constructed and operated in a specific orientation.

[0046] Furthermore, some of the aforementioned terms, besides indicating location or positional relationships, may also have other meanings. For example, the term "above" may, in certain circumstances, indicate a dependency or connection. Those skilled in the art can understand the specific meaning of these terms in this application based on the specific circumstances.

[0047] Furthermore, the terms "installation," "setup," "equipped with," "connection," "linking," and "socketing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral structure; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium, or an internal connection between two devices, components, or parts. Those skilled in the art can understand the specific meaning of these terms in this application based on the specific circumstances.

[0048] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0049] This application aims to address the problems of insufficient detection accuracy, inaccurate positioning, and limited data processing capabilities in existing pipeline corrosion detection technologies, which make it difficult to reliably determine the location and degree of corrosion of pipeline defects. To this end, this application proposes a pipeline corrosion detector. This detector is connected sequentially to a battery compartment 101, a corrosion detection compartment 102, and a data processing compartment 103 via a universal joint. This ensures both flexibility and sealing of the device during operation inside the pipeline, while also achieving integrated configuration of each functional module. The battery compartment 101 provides a stable power supply to the detector. The corrosion detection compartment 102 has multiple corrosion detection sensors arranged circumferentially around the pipeline, with permanent magnets symmetrically positioned on both sides of the sensors to magnetize the pipeline. When a defect exists on the pipeline surface, magnetic flux will leak at the defect location, and the sensors will collect the corresponding magnetic induction intensity, generating a leakage magnetic signal. An odometer is located at the end of the data processing compartment 103 to output a displacement signal corresponding to the angular displacement of the odometer wheel. The data processing module then fuses the leakage magnetic signal and the displacement signal to achieve accurate determination of the pipeline corrosion location. The above structural design integrates corrosion detection and defect location, significantly improving the accuracy and reliability of pipeline corrosion detection.

[0050] like Figure 1 As shown, a pipeline corrosion detector includes:

[0051] The battery compartment 101, corrosion detection compartment 102, and data processing compartment 103 are sequentially connected by universal joint 112. The battery compartment 101, corrosion detection compartment 102, and data processing compartment 103 are each composed of two sealed support members 104 and a pressure-resistant chamber 105 disposed between the two sealed support members 104.

[0052] The pressure-resistant chamber 105 of the battery compartment 101 contains multiple power modules 106, which are arranged axially.

[0053] The corrosion detection chamber 102 is equipped with multiple corrosion detection sensors 107 arranged circumferentially, and permanent magnets 108 are symmetrically mounted on both sides of the corrosion detection sensors 107. The permanent magnets 108 are used to magnetize the pipeline, so that a magnetic flux is generated inside the pipeline. If there is a defect area on the pipeline surface, the magnetic flux enters from the inside of the pipeline to the outside of the pipeline, forming an external magnetic field. The corrosion detection sensors 107 are used to collect magnetic induction intensity data of the inner wall of the pipeline, and generate corresponding leakage magnetic field signals based on the magnetic induction intensity data, which are then transmitted to the data processing module 109.

[0054] At least one odometer 110 is provided at the end of the data processing compartment 103 for measuring the angular displacement of the odometer wheel, outputting an analog displacement signal based on the measured angular displacement of the odometer wheel, and transmitting the analog displacement signal to the data processing module 109.

[0055] The data processing compartment 103 is equipped with a data processing module 109 inside the pressure-resistant chamber 105. This module is used to process signals collected by various sensors and determine the location of pipeline corrosion based on leakage magnetic field signals and simulated displacement signals.

[0056] According to the above embodiments, the pipeline corrosion detector provided by the present invention is formed by sequentially connecting a battery compartment, a corrosion detection compartment, and a data processing compartment to form an integrated structure, thereby ensuring the sealing and stability of the pipeline corrosion detector during operation inside the pipeline. The battery compartment provides an independent power supply, meeting the power supply requirements of the pipeline corrosion detector during long-term operation and ensuring the continuity and reliability of the detection work. The corrosion detection compartment has multiple corrosion detection sensors arranged around the pipeline, and permanent magnets are symmetrically arranged on both sides of the corrosion detection sensors to magnetize the pipeline. When corrosion defects exist on the pipeline surface, a leakage magnetic field is generated at the corrosion defect location. The corrosion detection sensors can sensitively collect and output the corresponding leakage magnetic field signal, thereby improving the sensitivity and accuracy of corrosion defect detection. An odometer is installed in the data processing compartment to output an analog displacement signal corresponding to angular displacement in real time. This displacement signal, combined with the leakage magnetic field signal, can achieve precise positioning of corrosion defects. The data processing module fuses the signals received from multiple sensors, effectively identifying the pipeline corrosion location and improving the accuracy, reliability, and practicality of pipeline corrosion detection.

[0057] In embodiments of the present invention, such as Figure 1 and Figure 2 As shown, the battery compartment 101 consists of two circular (or elliptical) sealed supports 104 and a cylindrical pressure-resistant chamber 105 disposed between the two sealed supports 104. The corrosion detection compartment 102 consists of two circular (or elliptical) sealed supports 104 and a cylindrical pressure-resistant chamber 105 disposed between the two sealed supports 104. The data processing compartment 103 consists of two circular (or elliptical) sealed supports 104 and a cylindrical pressure-resistant chamber 105 disposed between the two sealed supports 104.

[0058] like Figure 2 As shown, the front view of the sealing support 104 is a ring-shaped structure with a circular through hole at its center. The side view of the sealing support 104 is a thin cylinder with a relatively small thickness. The sealing support 104 has an overall ring-shaped thin-plate structure, which can provide necessary support during installation while also meeting the requirements of lightweight design.

[0059] The operating direction of the pipeline corrosion detector is Figure 1As indicated by the middle arrow, multiple power modules 106 inside the battery compartment 101 are arranged parallel to the operating direction of the pipeline corrosion detector. In addition, the pipeline corrosion detector also includes multiple universal joints 112, which can rotate in any direction to ensure the flexibility and adaptability of the pipeline corrosion detector during operation inside the pipeline.

[0060] The permanent magnet 108 is a permanent magnet used to magnetize the magnetically conductive metal pipe. When there is a corrosion defect area in the pipe, the magnetic flux in the pipe leaks into the air outside the pipe through the corrosion defect area, resulting in an increase in the magnetic flux in the air outside the corrosion defect area. The pipe is made of ferromagnetic material. In the magnetized state, corrosion defects on the surface of the ferromagnetic material cause a change in local magnetic permeability, causing some magnetic flux to leak to the outside of the material surface and re-enter the pipe through the air, bypassing the corrosion defect area, thus forming a leakage magnetic field on the pipe surface. The corrosion detection sensor 107 can collect this leakage magnetic field and output a leakage magnetic signal to identify corrosion defects on the pipe surface.

[0061] The data processing compartment 103 also includes multiple odometer brackets 111. The outer shell of the data processing compartment 103 is connected to multiple odometers 110 via the odometer brackets 111, so that the odometers 110 can fit snugly against the inner wall of the pipe. The odometers 110 are used to measure and record the movement distance of the pipe corrosion detector within the pipe. This invention employs a wheel-type odometer based on a magnetic induction angular displacement sensor, calculating the movement distance of the pipe corrosion detector by measuring the rotational angular displacement of the odometer wheel. The odometer 110 converts the rotational angular displacement into an analog displacement signal output, with a data size of 2 bytes.

[0062] The data processing module 109 is used to receive signals collected by various sensors in real time and store the signals sequentially in hexadecimal format. The signals collected by the sensors include: leakage magnetic field signals, temperature signals, attitude signals, and simulated displacement signals, etc.

[0063] The data processing module 109 is equipped with a dedicated data analysis program for processing and analyzing signals collected by various sensors, and can quickly locate pipeline corrosion based on the analysis results. Due to the large volume of data from the sensors, the data processing module 109 uses an embedded FPGA processor as its core processing unit. An embedded FPGA is a processor that integrates an ARM processor and FPGA logic units on a single chip. The ARM processor serves as the processing system (PS) portion, and the FPGA serves as the programmable logic (PL) portion. This structure combines the general computing power of an ARM processor with the parallel processing capabilities of an FPGA, enabling high-performance data acquisition and processing.

[0064] Based on the leakage magnetic field signal output by the corrosion detection sensor 107, the embedded FPGA can identify the presence of corrosion defect areas in the pipeline. Combined with the simulated displacement signal output by the odometer 110, the specific location of the corrosion defect area within the pipeline can be determined, providing a basis for subsequent installation of a thickness gauge. Furthermore, by combining the temperature signal output by the temperature sensor and the attitude signal output by the attitude sensor, the temperature information of the medium inside the pipeline and the pipeline's orientation information can be obtained, thereby achieving multi-source information fusion for corrosion detection and location.

[0065] In some embodiments, a bumper 113 is provided at the front end of the battery compartment 101.

[0066] In this embodiment of the invention, the anti-collision head 113 is used to prevent the battery compartment 101 from being damaged by collision with the inner wall of the pipeline or obstacles during the operation of the pipeline corrosion detector, thereby improving the structural strength and reliability of the pipeline corrosion detector when it is used for detection inside the pipeline.

[0067] In some embodiments, the corrosion detection sensor 107 is a triaxial magnetic sensor, which includes three magnetic induction units arranged along the X, Y, and Z axes, respectively. When the direction of the external magnetic field is the same as the arrangement direction of any magnetic induction unit, the external magnetic field changes the resistance value of that magnetic induction unit. When the direction of the external magnetic field is perpendicular to the arrangement direction of any induction unit, the resistance value of that magnetic induction unit remains unchanged. The triaxial magnetic sensor determines the direction of the external magnetic field and the magnetic induction intensity data based on the change in resistance value and transmits it to the data processing module 109.

[0068] In this embodiment of the invention, a triaxial magnetic sensor is used to measure magnetic field strength along three mutually perpendicular directions. The triaxial magnetic sensor contains three independent magnetic sensing units corresponding to the X, Y, and Z axes, respectively. Each magnetic sensing unit has the highest sensitivity to the magnetic field strength component in its corresponding direction. When the direction of the external magnetic field is the same as the detection direction of a particular magnetic sensing unit, the resistance value of that unit changes. When the direction of the external magnetic field is perpendicular to the detection direction, the resistance value of that unit remains essentially unchanged. By detecting the magnitude of the change in resistance value of each magnetic sensing unit, the magnetic field strength components of the external magnetic field in the X, Y, and Z axes can be obtained respectively. Furthermore, based on the obtained three magnetic field strength components, the combined magnetic field strength can be calculated using the Euclidean formula. By combining the changes in the signs of the various magnetic field intensity components, the direction of the external magnetic field can be determined.

[0069] The Euclidean formula is as follows:

[0070]

[0071] The data lengths of the magnetic induction intensity components in the X, Y, and Z axes are 2 bytes each, totaling 6 bytes, and are sent to the data processing module 109 in the order of X-axis, Y-axis, and Z-axis.

[0072] The pipeline corrosion detector is equipped with multiple corrosion detection sensors 107 that are closely attached to the inner wall of the pipeline to achieve full-circumference detection of the pipeline, and all corrosion detection sensors 107 can simultaneously transmit leakage magnetic signals to the data processing module 109.

[0073] According to the above embodiments, the corrosion detection sensor adopts a triaxial magnetic sensor structure, which can simultaneously detect leakage magnetic fields in three directions: X, Y, and Z. Compared with single-axis or dual-axis magnetic sensors, it can acquire more comprehensive magnetic field information. Through the coordinated work of the three-directional magnetic induction units, the triaxial magnetic sensor can accurately determine the direction and intensity of the external leakage magnetic field, thereby significantly improving the sensitivity and accuracy of pipeline corrosion defect detection. This structure avoids the detection blind zone problem caused by the single-directional arrangement of the sensor, enhances the ability to identify corrosion defects of different forms, and can transmit the obtained magnetic induction intensity data to the data processing module for analysis and processing in a timely manner, realizing reliable detection and accurate location of pipeline corrosion defects.

[0074] In some embodiments, an attitude sensor 114 is also provided inside the pressure chamber 105 of the data processing cabin 103. The attitude sensor 114 includes an inertial measurement unit and an inertial navigation unit (not shown in the figure).

[0075] The inertial measurement unit (IMU) includes a three-axis gyroscope, a three-axis accelerometer, and a three-axis electronic compass. The three-axis gyroscope is used to acquire the angular velocities of the pipeline corrosion detector along the X, Y, and Z axes. The three-axis accelerometer is used to acquire the linear accelerations along the X, Y, and Z axes. The three-axis electronic compass is used to indicate the direction of the external magnetic field. The IMU outputs the angular velocity and linear acceleration to the inertial navigation unit.

[0076] The inertial navigation unit integrates the angular velocity and linear acceleration within a preset time period to obtain the angle increment and velocity increment. The angle increment and velocity increment are then output to the data processing module 109. The inertial navigation unit is an inertial navigation system.

[0077] In this embodiment of the invention, the attitude sensor 114 is used to perform real-time attitude recognition and speed monitoring on the pipeline corrosion detector to determine the pipeline's orientation. The pipeline orientation includes both horizontal and vertical directions.

[0078] The attitude sensor includes an Inertial Measurement Unit (IMU) and an Inertial Navigation System (INS). The IMU consists of a three-axis gyroscope, a three-axis accelerometer, and a three-axis electronic compass, and is used to output raw detection data. This raw detection data undergoes error compensation and data conversion to form the output data of the IMU. The output data includes: angular velocity vectors along the X, Y, and Z axes, and linear accelerations along the X, Y, and Z axes.

[0079] The output data from the inertial measurement unit is input into the inertial navigation system for integration calculation to obtain the attitude and velocity information of the pipeline corrosion detector. The angular and velocity increments are calculated by integrating the measured values ​​of angular velocity and linear acceleration within a preset sampling period. The specific calculation formulas are as follows:

[0080] Based on the preset adoption period ( ) Angular velocity vector The X-axis, Y-axis and Z-axis components are calculated by integration using formula (1) to obtain the angle increment. .

[0081]

[0082] in, These are the angle increments for the X, Y, and Z axes. These represent the angular velocities along the X, Y, and Z axes.

[0083] The angle increments of the X, Y, and Z axes ( These three components represent the rotation of the pipeline corrosion detector during its operating cycle. (Based on angular velocity vector) The roll angle was calculated using Euler's formula. Pitch angle and yaw angle .

[0084] Based on the detected linear acceleration and the preset adoption period ( The velocity increment is calculated using formula (2). .

[0085]

[0086] in, The velocity increments are for the X, Y, and Z axes. The linear accelerations are the X, Y, and Z axes.

[0087] The attitude sensor 114 processes the acquired angular velocity, linear velocity, angle increment, and linear velocity increment signals, and converts them into differential signal pairs (e.g., A+ and A-) through its internal differential drive circuit. These signals are then transmitted to the data processing module 109 in the form of attitude signals, thereby improving the anti-interference capability and stability of the attitude signals during transmission. Specifically, the angle increment data and linear velocity increment data output by the attitude sensor 114 in each sampling period are all 4 bytes in length.

[0088] It should be noted that the angular velocity, linear velocity, angular increment, and linear velocity increment mentioned above are all relative quantities. After obtaining the initial values, the absolute values ​​can be further calculated.

[0089] According to the above embodiment, the attitude sensor, combined with an inertial measurement unit (IMU) and an inertial navigation system, is used to monitor the attitude and velocity of the pipeline corrosion detector in real time, thereby obtaining the pipeline's orientation information in the horizontal and vertical directions. The IMU includes a three-axis gyroscope, a three-axis accelerometer, and a three-axis electronic compass. The three-axis gyroscope provides angular velocity, the three-axis accelerometer provides linear acceleration, and the three-axis electronic compass provides the direction of the external magnetic field. By integrating the sensor data, angular and velocity increments are obtained, and attitude information such as roll, pitch, and yaw angles are further calculated. This process enables the pipeline corrosion detector to continuously track its attitude changes and motion state, thereby achieving pipeline orientation identification.

[0090] In some embodiments, a temperature sensor 115 is provided at the end of the data processing chamber 103 to collect temperature information of the medium inside the pipe and output a corresponding temperature signal, which is then transmitted to the data processing module 109.

[0091] In this embodiment of the invention, the temperature sensor 115 is used to detect the temperature data inside the pipeline and convert it into a temperature signal output. Since temperature changes in the medium inside the pipeline have a significant impact on the pipeline corrosion process, detecting the temperature of the pipeline medium is a crucial step in ensuring the safe operation of the pipeline system.

[0092] The temperature sensor uses the DS18B20 digital chip, which can directly convert the medium temperature into a digital signal without the need for external components. The temperature signal data length is 2 bytes.

[0093] In some embodiments, such as Figure 1 and Figure 3 As shown, the data processing module 109 includes: an analog-to-digital converter, a gating switch, and an embedded FPGA.

[0094] The analog-to-digital converter is used to receive analog displacement signals from multiple odometers 110, convert the analog displacement signals into digital displacement signals, and output them to the embedded FPGA via the inter-integrated circuit bus protocol.

[0095] The gating switch is used to select the corresponding digital displacement signal of the odometer 110 according to the received control signal and transmit it to the embedded FPGA.

[0096] Embedded FPGAs are used to process signals collected by various sensors and determine the location of pipeline corrosion based on leakage magnetic field signals and simulated displacement signals.

[0097] In this embodiment of the invention, the data processing module 109 receives the analog displacement signal output by the odometer 110 and converts the analog displacement signal into a digital displacement signal via an analog-to-digital converter. The converted digital displacement signal is then transmitted to the selection switch via an inter-integrated circuit (IIC) bus.

[0098] The gating switch receives digital displacement signals from multiple odometers 110 and control signals from the embedded FPGA, and selects one digital displacement signal for output based on the control signal. This digital displacement signal is transmitted to the embedded FPGA via the IIC bus. The embedded FPGA sends control signals to the gating switch at 1ms intervals to poll and acquire digital displacement signals from different odometers.

[0099] According to the above embodiments, the analog displacement signals output by different odometers are converted into digital displacement signals after analog-to-digital conversion and transmitted through the IIC bus. Under the control signals periodically issued by the embedded FPGA, the digital displacement signals of each channel are polled and collected, thereby simplifying the access and management process of multiple displacement signals and improving the data acquisition efficiency and stability of the pipeline corrosion detector.

[0100] In some embodiments, the data processing module 109 further includes a bridging chip and a hard disk.

[0101] The bridging chip connects to the hard drive and the data processing module 109, respectively. The bridging chip and the hard drive are used to store the data pairs output by the embedded FPGA.

[0102] In embodiments of the present invention, since there is no direct communication protocol between the embedded FPGA and the SATA hard drive, an XSAT bridge chip is used to connect the embedded FPGA and the SATA hard drive. Both the data cache unit and the SATA hard drive are used to store data pairs output by the embedded FPGA. The data cache unit is a temporary storage unit, and its contents are easily lost in the event of power failure. The SATA hard drive is a permanent storage unit, and its contents are not lost in the event of power failure.

[0103] In some embodiments, the data processing module 109 further includes a differential converter for receiving differential signal pairs transmitted by the attitude sensor via a serial communication protocol, converting the differential signal pairs into single-ended signals, and transmitting them to the FPGA.

[0104] In this embodiment of the invention, the attitude sensor uses the RS-422 serial communication protocol (Recommended Standard 422, RS-422) for data transmission when interacting with the embedded FPGA.

[0105] The attitude sensor 114 collects angular velocity, linear velocity, angle increment, and velocity increment, and outputs the above data to the differential converter in the form of differential signal pairs through the differential four-wire interface of the attitude sensor.

[0106] During data transmission, the attitude sensor 114 communicates according to the RS-422 protocol. Communication parameters include: a baud rate of 1 Mbit / s, one start bit, eight data bits, and one stop bit. Each transmitted data frame is 40 bytes long, with 36 bytes of valid data. The valid data includes: angular velocity components in the X, Y, and Z axes, each occupying 2 bytes; linear velocity components in the X, Y, and Z axes, each occupying 2 bytes; angle increments in the X, Y, and Z axes, each occupying 4 bytes; and velocity increments in the X, Y, and Z axes, each occupying 4 bytes.

[0107] The differential is used to receive the differential signal pairs output by the attitude sensor 114, convert them into single-ended signals and transmit them to the embedded FPGA to ensure the stability and reliability of subsequent data processing.

[0108] According to the above embodiments, the attitude sensor and the embedded FPGA exchange data via RS-422 serial communication protocol combined with differential signal transmission. Under high-speed transmission conditions, the influence of external electromagnetic interference can be effectively reduced, thereby ensuring the stability and reliability of data transmission and improving the accuracy of angular velocity, linear velocity, and their incremental data acquisition and processing.

[0109] In some embodiments, the data processing module 109 further includes a regulated power supply and a transformer. The regulated power supply receives the input voltage from the power module 106 and converts the input voltage into a first preset voltage. The transformer transforms the first preset voltage to obtain a second preset voltage. The first preset voltage is a 5V DC voltage, and the second preset voltage is the operating voltage after transformation by the transformer.

[0110] In this embodiment of the invention, the regulated power supply receives the input voltage provided by the power module 106, regulates it to a DC 5V voltage, and then transmits the 5V DC voltage to the transformer. The transformer is used to transform the 5V DC voltage to generate an operating voltage suitable for embedded FPGAs and other sensors. This operating voltage can be 3.3V, 2.5V, or 1.2V, etc., and the invention is not limited to these.

[0111] In some embodiments, the data processing module 109 further includes a channel allocation module for receiving the leakage magnetic signal collected by the corrosion detection sensor 107, amplifying the leakage magnetic signal, and transmitting it to the embedded FPGA.

[0112] In this embodiment of the invention, the channel allocation module is used to receive the leakage magnetic field signal collected by the corrosion detection sensor 107, enhance the leakage magnetic field signal, and output the enhanced leakage magnetic field signal to the embedded FPGA. Since the corrosion detection sensor and the data processing module are connected by a long connecting line, the leakage magnetic field signal is prone to attenuation during transmission. By enhancing the leakage magnetic field signal through the channel allocation module, it can be ensured that the leakage magnetic field signal maintains a high signal strength and quality when transmitted to the embedded FPGA.

[0113] The corrosion detection sensor communicates with the embedded FPGA via an Inter-Integrated Circuit (IIC) bus. During communication, the sender and receiver agree on the baud rate to ensure reliable data transmission. The IIC bus uses a two-wire structure, including a data line (SDA) and a clock line (SCL), featuring simple hardware connections and high transmission efficiency, making it suitable for transmitting continuous data streams generated during magnetic flux leakage detection. Furthermore, the IIC bus supports multiple devices sharing the same bus, effectively reducing hardware resource consumption and making it suitable for system architectures where multiple sensors work collaboratively.

[0114] According to the above embodiment, a channel allocation module is set between the corrosion detection sensor and the embedded FPGA to enhance the collected magnetic leakage signal to compensate for the signal attenuation that may occur during long-distance transmission. This ensures that the magnetic leakage signal maintains high strength and clarity when transmitted to the embedded FPGA, thereby improving the accuracy and stability of subsequent data processing.

[0115] In some embodiments, such as Figure 3 As shown, the data processing module 109 also includes a crystal oscillator unit, which is connected to the embedded FPGA. The output of the crystal oscillator unit is connected to the clock input of the embedded FPGA to provide a fixed-frequency clock signal, which drives the embedded FPGA.

[0116] In some embodiments, such as Figure 3 As shown, the temperature sensor 115 communicates with the data processing module 109 via a single-bus protocol. The temperature sensor 115 sends the acquired digital temperature signal to the data processing module 109 via the single-bus protocol. The temperature sensor 115 measures a temperature range of -55℃ to 125℃ with a measurement accuracy of ±0.5℃.

[0117] In some embodiments, such as Figure 3 and Figure 4 As shown, the embedded FPGA includes:

[0118] The data processing unit is used to parse the signals collected by the sensor, extract the raw data bit width field, assign a corresponding address field to each set of raw data bit width fields, and transmit the raw data bit width field and address field to the data buffer unit.

[0119] The data buffer unit is used to integrate multiple sets of raw data bit widths and address fields into structured data pairs and transmit the data pairs to the bridge chip.

[0120] According to the above embodiments, by setting up a data processing unit and a data caching unit in the embedded FPGA, rapid data parsing and structured processing can be achieved after sensor signal acquisition. This avoids the chaos and bandwidth consumption caused by direct transmission of raw bit-width data, and improves the compactness and manageability of data organization. The data processing unit parses the raw data and assigns corresponding addresses, so that subsequent caching and retrieval have a clear mapping relationship.

[0121] In some embodiments, the data processing unit includes multiple data input subunits and multiple control subunits. Each data processing unit is connected to a corresponding control subunit, and all control subunits are connected to a data buffer unit.

[0122] The data input subunit is used to receive signals collected by the sensors and transmit them to the corresponding control subunits. The signals collected by the sensors include: leakage magnetic field signals, temperature signals, displacement signals, and single-ended signals.

[0123] The control subunit is used to parse the received signal, extract the original data bit width field, assign a corresponding address field to each group of original data bit width fields, and transmit the original data bit width field and address field to the data buffer unit.

[0124] In this embodiment of the invention, four sets of data input subunits and their corresponding control subunits are used as examples for illustration. The data processing unit includes a first data input subunit to a fourth data input subunit, and a first control subunit to a fourth control subunit corresponding to them.

[0125] The inputs to the data input subunit include: a clock signal, a reset signal, input data (such as A1_DATA to A4_DATA), and input addresses (such as A1_ADDRESS to A4_ADDRESS). The clock signal is used to synchronize the internal logic of the data processing unit. The reset signal is active low and is used to initialize the operating state of the data processing unit. The input address is typically an 8-bit address line [7:0].

[0126] The first to fourth input subunits are used to receive signals collected by multiple sensors. After completing a data input, each input subunit outputs a receive completion signal (ReceiveOver) to its corresponding control subunit to indicate the end of the receiving operation. After receiving the input data, the input subunit parses the input data into a raw data bit width field and transmits the raw data bit width field to the corresponding control subunit. The raw data bit width field is usually an 8-bit data RX_DATA[7:0].

[0127] The inputs to the control subunit include a clock signal, a reset signal, a receive completion signal, parsed input data (raw data bit width field), and corresponding input addresses (A1_ADDR[7:0], A2_ADDR[7:0], A3_ADDR[7:0], A4_ADDR[7:0]). The control subunit receives the receive completion signal, input data, and input address transmitted by its corresponding data input subunit, processes the input data to generate output data, and outputs the output data and input address together to the data buffer unit.

[0128] The data buffer unit determines its internal storage location based on the input address, stores the output data, and integrates multiple sets of output data into a data pair before transmitting it to the bridge chip to achieve efficient data interaction in the future.

[0129] According to the above embodiments, by setting multiple sets of data input subunits and corresponding control subunits in the data processing unit, parallel reception, data parsing, and data processing of multi-source sensor signals are realized. Each input subunit can output a reception completion signal in a timely manner after receiving complete data, thereby ensuring the orderliness and synchronization of the data processing process. By integrating multiple sets of output data and organizing data pairs through the data buffer unit, the efficiency of subsequent data interaction can be improved, and redundant transmission and invalid operations can be reduced.

[0130] The present invention also provides a corrosion monitoring system, including: the above-mentioned pipeline corrosion detector, multiple thickness sensors and a host computer.

[0131] Thickness sensors are placed at the corrosion sites on the pipeline to monitor the pipe thickness at those sites and generate pipe wall thickness data.

[0132] The host computer is used to receive digital displacement signals and pipe wall thickness data from the pipeline corrosion detector, generate a relationship graph between pipe wall thickness and mileage based on the digital displacement signals and pipe wall thickness data, and visualize the relationship graph.

[0133] When the thickness of the inner wall of the pipe is less than the first preset threshold or the corrosion rate is greater than the second preset threshold, the host computer will issue an alarm.

[0134] In this embodiment of the invention, the corrosion monitoring system includes multiple thickness sensors and a host computer. The number of thickness sensors can be increased or decreased according to actual needs, and this invention does not limit this.

[0135] Thickness sensors are installed at the locations of pipe corrosion identified by the pipe corrosion detector. These sensors collect pipe wall thickness data in real time and transmit the data to a remote computer via a wireless network. Upon receiving the wall thickness data, the computer visualizes and displays it in real time, allowing for continuous monitoring of wall thickness changes at the corrosion sites.

[0136] The thickness sensor is based on the ultrasonic thickness measurement principle and includes a sensor probe and a data analysis module. It is used to monitor pipe wall thickness. As pipelines operate over time, their wall thickness may decrease due to factors such as erosion and corrosion. The thickness sensor can monitor this wall thinning in real time. The data analysis module stores the pipe wall thickness data and analyzes the changes in wall thickness over a collection period to determine the degree and rate of thinning. This enables continuous monitoring of wall thinning caused by corrosion and wear, and the data is transmitted in real time to a host computer via a wireless network.

[0137] When the pipe wall thickness is detected to be less than the preset threshold, or the corrosion rate exceeds the preset threshold, the corrosion monitoring system triggers an alarm to prompt the pipeline operator to take timely measures.

[0138] In some embodiments, determining the corrosion rate includes:

[0139] The wall thickness loss is determined based on the rated pipe wall thickness and the pipe thickness collected by the thickness sensor.

[0140] The corrosion rate is determined based on the wall thickness loss and pipeline operating time.

[0141] In this embodiment of the invention, the wall thickness loss is calculated according to the following formula (3). .

[0142]

[0143] in, This is the currently collected wall thickness data. This refers to the initial wall thickness data of the pipeline (rated pipe wall thickness).

[0144] The corrosion rate S is calculated according to the following formula (4):

[0145]

[0146] in, This represents the wall thickness loss, expressed in millimeters (mm). The pipeline operating time is in years.

[0147] According to the above embodiments, the corrosion monitoring system achieves real-time monitoring of pipe wall thickness by installing thickness sensors at corrosion locations identified by the pipeline corrosion detector. The thickness sensors, based on the ultrasonic thickness measurement principle, feature high detection accuracy and strong real-time performance. The data analysis module can track the long-term trend of pipe wall thickness changes and calculate the wall thickness loss and corrosion rate accordingly, thereby quantitatively assessing the development of pipeline corrosion. The corrosion process is reflected through standardized and repeatable calculation methods, avoiding subjective errors caused by human experience. When monitoring results indicate that the current pipe wall thickness is less than a preset threshold, or the corrosion rate exceeds a preset limit, the corrosion monitoring system can automatically trigger an alarm to prompt maintenance personnel to take appropriate measures. Through this approach, not only is monitoring accuracy and reliability guaranteed, but early warning and risk management of pipeline corrosion are also achieved, thereby improving the safety of pipeline operation and the effectiveness of maintenance management.

[0148] In some embodiments, after power-on, the pipeline corrosion detector enters a delay phase of approximately 2 seconds. During this period, the detector confirms the batch information of the sensors and outputs version information. After the delay phase, the detector enters normal operation. The detector performs data acquisition and processing operations according to a preset sampling frequency, taking a 1kHz sampling frequency as an example. A sampling process is triggered every 1ms. Within each sampling cycle, the corrosion detection sensor, attitude sensor, odometer, and temperature sensor are sequentially activated to acquire data, and the acquired signals are transmitted to the embedded FPGA module. The embedded FPGA module preprocesses the received signals, adds frame header and frame tail information to the data frame, and outputs the processed data to a SATA hard drive for storage. After a sampling and storage operation is completed, the detector immediately restarts the next 1ms timing cycle to prepare for subsequent data acquisition and processing. The above steps are executed cyclically until the detector is powered off, at which point the corrosion detection process terminates.

[0149] According to the above embodiment, the pipeline corrosion detector performs a delay operation after power-on to confirm the batch and version information of the connected sensors. After entering normal operation, the pipeline corrosion detector cyclically collects the output signals of multiple sensors and inputs the output signals to the FPGA module for real-time preprocessing and storage. Through this method, high-precision and continuous stable acquisition and processing of sensor data is achieved, thereby ensuring the reliability and integrity of the pipeline corrosion detection process.

[0150] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A pipe corrosion detector characterized by, include: The battery compartment, corrosion detection compartment, and data processing compartment are sequentially connected by universal joints; each of the battery compartment, corrosion detection compartment, and data processing compartment is composed of two sealed support members and a pressure-resistant chamber disposed between the two sealed support members. The pressure-resistant chamber of the battery compartment is equipped with multiple power modules, which are arranged axially. The corrosion detection chamber is equipped with multiple corrosion detection sensors along its circumference, and permanent magnets are symmetrically mounted on both sides of the corrosion detection sensors. The permanent magnets are used to magnetize the pipe to generate magnetic flux inside the pipe. If there is a defect area on the pipe surface, the magnetic flux enters the outside of the pipe from the inside to form an external magnetic field. The corrosion detection sensors are used to collect magnetic induction intensity data of the inner wall of the pipe and generate corresponding leakage magnetic signals based on the magnetic induction intensity data, which are then transmitted to the data processing module. At least one odometer is installed at the end of the data processing compartment to measure the angular displacement of the odometer wheel, output a simulated displacement signal based on the measured angular displacement of the odometer wheel, and transmit the simulated displacement signal to the data processing module. The pressure chamber of the data processing compartment is equipped with a data processing module, which is used to process signals collected by various sensors and determine the location of pipeline corrosion based on the leakage magnetic field signal and the simulated displacement signal.

2. The pipe corrosion detector of claim 1, wherein, The corrosion detection sensor is a triaxial magnetic sensor, which includes three magnetic induction units arranged along the X, Y, and Z axes, respectively. When the direction of the external magnetic field is the same as the setting direction of any magnetic induction unit, the external magnetic field changes the resistance value of that magnetic induction unit. When the direction of the external magnetic field is perpendicular to the setting direction of any magnetic induction unit, the resistance value of that magnetic induction unit remains unchanged. The triaxial magnetic sensor determines the direction of the external magnetic field and the magnetic induction intensity data based on the change in the resistance value, and transmits them to the data processing module.

3. The pipe corrosion detector of claim 1, wherein, The pressure-resistant chamber of the data processing cabin is also equipped with an attitude sensor, which includes an inertial measurement unit and an inertial navigation unit. The inertial measurement unit includes a three-axis gyroscope, a three-axis accelerometer, and a three-axis electronic compass. The three-axis gyroscope is used to acquire the angular velocities of the pipeline corrosion detector along the X, Y, and Z axes; the three-axis accelerometer is used to acquire the linear accelerations along the X, Y, and Z axes; and the three-axis electronic compass is used to indicate the direction of the external magnetic field. The inertial measurement unit outputs the angular velocities and linear accelerations to the inertial navigation unit. The inertial navigation unit integrates the angular velocity and the linear acceleration within a preset time period to obtain the angle increment and the velocity increment; and outputs the angle increment and the velocity increment to the data processing module.

4. The pipe corrosion detector of claim 1, wherein, The data processing module includes: an analog-to-digital converter, a gating switch, and an FPGA; The analog-to-digital converter is used to receive the analog displacement signals from multiple odometers, convert the analog displacement signals into digital displacement signals, and output them to the FPGA via an inter-integrated circuit bus protocol; The gating switch is used to select the digital displacement signal of the corresponding odometer according to the received control signal and transmit it to the FPGA; The FPGA is used to process signals collected by various sensors and determine the location of pipeline corrosion based on the leakage magnetic field signal and the simulated displacement signal.

5. The pipe corrosion detector of claim 1, wherein, The data processing module also includes a regulated power supply and a transformer; the regulated power supply is used to receive the input voltage of the power supply module and convert the input voltage into a first preset voltage; the transformer transforms the first preset voltage to obtain a second preset voltage.

6. The pipe corrosion detector of claim 4, wherein, The data processing module also includes a channel allocation module, which is used to receive the leakage magnetic signal collected by the corrosion detection sensor, amplify the leakage magnetic signal, and transmit it to the FPGA.

7. The pipe corrosion detector of claim 4, wherein, The FPGA includes: The data processing unit is used to parse the signals collected by the sensor, extract the original data bit width field, assign a corresponding address field to each group of the original data bit width field, and transmit the original data bit width field and the address field to the data buffer unit. A data caching unit is used to integrate multiple sets of the received original data bit width and the address field into a structured data pair, and transmit the data pair to the bridge chip.

8. The pipe corrosion detector of claim 7, wherein, The data processing unit includes: multiple data input subunits and multiple control subunits; each data processing unit is connected to a corresponding control subunit, and the multiple control subunits are all connected to the data buffer unit. The data input subunit is used to receive signals collected by multiple sensors and output the signals to the corresponding control subunits; wherein, the signals include leakage magnetic field signals, temperature signals, digital displacement signals and single-ended signals; The control subunit is used to parse the received signal, extract the original data bit width field, assign a corresponding address field to each group of the original data bit width fields, and transmit the original data bit width field and the address field to the data buffer unit.

9. A corrosion monitoring system, characterized in that, include: The pipeline corrosion detector, multiple thickness sensors, and host computer according to any one of claims 1 to 8; The thickness sensor is installed at the corrosion location of the pipeline to monitor the pipeline thickness at the corrosion location and generate pipe wall thickness data. The host computer is used to receive the digital displacement signal of the pipeline corrosion detector and the pipe wall thickness data, generate a relationship graph between pipe wall thickness and mileage based on the digital displacement signal and the pipe wall thickness data, and visualize the relationship graph. When the pipe wall thickness is less than the first preset threshold or the corrosion rate is greater than the second preset threshold, the host computer will perform an alarm operation.

10. The corrosion monitoring system according to claim 9, characterized in that, Determining the corrosion rate includes: The wall thickness loss is determined based on the rated pipe wall thickness and the pipe thickness collected by the thickness sensor. The corrosion rate is determined based on the wall thickness loss and pipeline operating time.