AC magnetic field detection system applied to motion tracking