An improved counting and direction-sensing circuit for N/C systems | IEEE Journals & Magazine | IEEE Xplore