Re:Linear Variable Differential Transformer (LVDT) Basics
by mikewarot on Friday October 11, 2024 @03:38PM
(#41812830)
I've always been intrigued by LVDTs since I learned that they can be used to measure millionths of an inch displacements. With the advent of cheap computing with good A/D, perhaps it's time to add a DIY LVDT to my project list.
Re:Linear Variable Differential Transformer (LVDT) Basics
by HeyLaughingBoy on Friday October 11, 2024 @04:55PM
(#41813650)
You can find pretty cheap resolvers on eBay (I have a couple of Singer units that I paid $30 for). I'm sure you can also find LVDTs. Resolvers & LVDTs only differ by motion type: resolvers are rotary and LVDTs are translational.
At least that way you don't have to do the "annoying" part of the project, which is likely to be the mechanical aspects of winding and placing the coils.
I built a product that basically simulates the process: it takes an analog or digital input and outputs sine & cosine signals that look like position information for a motion controller that expects an LVDT or resolver.
Re:Linear Variable Differential Transformer (LVDT) Basics
by kragen on Friday October 11, 2024 @04:07PM
(#41813164)
I've been thinking about using the magnetic and mechanical design of an LVDT in a different application: a high-reliability keyboard with a four-dimensional scan matrix to reduce the number of electrical lines required.
For a conventional keyswitch-matrix multiplexed keyboard with 81 keys, you need 18 GPIO lines, 9 row lines and 9 column lines. Even with Charlieplexing, I believe you need 14 GPIO lines to get to 81 keys. (½(14·13) = 91.) Keyswitch matrices are also mechanically and chemically delicate; a spill of solvent, battery acid, or sometimes even saltwater can damage the keyswitches, and they do not work underwater unless the keyboard is hermetically sealed. Such seals have to be flexible and are regularly flexed during usage, so they usually fail after only a few years. Some keyswitch contacts were often made of metal, which suffers oxidation over time resulting in keyswitch failure; many current keyswitches instead use contacts made of graphite-filled rubber, which doesn't form a solid oxide surface layer. (Keyswitches also generally require debouncing, though I suspect this is less of a problem with the graphite-filled rubber contacts.)
Capacitive keys avoid contact bounce and oxidation, but tend to suffer even worse from submersion because of the high electrical permittivity of water. They are also more sensitive to electrical noise.
By contrast, a differential-transformer key mechanism would permit an 81-key keyboard with only 12 GPIOs, high EMI immunity, and extreme mechanical robustness.
The four-dimensional multiplexing works as follows. There is a 3×3 primary-winding matrix and a 3×3 differential secondary-winding matrix. Each of the 9 primary-winding-matrix cells has the primary windings of 9 different keys in it, each of which belongs to a different cell of the secondary-winding matrix. The primary windings can be in series, in parallel, or a combination of the two.
Re:Linear Variable Differential Transformer (LVDT) Basics
by HeyLaughingBoy on Friday October 11, 2024 @05:05PM
(#41813737)
In any practical application, the number of GPIOs simply wouldn't be an issue. Transistors are as cheap as sand.
What would you foresee as the application for a keyboard like this? It sounds like Hall-Effect switches would work just as well and cost significantly less.
Re:Linear Variable Differential Transformer (LVDT) Basics
by kragen on Friday October 11, 2024 @08:49PM
(#41815406)
Thinking about it a bit more, if it were true that "in any practical application, the number of GPIOs simply wouldn't be an issue. Transistors are as cheap as sand," nobody would multiplex keyboards or LEDs at all. And it's true that it's feasible at this point to put a driver chip on every LED; the WS2812 is a common chip that you can hook up into long daisy-chains into which you shift a bunch of digital binary data to tell them how to drive one RGB LED each. And you can do the same thing with keys on a keyboard, putting one microcontroller on every key and connecting them all to a common bus or a token-ring-like bucket brigade.
But people still do multiplex lots of LED matrices and keyboard matrices.
Re:Linear Variable Differential Transformer (LVDT) Basics
by peter_d_sherman on Friday October 11, 2024 @05:15PM
(#41813824)
>"Infinite Resolution
Since an LVDT operates on electromagnetic coupling principles in a friction-free structure, it can measure infinitesimally small changes in core position. This infinite resolution capability is limited only by the noise in an LVDT signal conditioner and the output display's resolution. These same factors also give an LVDT its outstanding repeatability."
Re:Linear Variable Differential Transformer (LVDT) Basics
by msds on Friday October 11, 2024 @08:51PM
(#41815413)
LVDTs are fun! I bought one for a project a few years ago (since abandoned), and have been slowly designing my own readout electronics for them. Three revisions later, and the performance is very good - to the point that I've bought more increasingly precise measurement gear to benchmark how it's performing. Currently, I'm testing it against some good glass scale linear encoders, and a capacitive gauge with a single-digit nm noise floor.
Re:Linear Variable Differential Transformer (LVDT) Basics
by daveguy on Tuesday October 15, 2024 @11:21AM
(#41849540)
Interesting. What applications are you using it for? (If you are okay discussing it.) diy calipers? Active feedback to a more complex mechanical system? As part of an optical system? It would be interesting to hear how these are being used. Especially from someone experience using/building them.
Re:Linear Variable Differential Transformer (LVDT) Basics
by msds on Tuesday October 15, 2024 @11:38AM
(#41849693)
I was using it to build a dilatometer - an instrument for measuring thermal expansion curves of materials. Theoretically simple, in that you take a sample of something and measure how long it is while sweeping the temperature around. In practice, you need very stable ~um measurements and lots of care to make sure all other length changes around the sample cancel.
In the real-world, they're often used for precision gauging for in-process metrology.
Re:Linear Variable Differential Transformer (LVDT) Basics
by sgarland on Saturday October 12, 2024 @09:07AM
(#41818787)
Nuclear reactors (at least, some – no idea on all models) use them for measuring control rod height. Accurate, precise, reliable, dead-simple. Can’t ask for more.
Re:Linear Variable Differential Transformer (LVDT) Basics
by ajb on Tuesday October 15, 2024 @02:22AM
(#41845505)
So you can get one for 6 at AliExpress or >100 at western vendors... might be worth playing with the AliExpress one I guess. Wonder what the difference is.
Differential Transformer https://arxiv.org/abs/2410.05258
At least that way you don't have to do the "annoying" part of the project, which is likely to be the mechanical aspects of winding and placing the coils.
I built a product that basically simulates the process: it takes an analog or digital input and outputs sine & cosine signals that look like position information for a motion controller that expects an LVDT or resolver.
For a conventional keyswitch-matrix multiplexed keyboard with 81 keys, you need 18 GPIO lines, 9 row lines and 9 column lines. Even with Charlieplexing, I believe you need 14 GPIO lines to get to 81 keys. (½(14·13) = 91.) Keyswitch matrices are also mechanically and chemically delicate; a spill of solvent, battery acid, or sometimes even saltwater can damage the keyswitches, and they do not work underwater unless the keyboard is hermetically sealed. Such seals have to be flexible and are regularly flexed during usage, so they usually fail after only a few years. Some keyswitch contacts were often made of metal, which suffers oxidation over time resulting in keyswitch failure; many current keyswitches instead use contacts made of graphite-filled rubber, which doesn't form a solid oxide surface layer. (Keyswitches also generally require debouncing, though I suspect this is less of a problem with the graphite-filled rubber contacts.)
Capacitive keys avoid contact bounce and oxidation, but tend to suffer even worse from submersion because of the high electrical permittivity of water. They are also more sensitive to electrical noise.
By contrast, a differential-transformer key mechanism would permit an 81-key keyboard with only 12 GPIOs, high EMI immunity, and extreme mechanical robustness.
The four-dimensional multiplexing works as follows. There is a 3×3 primary-winding matrix and a 3×3 differential secondary-winding matrix. Each of the 9 primary-winding-matrix cells has the primary windings of 9 different keys in it, each of which belongs to a different cell of the secondary-winding matrix. The primary windings can be in series, in parallel, or a combination of the two.
...
What would you foresee as the application for a keyboard like this? It sounds like Hall-Effect switches would work just as well and cost significantly less.
But people still do multiplex lots of LED matrices and keyboard matrices.
Since an LVDT operates on electromagnetic coupling principles in a friction-free structure, it can measure infinitesimally small changes in core position. This infinite resolution capability is limited only by the noise in an LVDT signal conditioner and the output display's resolution. These same factors also give an LVDT its outstanding repeatability."
Related: https://en.wikipedia.org/wiki/Linear_variable_differential_t...
>"A counterpart to this device that is used for measuring rotary displacement is called a rotary variable differential transformer (RVDT)." (https://en.wikipedia.org/wiki/Rotary_variable_differential_t...)
So many don't buy an LVDT, I guess.
In the real-world, they're often used for precision gauging for in-process metrology.
LVDT-like sensors on AliExpress seem quite expensive, but maybe I'm not looking in the right place.