Difference between revisions of "Auditory Perception Lab technical info"

From biophysics
Jump to navigation Jump to search
 
(57 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
==Introduction==
 
==Introduction==
The Auditory Perception setup is a sound boot with about 30 speakers arranged in a quarter sphere. In the middle of the sphere is a chair where a person (the subject) can sit, so that his/her head is exactly in the center of the sphere. The subject can be presented with stimuli in the form of sounds or led flashes. The head movements of the subject can be tracked. The subject can also respond to stimuli by pressing a button. The experiments are controlled by a computer and electronics from outside the boot.
+
The Auditory Perception setup is a sound boot with 43 speakers arranged in a quarter sphere. In the middle of the sphere is a chair where a person (the subject) can sit, so that his/her head is exactly in the center of the sphere. The subject can be presented with stimuli in the form of sounds or led flashes. The head movements of the subject can be tracked. The subject can also respond to stimuli by pressing a button. The experiments are controlled by a computer and electronics from outside the boot.
  
 
==Booth==
 
==Booth==
[[File:image005.png|thumb|Sound Booth]]
+
[[File:PatientlabBoothCloseup.JPEG|thumb|Sound Booth]]
 +
%todo
 
*Dimensions: LxWxH = 250x230x280cm
 
*Dimensions: LxWxH = 250x230x280cm
  
 
===Description===
 
===Description===
The sound booth is an acoustically isolated room with sound absorbing materials on all walls and the floor to reduce reverberation. A 2.4 m diameter quarter sphere build of a metal structure holds about 30 small passive speakers. The speakers also contain two color LED's. In the center of the booth there is a chair for a subject. The chair is placed in a way that the head of the subject is right in center of the sphere.  
+
The sound booth is an acoustically isolated room with sound absorbing materials on all walls and the floor to reduce reverberation. A 2.4 m diameter quarter sphere build of a metal structure holds 43 small passive speakers. The speakers also contain two color LED's. In the center of the booth there is a chair for a subject. The chair is placed in a way that the head of the subject is right in center of the sphere.  
Large coils are embedded in the walls of the sound booth. The coils make a cube of about 2.5 m x 2.3 m x 2.8 m. These coils are used for head movement detection.
+
Large coils are embedded in the walls of the sound booth. The coils make a box of about 2.5 m x 2.3 m x 2.8 m. These coils are used for head movement detection.
  
 
An infrared camera is installed in the booth. The experimenter has a monitor from which he/she can see the inside of the booth. The camera looks down on the back of the subject.
 
An infrared camera is installed in the booth. The experimenter has a monitor from which he/she can see the inside of the booth. The camera looks down on the back of the subject.
Line 22: Line 23:
  
 
see [[Acoustic Materials]]
 
see [[Acoustic Materials]]
 +
 +
===Coordinates===
 +
The orientation of the coordinates is determined by the position of the head of the subject looking to the center speaker. The raw acquisition data of the head coil results in tuples of voltages (Frontal, Vertical, Horizontal) which correspond to (X, Y, Z).
 +
 +
* Frontal (F)  : Front is X+, Back is X-
 +
* Vertical (V)  : Top is Y+, Bottom is Y-
 +
* Horizontal (H): Right is Z+, Left is Z-
 +
 +
For Double Polar coordinates see [[Coordinate systems]]
  
 
==Computer==
 
==Computer==
[[File:image009.png|thumb|zBus Monitor]]
+
[[File:xxxxxxx.png|thumb|zBus Monitor]]
 
A windows computer with MATLAB, RPvdsEx and zBUSmon. The computer has an optical interface card (PO5e) for communication with the Tucker Davis equipment via the Optibit optical bus (FO5) at the back of the rack. The working of the optical bus can be monitored by the program zBUSmon program from TDT. This program has also some control functions for the optical bus. It shows all the connected zBus chassis and the TDT devices that are installed in each chassis. It also shows the version number of the installed firmware on the devices.
 
A windows computer with MATLAB, RPvdsEx and zBUSmon. The computer has an optical interface card (PO5e) for communication with the Tucker Davis equipment via the Optibit optical bus (FO5) at the back of the rack. The working of the optical bus can be monitored by the program zBUSmon program from TDT. This program has also some control functions for the optical bus. It shows all the connected zBus chassis and the TDT devices that are installed in each chassis. It also shows the version number of the installed firmware on the devices.
 
==Software==
 
==Software==
 
The software consist of several parts:
 
The software consist of several parts:
 
*Matlab software for generating experiment files.
 
*Matlab software for generating experiment files.
 +
**''Sphere Minor''
 +
**''BIOX Prime (under construction)''
 
*Matlab software that runs the experiments.
 
*Matlab software that runs the experiments.
 
*BIOX (RPvdsX) software for the RZ6 soundprocessor.
 
*BIOX (RPvdsX) software for the RZ6 soundprocessor.
Line 43: Line 55:
 
The software mostly used is called 'SphereMinor'. It is a reworked copy of the 'SpherePrime' program of the Sphere Setup. It can be found in the '''\biofysica\experiment\sphereMinor''' directory. It has a graphical user interface (GUI) and is, except for the GUI, written in the procedural programming paradigm. Several functions have a parameter 'handles' as input parameter and as output parameter. 'handles' is a struct that contains nearly all information that is moved around in the program. Every function has the ability to change 'handles'. This way it acts as a global data structure.
 
The software mostly used is called 'SphereMinor'. It is a reworked copy of the 'SpherePrime' program of the Sphere Setup. It can be found in the '''\biofysica\experiment\sphereMinor''' directory. It has a graphical user interface (GUI) and is, except for the GUI, written in the procedural programming paradigm. Several functions have a parameter 'handles' as input parameter and as output parameter. 'handles' is a struct that contains nearly all information that is moved around in the program. Every function has the ability to change 'handles'. This way it acts as a global data structure.
  
A newer version (under construction) of 'SpherePrime' is 'BIOXPrime'. This program has a GUI build in the app designer of Matlab. The program is mostly written in the Object Oriented Programming (OOP) paradigm. The core of the program is a state machine. Due to its structure the GUI stays always responsive.
+
===Biox Prime===
 +
A program 'Biox Prime' is under construction. This program has a GUI build in the app designer of Matlab. The program is mostly written in the Object Oriented Programming (OOP) paradigm. The core of the program is a state machine. Due to its structure the GUI stays always responsive. The programming of the RZ6 is based on the [[BIOX]] toolbox.
  
 
===RPvdsX software===
 
===RPvdsX software===
Line 49: Line 62:
  
 
==Electronics rack==
 
==Electronics rack==
[[File:xxxxxx.png|thumb|electronics rack]]
+
[[File:PatientlabElectronicsRack.JPEG|thumb|electronics rack]]
% todo
+
From top to bottom:
 +
*Rack main power switches
 +
*Computer
 +
*Quad channel amplifier
 +
*Digital event recorder
 +
*RZ6 Multi I/O Processor
 +
*PP RZ6 Digital I/O (Patch panel)
 +
*Left: PP Amp (Patch panel)  ; Right: Multiplexer
 +
*Left: <none>                ;Right: Multiplexer
 +
*Left: PP Audion (Patch panel; Right: Multiplexer
 +
*8 channel ADC acquisition device
 +
*Oscilloscope
 +
*Femto oscilator/Lock-in amplifier module
 +
*Field coil generator (amplifier)
  
 
==Sound system==
 
==Sound system==
Line 67: Line 93:
  
 
====Minx Min12 speaker system====
 
====Minx Min12 speaker system====
[[File:image016.png|thumb|Speaker (and LED) connection scheme]]
 
 
On the sphere frame Cambridge Audio Minx Min12 speakers are used.  
 
On the sphere frame Cambridge Audio Minx Min12 speakers are used.  
  
Line 83: Line 108:
  
 
==LED system==
 
==LED system==
[[File:image026.png|thumb|PLC output scheme (only 2 outputs indicated)]]
+
[[File:xxxxxxx.png|thumb|LED wiring scheme]]  
The LED system consists of a cabinet inside the sound boot with a Panasonic FP2 series PLC system (programmable logic controller). The PLC can independently switch 256 channels. The channels connect to a two color LEDs (red and green)  that are mounted on the speaker. The PLC cabinet has two test buttons that can light all LEDs at once.
+
%todo
The PLC system consists of a PLC with several IO units and is can be programmed by via a special USB cable.
+
 
 +
The system is triggered by the RZ6 output.
  
 
====Parts====
 
====Parts====
*Trigger from Medusa base station
+
*[[DCN LED controller]] (2x)
*PLC cabinet (houses PLC system)
+
*LED mounting frames (32x)
**FP2 PLC system from Panasonic
+
*[[LED specifications|Red/Green LED’s]](32x)
**Break-out panel with 5 pole Binder connectors (128x)
+
*Mini-jack to mini-jack cables
*Binder cables (120x)
 
*LED mounting frames (120x)
 
*Red/Green LED’s (120x)
 
*Trigger converter (5V &rarr; 24V) for input trigger
 
*Trigger converter (24V &rarr; 5V) for trigger echo
 
 
 
====Specifications Panasonic FP2 series====
 
*FP2C2LJ FP2SH PLC
 
**1 ms cycle time when <20.000 steps per cycle (120.000 steps max)
 
**Measured cycle time 1.35 ms
 
*FP2Y64TJ output unit (4x)
 
**64 channels
 
**24V NPN output
 
**Current 0.3A max
 
**Response time <0.3 ms
 
*FP2PXYPJ multi I/O unit
 
**PNP transistor
 
**PWM output 30 kHz
 
**Duty cycle 0-100% in steps of 1%
 
**Max output 800 mA
 
*FP2X16D2J  input unit
 
**16 channels
 
**Current 8 mA @24V
 
**Response time <0.2 ms
 
 
 
====Specifications Red/Green LEDs====
 
*Bivar 5BC-3-CA-F (Common Anode)
 
*Red 625nm (FWHM = 25 nm)
 
*Green 568 nm (FWHM = 30 nm)
 
*Nominal current 20 mA
 
*Voltage drop 2.1V
 
*45 degree viewing angle
 
*Series resistor 1kOhm
 
*Actual current 10 mA @100% PWM
 
  
 
==Trigger/Timing system==
 
==Trigger/Timing system==
[[File:Trigger system Sphere 2.png|thumb|Scheme of trigger system]]
+
[[File:xxxxxxxxx.png|thumb|Scheme of trigger system]]
[[File:image032.png|thumb|LED stimulus in standard modus (X=0)]]
 
[[File:image034.png|thumb|LED stimulus in short pulse modus (X=1)]]
 
===Description===
 
The task of the trigger/timing system is to distribute trigger signals and record the timing of the triggers. In the standard situation when an experiment starts, the subject has to push a button to start a trial. The button push is registered by an arduino trigger bridge that outputs a trigger to the Medusa Base Station. The Medusa sends triggers to the RP2.1’s, the LED PLC and to the Event Recorder. The Event Recorder timestamps all the triggers and can be read out via ethernet. The arduino trigger bridge has a green LED that indicates that a trigger signal is generated and it has a test button that generates a trigger signal when pushed.
 
 
 
 
===Parts===
 
===Parts===
*Pushbutton (with 9V battery for 5V output)
+
*Pushbutton (passive switch, normally open)
*Arduino [[Trigger distributor]] (5V inputs (3x), 5V outputs (6x), 3V outputs (2x), testbutton)
+
*[[8 channel digital event recorder|Digital event recorder (LSLDER02)]]
*PP16 patch panel for analogue inputs
 
*PP16 patch panel for digital outputs
 
*Medusa Base Station (TDT RA16)
 
*[[Digital event recorder]]
 
 
 
===Specification===
 
The LED PLC in the LED controller cabinet can be programmed by Matlab. The PLC stores a list of LED configurations. One configuration tells the PLC which LEDs should be on or off. In the standard mode (X = 0) the current configuration is changed to the next configuration by an electrical trigger signal from the Medusa Base Station. A stimulus of a single LED consists of two configurations, one with only that LED on, followed by one with all the LEDs off. The timing and the length of the stimulus are controlled by trigger signals sent from the Medusa Base Station.
 
The PLC cycle of 1.35 ms is the limiting factor for the shortness of a LED stimulus. In practice the pulselength can be as short as two or three PLC cycles (2.7 ms or 4.0 ms) in the standard modus (X=0). The number of cycles the stimulus lasts can vary by one cycle.
 
In practice there is always 1.35 ms jitter on top of a 1.35 ms delay for the start (and end) of a LED stimulus (see figure). When more precise knowledge is needed over the timing or length of the stimulus, a timing signal (trigger echo) sent from the PLC can be recorded. The trigger echo signal is lined up with the rising or falling flanks of the LED and can measure the real stimulus with an accuracy down to 40 µs.
 
 
 
When using short stimuli the X parameter can be used to control the exact number of cycles. When X = n the length of the LED stimulus is exactly n PLC cycles.
 
  
 
==Head Tracking System==
 
==Head Tracking System==
 +
See [[EM Field Head Tracking System specifications]]
  
The Head Tracking System is used for recording head movements of the subject during a trial. The system consists of the following parts:
+
===Lock-in amplifiers===
[[File:SphereHeadTrackingSystem.png|300px|thumb|right|Schematic of the Sphere Head Tracking System]]
+
[[File:Patientlab_Lockin_settings.JPEG|300px|thumb|right|Lock-in amplifier settings]]
*Three oscillators at roughly 50, 60 and 70 kHz for X, Y and Z direction.
+
Three Femto LIA-BV-150-H Lock-in amplifiers are used in order to separate the Frontal, Horizontal and Vertical signals from the pick-up coil. Each Lock-in amplifier has a Sinus Oscillator Module (SOM-1) that is used both as Field Modulation Signal and as Reference Signal. The Lock-in amplifier settings are set at the front of the device (see picture), except for the modulation/reference frequency which is set inside on the SOM-board.
*Three signal amplifiers that amplify the oscillator signals.
+
{| class="wikitable"
*six field coils that make a cube of roughly 3x3x3 meters.
+
! Setting
*A small pick-up coil mounted on a glasses frame that is worn by the subject during the experiment.
+
! Frontal (Red)
*Three lock-in amplifiers that split the signal from the pick-up coil in the 3 frequency components and measures their envelope.
+
! Vertical (Blue)
*An acquisition device that converts the output signals from the lock-in amplifiers.
+
! Horizontal (Yellow)
*A RZ6 multi I/O processor that records the acquired data.
+
|-
*Software that converts the recorded data to head orientations using calibration data.
+
| Frequency
 +
| 45kHz
 +
| 55kHz
 +
| 65kHz
 +
|-
 +
| Time constant
 +
| B
 +
| B
 +
| B
 +
|-
 +
| Sensitivity
 +
| 5
 +
| 5
 +
| 5
 +
|-
 +
| Phase Course
 +
| F
 +
| F
 +
| 7
 +
|-
 +
| Phase Fine
 +
| 4
 +
| 7
 +
| 4
 +
|-
 +
| Dynamic Reserve
 +
| L
 +
| L
 +
| L
 +
|-
 +
| Mode
 +
| 1f
 +
| 1f
 +
| 1f
 +
|-
 +
| PLL
 +
| S
 +
| S
 +
| S
 +
|-
 +
| Reference Threshold
 +
| 0V
 +
| 0V
 +
| 0V
 +
|}

Latest revision as of 12:48, 23 February 2024

back to Auditory Perception Lab

Introduction

The Auditory Perception setup is a sound boot with 43 speakers arranged in a quarter sphere. In the middle of the sphere is a chair where a person (the subject) can sit, so that his/her head is exactly in the center of the sphere. The subject can be presented with stimuli in the form of sounds or led flashes. The head movements of the subject can be tracked. The subject can also respond to stimuli by pressing a button. The experiments are controlled by a computer and electronics from outside the boot.

Booth

Sound Booth

%todo

  • Dimensions: LxWxH = 250x230x280cm

Description

The sound booth is an acoustically isolated room with sound absorbing materials on all walls and the floor to reduce reverberation. A 2.4 m diameter quarter sphere build of a metal structure holds 43 small passive speakers. The speakers also contain two color LED's. In the center of the booth there is a chair for a subject. The chair is placed in a way that the head of the subject is right in center of the sphere. Large coils are embedded in the walls of the sound booth. The coils make a box of about 2.5 m x 2.3 m x 2.8 m. These coils are used for head movement detection.

An infrared camera is installed in the booth. The experimenter has a monitor from which he/she can see the inside of the booth. The camera looks down on the back of the subject.

Acoustics

The Booth is acoustically isolated from its environment. The walls and corners are covered by acoustic panels. A double steel door isolates the booth from the operating room.

  • Walls: Cinema Round Acoustic Panels
  • Corners: Super Bass 90 Acoustic Panels.
  • Floor: anti-fatigue rubber floor mat with holes

see Acoustic Materials

Coordinates

The orientation of the coordinates is determined by the position of the head of the subject looking to the center speaker. The raw acquisition data of the head coil results in tuples of voltages (Frontal, Vertical, Horizontal) which correspond to (X, Y, Z).

  • Frontal (F) : Front is X+, Back is X-
  • Vertical (V) : Top is Y+, Bottom is Y-
  • Horizontal (H): Right is Z+, Left is Z-

For Double Polar coordinates see Coordinate systems

Computer

File:Xxxxxxx.png
zBus Monitor

A windows computer with MATLAB, RPvdsEx and zBUSmon. The computer has an optical interface card (PO5e) for communication with the Tucker Davis equipment via the Optibit optical bus (FO5) at the back of the rack. The working of the optical bus can be monitored by the program zBUSmon program from TDT. This program has also some control functions for the optical bus. It shows all the connected zBus chassis and the TDT devices that are installed in each chassis. It also shows the version number of the installed firmware on the devices.

Software

The software consist of several parts:

  • Matlab software for generating experiment files.
    • Sphere Minor
    • BIOX Prime (under construction)
  • Matlab software that runs the experiments.
  • BIOX (RPvdsX) software for the RZ6 soundprocessor.

GenExp

The software that generates a experiment file is called 'genexp_xxxxx'. In the \biofysica\experiment\exp directory there are five examples:

  • genexp_defaultcal.m
  • genexp_defaultloc.m
  • genexp_fartloc.m
  • genexp_glausndloc.m
  • genexp_student.m

Sphere Minor

The software mostly used is called 'SphereMinor'. It is a reworked copy of the 'SpherePrime' program of the Sphere Setup. It can be found in the \biofysica\experiment\sphereMinor directory. It has a graphical user interface (GUI) and is, except for the GUI, written in the procedural programming paradigm. Several functions have a parameter 'handles' as input parameter and as output parameter. 'handles' is a struct that contains nearly all information that is moved around in the program. Every function has the ability to change 'handles'. This way it acts as a global data structure.

Biox Prime

A program 'Biox Prime' is under construction. This program has a GUI build in the app designer of Matlab. The program is mostly written in the Object Oriented Programming (OOP) paradigm. The core of the program is a state machine. Due to its structure the GUI stays always responsive. The programming of the RZ6 is based on the BIOX toolbox.

RPvdsX software

The BIOX sofware can be found in the \biofysica\experiment\biox_rz6 directory.

Electronics rack

electronics rack

From top to bottom:

  • Rack main power switches
  • Computer
  • Quad channel amplifier
  • Digital event recorder
  • RZ6 Multi I/O Processor
  • PP RZ6 Digital I/O (Patch panel)
  • Left: PP Amp (Patch panel) ; Right: Multiplexer
  • Left: <none> ;Right: Multiplexer
  • Left: PP Audion (Patch panel; Right: Multiplexer
  • 8 channel ADC acquisition device
  • Oscilloscope
  • Femto oscilator/Lock-in amplifier module
  • Field coil generator (amplifier)

Sound system

File:Xxxxxxx.png
Connection schematics of the sound system
File:Xxxxxxx.png
Speaker locations on the sphere

The sound system consists of a programmable sound processor (RZ6) with each two DAC’s. The RZ6 generates a sound signal that travels via a multiplexer (TDT PM2R) to a patch panel inside the the booth and from there to a speaker. The multiplexing system consists of two TDT PM2relay multiplexers. Each multiplexer has 16 channels. Only one channels per multiplexer can be opened at a time. The total number of channels is 32. The RZ6 controls the multiplexers.

Parts

  • RZ6
  • TDT PM2relay Multiplexers (2x)
  • Flat cables from RZ6 to PM2relays.
  • Dsub25 cables from PM2relays to patch panels in the booth (2x)
  • Patch panel inside the booth
  • Speakers (30x)

Minx Min12 speaker system

On the sphere frame Cambridge Audio Minx Min12 speakers are used.

Speaker specifications:

  • Sensitivity: 86 dB SPL (@2.83 Vrms input)
  • Frequency response: 150 Hz-20 kHz
  • Impedance: 8 Ohms
  • H x W x D: 78 x 78 x 85 mm
  • Weight: 0.43 kg

The speakers are connected via 2 lead wires for the sound and 3 lead wires with mini stereo jacks for the LED's.

Azimuths and elevations were measured by %todo and are tabulated in %todo.

LED system

File:Xxxxxxx.png
LED wiring scheme

%todo

The system is triggered by the RZ6 output.

Parts

Trigger/Timing system

File:Xxxxxxxxx.png
Scheme of trigger system

Parts

Head Tracking System

See EM Field Head Tracking System specifications

Lock-in amplifiers

Lock-in amplifier settings

Three Femto LIA-BV-150-H Lock-in amplifiers are used in order to separate the Frontal, Horizontal and Vertical signals from the pick-up coil. Each Lock-in amplifier has a Sinus Oscillator Module (SOM-1) that is used both as Field Modulation Signal and as Reference Signal. The Lock-in amplifier settings are set at the front of the device (see picture), except for the modulation/reference frequency which is set inside on the SOM-board.

Setting Frontal (Red) Vertical (Blue) Horizontal (Yellow)
Frequency 45kHz 55kHz 65kHz
Time constant B B B
Sensitivity 5 5 5
Phase Course F F 7
Phase Fine 4 7 4
Dynamic Reserve L L L
Mode 1f 1f 1f
PLL S S S
Reference Threshold 0V 0V 0V