US ARMY Approved for public release: Distribution unlimited A general-purpose low-cost solution for high-resolution temporal synchronization in human-subject.

Slides:



Advertisements
Similar presentations
There are several research studies we would like to pursue with the HealthMonitor. These include long term monitoring of the elderly. We’re interested.
Advertisements

What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Multi Functional Digital Fault Recorder
Bits and Bytes + Controlling 8 LED with 3 Pins Binary Counting and Shift Registers.
IntroductionMethods Participants  7 adults with severe motor impairment.  9 adults with no motor impairment.  Each participant was asked to utilize.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Data Acquisition Risanuri Hidayat.
Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
Lecture 9: D/A and A/D Converters
GFX Abstract The existing technology used to create guitar sound effects is often prohibitively expensive to the amateur guitarist. The object of this.
MEG Experiments Stimulation and Recording Setup Educational Seminar Institute for Biomagnetism and Biosignalanalysis February 8th, 2005.
CSCI 4550/8556 Computer Networks Comer, Chapter 11: Extending LANs: Fiber Modems, Repeaters, Bridges and Switches.
USB – An Overview Group 3 Kaushik Nandha Bikram What is the Universal Serial bus (USB)? Is a cable bus that supports data exchange between a host computer.
August 7, 2003 Sensor Network Modeling and Simulation in Ptolemy II Philip Baldwin University of Virginia Motivation With.
Yu. Artyukh, V. Bespal’ko, E. Boole, V. Vedin Institute of Electronics and Computer Science Riga, LATVIA 16th International Workshop on Laser.
Wireless Data Acquisition for SAE Car Project by: J.P. Haberkorn & Jon Trainor Advised by: Mr. Steven Gutschlag.
Digital to Analog Converters
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
Distributed Control Systems Emad Ali Chemical Engineering Department King SAUD University.
3D Micromanufacturing Lab. School of Mechatronics Gwangju Institute of Science and Technology 3D Micromanufacturing Lab. School of Mechatronics Gwangju.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Design and Implementation of Metallic Waste Collection Robot
Digital Sound and Video Chapter 10, Exploring the Digital Domain.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Wireless Sensor Monitoring Group Members: Daniel Eke (COMPE) Brian Reilly (ECE) Steven Shih (ECE) Sponsored by:
RC CAR CONTROLLER BASED ON INTEL GALILEO SOC PLATFORM Nadav Shiloach Sagi Sabag Supervisor: Idan Shmuel Spring 2014 One Semester Project PROJECT’S ENDING.
Data Acquisition Data acquisition (DAQ) basics Connecting Signals Simple DAQ application Computer DAQ Device Terminal Block Cable Sensors.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
1. Introduction 1.1 Background 1.2 Real-time applications 1.3 Misconceptions 1.4 Issues in real-time computing 1.5 Structure of a real-time system.
Data Acquisition Dr inż. ZDZISŁAW PÓLKOWSKI Polkowice, 2015 University of Pitesti Dolnośląska Wyższa Szkoła Przedsiębiorczości i Techniki w Polkowicach.
Eye Tracking and its Application in MRI and EEG Settings
2A – Acquisition and Automation technology Application Features Summary.
The Way Forward Factors Driving Video Conferencing Dr. Jan Linden, VP of Engineering Global IP Solutions.
K.C.RAVINDRAN,GRAPES-3 EXPERIMENT,OOTY 1 Development of fast electronics for the GRAPES-3 experiment at Ooty K.C. RAVINDRAN On Behalf of GRAPES-3 Collaboration.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
By: Eric Backman Advisor: Dr. Malinowski.  Introduction  Goals  Project Overview and Changes  Work Completed  Updated Schedule.
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
Eye Tracking and its Application in MRI and EEG Settings
Chapter 11 Extending LANs 1. Distance limitations of LANs 2. Connecting multiple LANs together 3. Repeaters 4. Bridges 5. Filtering frame 6. Bridged network.
1 Data-Converter Circuits A/D and D/A Chapter 9 1.
All-in-One Analog, AHD and TVI DVR
Path The purpose of this project is to design a universal data recording device to monitor the health of a Dresser-Rand compressor during operation. In.
CSCI1600: Embedded and Real Time Software Lecture 14: Input/Output II Steven Reiss, Fall 2015.
By Noordiana Kasim. MODERN I/O DEVICES 1. PRINTER 2. MONITOR 3. KEYBOARD 4. AUDIO SPEAKER 5. DVD DRIVE.
Water Flow GROUP A. Analogue input voltage results: Motor Input voltage( V) pin 12 Analogue input voltage (V) Display number
Digital Control CSE 421.
Planar® DirectLight™ LED Video Wall System
16722 Mo: data acquisition150+1 data acquisition.
High Speed Digital Systems Lab Spring/Winter 2010 Project definition Instructor: Rolf Hilgendorf Students: Elad Mor, Ilya Zavolsky Integration of an A/D.
Group: CCM Project 2.5. EMERSON Emerson is a diversified global manufacturing company.  Provides innovative solutions to customers in the following areas:
Arduino Microcontroller Technical Details : Arduino (UNO R3) micro-controller ATmega 328 CPU (“industry-standard” micro-controller CPU) ?? MHz clock speed.
A Time-To-Digital Converter (TDC) Harley Cumming Lisa Kotowski 1.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
MECH 373 Instrumentation and Measurements
Intro to USB-6009 DAQ.
Instrumented Walker Skyler Bullington Tommy Frankenberger Larson Stacy
Digital Control CSE 421.
SCADA for Remote Industrial Plant
Arduino Development for Beginners
AQA GCSE 7 Electronic systems processing Design and Technology 8552
Chapter 4: Digital Transmission
CSCI1600: Embedded and Real Time Software
CSCI1600: Embedded and Real Time Software
Analog and Digital Instruments
CSCI1600: Embedded and Real Time Software
CSCI1600: Embedded and Real Time Software
Introduction to Arduinos
♪ Embedded System Design: Synthesizing Music Using Programmable Logic
Presentation transcript:

US ARMY Approved for public release: Distribution unlimited A general-purpose low-cost solution for high-resolution temporal synchronization in human-subject experimentation A general-purpose low-cost solution for high-resolution temporal synchronization in human-subject experimentation Jaswa, M. 1, Kellihan, B. 1, Cannon, M. 1, Hairston, W.D. 2, Gordon, S. 1, Lance, B. 2 1 DCS Corporation, 2 Human Research and Engineering Directorate, U.S. Army Research Lab Introduction Time synchronization across measurement devices in neuroscience experiments is critical for the analysis and interpretation of datasets, including performing electroencephalograph (EEG) studies. Currently available commercial options are expensive, and often limited to the integration of specific sensors. Measurement systems are susceptible to latency and jitter. Latency is the time between a signal onset and when it is recorded. Jitter is the variation in that latency; it can make correlating system events difficult or impossible. Jitter is caused by unpredictable variation in system clocks. Minimizing jitter is crucial to accurately synchronizing measurements, but can be challenging when several devices and clocks are involved in a system. The Arduino is a low-cost, open-source, easy-to-use microcontroller platform that provides sub-millisecond time resolution and supports integration of multiple digital and analog sensors. [1] It forms the basis of our solution, the temporal synchronization device (TSD). System Overview Experiment Setup: We built our solution to support an experiment that presented visual and audio stimuli and incorporated participant responses via buttons. The experiment system consists of four primary components connected via custom cable (Figure 1). Performance Acknowledgements Here we present an approach to handling time synchronization when adding various sensors to an experiment. Advantages Synchronization: Most jitter is one sample (0.49 ms) or less. Minimal Latency: The maximum latency between stimulus onset and recording inherent in the TSD is determined by the sample rate. At 1024Hz, it is about 0.98 ms. Scalable: Additional TSDs can be added to the system in parallel to support additional sensors. Inexpensive: The Arduino MEGA 2560 costs about $65. Additional parts brought the cost to about $100. General Purpose: The TSD supports a wide variety of digital and analog devices. Any digital sensor or other device that supports TTL can be easily integrated, as can any analog device that generates voltages in the 0V to +5V range. Easy to Use: The Arduino platform includes a mature development environment based on the C language, making development easy. The algorithm for reading sensor data is a simple read/write loop. Collecting data is easy: simply plug it in and start recording. Limitations Sensor/Sample Rate Tradeoff: Increasing the number of sensors limits the effective sample rate in a single TSD. ADC Resolution: The analog to digital converter provided by the Arduino is limited to 10 bits. Common Data: At least one data stream must be shared with the other components in the system. Hardware: We used an Arduino MEGA 2560 and built a custom shield to attach supporting circuitry and sensors. This model provides a large number of input pins (54 digital and 16 analog). It is the only Arduino-based option supporting our requirements (21 digital and two analog). Stimulus Computer BioSemi EEG SMI Eye Tracker TSD Figure 1: Test system components. Black arrows represent the propagation of the 16-bit event based trigger signals. Red arrows represent the BioSemi’s 2048Hz sample pulse. Receive BioSemi pulse and increment counter. Odd counter? Read each sensor value and triggers. Yes No Write data to USB port. Figure 3: Firmware algorithm to sample at half-speed (1024Hz). Data: Collected using experiment task 46 minute duration 631 trigger value changes TSD at 1024Hz BioSemi EEG at 2048Hz Comparison: We aligned the two datasets (BioSemi EEG and TSD) and compared the number of samples between each change to determine the amount of jitter (Table 1). We doubled the TSD sample numbers to account for the difference in sample rates. EEG SampleEEG DeltaEEG - TSDTSD DeltaTSD Sample Table 1: Sample comparison between the EEG and TSD data in 2048Hz samples. Software: We wrote a custom program that reads the data recorded by the TSD and writes it to a file. This program displays real-time updates of the current values of the triggers and each sensor. It also has the ability to send updates about the state of the buttons via a computer network, allowing any networked device (e.g. stimulus computer) to react to the participant’s response. We found no instances in which the absolute value of the difference was greater than 2 samples, and 85% of the time it was less than or equal to 1 sample (Figures 4,5). This project was supported by Army Research Laboratory under the Cognition and Neuroergonomics Collaborative Technology Alliance (Cooperative Agreement Number W911NF ). Summary Cycle Time Limit: When sampling at 1024Hz, the amount of time that can be spent in each cycle of the read/write loop is about 970 µs (half that at 2048Hz). In our case, a single cycle takes about 750 µs. Strategies to deal with exceeding the time limit when adding sensors: 1.Decrease the sample rate. 2.Add additional TSDs in parallel with the first, splitting the sensors among them. Figure 2: Arduino MEGA 2560 Pushbuttons: Two on/off pushbuttons are used to measure participant response. Synchronization: Our solution synchronizes with the BioSemi EEG in two ways: 1.The TSD reads the BioSemi’s sample pulse, which allows it to sample the current values of the sensors at the same time that the BioSemi samples the EEG sensors. 2.The TSD and the BioSemi read the triggers generated by the stimulus computer simultaneously. Firmware: Custom firmware in the TSD operates by sampling the sensors each time a pulse is received from the BioSemi. A sample rate of 2048Hz (the BioSemi’s lowest speed) is too fast to read all of the inputs each cycle; we read them every other cycle, giving us an effective sample rate of 1024Hz (Figure 3). Audio: A stereo audio signal is used to measure audio stimulus onset. The signal generated by the soundcard on the stimulus computer is split, sending it to both the TSD and the computer speakers simultaneously. Each channel is converted from native sound card voltage (+/- 2.5V) to the range supported by the Arduino (0V to +5V), then passed through a 10-bit analog to digital converter (ADC). Figure 5: Jitter was equally distributed across the entire time tested, showing no trends or drift, and remaining within 2 samples error. 1. D’Ausilio, 2011, DOI /s z. Sensors: Photodiodes: Two photodiodes are used to measure visual stimulus onset. Visual stimulus onset is measured by mounting a photodiode to a corner of the monitor screen and masking that region from view by the participant. Soundcard TSD Figure 4: Jitter was low, with only 15% of data exceeding 1 sample error.