The invention discloses an
optical fiber magnetic field sensor and a preparation method thereof. The
optical fiber magnetic field sensor comprises an
optical fiber and a plurality of
diamond micro-columns, the plurality of
diamond micro-columns are positioned at one end in the optical
fiber; each
diamond micro-column contains a
nitrogen-vacancy center; when the optical
fiber magnetic field sensoris used for measuring a magnetic field, one end, containing the diamond micro-column, of the optical
fiber is placed in an environment of the magnetic field to be measured, and
laser with a preset
wavelength is emitted from the other end of the optical fiber, so that the the
nitrogen-vacancy center is excited to emit
fluorescence; and steps of transmitting a sweep frequency
signal in a preset frequency range to one end, containing the diamond micro-column, of the optical fiber, collecting
fluorescence, and determining the size of the magnetic field to be measured by analyzing the change rule of the intensity of the
fluorescence along with the frequency of the sweep frequency
signal are carried out. According to the invention, more
nitrogen-vacancy centers can be integrated at an optical fiber port, the sensitivity is related to the number of the nitrogen-vacancy centers in the sample, and a
magnetometer with higher sensitivity can be obtained through the diamond micro-column sample with higher nitrogen-vacancy center color center density.