The purpose and working principle of magnetic separator