Theremin Part 2: Pitch Reference Oscillator and Box Lower Section

Presenting the files needed to reproduced what done so far for the Theremin project.

As promised in the YouTube series on the Theremin, here are the files of the parts already designed that you’ll need to build a Theremin like mine:

  • The Pitch Reference Oscillator Schematics: pitch_reference_oscillator
  • A zip file for the bottom section of the Theremin box, containing the OpenSCAD file, the .stl file and the .gcode file: box_base.
  • A zip file containing the inkscape versions of the front and back panel artworks, along with a png version: theremin_panels

Once you build the Pitch Reference Oscillator, remember to tune it to 172 kHz, by acting on the variable capacitors C6 and C7. You do so by measuring the frequency while changing the capacitance of C6 and C7. The frequency can be measured with an oscilloscope or a multimeter that is capable of measuring frequencies. The tuning should be done while the potentiometer RV1 is in the middle position.

Expect to see more of this in the next posts, once the other pieces of the Theremin will be built one at a time and the corresponding videos will also be posted on YouTube.

If you like to be automatically informed when new videos are posted, please go the YouTube channel, select a video,  and click on both the SUBSCRIBE button and the bell symbol on its right side.

You can also follow this blog as well, to be informed of new posts via e-mail.

See you soon with more of this and, in the mean time, happy experiments!

Capacitors – Part 1

A brief introduction to capacitors: what they are, how they are made, and their basic functionality.

capacitorsA capacitor is an electric device capable of storing energy in the form of electric charges (electric field).

In the most simple form, a capacitor is made of two conductive plates facing each other and an insulator in between, which is normally called a dielectric. The two plates are then attached to wires, that are used to connect the capacitor in an electric circuit.

capacitor

The schematic diagram reflects exactly the physical nature of the device:

schematic_symbol

When a capacitor is connected to a power supply, like a battery, electrons leave the plate that is connected to the positive side of the battery, while the same amount of electrons is pushed into the plate connected to the negative side of the battery. Once the difference of charges at the plates of the capacitor is enough to establish a voltage on the capacitor that is identical to the battery, electrons stop moving around the circuit and an equilibrium is reached.

capacitor_and_battery

At this point, if the connection with the battery is severed, the capacitor will retain the amount of charges on its plates: extra charges on the negative plate and defect of charges on the positive plate. If we connect a load to the capacitor, for example a resistor, charges will start moving in the circuit pushed by the voltage at the wires, called electrodes, of the capacitor. So, electrons will leave the negative plate moving toward the load, and an equal amount of electrons will move from the load into the positive plate of the capacitor. The movement of the electrons causes the voltage at the plates of the capacitor to lower until, when an equilibrium of charged is reached, the voltage will be zero and the current will stop flowing through the circuit. At this point all the energy that was stored in the capacitor has been used and the capacitor is said to be discharged.

capacitor_and_load

Both during charge and discharge, the ratio between the amount of charge stored on the capacitor and its voltage remains constant. This can be verified experimentally. We define this constant as the capacitance of the capacitor:

C = Q / V

which is measured in Farad. However, since the Farad is a very big unit, capacitors are normally measured in fractions of Farad, like microFarad (μF, 1 millionth of a Farad)), nanoFarad (nF, one billionth of a Farad), and picoFarad (pF, one trillionth of Farad).

Using the above formula, and calculating the work done to move the charges in and out of the capacitor with the help of some calculus, we can determine the energy stored in a capacitor as:

energy

And, finally, the actual capacitance can also be determined by the physical parameters of the capacitor itself. We can see experimentally that the capacitance is directly proportional to the area of the plates of the capacitor, it is inversely proportional to the distance between the plates, and depends on the type of dielectric in between the plates. The type of dielectric is identified in the formula by the Greek letter ε (epsilon). Each type of dielectric has its own value of ε (permittivity), which is the product of the vacuum permittivity and the relative permittivity of the material.

capacitance

For more information on this subject, please look also to the corresponding video on my YouTube channel.

Theremin Part 1: Block Diagram

Presenting the block diagram of the Theremin we are going to build in this series.

theremin_block_diagram

The Theremin is one of those devices that was created by chance, while looking for something completely different.

Leon Theremin, which was studying the design of the early proximity detectors for the Russian government, discovered that his invention could be adapted and used for a totally different scope. The Etherphone was born.

