NeuroDAC: an open-source arbitrary biosignal waveform generator

M P Powell, J Anso, R Gilron, N R Provenza, A B Allawala, D D Sliva, K R Bijanki, D Oswalt, J Adkinson, N Pouratian, S A Sheth, W K Goodman, S R Jones, P A Starr, D A Borton, M P Powell, J Anso, R Gilron, N R Provenza, A B Allawala, D D Sliva, K R Bijanki, D Oswalt, J Adkinson, N Pouratian, S A Sheth, W K Goodman, S R Jones, P A Starr, D A Borton

Abstract

Objective.Researchers are developing biomedical devices with embedded closed-loop algorithms for providing advanced adaptive therapies. As these devices become more capable and algorithms become more complex, tasked with integrating and interpreting multi-channel, multi-modal electrophysiological signals, there is a need for flexible bench-top testing and prototyping. We present a methodology for leveraging off-the-shelf audio equipment to construct a biosignal waveform generator capable of streaming pre-recorded biosignals from a host computer. By re-playing known, well-characterized, but physiologically relevant real-world biosignals into a device under test, researchers can evaluate their systems without the need for expensivein vivoexperiments.Approach.An open-source design based on the proposed methodology is described and validated, the NeuroDAC. NeuroDAC allows for 8 independent channels of biosignal playback using a simple, custom designed attenuation and buffering circuit. Applications can communicate with the device over a USB interface using standard audio drivers. On-board analog amplitude adjustment is used to maximize the dynamic range for a given signal and can be independently tuned for each channel.Main results.Low noise component selection yields a no-signal noise floor of just 5.35 ± 0.063. NeuroDAC's frequency response is characterized with a high pass -3 dB rolloff at 0.57 Hz, and is capable of accurately reproducing a wide assortment of biosignals ranging from EMG, EEG, and ECG to extracellularly recorded neural activity. We also present an application example using the device to test embedded algorithms on a closed-loop neural modulation device, the Medtronic RC+S.Significance.By making the design of NeuroDAC open-source we aim to present an accessible tool for rapidly prototyping new biomedical devices and algorithms than can be easily modified based on individual testing needs.ClinicalTrials.gov Identifiers: NCT04281134, NCT03437928, NCT03582891.

Keywords: biomedical devices; biosignal playback; closed-loop neuromodulation; neural interface; waveform generator.

Creative Commons Attribution license.

Figures

