Related Experiment Video
Updated: Feb 1, 2026

Open-Source Real-Time Closed-Loop Electrical Threshold Tracking for Translational Pain Research
Published on: April 21, 2023
Analysis of an open source, closed-loop, realtime system for hippocampal sharp-wave ripple disruption
Shayok Dutta1, Etienne Ackermann1, Caleb Kemere1,2
1Department of Electrical and Computer Engineering, Rice University, Houston, TX, United States of America.
We developed a low-latency system for detecting sharp-wave ripples (SWRs) in neural data, crucial for understanding memory. This system enables precise, real-time closed-loop experiments by minimizing detection delays.
Area of Science:
- Neuroscience
- Computational Neuroscience
- Systems Neuroscience
Background:
- Closed-loop neural modulation allows causal inference between neural circuits and behavior.
- Sharp-wave ripples (SWRs) in the hippocampus are critical for memory and require precise, low-latency perturbation.
- Existing SWR disruption systems lack detailed performance analysis, hindering experimental design.
Purpose of the Study:
- To develop and evaluate a low-latency, closed-loop system for detecting hippocampal sharp-wave ripples (SWRs).
- To characterize the performance trade-offs of SWR detection latency across different hardware and algorithmic parameters.
- To provide a modular, open-source framework for real-time neural interfacing.
Main Methods:
- Developed a real-time SWR detection algorithm integrated into an open-source neural data acquisition suite.
- Utilized synthetic data to explore the detection algorithm's parameter space.
- Quantified in vivo system performance and latency using both USB and Ethernet data acquisition hardware.
Main Results:
- Signal detection latency comprises data acquisition (7.5–13.8 ms for USB, 1.35–2.6 ms for Ethernet) and algorithmic components.
- Ethernet hardware achieved algorithmic latencies of ~20–66 ms with <10 false SWR detections per minute.
- Performance is highly dependent on algorithmic parameter choices and hardware selection.
Conclusions:
- Characterized the performance of a low-latency closed-loop SWR detection system.
- Established a framework for analyzing closed-loop neural interfacing systems.
- The open-source, modular system facilitates precise causal closed-loop experiments in neuroscience.
Related Concept Videos
Open and closed-loop control systems
An open-loop control system operates without feedback from the output. It consists of two primary elements: the controller and the controlled process. The controller receives an input signal...
Nodal Analysis with Voltage Sources
Consider a circuit that contains four resistors and two voltage sources, as shown in Figure 1. One of these voltage sources is connected between a...
Mesh Analysis with Current Sources
Current Source in One Mesh: The analysis process is straightforward when a current source is found in only one mesh within the circuit. Mesh currents are assigned as usual, with the mesh containing the current source excluded from the analysis. Kirchhoff's voltage law...
The Wave Nature of Light
Feedback Loops
Close Relationships and Culture

