Metal track defect detection method and device

By calculating the energy value of the metal track signal in the frequency domain and comparing it with the preset threshold, combined with the dynamic update of the baseline signal set, the problem of low detection accuracy caused by changes in environmental factors in the existing technology is solved, and the detection of metal track defects is improved. accuracy and stability.

CN118731189APending Publication Date: 2024-10-01SHUOHUANG RAILWAY DEV +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410777416.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing technology, the energy characteristics of ultrasonic guided waves in the time domain are calculated. When faced with changes in environmental factors, the signal amplitude of the ultrasonic guided waves in the metal track changes greatly, resulting in low accuracy in detecting defects in the metal track.

Method used

By obtaining the target signal of the metal track target section, calculate its target energy value in the frequency domain, and compare it with the preset defect judgment threshold to determine whether there is a defect. The defect judgment threshold is calculated from defect-free signals obtained under different environmental factors, and is dynamically adjusted using the frequency domain energy value and standard deviation in the update of the baseline signal set.

Benefits of technology

It improves the accuracy of metal track defect detection, overcomes the effects of temperature and stress on the amplitude of ultrasonic guided wave signals, and enhances the stability and adaptability of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118731189A_ABST
    Figure CN118731189A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of metal track defect detection, and provides a metal track defect detection method and device. The method comprises the steps that a target signal passing through a metal track target section is obtained, a target energy value of the target signal in a frequency domain is calculated, and the target energy value is the sum of squares of frequency point amplitudes obtained through FFT calculation of the target signal; the target energy value is compared with a preset defect judgment threshold value, whether defects exist in the target section of the metal track or not is judged, and the defect judgment threshold value is obtained by calculating a plurality of defect-free signals obtained by the target section under different environment factors. According to the embodiment of the invention, the influence of the temperature and stress of the metal track on the amplitude of the ultrasonic guided wave signal can be better overcome, so that the detection accuracy of the metal track defect is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of metal track defect detection, and in particular to a metal track defect detection method and device. Background Art

[0002] When detecting defects in metal tracks, ultrasonic guided wave signal detection is often used. Ultrasonic guided waves have the advantages of long distance and covering the entire metal track cross section in metal track detection. However, the propagation characteristics of ultrasonic guided waves in metal tracks are complex, and the multimodal characteristics and dispersion characteristics are more significant. Existing technologies often calculate the energy characteristics of ultrasonic guided waves in the time domain. When faced with changes in environmental factors (such as temperature changes and changes in internal stress of metal tracks), the signal amplitude of ultrasonic guided waves propagating in metal tracks will change significantly, resulting in low detection accuracy of metal track defects. Summary of the invention

[0003] In view of this, the embodiments of the present disclosure provide a metal rail defect detection method, device, electronic device and computer-readable storage medium to solve the problem in the prior art that the energy characteristics of ultrasonic guided waves in the time domain are calculated, and when faced with changes in environmental factors, the signal amplitude of the ultrasonic guided waves propagating in the metal rail will change significantly, resulting in low detection accuracy of metal rail defects.

[0004] A first aspect of an embodiment of the present disclosure provides a metal track defect detection method, comprising:

[0005] Acquire a target signal passing through a target section of a metal track, and calculate a target energy value of the target signal in the frequency domain, wherein the target energy value is the sum of the squares of the amplitudes of each frequency point obtained by FFT calculation of the target signal;

[0006] The target energy value is compared with a preset defect judgment threshold to determine whether there is a defect in the target section of the metal track, wherein the defect judgment threshold is calculated from multiple defect-free signals obtained from the target section under different environmental factors.

[0007] In some embodiments, the step of calculating the target energy value of the target signal in the frequency domain includes:

[0008] Performing FFT calculation on the target signal to obtain an FFT result;

[0009] The length of the target signal is obtained, and the target energy value is calculated according to a preset first calculation formula and the FFT result, wherein the first calculation formula includes:

[0010]

[0011] Among them, Ef represents the target energy value, k represents the independent variable, M represents the length of the target signal, and X(k) represents the FFT result.

[0012] In some embodiments, the step of determining the defect judgment threshold comprises:

[0013] Acquire multiple defect-free signals of different environmental factors passing through a target section of a metal track, and calculate a defect-free energy value of each defect-free signal in the frequency domain;

[0014] Calculate the average value and standard deviation of each defect-free energy value according to each defect-free energy value;

[0015] The defect judgment threshold is calculated according to the preset second calculation formula and the first threshold calculation coefficient, as well as the average value and the standard deviation, wherein the second calculation formula includes:

[0016]

[0017] Among them, T c represents the defect judgment threshold, a1 represents the first threshold calculation coefficient, represents the mean value, σ b represents the standard deviation.

[0018] In some embodiments, before comparing the target energy value with a preset defect judgment threshold, the method further includes:

