Head tracking

From biophysics
Revision as of 12:42, 27 November 2026 by Lof (talk | contribs) (Complete the IMU and optical head tracking sections)
Jump to navigation Jump to search

Introduction

Head tracking is an important way to measure responses of subject to stimuli. The head movement can be measured in several ways, each with their pro's and con's. Three different techniques are used for head tracking in our labs: EMF, IMU and optical head tracking.

EMF head tracking

The Electromagnetic Field head tracking system consists of three low frequency (50, 60 and 70 kHz) magnetic field generators that create homogeneous alternating magnetic fields around the subject. There are three perpendicular fields (horizontal, vertical and frontal) each with a different frequency.

The subject is wearing a pickup coil on his/her head during the trial. This coil picks up the magnetic fields. The strength of the different frequency components is depending on the orientation of the head. The pickup coil signal is again split in three components by three lock-in amplifiers (LIA's). The outputs of the LIA's are converted by ADC's and analysed further in Matlab by a pre-trained neural network.

This system is available in:

IMU head tracking

An inertial measurement unit (IMU) is a small sensor that is worn on the head. It combines a 3-axis gyroscope (angular velocity), a 3-axis accelerometer (linear acceleration and the direction of gravity) and often a 3-axis magnetometer (direction of the earth's magnetic field). From these signals a sensor-fusion algorithm calculates the orientation of the head.

Pros and cons:

  • No external equipment (coils, cameras) is needed, so IMUs can be used in any lab, outside the lab and on a moving platform.
  • High sample rates and low latency.
  • An IMU measures changes in orientation, not the absolute direction in the lab. The heading (azimuth) slowly drifts, because the gyroscope signal is integrated and the magnetometer is disturbed by metal and electrical equipment. Elevation (pitch) and roll are corrected with the gravity vector and are more stable.
  • On a moving platform such as the Vestibular Chair, the IMU measures the movement of the head in space (chair + head), not the movement of the head relative to the chair.

Because of the drift, the IMU signal must be referenced to a known direction. Let the subject look at a known target (e.g. the centre speaker at (0,0)) at the start of each trial and express the head movement relative to that starting direction.

Each IMU has its own XYZ coordinate system. The biofysica toolbox has a function definition_XYZ2RAS_<devicename> for each device and the function transform_XYZ2RAS to convert the data to RAS coordinates; see Coordinate systems.

IMU head tracking is used in:

  • EyeSeeCam SCI: combined eye tracker and IMU head tracker (250 or 500 Hz). The data is streamed via LSL; the class EyeSeeCamSci_Trace combines head and eye movements into a gaze trace.
  • The Artinis Brite has a built-in IMU that records head movement during NIRS measurements.

Optical head tracking

With optical head tracking the position and orientation of the head are measured with light, usually infrared. There are two approaches:

  • Outside-in: cameras or base stations are mounted in the room and track markers on the head (reflective balls or infrared LEDs on a head band or glasses). With at least three markers the full position and orientation (6 degrees of freedom) can be calculated.
  • Inside-out: cameras or light sensors on the head (e.g. in a VR headset) look at the room or at base stations, and the position and orientation are calculated from that.

Pros and cons:

  • Absolute position and orientation in the lab, without drift.
  • No magnetic fields, so it can be combined with metal and electrical equipment.
  • The markers or sensors must be visible: tracking is lost when they are hidden (e.g. by the hands or a large head rotation).
  • The latency is usually higher than for EMF or IMU tracking, and the system needs to be calibrated to the lab coordinate system.

In our labs, optical tracking is used by the VR headsets: the HTC VIVE uses infrared base stations ('lighthouses') and light sensors on the headset, the HTC VIVE Cosmos uses cameras on the headset (inside-out tracking). Many VR headsets also contain an IMU, which is combined with the optical tracking to get fast and drift-free head orientation.