Scheme of a vernier track. The signals from the sensors (red) are interpolated 5 times and evaluated 4 times. The absolute position is calculated from the offset of the two tracks (A, B) and (C, D).
Own work
MatthiasDD