SMS dit: High-precision Former of Velocity and Motor Shaft Position Angle Codes