[0019] Determining whether the target energy value is greater than a preset baseline signal update threshold, wherein the baseline signal update threshold is determined according to a preset baseline signal set, and the baseline signal set is continuously updated according to a signal that meets preset requirements;

[0020] When the target energy value is not greater than the preset baseline signal update threshold, the step of comparing the target energy value with the preset defect judgment threshold is performed, and the defect judgment threshold is updated based on the baseline signal set.

[0021] In some embodiments, the method further comprises:

[0022] When the target energy value is greater than a preset baseline signal update threshold, it is determined that no defect exists in the target section, and the target signal is added to the baseline signal set.

[0023] In some embodiments, adding the target signal to the baseline signal set comprises:

[0024] Determining whether the number of signals in the baseline signal set is less than a preset signal number threshold;

[0025] When the number of signals in the baseline signal set is less than the signal number threshold, directly adding the target signal to the baseline signal set;

[0026] When the number of signals in the baseline signal set is not less than the signal number threshold, a baseline signal is randomly deleted from the baseline signal set, and the target signal is added to the baseline signal set.

[0027] In some embodiments, the step of determining the baseline signal update threshold comprises:

[0028] Obtaining a baseline energy value in the frequency domain of each baseline signal in the baseline signal set, and calculating a baseline mean and a baseline standard deviation of the baseline signal based on each baseline energy value;

[0029] Acquire a preset number of preceding interval signals within a preset length window before the target signal, and calculate the preceding mean and preceding standard deviation of each preceding interval signal;

[0030] The baseline signal update threshold is calculated according to a preset third calculation formula, a baseline mean weight, a baseline standard deviation weight, a baseline threshold calculation coefficient, and the baseline mean, the baseline standard deviation, the preceding mean, and the preceding standard deviation, wherein the third calculation formula includes:

[0031]

[0032] Among them, the T b represents the baseline signal update threshold, represents the baseline mean, σ base represents the baseline standard deviation, represents the pre-mean value, σ win represents the leading standard deviation, k1 represents the baseline mean weight, k2 represents the baseline standard deviation weight, and b represents the baseline threshold calculation coefficient.

[0033] In some embodiments, updating the defect judgment threshold based on the baseline signal set includes:

[0034] The defect judgment threshold is calculated according to the preset second threshold calculation coefficient, the baseline mean, the baseline standard deviation and a fourth calculation formula, wherein the fourth calculation formula includes:

[0035]

[0036] Among them, T c represents the defect judgment threshold, a2 represents the second threshold calculation coefficient, represents the baseline mean, σ base represents the baseline standard deviation.

[0037] A second aspect of the embodiments of the present disclosure provides a metal rail defect detection device, comprising:

[0038] A calculation module, used to obtain a target signal passing through a target section of a metal track, and calculate a target energy value of the target signal in a frequency domain, wherein the target energy value is the square sum of the amplitudes of each frequency point obtained by FFT calculation of the target signal;

[0039] A judgment module is used to compare the target energy value with a preset defect judgment threshold to determine whether there is a defect in the target section of the metal track, wherein the defect judgment threshold is calculated from multiple defect-free signals obtained from the target section under different environmental factors.

[0040] In some embodiments, the step of calculating the target energy value of the target signal in the frequency domain includes:

[0041] Performing FFT calculation on the target signal to obtain an FFT result;

[0042] The length of the target signal is obtained, and the target energy value is calculated according to a preset first calculation formula and the FFT result, wherein the first calculation formula includes:

[0043]

[0044] Among them, E f represents the target energy value, k represents the independent variable, M represents the length of the target signal, and X(k) represents the FFT result.

[0045] In some embodiments, the step of determining the defect judgment threshold comprises:

[0046] Acquire multiple defect-free signals of different environmental factors passing through a target section of a metal track, and calculate a defect-free energy value of each defect-free signal in the frequency domain;

[0047] Calculate the average value and standard deviation of each defect-free energy value according to each defect-free energy value;

[0048] The defect judgment threshold is calculated according to the preset second calculation formula and the first threshold calculation coefficient, as well as the average value and the standard deviation, wherein the second calculation formula includes:

[0049]

[0050] Among them, T c represents the defect judgment threshold, a1 represents the first threshold calculation coefficient, represents the mean value, σ b represents the standard deviation.

[0051] In some embodiments, the metal rail defect detection device further comprises:

[0052] A second judgment module is used to judge whether the target energy value is greater than a preset baseline signal update threshold, wherein the baseline signal update threshold is determined according to a preset baseline signal set, and the baseline signal set is continuously updated according to a signal that meets preset requirements;

[0053] An execution module is used to execute the step of comparing the target energy value with a preset defect judgment threshold when the target energy value is not greater than a preset baseline signal update threshold, and update the defect judgment threshold based on the baseline signal set.

