AbstractIn this paper, a simple end face type magnetic encoder has been designed. This paper analyzed the negative effect caused by the calculation method based on the arctangent arithmetic. In addition, the negative effects caused by mechanical installation are illustrated in this paper. In order to solve these problems, a angle error compensation tabulation method has been proposed, and cross-intervals linear interpolation method has been presented to eliminate the noise signal in angle compensation table. The validity of the method proposed in this paper has been verified by experimental and simulation results. The precision of this kind of magnetic encoder could reach 0.02°.