2

I have an application with a 2D array of inductive sensors for position detection of an object on a plane. I have experimented with inductance to digital converters (https://www.ti.com/product/LDC1314), which work very well on a small scale prototype, but are potentially complete overkill for this application; all I require from each sensor is a binary target-present, or target-not-present response from each sensor.

As an alternative, I've attached a discrete Peltz resonator to each induction coil and this seems to be working logically.

enter image description here

The target shifts the inductance of the coil by approximately 11%, and I can read this using a scope as an upward shift in the resonant frequency from approx 1.3 to 1.5 MHz. The target may move past the sensor within a few ms, or stay in a position for some seconds.

The question is how do I go about reliably detecting this shift to give a binary output while keeping the supporting circuity simple (cheap).

I thought about passing the output through a passive RC bandpass and then thresholding the output, but even if I tuned the BPF well, the attenuation will only be log2(1.11) * 3 = 0.45 dB, and that's if the no-target state frequency doesn't wander off (which with shifts in temp and component variation, this will). I've thought about PLLs using a dormant coil in the enclosure as some sort of environmental reference but that too may be overkill if I'm decoding binary.

I think ideally I'd want some sort of simple integrator for the resting state if the sensor that can trigger when there's a deviation from normal. Is there an obvious solution I'm missing?

learnvst
  • 1,213
  • 3
  • 21
  • 28
  • 1
    *Is there an obvious solution I'm missing* <--Use a microprocessor to count pulses over a short duration (maybe 1 ms) – Andy aka Aug 15 '23 at 12:16
  • 2
    If you can bias your oscillators to be quenched by the presence of the target, then a simple detector gives you the binary output. – Neil_UK Aug 15 '23 at 12:33
  • 1
    @Neil_UK - I think I managed this accidentally at one point. I could get an assortment of components where I'd get oscillations in the absence of the target, but then the oscillations would collapse in its presence. This just gave me some fear that conditions could shift in a way that the oscillations would collapse in the absence of the target due to some unforeseen variable. Maybe I should investigate that side effect further. – learnvst Aug 15 '23 at 12:38
  • Would help us to know more (11% change helps). Inductor value, Q, temperature effects? Which way does target shift: +11%, -11%? How often must you scan the array? @Andyaka likely has cheapest, simple approach for multiple sensors, especially when one is a dummy for reference. – glen_geek Aug 15 '23 at 12:48

1 Answers1

1

My suggestion: slope detection.

Set up a common AC supply from an oscillator/amplifier (buffering may be desirable). For each sensor, use this circuit:

schematic

simulate this circuit – Schematic created using CircuitLab

Note that \$Z_0 = \sqrt{\frac{L}{C}}\$ is a design parameter, with \$Q = \frac{R}{Z_0}\$ giving the bandwidth of the filter. More exactly, bandwidth shall include the losses of L1 and C1, namely the parallel equivalent of R1 and the equivalent parallel loss resistance; this can be measured with a method such as this (link to my website).

Having an 11% adjustable range, implies that standard 5% components should be able to do this, perhaps with a little adjustment: if your sensor inductors can be made very repeatably (consistent geometry, equal number of turns?), this should be feasible, or an adjustment screw might be an acceptable option (depends on sensor geometry, and desired spacial sensitivity pattern).

Alternately, C1 can be adjusted, but large-value variable capacitors are expensive or unavailable, and swapping out components doesn't seem appealing. The voltage is also a bit high to use common varactors; other diodes can be used to the same end, and schottky rectifiers often have quite large junctions (high capacitance) at low cost, and offer a fair working range (i.e. over 40V reverse bias is common), so may be attractive. The frequency and impedance might also be adjusted higher, give or take limitations of emissions.

You didn't say anything at all about your sensors so I'm making the assumptions that 1. the Q factor can be high enough at some operating frequency, and 2. inductance is a free design variable (i.e. varying wire size and number of turns inversely).

In a practical matrix, you probably want as few components as possible, and multiplexing the resonant nodes themselves, to some kind of detector, which can be RCD as shown (amplitude sensitive only), or which can also be synchronous e.g. an MCU sampling in quadrature or better versus the reference clock, which can be disciplined in turn by the MCU, giving perfect timing.

Conversely, perhaps detector per sensor, or per set of sensors, is required to give enough total bandwidth to sense all of them within a sensor scan period (a refresh rate of say 20Hz would be fairly minimal for HID purposes, for example, but more or less may be required for a given application; this is undefined, so, up to you to decide how best to scan it).

A quadrature synchronous detector gives a direct vector measurement, i.e. phase and amplitude, greatly increasing sensitivity, and allowing inductance to be measured directly; an RL network could be used just as well (no capacitor needed), if enough bits per sample, or samples per cycle, are available (note this can be equivalent-time sampled, assuming a well behaved, clean sine wave with little noise pickup).

Or perhaps the oscillator is controllable, so that the resonant peak (and its width / Q) can be tracked, and the process repeated for each sensor (giving a result equivalent to a vector measurement, given a little assumption and analysis).

If one-at-a-time sensing is acceptable, then the network can be reduced to an AC current source (or voltage + resistor) into the detector, with the LC (or L alone) multiplexed via analog switch (mind that the switch's resistance and capacitance affect the result and so need to be incorporated as part of the calibration!).

As for sensor design, if this is still an open question -- I might suggest a grid pattern, preferably with cores made from vertical ferrite rods (thru / into the plane), on top of a shield/backing layer of a ferrite plate (parallel to the sensor plane, offset from it by the length of the rods). Sensor windings are looped around rows and columns of pegs, respectively (much as windings on a guitar pickup, but rather than a single set of pegs, a whole X-Y array thereof), and windings should be driven differentially (the circuit becomes slightly more complex to incorporate this symmetry) to eliminate crosstalk between each other, and to external noise sources.

Indeed, a core might not be needed at all, if the measurement is sensitive enough. Sensitive enough again, and turns might not be needed at all, a single turn might do, i.e. a straight wire along the grid. Which, is my understanding, how such plotter grids as Wacom tablets work: the grid itself is highly insensitive, but handled carefully, a scalable (\$\mathcal{O}(X+Y)\$) array is the result. The pen may also be active, whether as an RFID detector + code generator to uniquely discriminate the pen from ambient noise, or a fully active (battery powered) beacon. In any case, the relative strength of the signal between some X and Y grid positions translates to sensor position, at least in the immediate space above the plane.

Tim Williams
  • 22,874
  • 1
  • 20
  • 71