[0054] In some embodiments, the apparatus further comprises:

[0055] The third judgment module is used to judge that there is no defect in the target section when the target energy value is greater than a preset baseline signal update threshold, and add the target signal to the baseline signal set.

[0056] In some embodiments, adding the target signal to the baseline signal set comprises:

[0057] Determining whether the number of signals in the baseline signal set is less than a preset signal number threshold;

[0058] When the number of signals in the baseline signal set is less than the signal number threshold, directly adding the target signal to the baseline signal set;

[0059] When the number of signals in the baseline signal set is not less than the signal number threshold, a baseline signal is randomly deleted from the baseline signal set, and the target signal is added to the baseline signal set.

[0060] In some embodiments, the step of determining the baseline signal update threshold comprises:

[0061] Obtaining a baseline energy value in the frequency domain of each baseline signal in the baseline signal set, and calculating a baseline mean and a baseline standard deviation of the baseline signal based on each baseline energy value;

[0062] Acquire a preset number of preceding interval signals within a preset length window before the target signal, and calculate the preceding mean and preceding standard deviation of each preceding interval signal;

[0063] The baseline signal update threshold is calculated according to a preset third calculation formula, a baseline mean weight, a baseline standard deviation weight, a baseline threshold calculation coefficient, and the baseline mean, the baseline standard deviation, the preceding mean, and the preceding standard deviation, wherein the third calculation formula includes:

[0064]

[0065] Among them, the T b represents the baseline signal update threshold, represents the baseline mean, σ base represents the baseline standard deviation, represents the pre-mean value, σ win represents the leading standard deviation, k1 represents the baseline mean weight, k2 represents the baseline standard deviation weight, and b represents the baseline threshold calculation coefficient.

[0066] In some embodiments, updating the defect judgment threshold based on the baseline signal set includes:

[0067] The defect judgment threshold is calculated according to the preset second threshold calculation coefficient, the baseline mean, the baseline standard deviation and a fourth calculation formula, wherein the fourth calculation formula includes:

[0068]

[0069] Among them, T c represents the defect judgment threshold, a2 represents the second threshold calculation coefficient, represents the baseline mean, σ base represents the baseline standard deviation.

[0070] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0071] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0072] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided. The computer program product includes a computer program or instructions. When the computer program or instructions are executed by a processor, the steps of the above method are implemented.

[0073] By acquiring the target signal passing through the target section of the metal track and calculating the target energy value of the target signal in the frequency domain; comparing the target energy value with the preset defect judgment threshold to determine whether there is a defect in the target section of the metal track, the influence of the temperature and stress of the metal track on the amplitude of the ultrasonic guided wave signal can be better overcome, thereby greatly improving the detection accuracy of metal track defects. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0075] Figure 1 It is a schematic diagram of the metal rail defect detection principle based on ultrasonic guided waves in the prior art;

[0076] Figure 2 is a schematic diagram of an application scenario of a metal track defect detection method provided according to an embodiment of the present disclosure;

[0077] Figure 3 is a flow chart of some embodiments of a metal track defect detection method provided according to an embodiment of the present disclosure;

[0078] Figure 4 is a flow chart of some other embodiments of another metal track defect detection method provided according to an embodiment of the present disclosure;

[0079] Figure 5 is a schematic diagram of detection results of a specific embodiment of a metal rail defect detection method provided in an embodiment of the present disclosure;

[0080] Figure 6 It is a simplified structural schematic diagram of a metal rail defect detection device provided according to an embodiment of the present disclosure;

[0081] Figure 7 is a schematic diagram of an electronic device provided according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0082] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0083] It should also be noted that, for ease of description, only the parts related to the present disclosure are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0084] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different systems, devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these systems, devices, modules or units.

[0085] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0086] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0087] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0088] The existing non-destructive testing methods for metal rails based on ultrasonic guided waves are mainly divided into vehicle-mounted and land-based types. The vehicle-mounted testing system loads the measuring equipment on a mobile vehicle, which can scan the head of the metal rail while the vehicle is moving to detect metal rail defects. The equipment of the land-based system is installed beside the track, and its guided wave excitation device and acquisition device are fixedly installed on the track to detect metal rail defects.

[0089] The basic idea of ​​traditional ultrasonic guided wave detection of medium defects is to identify defects by analyzing the amplitude of the received signal. In practical applications, ultrasonic guided waves are emitted at one end of the medium and received by a transducer at the other end. When ultrasonic guided waves propagate in a finite medium, if the medium is broken, the ultrasonic guided waves cannot be received at the other end of the medium, which can be used to detect whether the medium is broken. If there are defects or damage inside the medium, the guided wave signal received at the other end of the medium will be attenuated, and the ultrasonic guided wave will be reflected at the defect. The echo of the ultrasonic guided wave can be detected at the transmitting end. By analyzing the transmitted wave and the reflected wave, the location and size of the damage can be detected.

