Method, system and device for calibrating a magnetic field sensor
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:
- 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;
acquiring the three-axis component outputs of said magnetic-field sensor occurring when said sensor assumes five or more attitudes;
performing coordinate transformation for the three-axis components thus obtained for each attitude to calculate five or more coordinate points in the same coordinate space as with said reference coordinate point;
selecting four points which are as far as possible from one another among the five or more coordinate points, 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
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
4 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:
-
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; acquiring the three-axis component outputs of said magnetic-field sensor occurring when said sensor assumes five or more attitudes; performing coordinate transformation for the three-axis components thus obtained for each attitude to calculate five or more coordinate points in the same coordinate space as with said reference coordinate point; selecting four points which are as far as possible from one another among the five or more coordinate points, 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 calibrating said magnetic-field sensor using said magnetic-field offset.
-
-
2. 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 occurring when said sensor assumes five or more attitudes to calculate five or more coordinate points in the same coordinate space as with said reference coordinate point, selecting four coordinate points which are as far as possible from one another from among the five or more coordinate points, 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 (3)
-
-
4. A system for calibrating a device containing a three-axis magnetic-field sensor, said system comprising:
-
a storage unit for storing 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; and a computation unit for; calculating five or more coordinate points in the same coordinate space as the reference coordinate point by performing coordinate transformation for the three-axis component output of said magnetic-field sensor when said device assumes five or more attitudes; selecting four points which are as far as possible from one another from among the five or more coordinate points; creating a sphere on which said selected four coordinate points are positioned; calculating a magnetic-field offset based on the distance between the center of said sphere thus created and said reference coordinate point; and calibrating said device based on said magnetic-field offset.
-
Specification