Published: 30 June 2016

Algorithm for noise reduction for strongly contaminated chaotic oscillators based on the local projection approach and 2D wavelet filtering

Kazimieras Pukenas1
1Lithuanian Sports University Kaunas, Kaunas, Lithuania
Views 112
Reads 54
Downloads 1257

Abstract

In this paper, a novel algorithm based on the local projection noise reduction approach is applied to smooth noise for strongly contaminated chaotic oscillators. Specifically, one-dimensional time series are embedded into a high dimensional phase space and the noise level is defined through orthogonal projections of the data points within the neighbourhood of the reference point onto linear subspaces. The current vector of the phase space is denoised by performing two-dimensional discrete stationary wavelet transform (SWT)-based filtering in the neighbourhood of the phase point. Numerical results show that our algorithm effectively recovers continuous-time chaotic signals in heavy-noise environments and outperforms the classical local projection noise reduction approach for simulated data from the Rössler system and Duffing oscillator at signal-to-noise ratios (SNRs) from 15 to 0 dB, either for the real world data – human breath time series.

1. Introduction

The task of noise reduction is a central theme in a wide variety of fields. Chaotic time series have inherently broad spectra and are not amenable to conventional spectral noise filtering, since linear filters severely distort even clean chaotic signals. Over the past two decades, a number of important algorithms have been developed for noise reduction of chaotic signals. A comprehensive overview of these algorithms can be found in [1, 2]. All noise reduction methods for chaotic time series may be classified as model-based or model-free. While model-based reduction can be applied for systems with known analytical models, model-free noise reduction provides a superior alternative for experimental data. Two of the major model-free noise reduction techniques are chaos-based smoothing [3] and wavelet thresholding [4, 5]. While details of chaos-based methods vary, they share a common fundamental element: they approximate the local chaotic dynamics in the neighbourhood (of size ε) of a reference point (here the appropriate neighbours mean that the wave forms of the data segments covered by the neighbours are well matched to those of the reference phase point). When noise is weak, the chosen value of ε can be small, and the approximation to the local dynamics can be quite accurate. When the noise is strong, however, the accuracy of the neighbourhood is degraded, the chance of picking a false neighbour is increased, and the local chaotic dynamics cannot be accurately estimated [2]. The over-embedding technique with a time delay τ=1 and an appropriately longer embedding window contribute to the determination of valid neighbours at strong noise [6], but the nearest neighbouring vectors identified in this way inevitably differ due to sensitivity to the initial conditions according to the Lyapunov exponents. Because the local projection (LP) approach decomposes the reconstructed phase space into two orthogonal subspaces (i.e. the signal subspace and the noise subspace) based on linear combinations of the columns of the neighbourhood array, over-embedding with a too long embedding window leads to distortion of even clean chaotic signals. Of course, this limitation arises due to the nature of chaotic signals, and cannot be avoided in cases where the neighbours are considered as strands of several consecutive vectors of reconstructed phase-space rather than separate vectors [7, 8]. On the other hand, wavelet shrinkage methods require an opportune selection of parameters or some “a priori” knowledge of the system or the noise mechanisms. These drawbacks motivate the search for new methods that can efficiently recover continuous-time chaotic signals in heavy-noise environments [2].

In this paper, the advantages of both chaos-based and wavelet shrinkage methods have been combined. Namely, the necessary threshold for wavelet shrinkage is calculated by estimating the noise subspace of the neighbourhood of the reference points using proper orthogonal decomposition, and two-dimensional (2D) discrete stationary wavelet transform (SWT)-based filtering is performed on the neighbourhood. As demonstrated later, this action allows better recovery of the signal of the underlying chaotic dynamics at low signal-to-noise-ratio (SNR), not only reducing noise.

2. Description of the algorithm

Let xi=si+wi denote the time series contaminated by additive noise, where si are the clean data generated by a dynamical system and wi is the additive noise. For a time series xii=1L with L samples, the phase points can be reconstructed by time delay embedding [3], i.e., xii=1L-d-1τ:

1
xi=xi, xi+τ, xi+2τ,, xi+d-1τT,

