An azimuth measuring device capable of calibrating a magnetic sensor without putting load on a user is provided. When a point having amplified output values Sx, Sy, Sz after a sensitivity correction as x, y, z components is arranged on an xyz coordinate system, an offset information calculation section 8 calculates the center coordinates of such a sphere whose surface is located in the vicinity of each point and calculates an x component of the center coordinates of this sphere as a current offset Cx of an x-axis Hall element HEx, a y component of the center coordinates of this sphere as a current offset Cy of a y-axis Hall element HEy and a z component of the center coordinates of this sphere as a current offset Cz of a z-axis Hall element HEz. It is thereby possible to calibrate the magnetic sensor without putting load on the user.
Data are input from a geomagnetic sensor that detects magnetic fields in three axial directions, and magnetic field data are measured on the basis of the input data. The measured magnetic field data are sequentially stored, and a determination is made as to whether a plurality of the magnetic field data thus stored lie within a same plane in a three-dimensional orientation space. When it has been determined that the plurality of the magnetic field data lie within the same plane in the three-dimensional orientation space, center coordinates of a circular arc where the stored magnetic field data lie are calculated, as provisional offset values, on the basis of the magnetic field data and in accordance with a predetermined algorithm. Magnetic field data measured after the calculation of the provisional offset values is corrected with the provisional offset values, and an arithmetic operation is performed for determining orientation data on the basis of the corrected magnetic field data.
An azimuth measuring device is provided that can obtain offset information when the direction of the azimuth measuring device is arbitrarily changed. The offset information is calculated based on coordinates of a reference point obtained by a reference point estimating system. The azimuth measuring device can obtain the offset information without obtaining erroneous offset information when changing direction.
Data are input from a geomagnetic sensor that detects magnetic fields in three axial directions, and magnetic field data are measured on the basis of the input data. The measured magnetic field data are sequentially stored, and a determination is made as to whether a plurality of the magnetic field data thus stored lie within a same plane in a three-dimensional orientation space. When it has been determined that the plurality of the magnetic field data lie within the same plane in the three-dimensional orientation space, center coordinates of a circular arc where the stored magnetic field data lie are calculated, as provisional offset values, on the basis of the magnetic field data and in accordance with a predetermined algorithm. Magnetic field data measured after the calculation of the provisional offset values is corrected with the provisional offset values, and an arithmetic operation is performed for determining orientation data on the basis of the corrected magnetic field data.