Figure 1.
Figure 1.
(A) An accessible low-cost consumer grade off-the-shelf audio DAC can be used in conjunction with simple analog attenuation and buffering circuitry to build a biosignal waveform generator. (B) NeuroDAC can be used to play back re-recorded electrophysiology measurements at physiological voltages to perform bench-top verification and validation testing of biomedical devices using real-life signals.
Figure 2.
Figure 2.
(A) Schematic diagram of a single channel of the NeuroDAC device. A computer is used to stream data to the U-DAC8 via USB and a conditioning circuit converts the line-level voltage output to the small scale signals expected by bioelectronic devices. The conditioning circuit comprises 8 identical channels each containing an adjustable voltage divider circuit and a low noise op-amp based buffer with switches to independently configure the circuit as desired by the user. (B) An image of the NeuroDAC device depicting the U-DAC8 (miniDSP, Hong Kong) audio DAC and the custom-built attenuation circuit with BNC outputs for easily connecting to downstream devices. The U-DAC8 is powered through the conditioning board so only one power adapter is required.
Figure 3.
Figure 3.
(A) A low voltage noise op-amp was chosen as the output buffer because this type of noise dominates in the operating regime of the circuit. A comparison is given between the voltage and current noise of the LT1007 op-amp and the Johnson noise of the voltage divider circuit for different settings of the potentiometer (switched resistor at 1 MΩ) at 1 kHz. The shaded region represents the range of resistances available for the 2 kΩ potentiometer used in NeuroDAC. Theoretical total noise accounting for all of these sources is also shown at 10 Hz and 1 kHz. (B) The full theoretical voltage noise spectrum of the LT1007 op-amp including low frequency flicker noise. (C) The total estimated noise spectra of the NeuroDAC analog circuitry at potentiometer settings of 100 Ω, 1 kΩ, and 2 kΩ. Cumulative RMS noise is indicated in blue as the bandwidth of the system is selected from 0.1 Hz to the value indicated on the horizontal axis. The shaded blue region indicates the integral area underneath the noise density curve for the worst-case 2 kΩ potentiometer setting. A dashed line indicates the reported noise floor of the Intan RHD2132 biosignal amplifier for reference (2.4 μVrms [41]).
Figure 4.
Figure 4.
(A) A raw 1 second example trace of the Intan RHD2132 amplifier and OpenEphys data acquisition system noise floor [42]. Mean RMS noise floor (± std.) for all 5, 10 second long, recordings is overlayed as a dotted black line. (B) A raw 1 second example trace of the NeuroDAC noise floor recorded through the Intan/OpenEphys acquisition system. Mean RMS noise floor (± std.) for all 5, 10 second long, recordings is overlayed as a dotted black line. (C) A comparison of the estimated noise floor density between the data acquisition system with and without the NeuroDAC attached. The theoretical estimation of the noise density is given as a black dotted line. An expanded view of the frequency range from 0 to 250 Hz (blue highlighted region) is shown on the right.
Figure 5.
Figure 5.
(A) Mean recorded DAC output for 10 repetitions of a linear, full-scale, sweep of input values. Black dotted line is the best-fit-line of the result found using least squares linear regression (R2 value reported in boxed annotation). (B) Per sample residuals for the waveform shown in (A). Values normalized to the slope of the best-fit-line.
Figure 6.
Figure 6.
(A) Magnitude of the frequency response of the NeuroDAC system. Amplitude is attenuated for signal components lower than 1 Hz, but are accurately represented up to 10 kHz. Sub-figures call out individual data points used in the estimation, showing the original signal, raw playback signal, and model fit used to estimate amplitude parameter. (B) Phase of the frequency response of the NeuroDAC system. A phase shift is observed at the extrema of the operating bandwidth, however prediction accuracy may be decreased at higher frequencies due to the low sample/period ratio of the 30 kSPS data acquisition system. Sub-figure callouts indicate individual data points used to calculate phase shift.
Figure 7.
Figure 7.
Measured output voltage of NeuroDAC while playing a 100 Hz, 250 μV sine wave into saline. The output was measured with and without buffering outside of the saline (‘Wired’), loaded by the saline (‘Loaded’), and through the saline using a tungsten electrode (‘Saline’). (A) A 0.1 s window of the raw recorded data from each condition. The waveforms were phase aligned in post processing to allow for easy comparison of amplitudes. (B) The estimated amplitude of the recorded waveform in each condition; calculated from 10 s of recording. Error bars indicate the 95% confidence interval of the estimated amplitude.
Figure 8.
Figure 8.
A set of 6 different calibrated biosignals played through the NeuroDAC, overlayed and aligned to the original signal. In each sub-figure, a subset of the 30 second recording is shown on the left and an expanded view of the highlighted blue region is shown on the right highlighting a feature of interest for each signal. Different time and voltage scales are used due to the heterogeneity of signal characteristics. The signals represented are: (A) a microelectrode array recording of action potentials from a nonhuman primate; a single unit action potential is highlighted, (B) scalp-EEG recorded from a human subject; an alpha oscillation is highlighted, (C) intraoperative intracranial recording from a human subject; 130 Hz stimulation artifact is highlighted, (D) surface EMG activity recorded from an awake sheep; evoked activity from spinal cord stimulation is highlighted, (E) ECG recorded from a human subject; a single waveform is highlighted, and (F) EOG activity recorded from a human subject; a single blink event is highlighted. For more information about each signal, please refer to the main text body.
Figure 9.
Figure 9.
Examples of using NeuroDAC to perform bench-top testing of an adaptive neuromodulation device depicting two use cases: (A) an artificial LFP burst sequence at nominal frequency of 20 Hz and varying amplitude between 50 and 10 μV and (B) playback of real neural data from GPi of a DBS patient. The panels show (from top to bottom), the time domain signal played by NeuroDAC and recorded by the RC+S, a spectrogram (0–50 Hz) of the signal, the output of the RC+S’s linear discriminant detector for in-band signal power, the stimulation current delivered by the RC+S, and the embedded algorithm’s decoded state for adaptive stimulation.

