|
|
|
|
Robust Position Sensor
Linear variable differential transformers are linear position sensors that are used in harsh industrial or aerospace environments where reliability and/or performance requirements exceed the capabilities of potentiometers. LVDTs have no sliding electrical contacts to corrode or wear. The only moving part is a more or less inert chunk of iron. The unit can be sealed from harmful environmental elements. Better than Potentiometers?
We simmers get pretty good performance from potentiometers
for a very reasonable price. They turn up in joysticks, yokes, rudders pedals
and throttles, just to name a few. But there are a few applications that could
use more than simply “good” performance: throttle quads that don’t track
throttle to throttle due to pot linearity issues, and military fighter style
side stick controllers that don’t move enough to actuate a pot well. LVDTs can be very accurate with a high degree of electrical
linearity. They can be designed to have very long strokes, or to be sensitive to
very small position changes. They are not inherently expensive. They are
actually quite simple devices. It’s just that when they’re sealed in
stainless steel and certified for aerospace use… Well, you get the idea. LVDTs would seem to have a place in our hobby. The challenge is to overcome the cost. Simple: 3 windings and a moveable core
An LVDT is a transformer with a single primary winding and two identical secondary windings. The transformer core is moveable. If the core is centered, it provides equal coupling between the primary winding and each of the secondary windings. As a result, each secondary produces the same voltage. As the core is moved, the coupling with one secondary grows and its voltage increases. The coupling with the other drops so its voltage decreases. The output windings are generally wired together so their voltages cancel. With the core centered, the net output voltage is nulled. The voltage increases as the core is moved from the null position.
The “Linear” in the name refers to the linear motion of
the core. Turns out, an LVDT is electrically linear too. The difference in
the two output voltages varies quite linearly with the movement of the core.
Linearity better than 2% full scale comes without any particular effort in
building an LVDT. When care is taken to construct the device symmetrically,
linearity in the range of .1~.2% full scale results. Because they are so simple, I decided to build an LVDT and measure its performance. A prototype homemade LVDT
This one was built using (mostly) hardware store items. The bobbin is a 3½ inch length of 5/32” diameter brass tubing from the hobby section. The core is a 2 inch piece of 1/8 inch diameter steel rod. A piece of 1/16 inch diameter brass tubing was used as a handle to move the core. The shield surrounding the unit is a small piece of thin gauge galvanized sheet steel sold as an emergency roof shingle replacement. The three windings are separated by aluminum washers cuts from a bit of scrap. They’re glued in place with 5 minute epoxy. The wire (#34 AWG) came from an electronics store.
I wound the wire onto the core using an electric drill. I
made no attempt to count turns. I just filled up the space on the bobbin. I
estimate there are 500~700 turns per winding. I did, however, take some effort
to get the same number of turns on both secondary windings. I wound them at the
same time using two spools of wire. The wire did not go on particularly evenly. It’s tough to hold the drill with one hand and try to guide two wires onto the bobbin at the same time with the other hand. It actually works quite well!
Given my casual construction efforts, I am surprised the
LVDT performs as well as it does. (Linearity depends upon symmetrical
construction.) Over a 1 inch core movement, I get linearity within 2% of the
full range output. I excited the LVDT with a 1KHz, 2 volt signal. I measured the differential output voltage at tenth inch intervals of core movement. I used Excel to fit the data to a straight line, then calculated errors from that straight line for each measurement. At the extremes of core movement where the core was completely out of one secondary, the error rapidly climbed, but was less than 2% of the full scale output. LVDT geometry determines sensing sensitivity
You can change the dimensions of the windings to customize
an LVDT to a particular application. If you have a 3 inch travel of a throttle,
you could make an LVDT with the secondary windings each spread over a 3 inch
length. The linearity would be beneficial in applications that require several
throttles to track. The primary does not need to be any longer than needed to get sufficient wire on the bobbin.
You can also make the secondary windings very small. You still need the same number of turns or you'll loose sensitivity. You’re not drawing significant current from them so you can use very fine wire. The length of the secondary winding bobbins can be quite short. This would make the LVDT quite sensitive to small movements. You might find this very useful if you plan on making a military-style side stick controller that has little movement. Some thoughts on LVDT electronics
LVDTs are generally wired so the voltages on the secondary
windings cancel each other. (“Differential”, right?) When the core is in the
center position, the output voltage nulls to very nearly zero. The voltage
increases as the core moves away in either direction from the null position. The
difference is that when the core moves one direction the voltage is in phase
with the voltage on the primary. When the core moves the other direction, the
voltage is out of phase.
One can buy integrated circuits designed specifically for use with LVDTs. Chips like the Philips NE5521 contain everything needed to generate a voltage proportional to an LVDT's core position. I tend not to use these specialized chips (well, at least initially) for a couple of reasons. First off, I'm impatient. I don't want to take the time to order a specialized part. I want to do it NOW. Often it turns out that using generic parts is less expensive, if a bit more complex, than using the specialized part. Taking the build-it-up-from-generic-parts approach leads to a better understanding of a circuit's functionality. Finally, generic parts tend to be more readily available than specialized ones. I really dislike running across an intriguing circuit and not being able to build it for lack of an esoteric part. I try not to do that to others. A common approach taken by the specialized chips is using a synchronous
demodulator to convert the LVDT AC differential output voltage to
DC. Fundamentally, this multiplies the output
voltage with the input voltage and filters the result. This is certainly doable,
but offers its own challenges. A simple approach easily taken by the hobbyist is to
individually convert the AC from each secondary to DC, then subtract them.
Converting to DC is done using a “precision rectifier”, a circuit that uses
an op-amp to remove the effects of the forward voltage drop of the diodes that
actually do the conversion. The subtraction is done with another op-amp. Since
you can get a quad op-amp for less than $0.30US and 1N4148 diodes are a few
pennies apiece, this approach is pretty reasonable. Since I originally wrote this, I have build circuitry based on this idea. It works quite well. Even using randomly selected components and knowing that would result in some imbalance in the circuit operation, I saw only a small increase in non-linearity. I will admit to spending more than expected on the op-amps. I think I paid $0.79US for each of two chips. Jump to the LDVT Circuitry page for details and a schematic. If you’re hacking a USB game controller of some sort, you can possibly just push a 0 to 4 volt signal into it in place of one the existing pots. The workability of that will depend upon the particular USB device you hack. If you’re planning on making use of a game port, you’ll have to convert the voltage to a current. The game port works not by measuring the voltage, but by measuring the time taken to charge a capacitor with the current provided by the resistance of the game controller potentiometer. Since the potentiometer is controlling the charge current to the capacitor, you can replace the potentiometer, which is a variable resistor, with a variable current.
|
|
It's possible that I'm not as smart as I think I am. (Occasionally, I have moments when I know this to be true. Fortunately the feeling passes quickly.) Although I have tried to make this information as accurate as I can, it is not only possible, but also quite likely, that errors lurk within. I cannot and do not warrant these pages to be error free and correct. Further I accept no liability for the use of this information (or misinformation). If, after reading this, you are still interested, please be aware that the contents of this site are protected by copyright (copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008 by John M. Powell). Nonetheless, you may copy this material subject to these three conditions: (1) the copyright notice is copied and presented along with the material, (2) the copy is used for non-commercial purposes, and (3) the source of the material is properly credited. And of course, you may link to this page. |