Literature DB >> 33318960

An open source motorized swivel for in vivo neural and behavioral recordings.

Giovanni Barbera1, Yan Zhang1, Craig Werner1, Bo Liang1, Yun Li2, Da-Ting Lin1,3.   

Abstract

In this work we propose an open source, cost-effective motorized swivel for behavioral and neural recordings in small rodents, offering a flexible solution for managing cable twisting and tangling in a variety of experimental settings with minimal human supervision.•The device operates independently of the data acquisition system, and it can be controlled through any popular platform such as Arduino or Raspberry Pi.•All mechanical parts are 3D-printed, allowing to customize the design to fit specific experimental needs, and electromechanical components can be sourced from all major distributors, keeping the cost for the entire system under $500.•The proposed commutator is compatible with commercial or custom data acquisition systems supporting up to 10 data lines (2 for LVDS signals) and 2 power lines. Published by Elsevier B.V.

Entities:  

Keywords:  Motorized commutator; Motorized slip ring; Neural recording swivel

Year:  2020        PMID: 33318960      PMCID: PMC7726719          DOI: 10.1016/j.mex.2020.101167

Source DB:  PubMed          Journal:  MethodsX        ISSN: 2215-0161


Specifications table

Hardware in context

There are several options for motorized commutators available on the market today, however their proprietary design makes their use limited to specific recording hardware, and their cost can be a critical limiting factor in the experiment design. A custom commutator based on torque sensing through a Hall sensor for chronic recordings in zebra finch was developed in [6,7]. Based on similar working principles, the proposed system offers a more contained and portable solution, ideal for small rodents recordings, and it includes two LVDS lines used in most miniature imaging systems. The proposed commutator system offers a flexible interface adaptable to a variety of neural and behavioral recording systems, with an overall contained cost.

Hardware description

Here we propose a cost-effective, custom motorized swivel system, particularly helpful for in vivo recordings with small rodents. Unlike commercially available motorized commutators, it offers both the flexibility of being paired with a variety of recording systems (any apparatus using up to 12 connections), and the manufacturability, scalability and cost-effectiveness which results from the use of 3-D printed parts, off-the-shelf components, and open source control software. The main advantages of the proposed system are: Cost-effectiveness can scale up experimental throughput while reducing the required human supervision. The open-source design makes it easy to modify the design for custom needs, such as the use of a specific connector, or pairing the commutator with an optical fiber. The device can be easily manufactured with the equipment available in most laboratories and off-the-shelf components available online. An overview of the system in a practical behavioral context is shown in Fig. 1.
Fig. 1

Overview of the system. (A) Diagram showing a practical application of the proposed system paired with in vivo calcium imaging with miniScope [8,2]. (B) A picture of the assembled commutator.

Overview of the system. (A) Diagram showing a practical application of the proposed system paired with in vivo calcium imaging with miniScope [8,2]. (B) A picture of the assembled commutator.

Materials and methods

The proposed system comprises custom 3-D printed parts (listed in Table 1), off-the-shelf discrete mechanical and electrical components (summarized in Tables 2 and 3, respectively), and custom printed circuit boards (PCBs) for rotor and stator. A complete list of components, PCB gerber files and bill of materials (BoM) can be found in [4].
Table 1

List of 3-D printed parts.

ComponentDescriptionFile name
1. StatorStator01 stator.stl
2. RotorRotor02 rotor.stl
3. Top lidStator lid, hosting stator PCB03 top lid.stl
4. Bottom lidRotor lid, hosting rotor PCB04 bottom lid.stl
5. Motor frameFrame for securing motor and slipring05 frame.stl
6. Pulley 1Motor shaft pulley06 pulley1.stl
7. Pulley 2Slipring pulley07 pulley2.stl
8. Rotor shaft holderContains ball bearings and shaft driven by cable08 rotor shaft.stl
9. Magnet holderStator09 magnet holder.stl
Table 2

List of discrete off-the-shelf mechanical components. For the complete description and part numbers see [4].

