← Home

Research archive

Motor learning and neuroimaging, 2016

Projects from my master's research at the Rewire Lab, Department of Mechanical Engineering, University of Texas at Austin. My later work, from the PhD at Virginia Commonwealth University to wearable biosensors at NIRSense, is listed in the publications.

Building an MRI-compatible device to collect finger force data

Rewire Lab, University of Texas at Austin

To investigate how fine motor control and learning happen in the brain, I needed a keyboard and sensors that would work inside an MRI scanner (top of the first picture). The idea was to build the device from a non-metallic material. It was manufactured in Nylon 12 by laser sintering (SLS 3D printing). Each sensor is a spring-like double structure that deflects when a force is applied to the contact surface.

A second keyboard was equipped with piezoelectric force sensors (bottom of the first picture). Besides serving as a reference for its MRI-compatible counterpart, it is portable and reliable.

Nylon 12 was selected for mechanical properties that allow a very sensitive sensor. The deflection is measured in real time by an optical fiber: the distance between the head of the fiber and a mirror attached to the sensor's central part changes the light intensity, which is converted to a voltage and then to a force in newtons. All electronic parts sit outside the scanner, so the signal is not affected by the magnetic field.

This system became the experimental setup to investigate neurofeedback-based training in the MRI scanner, with the goal of improving stroke rehabilitation. My master's thesis describes the work in full.

Master's thesis (PDF, French, 2.3 MB)
Thesis defense slides (PowerPoint, French, 17.6 MB)

Two 3D-printed finger keyboards: the MRI-compatible optical version on top and the piezoelectric version below
The MRI-compatible keyboard (top) and the piezoelectric reference keyboard (bottom).
CAD model and finite element stress map of a sensor next to the data acquisition hardware
Sensor design and finite element analysis (A) and the acquisition hardware (B).
Force traces for five fingers over repeated sequences, showing shorter movement times with practice
Example force recording. Each color is a finger (1 for pinky to 5 for thumb). Movement time (MT) decreases with practice; overlapping fingers are visible in the second plot.
Close-up of a hand resting on the piezoelectric keyboard Soldering wires for the piezoelectric keyboard
Close-up and manufacturing of the piezoelectric keyboard.
Participant lying on a bed in the lab with the keyboard and a laptop displaying the task
Familiarization setup in the lab. Position and ergonomics match the procedure inside the scanner.
Metal command box with connectors Assembling the 3D-printed keyboard with a screwdriver
Finishing the keyboard and the command box.
Single key fitted with the custom optical force sensor, angled for the thumb
A key with the custom optical force sensor, inclined to match the thumb's flexion angle. Adjustable wrist padding is visible on the left.

Using machine learning classifiers to decode patterns of brain activity

fMRI multi-voxel pattern analysis

Before investigating neurofeedback for motor learning, we needed to decode the brain activity associated with executing finger sequences. The first step was to select finger sequences against specific criteria (in MATLAB):

  • No sequence is the same forward and backward, e.g. 1-5-3-4-2 vs. 2-4-3-5-1.
  • No three-number run appears in the same position, e.g. 1-5-3-4-2 vs. 2-5-3-4-1.
  • No three numbers match in any position, e.g. 1-5-3-4-2 vs. 1-4-3-5-2.
  • An even number of sequences starts with each finger, obtained by reversing some of the final sequences.

A pilot experiment on the 19 resulting sequences tested whether difficulty was consistent, as assessed by movement time and error rate.

Bar chart of movement time and error rate for 19 candidate finger sequences
Pilot results (n = 8; MT is movement time). Sequences in yellow were used for familiarization; those in green were used inside the scanner.
Animation of a voxel's signal being extracted and entered into a classifier matrix
Animation of the data path from a voxel to its selection in a classifier, shown as a matrix (n = classes or sequences; m = voxels).
Grid of selected voxels colored by activity for four finger sequences

This is a graphic representation of the classifier. SC marks every voxel chosen by selection count to be part of the classifier. Each SAT is one of the four finger sequences tested, and the color gradient is the voxel's measured activity.