[0090] Specifically, the defect detection principle is as follows: Figure 1 As shown in the figure, the transmitting device can excite ultrasonic guided wave signals in the metal track, and the receiving device collects the guided wave signals. When there is no defect, after the transmitting device transmits the excitation signal, the receiving device can receive the normal original signal attenuated by distance. When there is a defect in the metal track, the defect causes the energy of the guided wave to be lost. The receiving device will receive the greatly attenuated original signal and the defect signal. By analyzing the characteristics of the signal received by the receiving device, it can be determined whether a defect has occurred.

[0091] When the amplitude of a discrete time domain signal decreases, its discrete Fourier transform (DFT) will also be affected. Specifically, a discrete time domain signal x(n) with a length of N has a discrete Fourier transform of:

[0092]

[0093] Where X(k) represents the amplitude of the k-th frequency component, x(k) represents the n-th time component, e is the base of the natural logarithm, j is the imaginary unit, 2π represents pi, and N is the number of sampling points of the signal.

[0094] If the amplitude of x(n) is reduced to α times of the original value, the new signal is αx(n), where 0<α<1. Then the discrete Fourier transform Y(k) of the new signal has the following relationship with X(k):

[0095]

[0096] Therefore, a decrease in the amplitude of a time-domain signal results in a decrease in the amplitude of its spectrum.

[0097] Embodiment 1:

[0098] Figure 2 It is a schematic diagram of an application scenario of a metal rail defect detection method according to some embodiments of the present disclosure.

[0099] exist Figure 2 In the application scenario, a plurality of signal acquisition devices 101 dispersed along the railway can be provided. The signal acquisition device 101 can collect signals on the metal track and send the collected signals to the computing device 102. When the computing device 102 is running, the target signal 103 passing through the target section of the metal track can be first obtained, and the target energy value 104 of the target signal in the frequency domain can be calculated, wherein the target energy value 104 is the square sum of the amplitudes of each frequency point calculated by the target signal 103 through FFT (fast Fourier transform). Secondly, the computing device 103 can compare the target energy value 104 with a preset defect judgment threshold 105 to determine whether there is a defect in the target section of the metal track, wherein the defect judgment threshold 105 is calculated by a plurality of defect-free signals 106 obtained from the target section under different environmental factors.

[0100] It should be noted that the above-mentioned computing device 102 can be hardware or software. When the computing device is hardware, it can be implemented as a hardware device corresponding to the signal acquisition equipment scattered along the railway, or it can be implemented as a cloud server. When the computing device is embodied as software, it can be installed in the hardware devices listed above, or it can be installed in a cloud server. It can be implemented as multiple software or software modules for providing distributed services, or it can be implemented as a single software or software module. No specific limitation is made here.

[0101] It should be understood that Figure 1 The number of computing devices in the embodiment is only illustrative. Any number of computing devices may be provided according to implementation requirements.

[0102] Embodiment 2:

[0103] Continue to refer Figure 3 , shows a process 200 of some embodiments of the metal track defect detection method according to the present disclosure. The method can be Figure 1 The method for detecting metal rail defects comprises the following steps:

[0104] Step 201, obtain a target signal passing through a target section of a metal track, and calculate a target energy value of the target signal in the frequency domain, wherein the target energy value is the square sum of the amplitudes of each frequency point obtained by FFT calculation of the target signal.

