A novel charged-particle velocity filter for slow positron beam has been successfully built and tested.It is a pure magnetic system composed of three magnetic fields,two of them are pure dipole magnetic fields generated by two symmetrically put cosine coils.The physical principle and the performance of the cosine coils are reviewed.