Auto-detection system of photoelectric encoder based on DSP | IEEE Conference Publication | IEEE Xplore