[0105] In some embodiments, the execution body of the metal track defect detection method (such as Figure 1 The computing device 102 shown in the figure can be connected to the target device through a wired connection or a wireless connection, and then obtain the target signal passing through the target section of the metal track, and calculate the target energy value of the target signal in the frequency domain, wherein the target energy value is the sum of the squares of the amplitudes of each frequency point obtained by FFT calculation of the target signal. FFT is a prior art, and the frequency point amplitude and the sum of squares are commonly used parameters in this field, and their specific principles, calculation steps or meanings are not repeated here. The metal track can be a commonly used iron rail, steel rail, etc. in rail transportation, which can be selected according to needs, but is not limited to this.

[0106] In some optional implementations, the step of calculating the target energy value of the target signal in the frequency domain includes: performing FFT calculation on the target signal to obtain an FFT result; obtaining the length of the target signal, and calculating the target energy value according to a preset first calculation formula and the FFT result, wherein the first calculation formula includes:

[0107]

[0108] Among them, E frepresents the target energy value, k represents the independent variable, M represents the length of the target signal, and X(k) represents the FFT result.

[0109] Using frequency domain for calculation and analysis has the following advantages:

[0110] 1. Frequency domain energy characteristics can better describe the distribution of signals at different frequencies, making it easier to distinguish the difference between the signal generated by the defect and the background noise.

[0111] 2. Using frequency domain energy features can eliminate the influence of the amplitude and phase of the time domain signal on signal judgment, making it more stable and reliable.

[0112] 3. Frequency domain energy characteristics can be calculated through efficient algorithms such as fast Fourier transform, which has fast calculation speed and can realize real-time detection and online monitoring.

[0113] 4. Since frequency domain energy features can more easily distinguish signal differences at different frequencies, the use of frequency domain energy features can be more flexible and adaptable for different types of defects.

[0114] It should be noted that the above-mentioned wireless connection methods may include but are not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or developed in the future.

[0115] Step 202, comparing the target energy value with a preset defect judgment threshold to determine whether there is a defect in the target section of the metal track, wherein the defect judgment threshold is calculated from a plurality of defect-free signals obtained from the target section under different environmental factors.

[0116] The defect judgment threshold may refer to a preset judgment value for judging the target energy value. The judgment value may be a single value. Generally speaking, the signal collected by the ultrasonic device within a short period of time after installation can be approximately considered as a defect-free signal, that is, the defect-free signal. Different environmental factors may refer to various factors that affect the signal transmission effect inside the track, such as different temperatures and different internal stresses.

[0117] In some embodiments, the step of determining the defect judgment threshold comprises: obtaining a plurality of defect-free signals of different environmental factors passing through the target section of the metal track, and calculating the defect-free energy value of each defect-free signal in the frequency domain; calculating the average value and standard deviation of each defect-free energy value according to each defect-free energy value; calculating the defect judgment threshold according to a preset second calculation formula and a first threshold calculation coefficient, as well as the average value and the standard deviation, wherein the second calculation formula comprises:

[0118]

[0119] Among them, T c represents the defect judgment threshold, a1 represents the first threshold calculation coefficient, represents the mean value, σ b represents the standard deviation.

[0120] The calculation steps of the defect-free energy value are the same as those of the target energy value of the target signal, which represents the energy characteristics of the defect-free signal in the frequency domain. The mean value and standard deviation are both commonly used calculation forms and will not be described in detail here.

[0121] The beneficial effects of one of the above-mentioned embodiments of the present disclosure include at least: by acquiring a target signal passing through a target section of a metal track and calculating a target energy value of the target signal in the frequency domain; comparing the target energy value with a preset defect judgment threshold to determine whether there is a defect in the target section of the metal track, the influence of the temperature and stress of the metal track on the amplitude of the ultrasonic guided wave signal can be overcome, thereby greatly improving the detection accuracy of metal track defects.

[0122] Embodiment three:

[0123] Continue to refer Figure 4 , shows a process 300 of another embodiment of the metal rail defect detection method according to the present disclosure, the method can be Figure 1 The metal track defect detection method includes:

[0124] Step 301, obtain a target signal passing through a target section of a metal track, and calculate a target energy value of the target signal in the frequency domain, wherein the target energy value is the square sum of the amplitudes of each frequency point obtained by FFT calculation of the target signal.

[0125] Step 302, determining whether the target energy value is greater than a preset baseline signal update threshold, wherein the baseline signal update threshold is determined according to a preset baseline signal set, and the baseline signal set is continuously updated according to a signal that meets preset requirements.

[0126] The baseline signal may refer to a statistical signal that meets preset requirements (e.g., greater than a baseline signal update threshold). Multiple baseline signals may constitute the baseline signal set. The baseline signal update threshold may refer to a limit value used to determine whether the energy value of the signal to be determined meets the requirements.

[0127] The defect-free signal generated in the early stage of equipment installation will be set as the baseline signal according to the sampling. However, after the timeline is extended, the climate conditions at the equipment installation site will definitely change. Judging based on the baseline signal set composed of defect-free signals will inevitably cause extremely high underreporting and false alarms; at the same time, changes in transducer characteristics during long-term monitoring will also affect the signal. Therefore, in the embodiment of the present disclosure, by judging the subsequently collected signals and adding them to the baseline signal set, the baseline signal can be automatically updated, thereby greatly increasing the adaptive ability of the present disclosure.

[0128] Step 303, when the target energy value is not greater than the preset baseline signal update threshold, the target energy value is compared with a preset defect judgment threshold to determine whether there is a defect in the target section of the metal track, wherein the defect judgment threshold is calculated from multiple defect-free signals obtained from the target section under different environmental factors.

[0129] Step 304: When the target energy value is greater than a preset baseline signal update threshold, it is determined that there is no defect in the target section, and the target signal is added to the baseline signal set.

[0130] As to whether a new signal can be used as a new baseline signal, if the judgment basis is simply set to be consistent with the defect judgment step, as the number of baseline signals increases, the sensitivity of the baseline data set to the new signal will become lower and lower. Considering the change trend before the newly collected signal, this paper sets the baseline signal update threshold by combining the existing baseline data set with the most recently collected signal.

[0131] An overly large baseline database causes slow system calculations, so the maximum number of baseline libraries needs to be limited. At the same time, if a new signal can be used as a baseline signal, the existing baseline needs to be reduced.

[0132] Therefore, in some optional implementations, adding the target signal to the baseline signal set includes: determining whether the number of signals in the baseline signal set is less than a preset signal number threshold; when the number of signals in the baseline signal set is less than the signal number threshold, directly adding the target signal to the baseline signal set; when the number of signals in the baseline signal set is not less than the signal number threshold, randomly deleting a baseline signal from the baseline signal set, and adding the target signal to the baseline signal set. Random methods are used to remove baseline signals to ensure that a certain degree of discreteness is maintained within the baseline signal, which can enhance the robustness of the present disclosure.

[0133] Step 305: Update the defect judgment threshold based on the baseline signal set.

[0134] In some optional implementations, the step of determining the baseline signal update threshold includes: obtaining the baseline energy value of each baseline signal in the baseline signal set in the frequency domain, and calculating the baseline mean and baseline standard deviation of the baseline signal based on each baseline energy value; obtaining a preset number of preceding interval signals within a preset length window before the target signal, and calculating the preceding mean and preceding standard deviation of each preceding interval signal; calculating the baseline signal update threshold according to a preset third calculation formula, a baseline mean weight, a baseline standard deviation weight, a baseline threshold calculation coefficient, and the baseline mean, the baseline standard deviation, the preceding mean and the preceding standard deviation, wherein the third calculation formula includes:

[0135]

[0136] Among them, the T b represents the baseline signal update threshold, represents the baseline mean, σ base represents the baseline standard deviation, represents the pre-mean value, σ win represents the leading standard deviation, k1 represents the baseline mean weight, k2 represents the baseline standard deviation weight, and b represents the baseline threshold calculation coefficient.

[0137] In some optional implementations, updating the defect judgment threshold based on the baseline signal set includes: calculating the defect judgment threshold according to a preset second threshold calculation coefficient and the baseline mean, the baseline standard deviation and a fourth calculation formula, wherein the fourth calculation formula includes:

[0138]

[0139] Among them, T c represents the defect judgment threshold, a2 represents the second threshold calculation coefficient, represents the baseline mean, σ base represents the baseline standard deviation.

[0140] In some embodiments, steps 301-305 are Figure 3 The specific implementation of the corresponding steps in the corresponding embodiments and the technical effects brought about can be referred to Figure 2 The steps in will not be repeated here.

[0141] Embodiment 4:

[0142] In order to further explain the present disclosure, the following specific examples are provided:

[0143] Twenty groups of defect-free signals at different temperatures and stresses obtained by finite element simulation are used as reference signals. The threshold calculation coefficient is set to 5, and the threshold is calculated. The frequency domain energy statistics of rail head penetration defects of 5%, 10%, 15%, and 20% in different environments and different positions are performed. The results are as follows: Figure 5 The signal below the threshold line is judged as a defect signal, and the signal above the threshold line is judged as a non-defect signal. The detection effect is shown in Table 1. From the results, it can be seen that using frequency domain energy as the standard for defect judgment under environmental factors can effectively distinguish rail head penetration defects with a cross-sectional size of more than 10%.

[0144] Embodiment five:

[0145] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.

[0146] Further references Figure 6 As an implementation of the above methods in the above figures, the present disclosure provides some embodiments of metal track defect detection devices, which are similar to Figure 2 The above method embodiments correspond.

[0147] like Figure 6 As shown, a metal rail defect detection device 1000 of some embodiments includes:

[0148] A calculation module 1001 is used to obtain a target signal passing through a target section of a metal track, and calculate a target energy value of the target signal in a frequency domain, wherein the target energy value is the square sum of the amplitudes of each frequency point obtained by FFT calculation of the target signal;

[0149] The judgment module 1002 is used to compare the target energy value with a preset defect judgment threshold to determine whether there is a defect in the target section of the metal track, wherein the defect judgment threshold is calculated from multiple defect-free signals obtained from the target section under different environmental factors.

[0150] In some embodiments, the step of calculating the target energy value of the target signal in the frequency domain includes:

[0151] Performing FFT calculation on the target signal to obtain an FFT result;

[0152] The length of the target signal is obtained, and the target energy value is calculated according to a preset first calculation formula and the FFT result, wherein the first calculation formula includes:

[0153]

[0154] Among them, E f represents the target energy value, k represents the independent variable, M represents the length of the target signal, and X(k) represents the FFT result.

[0155] In some embodiments, the step of determining the defect judgment threshold comprises:

[0156] Acquire multiple defect-free signals of different environmental factors passing through a target section of a metal track, and calculate a defect-free energy value of each defect-free signal in the frequency domain;

[0157] Calculate the average value and standard deviation of each defect-free energy value according to each defect-free energy value;

[0158] The defect judgment threshold is calculated according to the preset second calculation formula and the first threshold calculation coefficient, as well as the average value and the standard deviation, wherein the second calculation formula includes:

[0159]

[0160] Among them, T c represents the defect judgment threshold, a1 represents the first threshold calculation coefficient, represents the mean value, σ b represents the standard deviation.

[0161] In some embodiments, the metal rail defect detection device further comprises:

[0162] A second judgment module is used to judge whether the target energy value is greater than a preset baseline signal update threshold, wherein the baseline signal update threshold is determined according to a preset baseline signal set, and the baseline signal set is continuously updated according to a signal that meets preset requirements;

[0163] An execution module is used to execute the step of comparing the target energy value with a preset defect judgment threshold when the target energy value is not greater than a preset baseline signal update threshold, and update the defect judgment threshold based on the baseline signal set.

[0164] In some embodiments, the apparatus further comprises:

[0165] The third judgment module is used to judge that there is no defect in the target section when the target energy value is greater than a preset baseline signal update threshold, and add the target signal to the baseline signal set.

[0166] In some embodiments, adding the target signal to the baseline signal set comprises:

[0167] Determining whether the number of signals in the baseline signal set is less than a preset signal number threshold;

[0168] When the number of signals in the baseline signal set is less than the signal number threshold, directly adding the target signal to the baseline signal set;

[0169] When the number of signals in the baseline signal set is not less than the signal number threshold, a baseline signal is randomly deleted from the baseline signal set, and the target signal is added to the baseline signal set.

[0170] In some embodiments, the step of determining the baseline signal update threshold comprises:

[0171] Obtaining a baseline energy value in the frequency domain of each baseline signal in the baseline signal set, and calculating a baseline mean and a baseline standard deviation of the baseline signal based on each baseline energy value;

[0172] Acquire a preset number of preceding interval signals within a preset length window before the target signal, and calculate the preceding mean and preceding standard deviation of each preceding interval signal;

[0173] The baseline signal update threshold is calculated according to a preset third calculation formula, a baseline mean weight, a baseline standard deviation weight, a baseline threshold calculation coefficient, and the baseline mean, the baseline standard deviation, the preceding mean, and the preceding standard deviation, wherein the third calculation formula includes:

[0174]

[0175] Among them, the T b represents the baseline signal update threshold, represents the baseline mean, σ base represents the baseline standard deviation, represents the pre-mean value, σ win represents the leading standard deviation, k1 represents the baseline mean weight, k2 represents the baseline standard deviation weight, and b represents the baseline threshold calculation coefficient.

[0176] In some embodiments, updating the defect judgment threshold based on the baseline signal set includes:

[0177] The defect judgment threshold is calculated according to the preset second threshold calculation coefficient, the baseline mean, the baseline standard deviation and a fourth calculation formula, wherein the fourth calculation formula includes:

[0178]

[0179] Among them, T c represents the defect judgment threshold, a2 represents the second threshold calculation coefficient, represents the baseline mean, σ base represents the baseline standard deviation.

[0180] It is understandable that the modules described in the device 1000 are similar to those described in the reference Figure 2 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 1000 and the modules contained therein, and will not be described in detail here.

[0181] Embodiment six:

[0182] like Figure 7 As shown, the electronic device 1100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage device 1108 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the electronic device 1100 are also stored. The processing device 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0183] Typically, the following devices may be connected to the I / O interface 1105: an input device 1106 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1109. The communication device 1109 may allow the electronic device 1100 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 1100 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 7 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0184] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program or instruction carried on a computer-readable medium, and the computer program or instruction contains a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 1109, or installed from the storage device 1108, or installed from the ROM 1102. When the computer program is executed by the processing device 1101, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0185] It should be noted that the computer-readable medium in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may 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 or 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 combination of the above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The 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. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0186] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0187] The computer-readable medium may be included in the device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains the target signal passing through the target section of the metal track, and calculates the target energy value of the target signal in the frequency domain, wherein the target energy value is the square sum of the amplitudes of each frequency point obtained by the FFT calculation of the target signal;

