title: Real-Time Stimulus Artifact Rejection Via Template Subtraction.
abstract: This paper presents an infinite impulse response (IIR) temporal filtering technique for real-time stimulus artifact rejection (SAR) based on template subtraction. A system architecture for the IIR SAR algorithm is developed, and the operation of the algorithm with fixed-point computation is analyzed to obtain the number of bits for the internal nodes of the system, considering dynamic range and fraction length requirements for optimum performance. Further, memory initialization with the first recorded stimulus artifact is proposed and shown to significantly decrease the IIR system response time, especially when artifacts are highly reproducible in consecutive stimulation cycles. The proposed system architecture is hardware-implemented on a field-programmable gate array (FPGA) and tested using two sets of prerecorded neural data from a rat and an Aplysia californica (a marine sea slug) obtained from two different laboratories. The measured results from the FPGA verify that the system can indeed remove the stimulus artifacts from the contaminated neural data in real time and recover the neural action potentials that occur on the tail end of the artifact (as close as within 0.5 ms after the artifact spike). The root-mean-square (rms) value of the pre-processed stimulus artifact is reduced on average by a factor of 17 (Aplysia californica) and 5.3 (rat) post-processing.
authors.forename: Kanokwan
authors.initials: K
authors.lastname: Limnuson
authors.lastname: Hui Lu
authors.forename: Hillel J
authors.initials: HJ
authors.lastname: Chiel
authors.forename: Pedram
authors.initials: P
authors.lastname: Mohseni
mesh_terms: D000200:Action Potentials; D000465:Algorithms; D000818:Animals; D001048:Aplysia; D016477:Artifacts; D008959:Models, Neurological; D051381:Rats; D012815:Signal Processing, Computer-Assisted