An autofocusing measurement system with a piezoelectric translator