Later on, once the instrument became well known and was produced under several different names by RCA first and other brand names later, it became commonly known under the name of its inventor, Theremin himself.

The concept of the Theremin is today easily understood as a device that uses the beat between two very close high frequencies to produce an audible frequency.

There are several ways to implement the device, although they are all variations of the same base design used by Leon. Since I wanted to create my own version of it, and since I wanted it to be a real musical instrument, I did some research and came up with my own version of the Theremin schematics. In doing so, I put together an instrument with the same features as the original Etherphone, along with enhancements that can be found in today’s commercial versions.

I present today the block diagram of my version of the Theremin. In future articles I will dive into the details of each of the blocks and how they can be practically built, also with the aid of videos that I will publish on my YouTube channel.

Starting at the center left, there is a reference oscillator for the pitch. The frequency is adjustable in a narrow range to allow the tuning of the instrument, which is heavily dependent on the physical features of the person that plays it (more on that, later).

On the top left, you can see a second oscillator. The frequency of it can be modified by the distance of the player’s hand from the pitch antenna. The player’s hand and the antenna are capacitively coupled. Changing the distance of the hand from the antenna, changes the capacity, thus changing the oscillation frequency. Since the capacity is affected also by the size of the hand, the humidity of the air, the distance of the antenna from the body of the musician, and several other factors, the reference oscillator frequency needs to be adjusted before being able to play the instrument, to make sure that the range of notes generated by the Theremin is within the optimal range for the music that will be played.

The output of the pitch reference oscillator and the variable oscillator are mixed together in the box labeled “mixer”.  In there, the two frequencies beat and produce two more frequencies, one being the sum of the two, and the other one being the difference. The mixer output these signals after passing them through a low-pass filter, which eliminates the higher frequency, leaving only  the lower one, which is the difference of the frequencies of the two oscillators. When the signals from the two oscillators have a close frequency, the produced difference beat becomes an audible frequency, the music generated by the Theremin.

The output of the mixer is split and given as input to two more blocks. Let’s examine first the one labeled VCA. This is, in fact, a voltage controlled amplifier, which is capable of changing the volume of the signal coming from the mixer. The voltage used to control it, comes from another high frequency circuitry, the “volume variable oscillator” and the “volume resonant circuit”.

The volume oscillator is another oscillator which frequency is controlled by another antenna. The output of this oscillator is entered in the volume resonant circuit. Like with the pitch reference oscillator, also the volume variable oscillator can be tuned to the physical features of the musician playing the instrument.

The volume resonant circuit is a device that receives in input a signal at a high frequency and outputs a DC voltage which amplitude depends on how far the input frequency is from the resonance value of the resonator inside this block. So, changing the distance of the hand from the volume antenna changes the frequency of the volume oscillator, which in turn, changes the DC output of the volume resonant circuit. The output of this circuit is used to control the amplification level of the VCA, allowing for the VCA to block completely the signal from the mixer (mute) to letting it pass completely (max volume).

The output of the VCA is then passed to an audio pre-amp, which can adjust the volume and the brightness of the sound. Then the signal goes to a power amplifier that pilots the speaker embedded in the Theremin. The pre-amp output could also be sent to an external power amplifier. I will also provide this capability to my Theremin.

Given the difficulty to emit the correct pitch while playing the Theremin, I provided the instrument with a preview output, that can be used to pilot an ear-piece. The player will be able to hear the note about to be emitted, even if the VCA is muting the Theremin. This is the reason for the last couple of blocks in the diagram.

The signal from the mixer, besides going to the VCA, is also sent to another pre-amp, which will allow to adjust the preview volume.

Then, from the pre-amp, the signal goes to a second amplifier that pilots the ear-piece. Since the path to the ear-piece is not affected by the VCA, the player can always hear the note about to be played, regardless of the volume to which the VCA is currently set. This becomes very useful when the Theremin music needs to come along with other instruments that are already playing. The musician playing the Theremin, can prepare the first note that will be played by the Theremin, adjusting it to the one of the other instruments being played.

Well, that’s it for now. But don’t you worry: it is much more complicated to explain how the Theremin works than actually building one. In the next blogs of this series we will go inside the blocks one by one, we will build them, and we will put the whole Theremin together before you even realize it. It will be a lot of fun.

‘Till the next time…

(See also the YouTube video that complements the explanation of the block diagram provided here: https://www.youtube.com/watch?v=moT9iAaZU-I)