Auditory Motion Lab: Difference between revisions

From biophysics
Jump to navigation Jump to search
Safety: STOP button stops the motors only
 
(3 intermediate revisions by the same user not shown)
Line 51: Line 51:


===Head tracking calibration===
===Head tracking calibration===
*Before an experiment, calibrate the head tracking system with the LED calibration experiment <code>RA_ledLocationsCalibration.exp</code> (in <code>ROBOT_ARM\auxiliary files</code>). You can load the calibration file by using the 'load calibration' button on the GUI.
*Before an experiment, calibrate the head tracking system with the LED calibration experiment <code>RA_ledLocationsCalibration.exp</code> (in <code>ROBOT_ARM\auxiliary files</code>). You can load the calibration file by using the <load calibration> button on the GUI.


===Safety===
===Safety===
<!-- TODO: emergency stop of robot arm and chair, communication with subject in darkness, maximum chair velocity -->
The robot arm and the rotating chair are powerful motorized systems that can be dangerous when not used properly. Always follow the general lab rules in [[Good Laboratory Practice (GLP)#Safety|Good Laboratory Practice]]:
*'''Never disable safety measures.'''
*'''Never leave a subject alone.''' Off hours (outside 9-17 h, weekends and holidays) at least two people besides the subject must be present.
 
====Emergency stop====
[[File:Auditory_Motion_Lab_PLC_Control_Panel.png|thumb|300px|PLC control panel in the electronics rack]]
*The robot arm and the chair are operated from the '''PLC control panel''' in the middle of the [[Auditory Motion lab technical info#Electronics rack|electronics rack]]. The panel has:
**'''EMERGENCY''': red emergency stop button;
**'''STOP''': stops the motors only (the experiment program keeps running);
**'''LOCK''': key switch that locks the panel (the touchscreen then shows ''LOCKED'').
*There is also a stop button at the subject's chair.
*Pressing a stop button immediately stops the robot arm and the chair.
*Explain to every subject, before the experiment, how they can stop the experiment at any time (stop button at the chair, or via the intercom).
*After an emergency stop, first check that the subject is fine, then find out why the system was stopped before you continue.
*To reset the emergency stop, pull the EMERGENCY button out again.
*The control panel is locked with a key switch. Only authorized users may operate it; ask the lab supervisor or the technicians if you need access.
 
====Before starting the motors====
*Make sure nobody except the subject is inside the booth, and that nothing is within reach of the robot arm.
*Check that the subject is seated well, with the head in the centre of the booth, and that cables (e.g. of the head coil) cannot get caught when the chair rotates.
*Check the movement in a test run without a subject first, especially for new trajectories.
 
====Motor limits====
The RA_Program checks every motor trajectory in the experiment file before it is executed. A trial that exceeds a limit is not run and gives an error:
{| class="wikitable"
! Axis !! Max. speed !! Max. acceleration
|-
| Arm horizontal || 120 deg/s || 1000 deg/s²
|-
| Arm vertical || 120 deg/s || 1000 deg/s²
|-
| Chair || 120 deg/s || 1000 deg/s²
|}
These limits are set in <code>EXP_MOTOR_CONSTRAINTS.m</code> in the EXP_framework. Never change them without consulting the technicians.
 
====During the experiment====
*The experiment runs in total darkness. Monitor the subject with the infrared camera; its monitor hangs above the computer screen.
*Keep in contact with the subject via the intercom (Motorola wall plug intercom). One unit is behind the central chair and one on the computer table; both have to be plugged in before the experiment.
*Stop the experiment if the subject feels unwell (e.g. motion sickness or dizziness from chair rotations).
*Take regular breaks, and switch on the light in the booth before the subject gets up.


[[Category:Labs]]
[[Category:Labs]]

Latest revision as of 13:47, 26 November 2026

Scientific supervisor is Marc van Wanrooij

to technical info

Introduction

Location of Auditory Motion Lab

In the Auditory Motion lab (aka Robot Arm) at the Huygens basement (floor A -2), we investigate how the human auditory system tracks a moving sound source in any direction. A speaker (with LED), attached to the end of two-link robotic arm, equipped with two independently controlled motors, can be moved along a spherical surface around the subject, while any type of sound can be played. The subject actively follows the sound source (in total darkness), while we accurately measure the head and eye orientation. The subject is comfortably seated on a chair, equipped with a third motor, which can induce whole-body rotations in the horizontal plane. In this way we can measure spatial behavior (gaze control) under a variety of dynamic audio-vestibular conditions, in which the sound moves around the subject at a relative velocity with respect to the head that also depends on the whole-body motion of the subject. We can thus dissociate the contributions of active and passive head movements to the perception and pursuit of moving sounds (and lights). The lab is equipped with a high-end binocular eye tracker system (EyeSeeCam), with which eye movements can be recorded at 500 Hz sampling rate per eye. Head movements are recorded through the same system.

The equipment can also be used to test auditory motion perception of patients with an implant, such as a cochlear implant, hearing aid devices, or a bone conduction . Companies producing such implants could gain more insight into the manner in which their products steer brain activity and perception. Audiological centers can use this technique for the same reasons.

Experiment information

Booking the lab

  • Book the lab in QReserve (agenda: Speaker Robot). If you don't have access to QReserve yet, ask one of the administrators.

Software

  • Experiments are run with the robot arm program (RA_Program), which is part of the EXP programs and based on the EXP_framework. See also Programming an experiment.
  • The software is part of the biofysica toolbox on Gitlab (biofysica\experiment\EXP_programs\ROBOT_ARM), see Gitlab Repository Biofysica.
  • A full description of the program and the experiment file format is in the EXP_programs user manual.
  • You don't need to program in MATLAB yourself: the experiment is fully specified in an experiment file (.exp).

First time setup

  • Create your personal data directory by running the following in MATLAB (replace XY with your initials):
EXP_initialize_data_directory('XY')
  • This creates C:\DATA\XY\EXP with the subfolders EXPERIMENTS, MOTORS, SOUNDS_VIDEOS and RECORDINGS, plus an example experiment file (example1.exp) and parameter spreadsheets.

Running an experiment

  1. Check that the equipment in the electronics rack is switched on (RZ6, amplifiers, field coil generator, lock-in amplifiers, robot arm controller).
  2. Prepare the subject: seat them in the chair in the centre of the booth;
  3. When necessary attach the pick-up coil for head tracking or connect the eyetracker.
  4. Start MATLAB and open RA_Program.m. Set INITIALS to your own initials and run the script.
  5. Load your experiment file (.exp) in the GUI and start the experiment. The GUI shows real-time information during the experiment.
  6. The data is saved as one .mat file per trial (and block), containing a struct called trialInfo, in C:\DATA\XY\EXP\RECORDINGS.

Experiment file (.exp)

An experiment file has three sections: ~~~ COMMENT ~~~, ~~~ HEADER ~~~ (general settings such as ITI and auto-start) and ~~~ BODY ~~~ (blocks and trials). Each trial consists of lines, e.g.:

  • SND: sound stimulus
  • LED: LED stimulus (azimuth, elevation, ...)
  • TRG: trigger
  • ACQ: data acquisition (e.g. HVF = horizontal, vertical and frontal head coil signals)
  • MOTOR: robot arm / chair movement
  • WALL: wall speakers (background sound)

Example of a trial:

*** TRIAL ***
LED	0	30	1	50	0	0	1	0	-
TRG	0000	1000	-	-	0	0	-	-	1
ACQ	1000	-	HVF	-	0	0	1	3000	-

Head tracking calibration

  • Before an experiment, calibrate the head tracking system with the LED calibration experiment RA_ledLocationsCalibration.exp (in ROBOT_ARM\auxiliary files). You can load the calibration file by using the <load calibration> button on the GUI.

Safety

The robot arm and the rotating chair are powerful motorized systems that can be dangerous when not used properly. Always follow the general lab rules in Good Laboratory Practice:

  • Never disable safety measures.
  • Never leave a subject alone. Off hours (outside 9-17 h, weekends and holidays) at least two people besides the subject must be present.

Emergency stop

PLC control panel in the electronics rack
  • The robot arm and the chair are operated from the PLC control panel in the middle of the electronics rack. The panel has:
    • EMERGENCY: red emergency stop button;
    • STOP: stops the motors only (the experiment program keeps running);
    • LOCK: key switch that locks the panel (the touchscreen then shows LOCKED).
  • There is also a stop button at the subject's chair.
  • Pressing a stop button immediately stops the robot arm and the chair.
  • Explain to every subject, before the experiment, how they can stop the experiment at any time (stop button at the chair, or via the intercom).
  • After an emergency stop, first check that the subject is fine, then find out why the system was stopped before you continue.
  • To reset the emergency stop, pull the EMERGENCY button out again.
  • The control panel is locked with a key switch. Only authorized users may operate it; ask the lab supervisor or the technicians if you need access.

Before starting the motors

  • Make sure nobody except the subject is inside the booth, and that nothing is within reach of the robot arm.
  • Check that the subject is seated well, with the head in the centre of the booth, and that cables (e.g. of the head coil) cannot get caught when the chair rotates.
  • Check the movement in a test run without a subject first, especially for new trajectories.

Motor limits

The RA_Program checks every motor trajectory in the experiment file before it is executed. A trial that exceeds a limit is not run and gives an error:

Axis Max. speed Max. acceleration
Arm horizontal 120 deg/s 1000 deg/s²
Arm vertical 120 deg/s 1000 deg/s²
Chair 120 deg/s 1000 deg/s²

These limits are set in EXP_MOTOR_CONSTRAINTS.m in the EXP_framework. Never change them without consulting the technicians.

During the experiment

  • The experiment runs in total darkness. Monitor the subject with the infrared camera; its monitor hangs above the computer screen.
  • Keep in contact with the subject via the intercom (Motorola wall plug intercom). One unit is behind the central chair and one on the computer table; both have to be plugged in before the experiment.
  • Stop the experiment if the subject feels unwell (e.g. motion sickness or dizziness from chair rotations).
  • Take regular breaks, and switch on the light in the booth before the subject gets up.