Rail damage detection method, system and terminal
Obtaining ultrasonic signals through lead breaking experiments and using the adversarial autoencoder model for training solves the problems of high cost and slow detection speed of existing rail damage detection technology, achieving low-cost, high-efficiency and reliable rail damage detection, which is suitable for Large scale railway system.
Patent Information
- Application Number
- CN202410832604.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Existing rail damage detection technology has problems such as high cost and slow detection speed, which limits its large-scale application on railway lines.
The original ultrasonic signal of the non-destructive rail is obtained through the lead breaking experiment, segmented and pre-processed to form an ultrasonic signal sample training set, and input into the adversarial autoencoder model for training, and a rail damage detection model based on multi-dimensional Gaussian probability distribution is obtained for detection. Damage to the rail to be tested.
It realizes rail damage detection with low cost, high detection efficiency, reliable results and strong versatility, reduces the need for professionalism of operators, and is suitable for rapid track inspection of large-scale railway systems.
Smart Images

Figure CN118376698B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of railway traffic detection, and in particular to a rail damage detection method, system, terminal and computer-readable storage medium. Background Art
[0002] Rails are important facilities in the railway system and the basis for train operation. Their health status is directly related to the safety and comfort of high-speed driving. When running at such high speeds and under heavy service, rails are inevitably prone to various damages such as cracks or even breaks.
[0003] In order to prevent rail breakage caused by rail damage, railway management departments invest a lot of manpower and material resources every year to conduct track flaw detection and formulate detailed technical specifications and implementation rules. However, safety accidents caused by rail cracks still occur from time to time.
[0004] Although ultrasonic detection technology is widely used in rail damage detection, it still has problems such as expensive and large equipment, slow detection speed, and the need for operators to have a high level of professionalism, which to a certain extent limits its large-scale application on railway lines.
[0005] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0006] In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a rail damage detection method, system and terminal, aiming to solve the problems of high cost and slow detection speed in the existing rail damage detection methods.
[0007] The technical solution of the present invention is as follows:
[0008] A rail damage detection method comprises the following steps:
[0009] The original ultrasonic signals of intact rails are obtained multiple times through lead breaking experiments, and segmented and preprocessed to obtain multiple ultrasonic signal sample training sets;
[0010] Inputting a plurality of ultrasonic signal sample training sets into an adversarial autoencoder model for training to obtain a rail damage detection model based on multi-dimensional Gaussian probability distribution;
[0011] The ultrasonic signal of the rail to be tested is obtained, and after segmentation preprocessing, the ultrasonic signal is input into the rail damage detection model for processing, and the detection result of the rail to be tested is output.
[0012] The rail damage detection method, wherein the lead breaking experiment comprises the steps of: keeping a 4H lead core of a preset length at a preset angle to the rail plane and applying force downward until the 4H lead core breaks to generate ultrasonic waves on the rail plane, thereby acquiring the original ultrasonic signal of the intact rail.
[0013] The rail damage detection method, wherein the preset length is 2mm-4mm; the preset angle is 30°-50°; the sampling rate of the original ultrasonic signal is 1~10MHz, and the data length of the original ultrasonic signal is greater than or equal to 10000.
[0014] The rail damage detection method, wherein the step of inputting a plurality of ultrasonic signal sample training sets into an adversarial autoencoder model for training to obtain a rail damage detection model based on a multi-dimensional Gaussian probability distribution comprises:
[0015] Performing encoding operation on the ultrasonic signal sample training set to obtain latent variables;
[0016] The hidden variables are reconstructed to obtain the first loss function ;
[0017] Randomly sample batches of the prior distribution and latent variable batch Perform discrimination and distinction processing to obtain the second loss function And the third loss function ;
[0018] Repeating the reconstruction process and the discrimination and distinction process, fitting the latent variables into a multi-dimensional standard normal distribution, and obtaining a rail damage detection model based on a multi-dimensional Gaussian probability distribution;
[0019] in, is the original ultrasonic signal Length, For the i The original ultrasound signal, For the A reconstruction signal, S is the Sigmoid cross entropy, and For input and The corresponding discriminant output result.
[0020] The rail damage detection method, wherein the hidden variable The posterior distribution of The expression is:
[0021] ;
[0022] in, represents the encoder, is the ultrasonic signal sample training set.
[0023] The rail damage detection method, wherein the expression of the Sigmoid cross entropy is:
[0024] ;
[0025] in, and Arbitrary string input and label value respectively.
[0026] In the rail damage detection method, the step of outputting the detection result of the rail to be detected comprises:
[0027] The segmented ultrasonic signal is input into the rail damage detection model and output in the form of Sigmoid cross entropy, which is ;
[0028] After adversarial training of the first loss function, the second loss function, and the third loss function, we obtain Parameterized indicators , ;
[0029] Output 95% confidence interval for rail health as the detection result of the steel rail to be tested;
[0030] Among them, the function Characterize the confidence of the discriminator for the segmented ultrasonic signal from the encoder, Indicates confidence level, is the latent variable batch The corresponding discriminator output result.
[0031] A rail damage detection system, comprising:
[0032] A data acquisition and processing module is used to acquire the original ultrasonic signal of the intact rail and process it to form an ultrasonic signal sample training set;
[0033] A model training module, used for training the adversarial autoencoder model according to the ultrasonic signal sample training set to obtain a rail damage detection model based on multi-dimensional Gaussian probability distribution;
[0034] The detection module is used to input the ultrasonic signal of the rail to be tested into the rail damage detection model based on multi-dimensional Gaussian probability distribution, and output the detection result of the rail to be tested.
[0035] A terminal comprises a memory, a processor and a program stored in the memory and executable on the processor, wherein the program implements the steps of the rail damage detection method when executed by the processor.
[0036] A computer-readable storage medium stores a computer program, wherein the computer-readable storage medium stores a rail damage detection program, and when the rail damage detection program is executed by a processor, the steps of the rail damage detection method are implemented.
[0037] Beneficial effects: The present invention provides a rail damage detection method, system and terminal. The rail damage detection method includes the following steps: obtaining the original ultrasonic signal of the lossless rail through the lead breaking experiment for multiple times, and performing segmentation preprocessing to obtain multiple ultrasonic signal sample training sets; inputting the multiple ultrasonic signal sample training sets into the adversarial autoencoder model for training to obtain a rail damage detection model based on multi-dimensional Gaussian probability distribution; obtaining the ultrasonic signal of the rail to be tested, and inputting it into the rail damage detection model for processing after segmentation preprocessing, and outputting the detection result of the rail to be tested. The present invention uses lead breaking as ultrasonic excitation, and the rail damage detection model is a damage detection framework. The original ultrasonic signal generated by the lead breaking experiment is used as the ultrasonic signal sample training set after segmentation preprocessing. The ultrasonic signal sample training set is input into the adversarial autoencoder model for training, thereby obtaining a rail damage detection model based on multi-dimensional Gaussian probability distribution. Then, after obtaining the ultrasonic signal of the rail to be tested and inputting it into the rail damage detection model, the detection result of the rail to be tested can be obtained. Compared with traditional rail ultrasonic testing, this rail damage detection method has the characteristics of extremely low cost, high detection efficiency, reliable results and strong versatility. It also has low requirements on the professional level of operators and is suitable for rapid track inspections of large-scale railway systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of a flow chart of a rail damage detection method of the present invention;
[0039] Figure 2 This is a schematic diagram of the lead breaking experiment operation;
[0040] Figure 3 This is the ultrasonic signal waveform diagram measured by the lead breaking experiment on the rail;
[0041] Figure 4 The schematic diagram of the rail damage detection process based on adversarial autoencoder;
[0042] Figure 5 This is a data graph showing the change of loss function with the discriminator output during adversarial training of the autoencoder;
[0043] Figure 6 This is a diagram showing the abnormal state detection results of the reference rail #0 and the test rails #1-5 in Example 1. DETAILED DESCRIPTION
[0044] The present invention provides a rail damage detection method, system and terminal. To make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0045] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.
[0046] like Figure 1 As shown, the present invention provides a rail damage detection method, comprising the steps of:
[0047] Step S10: obtaining original ultrasonic signals of intact rails through lead breaking experiments for multiple times, and performing segmentation preprocessing to obtain multiple ultrasonic signal sample training sets;
[0048] Step S20: inputting a plurality of ultrasonic signal sample training sets into an adversarial autoencoder model for training to obtain a rail damage detection model based on multi-dimensional Gaussian probability distribution;
[0049] Step S30: Acquire the ultrasonic signal of the rail to be tested, input it into the rail damage detection model for processing after segmentation preprocessing, and output the detection result of the rail to be tested.
[0050] In this embodiment, first, the original ultrasonic signal is obtained from the intact rail through a lead breaking experiment, and then the original ultrasonic signal is added to a sliding window for data segmentation preprocessing, and each segment of the original ultrasonic signal is divided into a number of slices as an ultrasonic signal sample training set; the ultrasonic signal sample training set is input into an adversarial autoencoder model for training to obtain a rail damage detection model based on a multi-dimensional Gaussian probability distribution; based on the rail damage detection model, by obtaining the ultrasonic signal of the rail to be tested, the ultrasonic signal is subjected to data segmentation processing and then input into the rail damage detection model as an input signal, so as to obtain the damage detection result of the rail to be tested.
[0051] Specifically, the present invention uses broken lead as ultrasonic excitation, and the rail damage detection model is a damage detection framework. The original ultrasonic signal generated by the broken lead experiment is segmented and preprocessed as an ultrasonic signal sample training set, and the ultrasonic signal sample training set is input into the adversarial autoencoder model for training, thereby obtaining a rail damage detection model based on multi-dimensional Gaussian probability distribution. By obtaining the ultrasonic signal of the rail to be tested and inputting it into the rail damage detection model, the detection result of the rail to be tested can be obtained. Compared with traditional rail ultrasonic detection, this rail damage detection method has the characteristics of extremely low cost, high detection efficiency, reliable results and strong versatility, and has low requirements on the professional level of operators. At the same time, it is suitable for rapid track inspection of large-scale railway systems.
[0052] In some embodiments, Figure 2 As shown, the lead breaking experiment includes the steps of: keeping a preset angle β between a 4H lead core of a preset length a and the rail plane and applying force downward until the 4H lead core breaks to generate ultrasonic waves on the rail plane, thereby obtaining the original ultrasonic signal of the lossless rail. The 4H lead core has a suitable hardness. When it is kept at a preset angle with the rail plane and a downward force is applied, the rail surface will produce elastic deformation. When the downward force applied reaches the breaking strength of the 4H lead core, the 4H lead core breaks, and the elastic deformation generated on the rail surface disappears instantly to generate ultrasonic waves and propagate along the rail surface.
[0053] Specifically, when the elastic deformation on the rail surface disappears instantly, the ultrasonic wave generated propagates along the rail surface and is captured and recorded by the acoustic emission sensor 10 installed on the rail head surface. The ultrasonic signal waveform generated in this process is as follows: Figure 3 As shown, Figure 3 The ultrasonic signal waveforms obtained from five lead breaking experiments are shown, including PLB1, PLB2, PLB3, PLB4 and PLB5. The sampling rate during this measurement process is 1~10 MHz, and the data length is greater than or equal to 10000.
[0054] In a preferred embodiment, the sampling rate of the original ultrasonic signal is 10 MHz, and the data length of the original ultrasonic signal is 100000; the sampling rate of the ultrasonic signal is 10 MHz, and the data length of the original ultrasonic signal is 100000. The ultrasonic signal sample training set obtained after segmentation preprocessing of the original ultrasonic signal at the sampling rate and data length is used for model training, and a rail damage detection model with high detection accuracy can be obtained.
[0055] In some embodiments, the preset length is 2mm-4mm; the preset angle is 30°-50°. By applying downward pressure with a lead of 2mm-4mm and an angle of 30°-50° between the lead and the rail plane, the concentration of the applied pressure can be ensured, that is, when the lead breaks, the end will not have a large slippage.
[0056] In a preferred embodiment, the preset length is 3 mm; the preset angle is 40°.
[0057] Specifically, the length of the lead is controlled by a 4H lead automatic pencil to ensure precise control of the length of the lead; the length of the lead affects its breaking strength, if the lead is too long, it will be easy to break, and the elastic deformation on the rail surface will be too small, which is not conducive to the capture of ultrasonic waves; if the lead is too short, the breaking strength will be greater and it will not be easy to break.
[0058] In some embodiments, Figure 4 As shown, the adversarial autoencoder is model trained using the ultrasonic signal sample training set; the adversarial autoencoder includes an encoder, a decoder and a discriminator. The adversarial autoencoder is model trained using the ultrasonic signal sample training set, and the ultrasonic signal is mapped into a multi-dimensional Gaussian probability distribution, thereby achieving the purpose of detecting the ultrasonic signal of the rail to be tested. That is, the adversarial autoencoder can encode the complex, discrete, and nonlinear ultrasonic signal sample training set, wherein the latent variables output by the encoder can be fitted into a multi-dimensional standard state distribution, and the decoder can ensure that the latent variables generated by the encoder in the adversarial training still have the properties of characterizing the original ultrasonic signal, which can ensure that step S30 is more effective and sensitive in detecting abnormalities in the rail to be tested.
[0059] In some embodiments, in step S10, the step of segmenting and preprocessing the original ultrasonic signal includes: adding the original ultrasonic signal to a sliding window for data segmentation preprocessing, dividing the original ultrasonic signal with each data segment length of 10,000 into 200 slices as a sample batch for network training, and combining several sample batches to form the ultrasonic signal sample training set.
[0060] In some embodiments, in step S20, the step of inputting the plurality of ultrasonic signal sample training sets into the adversarial autoencoder model for training to obtain a rail damage detection model based on multi-dimensional Gaussian probability distribution includes:
[0061] Step S21: performing encoding operation on a plurality of ultrasonic signal sample training sets to obtain latent variables;
[0062] Step S22: Reconstruct the latent variables to obtain the first loss function ;
[0063] Step S23: Randomly sample batches of prior distribution and latent variable batch Perform discrimination and distinction processing to obtain the second loss function And the third loss function ;
[0064] Step S24: repeating the reconstruction process and the discrimination process, fitting the latent variables into a multi-dimensional standard normal distribution, and obtaining a rail damage detection model based on a multi-dimensional Gaussian probability distribution;
[0065] in, is the original ultrasonic signal Length, For the The original ultrasound signal, To reconstruct the signal, For the A reconstruction signal, S is the Sigmoid cross entropy, and For input and The corresponding discriminant output result.
[0066] In some embodiments, the hidden variable The posterior distribution of The expression is:
[0067] ;
[0068] in, represents the encoder, is the ultrasonic signal sample training set.
[0069] Specifically, Figure 4 As shown, using the encoder The ultrasonic signal sample training set input to the network Perform encoding operations to obtain hidden variables The posterior distribution of , and make it close to the prior distribution ; Among them, the prior distribution is a 10-dimensional Gaussian distribution.
[0070] Then the rail damage detection model is obtained through two stages of training, including the following:
[0071] Phase 1 (Signal Reconstruction): Using the Decoder For the hidden variable Reconstruction processing is performed so that the reconstructed signal (i.e., the reconstructed signal ) tends to the original ultrasonic signal, and the first loss function is obtained , which is the autoencoder loss function;
[0072] Second stage (hidden variable regularization): using the discriminator While accepting the prior distribution Random batches of and encoder Generated latent variable batches , and distinguish between the two, namely
[0073] ;
[0074] ;
[0075] in, and For input and The corresponding discriminator output;
[0076] At the same time, the second loss function is obtained in the second stage And the third loss function , namely the discriminator loss function (the second loss function) and the encoder loss function (the third loss function).
[0077] Furthermore, during the second stage of training, the encoder It can be regarded as the generator of the network. The second loss function And the third loss function The Adam optimizer is used for parameter optimization. Therefore, the adversarial autoencoder trained by repeating the first and second stages can encode complex, discrete, and nonlinear ultrasonic signals, and the latent variables output by the encoder can be fitted into a multi-dimensional standard normal distribution; and the decoder can ensure that the latent variables generated by the encoder during the adversarial training process still have the characteristics of the ultrasonic signal sample training set. The property of can ensure that the abnormality detection of the tested rail in step S30 is more effective and sensitive.
[0078] In some embodiments, the expression of the Sigmoid cross entropy is:
[0079] ;
[0080] in, and Arbitrary string input and label value respectively.
[0081] In this embodiment, the original ultrasonic signal of the damage-free rail is obtained through the lead breaking experiment and is segmented and preprocessed as the ultrasonic signal sample training set. The ultrasonic signal of the rail in a normal and healthy state is used to complete the training of the adversarial autoencoder, so that the rail damage detection model encodes the ultrasonic signal reflecting the normal state of the rail into a standard Gaussian distribution. For a certain section of ultrasonic signal collected from any rail through the lead breaking experiment, a damage detection index and evaluation method are established, thereby outputting the detection result of the rail to be tested.
[0082] In some embodiments, in step S30, the step of outputting the detection result of the rail to be tested includes:
[0083] Step S31: The segmented ultrasonic signal is input into the rail damage detection model and output in the form of Sigmoid cross entropy, which is ;
[0084] Step S32: After adversarial training is performed on the first loss function, the second loss function, and the third loss function, Parameterized indicators , ;
[0085] Step S33: Output the rail health status with a 95% confidence interval as the detection result of the steel rail to be tested;
[0086] Among them, the function Characterize the confidence of the discriminator for the segmented ultrasonic signal from the encoder, Indicates confidence level, is the latent variable batch The corresponding discriminator output result.
[0087] In this embodiment, for a batch of ultrasonic signal samples of a rail to be detected input to the adversarial autoencoder, the encoder First get the latent variable batch and its distribution , the distribution Input Discriminator And output in the form of Sigmoid cross entropy, that is:
[0088] ;
[0089] The function Characterize the discriminator's confidence that the sample batch comes from the encoder; then the discriminator loss function (second loss function), the encoder loss function (third loss function) and the function Draw as Figure 5As shown, after adversarial training, the function It approximately follows a discrete Poisson distribution, so the parameterized index of the distribution can be obtained by maximum likelihood estimation. , the calculation formula is as follows:
[0090] ;
[0091] Based on the maximum likelihood estimate obtained from multiple tests, the 95% confidence interval is taken as the basis for judging whether a test result reflects the health status of the rail. The calculation method is as follows:
[0092] ;
[0093] In addition, the present invention also provides a rail damage detection system, comprising:
[0094] A data acquisition and processing module is used to acquire the original ultrasonic signal of the intact rail and process it to form an ultrasonic signal sample training set;
[0095] A model training module, used for training the adversarial autoencoder model according to the ultrasonic signal sample training set to obtain a rail damage detection model based on multi-dimensional Gaussian probability distribution;
[0096] The detection module is used to input the ultrasonic signal of the rail to be tested into the rail damage detection model based on multi-dimensional Gaussian probability distribution, and output the detection result of the rail to be tested.
[0097] In addition, the present invention also provides a terminal, which includes a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program implements the steps of the rail damage detection method when executed by the processor.
[0098] In some embodiments, the memory may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Furthermore, the memory may also include both an internal storage unit of the terminal and an external storage device. The memory is used to store application software and various types of data installed on the terminal, such as the program code of the installation terminal. The memory may also be used to temporarily store data that has been output or is to be output. In one embodiment, a rail damage detection program is stored on the memory, and the rail damage detection program can be executed by a processor, thereby realizing the rail damage detection method of the present invention.
[0099] In some embodiments, the processor may be a central processing unit (CPU), a microprocessor or other data processing chip, which is used to run the program code or process data stored in the memory, such as executing the rail damage detection method.
[0100] In addition, the present invention also provides a computer-readable storage medium on which a computer program is stored. The computer-readable storage medium stores a rail damage detection program, and when the rail damage detection program is executed by a processor, the steps of the rail damage detection method are implemented.
[0101] The following examples are further given to illustrate the present invention in detail. It should also be understood that the following examples are only used to further illustrate the present invention and cannot be understood as limiting the scope of protection of the present invention. Some non-essential improvements and adjustments made by those skilled in the art based on the above content of the present invention belong to the scope of protection of the present invention.
[0102] Example 1
[0103] The rail damage detection method is used to display the rail detection results of 700 lead breakage tests (step S10 and step S20 are repeated multiple times), wherein samples No. 1-200 correspond to the ultrasonic signal sample training set (i.e., data collected on the reference undamaged rail), samples No. 201-400 correspond to the other two healthy rails, and samples No. 401-700 correspond to three rails with different degrees of wear and cracking.
[0104] Indicators obtained by calculating multiple lead breaking tests Falling within the established healthy range The proportion of the rail damage status is obtained by probabilistic detection results.
[0105] like Figure 6 As shown, the #2 rail has 72% of the index Within the healthy state range, it can be concluded that it is likely to be a healthy rail; while the #5 rail has only 17% of the index. Within the range, there is a high probability that he is injured.
[0106] In summary, the present invention provides a rail damage detection method, system and terminal, and the rail damage detection method includes the steps of: obtaining the original ultrasonic signal of the lossless rail through the lead breaking experiment for multiple times, and performing segmentation preprocessing to obtain multiple ultrasonic signal sample training sets; inputting the multiple ultrasonic signal sample training sets into the adversarial autoencoder model for training to obtain a rail damage detection model based on multi-dimensional Gaussian probability distribution; obtaining the ultrasonic signal of the rail to be tested, and inputting it into the rail damage detection model for processing after segmentation preprocessing, and outputting the detection result of the rail to be tested. The present invention uses lead breaking as ultrasonic excitation, and the rail damage detection model is a damage detection framework. The original ultrasonic signal generated by the lead breaking experiment is used as the ultrasonic signal sample training set after segmentation preprocessing. By performing model training on the ultrasonic signal sample training set, a rail damage detection model based on multi-dimensional Gaussian probability distribution is obtained, and then the ultrasonic signal of the rail to be tested is obtained and input into the rail damage detection model, and the detection result of the rail to be tested can be obtained. Compared with traditional rail ultrasonic testing, this rail damage detection method has the characteristics of extremely low cost, high detection efficiency, reliable results and strong versatility, and low requirements for the professional level of operators. It is also suitable for rapid track inspection of large-scale railway systems. In addition, by establishing a probabilistic analysis model and introducing an uncertain rail abnormal state assessment method, the detection results are more reliable.
[0107] Specifically, the present invention proposes to use broken lead to replace traditional ultrasonic excitation, which is simple to operate and has extremely low cost; an adversarial autoencoder is used to analyze ultrasonic signals and encode them into standard probability distribution, and an uncertain rail detection method is proposed, which is robust and has reliable results.
[0108] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A rail damage detection method, characterized in that: Includes steps: The original ultrasonic signals of intact rails are obtained multiple times through lead breaking experiments, and segmented and preprocessed to obtain multiple ultrasonic signal sample training sets; Inputting a plurality of ultrasonic signal sample training sets into an adversarial autoencoder model for training to obtain a rail damage detection model based on multi-dimensional Gaussian probability distribution; Acquire the ultrasonic signal of the rail to be tested, input it into the rail damage detection model for processing after segmentation preprocessing, and output the detection result of the rail to be tested; The step of inputting a plurality of ultrasonic signal sample training sets into an adversarial autoencoder model for training to obtain a rail damage detection model based on multi-dimensional Gaussian probability distribution comprises: Performing encoding operation on a plurality of ultrasonic signal sample training sets to obtain latent variables; The hidden variables are reconstructed to obtain the first loss function ; Randomly sample batches of the prior distribution and latent variable batch Perform discrimination and distinction processing to obtain the second loss function And the third loss function ; Repeating the reconstruction process and the discrimination and distinction process, fitting the latent variables into a multi-dimensional standard normal distribution, and obtaining a rail damage detection model based on a multi-dimensional Gaussian probability distribution; in, is the original ultrasonic signal Length, For the The original ultrasound signal, For the A reconstruction signal, S is the Sigmoid cross entropy, and For input and The corresponding discriminant output result; The hidden variable The posterior distribution of The expression is: ; in, represents the encoder, is the ultrasonic signal sample training set; The expression of the Sigmoid cross entropy is: ; in, and are arbitrary string input and label values respectively; The step of outputting the detection result of the rail to be tested comprises: The segmented ultrasonic signal is input into the rail damage detection model and output in the form of Sigmoid cross entropy, which is ; After adversarial training of the first loss function, the second loss function, and the third loss function, we obtain Parameterized indicators , ; Output 95% confidence interval for rail health as the detection result of the rail to be tested; Among them, the function Characterize the confidence of the discriminator for the segmented ultrasonic signal from the encoder, Indicates confidence level, is the latent variable batch The corresponding discriminator output result.
2. The rail damage detection method according to claim 1, characterized in that: The lead breaking experiment includes the steps of: keeping a 4H lead core of a preset length at a preset angle to the rail plane and applying force downward until the 4H lead core breaks to generate ultrasonic waves on the rail plane, thereby acquiring the original ultrasonic signal of the intact rail.
3. The rail damage detection method according to claim 2, characterized in that: The preset length is 2mm-4mm; the preset angle is 30°-50°; the sampling rate of the original ultrasonic signal is 1~10MHz, and the data length of the original ultrasonic signal is greater than or equal to 10000.
4. A rail damage detection system applied to the rail damage detection method according to any one of claims 1 to 3, characterized in that: include: A data acquisition and processing module is used to acquire the original ultrasonic signal of the intact rail and process it to form an ultrasonic signal sample training set; A model training module, used for training the adversarial autoencoder model according to the ultrasonic signal sample training set to obtain a rail damage detection model based on multi-dimensional Gaussian probability distribution; The detection module is used to input the ultrasonic signal of the rail to be tested into the rail damage detection model based on multi-dimensional Gaussian probability distribution, and output the detection result of the rail to be tested.
5. A terminal, characterized in that: The terminal includes a memory, a processor, and a program stored in the memory and executable on the processor. When the program is executed by the processor, the steps of the rail damage detection method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium, characterized in that: A computer program is stored thereon, wherein the computer-readable storage medium stores a rail damage detection program, and when the rail damage detection program is executed by the processor, the steps of the rail damage detection method as described in any one of claims 1-3 are implemented.
Citation Information
Patent Citations
Novel structural damage positioning method based on acoustic emission
CN113219070A
Steel rail flaw detection multistage classification method and system
CN113640380A
