automatic sampling interval calibration