where d is the embedding dimension, τ is the time delay, and T denotes the transpose of a real matrix. Over-embedding with the time delay τ=1 is used and the embedding dimension is defined arbitrarily as approximately equal to two cycles of the attractor. Usually, the near neighbourhood of the reference point xi is defined as:

2
Nixk:xk-xi<ε, 1kL-d-1τ,

where ε is the size of the neighbourhood. Because defining the size of the neighbourhood Ni at strong noise is problematic, a given number K of nearest neighbours is found, rather than a neighbourhood of fixed radius. The phase vectors of the neighborhoods are rearranged in such a way that the reference point xi would be in the centre of the neighborhoods array and the nearest neighbours in ascending order of the Euclidean distance from the reference point xi. Assuming that the noise is white and Gaussian, the local phase space, i.e., the neighbourhood Ni of the reference point xi, can be divided into an M-dimensional signal subspace and a d-M –dimensional noise subspace, where M is the minimum embedding dimension of the dynamical system [6, 9, 10]. The signal subspace contains most of the clean signal plus a certain amount of the noise components, while the noise subspace contains most of the noise components and a certain, small, amount of the signal components. For a preset M, the noise subspace can be estimated by performing the standard singular value decomposition (SVD) Ri=UΛVT for the covariance matrix Ri=(1/K-1)N~iN~iT of the zero-mean neighbourhood N~i, i.e., N~i=Ni-N-i, where N-i is the column matrix of the mean over dimensions 1,…, d. Sorting the eigenvalues Λ=diagλ1, λ2, , λd in descending order, the eigenvectors Us=u1, , uM, associated with the M largest eigenvalues, span the signal subspace, and the eigenvectors Un=uM+1, , ud, corresponding to the d-M smallest eigenvalues, span the noise subspace, respectively. Then the noise part of neighbourhood Nin can be estimated by projecting N~i into noise subspace, i.e., Nin=UnUnTN~i.

Finally, the neighbourhood Ni is denoised by employing a 2D SWT-based filter and using the estimated noise level for wavelet coefficients thresholding. The 2D dyadic discrete SWT enables to capture the common shape of the phase vectors of neighborhoods. The steps of the final stage of the proposed algorithm are as follows:

1) 2D signal of pure noise Nin is decomposed by 2D multilevel SWT into its approximation coefficients matrix Ain and detail coefficients matrices Dinjc of decomposition level j, where index c denotes the horizontal, vertical and diagonal detail coefficients. The threshold value tijc at decomposition level j is defined as the 0.99 quantile of coefficients Dinjc.

2) Analogous decomposition into its approximation coefficients matrix Ai and detail coefficients matrices Dijc is performed on the 2D noisy signal (neighbourhood) Ni and the coefficients Dijc are adjusted at each decomposition level via soft thresholding using the estimated threshold values tijc. The thresholding of the wavelet coefficients is usually applied only to the detail coefficients rather than to the approximation coefficients, since the latter represent “low-frequency” terms that usually contain important components of the signal, and are less affected by the noise [4].

3) Applying the inverse SWT to the threshold wavelet coefficients, the estimate N^i is obtained, which approximates the neighbourhood of the noise-free vector time series and the central column of the filtered neighbourhood N^i denotes the filtered ith phase point.

4) The steps of filtering are repeated for all phase points.

As each element of the time series xii=1L occurs as an entry of one of d successive phase vectors xk, k=n-d-1τ, , n, there are d enhanced entries that may be different in value [6, 11]. The time-aligned weighted average using the Hamming window as a weighted average transformation over these values is taken as the enhanced element s^n. This process corresponds to a suppression the distortion of the elements in both ends of the phase point, emphasizing the time-centred value of each projected point.

3. Results

First of all, the proposed method was tested on two numerical examples: the x component of the chaotic Rössler system and the nonlinear Duffing oscillator, which is known to describe many important oscillating phenomena in some nonlinear physical and engineering systems. The Rössler attractor is governed by the following system of equations:

3
x˙=-y+z, y˙=x+ay, z˙=b+zx-c.

