An incremental encoder converts mechanical rotation or linear displacement into an electrical signal (pulse train) to tr