Context
Every tissue disk has to be measured before a robot can pipette into it. That measurement used to come from microscope autofocus and took 15–30 minutes per disk. A Keyence confocal laser sensor had been tried as a proof of concept; I wrote the production driver, the surface-fit code and the calibration pipeline, and took it to production.
What I built
- The sensor driver and the calibration pipeline around it, in production on 9 systems. Calibration dropped from 15–30 minutes to under a minute.
- Four automatic checks, each added after a real field failure: a cubic surface fit for warped and twisted disks, outlier rejection for bad reads, fit-quality gates, and an autofocus cross-check. Fresh calibrations fit to 4–10 µm RMSE.
- The cross-check came out of a failed production study, which I traced to a 523 µm offset error. That class of error is now caught before a study runs.
- A calibration GUI (about 4,400 lines) so operators can teach and verify every robot calibration point instead of editing files by hand. It runs on 5 production systems.
Accuracy, honestly
The accuracy is pipetting-grade: good enough to place liquid reliably. It does not replace imaging autofocus, and imaging-grade focus is still ongoing work.