Suppr超能文献

我们相信 COM:基于 USB 的事件标记的可行性。

In COM we trust: Feasibility of USB-based event marking.

机构信息

Center for Adaptive Rationality, Max Planck Institute for Human Development, Lentzeallee 94, 14195, Berlin, Germany.

Institute of Medical Psychology and Medical Sociology, University Medical Center Schleswig Holstein, Kiel University, Kiel, Germany.

出版信息

Behav Res Methods. 2021 Dec;53(6):2450-2455. doi: 10.3758/s13428-021-01571-z. Epub 2021 Apr 14.

Abstract

Modern experimental research often relies on the synchronization of different events prior to data analysis. One way of achieving synchronization involves marking distinct events with electrical pulses (event markers or "TTL pulses"), which are continuously recorded with research hardware, and can later be temporally aligned. Traditionally, this event marking was often performed using the parallel port in standard personal computers. However, the parallel port is disappearing from the landscape of computer hardware, being replaced by a serial (COM) port, namely the USB port. To find an adequate replacement for the parallel port, we evaluated four microcontroller units (MCUs) and the LabJack U3, an often-used USB data acquisition device, in terms of their latency and jitter for sending event markers in a simulated experiment on both Windows and Linux. Our results show that all four MCUs were comparable to the parallel port in terms of both latency and jitter, and consistently achieved latencies under 1 ms. With some caveats, the LabJack U3 can also achieve comparable latencies. In addition to the collected data, we share extensive documentation on how to build and use MCUs for event marking, including code examples. MCUs are a cost-effective, flexible, and performant replacement for the disappearing parallel port, enabling event marking and synchronization of data streams.

摘要

现代实验研究通常依赖于数据分析之前的不同事件的同步。实现同步的一种方法是使用电脉冲(事件标记或“TTL 脉冲”)标记不同的事件,这些事件被研究硬件连续记录,并可以稍后进行时间对齐。传统上,这种事件标记通常使用标准个人计算机中的并行端口来执行。然而,并行端口正在从计算机硬件的景观中消失,被串行(COM)端口取代,即 USB 端口。为了找到并行端口的合适替代品,我们评估了四个微控制器单元(MCU)和 LabJack U3,这是一种常用于 USB 数据采集设备,以评估它们在 Windows 和 Linux 上模拟实验中发送事件标记的延迟和抖动。我们的结果表明,所有四个 MCU 在延迟和抖动方面都与并行端口相当,并且始终实现低于 1 毫秒的延迟。在某些限制下,LabJack U3 也可以实现类似的延迟。除了收集的数据,我们还分享了关于如何构建和使用 MCU 进行事件标记的广泛文档,包括代码示例。MCU 是正在消失的并行端口的一种具有成本效益、灵活且高性能的替代品,可实现事件标记和数据流的同步。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3b4a/8613091/bb8f0b3cc781/13428_2021_1571_Fig1_HTML.jpg

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验