Here we used a=0.398, b=2.0, and c=4. A time series was generated using the ODE45 integrator in Matlab. The solution was sampled at time intervals δt=0.1 (with a main oscillation period of approximately 67 samples) and 2000 samples, after the first 200 samples were discarded, were adopted for analysis. The nonlinear Duffing oscillator is governed by the following system of equations:

4
y˙=x, x˙=y-y3-δx+γsinωt.

Here we used δ=0.5, γ=0.37, and ω=1.0. A time series was generated using the ODE45 integrator in Matlab, and the solution was sampled at time intervals δt=0.1. All the signals were contaminated with additive white Gaussian noise at various signal-to-noise ratios (SNRs).

The level of the decomposition j=3 and biorthogonal wavelet bior2.2 for the two-dimensional discrete SWT were chosen. For the SWT, if a decomposition at level j is needed, 2j must divide size(Ni,1) and sizeNi,2. Therefore, in this paper we set the embedding dimension d=128 and time delay τ=1, and the first 16 nearest neighbours are used for each reference phase point.

The performance of the denoising process was quantified in terms of SNR improvement (SNRimp) in decibels (dB), and root mean square error (RMSE) defined as follows:

5
SNRimp=10log10n=1Lxn-sn2n=1Lsn-s^n2 , RMSE=1Ln=1Lsn-s^n2 ,

where L is the signal length in samples, sn is the noise-free signal, xn is the observed noisy signal, and s^n is the filtered signal. The performance of the algorithm was evaluated by means of a 20-trial Monte Carlo simulation whereby the signals are contaminated by various realizations of additive zero mean white Gaussian noise at a SNR from 20 to 0 dB. All data processing and analyses were performed with MATLAB software (version R2007b, The MathWorks, Natick, MA).

To appreciate the effectiveness of the proposed algorithm, we first compare its denoising performance with the nearest state-of-the-art approach – classical local subspace method and recently introduced parallel-type fractional zero-phase (PTFZPH) method [12]. It is worth noting that the parameters of the reconstructed phase space (viz. embedding dimension, time delay) and the size of the neighbourhood for both proposed and LP method were defined as identical. The variations of the mean SNRimp values from 20 independent Monte Carlo trials with SNR for these methods applied to the Rössler signal are shown in Fig. 1(a) and the variations of the mean RMSE values are shown in Fig. 1(b). Clearly, the parallel-type fractional zero-phase method leads to the largest distortion of the filtered signal in comparison with the other two methods. Therefore, it is not analyzed hereafter. From Fig. 1, we can see that the proposed algorithm outperforms the local subspace approach at low SNR: from 15 to 0 dB. For example, the proposed algorithm provides about 14.11 dB, on average, improvement in SNRs at SNR = 0 dB, while the classical local subspace approach-based algorithm manages only 10.92 dB of improvement. Similar results are obtained for Duffing oscillator (Fig. 2).

Fig. 1The mean values and standard deviations (with error bars) of the SNRimp and RMSE from 20 independent Monte Carlo trials versus white Gaussian noise level for the Rössler signal

The mean values and standard deviations (with error bars) of the SNRimp and RMSE from  20 independent Monte Carlo trials versus white Gaussian noise level for the Rössler signal

a) SNRimp

The mean values and standard deviations (with error bars) of the SNRimp and RMSE from  20 independent Monte Carlo trials versus white Gaussian noise level for the Rössler signal

b) RMSE

