FRAME BASED SPIKE DETECTION MODULE
20170296081 · 2017-10-19
Inventors
Cpc classification
A61B5/7282
HUMAN NECESSITIES
A61B5/24
HUMAN NECESSITIES
A61B2560/0475
HUMAN NECESSITIES
A61B5/0205
HUMAN NECESSITIES
A61B5/352
HUMAN NECESSITIES
International classification
A61B5/00
HUMAN NECESSITIES
Abstract
A method and device for biomedical recording of biomedical spike signals is provided. The method includes extracting and aligning possible biomedical spike signals from received signals and, thereafter, performing spike detection by determining whether the possible biomedical spike signals are actual spike signals. The biomedical spike signals are preferably selected from electrocardiography (ECG), electroencephalography (EEG) and neural signals.
Claims
1. A method for recording biomedical spike signals, wherein the biomedical signals comprise one or more of electrocardiography (ECG) signals, electroencephalography (EEG) signals or neural signals, the method comprising: extracting possible biomedical spike signals from received signals, wherein the possible biomedical spike signals are serially received signals and wherein a frame-based sample comprises a portion of the serially received signals including a data peak signal and a plurality of signals received before the data peak signal and a plurality of signals received after the data peak signal; aligning the possible biomedical spike signals in accordance with the data peak signal of each frame-based sample; and thereafter performing spike detection on the frame-based samples of the possible biomedical spike signals by determining whether the possible biomedical spike signals are actual biomedical spike signals in response to energy clustering of the frame-based sample of the possible biomedical spike signals.
2. The method in accordance with claim 1 wherein the aligning step comprises automatically aligning the possible biomedical spike signals as they are extracted from the received signals.
3. (canceled)
4. (canceled)
5. The method in accordance with claim 1, wherein the step of determining whether the frame-based sample of the possible biomedical spike signals are actual biomedical spike signals comprises determining whether the frame-based sample of the possible biomedical spike signals are actual biomedical spike signals in response to frame-based energy clustering calculations of the frame-based sample of the possible biomedical spike signals.
6. The method in accordance with claim 5 wherein the step of determining whether the frame-based sample of the possible biomedical spike signals are actual biomedical spike signals further comprises comparison of the frame-based energy clustering calculation of the frame-based sample of the possible biomedical spike signals with a spike threshold dynamically updated in response to the energy clustering calculation of each frame-based sample of the possible biomedical spike signals.
7. The method in accordance with claim 5 wherein the step of determining whether the frame-based sample of the possible biomedical spike signals are actual biomedical spike signals further comprises enhancing the frame-based energy clustering calculations of each possible biomedical spike signal by enhancing contrast of each frame-based sample of the possible biomedical spike signal before the energy clustering calculations by simultaneously calculating signal enhancements in accordance with a plurality of acceleration calculation methods.
8. The method in accordance with claim 7 wherein the plurality of acceleration calculation methods comprise one or more acceleration calculation methods selected from the group comprising a first acceleration calculation method for calculating the sum of the absolute value of all multiple data samples within the frame-based sample of the possible biomedical spike signal, a second acceleration calculation method for calculating the squared root of the sum of squared values of each data sample in the multiple data samples within the frame-based sample of the possible biomedical spike signal, and a third acceleration calculation method for calculating the variance of each data sample in the multiple data samples within the frame-based sample of the possible biomedical spike signal.
9. The method in accordance with claim 1 further comprising transmitting signals comprising the actual biomedical spike signals.
10. A biomedical signal recording device for recording biomedical signals selected from electrocardiography (ECG) signals, electroencephalography (EEG) signals and neural signals, the biomedical signal recording device comprising: a preliminary alignment module for extracting possible biomedical spike signals from received signals while automatically aligning the possible biomedical spike signals, the preliminary alignment module comprising: an analog-to-digital converter (ADC) for converting serially received analog biomedical signals into serially received discrete-time data signals; and a memory device coupled to the ADC for capturing a frame of multiple data samples as each possible biomedical spike signal, wherein each frame of multiple data samples of the serially received discrete-time data signals comprises a data peak signal and a plurality of signals received before the data peak signal and a plurality of signals received after the data peak signal, and wherein the preliminary alignment module automatically aligns the possible biomedical spike signals by frame-based automatically aligning each possible biomedical spike signal in accordance with the data peak signal of each frame-based sample; and a spike detection module coupled to the preliminary alignment module for receiving the possible biomedical spike signals therefrom and for determining whether the possible biomedical spike signals are actual biomedical spike signals, the spike detection module comprising an energy clustering calculator coupled to the memory of the preliminary alignment module for energy clustering of the possible biomedical spike signals to extract a single valued feature from the multiple data samples of the serially received discrete-time data signals to determine whether the possible biomedical spike signals are actual biomedical spike signals.
11.-13. (canceled)
14. The biomedical recording device in accordance with claim 13 wherein the spike detection module comprises a dynamic threshold module coupled to the energy clustering calculator, the dynamic threshold module comprising: a dynamic threshold updater for dynamically updating a spike threshold in response to the extracted single valued feature; and a comparator for comparison of the extracted single valued feature with the dynamically updated spike threshold to determine whether the extracted single valued feature comprises an actual biomedical spike signal.
15. The biomedical recording device in accordance with claim 13 wherein the spike detection module further comprises a plurality of accelerators coupled between the memory device of the preliminary alignment module and the energy clustering calculator for enhancing the frame-based energy clustering calculations of each possible biomedical spike signal by the energy clustering calculator by enhancing contrast of the multiple data samples of the possible biomedical spike signal.
16. The biomedical recording device in accordance with claim 15 wherein the plurality of accelerators comprise one or more accelerators selected from the group comprising a first calculator for calculating the sum of the absolute value of all the multiple data samples within the memory device, a second calculator for calculating the squared root of the sum of squared values of each data sample in the multiple data samples within the memory device, and a third calculator for calculating the variance of each data sample in the multiple data samples within the memory device.
17. The biomedical recording device in accordance with claim 16 wherein the plurality of accelerators comprises the third calculator, and wherein the energy clustering calculator extracts the single valued feature from the multiple data samples in accordance with
18. The biomedical recording device in accordance with claim 10 further comprising transmission circuitry for transmitting wireless signals comprising the actual biomedical spike signals, the transmission circuitry including a transmission switch, a transmission module and an antenna, wherein the transmission switch operates under control of the spike detection module for forwarding the actual biomedical spike signals to the transmission module for wireless transmission thereof.
19. (canceled)
20. The biomedical recording device in accordance with claim 19 wherein the biomedical spike signals comprise neural signals, the biomedical recording device further comprising a biocompatible housing for enclosing the preliminary alignment module and the spike detection module for implantable wireless neural recording.
21. The biomedical recording device in accordance with claim 10, wherein the wherein the preliminary alignment module comprises a memory address control unit coupled to the memory device for frame-based automatically aligning each possible biomedical spike signal by aligning each of the multiple data samples captured in the memory device in accordance with the data peak signal of the frame-based sample stored in the memory device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying figures, where like reference numerals refer to identical or functionally similar elements throughout the separate views and which together with the detailed description below are incorporated in and form part of the specification, serve to illustrate various embodiments and to explain various principles and advantages in accordance with a present invention, by way of non-limiting example only, wherein:
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020] Skilled artisans will appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been depicted to scale. For example, the elements of the block diagram of
DETAILED DESCRIPTION
[0021] The following detailed description is merely exemplary in nature and is not intended to limit the invention or the application and uses of the invention. Furthermore, there is no intention to be bound by any theory presented in the preceding background of the invention or the following detailed description. It is the intent of this invention to present a system and method for highly accurate real-time spike detection that is suitable for biomedical devices. The system has low complexity and low energy consumption while simultaneously extracting and aligning possible spike signals and thereafter detecting whether the possible spike signals are actual spike signals.
[0022] Biomedical signals such as electrocardiography (ECG) and electroencephalography (EEG) include potentially firing spike-like signals, like neural signals, whose energy are highly centralized (i.e., a small number of samples dominate the whole frame). The following terms are defined in accordance with a present embodiment. A “spike” is a peak signal (e.g., a potentially firing neural spike-like signal). A “spike signal” is defined as a portion of data which contains a peak (i.e., a spike) as well as some samples before and after the peak. A “frame” is defined as the portion of data of the spike signal which has a predefined data width.
[0023] “Energy clustering” is defined as clustering of the amplitude of signals within a data frame. Spike signals and noise signals are distinct in terms of the degree of energy clustering of the signal. Referring to
[0024] “Frame-based energy clustering” is defined as energy clustering of the signals within a data frame. Frame-based energy clustering is only sensitive to the relative difference among the samples while it is not sensitive to baseline drifting. And an “accelerator” is defined as a calculator which performs a predetermined function with a data frame to enhance contrast of multiple data samples of the data frame in order to enhance frame-based energy clustering calculations of the data frame.
[0025] Existing detector modules are sensitive to noise signals which are dispersive and generally randomly distributed (i.e., the energy of noise signals typically tends to be equally distributed). In accordance with the present embodiment, preliminary spike alignment is performed as a first step of data reduction since only those frames satisfying the specified spike alignment criteria are sent for energy clustering calculations, thereby reducing the energy clustering calculations to provide reduced energy consumption without reducing the accuracy of spike detection. Accuracy is maintained because the preliminary spike alignment ensures the all potential spikes are measured using energy clustering calculator thereby reducing the miss detection rate. In addition, further energy consumption reduction can be obtained and hardware cost and size can be reduced by reusing the energy clustering index of aligned spikes in the possible spike sorting.
[0026] Conventional spike detectors perform spike detection and spike alignment independently without considering the local maxima problem. This leads to false alarming as the peak identified might not be the maxima across the entire frame. In order to address this problem and save hardware cost on spike alignment, a novel hardware architecture in accordance with the present embodiment aligns the preliminary spike first and subsequently performs spike detection.
[0027] Referring to
[0028] Referring to
[0029] Referring back to
where x.sub.L denotes the preliminary spike signal, var{•} denotes the variance computation by the variance accelerator 232, eps is a sufficiently small constant that prevents zero division, and a is a weighting factor that can either be a constant or a time-varying variable. It should be noted that the energy clustering calculator 234 extracts a single valued feature from the multiple data samples of the preliminary spike signal. In accordance with the present embodiment, the preliminary spike is determined to be highly energy clustered if EC{x.sub.L} is large.
[0030] Frame-based energy clustering in accordance with the present embodiment performs advantageous spike detection by energy clustering after quantitatively measuring the relative difference between all the data within the frame by the variance accelerator 232 and ensuring the sensitivity of the energy clustering measurement to the variation within the discrete-time series by energy clustering after the L1-norm accelerator 228 and the L2-norm accelerator have enlarged the contrast between the data in the frame by the ratio between the L1-norm calculation and the L2-norm calculation.
[0031] A dynamic threshold module 236 is coupled to the energy clustering calculator 234 to define a clear threshold line to extract spike data by a dynamic spike threshold comparison by a comparator 248 with the energy clustered possible spike signal from the energy clustering calculator 234 to determine whether the energy clustered possible spike signal is an actual spike signal. The dynamic threshold module 236 generates a new threshold 238 which is derived from its previous value and the current output from the energy clustering calculator 234 for each possible spike in the following manner: the current output from the energy clustering calculator 234 is multiplied by forgetting factor λ 240 which has a range from zero to one and is normally close one; the result is delayed by z.sup.−1 242, where z.sup.−1 is the standard delay unit in digital signal processing and then multiplied by the forgetting factor λ 244; then the sum 246 of the delayed signal (i.e., the previous output from the energy clustering calculator 234) and the present output from the energy clustering calculator 234 generates the dynamic threshold value 238. The larger the λ, the higher weight is given to previous information. When λ is set to one (1), a static threshold is effectively adopted. In this manner, the dynamic threshold module 236 dynamically updates the spike threshold in response to the extracted single valued feature from the energy clustering calculator 234 and the comparator 248 compares the extracted single valued feature with the dynamically updated spike threshold to determine whether the energy clustered possible spike signals are actual spike signals.
[0032] When the comparison by the comparator 248 is positive (i.e., the possible spike signal is determined to be an actual spike signal) the send switch 250 is closed and the spike signal is encoded by a transmission module 252 for wireless transmission from an antenna 254 in a manner well known to those skilled in the art. Thus, transmission circuitry necessary for wirelessly transmitting the actual biomedical signals includes the transmission switch 250, the transmission module 252 and the antenna 254 and the transmission switch 250 operates under control of the spike detection module 204 for forwarding the actual biomedical spike signals to the transmission module 252 for wireless transmission. For implantable wireless neural recording of neural spike signals, a biocompatible housing 260 encloses the preliminary alignment module 202 and the spike detection module 204 to permit internal implantation in a subject.
[0033] Referring next to
[0034] It can be observed from the graph 400 that the target six spikes are surrounded by high recording noise. Applying direct magnitude thresholding is prone to inaccurate detection as such thresholding is not able to draw a clear threshold line to differentiate the spikes and noise. In contrast, as can be seen from the graph 410, the energy clustering measure of all preliminary spikes by the proposed spike detector exhibits significant difference. In total, there are 266 preliminary spikes detected. It can be observed from the graph 410 that the target six spikes have a much larger energy clustering than the other preliminary spikes, implying that those preliminary spikes with significant higher energy clustering is a real spike while the others are noise. In addition, a clear threshold line can be determined to extract the spikes. The graph 420 presents the final spikes detected by the proposed module. It can be observed that all six spikes are successfully detected and aligned automatically. As a result, only these six spikes are sent from the send switch 250 for transmission, thus achieving a total energy saving in wireless transmission of 266−6/266=97.74% by operation in accordance with the present embodiment.
[0035] While
[0036] Referring to
[0037] Referring to
[0038] If the comparison step 716 determines that the possible spike signals are not actual biomedical spike signals than processing returns to examine additional data frames 704. Only when the comparison step 716 determines that the possible spike signals are actual biomedical spike signals does processing transmit 718 the actual spike signals, thereby significantly reducing energy consumption. After transmission 718, processing returns to examine additional data frames 704.
[0039] Thus, it can be seen that the present embodiment can provide a high accuracy method and system for biomedical spike detection which is simultaneously robust against noise and DC drifting. By performing preliminary spike alignment as the first step of data reduction in accordance with the present embodiment, only those frames satisfying specified criteria are sent for energy clustering calculations thereby reducing energy consumption. Preliminary spike alignment also ensures all potential spikes are measured using the energy clustering calculator 234 thereby reducing the missed spike detection rate. Also, the energy clustering index of aligned spikes can be reused in later spike sorting engines without additional hardware cost. While exemplary embodiments have been presented in the foregoing detailed description of the invention, it should be appreciated that a vast number of variations exist. For example, the methods and systems in accordance with the present embodiment can be used for multi-sensor data fusion utilizing spike detection and extracellular EEG recording in addition to implantable wireless neural recording.
[0040] It should further be appreciated that the exemplary embodiments are only examples, and are not intended to limit the scope, applicability, operation, or configuration of the invention in any way. Rather, the foregoing detailed description will provide those skilled in the art with a convenient road map for implementing an exemplary embodiment of the invention, it being understood that various changes may be made in the function and arrangement of elements and method of operation described in an exemplary embodiment without departing from the scope of the invention as set forth in the appended claims.