An LVDT (Linear Variable Differential Transformer) is a displacement sensor widely used in industry and by enthusiasts building mobile systems that need feedback about the position of their mechanisms. It can perform a job once handled by a potentiometer, while offering straightforward installation and remarkably fine measurement resolution. Because it is relatively easy to build and works well, it can be an ideal linear displacement sensor. If you work with mechatronics and need to measure movement in a mechanism, this project is worth a look.
The name describes the device: a variable transformer with a linear response and secondary windings connected in a differential arrangement. You will also encounter the abbreviation LVDT in robotics and mechatronics. In practical terms, it detects and quantifies the displacement of one mechanical part relative to another, reporting whether movement occurred and how far the part travelled through an electrical signal. Understanding this principle is key to making the most of the sensor.
A common way to measure linear—or even rotary—movement has been to attach a sliding potentiometer to a moving part and use a voltage reference to indicate how far it has moved relative to a fixed part. In harsh working environments, however, potentiometers and other friction-based mechanisms have limited service lives and require periodic replacement. An LVDT has no physical contact between the parts used to measure displacement, so it avoids this mechanical wear.
At its simplest, the sensor is a cylinder divided into at least three sections, each carrying a winding: one primary and two secondary windings, placed on either side of the primary. The operating principle is straightforward, making it possible to adapt, redesign, or build an LVDT for a particular displacement-detection task.
The central primary winding receives an alternating voltage. Its operating frequency can depend on the core used in the finished device, but is generally between 1 kHz and 10 kHz. For this demonstration, we did not focus on the frequency; the aim was to show what could be achieved using a randomly selected frequency and varying its duty cycle. A NE555 generated the primary excitation signal, with pulse-width control added. The resulting circuit is similar to the one used in the Rotary Transformer project.
The transformer body has three windings: the driven central primary and two outer secondary coils. Build the secondary windings as identically as possible. Their similarity determines whether the differential output approaches 0 volts when the device is operating. If the windings are unbalanced, the primary induces unequal signals in them, and the output shows a positive or negative voltage.
In our experiment, each winding was intended to have about 500 turns of 0.15 mm-diameter enamelled copper wire. We used the divisions already present in a support salvaged from an old television chassis. A careful builder can produce a good-quality handmade sensor even with a plastic pen tube and cardboard dividers. Neatness, patience, and creative use of available materials matter most; adapt the parts to suit the application.
As the video explains, the primary can be driven by a square, sine, or triangular waveform, provided the results suit the application. For this demonstration, a step-like signal proved useful and made the results easy to observe. With no core inserted, the secondary windings connected in opposition produce an output that tends towards zero when the primary is energised.
As the selected core begins to enter the transformer, it favours the magnetic flux through one secondary winding. That winding receives greater induction, producing a voltage with a particular polarity, as shown in the video. You can choose whether that polarity is positive or negative. Moving the core towards the centre brings the induction from the primary to the two secondary windings into balance. At that point along the travel, the output voltage is zero. The second video shows the resolution this type of displacement sensor can achieve.
Move the core beyond the centre towards the other secondary winding, and the effect is similar, but the output voltage reverses polarity. That change indicates the core has passed the balance point. The signal from the secondary windings can be processed to provide the information an application needs. You could rectify it to obtain positive and negative voltages that indicate displacement, or arrange for the output to remain positive if that better suits the system.
How the signal is processed depends on the intended use. This is not a set of instructions for one particular displacement sensor; the goal is to understand how an LVDT works and what it can offer, so you can create a sensor suited to your own needs. In other words, rather than learning to bake a loaf for one afternoon, you learn to sow seeds for a lifetime.
The overall length of the sensor is another important design consideration. Some applications need a long travel range; in others, a short set of windings will be enough. One example is monitoring the working depth of a milling tool on the moving head of a CNC machine.
An LVDT can be fitted in places as unusual as the back of a robotic hand, where it can detect and quantify each finger’s movement, or used in fuel-tank level gauges. Since it has no rubbing contact, it avoids mechanical wear and hazardous electrical contact, and its simple application makes it worth considering for many mechanised systems.