Sitar Control

A research internship at Centre d'Automatique des Systèmes, Mines ParisTech

by Jeremy Dahan, student at Mines ParisTech and member of the Trublion collective

This website is my report for my research internship at the CAS where I built a stringed musical instrument on which timbre is controled using electromagnets. A complete description can be found here

EDIT : This report was written in 2016, when I was a member of the Trublion collective and a Student of Mines-ParisTech


  1. Introduction
  2. Landscape of augmented instruments
  3. Design choices for the instrument
    1. General geometry
    2. Choosing the actuator
    3. Choosing the sensor
    4. Microcontroller, amplifier and woodworking
    5. Summary of the design
  4. Engineering a magnetic scanner
    1. Design
    2. Results
  5. Controlling the instrument
    1. State-sensor algorithm
    2. Dynamics of the system
    3. Code architecture and first control
    4. Linearising the actuators
  6. Discussion : Compairing with other setups
  7. Conclusion and future work
  8. About this website

An Open Magnetic Scanner : Results

To understand the differences between the two chosen actuators (see Choosing the actuators), we scanned them in two different ways :

  • We mapped a large volume, either injecting a small current (0.2A) or no current. This allows to see the extent of the magnetic fields
  • We mapped a small vertical column above the magnet, while varying the current (from -1A to 1A), to get the function B(z,I).

Spatial variations

These graphs show the magnetic fields for the two electromagnets, with no current injected.

Since the viewing algorithms are not yet optimized, loading these boxes can slow down your browser significantly. We kindly ask you to be patient.


We can also use projections to get better quantitative analysis :

Vertical component of the magnetic field just above the electromagnets at z=1mm

Vertical component of the magnetic field just above the electromagnets at z=1mm

This figure shows the vertical component of the magnetic field generated by the two electromagnets, 1mm above their surfaces, in the axis of the cylinders.

Both fields have a similar spacial extension of 20mm, but the E-77-88 produces a field twice stronger than the WF-P25/20 for the same permanent magnet.

The same observation can be made at 8mm above the electromagnets :

Vertical component of the magnetic field at z=8mm

Vertical component of the magnetic field at z=8mm

Current and vertical distance

The next graphs are scans that show the evolution of the vertical component of the field along the vertical axis of the electromagnet. We varied the injected current, using a benchtop power supply with a current limiter. We also plotted the same data, removing the field generated by the permanent magnet, to get the coil contribution.

Vertical scan of the field generated by E-77-88

Vertical scan of the field generated by E-77-88

Vertical scan of the field generated by E-77-88, subtracting the permanent magnet field to get the current contribution

Vertical scan of the field generated by E-77-88, subtracting the permanent magnet field to get the current contribution

Vertical scan of the field generated by WF-25/20

Vertical scan of the field generated by WF-25/20

Vertical scan of the field generated by WF-P25/20, subtracting the permanent magnet field to get the current contribution

Vertical scan of the field generated by WF-P25/20, subtracting the permanent magnet field to get the current contribution

We can quickly see that the permanent magnets create a much stronger vertical field when attached to the E-77-88 electromagnet compared to when attached to the WF-P25/20. However, the field caused by the injected current is of the same magntitude for the two magnets. Though the measurements of the current lack better precision (current was directly read on the power supply screen), we can already see that the contribution of the coil is approximately proportional to the injected current. Looking more closely at the field generated by E-77-88, we can see what we believe to be the effect of a μr decrease due to core saturation.

The scans lead us to use the E-77-88 electromagnet for most tests, as the stronger generated field would lead to better control.

These measurements are used in another section, to linearise the effect of the actuators

Conclusion

These measurements show that the low-cost magnetic field scanner we have built can be used to study different magnetostatic objects such as actuators. The acquired measurements can then be compared to theoretical models that are otherwise hard to validate.