SlideShare a Scribd company logo
1 of 1
A software-based autocorrelation system using a Raspberry Pi mini computer for diffuse correlation spectroscopy
Matthew Tivnan, Rajan Gurjar, David Wolf, Karthik Vishwanath
ABSTRACT:
SPIE Photonics West
Diffuse Correlation Spectroscopy (DCS) is well established sensing technology for non-invasive measurement of blood flow. In DCS, light from a coherent source is directed to the tissue surface and the reflected (or transmitted) intensity signal is detected
using a fast photodetector. Temporal fluctuations in the light intensity are used to determine a time-autocorrelation of the detected intensity signal, which traditionally is achieved through a hardware autocorrelation board. Accurate computation of the time-
autocorrelation is critical for a DCS system. Here, we present a novel device based on the Raspberry Pi (RPi) mini-computer to compute the temporal autocorrelation function ranging from hundreds of nanoseconds through a few seconds. We present
preliminary results from experiments made on tissue phantoms and human volunteers. In the tissue phantom experiments, a fluid was pumped at varying flow rates through a subsurface channel in a scattering tissue phantom. DCS measurements were
acquired using the RPi and a traditional hardware correlation board (purchased from correlator.com(New Brunswick, NJ)). Both devices were able to accurately detect changes in flow rates. In the human experiments DCS measurements were made at the
thenar eminence of a volunteer using both devices while a blood pressure cuff was used to occlude flow. Again, both devices were clearly able differentiate flow rates at baseline from those during occlusion, and post-occlusion. The RPi device had nearly
identical performance relative to the standard hardware correlation board, but had the advantage of being smaller, programmable, and cost less than one tenth of the price of the hardware correlation boards.
ACKNOWLEDGEMENTS
MOTIVATION AND BACKGROUND RASPBERRY PI
PUMP-CONTROLLED FLOW
DATA ACQUISITION ALGORITHM CUFF-OCCLUSION
 Low cost computing device with dimensions spanning about the same area as
a credit card (~ 3.4” x 2.2” )
 700 MHz ARM processor, 512 MB of memory on chip, General; Purpose Input
Output (GPIO) pins allow for custom designs
 Capable of storing up to a minute of the time-varying intensity signal in
memory with a 5 MHz sampling frequency which is sufficiently high for DCS
 Operating Systems include Linux and Customizable “bare-metal” OS
0 20 40 60 80 100
9.8
9.9
10.0
10.1
10.2
10.3
Intensity
Time
Time
Intensity
DCS: PRINCIPLE OF OPERATION
Auto
correlation
 In DCS, one monitors fluctuations of the reflected/transmitted speckle pattern from
a coherent source
 The detected speckle intensity at one instant is correlated with itself after a time-
delay, for a range of time-delays
 The measured intensity autocorrelation is fit using a diffusion-theory based model to
extract the decay-rate which gives a measure of the flow velocity
 Since these measurements are made from 100 ns – 10 s, they can be used to identify
pulsatile and laminar flow in tissue
EXPERIMENTAL STUDIES
 The Raspberry Pi system
consists of one device
running Linux and one
running a custom OS
 The Custom OS device
collects the time varying
intensity signal and transfers
the data to the Linux device
 The Linux device stores the
signal, and can be used to
calculate the autocorrelation
or to send the data to
another device for signal
processing.
 The autocorrelation is
calculated using the FFT
convolution method, and the
data is fit using a model from
diffuse optics to estimate the
flow rate.
 In this experiment, blood flow is occluded
using a blood pressure cuff on the upper arm
and a DCS probe is placed on the thumb
 First, a baseline measurement is taken, then
during occlusion the flow is expected to be
slower, and post-occlusion it should be faster
 Both the Raspberry Pi system and the
hardware correlator can be used to make
real world measurements of biological tissue.
 A solution of polystyrene scatterers in water
is pumped at controlled flow rates and
measured with a DCS probe.
 The autocorrelation is calculated by both the
Raspberry Pi system and the hardware
correlator.
 Both devices are capable of distinguishing
relatively fast or slow flow rates

More Related Content

Similar to SPIE-photonics-west-1