ComponentFunctionQtyExt. price
1. Ceramic capacitor .1µFMotor noise suppression capacitors31.44 USD
2. 6 Position JST SH-type cableMotor/encoder cable11.35 USD
3. 9 Position JST SH-type cableSlip ring to PCB connections25.38 USD
4. Rod magnetMagnet for detecting cable rotation10.37 USD
5. Face-mount crossed-roller bearingStator to rotor ball bearing1148.56 USD
6. 2 mm stainless steel rodRod for cable rotation19.64 USD
7. Copper alligator clipFor securing cable to rod10.70 USD
8. Ball Bearings for 2 mm shaftCable rod ball bearings214.06 USD
9. Hex nuts M1.6 × 0.35 mmSecuring rotor shaft holder to bottom lid39.61 USD
10. Hex nuts M2.6 × 0.45 mmSecuring slip ring to frame31.57 USD
11. M3 screws 0.5 mm × 10mmSecuring ball bearing to stator104.97 USD
12. M1.6 screws 0.35 mm × 3 mmSecuring motor to frame1013.28 USD
13. M1.6 screws x 0.35 mm × 5 mmSecuring frame to stator212.69 USD
14. M2.6 screws 0.45 mm × 5 mmSecuring slip ring to frame38.35 USD
15. Hex nuts M3 coarse pitchSecuring ball bearing to stator65.55 USD
16. M1.6 Phillips screwsSecuring top/bottom lids to stator/ rotor, rotor shaft holder to bottom lid139.41 USD
17. 18–8 Set Screw 0–80 × 1/16″Securing rod ball bearing to rotor shaft holder28.78 USD
18. 75:1 Micro Metal GearmotorDC motor for driving slip ring118.95 USD
19. Magnetic encoderEncoding motor shaft angular position17.95 USD
20. Timing belt, 1 mm pitchTiming belt between motor and slip ring pulleys11.30 USD
21. Senring slip ring M012A-18Slip ring117.50 USD
Tot.301.41 USD

Note: prices for smaller hardware components, such as screws and nuts, are adjusted according to distributor's minimum quantities.

Table 3

List of discrete off-the-shelf electrical components to be mounted on rotor and stator.

Ref. Des.ComponentQtyExt. price
Stator PCB
1. C5CAP CER 0.47UF 25 V X5R 060310.18 USD
2. C1 C4CAP TANT 10UF 10% 16 V 120620.86 USD
3. U1CONN HEADER SMD R/A 6POS 1MM10.83 USD
4. JP1, JP2CONN HEADER SMD R/A 9POS 1MM21.96 USD
5. C2, C3CAP CER 0.1UF 16 V 10% X7R 040220.20 USD
6. R1RES 0.0 OHM 1/10 W JUMP 0603 SMD10.10 USD
7. U16OMNETICS PZN-12-AA129.00 USD
8. Q1MOSFET P-CHAN 24 V SOT2310.43 USD
9. IC1TB6612FNG11.95
10. U14Connector Receptacle µHDMI SMD12.66 USD
Rotor PCB
1. LED1LED GREEN CLEAR THIN 0805 SMD10.30 USD
2. JP3, JP4CONN HEADER SMD R/A 9POS 1MM21.96 USD
3. C6CAP CER 0.1UF 16 V 10% X7R 040210.10 USD
4. U3OMNETICS PZN-12-AA129.00 USD
5. U2ROTARY ENCODER MAGNETIC15.38 USD
6. R4RES 1 K OHM 1/10 W 1% 0603 SMD10.10 USD
Tot.75.01 USD

PCBs. For the complete description and part numbers see [4].

List of 3-D printed parts. List of discrete off-the-shelf mechanical components. For the complete description and part numbers see [4]. Note: prices for smaller hardware components, such as screws and nuts, are adjusted according to distributor's minimum quantities. List of discrete off-the-shelf electrical components to be mounted on rotor and stator. PCBs. For the complete description and part numbers see [4]. All 3-D printed parts are available at the NIH 3D Print Exchange Library [3], and can be printed using an in house 3-D printer such as Form 2 (Formlabs, Somerville MA), or using any online 3-D printing service such as 3D Hubs (standard ABS, 80% infill, 100 µm). An overview of all the components and the assembled prototype is shown in Fig. 2.
Fig. 2

