System and Method for Adaptive Interference Suppression
20220175322 · 2022-06-09
Inventors
Cpc classification
G06F2218/06
PHYSICS
A61B5/349
HUMAN NECESSITIES
International classification
A61B5/00
HUMAN NECESSITIES
Abstract
The disclosed invention provides a system and method for adaptive interference suppression for a signal in general and an ECG signal in particular. The method includes acquisition of a signal through an acquisition process. The signal is further passed through an FFT module configured to perform time windowing and FFT operation on the signal. The method further includes setting one or more fixed or adaptive thresholds for detecting tonal interferers in the signal. The method further includes choosing an appropriate filter for filtering the detected tonal interferers in the signal. Further, the detected tonal interferers are removed using the chosen appropriate filter. Finally, the method includes removing padding from the signal to eliminate residual edge effects.
Claims
1. A system for adaptive interference suppression for removing tonal interferers in a signal comprising: at least one electrode to detect an electric signal in a living being; and a digital signal processing unit for processing the signal to remove tonal interferers, wherein the digital signal processing unit comprises: an FFT module configured to perform FFT on the signal; a threshold calculation module configured with one or more fixed or adaptive thresholds for detection of tonal interferers in the signal; a threshold calculation module configured to detect tonal interferers in the signal by comparing the signal with the set one or more fixed or adaptive threshold; and a filter module configured to choose an appropriate filter for filtering the detected tonal interferers in the signal.
2. The system of claim 1, comprising a signal selection unit, wherein the signal selection unit further comprises: a signal acquisition module configured for acquiring the signal from the at least one electrode; and a processing module configured to remove padding and eliminate residual edge effects in the signal.
3. The system of claim 2, wherein the signal acquisition module acquires the signal in form of ‘L+2p’ samples, wherein the component ‘L’ represents a number of samples required in the signal, and the component ‘p’ represents a number of padding samples required on each end of the signal.
4. The system of claim 2, wherein the signal acquisition module acquires the signal in form of ‘L+p’ samples, wherein the component ‘L’ represents a number of samples required in the signal, and the component ‘p’ represents a number of padding samples required on one end of the signal.
5. The system of claim 1, wherein the filter module configures a filter for a tonal interferer of a particular frequency, in case there is no filter corresponding to the said frequency.
6. The system of claim 1, wherein the threshold calculation module is configured to set one or more of a frequency threshold and an amplitude threshold.
7. The system of claim 1, wherein the detection module is configured to detect tonal interferers in the signal, and wherein the detection of the tonal interferers is through identification of frequencies and amplitudes in the signal that exceed the set one or more fixed or adaptive threshold.
8. The system of claim 1, wherein the filter module is configured to: filter a predetermined amount required by the signal for a particular tonal interference; and provide a distortion free filtered output of the signal.
9. The system of claim 1, wherein the filter module is configured to pass the signal through a ‘pass-through’ filter in case the signal does not comprise any tonal interferers.
10. A method for adaptive interference suppression in a signal, wherein the method comprises: using at least one electrode to detect an electrical signal in a living being; performing a Fast Fourier Transform on the signal by passing the signal through an FFT module; setting one or more fixed or adaptive thresholds for detection of tonal interferers in the signal by using a threshold calculation module; detecting tonal interferers in the signal by comparing the output of the FFT module with the one or more thresholds, by using a detection module; choosing an appropriate filter for filtering the detected tonal interferers, by using a filter module; and removing the detected tonal interferers by using the chosen appropriate filter.
11. The method of claim 10, wherein the method comprises: acquiring the signal from the at least one electrode through an acquisition process by using a signal selection unit comprising a signal acquisition module; and removing padding from the signal to eliminate residual edge effects in the signal, by using a processing module.
12. The method of claim 11, wherein the acquisition process comprises acquiring the signal through a signal acquisition module such that the signal is in the form of ‘L+2p’, wherein the component ‘L’ represents a number of samples required in the signal, and the component ‘p’ represents a number of padding samples required on each end of the signal.
13. The method of claim 10, wherein the method comprises: setting one or more of a frequency threshold and an amplitude threshold during the setting of the one or more fixed or adaptive thresholds, by using a threshold calculation module; and identifying the tonal interferers in the signal by using the one or more fixed or adaptive thresholds.
14. The method of claim 10, wherein the detecting comprises identifying frequencies and amplitudes in the signal that exceed the one or more fixed or adaptive thresholds, wherein the detecting is implemented by using a detection module.
15. The method of claim 10, wherein choosing an appropriate filter comprises choosing a filter tuned to remove the tonal interferers detected in the signal or choosing a ‘pass-through’ filter in case no tonal interferers are detected in the signal, and wherein the ‘pass-through’ filter is configured to pass the signal without any filtering or modification.
16. The method of claim 10, comprising: filtering a predetermined amount required by the signal for a particular tonal interference by using the chosen appropriate filter; and providing a distortion-free filtered output of the signal.
17. The method of claim 10 comprising passing the signal through a ‘pass-through’ filter in case the signal does not comprise any tonal interferers, by using a filter module.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0015] This invention is illustrated in the accompanying drawings, throughout which, like reference letters indicate corresponding parts in the various figures.
[0016] The embodiments herein will be better understood from the following description with reference to the drawings, in which:
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
DESCRIPTION OF THE INVENTION
[0027] The embodiments herein and the various features and advantageous details thereof are explained more fully with reference to the non-limiting embodiments that are illustrated in the accompanying drawings and/or detailed in the following description. Descriptions of well-known components and processing techniques are omitted so as to not unnecessarily obscure the embodiments herein. The examples used herein are intended merely to facilitate an understanding of ways in which the embodiments herein may be practiced and to further enable those of skill in the art to practice the embodiments herein. Accordingly, the examples should not be construed as limiting the scope of the embodiments herein.
[0028] ECG signals are episodic in nature and are collected under a variety of conditions, with varied interferences that can be present in the ECG signals. Different filters and filtering techniques are required for different interfering frequencies. The method disclosed herein describes an approach wherein the ECG signal is not filtered unless an interference is detected. Further, only detected interfering frequencies are removed through filtering. The disclosed method is useful to minimize negative impacts of notch filters, such as phase distortion or pass band ripples in the filtered signal. Additionally, the method also discloses an acquisition process configured to overcome edge effects completely. The current disclosure also discloses a system configured to generate distortion free outputs for signals within a band of interest comprising strong tonal interferers.
[0029] The method comprises acquiring a signal through an acquisition process. The acquisition process is configured to acquire at least one signal in the form of L+2p′, wherein the component ‘L’ is number of samples required in the signal and component ‘p’ is number of padding samples required on either end of the signal. The acquired signal is preferably an ECG signal. The method further comprises passing the signal through a (Fast Fourier Transform) FFT module for performing Fast Fourier Transform on the signal. The FFT module is further configured to time-window the signal using a time-windowing function prior to performing FFT on the signal. The time-windowing function is preferably Blackman Harris. The time windowing operation is typically used to minimize the side-lobes resulting from FFT performed on the signal.
[0030] The present invention provides a system and method for adaptive interference suppression for a signal in general and an ECG signal in particular.
[0031]
[0032] The effect of tonal interferers on an ECG signal is shown in
[0033]
[0034]
[0035] In an embodiment, the original ECG signal depicted in
[0036] ECG signals are typically captured for a duration of 10 seconds in common practice. However, in the method disclosed by the current invention, the ECG signal is captured for a slightly longer duration i.e., for more than 10 seconds. In the present case, the signal is preferably recorded for duration of 12 seconds. The ECG signal that is captured for a slightly longer duration, i.e., 12 seconds instead of 10 seconds, is captured such that there is an additional recording of one second on either side of the ECG signal (i.e., ECG signal=1 second+10 second+1 second, wherein the signal in the 10 second duration is termed as a band of interest). The additional recording of 1 second on either side of the signal has an effect equivalent to pre-padding and post-padding the signal. The additional recording of 1 second on either side of the signal is advantageous because it helps in the removal of edge effects when the signal is processed. In a preferred embodiment of the invention, the ECG signal is processed by using a forward-backward algorithm, if an IIR filter is used. The forward-backward algorithm is configured to minimize phase distortion of the signal wherein IIR filters are used for filtering the signal. Further, usage of forward-backward algorithm is not required if a linear phase FIR filter is used for processing of ECG signal in the preferred embodiment.
[0037]
[0038]
[0039] The tonal interferences at 50 Hz and 150 Hz are detected by setting one or more fixed or adaptive thresholds, as explained further in
[0040]
[0041]
[0042]
[0043] The method 700 further comprises choosing an appropriate filter for filtering the detected tonal interferers, as depicted at step 710. Choosing an appropriate filter comprises either choosing a filter tuned to remove the tonal interferes detected in the signal or choosing a ‘pass-through’ filter in case no tonal interferers are detected in the signal. The ‘pass-through’ filter is configured such that the signal is passed through without any modification/filtering. The method 700 further comprises removing the detected tonal interferers based on the comparison, as depicted at step 712. Finally, the method comprises removing padding from the signal to eliminate residual edge effects resulting from the FFT performed on the signal, as depicted at step 714.
[0044] In an alternate embodiment, m case the method 700 is to be applied to a continuous signal, only steps 704 to steps 712 may be carried out. In particular, steps 702 of acquiring the signal through an acquisition process and step 714 of removing the padding may not be implemented.
[0045]
[0046]
[0047] The system 806 further comprises a threshold calculation module 906. The threshold calculation module 906 comprises one or more of fixed or adaptive thresholds. The one or more fixed or adaptive threshold comprises one or more of a frequency threshold and an amplitude threshold. The fixed or adaptive threshold is used further in identifying tonal interferers in the ECG signal 804. The system 806 further comprises a detection module 908 configured to detect tonal interferers in the ECG signal 804. The detection of tonal interferers in the ECG signal 804 is performed by identifying frequencies and amplitudes in the ECG signal 804 that exceed the set fixed or adaptive threshold.
[0048] The system 806 further comprises a filter module 910. The filter module 910 is configured for choosing an appropriate filter for filtering detected tonal interferers. Choosing an appropriate filter comprises either choosing a filter tuned to remove the tonal interferes detected in the ECG signal 804 or choosing a ‘pass-through’ filter if no tonal interferers are detected in the ECG signal 804. The ‘pass-through’ filter is configured such that the ECG signal 804 is passed through without any modification/filtering. The system 806 further comprises a processing module 912. The processing module 912 is configured to remove the detected tonal interferers in the ECG signal 804. The processing module 912 is further configured to remove padding (‘2p’ component of the ECG signal 804 or any other extra padding if present) from the ECG signal 804. The processing module 912 is further configured to eliminate residual edge effects resulting from FFT performed on the ECG signal 804. The resulting ECG signal 914 can be further processed for storage, recording, display or diagnosis.
[0049] The working of the invention is explained as follows, according to a preferred embodiment of the invention. An ECG signal 804 is captured through the acquisition process described at step 702 of
[0050] Further, the ECG signal 804 is fed into the threshold calculation module 906. The threshold calculation module 906 comprises one or more fixed or adaptive thresholds for identifying or detecting tonal interferers. An adaptive threshold used as a function of a power spectrum of the ECG signal 804 is preferred. Assuming that all tonal interferers are above a particular frequency ‘F’ (F is typically around 50-150 Hz) a preferred method to set threshold ‘T’ is to configure T at a scaled down value of peak spectral component. The peak spectral component is measured within the region of primary signal content of the ECG signal 804 (typically <F).
[0051] Further, the tonal interferers are detected by the detection module 908. The detection of tonal interferers is performed by identifying frequencies and amplitudes in the ECG signal 804. Identification and detection are performed by checking for frequencies and amplitudes within the corresponding FFT spectrum, wherein the frequencies and amplitudes exceed set threshold ‘T’. The typical frequency content of an ECG is less than 45-50 Hz, 0hence search and identification of tonal interferers is carried out only at frequencies above said frequency range of 45-50 Hz.
[0052] Subsequent to the identification and detection of the tonal interferers, the ECG signal 804 is fed into the filter module 910. An appropriate filter comprised within the filter module 910 is chosen for filtering or suppressing the tonal interference. If no tonal interferers are found in the ECG signal 804, then the ECG signal 804 is considered to be “clean” and is let through a “pass-through” filter (configured not to modify the input signal in any manner). Alternately, if tonal interferers are detected, an appropriate filter comprised within the filter module 910 is chosen. Additionally, if no appropriate filter is found within the filter module 910, then the ECG signal 804 is let through a “pass-through” filter. The appropriate filter is chosen such that the filter is configured/tuned to remove the detected tonal interferes. Thus, only an appropriate amount of filtering that is required for a particular interference scenario is used on a case to case basis. Further, the ECG signal 804 is fed into the processing module 912. The processing module 912 is configured to strip off extra padding samples ‘p’ on either end of the ECG signal 804 to get a distortion free filtered output.
[0053] In another preferred embodiment, the one or more fixed or adaptive thresholds may be set either at typical interferer frequencies that are encountered in common practice (say at 50, 75, 100, 125, 150, 175, 200, Hz) or at a frequency that is indicated prominently m an FFT spectrum corresponding to the acquired ECG signal.
[0054] The filter module 910 is further configured to perform an adaptive configuration of filters for removing tonal interferences. The adaptive configuration of the filter involves configuring a filter in a manner such that the selected filter is appropriate for removing the detected tonal interference. For example, in a situation the filter module 910 comprises a filter that is suitable for filtering of tonal interferences of 50 Hz, wherein a tonal interference of 57 Hz is detected in the system. In such a situation, the filter module 910 may choose the 50 Hz filter and configure or modify the filter such that the filter is appropriate for removing a tonal interference of 57 Hz. The above-explained feature of adaptive configuration of filters is advantageous in situations wherein the detected tonal interference varies from the filters provided within the system.
[0055] In yet another preferred embodiment, the system 806 may be constructed in a form of a compact device, i.e., in a box unit. The compact device may also comprise a signal selection unit, wherein the signal selection unit further comprises the signal acquisition module 902 and the processing module 912. The compact device may be configured to acquire the signal 804 in the form of ‘L+2p’ or ‘L+p’ based on the type of filters used in the system.
[0056] In an alternate embodiment, the compact unit may be configured to be embedded or attached to a user unit, wherein the user unit may be a portable medical device, an ECG device, a smart phone, a smart watch, a fitness band, a wearable device, and the like.
[0057] In an embodiment, the compact device can be configured to monitor a user's ECG data continuously. In some embodiments wherein the compact device monitors data continuously, the signal may be acquired in the form of ‘L+2p’ or ‘L+p’, wherein the component ‘p’ is considered to be equal to zero. Alternatively, the compact device may not include the signal acquisition module 902 and the processing module 912, as the continuous signal input would not require padding and removal of padding. In a further embodiment, this continuous signal input may be shared over one or more communication networks to the system 806 for removing tonal interferers.
[0058] The advantages of the current invention include ‘selective filtering’. Selective filtering suppresses typical issues like phase or amplitude distortion in ECG signals. Further, if an ECG signal is found to be ‘clean’, then the ECG signal is progressed through a ‘pass-through’ filter, which does not modify the ECG signal in any manner. It is also pertinent to mention here that continuous filtering of ECG signals using IIR filters is not performed in the current invention, because such an approach would introduce phase distortion into ECG signals.
[0059] In an exemplary embodiment, the current invention was used to process a large variety of ECG signals collected from different ECG measurement apparatus and environments. All the collected ECG signals were at least 10 second (5000 samples) episodic ECGs collected at a sampling rate of 500 Hz. A threshold ‘T’ was used to search for and identify tonal interferers at frequencies greater than or equal to F=50 Hz (since the spectral content of the ECG signal content is typically less than 50 Hz). The threshold ‘T’ used for flagging a presence of tonal interferers was set at T=K.P, where K is a constant (set to 0.25 for testing) and P is peak magnitude response for frequencies less than F. A vast majority of the collected ECG signals were found to be ‘clean’. Such ‘clean’ ECG signals are passed unfiltered for further processing.
[0060] Often ECG signals corrupted with tonal interferers and their harmonics were encountered. Tonal interferers were frequently found at 50 Hz and 150 Hz. ECG signals with tonal interferers were passed through pre-designed filters with thresholds set at 50 Hz and 150 Hz. As expected, the current filtering method significantly removed/suppressed the tonal interferers and provided a far better representation of the ECG signal in comparison with prior art techniques. Also on examination of a large number of samples (L=10000, p=2000), it was observed that edge effects in the ECG signal can be completely removed by usage of current invention.
[0061] The foregoing description of the specific embodiments will so fully reveal the general nature of the embodiments herein that others can, by applying current knowledge, readily modify and/or adapt for various applications such specific embodiments without departing from the generic concept, and, therefore, such adaptations and modifications should and are intended to be comprehended within the meaning and range of equivalents of the disclosed embodiments. It is to be understood that the phraseology or terminology employed herein is for the purpose of description and not of limitation. Therefore, while the embodiments herein have been described in terms of preferred embodiments, those skilled in the art will recognize that the embodiments herein can be practiced with modification within the scope of the embodiments as described here.