The research focuses on the solid-state spin system of diamond NV (Negatively Charged Nitrogen Vacancy, NV) color centers, which exhibit excellent optical readout, polarization properties, and millisecond-scale coherent time. This makes it an important means to achieve quantum information processing and quantum precision measurement. Additionally, its ultrahigh sensitivity to magnetic fields provides a potential path for diamond’s high-precision current measurement. This paper investigates a reliable method in the field of direct current measurement using quantum sensing technology based on diamond NV color centers. It involves measuring the change in the optically detected magnetic resonance spectrum based on a fixed microwave frequency to achieve magnetic field measurement. Simultaneously, by utilizing the spatial distribution of magnetic sensor heads, it achieves current inversion. Finally, an experimental platform was constructed for validation. Preliminary results indicate that the linear fit error for direct current amplitude is less than 10^-7, confirming the feasibility of this technological approach and providing a potential application for diamond in measuring currents in power systems.