I built a capacitive linear encoder and made the whole package (hardware, firmware, testing equipment, etc...) available open-source at:
https://github.com/nichlock/open-linear-scaleThis build has an electrical accuracy of about 40µm/1.6thou. Right now I can accept that... but I'm working towards a goal of ±10µm on the electrical side, which is what the pro-grade ones seem to claim.
I went deep into the design and algorithms on the readme, so I won't put the long-form here. It's the same operating principle as the digital calipers you could get on amazon (and the older pro-grade ones, but these days they use inductive).
I'm make improvements to the design for a rev B. The mechanical testing fixtures are probably contributing to my error too, so I need to learn more about mechanical work.
The project isn't by any means a professional job right now. I'd love to hear what people think, and as I evolve the goals of the project, I want to do more proper analysis of the accuracy and noise figures.
There are design details in the repository, including PDF schematics. Please let me know what you all think! How could I improve on this? Do you think you could use this project at its current state? Could you use it with some changes or improvements? What would make it more useful to you?
Any suggestions on improving the design are welcome! The one thing I'm pretty dead-set on right now is that the next revision will have two measurement scales for absolute position sensing.