I am interested in using a non-contact measurement for gap detection between a tool base and lid. The lid and base will be between 0 to 10mm apart where only closure needs to be detected accurately, ideally within 40um. Sensor placement along the tool is flexible to best optimize the nominal closed position. The tool temperature will increase from 25C to 125C so components should minimize drift and more importantly survive. Hall effect sensors seem to be capable of meeting all these requirements but cases on this application seem limited.
So far I have set up a system moving a neodymium magnet in 60um increments and reading mV, then plotting and checking accuracy against the predictive formula. Using this approach the accuracy I can achieve is about +/- 120um. That's before machine environment factors, temperature drift, and weaker alnico/cobalt magnets.
Does anyone have experience using hall effect sensors to accurately measure distance? Could anyone advise on strategies to improve measurement accuracy?