Motorized swivel assembly. (A) Overview of the 3D-printed parts and electromechanical components; numbering corresponds to line items of Table 1 (in red) and Table 2 (in blue), respectively. (B) Exploded view of the stator assembly. (C) Exploded view of the rotor assembly. (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.)

Motorized swivel assembly. (A) Overview of the 3D-printed parts and electromechanical components; numbering corresponds to line items of Table 1 (in red) and Table 2 (in blue), respectively. (B) Exploded view of the stator assembly. (C) Exploded view of the rotor assembly. (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.) The electro-mechanical components required for the assembly are all available for purchase online.

Build instructions

Assembling the motorized commutator is a two-step process: first the electronic components need to be soldered onto the PCBs, then all the electro-mechanical components need to be assembled to- gether. A step-by-step video illustrating the motorized swivel assembly is available at the following link: https://www.youtube.com/watch?v=jbc3p2F6 94 [5]. The PCB assembly requires a minimal number of surface mount components, which can be easily installed on the PCBs using a soldering iron, hot plate, hot air gun, or reflow oven. Since soldering irons are widely accessible to most labs, this technique will be considered below. Working under a microscope is helpful when dealing with smaller components. All PCB artwork files, bill of materials, stencils and component positioning files can be found at [4]. If using a stencil: secure PCB to workbench with lab tape and position stencil on top, aligning holes to solder mask openings. Secure stencil to workbench with lab tape and, with the help of a spatula, apply solder paste to fill evenly all stencil openings. Without stencil: use a needle or small tip to apply solder paste to all pads. Following the component positioning reference (Fig. 3, [4]), place all components in their respective position, ensuring good contact with solder paste.
Fig. 3

Silkscreen layers for stator (A) and rotor (B) PCBs showing component positions and reference designators for assembly.

