|
| 1 | +.. _commutator: |
| 2 | + |
| 3 | +.. role:: raw-html-m2r(raw) |
| 4 | + :format: html |
| 5 | + |
| 6 | +Automated Tether Commutation |
| 7 | +============================ |
| 8 | + |
| 9 | +.. note:: |
| 10 | + Following this tutorial requires a 3D capable headstage, an Open Ephys SPI commutator, and a 3D capable data acquisition system (e.g. a Gen 3 Acquisition Board or an ONIX board). |
| 11 | + |
| 12 | +Most acquisition systems rely on a tether to transmit power and data between the headstage and the |
| 13 | +data acquisition system. This can be problematic during freely behaving experiments because the |
| 14 | +animal is liable to twist and tangle the tether while it moves around which can end up exerting |
| 15 | +torque on the animal. This is mitigated by using a commutator, a device that untwists the tether as |
| 16 | +the animal moves around while maintaining electrical continuity between the animal and data |
| 17 | +acquisition system. This encourage more naturalistic behaviors. |
| 18 | + |
| 19 | +This tutorial demonstrates how to automate commutation using a the Open Ephys GUI, a 3D-capable |
| 20 | +headstage, and an Open Ephys SPI commutator. |
| 21 | + |
| 22 | +Hardware connections |
| 23 | +##################### |
| 24 | + |
| 25 | +.. tab-set:: |
| 26 | + :sync-group: acquisition-hardware |
| 27 | + |
| 28 | + .. tab-item:: Acquisition Board |
| 29 | + :sync: acquisition-board |
| 30 | + |
| 31 | + #. Follow the `Acquisition Board Quick Start Guide |
| 32 | + <https://open-ephys.github.io/acq-board-docs/User-Manual/Quickstart-guide.html>`__ to establish |
| 33 | + the following acquisition board connections: |
| 34 | + |
| 35 | + - USB 3.0 connection between the acquisition board and the PC. |
| 36 | + |
| 37 | + - +5V connection between the acquisition board and an AC power source. |
| 38 | + |
| 39 | + #. Follow the `SPI Commutator Connections section |
| 40 | + <https://open-ephys.github.io/commutator-docs/user-guide/mount-connect.html?commutator=spi#connecting>`__ |
| 41 | + of the commutator hardware docs to establish the following commutator connections: |
| 42 | + |
| 43 | + - SPI connection between the commutator's stator and the acquisition board. |
| 44 | + |
| 45 | + - SPI connection between the commutator's rotor and the 3D capable headstage. |
| 46 | + |
| 47 | + - USB connection between the commutator and the PC. |
| 48 | + |
| 49 | + .. tab-item:: ONIX |
| 50 | + :sync: onix |
| 51 | + |
| 52 | + #. Follow the `ONIX Hardware Guide |
| 53 | + <https://open-ephys.github.io/onix-docs/User-Manual/Quickstart-guide.html>`__ to setup |
| 54 | + your ONIX board and establish the following ONIX system's connections: |
| 55 | + |
| 56 | + - 2x (A & B) coaxial connections between the breakout board and the PCIe host. |
| 57 | + |
| 58 | + - SDR connection between the breakout board and the PCIe host. |
| 59 | + |
| 60 | + #. Follow the `Coax Commutator Connections section |
| 61 | + <https://open-ephys.github.io/commutator-docs/user-guide/mount-connect.html?commutator=coax#connecting>`__ |
| 62 | + of the commutator hardware docs to establish the connections between the ONIX system and a 3D capable headstage: |
| 63 | + |
| 64 | + - Coaxial connection between the commutator's stator and the acquisition board. |
| 65 | + |
| 66 | + - Coaxial connection between the commutator's rotor and the 3D capable headstage. |
| 67 | + |
| 68 | + - USB connection between the commutator and the PC. |
| 69 | + |
| 70 | + |
| 71 | +Install GUI and prepare signal chain |
| 72 | +#################################### |
| 73 | + |
| 74 | +#. :doc:`Install the Open Ephys GUI </User-Manual/Installing-the-GUI>` if you haven't already. |
| 75 | + |
| 76 | +#. Open the GUI. |
| 77 | + |
| 78 | + .. note:: |
| 79 | + - If this is your first time opening the GUI, you will be queried to load a default signal chain. Choose the "Acquisition Board" signal chain. |
| 80 | + - If the Open Ephys GUI already has a signal chain loaded you would like to save, :ref:`do that <file>` before proceeding to the next step because the next step overwrites any current signal chain. |
| 81 | + |
| 82 | +#. Download one following signal chains depending on which hardware you are using. |
| 83 | + |
| 84 | + .. tab-set:: |
| 85 | + :sync-group: acquisition-hardware |
| 86 | + |
| 87 | + .. tab-item:: Acquisition Board |
| 88 | + :sync: acquisition-board |
| 89 | + |
| 90 | + :download:`Acquisition Board Signal Chain` |
| 91 | + |
| 92 | + .. image:: /_static/images/tutorials/commutator/onix-signal-chain.png |
| 93 | + :alt: Acquisition Board Signal Chain for commutation |
| 94 | + |
| 95 | + .. tab-item:: ONIX |
| 96 | + :sync: onix |
| 97 | + |
| 98 | + :download:`ONIX Signal Chain` |
| 99 | + |
| 100 | + .. image:: /_static/images/tutorials/commutator/onix-signal-chain.png |
| 101 | + :alt: ONIX Signal Chain for commutation |
| 102 | + |
| 103 | +#. :ref:`Open <file>` the downloaded signal chain in the GUI. |
| 104 | + |
| 105 | +#. Refer to :doc:`/User-Manual/Plugins/Commutator-Control` to configure the Commutator Control |
| 106 | + processor. |
| 107 | + |
| 108 | + - The selected stream should correspond to a port that has a 3D capable headstage to it. |
| 109 | + |
| 110 | + - The selected COM port should correspond to the one to which your commutator is connected. |
| 111 | + |
| 112 | + - For an off-the-shelf Open Ephys 3D capable headstage, adjusting the rotation axis is not |
| 113 | + necessary. |
| 114 | + |
| 115 | +#. Click the ▶ play button in the top-right corner of the GUI. The commutator now follows the |
| 116 | + rotation of the headstage. |
| 117 | + |
0 commit comments