Close

Update after a long break

A project log for Pulse Induction Metal Detector

My take on an Arduino based PIMD

agpcooperagp.cooper 11/10/2021 at 06:190 Comments

Adding Gain

Why do we want to add gain?

In order to increase detection limits we need to increasing the signal to noise ratio (SNR) of the target response. The SNR can be improved by waiting for the coil and ground response to decay.

This works because the target response (for medium to large objects) has a longer time period (decays more slowly). We cannot wait too long or the target signal will be swapped by the noise floor (about 1-2uV).

In general the larger the target the longer the decay time and the longer the time for the optimal SNR measurement.

Therefore, different setting would optimise for small, medium and large objects.

Attempting to filter the coil and ground response would be better for small objects.

Version 2 - PIMD

Here is my updated schematic:

And the PCB:

Note: I have routed the signal to both D7/AIN1 (the comparator negative input) and A5 (an analog input). This allows experimentation with Analog to Digital systems.


Filtering the Coil and Ground Signal.

PIMD Version 1 code cancels the coil and ground signal by subtracting an exponentially smoothed long time constant filter from an exponentially smoothed short time constant filter. Basically hold the coil on the ground until the signal decays away. Now it only responses to changes in the signal (dynamically). It works but we could do better.

It would be nice to give a signal that indicates that the signal curve/shape has changed.

This can be done with the following code:

This works for three voltage or three timer readings, and the formula can be adapted for more than 3 sample points.

AlanX

Discussions