Control method of controlling magnetic-field sensor, control device, and mobile terminal device
First Claim
1. A control method of controlling a magnetic-field sensor for detecting the three-axis components of the terrestrial magnetic-field vector, said method comprising:
- a step for calculating a reference coordinate point in a predetermined coordinate space by performing coordinate transformation for the three-axis components of the terrestrial magnetic field vector as a reference, and holding said reference coordinate point thus calculated;
a step for acquiring the three-axis component outputs of said magnetic-field sensor with four or more attitudes;
a step for performing coordinate transformation for the three-axis components thus obtained for each attitude to calculate the coordinate points in the same coordinate space as with said reference coordinate point;
a step for selecting four points from four or more coordinate points thus calculated, creating a sphere on which said selected four coordinate points are positioned, and obtaining a magnetic-field offset by calculating the distance between the center of said sphere thus created and said reference coordinate point; and
a step for calibrating said magnetic-field sensor using said magnetic-field offset.
4 Assignments
0 Petitions
Accused Products
Abstract
A control device 200 calibrates a magnetic-field sensor 100 by computation. A computation unit 210 calculates the magnetic-field intensity based upon the outputs of X-axis, Y-axis, and Z-axis magnetic-field detection devices of the magnetic-field sensor 100. Such calculation is performed for four or more different points. The calculation is performed such that at least one point is not positioned on a plane including the other points. The computation unit 210 converts the outputs from the X-axis, Y-axis, and Z-axis magnetic-field detection devices of the magnetic-field sensor 100 into three-dimensional spatial coordinate points. Then, the computation unit 210 creates a sphere on which the four or more coordinate points thus obtained are positioned. The coordinate point of the center of the sphere thus created represents the magnetic-field offset. The interfering magnetic-field components in the X-axis, Y-axis, and Z-axis directions thus obtained are subtracted from the outputs of the X-axis, Y-axis, and Z-axis magnetic-field detection devices of the magnetic sensor 100, whereby calibration is made.
-
Citations
6 Claims
-
1. A control method of controlling a magnetic-field sensor for detecting the three-axis components of the terrestrial magnetic-field vector, said method comprising:
-
a step for calculating a reference coordinate point in a predetermined coordinate space by performing coordinate transformation for the three-axis components of the terrestrial magnetic field vector as a reference, and holding said reference coordinate point thus calculated;
a step for acquiring the three-axis component outputs of said magnetic-field sensor with four or more attitudes;
a step for performing coordinate transformation for the three-axis components thus obtained for each attitude to calculate the coordinate points in the same coordinate space as with said reference coordinate point;
a step for selecting four points from four or more coordinate points thus calculated, creating a sphere on which said selected four coordinate points are positioned, and obtaining a magnetic-field offset by calculating the distance between the center of said sphere thus created and said reference coordinate point; and
a step for calibrating said magnetic-field sensor using said magnetic-field offset. - View Dependent Claims (2)
-
-
3. A control device of a magnetic-field sensor for detecting three-axis components of the terrestrial magnetic-field vector, said device comprising:
-
a storage unit for holding a reference coordinate point in a predetermined coordinate space obtained by performing coordinate transformation for the three-axis components of the terrestrial magnetic field vector as a reference; and
a computation unit for performing coordinate transformation for the three-axis component output of said magnetic-field sensor for each of four or more attitudes to calculate the coordinate points in the same coordinate space as with said reference coordinate point, selecting four points from the four or more coordinate points thus calculated, and creating a sphere on which said selected four coordinate points are positioned, wherein said computation unit obtains a magnetic-field offset by calculating the distance between the center of said sphere thus created and said reference coordinate point, and calibrates said magnetic-field sensor using said magnetic-field offset. - View Dependent Claims (4, 5, 6)
-
Specification