Pipeline detection method and device, electronic equipment and storage medium
The magnetic field and temperature of the pipeline are detected by the dual-channel sensor, and the magnetic field and temperature change amount are calculated, which solves the problem of low detection accuracy caused by magnetic field signal interference in the prior art, and improves the reliability of pipeline detection.
Patent Information
- Application Number
- CN202411388101.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-09-30
AI Technical Summary
In the existing pipeline detection technology, magnetic field signals are easily disturbed, resulting in low accuracy of detection results and affecting the reliability of pipeline maintenance.
The magnetic field and temperature of the pipeline wall are detected by using a dual-channel sensor. By obtaining the first and second loss peak light wavelengths, combining the magnetic field and temperature sensitivity, and transfer matrix, the magnetic field intensity and temperature change amount are calculated, and the defect information of the pipeline is determined. .
By decoupling the interference of the two parameters of magnetic field and temperature, the accuracy of detection is improved and the reliability of pipeline maintenance is ensured.
Smart Images

Figure CN119064442A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of pipeline detection, and in particular to a pipeline detection method, device, electronic equipment and storage medium. Background Art
[0002] Pipelines can be used to efficiently transport energy materials such as oil and natural gas. Pipelines are generally made of steel as raw materials. During the steel smelting process, due to the steel's own material and chemical reactions at high temperatures, the produced steel will contain some debris, which will affect the stability of the pipeline. As the pipeline is used for a longer time, the pipeline may have defects, which will affect transportation or cause safety hazards.
[0003] In actual applications, pipelines are inspected using pipeline detection technology, and when defects are detected, the pipelines are maintained in a timely manner to ensure the normal use of the pipelines.
[0004] In the related art, the magnetic field signal of the pipeline can be detected by magnetic flux leakage detection to obtain the change in the pipeline magnetic field strength, and the corresponding defect can be determined according to the change in the magnetic field strength. However, the magnetic field signal will be interfered, resulting in low accuracy of the detection result, which in turn leads to poor reliability of pipeline maintenance. Summary of the invention
[0005] The present application provides a pipeline detection method, device, electronic equipment and storage medium to improve the accuracy of pipeline detection.
[0006] In a first aspect, the present application provides a pipeline detection method, comprising: detecting a current magnetic field and a current light wave by a dual-channel sensor arranged on a pipeline wall to obtain a first loss peak light wavelength and a second loss peak light wavelength; determining the magnetic field sensitivity and the temperature sensitivity of the dual-channel sensor; determining a current magnetic field intensity change and a current temperature change according to the first loss peak light wavelength, the second loss peak light wavelength, the magnetic field sensitivity, the temperature sensitivity, and a transfer matrix, wherein the transfer matrix is used to calculate a magnetic field intensity change and a temperature change according to a loss peak light wavelength offset value; and determining pipeline defect information according to the current magnetic field intensity change and the current temperature change.
[0007] In a possible implementation, the dual-channel sensor includes a first channel and a second channel, the first channel and the second channel are filled with different magnetically sensitive materials respectively, and the surfaces of the first channel and the second channel are covered with a composite sensitive layer; the current magnetic field and the current temperature are detected by the dual-channel sensor arranged on the pipeline wall to obtain a first loss peak light wavelength and a second loss peak light wavelength, including: absorbing y-polarized light through the first channel, and performing spectral detection through a spectrometer to obtain a first spectrum graph; analyzing and processing the first spectrum graph to obtain the first loss peak light wavelength; absorbing x-polarized light through the second channel, and performing spectral detection through a spectrometer to obtain a second spectrum graph; analyzing and processing the second spectrum graph to obtain the second loss peak light wavelength.
[0008] In a possible implementation, the current magnetic field intensity change and the current temperature change are determined according to the first loss peak light wavelength, the second loss peak light wavelength, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix, including: determining a first reference peak of the first channel and a second reference peak of the second channel; determining a first offset value according to the first loss peak light wavelength and the first reference peak; determining a second offset value according to the second loss peak light wavelength and the second reference peak; determining the current magnetic field intensity change and the current temperature change according to the first offset value, the second offset value, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix.
[0009] In a possible implementation, the magnetic field sensitivity includes a first sensitivity of the first channel and a second sensitivity of the second channel, and the temperature sensitivity includes a third sensitivity of the first channel and a fourth sensitivity of the second channel; the current magnetic field strength change and the current temperature change are determined according to the first offset value, the second offset value, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix, including: calculating the first offset value, the second offset value, the first sensitivity, the second sensitivity, the third sensitivity, and the fourth sensitivity through the transfer matrix to obtain the current magnetic field strength change and the current temperature change.
[0010] In a possible implementation, determining the defect information of the pipeline according to the current magnetic field strength change and the current temperature change includes: determining a prediction model, wherein the prediction model is obtained by training multiple historical magnetic field strength changes and multiple historical temperature changes; and inputting the current magnetic field strength change and the current temperature change into the prediction model to obtain the defect information of the pipeline.
[0011] In a possible implementation, the method further includes: determining a plurality of first sample light waves and a plurality of second sample light waves, the plurality of first sample light waves respectively corresponding to a plurality of first magnetic field intensities, and the plurality of second sample light waves respectively corresponding to a plurality of first temperatures; for any one channel of the dual-channel sensor, detecting the plurality of first sample light waves through the channel respectively to obtain a plurality of first sample loss peaks, and detecting the plurality of second sample light waves through the channel respectively to obtain a plurality of second sample loss peaks; fitting a plurality of loss peak offset values corresponding to the plurality of first sample loss peaks and the plurality of first magnetic field intensities to obtain the sensitivity of the loss peak offset value of the channel to the change in magnetic field intensity; fitting a plurality of loss peak offset values corresponding to the plurality of second sample loss peaks and the plurality of first temperatures to obtain the sensitivity of the loss peak offset value of the channel to the change in temperature.
[0012] In a second aspect, the present application provides a pipeline detection device, comprising: a detection module, used to detect the current magnetic field and the current temperature through a dual-channel sensor arranged on the pipeline wall to obtain a first loss peak light wavelength and a second loss peak light wavelength; a determination module, used to determine the magnetic field sensitivity and the temperature sensitivity of the dual-channel sensor; a calculation module, used to determine the current magnetic field intensity change and the current temperature change according to the first loss peak light wavelength, the second loss peak light wavelength, the magnetic field sensitivity, the temperature sensitivity, and a transfer matrix, the transfer matrix being used to calculate the magnetic field intensity change and the temperature change according to the offset value of the loss peak light wavelength; a prediction module, used to determine the defect information of the pipeline according to the current magnetic field intensity change and the current temperature change.
[0013] In a possible embodiment, the dual-channel sensor includes a first channel and a second channel, the first channel and the second channel are filled with different magnetic sensitive materials respectively, and the surfaces of the first channel and the second channel are covered with a composite sensitive layer; the detection module is specifically used to absorb y-polarized light through the first channel, and perform spectral detection through a spectrometer to obtain a first spectrum graph; the detection module is specifically used to analyze and process the first spectrum graph to obtain the first loss peak light wavelength; the detection module is specifically used to absorb x-polarized light through the second channel, and perform spectral detection through a spectrometer to obtain a second spectrum graph; the detection module is specifically used to analyze and process the second spectrum graph to obtain the second loss peak light wavelength.
[0014] In a possible implementation, the device further includes: an execution module, used to determine a first reference peak of the first channel and a second reference peak of the second channel; the execution module is also used to determine a first offset value based on the first loss peak light wavelength and the first reference peak; the execution module is also used to determine a second offset value based on the second loss peak light wavelength and the second reference peak; the execution module is also used to determine the current magnetic field intensity change and the current temperature change based on the first offset value, the second offset value, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix.
[0015] In a possible implementation, the magnetic field sensitivity includes a first sensitivity of the first channel and a second sensitivity of the second channel, and the temperature sensitivity includes a third sensitivity of the first channel and a fourth sensitivity of the second channel; the execution module is specifically used to calculate the first offset value, the second offset value, the first sensitivity, the second sensitivity, the third sensitivity, and the fourth sensitivity through the transfer matrix to obtain the current magnetic field strength change and the current temperature change.
[0016] In a possible implementation, the device further includes: a processing module, used to determine a prediction model, wherein the prediction model is obtained by training multiple historical magnetic field intensity changes and multiple historical temperature changes; the processing module is also used to input the current magnetic field intensity change and the current temperature change into the prediction model to obtain defect information of the pipeline.
[0017] In a possible implementation, the device further includes: a testing module, used to determine a plurality of first sample light waves and a plurality of second sample light waves, the plurality of first sample light waves respectively corresponding to a plurality of first magnetic field intensities, and the plurality of second sample light waves respectively corresponding to a plurality of first temperatures; the testing module is also used to detect the plurality of first sample light waves respectively through any one channel of the dual-channel sensor to obtain a plurality of first sample loss peaks, and to detect the plurality of second sample light waves respectively through the channel to obtain a plurality of second sample loss peaks; the testing module is also used to perform fitting processing on a plurality of loss peak offset values corresponding to the plurality of first sample loss peaks and the plurality of first magnetic field intensities to obtain the sensitivity of the loss peak offset value of the channel to the change in magnetic field intensity; the testing module is also used to perform fitting processing on a plurality of loss peak offset values corresponding to the plurality of second sample loss peaks and the plurality of first temperatures to obtain the sensitivity of the loss peak offset value of the channel to the change in temperature.
[0018] In a third aspect, the present application provides an electronic device comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement any method described in the first aspect.
[0019] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor as described in any one of the methods in the first aspect.
[0020] In a fifth aspect, the present application provides a computer program product, comprising a computer program, wherein the computer program is executed by a processor as in any one of the methods in the first aspect.
[0021] The pipeline detection method, device, electronic device and storage medium provided in the present application include: detecting the current magnetic field and current temperature by a dual-channel sensor arranged on the pipeline wall to obtain the first loss peak light wavelength and the second loss peak light wavelength; determining the magnetic field sensitivity and temperature sensitivity of the dual-channel sensor; determining the current magnetic field intensity change and the current temperature change according to the first loss peak light wavelength, the second loss peak light wavelength, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix, wherein the transfer matrix is used to calculate the magnetic field intensity change and the temperature change according to the offset value of the loss peak light wavelength; determining the defect information of the pipeline according to the current magnetic field intensity change and the current temperature change. The above scheme detects the two parameters of magnetic field intensity and temperature at the same time through the dual-channel sensor, realizes the decoupling of the two parameters, avoids the interference between the two parameters, and thus improves the accuracy of detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0023] Figure 1 A schematic diagram of an application scenario of a pipeline detection method provided in an embodiment of the present application;
[0024] Figure 2 A schematic diagram of magnetic flux leakage detection provided in an embodiment of the present application;
[0025] Figure 3 A schematic diagram of a pipeline detection method provided in an embodiment of the present application;
[0026] Figure 4 A schematic diagram of a pipeline detection method provided in an embodiment of the present application;
[0027] Figure 5 A schematic diagram of a cross section of a dual-channel sensor provided in an embodiment of the present application;
[0028] Figure 6 A schematic diagram of a dual-channel sensor model provided in an embodiment of the present application;
[0029] Figure 7 A schematic diagram of predicted defect information provided by an embodiment of the present application;
[0030] Figure 8 A schematic diagram of the structure of a pipeline detection device provided in an embodiment of the present application;
[0031] Fig. 9 A schematic diagram of the structure of a pipeline detection device provided in an embodiment of the present application;
[0032] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0033] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0034] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0035] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0036] It should be noted that the pipeline detection method, device, electronic equipment and storage medium of the present application can be used in the field of pipeline detection technology, and can also be used in any field other than pipeline detection. The application field of the pipeline detection method, device, electronic equipment and storage medium of the present application is not limited.
[0037] Figure 1 A schematic diagram of an application scenario of a pipeline detection method provided in an embodiment of the present application is given as an example in combination with the illustrated scenario: a sensor is installed on the pipeline, the sensor detects a specific signal of the pipeline to obtain a detection result, and the defect information of the pipeline is determined based on the detection result.
[0038] In the related technology, non-destructive testing of pipelines can be performed by magnetic flux leakage testing. Magnetic flux leakage testing (MFL) is a technical means to achieve the purpose of detection by magnetizing the ferromagnetic material of the component. Since magnetic flux leakage will occur when there are defects in the tested component, the strength, range and number of the magnetic flux leakage signal detected can be used as the basis for the detection.
[0039] Figure 2 This is a schematic diagram of magnetic flux leakage detection. Figure 2 As shown, the pipeline is magnetized by a magnetizing device such as a permanent magnet. During the magnetization process, the magnetizing device and the pipeline form a complete magnetic path. If the pipeline material is continuously and evenly distributed, the provided magnetic flux is bound inside the component due to the magnetic permeability and distributed parallel to the magnetic path direction. It will hardly penetrate the surface of the structure and diffuse outward, so the sensor will not detect obvious changes in the magnetic field. The generation of defects often causes the continuity and uniformity of the pipeline material to be destroyed, that is, the magnetic resistance and magnetic permeability at the defect change. The sharp increase in magnetic resistance and the sudden drop in magnetic permeability at the defect cause the change in magnetic flux distribution, which is mainly manifested in the magnetic flux lines in the pipeline detouring near the defects of the component, and even breaking away from the surface of the structure to leak into the external space and finally return to the inside of the pipeline. Therefore, the sensor can detect obvious changes in the magnetic field.
[0040] In the related art, the sensor obtains the change in magnetic field strength by detecting the magnetic field signal of the pipeline. However, temperature changes will cause the drift of the magnetic field signal. If the magnetic field signal is directly detected, the change in magnetic field strength obtained will be inaccurate.
[0041] The pipeline detection method provided in the present application is intended to solve the above technical problems in the prior art.
[0042] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0043] Figure 3 A schematic diagram of a pipeline detection method provided in an embodiment of the present application, the method comprising the following steps:
[0044] S301 , detecting the current magnetic field and the current temperature by means of a dual-channel sensor arranged on the pipeline wall to obtain a first loss peak light wavelength and a second loss peak light wavelength.
[0045] Among them, the loss peak is the place where the energy loss of the light wave is the greatest when passing through a certain substance. The properties of the current light wave can be determined through the loss peak.
[0046] For example, the polarization state of a light wave changes under the action of a magnetic field. Specifically, when a light wave passes through a magnetic field region, its polarization direction rotates. By detecting the light wave to determine whether the light wave is affected by the magnetic field, the magnetic field is indirectly detected.
[0047] Combined with the scenario example, the dual-channel sensor is used to perform real-time detection of the pipeline. The current light wave is the light wave currently passing through the dual-channel sensor. By performing real-time detection of the current light wave, it can be determined whether the pipeline currently has defects.
[0048] Optionally, the dual-channel sensor can be arranged on the inner wall or the outer wall of the pipe.
[0049] S302: Determine the magnetic field sensitivity and temperature sensitivity of the dual-channel sensor.
[0050] Exemplarily, the magnetic field sensitivity is the sensitivity of the offset value of the loss peak detected by the dual-channel sensor to the change in magnetic field intensity, and the temperature sensitivity is the sensitivity of the offset value of the loss peak detected by the dual-channel sensor to the change in temperature.
[0051] Optionally, the magnetic field sensitivity and the temperature sensitivity are obtained by testing the dual-channel sensor in advance according to the light wave of the known magnetic field. The magnetic field sensitivity and the temperature sensitivity are related to the properties of the magnetic fluid in the channel.
[0052] Optionally, the magnetic field sensitivity and temperature sensitivity of the dual-channel sensor are determined by a wavelength modulation mechanism.
[0053] Exemplarily, a specific method using a wavelength modulation mechanism may include 1. Designing a sensor probe, designing a sensor probe that can respond to magnetic field or temperature changes. This probe may contain sensitive materials or structures. When the external magnetic field or temperature changes, the optical properties of these materials (such as refractive index, absorption coefficient, etc.) will change, thereby affecting the wavelength of light passing through them. 2. Wavelength modulation, designing a mechanism to modulate the wavelength of light passing through the sensor probe. This usually involves using a tunable light source or an external modulator to generate a series of known wavelengths of light. These lights are then transmitted to the sensor probe through an optical fiber and are shifted by the magnetic field or temperature. 3. Data acquisition, when the light with magnetic field or temperature information returns to the detection end, a spectrometer or other appropriate equipment is used to collect the wavelength information of the reflected or transmitted light. The key to this step is to ensure that the accuracy of the data acquisition system is high enough to distinguish the small wavelength shifts caused by magnetic field or temperature changes. 4. Data processing, calculating the sensitivity of the magnetic field or temperature by analyzing the collected data. This means determining the relationship between the change in output wavelength and the change in input magnetic field or temperature. Usually, this requires the establishment of a mathematical model to describe the physical phenomenon and fitting to extract sensitivity parameters.
[0054] S303, determining the current magnetic field intensity change and the current temperature change according to the first loss peak light wavelength, the second loss peak light wavelength, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix, wherein the transfer matrix is used to calculate the magnetic field intensity change and the temperature change according to the offset value of the loss peak light wavelength.
[0055] The current magnetic field intensity change is the change of the magnetic field intensity corresponding to the current light wave relative to the reference magnetic field intensity. The current temperature change is the change of the temperature corresponding to the current light wave relative to the reference temperature.
[0056] Among them, the transfer matrix is the correspondence between the loss peak obtained by modeling and the change in magnetic field intensity and the change in temperature. The transfer matrix includes sensitivity parameters. The change in magnetic field intensity and the change in temperature can be calculated based on the loss peak and sensitivity parameters.
[0057] S304: Determine pipeline defect information based on the current magnetic field intensity change and the current temperature change.
[0058] The defect information includes but is not limited to at least one of the following: defect location, defect size, defect depth, or defect shape.
[0059] Exemplarily, there is a corresponding relationship between each type of defect and the magnetic field strength and temperature, and the defect information at the location of the dual-channel sensor is determined through the corresponding relationship.
[0060] Optionally, multiple detection results corresponding to multiple dual-channel sensors at adjacent positions are determined, and the multiple detection results are combined for analysis to obtain defect information.
[0061] The pipeline detection method provided in the embodiment of the present application detects the current magnetic field and the current temperature through a dual-channel sensor set on the pipeline wall to obtain the first loss peak light wavelength and the second loss peak light wavelength; determines the magnetic field sensitivity and temperature sensitivity of the dual-channel sensor; determines the current magnetic field intensity change and the current temperature change according to the first loss peak light wavelength, the second loss peak light wavelength, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix, and the transfer matrix is used to calculate the magnetic field intensity change and the temperature change according to the offset value of the loss peak light wavelength; determines the defect information of the pipeline according to the current magnetic field intensity change and the current temperature change. The above scheme detects the two parameters of magnetic field intensity and temperature at the same time through the dual-channel sensor, realizes the decoupling of the two parameters, avoids the interference between the two parameters, and thus improves the accuracy of detection.
[0062] Based on any of the above embodiments, Figure 4 , the detailed process of pipeline detection is explained.
[0063] Figure 4 The following is a flow chart of a pipeline detection method provided in an embodiment of the present application. Figure 4 As shown, the method includes:
[0064] S401, absorbing y-polarized light through a first channel, and performing spectrum detection through a spectrometer to obtain a first spectrum graph.
[0065] The dual-channel sensor includes a first channel and a second channel. The first channel and the second channel are filled with different magnetically sensitive materials respectively. The surfaces of the first channel and the second channel are covered with a composite sensitive layer.
[0066] Among them, the composite sensitive layer is used to promote and modulate the phase matching between the fundamental mode and the surface plasmon polariton (SPP) mode.
[0067] For example, the structure of the dual-channel sensor is a photonic crystal fiber (PCF), which has a periodic hole structure and can control the propagation path and mode of light. The channels of the dual-channel sensor are designed based on the principle of surface plasmon resonance (SPR), which is an optical effect that occurs near the interface between metal and medium and can enhance the absorption and scattering effect of light.
[0068] Next, combine Figure 5 A cross section of a dual-channel sensor is described.
[0069] Figure 5 This is a schematic diagram of a cross section of a dual-channel sensor provided in an embodiment of the present application. Figure 5 As shown, the sensor includes two layers of air holes. The first layer of air holes is arranged in a square lattice. Its main function is to control the mode field area of the fundamental mode and the transfer of energy from the fundamental mode to the SPP mode. It includes two sizes of air holes. The second layer of air holes mainly adjusts the refractive index difference between the cladding and the core, limits the energy leakage from the fundamental mode to the cladding, and ensures the quality of light wave transmission. The two channels are arranged vertically, and the channels include a sensitive layer.
[0070] Optionally, the magnetic fluid filled in the first channel may be a water-based magnetic fluid with a ferromagnetic particle concentration of 1.8%, and the magnetic fluid filled in the second channel may be ethanol. The sensitive layer may be a Ag-Si3N4 composite film.
[0071] Combined with the scene example, the first channel absorbs the y-polarized light of the current light wave, and the second channel absorbs the x-polarized light of the current light wave. The refractive index corresponding to different magnetic fluids changes to different degrees with the magnetic field strength or temperature, thereby decoupling the two parameters of magnetic field strength and temperature.
[0072] Optionally, a perfectly matched layer (PML) is provided on the outer layer of the dual-channel sensor, and the PML is used to reduce the influence of the edge reflection of the simulation domain.
[0073] Next, combine Figure 6 A dual-channel sensor model is described.
[0074] Figure 6 Schematic diagram of a dual-channel sensor model provided in an embodiment of the present application. Figure 6 As shown, the dual-channel sensor model is divided by finite element method to obtain multiple triangular meshes. The transfer matrix based on magnetic field intensity and temperature can be calculated through the dual-channel sensor model, so as to determine the change of magnetic field intensity and the current temperature change according to the detection result of light wave.
[0075] For example, for a plasmonic planar waveguide structure, one of the most important conditions for SPR excitation is that the incident light wave vector is in TM polarization (or P polarization) mode, and thus the effect of the incident P polarization light on the sensitive layer is considered.
[0076] Based on the above implementation, by absorbing y-polarized light and x-polarized light respectively through the first channel and the second channel, cross interference between loss peaks can be avoided, and simultaneous detection of two parameters, magnetic field intensity and temperature, can be achieved, thereby improving detection accuracy.
[0077] S402: Analyze and process the first spectrum graph to obtain a first loss peak light wavelength.
[0078] Exemplarily, the first spectrum graph is obtained based on the absorption of the current light wave by the first channel, and the first loss peak light wavelength corresponding to the degree of decrease in light intensity caused by the absorption of the current light wave by the first channel is obtained by analyzing and processing the first spectrum graph.
[0079] Combined with the scenario example, when the magnetic field or temperature changes, the refractive index of the magnetic fluid will change, which will cause the propagation mode of the light wave in the channel to change, thus affecting the loss degree of the light wave. This change will be reflected in the spectrum as the movement of the loss peak position. By monitoring the change in the position of the loss peak, the change of magnetic field strength and temperature can be indirectly measured.
[0080] S403 , absorbing the x-polarized light through the second channel, and performing spectrum detection through a spectrometer to obtain a second spectrum graph.
[0081] It should be noted that the execution process of S403 refers to S401 and will not be repeated here.
[0082] S404: Analyze and process the second spectrum to obtain a second loss peak light wavelength.
[0083] It should be noted that the execution process of S404 refers to S402 and will not be repeated here.
[0084] S405: Determine the magnetic field sensitivity and temperature sensitivity of the dual-channel sensor.
[0085] It should be noted that the execution process of S405 refers to S402 and will not be repeated here.
[0086] S406 , determining a first reference peak of the first channel and a second reference peak of the second channel.
[0087] Among them, the first reference peak is the loss peak obtained by detecting the reference light wave through the first channel, the second reference peak is the loss peak obtained by detecting the reference light wave through the second channel, the magnetic field intensity of the reference peak light wavelength is the reference magnetic field intensity, and the temperature of the reference peak light wavelength is the reference temperature.
[0088] Combined with the scenario example, before the dual-channel sensor detects the pipeline, the dual-channel sensor is tested with a reference light wave to obtain the reference peak of the dual-channel sensor under the conditions corresponding to the reference light wave. The reference peak is used to evaluate the offset value of the loss peak when detecting the pipeline. The change in magnetic field or temperature will cause the loss peak to shift, so the change in magnetic field strength and temperature can be calculated through the offset value.
[0089] S407: Determine a first offset value according to the first loss peak optical wavelength and the first reference peak.
[0090] Exemplarily, the wavelength corresponding to the peak value of the first loss peak is determined, the wavelength corresponding to the peak value of the first reference peak is determined, and the difference between the two wavelengths is calculated to obtain the first offset value.
[0091] In conjunction with the scenario example, the peak value of the first loss peak is the highest point of the first loss peak, and the peak value of the first reference peak is the highest point of the first reference peak.
[0092] Optionally, the wavelength corresponding to the peak value of the first reference peak is determined in advance, and the wavelength is directly used when detecting the pipeline to avoid calculating the wavelength corresponding to the peak value of the first reference peak every time the detection is performed, thereby improving the detection efficiency.
[0093] S408: Determine a second offset value according to the second loss peak optical wavelength and the second reference peak.
[0094] It should be noted that the execution process of S408 refers to S407 and will not be repeated here.
[0095] S409, calculating the first offset value, the second offset value, the first sensitivity, the second sensitivity, the third sensitivity, and the fourth sensitivity through the transfer matrix to obtain the current magnetic field intensity change and the current temperature change.
[0096] Among them, the magnetic field sensitivity includes the first sensitivity of the loss peak offset value of the first channel to the change in magnetic field strength, and the second sensitivity of the loss peak offset value of the second channel to the change in magnetic field strength. The temperature sensitivity includes the third sensitivity of the loss peak offset value of the first channel to the temperature change, and the fourth sensitivity of the loss peak offset value of the second channel to the change in magnetic field strength.
[0097] Exemplarily, the first sensitivity, the second sensitivity, the third sensitivity, and the fourth sensitivity are obtained by testing the dual-channel sensor in advance and are fixed parameters in the transfer matrix. The model of the loss peak offset value, the magnetic field intensity change, and the temperature change is established as shown in formula (1):
[0098]
[0099] Where Δλ1 is the first offset value of the first channel, Δλ2 is the second offset value of the second channel, T is the temperature, ΔT is the temperature change, H0 is the magnetic field strength, ΔH is the magnetic field strength change, Δλ ij ,i=1,2,j=T,H0 represents the loss peak shift value corresponding to the first channel or the second channel caused by temperature change and magnetic field strength change, is the first sensitivity of the loss peak offset value of the first channel to the change in magnetic field intensity, is the second sensitivity of the loss peak deviation value of the second channel to the change in magnetic field intensity, S1T The third sensitivity of the loss peak deviation value of the first channel to the temperature change, S 2T is a fourth sensitivity of the loss peak shift value of the second channel to the temperature change.
[0100] Combined with the scenario example, the relationship between the total loss peak offset value and the magnetic field intensity change ΔH and temperature change ΔT is:
[0101] Exemplarily, the transfer matrix (2) is obtained by inverting formula (1):
[0102]
[0103] Combined with the scenario example, the above parameters are substituted into the transfer matrix (2) to obtain the current magnetic field intensity change and the current temperature change.
[0104] S410, determining a prediction model, where the prediction model is obtained by training a plurality of historical magnetic field intensity changes and a plurality of historical temperature changes.
[0105] The prediction model is used to predict defect information. The historical magnetic field intensity change and the historical temperature change are training samples of the prediction model.
[0106] Exemplarily, there is a corresponding relationship between the defect information and the change in magnetic field intensity and the change in temperature. The prediction model is trained to learn the corresponding relationship, thereby predicting the defect information based on the corresponding relationship.
[0107] S411, input the current magnetic field intensity change and the current temperature change into the prediction model to obtain pipeline defect information.
[0108] Next, combine Figure 7 The predicted defect information is described.
[0109] Figure 7 This is a schematic diagram of the predicted defect information provided by the embodiment of the present application. Figure 7 As shown, the pipeline is inspected to obtain the first loss peak and the second loss peak. The current temperature change and the current magnetic field strength change corresponding to the first loss peak and the second loss peak are calculated by transfer matrix. The current temperature change and the current magnetic field strength change are input into the prediction model to obtain the defect information output by the model based on the current temperature change and the current magnetic field strength change.
[0110] Based on the above implementation methods, defect information is predicted through a prediction model, which reduces manual operations and avoids errors introduced by manual operations, thereby improving the accuracy of prediction.
[0111] In a feasible implementation manner, the pipeline detection method also includes: determining multiple first sample light waves and multiple second sample light waves, the multiple first sample light waves respectively correspond to multiple first magnetic field intensities, and the multiple second sample light waves respectively correspond to multiple first temperatures; for any one channel of the dual-channel sensor, the multiple first sample light waves are detected through the channel to obtain multiple first sample loss peaks, and the multiple second sample light waves are detected through the channel to obtain multiple second sample loss peaks; fitting multiple loss peak offset values corresponding to the multiple first sample loss peaks and the multiple first magnetic field intensities to obtain the sensitivity of the loss peak offset value of the channel to the change in magnetic field intensity; fitting multiple loss peak offset values corresponding to the multiple second sample loss peaks and the multiple first temperatures to obtain the sensitivity of the loss peak offset value of the channel to the change in temperature.
[0112] Optionally, a plurality of loss peak offset values corresponding to a plurality of first sample loss peaks and a plurality of first magnetic field intensities are fitted to obtain a first corresponding relationship between the loss peak offset value of the channel and the change in magnetic field intensity; the coefficient of the first corresponding relationship is determined as the sensitivity of the loss peak offset value of the channel to the change in magnetic field intensity; a plurality of loss peak offset values corresponding to a plurality of second sample loss peaks and a plurality of first temperatures are fitted to obtain a second corresponding relationship between the loss peak offset value of the channel and the change in temperature; the coefficient of the second corresponding relationship is determined as the sensitivity of the loss peak offset value of the channel to the change in temperature.
[0113] Exemplarily, the loss peak offset value is affected by two parameters and is tested by controlling variables. When determining the corresponding relationship between the loss peak offset value and the change in magnetic field strength, the temperature parameter is controlled unchanged. When determining the corresponding relationship between the loss peak offset value and the temperature change, the magnetic field strength parameter is controlled unchanged.
[0114] With reference to a scenario example, for example, the temperatures of the multiple first sample light waves are all 20° C., and the magnetic field intensities applied by the multiple first sample light waves are 0 Oe, 100 Oe, 200 Oe, 300 Oe, 400 Oe, 500 Oe, and 600 Oe, respectively.
[0115] In this feasible implementation, by testing the dual-channel sensor in a controlled variable manner, interference between different parameters can be avoided, thereby improving the accuracy of detection.
[0116] Figure 8 This is a schematic diagram of the structure of a pipeline detection device provided in an embodiment of the present application. Figure 8 As shown, the pipeline detection device 80 may include: a detection module 81, a determination module 82, a calculation module 83, and a prediction module 84, wherein:
[0117] The detection module 81 is used to detect the current magnetic field and the current temperature through a dual-channel sensor arranged on the pipeline wall to obtain the first loss peak light wavelength and the second loss peak light wavelength.
[0118] The determination module 82 is used to determine the magnetic field sensitivity and temperature sensitivity of the dual-channel sensor.
[0119] The calculation module 83 is used to determine the current magnetic field intensity change and the current temperature change according to the first loss peak light wavelength, the second loss peak light wavelength, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix. The transfer matrix is used to calculate the magnetic field intensity change and the temperature change according to the offset value of the loss peak light wavelength.
[0120] The prediction module 84 is used to determine the defect information of the pipeline according to the current change in magnetic field intensity and the current change in temperature.
[0121] Optionally, the detection module 81 may execute Figure 3 S301 in the embodiment.
[0122] Optionally, the determination module 82 may execute Figure 3 S302 in the embodiment.
[0123] Optionally, the calculation module 83 may execute Figure 3 S303 in the embodiment.
[0124] Optionally, the prediction module 84 may perform Figure 3 S304 in the embodiment.
[0125] It should be noted that the pipeline detection device shown in the embodiment of the present application can implement the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.
[0126] In a possible implementation, the dual-channel sensor includes a first channel and a second channel, the first channel and the second channel are respectively filled with different magnetic sensitive materials, and the surfaces of the first channel and the second channel are covered with a composite sensitive layer; the detection module 81 is specifically used for:
[0127] The y-polarized light is absorbed by the first channel, and the spectrum is detected by the spectrometer to obtain a first spectrum graph;
[0128] Analyzing and processing the first spectrum to obtain a first loss peak light wavelength;
[0129] The x-polarized light is absorbed by the second channel, and the spectrum is detected by the spectrometer to obtain a second spectrum graph;
[0130] The second optical spectrum is analyzed and processed to obtain a second loss peak optical wavelength.
[0131] Fig. 9 A schematic diagram of the structure of a pipeline detection device provided in an embodiment of the present application. Figure 8 Based on the embodiment shown, Fig. 9 As shown, the pipeline detection device 90 further includes: an execution module 85, a processing module 86 and a testing module 87, wherein:
[0132] The execution module 85 is used to:
[0133] Determine a first reference peak for the first channel and a second reference peak for the second channel;
[0134] Determining a first offset value according to the first loss peak optical wavelength and the first reference peak;
[0135] Determining a second offset value according to the second loss peak optical wavelength and the second reference peak;
[0136] The current magnetic field intensity change and the current temperature change are determined according to the first offset value, the second offset value, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix.
[0137] In a possible implementation, the magnetic field sensitivity includes a first sensitivity of the first channel and a second sensitivity of the second channel, and the temperature sensitivity includes a third sensitivity of the first channel and a fourth sensitivity of the second channel; the execution module 85 is specifically used to:
[0138] The first offset value, the second offset value, the first sensitivity, the second sensitivity, the third sensitivity, and the fourth sensitivity are calculated by transferring the matrix to obtain the current magnetic field intensity change and the current temperature change.
[0139] The processing module 86 is used to:
[0140] Determine a prediction model, where the prediction model is obtained by training multiple historical magnetic field intensity changes and multiple historical temperature changes;
[0141] The current magnetic field intensity change and the current temperature change are input into the prediction model to obtain the pipeline defect information.
[0142] Test module 87, for:
[0143] Determine a plurality of first sample light waves and a plurality of second sample light waves, wherein the plurality of first sample light waves correspond to a plurality of first magnetic field intensities, respectively, and the plurality of second sample light waves correspond to a plurality of first temperatures, respectively;
[0144] For any channel of the dual-channel sensor, a plurality of first sample light waves are detected through the channel to obtain a plurality of first sample loss peaks, and a plurality of second sample light waves are detected through the channel to obtain a plurality of second sample loss peaks;
[0145] Fitting a plurality of loss peak offset values corresponding to a plurality of first sample loss peaks and a plurality of first magnetic field intensities to obtain the sensitivity of the loss peak offset value of the channel to the change in magnetic field intensity;
[0146] A fitting process is performed on a plurality of loss peak offset values corresponding to a plurality of second sample loss peaks and a plurality of first temperatures to obtain the sensitivity of the loss peak offset value of the channel to the temperature variation.
[0147] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the electronic device includes:
[0148] The electronic device includes a processor 291 and a memory 292; it may also include a communication interface 293 and a bus 294. The processor 291, the memory 292, and the communication interface 293 may communicate with each other through the bus 294. The communication interface 293 may be used for information transmission. The processor 291 may call the logic instructions in the memory 292 to execute the method of the above embodiment.
[0149] In addition, the logic instructions in the above-mentioned memory 292 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0150] The memory 292 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present application. The processor 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, that is, implementing the methods in the above method embodiments.
[0151] The memory 292 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 292 may include a high-speed random access memory and may also include a non-volatile memory.
[0152] An embodiment of the present application provides a non-temporary computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method as described in the above embodiment.
[0153] An embodiment of the present application provides a computer program product, including a computer program, which implements the method of the above embodiment when the computer program is executed by a processor.
[0154] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0155] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0156] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0157] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0158] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. The processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, and an ASIC, etc. The storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.
[0159] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0160] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0161] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0162] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A pipeline detection method, characterized in that: include: The current magnetic field and the current temperature are detected by a dual-channel sensor arranged on the pipeline wall to obtain a first loss peak light wavelength and a second loss peak light wavelength; Determining the magnetic field sensitivity and temperature sensitivity of the dual-channel sensor; Determine a current magnetic field intensity change and a current temperature change according to the first loss peak light wavelength, the second loss peak light wavelength, the magnetic field sensitivity, the temperature sensitivity, and a transfer matrix, wherein the transfer matrix is used to calculate the magnetic field intensity change and the temperature change according to the offset value of the loss peak light wavelength; Defect information of the pipeline is determined according to the current magnetic field intensity change and the current temperature change.
2. The method according to claim 1, characterized in that The dual-channel sensor comprises a first channel and a second channel, the first channel and the second channel are respectively filled with different magnetic sensitive materials, and the surfaces of the first channel and the second channel are covered with a composite sensitive layer; The current magnetic field and the current temperature are detected by a dual-channel sensor arranged on the pipeline wall to obtain the first loss peak light wavelength and the second loss peak light wavelength, including: Absorbing the y-polarized light through the first channel and performing spectrum detection through a spectrometer to obtain a first spectrum graph; Analyzing and processing the first spectrum graph to obtain the first loss peak light wavelength; Absorbing the x-polarized light through the second channel and performing spectrum detection through a spectrometer to obtain a second spectrum graph; The second optical spectrum is analyzed and processed to obtain the second loss peak light wavelength.
3. The method according to claim 2, characterized in that Determining a current magnetic field intensity change and a current temperature change according to the first loss peak light wavelength, the second loss peak light wavelength, the magnetic field sensitivity, the temperature sensitivity, and a transfer matrix, including: Determine a first reference peak for the first channel and a second reference peak for the second channel; determining a first offset value according to the first loss peak optical wavelength and the first reference peak; determining a second offset value according to the second loss peak optical wavelength and the second reference peak; The current magnetic field intensity change and the current temperature change are determined according to the first offset value, the second offset value, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix.
4. The method according to claim 3, characterized in that The magnetic field sensitivity includes a first sensitivity of the first channel and a second sensitivity of the second channel, and the temperature sensitivity includes a third sensitivity of the first channel and a fourth sensitivity of the second channel; Determining the current magnetic field intensity change and the current temperature change according to the first offset value, the second offset value, the magnetic field sensitivity, the temperature sensitivity, and the transfer matrix includes: The first offset value, the second offset value, the first sensitivity, the second sensitivity, the third sensitivity, and the fourth sensitivity are calculated through the transfer matrix to obtain the current magnetic field intensity change and the current temperature change.
5. The method according to claim 1, characterized in that Determining pipeline defect information according to the current magnetic field intensity change and the current temperature change includes: Determining a prediction model, wherein the prediction model is obtained by training a plurality of historical magnetic field intensity changes and a plurality of historical temperature changes; The current magnetic field intensity change and the current temperature change are input into the prediction model to obtain the defect information of the pipeline.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Determine a plurality of first sample light waves and a plurality of second sample light waves, wherein the plurality of first sample light waves respectively correspond to a plurality of first magnetic field intensities, and the plurality of second sample light waves respectively correspond to a plurality of first temperatures; For any one channel of the dual-channel sensor, the plurality of first sample light waves are detected through the channel to obtain a plurality of first sample loss peaks, and the plurality of second sample light waves are detected through the channel to obtain a plurality of second sample loss peaks; Performing fitting processing on a plurality of loss peak offset values corresponding to the plurality of first sample loss peaks and the plurality of first magnetic field intensities to obtain sensitivity of the loss peak offset value of the channel to a change in magnetic field intensity; A fitting process is performed on a plurality of loss peak offset values corresponding to the plurality of second sample loss peaks and the plurality of first temperatures to obtain a sensitivity of the loss peak offset value of the channel to a temperature variation.
7. A pipeline detection device, characterized in that: include: A detection module, used to detect the current magnetic field and the current temperature through a dual-channel sensor arranged on the pipeline wall to obtain a first loss peak light wavelength and a second loss peak light wavelength; A determination module, used to determine the magnetic field sensitivity and temperature sensitivity of the dual-channel sensor; a calculation module, configured to determine a current magnetic field intensity change and a current temperature change according to the first loss peak light wavelength, the second loss peak light wavelength, the magnetic field sensitivity, the temperature sensitivity, and a transfer matrix, wherein the transfer matrix is configured to calculate a magnetic field intensity change and a temperature change according to an offset value of the loss peak light wavelength; The prediction module is used to determine the defect information of the pipeline according to the current magnetic field intensity change and the current temperature change.
8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.
10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.
Citation Information
Patent Citations
Cable detecting device
CN108802171A
Eddy current infrared integrated detection system and method for typical defects of thermal barrier coating of reignition blade
CN114813924A
Oil and gas pipeline internal detection device and method based on residual magnetism and eddy current coupling effect
CN118443785A
Non destructive testing device for metallic component i.e. rail, has detecting unit and permanent and / or electro magnet arranged at constant distance to each other, where detecting unit is arranged behind permanent or electro magnet
DE102006050025B3
Probe determining integrity of annular borehole seals, includes ionizing radiation source and instrument detecting backscattered radiation
DE102008001439A1