Control system for polarimeter
Control system for polarimeterControl system for polarimeter
Control system for polarimeterRishabh Shukla
 
Cardionics Belgium ECG systems for CRO
Cardionics Belgium ECG systems for CROCardionics Belgium ECG systems for CRO
Cardionics Belgium ECG systems for CROCARDIONICS BELGIUM
 
Microcontroller Based Intelligent Blood Collecting System
Microcontroller Based Intelligent Blood Collecting SystemMicrocontroller Based Intelligent Blood Collecting System
Microcontroller Based Intelligent Blood Collecting Systemijsrd.com
 
Study of FPGA Based Multi Channel Analyzer for Gamma Ray and X Ray Spectrometry
Study of FPGA Based Multi Channel Analyzer for Gamma Ray and X Ray SpectrometryStudy of FPGA Based Multi Channel Analyzer for Gamma Ray and X Ray Spectrometry
Study of FPGA Based Multi Channel Analyzer for Gamma Ray and X Ray Spectrometryijtsrd
 
Data acquisition and its vital role in our
Data acquisition and its vital role in ourData acquisition and its vital role in our
Data acquisition and its vital role in ourPrakash Kumar
 
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...Eswar Publications
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 
Interoperable data management OBSEA
Interoperable data management OBSEAInteroperable data management OBSEA
Interoperable data management OBSEAÆdel Aerospace GmbH
 
EventVisualization
EventVisualizationEventVisualization
EventVisualizationHenoch Wong
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Wireless Data Transmission and Acquisition for Alive Detection
Wireless Data Transmission and Acquisition for Alive DetectionWireless Data Transmission and Acquisition for Alive Detection
Wireless Data Transmission and Acquisition for Alive DetectionIJMERJOURNAL
 
Advance water level sensing and automation
Advance water level sensing and automationAdvance water level sensing and automation
Advance water level sensing and automationMosin M
 

Similar to SPIE-photonics-west-1 (20)

Control system for polarimeter
Control system for polarimeterControl system for polarimeter
Control system for polarimeter
 
Cardionics Belgium ECG systems for CRO
Cardionics Belgium ECG systems for CROCardionics Belgium ECG systems for CRO
Cardionics Belgium ECG systems for CRO
 
Microcontroller Based Intelligent Blood Collecting System
Microcontroller Based Intelligent Blood Collecting SystemMicrocontroller Based Intelligent Blood Collecting System
Microcontroller Based Intelligent Blood Collecting System
 
Plexon Capabilities
Plexon CapabilitiesPlexon Capabilities
Plexon Capabilities
 
NFC Health Monitoring System
NFC Health Monitoring SystemNFC Health Monitoring System
NFC Health Monitoring System
 
version1
version1version1
version1
 
version1
version1version1
version1
 
Summary
SummarySummary
Summary
 
Study of FPGA Based Multi Channel Analyzer for Gamma Ray and X Ray Spectrometry
Study of FPGA Based Multi Channel Analyzer for Gamma Ray and X Ray SpectrometryStudy of FPGA Based Multi Channel Analyzer for Gamma Ray and X Ray Spectrometry
Study of FPGA Based Multi Channel Analyzer for Gamma Ray and X Ray Spectrometry
 
Data acquisition and its vital role in our
Data acquisition and its vital role in ourData acquisition and its vital role in our
Data acquisition and its vital role in our
 
TransPAC3/ACE Measurement & PerfSONAR Update
TransPAC3/ACE Measurement & PerfSONAR UpdateTransPAC3/ACE Measurement & PerfSONAR Update
TransPAC3/ACE Measurement & PerfSONAR Update
 
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Interoperable data management OBSEA
Interoperable data management OBSEAInteroperable data management OBSEA
Interoperable data management OBSEA
 
EventVisualization
EventVisualizationEventVisualization
EventVisualization
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Wireless Data Transmission and Acquisition for Alive Detection
Wireless Data Transmission and Acquisition for Alive DetectionWireless Data Transmission and Acquisition for Alive Detection
Wireless Data Transmission and Acquisition for Alive Detection
 
