The invention discloses a
test board for calibrating an electronic
compass. The
test board comprises a flat plate and a side plate fixed on the flat plate, the side plate is a polygon formed by combining n side walls, the side walls are perpendicular to the flat plate, and the number N of the side walls is equal to or more than 3. The
electron compass to be calibrated is arranged on the flat plate, and is arranged close to the outer side of the side walls, the
magnetic field value and the angle value of each point, measured by a
magnetometer, are recorded, obtained data is processed through aninterpolation technology to obtain a corresponding relationship between the
magnetic field and the angle, and a corresponding angle is solved according to the
magnetic field value measured by the
magnetometer through fusing the corresponding relationship with a roll angle and
pitch angle which are measured by an
accelerometer, so planar two-dimensional high-precision calibration requirements arerealized, and three-dimensional total-space stereo high-precision calibration requirements are also realized. The
test board has the advantages of simple structure, convenience in operation, no need of a complicated test device,
brining of great convenience for the use of a
end user, and realization of self calibration of the electronic
compass by the terminal user.