Silkscreen layers for stator (A) and rotor (B) PCBs showing component positions and reference designators for assembly. Keeping component in place with a tweezer, melt the solder paste to the pads with the soldering iron, one component at a time. When done, repeat steps 1–3 for the other layer. Clean solder paste residue with a cleaning agent such as isopropyl alcohol and a small brush. Apply a layer of non-conductive epoxy between connectors and PCB, taking care not to spill over on the contacts, to strengthen their resistance to mechanical stress. The steps for assembling the mechanical parts are outlined below: Using the appropriate screws and nuts as directed in Table 2, secure motor and slip ring to frame (Video 06:59), then press fit their respective pulleys and install the timing belt (Video 07:22). Fully tighten motor screws only after timing belt is in place, making sure it is taut around the pulleys. Solder the magnetic encoder board (item #19 in Table 2) to the back of the motor (Video 00:44). First center the motor shaft to the PCB hole, keeping it in place with a soldering clamp, then apply solder to the motor pins. Set up the slip ring connections (Video 01:18): although not necessary, it is recommended to use pre-crimped JST cables (line item #3 in Table 2) rather than crimping directly the slip ring wires. Cut the JST wires to have 30 mm leads on each end, and the slip ring wires to have 50 mm on each end. With a wire stripper expose the conductor from all wire tips and, following the diagram in Fig. 4A, route all wires from the slip ring to the four 9-pin JST connectors. Use shrink tube to cover exposed solder and avoid short circuits between wires.
Fig. 4

Inner wiring scheme for the commutator. If using differential signals on GPIO3 and GPIO4, they should be twist-paired to improve noise rejection.

Inner wiring scheme for the commutator. If using differential signals on GPIO3 and GPIO4, they should be twist-paired to improve noise rejection. Secure roller bearing to stator and rotor (Video 05:46). Mount the two ball bearings at the two ends of the shaft holder, securing them in place with the set screws (Video 09:17). Insert rod through ball bearings, and use epoxy to glue magnet to the end of the rod (Video 09:24). Slide shaft holder through rotor hole from the inside, and secure with the 3 screws and nuts (Video 09:31). Mount stator and rotor PCB to top and bottom lids (Video 10:20). Pass the two rotor JST connectors through the hole in the roller bearing (Video 08:06), and secure the frame to the stator with the two designated screws (Video 08:50). Connect the slip ring to stator and rotor PCBs, and the motor to the stator PCB (Video 11:07). Screw top and bottom lid to stator and rotor, respectively (Video 11:55). Using epoxy, attach alligator clip for holding the cable to the end of the rod (Video 09:52). Troubleshooting: Issue: electrical connections not working. Possible reason 1: some of the connector were not properly soldered, resolder and test connectors before applying epoxy. Possible reason 2: JST connectors not properly soldered: check the integrity of all traces at the JST connector from one side to the other of the swivel, resoldering faulty connections. Issue: motor not running. Possible reason 1: malfunctioning of the Hall sensor reader. Check the output from the Hall sensor reader, and make sure that the green LED in the rotor PCB is on when the board is powered, indicating proper distance of the magnet to the sensor. Possible reason 2: mechanical friction is stalling the motor. If controlling the motor with a 50% PWM duty cycle in either direction does not engage the motor, check for possible mechanical parts obstructing the motion, or excessive tension on the belt. Issue: motor running, but rotor not moving. Possible reason 1: belt slipped from the pulleys, likely due to misalignment or insufficient distance between the pulleys. This can be caused by warping of the motor frame if the material is not strong enough, in which case tape or an elastic band can be looped around motor and slipring to adjust pulley distance and ensure that the belt is properly engaged. Possible reason 2: belt does not have traction on pulleys, likely due to low teeth profile. This can happen if the 3-D printer tolerance is not precise enough, one possible solution is to reprint the pulleys with higher tolerance or reprint them from a different source. Issue: rod slips easily out of ball bearings. With a needle apply a small amount of epoxy between rod and lower ball bearing, making sure when drying epoxy does not spill into the ball bearing. Issue: screws do not fit holes. In many cases, due to 3-D printing tolerances, screw hole sizes will need to be increased with a hand drill and appropriate bit. Issue: when using with calcium imaging, data is noisy. Possible reason: Differential signal is picking up noise in the swivel. Make sure to use GPIO3 and GPIO4 lines for the differential signal, and twist-pair the respective wires on the slipring.

Operation instructions

The motorized commutator is controlled independently from the recording apparatus, with an Arduino Uno (ATmega328P) microcontroller [1] connected through a micro HDMI type D cable (Fig. 5). With a minimal number of parameters, the control algorithm does not require tuning to adapt to any particular application, thus minimizing the required human supervision for cable management during experiments. Sample code for implementing the control algorithm on Arduino Uno is provided in Appendix A. The connections for interfacing data acquisition hardware and recording apparatus are outlined in the wiring diagram in Fig. 6.
Fig. 5

Wiring diagram for interfacing the motorized commutator with Arduino microcontroller through a 19-pin micro-HDMI type D cable.

Fig. 6

Wiring diagram for interfacing the motorized commutator with recording apparatus and data acquisition system. If using differential signals on GPIO3 and GPIO4, they should be twist-paired to improve noise rejection.

Wiring diagram for interfacing the motorized commutator with Arduino microcontroller through a 19-pin micro-HDMI type D cable. Wiring diagram for interfacing the motorized commutator with recording apparatus and data acquisition system. If using differential signals on GPIO3 and GPIO4, they should be twist-paired to improve noise rejection.

Discussion and future work

The proposed motorized swivel can be integrated in a variety of experimental settings, most rel-evantly in rodent neural recordings such as electrophysiology or calcium imaging. We tested the motorized commutator in an open field recording of a freely behaving mouse wearing a miniature epifluorescence microscope (miniScope [8]) for calcium imaging. Results are shown in Supplemen- tary video 1. In some cases (as for electrophysiological recordings) more than 12 channels could be required. With minimal modifications to the overall design (i.e. modifying only the motor frame to accom-modate the new slipring, and the rotor pulley inner diameter on the slipring side) it is possible to increase the number of channels. For example, with the M250-56 slipring, one can use up to 56 channels (the flange will need be trimmed to fit the motor). The additional channels can be soldered on both sides to a custom connector for interfacing with the specific recording hardware. As an extension of the system to simultaneous neural recording and stimulation through optoge- netics, as well as coupling with other fiber-optics imaging systems, one possible development could be to integrate a fiber-optics channel in the center of the swivel. The use of a flexible control platform like Arduino allows to customize the control algorithm for satisfying specific experimental requirements. Although in most cases a proportional controller is enough to guarantee the basic automated commutator functionality, more sophisticated control algorithms can be implemented, and different platforms than Arduino can be used to pair the commutator with an existing data acquisition system.
Hardware name:Motorized swivel
Subject area:Neuroscience (in vivo behavioral and neural recordings).
Hardware type:Lab cable interface for neural and behavioral recordings.
Open source license:GNU GPL
Cost of hardware:$500
Source file repository:https://osf.io/wq897/ https://3dprint.nih.gov/discover/3dpx-013630
  4 in total

1.  Miniature motorized microdrive and commutator system for chronic neural recording in small animals.

Authors:  M S Fee; A Leonardo
Journal:  J Neurosci Methods       Date:  2001-12-15       Impact factor: 2.390

2.  An open source, wireless capable miniature microscope system.

Authors:  William A Liberti; L Nathan Perkins; Daniel P Leman; Timothy J Gardner
Journal:  J Neural Eng       Date:  2017-08       Impact factor: 5.379

3.  Spatially Compact Neural Clusters in the Dorsal Striatum Encode Locomotion Relevant Information.

Authors:  Giovanni Barbera; Bo Liang; Lifeng Zhang; Charles R Gerfen; Eugenio Culurciello; Rong Chen; Yun Li; Da-Ting Lin
Journal:  Neuron       Date:  2016-09-22       Impact factor: 17.173

4.  Miniscope GRIN Lens System for Calcium Imaging of Neuronal Activity from Deep Brain Structures in Behaving Animals.

Authors:  Lifeng Zhang; Bo Liang; Giovanni Barbera; Sarah Hawes; Yan Zhang; Kyle Stump; Ira Baum; Yupeng Yang; Yun Li; Da-Ting Lin
Journal:  Curr Protoc Neurosci       Date:  2018-10-13
  4 in total
  4 in total

Review 1.  Customizable, wireless and implantable neural probe design and fabrication via 3D printing.

Authors:  Kyle E Parker; Juhyun Lee; Jenny R Kim; Chinatsu Kawakami; Choong Yeon Kim; Raza Qazi; Kyung-In Jang; Jae-Woong Jeong; Jordan G McCall
Journal:  Nat Protoc       Date:  2022-10-21       Impact factor: 17.021

2.  Recent advancements in behavioral testing in rodents.

Authors:  Zeynep Sena Agim Uslu
Journal:  MethodsX       Date:  2021-09-28

Review 3.  Circuit Investigation of Social Interaction and Substance Use Disorder Using Miniscopes.

Authors:  Nicholas J Beacher; Kayden A Washington; Craig T Werner; Yan Zhang; Giovanni Barbera; Yun Li; Da-Ting Lin
Journal:  Front Neural Circuits       Date:  2021-10-05       Impact factor: 3.492

4.  Custom-Built Operant Conditioning Setup for Calcium Imaging and Cognitive Testing in Freely Moving Mice.

Authors:  Philip Vassilev; Esmeralda Fonseca; Giovanni Hernandez; Andrea Haree Pantoja-Urban; Michel Giroux; Dominique Nouel; Elise Van Leer; Cecilia Flores
Journal:  eNeuro       Date:  2022-02-10
  4 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.