Solid-state spin systems with nitrogen-vacancy (NV) centers in diamonds constitute an increasingly popular platform for quantum sensing. However, most existing platforms designed with ensemble NV centers exhibit a sensitivity that is significantly less than the theoretical maximum. This low sensitivity limits the expansion of the experimental results and application areas. In this study, the sensitivity is improved by increasing the pumping depth of the excitation beam to increase the number of particles involved in spin polarization at a given laser intensity. Compared with the proposed Airy beam with a long focal depth (25.46 λ) and the widely utilized Gauss beam pumping ensemble NV centers, the spin resonance factor fSR can be improved by 10.02%. This sensitivity-optimized approach enhances the functionality of sensors with NV centers.