PROBLEM TO BE SOLVED: To provide a bearing compensation device capable of determining a factor of error included in a bearing angle to be measured and calculated.;SOLUTION: A bearing error compensation device comprises: a magnetic sensor that comprises magnetic elements for detecting magnetic fields in X, Y and Z directions; a measuring part for measuring magnetic data based on the magnetic fields applied to the magnetic elements respectively; a first calculation part for obtaining a deviation of the magnetic data for each magnetic element, adding the deviations of the magnetic data for two different magnetic elements to calculate a first deviation sum; a second calculation part for, with respect to the magnetic data output by the magnetic elements, adding deviations of addition values of the magnetic data in two different magnetic elements to calculate a second deviation sum; a lookup table for storing correspondence between deviation sum information of first and second deviation sums for biaxial combination of magnetic sensors and intersection angles in magnetism detection directions of biaxial magnetic elements, obtained in advance from a plurality of magnetic sensors; and an intersection angle estimation part which, on the basis of biaxial deviation sum information of a magnetic sensor to be detected, extracts a magnetic sensor having the same biaxial deviation sum information from the lookup table, thereby obtaining the intersection angle.;COPYRIGHT: (C)2013,JPO&INPIT
展开▼