The Increment Encoder is used to get the errorfree measurement of angle of rotation. Through detecting the same edge in one period of Phase A to judge its direction of rotation precisely, a method for errorfree measurement has been given. Adopting this method, the errorfree measurement has been achieved.