Refreshing idea on Fourier analysis
Abstract
The “theoretical limit of time-frequency resolution in Fourier analysis” is thought to originate in certain mathematical and/or physical limitations. This, however, is not true. The actual origin arises from the numerical (technical) method deployed to reduce computation time. In addition, there is a gap between the theoretical equation for Fourier analysis and its numerical implementation. Knowing the facts brings us practical benefits. In this case, these related to boundary conditions, and complex integrals. For example, replacing a Fourier integral with a complex integral brings a hybrid method for the Laplace and Fourier transforms, and reveals another perspective on time-frequency analysis. We present such a perspective here with a simple demonstrative analysis.
1 Introduction
The “theoretical limit of time-frequency resolution of Fourier analysis” is thought to originate in certain mathematical and/or physical limitations, such as “it is from quantum mechanics ,” where is Planck constant.
This, however, is not true. The actual origin arises from the numerical method deployed to reduce computation time. In addition, there is a gap between the theoretical equation for Fourier analysis and its numerical implementation.
Let us remind ourselves of the equation for Fourier transform
(1) |
The equation requires an infinite continuous time series. However, the actual time series which in practice we have for analysis is always finite and discrete, and does not satisfy this requirement of the equation. Therefore, some modifications have to be made to the finite and discrete time series in order to satisfy the requirements of the equation, and it is these modifications that are the origin of the time-frequency limitation currently under discussion.
For this reason, we are using this article to present a refreshing idea. Breaking the time-frequency resolution limitation is a practically useful proposition.
First, we need an infinite time series. For this purpose, the “periodic boundary condition” which is shown in Fig. 1, is commonly introduced [1]. This condition is implicitly applied to all conventional linear methods, and replacing it with an alternative condition is the first step in the process of clearing the time-frequency resolution limitation. This means that all of the conventional linear methods share limitation in common that, as we will demonstrate below, can be overcome.
What the periodic boundary condition does is as follows. Assume that the finite time series, which is available for analysis, lines in the hatched area of the figure. From this position, we simply repeat the hatched time series infinitely, to fill the infinite time series.
Now, we have an infinite time series for the Fourier transform. However, the preparatory step shown in Fig. 1 throws up some awkward questions. It is undeniably the case that the possible frequencies are limited to the harmonics within the hatched area. Even though we have an infinite time series, the harmonics are limited, and herein lies the origin of the time-frequency resolution limitation shared by all the conventional linear methods. Indeed, this condition does boast the merit of reducing computation time [1, 2], and has been historically useful. However we would suggest that this merit is an anachronism in any case, on account of the improvements we have witnessed in computation power.
Therefore, we suggest replacing this condition with an alternative to fill out the infinite time series, and to clear the time-frequency resolution limitations that the conventionally applied condition introduces.
Our choice for an alternative is the linear extrapolation condition, shown in Fig. 2. However, this condition itself is unbound for , and some tricks are required [3].
In the following sections, we expand the Fourier analysis with some tricks, present a demonstrative analysis with the use of frequency modulated time series, and conclude this paper.
2 Expanding Fourier analysis
Our method looks very different from a conventional Fourier analysis, because of various unfamiliar concepts in the model equation. However, it will be found that the proposed method is a natural expansion of the familiar Fourier analysis.
Our method of analysis is not based on a Fourier integral, but on a mode decomposition with general complex functions, which organize nonlinear oscillators [3], from which we calculate the local linearized solution [4] of the decomposition.
More complete details of our method are set out in previously published papers [2, 3, 5, 6], and we ask the readers to please refer to them for further understanding. What we present here is just an outline.
2.1 Model equation
We expand the given time series with general complex functions as
(2) |
where is the number of complex functions.
The complex functions are expressed as
(3) |
where represents the frequency modulation (FM) terms, which is known as instantaneous frequency [7] by van der Pol, represents the amplitude modulation (AM) terms, which is our original [3, 8], and represents the amplitudes of the oscillators at .
This expansion corresponds to a mode decomposition with general complex functions, noting that
(4) |
Additionally, note that the case
(5) |
becomes a Fourier series expansion
(6) |
itself. That is, our model equation contains Fourier analysis as a special case, and is a natural expansion of the analysis.
2.2 Locally linearized solution
As it is known that our model equation does not have a unique solution, due to the non-linearity [9, 10], we need a special idea to make our model equation uniquely solvable [2, 4]. This is a part of our tricks, which corresponds to the linear extrapolation condition shown in Fig. 2.
We expand our model equation Eq. (2) as
(7) |
around , consider a short enough time width, and ignore the higher order terms .
Then, the equation becomes a simple linear equation
(8) | |||||
(9) |
and we can obtain unique easily by applying the numerical method of linear predictive coding (LPC) with samples, noting that we must use a non-standard numerical method [2, 11] to hold the condition shown in Fig. 2.
The standard method of LPC is not adequate, because it contains the unfavorable condition [1] shown in Fig. 1, and an approximation [12] to reduce computation cost.
Subsequently, we calculate the complex amplitudes of the oscillators as
(10) |
2.3 Instantaneous spectrum
The equation for instantaneous spectrum is given as follows.
We transform the locally linearized time series around (Eq. (9)) with a complex integral as
(11) | |||||
Note that the Laplace transform is written as
(12) |
and is understood as a Fourier integral on the imaginary axis. Therefore, the Laplace transform of around becomes
(13) |
As Eq. (11) is for a continuous time series, some modifications for its application to a discrete time series are required. That is, specifically, a modification from a Fourier transform to a Fourier series expansion.
For example, when , the equation is unbound at , and is not practical. The practical value is the maximum value for discrete system.
Therefore, we take the absolute value of each term, and adjust the maximum values at so as to be [2].
(14) |
2.4 Revised time-frequency resolution
We briefly demonstrate how our method works [11]. The source code and its execution output of the followings are shown in the reference.
The time series for analysis shown in Fig. 3 is
(15) |
and we take twelve samples with a sampling frequency of Hz, as shown in the figure. The samples correspond to cycles of the oscillation, and this small sample set and short time series are sufficient for our method [10], in contrast to conventional methods.
Following this, we apply our method to the twelve samples, with the parameters , and plot each obtained term in Eq. (14) in Fig. 4.
In addition, we plot the conventional Fourier spectrum from the same twelve samples in the figure, which corresponds to a bin of short time Fourier transform (STFT).
Four spectra (no. 1 to 4), are shown in the figure. Each spectrum corresponds to (no. 1) a constant term with amplitude , (no. 2 and 3, the same spectra) a sinusoidal time series with a frequency of Hz, and (no. 4) computational error, which corresponds to white noise on the time series.
Note that white noise on the given time series (no. 4) is obtained as a mode with a flat spectrum, and we can remove this unnecessary term from Eq. (14) for plotting spectrum.
Obtained numerical results for no. 1 to 3 are shown in Table 1.
term frequency (Hz) amplitude no. 1 0.0 0.009999999999492205 no. 2 & 3 0.9999999999999438 1.0000000000004858
Conventional Fourier analysis requires the time width s to obtain the frequency resolution Hz, and it holds that . This is the limit of the time-frequency resolution for a conventional Fourier analysis.
In contrast, the frequency resolution of no. 2&3 in Table 1 is Hz, and is obtained using the time width s. Therefore, the time-frequency resolution becomes , and this resolution corresponds to the computational resolution of the numerical data. That is, the time-frequency resolution of our method is bounded by the resolution of the given numerical data, and not by the method itself.
3 Demonstrative analysis
Now we show a sample of a spectrogram using Eq. (14). For the purpose, we employ a simple time series with frequency modulation
(16) |
Assuming the parameters in Eq. (16) as Hz, , and , the time series of modulated frequency becomes
(17) | |||||
Note that the waveform appears in the time series.
We show the time series for analysis Eq. (16) and its corresponding spectrogram Eq. (14), which has the time series of modulated frequency in Eq. (17), in Fig. 5.
The sampling frequency was set to kHz, and the other parameters for the analysis were set to , and .
Therefore, the range of the spectrogram is kHz, and the enlarged view (20 Hz width) is shown in the figure. In addition, the time width for a single analysis becomes cycles of the base frequency Hz. This time width is sufficient for our method of analysis, as is shown in Fig. 5.
4 Conclusion
We presented a refreshing idea on Fourier analysis. The idea makes less-than-a-cycle time-frequency analysis a reality, offers signal to noise manipulation, and brings mathematical understanding on nonlinear systems, such as the origin of the modulated frequencies.
We think that our method will not be the final nor ultimate way of time-frequency analysis, but we believe it to be sufficiently effective in its current form.
The know-how required to apply our method, such as the setting of parameters, is still under investigation, and requires further work.
References
- [1] G. Walker, “On periodicity in series of related terms,” Roy. Soc. London, Ser. A, vol. 131, pp. 518-532, 1931.
-
[2]
F. Ishiyama,
“Maximum entropy method without false peaks with exact numerical equation,”
J. Phys.: Conf. Ser., vol. 1438, 012031 (6pp), 2020.
DOI: 10.1088/1742-6596/1438/1/012031 -
[3]
F. Ishiyama,
“Nonlinear trend of COVID-19 infection time series,”
IEICE NOLTA,
vol. 14, pp. 165-174, 2023.
DOI: 10.1587/nolta.14.165 -
[4]
R. Kubo,
“Statistical-mechanical theory of irreversible process. I.
General theory and simple applications to magnetic and conduction problems,”
J. Phys. Soc. Jpn., vol. 12, pp. 570-586, 1957.
DOI: 10.1143/JPSJ.12.570 -
[5]
F. Ishiyama, Y. Okugawa and K. Takaya,
“Linear predictive coding without Yule-Walker approximation
for transient signal analysis - application to switching noise,”
in Proc. 13th IEEE Colloq. Signal Process. Appl.,
2017, pp. 46-50.
DOI: 10.1109/CSPA.2017.8064922 -
[6]
F. Ishiyama,
“Local linear predictive coding for high resolution time-frequency analysis,”
in Proc. 17th IEEE Int. Symp. Signal Process. Info. Tech.,
2017.
DOI: 10.1109/ISSPIT.2017.8388309 - [7] B. van der Pol, “The fundamental principles of frequency modulation,” J. Inst. Elect. Eng. III, vol. 93, pp. 153-158, 1946.
-
[8]
F. Ishiyama, and R. Takahashi,
“The bounce hardness index of gravitational waves,”
Class. Quant. Grav.,
vol. 27, 245021 (11pp),
2010.
DOI: 10.1088/0264-9381/27/24/245021 - [9] I. Daubechies, J. Lu, and H. T. Wu, “Synchrosqueezed wavelet transforms: An empirical mode decomposition-like tool,” Appl. Comput. Harmon. Anal., vol. 30, pp. 243-261, 2011.
-
[10]
F. Ishiyama,
“Providing unique solution to Daubechies’s AM-FM oscillator expansion,
and its limitations,”
in Proc. 19th IEEE Colloq. Signal Process. Appl.,
2023, pp. 13-18.
DOI: 10.1109/CSPA57446.2023.10087433 - [11] https://github.com/fishiyama/thesis-suppl/
- [12] F. Itakura, “Minimum prediction residual principle applied to speech recognition,” IEEE Trans. Acoust. Speech Signal Process., vol. 23, pp. 67-72, 1975.