A method for converting non-stationary signals to evolving power spectral density
Through Gaussian window function and Fourier transform technology, the bidirectional conversion of non-stationary signals and evolving power spectral density is realized, which solves the problem of phase information loss, simplifies the processing of non-stationary signals, and improves the reliability and practicality of signal processing. .
Patent Information
- Application Number
- CN202210304800.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-03-23
AI Technical Summary
Existing technology cannot effectively realize the two-way conversion of non-stationary signals and evolving power spectral density, resulting in the loss of phase information and affecting the analysis and processing of time-frequency characteristics of non-stationary signals.
By setting the Gaussian window function to multiply the non-stationary signal, a Gaussian pulse set is obtained, and correction and Fourier transformation are performed to generate a time-frequency matrix to calculate the evolved power spectral density; conversely, the imaginary part generated from the evolved power spectral density is 0 time-frequency matrix, perform inverse Fourier transform and position movement, and reconstruct the non-stationary signal.
It achieves bidirectional conversion of non-stationary signals and evolving power spectral density, retains phase information, simplifies the processing of non-stationary signals, and improves the reliability and practicality of signal processing.
Smart Images

Figure CN114707107B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of digital signal processing, and in particular relates to a method for mutual conversion between a non-stationary signal and an evolving power spectrum density. Background Art
[0002] In the field of signal processing, signals whose statistical characteristics change over time are called non-stationary signals. Characteristic analysis of non-stationary signals often requires calculation of their evolving power spectral density. Evolving power spectral density is a physical quantity used to characterize the power distribution of a signal at different time-frequency coordinate points.
[0003] The evolving power spectrum density of a non-stationary signal is proportional to the square of the signal's time-frequency spectrum, which can be obtained through short-time Fourier transform, wavelet transform, S-transformation, etc. The time-frequency spectrum matrix contains the time, frequency, amplitude, and phase characteristics of the non-stationary signal. The inverse tangent of the ratio of the imaginary part to the real part of each complex element in the time-frequency spectrum matrix is called the phase angle.
[0004] The existing technology can generally only achieve a one-way conversion from a non-stationary signal to an evolving power spectrum density; in the process of calculating the evolving power spectrum density from the time-frequency spectrum, the complex elements will become real elements after the square calculation, and the non-stationary signal will lose its phase information. It is precisely because of the lack of phase information that it is impossible to reconstruct the non-stationary signal simply by relying on the evolving power spectrum density. The modification of the time-frequency characteristics of the non-stationary signal cannot be carried out smoothly, which brings great difficulties to the transformation, filtering, modulation, demodulation, detection and spectrum analysis of the non-stationary signal. Summary of the invention
[0005] The object of the present invention is to provide a method for converting a non-stationary signal to an evolving power spectrum density which is highly reliable, practical and simple to implement.
[0006] The method for converting a non-stationary signal to an evolutionary power spectrum density provided by the present invention comprises the steps of calculating the evolutionary power spectrum density from the non-stationary signal and calculating the non-stationary signal from the evolutionary power spectrum density;
[0007] The step of calculating the evolving power spectral density from the non-stationary signal specifically comprises the following steps:
[0008] A. Set the Gaussian window function and multiply it with the set part of the existing non-stationary signal at different positions to obtain a Gaussian pulse set;
[0009] B. Correcting the Gaussian pulse set obtained in step A to obtain a corrected Gaussian pulse set;
[0010] C. Performing Fourier transform on the modified Gaussian pulse set obtained in step B to obtain a time-frequency matrix of the signal;
[0011] D. Generate the final evolution power spectrum density according to the time-frequency matrix obtained in step C;
[0012] The step of calculating the non-stationary signal by the evolving power spectrum density specifically comprises the following steps:
[0013] a. Generate a time-frequency matrix with an imaginary part of 0 based on the existing evolution power spectrum density;
[0014] b. Perform an inverse Fourier transform on the time-frequency matrix obtained in step a to obtain a set of modified Gaussian pulses with a phase of 0;
[0015] c. moving the center position of each modified Gaussian pulse in the modified Gaussian pulse set obtained in step b to the initial position, thereby obtaining a Gaussian pulse matrix;
[0016] d. Reconstruct the final non-stationary signal based on the Gaussian pulse matrix obtained in step c.
[0017] The setting of the Gaussian window function described in step A and multiplication of the set part of the existing non-stationary signal at different positions to obtain a Gaussian pulse set specifically includes the following steps:
[0018] A1. Set the length of the window function to N and the type to Gaussian window, and get the Gaussian window function w(n):
[0019]
[0020] Where α is the window function coefficient; n is the data point number of the non-stationary signal, and n=0,1,...,N-1, N is the maximum data point number;
[0021] A2. The overlap rate between window functions is recorded as R, the number of the window function is recorded as m, and m = 1, 2, ..., M, M is the maximum number of the window function;
[0022] A3. Use the following formula to multiply the non-stationary signal with the Gaussian window function to obtain a Gaussian pulse set:
[0023] S(n,m)=x n w(nm)
[0024] Where S(n,m) is a Gaussian pulse set; x n is a non-stationary signal.
[0025] Step C of performing Fourier transform on the modified Gaussian pulse set obtained in step B to obtain a time-frequency matrix of the signal specifically includes the following steps:
[0026] C1. Perform Fourier transform on the modified Gaussian pulse set obtained in step B to obtain the intermediate matrix S(f,m) = DFT{S * (n,m)}, where S * (n,m) is the modified Gaussian pulse set obtained in step B, DFT{} is the discrete Fourier transform function;
[0027] C2. Replace the variable m in the intermediate matrix S(f,m) with the variable x to obtain the time-frequency matrix S(f,x) of the signal.
[0028] The step D generates the final evolution power spectrum density according to the time-frequency matrix obtained in step C, which specifically includes the following steps:
[0029] The final evolution power spectrum density G(f,x) is calculated using the following formula:
[0030]
[0031] Where ΔL is the spatial interval of non-stationary data points; S(f,x) is the time-frequency matrix of the signal obtained in step C; N is the length of the window function set in step A.
[0032] The step a of generating a time-frequency matrix with an imaginary part of 0 according to the existing evolution power spectrum density specifically comprises the following steps:
[0033] a1. According to the existing evolution power spectrum density, calculate the corresponding spectrum modulus value Where S(f,x) is the spectrum of the evolving power spectral density, G(f,x) is the existing evolving power spectral density, N is the length of the set window function, and ΔL is the spatial interval of the non-stationary data points;
[0034] a2. Set the imaginary part of the spectrum S(f,x) of the evolving power spectrum density to 0, so that the time-frequency matrix S'(f,x) with the imaginary part of 0 is obtained:
[0035] The Gaussian pulse matrix obtained in step c described in step d is reconstructed to obtain the final non-stationary signal, which specifically includes the following steps:
[0036] The final non-stationary signal x is calculated using the following formula: n :
[0037]
[0038] Where S(n,m) is the Gaussian pulse matrix obtained in step c; w(nm) is the moving window function.
[0039] The data reconstructed at position x0 is a segment of data centered at x0 and having a length equal to the window function length N. The data corresponding to the center position x0 is then taken as the signal reconstruction value of point x0. The window function is continuously moved and the above process is repeated to reconstruct and obtain a complete non-stationary signal.
[0040] The method for mutual conversion between a non-stationary signal and an evolving power spectral density provided by the present invention solves the problem of phase loss when the evolving power spectral density is converted to a non-stationary signal in the field of signal processing, and provides a simple and feasible method for mutual conversion between a non-stationary signal and an evolving power spectral density; the method of the present invention also expands the processing method of the non-stationary signal from the time domain to the time-frequency domain, and the time-frequency spectrum and the evolving power spectral density of the non-stationary signal can be arbitrarily modified by the method provided by the present invention, and a non-stationary signal with target spectral characteristics can be reconstructed; and the method of the present invention has high reliability, good practicability and is simple and easy to implement. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 The figure is a schematic diagram of the method flow of the present invention.
[0042] Figure 2 Schematic diagram of the waveforms of non-stationary signals I0 and I1 according to an embodiment of the method of the present invention.
[0043] Figure 3 Schematic diagram of the waveforms of a Gaussian pulse and a modified Gaussian pulse according to an embodiment of the method of the present invention.
[0044] Figure 4 A schematic diagram of the spectrum modulus values of a Gaussian pulse and a modified Gaussian pulse according to an embodiment of the method of the present invention.
[0045] Figure 5 A phase diagram of a Gaussian pulse and a modified Gaussian pulse according to an embodiment of the method of the present invention.
[0046] Figure 6 Schematic diagram of the evolving power spectral density of a non-stationary signal according to an embodiment of the method of the present invention.
[0047] Figure 7 It is a schematic diagram for comparing an initial non-stationary signal and a reconstructed non-stationary signal according to an embodiment of the method of the present invention. DETAILED DESCRIPTION
[0048] like Figure 1 The method flow diagram of the method of the present invention is shown as follows: the method for converting a non-stationary signal to an evolutionary power spectrum density provided by the present invention comprises the steps of calculating the evolutionary power spectrum density from the non-stationary signal, and the step of calculating the non-stationary signal from the evolutionary power spectrum density;
[0049] The step of calculating the evolving power spectral density from the non-stationary signal specifically comprises the following steps:
[0050] A. Setting a Gaussian window function and multiplying it with a set part of an existing non-stationary signal at different positions to obtain a Gaussian pulse set; specifically comprising the following steps:
[0051] A1. Set the length of the window function to N and the type to Gaussian window, and get the Gaussian window function w(n):
[0052]
[0053] Where α is the window function coefficient; n is the non-stationary data number, and n = 0, 1, ..., N-1;
[0054] A2. The overlap rate between window functions is recorded as R, the number of the window function is recorded as m, and m = 1, 2, ..., M, M is the maximum window function number;
[0055] A3. Use the following formula to multiply the non-stationary signal with the Gaussian window function to obtain a Gaussian pulse set:
[0056] S(n,m)=x n w(nm)
[0057] Where S(n,m) is a Gaussian pulse set; x n is a non-stationary signal;
[0058] B. Correcting the Gaussian pulse set obtained in step A to obtain a corrected Gaussian pulse set;
[0059] Gaussian pulses have some special mathematical properties; suppose there is a Gaussian pulse symmetric about the vertical axis
[0060] Expand the Fourier transform of the above formula:
[0061]
[0062] The above formula shows that the Fourier transform of g(x) is a frequency domain Gaussian pulse; this means that the spectrum of g(x) is a positive real number everywhere; defining the signal phase angle as the inverse tangent function of the ratio of the imaginary part and the real part of the spectrum, it can be seen that the phase angle of g(x) is 0 everywhere; according to the translation characteristics of the Fourier transform, there exists:
[0063]
[0064] The above formula shows that the translation of the time domain signal will cause the phase angle of the spectrum to change; therefore, affected by the movement of the window, the phase angle of each Gaussian pulse in S(m,n) is no longer constant to 0; the center position of each Gaussian pulse in S(m,n) is moved to the vertical axis to obtain the modified Gaussian pulse set matrix S * (n,m), that is: S(n,m)→S * (n,m);
[0065] C. Performing Fourier transform on the modified Gaussian pulse set obtained in step B to obtain a time-frequency matrix of the signal; specifically comprising the following steps:
[0066] C1. Matrix S * The Gaussian pulse phase angle of (n,m) is 0, and the spectrum modulus is the same as S(n,m); the modified Gaussian pulse set obtained in step B is subjected to Fourier transform to obtain the intermediate matrix S(f,m) as S(f,m)=DFT{S * (n,m)}, where S * (n,m) is the modified Gaussian pulse set obtained in step B, DFT{} is the discrete Fourier transform function;
[0067] C2. Replace the variable m in the intermediate matrix S(f,m) with the variable x, thereby obtaining the time-frequency matrix S(f,x) of the signal;
[0068] D. Generate the final evolution power spectrum density according to the time-frequency matrix obtained in step C; specifically, the steps include:
[0069] The final evolution power spectrum density G(f,x) is calculated using the following formula:
[0070]
[0071] Where ΔL is the spatial interval of the non-stationary signal; S(f,x) is the time-frequency matrix of the signal obtained in step C; N is the length of the window function set in step A;
[0072] The step of calculating the non-stationary signal by the evolving power spectrum density specifically comprises the following steps:
[0073] a. Generate a time-frequency matrix with an imaginary part of 0 according to the existing evolution power spectrum density; specifically including the following steps:
[0074] a1. According to the existing evolution power spectrum density, calculate the corresponding spectrum modulus value Where S(f,x) is the spectrum of the evolving power spectral density, G(f,x) is the existing evolving power spectral density, N is the length of the set window function, and ΔL is the spatial interval of the non-stationary signal;
[0075] a2. Set the imaginary part of the spectrum S(f,x) of the evolving power spectrum density to 0, so that the time-frequency matrix S'(f,x) with the imaginary part of 0 is obtained:
[0076] b. Perform an inverse Fourier transform on the time-frequency matrix obtained in step a to obtain a set of modified Gaussian pulses with a phase of 0;
[0077] Based on the above phase distribution assumption, by performing inverse Fourier transform on S(f,x), we can obtain a Gaussian pulse set S with a phase of 0: * (n,m), that is, S * (n,m)=IDFT{S(f,m)}; IDFT{} is the inverse discrete Fourier transform function;
[0078] c. moving the center position of each modified Gaussian pulse in the modified Gaussian pulse set obtained in step b to the initial position, thereby obtaining a Gaussian pulse matrix;
[0079] d. Reconstruct the final non-stationary signal according to the Gaussian pulse matrix obtained in step c; specifically comprising the following steps:
[0080] The final non-stationary signal x is calculated using the following formula: n :
[0081]
[0082] Where S(n,m) is the Gaussian pulse matrix obtained in step c; w(nm) is the moving window function.
[0083] The data reconstructed at position x0 is a segment of data centered at x0 and having a length equal to the window function length N. The data corresponding to the center position x0 is then taken as the signal reconstruction value of point x0. The window function is continuously moved and the above process is repeated to reconstruct and obtain a complete non-stationary signal.
[0084] The method of the present invention is further described below in conjunction with a specific embodiment:
[0085] Select a non-stationary track irregularity signal and record it as I0, such as Figure 2 As shown in (a), a zero-value segment of 50 m is added at both ends of the signal to eliminate the signal leakage caused by the window function during the movement. The signal I0 is spatially sampled with a sampling interval of 0.25 m to obtain the sample I1, as shown in Figure 2 (b)
[0086] The Gaussian window coefficient α is set to 5, and the window function is multiplied by the signals at different positions to obtain the Gaussian pulse set matrix S(n,m), as shown in Figure 3(a) As shown. The center position of the Gaussian pulse is moved to the vertical axis to obtain the modified Gaussian pulse set matrix S * (n,m), such as Figure 3 (b)
[0087] Figure 4 The spectrum modulus values of the two pulses are displayed. It can be seen that the spectrum modulus values of the initial Gaussian pulse and the modified Gaussian pulse are completely consistent, and the spectrum modulus values basically decay to 0 near the frequencies of 0.27 and 1.73;
[0088] Figure 5 The phases of the two pulses are shown. It can be seen that the phase of the initial Gaussian pulse is chaotic; the phase of the modified Gaussian pulse in the frequency ranges of 0-0.27 and 1.73-2 is approximately 0, while the phase in the frequency range of 0.27-1.73 fluctuates between ±π. The reason is that the spectrum in the frequency range of 0.27-1.73 is affected by the calculation error and oscillates near the zero point, resulting in a negative spectrum. Overall, Figure 3-4 The pulse characteristics presented are consistent with the above derivation;
[0089] Calculate the evolving power spectral density of a non-stationary signal, such as Figure 6 The reconstruction corresponds to Figure 6 A non-stationary signal such as Figure 7 As shown, it can be seen that the reconstructed signal is substantially coincident with the original signal, indicating that the phase angle distribution hypothesis of the present invention can accurately realize the free conversion between non-stationary irregularity and evolving power spectrum density.
Claims
1. A method for converting a non-stationary signal to an evolving power spectrum density, characterized in that The method comprises the steps of calculating the evolution power spectral density from the non-stationary signal and calculating the non-stationary signal from the evolution power spectral density; The step of calculating the evolving power spectral density from the non-stationary signal specifically comprises the following steps: A. Set the Gaussian window function and multiply it with the set part of the existing non-stationary signal at different positions to obtain a Gaussian pulse set; B. Correcting the Gaussian pulse set obtained in step A to obtain a corrected Gaussian pulse set; C. Performing Fourier transform on the modified Gaussian pulse set obtained in step B to obtain a time-frequency matrix of the signal; D. Generate the final evolution power spectrum density according to the time-frequency matrix obtained in step C; The step of calculating the non-stationary signal by the evolving power spectrum density specifically comprises the following steps: a. Generate a time-frequency matrix with an imaginary part of 0 based on the existing evolution power spectrum density; b. Perform an inverse Fourier transform on the time-frequency matrix obtained in step a to obtain a set of modified Gaussian pulses with a phase of 0; c. moving the center position of each modified Gaussian pulse in the modified Gaussian pulse set obtained in step b to the initial position, thereby obtaining a Gaussian pulse matrix; d. Reconstruct the final non-stationary signal based on the Gaussian pulse matrix obtained in step c.
2. The method for converting a non-stationary signal to an evolving power spectral density according to claim 1, characterized in that The setting of the Gaussian window function described in step A and multiplication of the set part of the existing non-stationary signal at different positions to obtain a Gaussian pulse set specifically includes the following steps: A1. Set the length of the window function to N and the type to Gaussian window, and get the Gaussian window function w(n): Where α is the window function coefficient; n is the non-stationary data number, and n = 0, 1, ..., N-1; A2. The overlap rate between window functions is recorded as R, the number of the window function is recorded as m, and m = 1, 2, ..., M, M is the maximum window function number; A3. Use the following formula to multiply the non-stationary signal with the Gaussian window function to obtain a Gaussian pulse set: S(n,m)=x n w(n-m) Where S(n,m) is a Gaussian pulse set; x n is a non-stationary signal.
3. The method for converting a non-stationary signal to an evolving power spectrum density according to claim 2, characterized in that Step C of performing Fourier transform on the modified Gaussian pulse set obtained in step B to obtain a time-frequency matrix of the signal specifically includes the following steps: C1. Perform Fourier transform on the modified Gaussian pulse set obtained in step B to obtain the intermediate matrix S(f,m) = DFT{S * (n,m)}, where S * (n,m) is the modified Gaussian pulse set obtained in step B, DFT{} is the discrete Fourier transform function; C2. Replace the variable m in the intermediate matrix S(f,m) with the variable x to obtain the time-frequency matrix S(f,x) of the signal.
4. The method for converting a non-stationary signal to an evolving power spectrum density according to claim 3, characterized in that The step D generates the final evolution power spectrum density according to the time-frequency matrix obtained in step C, which specifically includes the following steps: The final evolution power spectrum density G(f,x) is calculated using the following formula: Where ΔL is the spatial interval of the non-stationary signal; S(f,x) is the time-frequency matrix of the signal obtained in step C; N is the length of the window function set in step A.
5. The method for converting a non-stationary signal to an evolving power spectrum density according to claim 1, characterized in that The step a of generating a time-frequency matrix with an imaginary part of 0 according to the existing evolution power spectrum density specifically comprises the following steps: a1. According to the existing evolution power spectrum density, calculate the corresponding spectrum modulus value Where S(f,x) is the spectrum of the evolving power spectral density, G(f,x) is the existing evolving power spectral density, N is the length of the set window function, and ΔL is the spatial interval of the non-stationary signal; a2. Set the imaginary part of the spectrum S(f,x) of the evolving power spectrum density to 0, so that the time-frequency matrix S'(f,x) with the imaginary part of 0 is obtained:
6. The method for converting a non-stationary signal to an evolving power spectrum density according to claim 5, characterized in that The Gaussian pulse matrix obtained in step c described in step d is reconstructed to obtain the final non-stationary signal, which specifically includes the following steps: The final non-stationary signal x is calculated using the following formula: n : Where S(n,m) is the Gaussian pulse matrix obtained in step c; w(nm) is the moving window function; The data reconstructed at position x0 is a segment of data centered at x0 and having a length equal to the window function length N. The data corresponding to the center position x0 is then taken as the signal reconstruction value of point x0. The window function is continuously moved and the above process is repeated to reconstruct and obtain a complete non-stationary signal.
Citation Information
Patent Citations
Multi-target detection method based on short-time Fourier transform and fractional Fourier transform
CN102866391A
Novel fuzzy function characteristics-based frequency-agile signal sorting method
CN106324575A
