Method and device for determining optimal magnetic pole spacing, electronic equipment and storage medium
By constructing the detection model and the detected model, steady-state and transient simulation are carried out, signal amplitude difference is calculated, and the optimal magnetic pole spacing is determined, which solves the signal impact problem caused by too small magnetic pole spacing in high-speed magnetic leakage detection, and improves the Detected signal accuracy.
Patent Information
- Application Number
- CN202411255273.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2025-02-11
AI Technical Summary
In high-speed magnetic leakage detection, too small magnetic pole spacing leads to significant signal impact, affecting detection accuracy, and traditional low-speed detection is difficult to meet the current detection needs.
By constructing the detection model and the detected model, steady-state and transient simulation are performed, signal data is extracted and signal curves are drawn, signal amplitude difference is calculated, and the optimal magnetic pole spacing is determined.
The accuracy of determining the optimal magnetic pole spacing is improved, and the influence of magnetic pole spacing and magnet length changes on the leakage magnetic signal is taken into account, which improves the signal accuracy of high-speed magnetic leakage detection.
Smart Images

Figure CN119416549A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of pipeline detection, and in particular to a method and device for determining an optimal magnetic pole spacing, an electronic device, and a storage medium. Background Art
[0002] As an important energy infrastructure in my country, long-distance oil and gas pipelines are an indispensable part of the modern energy industry. With the increase in transportation mileage, the transportation safety of oil and gas pipelines is becoming more and more important. However, due to the complexity of the service environment of oil and gas pipelines and the harshness of working conditions, corrosion pits, cracks and other defects will be caused on the pipelines, seriously affecting the safety and service life of the pipelines. Therefore, it is necessary to conduct regular safety assessments on long-distance oil pipelines.
[0003] As one of the common methods of pipeline non-destructive testing, magnetic flux leakage testing has great advantages such as low requirements for the environment inside the pipeline, wide application range, and low price. However, with the increasing transportation mileage, traditional low-speed testing has gradually become difficult to meet the current testing needs. How to increase the testing speed while ensuring accurate testing is a major problem at this stage. As the testing speed increases, the magnetic flux leakage signal will be affected by eddy currents, and the impact on the signal near the magnets at both ends is most significant.
[0004] Under the condition of ensuring that the length and volume of the equipment are controllable, there are still many problems to be solved in reducing or eliminating the signal impact in the high-speed magnetic flux leakage detection process caused by the small magnetic pole spacing. This plays an important role in improving the accuracy of the leakage magnetic signal in the subsequent high-speed magnetic flux leakage detection process. Summary of the invention
[0005] In order to solve the above problems, embodiments of the present application provide a method and device for determining an optimal magnetic pole spacing, an electronic device, a computer-readable storage medium, and a computer program product.
[0006] In a first aspect, in order to solve the above technical problems, the present application provides a method for determining an optimal magnetic pole spacing, comprising:
[0007] Construct detection model and detected model for high-speed magnetic flux leakage detection;
[0008] Acquire first model parameters of the detection model and second model parameters of the detected model; the first model parameters include multiple magnet lengths and multiple magnetic pole spacings, and the second model parameters include weld defect types;
[0009] Using the detection model and the detected model, and based on the first model parameters and the second model parameters, a steady-state simulation and a transient simulation are performed to obtain a first curve and a second curve;
[0010] Acquire a first signal amplitude and a second signal amplitude corresponding to the first curve and the second curve respectively;
[0011] Obtaining a difference signal between the first curve and the second curve based on the first signal amplitude and the second signal amplitude;
[0012] According to a preset screening rule, a target difference signal is selected from the difference signals, and a target magnetic pole spacing corresponding to the target difference signal is determined as an optimal magnetic pole spacing.
[0013] The beneficial effects are:
[0014] In the technical solution provided in the embodiments of the present application, by performing steady-state and transient magnetic field distribution simulation calculations on the established detection model and the detected model, the signal data under steady-state and transient detection are extracted respectively, and the signal curves are drawn, and the signal amplitudes at the baseline positions of the steady-state and transient signal curves are extracted and the difference calculation is performed; finally, the optimal magnetic pole spacing is determined based on the extracted difference signal data.
[0015] In this way, the different changing laws of the detected model under steady-state and transient detection states, as well as the signal changing laws caused by changes in magnet length and pole spacing, can be fully considered to fully consider the impact of changes in pole spacing and magnet length of the leakage magnetic detection equipment on the leakage magnetic signal, thereby improving the accuracy of the determined optimal pole spacing.
[0016] In a second aspect, the present invention provides an apparatus for determining an optimal magnetic pole spacing, comprising a model unit, a parameter configuration unit, a simulation unit, an amplitude unit, a processing unit, and a determination unit;
[0017] Model unit, used to construct detection model and detected model for high-speed magnetic flux leakage detection;
[0018] A parameter configuration unit, used to obtain a first model parameter of the detection model and a second model parameter of the detected model; the first model parameter includes a plurality of magnet lengths and a plurality of magnetic pole spacings, and the second model parameter includes a weld defect type;
[0019] A simulation unit, configured to use the detection model and the detected model to perform steady-state simulation and transient simulation based on the first model parameters and the second model parameters to obtain a first curve and a second curve;
[0020] an amplitude unit, used to obtain a first signal amplitude and a second signal amplitude corresponding to the first curve and the second curve respectively;
[0021] a processing unit, configured to obtain a difference signal between the first curve and the second curve based on the first signal amplitude and the second signal amplitude;
[0022] The determination unit is used to select a target difference signal from the difference signals according to a preset screening rule, and determine a target magnetic pole spacing corresponding to the target difference signal as an optimal magnetic pole spacing.
[0023] In a third aspect, the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the method for determining the optimal magnetic pole spacing as described above.
[0024] In a fourth aspect, the present application further provides a computer-readable storage medium having computer-readable instructions stored thereon, which, when executed by a processor of a computer, enables the computer to execute the method for determining the optimal magnetic pole spacing as described above.
[0025] In a fifth aspect, the present application also provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for determining the optimal magnetic pole spacing provided in the above-mentioned various optional embodiments.
[0026] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0028] Figure 1 is a flow chart of a method for determining an optimal magnetic pole pitch shown in an exemplary embodiment of the present application;
[0029] Figure 2 is a schematic diagram of a detection model and a detected model in an exemplary embodiment of the present application;
[0030] Figure 3 is a schematic diagram of a first radial component distribution curve and a first axial component distribution curve included in the first curve in an exemplary embodiment;
[0031] Figure 4is a schematic diagram of a second curve including a second radial component distribution curve and a second axial component distribution curve in an exemplary embodiment;
[0032] Figure 5 is a schematic diagram of a first amplitude three-dimensional graph in an exemplary embodiment;
[0033] Figure 6 is a schematic diagram of a second amplitude three-dimensional graph in an exemplary embodiment;
[0034] Figure 7 is a schematic diagram of a difference distribution diagram of a difference signal between a first curve and a second curve in an exemplary embodiment;
[0035] Figure 8 is a block diagram of a device for determining an optimal magnetic pole spacing shown in an exemplary embodiment of the present application;
[0036] Fig. 9 It is a structural diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application. DETAILED DESCRIPTION
[0037] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0038] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0039] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0040] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0041] In order to solve the problem that the mismatch of magnetic pole spacing causes eddy current to have too great an impact on the leakage magnetic flux detection signal, resulting in inaccurate signals, the embodiments of the present application propose a method and device for determining an optimal magnetic pole spacing, an electronic device, and a computer-readable storage medium, which mainly relate to the technology of determining the optimal magnetic pole spacing in high-speed leakage magnetic flux detection included in pipeline detection technology. These embodiments will be described in detail below.
[0042] First see Figure 1 , Figure 1 This is a flow chart of a method for determining the optimal magnetic pole spacing shown in an exemplary embodiment of the present application. The method can be specifically executed by a server, which can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms, etc., and is not limited here.
[0043] like Figure 1 As shown, in an exemplary embodiment, the method for determining the optimal magnetic pole spacing may include steps S101 to S106, which are described in detail as follows:
[0044] Step S101, constructing a detection model and a detected model for high-speed magnetic flux leakage detection.
[0045] Step S102, obtaining first model parameters of the detection model and second model parameters of the detected model; the first model parameters include multiple magnet lengths and multiple pole spacings, and the second model parameters include weld defect types.
[0046] In this embodiment, the detection device is a magnetic flux leakage detection device in high-speed magnetic flux leakage detection, the detected device is a detected pipeline, and the corresponding first model parameters are determined after the detection model and the detected model are constructed.
[0047] like Figure 2 As shown, Figure 2 Schematic diagram of a detection model and a detected model in an exemplary embodiment of the present application, wherein the detection model includes an armature, a magnet and a pole shoe, and a weld and a defect on the weld are provided on the detected model, wherein the length of the magnet is represented by M l , the magnetic pole spacing is characterized by P s Therefore, the first model parameters of the inspection model include a plurality of magnet lengths and a plurality of magnetic pole spacings, and the second model parameters of the inspected model include the weld defect type.
[0048] Step S103, using the detection model and the detected model, based on the first model parameters and the second model parameters, a steady-state simulation and a transient simulation are performed to obtain a first curve and a second curve.
[0049] This embodiment uses steady-state simulation and transient simulation to fully consider the different change patterns of the detected model in steady-state and transient detection states, so that the signals of the first curve and the second curve obtained can more comprehensively reflect the detection data corresponding to the high-speed magnetic leakage detection of the detected model under different detection environments.
[0050] Step S104, obtaining the first signal amplitude and the second signal amplitude corresponding to the first curve and the second curve respectively.
[0051] Step S105: obtaining a difference signal between the first curve and the second curve based on the first signal amplitude and the second signal amplitude.
[0052] Under the two detection environments, the numerical value of the difference signal between the first curve under steady-state simulation and the second curve under transient simulation can reflect the influence of the external environment corresponding to different magnetic pole spacings under the corresponding magnet length, such as eddy current, on the leakage magnetic signal detected. Among them, the transient operating speed is the speed of the selected detection device when it is actually running.
[0053] Therefore, in this embodiment, after obtaining the first curve and the second curve, the corresponding first signal amplitude and second signal amplitude are obtained, and the difference signal between the first curve and the second curve is obtained based on the first signal amplitude and the second signal amplitude to determine the optimal magnetic pole spacing.
[0054] Step S106, selecting a target difference signal from the difference signals according to a preset screening rule, and determining a target magnetic pole spacing corresponding to the target difference signal as an optimal magnetic pole spacing.
[0055] As can be seen from the above, in the method provided in this embodiment, by performing steady-state and transient magnetic field distribution simulation calculations on the established detection model and the detected model, the signal data under steady-state and transient detection are extracted respectively, and the signal curve is drawn, and the signal amplitude at the baseline position of the steady-state and transient signal curves is extracted and the difference calculation is performed; finally, the optimal magnetic pole spacing is determined based on the extracted difference signal data. In this way, the different change laws of the detected model under steady-state and transient detection states and the signal change laws caused by the change of magnetic pole spacing under different magnet lengths are taken into account, so as to fully consider the influence of the magnetic pole spacing and magnet length change of the leakage magnetic detection equipment on the leakage magnetic signal, thereby improving the accuracy of the determined optimal magnetic pole spacing.
[0056] In an exemplary embodiment provided by the present application, the specific steps of configuring model parameters after constructing the detection model and the detected model may include:
[0057] Determine the range of magnet length and pole spacing;
[0058] According to a preset value selection rule, a plurality of parameter groups are obtained based on a value range as first model parameters, each parameter group being formed by a magnet length and a magnetic pole spacing;
[0059] The weld type and weld defect type of the inspected model are determined based on preset inspection requirements, and the weld defect type is used as the second model parameter.
[0060] In this embodiment, the value range of the magnet length and the pole spacing is the variation range of the first model parameter, and the preset value rule can be a set value interval. For example, the value range of the magnet length is 20mm-100mm, and the corresponding value interval is 10mm; the value range of the pole spacing is 150mm-400mm, and the corresponding value interval is 25mm, then a total of 9×11=99 parameter groups can be obtained as the first model parameters.
[0061] The weld type of the inspected model is a typical pipeline girth weld feature, and the corresponding weld defect type is a typical pit-type defect feature, which is used as the second model parameter, and the specific information content is determined according to the preset inspection requirements. For example, the pipeline girth weld excess height is set to 1.4 mm. At the same time, the pit defect depth on the weld is set to 10% of the pipeline wall thickness, that is, the pit depth is 1 mm.
[0062] In this way, when performing steady-state simulation and transient simulation, the detection model of changing magnetic pole spacing under different magnet lengths can be used to perform high-speed leakage magnetic flux detection on the model being tested, and the influence of various magnetic pole spacings under different magnet lengths on the accuracy of the leakage magnetic flux signal can be reflected.
[0063] In another exemplary embodiment, after determining the first model parameters and the second model parameters, it is also necessary to set the material parameters used by the detection model and the detected model. For example, the magnet uses a high coercive force nepheline iron boron permanent magnet with a coercive force of 896 kA / m, the material of the tested pipeline is pipeline steel, the relative magnetic permeability of the peripheral medium air cover is 1, and the magnetic flux leakage detection device, that is, the detection model, is 1 mm away from the inner surface of the pipeline to meet the needs of the actual device and the specifications of the material setting.
[0064] In this way, the present application uses the above-mentioned embodiments to select values of the pole spacing and the magnet length within a preset range of values, and obtains multiple parameter groups as the first model parameters, taking into account the impact of changes in the pole spacing and magnet length of the leakage magnetic detection equipment on the leakage magnetic signal, so as to more accurately determine the optimal pole spacing.
[0065] In an exemplary embodiment provided by the present application, the signals used to draw the first curve and the second curve are collected at the same target position, so the specific steps of obtaining the first curve and the second curve may include:
[0066] Using the detection model and the detected model, based on the first model parameters and the second model parameters, a steady-state simulation and a transient simulation are performed to obtain a steady-state signal and a transient signal;
[0067] Extracting a target steady-state signal corresponding to the target position from the steady-state signal, and obtaining a first curve based on the target steady-state signal;
[0068] A target transient signal corresponding to the target position is extracted from the transient signal, and a second curve is obtained based on the target transient signal.
[0069] In this embodiment, after steady-state simulation and transient simulation are performed based on the first model parameters and the second model parameters using the detection model and the detected model to obtain steady-state signals and transient signals, the target steady-state signals and target transient signals obtained at the target position are extracted from the steady-state signals and the transient signals, and then the first curve is obtained based on the target steady-state signal, and the second curve is obtained based on the target transient signal.
[0070] The target position may be the instantaneous position when the center of the weld is located at the center of the detector. The target position is located 1 mm away from the inner surface of the pipe and has a length of 40 mm.
[0071] In addition, the method for determining the optimal magnetic pole spacing provided in the present application can use finite element simulation software to perform steady-state simulation and transient simulation on the established detection model and the detected model.
[0072] During steady-state simulation, in order to ensure the accuracy of the calculation results and steady-state signals, the mesh at the weld defect is appropriately refined, the mesh at the target position and its surroundings is extremely refined, and the mesh of the remaining parts is appropriately coarsened to reduce the simulation operation time. Since the calculation time of the two-dimensional model is shorter than that of the three-dimensional model, the overall mesh volume of the model can be appropriately increased, and the mesh size can be reduced as much as possible to ensure sufficient accuracy of the signal extraction results.
[0073] During transient simulation, the mesh at the defect and target position should be appropriately encrypted to ensure the accuracy of the signal as much as possible. At the same time, for the finite element simulation software Ansys Electronics, the mesh in the Band motion area must be fine enough to ensure that the model presents a good magnetic field distribution and leakage magnetic signal during transient operation.
[0074] Thus, this embodiment uses the magnetic pole spacing and the magnet length as the only two variables to obtain the optimal magnetic pole spacing under different magnet lengths.
[0075] In an exemplary embodiment provided by the present application, each curve includes radial and axial component distribution curves, that is, the first curve includes a first radial component distribution curve and a first axial component distribution curve, and the second curve includes a second radial component distribution curve and a second axial component distribution curve. The specific steps of obtaining the first signal amplitude and the second signal amplitude corresponding to the first curve and the second curve respectively may include:
[0076] Extracting the signal amplitudes at the baseline positions of the first radial component distribution curve and the first axial component distribution curve to obtain a first signal amplitude;
[0077] The signal amplitudes at the baseline positions of the second radial component distribution curve and the second axial component distribution curve are extracted to obtain the second signal amplitudes.
[0078] In this embodiment, the first curve and the second curve formed by the steady-state simulation and the transient simulation both include the magnetic flux density radial component distribution curve and the magnetic flux density axial component distribution curve. For the magnetic flux density radial component, when extracting the signal amplitude at the baseline position of the signal curve, the difference between the start and end baselines of the radial component is selected as the basis; for the magnetic flux density axial component, when extracting the signal amplitude at the baseline position of the signal curve, the average value of the start and end baselines of the axial component is selected as the basis. The signal amplitude number at the extracted baseline position depends on the product of the magnet length and the magnetic pole spacing in the first model parameter.
[0079] See also Figure 3 , Figure 3 is a schematic diagram of a first radial component distribution curve and a first axial component distribution curve included in the first curve in an exemplary embodiment, as shown Figure 3 As shown, Figure 3 Figure (a) is a schematic diagram of the first radial component distribution curve, and Figure (b) is a schematic diagram of the first axial component distribution curve. Figure 4 , Figure 4 is a schematic diagram of a second curve including a second radial component distribution curve and a second axial component distribution curve in an exemplary embodiment, such as Figure 4 As shown, Figure 4 Figure (c) is a schematic diagram of the second radial component distribution curve, and Figure (d) is a schematic diagram of the second axial component distribution curve. In the above embodiment, the magnetic pole spacing is 150mm, and the magnet length ranges from 20mm to 100mm.
[0080] Thus, the signal amplitudes of the baseline positions of the first radial component distribution curve and the first axial component distribution curve corresponding to the first curve are extracted to obtain the first signal amplitude; and the signal amplitudes of the baseline positions of the second radial component distribution curve and the second axial component distribution curve corresponding to the second curve are extracted to obtain the second signal amplitude.
[0081] In an exemplary embodiment provided in the present application, a three-dimensional plot is performed based on the amplitude and the corresponding first model parameters (magnet length and magnetic pole spacing) to obtain a difference signal using a three-dimensional curve. The specific steps may include:
[0082] Based on the first signal amplitude and the first model parameter corresponding to the first signal amplitude, a first amplitude three-dimensional graph is plotted;
[0083] Based on the second signal amplitude and the first model parameter corresponding to the second signal amplitude, a second amplitude three-dimensional graph is plotted;
[0084] The first amplitude three-dimensional graph and the second amplitude three-dimensional graph are subjected to difference processing to obtain a processing result as a difference signal.
[0085] In another exemplary embodiment, the first curve includes a first radial component distribution curve and a first axial component distribution curve, and the second curve includes a second radial component distribution curve and a second axial component distribution curve, so the corresponding first amplitude three-dimensional graph includes a first radial component amplitude three-dimensional graph and a first axial component amplitude three-dimensional graph, and the second amplitude three-dimensional graph includes a second radial component amplitude three-dimensional graph and a second axial component amplitude three-dimensional graph.
[0086] See also Figure 5 , Figure 5 is a schematic diagram of the first amplitude three-dimensional graph in an exemplary embodiment, such as Figure 5 As shown, Figure 5 Figure (e) is a schematic diagram of the three-dimensional graph of the amplitude of the first radial component, and Figure (f) is a schematic diagram of the three-dimensional graph of the amplitude of the first axial component. Figure 6 , Figure 6 is a schematic diagram of the second amplitude three-dimensional graph in an exemplary embodiment, such as Figure 6 As shown, Figure 6 The middle figure (g) is a schematic diagram of the three-dimensional graph of the amplitude of the second radial component, and the figure (h) is a schematic diagram of the three-dimensional graph of the amplitude of the second axial component.
[0087] When using the amplitude three-dimensional map for difference processing, the first radial component amplitude three-dimensional map and the second radial component amplitude three-dimensional map are difference processed, and the first axial component amplitude three-dimensional map and the second axial component amplitude three-dimensional map are difference processed to obtain their corresponding difference signals respectively.
[0088] Through the above-mentioned embodiments, the present application obtains a difference signal by performing difference processing on the first amplitude three-dimensional graph and the second amplitude three-dimensional graph corresponding to the first curve and the second curve. The larger the difference signal is, the greater the influence of the speed factor on the signal during high-speed magnetic leakage detection, which facilitates the method provided by the present application to subsequently select the optimal magnetic pole spacing based on the obtained difference signal.
[0089] In an exemplary embodiment provided by the present application, the method for determining the optimal magnetic pole spacing provided by the present application is to determine the optimal magnetic pole spacing at each length, and the specific steps may include:
[0090] Dividing the parameter groups based on the magnet length to obtain a plurality of parameter group sets, wherein the parameter groups in each parameter group set have the same magnet length;
[0091] According to the preset screening rules, a target difference signal is selected from the difference signals corresponding to each parameter group set;
[0092] Based on multiple target difference signals of multiple parameter group sets, multiple target magnetic pole spacings corresponding to the multiple target difference signals are determined as optimal magnetic pole spacings corresponding to different magnet lengths.
[0093] In another exemplary embodiment provided by the present application, the preset screening rule is to select the difference signal with the smallest value, and the specific steps may include:
[0094] Identify the numerical value of the difference signal corresponding to each parameter group set;
[0095] According to the preset screening rules, the difference signal with the smallest value is selected as the target difference signal.
[0096] In this embodiment, the signal amplitude is subjected to a difference operation to obtain a difference signal and identify its numerical value, and the difference signal is represented based on a difference distribution diagram, and then the size relationship between the difference signals is identified through image recognition. Finally, according to the preset screening rules, the difference signal with the smallest numerical value is selected as the target difference signal.
[0097] See also Figure 7 , Figure 7 is a schematic diagram of a difference distribution diagram of a difference signal between a first curve and a second curve in an exemplary embodiment. In this embodiment, the first curve includes a first radial component distribution curve and a first axial component distribution curve, and the second curve includes a second radial component distribution curve and a second axial component distribution curve. Therefore, the difference distribution diagram includes a radial component difference distribution diagram and an axial component difference distribution diagram. Figure 7 As shown, Figure 7 The middle figure (m) is a schematic diagram of the radial component difference distribution diagram, and the figure (n) is a schematic diagram of the axial component difference distribution diagram.
[0098] from Figure 7 It can be seen that the darker the color, the greater the signal difference between the transient state and the steady state, that is, the greater the influence of the speed factor on the signal during the high-speed magnetic flux leakage detection process. Taking the 40mm magnet length as an example, it can be seen from the difference distribution diagram corresponding to the radial component and the axial component that when the magnetic pole spacing is about 250mm, the signal difference is almost the same. When the magnetic pole spacing continues to increase, the signal influence brought by the magnetic pole spacing is already negligible. Therefore, when the magnet length is 40mm, the magnetic pole spacing of about 250mm is the optimal magnetic pole spacing.
[0099] Figure 8 FIG. 8 is a block diagram of an optimal magnetic pole spacing determination device 800 shown in an exemplary embodiment of the present application. Figure 8 As shown, the device comprises:
[0100] Model unit 801, used to construct a detection model and a detected model for high-speed magnetic flux leakage detection;
[0101] The parameter configuration unit 802 is used to obtain a first model parameter of the detection model and a second model parameter of the detected model; the first model parameter includes a plurality of magnet lengths and a plurality of magnetic pole spacings, and the second model parameter includes a weld defect type;
[0102] The simulation unit 803 is used to perform steady-state simulation and transient simulation using the detection model and the detected model based on the first model parameters and the second model parameters to obtain the first curve and the second curve;
[0103] An amplitude unit 804 is used to obtain a first signal amplitude and a second signal amplitude corresponding to the first curve and the second curve respectively;
[0104] A processing unit 805, configured to obtain a difference signal between the first curve and the second curve based on the first signal amplitude and the second signal amplitude;
[0105] The determination unit 806 is used to select a target difference signal from the difference signals according to a preset screening rule, and determine a target magnetic pole spacing corresponding to the target difference signal as an optimal magnetic pole spacing.
[0106] The device applies the method for determining the optimal magnetic pole spacing provided by the present application, and performs steady-state and transient magnetic field distribution simulation calculations on the detection model and the detected model established and configured by the model unit 801 and the parameter configuration unit 802 through the simulation unit 803, respectively extracts the signal data under steady-state and transient detection and draws the signal curve, and then the amplitude unit 804 extracts the signal amplitude at the baseline position of the steady-state and transient signal curves and performs difference calculation through the processing unit 805; finally, the determination unit 806 determines the optimal magnetic pole spacing according to the extracted difference signal data. In this way, the different change laws of the detected model under steady-state and transient detection states and the signal change laws caused by the change of magnetic pole spacing under different magnet lengths are taken into full consideration, so as to fully consider the influence of the magnetic pole spacing and magnet length change of the leakage magnetic detection equipment on the leakage magnetic signal, thereby improving the accuracy of the determined optimal magnetic pole spacing.
[0107] In another exemplary embodiment, the parameter configuration unit 802 is also used to determine the value range of the magnet length and the magnetic pole spacing; according to the preset value rules, multiple parameter groups are obtained based on the value range as the first model parameters, and each parameter group is formed by a magnet length and a magnetic pole spacing; based on the preset detection requirements, the weld type and weld defect type of the model to be detected are determined, and the weld defect type is used as the second model parameter.
[0108] In another exemplary embodiment, the simulation unit 803 is also used to use the detection model and the detected model to perform steady-state simulation and transient simulation based on the first model parameters and the second model parameters to obtain a steady-state signal and a transient signal; extract a target steady-state signal corresponding to the target position from the steady-state signal, and obtain a first curve based on the target steady-state signal; extract a target transient signal corresponding to the target position from the transient signal, and obtain a second curve based on the target transient signal.
[0109] In another exemplary embodiment, the first curve includes a first radial component distribution curve and a first axial component distribution curve, and the second curve includes a second radial component distribution curve and a second axial component distribution curve; the amplitude unit 804 is also used to extract the signal amplitude of the baseline position of the first radial component distribution curve and the first axial component distribution curve to obtain the first signal amplitude; extract the signal amplitude of the baseline position of the second radial component distribution curve and the second axial component distribution curve to obtain the second signal amplitude.
[0110] In another exemplary embodiment, the processing unit 805 is further used to draw a first amplitude three-dimensional graph based on the first signal amplitude and the first model parameter corresponding to the first signal amplitude; draw a second amplitude three-dimensional graph based on the second signal amplitude and the first model parameter corresponding to the second signal amplitude; perform difference processing on the first amplitude three-dimensional graph and the second amplitude three-dimensional graph to obtain the processing result as a difference signal.
[0111] In another exemplary embodiment, the determination unit 806 is further used to divide the parameter group based on the magnet length to obtain multiple parameter group sets, and the magnet lengths included in the parameter groups in each parameter group set are the same; according to a preset screening rule, a target difference signal is selected from the difference signals corresponding to each parameter group set; based on the multiple target difference signals of the multiple parameter group sets, multiple target magnetic pole spacings corresponding to the multiple target difference signals are determined as the optimal magnetic pole spacings corresponding to different magnet lengths.
[0112] In another exemplary embodiment, the determination unit 806 is further configured to identify the numerical value of the difference signal corresponding to each parameter group set; and select the difference signal with the smallest numerical value as the target difference signal according to a preset screening rule.
[0113] It should be noted that the device for determining the optimal magnetic pole spacing provided in the above embodiment and the method for determining the optimal magnetic pole spacing provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the device for determining the optimal magnetic pole spacing provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0114] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the method for determining the optimal magnetic pole spacing provided in the above-mentioned embodiments.
[0115] Fig. 9 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Fig. 9 The computer system 900 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0116] like Fig. 9As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 902 or the program loaded from the storage part 908 to the random access memory (RAM) 903, such as executing the method in the above embodiment. In the RAM 903, various programs and data required for system operation are also stored. The CPU 901, ROM 902 and RAM 903 are connected to each other through a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0117] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed so that a computer program read therefrom is installed into the storage section 908 as needed.
[0118] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 909, and / or installed from a removable medium 911. When the computer program is executed by a central processing unit (CPU) 901, various functions defined in the system of the present application are executed.
[0119] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any group of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any group of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable group of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable group of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0120] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the group of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a group of dedicated hardware and computer instructions.
[0121] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0122] Another aspect of the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned method for determining the optimal magnetic pole spacing when the computer program is executed by a processor. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0123] Another aspect of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for determining the optimal magnetic pole spacing provided in each of the above embodiments.
[0124] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions or improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for determining an optimal magnetic pole spacing, characterized in that: The method comprises: Construct detection model and detected model for high-speed magnetic flux leakage detection; Acquire first model parameters of the detection model and second model parameters of the detected model; the first model parameters include multiple magnet lengths and multiple magnetic pole spacings, and the second model parameters include weld defect types; Using the detection model and the detected model, and based on the first model parameters and the second model parameters, a steady-state simulation and a transient simulation are performed to obtain a first curve and a second curve; Acquire a first signal amplitude and a second signal amplitude corresponding to the first curve and the second curve respectively; Obtaining a difference signal between the first curve and the second curve based on the first signal amplitude and the second signal amplitude; According to a preset screening rule, a target difference signal is selected from the difference signals, and a target magnetic pole spacing corresponding to the target difference signal is determined as an optimal magnetic pole spacing.
2. The method according to claim 1, characterized in that The obtaining of the first model parameter of the detection model and the second model parameter of the detected model includes: Determine the value range of the magnet length and the magnetic pole spacing; According to a preset value selection rule, a plurality of parameter groups are obtained based on the value range as first model parameters, each of the parameter groups is formed by a magnet length and a magnetic pole spacing; The weld type and weld defect type of the inspected model are determined based on preset inspection requirements, and the weld defect type is used as a second model parameter.
3. The method according to claim 1, characterized in that The method of using the detection model and the detected model to perform steady-state simulation and transient simulation based on the first model parameters and the second model parameters to obtain a first curve and a second curve includes: Using the detection model and the detected model, and based on the first model parameters and the second model parameters, performing steady-state simulation and transient simulation to obtain a steady-state signal and a transient signal; Extracting a target steady-state signal corresponding to a target position from the steady-state signal, and obtaining a first curve based on the target steady-state signal; A target transient signal corresponding to the target position is extracted from the transient signal, and a second curve is obtained based on the target transient signal.
4. The method according to claim 1, characterized in that The first curve includes a first radial component distribution curve and a first axial component distribution curve, and the second curve includes a second radial component distribution curve and a second axial component distribution curve; The obtaining the first signal amplitude and the second signal amplitude corresponding to the first curve and the second curve respectively includes: Extracting signal amplitudes at baseline positions of the first radial component distribution curve and the first axial component distribution curve to obtain a first signal amplitude; The signal amplitudes at the baseline positions of the second radial component distribution curve and the second axial component distribution curve are extracted to obtain second signal amplitudes.
5. The method according to claim 1, characterized in that The step of obtaining a difference signal between the first curve and the second curve based on the first signal amplitude and the second signal amplitude comprises: Based on the first signal amplitude and the first model parameter corresponding to the first signal amplitude, a first amplitude three-dimensional graph is plotted; Based on the second signal amplitude and the first model parameter corresponding to the second signal amplitude, a second amplitude three-dimensional graph is plotted; The first amplitude three-dimensional map and the second amplitude three-dimensional map are subjected to difference processing to obtain a processing result as a difference signal.
6. The method according to claim 2, characterized in that The step of selecting a target difference signal from the difference signals according to a preset screening rule, and determining a target magnetic pole spacing corresponding to the target difference signal as an optimal magnetic pole spacing, comprises: Dividing the parameter group based on the magnet length to obtain a plurality of parameter group sets, wherein the magnet lengths included in the parameter groups in each parameter group set are the same; According to a preset screening rule, a target difference signal is selected from the difference signals corresponding to each of the parameter group sets; Based on a plurality of target difference signals of a plurality of parameter group sets, a plurality of target magnetic pole spacings corresponding to the plurality of target difference signals are determined as optimal magnetic pole spacings corresponding to different magnet lengths.
7. The method according to claim 6, wherein the step of selecting a target difference signal from the difference signals corresponding to each of the parameter group sets according to a preset screening rule comprises: Identifying the value of the difference signal corresponding to each parameter group set; According to the preset screening rules, the difference signal with the smallest value is selected as the target difference signal.
8. A device for determining an optimal magnetic pole spacing, characterized in that: include: Model unit, used to construct detection model and detected model for high-speed magnetic flux leakage detection; A parameter configuration unit, used to obtain a first model parameter of the detection model and a second model parameter of the detected model; the first model parameter includes a plurality of magnet lengths and a plurality of magnetic pole spacings, and the second model parameter includes a weld defect type; A simulation unit, configured to use the detection model and the detected model to perform steady-state simulation and transient simulation based on the first model parameters and the second model parameters to obtain a first curve and a second curve; an amplitude unit, used to obtain a first signal amplitude and a second signal amplitude corresponding to the first curve and the second curve respectively; a processing unit, configured to obtain a difference signal between the first curve and the second curve based on the first signal amplitude and the second signal amplitude; The determination unit is used to select a target difference signal from the difference signals according to a preset screening rule, and determine a target magnetic pole spacing corresponding to the target difference signal as an optimal magnetic pole spacing.
9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the electronic device to implement the method for determining the optimal magnetic pole pitch as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the method for determining the optimal magnetic pole pitch according to any one of claims 1 to 7.