# Linear sensor calibration # Scope: Two-point linear calibration mapping sensor reading to length. # Status: illustrative worked example; engineering review pending. # Inputs are example values. Checks are editable example requirements, not standards. reading = 2 V zeroReading = 0.5 V spanReading = 4.5 V span = 100 mm position := (reading-zeroReading)*span/(spanReading-zeroReading) [mm] check reading within calibration: reading >= zeroReading check reading upper bound: reading <= spanReading scenario alternative: reading = 1.6 V