Design of a high-performance optical system for angular position measurement: optical and electronic strategies for uncertainty reduction