LINEAR VARIABLE DIFFERENTIAL TRANSFORMER – LVDT -IN SIMPLE WAY

Photo of author

By Jackson Taylor

Home » Hardware » LINEAR VARIABLE DIFFERENTIAL TRANSFORMER – LVDT -IN SIMPLE WAY

As an Amazon Associate we earn from qualifying purchases.

A linear variable differential transformer, or LVDT, is a sensor that measures linear displacement, which means how far something has moved along a straight line. It is an electro-mechanical transducer: it turns a mechanical movement into an electrical voltage. In simple words, it is a transformer whose output changes as a core slides inside it.

This article explains how an LVDT works, how the version built here is constructed, and how it is driven and read by a microcontroller. It also covers where LVDTs are used and what to watch out for.

What is an LVDT?

An LVDT has a hollow tube with coils wound around it and a movable core that slides inside the tube without touching the walls. An alternating signal excites the primary coil. As the core moves, the voltage on the secondary side changes in step with its position. Measuring that voltage tells you how far the core has moved.

Hardware Hack

Stop Buying New Batteries for Your Tech

Electronics are expensive, but their power sources don't have to be. Discover the simple engineering trick to recondition dead batteries and bring your gadgets back to 100% capacity.

Watch the Free Video

LVDTs are used in many industrial applications to measure displacement. Because the core does not rub against the coils, there is very little mechanical wear.

How an LVDT works

The core is made of ferrite, which has much higher magnetic permeability than air. When the core moves, it changes how strongly the primary coil is magnetically coupled to the secondary winding. A stronger coupling gives a higher induced voltage, and a weaker coupling gives a lower one.

A commercial LVDT usually has one primary and two secondary windings, connected so that their outputs oppose each other. That is where the word “differential” comes from. With the core in the centre, the two secondary voltages cancel and the output is close to zero. Moving the core to one side raises one secondary voltage and lowers the other. The size of the difference shows how far the core has moved, and its phase shows the direction.

See also
AD620

The build in this article is a simplified version. It has a primary winding at one end of the tube and a secondary winding at the other end. The output voltage changes as the ferrite core moves between them.

Specifications of this build

  • Linear range: ±12mm
  • Sensitivity: 100mV/mm

Sensitivity tells you how much the output changes for each millimetre of core travel. At 100mV/mm, a 5 mm movement changes the output by about 500 mV.

Construction & working

The transducer is a cylindrical transformer with a single primary winding and a secondary winding. On one side of a hollow tube the primary winding is made, and on the other side the secondary winding is made. The core is a ferrite cylinder that moves inside the tube.

A high frequency square wave excites the primary coil. The output is taken from the secondary winding, then rectified and filtered to give a DC voltage. That voltage is proportional to the core position, so a microcontroller can read it.

Why a high excitation frequency?

The reactance of an inductor is given by,
XL=2πfL

This equation shows that a higher frequency gives a higher reactance. For this reason, an alternating wave above 100 KHz is chosen for the primary side. A higher reactance means a lower driving current is needed to drive the primary coil.

Driving the primary coil

The primary is driven by an L293D driver IC in a bridge arrangement. A bridge is a good fit because the signal sent to the primary is an alternating square wave, so the coil can be driven in both directions from a single supply.

Sustainable Tech

Keep Toxic E-Waste Out of Landfills

Don't throw away your failing laptop, phone, or car batteries. Learn how to recondition them at home in just a few hours. It's better for the planet—and your wallet.

Learn How It Works

Rectifying and filtering the output

On the output side, rectification and filtering produce a smooth DC voltage that can be connected to a microcontroller. A simple half wave rectifier with a germanium diode is used. A germanium diode has a lower forward voltage drop than a silicon one, so less of the small secondary signal is lost.

Materials Required

Components and materials used to build the LVDT, photo 1 Components and materials used to build the LVDT, photo 2 Components and materials used to build the LVDT, photo 3 Components and materials used to build the LVDT, photo 4

In short, you need a hollow tube, enamelled copper wire for the windings, a ferrite core, an L293D driver, a germanium diode, a capacitor for filtering, and a microcontroller board.

See also
MOTOR SPEED CONTROL USING MOSFET/BJT & POT

Final assembled part

Final assembled LVDT with wound coil tube and ferrite core

Circuit Diagram

LVDT circuit diagram with PIC microcontroller, driver, rectifier and filter

Output wave across the pin RC0 and RC1

Square wave output measured across microcontroller pins RC0 and RC1

Program

#include<pic.h>
#define _XTAL_FREQ 16000000
__CONFIG(0X3F7A);
void main()
{
    TRISC=0;
    PORTC=0x01;
    while(1)
    {
        PORTB=~PORTB;
    }
}

The listing is a minimal example. It sets port C as outputs and then toggles port B in a loop. To produce the complementary square wave seen on RC0 and RC1, toggle those two pins inside the loop instead. The toggling speed sets the excitation frequency, so check the result on an oscilloscope and aim for the 100 KHz range or higher.

Where LVDTs are used

  • Position feedback in industrial machines and hydraulic or pneumatic cylinders
  • Measuring thickness, deflection or small movements in test equipment
  • Valve position sensing
  • Laboratory and academic experiments on displacement measurement

If you want a ready-made LVDT for academic projects, it is listed on our products page.

Advantages and limitations

The main advantage is that the core moves without touching the coils, so there is little friction and wear. The output is also smooth, with no steps. A sensor like a potentiometer, by contrast, has a wiper that physically rubs on a track. If you are comparing sensor types, see our guide to the difference between a variable resistor and a potentiometer.

The limitations are that an LVDT needs an AC excitation signal and some circuitry to rectify and filter the output. Its measuring range is also limited by the length of the coil assembly.

If you are interested in other transformer projects, you can also read about a microwave oven transformer converted for a different use.

FAQ

What does an LVDT measure?

An LVDT measures linear displacement, which is the distance a core moves along a straight line. The result is given as an electrical voltage.

Why is it called a differential transformer?

A standard LVDT has two secondary windings wired in opposition. The output is the difference between their voltages, which is zero when the core is centred.

See also
MOSFET & IGBT DRIVER

Why does the primary need an AC signal?

A transformer only works with a changing magnetic field. The AC signal on the primary induces a voltage in the secondary, and the core position changes how much voltage is induced.

Why use a ferrite core?

Ferrite has high magnetic permeability compared to air. Moving it inside the tube changes the coupling between the coils, and that change is what the sensor measures.

Revive Your Dead Electronics

Got a drawer full of dead gadgets or a failing car battery? Instead of paying a premium for replacements, use this simple trick to easily recondition them right from home.

See How It Works