A mask signal frequency selection method based on energy index
Through the mask signal frequency selection method based on energy indicators, the problems of modal aliasing and incomplete signal information in traditional methods are solved, the accuracy of signal decomposition and the integrity of signal information are improved, and better signal timing is achieved. Frequency feature extraction.
Patent Information
- Application Number
- CN202010722298.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-07-24
AI Technical Summary
Traditional mask signal frequency selection methods are prone to modal aliasing problems when processing non-stationary signals, and cannot completely retain the highest-order frequency signal information, resulting in inaccurate signal decomposition.
A method based on energy indicators is used to construct the mask signal. The mask signal is added to the original signal for empirical mode decomposition, and the frequency of the mask signal is determined based on the energy indicator to reduce modal aliasing and ensure the integrity of signal information.
It improves the accuracy of EMD decomposition, reduces modal aliasing, ensures the extraction effect of signal time-frequency features, reduces errors caused by human intervention, and retains the highest-order frequency information of the signal.
Smart Images

Figure CN112115764B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of signal processing, and in particular relates to a mask signal frequency selection method based on energy index. Background Art
[0002] In the signal processing of engineering, a large number of non-stationary signals need to be analyzed. In 1998, Chinese-American scientist Norden E. Huang and others proposed a time-frequency analysis method that can adaptively analyze non-stationary signals: Hilbert-Huang transform (HHT), which consists of empirical mode decomposition (EMD) and Hilbert spectrum. The purpose of EMD decomposition is to decompose complex signals into several signal components according to different frequencies. However, if there are multiple close frequencies in the original signal, the EMD method will not be able to identify these frequencies, resulting in modal aliasing. To address this problem, Deering et al. proposed the masking signal method to suppress the modal aliasing problem in EMD.
[0003] The key to constructing a mask signal is to determine the frequency of the mask signal. The traditional mask signal uses the average instantaneous frequency of the first-order component of the EMD decomposition result as the mask signal frequency. However, the first-order component cannot fully retain the information of the highest-order frequency signal, and some energy will leak into other components. On the other hand, this frequency selection method is not applicable to all signals, and modal aliasing problems will still occur in actual use.
[0004] Aiming at the problem of selecting the frequency of a mask signal, the present invention adopts a selection method based on energy index to determine the frequency of the mask signal, thereby improving the accuracy of EMD decomposition. Summary of the invention
[0005] In order to solve the problems in the prior art, the present invention provides a mask signal frequency selection method based on energy index. The method adds the mask signal to the original signal and then performs empirical mode decomposition. Since the mask signal is a known signal, it is removed from the decomposition result to obtain a new decomposition result, thereby realizing the function of suppressing modal aliasing; the method improves the suppression effect of the mask signal method on modal aliasing, which is conducive to better extraction of signal time-frequency characteristics.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] A method for selecting mask signal frequency based on energy index comprises the following steps:
[0008] Step 1: Perform EMD decomposition on a given signal;
[0009] Step 2: Based on the EMD decomposition results, construct a mask signal.
[0010] Furthermore, the step 1, performing EMD decomposition on a given signal x(t), comprises the following steps:
[0011] 101. Find all local extreme points of the signal x(t), where: t is the time variable;
[0012] 102. Use cubic spline curves to fit the local maximum and local minimum sequences respectively, and get the upper and lower envelopes e u1 、e d1 ;
[0013] 103. Calculate the mean of the upper and lower envelopes
[0014] 104. Subtract the mean m from the original signal 11 (t), the residual signal h1(t) = x(t)-m 11 (t);
[0015] 105. Determine whether h1(t) satisfies a given screening stop criterion. If so, h1(t) is considered to be an intrinsic mode function (IMF). If not, let h1(t) replace x(t), and repeat steps 101 to 104 until a residual signal h1(t) that satisfies the condition is obtained, and h1(t) is recorded as the first IMF component c1(t) of the original signal:
[0016] c1(t)=h1(t);
[0017] 106. Subtract c1(t) from the original signal to obtain the residual signal r1(t)=x(t)-c1(t);
[0018] 107. When r1(t) is a monotonic function, the decomposition process ends; if not, repeat steps 101 to 105 to obtain the remaining IMF components and the residual trend term r(t). The final decomposition result is:
[0019]
[0020] Among them, i represents the order component of the EMD decomposition result, and n represents the total number of IMF components.
[0021] Furthermore, the step 2 comprises the following steps:
[0022] 201. The first-order IMF component u(t) is Hilbert transformed, and ν(t) is the result of the transformation, thus obtaining the instantaneous amplitude sequence and the instantaneous phase sequence
[0023] 202. Find the instantaneous frequency sequence of the signal Where: π is the circumference of a circle, ω(t) is the circular frequency of the signal, is the derivative of φ(t);
[0024] 203. According to the energy mean method, the average instantaneous frequency is obtained The amplitude of the mask signal is Where: p represents the position of the point in the instantaneous amplitude sequence, q represents the length of the instantaneous amplitude sequence, a(p) represents the instantaneous amplitude corresponding to the point, and f(p) represents the instantaneous frequency corresponding to the point;
[0025] 204. The average instantaneous frequency Multiply by the parameter m to get the new frequency f m , where: the range of m is [2,4], the step size is 0.01, and there are 201 possibilities in total;
[0026] 205. Construct the mask signal s(t) = a0 sin(2π·f m ·t), added to the original signal to obtain the reconstructed signal x + (t) = x(t) + s(t) and x - (t) = x(t) - s(t), where: t is the time variable;
[0027] 206. For signal x + (t) and x - (t) Perform EMD decomposition to obtain the first-order components IMF1 of the two signals + and IMF1 - , and average the two components
[0028] 207. Perform low-pass filtering on imf1, with the cut-off frequency being the average instantaneous frequency Obtain the energy of the filtered signal, construct the energy index Power sequence, find the minimum value from the Power sequence, and obtain its corresponding parameter value, and finally determine the frequency of the mask signal;
[0029] 208. After the frequency is determined, repeat steps 205 to 207 to perform parameter identification on imf1 to obtain the highest-order frequency f1;
[0030] 209.Bandpass filter the original signal x(t) with an upper cutoff frequency of The lower cutoff frequency is Separate the signal x1(t) containing the highest-order frequency from the original signal to ensure the integrity of the modal signal information;
[0031] 210. After obtaining the signal x1(t) containing the first-order frequency, remove it from the original signal x(t), and repeat steps 201 to 209 until the final signal is a monotonic function, and finally obtain each order modal frequency f i (i=1,2...n) and the signal x containing the complete information of this mode i (t)(i=1,2...n), where: i represents the nth-order component of the EMD decomposition result, and n represents the total number of IMF components.
[0032] Compared with the prior art, the present invention has the following beneficial effects:
[0033] The present invention selects the most suitable mask frequency parameter for the signal according to different signals by formulating the energy index method. At the same time, the present invention does not need to manually judge the filtering range, which neither destroys the adaptive characteristics of EMD nor reduces the error caused by human intervention. In addition, unlike the traditional mask signal method that directly uses the mask result as the first-order component of EMD, the present invention only extracts the frequency information of the mask result, and determines the bandpass filtering range based on it, separates the signal containing the modal information of this order, and ensures the integrity of the signal information. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 is a flow chart of the method of the present invention;
[0035] Figure 2 is the time domain diagram of the signal to be processed;
[0036] Figure 3 is the frequency domain diagram of the signal to be processed;
[0037] Figure 4 It is the frequency domain diagram of the first-order IMF component obtained by traditional EMD decomposition;
[0038] Figure 5 It is the energy indicator POWER sequence diagram;
[0039] Figure 6 It is the frequency domain diagram of the first mask result;
[0040] Figure 7 It is the frequency domain diagram of the second mask result;
[0041] Figure 8 This is the frequency domain diagram of the third mask result. DETAILED DESCRIPTION
[0042] The present invention will be further described below in conjunction with the embodiments.
[0043] A frequency selection method based on energy index is used to construct a mask signal. The mask signal is added to the original signal and then empirical mode decomposition is performed. Since the mask signal is a known signal, it is removed from the decomposition result to obtain a new decomposition result, thereby achieving the function of suppressing modal aliasing.
[0044] The principle of the present invention: in the face of the modal aliasing problem in the EMD result, the core of the mask signal method is to construct a mask signal s(t)=a0sin(2π·f·t) and add it to the original signal. From the energy point of view, the addition of the mask signal reduces the extraction of the energy of the low-order frequency signal by the first-order IMF component, thereby avoiding the mixing of other frequencies. The selection of the mask signal frequency is the most critical step in constructing a suitable signal. From the energy point of view, the present invention performs low-pass filtering on the mask result. The signal obtained by filtering represents the frequency signal except the highest-order frequency. If the energy of the filtered signal is lower, it can be explained that the modal aliasing phenomenon in the mask result is less, thereby proving that the effect of the mask result is better. Using this idea, the present invention adopts a method of constructing energy indicators to compare multiple groups of signals and select the optimal result from them; on the other hand, since EMD decomposition essentially has the characteristics of a binary filter bank structure, and also considering the problem that the excessive frequency of the mask signal will cause energy errors in the mask result, the range of the parameter m is set to [2,4], with a step size of 0.01, and the optimal result is selected from these 201 groups of signals.
[0045] Example 1
[0046] like Figure 1 As shown, a mask signal frequency selection method based on energy index is characterized by comprising the following steps:
[0047] Step 1, performing EMD decomposition on a given signal x(t), including the following steps:
[0048] 101. Find all local extreme points of the signal x(t), where: t is the time variable;
[0049] 102. Use cubic spline curves to fit the local maximum and local minimum sequences respectively, and get the upper and lower envelopes e u1 、e d1 ;
[0050] 103. Calculate the mean of the upper and lower envelopes
[0051] 104. Subtract the mean m from the original signal 11 (t), the residual signal h1(t) = x(t)-m 11 (t);
[0052] 105. Determine whether h1(t) satisfies a given screening stop criterion. If so, h1(t) is considered to be an intrinsic mode function (IMF). If not, let h1(t) replace x(t), and repeat steps 101 to 104 until a residual signal h1(t) that satisfies the condition is obtained, and h1(t) is recorded as the first IMF component c1(t) of the original signal:
[0053] c1(t)=h1(t);
[0054] 106. Subtract c1(t) from the original signal to obtain the residual signal r1(t)=x(t)-c1(t);
[0055] 107. When r1(t) is a monotonic function, the decomposition process ends; if not, repeat steps 101 to 105 to obtain the remaining IMF components and the residual trend term r(t). The final decomposition result is:
[0056]
[0057] Among them, i represents the order component of the EMD decomposition result, and n represents the total number of IMF components.
[0058] Step 2: Based on the EMD decomposition result, a mask signal is constructed, including the following steps:
[0059] 201. The first-order IMF component u(t) is Hilbert transformed, and ν(t) is the result of the transformation, thus obtaining the instantaneous amplitude sequence and the instantaneous phase sequence
[0060] 202. Find the instantaneous frequency sequence of the signal Where: π is the circumference of a circle, ω(t) is the circular frequency of the signal, is the derivative of φ(t);
[0061] 203. According to the energy mean method, the average instantaneous frequency is obtained The amplitude of the mask signal is Where: p represents the position of the point in the instantaneous amplitude sequence, q represents the length of the instantaneous amplitude sequence, a(p) represents the instantaneous amplitude corresponding to the point, and f(p) represents the instantaneous frequency corresponding to the point;
[0062] 204. The average instantaneous frequency Multiply by the parameter m to get the new frequency f m, where: the range of m is [2,4], the step size is 0.01, and there are 201 possibilities in total;
[0063] 205. Construct the mask signal s(t) = a0 sin(2π·f m ·t), added to the original signal to obtain the reconstructed signal x + (t) = x(t) + s(t) and x - (t) = x(t) - s(t), where: t is the time variable;
[0064] 206. For signal x + (t) and x - (t) Perform EMD decomposition to obtain the first-order components IMF1 of the two signals + and IMF1 - , and average the two components
[0065] 207. Perform low-pass filtering on imf1, with the cut-off frequency being the average instantaneous frequency Obtain the energy of the filtered signal, construct the energy index Power sequence, find the minimum value from the Power sequence, and obtain its corresponding parameter value, and finally determine the frequency of the mask signal;
[0066] 208. After the frequency is determined, repeat steps 205 to 207 to perform parameter identification on imf1 to obtain the highest-order frequency f1;
[0067] 209.Bandpass filter the original signal x(t) with an upper cutoff frequency of The lower cutoff frequency is Separate the signal x1(t) containing the highest-order frequency from the original signal to ensure the integrity of the modal signal information;
[0068] 210. After obtaining the signal x1(t) containing the first-order frequency, remove it from the original signal x(t), and repeat steps 201 to 209 until the final signal is a monotonic function, and finally obtain each order modal frequency f i (i=1,2...n) and the signal x containing the complete information of this mode i (t)(i=1,2...n), where: i represents the nth-order component of the EMD decomposition result, and n represents the total number of IMF components.
[0069] Example 2
[0070] A method for selecting mask signal frequency based on energy index comprises the following steps:
[0071] Perform EMD decomposition on the processed signal x(t) to obtain all intrinsic mode functions (IMFs) and trend terms; perform Hilbert transform on the first-order IMF, and obtain the instantaneous frequency sequence f(t) and instantaneous amplitude sequence a(t) of the first-order component by constructing the analytical signal; use the energy mean method to obtain the average instantaneous frequency And obtain the mask signal amplitude Where: p represents the position of the point in the instantaneous amplitude sequence, q represents the length of the instantaneous amplitude sequence, a(p) represents the instantaneous amplitude corresponding to the point, and f(p) represents the instantaneous frequency corresponding to the point; the range of parameter m is determined to be [2,4], with a step size of 0.01, that is, there are 201 possible values of m; the frequency of the mask signal is The amplitude is a0, and the mask signal s(t) = a0 sin(2π·f m ·t); perform operations on the mask signal and the original signal x(t): + (t) = x(t) + s(t) and x - (t) = x(t)-s(t); then respectively + (t) and x - (t) Perform EMD decomposition to obtain the first-order components IMF1 of the two signals + and IMF1 - ; Find the mean of the two components Perform a low-pass filter on imf1, with the cut-off frequency being the average instantaneous frequency Obtain the energy of the filtered signal and construct the energy index Power sequence; find the minimum value from the Power sequence and obtain its corresponding parameter value, and finally determine the frequency of the mask signal; after determining the final frequency, reconstruct the mask signal and repeat the above steps to obtain the final result imf1; perform parameter identification on imf1 and obtain its frequency f1; perform bandpass filtering on the original signal x(t), and the upper cutoff frequency is The lower cutoff frequency is The signal x1(t) containing the highest-order frequency is separated from the original signal to ensure the integrity of the modal signal information; the above steps are repeated for the remaining signal after removing x1(t) until the remaining signal is a monotonic function. The final result is the frequency information in the original signal x(t) and the filtering result containing a single modal frequency.
[0072] Example 3
[0073] The mask signal frequency selection method of the present invention is used to test the simulation signal to verify the suppression effect on EMD modal aliasing.
[0074] Assume that the signal to be processed x(t) is a combination of three sinusoidal signals
[0075] x(t)=sin(2πt·21.2)+sin(2πt·17.7)+sin(2πt·12.4), Figure 2 is the time domain graph of x(t), Figure 3 is the spectrum of x(t);
[0076] Perform traditional EMD decomposition on x(t), Figure 4 This is the spectrum diagram of the first-order IMF component. It can be seen from the figure that three modal frequencies appear in the first-order IMF component that should only contain a single-frequency signal. The result of traditional EMD decomposition is not very ideal.
[0077] Analyze the first-order IMF component u(t) obtained by EMD decomposition and perform Hilbert transform on it Where: τ represents the time offset, d τ Integrate the variable τ to construct the analytical signal Z(t)=u(t)+jν(t)=a(t)e jφ(t) , where: j represents the imaginary component, a(t) is the instantaneous amplitude sequence, e is a natural constant, and the instantaneous phase sequence of u(t) can be obtained from the analytical signal and the instantaneous amplitude series Then the average instantaneous frequency is obtained by using the energy mean method And obtain the mask signal amplitude
[0078] Determine the value range of parameter m [2,4], with a step size of 0.01, and let the frequency f of the mask signal m for Construct the mask signal s(t) = a0 sin(2π·f m ·t), a total of 201 sets of mask signals;
[0079] The same operation is performed on each set of mask signals, that is, the mask signals are respectively calculated with the original signal x(t): + (t) = x(t) + s(t) and x - (t) = x(t)-s(t); then respectively + (t) and x - (t) Perform EMD decomposition to obtain the first-order components IMF1 of the two signals + and IMF1 - ; Find the mean of the two components Perform a low-pass filter on imf1, with the cut-off frequency being the average instantaneous frequency Obtain the energy of the filtered signal and construct the energy index Power sequence. Figure 5 This is the image of the entire Power series. The horizontal axis represents the number of groups, and the vertical axis represents the energy size. It can be clearly seen that the overall trend is downward;
[0080] From the trend of the Power sequence, we can see that the energy index has been in an extremely low state since the 36th data set, and the minimum value appears in the 179th data set. The final parameter is determined to be 3.78, and the frequency of the final mask signal is 69.21Hz, and the final mask signal is constructed based on this;
[0081] Finally, after the mask signal processing, the result imf1 is obtained, and its frequency value f1=21.2Hz, Figure 6 This is the spectrum of imf1. It can be clearly seen from the figure that there is only one frequency, which effectively suppresses the problem of modal aliasing.
[0082] Then build a bandpass filter with an upper cutoff frequency of The lower cutoff frequency is 18.3 Hz, the original signal x(t) is filtered, the signal with frequency f1 is separated to ensure the integrity of the signal information, and the above steps are repeated for the remaining signal after separation;
[0083] For the second-order frequency of 17.7 Hz, the average instantaneous frequency is 16.05 Hz, the mask signal amplitude is 1.97, the final parameter is determined to be 3.23, and the frequency of the final mask signal is 51.85 Hz. Figure 7 is the spectrum of the mask result;
[0084] For the third-order frequency of 12.4 Hz, the average instantaneous frequency is 12.43 Hz, the mask signal amplitude is 1.62, the final parameter is determined to be 3.87, and the frequency of the final mask signal is 48.11 Hz. Figure 8 is the spectrum of the mask result.
[0085] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A mask signal frequency selection method based on energy index, characterized in that: The following steps are involved: Step 1: Perform EMD decomposition on a given signal; Step 2: Based on the EMD decomposition result, a mask signal is constructed; The step 1, performing EMD decomposition on a given signal x(t), comprises the following steps:
101. Find all local extreme points of the signal x(t), where: t is the time variable; 102. Use cubic spline curves to fit the local maximum and local minimum sequences respectively, and get the upper and lower envelopes e u1 、e d1 ; 103. Calculate the mean of the upper and lower envelopes 104. Subtract the mean m from the original signal 11 (t), the residual signal h1(t) = x(t)-m 11 (t); 105. Determine whether h1(t) satisfies a given screening stop criterion. If so, h1(t) is considered to be an intrinsic mode function. If not, let h1(t) replace x(t), and repeat steps 101 to 104 until a residual signal h1(t) that meets the conditions is obtained, and h1(t) is recorded as the first IMF component c1(t) of the original signal: c1(t)=h1(t); 106. Subtract c1(t) from the original signal to obtain the residual signal r1(t)=x(t)-c1(t); 107. When r1(t) is a monotonic function, the decomposition process ends; if not, repeat steps 101 to 105 to obtain the remaining IMF components and the residual trend term r(t). The final decomposition result is: in, i represents the order component of the EMD decomposition result, and n represents the total number of IMF components; The step 2 comprises the following steps:
201. The first-order IMF component u(t) is Hilbert transformed, and ν(t) is the result of the transformation, thus obtaining the instantaneous amplitude sequence and the instantaneous phase sequence 202. Find the instantaneous frequency sequence of the signal in: π is the circumference of a circle, ω(t) is the circular frequency of the signal, is the derivative of φ(t); 203. According to the energy mean method, the average instantaneous frequency is obtained The amplitude of the mask signal is Where: p represents the position of the point in the instantaneous amplitude sequence, q represents the length of the instantaneous amplitude sequence, a(p) represents the instantaneous amplitude corresponding to the point, and f(p) represents the instantaneous frequency corresponding to the point; 204. The average instantaneous frequency Multiply by the parameter m to get the new frequency f m , where: the range of m is [2,4], the step size is 0.01, and there are 201 possibilities in total; 205. Construct the mask signal s(t) = a0sin(2π·f m ·t), added to the original signal to obtain the reconstructed signal x + (t) = x(t) + s(t) and x - (t) = x(t) - s(t), where: t is the time variable; 206. For signal x + (t) and x - (t) Perform EMD decomposition to obtain the first-order components IMF1 of the two signals + and IMF1 _ , and average the two components 207. Perform low-pass filtering on imf1, with the cut-off frequency being the average instantaneous frequency Obtain the energy of the filtered signal, construct the energy index Power sequence, find the minimum value from the Power sequence, and obtain its corresponding parameter value, and finally determine the frequency of the mask signal; 208. After the frequency is determined, repeat steps 205 to 207 to perform parameter identification on imf1 to obtain the highest-order frequency f1; 209.Bandpass filter the original signal x(t) with an upper cutoff frequency of The lower cutoff frequency is Separate the signal x1(t) containing the highest-order frequency from the original signal to ensure the integrity of the modal signal information; 210. After obtaining the signal x1(t) containing the first-order frequency, remove it from the original signal x(t), and repeat steps 201 to 209 until the final signal is a monotonic function, and finally obtain each order modal frequency f i , i = 1, 2...n, and the signal x containing the complete information of the modality i (t), i = 1, 2...n, where: i represents the order component of the EMD decomposition result, and n represents the total number of IMF components.
