Theoretical deviation and ray tracing analysis of optical rotary encoder | IEEE Conference Publication | IEEE Xplore