Installation error control of dynamic measurement for small photoelectric encoder