While the SNRimp and RMSE are convenient metrics to quantify the quality of denoising, for a chaotic signal it is important to examine how much the invariant parameters of the underlying nonlinear dynamics such as fractal dimensions, entropies, or Lyapunov exponents, are recovered after denoising. Therefore, we have used for our study two algorithms namely modified 0-1 test and the largest Lyapunov exponent (LLE) for experimental chaos detection in the filtered time series. The 0-1 test [13] is a binary test for chaos detection which does not require any prior knowledge on the equations of the underlying systems. The distinction between regular and chaotic dynamics is extremely clear by means of a diagnostic variable, which has values close to zero for regular orbits and close to one for the chaotic orbits. The test has been successfully applied to continuous time systems, discrete time systems, integer-order systems as well as fractional-order systems [14]. As the use of binary 0-1 test in his first version for chaos detection is limited to detect chaos in oversampled time series observations, a modified 0-1 test is proposed [15], in which, binary 0-1 test is applied to the discrete map of local maxima and minima of the original observable in contrast to the direct observable. In our experiment, the scores of the 0-1 test applied to the filtered Rössler and Duffing signals were in the range of 0.97-0.99 for both proposed and LP denoising algorithms, i.e., detect the dynamics as chaotic, and as results, cannot capture the subtle difference between signals filtered by proposed and LP algorithms. The largest Lyapunov exponent (LLE) in this case appears to be more appropriate for detecting small changes in the dynamics. LLE of the denoised Rössler and Duffing signals was examined, using the algorithm of Rosenstein [16] because of its advantages. The Rosenstein algorithm is fast, easy to implement, and robust to changes in the following quantities: embedding dimension, size of data set, reconstruction delay, and, relatively, noise level. The LLE was calculated using the embedding dimension d=5 and time delay τ=6.

Fig. 2The mean values and standard deviations (with error bars) of the SNRimp and RMSE from 20 independent Monte Carlo trials versus white Gaussian noise level for the Duffing oscillator

The mean values and standard deviations (with error bars) of the SNRimp and RMSE from  20 independent Monte Carlo trials versus white Gaussian noise level for the Duffing oscillator

a) SNRimp

The mean values and standard deviations (with error bars) of the SNRimp and RMSE from  20 independent Monte Carlo trials versus white Gaussian noise level for the Duffing oscillator

b) RMSE

Fig. 3 shows the variation of LLE dependent on SNR for the signal denoised by the proposed algorithm and for the signal denoised by the LP algorithm. In the first case one can see that the LLE decreases with respect to the noise-free case, but remains approximately constant and clearly positive over SNR scales, indicating chaotic underlying dynamics, whereas in the second case, the LLE quickly tends to zero.

In order to evaluate the effectiveness of the proposed algorithm in real world applications, we have applied the algorithm to a human breath time series. It is known [17], that human respiration demonstrates chaotic behaviour. The respiratory signals are taken from the combined measurement of ECG, Breathing and Seismocardiograms Database (cebsdb) (http://physionet.org/physiobank/database/cebsdb/). The clean respiratory signal (from record, numbered b001) with length of 30 fundamental frequency periods was downsampled to about 60 samples per period. Fig. 4(a) shows the SNRimp values and Fig. 4(b) shows the variation of LLE dependent on SNR for the respiratory signal denoised by the proposed algorithm and for the signal denoised by the LP algorithm. As in the case of synthetic signals, the performance of the proposed algorithm is superior to the nearest state-of-the-art LP method.

Fig. 3Largest Lyapunov exponent from 20 independent Monte Carlo trials versus white Gaussian noise level for the clean and filtered Rössler data, the clean and filtered Duffing data

Largest Lyapunov exponent from 20 independent Monte Carlo trials versus white Gaussian noise level for the clean and filtered Rössler data, the clean and filtered Duffing data

a) The clean and filtered Rössler data

Largest Lyapunov exponent from 20 independent Monte Carlo trials versus white Gaussian noise level for the clean and filtered Rössler data, the clean and filtered Duffing data

b) The clean and filtered Duffing data

4. Conclusion

An adaptive strong noise reduction approach based on the over-embedding method for phase space reconstruction and applying a 2D SWT-based filter for neighbourhood array denoising was proposed in this paper. The noise reduction experiment on the noisy Rössler signal, Duffing oscillator, and a real-world signal (respiratory time series) showed that the proposed approach is more effective in removing strong white Gaussian noise, and preserving the characteristics of the underlying nonlinear dynamics, than the routine LP algorithm for continuously sampled noisy time series. The image-oriented filter based on the 2D dyadic discrete SWT enables the capturing of the common shape of the neighborhoods, and also preserves the individual properties of the phase vectors better than LP approach based on linear combinations of the orthogonal components of the neighborhoods. This was demonstrated using convenient metrics to quantify the quality of denoising, i.e., SNRimp, RMSE, and invariants, to characterize deterministic chaos, i.e., LLE. The relative limitation of the proposed algorithm (which is common to all nearest neighbors algorithms) is the excessive amount of computation.

