CN117056675A - Magnetic flux leakage signal noise reduction method based on combination of wavelet transformation and particle filtering - Google Patents
Magnetic flux leakage signal noise reduction method based on combination of wavelet transformation and particle filtering Download PDFInfo
- Publication number
- CN117056675A CN117056675A CN202311035634.6A CN202311035634A CN117056675A CN 117056675 A CN117056675 A CN 117056675A CN 202311035634 A CN202311035634 A CN 202311035634A CN 117056675 A CN117056675 A CN 117056675A
- Authority
- CN
- China
- Prior art keywords
- wavelet
- noise reduction
- particles
- particle
- magnetic leakage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 239000002245 particle Substances 0.000 title claims abstract description 83
- 230000009467 reduction Effects 0.000 title claims abstract description 47
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000001914 filtration Methods 0.000 title claims abstract description 33
- 230000009466 transformation Effects 0.000 title claims abstract description 16
- 230000004907 flux Effects 0.000 title claims description 11
- 238000000354 decomposition reaction Methods 0.000 claims abstract description 17
- 238000012952 Resampling Methods 0.000 claims abstract description 10
- 230000008569 process Effects 0.000 claims abstract description 5
- 238000005070 sampling Methods 0.000 claims abstract description 5
- 230000015556 catabolic process Effects 0.000 claims abstract description 3
- 238000006731 degradation reaction Methods 0.000 claims abstract description 3
- 238000012545 processing Methods 0.000 claims description 7
- 238000010606 normalization Methods 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000007547 defect Effects 0.000 claims description 4
- 238000013139 quantization Methods 0.000 claims description 3
- 238000012546 transfer Methods 0.000 claims description 3
- 238000013178 mathematical model Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000009659 non-destructive testing Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/10—Pre-processing; Data cleansing
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N27/00—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
- G01N27/72—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables
- G01N27/82—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables for investigating the presence of flaws
- G01N27/83—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables for investigating the presence of flaws by investigating stray magnetic fields
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/02—Preprocessing
- G06F2218/04—Denoising
- G06F2218/06—Denoising by applying a scale-space analysis, e.g. using wavelet analysis
Abstract
The invention discloses a magnetic leakage signal noise reduction method based on combination of wavelet transformation and particle filtering, which comprises the following steps: and selecting proper wavelet bases and decomposition layers for wavelet decomposition of the initialized and selecting proper threshold values and threshold value wavelet denoising methods of threshold value functions for denoising, reconstructing the wavelet coefficients to form new particles, adding wavelet denoising in the process, keeping the low entropy characteristic of the signals, enabling the prior probability to be more concentrated, and improving the accuracy of the subsequent particle filtering algorithm. After new particles are generated, the importance weight of the particles is corrected and normalized, then resampling operation of resampling is performed, the particles with large weight are duplicated, the particles with small weight are removed, and the phenomenon of particle degradation is reduced. The subsequent sampling process after reconstruction is also accompanied by the participation of wavelet noise reduction, so that new particles are formed. The invention realizes more reliable noise reduction treatment on the magnetic leakage signal under the strong vibration background.
Description
Technical Field
The invention relates to a magnetic leakage signal noise reduction method based on combination of wavelet transformation and particle filtering, and belongs to the technical field of magnetic leakage signal noise reduction.
Background
In recent years, with the increasing demand of nondestructive testing technology, the leakage magnetic detection technology is also becoming an important technical means in the field of modern signal nondestructive testing. Particularly, the magnetic leakage signal is collected in a strong vibration background, and the collected signal is mostly accompanied by a large amount of noise signals. Noise reduction is particularly important for these noises.
In terms of magnetic flux leakage signal noise reduction, certain research is carried out in China, common noise reduction methods comprise wavelet transformation noise reduction, adaptive filtering noise reduction and spectral subtraction noise reduction, and particularly, the noise reduction method is basically a main method for noise reduction of the magnetic flux leakage signal along with the occurrence of wavelet transformation noise reduction, but for the magnetic flux leakage signal under a strong noise background, the noise reduction effect of single wavelet transformation is not ideal, the nonlinearity of the signal is considered, particle filtering is good for the noise reduction of the nonlinear signal, and the wavelet transformation noise reduction method and the particle filtering noise reduction method are combined to form a novel noise reduction mode.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide a magnetic leakage signal noise reduction method based on the combination of wavelet transformation and particle filtering.
The wavelet transformation is used as a noise reduction method, can carry out wavelet multi-scale decomposition on noise signals and target signals in the noise signals, realizes signal separation according to the difference of two signal decomposition scales, has the characteristic of low entropy, and can better describe the non-stationarity of the signals. Particle filtering, as a novel way of handling nonlinear, non-gaussian systems, has its feasibility in nonlinear systems. The method combines the two, performs wavelet transformation on the collected particles, and can concentrate the particle filtering prior probability function, so that the variance of the importance weight is smaller, and the accuracy of the particle filtering algorithm is improved.
The technical scheme provided by the invention for solving the technical problems is as follows: a magnetic flux leakage signal noise reduction method based on the combination of wavelet transformation and particle filtering comprises the following steps:
step 1, taking the defect depth as input, taking axial magnetic flux as output, modeling a magnetic leakage signal through a least square method, and obtaining a state equation and an observation equation;
step 2, obtaining N particles through initializing sampling;
step 3, generating new particles according to the state transfer function;
step 4, performing wavelet decomposition on the new particle signals by using a Mallat algorithm to obtain wavelet coefficients of high and low frequency bands of each layer;
step 5, carrying out threshold quantization processing on wavelet coefficients of a high frequency band and a low frequency band after wavelet decomposition, and then reconstructing a state signal of wavelet decomposition, wherein the reconstructed particles are used as new particles;
step 6, calculating the importance weight of the new particle according to the state equation and the observation equation;
step 7, carrying out normalization processing on the importance weight of the new particle;
step 8, resampling the obtained particles by using a resampling method, and repeating the steps 4-7 on the resampled particles;
and 9, obtaining an estimation result of the posterior state at the moment k.
The further technical scheme is that in the step 1, a state equation of the magnetic leakage signal is obtained in the process of applying algorithm modeling to the magnetic leakage signal, and the established mathematical model is converted into an observation equation of the magnetic leakage signal.
According to a further technical scheme, in the step 4, a wavelet basis function of db3 is selected for the new particle signal, and the number of decomposition layers is 3.
The further technical scheme is that the calculation formula of the step 6 is as follows:
wherein:is an importance weight.
The further technical scheme is that the calculation formula of the step 7 is as follows:
wherein:and the importance weight is normalized.
The further technical scheme is that in the step 8, the system resampling is adopted, the particles with large weight are duplicated, the particles with small weight are removed, and the particle degradation phenomenon is reduced.
The further technical scheme is that the weight assignment principle in the step 8 is as follows:
wherein:is a weight.
The invention has the following beneficial effects: the invention is based on particle filtering commonly used for optimal estimation of nonlinear and non-Gaussian dynamic systems, and combines wavelet noise reduction to carry out noise reduction treatment on each newly generated particle set, so that the noise reduction result is more approximate to a real state value.
Drawings
FIG. 1 is a wavelet noise reduction schematic diagram;
FIG. 2 is a block diagram of a wavelet transform-particle filter algorithm implementation;
FIG. 3 is a decomposition and reconstruction of signals by the Mallat algorithm;
FIG. 4 is a diagram of raw data;
FIG. 5 is a data diagram after noise addition;
FIG. 6 is a wavelet threshold denoising data diagram;
FIG. 7 is a graph of particle filter denoising data;
FIG. 8 is a wavelet-particle filter denoising data plot;
fig. 9 is a graph showing the comparison of the magnetic flux leakage signal data before and after noise reduction.
Detailed Description
The following description of the embodiments of the present invention will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 2, the magnetic leakage signal noise reduction method based on the combination of wavelet transformation and particle filtering of the invention comprises the following steps of.
Step 1, taking the defect depth as input, taking axial magnetic flux as output, modeling a magnetic leakage signal through a least square method, and obtaining a state equation and an observation equation;
step 2 for initial distribution P (X 0 ) Sampling to obtain N particles;
step 3, generating new particles according to the state transfer function;
step 4, selecting a db3 wavelet basis function for the generated particle signals, wherein the number of decomposition layers is 3, and performing wavelet decomposition by using a Mallat algorithm to obtain wavelet coefficients of high and low frequency bands of each layer;
step 5, carrying out threshold quantization processing on wavelet coefficients of a high frequency band and a low frequency band after wavelet decomposition, and then reconstructing a state signal of wavelet decomposition, wherein the reconstructed particles are used as new particles;
step 6, calculating the importance weight of the new particle according to the state equation and the observation equation;
step 7, carrying out normalization processing on the importance weight of the new particle;
step 8, resampling the obtained particles by using a system resampling method (namely, sampling the particles with small weight, adding new particles to keep the original number of N particles unchanged, dividing the interval [0,1] into subintervals with the same number of particles on the basis of normalization of importance weight, wherein the length of each subinterval is in direct proportion to the normalization weight of the corresponding particle;
the weight assignment principle is as follows:
step 9, obtaining an estimation result of the posterior state at the moment k;
examples
The original signal and the noise-added signal of the magnetic leakage signal are compared with the amplitudes of three noise reduction modes including wavelet threshold, particle filtering and wavelet-particle filtering, and the noise-reduced images of the single particle filtering and the wavelet-particle filtering without adding wavelet transformation of the Shan Xiaobo threshold are compared, and the signal to noise ratios before and after noise reduction of the three methods are calculated and used as the most important indexes of noise reduction performance analysis of the noise-reduced images.
Signal-to-noise ratio:
the SIGNAL-to-NOISE RATIO (SNR) is an important indicator of SIGNAL quality in an electronic device or system, and particularly has an important reference value in the process of comparing filtering algorithms. The size is expressed as:
S SNr =10logP s /P n
wherein P is s For signal energy, P n Is the noise energy.
By comparing fig. 5 and fig. 8, the interference of the wavelet-particle filtering to the original signal can be obviously reduced, the signal value close to the original signal can be obtained, and meanwhile, by fig. 8, the image obtained by the wavelet-particle filtering is clear compared with the other two noise reduction methods, and the obtained waveform is clearer.
Table 1 comparison of data of different methods for processing analog leakage magnetic signals
Method | SNR/dB |
Unprocessed data | 13.3625 |
Wavelet threshold noise reduction | 22.1299 |
Particle filtering | 19.1897 |
Wavelet-particle filtering | 24.8770 |
As can be seen from table 1, the signal-to-noise ratio of the wavelet-particle noise reduction is 24.877dB, which is the largest of the three noise reduction methods, and the wavelet-particle filtering not only effectively filters out noise and improves the signal-to-noise ratio, but also more effectively saves the real signal, avoids the loss of the real signal, and the result obtained after the noise reduction is closer to the real signal.
The result shows that the noise reduction treatment of the magnetic leakage signal by adopting the wavelet-particle filtering method is an effective method, and has an important function in the noise reduction research of the magnetic leakage signal under the strong vibration background.
The present invention is not limited to the above-mentioned embodiments, but is not limited to the above-mentioned embodiments, and any person skilled in the art can make some changes or modifications to the equivalent embodiments without departing from the scope of the technical solution of the present invention, but any simple modification, equivalent changes and modifications to the above-mentioned embodiments according to the technical substance of the present invention are still within the scope of the technical solution of the present invention.
Claims (7)
1. The magnetic flux leakage signal noise reduction method based on the combination of wavelet transformation and particle filtering is characterized by comprising the following steps:
step 1, taking the defect depth as input, taking axial magnetic flux as output, modeling a magnetic leakage signal through a least square method, and obtaining a state equation and an observation equation;
step 2, obtaining N particles through initializing sampling;
step 3, generating new particles according to the state transfer function;
step 4, performing wavelet decomposition on the new particle signals by using a Mallat algorithm to obtain wavelet coefficients of high and low frequency bands of each layer;
step 5, carrying out threshold quantization processing on wavelet coefficients of a high frequency band and a low frequency band after wavelet decomposition, and then reconstructing a state signal of wavelet decomposition, wherein the reconstructed particles are used as new particles;
step 6, calculating the importance weight of the new particle according to the state equation and the observation equation;
step 7, carrying out normalization processing on the importance weight of the new particle;
step 8, resampling the obtained particles by using a system resampling method, and repeating the steps 4-7 on the resampled particles;
and 9, obtaining an estimation result of the posterior state at the moment k.
2. The method for noise reduction of magnetic leakage signals based on combination of wavelet transform and particle filtering according to claim 1, wherein in the step 1, a state equation of the magnetic leakage signals is obtained in a process of modeling the magnetic leakage signals by using an algorithm, and the established mathematical model is converted into an observation equation of the magnetic leakage signals.
3. The method for noise reduction of magnetic leakage signals based on combination of wavelet transform and particle filtering according to claim 1, wherein in the step 4, a wavelet basis function of db3 is selected for the new particle signals, and the number of decomposition layers is 3.
4. The method for noise reduction of magnetic leakage signals based on combination of wavelet transform and particle filtering according to claim 1, wherein the calculation formula in the step 6 is as follows:
wherein:is an importance weight.
5. The method for noise reduction of magnetic leakage signals based on combination of wavelet transform and particle filtering according to claim 4, wherein the calculation formula in the step 7 is as follows:
wherein:and the importance weight is normalized.
6. The method for noise reduction of magnetic leakage signals based on combination of wavelet transformation and particle filtering according to claim 1, wherein the step 8 is characterized in that the method adopts system resampling, copies particles with large weight, rejects particles with small weight, and reduces the phenomenon of particle degradation.
7. The method for noise reduction of magnetic leakage signals based on combination of wavelet transform and particle filtering according to claim 6, wherein the weight assignment in the step 8 is based on the following principle:
wherein:is a weight.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311035634.6A CN117056675A (en) | 2023-08-16 | 2023-08-16 | Magnetic flux leakage signal noise reduction method based on combination of wavelet transformation and particle filtering |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311035634.6A CN117056675A (en) | 2023-08-16 | 2023-08-16 | Magnetic flux leakage signal noise reduction method based on combination of wavelet transformation and particle filtering |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117056675A true CN117056675A (en) | 2023-11-14 |
Family
ID=88665850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311035634.6A Pending CN117056675A (en) | 2023-08-16 | 2023-08-16 | Magnetic flux leakage signal noise reduction method based on combination of wavelet transformation and particle filtering |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117056675A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117433952A (en) * | 2023-12-21 | 2024-01-23 | 西南石油大学 | Method for rapidly measuring density of barite powder |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104299033A (en) * | 2014-09-24 | 2015-01-21 | 上海电力学院 | Magnetic flux leakage defect reconstruction method based on cuckoo searching and particle filter hybrid algorithm |
CN104677632A (en) * | 2015-01-21 | 2015-06-03 | 大连理工大学 | Rolling bearing fault diagnosis method using particle filtering and spectral kurtosis |
CN104715146A (en) * | 2015-03-04 | 2015-06-17 | 西安邮电大学 | Submarine sound signal particle filter noise reduction method |
CN108444471A (en) * | 2018-05-03 | 2018-08-24 | 天津大学 | A kind of accelerometer signal denoising method based on particle filter and wavelet transformation |
CN109359506A (en) * | 2018-08-24 | 2019-02-19 | 浙江工业大学 | A kind of mcg-signals noise-reduction method based on wavelet transformation |
CN110111275A (en) * | 2019-04-29 | 2019-08-09 | 武汉工程大学 | A kind of method of signal de-noising, system and computer storage medium |
CN116055026A (en) * | 2023-01-04 | 2023-05-02 | 北京邮电大学 | ARMA model-based particle filter side channel attack noise reduction preprocessing method |
-
2023
- 2023-08-16 CN CN202311035634.6A patent/CN117056675A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104299033A (en) * | 2014-09-24 | 2015-01-21 | 上海电力学院 | Magnetic flux leakage defect reconstruction method based on cuckoo searching and particle filter hybrid algorithm |
CN104677632A (en) * | 2015-01-21 | 2015-06-03 | 大连理工大学 | Rolling bearing fault diagnosis method using particle filtering and spectral kurtosis |
CN104715146A (en) * | 2015-03-04 | 2015-06-17 | 西安邮电大学 | Submarine sound signal particle filter noise reduction method |
CN108444471A (en) * | 2018-05-03 | 2018-08-24 | 天津大学 | A kind of accelerometer signal denoising method based on particle filter and wavelet transformation |
CN109359506A (en) * | 2018-08-24 | 2019-02-19 | 浙江工业大学 | A kind of mcg-signals noise-reduction method based on wavelet transformation |
CN110111275A (en) * | 2019-04-29 | 2019-08-09 | 武汉工程大学 | A kind of method of signal de-noising, system and computer storage medium |
CN116055026A (en) * | 2023-01-04 | 2023-05-02 | 北京邮电大学 | ARMA model-based particle filter side channel attack noise reduction preprocessing method |
Non-Patent Citations (2)
Title |
---|
李学贵 等: "基于粒子滤波的微地震信号去噪方法", 《吉林大学学报 (信息科学版)》, vol. 40, no. 5, pages 701 - 709 * |
王兆军 等: "一种结合小波变换的UPF改进算法", 《现代雷达》, vol. 27, no. 11, pages 3 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117433952A (en) * | 2023-12-21 | 2024-01-23 | 西南石油大学 | Method for rapidly measuring density of barite powder |
CN117433952B (en) * | 2023-12-21 | 2024-02-27 | 西南石油大学 | Method for rapidly measuring density of barite powder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110659621A (en) | Combined noise reduction method based on variational modal decomposition and permutation entropy | |
CN108985179B (en) | Electric energy quality signal denoising method based on improved wavelet threshold function | |
CN103961092B (en) | EEG Noise Cancellation based on adaptive thresholding | |
CN111007566B (en) | Curvature-driven diffusion full-convolution network seismic data bad channel reconstruction and denoising method | |
CN117056675A (en) | Magnetic flux leakage signal noise reduction method based on combination of wavelet transformation and particle filtering | |
CN101739671A (en) | Method and system for reducing noise of noisy images | |
CN109003232B (en) | Medical MRI image denoising method based on frequency domain scale smoothing Shearlet | |
CN109001703A (en) | A kind of sea clutter denoising method based on the processing of wavelet packet multi-threshold | |
CN112084845B (en) | Low-frequency 1/f noise elimination method based on multi-scale wavelet coefficient autocorrelation | |
Qian | Image denoising algorithm based on improved wavelet threshold function and median filter | |
CN111543984B (en) | Method for removing ocular artifacts of electroencephalogram signals based on SSDA | |
CN111242854A (en) | Image denoising method | |
CN115618204A (en) | Electric energy data denoising method based on optimal wavelet basis and improved wavelet threshold function | |
CN114581674A (en) | Wavelet denoising method based on improved threshold function | |
CN109409281A (en) | A kind of noise-reduction method based on improved wavelet threshold function | |
CN113723171A (en) | Electroencephalogram signal denoising method based on residual error generation countermeasure network | |
CN110101383B (en) | Wavelet energy-based electrocardiosignal denoising algorithm | |
CN109724693B (en) | Fusion spectrum denoising method based on stationary wavelet | |
CN116698398A (en) | Gear fault feature extraction method based on CEEMDAN sub-threshold noise reduction and energy entropy | |
CN110032968A (en) | Denoising method based on dual-tree complex wavelet and adaptive semi-soft threshold model | |
Li et al. | Remote sensing image enhancement based on adaptive thresholding in NSCT domain | |
CN112750090A (en) | Underwater image denoising method and system for improving wavelet threshold | |
Tayade et al. | Medical image denoising and enhancement using DTCWT and Wiener filter | |
Lu et al. | Improvement of Threshold Function Based on Wavelet Transform for Denoising ECG Signals | |
CN112394258B (en) | System and method for detecting comprehensive state of distribution cable on SoC (system on chip) based on Nios II |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |