High precision current measurement is very important for the calibration of various high-precision equipment and the measurement of other precision detection fields. A new current sensor based on diamond NV color center magnetic measurement method is proposed to realize the accurate measurement of current. This new current method can greatly improve the accuracy of current measurement. Experiments show that the linearity of the current sensor based on diamond NV color center can reach up to 33 ppm, which is superior to other current sensors and solves the problem of low linearity. When the range of input current is 5-40 A, the absolute error of calculated current is less than 51 µA, and the relative error is 2.42 × 10-6 at 40 A. Combined with the research content and results of the experiment, the application of the current sensor in the field of current precision measurement is prospected.