In order to simultaneously improve the working harmonics and reduce the pulsating torque of the flux reversal machines (FRMs), this paper introduces a novel FRM with Halbach array permanent magnets (PMs) and a sine-shaping rotor. First, the detailed topology, working mechanism, and harmonic contents of the proposed FRM are presented. Then, the 2D finite element analysis (FEA) method is conducted to verify the accuracy of the analysis. In addition, the proposed FRM is compared with the regular FRM in terms of the rated torque, cogging torque, torque ripple, power factor, losses, efficiency, etc. The result shows that the optimal designs of the topology and harmonics are effective for the performance improvements of FRMs. The cogging torque and torque ripple are also significantly reduced.