A Digital One Degree of Freedom Model of an Electromagnetic Position Sensor