CN115826068A - MRS signal envelope extraction method based on self-adaptive Gaussian filtering - Google Patents
MRS signal envelope extraction method based on self-adaptive Gaussian filtering Download PDFInfo
- Publication number
- CN115826068A CN115826068A CN202211442934.1A CN202211442934A CN115826068A CN 115826068 A CN115826068 A CN 115826068A CN 202211442934 A CN202211442934 A CN 202211442934A CN 115826068 A CN115826068 A CN 115826068A
- Authority
- CN
- China
- Prior art keywords
- signal
- mrs
- envelope
- formula
- gaussian
- 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
- 238000001914 filtration Methods 0.000 title claims abstract description 38
- 238000000605 extraction Methods 0.000 title claims abstract description 23
- 230000003044 adaptive effect Effects 0.000 claims abstract description 34
- 238000000034 method Methods 0.000 claims description 34
- 238000000354 decomposition reaction Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000001228 spectrum Methods 0.000 claims description 5
- 238000010183 spectrum analysis Methods 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000012216 screening Methods 0.000 claims 2
- 238000005481 NMR spectroscopy Methods 0.000 abstract description 6
- 238000001514 detection method Methods 0.000 abstract description 4
- 238000007873 sieving Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 239000003673 groundwater Substances 0.000 description 3
- 125000004435 hydrogen atom Chemical group [H]* 0.000 description 3
- 238000007500 overflow downdraw method Methods 0.000 description 3
- 125000004429 atom Chemical group 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 239000002245 particle Substances 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- UFHFLCQGNIYNRP-UHFFFAOYSA-N Hydrogen Chemical compound [H][H] UFHFLCQGNIYNRP-UHFFFAOYSA-N 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 229910052739 hydrogen Inorganic materials 0.000 description 1
- 239000001257 hydrogen Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003534 oscillatory effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000004016 soil organic matter Substances 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/30—Assessment of water resources
Landscapes
- Magnetic Resonance Imaging Apparatus (AREA)
Abstract
本发明涉及一种磁共振测深(Magnetic Resonance Sounding,MRS)信号噪声滤除领域,具体是一种基于自适应高斯滤波的MRS信号包络提取方法,包括:获得磁共振全波MRS信号的复包络信号;采用高斯滤波器获取复包络信号的瞬时均值信号;从瞬时均值信号中筛选出IMF分量;根据IMF分量获得余量,对余量取模得到信号包络。针对核磁共振探测信号中存在着工频谐波干扰、随机噪声,影响有效信号提取的问题,显著地提高了参数提取的精度。
The present invention relates to a magnetic resonance sounding (Magnetic Resonance Sounding, MRS) signal noise filtering field, in particular to an MRS signal envelope extraction method based on adaptive Gaussian filtering, comprising: obtaining the complex of the magnetic resonance full-wave MRS signal Envelope signal; Gaussian filter is used to obtain the instantaneous mean signal of the complex envelope signal; the IMF component is screened out from the instantaneous mean signal; the margin is obtained according to the IMF component, and the signal envelope is obtained by moduloing the margin. Aiming at the problem that there are power frequency harmonic interference and random noise in the nuclear magnetic resonance detection signal, which affect the effective signal extraction, the accuracy of parameter extraction is significantly improved.
Description
技术领域technical field
本发明涉及一种磁共振测深(Magnetic Resonance Sounding,MRS)信号噪声滤除领域,具体是一种基于自适应高斯滤波的MRS信号包络提取方法。The invention relates to the field of magnetic resonance sounding (Magnetic Resonance Sounding, MRS) signal noise filtering, in particular to an MRS signal envelope extraction method based on adaptive Gaussian filtering.
背景技术Background technique
核磁共振测深(Magnetic Resonance Sounding,MRS),是近年来在国际上备受瞩目的一种地球物理定量确定地下水存储状态的方法。通过人工产生的磁场激发地下水中的氢质子,使受激发的氢质子由稳态跃迁至活跃态,氢原子核形成宏观磁矩。当激发场停止后氢原子核自旋产生弛豫现象,通过地面铺设的线圈采集宏观磁矩进动产生的MRS信号,进而判断地下水的赋存状态。全波核磁共振信号的一般表达式为:式中包含表征MRS信号的四个重要参数:E0,T2 *,fL,分别表示与地下含水量有关的初始振幅、与含水层孔隙度相关的弛豫时间,与地理位置相关的拉莫尔频率,与含水层导电性有关的初始相位。NMR sounding (Magnetic Resonance Sounding, MRS) is a method of geophysical quantitative determination of groundwater storage status that has attracted international attention in recent years. The artificially generated magnetic field excites the hydrogen protons in the groundwater, so that the excited hydrogen protons transition from a steady state to an active state, and the hydrogen nuclei form a macroscopic magnetic moment. When the excitation field stops, the nuclear spin of the hydrogen atom undergoes a relaxation phenomenon, and the MRS signal generated by the macroscopic magnetic moment precession is collected through the coil laid on the ground, and then the occurrence state of the groundwater is judged. The general expression for a full-wave NMR signal is: The formula contains four important parameters to characterize the MRS signal: E 0 , T 2 * , f L , denote the initial amplitude related to the subsurface water content, the relaxation time related to the porosity of the aquifer, the Larmor frequency related to the geographical location, and the initial phase related to the conductivity of the aquifer, respectively.
虽然目前的MRS技术较为成熟,但是MRS信号一般为纳伏级,采集过程会受到复杂的环境噪声的影响,包括电力探测装置产生的工频谐波噪声、自然界的随机噪声和尖峰噪声等,导致MRS信号质量恶化,甚至于被噪声完全淹没。Although the current MRS technology is relatively mature, MRS signals are generally at the nanovolt level, and the acquisition process will be affected by complex environmental noise, including power frequency harmonic noise generated by power detection devices, random noise and spike noise in nature, etc., resulting in The MRS signal quality deteriorates and is even completely drowned by noise.
因此,针对如何滤除MRS信号中的噪声来实现信号的有效提取问题,国内外的专家和学者开展了大量的研究工作。对于工频谐波与随机噪声的滤除:林婷婷等人在论文《基于改进短时傅里叶变换的磁共振随机噪声消减方法》(《物理学报》,2021年第16期)提出了一种改进的短时傅里叶变换方法,采用解析信号代替常规短时傅里叶变换中的实值信号,得到MRS信号的高精度时频分布,然后提取时频域峰值幅度和峰值相位重构信号来消除随机噪声。田宝凤等人在论文《基于参考线圈和变步长自适应的磁共振信号噪声压制方法》(《地球物理学报》,2012年第55卷7期:2462-2472页.)提出了基于变步长LMS(Least MeanSquare,LMS)算法的自适应噪声对消算法进行MRS信号中工频谐波和部分随机噪声的滤除,但参考线圈与探测线圈噪声相关性差时,消噪效果受到影响。Ghanati等人在论文《Jointapplication of a statistical optimization process empirical modedecomposition to MRS noise cancelation》(《Journal of Applied Geophysics》,2014年第111卷5期:110-120页.)提出了基于EMD方法进行有效MRS信号衰减趋势的提取,但只适合处理信噪比较高的数据。丹麦奥胡斯大学的Lichao Liu等人在论文《Complex enveloperetrieval for surface nuclear magnetic resonance data using spectralanalysis》(《Geophysical Journal International》,2019年第217卷2期:894-905页.)提出了一种使用光谱分析和滑动窗口来提取复包络的方法。Therefore, experts and scholars at home and abroad have carried out a lot of research work on how to filter out the noise in the MRS signal to realize the effective extraction of the signal. For the filtering of power frequency harmonics and random noise: Lin Tingting et al. proposed a method in the paper "MRI Random Noise Reduction Method Based on Improved Short-Time Fourier Transform" ("Acta Physica", No. 16, 2021) The improved short-time Fourier transform method uses the analytical signal instead of the real-valued signal in the conventional short-time Fourier transform to obtain the high-precision time-frequency distribution of the MRS signal, and then extracts the peak amplitude and peak phase of the time-frequency domain to reconstruct the signal to eliminate random noise. Tian Baofeng and others proposed a method based on variable step size in the paper "MRI Signal Noise Suppression Method Based on Reference Coil and Variable Step Size Adaptation" ("Journal of Geophysics", Vol. 55, No. 7, 2012: 2462-2472.) The adaptive noise cancellation algorithm of the LMS (Least MeanSquare, LMS) algorithm filters out the power frequency harmonics and some random noise in the MRS signal, but when the noise correlation between the reference coil and the detection coil is poor, the noise cancellation effect is affected. In the paper "Jointapplication of a statistical optimization process empirical modedecomposition to MRS noise cancellation" ("Journal of Applied Geophysics", 2014, Vol. 111, No. 5: 110-120.), Ghanati et al. proposed an effective MRS signal based on the EMD method. Attenuation trend extraction, but only suitable for processing data with high signal-to-noise ratio. Lichao Liu et al. from Aarhus University in Denmark proposed a method using Spectral Analysis and Sliding Window Methods to Extract Complex Envelopes.
专利CN114280679A公开了“一种地面核磁共振信号参数提取方法及系统”,通过状态向量构建状态空间方程,并求解得出信号参数;CN107957566A公开了“基于频率选择奇异谱分析的磁共振测深信号提取方法”,通过信号与噪声的奇异谱特征的不同,进行MRS信号的提取;CN109885906A公开了“一种基于粒子群优化的磁共振测深信号稀疏消噪方法”,依据MRS信号和工频谐波噪声的特征,构建振荡原子库,利用粒子群算法进行MRS信号原子的挑选,实现工频谐波和随机白噪声的去除。Patent CN114280679A discloses "a method and system for extracting ground nuclear magnetic resonance signal parameters", which constructs state space equations through state vectors and solves them to obtain signal parameters; CN107957566A discloses "magnetic resonance sounding signal extraction based on frequency-selective singular spectrum analysis Method", which extracts MRS signals through the difference in the singular spectrum characteristics of signals and noises; CN109885906A discloses "a sparse denoising method for magnetic resonance sounding signals based on particle swarm optimization", based on MRS signals and power frequency harmonics The characteristics of the noise, construct the oscillatory atom library, use the particle swarm algorithm to select the MRS signal atoms, and realize the removal of power frequency harmonics and random white noise.
可以看出,上述MRS信号提取方法均在一定的条件下取得了较好的去噪效果,但每种算法也有其各自的局限性。高斯滤波是作为一种线性平滑滤波方法,通过加权平均的方式对信号进行处理,适用于消除高斯噪声,广泛应用于图像处理的减噪过程。王密等人在论文《自适应高斯滤波与SFIM模型相结合的全色多光谱影像融合方法》(《测绘学报》,2018年第1期:82-90页.)提出一种自适应高斯滤波与SFIM模型相结合的全色多光谱影像融合方法,提高了模拟全色影像的清晰度。王跃跃等人在论文《结合二维EMD与自适应高斯滤波的遥感卫星影像去噪》中提出了二维EMD与自适应高斯滤波相结合的遥感影像改进去噪算法。专利CN107958450B公开了“基于自适应高斯滤波的全色多光谱影像融合方法及系统”,属于遥感图像处理数据融合技术领域;专利CN109740468B公开了“一种用于黑土有机质信息提取的自适应高斯低通滤波方法”,属于信息提取技术领域;专利CN114359076A公开了“一种基于图像边缘指示函数的自适应加权高斯曲率滤波方法”,属于数字图像处理技术领域。可见,高斯滤波被广泛应用于图像处理等相关领域,但尚未见采用自适应高斯滤波算法用于MRS信号处理中。It can be seen that the above MRS signal extraction methods all achieve better denoising effects under certain conditions, but each algorithm also has its own limitations. Gaussian filtering is a linear smoothing filtering method that processes signals by means of weighted average. It is suitable for eliminating Gaussian noise and is widely used in the noise reduction process of image processing. Wang Mi and others proposed an adaptive Gaussian filter in the paper "A Panchromatic Multispectral Image Fusion Method Combining Adaptive Gaussian Filtering and SFIM Model" ("Journal of Surveying and Mapping", No. 1, 2018: 82-90.) The panchromatic multispectral image fusion method combined with the SFIM model improves the clarity of the simulated panchromatic image. Wang Yueyue and others proposed an improved remote sensing image denoising algorithm combining two-dimensional EMD and adaptive Gaussian filtering in the paper "Remote Sensing Satellite Image Denoising Combining Two-dimensional EMD and Adaptive Gaussian Filtering". Patent CN107958450B discloses "panchromatic multispectral image fusion method and system based on adaptive Gaussian filter", which belongs to the field of remote sensing image processing data fusion technology; patent CN109740468B discloses "an adaptive Gaussian low-pass filter for black soil organic matter information extraction Filtering method", which belongs to the technical field of information extraction; patent CN114359076A discloses "an adaptive weighted Gaussian curvature filtering method based on an image edge indicator function", which belongs to the technical field of digital image processing. It can be seen that the Gaussian filter is widely used in image processing and other related fields, but the adaptive Gaussian filter algorithm has not been used in MRS signal processing.
发明内容Contents of the invention
针对核磁共振探测信号中存在着工频谐波干扰、随机噪声,影响有效信号提取的问题,本发明提出了一种自适应高斯滤波算法,创新性地利用高斯函数的自适应求解作为滤波系数,用该滤波算法对复包络信号进行处理,提取出若干个IMF分量,并获得余量,对余量取模即可获得去除噪声的MRS信号衰减曲线。算法提取的包络信息通过反演可以提供较为准确的水文地质信息,与传统EMD算法相比,显著地提高了参数提取的精度。Aiming at the problem that there are power frequency harmonic interference and random noise in the NMR detection signal, which affect the effective signal extraction, the present invention proposes an adaptive Gaussian filtering algorithm, which innovatively uses the adaptive solution of the Gaussian function as the filtering coefficient, The complex envelope signal is processed by this filter algorithm, several IMF components are extracted, and the margin is obtained, and the MRS signal attenuation curve with noise removed can be obtained by taking the modulus of the margin. The envelope information extracted by the algorithm can provide more accurate hydrogeological information through inversion. Compared with the traditional EMD algorithm, the accuracy of parameter extraction is significantly improved.
经过搜索调查,本方法尚未应用在地面核磁共振技术领域中,所以,此发明是在MRS信号处理领域中的一种全新的应用。After searching and investigating, the method has not been applied in the field of ground nuclear magnetic resonance technology, so this invention is a brand new application in the field of MRS signal processing.
本发明是这样实现的,The present invention is achieved like this,
一种基于自适应高斯滤波的MRS信号包络提取方法,该方法包括:A method for extracting envelopes of MRS signals based on adaptive Gaussian filtering, the method comprising:
获得磁共振全波MRS信号的复包络信号;obtaining a complex envelope signal of a magnetic resonance full-wave MRS signal;
采用高斯滤波器获取复包络信号的瞬时均值信号;The Gaussian filter is used to obtain the instantaneous mean signal of the complex envelope signal;
从瞬时均值信号中筛选出IMF分量;Filter out the IMF component from the instantaneous mean signal;
根据IMF分量获得余量,对余量取模得到信号包络。The margin is obtained according to the IMF component, and the signal envelope is obtained by moduloing the margin.
进一步地,所述获得磁共振全波MRS信号的复包络信号,包括:Further, said obtaining the complex envelope signal of the magnetic resonance full-wave MRS signal includes:
对仪器采集的磁共振全波MRS信号x1(n)进行频谱分析,获得拉莫尔频率fL,依据仪器系统发射频率fT,获得频率偏差,通过希尔伯特变换及频谱搬移实现磁共振全波MRS信号到复包络信号s(n)的转换,信号长度为N。Perform spectrum analysis on the magnetic resonance full-wave MRS signal x 1 (n) collected by the instrument to obtain the Larmor frequency f L , obtain the frequency deviation according to the transmission frequency f T of the instrument system, and realize the magnetic Conversion of resonant full-wave MRS signal to complex envelope signal s(n), with signal length N.
进一步地,所述高斯滤波器通过设置一个长度L=801,M=400,α=4.07的高斯窗函数构建,其中L=2M+1,所述高斯窗函数为公式(1):Further, the Gaussian filter is constructed by setting a Gaussian window function of length L=801, M=400, α=4.07, wherein L=2M+1, and the Gaussian window function is formula (1):
其中,σ=M/α,α是与标准差σ成反比例的参数,k为整数,范围介于[-M,M],用参数L表示高斯滤波器的长度。Among them, σ=M/α, α is a parameter that is inversely proportional to the standard deviation σ, k is an integer, and the range is [-M, M], and the parameter L represents the length of the Gaussian filter.
所述高斯滤波器系数表示为公式(2):The Gaussian filter coefficients are expressed as formula (2):
进一步地,对复包络信号s(n)进行高斯滤波处理,得到一系列瞬时均值信号mi(n),瞬时均值信号mi(n)为公式(3),M1是算法执行过程中的滤波器长度系数,Ne为待处理信号的极值点个数,其中M1与Ne具有公式(4)的关系,Further, Gaussian filtering is performed on the complex envelope signal s(n) to obtain a series of instantaneous mean signal m i (n), the instantaneous mean signal m i (n) is formula (3), and M1 is the Filter length coefficient, N e is the number of extreme points of the signal to be processed, where M1 and N e have the relationship of formula (4),
其中,N代表信号s(n)的长度。Among them, N represents the length of the signal s(n).
进一步地,从瞬时均值信号中筛选出IMF分量,包括:Further, the IMF component is screened out from the instantaneous mean signal, including:
根据公式(5)对瞬时均值信号mi(n)进行IMF分量的确定,其筛分停止条件满足公式(6)中η的数值小于20,则停止分解,否则将ri(n)作为待处理信号s(n),重复对复包络信号s(n)进行高斯滤波处理的过程,直到满足IMF分量条件,According to the formula (5), the instantaneous mean signal m i (n) is determined for the IMF component, and the sieving stop condition satisfies that the value of η in the formula (6) is less than 20, then the decomposition is stopped; otherwise, r i (n) is used as the Process the signal s(n), repeat the process of performing Gaussian filtering on the complex envelope signal s(n), until the IMF component condition is satisfied,
ri(n)=s(n)-mi(n)(5)r i (n)=s(n)-m i (n)(5)
其中,s(·)为待处理信号与对应IMF分量ri(·)的差值。Wherein, s(·) is the difference between the signal to be processed and the corresponding IMF component r i (·).
进一步地,根据IMF分量获得余量,对余量取模得到信号包络,包括:Further, the margin is obtained according to the IMF component, and the signal envelope is obtained by moduloing the margin, including:
用ri(n)表示第i个IMF分量,则待分解信号表示为公式(7),org(n)表示对信号分解之后的余量信息,对其取模即为提取的去噪之后的MRS衰减曲线,Use r i (n) to represent the i-th IMF component, then the signal to be decomposed is expressed as formula (7), org(n) represents the residual information after decomposing the signal, and its modulo is the extracted denoising MRS decay curve,
本发明与现有技术相比,有益效果在于:Compared with the prior art, the present invention has the beneficial effects of:
针对MRS信号中所包含噪声的复杂性以及传统EMD算法容易产生模态混叠问题,本发明选择自适应高斯滤波作为MRS信号包络提取方法,创新性地利用高斯函数的自适应求解作为滤波系数,实现对MRS信号的有效提取。相比其他方法,该方法不仅可以有效解决传统EMD算法容易产生模态混叠问题,而且其采用独特的基于被处理信号的极值点个数来自适应的确定滤波器系数的方式,使得算法在提取磁共振测深信号的包络上获得了优良的性能,其广泛的应用对于提高磁共振测深技术的抗干扰能力和高精度反演有着重大的意义,同时该方法也可以拓展应用到生物医学等其他领域的噪声去除中。Aiming at the complexity of the noise contained in the MRS signal and the problem of modal aliasing easily produced by the traditional EMD algorithm, the present invention chooses adaptive Gaussian filtering as the method for extracting the envelope of the MRS signal, and innovatively uses the adaptive solution of the Gaussian function as the filter coefficient , to achieve effective extraction of MRS signals. Compared with other methods, this method can not only effectively solve the problem of modal aliasing easily produced by the traditional EMD algorithm, but also adopts a unique method of adaptively determining the filter coefficients based on the number of extreme points of the processed signal, which makes the algorithm in Excellent performance has been obtained in extracting the envelope of magnetic resonance sounding signals. Its wide application is of great significance for improving the anti-interference ability and high-precision inversion of magnetic resonance sounding technology. At the same time, this method can also be extended to biological Noise removal in other fields such as medicine.
附图说明Description of drawings
图1为本发明实施例提供的基于自适应高斯滤波法提取MRS信号包络的流程框图;Fig. 1 is the flowchart of extracting MRS signal envelope based on adaptive Gaussian filter method provided by the embodiment of the present invention;
图2为本发明实施例提供的自适应高斯滤波算法的流程框图;Fig. 2 is the block flow diagram of adaptive Gaussian filtering algorithm provided by the embodiment of the present invention;
图3为本发明实施例提供的理想MRS时频图像,(a)时间、(b)为频率;Fig. 3 is the ideal MRS time-frequency image provided by the embodiment of the present invention, (a) time, (b) being frequency;
图4为本发明实施例提供的全波MRS信号时频图像,(a)时间、(b)为频率;Fig. 4 is the time-frequency image of the full-wave MRS signal provided by the embodiment of the present invention, (a) time, (b) frequency;
图5为本发明实施例提供的复包络信号的实部进行自适应高斯滤波后得到的分解结果;Fig. 5 is the decomposition result obtained after the real part of the complex envelope signal provided by the embodiment of the present invention is subjected to adaptive Gaussian filtering;
图6为本发明实施例提供的复包络信号的虚部进行自适应高斯滤波后得到的分解结果;Fig. 6 is the decomposition result obtained after adaptive Gaussian filtering is performed on the imaginary part of the complex envelope signal provided by the embodiment of the present invention;
图7为本发明实施例提供的由提取出余量的合成结果得到的MRS信号包络;Fig. 7 is the MRS signal envelope obtained from the synthesis result of extracting the margin provided by the embodiment of the present invention;
图8为本发明实施例提供的采集信号的时频图像,(a)时间、(b)为频率;Fig. 8 is the time-frequency image of the acquisition signal provided by the embodiment of the present invention, (a) time, (b) frequency;
图9为本发明实施例提供的全波信号转换成复包络的图像;FIG. 9 is an image of a full-wave signal converted into a complex envelope provided by an embodiment of the present invention;
图10为本发明实施例提供的采集信号经自适应高斯滤波后得到的信号包络与理想包络。FIG. 10 is a signal envelope and an ideal envelope obtained after adaptive Gaussian filtering of the collected signal provided by the embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
如图1和图2所示,一种基于自适应高斯滤波的MRS信号包络提取方法,包括以下步骤:As shown in Figure 1 and Figure 2, an MRS signal envelope extraction method based on adaptive Gaussian filtering includes the following steps:
步骤1:对仪器采集的磁共振全波MRS信号x1(n)进行频谱分析,获得拉莫尔频率fL,依据仪器系统发射频率fT,获得频率偏差,通过希尔伯特变换及频谱搬移实现全波MRS信号到复包络信号s(n)的转换,信号长度为N。Step 1: Perform spectrum analysis on the magnetic resonance full-wave MRS signal x 1 (n) collected by the instrument to obtain the Larmor frequency f L , obtain the frequency deviation according to the transmission frequency f T of the instrument system, and obtain the frequency deviation through Hilbert transform and spectrum The transfer realizes the conversion of the full-wave MRS signal to the complex envelope signal s(n), and the signal length is N.
步骤2:设置一个长度L=801,M=400,α=4.07的高斯窗函数,L=2M+1,σ=M/α,如公式(1)。Step 2: Set a Gaussian window function with length L=801, M=400, α=4.07, L=2M+1, σ=M/α, as in formula (1).
其中,σ=M/α,α是与标准差σ成反比例的参数,k为整数,范围介于[-M,M],用参数L表示高斯滤波器的长度;Among them, σ=M/α, α is a parameter that is inversely proportional to the standard deviation σ, k is an integer, the range is [-M, M], and the parameter L is used to represent the length of the Gaussian filter;
步骤3:设计自适应高斯滤波器,滤波器系数表示为公式(2)。Step 3: Design an adaptive Gaussian filter, and the filter coefficients are expressed as formula (2).
步骤4:对复包络信号s(n)进行高斯滤波处理,得到一系列瞬时均值信号mi(n),如公式(3),M1是算法执行过程中的滤波器长度系数,Ne为待处理信号的极值点个数,N代表信号s(n)的长度,如公式(4)。Step 4: Perform Gaussian filtering on the complex envelope signal s(n) to obtain a series of instantaneous mean signal m i (n), as shown in formula (3), M1 is the filter length coefficient during the algorithm execution process, Ne is The number of extreme points of the signal to be processed, N represents the length of the signal s(n), as shown in formula (4).
步骤5:根据公式(5)进行IMF分量的确定,其筛分停止条件满足公式(6)中η的数值小于20,则停止分解,否则将ri(n)作为待处理信号s(n),重复步骤4,知道IMF分量条件。Step 5: Determine the IMF component according to the formula (5), if the sieving stop condition satisfies the value of η in the formula (6) is less than 20, then stop the decomposition, otherwise take r i (n) as the signal to be processed s (n) , repeat step 4 to know the IMF component condition.
ri(n)=s(n)-mi(n) (5)r i (n)=s(n)-m i (n) (5)
其中,s(·)为待处理信号与对应IMF分量ri(·)的差值。Wherein, s(·) is the difference between the signal to be processed and the corresponding IMF component r i (·).
步骤6:用ri(n)表示第i个IMF分量,则待分解信号可以表示为公式(7),org(n)表示对信号分解之后的余量信息,对其取模即为提取的去噪之后的MRS衰减曲线。Step 6: Use r i (n) to represent the i-th IMF component, then the signal to be decomposed can be expressed as formula (7), org(n) represents the residual information after the signal is decomposed, and its modulo is the extracted MRS decay curve after denoising.
实施例1Example 1
本实施例是在MATLAB 2021b编程环境下开展的本发明方法的仿真实验。This embodiment is a simulation experiment of the method of the present invention carried out under the MATLAB 2021b programming environment.
基于自适应高斯滤波的MRS信号包络提取方法,包括以下步骤:An MRS signal envelope extraction method based on adaptive Gaussian filtering, comprising the following steps:
步骤1:以采样率为25000Hz,利用公式构造拉莫尔频率fL=2325Hz,初始振幅为100nV,弛豫时间为0.2s的理想MRS信号,如图3所示;设置发射频率fT=2326Hz,加入幅值为50nV的高斯随机噪声,以及基波频率在49.9至50.1Hz,幅值为50nV的70次工频谐波,得到含噪的全波MRS信号模型,如图4所示;获得频率偏差1Hz,通过希尔伯特变换及频谱搬移获得复包络信号s(n);Step 1: With a sampling rate of 25000Hz, use the formula Construct an ideal MRS signal with a Larmor frequency f L =2325Hz, an initial amplitude of 100nV, and a relaxation time of 0.2s, as shown in Figure 3; set the transmission frequency f T =2326Hz, and add Gaussian random noise with an amplitude of 50nV, As well as the 70th power frequency harmonic with a fundamental frequency of 49.9 to 50.1Hz and an amplitude of 50nV, a noisy full-wave MRS signal model is obtained, as shown in Figure 4; the frequency deviation is 1Hz, and the Hilbert transform and Spectrum shifting to obtain complex envelope signal s(n);
步骤2:设置一个长度L=801,M=400,α=4.07的高斯窗函数,L=2M+1,σ=M/α,如公式(1)。Step 2: Set a Gaussian window function with length L=801, M=400, α=4.07, L=2M+1, σ=M/α, as in formula (1).
步骤3:设计自适应高斯滤波器,滤波器系数表示为公式(2)。Step 3: Design an adaptive Gaussian filter, and the filter coefficients are expressed as formula (2).
步骤4:对MRS复包络信号s(n)的实部和虚部分别进行自适应高斯滤波,得到一系列瞬时均值信号mi(n),如公式(3),M1是算法执行过程中的滤波器长度系数,Ne为待处理信号的极值点个数,如公式(4)。Step 4: Perform adaptive Gaussian filtering on the real and imaginary parts of the MRS complex envelope signal s(n), respectively, to obtain a series of instantaneous mean signals m i (n), as shown in formula (3), M1 is the The filter length coefficient of , Ne is the number of extreme points of the signal to be processed, as shown in formula (4).
步骤5:根据公式(5)进行IMF分量的确定,其筛分停止条件满足公式(6)中η的数值小于20,则停止分解,否则将ri(n)作为待处理信号s(n),重复步骤4,直到IMF分量条件。Step 5: Determine the IMF component according to the formula (5), if the sieving stop condition satisfies the value of η in the formula (6) is less than 20, then stop the decomposition, otherwise take r i (n) as the signal to be processed s (n) , repeat step 4 until the IMF component condition.
ri(n)=s(n)-mi(n)(5)r i (n)=s(n)-m i (n)(5)
步骤6:用ri(n)表示第i个IMF分量,则待分解信号可以表示为公式(7),org(n)表示对信号分解之后的余量信息,此时,信号被分解成7个IMF分量和1个余量,即m=7,实部分解结果如图5所示,虚部分解结果如图6所示,对其取模即为提取的去噪之后的MRS衰减曲线,如图7所示。Step 6: Use r i (n) to represent the i-th IMF component, then the signal to be decomposed can be expressed as formula (7), org(n) represents the residual information after decomposing the signal, at this time, the signal is decomposed into 7 IMF components and 1 margin, i.e. m=7, the real part decomposition result is shown in Figure 5, and the imaginary part decomposition result is shown in Figure 6, and its modulus is the extracted MRS attenuation curve after denoising, As shown in Figure 7.
实施例2Example 2
本实施例是以长春市文化广场实地采集的MRS信号作为本发明方法的处理对象。In this embodiment, the MRS signal collected on the spot in Changchun Cultural Square is used as the processing object of the method of the present invention.
基于自适应高斯滤波的MRS信号包络提取方法,包括以下步骤:An MRS signal envelope extraction method based on adaptive Gaussian filtering, comprising the following steps:
步骤1:对磁共振测深(MRS)探水仪采集到的一组观测MRS信号X(t),测试过程中发射频率为2361Hz,信号源产生的MRS信号的拉莫尔频率为2360Hz,初始振幅为100nV,平均弛豫时间为200ms,采样率为25000Hz,如图8所示为采集信号的时频图像,对其进行带通滤波处理,获得图9所示的频率偏差为1Hz,通过希尔伯特变换及频谱搬移获得复包络信号s(n),对其取模,如图9所示;Step 1: For a group of observed MRS signals X(t) collected by the magnetic resonance sounding (MRS) water detector, the transmission frequency during the test is 2361 Hz, and the Larmor frequency of the MRS signal generated by the signal source is 2360 Hz. The amplitude is 100nV, the average relaxation time is 200ms, and the sampling rate is 25000Hz. As shown in Figure 8, the time-frequency image of the collected signal is processed by band-pass filtering, and the frequency deviation shown in Figure 9 is obtained as 1Hz. The complex envelope signal s(n) is obtained by Halbert transform and spectrum shift, and its modulo is taken, as shown in Figure 9;
步骤2:设置一个长度L=801,M=400,α=4.07的高斯窗函数,L=2M+1,σ=M/α,如公式(1)。Step 2: Set a Gaussian window function with length L=801, M=400, α=4.07, L=2M+1, σ=M/α, as in formula (1).
步骤3:设计自适应高斯滤波器,滤波器系数表示为公式(2)。Step 3: Design an adaptive Gaussian filter, and the filter coefficients are expressed as formula (2).
步骤4:对MRS复包络信号s(n)的实部和虚部分别进行自适应高斯滤波,得到一系列瞬时均值信号mi(n),如公式(3),M1是算法执行过程中的滤波器长度系数,Ne为待处理信号的极值点个数,如公式(4)。Step 4: Perform adaptive Gaussian filtering on the real and imaginary parts of the MRS complex envelope signal s(n), respectively, to obtain a series of instantaneous mean signals m i (n), as shown in formula (3), M1 is the The filter length coefficient of , Ne is the number of extreme points of the signal to be processed, as shown in formula (4).
步骤5:根据公式(5)进行IMF分量的确定,其筛分停止条件满足公式(6)中η的数值小于20,则停止分解,否则将ri(n)作为待处理信号s(n),重复步骤4,知道IMF分量条件。Step 5: Determine the IMF component according to the formula (5), if the sieving stop condition satisfies the value of η in the formula (6) is less than 20, then stop the decomposition, otherwise take r i (n) as the signal to be processed s (n) , repeat step 4 to know the IMF component condition.
ri(n)=s(n)-mi(n)(5)r i (n)=s(n)-m i (n)(5)
步骤6:用ri(n)表示第i个IMF分量,则待分解信号可以表示为公式(7),org(n)表示对信号分解之后的余量信息,对其取模即为提取的去噪之后的MRS衰减曲线,如图10所示。Step 6: Use r i (n) to represent the i-th IMF component, then the signal to be decomposed can be expressed as formula (7), org(n) represents the residual information after the signal is decomposed, and its modulo is the extracted The MRS attenuation curve after denoising is shown in Figure 10.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211442934.1A CN115826068A (en) | 2022-11-17 | 2022-11-17 | MRS signal envelope extraction method based on self-adaptive Gaussian filtering |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211442934.1A CN115826068A (en) | 2022-11-17 | 2022-11-17 | MRS signal envelope extraction method based on self-adaptive Gaussian filtering |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115826068A true CN115826068A (en) | 2023-03-21 |
Family
ID=85528863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211442934.1A Pending CN115826068A (en) | 2022-11-17 | 2022-11-17 | MRS signal envelope extraction method based on self-adaptive Gaussian filtering |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115826068A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117708717A (en) * | 2024-02-05 | 2024-03-15 | 吉林大学 | Magnetic resonance underground water detection signal high-precision extraction method based on random forest |
-
2022
- 2022-11-17 CN CN202211442934.1A patent/CN115826068A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117708717A (en) * | 2024-02-05 | 2024-03-15 | 吉林大学 | Magnetic resonance underground water detection signal high-precision extraction method based on random forest |
CN117708717B (en) * | 2024-02-05 | 2024-04-12 | 吉林大学 | High-precision extraction method of magnetic resonance groundwater detection signal based on random forest |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109828318B (en) | Magnetic resonance sounding signal noise filtering method based on variational modal decomposition | |
CN104459809B (en) | Full-wave nuclear magnetic resonance signal denoising method based on independent component analysis | |
CN106772646B (en) | A kind of ground nuclear magnetic resonance method for extracting signal | |
Ge et al. | Noise reduction of nuclear magnetic resonance (NMR) transversal data using improved wavelet transform and exponentially weighted moving average (EWMA) | |
CN106646637A (en) | Method for removing peak noise in nuclear magnetism signal | |
Gong et al. | Multi-frequency weak signal detection based on wavelet transform and parameter selection of bistable stochastic resonance model | |
Yang et al. | Fast nonlinear Hoyergram for bearings fault diagnosis under random impact interference | |
Liu et al. | Research on a secondary tuning algorithm based on SVD & STFT for FID signal | |
CN113640891A (en) | A Noise Filtering Method for Transient Electromagnetic Detection Data Based on Singular Spectrum Analysis | |
CN109633761B (en) | A method for reducing power frequency noise of magnetic resonance signal based on wavelet transform modulus maximum method | |
Gu et al. | Rolling Bearing Fault Signal Extraction Based on Stochastic Resonance‐Based Denoising and VMD | |
Shi et al. | Signal extraction using complementary ensemble empirical mode in pipeline magnetic flux leakage nondestructive evaluation | |
Jiang et al. | Harmonic noise-elimination method based on the synchroextracting transform for magnetic-resonance sounding data | |
CN115826068A (en) | MRS signal envelope extraction method based on self-adaptive Gaussian filtering | |
CN117056677A (en) | Transient electromagnetic signal denoising method for improving variational modal decomposition based on sparrow algorithm | |
Hou et al. | Weak Signal Detection Based on Lifting Wavelet Threshold Denoising and Multi-Layer Autocorrelation Method. | |
CN114091538B (en) | Intelligent noise reduction method for discrimination loss convolutional neural network based on signal characteristics | |
Mei et al. | Wavelet packet transform and improved complete ensemble empirical mode decomposition with adaptive noise based power quality disturbance detection | |
Huang et al. | Efficient processing power harmonic noise with fluctuation frequency in urban transient electromagnetic surveys | |
CN109613617B (en) | Underground water detection method and system based on magnetic resonance response signal parameter extraction | |
CN111353415B (en) | A method for detecting harmonic components in impulse response | |
CN111239837B (en) | Extraction method of ground magnetic resonance signal parameters based on MCMC | |
CN110703089B (en) | Wavelet threshold denoising method for low-frequency oscillation Prony analysis | |
CN109885906B (en) | Magnetic resonance sounding signal sparse noise elimination method based on particle swarm optimization | |
CN109871784B (en) | Full-wave nuclear magnetic resonance signal noise filtering method for optimizing matching pursuit by genetic algorithm |
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 |