[0188] The target energy value is compared with a preset defect judgment threshold to determine whether there is a defect in the target section of the metal track, wherein the defect judgment threshold is calculated from multiple defect-free signals obtained from the target section under different environmental factors.

[0189] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0190] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the 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 implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0191] The modules described in some embodiments of the present disclosure may be implemented in software or hardware. The modules described may also be set in a processor, for example, may be described as:

[0192] Calculation module and judgment module. For example, the calculation module can also be described as "a module for acquiring a target signal passing through a target section of a metal track and calculating a target energy value of the target signal in the frequency domain".

[0193] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0194] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A metal track defect detection method, characterized in that: include: Acquire a target signal passing through a target section of a metal track, and calculate a target energy value of the target signal in the frequency domain, wherein the target energy value is the sum of the squares of the amplitudes of each frequency point obtained by FFT calculation of the target signal; The target energy value is compared with a preset defect judgment threshold to determine whether there is a defect in the target section of the metal track, wherein the defect judgment threshold is calculated from multiple defect-free signals obtained from the target section under different environmental factors.

2. The method according to claim 1, characterized in that: The step of calculating the target energy value of the target signal in the frequency domain comprises: Performing FFT calculation on the target signal to obtain an FFT result; The length of the target signal is obtained, and the target energy value is calculated according to a preset first calculation formula and the FFT result, wherein the first calculation formula includes: Among them, E f represents the target energy value, k represents the independent variable, M represents the length of the target signal, and X(k) represents the FFT result.