Advance water level sensing and automation
Advance water level sensing and automationAdvance water level sensing and automation
Advance water level sensing and automation
 
Pacs
PacsPacs
Pacs
 
Sensor id overview_ppt
Sensor id overview_pptSensor id overview_ppt
Sensor id overview_ppt
 

SPIE-photonics-west-1

  • 1. A software-based autocorrelation system using a Raspberry Pi mini computer for diffuse correlation spectroscopy Matthew Tivnan, Rajan Gurjar, David Wolf, Karthik Vishwanath ABSTRACT: SPIE Photonics West Diffuse Correlation Spectroscopy (DCS) is well established sensing technology for non-invasive measurement of blood flow. In DCS, light from a coherent source is directed to the tissue surface and the reflected (or transmitted) intensity signal is detected using a fast photodetector. Temporal fluctuations in the light intensity are used to determine a time-autocorrelation of the detected intensity signal, which traditionally is achieved through a hardware autocorrelation board. Accurate computation of the time- autocorrelation is critical for a DCS system. Here, we present a novel device based on the Raspberry Pi (RPi) mini-computer to compute the temporal autocorrelation function ranging from hundreds of nanoseconds through a few seconds. We present preliminary results from experiments made on tissue phantoms and human volunteers. In the tissue phantom experiments, a fluid was pumped at varying flow rates through a subsurface channel in a scattering tissue phantom. DCS measurements were acquired using the RPi and a traditional hardware correlation board (purchased from correlator.com(New Brunswick, NJ)). Both devices were able to accurately detect changes in flow rates. In the human experiments DCS measurements were made at the thenar eminence of a volunteer using both devices while a blood pressure cuff was used to occlude flow. Again, both devices were clearly able differentiate flow rates at baseline from those during occlusion, and post-occlusion. The RPi device had nearly identical performance relative to the standard hardware correlation board, but had the advantage of being smaller, programmable, and cost less than one tenth of the price of the hardware correlation boards. ACKNOWLEDGEMENTS MOTIVATION AND BACKGROUND RASPBERRY PI PUMP-CONTROLLED FLOW DATA ACQUISITION ALGORITHM CUFF-OCCLUSION  Low cost computing device with dimensions spanning about the same area as a credit card (~ 3.4” x 2.2” )  700 MHz ARM processor, 512 MB of memory on chip, General; Purpose Input Output (GPIO) pins allow for custom designs  Capable of storing up to a minute of the time-varying intensity signal in memory with a 5 MHz sampling frequency which is sufficiently high for DCS  Operating Systems include Linux and Customizable “bare-metal” OS 0 20 40 60 80 100 9.8 9.9 10.0 10.1 10.2 10.3 Intensity Time Time Intensity DCS: PRINCIPLE OF OPERATION Auto correlation  In DCS, one monitors fluctuations of the reflected/transmitted speckle pattern from a coherent source  The detected speckle intensity at one instant is correlated with itself after a time- delay, for a range of time-delays  The measured intensity autocorrelation is fit using a diffusion-theory based model to extract the decay-rate which gives a measure of the flow velocity  Since these measurements are made from 100 ns – 10 s, they can be used to identify pulsatile and laminar flow in tissue EXPERIMENTAL STUDIES  The Raspberry Pi system consists of one device running Linux and one running a custom OS  The Custom OS device collects the time varying intensity signal and transfers the data to the Linux device  The Linux device stores the signal, and can be used to calculate the autocorrelation or to send the data to another device for signal processing.  The autocorrelation is calculated using the FFT convolution method, and the data is fit using a model from diffuse optics to estimate the flow rate.  In this experiment, blood flow is occluded using a blood pressure cuff on the upper arm and a DCS probe is placed on the thumb  First, a baseline measurement is taken, then during occlusion the flow is expected to be slower, and post-occlusion it should be faster  Both the Raspberry Pi system and the hardware correlator can be used to make real world measurements of biological tissue.  A solution of polystyrene scatterers in water is pumped at controlled flow rates and measured with a DCS probe.  The autocorrelation is calculated by both the Raspberry Pi system and the hardware correlator.  Both devices are capable of distinguishing relatively fast or slow flow rates