Compared with the prior art, the active residual
magnetism compensation
system for the wearable magnetoencephalogram magnetic shielding room does not need an additional
magnetism measurement sensor, and depends on the atom
magnetometer array of the wearable magnetoencephalogram
system as a
magnetic field feedback sensor; the number of the
magnetic field feedback sensors is increased, and
magnetic field distribution in a magnetoencephalogram measurement area can be reflected. And meanwhile, the shimming coil group of the
system compensates for a 0-order uniform magnetic field and also synchronously compensates for a 1-order gradient magnetic field, so that the compensation uniformity is better. The invention further provides an active residual
magnetism method for the wearable magnetoencephalogram magnetic shielding room, the coordinate orientation of the
atomic magnetometer array in the tested magnetoencephalogram measurement process is obtained in real time through the motion camera, magnetic field information measured by the
atomic magnetometer array is collected, and magnetic field distribution in a current measurement area can be obtained in real time to drive the shimming coil to conduct residual magnetism compensation. Compared with a method in the prior art, compensation accuracy and compensation precision can be remarkably improved, and the compensated magnetic field distribution is more uniform and closer to a zero magnetic field environment.