3. The method according to claim 1, characterized in that The step of determining the defect judgment threshold comprises: Acquire multiple defect-free signals of different environmental factors passing through a target section of a metal track, and calculate a defect-free energy value of each defect-free signal in the frequency domain; Calculate the average value and standard deviation of each defect-free energy value according to each defect-free energy value; The defect judgment threshold is calculated according to the preset second calculation formula and the first threshold calculation coefficient, as well as the average value and the standard deviation, wherein the second calculation formula includes: Among them, T c represents the defect judgment threshold, a1 represents the first threshold calculation coefficient, represents the mean value, σ b represents the standard deviation.

4. The method according to claim 1, characterized in that: Before comparing the target energy value with the preset defect judgment threshold, the method further includes: Determining whether the target energy value is greater than a preset baseline signal update threshold, wherein the baseline signal update threshold is determined according to a preset baseline signal set, and the baseline signal set is continuously updated according to a signal that meets preset requirements; When the target energy value is not greater than the preset baseline signal update threshold, the step of comparing the target energy value with the preset defect judgment threshold is performed, and the defect judgment threshold is updated based on the baseline signal set.

5. The method according to claim 4, characterized in that Also includes: When the target energy value is greater than a preset baseline signal update threshold, it is determined that no defect exists in the target section, and the target signal is added to the baseline signal set.