References

    1. Starr PA. Totally implantable bidirectional neural prostheses: A flexible platform for innovation in neuromodulation. Front. Neurosci. 2018;12:619.
    1. Sun FT, Morrell MJ and Wharen RE Jr 2008. Responsive cortical stimulation for the treatment of epilepsy Neurotherapeutics 5 68–74
    1. Sun FT and Morrell MJ 2014. The RNS system: responsive cortical stimulation for the treatment of refractory partial epilepsy Expert Rev. Med. Devices 11 563–72
    1. Swann NC, de Hemptinne C, Thompson MC, Miocinovic S, Miller AM, Gilron R, Ostrem JL, Chizeck HJ and Starr PA 2018. Adaptive deep brain stimulation for Parkinson’s disease using motor cortex sensing J. Neural Eng. 15 046006
    1. Provenza NR. et al. The case for adaptive neuromodulation to treat severe intractable mental disorders. Front. Neurosci. 2019;13:152.
    1. Molina R, Okun MS, Shute JB, Opri E, Rossi PJ, Martinez-Ramirez D, Foote KD and Gunduz A 2018. Report of a patient undergoing chronic responsive deep brain stimulation for Tourette syndrome: proof of concept J. Neurosurg. 129 308–14
    1. Gold MR, Theuns DA, Knight BP, Sturdivant JL, Sanghera R, Ellenbogen KA, Wood MA and Burke MC 2012. Head-to-head comparison of arrhythmia discrimination performance of subcutaneous and transvenous ICD arrhythmia detection algorithms: the START study J. Cardiovasc. Electrophysiol 23 359–66
    1. Lau C-P, Siu C-W and Tse H-F 2017. 10 - sensors for implantable cardiac pacing devices Clinical Cardiac Pacing, Defibrillation and Resynchronization Therapy 5th edn, eds Ellenbogen KA, Wilkoff BL, Kay GN, Lau C-P and Auricchio A (Amsterdam: Elsevier; ) pp 281–312
    1. Afshar P. et al. A translational platform for prototyping closed-loop neuromodulation systems. Front. Neural Circuits. 2012;6:117.
    1. Lloyd M et al. 2017. Rate adaptive pacing in an intracardiac pacemaker Heart Rhythm 14 200–5
    1. Deeb W et al. 2016. Proc. of the fourth annual deep brain stimulation think tank: a review of emerging issues and technologies Front. Integr. Neurosci. 10 38.
    1. Little S et al. 2013. Adaptive deep brain stimulation in advanced parkinson disease Ann. Neurol. 74 449–57
    1. Medtronic. Medtronic Micra™ MC1VR01 Clinician Manual. Medtronic; 2017.
    1. Medtronic. Medtronic Micra™ AV MC1AVR1 Device Manual. Medtronic; 2020.
    1. Medtronic. Medtronic Micra™ AV MC1AVR1 Reference Manual. Medtronic; 2020.
    1. Reynolds D et al. 2016. A leadless intracardiac transcatheter pacing system N. Engl. J. Med. 374 533–41
    1. NeuroPace 2019. NeuroPace RNS® System User Manual NeuroPace, Inc.
    1. NeuroPace 2020. NeuroPace RNS® System Programming Manual NeuroPace, Inc.
    1. NeuroPace 2020. NeuroPace RNS® System Physician Manual For the RNS® Neurostimulator Model RNS-320 NeuroPace, Inc.
    1. Stanslaski S et al. 2018. A chronically implantable neural coprocessor for investigating the treatment of neurological disorders IEEE Trans. Biomed. Circuits Syst. 12 1230–45
    1. Herron J, Linde D, Chouinard T, Isaacson B, Stanslaski S, Bourget D, Adamski T and Denison T 2018. Embedding adaptive stimulation algorithms for a new implantable deep-brain stimulation research tool 2018 IEEE Biomedical Circuits and Conf. (BioCAS) pp 1–4
    1. Ai W, Patel ND, Roop PS, Malik A and Trew ML 2020. Cardiac electrical modeling for Closed-Loop validation of implantable devices IEEE Trans. Biomed. Eng. 67 536–44
    1. Pajic M, Jiang Z, Lee I, Sokolsky O and Mangharam R 2012. From verification to implementation: A model translation tool and a pacemaker case study 2012 IEEE 18th Real Time and Embedded Technology and Symp pp 173–84
    1. Blackrock Microsystems. Blackrock Digital Neural Signal Simulator PN-8282. Blackrock Microsystems, LLC; 2015.
    1. Fluke Corporation. ProSim 8 Vital Signs Simulator Users Manual. Fluke Corporation; 2011.
    1. Netech Corporation. Instructional Manual MiniSim 330 EEG Simulator. Netech Corporation; 2003.
    1. Haci D, Liu Y and Constandinou TG 2017. 32-channel ultra-low-noise arbitrary signal generation platform for biopotential emulation 2017 IEEE Int. Symp. on Circuits and Systems (ISCAS) pp 1–4
    1. Plexon Inc. 2020. Headstage Tester Unit Guide: OmniPlex®, MAP and Recorder Systems Plexon Inc.
    1. Fluke Corporation. ProSim8 Vital Signs Simulator: Technical Data. Fluke Corporation; 2013.
    1. Fluke Corporation 2020. ProSim 8 vital signs and ECG patient simulator (available at: ) (Accessed: 3 October 2020)
    1. Keysight Technologies 2020. 33210A Waveform/Function generator (available at: ) (Accessed: 3 October 2020)
    1. Keysight Technologies. 33210A 10 MHz Function/Arbitrary Waveform Generator. Keysight Technologies; 2020.
    1. Harrison RR 2007. A versatile integrated circuit for the acquisition of biopotentials 2007 IEEE Custom Integrated Conf pp 115–22
    1. Harrison RR and Charles C 2003. A low-power low-noise CMOS amplifier for neural recording applications IEEE J. Solid-State Circuits 38 958–65
    1. Cohen A 2006. Biomedical Signals: Origin and Dynamic Characteristics The Biomedical Engineering Handbook 3rd edn ed Bronzino J (London: Taylor and Francis; ) 1–22
    1. Najafi K and Wise KD 1986. An implantable multielectrode array with on-chip signal processing IEEE J. Solid-State Circuits 21 1035–44
    1. Smith SW 1997. Audio processing The Scientist and Engineer’s Guide to Digital Signal Processing (San Diego: California Technical Pub.) pp 351–72
    1. miniDSP Ltd. 2020. U-DAC8 8-Channel High Resolution USB DAC: User Manual miniDSP Ltd.
    1. Horowitz P and Hill W 2015. The Art of Electronics 3rd edn (USA: Cambridge University Press; ) 9780521809269
    1. Linear Technology. LT1007/LT1037 Datasheet Analog devices.
    1. Intan Technologies. Intan Technologies, LLC RHD2216 RHD2132 Digital Electrophysiology Interface Chips Datasheet. Intan Technologies, LLC; 2013.
    1. Siegle JH, López AC, Patel YA, Abramov K, Ohayon S and Voigts J 2017. Open ephys: an open-source, plugin-based platform for multichannel electrophysiology J. Neural Eng. 14 045003.
    1. Geier M. Python-sounddevice. 2015.
    1. Gilron R, Little S, Perrone R, Wilt R and de Hemptinne C and Others 2020. Chronic wireless streaming of invasive neural recordings at home for circuit discovery and adaptive stimulation bioRxiv ()
    1. Stanslaski S et al. 2012. Design and validation of a fully implantable, chronic, closed-loop neuromodulation device with concurrent sensing and stimulation IEEE Trans. Neural Syst. Rehabil. Eng. 20 410–21
    1. Tinkhauser G, Pogosyan A, Little S, Beudel M, Herz DM, Tan H and Brown P 2017. The modulatory effect of adaptive deep brain stimulation on beta bursts in Parkinson’s disease Brain 140 1053–67
    1. Audioengine USA 2020. D1 24-BIT DAC/ HEADPHONE AMP (available at: ) (Accessed: 3 October 2020)
    1. Cambridge Audio 2020. DACMAGIC 100: Digital to analogue converter (available at: ) (Accessed: 3 October 2020)
    1. Schiit 2020. Modius: Balanced DAC (available at: ) (Accessed: 3 October 2020)
    1. NativeDSD Gear 2020. Exasound E38 MKII multichannel DAC (available at: ) (Accessed: 3 October 2020)

Source: PubMed

3
Se inscrever