| Literature DB >> 33286139 |
Vinícius S Borges1, Erivelton G Nepomuceno1, Carlos A Duque2, Denis N Butusov3.
Abstract
The finite numerical resolution of digital number representation has an impact on the properties of filters. Much effort has been done to develop efficient digital filters investigating the effects in the frequency response. However, it seems that there is less attention to the influence in the entropy by digital filtered signals due to the finite precision. To contribute in such a direction, this manuscript presents some remarks about the entropy of filtered signals. Three types of filters are investigated: Butterworth, Chebyshev, and elliptic. Using a boundary technique, the parameters of the filters are evaluated according to the word length of 16 or 32 bits. It has been shown that filtered signals have their entropy increased even if the filters are linear. A significant positive correlation (p < 0.05) was observed between order and Shannon entropy of the filtered signal using the elliptic filter. Comparing to signal-to-noise ratio, entropy seems more efficient at detecting the increasing of noise in a filtered signal. Such knowledge can be used as an additional condition for designing digital filters.Entities:
Keywords: computer arithmetic; digital filter; shannon entropy; theory of information
Year: 2020 PMID: 33286139 PMCID: PMC7516848 DOI: 10.3390/e22030365
Source DB: PubMed Journal: Entropy (Basel) ISSN: 1099-4300 Impact factor: 2.524
Figure 1Adaptation of “Schematic diagram of a general communication system” in [44]. In our case, we are interested in looking the channel as a filter and noise source as a consequence of finite precision implementation of the digital filters.
Figure 2Procedure of standardization of the vector in panel (a) for entropy calculation using Equation (15). The result in panel (b) is composed of only integers within 0 to . In this case, we have used bits. Panel (c) shows a random signal with uniform distribution. Fifty runs of this signal produces an entropy of . Increasing the number of samples, this value approaches 8, as expected.
Figure 3Computation of Shannon entropy for three signals. All signals have been standardized according procedure described in Equation (15). (a) Sine wave . (b) Sine wave added with Gaussian noise of and . (c) Sine wave added Gaussian noise of and . The calculated entropy are (a) , (b) , and (c) . The level of Gaussian noise is quite unseeingly; yet the entropy has been sensitive for the increasing of noise. Panels (d–f) show a zoom in the above figure to see the presence of a small level of noise in the signals of panels (b,c).
Sensitivity to variation of the noise for SNR and ESN. The reference signal has been added with Gaussian noise of . Here, we show the difference between the measure of SNR and ESN in relation of this signal. Observe that an increasing of 0.01 in the standard deviation of the signal is able to increase 15.934 in the ESN (entropy) and only 2.635 for the signal-to-noise ratio (SNR). Fifty runs have been employed to calculate mean and standard deviation of these quantities in dB. When the difference between these two signals is only 0.002, the ESN would be more robust to detect this difference than the SNR.
|
| Difference of SNR (dB) | Difference of ESN (dB) |
|---|---|---|
| 0.0200 |
|
|
| 0.0192 |
|
|
| 0.0183 |
|
|
| 0.0175 |
|
|
| 0.0167 |
|
|
| 0.0158 |
|
|
| 0.0150 |
|
|
| 0.0142 |
|
|
| 0.0133 |
|
|
| 0.0125 |
|
|
Order of the filters for Numerical Experiment 1. We have adopted 100 Hz as cut-off frequency in the case of low and high pass. Passband and stopband filters have been designed with 70 and 130 Hz.
| Type Filters | Butterworth | Chebyshev | Elliptic |
|---|---|---|---|
| High-pass | 14 | 8 | 6 |
| Low-pass | 14 | 8 | 6 |
| Passband | 5 | 4 | 3 |
| Stopband | 5 | 4 | 3 |
Input signals for the Numerical Experiment 2. We have designed three types of signals composed by different summation of harmonics. The values of frequencies 1–6 are 40 Hz, 60 Hz, 80 Hz, 130 Hz, 150 Hz, and 170 Hz, respectively. To compare, the input signal was simulated without the filtered frequency components as shown in the third column. This is equivalent to produce an output by an ideal filter. In all cases, a sample rate of 0.001 s has been adopted. Different values or even variable sample rate has not been investigated in this work and let for future research.
| Signal | Complete Signal | Ideally Filtered Signal |
|---|---|---|
| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
Results of the Numerical Experiment 1. Entropy calculation for Butterworth, Chebyshev, and elliptic filter. We have applied our test in 50 types of filters in two word length (WL): 16 and 32 bits. The mean and standard deviation of the 50 results are shown. Values of shown as 0.0000 means that calculated values are lower than 0.00005. The measure of the entropy for the original signal is . From this result, it is clear the increasing in the measured entropy in all filtered signals.
| Type Filters | WL | Butterworth | Chebyshev | Elliptic |
|---|---|---|---|---|
| Low-pass | 16 |
|
|
|
| 32 |
|
|
| |
| High-pass | 16 |
|
|
|
| 32 |
|
|
| |
| Passband | 16 |
|
|
|
| 32 |
|
|
| |
| Stopband | 16 |
|
|
|
| 32 |
|
|
|
Entropy of the original signal, the simulated signal without the frequency components and the filtered signal. The third column is an ideal filtering. As expected, the entropy is reduced. The same does not occur with the use of designed filter based on elliptic type. These tests have been used 32 bits. Similar results have been obtained for Butterworth and Chebyshev. Mean and standard deviation have been calculated over 50 runs for lengths from 1024 to 6024 samples of the signal.
| Signal | Original | Ideally Filtered | Elliptic |
|---|---|---|---|
| 1 |
|
|
|
| 2 |
|
|
|
| 3 |
|
|
|
Entropy calculation with order variation for three types of filters. We have used the software PSPP to perform the regression and significance analysis. A significant positive correlation between order and filter types are found only for elliptic filter. Although there is for Chebyshev, its p-value = which means that there is no statistical significance. Correlation is significant at the 0.05 level (2-tailed) for elliptic with p-value equals to 0.030. We have performed our calculations using word length of 32 bits. The values are average of 50 runs for different length of time series within 1024 to 6024 samples.
| Order | Butterworth | Chebyshev | Elliptic |
|---|---|---|---|
| 1 |
|
|
|
| 2 |
|
|
|
| 3 |
|
|
|
| 4 |
|
|
|
| 5 |
|
|
|
| 6 |
|
|
|
| 7 |
|
|
|
| 8 |
|
|
|
|
| – | 0.700 | 0.760 |
| – | 0.052 | 0.030 |
Figure 4(a) FFT of signal 2, Table 3—Complete signal; (b) FFT of signal 2 in Table 3—Ideally Filtered signal; (c) FFT of Chebyshev filter. The FFT computations the expected similarity between the signals. This is another point that makes relevant to investigate the effect of digital filter in the entropy of the filtered signal.