6. The method according to claim 5, characterized in that The adding the target signal to the baseline signal set comprises: Determining whether the number of signals in the baseline signal set is less than a preset signal number threshold; When the number of signals in the baseline signal set is less than the signal number threshold, directly adding the target signal to the baseline signal set; When the number of signals in the baseline signal set is not less than the signal number threshold, a baseline signal is randomly deleted from the baseline signal set, and the target signal is added to the baseline signal set.

7. The method according to any one of claims 4 to 6, characterized in that: The step of determining the baseline signal update threshold comprises: Obtaining a baseline energy value in the frequency domain of each baseline signal in the baseline signal set, and calculating a baseline mean and a baseline standard deviation of the baseline signal based on each baseline energy value; Acquire a preset number of preceding interval signals within a preset length window before the target signal, and calculate the preceding mean and preceding standard deviation of each preceding interval signal; The baseline signal update threshold is calculated according to a preset third calculation formula, a baseline mean weight, a baseline standard deviation weight, a baseline threshold calculation coefficient, and the baseline mean, the baseline standard deviation, the preceding mean, and the preceding standard deviation, wherein the third calculation formula includes: T b =k1E base +(1-k1)E win ±b(k2σ base +(1-k2)σ win ) Among them, the T b represents the baseline signal update threshold, E base represents the baseline mean, σ base represents the baseline standard deviation, E win represents the pre-mean value, σ win represents the leading standard deviation, k1 represents the baseline mean weight, k2 represents the baseline standard deviation weight, and b represents the baseline threshold calculation coefficient.

8. The method according to claim 7, characterized in that The updating of the defect judgment threshold based on the baseline signal set includes: The defect judgment threshold is calculated according to the preset second threshold calculation coefficient, the baseline mean, the baseline standard deviation and a fourth calculation formula, wherein the fourth calculation formula includes: T c =E base -a2σ base Among them, T c represents the defect judgment threshold, a2 represents the second threshold calculation coefficient, E base represents the baseline mean, σ base represents the baseline standard deviation.

9. A metal rail defect detection device, characterized in that: include: A calculation module, used to obtain a target signal passing through a target section of a metal track, and calculate a target energy value of the target signal in a frequency domain, wherein the target energy value is the sum of squares of amplitudes of each frequency point obtained by FFT calculation of the target signal; A judgment module is used to compare the target energy value with a preset defect judgment threshold to determine whether there is a defect in the target section of the metal track, wherein the defect judgment threshold is calculated from multiple defect-free signals obtained from the target section under different environmental factors.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer program product, comprising a computer program or instructions, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Audio signal determination system

    CN121214968A