Next Article in Journal
Annealed Gallium-Doped Zinc Oxide (ZnO:Ga) Thin Films for Sub-ppm NO2 Sensing
Previous Article in Journal
Non-Stationary Gas Sensors Based on WSe2 or MoS2 Calibrated upon NH3 Exposure
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Abstract

Modified Local Regression for Signal Resampling †

Institute for Microsensors, -actuators and -systems (IMSAS), University Bremen, 28359 Bremen, Germany
*
Author to whom correspondence should be addressed.
Presented at the XXXV EUROSENSORS Conference, Lecce, Italy, 10–13 September 2023.
Proceedings 2024, 97(1), 68; https://doi.org/10.3390/proceedings2024097068
Published: 21 March 2024
(This article belongs to the Proceedings of XXXV EUROSENSORS Conference)

Abstract

:
The resampling of sensor signals to compensate for deviating sampling intervals, clock jitter, or missing samples is still challenging. Real-time applications demand low latency and restriction of the input data window to past samples. Furthermore, most practical sensor signals are overlaid with noise. A new resampling method that provides a lower error than four other common interpolation methods under such conditions is introduced.

1. Introduction

The measurement data from wireless sensors must often be resampled to comply with the requirements of subsequent signal processing. The Whittaker–Shannon interpolation [1] provides exact reconstruction only for optimal signal conditions, i.e., uniformly sampled signals with a band limit of half the sampling frequency (Nyquist frequency), infinite length, and absence of noise.
Most of these conditions are not fulfilled in real measurement tasks. Measurements contain noise. Especially for the task of real-time resampling with low latency [2], the window with the available measurements is restricted to past values. Furthermore, single measurements can be lost or delayed by communication problems, resulting in non-uniform sampling time points.
Alternate methods for non-uniform resampling entail high mathematical effort, e.g., Lagrange interpolation [3] requires the calculation of a high-order polynomial, and Kriging interpolation [4] is based on a matrix inversion of order equal to the window length. Akima interpolation [5] provides a simple solution. However, it requires the collection of three future samples ahead of the prediction target and is less accurate. Local polynomial regression (LPR) [6], also known as locally estimated scatterplot smoothing (LOESS), is less complex and does not require additional future samples. Each target point for the resampled signal is locally fitted using a square function. The input data are weighted using a tri-cube kernel. The square function can adapt well to the curve of a single peak, but it cannot use information from the previous peak of a periodic signal.

2. New Interpolation Method

We present a new local regression method based on Fourier approximation instead of polynomials. It applies the same local weighting process as in LPR. The set of base functions includes three or four pairs of sine and cos functions plus constant and linear elements. We call this method ‘local Fourier regression’ (LFR).

3. Test Method

Sine waves and bandlimited noise were applied as test signals. Test files for uniform sampling with an interval of TS = 1 s, missing every 11th sample, or sampling with random jitter of max. ±1/4 TS time deviations were created. Kriging, Lagrange, Akima, LPR, and LFR methods were applied to resample the signal to TR = 0.1 s. The root-mean-square error (RMSE) between the original and resampled signal was calculated. The input frequency or noise band limit was varied during a frequency sweep, and the RMSE was plotted as an indicator for the resampling accuracy. The noise sensitivity was tested by adding white noise with 0.001 (−60 dB) times the average amplitude of the input signal.

4. Results and Discussion

The real-time mode, with only past samples known, was the most critical case during the simulations and had the highest resampling error. An acceptable RMSE < 40 dB can only be achieved for a signal bandwidth fB < 0.3 Hz, which is 1/3 less than the Nyquist frequency (Figure 1a). For the noise-free case, Kriging always performed better than LFR. Lagrange provides a lower error for fB < 0.12 Hz but at the cost of a higher error at other frequencies.
Kriging, Lagrange, and LFR turned out to be very noise-sensitive, with an RMSE of 7 dB to 14 dB above the noise floor (Figure 1b). Akima and LPR are less noise-sensitive but must be excluded due to their poor overall performance, except for fB < 0.09 Hz. In general, LFR showed the best performance with an RMSE < −50 dB for fB < 0.25 Hz.

Author Contributions

R.J. developed the concept of the new method. Y.K. carried out the programming and testing. W.L. supervised the project. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available upon request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Shannon, C.E. Communication in the presence of noise, classical paper 1949. Proc. IEEE 1998, 86, 447–457. [Google Scholar] [CrossRef]
  2. Kim, S.C.; Bhattacharyya, S.S. Implementation of a Low-Complexity Low-Latency Arbitrary Resampler on GPUs. In Proceedings of the 2014 IEEE Dallas Circuits and Systems, Dallas, TX, USA, 12–13 October 2014; pp. 1–4. [Google Scholar]
  3. Zayed, A.I.; Butzer, P.L. Lagrange Interpolation and sampling theorems. In Non-uniform Sampling: Theory and Practice, Marvasti; Springer: Berlin/Heidelberg, Germany, 2001; pp. 123–168. [Google Scholar] [CrossRef]
  4. Jedermann, R. Feasibility of Low Latency, Single-Sample Delay Resampling—A New Kriging Based Method. Algorithms 2023, 16, 203. [Google Scholar] [CrossRef]
  5. Patki, A.; Thiagarajan, G. Low Complexity, Low Latency Resampling of Asynchronously Sampled Signals. In Proceedings of the International Conference on Signal Processing and Communications (SPCOM), Bangalore, India, 12–15 June 2016; pp. 1–5. [Google Scholar]
  6. Hastie, T.J.; Tibshirani, R.J.; Friedman, J.H. The Elements of Statistical Learning: Data Mining, Inference, and Prediction, 2nd ed.; Springer: New York, NY, USA, 2009. [Google Scholar] [CrossRef]
Figure 1. RMSE as a function of the band-limit test signal. Reconstruction for real-time mode with only past samples known. (a) Clean input signal. (b) Input signal overlaid with −60 dB white noise.
Figure 1. RMSE as a function of the band-limit test signal. Reconstruction for real-time mode with only past samples known. (a) Clean input signal. (b) Input signal overlaid with −60 dB white noise.
Proceedings 97 00068 g001
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Jedermann, R.; Kapoor, Y.; Lang, W. Modified Local Regression for Signal Resampling. Proceedings 2024, 97, 68. https://doi.org/10.3390/proceedings2024097068

AMA Style

Jedermann R, Kapoor Y, Lang W. Modified Local Regression for Signal Resampling. Proceedings. 2024; 97(1):68. https://doi.org/10.3390/proceedings2024097068

Chicago/Turabian Style

Jedermann, Reiner, Yogesh Kapoor, and Walter Lang. 2024. "Modified Local Regression for Signal Resampling" Proceedings 97, no. 1: 68. https://doi.org/10.3390/proceedings2024097068

APA Style

Jedermann, R., Kapoor, Y., & Lang, W. (2024). Modified Local Regression for Signal Resampling. Proceedings, 97(1), 68. https://doi.org/10.3390/proceedings2024097068

Article Metrics

Back to TopTop