Transient magnetic field sensors are used in various electromagnetic environment measurement scenarios. In this paper, a novel magnetic field sensor based on a digital integrator was developed. The antenna was a small B-DOT loop. It was designed optimally for the simulation. The magnetic field signal was digitally integrated with the improved Al-Alaoui algorithm, resulting in less integration error. To compensate for the bandwidth loss of the optical fiber system, we specially designed an FIR (finite impulse response) filter for frequency compensation. The circuit was described, and the transimpedance amplifier was specially designed to ensure the low noise characteristic of the receiver. The sensitivity of the sensor was calibrated at 68.2...