Fig. 4The values of the SNRimp and Largest Lyapunov exponent versus white Gaussian noise level for the respiratory signal

The values of the SNRimp and Largest Lyapunov exponent versus  white Gaussian noise level for the respiratory signal

a) SNRimp

The values of the SNRimp and Largest Lyapunov exponent versus  white Gaussian noise level for the respiratory signal

b) Largest Lyapunov exponent

References

  • Mera M. E., Moran M. Noise reduction by recycling dynamically coupled time series. Chaos, Vol. 21, 2011, p. 043110.
  • Tung W., Gao J., Hu J., Yang L. Detecting chaos in heavy-noise environments. Physical Review E, Vol. 83, 2011, p. 046210.
  • Kantz H., Schreiber T. Nonlinear Time Series Analysis. Cambridge University Press, Cambridge, 2004.
  • Han M., Liu Y. H., Xi J. H., Guo W. Noise smoothing for nonlinear time series using wavelet soft threshold. IEEE Signal Processing Letters, Vol. 14, 2007, p. 62-65.
  • Gao J., Sultan H., Hu J., Tung W.-W. Denoising nonlinear time series by adaptive filtering and wavelet shrinkage: a comparison. IEEE Signal Processing Letters, Vol. 17, 2010, p. 237-240.
  • Sun J., Zhao Y., Zhang J., Luo X., Small M. Reducing colored noise for chaotic time series in the local phase space. Physical Review E, Vol. 76, 2007, p. 026211.
  • Chelidze D. Smooth local subspace projection for nonlinear noise reduction. Chaos, Vol. 24, 2014, p. 013121.
  • Pukenas K. Three-mode biomedical signal denoising in the local phase space based on a tensor approach. Electronics and Electrical Engineering, Vol. 3, 2011, p. 49-52.
  • Mera M. E., Moran M. Reduction of noise of large amplitude through adaptive neighborhoods. Physical Review E, Vol. 80, 2009, p. 016207.
  • Teixeira A. R., Tome A. M., Böhm M., Puntonet C. G., Lang E. W. How to apply nonlinear subspace techniques to univariate biomedical time series. IEEE Transactions on Instrumentation and Measurement, Vol. 58, Issue 8, 2009, p. 2433-2443.
  • Johnson M. T., Povinelli R. J. Generalized phase space projection for nonlinear noise reduction. Physica D, Vol. 201, 2005, p. 306-317.
  • Wanga J., Yea Y., Pana X., Gaoa X. Parallel-type fractional zero-phase filtering for ECG signal denoising. Biomedical Signal Processing and Control, Vol. 18, 2015, p. 36-41.
  • Gottwald G. A., Melbourne I. On the implementation of the 0–1 test for chaos. SIAM Journal on Applied Dynamical Systems, Vol. 8, 2009, p. 129-145.
  • Fouda J. S. A. E., Bodo B., Djeufa G. M. D., Sabat S. L. Experimental chaos detection in the Duffing oscillator. Communications in Nonlinear Science and Numerical Simulation, Vol. 33, 2016, p. 259-269.
  • Fouda J. S. A. E., Bodo B., Sabat S. L., Effa J. Y. A modified 0-1 test for chaos detection in oversampled time series observations. International Journal of Bifurcation and Chaos, Vol. 24, Issue 5, 2014, p. 1450063.
  • Rosenstein M. T., Collins J. J., De Luca C. J. A practical method for calculating largest Lyapunov exponents from small data sets. Physica D, Vol. 65, Issues 1-2, 1993, p. 117-134.
  • Donaldson G. C. The chaotic behaviour of resting human respiration. Respiration Physiology, Vol. 88, Issue 3, 1992, p. 313-321.

Cited by

Chaotic Signal Denoising Algorithm Based on Self‐Similarity
HUANG Jinwang | LYU Shanxiang | CHEN Yue
(2021)

About this article

Received
26 October 2015
Accepted
17 February 2016
Published
30 June 2016
SUBJECTS
Chaos, nonlinear dynamics and applications
Keywords
noise reduction
phase space reconstruction
local projection algorithm
subspace decomposition
wavelet shrinkage