This classifier reached a decoding accuracy of 58.7% when tested on samples from another scanner session, a good result for a four-class problem given that head alignment changes between sessions.

Results were weaker when testing on both hemispheres or on other regions of interest. What mattered most for decoding was the quality of the samples used to train the classifier, and further improvements were needed before applying the neurofeedback paradigm. The master's thesis has the details.

Animation of the experimental paradigm: fixation, pre-cue and sequence execution
The experimental paradigm: testing whether the BOLD signal can be modulated through operant conditioning-based neurofeedback to induce motor learning.

Evaluating NIRx functional near-infrared spectroscopy to measure brain activation

fNIRS during walking and finger movements

Functional near-infrared spectroscopy (fNIRS) uses the properties of infrared light to measure local variations in blood oxygenation. It relies on an optical window, roughly 700 to 900 nm, in which skin, tissue and bone are mostly transparent to light while oxygenated and deoxygenated hemoglobin are stronger absorbers.

Like fMRI, fNIRS relies on neurovascular coupling, the blood-oxygen-level-dependent (BOLD) response, to infer changes in neuronal activity. Studies comparing fMRI and fNIRS show highly correlated results in cognitive tasks (Cui et al., 2010). I evaluated whether the NIRx system was suitable to measure movement-related brain activation.

Conditions investigated:

  • Symmetrical and asymmetrical walking on a treadmill.
  • Isolated lower-limb movements (passive vs. active hip flexion).
  • Finger flexion sequences.

Pros: high temporal resolution, noninvasive, portable, easy to set up.
Cons: low spatial resolution, limited depth of signal, artifacts.

Hemodynamic response curve of oxygenated and deoxygenated hemoglobin after a stimulus
Diagram of light paths from two sources to two detectors through scalp and cortex

The walking protocol had three blocks:

  1. Standing rest (baseline).
  2. Asymmetrical walking, one leg at 1.3 mph and the other at 0.7 mph.
  3. Symmetrical walking, both legs at 1 mph.

Each block lasted 30 s, and every third block returned to baseline. The order of the two walking blocks was randomized, as was which leg was slowed during asymmetrical walking. Participants watched a monitor that cued each switch a few seconds ahead (so they don't collapse!).

Timing was recorded simultaneously to synchronize brain data and behavior afterwards. Raw data were processed with the NIRx software and analyzed with SPM.

Participant wearing an fNIRS cap while walking on a split-belt treadmill
Setup for symmetrical and asymmetrical walking.
Pre-processed fNIRS data mapped onto a brain surface with a time course below
Pre-processed data roughly mapped onto the brain surface, useful to visualize the blocks along the time course.
Statistical maps of activation contrasts between walking conditions and rest
Walking experiment, SPM first-level analysis. Each map is a contrast between two conditions (e.g. symmetrical vs. rest is the increase in activation compared with rest over the whole data set). All maps except those marked with an asterisk are significant at p ≤ 0.05.
Statistical maps comparing each finger sequence with rest
Finger sequences, each compared with rest. A trend separates sequence from rest, but no differences between sequences were observed. The system's poor spatial resolution (around 1 cm) could account for this.

Electrocorticography (ECoG) recording of sequence learning

Rewire Lab and Seton Brain Institute

As part of my work on the neural correlates of motor learning, I was involved in a collaboration between the Rewire Lab and the Seton Brain Institute. Using the experimental setup I built, I collected concurrent finger force data and electrical brain activity from patients with electrodes implanted on the brain.

Pros: higher spatial resolution and signal-to-noise ratio than EEG, higher temporal resolution than fMRI.
Cons: limited sampling time and field of view, invasive.

While ECoG is used primarily in epileptic patients during presurgical planning, it has also been used as a recording technique for brain-computer interface research (Leuthardt et al., 2004).

I wrote a one-page report defining the project and the protocol.

ECoG project report (PDF, English, 165 KB)

Illustration of an electrode grid placed on the cortex through a surgical opening